/* ============================================================
   페이션트 퍼널 10기 무료 라이브 — 슬라이드 테마 v2 "BROADCAST"
   웜 코럴 · 16:9 · 완전 오프라인 · 시네마틱
   ============================================================ */

@font-face {
  font-family: 'Pretendard';
  src: url('fonts/PretendardVariable.woff2') format('woff2-variations');
  font-weight: 45 920;
  font-display: block;
}
@font-face {
  font-family: 'JBMono';
  src: url('fonts/JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: 'JBMono';
  src: url('fonts/JetBrainsMono-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: block;
}

:root {
  --bg: #161413;
  --card: #211D1C;
  --card-2: #262120;
  --accent: #FF7A5C;
  --accent-hi: #FFA184;
  --accent-dim: rgba(255, 122, 92, 0.14);
  --gold: #F5C86B;
  --grey: #8A8F98;
  --text: #E8EAED;
  --dim: #ADB2B8;
  --dimmer: #82888E;
  --mono: 'JBMono', 'Pretendard', monospace;
  --sans: 'Pretendard', -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-pop: cubic-bezier(0.34, 1.45, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  background: #0A0908;
  overflow: hidden;
  font-family: var(--sans);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ---------- 스테이지 ---------- */
#stage-wrap {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
#stage {
  width: 1280px; height: 720px;
  position: relative;
  background:
    radial-gradient(1100px 700px at 50% 118%, #1D1917 0%, var(--bg) 55%);
  overflow: hidden;
  transform-origin: center center;
  box-shadow: 0 0 120px rgba(0,0,0,0.8);
}

/* 레이어 0: 그리드 + 비네트 */
#stage::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(232,234,237,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,234,237,0.03) 1px, transparent 1px),
    radial-gradient(ellipse 130% 105% at 50% 45%, transparent 55%, rgba(6,5,4,0.55) 100%);
  background-size: 64px 64px, 64px 64px, 100% 100%;
  pointer-events: none;
  z-index: 1;
}
/* 레이어: 유영하는 오로라 */
#aurora {
  position: absolute; inset: -18%;
  background:
    radial-gradient(700px 460px at 14% 86%, rgba(255,122,92,0.10), transparent 62%),
    radial-gradient(760px 500px at 86% 10%, rgba(245,200,107,0.06), transparent 62%),
    radial-gradient(500px 380px at 60% 105%, rgba(255,122,92,0.05), transparent 65%);
  animation: aurora 18s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes aurora {
  from { transform: translate3d(-2%, 1.5%, 0) rotate(-0.6deg) scale(1); }
  to   { transform: translate3d(2.4%, -1.8%, 0) rotate(0.6deg) scale(1.07); }
}
/* 레이어: 필름 그레인 */
#grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 4;
  animation: grainShift 1.4s steps(3) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0,0); }
  33% { transform: translate(-18px, 12px); }
  66% { transform: translate(14px, -10px); }
  100% { transform: translate(0,0); }
}
/* 레이어: 엠버 입자 캔버스 */
#embers {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 2;
}
/* 방송 프레임 코너 브래킷 */
.corner {
  position: absolute; width: 26px; height: 26px; z-index: 48;
  opacity: 0.5;
}
.corner::before, .corner::after {
  content: ''; position: absolute; background: var(--accent);
}
.corner::before { width: 100%; height: 2px; }
.corner::after  { width: 2px; height: 100%; }
.corner.tl { top: 14px; left: 14px; }
.corner.tr { top: 14px; right: 14px; transform: scaleX(-1); }
.corner.bl { bottom: 14px; left: 14px; transform: scaleY(-1); }
.corner.br { bottom: 14px; right: 14px; transform: scale(-1); }

