/* ── 11-10 사건 재생 무대(#case-theater · js/theater.js) ──────────────────────────────────────────────
   사장님 "메인을 진짜 레전드급으로". 줄 01~05(#why-aboutus · #gfx-sweep · #gfx-bits · #gfx-route · #gfx-dial)를 화면에 붙인 한 무대로 묶는다.
   · 스크롤 = 재생 막대: 장면 시간이 스크롤 위치를 따라 앞뒤로 움직인다(큰 숫자도 그 순간 값 · 줄 끝 = HTML 끝 값).
   · 줄이 바뀔 때 = 창을 가로지르는 주황 줄 하나(왼 → 오) · 글 줄은 차례로 빠지고 들어온다(전부 스크롤 위치의 함수 = 되감기 됨).
   · 아래 시간 줄 = 다섯 마디(이름 = 각 줄 이름표 글 그대로 · aria-hidden) · 마디를 누르면 그 줄로 간다.
   꺼짐(JS 없음 · 모션 줄이기 · ?still=1 · ?notheater=1) = html.th-on 이 안 붙음 → 아래 '기본' 두 줄만 살아 예전처럼 줄 다섯이 차례로 흐른다.
   색·글꼴 = identity-sections.css 무대 토큰(--am-*) 그대로. 새 색 0. */

/* 기본(무대 꺼짐): main > section 조건으로 걸려 있던 구간 여백만 되살림 */
.th { position: relative; }
html:not(.th-on) .th-pin > section.hb-gfx.hb-stage { position: relative; padding: 32px 0 0; }
@media (max-width: 1023px) { html:not(.th-on) .th-pin > section.hb-gfx.hb-stage { padding-top: 48px; } }
.th-hud, .th-scan { display: none; }

/* ── 무대 켜짐 ── */
html.th-on .th { --th-top: 88px; --th-bot: 104px; height: calc(100svh + var(--th-run, 4200px)); background: #101b1b;
  --am-ink: #f3f0e8; --am-muted: #b5c1b9; --am-line: #3d4b43; --am-line2: #5b6b62; --am-accent: #f75b2b; color: #f3f0e8; }
html.th-on .th-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; overflow: clip; }
html.th-on .th-pin > section { position: absolute; inset: 0; margin: 0; padding: var(--th-top) 0 var(--th-bot) !important; display: flex; align-items: center; border: 0; background: none !important;
  opacity: 0; pointer-events: none; content-visibility: visible; contain: none; }
html.th-on .th-pin > section.is-live { opacity: 1; pointer-events: auto; }
html.th-on .th-pin > section > .am-wrap { width: min(100% - 2 * var(--th-gut, 40px), 1520px); max-width: none; margin: 0 auto; padding: 0; }

/* 줄 = [글 기둥 | 창] 한 벌(짝수 줄 뒤집기 없음 — 창이 늘 같은 자리 = 기계 한 대) */
html.th-on .th .am-row, html.th-on .th .am-row--flip { display: grid; grid-template-columns: minmax(0, var(--th-txt, 400px)) minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr;
  grid-template-areas: ". win" "tag win" "txt win" ". win"; gap: 0 var(--th-gap, 56px); align-items: start; }
html.th-on .th .am-row > .am-tag { grid-area: tag; margin: 0 0 20px; font-size: 14px; }
html.th-on .th .am-row > .am-txt { grid-area: txt; padding: 0; gap: 14px; justify-content: flex-start; }
html.th-on .th .am-row > .am-win { grid-area: win; justify-self: end; align-self: center; flex: none; width: 652px; height: 512px; zoom: var(--th-z, 1); opacity: 1; will-change: opacity; }
html.th-on .th [data-am-rv] { animation: none !important; }
html.th-on .th .am-win::after { animation: none !important; }
html.th-on .th .gx-ctl { display: none !important; }   /* 장면마다 있던 멈춤 단추 = 스크롤이 대신함 */
html.th-on .th .am-tag, html.th-on .th .am-txt > * { will-change: opacity, transform; }

