

.page-guide {
position: fixed;
inset: 0;
z-index: 1200;
display: flex;
align-items: center;
justify-content: center;
font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}
.page-guide[hidden] { display: none; }
.page-guide .pg-scrim {
position: absolute;
inset: 0;
background: rgba(10, 8, 24, 0.66);
backdrop-filter: blur(3px);
-webkit-backdrop-filter: blur(3px);
animation: pg-fade 0.22s ease;
}
.page-guide .pg-card {
position: relative;

width: 370px;
overflow: hidden;
display: flex; flex-direction: column;
border-radius: 26px;
background: linear-gradient(#fffdf8, #fff1dc);
box-shadow: 0 22px 50px rgba(20, 10, 4, 0.45), inset 0 0 0 1.5px rgba(214, 154, 67, 0.6);
animation: pg-rise 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.page-guide .pg-card::after {
content: "";
position: absolute;
inset: 6px;
z-index: 9;
border: 1.5px dashed rgba(214, 154, 67, 0.45);
border-radius: 21px;
pointer-events: none;
}
@keyframes pg-fade { from { opacity: 0; } }
@keyframes pg-rise { from { opacity: 0; transform: translateY(18px) scale(0.97); } }


.page-guide .pg-prog { position: absolute; left: 18px; right: 58px; top: 17px; z-index: 7; display: flex; gap: 4px; }
.page-guide .pg-prog i { flex: 1; height: 4px; border-radius: 3px; background: rgba(255, 243, 220, 0.28); transition: background 0.2s; }
.page-guide .pg-prog i.is-done { background: #f2b25a; }
.page-guide .pg-kick { position: absolute; left: 18px; top: 29px; z-index: 7; color: #f3d6a6; font: 800 calc(var(--pg-f, 1) * 13px)/1.3 Pretendard, sans-serif; letter-spacing: 0.03em; }
.page-guide .pg-kick b { color: #fff3dc; }
.page-guide .pg-x {
position: absolute; top: 9px; right: 11px; z-index: 10;
width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
background: rgba(255, 248, 232, 0.18); color: #fff3dc; font-size: calc(var(--pg-f, 1) * 17px); cursor: pointer;
}


.page-guide .pg-view { overflow: hidden; flex: 1 0 auto; display: flex; }
.page-guide .pg-track { flex: 1; min-width: 0; display: flex; transition: transform 0.36s cubic-bezier(0.2, 0.8, 0.2, 1); touch-action: pan-y; }

.page-guide .pg-slide { flex: 0 0 100%; min-width: 0; display: flex; flex-direction: column; }


.page-guide .pg-stage { position: relative; flex: none; height: 380px; overflow: hidden; background: #1d2b3d; }
.page-guide .pg-bg {
position: absolute; inset: -12px;
background: url("assets/avatars/scenes/one-room/room.jpg") center / cover;
filter: blur(6px) brightness(0.4);
}
.page-guide .pg-stage::after {
content: ""; position: absolute; inset: 0; pointer-events: none;
background:
radial-gradient(70% 55% at 50% 50%, rgba(242, 178, 90, 0.16), transparent 70%),
linear-gradient(180deg, rgba(22, 32, 47, 0.7), rgba(22, 32, 47, 0) 30%);
}
.page-guide .pg-art { position: absolute; left: 0; right: 0; top: 54px; bottom: 82px; z-index: 2; display: flex; align-items: center; justify-content: center; }
.page-guide .pg-art > * { zoom: 1.22; }   
.page-guide .pg-art.is-full { inset: 0; }
.page-guide .pg-art.is-full > * { zoom: 1; }


.page-guide .pg-tip {
position: absolute; left: 16px; right: 16px; bottom: 18px; z-index: 5;
display: flex; gap: 11px; align-items: center;
padding: 8px 14px 8px 8px; border-radius: 16px;
background: rgba(255, 250, 240, 0.95); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.page-guide .pg-tag {
flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
width: 50px; height: 48px; border-radius: 11px; line-height: 1;
background: linear-gradient(#f7c872, #d69a43); color: #3a2508; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.page-guide .pg-tag i { font: italic 800 calc(var(--pg-f, 1) * 12px) Georgia, "Times New Roman", serif; }
.page-guide .pg-tag b { margin-top: 2px; font: 900 calc(var(--pg-f, 1) * 15px) Pretendard, sans-serif; letter-spacing: 0.06em; }
.page-guide .pg-tip-text { font: 600 calc(var(--pg-f, 1) * 14.5px)/1.45 Pretendard, sans-serif; color: #5a4128; }



.page-guide .pg-say { position: relative; z-index: 5; flex: 1 0 auto; display: flex; gap: 12px; align-items: center; padding: 18px 18px 4px; }
.page-guide .pg-tobi {
flex: none; width: 72px; height: 72px; overflow: hidden; border-radius: 50%;
background: #fff6e6; box-shadow: 0 0 0 2px #d69a43, 0 6px 14px rgba(60, 32, 8, 0.3);
}
.page-guide .pg-tobi img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; transform: scale(1.2) translateY(7%); }
.page-guide .pg-bub {
position: relative; flex: 1; min-width: 0; padding: 14px 16px 15px; border-radius: 18px;
background: #fff; box-shadow: 0 6px 16px rgba(120, 74, 26, 0.16), 0 0 0 1px rgba(214, 154, 67, 0.35);
}
.page-guide .pg-bub::before {
content: ""; position: absolute; left: -7px; top: calc(50% - 7px); width: 14px; height: 14px;
background: #fff; transform: rotate(45deg); box-shadow: -1px 1px 0 rgba(214, 154, 67, 0.35);
}
.page-guide .pg-h {
display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 7px; margin: 0 0 3px;
font-family: Jua, Pretendard, sans-serif; font-weight: 400; font-size: calc(var(--pg-f, 1) * 24px); line-height: 1.28; color: #071538;
}
.page-guide .pg-h small { font: 800 calc(var(--pg-f, 1) * 13px) Pretendard, sans-serif; color: #b0701f; }
.page-guide .pg-p { margin: 0; font-size: calc(var(--pg-f, 1) * 16px); line-height: 1.6; color: #4a3b2c; }
.page-guide .pg-p em { font-style: normal; font-weight: 800; color: #9a5f14; }


.page-guide .pg-foot { flex: none; display: flex; align-items: center; gap: 12px; padding: 18px 18px 20px; }
.page-guide .pg-btn { height: 54px; border: 0; border-radius: 999px; font: 900 calc(var(--pg-f, 1) * 17px) Pretendard, sans-serif; cursor: pointer; }
.page-guide .pg-prev { width: 92px; background: transparent; color: #8a5a1c; box-shadow: inset 0 0 0 1.5px rgba(214, 154, 67, 0.55); }
.page-guide .pg-prev[hidden] { display: none; }
.page-guide .pg-next {
flex: 1; background: linear-gradient(#f7c872, #d69a43); color: #3a2508;
box-shadow: 0 4px 10px rgba(174, 104, 40, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.page-guide .pg-btn:focus-visible, .page-guide .pg-x:focus-visible { outline: 2px solid #f2b25a; outline-offset: 2px; }


.page-guide-i {
position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center;
width: 22px; height: 22px; padding: 0; border: 1.5px solid #d69a43; border-radius: 50%;
background: #fff3dc; color: #8a5a1c; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
font: italic 900 14px/1 Georgia, "Times New Roman", serif; cursor: pointer;
-webkit-tap-highlight-color: transparent;
}
.page-guide-i::before { content: ""; position: absolute; inset: -16px; }   
.page-guide-i:focus-visible { outline: 2px solid #f2b25a; outline-offset: 2px; }
.page-guide-title-row { display: flex; align-items: center; gap: 8px; }

.page-guide-title-row[data-guide-open] { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.page-guide-title-row[data-guide-open]::before { content: ""; position: absolute; inset: -10px -8px; }
.page-guide-title-row > h1 { margin-right: 0; }


.page-guide .pk-screen { position: relative; overflow: hidden; border-radius: 16px; background: #fff6e8;
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), 0 0 0 1.5px rgba(214, 154, 67, 0.85); }
.page-guide .pk-pan { padding: 8px; transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1); }
.page-guide .pk-zoom { pointer-events: none; }
.page-guide .pk-clone { margin: 0 !important; animation: none !important; }
.page-guide .pk-hot { position: relative; z-index: 2; border-radius: 14px; transition: box-shadow 0.25s, transform 0.25s;
box-shadow: 0 0 0 3px #f2b25a, 0 0 0 9px rgba(242, 178, 90, 0.35) !important; animation: pk-breathe 1.6s steps(4, end) infinite; }
@keyframes pk-breathe { 0%, 100% { box-shadow: 0 0 0 3px #f2b25a, 0 0 0 7px rgba(242, 178, 90, 0.28); } 50% { box-shadow: 0 0 0 3px #f2b25a, 0 0 0 12px rgba(242, 178, 90, 0.12); } }

.page-guide .pg-slide[aria-hidden="true"] .pk-hot { animation: none; }

.page-guide .pk-hero-fill { position: absolute; inset: -20px; background-size: cover; background-position: 50% 50%; filter: blur(14px) brightness(0.62) saturate(1.1); }
.page-guide .pk-hero { position: absolute; left: 0; right: 0; top: 0; height: 240px; background-position: 90% 45%; background-size: cover;
-webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); mask-image: linear-gradient(180deg, #000 80%, transparent); }

.page-guide .pk-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 14, 30, 0.55) 0, rgba(20, 14, 30, 0) 70px), linear-gradient(90deg, rgba(20, 14, 30, 0.3), rgba(20, 14, 30, 0) 55%); }

.page-guide .pk-feat { position: absolute; top: 58px; left: 18px; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.page-guide .pk-feat span { display: flex; align-items: center; gap: 8px; padding: 6px 15px 6px 6px; border-radius: 999px; background: rgba(255, 250, 240, 0.95);
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.32); font: 900 calc(var(--pg-f, 1) * 15px) Pretendard, sans-serif; color: #4a3b2c; }
.page-guide .pk-feat i { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%;
background: linear-gradient(#f7c872, #d69a43); color: #3a2508; font: 900 calc(var(--pg-f, 1) * 13px) Pretendard, sans-serif; font-style: normal; }
.page-guide .pk-note { position: absolute; left: 50%; bottom: 8px; z-index: 4; transform: translateX(-50%); padding: 6px 13px; border-radius: 999px;
background: rgba(7, 21, 56, 0.86); color: #fff; font: 800 calc(var(--pg-f, 1) * 12px) Pretendard, sans-serif; white-space: nowrap; transition: opacity 0.25s; }   


.page-guide .pg-card { --pg-f: 0.94; }
@media (min-width: 768px) and (min-height: 500px) { .page-guide .pg-card { --pg-f: 0.8; } }

@media (prefers-reduced-motion: reduce) {
.page-guide *, .page-guide *::before, .page-guide *::after { animation: none !important; transition: none !important; }
}
