/* DearShow — 화사하고 화려한 파랑 (2026-10-09 사용자: "테마는 파란색, 화사하고 화려하게").
   밝은 하늘빛 바탕 · 쨍한 파랑 그라데이션 · 무대 조명과 색종이. 영상 무대(플레이어)만 검정 */
:root {
  --bg: #f2f6ff;
  --bg2: #e8f0ff;
  --card: #ffffff;
  --card2: #eaf1ff;
  --line: rgba(30, 70, 180, .10);
  --line2: rgba(30, 70, 180, .20);
  --ink: #0b1840;
  --ink2: #3b4c7a;
  --muted: #7684aa;
  --gold: #2f6bff;
  --gold2: #1f5af0;
  --goldSoft: rgba(47, 107, 255, .10);
  --sky: #18c2ff;
  --pink: #ff4fa3;
  --sun: #ffc83d;
  --red: #ff3b5c;
  --red2: #ff3b5c;
  --green: #12b886;
  --title: #0b1840;
  --grad: linear-gradient(135deg, #2f5bff 0%, #2f8cff 45%, #18c2ff 100%);
  --top: 60px;
  --tabs: 64px;
  --radius: 16px;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --marquee: 'Bebas Neue', 'Pretendard Variable', sans-serif;
  /* 나레이션(한국어)은 무성영화 자막 카드처럼 한글 명조 — 영문 이탤릭 세리프에는 한글이 없어 엉뚱한 글꼴로 떨어진다 */
  --nar: 'Gowun Batang', 'Nanum Myeongjo', 'AppleMyungjo', serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', sans-serif;
  font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
button:disabled { cursor: default; opacity: .5; }
input, textarea, select { font: inherit; color: var(--ink); }
img, video { display: block; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 8px; }
.muted { color: var(--muted); }
.err { color: var(--red2); font-size: 14px; margin: 0; }
.warn { color: var(--gold); font-size: 14px; }
.tiny { font-size: 12px; color: var(--muted); }
.ko { word-break: keep-all; }
.empty { color: var(--muted); text-align: center; padding: 34px 20px; }

/* ── 머리 · 탭 ── */
.top { position: sticky; top: 0; z-index: 40; height: var(--top); display: flex; align-items: center; gap: 20px; padding: 0 max(16px, env(safe-area-inset-left)); background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand .dw { display: none; align-items: center; gap: 5px; font-size: 12px; color: var(--ink2); }
.brand .dw svg { width: 14px; height: 14px; }
.brand b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 30px; letter-spacing: -.01em; background: linear-gradient(90deg, #2f5bff, #18c2ff 55%, #ff4fa3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.topnav { display: none; gap: 4px; margin-left: auto; align-items: center; }
.topnav a { padding: 8px 14px; border-radius: 99px; color: var(--ink2); font-weight: 600; font-size: 14.5px; }
.topnav a.on { background: var(--goldSoft); color: var(--gold2); }
.topnew { margin-left: 8px; padding: 9px 16px; border-radius: 99px; background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(47, 107, 255, .35); font-weight: 800; font-size: 14px; }
.top-me { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink2); }
.top-me .pill { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line2); color: var(--ink); font-weight: 600; }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(var(--tabs) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255, 255, 255, .95); 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: 11px; font-weight: 600; }
.tabs a.on { color: var(--gold2); }
.tabs a.on svg { stroke: var(--gold); }
.tabs .dot { position: absolute; top: 10px; left: calc(50% + 8px); width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.tab-new { display: grid; place-items: center; }
.tab-new i { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 6px 20px rgba(47, 107, 255, .4); }
.tab-new svg { width: 24px; height: 24px; stroke-width: 2; }
.main { padding-bottom: calc(var(--tabs) + 20px + env(safe-area-inset-bottom)); min-height: calc(100dvh - var(--top)); }
@media (min-width: 900px) {
  .brand .dw { display: inline-flex; }
  .topnav { display: flex; }
  .top-me { margin-left: 10px; }
  .tabs { display: none; }
  .main { padding-bottom: 40px; }
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ── 버튼 ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 700; font-size: 15px; transition: transform .1s, background .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; }
.btn-cta { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(47, 107, 255, .35); }
.btn-cta:hover { filter: brightness(1.06); }
.btn-red { background: linear-gradient(135deg, #ff4f7a, #ff3b5c); color: #fff; box-shadow: 0 8px 24px rgba(255, 59, 92, .3); }
.btn-ghost { border: 1px solid var(--line2); color: var(--gold2); background: #fff; }
.btn-danger { background: #b83b33; color: #fff; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 13.5px; border-radius: 11px; }
.btn-block { width: 100%; }
.link { color: var(--gold2); font-weight: 600; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 8px; background: var(--card2); border: 1px solid var(--line); color: var(--ink2); font-size: 12.5px; white-space: nowrap; }
.chip.gold { background: linear-gradient(135deg, rgba(47, 91, 255, .12), rgba(24, 194, 255, .14)); border-color: rgba(47, 107, 255, .3); color: var(--gold2); font-weight: 700; }
.chip.red { background: rgba(255, 59, 92, .1); border-color: rgba(255, 59, 92, .35); color: #e0244a; }
.marq { font-family: var(--marquee); letter-spacing: .12em; font-size: 14px; color: var(--gold); }
.ibtn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--ink); }
.ibtn:hover { background: var(--goldSoft); }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(47, 107, 255, .18); border-top-color: var(--gold); animation: spin .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { display: grid; place-items: center; padding: 80px 0; }
.toast { position: fixed; left: 50%; bottom: calc(var(--tabs) + 24px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 300; background: #0b1840; border: 0; color: #fff; box-shadow: 0 12px 30px rgba(11, 24, 64, .3); padding: 12px 18px; border-radius: 14px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── 사람 그림 ── */
.uav { display: inline-block; border-radius: 50%; padding: 2px; background: var(--ring, #f7838f); flex: none; vertical-align: middle; }
.uav img { width: 100%; height: 100%; border-radius: 50%; background: #fff; object-fit: cover; }
.ring0 { --ring: #f7838f; } .ring1 { --ring: #f6b26b; } .ring2 { --ring: #ffd966; } .ring3 { --ring: #93c47d; }
.ring4 { --ring: #76a5af; } .ring5 { --ring: #6fa8dc; } .ring6 { --ring: #8e7cc3; } .ring7 { --ring: #c27ba0; }
.by { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink2); }
.by b { color: var(--ink); font-weight: 700; }
.castpic { display: inline-block; vertical-align: middle; border-radius: 50%; object-fit: cover; background: #e9eefb; flex: none; box-shadow: 0 0 0 2px #fff, 0 3px 10px rgba(30, 70, 180, .18); }

/* ── 홈 ── */
.hero { position: relative; overflow: hidden; background: var(--grad); color: #fff; }
.hero-bg { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, 1fr); opacity: .22; mix-blend-mode: luminosity; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: conic-gradient(from 200deg at 20% -10%, transparent 0deg, rgba(255, 255, 255, .35) 12deg, transparent 26deg),
              conic-gradient(from 130deg at 80% -10%, transparent 0deg, rgba(255, 255, 255, .3) 12deg, transparent 26deg),
              radial-gradient(ellipse at 50% 120%, rgba(255, 79, 163, .45), transparent 60%); }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, #ffc83d 2.5px, transparent 3px), radial-gradient(circle, #ff4fa3 2.5px, transparent 3px), radial-gradient(circle, #fff 2px, transparent 2.5px), radial-gradient(circle, #7cf0ff 2.5px, transparent 3px);
  background-size: 140px 120px, 180px 150px, 110px 130px, 210px 170px; background-position: 10px 20px, 70px 90px, 40px 60px, 120px 10px; opacity: .8; animation: confetti 14s linear infinite; }
@keyframes confetti { to { background-position: 10px 140px, 70px 240px, 40px 190px, 120px 180px; } }
.hero-in { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 38px 16px 34px; text-align: center; }
.bulbs { display: flex; justify-content: center; gap: 9px; margin-bottom: 14px; }
.bulbs i { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px #fff, 0 0 4px var(--sun); animation: bulb 1.6s infinite; }
.bulbs i:nth-child(3n) { background: var(--sun); }
.bulbs i:nth-child(3n+1) { background: #ffd1ea; }
.bulbs i:nth-child(2n) { animation-delay: .8s; }
@keyframes bulb { 50% { opacity: .35; box-shadow: none; } }
.hero .marq { color: #fff; opacity: .9; }
.hero h1 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 70px; line-height: 1; margin: 6px 0 4px; color: #fff; letter-spacing: -.01em; text-shadow: 0 6px 30px rgba(11, 24, 120, .45), 0 0 2px rgba(255, 255, 255, .5); }
.hero .tagline { font-size: 18px; color: #fff; font-weight: 600; margin: 8px 0 0; }
.hero .lede { color: rgba(255, 255, 255, .92); margin: 14px auto 0; max-width: 540px; font-size: 14.5px; }
.hero .cta-row { display: flex; gap: 10px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.hero .btn-cta { background: #fff; color: var(--gold2); box-shadow: 0 10px 30px rgba(11, 24, 120, .3); }
.hero .btn-ghost { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); color: #fff; }
.hero .newhere { display: inline-block; margin-top: 14px; font-size: 13.5px; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) {
  .hero-in { padding: 70px 24px 56px; }
  .hero h1 { font-size: 104px; }
  .hero .tagline { font-size: 22px; }
}
.section { max-width: 1180px; margin: 0 auto; padding: 28px 16px 0; }
.section-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.section-h h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.section-h small { color: var(--muted); font-size: 13px; }
.row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; flex: none; }

/* 포스터 */
.posters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .posters { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .posters { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
.poster { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--card); box-shadow: 0 12px 30px rgba(30, 70, 180, .22); transition: transform .2s, box-shadow .2s; }
.poster:hover { box-shadow: 0 18px 40px rgba(47, 107, 255, .35); }
.poster:hover { transform: translateY(-3px); }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 34%, transparent 62%, rgba(0, 0, 0, .78)); }
.poster .pt { position: absolute; left: 0; right: 0; top: 10px; z-index: 1; text-align: center; padding: 0 8px; }
.poster .pt small { display: inline-block; font-family: var(--marquee); letter-spacing: .14em; font-size: 11px; color: #fff; background: var(--grad); padding: 1px 8px; border-radius: 99px; }
.poster .pt b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 26px; line-height: 1.02; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.poster .pb { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; font-size: 12px; color: #f1e6da; word-break: keep-all; line-height: 1.35; }
.poster .pb .chip { margin-top: 6px; background: rgba(0, 0, 0, .45); border-color: rgba(255, 255, 255, .15); color: #fff; }

/* 장면 카드 (16:9) */
.frame { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--card2); box-shadow: 0 8px 22px rgba(30, 70, 180, .16); }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.frame .play { position: absolute; inset: 0; display: grid; place-items: center; }
.frame .play i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .5); backdrop-filter: blur(6px); }
.frame .play svg { width: 20px; height: 20px; fill: #fff; stroke: none; margin-left: 3px; }
.frame .tag { position: absolute; left: 8px; top: 8px; }
.frame .tag .chip { background: rgba(11, 24, 64, .6); border-color: rgba(255, 255, 255, .2); color: #fff; }
.frame .tag .chip.gold { background: var(--grad); border: 0; }
.scard { width: 260px; display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 900px) { .scard { width: 300px; } }
.scard .meta { font-size: 12.5px; color: var(--muted); }
.scard .meta b { color: var(--ink); font-weight: 700; }
.scard .tt { font-size: 14.5px; font-weight: 700; line-height: 1.35; word-break: keep-all; }
.scard .nar { font-size: 13px; color: var(--ink2); word-break: keep-all; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.grid-frames { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .grid-frames { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-frames { grid-template-columns: repeat(3, 1fr); } }
.grid-frames .scard { width: auto; }

/* ── 작품 ── */
.show-head { position: relative; overflow: hidden; }
.show-head { color: #fff; }
.show-head .bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(30px) saturate(1.3) brightness(.75); }
.show-head::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(47, 91, 255, .55), rgba(24, 194, 255, .25) 60%, rgba(255, 79, 163, .25)); pointer-events: none; }
.show-head .back, .show-head .marq { color: #fff; }
.show-head-in { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 18px 16px 24px; display: grid; gap: 18px; grid-template-columns: 120px 1fr; align-items: end; }
.show-head-in img.p { width: 120px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); }
.show-head h1 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 40px; line-height: 1; margin: 4px 0 6px; }
.show-head .logline { margin: 0; color: #fff; word-break: keep-all; font-weight: 600; }
.show-head h1 { text-shadow: 0 4px 20px rgba(11, 24, 120, .4); }
@media (min-width: 900px) {
  .show-head-in { grid-template-columns: 220px 1fr; padding: 40px 24px 36px; gap: 32px; }
  .show-head-in img.p { width: 220px; }
  .show-head h1 { font-size: 68px; }
}
.about { max-width: 760px; color: var(--ink2); word-break: keep-all; margin: 0; }
.rules { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.castlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.castcard { background: var(--card); border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(30, 70, 180, .08); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.castcard img { width: 92px; height: 92px; }
.castcard b { font-size: 15px; }
.castcard small { color: var(--gold2); font-size: 12.5px; font-weight: 600; }
.castcard p { margin: 2px 0 0; color: var(--ink2); font-size: 12.5px; word-break: keep-all; }
.eplist { display: grid; gap: 14px; }
@media (min-width: 800px) { .eplist { grid-template-columns: repeat(2, 1fr); } }
.epcard { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: 0 6px 18px rgba(30, 70, 180, .08); }
.epcard .frame { border-radius: 10px; }
.epcard .no { font-family: var(--marquee); letter-spacing: .12em; color: var(--gold); font-size: 13px; }
.epcard b { display: block; font-size: 16px; word-break: keep-all; }
.epcard p { margin: 2px 0 6px; color: var(--ink2); font-size: 13px; word-break: keep-all; }
@media (min-width: 900px) { .epcard { grid-template-columns: 200px 1fr; } }

/* ── 에피소드 ── */
.ep-top { max-width: 1180px; margin: 0 auto; padding: 8px 16px 0; display: flex; align-items: center; gap: 8px; }
.ep-top .crumb { font-size: 13px; color: var(--ink2); }
.ep-top .crumb b { color: var(--ink); }
.ep-hero { max-width: 1180px; margin: 0 auto; padding: 8px 16px 0; display: grid; gap: 18px; }
@media (min-width: 900px) { .ep-hero { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 32px; } }
.ep-hero .frame { border-radius: 18px; box-shadow: 0 18px 50px rgba(30, 70, 180, .28); }
.ep-hero h1 { font-size: 30px; margin: 4px 0 6px; letter-spacing: -.02em; word-break: keep-all; }
.ep-hero .opening { color: var(--ink2); margin: 0 0 14px; word-break: keep-all; }
.ep-hero .cta-row { display: flex; gap: 8px; flex-wrap: wrap; }
.intertitle { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.4; color: #fff; text-align: center; word-break: keep-all; padding: 16px 20px; border-radius: 16px; background: var(--grad); box-shadow: 0 10px 26px rgba(47, 107, 255, .3); margin: 12px 0; }
.lines { display: grid; gap: 10px; }
.line { display: grid; gap: 8px; padding: 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-align: left; width: 100%; box-shadow: 0 6px 18px rgba(30, 70, 180, .08); }
.line:hover { border-color: var(--line2); }
.line .strip { display: flex; gap: 4px; overflow: hidden; }
.line .strip img { width: 74px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; flex: none; background: var(--card2); }
.line .strip .gone { width: 74px; aspect-ratio: 16 / 9; border-radius: 6px; background: repeating-linear-gradient(45deg, #e4ebfb, #e4ebfb 6px, #f2f6ff 6px, #f2f6ff 12px); flex: none; }
.line .lt { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--ink2); }
.line .lt b { color: var(--ink); font-size: 14.5px; word-break: keep-all; }
.mine-ups { display: grid; gap: 8px; }
.mine-up { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: var(--card); border: 1px dashed var(--line2); font-size: 13.5px; }
.mine-up img { width: 80px; aspect-ratio: 16 / 9; border-radius: 6px; object-fit: cover; background: var(--card2); }

/* ── 플레이어 ── */
.player { max-width: 940px; margin: 0 auto; padding: 0 0 10px; }
@media (min-width: 900px) { .player { padding: 16px 16px 10px; } }
.stage { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
@media (min-width: 900px) { .stage { border-radius: 16px; } }
.stage > img, .stage > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.stage > img.kb { object-fit: cover; animation: kb 6s ease-out forwards; }
.player .ep-top, .player + .foot { }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.06); } }
.stage .hud { position: absolute; left: 10px; top: 10px; right: 10px; display: flex; justify-content: space-between; gap: 8px; pointer-events: none; }
.stage .hud .chip { background: rgba(0, 0, 0, .55); border-color: rgba(255, 255, 255, .14); color: #fff; }
.stage .tap { position: absolute; inset: 0; display: grid; place-items: center; }
.stage .tap .btn { pointer-events: auto; }
.stage .sound { position: absolute; right: 10px; bottom: 10px; pointer-events: auto; background: rgba(0, 0, 0, .5); color: #fff; border-radius: 99px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; }
.stage .wait { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background: rgba(0, 0, 0, .55); padding: 20px; }
.stage .wait p { margin: 10px 0 0; color: #fff; word-break: keep-all; }
.stage .endcard { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; background: radial-gradient(ellipse at 50% 110%, rgba(255, 79, 163, .55), transparent 60%), var(--grad); }
.stage .endcard .marq { color: #fff; }
.stage .endcard h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 60px; margin: 0; color: #fff; line-height: 1; text-shadow: 0 6px 30px rgba(11, 24, 120, .4); }
.stage .endcard p { color: #fff; margin: 10px 0 0; max-width: 520px; word-break: keep-all; font-family: var(--serif); font-style: italic; font-size: 19px; }
.progress { height: 4px; background: var(--card2); position: relative; }
.progress i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #2f5bff, #18c2ff, #ff4fa3); width: 0; transition: width .2s linear; }
.subtitle { min-height: 76px; display: grid; place-items: center; padding: 12px 18px; text-align: center; }
.subtitle p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.4; color: var(--ink); word-break: keep-all; }
.subtitle small { display: block; font-family: var(--marquee); letter-spacing: .14em; color: var(--gold); font-style: normal; font-size: 12px; margin-bottom: 4px; }
@media (min-width: 900px) { .subtitle p { font-size: 24px; } }
.chapters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 10px; scrollbar-width: none; }
.chapters::-webkit-scrollbar { display: none; }
.chapters button { flex: none; width: 104px; display: flex; flex-direction: column; gap: 4px; text-align: left; font-size: 11.5px; color: var(--muted); }
.chapters button img, .chapters button .gone { width: 104px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; border: 2px solid transparent; background: var(--card2); }
.chapters button.on img, .chapters button.on .gone { border-color: var(--gold); }
.chapters button.on { color: var(--ink); }
.chapters button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chapters .gone { background: repeating-linear-gradient(45deg, #e4ebfb, #e4ebfb 6px, #f2f6ff 6px, #f2f6ff 12px); }
.pinfo { padding: 4px 16px 0; display: grid; gap: 12px; }
.pinfo .ttl { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pinfo h2 { margin: 0; font-size: 20px; letter-spacing: -.01em; word-break: keep-all; }
.pinfo .sub { color: var(--muted); font-size: 13px; margin-top: 2px; }
.pinfo .acts { display: flex; gap: 6px; flex: none; }
.likebtn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line2); font-weight: 700; font-size: 14px; background: #fff; color: var(--ink2); }
.likebtn svg { width: 18px; height: 18px; }
.likebtn.on { background: linear-gradient(135deg, #ff6fb5, #ff4fa3); border-color: transparent; color: #fff; }
.likebtn.on svg { fill: #fff; stroke: #fff; }
details.pr { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-size: 13.5px; }
details.pr summary { cursor: pointer; color: var(--ink2); font-weight: 600; }
details.pr p { margin: 8px 0 0; color: var(--ink2); white-space: pre-wrap; word-break: break-word; }
.nextbox { display: grid; gap: 12px; background: linear-gradient(135deg, #e7efff, #fff 55%, #ffeaf5); border: 1px solid var(--line2); border-radius: 22px; padding: 16px; box-shadow: 0 10px 30px rgba(47, 107, 255, .14); }
@media (min-width: 800px) { .nextbox { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.nextbox h3 { margin: 0 0 6px; font-size: 17px; }
.nextbox p { margin: 0 0 12px; color: var(--ink2); word-break: keep-all; }
.branches { display: grid; gap: 8px; }
.branch { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); text-align: left; }
.branch img { width: 88px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: var(--card2); }
.branch b { display: block; font-size: 14px; word-break: keep-all; }
.branch small { color: var(--muted); font-size: 12px; }
.credits { display: grid; gap: 6px; }
.credits div { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink2); }
.credits .n { font-family: var(--marquee); letter-spacing: .1em; color: var(--gold); width: 64px; }
.props { display: flex; flex-wrap: wrap; gap: 6px; }

/* ── 감독하기 ── */
.direct { max-width: 860px; margin: 0 auto; padding: 8px 16px 0; display: grid; gap: 16px; }
.direct h1 { font-size: 24px; margin: 0; letter-spacing: -.02em; word-break: keep-all; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px; display: grid; gap: 12px; box-shadow: 0 8px 24px rgba(30, 70, 180, .08); }
.step h2 { margin: 0; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.step h2 .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 4px 12px rgba(47, 107, 255, .35); font-size: 14px; font-weight: 800; flex: none; }
.step p { margin: 0; color: var(--ink2); word-break: keep-all; }
.step .frame { border-radius: 12px; }
.castrefs { display: flex; gap: 10px; flex-wrap: wrap; }
.castref { display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 99px; background: var(--card2); border: 1px solid var(--line); font-size: 13px; }
.castref img { width: 34px; height: 34px; }
.castref a { color: var(--gold2); display: grid; place-items: center; }
.castref a svg { width: 16px; height: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink2); }
.field textarea, .field input[type=text], .field select { width: 100%; border: 1px solid var(--line2); border-radius: 14px; padding: 12px 14px; background: #f7f9ff; outline: none; resize: vertical; }
.field textarea:focus, .field input:focus, .field select:focus { border-color: var(--gold); }
.field select option { background: #fff; }
.promptbox { position: relative; background: #0b1840; border: 0; border-radius: 14px; padding: 14px 14px 46px; font-family: ui-monospace, Menlo, monospace; font-size: 13px; line-height: 1.55; color: #dbe7ff; white-space: pre-wrap; word-break: break-word; }
.promptbox .copy { position: absolute; right: 10px; bottom: 8px; }
.tips { display: grid; gap: 6px; margin: 0; padding: 0 0 0 18px; color: var(--ink2); font-size: 13.5px; }
.drop { display: grid; place-items: center; gap: 6px; text-align: center; padding: 26px 16px; background: #f7f9ff; border: 2px dashed rgba(47, 107, 255, .35); border-radius: 16px; color: var(--ink2); cursor: pointer; }
.drop:hover, .drop.over { border-color: var(--gold); background: var(--goldSoft); }
.drop svg { width: 34px; height: 34px; color: var(--gold); }
.preview video { width: 100%; border-radius: 12px; background: #000; max-height: 50vh; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink2); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.bar { height: 8px; border-radius: 99px; background: var(--card2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2f5bff, #18c2ff, #ff4fa3); transition: width .2s; }

/* ── Watch (세로 피드) ── */
body.in-watch { overflow: hidden; }
body.in-watch .main { padding-bottom: 0; }
.watch { height: calc(100dvh - var(--top) - var(--tabs) - env(safe-area-inset-bottom)); overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; }
.watch::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .watch { height: calc(100dvh - var(--top)); } }
.wcard { min-height: 100%; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; padding: 14px 0 18px; max-width: 900px; margin: 0 auto; border-bottom: 1px solid var(--line); }
.wcard .stage { cursor: pointer; }
@media (min-width: 900px) { .wcard .stage { border-radius: 16px; } }
.wcard .wmeta { padding: 0 16px; display: grid; gap: 8px; }
.wcard .wmeta .top-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink2); }
.wcard .wmeta h3 { margin: 0; font-size: 18px; word-break: keep-all; }
.wcard .wnar { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink); word-break: keep-all; margin: 0; }
.wcard .wacts { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── 시트 · 모달 ── */
.overlay, .modal { position: fixed; inset: 0; z-index: 150; background: rgba(11, 24, 64, .45); display: flex; align-items: flex-end; justify-content: center; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@media (min-width: 640px) { .overlay, .modal { align-items: center; } }
.sheet { width: 100%; max-width: 480px; background: #fff; border: 1px solid var(--line2); border-radius: 24px 24px 0 0; padding: 26px 22px calc(24px + env(safe-area-inset-bottom)); position: relative; max-height: 92dvh; overflow: auto; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .sheet { border-radius: 24px; } }
.sheet.wide { max-width: 720px; }
.sheet h2 { margin: 0; font-size: 21px; }
.sheet p { margin: 0; }
.sheet-x { position: absolute; top: 12px; right: 14px; font-size: 26px; color: var(--muted); width: 36px; height: 36px; }
.sheet textarea { width: 100%; border: 1px solid var(--line2); border-radius: 14px; padding: 12px 14px; background: #f7f9ff; outline: none; }
.keep { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink2); justify-content: center; }
.gbtn { display: flex; justify-content: center; min-height: 44px; flex-direction: column; align-items: center; gap: 8px; }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.opts button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 16px; background: #f4f7ff; border: 1.5px solid transparent; font-size: 12.5px; text-align: center; }
.opts button.on { border-color: var(--gold); background: var(--goldSoft); }
.opts .uav { width: 56px; height: 56px; }
.fb-stars { display: flex; gap: 6px; justify-content: center; }
.fb-stars button { font-size: 30px; color: #d5ddf0; }
.fb-stars button.on { color: var(--sun); }
.picklist { display: grid; gap: 8px; }
.picklist a { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.picklist img { width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; flex: none; }
.picklist b { display: block; font-size: 14px; word-break: keep-all; }
.picklist small { color: var(--muted); font-size: 12px; }
.tabsw { display: flex; gap: 6px; }
.tabsw button { padding: 8px 14px; border-radius: 99px; font-weight: 700; font-size: 13.5px; color: var(--ink2); border: 1px solid var(--line2); }
.tabsw button.on { background: var(--grad); border-color: transparent; color: #fff; }

/* ── 입장 · 연령 ── */
.dw-gate { position: fixed; inset: 0; z-index: 200; background: var(--grad); color: #fff; display: grid; place-items: center; padding: 24px; overflow: auto; }
.dw-gate::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 110%, rgba(255, 79, 163, .5), transparent 60%), radial-gradient(circle, #ffc83d 2.5px, transparent 3px) 10px 20px / 140px 120px, radial-gradient(circle, #fff 2px, transparent 2.5px) 40px 60px / 110px 130px; opacity: .9; }
.gate-card { position: relative; width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 14px; text-align: center; }
.gate-card .logo { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 64px; margin: 0; color: #fff; line-height: 1; text-shadow: 0 6px 30px rgba(11, 24, 120, .4); }
.gate-card .logo sup { font-family: 'Pretendard Variable', sans-serif; font-style: normal; font-size: 12px; color: var(--sun); margin-left: 4px; font-weight: 600; }
.gate-card p { margin: 0; color: rgba(255, 255, 255, .92); }
.dw-gate .btn-cta { background: #fff; color: var(--gold2); }
.dw-gate .btn-ghost { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); color: #fff; }
.gate-card input { height: 50px; border-radius: 14px; border: 0; padding: 0 16px; text-align: center; outline: none; background: #fff; color: var(--ink); }
.face-row { display: flex; justify-content: center; }
.face-row img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin: 0 -6px; border: 3px solid #fff; background: #e9eefb; box-shadow: 0 4px 14px rgba(11, 24, 120, .25); }

/* ── 나 ── */
.mehead { max-width: 900px; margin: 0 auto; padding: 24px 16px 0; display: flex; gap: 16px; align-items: center; }
.mehead h1 { margin: 0; font-size: 24px; }
.me-body { max-width: 900px; margin: 0 auto; padding: 0 16px; display: grid; gap: 18px; }
.menu { display: grid; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.menu button { text-align: left; padding: 14px 16px; background: var(--card); border-bottom: 1px solid var(--line); font-weight: 600; }
.menu button:last-child { border-bottom: 0; }
.menu .danger { color: var(--red2); }
.notis { display: grid; gap: 6px; }
.noti { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 13.5px; }
.noti.new { border-color: rgba(47, 107, 255, .45); background: #eef4ff; }
.noti small { color: var(--muted); margin-left: auto; white-space: nowrap; }
.status { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.status.analyzing { background: var(--goldSoft); color: var(--gold2); }
.status.rejected, .status.failed { background: rgba(255, 59, 92, .12); color: #e0244a; }
.status.ready { background: rgba(18, 184, 134, .12); color: var(--green); }
.status.hidden, .status.removed { background: var(--card2); color: var(--muted); }

/* ── 안내 ── */
.guide { max-width: 760px; margin: 0 auto; padding: 24px 16px 0; display: grid; gap: 18px; }
.guide h1 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 48px; margin: 0; line-height: 1.05; background: linear-gradient(90deg, #2f5bff, #18c2ff 60%, #ff4fa3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.guide .lead { font-size: 17px; color: var(--ink2); margin: 0; }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: stretch; }
.flow div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 10px; text-align: center; font-size: 12.5px; color: var(--ink2); }
.flow b { display: block; font-family: var(--marquee); letter-spacing: .1em; color: var(--gold); font-size: 16px; font-weight: 400; }
.gsteps { counter-reset: s; display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.gsteps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.gsteps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; }
.gsteps b { display: block; margin-bottom: 2px; }
.gsteps p { margin: 0; color: var(--ink2); font-size: 14px; }
.terms { display: grid; gap: 8px; }
.terms div { display: grid; grid-template-columns: 100px 1fr; gap: 10px; font-size: 14px; color: var(--ink2); }
.terms dt, .terms b { color: var(--ink); }

/* ── 바닥 ── */
.foot { max-width: 720px; margin: 0 auto; padding: 34px 16px 10px; text-align: center; }
.foot-link { color: var(--muted); font-size: 13.5px; text-decoration: underline; }
.sisters { margin-top: 22px; text-align: left; }
.sisters-title { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px 4px; }
.sisters ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 640px) { .sisters ul { grid-template-columns: 1fr 1fr; } }
.sisters a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.sisters img { width: 44px; height: 44px; border-radius: 22%; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.sisters b { display: block; font-size: 14px; }
.sisters small { color: var(--muted); font-size: 12.5px; }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--ink2); font-size: 14px; padding: 8px 0; }
.back svg { width: 18px; height: 18px; }

/* 나레이션 · 자막 카드: 한글 명조, 기울이지 않는다 */
.intertitle, .subtitle p, .wcard .wnar, .stage .endcard p { font-family: var(--nar); font-style: normal; letter-spacing: -.01em; }
.intertitle { font-size: 18px; font-weight: 700; }
.subtitle p { font-size: 19px; font-weight: 700; }
.wcard .wnar { font-size: 17px; font-weight: 700; }
.stage .endcard p { font-size: 17px; }
@media (min-width: 900px) { .subtitle p { font-size: 22px; } }
.subtitle small { font-family: var(--marquee); }

/* ── 플레이어 (2026-10-09 다시: 장면별 진행 바 · 조작 · 설명 카드) ── */
.tl { position: relative; display: flex; gap: 3px; height: 22px; align-items: center; padding: 0 16px; margin-top: 10px; cursor: pointer; touch-action: none; }
@media (min-width: 900px) { .tl { padding: 0; } }
.tl .seg { position: relative; height: 8px; border-radius: 99px; background: #d9e3fb; overflow: hidden; transition: height .15s; }
.tl .seg.on { height: 10px; }
.tl .seg i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, #2f5bff, #18c2ff); }
.tl .seg:first-child i { background: linear-gradient(90deg, #ff7cc0, #ff4fa3); }
.tl .knob { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); box-shadow: 0 2px 8px rgba(30, 70, 180, .35); pointer-events: none; }
@media (max-width: 899px) { .tl .knob { margin-left: 7px; } .tl { padding: 0 16px; } }
.ctrl { display: flex; align-items: center; gap: 4px; padding: 6px 12px 0; }
@media (min-width: 900px) { .ctrl { padding: 6px 0 0; } }
.ctrl .ibtn { color: var(--gold2); }
.ctrl .ibtn svg { fill: currentColor; }
.ctrl .ibtn.big { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(47, 107, 255, .35); }
.ctrl .ibtn.big svg { fill: #fff; stroke: #fff; }
.ctrl .time { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--ink2); margin-left: 6px; }
.ctrl .sndbtn { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--gold2); padding: 6px 12px; border-radius: 99px; background: var(--goldSoft); }
.desc { margin: 12px 16px 4px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px; box-shadow: 0 8px 24px rgba(30, 70, 180, .1); display: grid; gap: 10px; }
@media (min-width: 900px) { .desc { margin: 14px 0 4px; } }
.desc .dh { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.desc .dh b { font-size: 17px; word-break: keep-all; }
.desc .by-r { margin-left: auto; }
.whos { display: flex; gap: 8px; flex-wrap: wrap; }
.who { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 4px; border-radius: 99px; background: var(--card2); font-size: 13px; }
.who b { font-weight: 800; }
.who small { color: var(--muted); font-size: 11.5px; }
.dtext { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--ink); word-break: keep-all; }
.dnar { margin: 0; font-family: var(--nar); font-weight: 700; font-size: 15.5px; color: var(--gold2); word-break: keep-all; padding-left: 12px; border-left: 3px solid #18c2ff; }
.chapters { padding-top: 12px; }
.chapters button { width: 132px; }
.chapters button img, .chapters button .gone { width: 132px; }
.chapters button span b { color: var(--gold2); }
.acts-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.stage .endcard.soft { background: linear-gradient(180deg, rgba(11, 24, 64, .15), rgba(11, 24, 64, .7)); }
.stage .wait p { color: #fff; font-size: 15px; }
.stage > img, .stage > video { cursor: pointer; }

/* Watch: 줄기 한 편씩 */
.watch { scroll-snap-type: y proximity; }
.whead { padding: 0 16px; }
.whead h3 { margin: 2px 0 2px; font-size: 20px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; word-break: keep-all; }
.whead p { margin: 0; }
.wplayer > .frame { margin: 0 16px; }
@media (min-width: 900px) { .whead, .wcard .wacts { padding: 0; } .wplayer > .frame { margin: 0; } }
.wcard .wacts { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 16px; }
.wplayer .desc { margin-top: 8px; }
.wplayer .dtext { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }

/* 내레이션 자막 (영상 아래쪽, 문장씩) */
.stage .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; display: flex; justify-content: center; pointer-events: auto; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .55)); }
.stage .cap:empty { display: none; }
.stage .cap p { margin: 0; max-width: 760px; text-align: center; font-family: var(--nar); font-weight: 700; font-size: 15px; line-height: 1.5; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .9), 0 0 12px rgba(0, 0, 0, .6); word-break: keep-all; animation: capin .35s ease-out; }
@media (min-width: 900px) { .stage .cap p { font-size: 20px; } .stage .cap { padding: 40px 24px 18px; } }
@keyframes capin { from { opacity: 0; transform: translateY(6px); } }
.stage .sound { display: none; }

/* 장면 전환: 직전 화면을 덮어 두었다가 서서히 걷는다 */
.stage .fade { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.stage .fade.show { opacity: 1; transition: none; }
.stage .fade.go { opacity: 0; transition: opacity .55s ease; }
q.say { quotes: none; display: inline; color: var(--gold2); font-weight: 700; background: linear-gradient(transparent 62%, rgba(24, 194, 255, .22) 0); }
.stage .cap p { color: #fff; }

/* Watch: 세로 쇼츠 */
.shorts { height: calc(100dvh - var(--top) - var(--tabs) - env(safe-area-inset-bottom)); overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; background: #050a1f; }
.shorts::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .shorts { height: calc(100dvh - var(--top)); } }
.short { height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; padding: 8px 0; }
.sframe { position: relative; height: 100%; aspect-ratio: 9 / 16; max-width: 100%; background: #000; border-radius: 14px; overflow: hidden; }
@media (max-width: 600px) { .sframe { border-radius: 0; } .short { padding: 0; } }
.sframe video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.sbar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .2); }
.sbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2f5bff, #18c2ff, #ff4fa3); }
.srail { position: absolute; right: 6px; top: 8px; display: grid; gap: 6px; }   /* 위쪽 오른편 — 영상에 새긴 자막 · 화면을 가리지 않게 */
.rbtn { display: grid; justify-items: center; gap: 1px; color: #fff; font-size: 10px; font-weight: 700; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.rbtn svg { width: 20px; height: 20px; padding: 7px; box-sizing: content-box; border-radius: 50%; background: rgba(5, 10, 31, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.rbtn.on svg { fill: #ff4fa3; stroke: #ff4fa3; }
.sover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: rgba(5, 10, 31, .55); }
.sover .btn-ghost { background: rgba(255, 255, 255, .15); color: #fff; border-color: rgba(255, 255, 255, .45); }