/* 글 기둥 활자: 소제목을 제목 글꼴로 올리고 큰 숫자를 더 키움(끝 값 = HTML 글 그대로) */
html.th-on .th .am-sub { font-family: var(--au-display, 'AboutUs Display'), var(--au-text, sans-serif); font-weight: 700; font-size: clamp(30px, 2.7vw, 46px); line-height: 1.18; letter-spacing: -.02em; color: var(--am-ink); text-wrap: balance; }
html.th-on .th .am-body { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; font-weight: 400; max-width: 22em; color: var(--am-muted); }
html.th-on .th .am-txt > .am-stats { margin-top: 22px; gap: 18px 28px; }
html.th-on .th .am-stat { gap: 10px; }
html.th-on .th .am-stat-k { font-size: 16px; }
html.th-on .th .am-stat-v { min-width: 0 !important; }
html.th-on .th .am-stat-v > b { font-size: clamp(64px, 6.1vw, 108px); letter-spacing: -.035em; line-height: 1; }
html.th-on .th .am-stat-v > b[data-gfx-num] { min-width: 0 !important; }   /* 단위는 숫자 바로 뒤 · 세는 동안 옆 칸이 안 밀리게 칸(.am-stat) 폭을 끝 값 폭으로(theater.js) */
html.th-on .th .am-stat-v > small { font-size: 20px; }
html.th-on .th .am-txt > .am-note { margin-top: 10px; }
html.th-on .th .hb1-in { margin-top: 10px; }

