/* Hella Local — web clone of the Apple TV app.
   Everything is laid out on a 1920×1080 stage in TV points and the stage is
   scaled to the window, so every size here is the size the TV uses.
   Palette is Theme.swift, verbatim. */

:root {
  --bg: #000000;
  --bg-raised: #2a332d;
  --bg-deep: #1b211d;
  --cream: #f3eacd;
  --cream-muted: #b8b19c;
  --gold: #efa92e;
  --orange: #d9622b;
  --teal: #64b5a4;
  --live: #e8453c;
  --hairline: rgba(243, 234, 205, 0.16);
  --edge: 80px;
  --bar-top: 45px;
  --under-bar: 73px;
  --shelf-gap: 52px;
  --shelf-title-gap: 20px;
  --card-gap: 40px;
  --stage-scale: 1;
  --font: -apple-system, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #000; overflow: hidden; }
body { font-family: var(--font); color: var(--cream); font-size: 29px; line-height: 1.25; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; }
::-webkit-scrollbar { display: none; }
* { scrollbar-width: none; }

/* ── the stage ─────────────────────────────────────────────────────────── */
#stage-wrap { position: fixed; inset: 0; background: #000; overflow: hidden; }
#stage {
  position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; overflow: hidden; background: var(--bg);
  transform: translate(-50%, -50%) scale(var(--stage-scale)); transform-origin: center center;
}

/* the ground: black with the launch screen's teal bloom breathing in it */
.page-ground { position: absolute; inset: 0; pointer-events: none; background: #000; }
.page-ground::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(1250px circle at 14% 52%,
    rgba(100, 181, 164, 0.17) 0%, rgba(100, 181, 164, 0.0714) 38%, rgba(100, 181, 164, 0.0204) 70%, transparent 100%);
}

/* ── type ───────────────────────────────────────────────────────────────── */
.kicker { font-size: 23px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.kicker.gold { color: var(--gold); }
.kicker.orange { color: var(--orange); }
.kicker.muted { color: var(--cream-muted); }
.title-xl { font-size: 76px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.02; }
.title-l { font-size: 57px; font-weight: 700; line-height: 1.05; }
.title-m { font-size: 38px; font-weight: 600; line-height: 1.15; }
.body { font-size: 29px; color: var(--cream); }
.body.muted { color: var(--cream-muted); }
.caption { font-size: 25px; color: var(--cream-muted); }
.ink { text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 3px 12px rgba(0,0,0,.45); }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── liquid glass ──────────────────────────────────────────────────────── */
.glass {
  background: rgba(243, 234, 205, 0.07);
  -webkit-backdrop-filter: blur(28px) saturate(1.3); backdrop-filter: blur(28px) saturate(1.3);
  border: 1px solid rgba(243, 234, 205, 0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 20px 50px rgba(0,0,0,.45);
}
.glass.teal { background: rgba(100, 181, 164, 0.10); border-color: rgba(100, 181, 164, 0.22); }

/* ── menu bar ──────────────────────────────────────────────────────────── */
#bar {
  position: absolute; top: var(--bar-top); left: 50%; transform: translateX(-50%);
  height: 96px; padding: 0 22px; border-radius: 48px; display: flex; align-items: center; gap: 10px; z-index: 40;
}
#bar .tab {
  height: 74px; min-width: 96px; padding: 0 26px; border-radius: 37px; display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--cream-muted); font-size: 27px; font-weight: 600; letter-spacing: .02em; transition: transform .16s ease, background .16s ease, color .16s ease;
}
#bar .tab .glyph { width: 36px; height: 36px; display: grid; place-items: center; }
#bar .tab .glyph svg { width: 34px; height: 34px; fill: currentColor; }
#bar .tab .label { display: none; }
#bar .tab.is-selected { color: var(--cream); background: rgba(243,234,205,.10); }
#bar .tab.is-selected .label { display: inline; }
#bar .tab.is-focused { background: var(--cream); color: #111; transform: scale(1.06); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
#bar .tab.is-focused .label { display: inline; }
#bar .lockup { display: flex; align-items: center; gap: 12px; padding: 0 24px 0 10px; margin-right: 6px; border-right: 1px solid var(--hairline); height: 60px; }
#bar .lockup img { height: 44px; width: auto; filter: drop-shadow(0 0 18px rgba(100,181,164,.55)); }
#bar .lockup .word { font-size: 22px; font-weight: 800; letter-spacing: .18em; color: var(--cream); line-height: 1; }
#bar .lockup .word small { display: block; font-size: 12px; letter-spacing: .32em; color: var(--teal); margin-top: 4px; font-weight: 700; }

/* ── pages ─────────────────────────────────────────────────────────────── */
#pages { position: absolute; inset: 0; }
.page { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; }
.page-inner { padding: 0 var(--edge) 120px 0; min-height: 100%; }
.page .under-bar { height: calc(var(--bar-top) + 96px + var(--under-bar) - 60px); }
.section-heading { display: flex; align-items: baseline; gap: 20px; padding-left: var(--edge); margin: 0 0 var(--shelf-title-gap); }
.section-heading h2 { font-size: 38px; font-weight: 700; margin: 0; letter-spacing: -0.005em; }
.section-heading .sub { font-size: 25px; color: var(--cream-muted); }
.section-heading .mark { width: 48px; height: 48px; margin-right: 4px; align-self: center; }

/* ── shelves ───────────────────────────────────────────────────────────── */
.shelf { margin-bottom: var(--shelf-gap); }
.shelf .row { display: flex; gap: var(--card-gap); padding: 26px var(--edge) 34px var(--edge); overflow-x: auto; overflow-y: visible; scroll-behavior: smooth; }
.shelf .row > * { flex: none; }
.empty-note { padding-left: var(--edge); color: var(--cream-muted); font-size: 27px; }