/* ---------- 진행바 ---------- */
#progress {
  position: absolute; top: 0; left: 0; right: 0; height: 6px;
  display: flex; gap: 2px; z-index: 50;
}
#progress .seg {
  flex: 1; height: 100%;
  background: rgba(232,234,237,0.07);
  position: relative; overflow: hidden;
}
#progress .seg .fill {
  position: absolute; top: 0; left: 0; bottom: 0; width: 0%;
  background: linear-gradient(90deg, #E85C3E, var(--accent) 60%, var(--accent-hi));
  transition: width 0.5s var(--ease-out);
}
#progress .seg .fill::after {
  content: ''; position: absolute; right: 0; top: -3px; bottom: -3px; width: 10px;
  background: radial-gradient(closest-side, rgba(255,161,132,0.9), transparent);
}
#progress .seg.done .fill { width: 100%; background: rgba(255,122,92,0.4); }
#progress .seg.done .fill::after { content: none; }
#progress .seg.now .fill { box-shadow: 0 0 14px rgba(255,122,92,0.9); }

/* ---------- HUD ---------- */
#hud {
  position: absolute; top: 20px; left: 40px; z-index: 50;
  font-family: var(--mono);
  font-size: 15px; letter-spacing: 0.06em;
  color: var(--accent);
  display: flex; align-items: baseline; gap: 14px;
  text-shadow: 0 0 18px rgba(255,122,92,0.5);
}
#hud .part { color: var(--dimmer); font-size: 13px; text-shadow: none; }
#hud::before {
  content: ''; display: inline-block; width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
  margin-right: 2px; align-self: center;
  box-shadow: 0 0 10px rgba(255,122,92,0.9);
  animation: livePulse 2.2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

/* ---------- 단계 표시 (미니 바) ---------- */
#stepdots {
  position: absolute; top: 24px; right: 40px; z-index: 50;
  display: flex; gap: 6px; align-items: center;
}
#stepdots .d {
  width: 22px; height: 4px; border-radius: 2px;
  background: rgba(232,234,237,0.14);
  transition: all 0.3s var(--ease-out);
}
#stepdots .d.on {
  background: linear-gradient(90deg, var(--accent), var(--accent-hi));
  box-shadow: 0 0 12px rgba(255,122,92,0.8);
  width: 34px;
}
#stepdots .d.past { background: rgba(255,122,92,0.4); }

/* ---------- 결론 바 ---------- */
#conclusion {
  position: absolute; left: 40px; right: 40px; bottom: 24px;
  display: flex; align-items: center; gap: 16px;
  z-index: 50;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.55s, transform 0.55s var(--ease-out);
}
#conclusion.show { opacity: 1; transform: none; }
#conclusion .bar {
  width: 4px; height: 36px; flex: none;
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.5s 0.15s var(--ease-pop);
  box-shadow: 0 0 16px rgba(255,122,92,0.6);
}
#conclusion.show .bar { transform: scaleY(1); }
#conclusion.grey .bar { background: var(--grey); box-shadow: none; }
#conclusion .txt {
  font-size: 17px; font-weight: 700; color: var(--text);
  letter-spacing: -0.01em;
}
#conclusion .txt::before {
  content: 'BOTTOM LINE';
  display: block;
  font-family: var(--mono); font-size: 9.5px; font-weight: 400;
  letter-spacing: 0.3em; color: var(--accent);
  margin-bottom: 3px; opacity: 0.85;
}
#conclusion.grey .txt::before { color: var(--grey); }

#jumpbox {
  position: absolute; bottom: 26px; right: 40px; z-index: 60;
  font-family: var(--mono); font-size: 15px;
  color: var(--gold);
  background: var(--card);
  border: 1px solid rgba(245,200,107,0.4);
  padding: 6px 14px;
  display: none;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
#jumpbox.show { display: block; }