/* 가로지르는 줄(줄이 바뀌는 순간에만 · 창 왼끝 → 오른끝) */
html.th-on .th-scan { display: block; position: absolute; left: 0; top: 0; width: 2px; height: 10px; z-index: 5; pointer-events: none; opacity: 0; background: var(--am-accent, #f75b2b); will-change: transform, opacity; }
html.th-on .th-scan::before { content: ""; position: absolute; top: 0; bottom: 0; right: 2px; width: 64px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--am-accent, #f75b2b) 16%, transparent)); }

/* 시간 줄(아래 · 쪽 글 기둥 폭) */
html.th-on .th-hud { display: block; position: absolute; left: max(var(--th-gut, 40px), (100% - 1520px) / 2); right: max(var(--th-gut, 40px), (100% - 1520px) / 2, 104px); bottom: 30px; z-index: 6; height: 46px; pointer-events: none;
  font-family: var(--au-text, sans-serif); color: var(--am-muted, #b5c1b9); }
.th-tl { position: absolute; inset: 0 0 0 54px; pointer-events: auto; touch-action: pan-y; cursor: pointer; }
/* 재생 단추(왼쪽 끝): 누르면 무대가 실제 속도로 스스로 내려감 · 손이 닿으면 멈춤. 세모·두 줄은 CSS 로 그림(글 0) */
.th-play { position: absolute; left: 0; bottom: -6px; width: 38px; height: 38px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; box-shadow: inset 0 0 0 1px var(--am-line2, #5b6b62); color: var(--am-ink, #f3f0e8); cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent; transition: box-shadow .15s ease, background-color .15s ease; }
.th-play::before { content: ""; position: absolute; left: 15px; top: 12px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent currentColor; }
.th-hud.is-play .th-play { box-shadow: inset 0 0 0 1px var(--am-accent, #f75b2b); }
.th-hud.is-play .th-play::before { left: 13px; top: 12px; width: 12px; height: 14px; border: 0; background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px 12px); }
@media (hover: hover) { .th-play:hover { background: color-mix(in srgb, var(--am-ink, #f3f0e8) 8%, transparent); } }
.th-hud.is-drag .th-tl { cursor: grabbing; }
.th-hud.is-drag .th-tl-head { box-shadow: 0 0 0 4px #101b1b, 0 0 0 5px var(--am-accent, #f75b2b); }
.th-tl-base { position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: var(--am-line, #3d4b43); }
.th-tl-base::before { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 4px; opacity: .9;
  background: repeating-linear-gradient(90deg, var(--am-line, #3d4b43) 0 1px, transparent 1px calc(100% / 60)); }
.th-tl-fill { position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: var(--am-accent, #f75b2b); transform-origin: 0 50%; transform: scaleX(0); will-change: transform; }
.th-tl-head { position: absolute; left: -5px; bottom: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--am-accent, #f75b2b); box-shadow: 0 0 0 4px #101b1b; will-change: transform; }
.th-tl-head::before { content: ""; position: absolute; left: 5px; bottom: 11px; width: 1px; height: 22px; background: var(--am-accent, #f75b2b); opacity: .55; }
.th-seg { position: absolute; bottom: 0; height: 46px; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent; }
.th-seg::before { content: ""; position: absolute; left: 0; bottom: 6px; width: 1px; height: 8px; background: currentColor; opacity: .7; }
.th-seg > i { position: absolute; left: 10px; top: 2px; font-style: normal; font-size: 13px; font-weight: 500; line-height: 18px; letter-spacing: .01em; white-space: nowrap; transition: color .2s ease; }
.th-seg > i::before { content: attr(data-t); }
.th-seg > .th-seg-n { opacity: .65; font-variant-numeric: tabular-nums; }
.th-seg > .th-seg-k { left: 34px; }
.th-seg.is-past { color: color-mix(in srgb, var(--am-ink, #f3f0e8) 72%, transparent); }
.th-seg.is-now { color: var(--am-ink, #f3f0e8); }
.th-seg.is-now > .th-seg-n { color: var(--am-accent, #f75b2b); opacity: 1; }
@media (hover: hover) { .th-seg:hover { color: var(--am-ink, #f3f0e8); } }

/* ── 배치는 창 모양으로 고른다(js/theater.js 가 #case-theater 에 data-th-mode 를 적음 · 폭 미디어 질의 대신)
   wide = 두 기둥(글 | 창) · mid = 한 기둥 + 같은 652×512 창을 통째로 키우거나 줄임(태블릿 세로 등) · phone = 한 기둥 + 화면 폭 창
   data-th-low = 높이가 낮아 본문 한 문단·표기 줄을 무대 안에서만 접는 상태(글은 문서에 그대로) ── */
html.th-on .th:is([data-th-mode="mid"], [data-th-mode="phone"]) { --th-top: 76px; --th-bot: 78px; }
html.th-on .th:is([data-th-mode="mid"], [data-th-mode="phone"]) :is(.am-row, .am-row--flip) { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto auto auto; grid-template-areas: "tag" "sub" "body" "win" "stats" "note"; gap: 0; }
html.th-on .th:is([data-th-mode="mid"], [data-th-mode="phone"]) .am-row > .am-txt { display: contents; }
html.th-on .th:is([data-th-mode="mid"], [data-th-mode="phone"]) .am-row > .am-tag { margin: 0 0 8px; font-size: 13px; }
html.th-on .th:is([data-th-mode="mid"], [data-th-mode="phone"]) .am-txt > .am-sub { grid-area: sub; margin: 0 0 8px; font-size: clamp(22px, 4.6vw, 38px); }
html.th-on .th:is([data-th-mode="mid"], [data-th-mode="phone"]) .am-txt > .am-body { grid-area: body; margin: 0 0 14px; max-width: 34em; font-size: 16px; line-height: 1.55; }
html.th-on .th:is([data-th-mode="mid"], [data-th-mode="phone"]) .am-row > .am-win { justify-self: center; margin: 0 0 14px; }
html.th-on .th:is([data-th-mode="mid"], [data-th-mode="phone"]) .am-txt > :is(.am-stats, .hb1-in) { grid-area: stats; margin: 0; }
html.th-on .th:is([data-th-mode="mid"], [data-th-mode="phone"]) .am-txt > .am-stats { flex-wrap: nowrap; gap: 0 22px; }
html.th-on .th:is([data-th-mode="mid"], [data-th-mode="phone"]) .am-stat { flex-direction: column; gap: 4px; }   /* 설명이 위(작게) · 숫자가 아래 */
html.th-on .th:is([data-th-mode="mid"], [data-th-mode="phone"]) .am-stat-k { font-size: 13px; line-height: 1.4; }
html.th-on .th:is([data-th-mode="mid"], [data-th-mode="phone"]) .am-stat-v > b { font-size: clamp(40px, 9vw, 72px); }
html.th-on .th:is([data-th-mode="mid"], [data-th-mode="phone"]) .am-stat-v > small { font-size: 15px; }
html.th-on .th:is([data-th-mode="mid"], [data-th-mode="phone"]) .am-txt > .am-note { grid-area: note; margin: 8px 0 0; }
html.th-on .th:is([data-th-mode="mid"], [data-th-mode="phone"]) .th-hud { bottom: 16px; height: 40px; }
html.th-on .th:is([data-th-mode="mid"], [data-th-mode="phone"]) .th-seg > .th-seg-k { display: none; }

/* 폰: 창 = 화면 폭 · 액자 안쪽 8(안 판 = 원래 폰 판 크기 322×374 근처) */
html.th-on .th[data-th-mode="phone"] { --th-top: 64px; --th-bot: 58px; }
html.th-on .th[data-th-mode="phone"] .am-row > .am-win { justify-self: stretch; width: auto; height: var(--th-wh, 392px); padding: 8px; zoom: 1; border-radius: 20px; margin: 0 0 12px; }
html.th-on .th[data-th-mode="phone"] .am-win > .am-win-in { border-radius: 13px; }
html.th-on .th[data-th-mode="phone"] .am-txt > .am-sub { font-size: 22px; margin: 0 0 10px; }
html.th-on .th[data-th-mode="phone"] .am-txt > .am-stats { gap: 0 18px; }
html.th-on .th[data-th-mode="phone"] .am-stat-v > b { font-size: 40px; }
html.th-on .th[data-th-mode="phone"] .am-stats[data-n="3"] .am-stat-v > b { font-size: 34px; }
html.th-on .th[data-th-mode="phone"] .am-stats[data-n="3"] { gap: 0 14px; }
html.th-on .th[data-th-mode="phone"] .hb1-in { font-size: 14px; }
html.th-on .th[data-th-mode="phone"] .hb1-off-t { font-size: 14px; line-height: 1.45; margin: 0 0 2px; }
html.th-on .th[data-th-mode="phone"] .hb1-off .am-link { font-size: 14px; }
html.th-on .th[data-th-mode="phone"] .th-hud { bottom: 10px; height: 36px; }
html.th-on .th[data-th-mode="phone"] .th-tl { inset: 0 0 0 46px; }
html.th-on .th[data-th-mode="phone"] .th-play { width: 34px; height: 34px; bottom: -6px; }
html.th-on .th[data-th-mode="phone"] .th-play::before { left: 13px; top: 10px; }
html.th-on .th[data-th-mode="phone"] .th-hud.is-play .th-play::before { left: 11px; top: 10px; }
html.th-on .th[data-th-mode="phone"] .th-seg > i { font-size: 12px; left: 8px; }

/* 낮은 화면: 본문 한 문단과 표기 줄은 무대 안에서만 접음 */
html.th-on .th:is([data-th-mode="mid"], [data-th-mode="phone"])[data-th-low] .am-txt > :is(.am-body, .am-note) { display: none; }
html.th-on .th[data-th-mode="wide"][data-th-low] { --th-top: 76px; --th-bot: 84px; }
html.th-on .th[data-th-mode="wide"][data-th-low] .am-txt > .am-note { display: none; }

/* ── 11-10 오후(사장님 "신뢰 개쩔게 · 프레이머 그 구간처럼 간지나게") ─────────────────────────────────────────
   ① 창 = 깊이 있는 물건: 줄에 원근을 주고, 창이 들어올 때·나갈 때 옆으로 돌아 들고 남(js/theater.js 가 transform · --th-sh 를 씀)
      + 두께가 읽히는 테(위 밝은 선 · 아래 어두운 선) + 바닥에 깔리는 깊은 그림자 + 스크롤을 따라 유리 위를 지나가는 빛 띠 하나.
   ② 01 줄: '열어 본 화면' 카드 묶음(.th-deck) — 주소마다 한 장이 깊이로 쌓여 있다가 한 장씩 앞으로 · 창 안 그 주소 줄이 켜짐(.th-now) · 아직 안 연 줄은 흐림(.th-wait).
   카드 속 화면은 css/say-real.css 의 화면 부품(.rl-*)을 그대로 씀. 전부 꾸밈(aria-hidden · data-t 글). */
html.th-on #case-theater .am-row { perspective: none; }   /* 11-10 밤: 원근은 창마다 transform 안 perspective() 로(theater.js PSP) — 줄마다 두면 줄 높이에 따라 소실점이 달라 두 창 테가 어긋남 */
html.th-on #case-theater .am-row > .am-win { transform-origin: 50% 50%; will-change: transform, opacity;
  box-shadow: inset 0 0 0 1px #4a6152, inset 0 1.5px 0 0 rgb(243 240 232 / .16), inset 0 -1.5px 0 0 rgb(0 0 0 / .4), 0 70px 90px -56px rgb(0 0 0 / .9), 0 26px 44px -30px rgb(0 0 0 / .65); }
html.th-on #case-theater .am-win::after { content: ""; position: absolute; z-index: 3; inset: 0; opacity: 1; pointer-events: none; animation: none !important;
  background: linear-gradient(104deg, transparent 37%, rgb(243 240 232 / .045) 46%, rgb(243 240 232 / .085) 50%, rgb(243 240 232 / .045) 54%, transparent 63%); transform: translate3d(var(--th-sh, -95%), 0, 0); }

.th-deck { display: none; }
html.th-on #case-theater[data-th-mode="wide"] .th-deck { display: block; }   /* 가운데 폭(mid)·폰은 뺌(11-10 저녁 검토: 글 5~7px · 판 테두리 덮음) */
html.th-on #case-theater .th-deck { --dh: clamp(150px, 24vh, 232px); position: relative; z-index: 4; grid-area: deck; align-self: start; justify-self: end; width: calc(var(--dh) * 1.5); height: var(--dh); margin: 30px -72px 0 0; perspective: 1100px; perspective-origin: 20% 40%; pointer-events: none; }
html.th-on #case-theater[data-th-mode="wide"] #why-aboutus .am-row { grid-template-rows: minmax(0, .55fr) auto auto minmax(0, 1.45fr); grid-template-areas: ". win" "tag win" "txt win" "deck win"; }
html.th-on #case-theater[data-th-mode="wide"][data-th-low] .th-deck { --dh: 132px; margin-top: 16px; }
html.th-on #case-theater[data-th-mode="mid"] #why-aboutus .am-row { position: relative; }
html.th-on #case-theater[data-th-mode="mid"] .th-deck { --dh: 128px; position: absolute; right: 30px; top: -2px; margin: 0; }
.th-card { position: absolute; inset: 0; transform-origin: 0 50%; will-change: transform, opacity; }
.th-card > .rl { position: absolute; inset: 0; overflow: visible; border-radius: 12px; font-size: calc(var(--dh) / 19.5); }
.th-card .rl-win { left: 0; right: 0; top: 0; bottom: 0; border-radius: 12px; box-shadow: 0 0 0 1px rgb(243 240 232 / .18), 0 34px 54px -24px rgb(0 0 0 / .85), 0 10px 20px -10px rgb(0 0 0 / .55); }
.th-card .rl-post { padding: .9em 1.1em; }
.th-card .rl-res { padding: 0 1.2em; }
.th-card .rl-sh { padding: .8em 1.2em .5em; }
.th-card mark { background: rgb(247 91 43 / .2); box-shadow: inset 0 -.12em 0 #f75b2b; color: inherit; }
.th-card-k { position: absolute; z-index: 2; left: .9em; bottom: .9em; display: inline-flex; align-items: center; height: 2em; padding: 0 .85em; border-radius: 999px; background: #101b1b; box-shadow: 0 0 0 1px rgb(243 240 232 / .2); color: #f3f0e8; font-family: var(--au-text, sans-serif); font-size: calc(var(--dh) / 17); font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.th-deck [data-t]::before { content: attr(data-t); }
.th-chat { display: flex; flex-direction: column; gap: .7em; padding: 1em 1.1em; }
.th-chat-h { font-size: 1.05em; font-weight: 700; }
.th-chat-m { align-self: flex-start; display: flex; flex-direction: column; gap: .45em; max-width: 90%; padding: .75em .95em; border-radius: 1.1em 1.1em 1.1em .3em; background: #f1f2f3; line-height: 1.5; }
.th-chat-m > mark { padding: .35em .6em; border-radius: .5em; background: #fff; box-shadow: inset 0 0 0 1px #e3e5e8, inset .18em 0 0 #f75b2b; color: #1b4fbf; }

html.th-on #case-theater .hb1-r { position: relative; z-index: 0; transition: opacity .4s ease; }
html.th-on #case-theater .hb1-r.th-wait { opacity: .26; }
html.th-on #case-theater .hb1-r:not(.is-f)::after { content: ""; position: absolute; z-index: -1; inset: 0 -15px; background: rgb(247 91 43 / .09); box-shadow: inset 2px 0 0 #f75b2b; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
html.th-on #case-theater .hb1-r.th-now:not(.is-f)::after { opacity: 1; }

/* 창 안 줄: 사이트 표식(주소 첫 글자) · 머리줄 단계 탭(쪽의 진행 줄 글 그대로) */
html.th-on #case-theater .hb1-r > .ad[data-fav]::before { content: attr(data-fav); display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; margin-right: .6em; border-radius: 50%; background: var(--fc, #4a5568); color: #fff; font-size: .7em; font-weight: 700; line-height: 1; vertical-align: .14em; }
.th-tabs { display: none; }
html.th-on #case-theater .th-tabs { display: inline-flex; gap: 2px; margin-left: 14px; padding: 2px; border-radius: 8px; background: rgb(243 240 232 / .06); }
html.th-on #case-theater .th-tabs > i { padding: 3px 9px; border-radius: 6px; color: #9cad9c; font-size: 11.5px; font-style: normal; font-weight: 500; line-height: 16px; white-space: nowrap; }
html.th-on #case-theater .th-tabs > i::before { content: attr(data-t); }
html.th-on #case-theater .th-tabs > i.on { background: #101b1b; box-shadow: 0 0 0 1px #4a594f; color: #f3f0e8; }
html.th-on #case-theater[data-th-mode="phone"] .th-tabs { display: none; }
html.th-on #case-theater[data-th-mode="phone"] .am-win::after { display: none; }   /* 폰: 빛 띠 없음(프레임 아낌) */
html.th-on #case-theater[data-th-mode="phone"] .am-row > .am-win { box-shadow: inset 0 0 0 1px #4a6152, inset 0 1.5px 0 0 rgb(243 240 232 / .16), 0 24px 40px -28px rgb(0 0 0 / .7); }

/* ── 11-10 저녁 독립 검토 반영(무대) ──
   ① 큰 숫자 줄은 꺾이지 않음(칸 폭 = 장면 처음~끝 가장 넓은 값 · theater.js statWidths) · 한 줄에 못 들어가는 화면은 처음부터 위아래로 쌓음(.th-stack)
   ② 01 '주소 확인' 제목만 본문 글꼴(AboutUs Text 600)이던 것 — identity.css 의 '.hb .am-sub' 규칙(특이도 0,3,3)이 무대 규칙을 이김 → id 로 올림
   ③ 가운데 폭(mid)의 '열어 본 화면' 카드 묶음: 글이 5~7px 로 안 읽히고 판 테두리를 덮던 것 → 가운데 폭에서는 뺌(폰과 같음) */
html.th-on .th .am-txt > .am-stats { flex-wrap: nowrap; }
html.th-on .th .am-txt > .am-stats.th-stack { flex-direction: column; align-items: flex-start; row-gap: 14px; }
html.th-on body #case-theater .am-sub { font-family: var(--au-display, 'AboutUs Display'), var(--au-text, sans-serif); font-weight: 700; letter-spacing: -.02em; }
html.th-on .th[data-th-mode="mid"] .th-deck { display: none; }

/* ── 11-10 밤 고치기(home-theater · 독립 검토 2차) ──
   ① 주황 줄 = 창과 같은 변형(theater.js · 창 가운데 기준 같은 원근·기울기) → 기준점 = 줄 왼쪽 위
   ② 01 판 빈 바닥(폰 390 ≈ 51px · 넓은 화면 46~60px): 폰은 넷째 줄(재게시 후보 · 원래 폰에서 숨김)을 줄 여백을 조금 좁혀 다시 넣고,
      그래도 남는 높이는 꼬리 줄 위아래 여백으로 고르게(--th-rpad) — 둘 다 theater.js fillBoard 가 재서 넘치면 도로 뺌 · 글·줄 내용은 그대로
   ③ 시간 줄: 머리 세로선을 숫자 밑까지만(숫자를 뚫던 것) · 폰은 세로선 없음 · 첫 마디 눈금(왼끝 '⊦' 토막) 뺌 · 마디 = 같은 폭(theater.js)
   ④ 장면 안 작은 글(04 요청 경로 칸 이름·영어판 · 05 날짜 눈금 10.5px) → 11px · 눈금 글 한 단 밝게(무대 안에서만 · 장면 원본 _lab 그대로)
   ⑤ 01 '열어 본 화면' 카드 묶음(넓은 화면): 뒤에 쌓인 카드는 겉면만(왼끝으로 잘린 글 조각이 삐져나오던 것 · --pg) · 창 틀을 덮지 않게 왼쪽으로 · 아주 넓은 화면에서 조금 크게 */
html.th-on .th-scan { transform-origin: 0 0; }
html.th-on #case-theater .am-win .hb1-rows .hb1-r:not(.is-f) { padding-top: calc(var(--th-rp0, 9px) + var(--th-rpad, 0px)); padding-bottom: calc(var(--th-rp0, 9px) + var(--th-rpad, 0px)); }
html.th-on #case-theater[data-th-mode="phone"] { --th-rp0: 8px; }
html.th-on #case-theater[data-th-mode="phone"][data-th-r4] { --th-rp0: 6px; }
html.th-on #case-theater[data-th-r4] .am-win .hb1-ltrk.hb-m-off { display: grid !important; }
html.th-on .th-tl-head::before { height: 9px; }
html.th-on .th[data-th-mode="phone"] .th-tl-head::before { display: none; }
html.th-on .th-seg:first-of-type::before { display: none; }
html.th-on #case-theater .gfx-route.gx :is(.grt-cl, .grt-en, .grt-lg) { font-size: 11px; }
html.th-on #case-theater .gfx-dial.gx :is(.gdl-tk > span, .gdl-now) { font-size: 11px; }
html.th-on #case-theater .gfx-dial.gx .gdl-tk > span { color: #8a8784; }
html.th-on #case-theater .th-deck { --dh: clamp(150px, 24vh, 272px); margin-right: calc(36px - var(--th-gap, 56px)); }   /* 앞 카드는 −17° 로 돌아 오른끝이 상자보다 15~17px 더 나와 보임 → 창 틀과 ~20px 띄움 */
html.th-on #case-theater .th-deck { height: calc(var(--dh) * .9); }   /* 카드 아래쪽이 비어 보이던 것(글은 카드 위 절반 · 이름표 칩은 바닥) → 카드를 10% 낮춤(글자 크기 = --dh 그대로 · 검색·대화 카드는 칩과 글 사이 여유가 남게) */
html.th-on #case-theater[data-th-mode="wide"][data-th-low] .th-deck { display: none; }   /* 낮은 넓은 화면(높이 700 아래)은 카드가 132px 로 줄어 글이 7px 아래 → 가운데 폭처럼 뺌 */
html.th-on #case-theater[data-th-mode="wide"][data-th-low] #why-aboutus .am-row { grid-template-rows: 1fr auto auto 1fr; grid-template-areas: ". win" "tag win" "txt win" ". win"; }   /* 카드 자리가 빠지면 글 기둥을 다른 줄처럼 가운데로 */
.th-card :is(.rl-pg, .rl-url, .th-card-k) { opacity: var(--pg, 1); }
/* ⑥ 폰 시간 줄: 재생 단추가 화면 아래 끝에 4px 로 붙던 것 → 줄째 4px 올리고, 마디 번호는 줄 쪽으로 6px 내려 위 글(큰 숫자·카카오 상담)과 사이를 벌림
   ⑦ 낮은 폰(높이 760 아래) 01: '카카오 상담 →' 을 안내 글 끝에 이어 붙여(줄 하나 아낌) 시간 줄 숫자와 7px 로 붙던 것을 풂 · 누름 자리 44 는 그대로(위아래 −12 겹침) */
html.th-on .th[data-th-mode="phone"] .th-hud { bottom: 14px; }
html.th-on .th[data-th-mode="phone"] .th-seg { height: 40px; }
html.th-on #case-theater[data-th-mode="phone"][data-th-low] #why-aboutus .am-txt .hb1-off { display: block; }
html.th-on #case-theater[data-th-mode="phone"][data-th-low] #why-aboutus .hb1-off-t { display: inline; margin: 0 6px 0 0; }
html.th-on #case-theater[data-th-mode="phone"][data-th-low] #why-aboutus .hb1-off .am-link { margin: -12px 0; vertical-align: baseline; }
