/* REACH Live — viewer styles. System fonts only (no external font CDNs; works in mainland China). */
:root {
  --bg: #0b0b0c;
  --surface: #141416;
  --line: #26262a;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --faint: #71717a;
  --accent: #d71920; /* REACH red — replace with the exact brand value from the official logo files */
  --ok: #22c55e;
  --warn: #eab308;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; display: flex; flex-direction: column; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Header */
.bar { display: flex; align-items: center; justify-content: space-between; padding: 18px max(20px, env(safe-area-inset-left)) 18px max(20px, env(safe-area-inset-right)); max-width: 1280px; width: 100%; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand-logo { height: 22px; width: auto; display: block; }
.brand-divider { width: 1px; height: 18px; background: var(--line); }
.brand-live { font-size: 15px; letter-spacing: .02em; color: var(--muted); font-weight: 500; }
.bar-right { display: flex; align-items: center; gap: 16px; }
.text-btn { background: none; border: 0; color: var(--muted); font-size: 14px; cursor: pointer; padding: 6px 2px; }
.text-btn:hover { color: var(--text); }
.pill { font-size: 12px; font-weight: 600; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.pill.live { color: #fff; background: var(--accent); border-color: var(--accent); }
.pill.live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #fff; margin-right: 7px; vertical-align: 1px; }

/* Layout */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left)); flex: 1; }
.test-banner { margin: 0 0 12px; padding: 10px 14px; border: 1px solid #3f3f46; border-radius: 10px; color: var(--muted); font-size: 14px; }

/* Stage (16:9) */
.stage { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
@supports not (aspect-ratio: 16 / 9) { .stage { height: 0; padding-top: 56.25%; } }
.stage video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; object-fit: contain; }
.stage iframe.yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.stage:fullscreen { border-radius: 0; border: 0; }

.panel { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--surface); }
.panel.overlay { background: rgba(11, 11, 12, .82); }
.panel-art { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; }
.panel-inner { position: relative; padding: clamp(16px, 4vw, 48px); max-width: 760px; }
.eyebrow { margin: 0 0 10px; font-size: clamp(11px, 1.3vw, 13px); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.panel-title { margin: 0; font-size: clamp(22px, 4.2vw, 48px); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; }
.panel-title.small { font-size: clamp(18px, 2.8vw, 30px); }
.panel-meta { margin: 12px 0 0; color: var(--muted); font-size: clamp(13px, 1.6vw, 17px); }
.panel-local { margin: 0; color: var(--text); font-size: clamp(12px, 1.4vw, 15px); }
.panel-msg { margin: 10px auto 0; color: var(--muted); font-size: clamp(12px, 1.4vw, 15px); max-width: 52ch; line-height: 1.5; }
.panel-logo { height: clamp(24px, 4vw, 40px); width: auto; margin-bottom: clamp(12px, 2.4vw, 28px); }
.countdown { display: flex; justify-content: center; gap: clamp(14px, 4vw, 44px); margin: clamp(16px, 3.4vw, 40px) 0 clamp(10px, 2vw, 22px); font-variant-numeric: tabular-nums; }
.countdown div { display: flex; flex-direction: column; align-items: center; min-width: 2ch; }
.countdown span { font-size: clamp(26px, 6vw, 68px); font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.countdown small { margin-top: 8px; font-size: clamp(9px, 1.1vw, 12px); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.countdown.done { display: none; }
.tagline { margin: 18px 0 0; color: var(--muted); font-size: 14px; letter-spacing: .02em; }
.tagline::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--accent); vertical-align: middle; margin-right: 10px; }

.spinner { display: inline-block; width: 28px; height: 28px; border: 2px solid var(--line); border-top-color: var(--text); border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 16px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Access code */
.code-row { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }
.code-row input { width: min(240px, 52vw); background: #0b0b0c; border: 1px solid #3f3f46; border-radius: 10px; color: var(--text); font-size: 18px; padding: 12px 14px; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
.code-row input:focus { outline: 2px solid var(--text); outline-offset: 1px; }
.btn { background: var(--text); color: #000; border: 0; border-radius: 10px; padding: 12px 20px; font-weight: 600; cursor: pointer; }
.btn:hover { background: #fff; }
.form-error { min-height: 1.4em; margin: 12px 0 0; color: #fca5a5; font-size: 14px; }

/* Player chrome */
.unmute { position: absolute; left: 16px; top: 16px; z-index: 4; background: rgba(0, 0, 0, .72); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 10px 16px; font-size: 15px; cursor: pointer; }
.bigplay { position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .25); cursor: pointer; display: grid; place-items: center; }
.controls { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 6px; padding: 28px 12px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); transition: opacity .25s; }
.stage.idle .controls { opacity: 0; }
.stage.idle { cursor: none; }
.ctl { width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; border-radius: 8px; cursor: pointer; }
.ctl svg { width: 22px; height: 22px; }
.ctl:hover, .ctl:focus-visible { background: rgba(255, 255, 255, .12); outline: none; }
.vol { width: 90px; accent-color: #fff; }
.live-chip { margin-left: 8px; display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; cursor: pointer; color: var(--muted); padding: 6px 8px; border-radius: 6px; }
.live-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.live-chip.at-edge { color: #fff; }
.live-chip.at-edge .dot { background: var(--accent); }
.ctl-spacer { flex: 1; }
.quality select { background: rgba(0, 0, 0, .5); color: var(--text); border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; padding: 6px 8px; font-size: 13px; }
@media (max-width: 560px) { .vol { display: none; } .controls { padding: 24px 6px 6px; } }

/* Reactions */
.reaction-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; }
.float { position: absolute; bottom: 64px; font-size: 26px; animation: rise 2.6s ease-out forwards; }
@keyframes rise { from { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } to { transform: translateY(-260px); opacity: 0; } }
/* The holding, thank-you and code screens already carry the title and tagline. */
.phase-scheduled .info, .phase-ended .info, .phase-locked .info, .phase-none .info { display: none; }
.phase-scheduled .foot .tagline, .phase-ended .foot .tagline { display: none; }
.bg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
html:not([data-bg="none"]) .lux-slash { display: none; }
@media (prefers-reduced-motion: reduce) { .float { animation-duration: .01s; } .spinner { animation: none; } }

/* Info row */
.info { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 22px 0 8px; flex-wrap: wrap; }
.info h1 { margin: 0; font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; letter-spacing: -.01em; }
.info-meta { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.info-side { display: flex; align-items: center; gap: 18px; }
.viewers { margin: 0; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.reactions { display: flex; gap: 6px; }
.reactions button { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); cursor: pointer; font-size: 20px; }
.reactions button:hover { border-color: #3f3f46; }
.reactions button:active { transform: scale(.94); }

.foot { text-align: center; padding: 36px 20px max(28px, env(safe-area-inset-bottom)); }
.foot .tagline { margin: 0; }
.fine { color: var(--faint); font-size: 12px; margin: 10px auto 0; max-width: 60ch; line-height: 1.5; }

/* ---------- Holding screen: quiet luxury ----------
   Charcoal depth, a fine film grain, viewfinder corner marks, and a slow red hairline that echoes the
   slash in the REACH logo. All CSS, no images or fonts to download (light for China). */
.lux-panel { background: #0f0f11; overflow: hidden; }
.lux { position: absolute; inset: 0; pointer-events: none; }
.lux-glow { position: absolute; inset: -20%; background: radial-gradient(60% 50% at 50% 38%, rgba(255,255,255,.065), rgba(255,255,255,0) 70%), radial-gradient(40% 35% at 78% 88%, rgba(215,25,32,.07), rgba(215,25,32,0) 70%); }
.lux-slash { position: absolute; left: -30%; top: 64%; width: 160%; height: 1px; transform: rotate(-9deg); background: linear-gradient(90deg, rgba(215,25,32,0) 0%, rgba(215,25,32,.0) 22%, rgba(215,25,32,.85) 50%, rgba(215,25,32,0) 78%); opacity: .55; animation: sweep 14s ease-in-out infinite alternate; }
.lux-slash.two { top: 70%; transform: rotate(-9deg); background: linear-gradient(90deg, rgba(255,255,255,0) 15%, rgba(255,255,255,.22) 50%, rgba(255,255,255,0) 85%); opacity: .35; animation-duration: 19s; animation-direction: alternate-reverse; }
@keyframes sweep { from { translate: -14% 0; } to { translate: 14% 0; } }
.lux-grain { position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay; 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.lux .c { position: absolute; width: 18px; height: 18px; border-color: rgba(255,255,255,.22); border-style: solid; border-width: 0; }
.lux .tl { top: 18px; left: 18px; border-top-width: 1px; border-left-width: 1px; }
.lux .tr { top: 18px; right: 18px; border-top-width: 1px; border-right-width: 1px; }
.lux .bl { bottom: 18px; left: 18px; border-bottom-width: 1px; border-left-width: 1px; }
.lux .br { bottom: 18px; right: 18px; border-bottom-width: 1px; border-right-width: 1px; }
.panel-logo.hero { height: clamp(22px, 3.2vw, 36px); margin-bottom: clamp(14px, 2.4vw, 26px); opacity: .96; }
.lux-panel .eyebrow { letter-spacing: .32em; font-size: clamp(10px, 1.1vw, 12px); color: #8b8b93; }
.lux-panel .panel-title { font-weight: 500; letter-spacing: -.025em; }
.lux-panel .countdown { gap: 0; }
.lux-panel .countdown div { padding: 0 clamp(14px, 3.4vw, 40px); position: relative; }
.lux-panel .countdown div + div::before { content: ""; position: absolute; left: 0; top: 12%; height: 58%; width: 1px; background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.16), rgba(255,255,255,0)); }
.lux-panel .countdown span { font-weight: 200; }
.countdown .sec.tick { animation: tick .7s ease-out; }
@keyframes tick { from { opacity: .45; } to { opacity: 1; } }
.lux-panel .panel-inner { max-width: 1040px; }
.lux-panel .panel-msg { max-width: 52ch; }
.clocks { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0 auto clamp(10px, 1.6vw, 16px); padding: 0; }
.clocks li { display: flex; align-items: baseline; gap: 8px; padding: 7px 14px; border: 1px solid rgba(255,255,255,.09); border-radius: 999px; background: rgba(255,255,255,.025); font-size: clamp(11px, 1.25vw, 13px); color: var(--muted); }
.clocks b { font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.clocks em { font-style: normal; color: var(--faint); }
.tagline.in-panel { margin-top: clamp(14px, 2.4vw, 26px); font-size: clamp(12px, 1.3vw, 14px); }
.rise > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.rise > *:nth-child(2) { animation-delay: .06s; } .rise > *:nth-child(3) { animation-delay: .12s; } .rise > *:nth-child(4) { animation-delay: .18s; } .rise > *:nth-child(5) { animation-delay: .24s; } .rise > *:nth-child(n+6) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lux-slash, .rise > *, .countdown .sec.tick { animation: none !important; } }

/* The one line people need: the video starts by itself */
.panel-auto { margin: 14px auto 0; font-size: clamp(15px, 1.7vw, 19px); font-weight: 600; color: var(--text); letter-spacing: -.005em; }
.panel-auto::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: 2px; animation: autoPulse 2s ease-in-out infinite; }
@keyframes autoPulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .panel-auto::before { animation: none; } }

/* On small phones, give the holding screen room by letting the stage grow taller */
@media (max-width: 560px) {
  .stage.tall { aspect-ratio: auto; }
  .stage.tall .panel { position: relative; padding: 44px 0; }
  .lux-panel .countdown div { padding: 0 12px; }
  /* Phone: no framed card; the holding screen sits full-bleed on the stage lights */
  .stage.tall { margin: 0 calc(-1 * max(20px, env(safe-area-inset-left))); width: auto; border: 0; border-radius: 0; background: transparent; }
  .stage.tall .lux-panel { min-height: calc(100svh - 150px); padding: 28px 0 40px; background: transparent; }
  .lux .c { display: none; }
  .lux-panel .panel-inner { padding: 0 18px; width: 100%; }
  .lux-panel .panel-title { font-weight: 700; white-space: nowrap; font-size: min(5.9vw, 30px); letter-spacing: -.03em; }
  .lux-panel .countdown { margin: 26px 0 20px; }
  .lux-panel .countdown span { font-weight: 600; font-size: min(11.5vw, 48px); letter-spacing: -.04em; }
  .lux-panel .countdown small { font-size: 9px; letter-spacing: .18em; }
  /* Start times as two light lines, not a table */
  .clocks { display: grid; grid-template-columns: auto auto; justify-content: center; gap: 6px 0; margin-bottom: 18px; }
  .clocks li { padding: 0; gap: 6px; font-size: 13px; border: 0; background: none; border-radius: 0; }
  .clocks li:nth-child(even)::before { content: "·"; color: var(--faint); margin: 0 10px; }
  .clocks em { display: none; }
  .panel-auto { white-space: nowrap; font-size: min(4.6vw, 17px); }
  /* soften the edges so the lights melt into the page instead of ending in a hard box */
  .stage.tall .lux { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 82%, transparent 100%); }
  .pill, .text-btn { white-space: nowrap; }
}
@media (max-width: 360px) { .brand-divider, .brand-live { display: none; } }


/* =====================================================================
   REACH Cooling brand theme (matches reachcooling.com, Dec 2026):
   navy top bar #114B8D, Inter, ink #212529 on white / #F5F5F5 sections, white cards,
   centered bold section titles, pill buttons, dark-grey footer with spaced uppercase copyright.
   The stage stays dark (like their full-width video hero) in deep REACH navy.
   Fonts are self-hosted subsets (no font CDN; works in mainland China).
   ===================================================================== */
@font-face { font-family: "Inter"; src: url("/fonts/inter-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-semibold.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-bold.woff2") format("woff2"); font-weight: 700 800; font-style: normal; font-display: swap; }
:root {
  --navy: #114B8D; --navy-deep: #0a2a52; --ink: #212529; --page: #F5F5F5; --card: #fff; --border: #dee2e6; --blue: #0D6EFD;
  --bg: var(--page); --text: var(--ink); --muted: #5a607f; --faint: #6c757d; --line: var(--border); --surface: #fff;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
html, body { background: var(--page); color: var(--ink); }

/* Top bar */
.topnav { position: sticky; top: 0; z-index: 20; background: var(--navy); box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.topnav .bar { padding-top: 16px; padding-bottom: 16px; }
.topnav .brand-logo { height: 30px; }
.topnav .brand-divider { background: rgba(255,255,255,.35); height: 22px; }
.topnav .brand-live { color: #fff; font-size: 17px; font-weight: 500; }
.topnav .text-btn { color: #fff; font-size: 16px; }
.topnav .text-btn:hover { color: #fff; opacity: .8; }
.topnav .pill { color: #fff; border-color: rgba(255,255,255,.55); }
.topnav .pill.live { background: var(--accent); border-color: var(--accent); }

/* Full-width stage, like the site's video hero */
.wrap { max-width: none; padding: 0; }
.test-banner { margin: 12px auto; max-width: 1200px; background: #fff3cd; border-color: #ffe69c; color: #664d03; }
.stage { border: 0; border-radius: 0; max-height: calc(100svh - 62px); --text: #fff; --muted: rgba(255,255,255,.74); --faint: rgba(255,255,255,.5); --line: rgba(255,255,255,.16); color: #fff; }
.stage.tall { aspect-ratio: auto; max-height: none; min-height: calc(100svh - 62px); }
.stage.tall .panel { position: relative; min-height: calc(100svh - 62px); padding: 56px 0; }
.lux-panel, .panel { background: radial-gradient(120% 90% at 50% 0%, #124486 0%, #0b2c57 42%, #061a35 100%); }
.panel.overlay { background: rgba(6, 26, 53, .86); }
.lux .c { display: none; }
.lux-panel .eyebrow { color: rgba(255,255,255,.62); }
.lux-panel .panel-title, .panel-title { font-weight: 700; letter-spacing: -.02em; }
.lux-panel .countdown span { font-weight: 600; }
.lux-panel .countdown small { color: rgba(255,255,255,.55); }
.clocks li { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.06); }
.btn { border-radius: 800px; background: #fff; color: var(--ink); padding: 12px 26px; font-weight: 600; }
.btn:hover { background: #e9ecef; }
.code-row input { background: #fff; color: var(--ink); border: 1px solid var(--border); border-radius: 800px; }
.code-row input:focus { outline: 2px solid #fff; }
.form-error { color: #ffb4b4; }

/* Live info row as a white card */
.info { max-width: 1200px; margin: 24px auto 0; padding: 20px 24px; background: #fff; border-radius: 12px; }
.info h1 { font-weight: 700; color: var(--ink); }
.info-meta, .viewers { color: var(--faint); }
.reactions button { background: #fff; border: 1px solid var(--border); }
.reactions button:hover { border-color: #adb5bd; }

/* How to watch: centered section title + white cards on light grey */
.watch { max-width: 1200px; margin: 0 auto; padding: 56px 20px 64px; }
.section-title { margin: 0 0 28px; text-align: center; font-size: clamp(24px, 2.4vw, 30.5px); font-weight: 700; color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border-radius: 12px; padding: 26px 24px; }
.card h3 { margin: 14px 0 6px; font-size: 20px; font-weight: 600; color: var(--ink); }
.card p { margin: 0; color: var(--faint); font-size: 15px; line-height: 1.55; }
.card-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; }
.card-ico svg { width: 20px; height: 20px; }
.phase-ended .watch, .phase-none .watch { display: none; }

/* Footer like the site's: dark grey, white text, spaced uppercase copyright */
.foot { background: linear-gradient(160deg, #474747 0%, #333 55%, #2b2b2b 100%); color: #fff; padding: 44px 20px max(36px, env(safe-area-inset-bottom)); }
.foot-inner { max-width: 1200px; margin: 0 auto; }
.foot-logo { height: 32px; width: auto; display: block; margin: 0 auto 14px; }
.foot .tagline { color: #ced4da; }
.phase-scheduled .foot .tagline, .phase-ended .foot .tagline { display: block; }
.foot .fine { color: rgba(255,255,255,.5); font-size: 13px; }
.rights { margin: 22px 0 0; color: rgba(255,255,255,.5); font-size: 12px; letter-spacing: 2.3px; text-transform: uppercase; }

@media (max-width: 760px) { .cards { grid-template-columns: 1fr; gap: 12px; } .watch { padding: 40px 16px 44px; } .card { padding: 20px; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; } .card h3 { margin: 0 0 4px; font-size: 17px; align-self: center; } .card p { grid-column: 2; } }
@media (max-width: 560px) {
  .topnav .brand-logo { height: 24px; }
  .stage.tall { margin: 0; }
  .stage.tall .lux-panel { background: radial-gradient(140% 70% at 50% 0%, #124486 0%, #0b2c57 45%, #061a35 100%); min-height: calc(100svh - 56px); padding: 40px 0 48px; }
  .stage.tall .lux { -webkit-mask-image: none; mask-image: none; }
  .info { margin: 16px 12px 0; }
}
@media (max-width: 560px) { .clocks li { background: none; border: 0; } }
/* Red "on air" dot next to Live in the top bar */
.topnav .brand-live { display: inline-flex; align-items: center; gap: 8px; }
.topnav .brand-live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #e1251b; box-shadow: 0 0 0 0 rgba(225,37,27,.6); animation: onair 2s ease-out infinite; }
@keyframes onair { 0% { box-shadow: 0 0 0 0 rgba(225,37,27,.6); } 70% { box-shadow: 0 0 0 7px rgba(225,37,27,0); } 100% { box-shadow: 0 0 0 0 rgba(225,37,27,0); } }
@media (prefers-reduced-motion: reduce) { .topnav .brand-live::before { animation: none; } }
@media (max-width: 360px) { .topnav .brand-live { display: none; } }

/* "How To Watch" quick link in the top bar: jumps to the section below the stage */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.topnav .nav-link { color: #fff; text-decoration: none; font-size: 16px; font-weight: 500; white-space: nowrap; padding: 6px 2px; border-bottom: 2px solid transparent; }
.topnav .nav-link:hover, .topnav .nav-link:focus-visible { border-bottom-color: #fff; outline: none; }
.phase-ended .topnav .nav-link, .phase-none .topnav .nav-link { display: none; }
@media (max-width: 560px) {
  .topnav .bar { padding-left: 16px; padding-right: 16px; }
  .topnav .bar-right { gap: 12px; }
  .topnav .nav-link { font-size: 14px; }
  .topnav .pill { display: none; }
  .topnav .pill.live { display: inline-block; }
  .topnav .text-btn { font-size: 15px; }
}
@media (max-width: 400px) { .topnav .brand-divider { display: none; } .topnav .brand-logo { height: 21px; } .topnav .brand { gap: 8px; } }

/* Phone hero: only what matters (title, date, countdown, your time, auto-start). Start times move to a card below. */
.times-card { display: none; }
@media (max-width: 560px) {
  .lux-panel .panel-logo.hero, .lux-panel .eyebrow, #clocks, #sched-msg, .lux-panel .tagline.in-panel { display: none; }
  .stage.tall .lux-panel { padding: 56px 0 64px; }
  .lux-panel .panel-title { margin-bottom: 4px; }
  .lux-panel .panel-meta { margin-top: 10px; }
  .lux-panel .countdown { margin: 44px 0 40px; }
  .lux-panel .panel-local { margin: 0; }
  .lux-panel .panel-auto { margin-top: 22px; }
  .times-card { display: block; margin-bottom: 12px; }
  .times-card h3 { margin: 0 0 10px; font-size: 17px; }
  .times { list-style: none; margin: 0; padding: 0; }
  .times li { display: flex; align-items: baseline; gap: 8px; padding: 11px 0; border-top: 1px solid #eef0f2; font-size: 15px; color: var(--faint); }
  .times li:first-child { border-top: 0; }
  .times li span { flex: 1; }
  .times b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
  .times em { font-style: normal; color: var(--faint); min-width: 3ch; text-align: right; }
  .times-msg { margin: 10px 0 0; font-size: 14px; color: var(--faint); line-height: 1.5; }
  .times-msg:empty { display: none; }
}
@media (max-width: 560px) { .times-msg { display: none; } }

/* =====================================================================
   Player frame layout: the navy hero holds the title, then a framed 16:9 "screen" where the video will
   play (the countdown sits inside it until then), then the start times. The live video plays in the same frame.
   ===================================================================== */
.hero { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 52px) 20px clamp(28px, 3.6vw, 48px); background: radial-gradient(120% 90% at 50% 0%, #124486 0%, #0b2c57 42%, #061a35 100%); color: #fff; }
.hero > .lux { position: absolute; inset: 0; }
.hero-head, .hero-foot { position: relative; z-index: 1; text-align: center; }
.hero-head { margin-bottom: clamp(18px, 2.4vw, 30px); }
.hero-title { margin: 0; font-size: clamp(22px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.hero-meta { margin: 8px 0 0; color: rgba(255,255,255,.75); font-size: clamp(14px, 1.4vw, 17px); }
.hero-foot { margin-top: clamp(16px, 2vw, 24px); }
.hero-foot .panel-local { color: #fff; font-size: 15px; margin: 0 0 12px; }
.hero-foot .clocks { margin: 0 auto; }
.phase-scheduled .hero-head, .phase-scheduled .hero-foot { display: block; }
.hero-head, .hero-foot { display: none; }

/* the frame */
.hero .stage, .hero .stage.tall { position: relative; z-index: 1; display: block; margin: 0 auto; width: min(1040px, 100%, max(520px, calc((100svh - 330px) * 1.7778))); max-width: 100%; aspect-ratio: 16 / 9; min-height: 0; max-height: none; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: #050d1a; box-shadow: 0 28px 70px rgba(0,0,0,.45), 0 0 0 6px rgba(255,255,255,.035); container-type: inline-size; }
.hero .stage .panel, .hero .stage.tall .panel { position: absolute; inset: 0; min-height: 0; padding: 0; }
.panel.screen { background: radial-gradient(90% 80% at 50% 40%, #0f2a4d 0%, #081a31 55%, #040b16 100%); }
.panel.screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px); }
.screen .panel-inner { position: relative; z-index: 1; padding: 4cqw; max-width: none; width: 100%; }
.frame-label { margin: 0 0 2.2cqw; font-size: 13px; font-size: max(11px, 1.6cqw); letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hero .stage .countdown { display: flex; justify-content: center; gap: 0; margin: 0; }
.hero .stage .countdown div { position: relative; padding: 0 3.4cqw; }
.hero .stage .countdown div + div::before { content: ""; position: absolute; left: 0; top: 12%; height: 58%; width: 1px; background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.2), rgba(255,255,255,0)); }
.hero .stage .countdown span { font-size: 64px; font-size: max(34px, 9.2cqw); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.hero .stage .countdown small { margin-top: 1cqw; font-size: max(9px, 1.25cqw); letter-spacing: .18em; color: rgba(255,255,255,.55); }
.hero .stage .panel-auto { margin: 3cqw 0 0; font-size: max(13px, 2.1cqw); white-space: nowrap; }
.screen .panel-title { font-size: max(18px, 3.4cqw); }
.screen .panel-msg { font-size: max(12px, 1.7cqw); }
.screen .panel-logo { height: max(24px, 4cqw); width: auto; }
.screen .tagline { margin-top: 2cqw; }
.screen .code-row { margin-top: 2.4cqw; }
.screen .code-row input { padding: 10px 14px; font-size: 16px; }
.screen .btn { padding: 10px 22px; }
.hero .stage video, .hero .stage iframe.yt { border-radius: 13px; }

@media (max-width: 560px) {
  .hero { padding: 26px 12px 22px; }
  .hero-title { font-size: min(5.9vw, 30px); white-space: nowrap; }
  .hero-meta { font-size: 14px; }
  .hero .stage, .hero .stage.tall { width: 100%; border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.4); }
  .frame-label { letter-spacing: .18em; margin-bottom: 10px; }
  .hero .stage .countdown div { padding: 0 3.2cqw; }
  .hero .stage .countdown span { font-size: max(34px, 10.5cqw); }
  .hero .stage .panel-auto { margin-top: 12px; }
  .hero-foot .clocks { display: none; }
  .hero-foot .panel-local { margin: 0; font-size: 14px; color: rgba(255,255,255,.85); }
  .screen .panel-inner { padding: 14px; }
  .screen .code-row input { width: 52vw; }
}
.hero { --text: #fff; --muted: rgba(255,255,255,.74); --faint: rgba(255,255,255,.5); --line: rgba(255,255,255,.16); }
body:not(.phase-scheduled) .times-card { display: none; }
.phase-ended .wrap, .phase-none .wrap { flex: 0 0 auto; }
.phase-ended .foot, .phase-none .foot { flex: 1 0 auto; }

/* Pre-show: marketing video loops in the frame between the start time and the live stream */
.panel.preshow-panel { background: #000; }
#preshow-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; border-radius: 13px; }
.preshow-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 28px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,.65)); border-radius: 0 0 13px 13px; text-align: left; }
.preshow-live { display: inline-flex; align-items: center; gap: 8px; font-size: max(12px, 1.5cqw); font-weight: 600; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.preshow-live .dot { width: 8px; height: 8px; border-radius: 50%; background: #e1251b; animation: autoPulse 2s ease-in-out infinite; }
.preshow-sound { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.92); color: #212529; border: 0; border-radius: 800px; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.preshow-sound .ico::before { content: "🔇"; }
.preshow-sound.on .ico::before { content: "🔊"; }
.preshow-sound.on .off { display: none; }
.preshow .hero-foot .panel-local { display: none; }
@media (max-width: 560px) { .preshow-bar { padding: 22px 10px 8px; } .preshow-sound { padding: 7px 11px; font-size: 12px; } }
/* The brand video has burned-in subtitles at the bottom and the logo top-right: keep the pre-show chips top-left */
.preshow-bar { top: 0; bottom: auto; right: auto; justify-content: flex-start; padding: 12px; background: none; border-radius: 13px 0 0 0; }
.preshow-live { background: rgba(0,0,0,.55); padding: 7px 12px; border-radius: 800px; text-shadow: none; }
@media (max-width: 560px) { .preshow-bar { padding: 8px; gap: 6px; } .preshow-live { padding: 6px 10px; font-size: 11px; } }
/* Phones: icon-only sound button so the chips stay clear of the video's REACH logo (top-right). */
@media (max-width: 560px) { .preshow-sound { padding: 6px 9px; } .preshow-sound .off { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
/* Pre-show: a big "Live broadcast begins at 5:45 PM" banner under the video, with a countdown (replaces the small in-video chip). */
.preshow-banner { display: none; }
.preshow .preshow-banner { display: inline-flex; align-items: center; gap: clamp(12px, 1.4vw, 18px); margin: clamp(14px, 2vw, 22px) auto clamp(12px, 1.6vw, 18px); padding: clamp(12px, 1.4vw, 16px) clamp(20px, 2.6vw, 34px); background: #fff; color: #114B8D; border-radius: 800px; box-shadow: 0 10px 30px rgba(0,0,0,.35), 0 0 0 4px rgba(225,37,27,.18); text-align: left; animation: pbIn .5s ease-out both; }
.pb-dot { flex: none; width: clamp(12px, 1.2vw, 16px); height: clamp(12px, 1.2vw, 16px); border-radius: 50%; background: #e1251b; box-shadow: 0 0 0 0 rgba(225,37,27,.6); animation: pbPulse 1.6s ease-out infinite; }
.pb-text { display: flex; flex-direction: column; line-height: 1.2; }
.pb-text strong { font-size: clamp(18px, 2.1vw, 28px); font-weight: 700; letter-spacing: -.01em; }
.pb-in { margin-top: 3px; font-size: clamp(13px, 1.2vw, 16px); font-weight: 600; color: #e1251b; font-variant-numeric: tabular-nums; }
@keyframes pbPulse { 0% { box-shadow: 0 0 0 0 rgba(225,37,27,.6); } 70% { box-shadow: 0 0 0 12px rgba(225,37,27,0); } 100% { box-shadow: 0 0 0 0 rgba(225,37,27,0); } }
@keyframes pbIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pb-dot, .preshow .preshow-banner { animation: none; } }
.preshow-bar { right: 0; justify-content: flex-start; }
@media (max-width: 560px) {
  .preshow .preshow-banner { display: flex; width: 100%; box-sizing: border-box; border-radius: 14px; margin: 14px 0 6px; padding: 14px 16px; }
  .pb-text strong { font-size: 18px; }
  .pb-in { font-size: 14px; }
  .preshow-sound .off { position: static; width: auto; height: auto; clip: auto; }
}
/* Banner sits between the title and the video so it is seen first; one line on wider screens. */
.preshow .preshow-banner { margin: clamp(14px, 1.8vw, 22px) auto 0; }
@media (min-width: 561px) { .pb-text { flex-direction: row; align-items: baseline; gap: 14px; } .pb-in { margin-top: 0; padding-left: 14px; border-left: 2px solid rgba(17,75,141,.2); } }
@media (max-width: 560px) { .preshow .preshow-banner { margin: 14px 0 0; } }
/* Pre-show countdown, minimal (Nate's reference): spaced "STARTING SOON", large thin timer, small spaced live time, quiet dots. Replaces the white banner. */
@font-face { font-family: "Inter Timer"; src: url("/fonts/inter-extralight-digits.woff2") format("woff2"); font-weight: 200; font-display: swap; }
.preshow-banner { display: none !important; }
.preshow-cd { display: none; }
.preshow .preshow-cd { display: block; margin: clamp(6px, 1vw, 14px) auto 0; color: #fff; animation: pbIn .5s ease-out both; }
.preshow .hero-meta { display: none; }
.preshow-cd p { margin: 0; }
.pc-soon { font-size: clamp(13px, 1.25vw, 17px); font-weight: 700; letter-spacing: .42em; text-transform: uppercase; padding-left: .42em; }
.pc-timer { font-family: "Inter Timer", "Inter", system-ui, sans-serif; font-weight: 200; font-size: clamp(44px, 5.2vw, 76px); line-height: 1.05; letter-spacing: .06em; font-variant-numeric: tabular-nums; margin-top: 2px !important; }
.pc-sub { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px !important; font-size: clamp(10px, .9vw, 12px); font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.pc-dot { width: 7px; height: 7px; border-radius: 50%; background: #e1251b; animation: autoPulse 2s ease-in-out infinite; }
.pc-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px !important; }
.pc-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.28); animation: pcDot 2.5s infinite; }
.pc-dots i:nth-child(2) { animation-delay: .5s; } .pc-dots i:nth-child(3) { animation-delay: 1s; } .pc-dots i:nth-child(4) { animation-delay: 1.5s; } .pc-dots i:nth-child(5) { animation-delay: 2s; }
@keyframes pcDot { 0%, 30%, 100% { background: rgba(255,255,255,.28); } 10% { background: #fff; } }
.preshow .hero-title + .hero-meta + .preshow-cd { margin-top: clamp(10px, 1.4vw, 18px); }
.preshow .stage { margin-top: clamp(14px, 1.8vw, 22px); }
@media (prefers-reduced-motion: reduce) { .pc-dots i, .pc-dot { animation: none; } }
@media (max-width: 560px) { .pc-soon { font-size: 13px; letter-spacing: .34em; } .pc-timer { font-size: 52px; } .pc-sub { font-size: 10px; letter-spacing: .22em; } }
/* Desktop: keep the whole video on screen under the countdown. */
@media (min-width: 561px) { .preshow .stage { max-width: max(640px, min(100%, calc((100svh - 400px) * 16 / 9))); margin-left: auto; margin-right: auto; } }
/* Compact countdown (Nate: less space). Desktop: one row, labels left of the timer. Phone: tight stack. No dots row. */
.pc-dots { display: none !important; }
.preshow .preshow-cd { margin-top: clamp(4px, .6vw, 8px); }
.preshow .stage { margin-top: clamp(10px, 1.2vw, 16px); }
.pc-soon { letter-spacing: .26em; padding-left: .26em; }
.pc-sub { letter-spacing: .16em; margin-top: 2px !important; }
.pc-timer { letter-spacing: .02em; line-height: 1; margin-top: 0 !important; }
@media (min-width: 561px) {
  .preshow .preshow-cd { display: inline-grid; grid-template-columns: auto auto; grid-template-areas: "soon timer" "sub timer"; align-items: center; column-gap: 22px; text-align: left; }
  .pc-soon { grid-area: soon; align-self: end; font-size: 15px; padding-left: 0; }
  .pc-sub { grid-area: sub; align-self: start; font-size: 11px; }
  .pc-timer { grid-area: timer; font-size: clamp(40px, 3.6vw, 54px); padding-left: 22px; border-left: 1px solid rgba(255,255,255,.22); }
  .preshow .stage { max-width: max(640px, min(100%, calc((100svh - 300px) * 16 / 9))); }
}
@media (max-width: 560px) { .pc-soon { font-size: 12px; } .pc-timer { font-size: 40px; } .pc-sub { font-size: 10px; } .preshow .preshow-cd { margin-top: 6px; } .preshow .stage { margin-top: 12px; } }
@media (max-width: 560px) {
  .preshow .preshow-cd { display: grid; grid-template-columns: auto auto; grid-template-areas: "soon timer" "sub sub"; justify-content: center; align-items: center; column-gap: 14px; row-gap: 4px; margin-top: 4px; }
  .pc-soon { grid-area: soon; font-size: 12px; letter-spacing: .2em; padding-left: 0; }
  .pc-timer { grid-area: timer; font-size: 36px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.22); }
  .pc-sub { grid-area: sub; justify-content: center; font-size: 10px; letter-spacing: .12em; }
}
/* Phones use the same layout as desktop: labels stacked on the left, timer on the right, one slim row. */
@media (max-width: 560px) {
  .preshow .preshow-cd { display: inline-grid; grid-template-columns: auto auto; grid-template-areas: "soon timer" "sub timer"; justify-content: center; align-items: center; column-gap: 12px; row-gap: 3px; text-align: left; margin-top: 4px; }
  .pc-soon { grid-area: soon; align-self: end; font-size: 12px; letter-spacing: .22em; padding-left: 0; }
  .pc-sub { grid-area: sub; align-self: start; justify-content: flex-start; gap: 6px; font-size: 9px; letter-spacing: .08em; }
  .pc-dot { width: 6px; height: 6px; }
  .pc-timer { grid-area: timer; font-size: 34px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.22); }
}
/* Decluttered (Nate): no "Starting soon"; one centered row: red dot + "LIVE AT 5:45 PM" | thin timer. */
.pc-soon { display: none !important; }
.preshow .preshow-cd { display: inline-flex !important; align-items: center; justify-content: center; gap: 14px; margin-top: 6px; text-align: left; }
.pc-sub { margin: 0 !important; font-size: 12px; letter-spacing: .18em; color: rgba(255,255,255,.8); }
.pc-timer { font-size: clamp(34px, 3.4vw, 48px); padding-left: 14px; border-left: 1px solid rgba(255,255,255,.25); }
.pc-timer[hidden] + .pc-sub, .pc-timer[hidden] { border: 0; }
@media (max-width: 560px) { .pc-sub { font-size: 11px; letter-spacing: .14em; gap: 7px; } .pc-timer { font-size: 32px; padding-left: 12px; } .preshow .preshow-cd { gap: 12px; } }
.pc-sub { padding-top: 3px; }
/* Countdown line: everything centred on one axis, on a soft glass band with a gradient underline so it stands out from the page. */
.preshow .preshow-cd { position: relative; align-items: center; gap: 16px; padding: 10px clamp(28px, 4vw, 56px); margin-top: 8px; border-radius: 12px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.13) 22%, rgba(255,255,255,.13) 78%, rgba(255,255,255,0) 100%); }
.preshow .preshow-cd::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(225,37,27,0), #e1251b 30%, #fff 50%, #e1251b 70%, rgba(225,37,27,0)); opacity: .85; }
.pc-sub { padding-top: 0; line-height: 1; align-items: center; display: inline-flex; }
.pc-sub > span:last-child { display: block; line-height: 1; transform: translateY(.04em); }
.pc-timer { display: flex; align-items: center; line-height: 1; height: 1em; padding-top: 0; }
@media (max-width: 560px) { .preshow .preshow-cd { padding: 9px 26px; gap: 12px; } }
.pc-sub, .pc-timer { align-self: center !important; }
.preshow .preshow-cd { background: radial-gradient(ellipse 60% 85% at 50% 50%, rgba(255,255,255,.17), rgba(255,255,255,.06) 60%, rgba(255,255,255,0) 100%); padding-bottom: 12px; }
.preshow .preshow-cd { background: radial-gradient(ellipse 52% 50% at 50% 50%, rgba(255,255,255,.2), rgba(255,255,255,.08) 55%, rgba(255,255,255,0) 100%); }
@media (max-width: 560px) { .pc-sub { font-size: 10.5px; letter-spacing: .07em; gap: 6px; } .pc-timer { font-size: 30px; padding-left: 10px; } .preshow .preshow-cd { gap: 10px; padding-left: 14px; padding-right: 14px; } }
.preshow .preshow-cd::after { display: none; }
