/* Online Originals — "Premiere night". Midnight navy, popcorn gold, coral; marquee bulbs, ticket stubs, EPG grid. */
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-var.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-italic-var.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --navy: #0B1530;
  --navy-2: #16244A;
  --navy-3: #22345F;
  --line: #2C3F70;
  --gold: #F5B700;
  --gold-soft: #FFD966;
  --coral: #FF6B57;
  --coral-ink: #B8321F;   /* coral dark enough for text on white */
  --silver: #C9D1E3;
  --muted: #9EAACB;
  --white: #FFFFFF;
  --paper: #FFFFFF;
  --ink: #0B1530;
  --ink-muted: #44506E;
  --hole: var(--navy);
  --radius: 10px;
  --wrap: 1180px;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy); color: var(--silver); font: 400 1.0625rem/1.6 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-soft); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; box-shadow: 0 0 0 5px var(--navy); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--white); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 1.2rem + 3.2vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 1.05rem + 1.3vw, 2rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--gold); color: var(--navy); padding: 10px 14px; font-weight: 700; border-radius: 6px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.kicker { font: 600 .74rem/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 .7em; }

/* ---------------------------------------------------------------- marquee masthead */
.masthead { padding: 18px 0 0; }
.masthead .wrap { display: grid; gap: 14px; }
.marquee {
  position: relative; display: block; text-decoration: none; color: var(--white);
  background: var(--navy-2); border-radius: 14px; padding: 22px 26px;
  box-shadow: inset 0 0 0 2px #2b3d6e, 0 12px 30px rgba(0,0,0,.35);
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; inset: 7px; border-radius: 9px; pointer-events: none;
  --b: radial-gradient(circle, #FFF8DD 0 1.6px, var(--gold) 2.6px, rgba(245,183,0,.28) 3.6px, transparent 5px);
  background: var(--b) 0 0 / 18px 10px repeat-x, var(--b) 0 100% / 18px 10px repeat-x,
              var(--b) 0 0 / 10px 18px repeat-y, var(--b) 100% 0 / 10px 18px repeat-y;
}
.marquee::after { background-position: 9px 0, 9px 100%, 0 9px, 100% 9px; opacity: .55; }
@media (prefers-reduced-motion: no-preference) {
  .marquee::after { animation: twinkle 3.6s ease-in-out infinite alternate; }
  @keyframes twinkle { from { opacity: .25; } to { opacity: .8; } }
}
.marquee:hover { color: var(--white); }
.marquee-small { display: block; font: 600 .7rem/1.2 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--coral); }
.marquee-name { display: block; font: 800 clamp(1.45rem, .9rem + 3.4vw, 2.9rem)/1.05 var(--display); letter-spacing: .02em; text-transform: uppercase; margin: .25em 0 .3em; color: var(--white); text-shadow: 0 0 18px rgba(245,183,0,.35); }
.marquee-name b { color: var(--gold); font-weight: 800; }
.marquee-tag { display: block; color: var(--silver); font-size: .95rem; }

.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mainnav li + li { border-left: 1px solid var(--line); }
.mainnav a { display: block; padding: 10px 14px; color: var(--silver); text-decoration: none; font: 600 .82rem/1.2 var(--display); letter-spacing: .04em; }
.mainnav a:hover, .mainnav a[aria-current="page"] { color: var(--navy); background: var(--gold); }
@media (max-width: 720px) {
  .mainnav ul { display: grid; grid-template-columns: 1fr 1fr; }
  .mainnav li + li { border-left: 0; }
  .mainnav li:nth-child(even) { border-left: 1px solid var(--line); }
  .mainnav li { border-top: 1px solid var(--line); }
  .mainnav li:nth-child(-n+2) { border-top: 0; }
  .marquee { padding: 20px 20px; }
}

