/* ============================================================
   scenes.css — 티어별 씬 스타일
   ============================================================ */

/* ============ 0. 오프닝 타이틀 ============ */
.sc-title { text-align: center; }
.sc-title .host  { font-size: 36px; letter-spacing: .3em; color: var(--ink-dim); margin-bottom: 40px; }
.sc-title .big   {
  font-size: 116px; font-weight: 900; letter-spacing: -.03em; line-height: 1.12;
  background: linear-gradient(180deg, #fff, var(--gold-hi) 60%, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sc-title .sub   { font-size: 64px; font-weight: 700; color: var(--gold); letter-spacing: .5em; margin-top: 34px; }
.sc-title .date  { font-size: 30px; color: var(--ink-dim); letter-spacing: .22em; margin-top: 56px; }
.fade-up { animation: fade-up calc(1.1s * var(--t)) cubic-bezier(.16,1,.3,1) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(46px); } to { opacity: 1; transform: none; } }

/* ============ 1. 부문 전환 인터스티셜 ============ */
/* 레퍼런스의 "풀어주는 구간" — 리듬을 끊어 다음 긴장을 살립니다 */
.sc-inter { text-align: center; }
.sc-inter .eyebrow { animation: fade-up calc(.7s * var(--t)) cubic-bezier(.16,1,.3,1) both; }
.sc-inter .category-name {
  margin-top: 26px;
  animation: fade-up calc(.9s * var(--t)) cubic-bezier(.16,1,.3,1) both;
  animation-delay: calc(.14s * var(--t));
}
.sc-inter .count { margin-top: 40px; font-size: 32px; color: var(--ink-dim); letter-spacing: .2em;
  animation: fade-up calc(.9s * var(--t)) ease both; animation-delay: calc(.32s * var(--t)); }
.sc-inter .gold-rule {
  margin: 44px auto 0;
  animation: rule-grow calc(1s * var(--t)) cubic-bezier(.16,1,.3,1) both;
  animation-delay: calc(.2s * var(--t));
}
@keyframes rule-grow { from { width: 0; } to { width: 620px; } }

/* ============ 2. 티어 A — 스탬프 그리드 ============ */
.sc-stamp { align-content: start; grid-template-rows: auto auto; gap: 44px; justify-items: stretch; }
.sc-stamp .head { text-align: center; }
.sc-stamp .head .category-name { font-size: 84px; }
.sc-stamp .head .eyebrow { font-size: 28px; margin-bottom: 12px; }

.stamp-grid {
  display: grid; gap: 20px; width: 100%;
  grid-template-columns: repeat(var(--cols, 4), 1fr);
  align-content: center;
}
.stamp-card {
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(201,211,224,.22);
  border-radius: 16px;
  padding: 26px 28px;
  opacity: 0;
}
.stamp-card.on { animation: stamp-in calc(.52s * var(--t)) cubic-bezier(.2,1.5,.4,1) both; }
@keyframes stamp-in {
  0%   { opacity: 0; transform: scale(1.18); filter: blur(6px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: scale(1); }
}
.stamp-card .t { font-size: 44px; font-weight: 800; letter-spacing: -.01em; }
.stamp-card .m { font-size: 28px; color: var(--silver); margin-top: 8px; font-weight: 600; }
.stamp-card .w { font-size: 25px; color: var(--ink-dim); margin-top: 14px; line-height: 1.35; }

.stamp-grid.few .stamp-card { padding: 40px 44px; }
.stamp-grid.few .t { font-size: 62px; }
.stamp-grid.few .m { font-size: 34px; }
.stamp-grid.few .w { font-size: 30px; }

/* ============ 3. 티어 B — 슬롯 릴 ============ */
.sc-reel { grid-template-rows: auto auto auto; gap: 34px; align-content: center; justify-items: center; }
.sc-reel .head { text-align: center; }
.sc-reel .head .category-name { font-size: 78px; }
.sc-reel .work-hint { font-size: 38px; color: var(--ink-dim); font-weight: 600; min-height: 52px; text-align: center; }

.reel-window {
  position: relative;
  width: 1280px; height: 420px;
  overflow: hidden;
  border-top: 1px solid rgba(201,211,224,.18);
  border-bottom: 1px solid rgba(201,211,224,.18);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}
.reel-strip { position: absolute; left: 0; top: 0; width: 100%; will-change: transform; }
.reel-item {
  height: 140px; display: grid; place-items: center;
  font-size: 92px; font-weight: 800; letter-spacing: -.02em;
  color: var(--ink-dim);
}
.reel-item.win { color: var(--ink); }

.reel-window::after {
  content: ""; position: absolute; left: 0; right: 0; top: 140px; height: 140px;
  border-top: 2px solid rgba(var(--accent-rgb), .32);
  border-bottom: 2px solid rgba(var(--accent-rgb), .32);
  pointer-events: none;
}
.reel-window.locked::after {
  border-color: var(--gold);
  box-shadow: 0 0 60px rgba(var(--accent-rgb), .35) inset;
}
.reel-window.locked .reel-item.win {
  color: var(--gold-hi);
  text-shadow: 0 0 48px rgba(var(--accent-rgb), .6);
}
.reel-window.nearmiss::after { border-color: rgba(var(--accent-rgb), .7); }

.sc-reel .reel-result { min-height: 96px; text-align: center; opacity: 0; }
.sc-reel .reel-result.on { animation: fade-up calc(.7s * var(--t)) cubic-bezier(.16,1,.3,1) both; }
.sc-reel .reel-result .m { font-size: 42px; font-weight: 700; color: var(--silver); }
.sc-reel .reel-result .w { font-size: 34px; color: var(--ink-dim); margin-top: 10px; }

/* ============ 4. 티어 C — 시네마틱 ============ */

/* 4-1 스포트라이트 */
.sc-cine { text-align: center; }
.spotlight {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 900px 620px at 50% 48%, rgba(var(--accent-rgb), .13), transparent 70%);
  opacity: 0; animation: spot-in calc(1.8s * var(--t)) ease both;
}
@keyframes spot-in { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: scale(1); } }
.sc-cine .category-name { font-size: 168px; animation: fade-up calc(1.4s * var(--t)) cubic-bezier(.16,1,.3,1) both; }
.sc-cine .eyebrow { animation: fade-up calc(1.2s * var(--t)) ease both; }