/* ── cards ─────────────────────────────────────────────────────────────── */
.card { position: relative; display: block; border-radius: 22px; overflow: visible; transition: transform .18s cubic-bezier(.2,.8,.2,1); outline: none; }
.card .art { position: relative; border-radius: 22px; overflow: hidden; background: var(--bg-deep); box-shadow: 0 12px 30px rgba(0,0,0,.45); transition: box-shadow .18s ease; }
.card .art img, .card .art video { width: 100%; height: 100%; object-fit: cover; }
.card .art .plate { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(160deg, #2a332d, #1b211d); color: var(--cream-muted); font-size: 48px; font-weight: 700; letter-spacing: .06em; }
.card .art .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.2) 48%, transparent 100%); }
.card .art .over { position: absolute; left: 24px; right: 24px; bottom: 20px; }
.card .under { padding: 14px 6px 0; }
.card .under .t { font-size: 27px; font-weight: 600; line-height: 1.2; }
.card .under .s { font-size: 23px; color: var(--cream-muted); margin-top: 4px; }
.card.is-focused { transform: scale(1.08); z-index: 5; }
.card.is-focused .art { box-shadow: 0 0 0 4px var(--cream), 0 30px 60px rgba(0,0,0,.6), 0 0 60px rgba(100,181,164,.25); }
.card.is-focused .under .t { color: #fff; }
.card.standard .art { width: 420px; height: 236px; }
.card.wide .art { width: 610px; height: 343px; }
.card.cast .art { width: 300px; height: 169px; }
.card.channel .art { width: 300px; height: 300px; }
.card.square .art { width: 300px; height: 300px; }
.card.photo .art { width: 420px; height: 280px; }
.card .dur { position: absolute; right: 16px; top: 14px; font-size: 20px; font-weight: 700; padding: 4px 12px; border-radius: 10px; background: rgba(0,0,0,.55); color: var(--cream); }
.card .live-dot { position: absolute; left: 16px; top: 14px; display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; letter-spacing: .08em; color: #fff; background: var(--live); padding: 4px 12px; border-radius: 10px; }
.card .sample { position: absolute; left: 16px; top: 14px; font-size: 18px; font-weight: 800; letter-spacing: .12em; color: #111; background: var(--gold); padding: 4px 10px; border-radius: 8px; }

/* people / avatars — one rule for every mark */
.avatar { position: relative; border-radius: 50%; overflow: hidden; background: var(--bg-raised); display: grid; place-items: center; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar .mono { font-weight: 700; color: var(--cream-muted); }
.avatar.contain { background: transparent; }
.avatar.contain img { object-fit: contain; }
.card.person { width: 240px; text-align: center; }
.card.person .avatar { width: 240px; height: 240px; margin: 0 auto; box-shadow: 0 12px 30px rgba(0,0,0,.45); transition: box-shadow .18s ease; }
.card.person .avatar .mono { font-size: 72px; }
.card.person.is-focused .avatar { box-shadow: 0 0 0 4px var(--cream), 0 30px 60px rgba(0,0,0,.6); }
.card.person .under .t { font-size: 25px; }
.card.person .under .s { font-size: 21px; }

/* chips */
.chip-strip { display: flex; gap: 16px; padding: 18px var(--edge) 22px; overflow-x: auto; }
.chip { flex: none; height: 64px; padding: 0 30px; border-radius: 32px; display: flex; align-items: center; gap: 12px; font-size: 25px; font-weight: 600; color: var(--cream-muted); background: rgba(243,234,205,.06); border: 1px solid rgba(243,234,205,.10); transition: transform .16s ease, background .16s ease, color .16s ease; }
.chip .glyph { font-size: 24px; }
.chip.is-selected { color: var(--cream); background: rgba(100,181,164,.16); border-color: rgba(100,181,164,.35); }
.chip.is-focused { background: var(--cream); color: #111; transform: scale(1.06); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.chip.is-focused.is-selected { background: var(--cream); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 14px; height: 76px; padding: 0 38px; border-radius: 38px; font-size: 27px; font-weight: 700; color: var(--cream); background: rgba(243,234,205,.10); border: 1px solid rgba(243,234,205,.14); transition: transform .16s ease, background .16s ease, color .16s ease; }
.btn.primary { background: var(--cream); color: #111; border-color: transparent; }
.btn.is-focused { transform: scale(1.06); background: #fff; color: #111; box-shadow: 0 12px 34px rgba(0,0,0,.5); }
.btn .glyph { font-size: 26px; }

/* ── hero / top slot ───────────────────────────────────────────────────── */
.hero { position: relative; height: 640px; margin: 0 0 var(--shelf-gap); }
.hero .film { position: absolute; top: 0; right: 0; bottom: 0; left: 640px; overflow: hidden; }
.hero .film img, .hero .film video { width: 100%; height: 100%; object-fit: cover; }
.hero .film .dissolve { position: absolute; inset: 0; background:
  linear-gradient(to right, #000 0%, rgba(0,0,0,.86) 4%, rgba(0,0,0,.52) 10%, rgba(0,0,0,.22) 17%, rgba(0,0,0,.07) 22%, transparent 25%),
  linear-gradient(to top, #000 0%, rgba(0,0,0,.86) 4%, rgba(0,0,0,.52) 10%, rgba(0,0,0,.22) 17%, rgba(0,0,0,.07) 22%, transparent 25%),
  radial-gradient(115% 115% at 0% 100%, rgba(0,0,0,.88) 0%, rgba(0,0,0,.46) 34%, rgba(0,0,0,.16) 62%, transparent 100%),
  linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.2) 48%, transparent 100%); }
.hero .film .bloom { position: absolute; inset: 0; background: radial-gradient(1250px circle at 14% 52%, rgba(100,181,164,.17) 0%, rgba(100,181,164,.0714) 38%, rgba(100,181,164,.0204) 70%, transparent 100%); mix-blend-mode: screen; }
.hero .copy { position: absolute; left: var(--edge); bottom: 60px; width: 900px; z-index: 2; }
.hero .copy .kicker { margin-bottom: 14px; }
.hero .copy .title-xl { margin: 0 0 18px; }
.hero .copy .body { max-width: 860px; }
.hero .copy .actions { display: flex; gap: 20px; margin-top: 30px; }
.hero .moment { position: absolute; left: var(--edge); top: 190px; z-index: 2; }
.hero .moment .line { font-size: 27px; color: var(--cream); font-weight: 600; }
.hero .moment .promise { font-size: 23px; color: var(--teal); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin-top: 8px; }

/* ── ticker tiles (sports) ─────────────────────────────────────────────── */
.ticker { display: flex; gap: 22px; padding: 18px var(--edge) 30px; overflow-x: auto; }
.tile { flex: none; width: 300px; height: 210px; border-radius: 22px; padding: 22px 24px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .16s ease; }
.tile .date { font-size: 21px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.tile .who { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.tile .who .avatar { width: 56px; height: 56px; }
.tile .who .avatar .mono { font-size: 20px; }
.tile .vs { font-size: 26px; font-weight: 700; line-height: 1.15; }
.tile .foot { font-size: 21px; color: var(--cream-muted); }
.tile .foot b { color: var(--cream); font-weight: 700; }
.tile.is-focused { transform: scale(1.06); background: rgba(243,234,205,.16); border-color: rgba(243,234,205,.35); box-shadow: 0 0 0 3px var(--cream), 0 20px 50px rgba(0,0,0,.55); }
.tile.win .foot b { color: var(--teal); } .tile.loss .foot b { color: var(--orange); }

/* ── chart row (Top 10) ────────────────────────────────────────────────── */
.chart-card { display: flex; align-items: flex-end; gap: 0; width: 420px; }
.chart-card .rank { font-size: 200px; font-weight: 800; line-height: .78; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 3px rgba(243,234,205,.55); margin-right: -30px; margin-bottom: 40px; z-index: 1; transition: color .16s ease; }
.chart-card.is-focused .rank { color: var(--cream); -webkit-text-stroke: 0; }
.chart-card .avatar { width: 300px; height: 300px; box-shadow: 0 12px 30px rgba(0,0,0,.45); transition: box-shadow .18s ease; }
.chart-card .avatar .mono { font-size: 80px; }
.chart-card.is-focused .avatar { box-shadow: 0 0 0 4px var(--cream), 0 30px 60px rgba(0,0,0,.6), 0 0 80px rgba(239,169,46,.35); }
.chart-card .who { position: absolute; left: 120px; right: 0; bottom: -74px; }
.chart-card { position: relative; margin-bottom: 78px; }
.chart-card .who .t { font-size: 27px; font-weight: 700; }
.chart-card .who .s { font-size: 22px; color: var(--cream-muted); }

/* ── grid pages ────────────────────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(4, 420px); gap: 56px var(--card-gap); padding: 26px var(--edge) 40px; }
.grid.three { grid-template-columns: repeat(3, 420px); }
.grid.five { grid-template-columns: repeat(5, 300px); }
.grid.five .card.cast .under .t { font-size: 24px; }

/* ── detail pages ──────────────────────────────────────────────────────── */
.detail { position: relative; min-height: 1080px; }
.detail .film { position: absolute; top: 0; right: 0; width: 1240px; height: 700px; overflow: hidden; }
.detail .film img, .detail .film video { width: 100%; height: 100%; object-fit: cover; }
.detail .film .dissolve { position: absolute; inset: 0; background:
  linear-gradient(to right, #000 0%, rgba(0,0,0,.86) 6%, rgba(0,0,0,.52) 16%, rgba(0,0,0,.22) 26%, rgba(0,0,0,.07) 33%, transparent 38%),
  linear-gradient(to top, #000 0%, rgba(0,0,0,.86) 6%, rgba(0,0,0,.52) 16%, rgba(0,0,0,.22) 26%, rgba(0,0,0,.07) 33%, transparent 38%),
  radial-gradient(115% 115% at 0% 100%, rgba(0,0,0,.88) 0%, rgba(0,0,0,.46) 34%, rgba(0,0,0,.16) 62%, transparent 100%); }
.detail .copy { position: relative; z-index: 2; padding: 250px 0 0 var(--edge); width: 1000px; }
.detail .copy .kicker { margin-bottom: 14px; }
.detail .copy h1 { font-size: 66px; font-weight: 700; line-height: 1.03; margin: 0 0 18px; letter-spacing: -0.01em; }
.detail .copy .meta { font-size: 25px; color: var(--cream-muted); margin-bottom: 22px; }
.detail .copy .synopsis { font-size: 29px; line-height: 1.32; max-width: 940px; }
.detail .copy .actions { display: flex; gap: 20px; margin-top: 34px; }
.detail .rows { position: relative; z-index: 2; margin-top: 60px; }
.entity-hero { position: relative; height: 620px; }
.entity-hero .avatar.big { position: absolute; left: var(--edge); top: 210px; width: 300px; height: 300px; z-index: 3; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.entity-hero .avatar.big .mono { font-size: 96px; }
.entity-hero .copy { position: absolute; left: calc(var(--edge) + 340px); top: 230px; width: 1000px; z-index: 3; }
.entity-hero .copy h1 { font-size: 66px; font-weight: 700; line-height: 1.03; margin: 6px 0 14px; }
.entity-hero .copy .detail-line { font-size: 27px; color: var(--cream-muted); }
.entity-hero .copy .actions { display: flex; gap: 20px; margin-top: 26px; }
.entity-summary { padding: 0 0 20px var(--edge); max-width: 1300px; font-size: 27px; line-height: 1.38; color: var(--cream); }
.gallery { display: flex; gap: 24px; padding: 16px var(--edge) 30px; overflow-x: auto; }
.gallery .card.square .art { width: 320px; height: 320px; }
.venue-map { margin: 0 0 var(--shelf-gap) var(--edge); width: 1300px; height: 380px; border-radius: 22px; overflow: hidden; position: relative; background: var(--bg-deep); }
.venue-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.venue-map .addr { position: absolute; left: 24px; bottom: 20px; font-size: 25px; padding: 10px 20px; border-radius: 14px; }

/* hand-off sheet */
.sheet { position: absolute; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(0,0,0,.72); }
.sheet .pane { width: 1100px; padding: 60px 70px; border-radius: 36px; display: grid; grid-template-columns: 1fr 360px; gap: 50px; align-items: center; }
.sheet .pane h2 { font-size: 46px; margin: 0 0 14px; }
.sheet .pane p { font-size: 27px; color: var(--cream-muted); margin: 0 0 10px; line-height: 1.35; }
.sheet .pane .url { font-size: 23px; color: var(--teal); word-break: break-all; margin-top: 18px; }
.sheet .qr { width: 360px; height: 360px; background: #fff; border-radius: 24px; padding: 20px; }
.sheet .qr canvas, .sheet .qr img { width: 100%; height: 100%; image-rendering: pixelated; }
.sheet .actions { margin-top: 30px; display: flex; gap: 18px; }

/* ── player ────────────────────────────────────────────────────────────── */
#player { position: absolute; inset: 0; z-index: 80; background: #000; }
#player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
#player .controls { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px var(--edge) 60px; background: linear-gradient(to top, rgba(0,0,0,.85), transparent); transition: opacity .3s ease; }
#player .controls.hidden { opacity: 0; pointer-events: none; }
#player .controls .t { font-size: 38px; font-weight: 700; }
#player .controls .s { font-size: 25px; color: var(--cream-muted); margin-top: 6px; }
#player .scrub { position: relative; height: 10px; border-radius: 5px; background: rgba(243,234,205,.2); margin: 28px 0 14px; }
#player .scrub .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; background: var(--cream); }
#player .scrub .chapter { position: absolute; top: -4px; width: 3px; height: 18px; background: rgba(243,234,205,.5); }
#player .times { display: flex; justify-content: space-between; font-size: 23px; color: var(--cream-muted); }
#player .hint { position: absolute; top: 50px; right: var(--edge); font-size: 23px; color: var(--cream-muted); }

/* ── launch sequence ───────────────────────────────────────────────────── */
#launch { position: absolute; inset: 0; z-index: 100; background: #000; display: grid; place-items: center; overflow: hidden; }
#launch .bloom { position: absolute; width: 1400px; height: 1400px; border-radius: 50%; background: radial-gradient(circle, rgba(100,181,164,.385) 0%, rgba(100,181,164,.18) 30%, rgba(100,181,164,.05) 60%, transparent 72%); opacity: 0; transform: scale(.6); transition: opacity 1.4s ease, transform 2.6s cubic-bezier(.2,.7,.2,1); }
#launch.lit .bloom { opacity: 1; transform: scale(1); }
#launch .mic { position: relative; height: 260px; width: auto; opacity: 0; transform: translateY(40px) scale(.92); transition: opacity .9s ease, transform 1.2s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 0 40px rgba(100,181,164,.45)); }
#launch.lit .mic { opacity: 1; transform: none; }
#launch .word { position: absolute; top: calc(50% + 170px); text-align: center; opacity: 0; transform: translateY(20px); transition: opacity .8s ease .5s, transform .9s ease .5s; }
#launch.lit .word { opacity: 1; transform: none; }
#launch .word .big { font-size: 64px; font-weight: 800; letter-spacing: .3em; color: var(--cream); }
#launch .word .small { font-size: 24px; font-weight: 700; letter-spacing: .5em; color: var(--teal); margin-top: 14px; }
#launch.out { opacity: 0; transition: opacity .7s ease; pointer-events: none; }
#launch .press { position: absolute; bottom: 90px; font-size: 25px; color: var(--cream-muted); letter-spacing: .08em; opacity: 0; transition: opacity .6s ease 1.8s; }
#launch.lit .press { opacity: 1; }

/* ── states ─────────────────────────────────────────────────────────────── */
.state { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.state .t { font-size: 46px; font-weight: 700; margin-bottom: 14px; }
.state .s { font-size: 27px; color: var(--cream-muted); max-width: 900px; line-height: 1.4; }

/* ── about ledger ──────────────────────────────────────────────────────── */
.ledger { padding: 0 var(--edge); max-width: 1500px; }
.ledger .entry { padding: 26px 30px; border-radius: 22px; margin-bottom: 18px; }
.ledger .entry .t { font-size: 29px; font-weight: 700; display: flex; justify-content: space-between; gap: 20px; }
.ledger .entry .t .n { color: var(--orange); }
.ledger .entry ul { margin: 12px 0 0; padding-left: 28px; color: var(--cream-muted); font-size: 23px; line-height: 1.4; }
.ledger .entry.is-focused { background: rgba(243,234,205,.14); }
.ledger .fine { font-size: 23px; color: var(--cream-muted); line-height: 1.45; margin-bottom: 30px; }

/* ── search ────────────────────────────────────────────────────────────── */
.search-box { margin: 0 0 30px var(--edge); width: 1200px; height: 92px; border-radius: 46px; display: flex; align-items: center; gap: 20px; padding: 0 34px; }
.search-box input { flex: 1; background: none; border: 0; outline: none; color: var(--cream); font: inherit; font-size: 34px; }
.search-box input::placeholder { color: var(--cream-muted); }
.search-box.is-focused { box-shadow: 0 0 0 3px var(--cream); }

/* live badge */
.live-pill { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; letter-spacing: .1em; color: #fff; background: var(--live); padding: 6px 14px; border-radius: 12px; }
.live-pill::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.stub-banner { margin: 0 var(--edge) 30px var(--edge); padding: 22px 30px; border-radius: 20px; font-size: 25px; color: var(--cream); line-height: 1.4; border-left: 6px solid var(--gold); }
.stub-banner b { color: var(--gold); }

/* ── browse chassis (ShowsLayout) ─────────────────────────────────────── */
.hero-chassis { position: absolute; inset: 0; pointer-events: none; }
.hero-window { position: absolute; top: -27px; right: -48px; width: 1264px; height: 711px; overflow: hidden; }
.hero-window .film { position: absolute; inset: 0; background: #000; }
.hero-window .film img, .hero-window .film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-window .dissolve { position: absolute; inset: 0; background:
  linear-gradient(to right, #000 0%, rgba(0,0,0,.86) 3%, rgba(0,0,0,.52) 7.5%, rgba(0,0,0,.22) 12.6%, rgba(0,0,0,.07) 16%, transparent 18%),
  linear-gradient(to top, #000 0%, rgba(0,0,0,.86) 3%, rgba(0,0,0,.52) 7.5%, rgba(0,0,0,.22) 12.6%, rgba(0,0,0,.07) 16%, transparent 18%),
  radial-gradient(115% 115% at 0% 100%, rgba(0,0,0,.88) 0%, rgba(0,0,0,.46) 34%, rgba(0,0,0,.16) 62%, transparent 100%),
  linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.19) 48%, transparent 100%),
  linear-gradient(to right, rgba(0,0,0,.53) 0%, rgba(0,0,0,.29) 14%, rgba(0,0,0,.085) 26%, transparent 36%),
  linear-gradient(to top right, rgba(100,181,164,.32) 0%, rgba(100,181,164,.12) 30%, transparent 62%); }
.hero-window .bloom { position: absolute; inset: 0; background: radial-gradient(1250px circle at 14% 52%, rgba(100,181,164,.17) 0%, rgba(100,181,164,.0714) 38%, rgba(100,181,164,.0204) 70%, transparent 100%); }
.hero-panel { position: absolute; left: 50px; top: 213px; width: 820px; height: 296px; padding: 24px 30px; display: flex; flex-direction: column; gap: 9px; pointer-events: auto; z-index: 2; }
.hero-panel .title { font-size: 33px; font-weight: 600; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-panel .synopsis { font-size: 23px; color: rgba(243,234,205,.7); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* ShowsSpotlightPanel's row: a FIXED gap under the words, not the panel's
   floor (TV-203) — VStack 9 + 18 + 9 between the synopsis and the credits. */
.hero-panel .credits { display: flex; gap: 14px; align-items: flex-end; height: 60px; margin-top: 27px; flex: none; }
/* SpotlightAvatarStyle: no fill in either state; the disc, then the stacked type. */
.hero-panel .credit { display: flex; align-items: flex-end; gap: 12px; height: 60px; transition: transform .16s ease-out, filter .16s ease-out; }
.hero-panel .credit .words { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hero-panel .credit .when { font-size: 20px; color: var(--cream-muted); white-space: nowrap; }
.hero-panel .credit .name { font-size: 22px; font-weight: 600; max-width: 350px; color: var(--cream); }
/* the ring is a photograph's alone (TV-341): a logo may reach its frame's edge */
.hero-panel .credit.ringed .avatar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(243,234,205,.28); pointer-events: none; }
.hero-panel .credit.is-focused { transform: scale(1.06); filter: drop-shadow(0 8px 18px rgba(0,0,0,.5)); }
.hero-panel .credit.is-focused .name { color: var(--gold); }
.hero-panel .credit.ringed.is-focused .avatar::after { box-shadow: inset 0 0 0 3px rgba(239,169,46,.95); }
.hero-panel .clip-note { position: absolute; left: 30px; bottom: -30px; font-size: 22px; font-style: italic; color: var(--cream-muted); }
.page.browse { z-index: 1; }
/* TV-347/366: Tonight opens with the picture as the screen and the words
   bottom-left (1080 − panelHeight 296 − edge 80 = 704); the rows wait with
   their first pixel on the screen's foot (1080 − deskGridTop 624 = 456). The
   first Down takes all three to the seated layout on one 0.55 s beat. */
.page.browse.seatable .hero-window { transition: top .55s ease-in-out, right .55s ease-in-out, width .55s ease-in-out, height .55s ease-in-out; }
.page.browse.seatable .hero-panel { transition: top .55s ease-in-out; }
.page.browse.seatable .browse-inner { transition: transform .55s ease-in-out; }
.page.browse.expanded { overflow: hidden; }
.page.browse.expanded .hero-window { top: 0; right: 0; width: 1920px; height: 1080px; }
.page.browse.expanded .hero-panel { top: 704px; }
.page.browse.expanded .browse-inner { transform: translateY(456px); }
.browse-inner { position: relative; z-index: 2; padding-right: 0; }
.hero-spacer { height: 624px; }
/* The rows' layer starts at the screen's top, so its empty head lay over the
   panel and a pointer never reached the hero's pills; only the column takes it. */
.browse-inner { pointer-events: none; }
.browse-inner > .column { pointer-events: auto; }
.column { position: relative; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 190px); mask-image: linear-gradient(to bottom, transparent 0, #000 190px); margin-top: -190px; padding-top: 190px; }
.column > .shelf:first-child, .column > .moment-line + .shelf { margin-top: 0; }
.moment-line { padding: 0 0 6px var(--edge); display: flex; gap: 22px; align-items: baseline; }
.moment-line .line { font-size: 27px; font-weight: 600; }
.moment-line .promise { font-size: 21px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.bar-pool { position: absolute; left: 0; right: 0; top: 0; height: 340px; pointer-events: none; background: radial-gradient(ellipse 36% 36% at 50% 12%, rgba(0,0,0,.88) 0%, rgba(0,0,0,.42) 42%, rgba(0,0,0,.12) 72%, transparent 100%); }

/* menu bar idle recession */
#bar { transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .45s ease; }
#bar.idle { transform: translateX(-50%) translateY(-14px) scale(.86); opacity: .5; }
#bar .tab .label { display: none !important; }
#bar .tab { color: rgba(243,234,205,.72); background: none; }
#bar .tab.is-selected { color: var(--teal); background: rgba(100,181,164,.16); }
#bar .tab.is-focused { color: var(--cream); background: rgba(100,181,164,.32); box-shadow: 0 0 0 2px rgba(100,181,164,.95); transform: scale(1.06); }
#bar .tab .glyph img { filter: invert(1) opacity(.72); }
#bar .tab.is-selected .glyph img { filter: invert(72%) sepia(20%) saturate(600%) hue-rotate(120deg) brightness(95%); }
#bar .tab.is-focused .glyph img { filter: invert(1); }

/* colophon */
.colophon-wrap { padding: 60px var(--edge) 0; }
.colophon { display: flex; align-items: center; gap: 22px; padding: 18px 26px; border-radius: 24px; border: 1px solid transparent; transition: transform .16s ease; }
.colophon img { height: 44px; opacity: .75; }
.colophon .l1 { font-size: 22px; font-weight: 600; color: var(--cream-muted); }
.colophon .l2 { font-size: 19px; color: rgba(184,177,156,.7); }
.colophon .about { margin-left: auto; font-size: 22px; font-weight: 600; color: var(--cream-muted); }
.colophon.is-focused { background: rgba(239,169,46,.18); border-color: rgba(239,169,46,.95); transform: scale(1.02); }
.colophon.is-focused .about { color: var(--cream); }

/* chart row */
.chart-row { gap: 132px !important; padding-left: calc(var(--edge) + 92px) !important; padding-bottom: 110px !important; }
.chart-card { width: 276px; height: 276px; margin-bottom: 0; align-items: flex-start; }
.chart-card .avatar { width: 276px !important; height: 276px !important; border-radius: 24px; }
.chart-card .rank { position: absolute; left: -86px; top: 128px; font-size: 150px; font-weight: 900; font-family: Georgia, "Times New Roman", serif; color: var(--cream); -webkit-text-stroke: 0; text-shadow: 0 0 12px rgba(0,0,0,.95), 0 0 3px rgba(0,0,0,.7); margin: 0; z-index: 2; pointer-events: none; }
.chart-card .who { left: 0; bottom: -70px; }
.chart-card.is-focused { transform: translateY(-10px); }
.chart-card.is-focused .avatar { box-shadow: 0 12px 30px rgba(100,181,164,.55); }

/* tickets */
.tickets-row { gap: 46px !important; }
.tickets-grid { grid-template-columns: repeat(4, 420px); }
.ticket-card { position: relative; display: block; width: 420px; height: 286px; border-radius: 16px; overflow: hidden; background: #141414; border: 1px solid rgba(243,234,205,.16); transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s ease; }
.ticket-card .stub { position: absolute; left: 0; top: 0; bottom: 0; width: 147px; padding: 18px 14px; display: flex; flex-direction: column; align-items: center; text-align: center; z-index: 2; background: linear-gradient(to right, #0e0e0e, rgba(14,14,14,0)); }
.ticket-card .stub .wd { font-size: 20px; font-weight: 800; letter-spacing: .16em; color: var(--gold); }
.ticket-card .stub .dn { font-size: 62px; font-weight: 700; font-family: Georgia, serif; line-height: 1; margin: 6px 0 2px; }
.ticket-card .stub .mo { font-size: 20px; font-weight: 800; letter-spacing: .12em; color: var(--cream-muted); }
.ticket-card .stub .tm { font-size: 23px; font-weight: 600; margin-top: 8px; }
.ticket-card .art { position: absolute; left: 100px; right: 0; top: 0; height: 168px; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 42%); mask-image: linear-gradient(to right, transparent 0, #000 42%); }
.ticket-card .art img { width: 100%; height: 100%; object-fit: cover; }
.ticket-card .art .plate { position: absolute; inset: 0; }
.ticket-card .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px 16px; background: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.55) 30%, rgba(0,0,0,.92) 100%); }
.ticket-card .cap .t { font-size: 26px; font-weight: 600; line-height: 1.2; }
.ticket-card .cap .s { font-size: 22px; color: var(--cream-muted); margin-top: 4px; }
.ticket-card.is-focused { transform: scale(1.06); z-index: 5; box-shadow: 0 0 0 3px var(--cream), 0 24px 50px rgba(0,0,0,.6), 0 12px 30px rgba(100,181,164,.45); }

/* game / night tiles */
.game-tile, .night-tile { flex: none; display: flex; align-items: center; width: 440px; height: 148px; border-radius: 18px; background: rgba(27,33,29,.85); border: 1px solid var(--hairline); transition: transform .16s ease, background .16s ease; }
.game-tile .stub, .night-tile .stub { width: 132px; text-align: center; display: flex; flex-direction: column; align-items: center; border-right: 1px solid var(--hairline); height: 108px; justify-content: center; }
.game-tile .wd, .night-tile .wd { font-size: 19px; font-weight: 800; letter-spacing: .12em; color: var(--teal); }
.night-tile .wd { color: var(--gold); }
.game-tile .dn, .night-tile .dn { font-size: 54px; font-weight: 700; font-family: Georgia, serif; line-height: 1; }
.game-tile .mo, .night-tile .mo { font-size: 19px; font-weight: 800; letter-spacing: .1em; color: var(--cream-muted); }
.game-tile .main, .night-tile .main { flex: 1; min-width: 0; padding: 0 22px; }
.game-tile .opp, .night-tile .opp { font-size: 27px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.game-tile .opp img { width: 34px; height: 34px; border-radius: 6px; }
.game-tile .line, .night-tile .line { font-size: 23px; color: var(--cream); margin-top: 6px; }
.game-tile .line.win { color: var(--teal); } .game-tile .line.loss { color: var(--orange); }
.game-tile .line .season { color: var(--orange); }
.game-tile.is-focused, .night-tile.is-focused { background: var(--bg-raised); border-color: rgba(100,181,164,.95); box-shadow: 0 10px 26px rgba(100,181,164,.5); transform: scale(1.04); }
.row .later { flex: none; align-self: center; display: flex; align-items: center; gap: 14px; font-size: 18px; font-weight: 800; letter-spacing: .2em; color: var(--cream-muted); }
.row .later::before { content: ""; width: 1px; height: 96px; background: var(--hairline); }
.team-season { margin-bottom: var(--shelf-gap); }

/* entity page */
.detail.entity .film, .entity-film { width: 1920px !important; height: 1080px !important; left: 0; }
.detail.entity .film img, .detail.entity .film video { width: 100%; height: 100%; }
.detail.entity .copy.banner { padding-top: 490px; width: 1200px; }
.detail.entity .copy.banner h1 { line-height: 1.0; margin: 6px 0 14px; }
.detail.entity .copy .actions { align-items: center; }
.detail .copy h1.serif { font-family: Georgia, "Times New Roman", serif; font-weight: 600; font-size: 46px; max-width: 1100px; }
.detail .copy .synopsis { cursor: pointer; }
.detail .copy .synopsis.is-focused { color: #fff; }
.clamp-4 { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.hook-window { position: absolute; top: 60px; right: var(--edge); width: 520px; z-index: 4; }
.hook-window video { width: 520px; height: 292px; object-fit: cover; border-radius: 18px; border: 1.5px solid rgba(243,234,205,.22); box-shadow: 0 12px 28px rgba(0,0,0,.55); }
.hook-window .k { font-size: 19px; font-weight: 800; letter-spacing: .12em; color: var(--gold); margin-top: 10px; }
.map-plate { position: absolute; inset: 0; background: #0f1512; }
.map-plate .grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(243,234,205,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(243,234,205,.06) 1px, transparent 1px); background-size: 80px 80px; filter: grayscale(1); }
.map-plate .pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -60%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.map-plate .pin .dot { font-size: 46px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.8)); }
.map-plate .pin .name { font-size: 22px; font-weight: 600; text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.map-plate .coords { position: absolute; right: 24px; bottom: 18px; font-size: 20px; color: var(--cream-muted); font-family: ui-monospace, Menlo, monospace; }
.venue-map { height: 440px; width: 1300px; border-radius: 28px; border: 1px solid var(--hairline); margin-left: var(--edge); }

/* live */
.live-sheet { margin: 0 0 0 calc(var(--edge) - 32px); padding: 0 0 0 32px; border-radius: 32px 0 0 32px; background: rgba(27,33,29,.55); border: 1px solid rgba(243,234,205,.08); border-right: 0; }
.live-sheet .row { padding-left: 0; }
.live-board { position: relative; display: flex; gap: 40px; padding: 120px var(--edge) 80px var(--edge); }
.live-rail { flex: none; width: 480px; height: 820px; border-radius: 32px; padding: 38px 34px; overflow-y: auto; }
.live-row { display: flex; align-items: center; gap: 14px; width: 100%; height: 72px; border-radius: 36px; padding: 0 22px; font-size: 30px; font-weight: 600; text-align: left; transition: background .16s ease; }
.live-row .l { flex: 1; } .live-row .n { font-size: 22px; color: var(--cream-muted); }
.live-row .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--live); }
.live-row.is-selected { background: rgba(100,181,164,.16); }
.live-row.is-focused { background: rgba(100,181,164,.34); }
.live-right { flex: 1; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.live-window { position: relative; height: 470px; border-radius: 32px; overflow: hidden; border: 1px solid rgba(243,234,205,.10); }
.live-window .ground { position: absolute; inset: 0; }
.live-window .ground .sym { position: absolute; right: 60px; top: 50%; transform: translateY(-50%); font-size: 200px; opacity: .92; }
.live-window .top { position: absolute; left: 28px; top: 28px; display: flex; gap: 12px; z-index: 2; }
.live-window .words { position: absolute; left: 40px; right: 40px; bottom: 36px; z-index: 2; background: linear-gradient(to top, rgba(0,0,0,.6), transparent); }
.live-grid { grid-template-columns: repeat(4, 300px); padding-left: 0; }
.live-right .row { padding-left: 0; }

/* launch words */
#launch .word .big { display: flex; gap: 20px; }
#launch .word .big span { display: inline-block; opacity: 0; font-weight: 900; font-size: 78px; letter-spacing: .06em; background: linear-gradient(180deg, #FFD97A 0%, #F6BD45 32%, #EFA92E 54%, #CF8F1E 78%, #AA7113 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(3px 6px 0 rgba(27,33,29,.9)); transition: transform .36s cubic-bezier(.2,.9,.3,1.3), opacity .2s ease; }
#launch .word .big .hella { transform: translateX(-1100px) rotate(-4deg); }
#launch .word .big .local { transform: translateX(1100px) rotate(4deg); }
#launch.words .word .big span { opacity: 1; }
#launch.words .word .big .hella { transform: rotate(-4deg); transition-delay: 2.35s; }
#launch.words .word .big .local { transform: rotate(4deg); transition-delay: 2.35s; }
#launch .word .small { opacity: 0; transform: translateY(220px); transition: transform .2s cubic-bezier(.2,.9,.3,1.25), opacity .2s ease; letter-spacing: .28em; font-size: 34px; font-weight: 900; }
#launch.words .word .small { opacity: 1; transform: none; transition-delay: 3.8s; }
#launch .word { opacity: 1; transform: none; top: calc(50% + 120px); }
#launch .word .big { opacity: 1; }
#launch.words .press { opacity: 0; }
#launch.words .mic { transform: scale(0.75); transition: transform .3s ease 2.4s; }
#launch .mic { transform: scale(1.1); }
#launch.lit .mic { transform: scale(1.1); }
.results .grid { padding-top: 10px; }
[hidden] { display: none !important; }
#overlay { position: absolute; inset: 0; z-index: 90; pointer-events: none; }   /* above the player (80): the Info panel's tickets open a sheet */
#overlay:empty { display: none; }
#overlay > * { pointer-events: auto; }
/* a card is exactly as wide as its picture — the caption wraps inside it */
.card.standard { width: 420px; } .card.wide { width: 610px; } .card.cast { width: 300px; } .card.channel { width: 300px; } .card.photo { width: 420px; }
.card .under { min-width: 0; }
.card .under .t { overflow-wrap: anywhere; }

/* ── an occasion page's facts strip (#731; OccasionFacts in CalendarViews.swift) ── */
.facts { display: flex; align-items: flex-start; gap: 48px; padding: 0 var(--edge); margin-bottom: var(--shelf-gap); }
.facts .fact { max-width: 420px; }
.facts .l { font-size: 18px; font-weight: 800; letter-spacing: .09em; color: var(--teal); margin-bottom: 8px; }
.facts .v { font-size: 26px; font-weight: 500; line-height: 1.3; color: var(--cream); }

/* ── #739: a photographer's credit on a hero — small, bottom-right, verbatim, wraps, never cut ── */
.photo-credit { position: absolute; right: var(--edge); bottom: 56px; max-width: 900px; text-align: right; font-size: 18px; font-weight: 500; line-height: 1.3; color: rgba(243,234,205,.72); text-shadow: 0 1px 6px rgba(0,0,0,.8); z-index: 2; pointer-events: none; }
.hero-window .photo-credit { right: 24px; bottom: 18px; max-width: 700px; }
.banner .photo-credit { position: static; width: calc(1920px - 2 * var(--edge)); max-width: none; margin-top: 18px; }
.banner .actions { position: relative; }
.banner .actions .photo-credit { position: absolute; right: -560px; top: 50%; transform: translateY(-50%); width: auto; max-width: 700px; margin: 0; }   /* the banner is 1200 wide at x 80; -560 puts the line's right edge at 1840, the screen's edge minus the overscan */

/* ── TV-405: a card that leads with a name (GenreNameLine) ── */
.card .under.captioned { display: flex; flex-direction: column; gap: 4px; }
.gname { display: flex; align-items: baseline; gap: 10px; font-weight: 600; color: rgba(243,234,205,.82); min-width: 0; }
.gname .gi { font-size: .8em; opacity: .82; flex: none; }
.gname .n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.card.is-focused .gname { color: var(--cream); }
.card.is-focused .gname .gi { opacity: 1; }   /* the icon keeps its genre's tint */
.card .under .ct { font-size: 21px; color: var(--cream-muted); opacity: .75; line-height: 1.25; }
.card .under .cd { font-size: 21px; color: var(--cream-muted); opacity: .7; }
.card.is-focused .under .ct, .card.is-focused .under .cd { opacity: 1; }
.sheet .pane .when { font-size: 28px; font-weight: 600; color: var(--gold); margin: -4px 0 16px; }

/* ── the player's Info panel (PlayerCastPanel; TV-444/446/458/459/460/461) ── */
#player .cast { position: absolute; left: 0; right: 0; top: 0; bottom: auto; width: auto; max-height: 1080px; padding: 56px 117px 48px; overflow-y: auto; transform: translateY(-105%); transition: transform .3s ease; background: none; border: 0; box-shadow: none; z-index: 2; display: flex; flex-direction: column; gap: 20px; }
#player .cast.open { transform: none; }
#player .info-scrim { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .2s ease; z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,.82) 0%, rgba(0,0,0,.6) 45%, rgba(0,0,0,.3) 80%, rgba(0,0,0,.1) 100%); }
#player .info-scrim.on { opacity: 1; transition-duration: .28s; }
#player .cast .desc { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
#player .cast .words { max-width: 1260px; display: flex; flex-direction: column; gap: 10px; }
#player .cast .words .k { font-size: 20px; font-weight: 800; letter-spacing: 1.6px; color: var(--gold); }
#player .cast .words .t { font-size: 34px; font-weight: 700; line-height: 1.1; }
#player .cast .words .syn { font-size: 21px; line-height: 1.35; }
#player .cast .words .m { font-size: 19px; font-weight: 500; color: rgba(243,234,205,.9); }
#player .cast .people { display: grid; grid-template-columns: repeat(2, 830px); gap: 26px; padding: 4px 0; }
.info-card { position: relative; width: 830px; height: 300px; border-radius: 24px; overflow: hidden; transition: transform .18s ease-out, box-shadow .18s ease-out; }
.info-card .photo, .info-night .photo { position: absolute; left: 0; top: 0; bottom: 0; width: 300px; -webkit-mask-image: linear-gradient(to right, #000 0%, #000 42%, transparent 100%); mask-image: linear-gradient(to right, #000 0%, #000 42%, transparent 100%); }
.info-card .photo img, .info-night .photo img { width: 100%; height: 100%; object-fit: cover; }
.info-card .photo .plate, .info-night .photo .plate { position: absolute; inset: 0; }
.info-card .w { position: absolute; inset: 0; padding: 22px 26px 22px 264px; display: flex; flex-direction: column; gap: 10px; }
.info-card .k { font-size: 17px; font-weight: 800; letter-spacing: 1.5px; color: var(--teal); }
.info-card .n { font-size: 30px; font-weight: 600; letter-spacing: .4px; }
.info-card .b { font-size: 19px; line-height: 1.3; letter-spacing: .5px; color: var(--cream); }
.info-card .badge { margin-top: auto; align-self: flex-start; font-size: 17px; font-weight: 700; color: var(--gold); padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(243,234,205,.18); background: rgba(243,234,205,.05); }
.info-card.is-focused { transform: scale(1.03); box-shadow: inset 0 0 0 3px rgba(243,234,205,.9), 0 12px 28px rgba(100,181,164,.55); }
.clamp-5 { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
#player .cast .upcoming { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
#player .cast .upcoming .head { display: flex; align-items: baseline; gap: 14px; }
#player .cast .upcoming .head .h { font-size: 30px; font-weight: 700; }
#player .cast .upcoming .head .p { font-size: 22px; font-weight: 500; color: var(--cream-muted); }
.info-night { position: relative; width: 1686px; height: 116px; border-radius: 20px; overflow: hidden; flex: none; transition: transform .18s ease-out, box-shadow .18s ease-out; cursor: default; }
.info-night .w { position: absolute; inset: 0; padding: 0 26px 0 264px; display: flex; align-items: center; gap: 22px; }
.info-night .l { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.info-night .tt { font-size: 24px; font-weight: 600; }
.info-night .pr { display: flex; gap: 12px; align-items: center; font-size: 19px; font-weight: 500; color: var(--cream-muted); }
.info-night .onsale { font-size: 14px; font-weight: 800; letter-spacing: .06em; color: var(--teal); padding: 3px 10px; border: 1.5px solid var(--teal); border-radius: 999px; }
.info-night .r { text-align: right; display: flex; flex-direction: column; gap: 2px; }
.info-night .dn { font-size: 17px; font-weight: 800; color: var(--teal); }
.info-night .dm { font-size: 26px; font-weight: 700; }
.info-night .ck { font-size: 18px; font-weight: 500; color: var(--cream-muted); }
.info-night.is-focused { transform: scale(1.02); box-shadow: inset 0 0 0 3px rgba(243,234,205,.9), 0 10px 24px rgba(100,181,164,.55); }

/* ── TV-456: the programme page's people and places, big cards ── */
.shelf .row.cast-panels { padding: 24px var(--edge); gap: 40px; }
.cast-panel { position: relative; flex: none; width: 860px; height: 240px; border-radius: 26px; overflow: hidden; display: block; transition: transform .2s ease, box-shadow .2s ease; }
.cast-panel.third { width: 560px; }
.cast-panel .photo { position: absolute; left: 0; top: 0; bottom: 0; width: 320px; -webkit-mask-image: linear-gradient(to right, #000 0%, #000 42%, transparent 100%); mask-image: linear-gradient(to right, #000 0%, #000 42%, transparent 100%); }
.cast-panel.third .photo { width: 250px; }
.cast-panel .photo img { width: 100%; height: 100%; object-fit: cover; }
.cast-panel .photo .plate { position: absolute; inset: 0; }
.cast-panel .w { position: absolute; inset: 0; padding: 22px 26px 22px 275px; display: flex; flex-direction: column; gap: 10px; }
.cast-panel.third .w { padding-left: 215px; }
.cast-panel .k { font-size: 19px; font-weight: 800; letter-spacing: 1.6px; color: var(--teal); }
.cast-panel .n { font-size: 32px; font-weight: 700; line-height: 1.1; }
.cast-panel.third .n { font-size: 28px; }
.cast-panel .b { font-size: 21px; line-height: 1.35; color: rgba(243,234,205,.85); }
.cast-panel.third .b { font-size: 19px; }
.cast-panel .badge { margin-top: auto; align-self: flex-start; font-size: 19px; font-weight: 700; color: var(--gold); padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(243,234,205,.18); background: rgba(243,234,205,.05); }
.cast-panel.is-focused { transform: scale(1.04); z-index: 5; box-shadow: inset 0 0 0 3px rgba(243,234,205,.9), 0 12px 30px rgba(100,181,164,.55); }

/* ── TV-467: Sports' hero corner — mark · placing | record ── */
.ticker-block { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.hero-standing { align-self: flex-end; display: flex; align-items: center; gap: 12px; padding-right: calc(var(--edge) + 20px); font-size: 26px; font-weight: 600; white-space: nowrap; color: var(--cream); filter: drop-shadow(0 1px 6px rgba(0,0,0,.85)) drop-shadow(0 0 14px rgba(0,0,0,.5)); }
.hero-standing:empty { display: none; }
.hero-standing .pipe { color: var(--cream-muted); }

/* ── TV-448: subtitles, drawn by the page ── */
#player .caption-plate { position: absolute; left: 50%; bottom: 156px; transform: translateX(-50%); max-width: 82%; padding: 14px 28px; border-radius: 10px; background: rgba(0,0,0,.72); color: #fff; font-size: 40px; font-weight: 500; line-height: 1.25; text-align: center; white-space: pre-line; z-index: 1; pointer-events: none; transition: bottom .3s ease; }
#player:has(.controls:not(.hidden)) .caption-plate { bottom: 330px; }   /* the controls are up: the words rise above them, as AVKit raises them */

/* ── the player's Tickets sheet (TicketsSheet; TV-120/446/447/450/451/452) ── */
.sheet.tickets { place-items: stretch; background: rgba(0,0,0,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tickets-sheet { display: flex; flex-direction: column; gap: 22px; padding: 40px var(--edge); height: 1080px; overflow: hidden; }
.ts-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.ts-eyebrow { font-size: 22px; font-weight: 800; letter-spacing: 2.2px; color: var(--cream-muted); }
.ts-eyebrow.teal { font-size: 20px; color: var(--teal); }
.ts-title { font-size: 34px; font-weight: 700; margin-top: 4px; }
.ts-heads, .ts-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.ts-cols { flex: 1; min-height: 0; align-items: start; }
.ts-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ts-scroll { max-height: 100%; overflow-y: auto; padding: 0 24px 400px; margin: 0 -24px -40px; -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 86%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0, #000 86%, transparent 100%); }
.ts-cols.classic { gap: 60px; }
.ts-cols.classic .ts-col { gap: 18px; }
.ts-rows { display: flex; flex-direction: column; gap: 14px; padding: 10px 0; }
.ts-empty { font-size: 28px; color: rgba(243,234,205,.7); max-width: 700px; }
.ts-none { font-size: 22px; color: rgba(243,234,205,.6); max-width: 700px; }
.party-head { display: flex; align-items: center; gap: 24px; padding: 14px 58px 14px 14px; border-radius: 24px; transition: padding .26s ease-out, transform .3s cubic-bezier(.3,1.4,.5,1), background .18s ease; }
.party-head .ph-photo { width: 108px; height: 108px; border-radius: 50%; overflow: hidden; flex: none; background: var(--bg-raised); transition: width .26s ease-out, height .26s ease-out; }
.party-head .ph-photo img { width: 100%; height: 100%; object-fit: cover; }
.party-head .ph-photo .plate { width: 100%; height: 100%; }
.party-head .ph-name { font-size: 32px; font-weight: 700; transition: font-size .26s ease-out; }
.party-head .ph-kind { font-size: 17px; font-weight: 800; letter-spacing: 1.8px; color: var(--cream-muted); }
.party-head.compact { padding: 8px 52px 8px 8px; }
.party-head.compact .ph-photo { width: 44px; height: 44px; }
.party-head.compact .ph-name { font-size: 26px; }
.party-head.is-focused { padding-right: 14px; background: rgba(243,234,205,.10); box-shadow: inset 0 0 0 3px rgba(243,234,205,.9); }
.event-row { position: relative; display: block; height: 160px; border-radius: 22px; overflow: hidden; flex: none; margin-right: 0; transition: margin-right .3s cubic-bezier(.3,1.4,.5,1), transform .18s ease-out, box-shadow .18s ease-out; }
.event-row.stepped { margin-right: 44px; }
.event-row .er-photo { position: absolute; left: 0; top: 0; bottom: 0; width: 300px; -webkit-mask-image: linear-gradient(to right, #000 0%, #000 42%, transparent 100%); mask-image: linear-gradient(to right, #000 0%, #000 42%, transparent 100%); }
.event-row .er-photo img { width: 100%; height: 100%; object-fit: cover; }
.event-row .er-photo .plate { position: absolute; inset: 0; }
.event-row .er-words { position: absolute; inset: 0; padding: 0 26px 0 264px; display: flex; align-items: center; gap: 18px; }
.event-row .er-l { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.event-row .er-h { font-size: 28px; font-weight: 700; }
.event-row .er-o { font-size: 21px; color: rgba(243,234,205,.8); }
.event-row .er-p { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 500; color: var(--cream-muted); }
.event-row .status { font-size: 15px; font-weight: 800; letter-spacing: 1.2px; padding: 3px 10px; border: 1.5px solid var(--cream-muted); border-radius: 999px; color: var(--cream-muted); }
.event-row .status.live { border-color: var(--teal); color: var(--teal); }
.event-row .er-when { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.event-row .er-when .dn { font-size: 21px; font-weight: 800; letter-spacing: 2px; color: var(--teal); }
.event-row .er-when .dm { font-size: 46px; font-weight: 700; line-height: 1.05; }
.event-row .er-when .ck { font-size: 21px; font-weight: 500; color: var(--cream-muted); }
.event-row.is-focused { transform: scale(1.02); box-shadow: inset 0 0 0 3px rgba(243,234,205,.9), 0 12px 30px rgba(100,181,164,.55); z-index: 2; }
.act-panel { position: relative; min-height: 280px; border-radius: 26px; overflow: hidden; }
.act-panel .ap-photo { position: absolute; left: 0; top: 0; bottom: 0; width: 340px; -webkit-mask-image: linear-gradient(to right, #000 0%, #000 42%, transparent 100%); mask-image: linear-gradient(to right, #000 0%, #000 42%, transparent 100%); }
.act-panel .ap-photo img { width: 100%; height: 100%; object-fit: cover; }
.act-panel .ap-photo .plate { position: absolute; inset: 0; }
.act-panel .ap-words { position: relative; padding: 30px 28px 30px 300px; display: flex; flex-direction: column; gap: 18px; }
.act-panel.bare .ap-words { padding: 26px; }
.act-panel .ap-name { font-size: 34px; font-weight: 700; line-height: 1.1; }
.act-panel .ap-bio { font-size: 23px; line-height: 1.4; color: rgba(243,234,205,.92); max-width: 760px; }
.act-panel .ap-none { font-size: 22px; color: rgba(243,234,205,.6); max-width: 700px; }
.act-panel .ap-when { display: flex; align-items: baseline; gap: 14px; padding-top: 4px; }
.act-panel .ap-when .d { font-size: 24px; font-weight: 800; color: var(--teal); }
.act-panel .ap-when .t, .act-panel .ap-when .t2 { font-size: 22px; font-weight: 600; }
.act-panel .ap-when .m { color: var(--cream-muted); }
.act-panel .ap-place { font-size: 20px; color: var(--cream-muted); }
.clamp-8 { display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
