@font-face { font-family: Pretendard; src: url(../assets/fonts/pretendard.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0b1020; --ink2: #141b31; --line: rgba(255, 255, 255, .1);
  --text: #eef2fb; --dim: #9aa5c0;
  --sky: #3b9eff; --amber: #f5b544; --mag: #ff3d9a; --red: #ff5a5f; --green: #3ecf8e;
  --font: Pretendard, 'Malgun Gothic', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; background: var(--ink); color: var(--text); font-family: var(--font); overflow: hidden; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
[hidden] { display: none !important; }

.screen { position: fixed; inset: 0; display: none; }
.screen.on { display: flex; }

/* ───────── 타이틀 ───────── */
#scr-title { align-items: flex-end; }
.title-art { position: absolute; inset: 0; background: #070a14 url(../assets/img/title.webp) center/cover; }
.title-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 10, 20, .1) 0%, rgba(7, 10, 20, .55) 45%, rgba(7, 10, 20, .94) 78%); }
.title-box { position: relative; margin-left: auto; width: min(520px, 100%); padding: 0 clamp(24px, 6vw, 72px) clamp(72px, 12vh, 130px); }
.title-kicker { color: var(--amber); font-weight: 600; letter-spacing: .02em; font-size: 15px; }
.title-logo { font-size: clamp(64px, 11vw, 124px); font-weight: 900; letter-spacing: -.04em; line-height: 1; margin: 10px 0 34px; }
.title-logo span:nth-child(2) { color: var(--mag); text-shadow: 0 0 28px rgba(255, 61, 154, .65); animation: flick 4.5s infinite; }
@keyframes flick { 0%, 91%, 95%, 100% { opacity: 1; } 93% { opacity: .35; } 97% { opacity: .6; } }
.title-menu { display: grid; gap: 6px; }
.tm { display: flex; align-items: baseline; gap: 12px; text-align: left; font-size: 21px; font-weight: 700; padding: 11px 16px 11px 34px; border-radius: 10px; position: relative; color: #c6cee2; transition: background .15s, color .15s, padding .15s; }
.tm small { font-size: 13px; font-weight: 500; color: var(--dim); }
.tm::before { content: '▶'; position: absolute; left: 12px; top: 50%; translate: 0 -50%; font-size: 11px; opacity: 0; color: var(--mag); }
.tm:hover, .tm:focus-visible { background: rgba(255, 255, 255, .08); color: #fff; padding-left: 40px; }
.tm:hover::before, .tm:focus-visible::before { opacity: 1; }
.tm.primary { color: #fff; }
.title-note { margin-top: 26px; font-size: 12.5px; color: var(--dim); line-height: 1.6; }
.title-foot { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: flex-end; padding: 0 clamp(20px, 4vw, 40px); font-size: 13px; }
.title-foot a { color: var(--dim); text-decoration: none; }
.title-foot a:hover { color: #fff; }

/* ───────── 게임 화면 ───────── */
#scr-game { align-items: center; justify-content: center; gap: 30px; }
.desk { position: absolute; inset: 0; background: #070a14 url(../assets/img/desk.webp) center/cover; }
.desk::after { content: ''; position: absolute; inset: 0; background: rgba(6, 9, 18, .55); }
#hud, #side { position: relative; width: 232px; align-self: center; display: flex; flex-direction: column; gap: 10px; }
#hud > *, #side { background: rgba(13, 19, 36, .82); border: 1px solid var(--line); border-radius: 14px; backdrop-filter: blur(8px); }
.hud-day { padding: 14px 16px; display: flex; align-items: baseline; justify-content: space-between; }
.hud-day b { font-size: 26px; font-weight: 900; letter-spacing: .02em; }
.hud-day span { color: var(--dim); font-size: 14px; }
.stat { padding: 12px 16px; display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; column-gap: 4px; }
.stat label { grid-column: 1 / -1; font-size: 12px; color: var(--dim); margin-bottom: 2px; }
.stat output { grid-column: 2; font-size: 25px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.stat i { font-style: normal; font-size: 13px; color: var(--dim); }
#st-site output { color: var(--amber); }
#st-debt output { color: var(--red); }
.stat.up { animation: statUp .7s; } .stat.down { animation: statDown .7s; }
@keyframes statUp { 0% { background: rgba(62, 207, 142, .45); } 100% { background: rgba(13, 19, 36, .82); } }
@keyframes statDown { 0% { background: rgba(255, 90, 95, .5); transform: translateX(-3px); } 30% { transform: translateX(3px); } 100% { background: rgba(13, 19, 36, .82); transform: none; } }
.goal { padding: 12px 16px 14px; }
.goal label { font-size: 12px; color: var(--dim); display: block; }
.goal label span { color: var(--text); }
.goal-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .12); margin: 9px 0 6px; overflow: hidden; }
.goal-bar i { display: block; height: 100%; width: 52%; background: var(--sky); border-radius: 99px; transition: width .6s; }
.goal small { font-size: 12px; color: var(--dim); }

#side { padding: 14px 14px 12px; max-height: min(640px, 86vh); }
#side h2 { font-size: 12px; color: var(--dim); font-weight: 600; margin-bottom: 8px; }
#log { list-style: none; overflow: auto; flex: 1; min-height: 120px; display: flex; flex-direction: column; gap: 8px; scrollbar-width: thin; }
#log li { font-size: 13px; line-height: 1.45; color: #d5dcee; animation: logIn .4s; }
#log li b { display: block; font-size: 10.5px; color: var(--dim); letter-spacing: .06em; }
#log li.empty { color: var(--dim); border: 0; padding: 0; }
@keyframes logIn { from { opacity: 0; transform: translateY(6px); } }
.side-btns { display: grid; gap: 4px; margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.side-btns button { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 8px; border-radius: 8px; color: #c6cee2; }
.side-btns button:hover { background: rgba(255, 255, 255, .08); }
.side-btns small { color: var(--dim); }

/* 좁은 화면: 위에 한 줄 */
#scr-game.narrow { flex-direction: column; gap: 6px; justify-content: flex-start; padding-top: 6px; }
#scr-game.narrow #side { display: none; }
#scr-game.narrow #hud { width: 100%; flex-direction: row; gap: 6px; padding: 0 6px; align-self: stretch; }
#scr-game.narrow #hud > * { flex: 1; padding: 7px 10px; border-radius: 10px; }
#scr-game.narrow .hud-day { flex: 0 0 auto; flex-direction: column; }
#scr-game.narrow .hud-day b { font-size: 15px; } #scr-game.narrow .hud-day span { font-size: 11px; }
#scr-game.narrow .stat output { font-size: 16px; grid-column: 1; } #scr-game.narrow .stat label { font-size: 10.5px; margin: 0; }
#scr-game.narrow .goal { display: none; }
/* 세로로 든 휴대폰: 테두리 없이 화면 전체 */
#scr-game.full { gap: 6px; }
#scr-game.full #phone { border-radius: 18px 18px 0 0; box-shadow: none; }
#scr-game.full .statusbar { padding: 0 20px 0 22px; }
/* 화면이 낮아 맨 아래 단추와 선택지가 홈 막대에 닿습니다. 막대가 대신 눌려 홈으로 나가지 않게, 여기서는 막대를 누를 수 없게 합니다(나가기는 각 화면의 ‹) */
#scr-game.full .homebar { pointer-events: none; }
/* 어느 화면 크기에서든, 맨 아래에 누를 것이 있을 때(답장 고르기, 사이트 화면)는 홈 막대가 대신 눌리지 않게 합니다 */
#phone[data-view="site"] .homebar, #phone:has(.room-foot.choosing) .homebar { pointer-events: none; }
/* 세로가 600칸쯤이라 사이트 화면을 조금 줄여 단추가 화면 밖으로 밀리지 않게 합니다 */
#scr-game.full .lm-hero { height: 92px; } #scr-game.full .lm-hero b { font-size: 21px; } #scr-game.full .lm-hero em { font-size: 30px; }
#scr-game.full .lm-signup { gap: 7px; } #scr-game.full .lm-signup output { height: 38px; }
#scr-game.full .lm-cta { position: sticky; bottom: 30px; }
#scr-game.full .lm-stage { min-height: 112px; } #scr-game.full .lm-orb { width: 108px; height: 108px; } #scr-game.full .lm-orb b { font-size: 58px; }
#scr-game.full .lm-game { gap: 8px; } #scr-game.full .lm-picks button { height: 70px; }

/* ───────── 휴대폰 ───────── */
#phone-wrap { position: relative; flex: none; }
#phone { position: absolute; left: 0; top: 0; width: 390px; height: 800px; transform-origin: 0 0; border-radius: 48px; background: #000; overflow: hidden;
  box-shadow: 0 0 0 9px #101114, 0 0 0 11px #2a2c33, 0 40px 90px rgba(0, 0, 0, .6); font-size: 15px; color: #111; }
.statusbar { position: absolute; z-index: 30; top: 0; left: 0; right: 0; height: 46px; padding: 0 30px 0 34px; display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 15px; color: #fff; pointer-events: none; }
#phone[data-view=list] .statusbar, #phone[data-view=room] .statusbar, #phone[data-view=bank] .statusbar { color: #111; }
#phone:has(.skin-dm.on) .statusbar { color: #fff; }
.sb-right { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.sb-sig { width: 16px; height: 11px; background: linear-gradient(90deg, currentColor 3px, transparent 3px 4.300px, currentColor 4.300px 7.300px, transparent 7.300px 8.600px, currentColor 8.600px 11.600px, transparent 11.600px 13px, currentColor 13px); clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%); }
.sb-bat { width: 25px; height: 12px; border: 1.500px solid currentColor; border-radius: 4px; padding: 1.500px; display: block; opacity: .9; }
.sb-bat u { display: block; height: 100%; width: 62%; background: currentColor; border-radius: 1.500px; }
#views { position: absolute; inset: 0; }
.view { position: absolute; inset: 0; display: none; flex-direction: column; padding-top: 46px; }
.view.on { display: flex; }
.homebar { position: absolute; z-index: 40; bottom: 7px; left: 50%; translate: -50% 0; width: 134px; height: 5px; padding: 10px 0; box-sizing: content-box; background: transparent; }
.homebar::after { content: ''; display: block; height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .85); mix-blend-mode: difference; }

/* 잠금, 홈 */
#v-lock, #v-home { background: #0c1226 url(../assets/img/wallpaper.webp) center/cover; color: #fff; }
.lock-time { text-align: center; margin-top: 56px; text-shadow: 0 2px 14px rgba(0, 0, 0, .4); }
.lock-time small { font-size: 18px; font-weight: 600; opacity: .9; }
.lock-time b { display: block; font-size: 92px; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.lock-cards { margin: 28px 14px 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.lock-card, #banner { display: flex; align-items: center; gap: 11px; text-align: left; width: 100%; padding: 12px 14px; border-radius: 20px; background: rgba(245, 247, 252, .92); color: #111; backdrop-filter: blur(14px); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.lock-card { animation: cardIn .45s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.96); } }
.lock-card div, #banner div { flex: 1; min-width: 0; }
.lock-card b, #banner b { font-size: 14px; display: block; }
.lock-card p, #banner p { font-size: 14px; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lock-card time { font-size: 11px; color: #777; align-self: flex-start; }
.lock-open { margin: auto auto 44px; font-size: 14px; color: rgba(255, 255, 255, .85); padding: 10px 22px; border-radius: 99px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); animation: breathe 2.4s infinite; }
@keyframes breathe { 50% { opacity: .55; } }
.tile { flex: none; width: 60px; height: 60px; border-radius: 17px; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(0, 0, 0, .22); overflow: hidden; }
.tile svg { width: 34px; height: 34px; }
.tile.sm { width: 38px; height: 38px; border-radius: 11px; } .tile.sm svg { width: 22px; height: 22px; }
.tile-img { width: 100%; height: 100%; background: center/cover; }
.home-widget { margin: 22px 22px 0; padding: 18px 20px; border-radius: 24px; background: rgba(10, 16, 34, .42); backdrop-filter: blur(10px); }
.home-widget small { font-size: 14px; opacity: .85; } .home-widget b { display: block; font-size: 46px; font-weight: 700; line-height: 1.1; }
.home-widget p { font-size: 13.500px; opacity: .85; margin-top: 4px; }
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 0; margin: 30px 14px 0; }
.app { display: grid; justify-items: center; gap: 6px; position: relative; font-size: 12px; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.app:active .tile { transform: scale(.92); }
.app.nope { animation: nope .3s; } @keyframes nope { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.badge { position: absolute; top: -6px; right: 12px; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 99px; background: #ff3b30; color: #fff; font-size: 12px; font-weight: 700; font-style: normal; display: grid; place-items: center; text-shadow: none; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { transform: scale(1.18); } }

/* 알림 */
#banner { position: absolute; z-index: 60; top: 12px; left: 10px; right: 10px; width: auto; cursor: pointer; }
#banner.in { animation: bannerIn .45s cubic-bezier(.2, .9, .3, 1.15); }
#banner.sticky { box-shadow: 0 8px 24px rgba(0, 0, 0, .3), 0 0 0 2px var(--sky); }
#banner.sticky::after { content: '눌러서 보기'; font-size: 11px; font-weight: 700; color: var(--sky); flex: none; animation: breathe 1.4s infinite; }
@keyframes bannerIn { from { transform: translateY(-120%); } }

/* 앱 머리 */
.app-head { flex: none; height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 14px 0 6px; border-bottom: 1px solid rgba(0, 0, 0, .07); }
.app-head h2 { font-size: 17px; font-weight: 700; }
.app-head h2 small { font-weight: 500; color: #8a8f9a; font-size: 14px; }
.back { width: 36px; height: 40px; font-size: 30px; line-height: 1; color: inherit; opacity: .8; }
.av { flex: none; width: 38px; height: 38px; border-radius: 14px; background: #cfd6e2 center/cover; display: grid; place-items: center; font-weight: 700; color: #fff; }
.av-none { background: #9aa3b2; }
.av-gap { background: none; height: 0; }

/* 대화 목록 */
#v-list { background: #fff; }
.rows { overflow: auto; flex: 1; }
.row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 16px; text-align: left; position: relative; }
.row:active { background: rgba(0, 0, 0, .05); }
.row .av { width: 50px; height: 50px; border-radius: 18px; }
.row div { flex: 1; min-width: 0; } .row b { font-size: 15.500px; } .row b small { color: #8a8f9a; font-weight: 500; }
.row p { font-size: 13.500px; color: #7b808c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.row .badge { position: static; animation: none; }
.rows .empty { text-align: center; color: #9aa; padding: 60px 0; font-size: 14px; }

/* 대화방 */
#v-room { background: #dbe6f3; }
#v-room .app-head { background: rgba(255, 255, 255, .7); backdrop-filter: blur(10px); }
#v-room .app-head .av { width: 32px; height: 32px; border-radius: 12px; }
.msgs { flex: 1; overflow-y: auto; padding: 12px 12px 8px; display: flex; flex-direction: column; gap: 3px; scrollbar-width: none; }
.msg { display: flex; align-items: flex-end; gap: 7px; max-width: 100%; }
.msg.first { margin-top: 9px; }
.msg .av { width: 36px; height: 36px; align-self: flex-start; }
.msg .av-gap { width: 36px; }
.mb { max-width: 236px; }
.nm { display: block; font-size: 12px; color: #55607a; margin: 0 0 3px 2px; }
.bubble { background: #fff; padding: 9px 12px; border-radius: 16px; font-size: 15px; line-height: 1.42; word-break: keep-all; overflow-wrap: anywhere; box-shadow: 0 1px 1px rgba(0, 0, 0, .05); }
.msg.first .bubble { border-top-left-radius: 5px; }
.msg time { font-size: 10px; color: #7b8496; flex: none; padding-bottom: 2px; }
.msg.mine { flex-direction: row-reverse; }
.msg.mine .bubble { background: var(--sky); color: #fff; }
.msg.mine.first .bubble { border-top-left-radius: 16px; border-top-right-radius: 5px; }
.msg.in { animation: msgIn .28s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.typing .bubble { display: flex; gap: 4px; padding: 13px 13px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa3b2; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 30% { transform: translateY(-4px); opacity: .5; } }
.sysline { align-self: center; font-size: 12px; color: #55607a; background: rgba(0, 0, 0, .07); padding: 4px 12px; border-radius: 99px; margin: 8px 0; }
.room-foot { flex: none; padding: 8px 10px 26px; background: rgba(255, 255, 255, .86); }
.fake-input { display: flex; align-items: center; justify-content: space-between; height: 40px; border-radius: 20px; background: #eef1f6; padding: 0 6px 0 16px; color: #a3a9b6; font-size: 14px; }
.fake-input b { width: 30px; height: 30px; border-radius: 50%; background: #cfd5e0; color: #fff; display: grid; place-items: center; }
.room-foot.choosing { display: grid; gap: 7px; padding-top: 10px; animation: sheetIn .3s; box-shadow: 0 -8px 24px rgba(0, 0, 0, .1); }
.choose-label { font-size: 12px; font-weight: 700; color: #5d6578; padding-left: 4px; }
.choice { display: block; width: 100%; text-align: left; padding: 12px 15px; border-radius: 14px; background: #fff; color: #10203c; font-size: 15px; font-weight: 600; box-shadow: inset 0 0 0 1.500px #c9d6ea; transition: transform .1s, box-shadow .15s, background .15s; }
.choice:hover, .choice:focus-visible { box-shadow: inset 0 0 0 2px var(--sky); background: #f1f7ff; }
.choice:active { transform: scale(.98); }
.choice small { display: block; font-weight: 500; font-size: 12.500px; color: #6b7386; margin-top: 3px; }
@keyframes sheetIn { from { transform: translateY(30px); opacity: 0; } }

/* 모먼트(DM) */
.skin-dm { background: #0d0d12 !important; color: #f2f2f6; }
.skin-dm .app-head { background: #0d0d12 !important; border-color: rgba(255, 255, 255, .1); }
.skin-dm .bubble { background: #26262f; color: #f2f2f6; box-shadow: none; }
.skin-dm .msg.mine .bubble { background: #d6409f; }
.skin-dm .room-foot { background: #0d0d12; } .skin-dm .fake-input { background: #1d1d25; color: #777; } .skin-dm .fake-input b { background: #34343f; }
.skin-dm .choice { background: #1d1d25; color: #fff; box-shadow: inset 0 0 0 1.500px #3a3a48; } .skin-dm .choice:hover { background: #2a2a36; box-shadow: inset 0 0 0 2px #d6409f; }
.skin-dm .choose-label { color: #9a9aa8; } .skin-dm .row p, .skin-dm .msg time { color: #8a8a98; }
/* 메시지(SMS) */
.skin-sms { background: #fff !important; }
.skin-sms .bubble { background: #ececf1; box-shadow: none; }
.skin-sms .msg.mine .bubble { background: #30a46c; }

/* 대화 속 카드 */
.card-b { border-radius: 16px; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, .14); }
.c-shot { width: 190px; background: #130b26; color: #fff; padding: 16px 14px; text-align: center; display: grid; gap: 4px; }
.c-shot small { color: var(--amber); font-weight: 800; letter-spacing: .1em; font-size: 10px; } .c-shot b { font-size: 13px; color: #b9b0d6; }
.c-shot strong { font-size: 27px; color: var(--amber); } .c-shot span { font-size: 11px; color: #8a80aa; }
.c-link { width: 220px; background: #fff; text-align: left; display: block; padding-bottom: 10px; color: #111; }
.c-link-img { display: block; height: 104px; background: center/cover; }
.c-link b { display: block; font-size: 13.500px; padding: 9px 12px 0; } .c-link small { display: block; font-size: 12px; color: #777; padding: 2px 12px 0; }
.c-link em { display: block; margin: 9px 12px 0; text-align: center; font-style: normal; font-weight: 800; font-size: 13px; padding: 8px; border-radius: 10px; background: var(--mag); color: #fff; animation: breathe 1.3s infinite; }
.c-id { width: 200px; background: #f5f7fb; padding: 11px; color: #222; }
.c-id small { font-size: 11px; font-weight: 800; color: #5e6b85; } .c-id div { display: flex; gap: 10px; margin-top: 7px; }
.c-id span { flex: none; width: 54px; height: 68px; border-radius: 6px; background: #c5cedc; } .c-id p { font-size: 12.500px; line-height: 1.5; }
.c-id.leak { background: #2a0d12; color: #ffd9dc; width: 224px; } .c-id.leak small { color: #ff7b84; font-size: 12px; } .c-id.leak span { background: #5a2a30; filter: blur(1px); }
.c-ad { width: 212px; background: #000; color: #ffd76a; padding: 15px 14px; border: 1px solid #5c4a14; border-radius: 16px; }
.c-ad b { font-size: 16px; display: block; color: #ffe9a6; } .c-ad p { font-size: 13px; line-height: 1.6; margin: 8px 0; color: #fff; } .c-ad small { color: #7fb3ff; font-size: 11.500px; }

/* 속마음, 선택, 날짜 카드 */
#thought { position: absolute; z-index: 70; inset: 0; display: flex; align-items: flex-end; background: linear-gradient(transparent 40%, rgba(4, 6, 14, .82) 78%); cursor: pointer; }
#thought p { width: 100%; padding: 0 30px 62px; color: #fff; font-size: 18px; line-height: 1.6; font-weight: 500; word-break: keep-all; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
#thought.in p { animation: thoughtIn .5s; } @keyframes thoughtIn { from { opacity: 0; transform: translateY(8px); } }
#thought i { position: absolute; right: 28px; bottom: 34px; color: #fff; font-style: normal; font-size: 12px; animation: bob .9s infinite; } @keyframes bob { 50% { transform: translateY(4px); } }
#sheet { position: absolute; z-index: 75; inset: 0; background: rgba(4, 6, 14, .6); display: flex; align-items: flex-end; }
.sheet-box { width: 100%; background: #f4f6fa; border-radius: 26px 26px 0 0; padding: 22px 14px 34px; display: grid; gap: 8px; animation: sheetIn .32s cubic-bezier(.2, .9, .3, 1.05); }
.sheet-box p { font-size: 16px; font-weight: 700; color: #10203c; line-height: 1.5; padding: 0 6px 8px; word-break: keep-all; }
#daycard { position: absolute; z-index: 90; inset: 0; background: #05070f; color: #fff; display: grid; place-content: center; justify-items: center; gap: 6px; animation: fadeIn .5s; }
#daycard.out { animation: fadeOut .5s forwards; }
#daycard small { font-size: 15px; letter-spacing: .32em; color: var(--mag); font-weight: 800; }
#daycard b { font-size: 46px; font-weight: 900; } #daycard p { font-size: 17px; color: var(--dim); margin-top: 6px; }
@keyframes fadeIn { from { opacity: 0; } } @keyframes fadeOut { to { opacity: 0; } }

/* 은행 */
#v-bank { background: #f3f5f9; }
#v-bank .app-head { background: #fff; }
.bank-body { overflow: auto; flex: 1; padding: 14px 14px 30px; }
.bank-card { background: #1f6feb; color: #fff; border-radius: 22px; padding: 20px; }
.bank-card > small { opacity: .85; font-size: 13px; } .bank-card > b { display: block; font-size: 36px; font-weight: 800; font-variant-numeric: tabular-nums; margin: 2px 0 16px; } .bank-card b i { font-size: 18px; font-style: normal; margin-left: 3px; }
.bank-goal { background: rgba(255, 255, 255, .16); border-radius: 14px; padding: 12px 14px; font-size: 13px; }
.bank-goal .goal-bar { background: rgba(255, 255, 255, .25); } .bank-goal .goal-bar i { background: #fff; }
.bank-debt { margin-top: 10px; background: #fff0f0; color: #a3171d; border-radius: 16px; padding: 13px 16px; font-size: 14px; } .bank-debt b { float: right; } .bank-debt small { display: block; color: #b9666a; margin-top: 3px; font-size: 12px; }
#v-bank h3 { font-size: 14px; margin: 20px 4px 8px; color: #4a5266; }
.tx { list-style: none; background: #fff; border-radius: 18px; padding: 4px 16px; }
.tx li { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #eef0f4; } .tx li:last-child { border: 0; }
.tx b { font-size: 14.500px; display: block; } .tx small { font-size: 12px; color: #8a90a0; }
.tx span { font-weight: 800; font-variant-numeric: tabular-nums; } .tx .neg { color: #d7373f; } .tx .pos { color: #1f6feb; }

/* ───────── LUCKY MOON ───────── */
#v-site { background: #0b0618; color: #fff; }
.lm { flex: 1; display: flex; flex-direction: column; min-height: 0; position: relative; background: radial-gradient(120% 60% at 50% 0%, #2b1259 0%, #0b0618 62%); }
.lm.shake { animation: shake .4s; } @keyframes shake { 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.lm-head { display: flex; align-items: center; gap: 8px; padding: 4px 14px 8px 4px; }
.lm-head > b { font-size: 15px; font-weight: 900; letter-spacing: .06em; color: var(--amber); }
.lm-logo { width: 30px; height: 30px; border-radius: 9px; background: center/cover; flex: none; }
.lm-logo.big { width: 96px; height: 96px; border-radius: 26px; display: block; margin: 0 auto 18px; box-shadow: 0 0 40px rgba(180, 90, 255, .5); }
.lm-bal { margin-left: auto; text-align: right; line-height: 1.1; }
.lm-bal small { display: block; font-size: 10px; color: #a898d6; } .lm-bal b { font-size: 21px; font-weight: 900; color: var(--amber); font-variant-numeric: tabular-nums; display: inline-block; } .lm-bal i { font-style: normal; font-size: 12px; color: var(--amber); margin-left: 2px; }
.lm-bal b.up { animation: balUp .6s; } .lm-bal b.down { animation: balDown .6s; }
@keyframes balUp { 30% { transform: scale(1.3); color: #fff; text-shadow: 0 0 18px var(--amber); } } @keyframes balDown { 30% { transform: scale(.85); color: var(--red); } }
.lm-ticker { overflow: hidden; background: rgba(0, 0, 0, .45); border-block: 1px solid rgba(255, 215, 100, .2); font-size: 11.500px; color: #ffe08a; white-space: nowrap; }
.lm-ticker div { display: inline-block; padding: 6px 0; animation: marquee 34s linear infinite; } .lm-ticker span { margin-right: 34px; } .lm-ticker span::before { content: '★ '; color: var(--mag); }
@keyframes marquee { to { transform: translateX(-50%); } }
.lm-body { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; }
.lm-idle { margin: auto; text-align: center; padding: 30px; color: #cbbff0; font-size: 15px; line-height: 1.6; }
.lm-signup { padding: 0 16px 30px; display: grid; gap: 9px; }
.lm-hero { height: 150px; margin: 0 -16px 6px; background: #1a0d38 center/cover; display: flex; align-items: center; padding: 0 20px; }
.lm-hero b { font-size: 25px; font-weight: 900; line-height: 1.25; text-shadow: 0 2px 12px #000; } .lm-hero em { font-style: normal; color: var(--amber); font-size: 36px; }
.lm-signup label { font-size: 11.500px; color: #a898d6; display: grid; gap: 4px; }
.lm-signup output { height: 42px; border-radius: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); display: flex; align-items: center; padding: 0 12px; font-size: 15px; color: #fff; }
.lm-adult { font-size: 13px; color: #cbbff0; margin-top: 4px; } .lm-adult i { font-style: normal; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--amber); color: #111; font-size: 12px; font-weight: 900; margin-right: 4px; } .lm-adult small { color: #8676b5; margin-left: 6px; }
.lm-cta, .lm-pop button.gold { height: 52px; border-radius: 14px; background: linear-gradient(#ffd766, #f2a71b); color: #2a1600; font-weight: 900; font-size: 17px; box-shadow: 0 6px 22px rgba(245, 181, 68, .45); margin-top: 6px; }
.lm-cta:disabled { filter: grayscale(1); opacity: .4; box-shadow: none; }
.lm-cta:not(:disabled) { animation: cta 1.1s infinite; } @keyframes cta { 50% { transform: scale(1.03); } }
.lm-game { flex: 1; display: flex; flex-direction: column; padding: 10px 16px 30px; gap: 10px; position: relative; }
.lm-room { display: flex; justify-content: space-between; font-size: 12.500px; color: #cbbff0; } .lm-room b { color: #fff; }
.lm-stage { flex: 1; min-height: 150px; display: grid; place-items: center; align-content: center; gap: 10px; }
.lm-orb { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #5b3bb5, #1c0f44 70%); box-shadow: 0 0 0 4px rgba(255, 215, 100, .35), 0 0 44px rgba(150, 90, 255, .55); transition: box-shadow .2s, background .2s; }
.lm-orb b { font-size: 70px; font-weight: 900; font-variant-numeric: tabular-nums; }
.lm-orb.spin { animation: orb .25s linear infinite; } @keyframes orb { 50% { transform: scale(1.04) rotate(3deg); } }
.lm-orb.odd { background: radial-gradient(circle at 35% 30%, #4aa8ff, #0f3a8a 70%); box-shadow: 0 0 0 4px #9fd0ff, 0 0 50px rgba(59, 158, 255, .8); }
.lm-orb.even { background: radial-gradient(circle at 35% 30%, #ff7a8a, #8a0f2a 70%); box-shadow: 0 0 0 4px #ffb3bd, 0 0 50px rgba(255, 90, 110, .8); }
.lm-res { height: 30px; font-size: 19px; font-weight: 800; } .lm-res b { font-size: 23px; }
.lm-res.win { color: var(--amber); animation: resIn .5s cubic-bezier(.2, .9, .3, 1.6); text-shadow: 0 0 18px rgba(245, 181, 68, .8); } .lm-res.lose { color: #ff7b84; animation: resIn .3s; }
@keyframes resIn { from { transform: scale(.4); opacity: 0; } }
.lm-hist { display: flex; gap: 4px; min-height: 24px; flex-wrap: wrap; }
.lm-hist i { font-style: normal; font-size: 11px; font-weight: 800; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #1f6feb; } .lm-hist i.even { background: #d7373f; } .lm-hist i.l { opacity: .45; }
.lm-bet { background: rgba(255, 255, 255, .07); border-radius: 16px; padding: 10px 12px; display: grid; grid-template-columns: 1fr auto; align-items: center; row-gap: 8px; }
.lm-bet label { font-size: 12px; color: #a898d6; } .lm-bet output { font-size: 21px; font-weight: 900; color: var(--amber); font-variant-numeric: tabular-nums; }
.lm-chips { grid-column: 1 / -1; display: flex; gap: 6px; } .lm-chips button { flex: 1; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .1); font-weight: 800; font-size: 13.500px; }
.lm-chips button.on { background: var(--amber); color: #2a1600; } .lm-chips button:disabled { opacity: .28; }
.lm-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lm-picks button { height: 78px; border-radius: 18px; font-size: 32px; font-weight: 900; display: grid; place-content: center; justify-items: center; line-height: 1; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .25); transition: transform .1s, filter .15s; }
.lm-picks small { font-size: 12px; font-weight: 700; opacity: .85; margin-top: 4px; }
.lm-picks .odd { background: linear-gradient(#4aa8ff, #1f6feb); } .lm-picks .even { background: linear-gradient(#ff7a8a, #d7373f); }
.lm-picks button:active { transform: translateY(3px); } .lm-picks button:disabled { filter: saturate(.3) brightness(.6); } .lm-picks button.picked { filter: none; outline: 3px solid #fff; }
.lm-leave { height: 38px; border-radius: 12px; font-size: 13.500px; color: #cbbff0; background: rgba(255, 255, 255, .06); } .lm-leave:disabled, .lm-leave.locked { opacity: .3; }
.lm-res.note { font-size: 13px; font-weight: 600; color: #cbbff0; display: grid; place-items: center; }
.lm-game.rain::before { content: ''; position: absolute; inset: -40px 0 0; pointer-events: none; background-image: radial-gradient(circle, #ffd766 0 4px, transparent 5px), radial-gradient(circle, #ffb52e 0 3px, transparent 4px), radial-gradient(circle, #fff1b8 0 2.500px, transparent 3.500px); background-size: 90px 120px, 70px 90px, 110px 150px; background-position: 10px 0, 40px 30px, 70px 60px; animation: rain 1s linear infinite; opacity: .8; }
@keyframes rain { to { background-position: 10px 120px, 40px 120px, 70px 210px; } }
.lm-pop { position: absolute; inset: 0; z-index: 5; background: rgba(5, 2, 14, .78); display: grid; place-items: center; padding: 24px; }
.lm-pop-box { width: 100%; background: #1c1138; border: 1px solid rgba(255, 215, 100, .35); border-radius: 22px; padding: 22px 18px 16px; text-align: center; display: grid; gap: 12px; animation: resIn .3s cubic-bezier(.2, .9, .3, 1.3); }
.lm-pop-box.bad { border-color: #ff5a5f; background: #2a0d16; }
.lm-pop h4 { font-size: 18px; color: var(--amber); } .lm-pop-box.bad h4 { color: #ff7b84; }
.lm-pop-box div { font-size: 15px; line-height: 1.6; color: #e6defc; word-break: keep-all; } .lm-pop-box div b { color: #fff; font-size: 19px; } .lm-pop-box small { display: block; font-size: 11px; color: #8676b5; margin-top: 8px; line-height: 1.5; }
.lm-pop button { height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .12); font-weight: 800; font-size: 15px; }
.lm-gone { flex: 1; background: #fff; color: #333; padding: 10px 26px; display: grid; align-content: center; gap: 10px; position: relative; }
.lm-gone .back { position: absolute; top: 4px; left: 6px; } .lm-gone b { font-size: 20px; } .lm-gone p { font-size: 14px; color: #666; line-height: 1.6; } .lm-gone small { color: #999; font-size: 12px; }

/* ───────── 엔딩 ───────── */
#scr-ending { background: #05070f; }
.end-art { flex: 1.150; background: #0c1226 center/cover; position: relative; animation: fadeIn 1.6s; }
.end-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, #05070f); }
.end-box { flex: 1; max-width: 560px; padding: clamp(24px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 14px; overflow: auto; animation: endIn 1s .5s backwards; }
@keyframes endIn { from { opacity: 0; transform: translateY(14px); } }
.end-no { font-size: 13px; font-weight: 800; letter-spacing: .2em; color: var(--dim); }
#scr-ending[data-tone=good] .end-no { color: var(--green); } #scr-ending[data-tone=bad] .end-no { color: var(--red); } #scr-ending[data-tone=mid] .end-no { color: var(--amber); }
.end-box h2 { font-size: clamp(40px, 6vw, 62px); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
#end-text p { font-size: 16.500px; line-height: 1.75; color: #d5dcee; margin-bottom: 9px; word-break: keep-all; }
#end-text p.more { color: var(--amber); font-size: 15px; }
.end-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.end-stats div { background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 9px 13px; min-width: 88px; }
.end-stats dt { font-size: 11.500px; color: var(--dim); } .end-stats dd { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; } .end-stats .neg { color: var(--red); }
.end-btns, .ad-btns, .tk-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.end-btns button, .ad-btns button, .tk-btns button, .gallery header button { padding: 13px 22px; border-radius: 12px; font-weight: 800; font-size: 15.500px; background: rgba(255, 255, 255, .1); }
button.primary:not(.tm) { background: var(--sky) !important; color: #fff; } button.primary small { font-weight: 500; opacity: .85; margin-left: 6px; }
@media (max-width: 760px) { #scr-ending.on { flex-direction: column; } .end-art { flex: none; height: 32vh; } .end-art::after { background: linear-gradient(transparent 50%, #05070f); } .end-box { justify-content: flex-start; max-width: none; } }

/* ───────── 관리자 화면 ───────── */
#scr-admin { background: #0a0d12; overflow: auto; justify-content: center; font-family: var(--font); }
.admin { width: min(920px, 100%); padding: clamp(18px, 4vw, 44px); margin: auto 0; animation: glitch .5s; }
@keyframes glitch { 0% { opacity: 0; transform: skewX(8deg); filter: hue-rotate(90deg); } 40% { opacity: 1; transform: skewX(-3deg); } 100% { transform: none; filter: none; } }
.admin header { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid #263042; padding-bottom: 16px; }
.ad-logo { width: 46px; height: 46px; border-radius: 12px; background: center/cover; }
.admin header small { color: #6ee7a8; font-size: 12px; letter-spacing: .12em; font-weight: 700; } .admin h2 { font-size: 26px; }
.admin header em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 800; color: #ff7b84; border: 1px solid #ff7b84; padding: 4px 10px; border-radius: 6px; transform: rotate(4deg); }
.ad-lead { color: #c7d0e0; margin: 16px 0; font-size: 16px; }
.ad-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.admin section { background: #111722; border: 1px solid #222c3d; border-radius: 14px; padding: 16px 18px; }
.ad-wide { margin-top: 12px; }
.admin h3 { font-size: 13px; color: #6ee7a8; letter-spacing: .04em; margin-bottom: 10px; } .admin h3 small { color: #8fa0bb; font-weight: 500; margin-left: 8px; }
.admin dl div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed #222c3d; font-size: 14.500px; } .admin dl div:last-child { border: 0; }
.admin dt { color: #8fa0bb; } .admin dd { font-weight: 700; text-align: right; } .admin dd small { display: block; font-weight: 500; color: #8fa0bb; font-size: 11.500px; }
.admin .sum dd { color: var(--amber); font-size: 19px; }
.admin table { width: 100%; border-collapse: collapse; font-size: 14.500px; }
.admin th { text-align: left; font-size: 12px; color: #8fa0bb; font-weight: 600; padding: 6px 8px 6px 0; border-bottom: 1px solid #222c3d; }
.admin td { padding: 10px 8px 10px 0; border-bottom: 1px dashed #222c3d; vertical-align: top; } .admin td small { display: block; color: #8fa0bb; font-size: 12.500px; margin-top: 2px; }
.admin td:nth-child(2) { font-weight: 900; font-size: 20px; color: var(--amber); white-space: nowrap; }
.ad-dots { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 14px; }
.ad-dots i { font-style: normal; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; font-weight: 900; font-size: 13px; background: #16321f; color: #6ee7a8; } .ad-dots i.l { background: #3a1519; color: #ff7b84; }
.ad-note { font-size: 12px; color: #8fa0bb; margin-top: 8px; }
.ad-list ul { list-style: none; display: grid; gap: 10px; } .ad-list li { font-size: 14.500px; line-height: 1.6; color: #c7d0e0; } .ad-list b { color: #fff; margin-right: 8px; }
.ad-foot { font-size: 12.500px; color: #8fa0bb; margin-top: 16px; line-height: 1.6; }

/* ───────── 생각 나누기 ───────── */
#scr-talk { background: #f4f6fa; color: #10203c; overflow: auto; justify-content: center; }
.talk { width: min(760px, 100%); padding: clamp(24px, 5vw, 56px); margin: auto 0; animation: endIn .6s; }
.tk-kicker { color: #1f6feb; font-weight: 800; font-size: 14px; } .talk h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; margin: 6px 0 22px; letter-spacing: -.02em; }
.talk h2 { margin-bottom: 8px; } .tk-lead { font-size: 16px; line-height: 1.6; color: #46536e; margin-bottom: 20px; word-break: keep-all; }
.tk-card { background: #fff; border-radius: 20px; padding: 22px 24px 24px; margin-top: 14px; box-shadow: 0 1px 2px rgba(16, 32, 60, .06); }
.tk-card h3 { display: flex; align-items: center; gap: 12px; font-size: clamp(20px, 2.4vw, 24px); font-weight: 900; letter-spacing: -.01em; }
.tk-card h3 b { width: 34px; height: 34px; flex: none; border-radius: 50%; background: #e3eeff; color: #1f6feb; display: grid; place-items: center; font-size: 17px; }
.tk-say { font-size: 16.5px; line-height: 1.6; color: #2c3b58; margin: 10px 0 12px; word-break: keep-all; }
.tk-scene { background: #b9cde3; color: #111; border-radius: 16px; padding: 6px 14px 14px; display: flex; flex-direction: column; gap: 3px; }
.tk-scene.sms { background: #f1f1f5; }
.tk-scene .msg { flex-direction: column; align-items: flex-start; gap: 2px; } .tk-scene .msg.mine { align-items: flex-end; }
.tk-scene .bubble { font-size: 16px; max-width: 86%; } .tk-scene.sms .bubble { background: #dfe0e8; max-width: 100%; }
.tk-who { font-size: 12.5px; font-weight: 700; color: #40506b; margin-left: 4px; }
.tk-mine { margin-top: 10px; background: #f4f6fa; border-radius: 12px; padding: 11px 14px; font-size: 15.5px; font-weight: 600; line-height: 1.55; word-break: keep-all; }
.tk-mine i { font-style: normal; font-size: 12px; font-weight: 800; color: #1f6feb; background: #e3eeff; padding: 3px 9px; border-radius: 99px; margin-right: 8px; white-space: nowrap; }
.tk-steps { list-style: none; counter-reset: st; display: grid; gap: 10px; margin-top: 16px; }
.tk-steps li { counter-increment: st; position: relative; padding-left: 34px; font-size: clamp(16.5px, 1.9vw, 19px); font-weight: 600; line-height: 1.6; word-break: keep-all; }
.tk-steps li::before { content: counter(st); position: absolute; left: 0; top: .22em; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #1f6feb; color: #1f6feb; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.tk-steps li b { color: #1f6feb; }
.tk-picks { display: grid; gap: 8px; }
.tk-picks button { text-align: left; padding: 12px 16px; border-radius: 12px; background: #f4f6fa; color: #10203c; font-size: 15.5px; font-weight: 600; line-height: 1.45; display: flex; gap: 12px; align-items: baseline; word-break: keep-all; border: 1.5px solid transparent; }
.tk-picks button small { flex: none; width: 44px; font-size: 12.5px; font-weight: 800; color: #5b6680; }
.tk-picks button.on { background: #e3eeff; border-color: #1f6feb; }
.tk-picked { margin-top: 14px; } .tk-when { font-size: 14px; font-weight: 700; color: #46536e; word-break: keep-all; }
.tk-write { display: block; margin-top: 16px; } .tk-write span { display: block; font-size: 13.5px; font-weight: 800; color: #1f6feb; margin-bottom: 6px; }
.tk-write textarea { width: 100%; resize: none; border: 1.5px solid #c1cbdc; border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 18px; font-weight: 600; line-height: 1.5; color: #10203c; background: #fff; }
.tk-write textarea:focus { outline: none; border-color: #1f6feb; } .tk-write small { display: block; margin-top: 6px; font-size: 12.5px; color: #5b6680; }
.tk-save canvas { display: block; width: min(360px, 100%); height: auto; border-radius: 14px; border: 1px solid #dde3ee; margin-top: 4px; }
.tk-save .tk-btns { align-items: center; } #tk-saved { font-size: 14px; color: #46536e; }
.tk-help { margin-top: 14px; background: #10203c; color: #fff; border-radius: 18px; padding: 20px 22px; }
.tk-help h3 { font-size: 16px; margin-bottom: 12px; } .tk-help ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px 20px; }
.tk-help li { display: flex; align-items: baseline; gap: 12px; } .tk-help b { font-size: 24px; font-weight: 900; color: #8ec5ff; min-width: 62px; font-variant-numeric: tabular-nums; } .tk-help span { font-size: 14px; color: #c7d3ea; line-height: 1.45; }
.tk-btns button { background: #e3e8f1; color: #10203c; }

/* ───────── 엔딩 도감 ───────── */
#scr-gallery { overflow: auto; justify-content: center; background: #080b16; }
.gallery { width: min(1040px, 100%); padding: clamp(20px, 4vw, 48px); }
.gallery header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; } .gallery h2 { font-size: 30px; font-weight: 900; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery figure { border-radius: 16px; overflow: hidden; background: #111828; border: 1px solid var(--line); }
.gallery figure span { display: block; aspect-ratio: 16 / 9; background: #1a2236 center/cover; }
.gallery .locked span { background: repeating-linear-gradient(45deg, #121a2c 0 10px, #0e1524 10px 20px); }
.gallery figcaption { padding: 12px 14px 14px; } .gallery small { font-size: 11px; letter-spacing: .14em; color: var(--dim); font-weight: 700; } .gallery b { display: block; font-size: 19px; margin-top: 2px; }
.gallery p { font-size: 12.500px; color: var(--dim); margin-top: 6px; line-height: 1.5; } .gallery .locked b { color: #4b5670; }
.gallery .good small { color: var(--green); } .gallery .bad small { color: var(--red); } .gallery .mid small { color: var(--amber); }

/* ---------- 나의 닷새 돌아보기 ---------- */
#scr-review { background: #f4f6fa; color: #10203c; overflow: auto; justify-content: center; }
.review { width: min(820px, 100%); padding: clamp(24px, 5vw, 56px); margin: auto 0; animation: endIn .6s; }
.review h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; margin: 6px 0 22px; letter-spacing: -.02em; }
.rv-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.rv-sum div { background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: 0 1px 2px rgba(16, 32, 60, .06); }
.rv-sum b { display: block; font-size: 30px; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -.02em; } .rv-sum b small { font-size: 16px; font-weight: 700; color: #5b6680; }
.rv-sum span { font-size: 13.5px; color: #46536e; }
.rv-refuse { margin-top: 10px; background: #e3eeff; border-radius: 16px; padding: 16px 18px; }
.rv-refuse small { display: block; font-size: 12.5px; font-weight: 700; color: #1f6feb; } .rv-refuse b { display: block; font-size: 18px; margin: 4px 0; } .rv-refuse p { font-size: 14.5px; line-height: 1.6; color: #2c3b58; word-break: keep-all; }
.rv-line { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.rv-line li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: start; }
.rv-when { padding-top: 16px; text-align: right; } .rv-when b { display: block; font-size: 13px; font-weight: 900; letter-spacing: .08em; color: #1f6feb; } .rv-when span { font-size: 12.5px; color: #5b6680; }
.rv-card { background: #fff; border-radius: 18px; padding: 16px 20px 6px; box-shadow: 0 1px 2px rgba(16, 32, 60, .06); }
.rv-card h3 { font-size: 17px; font-weight: 800; line-height: 1.45; word-break: keep-all; }
.rv-pick { margin: 8px 0 10px; font-size: 15.5px; font-weight: 600; line-height: 1.5; word-break: keep-all; }
.rv-pick i { font-style: normal; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 99px; margin-right: 8px; white-space: nowrap; background: #fde8e9; color: #c42b31; }
.rv-line li.stop .rv-pick i { background: #ddf3e7; color: #1c7a4c; }
.rv-card dl div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 9px 0; border-top: 1px dashed #e3e8f1; font-size: 14px; line-height: 1.6; }
.rv-card dt { color: #5b6680; font-weight: 600; } .rv-card dd { word-break: keep-all; }
.rv-unseen { margin-top: 26px; border: 1.5px dashed #c1cbdc; border-radius: 18px; padding: 16px 20px; }
.rv-unseen h3 { font-size: 15px; font-weight: 800; color: #46536e; margin-bottom: 10px; }
.rv-unseen ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; } .rv-unseen li { font-size: 13px; color: #5b6680; background: #e9edf4; padding: 5px 11px; border-radius: 99px; }
.review .tk-btns { margin-top: 24px; }
@media (max-width: 620px) { .rv-line li { grid-template-columns: 1fr; gap: 4px; } .rv-when { text-align: left; padding-top: 4px; display: flex; gap: 8px; align-items: baseline; } .rv-card dl div { grid-template-columns: 1fr; gap: 0; } }

/* ---------- 도윤이의 휴대폰 ---------- */
#scr-epi { background: #080b16; overflow: auto; justify-content: center; }
.epi { width: min(430px, 100%); padding: clamp(18px, 4vw, 36px) 14px; margin: auto 0; display: flex; flex-direction: column; gap: 16px; animation: endIn .8s; }
.ep-head .tk-kicker { color: #8ec5ff; } .ep-head h2 { font-size: 26px; font-weight: 900; letter-spacing: -.02em; margin-top: 4px; }
.ep-phone { background: #b9cde3; color: #111; border-radius: 28px; overflow: hidden; border: 6px solid #1a2236; }
.ep-phone header { display: flex; align-items: center; gap: 10px; background: #a9c0da; padding: 12px 14px; } .ep-phone header b { display: block; font-size: 16px; } .ep-phone header small { font-size: 12px; color: #40506b; }
.ep-msgs { padding: 6px 12px 16px; display: flex; flex-direction: column; gap: 3px; }
.ep-msgs .c-link { border-radius: 14px; overflow: hidden; }
.ep-foot p { font-size: 17px; line-height: 1.65; font-weight: 600; word-break: keep-all; margin-bottom: 14px; }
.ep-foot button { padding: 13px 22px; border-radius: 12px; font-weight: 800; font-size: 15.5px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; } }
