/* DearShorts — 심야 독립영화관의 GV: 검정 · 샴페인 골드 · 딥 레드, 스포트라이트와 붉은 막.
 * 화면 글자는 Playfair Display(제목) + Inter(본문), 한국어 질문 · 줄거리는 Noto Serif KR / 시스템 고딕. */

:root {
  --bg: #0a0807;
  --panel: #14110f;
  --panel2: #1c1815;
  --panel3: #26201b;
  --line: rgba(217, 189, 138, .14);
  --line2: rgba(217, 189, 138, .28);
  --gold: #d9bd8a;
  --gold-hi: #f1dfb6;
  --gold-lo: #9c8457;
  --red: #7d1820;
  --red-hi: #c8474c;
  --ink: #f3ece0;
  --ink2: #cfc5b4;
  --muted: #9a8f7f;
  --tabs: 0px;   /* 하단 탭 없음 (2026-10-14) */
  --serif: 'Playfair Display', 'Noto Serif KR', 'Didot', Georgia, serif;
  --kserif: 'Noto Serif KR', 'Playfair Display', 'AppleMyungjo', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Pretendard', 'Noto Sans KR', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* 객석: 넓은 화면에서는 양옆에 붉은 막, 가운데 위에서 떨어지는 빛 */
.house { position: fixed; inset: 0; z-index: 0; pointer-events: none; display: none;
  background:
    radial-gradient(60% 46% at 50% -8%, rgba(241, 223, 182, .13), transparent 70%),
    linear-gradient(90deg, #2a0a0e 0, #4a1016 3%, #2a0a0e 6%, #47101a 9%, #1a0608 13%, transparent 20%, transparent 80%, #1a0608 87%, #47101a 91%, #2a0a0e 94%, #4a1016 97%, #2a0a0e 100%); }
.shell { position: relative; z-index: 1; width: min(540px, 100%); margin: 0 auto; min-height: 100dvh; background: var(--bg); box-shadow: 0 0 80px 30px rgba(0, 0, 0, .7); padding-bottom: calc(var(--tabs) + env(safe-area-inset-bottom)); }
.main { min-height: calc(100dvh - var(--tabs)); }

/* ── 아래 탭 ── */
.tabs { position: fixed; z-index: 50; bottom: 0; left: 50%; transform: translateX(-50%); width: min(540px, 100%); height: calc(var(--tabs) + env(safe-area-inset-bottom)); padding: 0 6px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: rgba(12, 10, 9, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.tabs a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: 10.5px; letter-spacing: .02em; }
.tabs a svg { width: 23px; height: 23px; }
.tabs a.on { color: var(--gold-hi); }
.tabs a.on svg { stroke-width: 1.9; }
.tabs a.on::before { content: ''; position: absolute; top: 0; width: 26px; height: 2px; border-radius: 2px; background: var(--gold); }
.tabs a.plus i { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-top: -14px; border-radius: 50%; background: linear-gradient(180deg, #ecd7a8, #cfae75); color: #1b1408; box-shadow: 0 0 0 4px var(--bg), 0 8px 22px rgba(217, 189, 138, .28); }
.tabs a.plus i svg { width: 24px; height: 24px; stroke-width: 2.2; }
.tabs a.plus.on::before { display: none; }
.tabs a.plus.on i { box-shadow: 0 0 0 4px var(--bg), 0 0 0 5.500px var(--gold-hi), 0 8px 22px rgba(217, 189, 138, .28); }
.tabs a { min-width: 0; }
.tabs #actLabel { display: block; box-sizing: border-box; width: 100%; text-align: center; padding: 0 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tabs a.me .uav { flex: none; }
.tabs a.me.on .uav { box-shadow: 0 0 0 1.5px var(--gold-hi); }
.tabs .dot { position: absolute; top: 11px; left: calc(50% + 7px); width: 8px; height: 8px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 0 2px var(--bg); }

/* ── 머리 ── */
.logo { font: 700 26px/1 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.logo em { font-style: normal; color: var(--gold); }
.logo sup { font: 600 9px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-lo); margin-left: 6px; vertical-align: top; position: relative; top: 4px; }
.top { display: flex; align-items: center; justify-content: space-between; padding: calc(14px + env(safe-area-inset-top)) 18px 10px; }
.page { font: 600 26px/1.1 var(--serif); }
.top-l, .top-r { display: flex; align-items: center; gap: 2px; min-width: 0; }
.top-l .icon-btn:first-child { margin-left: -10px; }
.top-l .home-btn { margin-right: 4px; }
.home-btn svg { width: 21px; height: 21px; }
.bar .icon-btn { width: 38px; }
.top-r { margin-right: -6px; }
.me-btn { position: relative; }
.me-btn .uav { box-shadow: 0 0 0 1.5px var(--gold-lo); }
.me-btn .dot { position: absolute; top: 5px; right: 3px; width: 9px; height: 9px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 0 2px var(--bg); }
.searchbar { display: flex; align-items: center; gap: 4px; }
.searchbar .sbox { flex: 1; min-width: 0; }
.searchbar > .icon-btn:first-child { margin-left: -6px; }
.chip { cursor: pointer; background: none; font: inherit; font-size: 13.5px; }
.chip-sep { flex: none; width: 1px; align-self: stretch; margin: 6px 2px; background: var(--line2); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink2); flex: none; }
.icon-btn:active { background: var(--panel2); }
.icon-btn.ghost { visibility: hidden; }
.icon-btn.mark.on { color: var(--gold); }
.icon-btn.mark.on svg { fill: var(--gold); }
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 4px; padding: calc(8px + env(safe-area-inset-top)) 8px 8px; background: rgba(10, 8, 7, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.bar-title { flex: 1; min-width: 0; text-align: center; display: flex; flex-direction: column; }
.bar-title b { font: 600 17px/1.25 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-title span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── 단추 ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 14.5px; transition: transform .08s ease, filter .15s ease; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }
.btn-cta { background: linear-gradient(180deg, #ecd7a8, #cfae75); color: #1b1408; box-shadow: 0 6px 22px rgba(217, 189, 138, .16); }
.btn-ghost { border: 1px solid var(--line2); color: var(--ink2); }
.btn-danger { background: rgba(200, 71, 76, .14); border: 1px solid rgba(200, 71, 76, .5); color: #f0a3a6; }
.btn-block, .sheet .btn, .gate-card .btn { width: 100%; }
.btn-big { width: 100%; min-height: 52px; font-size: 16px; }
.pill { display: inline-block; font: 600 10px/1 var(--sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px; border-radius: 999px; color: var(--ink2); border: 1px solid var(--line2); vertical-align: 1px; }
.pill.gold { color: var(--gold); border-color: var(--gold-lo); }
.pill.red { color: #f0a3a6; border-color: rgba(200, 71, 76, .55); }
.chip { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line2); color: var(--ink2); font-size: 13.5px; white-space: nowrap; }
.chip.on { background: var(--gold); border-color: var(--gold); color: #1b1408; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 12px; }
.chips.scroll::-webkit-scrollbar { display: none; }

/* ── Foyer ── */
.hero { position: relative; margin: 4px 14px 6px; padding: 30px 22px 26px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  background:
    radial-gradient(90% 70% at 50% -20%, rgba(241, 223, 182, .22), transparent 62%),
    linear-gradient(90deg, rgba(125, 24, 32, .55) 0, rgba(74, 16, 22, .2) 9%, transparent 22%, transparent 78%, rgba(74, 16, 22, .2) 91%, rgba(125, 24, 32, .55) 100%),
    linear-gradient(180deg, #17120f, #0d0a09); }
.hero::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-lo), transparent); }
.kicker { font: 600 10.5px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.hero h2, .slogan { font: 500 31px/1.16 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.hero p:not(.kicker) { margin: 12px 0 20px; color: var(--ink2); font-size: 14.5px; max-width: 34ch; }
.slogan { font-style: italic; color: var(--gold-hi); font-size: 24px; }
.sec { margin-top: 26px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; padding: 0 18px 12px; }
.sec-h h3 { font: 600 19px/1.2 var(--serif); }
.sec-h h3 i { font: 500 13px var(--sans); font-style: normal; color: var(--muted); margin-left: 6px; }
.sec-h a { font-size: 13px; color: var(--gold); }
.hscroll { display: flex; gap: 12px; overflow-x: auto; padding: 2px 18px 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; flex: none; }
.foot { padding: 26px 22px 30px; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; }
.foot a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

/* 제목 카드 (포스터 대신) */
.tcard { --h: 20; position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; width: 118px; aspect-ratio: 2 / 3; padding: 12px 10px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line2);
  background: radial-gradient(120% 60% at 50% -10%, hsla(var(--h), 45%, 62%, .34), transparent 70%), linear-gradient(180deg, hsl(var(--h), 22%, 15%), #0d0b0a 85%); }
.tcard::before { content: ''; position: absolute; inset: 5px; border: 1px solid rgba(217, 189, 138, .2); border-radius: 6px; pointer-events: none; }
.tcard b { font: 600 14.5px/1.15 var(--serif); color: var(--gold-hi); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; word-break: keep-all; overflow-wrap: break-word; }
.tcard i { font: 500 10.5px var(--sans); font-style: normal; letter-spacing: .12em; color: var(--muted); }
.tcard.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tcard.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 8, 7, .1) 30%, rgba(10, 8, 7, .92) 88%); }
.tcard.has-img b, .tcard.has-img i { position: relative; z-index: 1; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.tcard.has-img i { color: var(--ink2); }
.tcard.has-img em { position: absolute; z-index: 1; top: 8px; right: 8px; font: 600 8.5px/1 var(--sans); font-style: normal; letter-spacing: .1em; padding: 3px 5px; border-radius: 4px; color: var(--gold-hi); background: rgba(10, 8, 7, .62); }
.tcard.thumb em, .tcard.mini em { display: none; }
.tcard.thumb { width: 54px; padding: 7px 6px; border-radius: 7px; flex: none; }
.tcard.thumb::before { inset: 3px; border-radius: 4px; }
.tcard.thumb b { font-size: 8.5px; -webkit-line-clamp: 4; }
.tcard.thumb i { font-size: 7.5px; }
.tcard.mini { width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; padding: 8px; }
.tcard.mini::before { display: none; }
.tcard.mini b { font-size: 11px; -webkit-line-clamp: 3; }
.tcard.mini i { display: none; }
.tcard.big { width: 96px; flex: none; }
.tcard.big b { font-size: 12.5px; }
.fposter { display: flex; flex-direction: column; gap: 7px; width: 118px; }
.fp-q { font-size: 11.5px; color: var(--muted); }

/* 질문 카드 */
.qlist { display: flex; flex-direction: column; gap: 10px; padding: 0 14px; }
.qc { display: flex; gap: 12px; padding: 10px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.qc:active { background: var(--panel2); }
.qc-img { width: 92px; aspect-ratio: 4 / 5; border-radius: 9px; overflow: hidden; flex: none; background: #000; }
.qc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qc-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; padding: 2px 2px 2px 0; }
.qc-where { font-size: 11.5px; color: var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qc-where .sep { color: var(--gold-lo); margin: 0 2px; }
.qc-text { font: 500 15.5px/1.45 var(--kserif); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; word-break: keep-all; overflow-wrap: anywhere; }
.qc-meta { margin-top: auto; display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.qc-meta .nick { margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qc-meta .cnt { display: inline-flex; align-items: center; gap: 3px; }
.qc-meta svg { width: 14px; height: 14px; }
.qc.wide { width: 272px; min-height: 124px; }
.qc.wide .qc-img { width: 84px; }
.qc.spoil:not(.shown) .qc-text { filter: blur(7px); user-select: none; }
.qc.spoil:not(.shown) .qc-img img { filter: blur(12px) brightness(.7); transform: scale(1.15); }
.qc.spoil:not(.shown) .qc-body { position: relative; }
.qc.spoil:not(.shown) .qc-body::after { content: 'Tap to reveal'; position: absolute; left: 0; top: 42%; font-size: 11.5px; color: var(--ink2); letter-spacing: .04em; }

/* 프로필 그림 */
.uav { display: inline-block; border-radius: 50%; overflow: hidden; flex: none; background: var(--panel3); box-shadow: 0 0 0 1.5px var(--ring, var(--gold-lo)); }
.uav img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ring0 { --ring: #d9bd8a; } .ring1 { --ring: #c8474c; } .ring2 { --ring: #8fb0a0; } .ring3 { --ring: #b79ad6; }
.ring4 { --ring: #e0a070; } .ring5 { --ring: #7fa8d8; } .ring6 { --ring: #d8d0c0; } .ring7 { --ring: #c9a0a8; }
/* Guests 의 프로필 사진 + 오른쪽 아래 AI 표시 */
.gav { position: relative; display: inline-block; border-radius: 50%; flex: none; background: #171210; box-shadow: 0 0 0 1px var(--gold-lo), 0 4px 14px rgba(0, 0, 0, .5); }
.gav b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 600 1em var(--serif); color: var(--gold-hi); }
.gav img { position: relative; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.gav i { position: absolute; right: -3px; bottom: -2px; padding: .22em .42em; border-radius: 999px; font: 700 8px/1 var(--sans); font-style: normal; letter-spacing: .06em; color: #1b1408; background: var(--gold); box-shadow: 0 0 0 1.5px var(--bg); }

/* ── Search ── */
.lead { padding: 0 18px 6px; color: var(--ink2); font-size: 14px; }
.searchbar.flat { position: static; padding-top: 10px; }
.pcard.mini { margin: 0 14px; padding: 14px 16px; gap: 13px; }
.pcard.mini b { font-size: 17px; }
.pcard.mini > svg { margin-left: auto; width: 16px; height: 16px; color: var(--muted); }
.searchbar { position: sticky; top: 0; z-index: 20; padding: calc(12px + env(safe-area-inset-top)) 14px 12px; background: rgba(10, 8, 7, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.sbox { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 14px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line2); color: var(--muted); }
.sbox:focus-within { border-color: var(--gold-lo); }
.sbox input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font-size: 16px; }
.sbox input::-webkit-search-cancel-button { display: none; }
.sbox button { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--muted); }
.sbox button svg { width: 16px; height: 16px; }
.flist { display: flex; flex-direction: column; padding: 0 14px; }
.frow { display: flex; align-items: center; gap: 13px; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--muted); }
.frow > svg { width: 18px; height: 18px; }
.frow-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.frow-body b { font: 600 17px/1.25 var(--serif); color: var(--ink); }
.frow-meta { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frow-note { font-size: 13px; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: keep-all; }
.frow-note:empty { display: none; }
.frow-tag { font-size: 11.5px; color: var(--gold); margin-top: 2px; }

/* ── 영화 ── */
.trailer { margin: 0 0 4px; }
.trailer .tv { position: relative; aspect-ratio: 16 / 9; min-height: 200px; background: #000; }   /* YouTube 플레이어는 200×200 이상 (좁은 화면에서도) */
.trailer .tv iframe, .trailer .tv > div { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tnote { display: flex; align-items: flex-start; gap: 11px; width: calc(100% - 28px); margin: 12px 14px 0; padding: 12px 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); text-align: left; color: var(--ink); font: inherit; cursor: pointer; }
.tn-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; min-height: 40px; }
.tn-body b { font-size: 13px; color: var(--gold-hi); font-weight: 600; }
.tn-body b i { margin-left: 8px; font-style: normal; color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
/* 해설 박스는 높이를 고정한다 — 줄 수가 바뀌거나 비어도 박스가 위아래로 움직이지 않게 (2026-10-19 사용자). 넘치는 줄은 글자를 조금 줄여 넣는다 (app.js fitNote) */
.tn-body #tnText, .tn-body #ostNowNote { font-size: 15px; line-height: 1.45; height: 66px; overflow: hidden; }   /* 15px × 1.45 × 3줄 — px 로 고정(글자를 줄여도 박스는 그대로) */
.tn-body #tnText.in { animation: fadeUp .35s ease both; }
.tnotes { list-style: none; margin: 8px 14px 0; padding: 4px 0; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.tnotes button { display: flex; gap: 12px; width: 100%; padding: 8px 14px; text-align: left; color: var(--ink2); font: inherit; font-size: 14px; background: none; border: 0; cursor: pointer; }
.tnotes button i { flex: none; width: 34px; font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.tnotes button.on { color: var(--ink); }
.tnotes button.on i { color: var(--gold-hi); }
.tcap { margin: 8px 16px 0; font-size: 11.5px; color: var(--muted); }
.fhero { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.fhero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fhero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 8, 7, 0) 40%, rgba(10, 8, 7, .92)); }
.fhero figcaption { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 14px; display: flex; flex-direction: column; gap: 2px; }
.fhero figcaption b { font: 600 26px/1.15 var(--serif); color: var(--ink); text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.fhero figcaption span { font-size: 13px; color: var(--ink2); }
.fhero em { position: absolute; z-index: 1; top: 10px; right: 10px; font: 600 9px/1 var(--sans); font-style: normal; letter-spacing: .1em; padding: 4px 6px; border-radius: 5px; color: var(--gold-hi); background: rgba(10, 8, 7, .62); }
.subtabs { display: flex; gap: 22px; padding: 4px 20px 0; border-bottom: 1px solid var(--line); }
.subtabs a { padding: 10px 0 11px; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.subtabs a.on { color: var(--gold-hi); border-color: var(--gold); font-weight: 600; }
.subtabs a i { font-style: normal; font-size: 12px; color: var(--muted); margin-left: 3px; }
.logline { padding: 18px 20px 0; font: 500 15.5px/1.6 var(--kserif); color: var(--ink2); word-break: keep-all; }
.spoiler-note { margin: 14px 20px 4px; padding: 9px 12px; border-radius: 10px; font-size: 12.5px; color: var(--ink2); background: rgba(125, 24, 32, .22); border: 1px solid rgba(200, 71, 76, .3); }
.smap { position: relative; padding: 10px 14px 0; }
.smap::before { content: ''; position: absolute; left: 39px; top: 34px; bottom: 30px; width: 1px; background: linear-gradient(180deg, var(--gold-lo), rgba(156, 132, 87, .15)); }
.ch { position: relative; border-radius: 14px; border: 1px solid transparent; margin-bottom: 2px; }
.ch-head { display: flex; align-items: flex-start; gap: 14px; width: 100%; text-align: left; padding: 12px 10px 12px 6px; }
.ch-n { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; flex: none; font: 600 13px var(--sans); letter-spacing: .04em; color: var(--gold-hi); background: #17130f; border: 1px solid var(--gold-lo); position: relative; z-index: 1; }
.ch-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ch-main b { font: 600 17.5px/1.25 var(--serif); color: var(--ink); }
.ch-sum { font-size: 14px; line-height: 1.62; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: keep-all; overflow-wrap: anywhere; }
.ch-q { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: var(--gold); padding-top: 3px; }
.ch-q svg { width: 14px; height: 14px; }
.ch-acts { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 12px 14px 58px; }   /* 펼치지 않아도 Talk 버튼이 보인다 (2026-10-14 사용자) */
.ch.open { background: linear-gradient(180deg, rgba(217, 189, 138, .1), rgba(217, 189, 138, .04)); border-color: var(--line2); }
.ch.open .ch-n { background: var(--gold); color: #1b1408; border-color: var(--gold); }
.ch.open .ch-sum { -webkit-line-clamp: unset; display: block; color: var(--ink); }
.ch:not(.open) .ch-acts .btn { min-height: 34px; padding: 6px 13px; font-size: 13px; }
.ch-acts .btn { min-height: 40px; padding: 8px 16px; font-size: 13.5px; }
.whole { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 16px 18px 0; padding: 13px; border-radius: 12px; border: 1px dashed var(--line2); color: var(--ink2); font-size: 13.5px; }
.whole svg { width: 16px; height: 16px; }
.curtain { margin: 22px 16px; padding: 34px 22px; border-radius: 20px; text-align: center; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: radial-gradient(80% 60% at 50% -10%, rgba(241, 223, 182, .16), transparent 70%), linear-gradient(90deg, rgba(125, 24, 32, .4), transparent 18%, transparent 82%, rgba(125, 24, 32, .4)), var(--panel); }
.curtain b { font: 600 21px/1.2 var(--serif); }
.curtain p { color: var(--ink2); font-size: 14px; max-width: 36ch; }
.curtain .btn { margin-top: 6px; }
.lamp { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; color: var(--gold-hi); border: 1px solid var(--gold-lo); background: radial-gradient(circle at 50% 20%, rgba(241, 223, 182, .3), transparent 70%); }
.reel { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--gold-lo); border-top-color: var(--gold-hi); border-right-color: transparent; animation: spin 1.1s linear infinite; position: relative; }
.reel::after { content: ''; position: absolute; inset: 12px; border-radius: 50%; border: 2px dotted var(--gold-lo); }
.about { padding: 18px 18px 0; }
.about h3, .guide h3 { font: 600 18px var(--serif); margin: 26px 0 12px; }
.about-card { display: flex; gap: 14px; align-items: flex-start; }
.about-card > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.about-card b { font: 600 20px/1.2 var(--serif); }
.about-card b .ko, .ko { font: 500 .78em var(--sans); color: var(--muted); margin-left: 4px; }
.about-card span { font-size: 13px; color: var(--muted); }
.about-card p { margin-top: 6px; font: 500 14.5px/1.6 var(--kserif); color: var(--ink2); word-break: keep-all; }
.guests { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.guest { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.guest b { font: 600 16px var(--serif); margin-top: 8px; }
.guest .role { font-size: 12px; color: var(--gold); }
.guest .blurb { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.note { font-size: 12.5px; line-height: 1.65; color: var(--muted); margin-top: 12px; }
.note a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

/* ── Ask the Room ── */
.composer { padding: 10px 16px 30px; display: flex; flex-direction: column; gap: 16px; }
.picked { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line2); }
.picked > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.picked b { font: 600 17px/1.2 var(--serif); }
.picked span { font-size: 12.5px; color: var(--muted); }
.picked .picked-ch { color: var(--gold-hi); font-weight: 500; margin-top: 4px; font-size: 13px; }
.picked a { color: var(--gold); font-size: 13px; align-self: flex-end; }
.picked-sum { margin: -6px 2px 0; font-size: 13.5px; line-height: 1.62; color: var(--ink2); word-break: keep-all; padding-left: 12px; border-left: 2px solid var(--gold-lo); }
.fld { position: relative; display: flex; flex-direction: column; gap: 8px; }
.fld > span { font: 600 16px var(--serif); }
.fld > small { margin-top: -4px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.ref { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ref .btn { min-height: 42px; padding: 8px 14px; font-size: 13.5px; flex: none; cursor: pointer; }
.ref .btn svg { width: 16px; height: 16px; }
.ref input[type=url] { flex: 1; min-width: 160px; height: 42px; padding: 0 13px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line2); outline: 0; font-size: 16px; color: var(--ink); }
.ref input[type=url]:focus { border-color: var(--gold); }
.ref-prev { position: relative; align-self: flex-start; border-radius: 12px; overflow: hidden; border: 1px solid var(--line2); }
.ref-prev img { display: block; max-width: 180px; max-height: 140px; }
.ref-prev button { position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(10, 8, 7, .78); color: var(--ink); }
.ref-prev button svg { width: 13px; height: 13px; }
.fld > span em { font: 400 12.5px var(--sans); font-style: normal; color: var(--muted); }
textarea, .gate-card input { width: 100%; padding: 13px 14px; border-radius: 13px; background: var(--panel2); border: 1px solid var(--line2); outline: 0; font-size: 16px; line-height: 1.55; resize: none; color: var(--ink); }
textarea:focus, .gate-card input:focus { border-color: var(--gold); outline: 0; }
textarea { word-break: keep-all; overflow-wrap: anywhere; }
textarea::placeholder, input::placeholder { color: #7a7063; }
#aqText { font-family: var(--kserif); font-size: 17px; padding-bottom: 28px; }
.count { position: absolute; right: 12px; bottom: 9px; font: 400 11.5px var(--sans); font-style: normal; color: var(--muted); }
.opts { display: flex; gap: 10px; flex-wrap: wrap; }
.opt { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 12px; border: 1px solid var(--line2); font-size: 13px; color: var(--ink2); }
.opt svg { width: 17px; height: 17px; color: var(--gold); }
.opt input:not([type=checkbox]) { width: 76px; background: none; border: 0; outline: 0; font-size: 16px; color: var(--ink); }
.opt.check input, .keep input { accent-color: var(--gold); width: 17px; height: 17px; margin: 0; }
.err { color: #f0a3a6; font-size: 13.5px; }
.warn { color: #f0c38a; font-size: 13.5px; }
.tiny { font-size: 12px; line-height: 1.55; color: var(--muted); text-align: center; }
.muted { color: var(--ink2); font-size: 14px; }
.quiet { padding: 4px 18px 0; color: var(--muted); font-size: 13.5px; }

/* ── 질문 하나 ── */
.scene { position: relative; background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.scene img { width: 100%; height: 100%; object-fit: cover; display: block; animation: fade .6s ease both; }
.scene figcaption { position: absolute; left: 10px; bottom: 9px; display: inline-flex; align-items: center; gap: 5px; max-width: calc(100% - 20px); padding: 5px 9px; border-radius: 999px; font-size: 10.5px; line-height: 1.3; color: var(--ink2); background: rgba(10, 8, 7, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.scene figcaption svg { width: 12px; height: 12px; color: var(--gold); }
.scene.wait { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: radial-gradient(70% 90% at 50% 0, rgba(241, 223, 182, .12), transparent 70%), #100d0b; }
.scene.wait figcaption { position: static; background: none; font-size: 13px; }
.qhead { padding: 18px 18px 0; }
.part { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin-bottom: 10px; padding: 0 0 0 10px; border-left: 2px solid var(--gold); color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .01em; text-align: left; }
.part span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.part svg { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .2s ease; }
.part[aria-expanded="true"] svg { transform: rotate(-90deg); }
.part.plain { color: var(--muted); border-color: var(--line2); font-weight: 500; }
.part-sum { margin: -2px 0 14px; padding: 11px 13px; border-radius: 11px; background: rgba(217, 189, 138, .07); border: 1px solid var(--line); font-size: 13.5px; line-height: 1.65; color: var(--ink2); word-break: keep-all; overflow-wrap: anywhere; }
.scene.own { aspect-ratio: auto; max-height: 70vh; }
.scene.own img { height: auto; max-height: 70vh; object-fit: contain; }
.scene.own figcaption { font-size: 10.5px; }
.qlink { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 10px 12px; border-radius: 11px; border: 1px solid var(--line2); color: var(--gold); font-size: 13px; }
.qlink svg { width: 15px; height: 15px; transform: rotate(45deg); }
.qlink span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qtext { font: 600 22px/1.42 var(--kserif); letter-spacing: -.01em; word-break: keep-all; overflow-wrap: anywhere; }
.qdetails { margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: var(--ink2); white-space: pre-wrap; word-break: keep-all; overflow-wrap: anywhere; padding-left: 12px; border-left: 2px solid var(--line2); }
.qmeta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.qmeta .nick { color: var(--ink2); }
.qmeta .t { display: inline-flex; align-items: center; gap: 3px; }
.qmeta .t svg { width: 13px; height: 13px; }
.qacts { display: flex; align-items: center; gap: 18px; margin-top: 14px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.act { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--ink2); font-size: 13.5px; }
.act svg { width: 20px; height: 20px; }
.act.right { margin-left: auto; color: var(--gold); font-size: 13px; }
.act.right { min-width: 0; max-width: 55%; }
.film-link { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.act.right svg { flex: none; width: 14px; height: 14px; }
.like.on { color: var(--red-hi); }
.like.on svg { fill: var(--red-hi); }
/* 한 스레드: Guests 의 말과 사람의 댓글이 한 카드 안에 같은 모양으로 이어진다 (차이는 프로필의 AI 표시뿐) */
.talk { margin: 0 14px; border-radius: 16px; background: linear-gradient(180deg, #19150f, var(--panel)); border: 1px solid var(--line2); overflow: hidden; }
.talk .cms { padding: 0; }
.ans, .cm.ans { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-bottom: 0; animation: rise .45s ease both; }
.ans + .ans, #cms > .cm { border-top: 1px solid var(--line); }
.ans-body { flex: 1; min-width: 0; }
.ans header { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 3px; }
.ans header b { font: 600 15.5px/1.2 var(--serif); }
.ans header span { font-size: 12px; color: var(--gold); }
.ans header .when { color: var(--muted); }
.ans p { font-size: 15px; line-height: 1.68; white-space: pre-wrap; word-break: keep-all; overflow-wrap: anywhere; }
.ans .cm-acts { margin-top: 6px; }
.reply-btn { margin-top: 6px; min-height: 28px; font-size: 12.5px; color: var(--muted); }
.reply-btn svg { width: 15px; height: 15px; }
.cms.sub { padding: 0; margin-top: 2px; }
.cms.sub:empty { display: none; }
.cms.sub .cm.ans { padding: 12px 0 4px; border-top: 1px solid var(--line); gap: 10px; animation: none; }
.cms.sub .cm .uav { width: 30px !important; height: 30px !important; }
.replyform { margin: 8px 0 0; }
.lbl { display: block; font: 600 10px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.sec > .note { padding: 0 18px; margin-top: 4px; }
.care { margin: 0 14px; padding: 18px 18px 16px; border-radius: 16px; background: rgba(217, 189, 138, .08); border: 1px solid var(--gold-lo); }
.care p { font-size: 15px; line-height: 1.7; color: var(--ink); }
.care span { display: block; margin-top: 10px; font-size: 12px; color: var(--muted); }
.ans .care { margin: 10px 0 0; padding: 12px 14px; }
.ans .care p { font-size: 14px; }
.seats { margin: 0 14px; padding: 28px 20px; border-radius: 16px; text-align: center; background: var(--panel); border: 1px dashed var(--line2); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.seats b { font: 600 18px var(--serif); }
.seats p { color: var(--ink2); font-size: 13.5px; }
.cms { padding: 0 16px; }
.cm { display: flex; gap: 11px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cm-body { flex: 1; min-width: 0; }
.cm-top { display: flex; align-items: baseline; gap: 8px; }
.cm-top b { font-size: 13.5px; font-weight: 600; }
.cm-top span { font-size: 11.5px; color: var(--muted); }
.cm-body p { margin-top: 3px; font-size: 14.5px; line-height: 1.65; white-space: pre-wrap; word-break: keep-all; overflow-wrap: anywhere; }
.cm-acts { display: flex; gap: 16px; margin-top: 5px; color: var(--muted); }
.cm-acts .act { font-size: 12.5px; color: var(--muted); min-height: 28px; }
.cm-acts .act svg { width: 16px; height: 16px; }
.cm-acts .like.on { color: var(--red-hi); }
.cmform { display: flex; align-items: flex-end; gap: 8px; margin: 14px 14px 0; padding: 6px 6px 6px 4px; border-radius: 22px; background: var(--panel2); border: 1px solid var(--line2); }
.cmform textarea { border: 0; background: none; padding: 8px 10px; min-height: 40px; }
.cmform .pick { width: 38px; height: 38px; color: var(--muted); cursor: pointer; }
.cmform .pick svg { width: 20px; height: 20px; }
.cmform .pick.on { color: var(--gold); }
.cm-img { display: block; max-width: 100%; max-height: 300px; margin-top: 8px; border-radius: 12px; border: 1px solid var(--line2); }
.cm-prev { position: relative; display: inline-block; margin: 12px 14px 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line2); }
.ans-body > .cm-prev { margin: 10px 0 0; }
.cm-prev img { display: block; max-width: 140px; max-height: 110px; }
.cm-prev button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(10, 8, 7, .78); color: var(--ink); }
.cm-prev button svg { width: 12px; height: 12px; }
.icon-btn.send { background: var(--gold); color: #1b1408; }
.icon-btn.send svg { width: 18px; height: 18px; }

/* ── Q&A 피드 · Activity · Profile ── */
.seg { display: flex; gap: 6px; margin: 2px 14px 14px; padding: 4px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); }
.seg a { flex: 1; text-align: center; padding: 9px; border-radius: 999px; font-size: 13.5px; color: var(--muted); }
.seg a.on { background: var(--gold); color: #1b1408; font-weight: 600; }
.more { display: flex; margin: 16px auto 0; }
.notes, .mycms { padding: 0 14px; display: flex; flex-direction: column; gap: 8px; }
.notes a { display: flex; gap: 12px; padding: 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.notes .fresh a { border-color: var(--gold-lo); background: linear-gradient(180deg, rgba(217, 189, 138, .1), var(--panel)); }
.notes a > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.notes b { font-size: 13.5px; font-weight: 600; }
.n-text { font-size: 13.5px; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: keep-all; }
.n-at { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); }
.n-at svg { width: 12px; height: 12px; }
.mycms a { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.mycms .on-q { font-size: 12px; color: var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mycms p { font-size: 14.5px; line-height: 1.6; word-break: keep-all; }
.pcard { display: flex; align-items: center; gap: 16px; margin: 6px 14px 0; padding: 20px; border-radius: 18px; border: 1px solid var(--line2); background: radial-gradient(90% 90% at 0 0, rgba(241, 223, 182, .14), transparent 70%), var(--panel); }
.pcard div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pcard b { font: 600 21px var(--serif); overflow-wrap: anywhere; }
.pcard span { font-size: 12.5px; color: var(--gold); }
.links { margin: 26px 14px 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 16px; font-size: 14.5px; color: var(--ink); text-align: left; border-bottom: 1px solid var(--line); }
.link:last-child { border-bottom: 0; }
.link svg { width: 16px; height: 16px; color: var(--muted); }
.link.danger { color: #f0a3a6; }
.guide { padding: 14px 18px 0; }
.guide .slogan { margin: 6px 0 22px; }
.steps { display: flex; flex-direction: column; gap: 16px; }
.steps li { display: flex; gap: 14px; }
.steps b { font: 600 17px var(--serif); }
.steps p { font-size: 14px; color: var(--ink2); margin-top: 2px; }

/* ── 빈 화면 · 기다림 ── */
.empty { margin: 30px 18px 0; padding: 30px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty b { font: 600 20px var(--serif); }
.empty p { color: var(--ink2); font-size: 14px; max-width: 34ch; }
.empty .btn { margin-top: 8px; }
.loading { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 44px 0; color: var(--muted); font-size: 13.5px; }
.spinner { display: inline-block; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line2); border-top-color: var(--gold); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

/* ── 입장 암호 · 연령 · 시트 ── */
.dw-gate { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 22px;
  background: radial-gradient(70% 50% at 50% -5%, rgba(241, 223, 182, .2), transparent 70%), linear-gradient(90deg, #2a0a0e 0, #4a1016 4%, #1a0608 12%, #0a0807 24%, #0a0807 76%, #1a0608 88%, #4a1016 96%, #2a0a0e 100%), var(--bg); }
.gate-card { width: min(380px, 100%); display: flex; flex-direction: column; gap: 14px; text-align: center; padding: 30px 24px; border-radius: 22px; background: rgba(16, 13, 11, .92); border: 1px solid var(--line2); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.gate-card .logo { font-size: 32px; margin-bottom: 4px; }
.gate-card p { color: var(--ink2); font-size: 14.5px; }
.gate-card p b { color: var(--ink); }
.gate-card input { text-align: center; }
.overlay, .modal { position: fixed; inset: 0; z-index: 150; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, .66); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fade .2s ease both; }
.sheet { position: relative; width: min(540px, 100%); max-height: 92dvh; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 26px 22px calc(24px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; background: var(--panel2); border: 1px solid var(--line2); border-bottom: 0; animation: fadeUp .28s ease both; }
.sheet h2 { font: 600 23px/1.2 var(--serif); padding-right: 30px; }
.sheet-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; font-size: 24px; line-height: 1; color: var(--muted); }
.menu-sheet { gap: 10px; }
.gbtn { min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.keep { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13.5px; color: var(--ink2); }
.pf-card { display: flex; flex-direction: column; align-items: center; gap: 12px; min-height: 150px; justify-content: center; padding: 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.pf-card b { font: 600 21px var(--serif); }
.fb-stars { display: flex; justify-content: center; gap: 6px; }
.fb-stars button { font-size: 30px; color: #4a4238; }
.fb-stars button.on { color: var(--gold); }
.toast { position: fixed; z-index: 300; left: 50%; bottom: calc(var(--tabs) + 18px + env(safe-area-inset-bottom)); transform: translate(-50%, 16px); max-width: min(440px, calc(100% - 32px)); padding: 11px 17px; border-radius: 14px; background: #2b241c; border: 1px solid var(--line2); color: var(--ink); font-size: 13.5px; text-align: center; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── 앱 설치 팝업 (install.js, 시리즈 공통) ── */
.dwi { position: fixed; left: 0; right: 0; bottom: 0; z-index: 140; display: flex; justify-content: center; padding: 0 12px calc(var(--tabs) + 12px + env(safe-area-inset-bottom)); pointer-events: none; animation: fadeUp .4s ease both; }
body[data-view="ask"] .dwi, body[data-view="watch"] .dwi { display: none; }
.dwi-card { pointer-events: auto; width: min(440px, 100%); background: var(--panel2); color: var(--ink); border: 1px solid var(--line2); border-radius: 18px; padding: 16px 16px 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); display: flex; flex-direction: column; gap: 12px; }
.dwi-head { display: flex; gap: 12px; align-items: flex-start; }
.dwi-head img { width: 48px; height: 48px; border-radius: 12px; flex: none; }
.dwi-head b { display: block; font-weight: 700; font-size: 16px; }
.dwi-head p { margin: 3px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink2); }
.dwi-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.dwi-btn { padding: 9px 14px; border-radius: 999px; font-size: 13px; }
.dwi-main { background: var(--gold); color: #1b1408; font-weight: 650; }
.dwi-ghost { border: 1px solid var(--line2); color: var(--ink2); }
.dwi-more { font-size: 13.5px; color: var(--ink); }
.dwi-steps { margin: 0; padding-left: 20px; line-height: 1.9; list-style: decimal; }
.dwi-ico { display: inline-flex; vertical-align: -4px; padding: 2px 4px; border-radius: 6px; background: var(--bg); color: var(--gold); }
.dwi-guide { margin: 0 0 8px; line-height: 1.6; }

@media (min-width: 560px) {
  .house { display: block; }
  .hero h2 { font-size: 36px; }
  .guests { grid-template-columns: repeat(4, 1fr); }
  .about .guests, .guide .guests { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* 영화의 Talk 탭: 맨 위의 새 Talk · About 의 기본 정보 (2026-10-14) */
.newtalk { margin: 14px 14px 16px; padding: 16px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); text-align: center; }
.newtalk .btn { width: 100%; justify-content: center; }
.newtalk p { margin-top: 10px; font-size: 13px; color: var(--muted); }
.quiet.center { text-align: center; padding: 18px; }
.spinner.sm { width: 16px; height: 16px; border-width: 2px; }
.facts { margin: 14px 0 4px; border-top: 1px solid var(--line); }
.facts div { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { flex: none; width: 96px; color: var(--muted); }
.facts dd { color: var(--ink); }
.fld select { width: 100%; height: 46px; padding: 0 12px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line2); color: var(--ink); font: inherit; font-size: 15px; }
.tnote.idle { opacity: .55; }
/* 쓰는 화면의 장 고르기 */
.chpick-now { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line2); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.chpick-now b { flex: 1; min-width: 0; font-weight: 600; font-size: 14.5px; }
.chpick-now i { font-style: normal; font-size: 12.5px; color: var(--gold-hi); }
.chpick-now svg { width: 16px; height: 16px; transform: rotate(90deg); color: var(--muted); }
.chpick-now[aria-expanded="true"] svg { transform: rotate(-90deg); }
.chpick { list-style: none; margin-top: 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.chpick li + li { border-top: 1px solid var(--line); }
.chpick-row { display: flex; align-items: stretch; }
.chpick-row [data-pick] { flex: 1; display: flex; gap: 10px; align-items: center; padding: 12px 14px; background: none; border: 0; color: var(--ink2); font: inherit; font-size: 14.5px; text-align: left; cursor: pointer; }
.chpick-row .ch-n { flex: none; font-size: 12px; color: var(--muted); }
.chpick li.on [data-pick] { color: var(--gold-hi); font-weight: 600; }
.chpick-more { flex: none; width: 46px; background: none; border: 0; color: var(--muted); cursor: pointer; }
.chpick-more svg { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .2s; }
.chpick-more[aria-expanded="true"] svg { transform: rotate(-90deg); }
.chpick-sum { padding: 0 16px 12px 40px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.facts dd .role { color: var(--muted); }
/* Story Map: 접혀 있다는 표시 */
.ch-head { position: relative; }
.ch-fold { flex: none; align-self: center; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line2); color: var(--ink2); }
.ch-fold svg { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .2s; }
.ch.open .ch-fold svg { transform: rotate(-90deg); color: var(--gold-hi); }
.ost-now { cursor: default; }
/* OST 탭 */
.ost-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 16px 8px; font-size: 13px; color: var(--muted); }
.auto { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line2); background: none; color: var(--ink2); font: inherit; font-size: 12.5px; cursor: pointer; }
.auto i { position: relative; width: 28px; height: 16px; border-radius: 999px; background: var(--line2); transition: background .2s; }
.auto i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink2); transition: transform .2s; }
.auto.on i { background: var(--gold); }
.auto.on i::after { transform: translateX(12px); background: #1b1408; }
.ostlist { list-style: none; margin: 0 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.ostlist li + li { border-top: 1px solid var(--line); }
.ostlist button { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 13px 14px; background: none; border: 0; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.ostlist button.on { background: rgba(217, 189, 138, .08); }
.ostlist button.on b { color: var(--gold-hi); }
.ost-n { flex: none; width: 20px; padding-top: 1px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ost-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ost-main b { font-size: 14.5px; font-weight: 600; }
.ost-artist { font-size: 12.5px; color: var(--muted); }
.ost-spoil { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--panel2); border: 1px dashed var(--line2); color: var(--muted); font-weight: 500; font-size: 12.5px; }
.ost-play { flex: none; align-self: center; color: var(--muted); }
.ost-play svg { width: 16px; height: 16px; }
/* 프로필 정하기: 직접 이름 · 내 사진 (선택) */
.pf-own { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.pf-own input { width: 100%; height: 44px; padding: 0 12px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line2); color: var(--ink); font: inherit; font-size: 16px; }
.pf-photo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.link-btn { background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.pf-final { margin: 6px 0 2px; font-size: 13px; font-weight: 600; color: var(--gold-hi); text-align: center; }
.uav.photo { box-shadow: 0 0 0 1.5px var(--line2); }
.uav.gone { display: inline-flex; align-items: flex-end; justify-content: center; background: #4a4744; box-shadow: 0 0 0 1.5px var(--line2); }
.uav.gone svg { width: 82%; height: 82%; fill: #8e8a85; stroke: none; }
/* ── 단편 (2026-10-20) ── */
.hscroll.shorts .scard { width: 210px; }
.scard { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sthumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--panel2); border: 1px solid var(--line); }
.sthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sthumb i { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 6px; background: rgba(0, 0, 0, .75); font: 600 11px var(--sans); font-style: normal; color: #fff; }
.scard b { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.smeta { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px 12px; padding: 12px 16px; }
.find-add { display: flex; justify-content: center; padding: 18px 16px 30px; }
.field { width: 100%; padding: 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line2); color: var(--ink); font: inherit; font-size: 16px; resize: vertical; }
.wwait { display: flex; flex-direction: column; gap: 14px; padding: 16px; }
.wwait img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; opacity: .5; }

/* Watch: 플레이어는 위에 고정, 아래 칸만 스크롤 */
body[data-view="watch"] #app { display: flex; flex-direction: column; height: 100dvh; overflow: hidden; }
body[data-view="watch"] #app > .bar { flex: none; }
.watch { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.wplayer { flex: none; background: #000; }
.wplayer .tv { position: relative; aspect-ratio: 16 / 9; min-height: 200px; max-height: 56dvh; margin: 0 auto; }
.wplayer .tv iframe, .wplayer .tv > div { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wbar { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-bottom: 1px solid var(--line); }
.wclock { flex: none; white-space: nowrap; font: 500 12.5px var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.wmodes { flex: none; display: inline-flex; margin-left: auto; padding: 2px; border-radius: 999px; border: 1px solid var(--line2); }
.wmodes button { padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 500; white-space: nowrap; color: var(--muted); }
.wmodes button.on { background: var(--panel3); color: var(--gold-hi); font-weight: 600; }

.btn.wdisc { flex: none; white-space: nowrap; min-height: 34px; padding: 0 13px; font-size: 13px; gap: 6px; }
.btn.wdisc svg { width: 16px; height: 16px; }
.wtabs { flex: none; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding: 0 8px; border-bottom: 1px solid var(--line); }
.wtabs::-webkit-scrollbar { display: none; }
.wtabs a { flex: none; padding: 11px 10px 10px; font-size: 13.5px; color: var(--muted); border-bottom: 2px solid transparent; }
.wtabs a.on { color: var(--ink); border-bottom-color: var(--gold); font-weight: 600; }
.wpanel { flex: 1; min-height: 0; overflow-y: auto; padding: 6px 0 14px; overscroll-behavior: contain; }
.wfeed { list-style: none; margin: 0; padding: 0 12px; display: flex; flex-direction: column; gap: 4px; }
.wi { display: flex; gap: 11px; padding: 10px 8px; border-radius: 14px; transition: background .3s; }
.wi > div { min-width: 0; flex: 1; }
.wi b { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; }
.wi p { margin: 3px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink2); }
.wi.maya { background: var(--panel); border: 1px solid var(--line); }
.wi.maya p { color: var(--ink); }
.wi.now { background: rgba(217, 189, 138, .1); }
.wi.dim { opacity: .5; }
.wi .ai { font: 600 9.5px var(--sans); padding: 2px 5px; border-radius: 5px; background: var(--panel3); color: var(--gold); }
.wi .care { color: var(--gold-hi); }
.tchip { font: 500 11.5px var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line); }
.tchip:hover { color: var(--gold); border-color: var(--gold-lo); }
.locked { font-size: 13px; color: var(--muted); }
.locked::before { content: '🔒 '; }
.wempty { padding: 18px; text-align: center; font-size: 13.5px; color: var(--muted); }
.wlog { margin: 8px 16px 12px; font: 500 15px/1.5 var(--kserif); color: var(--ink); }
.wseg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 14px 12px; }
.wseg button { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); text-align: left; font-size: 13.5px; font-weight: 600; }
.wseg button span { font-size: 11.5px; font-weight: 400; color: var(--muted); line-height: 1.35; }
.wseg button.on { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold-lo); }
.ktl { position: relative; height: 4px; margin: 18px 22px 18px; border-radius: 2px; background: var(--line2); }
.ktl i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--gold-lo); }
.ktl b { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--panel3); border: 1.5px solid var(--line2); }
.ktl b.on { background: var(--gold); border-color: var(--gold); }
.kscenes { list-style: none; margin: 0; padding: 0 14px; display: flex; flex-direction: column; gap: 8px; }
.kscenes button, .kscenes li > div { display: grid; grid-template-columns: 46px 1fr; gap: 2px 10px; width: 100%; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); text-align: left; }
.kscenes i { grid-row: span 2; font: 600 12.5px var(--sans); font-style: normal; color: var(--gold); font-variant-numeric: tabular-nums; padding-top: 1px; }
.kscenes b { font-size: 14.5px; font-weight: 600; }
.kscenes span { font-size: 13.5px; color: var(--ink2); line-height: 1.5; }
.kscenes li.dim { opacity: .55; }
.wsec { margin: 8px 0 16px; }
.wsec h3 { margin: 0 16px 10px; font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.wpanelist { display: flex; gap: 10px; padding: 0 14px; overflow-x: auto; }
.wg { flex: 1; min-width: 96px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); text-align: center; }
.wg b { font-size: 13.5px; }
.wg i { font-style: normal; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.wtopics { list-style: none; margin: 0; padding: 0 14px; display: flex; flex-direction: column; gap: 8px; }
.wtopics button { display: flex; flex-direction: column; gap: 3px; width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); text-align: left; }
.wtopics b { font-size: 14.5px; font-weight: 600; }
.wtopics b::before { content: '• '; color: var(--gold); }
.wtopics span { font-size: 13px; color: var(--muted); }
.wabout { display: flex; flex-direction: column; gap: 12px; padding: 8px 16px; }
.wabout img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
.wabout h2 { margin: 0 0 6px; font: 500 24px/1.2 var(--serif); }
.wabout p { margin: 0 0 10px; }
.wabout a { color: var(--gold); text-decoration: underline; }
.wabout + .note { margin: 4px 16px; }
.wsay { flex: none; display: flex; gap: 8px; align-items: center; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }
.wsay[hidden] { display: none; }
.wsay input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line2); color: var(--ink); font: inherit; font-size: 16px; }
.overlay .wi.maya { margin: 0; }
/* 집중(가로) 감상: 가로로 돌리면 플레이어만 꽉 차게 — 해설과 UI 는 숨긴다 */
@media (orientation: landscape) and (max-height: 520px) {
  body[data-view="watch"] #app > .bar, body[data-view="watch"] .wbar, body[data-view="watch"] .wtabs, body[data-view="watch"] .wpanel, body[data-view="watch"] .wsay { display: none !important; }
  body[data-view="watch"] .wplayer { flex: 1; display: flex; }
  body[data-view="watch"] .shell { width: 100%; }
  body[data-view="watch"] .wplayer .tv { flex: 1; aspect-ratio: auto; max-height: none; height: 100dvh; }
}
body.focus .wbar, body.focus .wtabs, body.focus .wpanel, body.focus .wsay { display: none !important; }
body.focus .wplayer { flex: 1; display: flex; }
body.focus .shell { width: 100%; }
body.focus .wplayer .tv { flex: 1; aspect-ratio: auto; max-height: none; }
/* Maya 의 해설 박스 (Theo 의 트레일러 해설과 같은 꼴): 플레이어 바로 아래, 크기 고정 — 누르면 지금까지의 노트가 펼쳐진다 */
.mbox { flex: none; padding-bottom: 8px; }
.mbox .tnote { margin-top: 10px; }
.mbox .tn-body { flex: 1; }
.mbox .tn-body b { display: flex; align-items: center; }
.mfold { margin-left: 8px; color: var(--muted); }
.wclock { margin-right: auto; }
.mbox .tnote.idle { opacity: 1; }
.mbox .tnote > * { transition: opacity .45s ease; }
.mbox .tnote.idle > * { opacity: 0; }   /* 해설이 없을 때는 사진 · 이름까지 완전히 사라진다 — 박스 자리는 그대로 (2026-10-20 사용자) */
.mfold svg { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .2s; }
.tnote.open .mfold svg { transform: rotate(-90deg); color: var(--gold-hi); }
#mText { font-size: 15px; line-height: 1.45; height: 66px; overflow: hidden; }
#mText.in { animation: fadeUp .35s ease both; }
.mbox .tnotes { max-height: 34dvh; overflow-y: auto; }
.mlist-empty { padding: 10px 14px; font-size: 13.5px; color: var(--muted); }
@media (orientation: landscape) and (max-height: 520px) { body[data-view="watch"] .mbox { display: none !important; } }
body.focus .mbox { display: none !important; }
.wpin { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 11px 0 8px; border-radius: 999px; border: 1px dashed var(--gold-lo); color: var(--gold); font-size: 12.5px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wpin svg { width: 16px; height: 16px; }
.wpin.on { border-style: solid; border-color: var(--gold); background: rgba(217, 189, 138, .16); color: var(--gold-hi); }
.wpin.pop { animation: wpop .35s ease; }
@keyframes wpop { 50% { transform: scale(1.12); } }
.wshow { flex: none; display: inline-flex; gap: 6px; margin-right: auto; }
.wshow button { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px 5px 9px; border-radius: 999px; border: 1px solid var(--line2); font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.wshow button::before { content: ''; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.wshow button.on { color: var(--gold-hi); border-color: var(--gold-lo); background: rgba(217, 189, 138, .1); }
.wshow button.on::before { background: var(--gold); border-color: var(--gold); }
.wlive .wi.new { animation: fadeUp .35s ease both; }
.wempty.quiet { opacity: .7; }
/* 관객 댓글 띠 — Maya 박스 아래, 높이 고정(두 줄) */
.cbox { flex: none; padding: 0 14px 6px; }
.cstrip { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px; height: 64px; padding: 6px 12px; border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px dashed var(--line); cursor: pointer; overflow: hidden; }
.cstrip.open { border-style: solid; border-color: var(--line2); }
.crow { display: flex; align-items: center; gap: 8px; min-width: 0; padding-right: 34px; font-size: 13.5px; line-height: 1.3; }
.crow.new { animation: fadeUp .35s ease both; }
.crow b { flex: none; font-size: 12.5px; font-weight: 600; color: var(--ink2); }
.crow > span:last-child { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.cmore { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); padding: 2px 7px; border-radius: 999px; background: var(--panel3); color: var(--gold); font: 600 11.5px var(--sans); font-style: normal; }
.cquiet { font-size: 12.5px; color: var(--muted); text-align: center; }
.clist { list-style: none; margin: 6px 0 0; padding: 4px 6px; max-height: 30dvh; overflow-y: auto; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.clist .wi { padding: 8px 6px; }
@media (orientation: landscape) and (max-height: 520px) { body[data-view="watch"] .cbox { display: none !important; } }
body.focus .cbox { display: none !important; }
.tcomp { flex: none; display: flex; flex-direction: column; gap: 8px; padding: 10px 14px 4px; border-bottom: 1px solid var(--line); }
.tcomp textarea { width: 100%; padding: 10px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line2); color: var(--ink); font: inherit; font-size: 16px; resize: none; }
.tcomp-row { display: flex; align-items: center; gap: 6px; }
.tcomp-row .btn { margin-left: auto; min-height: 36px; padding: 0 16px; font-size: 13.5px; }
.tpin-x { display: inline-flex; color: var(--muted); }
.tpin-x svg { width: 16px; height: 16px; }
.tcomp .note { margin: 0; font-size: 11.5px; }
.part-found { margin: -4px 0 10px 12px; font-size: 11.5px; color: var(--muted); }
.talkhere { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(217, 189, 138, .14); border: 1px solid var(--gold-lo); color: var(--gold-hi); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.talkhere svg { width: 15px; height: 15px; }
.talkhere.pop { animation: wpop .4s ease; }
/* 감상 화면 정리 (2026-10-20): 진행 바 · Maya 스위치 · About 표 · 다 본 뒤의 Talk */
.wprog { flex: none; padding: 9px 14px 5px; cursor: pointer; touch-action: manipulation; }
.wprog-track { position: relative; height: 4px; border-radius: 2px; background: var(--line2); }
.wprog-track > i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 2px; background: var(--gold); }
.wprog-track b { position: absolute; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 1.5px var(--bg); }
.mswitch { flex: none; display: inline-flex; align-items: center; gap: 8px; margin-right: auto; padding: 4px 6px 4px 4px; border-radius: 999px; border: 1px solid var(--line2); font-size: 12.5px; color: var(--muted); }
.mswitch .gav i { display: none; }
.mswitch > i { position: relative; width: 30px; height: 18px; border-radius: 999px; background: var(--line2); transition: background .2s; }
.mswitch > i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink2); transition: transform .2s; }
.mswitch.on { color: var(--gold-hi); border-color: var(--gold-lo); }
.mswitch.on > i { background: var(--gold); }
.mswitch.on > i::after { transform: translateX(12px); background: #1b1408; }
.mswitch:not(.on) .gav { filter: grayscale(1); opacity: .5; }
.alist { margin: 6px 0 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.arow { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.arow dt { color: var(--muted); font-size: 12.5px; padding-top: 1px; }
.arow dd { margin: 0; color: var(--ink); line-height: 1.55; }
.arow dd .muted { font-size: 13px; color: var(--muted); }
.wnote { margin: 4px 16px 10px; }
.wabout h2 { margin: 6px 0 6px; }
.thead { padding: 10px 14px 4px; }
.tstart { width: 100%; }
.tlock { margin: 14px; padding: 18px; border-radius: 16px; border: 1px dashed var(--line2); text-align: center; }
.tlock > b { display: block; font: 500 17px var(--serif); color: var(--ink); margin-bottom: 6px; }
.tlock p b { color: var(--gold-hi); font-weight: 600; }
.tlock p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.tsort { display: flex; align-items: center; justify-content: space-between; margin: 0 16px 10px; }
.tsort h3 { margin: 0 !important; }
.pills { display: inline-flex; padding: 2px; border-radius: 999px; border: 1px solid var(--line2); }
.pills button { padding: 4px 11px; border-radius: 999px; font-size: 12px; color: var(--muted); }
.pills button.on { background: var(--panel3); color: var(--gold-hi); font-weight: 600; }
.overlay .tcomp-row { display: flex; align-items: center; gap: 6px; }
@media (orientation: landscape) and (max-height: 520px) { body[data-view="watch"] .wprog { display: none !important; } }
body.focus .wprog { display: none !important; }
.qhost { margin: 6px 0 4px; font-size: 14.5px; line-height: 1.6; color: var(--ink2); }
/* 보는 동안(재생 중)에는 탭을 숨기고 Maya · 지금의 토크만 (2026-10-20 사용자) */
.nbox { flex: none; padding: 0 14px 6px; }
.nstrip { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px; height: 64px; padding: 6px 12px; border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); transition: opacity .4s; }
.nstrip.idle { opacity: .55; border-style: dashed; }
.nrow { display: flex; align-items: center; gap: 8px; min-width: 0; padding-right: 30px; font-size: 13.5px; animation: fadeUp .35s ease both; }
.nrow > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.nrow em { flex: none; display: inline-flex; align-items: center; gap: 3px; font-style: normal; font-size: 11.5px; color: var(--muted); }
.nrow em svg { width: 13px; height: 13px; }
.mswitch + .mswitch { margin-left: 0; }
.mswitch { margin-right: 0; }
#nSwitch { margin-right: auto; }
#nSwitch > svg { width: 18px; height: 18px; margin-left: 2px; }
#nSwitch:not(.on) > svg { opacity: .5; }
@media (orientation: landscape) and (max-height: 520px) { body[data-view="watch"] .nbox { display: none !important; } }
body.focus .nbox { display: none !important; }
.nrow .gav, .nrow .uav { flex: none; }
/* 재생 중: Maya 자리 · Talks 자리 (머리는 늘 보인다 — 거기가 그 자리임을). 멈추면 이 둘 대신 탭 (2026-10-20 사용자) */
.lsec { flex: none; display: flex; flex-direction: column; }
.lsec.grow { flex: 1; min-height: 0; }
.lhead { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 16px 0; }
.lhead > b { display: inline-flex; align-items: center; gap: 7px; font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.lhead > b svg { width: 16px; height: 16px; }
.lhead .gav i { display: none; }
.sw { position: relative; flex: none; width: 34px; height: 20px; border-radius: 999px; background: var(--line2); transition: background .2s; }
.sw i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink2); transition: transform .2s; }
.sw.on { background: var(--gold); }
.sw.on i { transform: translateX(14px); background: #1b1408; }
.lstart { margin-left: auto; flex: none; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--gold-lo); color: var(--gold-hi); font-size: 12.5px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lsec .mbox .tnote { margin-top: 8px; }
.nlist { flex: 1; min-height: 0; overflow-y: auto; list-style: none; margin: 0; padding: 8px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.nlist li.new { animation: fadeUp .35s ease both; }
.nlist .nrow { padding: 10px 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); animation: none; }
.nlist .nrow > span { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.4; }
.mswitch, .nbox { display: none !important; }
@media (orientation: landscape) and (max-height: 520px) { body[data-view="watch"] .lsec { display: none !important; } }
body.focus .lsec { display: none !important; }
/* Maya 박스: 글만, 두 줄 (2026-10-20 사용자 — 사진 · 이름 · 시각은 머리에) */
.lsec .mbox { padding-bottom: 2px; }
.mbox .tnote.mnote { display: block; margin: 6px 14px 0; padding: 9px 14px; cursor: default; }
.mnote .tn-body { min-height: 0; }
.mnote #mText { height: 42px; font-size: 14.5px; line-height: 1.45; }
.mfold-btn { display: inline-flex; color: var(--muted); }
.mfold-btn svg { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .2s; }
.mfold-btn.open svg { transform: rotate(-90deg); color: var(--gold-hi); }
/* 멈췄을 때 · 재생 전 (2026-10-20): 같은 세로 구역이 넓게 — 아래에 작은 링크 한 줄 */
.watch:not([data-mode="idle"]) .nlist.off { display: none; }
.lhead .pills { margin-left: 4px; }
.lhead .pills button { padding: 3px 9px; font-size: 11.5px; }
.nempty { padding: 14px 4px; font-size: 13px; color: var(--muted); }
.nrow em i { font-style: normal; margin-right: 6px; color: var(--gold); font-variant-numeric: tabular-nums; }
.lfoot { flex: none; display: flex; gap: 16px; padding: 8px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.lfoot:empty { display: none; }
.lfoot button { font-size: 13px; color: var(--ink2); }
.lfoot button:hover { color: var(--gold-hi); }
.wsheet .sheet { max-height: 86dvh; }
.wsheet .tsort { margin: 0 0 6px; gap: 8px; }
.wsheet .tsort h2 { margin: 0; font-size: 22px; }
.wsheet .tsort .lstart { margin-left: 0; }
.qlist.flush { padding: 0; }
.wsheet .kscenes { padding: 0; }
.lhead > b { white-space: nowrap; }
.wsheet .tsort { display: flex; align-items: center; flex-wrap: wrap; padding-right: 30px; }
.wsheet .tsort h2 { font-size: 20px; white-space: nowrap; margin-right: auto !important; }
/* 아래 줄: 눈에 띄는 버튼 세 개 (All talks · About · Key scenes) */
.lfoot { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 8px; padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line2); background: var(--panel); }
.lfoot button { display: flex; align-items: center; justify-content: center; gap: 7px; height: 44px; border-radius: 14px; border: 1px solid var(--gold-lo); background: rgba(217, 189, 138, .08); color: var(--gold-hi); font-size: 13.5px; font-weight: 600; }
.lfoot button svg { width: 18px; height: 18px; }
.lfoot button i { font-style: normal; margin-left: 2px; padding: 1px 6px; border-radius: 999px; background: var(--gold); color: #1b1408; font-size: 11px; }
.lfoot button:active { background: rgba(217, 189, 138, .18); }
/* 토크 한 줄 (All talks · 멈췄을 때) */
.tlist { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.nlist .trow { list-style: none; }
.trow { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.trow.new { animation: fadeUp .35s ease both; }
.trow:last-child { border-bottom: 0; }
.tjump { flex: none; box-sizing: border-box; width: 84px; align-self: flex-start; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 7px 9px; border-radius: 10px; background: rgba(217, 189, 138, .1); border: 1px solid var(--gold-lo); text-align: left; }
.tjump b { font: 600 13px var(--sans); color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.tjump i { font-style: normal; font-size: 11px; line-height: 1.3; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tjump.tfilm { background: transparent; border-style: dashed; border-color: var(--line2); }
.tjump.tfilm b { color: var(--ink2); }
.tbody { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ttext { font-size: 14.5px; line-height: 1.45; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tmeta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.tmeta > .tnick { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tmeta .uav, .tmeta .gav { flex: none; }
.tmeta em { display: inline-flex; align-items: center; gap: 3px; font-style: normal; }
.tmeta em svg { width: 13px; height: 13px; }
.tmeta .gav i { display: none; }
.nlist { gap: 0; }
.nlist .nrow { margin-bottom: 8px; }
/* 세로 타임라인 (All talks · 멈춤 · 재생 전) */
.tlwrap { list-style: none; }
.tline { list-style: none; margin: 4px 0 0; padding: 0; }
.tlrow { position: relative; display: grid; grid-template-columns: 40px 14px 1fr; column-gap: 8px; padding-top: calc(10px + var(--gap, 0px)); }
.tlrow.new { animation: fadeUp .35s ease both; }
.tlrow::before { content: ''; position: absolute; left: 54px; top: 0; bottom: 0; width: 1.5px; background: var(--line2); }
.tlrow:first-child::before { top: 18px; }
.tlrow:last-child::before { bottom: auto; height: calc(18px + var(--gap, 0px)); }
.tlrow.film::before { background: repeating-linear-gradient(var(--line2) 0 3px, transparent 3px 6px); }
.tltime { grid-column: 1; align-self: start; padding-top: 1px; text-align: right; font: 600 12.5px var(--sans); color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.tlrow.film .tltime { color: var(--muted); font-weight: 500; }
.tldot { grid-column: 2; position: relative; z-index: 1; justify-self: center; margin-top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px var(--panel2); }
.nlist .tldot { box-shadow: 0 0 0 3px var(--bg); }
.tlrow.film .tldot { background: transparent; border: 1.5px solid var(--muted); }
.tltime:hover + .tldot, .tlrow:has(.tltime:hover) .tldot { transform: scale(1.3); }
.tlrow .tbody { grid-column: 3; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.tlrow:last-child .tbody { border-bottom: 0; }
.tchip2 { flex: none; align-self: flex-start; margin-top: 1px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--gold-lo); color: var(--gold-hi); font: 600 12px var(--sans); font-variant-numeric: tabular-nums; }
.tchip2.film { color: var(--muted); border-style: dashed; border-color: var(--line2); font-weight: 500; }
.tlnow { position: relative; height: 12px; margin: 6px 0 -2px; list-style: none; }   /* 지금 위치: 캘린더처럼 점 + 가는 선 (2026-10-20 사용자 참고 그림) */
.tlnow::before { content: ''; position: absolute; left: 54px; top: -10px; bottom: -10px; width: 1.5px; background: var(--line2); }
.tlnow i { position: absolute; left: 50px; right: 0; top: 5px; height: 2px; background: #d6453a; }
.tlnow i::before { content: ''; position: absolute; left: -2px; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: #d6453a; }