/* 4-2 후보 카드 */
.nominee-row { display: flex; gap: 34px; justify-content: center; margin-top: 60px; max-width: 100%; }
.nominee {
  flex: 1 1 0; max-width: 430px; min-width: 0; padding: 44px 30px;
  border: 1px solid rgba(201,211,224,.26); border-radius: 18px;
  background: rgba(255,255,255,.04);
  font-size: 52px; font-weight: 800; letter-spacing: -.01em;
  opacity: 0;
}
.nominee.on { animation: nom-in calc(.75s * var(--t)) cubic-bezier(.16,1,.3,1) both; }
@keyframes nom-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* 4-3 터미널 (코딩대회 정체성 + 위트) */
.terminal {
  width: 1180px; margin: 0 auto;
  background: #070b14; border: 1px solid #24314c; border-radius: 14px;
  box-shadow: 0 40px 120px rgba(0,0,0,.6);
  text-align: left; overflow: hidden;
  animation: term-in calc(.6s * var(--t)) cubic-bezier(.16,1,.3,1) both;
}
@keyframes term-in { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
.terminal .bar {
  display: flex; align-items: center; gap: 9px;
  padding: 16px 22px; background: #0e1524; border-bottom: 1px solid #1d2740;
}
.terminal .bar i { width: 14px; height: 14px; border-radius: 50%; background: #33415f; }
.terminal .bar i:nth-child(1) { background: #ff5f57; }
.terminal .bar i:nth-child(2) { background: #febc2e; }
.terminal .bar i:nth-child(3) { background: #28c840; }
.terminal .bar span { margin-left: 14px; font-size: 20px; color: #55658a; letter-spacing: .1em; }
.terminal .body {
  padding: 34px 40px 42px;
  font-family: "Consolas", "D2Coding", "Courier New", monospace;
  font-size: 38px; line-height: 1.75; color: #9fe8b6;
  min-height: 300px;
}
.terminal .body .dim  { color: #55658a; }
.terminal .body .warn { color: var(--gold); }
.terminal .caret { display: inline-block; width: 18px; height: 38px; background: #9fe8b6; vertical-align: -6px;
  animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* 4-4 작품명 선공개 — 팀명은 아직 숨김. 객석이 먼저 알아채는 구간 */
.sc-work { text-align: center; }
.sc-work .label { font-size: 32px; letter-spacing: .34em; color: var(--ink-dim); margin-bottom: 44px;
  animation: fade-up calc(.8s * var(--t)) ease both; }
.sc-work .work-title {
  font-size: 104px; line-height: 1.24; max-width: 1500px;
  animation: work-in calc(1.5s * var(--t)) cubic-bezier(.16,1,.3,1) both;
}
@keyframes work-in {
  from { opacity: 0; letter-spacing: .16em; filter: blur(14px); }
  to   { opacity: 1; letter-spacing: -.01em; filter: blur(0); }
}
.sc-work .mystery {
  margin-top: 64px; font-size: 68px; font-weight: 900; color: var(--gold); letter-spacing: .5em;
  animation: mystery calc(1.5s * var(--t)) ease-in-out infinite;
}
@keyframes mystery { 0%,100% { opacity: .35; } 50% { opacity: 1; } }

/* 4-5 이름 폭발 */
.sc-boom { text-align: center; }
.sc-boom .team-name {
  font-size: 210px;
  background: linear-gradient(180deg, #fff, var(--gold-hi) 48%, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: boom calc(.9s * var(--t)) cubic-bezier(.15,1.7,.35,1) both;
}
@keyframes boom {
  0%   { opacity: 0; transform: scale(.55); filter: blur(24px); }
  55%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: scale(1); }
}
.sc-boom .members { margin-top: 40px; font-size: 62px; color: var(--ink);
  animation: fade-up calc(.9s * var(--t)) ease both; animation-delay: calc(.42s * var(--t)); }

/* 4-6 수상 카드 홀드 — 사진 찍기 좋은 정지 화면 */
.hold-card {
  width: 1480px; padding: 82px 96px; text-align: center;
  border: 2px solid rgba(var(--accent-rgb), .55); border-radius: 26px;
  background: linear-gradient(165deg, rgba(var(--accent-rgb), .11), rgba(255,255,255,.02));
  box-shadow: 0 0 140px rgba(var(--accent-rgb), .16);
  animation: fade-up calc(1s * var(--t)) cubic-bezier(.16,1,.3,1) both;
}
.hold-card .cat   { font-size: 46px; font-weight: 800; color: var(--gold); letter-spacing: .28em; }
.hold-card .team  { font-size: 132px; font-weight: 900; margin-top: 30px; letter-spacing: -.03em; }
.hold-card .mem   { font-size: 50px; font-weight: 600; color: var(--silver); margin-top: 22px; letter-spacing: .05em; }
.hold-card hr     { border: 0; height: 1px; background: rgba(var(--accent-rgb), .4); margin: 46px 0; }
.hold-card .work  { font-size: 56px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.hold-card .worklabel { font-size: 27px; color: var(--ink-dim); letter-spacing: .3em; margin-bottom: 16px; }

/* ============ 5. 클로징 ============ */
.sc-close { text-align: center; }
.sc-close .headline { font-size: 92px; max-width: 1600px; margin: 0 auto; font-weight: 900; line-height: 1.3; letter-spacing: -.02em;
  animation: fade-up calc(1.2s * var(--t)) cubic-bezier(.16,1,.3,1) both; }
.sc-close .sub { font-size: 46px; color: var(--gold); margin-top: 40px; letter-spacing: .12em;
  animation: fade-up calc(1.2s * var(--t)) ease both; animation-delay: calc(.3s * var(--t)); }
.sc-close .all-teams {
  margin-top: 66px; display: flex; flex-wrap: wrap; gap: 14px 20px; justify-content: center;
  max-width: 1560px; animation: fade-up calc(1.4s * var(--t)) ease both; animation-delay: calc(.55s * var(--t));
}
.sc-close .all-teams span { font-size: 32px; color: var(--silver); font-weight: 600; }
.sc-close .all-teams span::after { content: "·"; margin-left: 20px; color: var(--ink-dim); }
.sc-close .all-teams span:last-child::after { content: ""; }

/* ============ 학교 · 소속 표시 ============ */
.sch {
  font-size: 26px; font-weight: 700; letter-spacing: .18em;
  color: var(--silver); opacity: .8;
}
.sch.big {
  font-size: 44px; letter-spacing: .3em; margin-bottom: 18px;
  color: var(--gold); opacity: 1;
}
.stamp-card .sch { font-size: 22px; margin-bottom: 4px; letter-spacing: .12em; }
.stamp-grid.few .stamp-card .sch { font-size: 28px; }
.sc-reel .reel-result .sch { margin-bottom: 8px; font-size: 30px; }
.hold-card .sch.big { margin-top: 24px; margin-bottom: 6px; }

/* ============ 6. 손전등 ============ */
.sc-spot { grid-template-rows: auto 1fr auto; gap: 0; align-content: stretch; padding: 60px 80px; }
.sc-spot .spot-head { text-align: center; z-index: 3; }
.sc-spot .spot-head .category-name { font-size: 70px; }
.spot-field { position: absolute; inset: 0; }
.spot-name {
  position: absolute; transform: translate(-50%, -50%);
  font-size: 60px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap;
  color: #fff; opacity: .05; transition: opacity .22s ease, text-shadow .22s ease;
}
.spot-name.lit { opacity: 1; text-shadow: 0 0 46px rgba(255,255,255,.45); }
.spot-name.win {
  color: var(--gold-hi); font-size: 86px;
  text-shadow: 0 0 70px rgba(var(--accent-rgb), .75);
  transition: opacity .4s ease, font-size .5s cubic-bezier(.16,1,.3,1);
}
.beam {
  position: absolute; left: 50%; top: 50%; width: 560px; height: 560px;
  transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.20) 0%, rgba(255,255,255,.07) 34%, transparent 66%);
  transition: left .4s cubic-bezier(.3,.8,.3,1), top .4s cubic-bezier(.3,.8,.3,1),
              width .5s ease, height .5s ease;
}
.beam.locked {
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .3) 0%, rgba(var(--accent-rgb), .1) 40%, transparent 70%);
}
.spot-result {
  position: absolute; left: 0; right: 0; bottom: 60px; z-index: 3;
  text-align: center; opacity: 0; min-height: 130px; padding-top: 30px;
  background: linear-gradient(180deg, transparent, rgba(10,14,26,.92) 42%);
}
.spot-result.on { animation: fade-up calc(.7s * var(--t)) cubic-bezier(.16,1,.3,1) both; }
.spot-result .m { font-size: 40px; font-weight: 700; color: var(--silver); }
.spot-result .w { font-size: 32px; color: var(--ink-dim); margin-top: 8px; }

/* ============ 7. 대결 ============ */
.sc-duel { grid-template-rows: auto 1fr; gap: 34px; align-content: start; }
.sc-duel .head { text-align: center; }
.sc-duel .head .category-name { font-size: 72px; }
.duel-list { display: grid; gap: 16px; align-content: center; width: 100%; }
.duel-row {
  display: grid; grid-template-columns: 1fr 150px 1fr; align-items: center;
  position: relative; padding: 6px 0;
}
.duel-row.in { animation: nom-in calc(.5s * var(--t)) cubic-bezier(.16,1,.3,1) both; }
.duel-row .side {
  font-size: 62px; font-weight: 800; letter-spacing: -.02em; padding: 16px 30px;
  border: 1px solid rgba(201,211,224,.24); border-radius: 14px;
  background: rgba(255,255,255,.04);
  transition: all calc(.5s * var(--t)) cubic-bezier(.16,1,.3,1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.duel-row .side.left  { text-align: right; }
.duel-row .side.right { text-align: left; }
.duel-row .side.empty { border-color: transparent; background: none; }
.duel-row .vs {
  text-align: center; font-size: 32px; font-weight: 800; letter-spacing: .2em;
  color: var(--ink-dim);
}
.duel-row.bye .vs { font-size: 24px; letter-spacing: .12em; }
.duel-row .slash {
  position: absolute; left: 8%; right: 8%; top: 50%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-hi), transparent);
  transform: scaleX(0); opacity: 0;
}
.duel-row.done .slash { animation: slash calc(.42s * var(--t)) ease-out both; }
@keyframes slash {
  0%   { transform: scaleX(0) rotate(-1.5deg); opacity: 0; }
  35%  { transform: scaleX(1) rotate(-1.5deg); opacity: 1; }
  100% { transform: scaleX(1) rotate(-1.5deg); opacity: 0; }
}
.duel-row.done .side.fall {
  opacity: .18; filter: blur(2px); transform: translateY(16px) scale(.94);
  text-decoration: line-through; text-decoration-thickness: 3px;
}
.duel-row.done .side.keep {
  border-color: var(--gold); color: var(--gold-hi);
  background: rgba(var(--accent-rgb), .1);
  box-shadow: 0 0 44px rgba(var(--accent-rgb), .22);
}
.sc-duel-win { text-align: center; }
.sc-duel-win .team-name {
  font-size: 190px; font-weight: 900; letter-spacing: -.03em;
  background: linear-gradient(180deg, #fff, var(--gold-hi) 48%, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: boom calc(.9s * var(--t)) cubic-bezier(.15,1.7,.35,1) both;
}
.sc-duel-win .members { margin-top: 30px; }
.sc-duel-win .duel-work { margin-top: 26px; font-size: 40px; color: var(--ink-dim); }

/* ============ 8. 경주 ============ */
.sc-race { grid-template-rows: auto 1fr auto; gap: 26px; align-content: center; }
.sc-race .head { text-align: center; }
.sc-race .head .category-name { font-size: 68px; }
.track { position: relative; width: 100%; display: grid; gap: 12px; align-content: center; }
.lane { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 14px; }
.lane-no {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-size: 26px; font-weight: 800; color: var(--ink-dim);
  border: 1px solid rgba(201,211,224,.26);
}
.rail {
  position: relative; height: 62px; border-radius: 31px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(201,211,224,.14);
}
.runner {
  position: absolute; top: 50%; left: 4%;
  transform: translate(-50%, -50%);
  transition: left 1.2s cubic-bezier(.35,.1,.35,1);
  will-change: left;
}
.runner span {
  display: block; white-space: nowrap;
  font-size: 38px; font-weight: 800; letter-spacing: -.01em;
  padding: 8px 22px; border-radius: 999px;
  background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
  border: 1px solid rgba(201,211,224,.3);
}
.lane.surge .runner span {
  background: linear-gradient(160deg, rgba(var(--accent-rgb), .38), rgba(var(--accent-rgb), .14));
  border-color: var(--gold);
  box-shadow: 0 0 40px rgba(var(--accent-rgb), .5);
}
.lane.won .lane-no { border-color: var(--gold); color: var(--gold-hi); }
.lane.won .runner span {
  color: var(--gold-hi); font-size: 46px;
  box-shadow: 0 0 60px rgba(var(--accent-rgb), .6);
}
.finish-line {
  position: absolute; right: 0; top: -6px; bottom: -6px; width: 8px;
  background: repeating-linear-gradient(180deg,
    rgba(255,255,255,.85) 0 14px, rgba(255,255,255,.15) 14px 28px);
  border-radius: 4px;
}
.race-result { text-align: center; opacity: 0; min-height: 120px; }
.race-result.on { animation: fade-up calc(.7s * var(--t)) cubic-bezier(.16,1,.3,1) both; }
.race-result .m { font-size: 40px; font-weight: 700; color: var(--silver); }
.race-result .w { font-size: 32px; color: var(--ink-dim); margin-top: 8px; }

/* ============ 9. 룰렛 ============ */
.sc-roul { grid-template-rows: auto 1fr auto; gap: 12px; align-content: center; justify-items: center; }
.sc-roul .head { text-align: center; }
.sc-roul .head .category-name { font-size: 60px; }
.wheel-wrap { position: relative; width: 620px; height: 620px; }
.wheel {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(201,211,224,.22);
  will-change: transform;
}
.wheel-wrap.locked .wheel {
  border-color: var(--gold);
  box-shadow: 0 0 80px rgba(var(--accent-rgb), .3), 0 0 90px rgba(var(--accent-rgb), .18) inset;
}
.wheel-wrap.nearmiss .wheel { border-color: rgba(var(--accent-rgb), .7); }
.slot {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  transform-origin: 0 0;
}
.slot span {
  position: absolute; left: 0; top: 0;
  display: block; white-space: nowrap;
  font-size: 32px; font-weight: 800; color: var(--ink-dim);
  translate: -50% -50%;
}
.slot.near span { color: var(--ink); }
.slot.win span {
  color: var(--gold-hi); font-size: 44px;
  text-shadow: 0 0 40px rgba(var(--accent-rgb), .8);
}
.hub {
  position: absolute; left: 50%; top: 50%; width: 96px; height: 96px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--bg-2); border: 2px solid rgba(201,211,224,.24);
}
.needle {
  position: absolute; left: 50%; top: -18px; z-index: 4;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-top: 46px solid var(--gold);
  filter: drop-shadow(0 0 18px rgba(var(--accent-rgb), .7));
}
.roul-result { text-align: center; opacity: 0; min-height: 110px; }
.roul-result.on { animation: fade-up calc(.7s * var(--t)) cubic-bezier(.16,1,.3,1) both; }
.roul-result .m { font-size: 38px; font-weight: 700; color: var(--silver); }
.roul-result .w { font-size: 30px; color: var(--ink-dim); margin-top: 6px; }

/* ============ 10. 소거법 ============ */
.sc-elim { grid-template-rows: auto 1fr auto auto; gap: 20px; align-content: center; }
.sc-elim .head { text-align: center; }
.sc-elim .head .category-name { font-size: 62px; }
.elim-field {
  display: flex; flex-wrap: wrap; gap: 14px 40px;
  align-items: center; justify-content: center; align-content: center;
  width: 100%; transition: font-size .6s cubic-bezier(.16,1,.3,1);
}
.elim-name {
  font-size: 1em; font-weight: 800; letter-spacing: -.01em; white-space: nowrap;
  color: var(--ink); opacity: 0;
  transition: opacity .42s ease, transform .42s ease, filter .42s ease, color .42s ease;
}
.elim-name.in { opacity: .92; }
.elim-name.out { opacity: 0; transform: translateY(18px) scale(.8); filter: blur(6px); }
.elim-name.gone { display: none; }
.elim-name.champion {
  opacity: 1; color: var(--gold-hi);
  text-shadow: 0 0 60px rgba(var(--accent-rgb), .7);
}
.elim-count { text-align: center; font-size: 30px; color: var(--ink-dim); letter-spacing: .16em; }
.elim-count b { font-size: 44px; color: var(--gold); font-variant-numeric: tabular-nums; }
.elim-count.hide { opacity: 0; transition: opacity .4s; }
.elim-result { text-align: center; opacity: 0; min-height: 120px; }
.elim-result.on { animation: fade-up calc(.7s * var(--t)) cubic-bezier(.16,1,.3,1) both; }
.elim-result .m { font-size: 40px; font-weight: 700; color: var(--silver); }
.elim-result .w { font-size: 32px; color: var(--ink-dim); margin-top: 8px; }

/* ============ 11. 전광판 ============ */
.sc-flap { grid-template-rows: auto 1fr auto; gap: 30px; align-content: center; justify-items: center; }
.sc-flap .head { text-align: center; }
.sc-flap .head .category-name { font-size: 62px; }
.board {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  max-width: 100%; perspective: 900px;
}
.cell {
  width: var(--cell); height: calc(var(--cell) * 1.32);
  display: grid; place-items: center;
  background: linear-gradient(180deg, #1a2438 0 50%, #121a2b 50% 100%);
  border: 1px solid #2c3a56; border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  position: relative; overflow: hidden;
}
.cell::after {                       /* 접히는 가운데 선 */
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px;
  background: rgba(0,0,0,.55);
}
.cell .glyph {
  font-style: normal; font-weight: 800;
  font-size: calc(var(--cell) * 0.72); line-height: 1;
  color: #dfe8f7;
}
.cell.flip .glyph { animation: flap .13s ease-out; }
@keyframes flap {
  0%   { transform: rotateX(-72deg); opacity: .35; }
  100% { transform: rotateX(0deg); opacity: 1; }
}
.cell.locked {
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .3) 0 50%, rgba(var(--accent-rgb), .16) 50% 100%);
  border-color: var(--gold);
  box-shadow: 0 0 40px rgba(var(--accent-rgb), .35);
}
.cell.locked .glyph { color: #fff; text-shadow: 0 0 26px rgba(var(--accent-rgb), .8); }
.flap-result { text-align: center; opacity: 0; min-height: 120px; }
.flap-result.on { animation: fade-up calc(.7s * var(--t)) cubic-bezier(.16,1,.3,1) both; }
.flap-result .m { font-size: 40px; font-weight: 700; color: var(--silver); }
.flap-result .w { font-size: 32px; color: var(--ink-dim); margin-top: 8px; }

/* ============ 12. 작품 먼저 ============ */
.sc-wf { text-align: center; }
.sc-wf .wf-cat { font-size: 40px; font-weight: 800; color: var(--gold); letter-spacing: .24em; margin-top: 18px; }
.sc-wf .wf-label { font-size: 28px; letter-spacing: .34em; color: var(--ink-dim); margin: 54px 0 22px; }
.sc-wf .wf-work {
  font-size: 96px; font-weight: 700; line-height: 1.24; max-width: 1520px; margin: 0 auto;
  animation: work-in calc(1.3s * var(--t)) cubic-bezier(.16,1,.3,1) both;
}
.sc-wf .wf-work.small { font-size: 52px; color: var(--ink-dim); font-weight: 600; }
.sc-wf .wf-mask {
  margin-top: 60px; font-size: 62px; font-weight: 900; color: var(--gold); letter-spacing: .5em;
  animation: mystery calc(1.5s * var(--t)) ease-in-out infinite;
}
.sc-wf .wf-team {
  font-size: 156px; font-weight: 900; letter-spacing: -.03em; line-height: 1.05;
  background: linear-gradient(180deg, #fff, var(--gold-hi) 48%, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: boom calc(.85s * var(--t)) cubic-bezier(.15,1.7,.35,1) both;
}
.sc-wf.open .sch.big { margin-top: 40px; margin-bottom: 8px; }
.sc-wf .members { margin-top: 26px; font-size: 48px; color: var(--ink); }

/* ============ 13. 봉투 ============ */
/* 무대 위의 종이는 "밝은 물체"여야 합니다. 배경만 어둡게 두고
   봉투·카드는 실제 종이색으로 둡니다. 어두운 카드는 안 읽힙니다. */
.sc-env { align-content: center; gap: 16px; }
.sc-env .env-head { text-align: center; }
.sc-env .env-head .category-name { font-size: 64px; margin-top: 8px; }

/* 치수가 서로 물려 있습니다. 하나를 고치면 나머지도 같이 고쳐야 합니다.
     카드 폭(1180)      <  봉투 몸통 폭(1260)  — 아니면 닫힌 봉투 옆으로 카드가 삐져나옵니다
     카드 아래끝(370)   <= 몸통 윗변(390)      — 아니면 열린 카드의 마지막 줄이 가립니다
     내려간 카드(410~780) 는 몸통(390~760) + 스테이지 클리핑에 완전히 가립니다 */
.env-stage {
  position: relative; width: 1400px; height: 760px;
  perspective: 2400px; overflow: hidden;
}

/* 카드 — 봉투 안에 들어 있다가 위로 올라옵니다 */
.env-card {
  position: absolute; left: 110px; top: 0; width: 1180px; height: 370px;
  z-index: 1; border-radius: 8px; text-align: center;
  display: grid; align-content: center; padding: 24px 60px;
  background: linear-gradient(178deg, #fdfaf1, #f0e7d3);
  box-shadow: 0 26px 64px rgba(0,0,0,.6);
  color: #171a22;
  transform: translateY(410px);
  transition: transform calc(1s * var(--t)) cubic-bezier(.16,1,.3,1);
}
.env-stage.pulled .env-card { transform: translateY(0); }
.env-card .rule {
  height: 3px; width: 240px; margin: 0 auto 20px;
  background: linear-gradient(90deg, transparent, #a8842c, transparent);
}
.env-card .lbl  { font-size: 24px; font-weight: 700; letter-spacing: .5em; color: #7d8496; margin-top: 16px; }
.env-card .sch  { font-size: 30px; color: #56607a; opacity: 1; margin-top: 8px; }
.env-card .team { font-weight: 900; letter-spacing: -.02em; line-height: 1.08; margin-top: 6px; }
.env-card .mem  { font-size: 34px; font-weight: 700; color: #3c4459; margin-top: 10px; }
.env-card .wrk  { font-size: 30px; color: #6b7285; margin-top: 8px; }

/* 봉투 앞주머니 — 카드는 이 뒤에 숨습니다 */
.env-pocket {
  position: absolute; left: 70px; top: 390px; width: 1260px; height: 370px; z-index: 3;
  background: linear-gradient(180deg, #ded4bd, #c6ba9d);
  border-radius: 4px 4px 12px 12px;
  box-shadow: 0 -12px 44px rgba(0,0,0,.45), inset 0 2px 0 rgba(255,255,255,.45);
}
/* 앞면 아래 덮개. 위 덮개(.env-flap)와 만나 봉투 모양이 완성됩니다.
   전에는 대각선 두 줄을 몸통 전체에 그었더니 X자가 되어 "깨진 이미지 상자"처럼 보였습니다. */
.env-pocket::before {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(0 100%, 50% 24%, 100% 100%);
  background: linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,.05));
}

/* 덮개 — 위쪽 모서리를 축으로 젖혀집니다 */
.env-flap {
  position: absolute; left: 70px; top: 390px; width: 1260px; height: 232px; z-index: 4;
  background: linear-gradient(180deg, #e9dfc9, #d2c7ab);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center; transform: rotateX(0deg);
  transition: transform calc(.55s * var(--t)) cubic-bezier(.4,.05,.35,1);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.45));
}
.env-stage.opened .env-flap { transform: rotateX(-176deg); }
/* 다 젖혀진 뒤에야 카드보다 뒤로 보냅니다 — 젖혀지는 동안은 앞에 있어야 자연스럽습니다 */
.env-stage.flapback .env-flap { z-index: 0; }

/* 왁스 씰 */
.env-seal {
  position: absolute; left: 646px; top: 556px; width: 108px; height: 108px; z-index: 5;
  border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 36% 30%, #d8503f, #8e2418 70%);
  box-shadow: 0 8px 22px rgba(0,0,0,.5), inset 0 -4px 10px rgba(0,0,0,.35);
}
.env-seal span { font-size: 52px; color: #ffdcae; line-height: 1; }
.env-stage.cracked .env-seal { animation: seal-break calc(.62s * var(--t)) ease-in forwards; }
@keyframes seal-break {
  0%   { transform: none; opacity: 1; }
  22%  { transform: rotate(-7deg) scale(1.07); }
  100% { transform: rotate(16deg) translateY(70px) scale(.92); opacity: 0; }
}

/* ============ 14. 금고 ============ */
.sc-vault { grid-template-rows: auto auto; gap: 26px; align-content: center; justify-items: center; }
.sc-vault .head { text-align: center; }
.sc-vault .head .category-name { font-size: 74px; }

.vault-stage { position: relative; width: 1320px; height: 620px; perspective: 2600px; }

/* 문 뒤 — 열리면 보이는 안쪽 */
.vault-inner {
  position: absolute; inset: 0; border-radius: 16px;
  display: grid; place-items: center; text-align: center; padding: 40px 70px;
  background:
    radial-gradient(ellipse 700px 420px at 50% 50%, rgba(var(--accent-rgb), .18), transparent 72%),
    linear-gradient(180deg, #0c1120, #060911);
  box-shadow: inset 0 0 0 12px #1b2234, inset 0 0 0 14px #0a0e1a, inset 0 0 90px rgba(0,0,0,.85);
  opacity: .25;
  transition: opacity calc(.6s * var(--t)) ease;
}
.vault-stage.open .vault-inner { opacity: 1; }
.vault-inner .vteam {
  font-size: 128px; font-weight: 900; letter-spacing: -.03em; line-height: 1.05;
  background: linear-gradient(180deg, #fff, var(--gold-hi) 48%, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.vault-stage.open .vault-inner .vteam { animation: boom calc(.8s * var(--t)) cubic-bezier(.15,1.7,.35,1) both; }
.vault-inner .members { margin-top: 20px; font-size: 42px; }
.vault-inner .vwork { margin-top: 16px; font-size: 34px; color: var(--ink-dim); }

/* 문 */
.vault-door {
  position: absolute; inset: 0; z-index: 2; border-radius: 16px;
  transform-origin: left center; transform: rotateY(0deg);
  transition: transform calc(1.1s * var(--t)) cubic-bezier(.3,.05,.2,1);
  background:
    radial-gradient(ellipse 900px 520px at 28% 18%, rgba(255,255,255,.10), transparent 62%),
    linear-gradient(118deg, #2f3850 0%, #56617e 34%, #252c3f 62%, #454f69 100%);
  border: 3px solid #5b6580;
  box-shadow: 0 26px 70px rgba(0,0,0,.6), inset 0 2px 0 rgba(255,255,255,.16);
  display: grid; grid-template-rows: auto 1fr auto; place-items: center;
  padding: 42px 0 34px;
}
.vault-stage.open .vault-door { transform: rotateY(-112deg); }
.vault-door::before {
  content: ""; position: absolute; inset: 22px; border-radius: 10px;
  border: 2px solid rgba(201,211,224,.16);
}

.vault-code { display: flex; gap: 22px; }
.vault-code .cell {
  font-family: "Consolas", "D2Coding", "Courier New", monospace;
  font-size: 72px; font-weight: 700; line-height: 1;
  width: 150px; padding: 16px 0; text-align: center;
  color: var(--ink-dim);
  background: #0b0f1b; border: 2px solid #4b5670; border-radius: 10px;
  text-shadow: 0 0 22px rgba(143,160,189,.5);
}
.vault-code .cell.set {
  color: var(--gold-hi); border-color: rgba(var(--accent-rgb), .6);
  text-shadow: 0 0 30px rgba(var(--accent-rgb), .7);
}
.vault-code .cell.miss { color: #ff8a80; border-color: #c0453c; text-shadow: 0 0 30px rgba(192,69,60,.7); }

/* 다이얼 */
.vault-dial {
  position: relative; width: 300px; height: 300px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #39425a 0 41%, transparent 41.5%),
    repeating-conic-gradient(from 0deg, rgba(201,211,224,.55) 0deg 1deg, transparent 1deg 9deg),
    radial-gradient(circle at 38% 32%, #5d6885, #262d40 72%);
  box-shadow: 0 14px 34px rgba(0,0,0,.55), inset 0 0 0 8px #39425a;
}
.vault-dial.spin { animation: vault-spin calc(1.1s * var(--t)) linear infinite; }
@keyframes vault-spin { to { transform: rotate(360deg); } }
.vault-dial .hub {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px;
  transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle at 36% 30%, #8a95b0, #333c53);
}
/* 다이얼이 어디를 보고 있는지 — 감속이 눈에 보여야 합니다 */
.vault-dial .mark {
  position: absolute; left: 50%; top: 14px; width: 8px; height: 74px;
  transform: translateX(-50%);
  border-radius: 4px; background: var(--gold);
  box-shadow: 0 0 18px rgba(var(--accent-rgb), .8);
}
/* 고정 바늘 */
.vault-needle {
  position: absolute; left: 50%; top: 168px; transform: translateX(-50%);
  width: 0; height: 0; z-index: 3;
  border-left: 13px solid transparent; border-right: 13px solid transparent;
  border-top: 22px solid var(--gold-hi);
}

.vault-lamp {
  font-size: 26px; font-weight: 800; letter-spacing: .4em;
  padding: 9px 26px; border-radius: 999px;
  color: #ffb3ae; border: 2px solid #c0453c; background: rgba(192,69,60,.14);
}
.vault-stage.unlocked .vault-lamp {
  color: var(--gold-hi); border-color: rgba(var(--accent-rgb), .7); background: rgba(var(--accent-rgb), .14);
}
/* 니어미스 — 화면이 한 번 튑니다 */
.vault-stage.nearmiss .vault-door { animation: vault-jolt calc(.4s * var(--t)) ease-out; }
@keyframes vault-jolt {
  0%, 100% { transform: none; }
  25% { transform: translateX(-9px); }
  60% { transform: translateX(6px); }
}

/* ============ 15. 배송 조회 ============ */
.sc-dlv { grid-template-rows: auto auto; gap: 30px; align-content: center; justify-items: center; }
.sc-dlv .head { text-align: center; }
.sc-dlv .head .category-name { font-size: 74px; }

.dlv-slip {
  position: relative; width: 1500px; padding: 44px 56px 38px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(201,211,224,.24);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.dlv-rows { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 16px 30px; align-items: baseline; }
.dlv-rows .k { font-size: 28px; font-weight: 700; letter-spacing: .16em; color: var(--ink-dim); }
.dlv-rows .v { font-size: 38px; font-weight: 600; line-height: 1.3; }
.dlv-rows .v em { font-style: normal; color: var(--ink-dim); font-size: 32px; }
.dlv-rows .v.mono {
  font-family: "Consolas", "D2Coding", "Courier New", monospace;
  letter-spacing: .1em; color: var(--silver);
}

/* 받는 분 — 여기만 가려 둡니다 */
.dlv-rows .recv { position: relative; min-height: 82px; }
.dlv-rows .recv .mask {
  font-size: 58px; font-weight: 900; color: var(--gold); letter-spacing: .3em;
  animation: mystery calc(1.5s * var(--t)) ease-in-out infinite;
}
.dlv-rows .recv .real { display: none; font-size: 76px; font-weight: 900; letter-spacing: -.02em; }
.dlv-rows .recv .real .sch { display: block; font-style: normal; font-size: 28px; margin-bottom: 6px; }
.dlv-slip.opened .recv .mask { display: none; }
.dlv-slip.opened .recv .real {
  display: block;
  animation: boom calc(.75s * var(--t)) cubic-bezier(.15,1.7,.35,1) both;
  background: linear-gradient(180deg, #fff, var(--gold-hi) 52%, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* 배송 진행바 */
/* 선과 점의 좌표를 맞춥니다. 4칸 그리드에서 점 중심은 12.5% / 37.5% / 62.5% / 87.5%,
   그래서 선도 12.5%~87.5% 로 긋습니다. 예전엔 선만 고정 여백이라 점이 선 밖에 있었습니다. */
.dlv-track { position: relative; margin-top: 44px; }
.dlv-track .bar {
  position: absolute; left: 12.5%; right: 12.5%; top: 28px; height: 8px;
  background: rgba(201,211,224,.18); border-radius: 999px;
}
.dlv-track .fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 66.67%;   /* 3번째 점 */
  border-radius: 999px; background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  transition: width calc(1.1s * var(--t)) cubic-bezier(.16,1,.3,1);
}
.dlv-track .truck {
  position: absolute; top: -52px; left: 66.67%; font-style: normal; font-size: 58px;
  transform: translateX(-50%);
  transition: left calc(1.1s * var(--t)) cubic-bezier(.16,1,.3,1);
}
.dlv-slip.moving .truck { animation: truck-idle calc(.9s * var(--t)) ease-in-out infinite; }
@keyframes truck-idle {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-6px); }
}
.dlv-slip.arrived .fill  { width: 100%; }
.dlv-slip.arrived .truck { left: 100%; animation: none; transform: translateX(-50%); }

.dlv-track .nodes { display: grid; grid-template-columns: repeat(4, 1fr); }
.dlv-track .node { text-align: center; opacity: .38; }
.dlv-track .node .dot {
  display: block; width: 20px; height: 20px; margin: 22px auto 14px; border-radius: 50%;
  background: var(--ink-dim); position: relative; z-index: 1;
}
.dlv-track .node b { display: block; font-size: 30px; font-weight: 700; }
.dlv-track .node span {
  display: block; font-size: 24px; color: var(--ink-dim); margin-top: 6px;
  font-family: "Consolas", "D2Coding", "Courier New", monospace;
}
.dlv-track .node.on { opacity: 1; }
.dlv-track .node.on .dot { background: var(--gold); box-shadow: 0 0 20px rgba(var(--accent-rgb), .8); }
.dlv-track .node.pending { opacity: .85; animation: mystery calc(1.2s * var(--t)) ease-in-out infinite; }

.dlv-memo { margin-top: 30px; font-size: 26px; color: var(--ink-dim); letter-spacing: .06em; }
.dlv-memo b { color: var(--silver); }

/* 배송완료 도장 */
/* 오른쪽 아래 빈 자리에 찍습니다. 위쪽에 두면 상품명 줄을 덮습니다. */
.dlv-stamp {
  position: absolute; right: 90px; top: 250px; z-index: 2;
  font-size: 54px; font-weight: 900; letter-spacing: .1em;
  padding: 14px 30px; border: 6px solid #d9534f; border-radius: 12px;
  color: #ff9a95; transform: rotate(-13deg) scale(2.4); opacity: 0;
}
.dlv-slip.stamped .dlv-stamp { animation: stamp-slam calc(.42s * var(--t)) cubic-bezier(.2,1.5,.4,1) forwards; }
@keyframes stamp-slam {
  0%   { transform: rotate(-13deg) scale(2.4); opacity: 0; }
  70%  { opacity: 1; }
  100% { transform: rotate(-13deg) scale(1); opacity: 1; }
}

/* ============ 16. 각인 ============ */
/* 이 씬만 컨페티·플래시·긴장게이지를 쓰지 않습니다. engrave.js 머리말 참고. */
.sc-eng { align-content: center; gap: 30px; }
.sc-eng .eng-head { text-align: center; }

.eng-plate {
  position: relative; width: 1500px; padding: 60px 80px 66px; text-align: center;
  border-radius: 8px; overflow: hidden;
  background:
    repeating-linear-gradient(96deg, rgba(255,255,255,.045) 0 2px, transparent 2px 5px),
    linear-gradient(160deg, #4a5366, #262d3c 45%, #414a5e);
  box-shadow:
    0 26px 60px rgba(0,0,0,.6),
    inset 0 2px 0 rgba(255,255,255,.22),
    inset 0 -2px 0 rgba(0,0,0,.5);
  border: 2px solid #566076;
}
/* 안쪽 음각 테두리 */
.eng-plate::before {
  content: ""; position: absolute; inset: 22px; border-radius: 4px;
  border: 2px solid rgba(0,0,0,.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}
.eng-cat {
  font-size: 40px; font-weight: 800; letter-spacing: .34em; color: #9aa6bd;
  text-shadow: 0 1px 0 rgba(255,255,255,.18), 0 -1px 0 rgba(0,0,0,.6);
}
.eng-rule {
  height: 2px; width: 300px; margin: 28px auto 34px;
  background: linear-gradient(90deg, transparent, rgba(201,211,224,.6), transparent);
}
.eng-sch { font-size: 34px; font-weight: 700; letter-spacing: .26em; color: #8fa0bd; margin-bottom: 16px; }

.eng-team { line-height: 1.12; font-weight: 900; letter-spacing: .02em; }
.eng-team .ch {
  display: inline-block; font-style: normal; opacity: 0;
  transform: scale(1.14); filter: blur(5px);
  color: #cdd7e6;
  text-shadow: 0 2px 0 rgba(0,0,0,.75), 0 -1px 0 rgba(255,255,255,.28);
}
.eng-team .ch.cut { animation: engrave-cut calc(.5s * var(--t)) cubic-bezier(.16,1,.3,1) forwards; }
@keyframes engrave-cut {
  0%   { opacity: 0; transform: scale(1.14); filter: blur(5px); }
  55%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

.eng-mem  { font-size: 40px; font-weight: 700; color: #aab6cb; margin-top: 30px; opacity: 0; }
.eng-work { font-size: 32px; color: #8592a8; margin-top: 14px; opacity: 0; }
.eng-plate.done .eng-mem  { animation: fade-up calc(1.4s * var(--t)) ease both; }
.eng-plate.done .eng-work { animation: fade-up calc(1.4s * var(--t)) ease both; animation-delay: calc(.3s * var(--t)); }

/* 광택이 판을 한 번 훑고 지나갑니다 — 이 씬의 유일한 화려함입니다 */
.eng-sheen {
  position: absolute; top: 0; bottom: 0; left: -40%; width: 34%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.26), transparent);
  transform: skewX(-16deg); opacity: 0; pointer-events: none;
}
.eng-plate.polished .eng-sheen { animation: eng-sheen calc(1.7s * var(--t)) ease-in-out forwards; }
@keyframes eng-sheen {
  0%   { left: -40%; opacity: 0; }
  20%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { left: 116%; opacity: 0; }
}

/* ============ 17. 속보 ============ */
.sc-news { grid-template-rows: auto 1fr; gap: 0; align-content: stretch; padding: 70px 90px 220px; }

.news-top { display: flex; align-items: center; gap: 26px; width: 100%; }
.news-top .badge {
  font-size: 38px; font-weight: 900; letter-spacing: .2em; color: #fff;
  background: #d0342c; padding: 12px 28px; border-radius: 6px;
  transform-origin: left;
  animation: news-band calc(.5s * var(--t)) cubic-bezier(.16,1,.3,1) both;
}
@keyframes news-band { from { transform: scaleX(.15); opacity: 0; } to { transform: none; opacity: 1; } }
.news-top .kicker { font-size: 40px; font-weight: 800; color: var(--gold); letter-spacing: .1em; }
.news-top .clock {
  margin-left: auto; font-size: 34px; color: var(--ink-dim);
  font-family: "Consolas", "D2Coding", "Courier New", monospace; letter-spacing: .08em;
}

.news-main { display: grid; align-content: center; justify-items: center; text-align: center; gap: 40px; width: 100%; }
.news-head {
  font-size: 62px; font-weight: 700; min-height: 78px; color: var(--ink);
  border-right: 4px solid var(--gold); padding-right: 10px;
  animation: news-caret calc(1s * var(--t)) step-end infinite;
}
@keyframes news-caret { 0%, 55% { border-right-color: var(--gold); } 56%, 100% { border-right-color: transparent; } }
.news-mask {
  font-size: 96px; font-weight: 900; color: var(--gold); letter-spacing: .3em;
  animation: mystery calc(1.5s * var(--t)) ease-in-out infinite;
}
.news-team { display: none; }
.sc-news.out .news-mask { display: none; }
.sc-news.out .news-team { display: block; }
.news-team .tname {
  font-size: 150px; font-weight: 900; letter-spacing: -.03em; line-height: 1.04;
  background: linear-gradient(180deg, #fff, var(--gold-hi) 48%, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: boom calc(.8s * var(--t)) cubic-bezier(.15,1.7,.35,1) both;
}
.news-team .members { margin-top: 24px; font-size: 44px; }

/* 하단 자막바 */
.news-lower {
  position: absolute; left: 0; right: 0; bottom: 74px;
  display: flex; align-items: stretch; font-size: 34px;
}
.news-lower .src {
  background: #d0342c; color: #fff; font-weight: 800; letter-spacing: .1em;
  padding: 16px 34px; white-space: nowrap; max-width: 620px; overflow: hidden; text-overflow: ellipsis;
}
.news-lower .cap {
  flex: 1; min-width: 0; background: rgba(10,14,26,.9);
  border-top: 1px solid rgba(201,211,224,.2); border-bottom: 1px solid rgba(201,211,224,.2);
  padding: 16px 34px; color: var(--silver);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 흐르는 티커 */
.news-ticker {
  position: absolute; left: 0; right: 0; bottom: 0; height: 62px; overflow: hidden;
  background: #11182a; border-top: 2px solid #d0342c;
  display: flex; align-items: center;
}
.news-ticker i {
  font-style: normal; white-space: nowrap; font-size: 32px; font-weight: 700;
  color: var(--silver); letter-spacing: .06em;
  animation: news-roll calc(26s * var(--t)) linear infinite;
}
@keyframes news-roll { from { transform: translateX(0); } to { transform: translateX(-33.33%); } }
.sc-news.out .news-ticker i { color: var(--gold-hi); }