main { display: block; padding: 28px 0 56px; }
.page-head { margin: 8px 0 26px; max-width: 860px; }
.page-head .lede { font-size: 1.15rem; color: var(--silver); }
.crumbs { font-size: .88rem; margin: 0 0 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold); }
.section { margin: 46px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 18px; border-bottom: 2px solid var(--line); padding-bottom: 10px; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; min-height: 46px; padding: 10px 18px; border-radius: 8px; background: var(--gold); color: var(--navy); font: 700 .92rem/1.2 var(--display); text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { background: var(--gold-soft); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { background: var(--navy-3); color: var(--white); }
.btn--coral { background: var(--coral); color: var(--navy); }
.btn--coral:hover { background: #ff8a7a; }

/* "Admit one" ticket button */
.admit {
  position: relative; display: inline-grid; grid-template-columns: auto 1fr; align-items: stretch; text-decoration: none; color: var(--navy);
  background: var(--gold); border-radius: 8px; min-height: 64px; font-family: var(--display);
  -webkit-mask: radial-gradient(circle 9px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 9px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.admit-stub { display: grid; place-items: center; padding: 8px 14px 8px 20px; border-right: 2px dashed rgba(11,21,48,.45); font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.admit-main { display: grid; align-content: center; padding: 10px 26px 10px 16px; }
.admit-main strong { font-size: 1.02rem; font-weight: 800; }
.admit-main span { font: 500 .85rem/1.3 var(--body); }
.admit:hover { background: var(--gold-soft); color: var(--navy); }

/* ---------------------------------------------------------------- ticket-stub show cards */
.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 236px), 1fr)); gap: 22px; list-style: none; margin: 0; padding: 0; }
.ticket { position: relative; display: flex; flex-direction: column; background: var(--navy-2); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 10px 24px rgba(0,0,0,.28); transition: transform .15s ease; }
.ticket:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .ticket { transition: none; } .ticket:hover { transform: none; } }
.ticket-top { padding: 10px 10px 12px; }
.ticket h2, .ticket h3 { font-size: 1rem; margin: 12px 4px 4px; }
.ticket h2 a, .ticket h3 a { color: var(--white); text-decoration: none; }
.ticket h2 a::after, .ticket h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.ticket h2 a:hover, .ticket h3 a:hover { color: var(--gold); }
.ticket:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }
.ticket h2 a:focus-visible, .ticket h3 a:focus-visible { outline: none; box-shadow: none; }
.ticket-meta { margin: 0 4px; font-size: .9rem; color: var(--muted); }
.ticket-stub {
  position: relative; margin-top: auto; display: flex; justify-content: space-between; gap: 10px; align-items: center;
  padding: 10px 14px 12px; border-top: 2px dashed var(--line); font: 600 .66rem/1.35 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--silver);
}
.ticket-stub::before, .ticket-stub::after { content: ""; position: absolute; top: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--hole); }
.ticket-stub::before { left: -9px; }
.ticket-stub::after { right: -9px; }
.status { display: inline-block; padding: 2px 7px; border-radius: 4px; font: 700 .66rem/1.4 var(--display); letter-spacing: .08em; text-transform: uppercase; background: var(--navy-3); color: var(--silver); white-space: nowrap; }
.status--returning { background: #12483F; color: #B9F3DF; }
.status--ended { background: #2A3550; color: var(--silver); }
.status--cancelled { background: #5A1D16; color: #FFC9BF; }
.status--limited { background: #4A3B0B; color: #FFE7A0; }
.status--uncertain { background: #3A2F4F; color: #E4D7FF; }

/* ---------------------------------------------------------------- listings (TV-guide rows) */
.listings { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--line); }
.listings li { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: 6px 18px; align-items: baseline; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.listings .slot { font: 700 .78rem/1.3 var(--display); letter-spacing: .08em; color: var(--gold); text-transform: uppercase; }
.listings h3 { margin: 0 0 4px; font-size: 1.05rem; }
.listings h3 a { color: var(--white); text-decoration: none; }
.listings h3 a:hover { color: var(--gold); text-decoration: underline; }
.listings p { margin: 0; color: var(--silver); }
.listings .count { font: 800 1.5rem/1 var(--display); color: var(--white); text-align: right; }
.listings .count small { display: block; font: 500 .72rem/1.3 var(--body); color: var(--muted); letter-spacing: .04em; }
@media (max-width: 640px) { .listings li { grid-template-columns: 1fr auto; } .listings .slot { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- home */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: center; margin: 10px 0 34px; }
.hero h1 { font-size: clamp(2.2rem, 1.2rem + 4.6vw, 4.6rem); line-height: 1; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { font-size: 1.18rem; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-top: 22px; }
.hero-guide { background: var(--navy-2); border-radius: 12px; padding: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.hero-guide h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.mini-epg { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mini-epg li { display: grid; grid-template-columns: 7.2rem 1fr; gap: 8px; align-items: stretch; }
.mini-epg .ch { display: grid; align-content: center; padding: 6px 8px; background: var(--navy); border-radius: 6px; font: 700 .62rem/1.2 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--silver); overflow-wrap: anywhere; }
.mini-epg a { display: grid; padding: 8px 10px; border-radius: 6px; background: var(--prog, var(--navy-3)); color: var(--prog-fg, var(--white)); text-decoration: none; font-weight: 700; line-height: 1.25; }
.mini-epg a span { font: 500 .8rem/1.3 var(--body); opacity: .9; }
.mini-epg a:hover { filter: brightness(1.08); text-decoration: underline; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } }

.channel-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.channel-grid a { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; padding: 14px 16px; background: var(--navy-2); border-radius: 8px; text-decoration: none; color: var(--silver); border-left: 5px solid var(--ch, var(--gold)); }
.channel-grid a:hover { background: var(--navy-3); color: var(--white); }
.channel-grid .num { grid-row: span 2; font: 800 1.6rem/1 var(--display); color: var(--white); min-width: 2.2ch; text-align: center; }
.channel-grid strong { color: var(--white); font-family: var(--display); font-size: .98rem; }
.channel-grid span { font-size: .88rem; }

/* ---------------------------------------------------------------- reading panels (white) */
.paper { background: var(--paper); color: var(--ink); border-radius: 12px; padding: clamp(20px, 3vw, 40px); box-shadow: 0 18px 40px rgba(0,0,0,.3); }
.paper h1, .paper h2, .paper h3 { color: var(--ink); }
.paper a { color: var(--coral-ink); }
.paper a:hover { color: var(--ink); }
.paper .muted, .paper .small { color: var(--ink-muted); }
.paper :focus-visible { outline-color: var(--coral-ink); box-shadow: 0 0 0 5px var(--paper); }
.prose { max-width: 70ch; font-size: 1.08rem; line-height: 1.7; }
.prose h2 { margin-top: 1.6em; font-size: 1.4rem; }
.prose h3 { margin-top: 1.3em; }
.prose blockquote { margin: 1.4em 0; padding: .2em 0 .2em 1.1em; border-left: 4px solid var(--gold); font-style: italic; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .3em 0; }
.standfirst { font-size: 1.22rem; line-height: 1.5; color: var(--ink-muted); }
.sources { font-size: .92rem; }
.sources ol, .sources ul { padding-left: 1.3em; }
.sources li { margin: .25em 0; overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- show page */
.show-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "card info" "trailer info"; grid-template-rows: min-content 1fr; gap: 20px 30px; align-items: start; }
.sh-card { grid-area: card; }
.sh-info { grid-area: info; }
.sh-trailer { grid-area: trailer; margin-top: 0; }
.show-head h1 { margin-bottom: .25em; }
.show-origin { font: 700 .8rem/1.3 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--coral); margin: 0 0 12px; }
.factsheet { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 18px 0 0; padding: 18px 0 0; border-top: 2px dashed var(--line); }
.factsheet dt { font: 600 .72rem/1.6 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.factsheet dd { margin: 0; color: var(--white); }
.factsheet dd .muted { font-size: .88rem; }
@media (max-width: 860px) { .show-head { grid-template-columns: 1fr; grid-template-areas: "card" "info" "trailer"; grid-template-rows: auto; } .sh-card { max-width: 520px; } }
@media (max-width: 420px) { .factsheet { grid-template-columns: 1fr; gap: 2px; } .factsheet dd { margin-bottom: 8px; } }

.watch { margin-top: 26px; background: var(--navy-2); border-radius: 12px; padding: 20px; border-top: 4px solid var(--gold); }
.watch h2 { font-size: 1.2rem; }
.watch-group { margin: 12px 0 0; }
.watch-group h3 { font: 600 .74rem/1.3 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.watch-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.watch-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px; border-radius: 8px; background: var(--navy); color: var(--white); text-decoration: none; font-weight: 700; box-shadow: inset 0 0 0 1px var(--line); }
.watch-list a:hover { box-shadow: inset 0 0 0 2px var(--gold); color: var(--gold); }
.watch-list a::after { content: "→"; font-family: var(--display); color: var(--gold); }
.watch-list .note { display: block; font: 400 .84rem/1.35 var(--body); color: var(--muted); }
.watch-foot { margin: 14px 0 0; font-size: .86rem; color: var(--muted); }
.join-links { margin: 12px 0 0; font-size: .9rem; }

.show-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 30px; margin-top: 34px; align-items: start; }
.show-body .paper h2 { font-size: 1.25rem; margin-top: 1.4em; }
.show-body .paper h2:first-child { margin-top: 0; }
.factlist { padding-left: 1.2em; }
.factlist li { margin: .5em 0; }
.factlist .src { font-size: .85em; white-space: nowrap; }
.aside-box { background: var(--navy-2); border-radius: 12px; padding: 18px; margin-bottom: 20px; }
.aside-box h2 { font-size: 1.05rem; }
.aside-box ul { margin: 0; padding-left: 1.1em; }
.aside-box li { margin: .35em 0; }
.awards li::marker { content: "★ "; color: var(--gold); }
@media (max-width: 860px) { .show-body { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- browse filters (control desk) */
.desk { background: var(--navy-2); border-radius: 12px; padding: 18px; margin-bottom: 26px; border-top: 4px solid var(--coral); }
.desk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); gap: 12px 14px; }
.desk label { display: block; font: 600 .7rem/1.4 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.desk select { width: 100%; min-height: 44px; padding: 8px 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--navy); color: var(--white); font: 500 1rem/1.2 var(--body); }
.desk-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 16px; }
.result-count { font: 700 .95rem/1.3 var(--display); color: var(--white); margin: 0 0 16px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; list-style: none; padding: 0; }
.pager a, .pager span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 6px; background: var(--navy-2); color: var(--white); text-decoration: none; font-weight: 700; }
.pager a:hover { background: var(--gold); color: var(--navy); }
.pager [aria-current] { background: var(--gold); color: var(--navy); }

/* ---------------------------------------------------------------- EPG timeline */
.epg-wrap { position: relative; overflow-x: auto; overflow-y: hidden; border-radius: 12px; background: var(--navy-2); box-shadow: inset 0 0 0 1px var(--line); -webkit-overflow-scrolling: touch; scrollbar-color: var(--gold) var(--navy); }
.epg { --years: 20; --col: 112px; --ch: 132px; position: relative; display: grid; grid-template-columns: var(--ch) repeat(var(--years), var(--col)); min-width: calc(var(--ch) + var(--years) * var(--col)); }
.epg-corner, .epg-year { position: sticky; top: 0; z-index: 3; background: var(--navy); border-bottom: 2px solid var(--gold); padding: 10px 8px; font: 700 .78rem/1 var(--display); color: var(--gold); }
.epg-corner { left: 0; z-index: 4; color: var(--muted); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.epg-year { border-left: 1px solid var(--line); }
.epg-row { display: contents; }
.epg-ch { position: sticky; left: 0; z-index: 2; grid-column: 1; background: var(--navy); border-bottom: 1px solid var(--line); border-right: 2px solid var(--line); padding: 10px 10px; display: grid; align-content: start; gap: 4px; }
.epg-ch a { color: var(--white); font: 700 .8rem/1.2 var(--display); text-decoration: none; }
.epg-ch a:hover { color: var(--gold); text-decoration: underline; }
.epg-ch span { font-size: .75rem; color: var(--muted); }
.epg-lanes { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(var(--years), var(--col)); grid-template-rows: repeat(var(--lanes, 1), var(--lane-h, 40px)); gap: 4px 0; padding: 6px 0; border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(90deg, transparent 0 calc(var(--col) - 1px), var(--line) calc(var(--col) - 1px) var(--col)); list-style: none; margin: 0; }
.epg-lanes li { min-width: 0; padding: 0 2px; }
.epg-prog { display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 2px 9px; border-radius: 5px; background: var(--prog); color: var(--prog-fg); text-decoration: none; overflow: hidden; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.epg-prog b { font: 700 .76rem/1.15 var(--body); overflow: hidden; text-overflow: ellipsis; }
.epg-prog small { font: 500 .66rem/1.1 var(--body); opacity: .88; overflow: hidden; text-overflow: ellipsis; }
.epg-prog.is-open { border-right: 4px dotted currentColor; }
.epg-prog:hover, .epg-prog:focus-visible { filter: brightness(1.12); text-decoration: underline; }
.epg-now { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--coral); z-index: 1; pointer-events: none; }
@media (max-width: 640px) { .epg { --col: 96px; --ch: 92px; } .epg-ch { padding: 8px 6px; } .epg-ch a { font-size: .7rem; } .epg-lanes { --lane-h: 36px; } }
.epg-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; padding: 0; list-style: none; font-size: .88rem; }
.epg-legend span { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: 6px; background: var(--sw); }
.epg-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; margin: 0 0 12px; }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.data-table caption { text-align: left; font: 700 1rem/1.3 var(--display); color: var(--ink); padding-bottom: 10px; }
.data-table th, .data-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #D7DCE8; vertical-align: top; }
.data-table thead th { background: #EEF1F8; font-size: .82rem; }
.data-table tbody th { font-weight: 700; }
.table-scroll { overflow-x: auto; }
details.fallback > summary { cursor: pointer; font: 700 1rem/1.3 var(--display); color: var(--white); padding: 14px 0; }
details.fallback[open] > summary { color: var(--gold); }

/* ---------------------------------------------------------------- platform pages */
.ident { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin-bottom: 18px; }
.ident-mark { display: grid; place-items: center; min-width: 84px; height: 84px; padding: 0 16px; border-radius: 14px; background: var(--navy-2); border: 3px solid var(--ch, var(--gold)); font: 800 1rem/1 var(--display); color: var(--white); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; box-shadow: inset 0 0 0 4px var(--navy), inset 0 0 0 5px color-mix(in srgb, var(--ch, var(--gold)) 50%, transparent); }
@media (max-width: 520px) { .ident { grid-template-columns: 1fr; } .ident-mark { justify-self: start; height: 64px; } }
.keydates { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--gold); }
.keydates li { position: relative; padding: 0 0 18px 22px; }
.keydates li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--navy); }
.paper .keydates li::before { box-shadow: 0 0 0 4px var(--paper); }
.keydates time { display: block; font: 700 .78rem/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--coral); }
.paper .keydates time { color: var(--coral-ink); }
.keydates h3 { margin: 2px 0 4px; font-size: 1rem; }
.keydates p { margin: 0 0 4px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 30px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- lists & articles index */
.programme { list-style: none; margin: 0; padding: 0; counter-reset: prog; }
.programme > li { counter-increment: prog; display: grid; grid-template-columns: 3.2rem minmax(0, 190px) 1fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid #D7DCE8; }
.programme > li::before { content: counter(prog, decimal-leading-zero); font: 800 1.3rem/1 var(--display); color: var(--coral-ink); }
.programme h3 { margin: 0 0 4px; }
.programme p { margin: 0; }
@media (max-width: 640px) { .programme > li { grid-template-columns: 2.4rem 1fr; } .programme .tcard { grid-column: 2; max-width: 240px; } .programme .prog-text { grid-column: 1 / -1; } }
.article-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.article-list li { background: var(--paper); color: var(--ink); border-radius: 10px; padding: 20px 22px; border-left: 6px solid var(--gold); }
.article-list h2, .article-list h3 { color: var(--ink); margin: 0 0 6px; font-size: 1.2rem; }
.article-list a { color: var(--ink); text-decoration: none; }
.article-list a:hover { text-decoration: underline; color: var(--coral-ink); }
.article-list p { margin: 0; color: var(--ink-muted); }

/* ---------------------------------------------------------------- quiz */
.quiz { max-width: 760px; }
.quiz fieldset { border: 0; padding: 0; margin: 20px 0; }
.quiz legend { font: 700 1.1rem/1.3 var(--display); color: var(--white); margin-bottom: 12px; }
.quiz-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.quiz-options label { display: flex; gap: 10px; align-items: center; min-height: 52px; padding: 10px 14px; border-radius: 8px; background: var(--navy-2); color: var(--white); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; }
.quiz-options input { width: 20px; height: 20px; accent-color: var(--gold); }
.quiz-options label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--gold); }
.verdict { padding: 18px 20px; border-radius: 10px; margin: 0 0 22px; font: 700 1.1rem/1.4 var(--display); }
.verdict--right { background: #12483F; color: #D8FFF1; }
.verdict--wrong { background: #5A1D16; color: #FFE1DB; }

/* ---------------------------------------------------------------- footer */
.site-foot { border-top: 2px solid var(--line); padding: 34px 0 40px; background: #08102A; font-size: .94rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
.site-foot h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: .3em 0; }
.site-foot a { color: var(--silver); }
.site-foot a:hover { color: var(--gold); }
.foot-note { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- misc */
.notice { background: var(--navy-2); border-left: 4px solid var(--coral); padding: 12px 16px; border-radius: 6px; margin: 0 0 20px; }
.paper .notice { background: #FFF4F1; color: var(--ink); }
.kit-video { margin: 0; }
/* Trailers: no thumbnails (no stills or key art) — a "screen" in the show's card colours with a play button */
.trailer { margin-top: 20px; }
.trailer .kit-video-frame { border-radius: 8px; }
.trailer .kit-video-play { background: radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--tc-bg) 70%, #000) 0%, #070d1f 75%); color: var(--white); }
.trailer .kit-video-play img { display: none; }
.trailer .kit-video-play::before { content: "Play the trailer"; position: absolute; left: 0; right: 0; bottom: 14%; text-align: center; font: 700 .8rem/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.trailer .kit-video-play::after { content: ""; position: absolute; inset: 10px; border-radius: 6px; pointer-events: none;
  background: radial-gradient(circle, #FFF8DD 0 1.4px, var(--gold) 2.2px, transparent 3.4px) 0 0 / 16px 9px repeat-x, radial-gradient(circle, #FFF8DD 0 1.4px, var(--gold) 2.2px, transparent 3.4px) 0 100% / 16px 9px repeat-x; opacity: .7; }
.trailer .kit-video-icon { background: var(--gold); width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; }
.trailer .kit-video-icon::after { left: 31px; top: 24px; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--navy); }
.trailer .kit-video-play:hover .kit-video-icon, .trailer .kit-video-play:focus-visible .kit-video-icon { background: var(--coral); }
.kit-video-cap { color: var(--muted); }
.kit-video-cap a { color: var(--gold); }
.empty { padding: 30px; text-align: center; background: var(--navy-2); border-radius: 12px; }
.feature-intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 30px; align-items: start; margin-bottom: 30px; }
@media (max-width: 860px) { .feature-intro { grid-template-columns: 1fr; } }
.story-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.story { display: grid; grid-template-columns: minmax(0, 260px) 1fr; gap: 22px; background: var(--navy-2); border-radius: 12px; padding: 18px; }
.story h3 { margin: 0 0 6px; font-size: 1.2rem; }
.story h3 a { color: var(--white); text-decoration: none; }
.story h3 a:hover { color: var(--gold); text-decoration: underline; }
.story .route { font: 700 .76rem/1.4 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--coral); margin: 0 0 8px; }
.story p { margin: 0 0 .6em; }
@media (max-width: 640px) { .story { grid-template-columns: 1fr; } .story .tcard { max-width: 300px; } }