/* ---------- 슬라이드 ---------- */
.slide {
  position: absolute; inset: 0;
  padding: 70px 80px 96px;
  display: none;
  flex-direction: column;
  z-index: 10;
  overflow: hidden;
}
/* 밀도 높은 슬라이드용 축약 모드 */
.slide.dense .title { font-size: 36px; margin-bottom: 22px; }
.slide.dense .card { padding: 20px 24px; }
.slide.dense .body-block { font-size: 15px; line-height: 1.62; }
.slide.dense .lead { font-size: 17.5px; line-height: 1.62; }
.slide.active { display: flex; animation: slidein 0.55s var(--ease-out); }
/* 측정 모드: 모든 스텝 요소의 트랜스폼/애니메이션 무효화 (autoFit 정확도) */
.slide.measuring, .slide.measuring * { animation: none !important; transition: none !important; }
.slide.measuring [data-step] { transform: none !important; }
@keyframes slidein {
  from { opacity: 0; transform: translateX(40px) scale(0.982); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}
/* autoFit으로 축소된 슬라이드용 등장 효과 (transform 미사용 — 인라인 scale 보존) */
@keyframes fitfade {
  from { opacity: 0; filter: blur(6px); }
  to   { opacity: 1; filter: none; }
}

/* ---------- 단계 공개 ---------- */
[data-step] {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(8px);
  transition:
    opacity 0.55s ease,
    transform 0.8s var(--ease-pop),
    filter 0.55s ease;
}
[data-step][data-fx="left"]  { transform: translateX(-52px); }
[data-step][data-fx="right"] { transform: translateX(52px); }
[data-step][data-fx="zoom"]  { transform: scale(0.86); }
[data-step][data-fx="drop"]  { transform: translateY(-36px); }
[data-step].revealed { opacity: 1; transform: none; filter: none; }
[data-step].past     { opacity: 0.88; transform: none; filter: none; }
.slide.no-dim [data-step].past { opacity: 1; }

/* 단어 단위 스태거 (.words 요소 내부 .w 스팬 — JS가 생성) */
.words .w {
  display: inline-block;
  opacity: 0; transform: translateY(0.55em) rotate(1.5deg); filter: blur(5px);
  transition: opacity 0.5s ease, transform 0.6s var(--ease-pop), filter 0.5s ease;
  transition-delay: calc(var(--i) * 55ms);
}
[data-step].revealed .w, [data-step].past .w,
.words[data-step].revealed .w, .words[data-step].past .w {
  opacity: 1; transform: none; filter: none;
}

/* ---------- 타이포 ---------- */
.k {
  font-weight: 800;
  background: linear-gradient(115deg, var(--accent) 20%, var(--accent-hi) 80%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--accent);
  filter: drop-shadow(0 0 22px rgba(255,122,92,0.45));
}
.kg {
  font-weight: 800;
  background: linear-gradient(115deg, var(--gold) 25%, #FFE1A0 85%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold);
  filter: drop-shadow(0 0 20px rgba(245,200,107,0.4));
}
.mono { font-family: var(--mono); }
.dim  { color: var(--dim); }
.small{ font-size: 15px; color: var(--dim); }

.eyebrow {
  font-family: var(--mono);
  font-size: 13.5px; letter-spacing: 0.26em;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: ''; width: 34px; height: 1.5px;
  background: linear-gradient(90deg, var(--accent), transparent);
  flex: none;
}
.eyebrow.grey { color: var(--grey); }
.eyebrow.grey::before { background: linear-gradient(90deg, var(--grey), transparent); }

.title {
  font-size: 41px; font-weight: 800; line-height: 1.28;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, #FFFFFF 30%, #C9CCD1 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--text);
  margin-bottom: 34px;
}
.title .k, .title .kg { -webkit-text-fill-color: transparent; }
.title-sm { font-size: 33px; }
.lead { font-size: 22px; line-height: 1.7; color: var(--text); }
.body-block { font-size: 20px; line-height: 1.75; color: var(--text); }

/* ---------- 카드 ---------- */
.card {
  background:
    radial-gradient(420px 140px at 18% 0%, rgba(255,255,255,0.035), transparent 70%),
    linear-gradient(180deg, #241F1E, #1E1A19);
  border: 1px solid rgba(232,234,237,0.07);
  border-top: 1px solid rgba(232,234,237,0.13);
  padding: 26px 30px;
  position: relative;
  box-shadow: 0 14px 34px rgba(0,0,0,0.35);
}
.card .c-label {
  font-family: var(--mono); font-size: 12.5px;
  letter-spacing: 0.2em; color: var(--dim);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.card .c-label::before {
  content: ''; width: 7px; height: 7px; flex: none;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255,122,92,0.7);
}
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }

/* 인용 슬라이드 */
.slide-quote { justify-content: center; position: relative; }
.slide-quote .qwatermark {
  position: absolute; top: -60px; right: 10px;
  font-family: Georgia, serif;
  font-size: 560px; line-height: 1;
  color: rgba(255,122,92,0.05);
  pointer-events: none;
  user-select: none;
}
.slide-quote .qmark {
  font-family: Georgia, serif;
  font-size: 130px; line-height: 0.55;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 34px rgba(255,122,92,0.45));
}
.slide-quote .qmark.revealed { animation: qpop 0.9s var(--ease-pop) both; }
@keyframes qpop {
  from { opacity: 0; transform: scale(0.25) rotate(-14deg); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: none; }
}
.slide-quote blockquote {
  font-size: 60px; font-weight: 800; line-height: 1.26;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, #FFFFFF 25%, #B9BDC4 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--text);
  max-width: 1080px;
}
.slide-quote blockquote .k { -webkit-text-fill-color: transparent; }
.slide-quote .attrib {
  margin-top: 34px;
  font-size: 16px; color: var(--dimmer);
  font-family: var(--mono); letter-spacing: 0.08em;
  display: flex; align-items: center; gap: 12px;
}
.slide-quote .attrib::before {
  content: ''; width: 44px; height: 1px; background: var(--dimmer);
}

/* 시간(장면) 슬라이드 */
.slide-scene { justify-content: center; }
.scene-time {
  font-family: var(--mono);
  font-size: 104px; font-weight: 700;
  letter-spacing: 0.01em; line-height: 1;
  background: linear-gradient(180deg, #FFFFFF 20%, #9BA0A6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--text);
  filter: drop-shadow(0 6px 30px rgba(0,0,0,0.5));
}
.scene-day {
  font-family: var(--mono);
  font-size: 21px; letter-spacing: 0.45em;
  color: var(--accent); margin-top: 16px;
  text-shadow: 0 0 22px rgba(255,122,92,0.5);
}
.scene-cap {
  font-size: 26px; font-weight: 700; color: var(--dim);
  margin-top: 40px;
}
.scene-body { margin-top: 30px; font-size: 21px; line-height: 1.75; color: var(--text); max-width: 920px; }

/* 오해(그레이) */
.slide-grey .title {
  background: linear-gradient(180deg, #C6C9CE 30%, #8C9095 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.slide-grey .lead, .slide-grey .body-block { color: var(--dim); }
.slide-grey .k {
  background: none; -webkit-text-fill-color: currentColor;
  color: var(--grey); filter: none;
}
.myth-card {
  background: linear-gradient(180deg, #211E1D, #1C1918);
  border: 1px solid rgba(138,143,152,0.14);
  border-left: 4px solid var(--grey);
  padding: 24px 28px;
  font-size: 22px; line-height: 1.55; color: var(--dim);
  position: relative;
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}
.myth-card::after {
  content: '✕';
  position: absolute; top: 14px; right: 18px;
  font-family: var(--mono); font-size: 15px;
  color: rgba(138,143,152,0.5);
}

/* 진짜 원인 — 코럴 점화 */
.truth-card {
  background:
    radial-gradient(500px 200px at 0% 50%, rgba(255,122,92,0.13), transparent 62%),
    linear-gradient(180deg, #241F1E, #1E1A19);
  border: 1px solid rgba(255,122,92,0.16);
  border-left: 4px solid var(--accent);
  padding: 24px 30px;
  font-size: 23px; line-height: 1.6; color: var(--text);
  box-shadow: 0 0 44px rgba(255,122,92,0.09), 0 16px 36px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
}
/* 점화 순간 빛 스윕 */
.truth-card.revealed::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 120px;
  background: linear-gradient(100deg, transparent, rgba(255,161,132,0.14), transparent);
  animation: sweep 1.4s 0.3s var(--ease-out) both;
}
@keyframes sweep {
  from { left: -140px; }
  to   { left: 110%; }
}

/* 펀치라인 */
.slide-punch { justify-content: center; align-items: flex-start; position: relative; }
.punch {
  font-size: 54px; font-weight: 800; line-height: 1.32;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, #FFFFFF 25%, #B9BDC4 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--text);
  max-width: 1080px;
}
.punch .k, .punch .kg { -webkit-text-fill-color: transparent; }

/* 액션 카드 */
.act-card {
  background:
    radial-gradient(380px 130px at 20% 0%, rgba(255,255,255,0.03), transparent 70%),
    linear-gradient(180deg, #241F1E, #1D1918);
  border: 1px solid rgba(232,234,237,0.06);
  border-top: 4px solid var(--grey);
  padding: 26px 26px 30px;
  min-height: 250px;
  position: relative;
  box-shadow: 0 16px 36px rgba(0,0,0,0.35);
  transition: transform 0.3s var(--ease-out);
}
.act-card.a1 { border-top-color: var(--accent); }
.act-card.a2 { border-top-color: var(--gold); }
.act-card .no {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.24em;
  color: var(--grey); margin-bottom: 14px;
}
.act-card.a1 .no { color: var(--accent); text-shadow: 0 0 16px rgba(255,122,92,0.5); }
.act-card.a2 .no { color: var(--gold); text-shadow: 0 0 16px rgba(245,200,107,0.4); }
.act-card h3 { font-size: 21px; font-weight: 800; color: var(--text); margin-bottom: 12px; line-height: 1.4; }
.act-card p  { font-size: 15.5px; line-height: 1.65; color: var(--dim); }
.act-card::after {
  content: attr(data-idx);
  position: absolute; right: 16px; bottom: 8px;
  font-family: var(--mono); font-size: 74px; font-weight: 700;
  color: rgba(232,234,237,0.04); line-height: 1;
  pointer-events: none;
}

.next-teaser {
  margin-top: 26px;
  display: flex; align-items: center; gap: 14px;
  font-size: 17.5px; color: var(--dim);
  background: linear-gradient(90deg, rgba(245,200,107,0.05), transparent 65%);
  border-left: 2px solid rgba(245,200,107,0.5);
  padding: 14px 18px;
}
.next-teaser.clickable { cursor: pointer; transition: background 0.25s, border-color 0.25s; }
.next-teaser.clickable:hover {
  background: linear-gradient(90deg, rgba(245,200,107,0.14), transparent 70%);
  border-left-color: var(--gold);
}
.next-teaser.clickable:hover .tag {
  box-shadow: 0 0 26px rgba(245,200,107,0.35);
  border-color: var(--gold);
}
.next-teaser .tag {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.16em;
  color: var(--gold); border: 1px solid rgba(245,200,107,0.45);
  padding: 5px 11px; flex: none;
  box-shadow: 0 0 18px rgba(245,200,107,0.12);
}

/* ---------- 차트 ---------- */
.chart-note {
  font-size: 14px; color: var(--dimmer);
  margin-top: 18px; line-height: 1.6;
}
.src {
  font-family: var(--mono); font-size: 12px;
  color: var(--dimmer); letter-spacing: 0.03em;
}

.pool-bar {
  display: flex; height: 88px; margin-top: 10px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.4);
}
.pool-bar .seg-a {
  background: linear-gradient(180deg, var(--accent-hi), var(--accent) 55%, #E8613F);
  display: flex; flex-direction: column; justify-content: center;
  padding-left: 22px; color: #241109;
  transition: width 1.3s var(--ease-out);
  box-shadow: 0 0 34px rgba(255,122,92,0.35);
  position: relative; z-index: 1;
  overflow: hidden; min-width: 0;
}
.pool-bar .seg-b {
  background: linear-gradient(180deg, rgba(138,143,152,0.32), rgba(138,143,152,0.2));
  display: flex; flex-direction: column; justify-content: center;
  padding-left: 22px; color: var(--dim);
  border-left: 2px dashed rgba(232,234,237,0.3);
  transition: width 1.3s var(--ease-out);
  overflow: hidden; min-width: 0;
}
.pool-bar .v { font-family: var(--mono); font-size: 27px; font-weight: 700; white-space: nowrap; }
.pool-bar .l { font-size: 14px; margin-top: 4px; font-weight: 700; white-space: nowrap; }

.hbar-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.hbar-row .hl { width: 190px; flex: none; font-size: 17px; font-weight: 600; color: var(--text); text-align: right; }
.hbar-row .htrack { flex: 1; height: 34px; background: rgba(232,234,237,0.05); position: relative; }
.hbar-row .hfill {
  height: 100%; width: 0;
  transition: width 1.1s var(--ease-out);
  display: flex; align-items: center;
}
.hbar-row .hv {
  font-family: var(--mono); font-size: 18px; font-weight: 700;
  color: var(--text); margin-left: 12px; white-space: nowrap;
}

.bignum {
  font-family: var(--mono);
  font-size: 92px; font-weight: 700; line-height: 1;
  background: linear-gradient(180deg, var(--accent-hi), var(--accent) 70%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--accent);
  filter: drop-shadow(0 0 30px rgba(255,122,92,0.4));
}
.bignum.gold {
  background: linear-gradient(180deg, #FFE1A0, var(--gold) 70%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold);
  filter: drop-shadow(0 0 26px rgba(245,200,107,0.35));
}
.bignum-label { font-size: 15.5px; color: var(--dim); margin-top: 12px; line-height: 1.6; }

/* ---------- 파트 전환 ---------- */
.slide-part {
  justify-content: center;
  position: relative;
}
.slide-part .p-bignum {
  position: absolute; right: -30px; bottom: -70px;
  font-family: var(--mono); font-size: 480px; font-weight: 700; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,122,92,0.13);
  pointer-events: none; user-select: none;
  animation: bignumFloat 9s ease-in-out infinite alternate;
}
@keyframes bignumFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-22px); }
}
.slide-part .p-no {
  font-family: var(--mono);
  font-size: 19px; letter-spacing: 0.55em; color: var(--accent);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 18px;
  text-shadow: 0 0 22px rgba(255,122,92,0.5);
  animation: fadeup 0.8s ease both;
}
.slide-part .p-no::before {
  content: ''; width: 58px; height: 1.5px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.slide-part h1 {
  font-size: 84px; font-weight: 800; letter-spacing: -0.035em;
  line-height: 1.16;
  background: linear-gradient(180deg, #FFFFFF 25%, #A8ACB2 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--text);
  animation: fadeup 0.9s 0.15s var(--ease-out) both;
}
.slide-part .p-range {
  margin-top: 36px;
  font-family: var(--mono); font-size: 16px; color: var(--dimmer);
  letter-spacing: 0.12em;
  animation: fadeup 0.9s 0.32s var(--ease-out) both;
}
.slide-part .p-qs {
  margin-top: 30px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 9px 40px;
  max-width: 1020px;
  animation: fadeup 0.9s 0.48s var(--ease-out) both;
}
.slide-part .p-qs .pq {
  font-size: 16.5px; color: var(--dim); line-height: 1.5;
  display: flex; gap: 12px;
}
.slide-part .p-qs .pq .n {
  font-family: var(--mono); color: var(--accent); flex: none; font-size: 13.5px;
  padding-top: 3px;
}
@keyframes fadeup {
  from { opacity: 0; transform: translateY(30px); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: none; }
}

/* 요약 */
.sum-item { display: flex; gap: 20px; margin-bottom: 24px; }
.sum-item .sn {
  font-family: var(--mono); font-size: 14px; color: var(--accent);
  flex: none; padding-top: 6px; letter-spacing: 0.1em;
  text-shadow: 0 0 14px rgba(255,122,92,0.5);
}
.sum-item .st { font-size: 20px; line-height: 1.6; color: var(--text); }

/* 도움말 */
#help {
  position: absolute; inset: 0; z-index: 100;
  background: rgba(10,9,8,0.94);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center; justify-content: center;
}
#help.show { display: flex; }
#help .hbox {
  font-family: var(--mono); font-size: 16px; line-height: 2.2;
  color: var(--dim);
  border: 1px solid rgba(255,122,92,0.25);
  padding: 36px 48px;
  background: var(--card);
  box-shadow: 0 0 60px rgba(255,122,92,0.1);
}
#help .hbox b { color: var(--accent); font-weight: 700; display: inline-block; min-width: 200px; }
