/* ═══════════════════════════════════════════════════════════════════════════
   SJCC OTT — presentation layer. Scoped under .ott
   Structure follows a streaming catalog: transparent→solid nav, hero with a muted
   trailer, 4% gutters, N cards per row by breakpoint, hover arrows and page dots,
   1.5× hover mini-preview, detail modal over the grid.
   Branding follows the TECHGRAB reference: #0054D1 primary on a dark canvas, generous
   and consistent curves, solid blue panels with a diagonal sheen, pill buttons.
   Red appears in exactly one place — something is on air right now.
   ═══════════════════════════════════════════════════════════════════════════ */
/* Tokens live on :root, NOT on .ott — the hover preview and the detail modal are appended to
   <body>, outside the .ott subtree, and would otherwise resolve every var() to nothing
   (transparent modal, invisible text). */
:root {
  /* Canvas stays dark — this is a video product — but every accent is TECHGRAB blue. */
  --ott-bg: #07090f; --ott-surface: #12151c; --ott-surface-2: #1c212b;
  --ott-blue: #0054D1;        /* TECHGRAB primary   */
  --ott-blue-deep: #0139B0;   /* TECHGRAB secondary */
  --ott-blue-bright: #1466E8;
  /* Small text only. The brand blue measures 3.88:1 on this background — fine for a 60px
     headline, under the 4.5:1 WCAG AA floor for anything at label size. Same hue, lifted
     to 5.05:1. */
  --ott-blue-label: #2E7CF6;
  --ott-blue-soft: rgba(0, 84, 209, .16);
  --ott-mist: #F3F5F7;        /* TECHGRAB light     */
  /* Red is reserved for one job only: something is on air right now. */
  --ott-red: #e5232b;
  --ott-text: #fff; --ott-text-2: #e6e9ef; --ott-text-3: #a8b0be; --ott-text-4: #7b8494;
  /* vw, not %. A percentage margin or padding resolves against the CONTAINING BLOCK's
     content width, so `padding: 0 4%` on .ott-page and `margin: 0 -4%` on the rows inside
     it measure against different boxes and do not cancel — the rails ended up 4.5px left
     of every heading. vw always resolves against the viewport, so the bleed is exact
     wherever it is used. 4vw is pixel-identical to the old 4% at the top level. */
  --ott-gutter: 4vw; --per-row: 6; --card-gap: 10px;
  /* --ott-nav is the space the floating capsule occupies: its inset plus its own height.
     Namespaced: plain --nav-h already belongs to the staff topbar in tokens.css. */
  --ott-nav-inset: 16px; --ott-nav-h: 60px;
  --nav: calc(var(--ott-nav-inset) + var(--ott-nav-h));
  /* Curves, per the reference: generous and consistent. */
  --r-card: 14px; --r-panel: 22px; --r-hero: 30px; --r-pill: 999px;
  /* Type. Display carries the mass; the mono face carries the telemetry labels,
     which is the brutalist half of the reference set. */
  --font-mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  /* Netflix can run a 90px hero because its titles are artwork logotypes. Ours are
     descriptive YouTube titles that reach 100 characters, so the ladder is tuned for
     reading, not for a wordmark. Measured at 1410px: 48 / 38 / 21. */
  --step-hero: clamp(29px, 4.1vw, 62px);   /* centred headline carries the frame, so it runs larger than the left-aligned one did */
  --step-display: clamp(24px, 2.7vw, 40px);
  --step-section: clamp(17px, 1.5vw, 23px);
  --step-stat: clamp(26px, 2.6vw, 38px);   /* every big number, one size */
  --step-tile: clamp(17px, 1.4vw, 19px);   /* department and category tile names */
}
.ott {
  /* flow-root, not plain block: the billboard's top margin would otherwise collapse out
     through .ott and shove the whole catalog down by its own margin, leaving a strip of
     bare <body> above it. The old nav gradient happened to cover that strip; the floating
     capsule does not. */
  display: flow-root;
  position: relative; background: var(--ott-bg); color: var(--ott-text); min-height: 100dvh; font-family: var(--font-body);
  /* Re-declared here, not only on :root: a custom property substitutes its var()s where it
     is declared, so a breakpoint that shrinks the capsule on .ott would otherwise leave
     --nav stuck at the :root figure. */
  --nav: calc(var(--ott-nav-inset) + var(--ott-nav-h));
}
/* NOTE: no `.ott a { color: inherit }` here — base.css already does that globally, and the
   extra `.ott` prefix would outrank .nbtn-play/.ott-badge colours (white-on-white buttons). */
.ott img { display: block; }
.ott .ott-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* shared shell hides itself in OTT mode; the OTT layer brings its own nav */
.shell.ott-mode .topbar, .shell.ott-mode .bottom-nav { display: none !important; }
/* The violet/teal/coral orbs are the staff dashboard's palette. The catalog is blue only,
   so they are switched off here rather than tinting anything that shows through. */
body.ott-mode .bg-orbs { display: none; }

/* ─────────────────────────── nav ─────────────────────────── */
/* The nav is a capsule floating over the artwork, not a bar welded to the top edge.
   .ott-nav is only the fixed positioning layer; .ott-nav-bar is the thing you see. */
.ott-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  padding: var(--ott-nav-inset) var(--ott-gutter) 0; pointer-events: none; }
.ott-nav-bar { pointer-events: auto; width: min(1180px, 100%); margin: 0 auto;
  display: flex; align-items: center; gap: 22px;
  height: var(--ott-nav-h); padding: 0 8px 0 20px; border-radius: var(--r-pill);
  background: rgba(13,16,23,.58); border: 1px solid rgba(255,255,255,.10);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 10px 34px rgba(0,0,0,.34);
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
/* Once the page is scrolled there is no artwork left to float over, so the capsule
   firms up instead of dissolving into the rows behind it. */
.ott-nav.solid .ott-nav-bar { background: rgba(18,21,28,.94); border-color: rgba(255,255,255,.14);
  box-shadow: 0 14px 40px rgba(0,0,0,.52); }
.ott.immersive .ott-nav, .ott.immersive .ott-bottom, .ott.immersive .ott-footer { display: none; }
.ott-logo { flex: none; display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; line-height: 1; }
.ott-logo img { width: 27px; height: 27px; border-radius: 8px; }
.ott-logo small { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--ott-blue-bright); margin-left: -4px; align-self: flex-start; margin-top: 1px; }
/* The link strip yields space to the logo and the account controls; it clips rather than
   pushing the avatar (and the expanded search field) off the right edge. */
/* overflow must stay visible or the dropdown menus are clipped by the link strip. The
   old `hidden` was there to stop eleven links pushing the avatar off the bar; with four
   items and two menus there is nothing left to clip. */
.ott-links { display: flex; align-items: center; justify-content: center; gap: 22px; flex: 1 1 auto; min-width: 0; overflow: visible; }
.ott-nav-right { flex: none; }
.ott-search.open ~ .ott-avatar-btn { flex: none; }
.ott-links a { font-size: 14px; color: var(--ott-text-2); font-weight: 500; position: relative; white-space: nowrap; transition: color .3s; }
.ott-links a:hover { color: var(--ott-text-3); }
.ott-links a.active { color: #fff; font-weight: 700; cursor: default; }
.ott-links a.live-on::after { content: ''; position: absolute; top: -2px; right: -9px; width: 7px; height: 7px; border-radius: 50%; background: var(--ott-red); box-shadow: 0 0 0 3px rgba(229,9,20,.25); animation: pulse 1.4s ease-in-out infinite; }
.ott-nav-right { margin-left: 0; display: flex; align-items: center; gap: 10px; }
.ott-search { display: flex; align-items: center; height: 36px; border: 1px solid transparent; border-radius: 4px; transition: background .3s, border-color .3s; }
.ott-search { border-radius: var(--r-pill); }
.ott-search.open { background: rgba(0,0,0,.6); border-color: var(--ott-blue-bright); }
.ott-search button { width: 36px; height: 36px; display: grid; place-items: center; color: #fff; flex: none; }
.ott-search button svg { width: 22px; height: 22px; }
.ott-search input { width: 0; opacity: 0; padding: 0; background: transparent; border: 0; color: #fff; font-size: 14px; outline: none; transition: width .3s ease, opacity .3s, padding .3s; }
.ott-search input::placeholder { color: #8c8c8c; }
.ott-search.open input { width: min(240px, 46vw); opacity: 1; padding: 0 10px 0 2px; }
.ott-avatar-btn { display: flex; align-items: center; gap: 8px; position: relative; }
.ott-avatar { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--ott-blue-bright), var(--ott-blue-deep)); display: grid; place-items: center; font-weight: 700; font-size: 13px; overflow: hidden; }
.ott-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ott-avatar-btn .caret { width: 14px; height: 14px; transition: transform .2s; }
.ott-avatar-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }
.ott-menu { position: absolute; right: 0; top: calc(100% + 14px); min-width: 220px; background: rgba(0,0,0,.92); border: 1px solid #333; border-radius: 6px; padding: 10px 0; display: grid; z-index: 90; }
.ott-menu::before { content: ''; position: absolute; top: -8px; right: 14px; border: 7px solid transparent; border-bottom-color: #e5e5e5; border-top: 0; }
.ott-menu .who { padding: 8px 16px 12px; border-bottom: 1px solid #333; margin-bottom: 8px; font-size: 13px; color: var(--ott-text-3); display: grid; gap: 2px; }
.ott-menu .who b { color: #fff; font-size: 14px; }
.ott-menu a, .ott-menu button { display: flex; align-items: center; gap: 10px; padding: 8px 16px; font-size: 13px; color: var(--ott-text-2); width: 100%; text-align: left; }
.ott-menu a:hover, .ott-menu button:hover { text-decoration: underline; }
.ott-menu svg { width: 16px; height: 16px; opacity: .8; }

/* ─────────────────────────── billboard ─────────────────────────── */
/* The hero floats as a rounded panel inset from the page edges, rather than bleeding to
   the browser edge. That single move is what makes the whole page read as "curved". */
.billboard { position: relative; height: 52vw; min-height: 480px; max-height: 84vh; overflow: hidden; background: #000;
  margin: calc(var(--nav) + 14px) var(--ott-gutter) 0; border-radius: var(--r-hero);
  box-shadow: 0 30px 90px -40px rgba(0, 0, 0, .9); }
.billboard-media { position: absolute; inset: 0; }
.billboard-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity 1.2s ease; }
.billboard-media .yt { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%) scale(1.36); pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.billboard-media .yt iframe { width: 100%; height: 100%; border: 0; }
.billboard.playing .billboard-media .yt { opacity: 1; }
.billboard.playing .billboard-media img { opacity: 0; }
/* Scrim. YouTube thumbnails often have burnt-in titles, so the left side needs to go much
   darker than Netflix's artwork would require for our own type to stay legible. */
.billboard-vignette { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,8,12,.94) 0%, rgba(8,8,12,.82) 30%, rgba(8,8,12,.4) 58%, rgba(8,8,12,.08) 80%),
    linear-gradient(0deg, rgba(8,8,12,.78) 0%, rgba(8,8,12,.12) 38%, rgba(8,8,12,0) 60%),
    /* flat wash so pale artwork (lecture posters, white slides) can't wash out the type */
    rgba(8,8,12,.28); }
.billboard-bottom { position: absolute; left: 0; right: 0; bottom: -1px; height: 45%; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,9,15,0) 0%, rgba(7,9,15,.45) 55%, rgba(7,9,15,.8) 100%); }
.billboard-content { position: absolute; left: clamp(26px, 3.4vw, 58px); bottom: 12%; width: min(44vw, 680px); display: grid; gap: 1.1vw; z-index: 2; }
.billboard-kicker { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ott-text-2); }
.billboard-kicker img { width: 22px; height: 22px; border-radius: 6px; }
/* --t-scale is set per slide from the title's length, so a short name gets the full size
   and a hundred-character lecture title steps down instead of swamping the frame. */
.billboard-title { font-family: var(--font-display); font-size: calc(var(--step-hero) * var(--t-scale, 1));
  font-weight: 700; letter-spacing: -.035em; line-height: 1.02; text-shadow: 0 2px 26px rgba(0,0,0,.72), 0 1px 4px rgba(0,0,0,.5);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.billboard-meta { display: flex; align-items: center; gap: 12px; font-size: clamp(13px, 1.05vw, 16px); color: var(--ott-text-2); font-weight: 500; }
.billboard-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ott-text-3); }
.billboard-desc { font-size: clamp(13.5px, 1.05vw, 16px); line-height: 1.5; color: var(--ott-text-2); text-shadow: 2px 2px 4px rgba(0,0,0,.45); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.billboard-actions { display: flex; align-items: center; gap: 12px; margin-top: .4vw; }
.billboard-side { position: absolute; right: clamp(26px, 3.4vw, 58px); bottom: 12%; display: flex; align-items: center; gap: 14px; z-index: 2; }
.billboard-rating { height: 36px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: flex; align-items: center; font-size: 13.5px; font-weight: 600; color: #fff; }

/* buttons (Netflix-style) */
.nbtn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; height: clamp(40px, 3.3vw, 54px); padding: 0 clamp(20px, 2.1vw, 32px); border-radius: var(--r-pill); font-weight: 700; font-size: clamp(14px, 1.2vw, 19px); letter-spacing: -.005em; white-space: nowrap; transition: background .2s, transform .1s; }
.nbtn:active { transform: scale(.98); }
.nbtn svg { width: 1.35em; height: 1.35em; }
.nbtn-play { background: #fff; color: #000; }
.nbtn-play:hover { background: rgba(255,255,255,.78); }
.nbtn-info { background: rgba(109,109,110,.7); color: #fff; }
.nbtn-info:hover { background: rgba(109,109,110,.45); }
.nbtn-ghost { background: rgba(42,42,42,.6); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.nbtn-ghost:hover { border-color: #fff; }
.nbtn-round { width: clamp(38px, 3vw, 46px); height: clamp(38px, 3vw, 46px); padding: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); background: rgba(42,42,42,.6); color: #fff; display: inline-grid; place-items: center; transition: border-color .2s, background .2s; }
.nbtn-round:hover { border-color: #fff; background: rgba(42,42,42,.85); }
.nbtn-round.on { background: #fff; color: #000; border-color: #fff; }
.nbtn-round svg { width: 50%; height: 50%; }
.nbtn-sm { height: 34px; padding: 0 14px; font-size: 13.5px; }

/* ─────────────────────────── rows / sliders ─────────────────────────── */
.ott-rows { position: relative; z-index: 3; display: grid; gap: 3vw; padding-bottom: 3vw; }
.billboard + .ott-rows { margin-top: 2.4vw; }
.ott-row { position: relative; min-width: 0; }
.ott-row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 var(--ott-gutter); margin-bottom: .7vw; }
.ott-row-title { display: inline-flex; align-items: baseline; gap: 10px; font-family: var(--font-display); font-size: var(--step-section); font-weight: 700; color: var(--ott-text-2); letter-spacing: -.025em; }
.ott-row-title:hover { color: #fff; }
.ott-row-title .explore { font-size: .58em; font-weight: 700; color: var(--ott-blue-bright); opacity: 0; transform: translateX(-8px); transition: opacity .3s .15s, transform .3s .15s; display: inline-flex; align-items: center; gap: 2px; }
.ott-row-title .explore svg { width: 1.1em; height: 1.1em; }
.ott-row:hover .ott-row-title .explore { opacity: 1; transform: none; }
.ott-pager { display: flex; gap: 1px; opacity: 0; transition: opacity .3s; }
.ott-row:hover .ott-pager { opacity: 1; }
.ott-pager span { width: 12px; height: 2px; background: #4d4d4d; }
.ott-pager span.on { background: var(--ott-blue-bright); }
.ott-slider { position: relative; }
.ott-track { display: flex; gap: var(--card-gap); overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 0 var(--ott-gutter); scroll-padding: 0 var(--ott-gutter); min-width: 0; }
.ott-track::-webkit-scrollbar { display: none; }
.ott-track > * { flex: 0 0 calc((100% - (var(--per-row) - 1) * var(--card-gap)) / var(--per-row)); scroll-snap-align: start; min-width: 0; }
.ott-track.tall > * { flex-basis: calc((100% - (var(--per-row) + 1) * var(--card-gap)) / (var(--per-row) + 2)); }
.ott-track.top10 > * { flex-basis: calc((100% - (var(--per-row) - 2) * var(--card-gap)) / (var(--per-row) - 1)); }
.ott-arrow { position: absolute; top: 0; bottom: 0; width: var(--ott-gutter); display: grid; place-items: center; background: rgba(11,11,15,.55); color: #fff; opacity: 0; transition: opacity .25s; z-index: 6; cursor: pointer; }
.ott-arrow.left { left: 0; border-radius: 0 4px 4px 0; }
.ott-arrow.right { right: 0; border-radius: 4px 0 0 4px; }
.ott-slider:hover .ott-arrow:not([hidden]) { opacity: 1; }
.ott-arrow svg { width: 2.4vw; height: 2.4vw; min-width: 24px; min-height: 24px; transition: transform .2s; }
.ott-arrow:hover svg { transform: scale(1.25); }

/* ─────────────────────────── cards ─────────────────────────── */
.ott-card { position: relative; display: block; aspect-ratio: 16/9; border-radius: var(--r-card); overflow: hidden; background: #1a1a1f; outline: none; }
.ott-card img { width: 100%; height: 100%; object-fit: cover; }
.ott-card:focus-visible { box-shadow: 0 0 0 3px #fff; }
/* Chrome blockifies `display` on absolutely positioned boxes, which silently disables
   -webkit-line-clamp. The clamp therefore lives on an inner span (see .clamp2 below). */
.ott-card-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 10px 9px; font-size: 12.5px; font-weight: 600; line-height: 1.25; color: #fff; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.88)); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ott-dur { position: absolute; top: 6px; right: 6px; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 4px; background: rgba(0,0,0,.72); color: #fff; }
.ott-badge { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 6px; border-radius: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; line-height: 1; }
.ott-badge-new { background: var(--ott-blue); color: #fff; }
.ott-badge-live { background: var(--ott-red); color: #fff; }
.ott-badge-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.4s ease-in-out infinite; }
.ott-badge-top { background: #fff; color: #000; }
.ott-badge-cat { background: rgba(0,0,0,.6); color: #e5e5e5; border: 1px solid rgba(255,255,255,.18); }
.ott-card > .ott-badge { position: absolute; top: 6px; left: 6px; }
.ott-card.tall { aspect-ratio: 9/16; }
.ott-card.tall .ott-card-title { font-size: 12px; padding-top: 40px; }
.ott-progress { position: absolute; left: 8px; right: 8px; bottom: 7px; height: 3px; background: rgba(255,255,255,.35); border-radius: 2px; overflow: hidden; }
.ott-progress span { display: block; height: 100%; background: var(--ott-blue-bright); }
.ott-card.continue .ott-card-title { padding-bottom: 18px; }
.ott-card-play { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .2s; background: rgba(0,0,0,.25); }
.ott-card:hover .ott-card-play { opacity: 1; }
.ott-card-play span { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.5); display: grid; place-items: center; }
.ott-card-play svg { width: 20px; height: 20px; margin-left: 2px; }

/* Top 10 */
.ott-rank { display: flex; align-items: flex-end; min-width: 0; }
/* The tile tucks over the numeral's right edge, but only slightly — a narrow glyph like "1"
   is right-aligned, so a deep tuck hides it almost completely behind the tile. */
.ott-rank .rank-num { flex: 0 0 34%; font-family: var(--font-display); font-weight: 700; font-size: clamp(64px, 8.6vw, 150px); line-height: .78; color: var(--ott-bg); -webkit-text-stroke: 4px rgba(255,255,255,.62); text-align: right; margin-right: -2%; padding-right: 2px; letter-spacing: -.07em; position: relative; z-index: 0; user-select: none; }
.ott-rank .rank-num.two { letter-spacing: -.1em; flex-basis: 40%; }
.ott-rank .ott-card { flex: 1; z-index: 1; }

/* ─────────────────────────── hover mini-preview ─────────────────────────── */
.ott-preview { position: fixed; z-index: 95; width: 340px; border-radius: var(--r-panel); background: var(--ott-surface); box-shadow: 0 24px 70px rgba(0,0,0,.8); overflow: hidden; opacity: 0; transform: scale(.72); transform-origin: center; transition: opacity .28s ease, transform .3s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.ott-preview.show { opacity: 1; transform: scale(1); pointer-events: auto; }
.ott-preview-media { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; cursor: pointer; }
.ott-preview-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .6s; }
/* Overscale the iframe so YouTube's own title bar / control overlay sits outside the visible
   frame (controls=0 still paints chrome for a moment after playback starts). */
.ott-preview-media .yt { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%) scale(1.45); pointer-events: none; opacity: 0; transition: opacity .6s; }
.ott-preview-media .yt iframe { width: 100%; height: 100%; border: 0; }
.ott-preview.playing .ott-preview-media .yt { opacity: 1; }
.ott-preview.playing .ott-preview-media img { opacity: 0; }
/* Top scrim softens YouTube's own title/branding overlay, which embeds always paint
   (`modestbranding` was deprecated in Aug 2023 and no longer has any effect). */
.ott-preview-media::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(24,24,24,.72) 0%, rgba(24,24,24,.12) 18%, transparent 55%, rgba(24,24,24,.95)); }
.ott-preview-media .ott-preview-title { position: absolute; left: 14px; right: 56px; bottom: 10px; z-index: 1; font-family: var(--font-display); font-weight: 700; font-size: 15.5px; line-height: 1.2; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.ott-preview-media .mute { position: absolute; right: 12px; bottom: 10px; z-index: 2; }
.ott-preview-body { padding: 14px 14px 16px; display: grid; gap: 10px; }
.ott-preview-actions { display: flex; align-items: center; gap: 8px; }
.ott-preview-actions .spacer { flex: 1; }
.nbtn-mini { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); background: rgba(42,42,42,.6); display: grid; place-items: center; color: #fff; transition: border-color .15s, background .15s; }
.nbtn-mini:hover { border-color: #fff; background: rgba(42,42,42,.9); }
.nbtn-mini.fill { background: #fff; color: #000; border-color: #fff; }
.nbtn-mini.fill:hover { background: rgba(255,255,255,.8); }
.nbtn-mini svg { width: 16px; height: 16px; }
.nbtn-mini.play svg { margin-left: 2px; }
.ott-preview-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ott-text-3); flex-wrap: wrap; }
.ott-preview-meta .match { color: #4fd0a0; }
.ott-preview-meta .hd { border: 1px solid #6a6a6a; border-radius: 3px; padding: 0 4px; font-size: 10px; line-height: 1.5; }
.ott-preview-tags { display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: 12.5px; color: #ddd; }
.ott-preview-tags span + span::before { content: '•'; color: #646464; margin-right: 8px; }

/* ─────────────────────────── detail modal (jaw-bone) ─────────────────────────── */
.ott-modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.72); overflow-y: auto; padding: 2em 0 4em; animation: ott-fade .25s ease; -webkit-overflow-scrolling: touch; }
.ott-modal { position: relative; width: min(880px, 96vw); margin: 0 auto; background: var(--ott-surface); border-radius: var(--r-panel); overflow: hidden; box-shadow: 0 3px 30px rgba(0,0,0,.85); animation: ott-pop .32s var(--ease); color: #fff; }
.ott-modal-hero { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.ott-modal-hero img { width: 100%; height: 100%; object-fit: cover; transition: opacity 1s; }
.ott-modal-hero .yt { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%) scale(1.4); pointer-events: none; opacity: 0; transition: opacity 1s; }
.ott-modal-hero .yt iframe { width: 100%; height: 100%; border: 0; }
.ott-modal.playing .ott-modal-hero .yt { opacity: 1; }
.ott-modal.playing .ott-modal-hero img { opacity: 0; }
.ott-modal-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(24,24,24,.6) 0%, rgba(24,24,24,.05) 15%, transparent 50%, var(--ott-surface) 100%); }
.ott-modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--ott-surface); color: #fff; display: grid; place-items: center; z-index: 5; }
.ott-modal-close svg { width: 20px; height: 20px; }
.ott-modal-hero-content { position: absolute; left: 48px; right: 48px; bottom: 7%; z-index: 3; display: grid; gap: 16px; }
/* YouTube titles carry hashtags and can run very long; two lines is the ceiling or the
   title swallows the artwork behind it. */
.ott-modal-hero-content h2 { font-family: var(--font-display); font-size: clamp(22px, 3.2vw, 38px); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; text-shadow: 0 2px 8px rgba(0,0,0,.5); max-width: 80%;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ott-modal-actions { display: flex; align-items: center; gap: 10px; }
.ott-modal-actions .spacer { flex: 1; }
.ott-modal-body { padding: 18px 48px 48px; display: grid; gap: 34px; }
.ott-modal-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 36px; }
.ott-modal-meta { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ott-text-3); margin-bottom: 14px; flex-wrap: wrap; font-weight: 600; }
.ott-modal-meta .match { color: #4fd0a0; }
.ott-modal-meta .hd { border: 1px solid #6a6a6a; border-radius: 3px; padding: 0 5px; font-size: 11px; }
.ott-modal-desc { font-size: 15.5px; line-height: 1.6; color: var(--ott-text-2); white-space: pre-line; }
.ott-modal-side { display: grid; gap: 14px; font-size: 14px; align-content: start; }
.ott-modal-side div { line-height: 1.5; }
.ott-modal-side .k { color: #777; }
.ott-modal-side a:hover { text-decoration: underline; }
.ott-modal h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 18px; }
.ott-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ott-more-card { background: var(--ott-surface-2); border-radius: var(--r-card); overflow: hidden; display: grid; grid-template-rows: auto 1fr; color: #fff; transition: transform .2s; }
.ott-more-card:hover { transform: translateY(-2px); }
.ott-more-card .m { position: relative; aspect-ratio: 16/9; }
.ott-more-card .m img { width: 100%; height: 100%; object-fit: cover; }
.ott-more-card .m .ott-dur { top: auto; bottom: 8px; right: 8px; }
.ott-more-card .m .t { position: absolute; left: 10px; right: 10px; bottom: 8px; font-weight: 700; font-size: 13.5px; line-height: 1.2; text-shadow: 0 1px 3px rgba(0,0,0,.8); padding-right: 44px; }
.ott-more-card .b { padding: 12px 14px 16px; display: grid; gap: 8px; }
.ott-more-card .row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ott-text-3); font-weight: 600; }
.ott-more-card .row .spacer { flex: 1; }
.ott-more-card .d { color: #d2d2d2; font-size: 12.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ott-about { display: grid; gap: 8px; font-size: 14px; }
.ott-about .k { color: #777; margin-right: 6px; }
@keyframes ott-fade { from { opacity: 0; } }
@keyframes ott-pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }

/* ─────────────────────────── generic OTT pages ─────────────────────────── */
.ott-page { padding: calc(var(--nav) + 2.2vw) var(--ott-gutter) 70px; display: grid; gap: 26px; min-height: 80vh; align-content: start; }
.ott-page-head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; min-height: 44px; }
.ott-page-head h1 { font-family: var(--font-display); font-size: var(--step-display); font-weight: 700; letter-spacing: -.03em; line-height: 1.04; }
.ott-page-head .count { color: var(--ott-text-4); font-size: 14px; font-weight: 500; }
.ott-page-head .spacer { flex: 1; }
.ott-select { appearance: none; -webkit-appearance: none; height: 34px; padding: 0 30px 0 12px; border: 1px solid #fff; border-radius: 3px; background: #000 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right 8px center; color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }
.ott-select option { background: #000; }
.ott-grid { display: grid; grid-template-columns: repeat(var(--per-row), minmax(0, 1fr)); gap: 3vw var(--card-gap); }
.ott-grid.tall { grid-template-columns: repeat(calc(var(--per-row) + 2), minmax(0, 1fr)); }
.ott-empty { text-align: center; padding: 8vh 0; color: var(--ott-text-3); display: grid; gap: 12px; justify-items: center; }
.ott-empty h2 { font-family: var(--font-display); font-size: 24px; color: #fff; }
.ott-empty p { max-width: 520px; font-size: 15px; line-height: 1.5; }
.ott-empty svg { width: 42px; height: 42px; color: #555; }
.ott-related { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--ott-text-3); font-size: 15px; }
.ott-related a { color: #fff; }
.ott-related a:hover { text-decoration: underline; }
.ott-related a + a::before { content: '|'; color: #555; margin-right: 14px; }
.ott-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ott-cat-tile { position: relative; aspect-ratio: 16/8; border-radius: var(--r-panel); overflow: hidden; display: flex; align-items: flex-end; padding: 16px; background: #1a1a1f; }
.ott-cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform .5s var(--ease), opacity .3s; }
.ott-cat-tile:hover img { transform: scale(1.06); opacity: .75; }
.ott-cat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.85)); }
.ott-cat-tile b { position: relative; z-index: 1; font-family: var(--font-display); font-size: var(--step-tile); font-weight: 700; line-height: 1.2; padding-right: 44px; }
/* count sits in the corner so a two-line label never collides with it */
.ott-cat-tile > span { position: absolute; top: 12px; right: 12px; z-index: 1; min-width: 24px; height: 24px; padding: 0 7px;
  display: grid; place-items: center; border-radius: 99px; background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.18);
  font-size: 12px; font-weight: 700; color: #fff; }
.ott-section-title { font-family: var(--font-display); font-size: var(--step-section); font-weight: 700; color: var(--ott-text-2); letter-spacing: -.025em; }

/* ─────────────────────────── watch (immersive player) ─────────────────────────── */
.ott-watch { position: relative; background: #000; }
.ott-player { position: relative; width: 100%; background: #000; }
.ott-player > div, .ott-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.ott-player-top { position: absolute; top: 0; left: 0; right: 0; padding: 18px 24px; display: flex; align-items: center; gap: 14px; background: linear-gradient(180deg, rgba(0,0,0,.75), rgba(0,0,0,0)); z-index: 3; transition: opacity .5s; pointer-events: none; }
.ott-player-top > * { pointer-events: auto; }
.ott-watch.idle .ott-player-top { opacity: 0; }
.ott-player-top .back { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.ott-player-top .back svg { width: 30px; height: 30px; }
.ott-player-top .back:hover { background: rgba(255,255,255,.12); }
.ott-player-top .t { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.2; }
.ott-player-top .s { color: var(--ott-text-3); font-size: 12.5px; margin-top: 2px; }
.ott-player-top .spacer { flex: 1; }
.ott-next { position: absolute; right: 4%; bottom: 14%; z-index: 4; width: min(380px, 84vw); background: rgba(24,24,24,.96); border-radius: 8px; padding: 14px; display: grid; grid-template-columns: 128px 1fr; gap: 12px 14px; align-items: center; box-shadow: 0 16px 50px rgba(0,0,0,.7); animation: ott-pop .3s var(--ease); }
.ott-next img { aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; width: 100%; }
.ott-next .k { font-size: 12px; color: var(--ott-text-3); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.ott-next .t { font-weight: 700; font-size: 14.5px; line-height: 1.3; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ott-next .actions { grid-column: 1 / -1; display: flex; gap: 8px; }
.ott-next .actions .nbtn { flex: 1; height: 38px; font-size: 14px; }
.ott-next .bar { grid-column: 1 / -1; height: 3px; background: #444; border-radius: 2px; overflow: hidden; }
.ott-next .bar span { display: block; height: 100%; background: #fff; width: 0; transition: width 1s linear; }
.ott-watch-details { padding: 34px var(--ott-gutter) 10px; background: var(--ott-bg); display: grid; gap: 30px; }
.ott-watch-details .ott-modal-grid { gap: 40px; }
.ott-watch-title { font-family: var(--font-display); font-size: var(--step-display); font-weight: 700; letter-spacing: -.03em; line-height: 1.06; margin-bottom: 14px; }
.ott-watch-details .ott-row-head { padding: 0; }
.ott-watch-details .ott-track { padding: 0; scroll-padding: 0; }
.ott-watch-details .ott-arrow { width: 40px; }
.ott-watch-details .ott-arrow.left { left: -40px; } .ott-watch-details .ott-arrow.right { right: -40px; }

/* ─────────────────────────── footer ─────────────────────────── */
.ott-footer { padding: 50px var(--ott-gutter) 40px; color: var(--ott-text-4); font-size: 13px; display: grid; gap: 22px; max-width: 1000px; }
.ott-footer .social { display: flex; gap: 22px; }
.ott-footer .social a { color: #fff; }
.ott-footer .social svg { width: 24px; height: 24px; }
.ott-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px 24px; }
.ott-footer .cols a { display: block; color: var(--ott-text-4); }
.ott-footer .cols a:hover { text-decoration: underline; }
.ott-footer .fine { font-size: 12px; line-height: 1.6; }

/* ─────────────────────────── mobile bottom nav ─────────────────────────── */
.ott-bottom { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: rgba(11,11,15,.96); border-top: 1px solid #222; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom); }
.ott-bottom a { display: grid; justify-items: center; gap: 3px; padding: 10px 0 8px; font-size: 10.5px; font-weight: 600; color: #8c8c8c; }
.ott-bottom a.active { color: #fff; }
.ott-bottom svg { width: 22px; height: 22px; }

/* ─────────────────────────── responsive ─────────────────────────── */
@media (max-width: 1399px) { .ott { --per-row: 5; } }
@media (max-width: 1199px) { .ott-links { gap: 15px; font-size: 13px; } .ott-links a:nth-child(n+7) { display: none; } }
@media (max-width: 1099px) { .ott { --per-row: 4; } .billboard-content { width: 52vw; } .ott-links a:nth-child(n+5) { display: none; } }
@media (max-width: 899px) { .ott-links a:nth-child(n+3) { display: none; } }
@media (max-width: 799px) {
  .ott { --per-row: 3; --ott-nav-inset: 10px; --ott-nav-h: 52px; }
  .ott-links { display: none; }
  .ott-bottom { display: grid; }
  .ott-preview { display: none !important; }
  .ott-pager { display: none; }
  .billboard { height: 68vw; min-height: 440px; }
  .billboard-content { width: 74vw; bottom: 26%; gap: 10px; }
  .billboard-side { display: none; }
  .ott-page { padding-bottom: 100px; }
  .ott-rows { padding-bottom: 80px; }
  .ott-modal-hero-content { left: 20px; right: 20px; }
  .ott-modal-body { padding: 16px 20px 32px; }
  .ott-modal-grid { grid-template-columns: 1fr; gap: 20px; }
  .ott-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* superseded by .ott-stage, which owns the player's box now. A min-height here
     silently overrode the stage height and made the player overflow it on phones. */
  .ott-watch { padding-top: 0; }
  .ott-footer { padding-bottom: 110px; }
}
@media (max-width: 499px) {
  .ott { --per-row: 2; }
  .billboard { height: 96vw; min-height: 420px; }
  .billboard-content { width: 88vw; bottom: 22%; }
  .billboard-title { font-size: 31px; }
  .billboard-desc { -webkit-line-clamp: 2; font-size: 14px; }
  .ott-rank .rank-num { flex-basis: 30%; }
  .ott-search.open input { width: 40vw; }
  .ott-logo small { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ott * { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* late additions */
.ott-nav-right { position: relative; }
.ott-page .ott-rows { margin: 0 calc(var(--ott-gutter) * -1); }
.live-stage .ott-player { height: 56.25vw; max-height: 82vh; min-height: 260px; margin-top: var(--nav); }
.ott-watch-details .ott-slider { margin: 0; }

/* signed-out account control (the catalog is public) */
.ott-signin{height:36px;padding:0 18px;font-size:13.5px;border-radius:var(--r-pill);background:var(--ott-blue);border-color:transparent;font-weight:700}
.ott-signin:hover{background:var(--ott-blue-bright);border-color:transparent}
.ott-signin svg{width:15px;height:15px}

/* ═══════════════════════ department / year shelf ═══════════════════════
   The "Your Apps" strip from the reference, rebuilt for SJCC: a row of solid
   TECHGRAB-blue tiles, one per programme, sitting directly under the hero. */
/* scroll-padding is not optional here. With scroll-snap-type set and none of it, the
   snapport starts at the padding EDGE, so the browser immediately snaps the first tile
   to scrollLeft = the gutter — cancelling the row's own left padding and leaving it
   jammed against the viewport while every heading above it sits one gutter in.
   .ott-track already got this right; this row did not. */
.ott-chip-row { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none;
  padding: 2px var(--ott-gutter) 6px; scroll-snap-type: x mandatory; scroll-padding: 0 var(--ott-gutter); }
.ott-chip-row::-webkit-scrollbar { display: none; }
.ott-chip-row > * { scroll-snap-align: start; }

.dept-tile { position: relative; flex: 0 0 auto; width: clamp(140px, 13vw, 184px); min-height: 84px;
  border-radius: var(--r-card); padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden; isolation: isolate; border: 1px solid rgba(255,255,255,.1);
  transition: transform .22s var(--ease), box-shadow .22s, border-color .22s; }
.dept-tile::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--tint, var(--ott-blue)); }
/* the diagonal sheen TECHGRAB uses on its solid blue panels */
.dept-tile::after { content: ''; position: absolute; inset: -40% -20%; z-index: -1; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 42%, rgba(0,0,0,.18) 100%); }
.dept-tile:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.34); box-shadow: 0 18px 40px -18px rgba(0,84,209,.85); }
.dept-tile b { font-family: var(--font-display); font-weight: 700; font-size: var(--step-tile); letter-spacing: -.02em; line-height: 1.1; }
.dept-tile span { font-size: 11.5px; line-height: 1.35; color: rgba(255,255,255,.82); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dept-tile .n { position: absolute; top: 12px; right: 13px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.9); }

.year-tile { position: relative; flex: 0 0 auto; min-width: 112px; min-height: 84px; border-radius: var(--r-card);
  padding: 14px 18px; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--ott-surface); border: 1px solid rgba(255,255,255,.09);
  transition: transform .22s var(--ease), background .22s, border-color .22s; }
.year-tile:hover { transform: translateY(-4px); background: var(--ott-surface-2); border-color: var(--ott-blue-bright); }
.year-tile b { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -.03em; line-height: 1; }
.year-tile span { font-size: 11.5px; color: var(--ott-text-4); }

/* section heading that matches the row headings but sits above a chip row */
.ott-shelf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 var(--ott-gutter); margin-bottom: .7vw; }
.ott-shelf-head h2 { font-family: var(--font-display); font-size: var(--step-section); font-weight: 700; color: var(--ott-text-2); letter-spacing: -.025em; }
.ott-shelf-head a { font-size: 13px; font-weight: 600; color: var(--ott-blue-bright); display: inline-flex; align-items: center; gap: 4px; }
.ott-shelf-head a svg { width: 14px; height: 14px; }

@media (max-width: 799px) {
  .billboard { margin-top: calc(var(--nav) + 8px); border-radius: var(--r-panel); height: 78vw; min-height: 420px; }
  .dept-tile { width: 138px; min-height: 76px; }
}

/* a programme with nothing published yet: present but plainly inert */
.dept-tile.empty { cursor: default; border-color: rgba(255,255,255,.07); }
.dept-tile.empty::before { background: var(--ott-surface); }
.dept-tile.empty::after { opacity: .25; }
.dept-tile.empty b { color: var(--ott-text-3); }
.dept-tile.empty span { color: var(--ott-text-4); }
.dept-tile.empty:hover { transform: none; box-shadow: none; border-color: rgba(255,255,255,.07); }

/* ═══════════════════ watch stage: shape follows the video ═══════════════════
   Landscape fills a 16:9 stage capped below the viewport height, so the details
   underneath always peek up and the page never reads as a dead-end full screen.
   Portrait (reels) gets a real 9:16 frame with a blurred still behind it. */
/* The player is positioned absolutely rather than being a centred grid item: a grid item
   with height:100% in an auto-sized row resolves inconsistently and overflowed the stage
   on narrow screens. */
.ott-stage { position: relative; width: 100%; background: #000; overflow: hidden;
  height: min(82vh, 56.25vw); min-height: 320px; }
.ott-stage .ott-player { position: absolute; inset: 0; width: 100%; height: 100%; }
.ott-stage-back { position: absolute; inset: -6%; z-index: 0; background-size: cover; background-position: center;
  filter: blur(46px) saturate(140%) brightness(.45); transform: scale(1.1); opacity: 0; transition: opacity .6s; }
.ott-stage.portrait .ott-stage-back { opacity: 1; }
.ott-stage.portrait { height: min(84vh, 150vw); }
.ott-stage.portrait .ott-player { inset: 0 auto 0 50%; transform: translateX(-50%); z-index: 1;
  width: auto; height: 100%; aspect-ratio: 9 / 16; max-width: 100%;
  border-radius: var(--r-panel); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,.9); }
.ott-stage .ott-player > div, .ott-stage .ott-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

@media (max-width: 799px) {
  .ott-stage { height: min(58vh, 56.25vw); min-height: 200px; }
  .ott-stage.portrait { height: min(72vh, 150vw); }
}

/* ═══════════ portrait clips inside landscape surfaces ═══════════
   A reel shown in the 16:9 jawbone is contained, not cropped, over a blurred fill
   of its own still — the layout stays put and the clip stays the right shape. */
.ott-modal-hero .hero-back { position: absolute; inset: -8%; z-index: 0; background-size: cover; background-position: center;
  filter: blur(34px) brightness(.66) saturate(150%); opacity: 0; transition: opacity .5s; }
.ott-modal-hero.portrait .hero-back { opacity: 1; }
.ott-modal-hero.portrait img { position: relative; z-index: 1; object-fit: contain; }
.ott-modal-hero.portrait .yt { left: 50%; top: 0; width: auto; height: 100%; aspect-ratio: 9 / 16;
  transform: translateX(-50%) scale(1.02); }
.ott-modal-hero.portrait .ott-modal-hero-content h2 { font-size: clamp(19px, 2.2vw, 26px); max-width: 100%; }
.ott-modal-hero.portrait::after { background: linear-gradient(180deg, transparent 38%, rgba(18,21,28,.88) 78%, var(--ott-surface) 100%); }

/* the hover preview simply becomes a portrait panel */
.ott-preview.portrait .ott-preview-media { aspect-ratio: 9 / 16; }
.ott-preview.portrait .ott-preview-media .yt { transform: translate(-50%, -50%) scale(1.02); }
.ott-preview.portrait .ott-preview-title { font-size: 14px; }

/* Related items for a reel are themselves reels, so the whole grid goes portrait
   rather than centre-cropping every vertical clip into a landscape card. */
.ott-more-grid.portrait { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ott-more-grid.portrait .ott-more-card .m { aspect-ratio: 9 / 16; }
.ott-more-grid.portrait .ott-more-card .m .t { font-size: 12.5px; padding-right: 6px; }
/* a tall card has room above, so the runtime moves out of the title's way */
.ott-more-grid.portrait .ott-more-card .m .ott-dur { top: 8px; bottom: auto; right: 8px; }
.ott-more-grid.portrait .ott-more-card .b { padding: 10px 12px 13px; }
.ott-more-grid.portrait .ott-more-card .d { -webkit-line-clamp: 2; }
@media (max-width: 799px) { .ott-more-grid.portrait { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ═══════════════════ editorial blocks ═══════════════════
   Two-column mission section, stats strip and a monospace readout. Layout follows the
   nature-site reference; the labels and rules follow the brutalist one. */
.ed-split { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 72px);
  align-items: center; padding: clamp(46px, 6vw, 96px) var(--ott-gutter); }
.ed-copy { display: grid; gap: 20px; align-content: start; }
.ed-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ott-blue-bright); }
.ed-eyebrow svg { width: 15px; height: 15px; }
.ed-display { font-family: var(--font-display); font-size: var(--step-display); font-weight: 700; letter-spacing: -.03em;
  line-height: 1.06; color: #fff; }
.ed-display em { font-style: normal; color: var(--ott-blue-bright); }
.ed-lede { color: var(--ott-text-3); font-size: clamp(14.5px, 1.15vw, 17px); line-height: 1.6; max-width: 52ch; }
.ed-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

.ed-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ed-card { position: relative; border-radius: var(--r-panel); overflow: hidden; min-height: clamp(260px, 26vw, 380px);
  display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
  border: 1px solid rgba(255,255,255,.09); transition: transform .28s var(--ease), border-color .28s; }
.ed-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.ed-card::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,9,15,.1) 0%, rgba(7,9,15,.55) 52%, rgba(7,9,15,.93) 100%); }
.ed-card:hover { transform: translateY(-5px); border-color: var(--ott-blue-bright); }
.ed-card:hover img { transform: scale(1.07); }
.ed-card-ic { position: absolute; top: 16px; left: 16px; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.26); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ed-card-ic svg { width: 18px; height: 18px; }
.ed-card-body { padding: 18px; display: grid; gap: 6px; }
.ed-card-body b { font-family: var(--font-display); font-weight: 700; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.15; }
.ed-card-body span { font-size: 12.5px; color: var(--ott-text-3); line-height: 1.45; }
.ed-card-n { font-family: var(--font-mono); font-size: 11px; color: var(--ott-blue-bright); letter-spacing: .04em; }

.ed-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0 var(--ott-gutter) clamp(30px, 4vw, 60px); }
.ed-stat { padding: 22px 24px; border-radius: var(--r-panel); background: var(--ott-surface); border: 1px solid rgba(255,255,255,.08); display: grid; gap: 6px; }
.ed-stat b { font-family: var(--font-display); font-size: var(--step-stat); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.ed-stat span { font-size: 12.5px; color: var(--ott-text-3); }
.ed-stat.accent { background: var(--ott-blue); border-color: transparent; }
.ed-stat.accent span { color: rgba(255,255,255,.86); }

.ed-tele { padding: 0 var(--ott-gutter) clamp(34px, 4vw, 64px); }
.ed-tele-head { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ott-text-4); margin-bottom: 10px; }
/* the tick ruler from the brutalist reference */
.ed-rule { height: 12px; margin-bottom: 20px; opacity: .5;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.34) 0 1px, transparent 1px 9px);
  border-top: 1px solid rgba(255,255,255,.14); }
.ed-tele-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(218px, 1fr)); gap: 10px 32px; margin: 0; }
.ed-tele-grid > div { display: flex; gap: 10px; align-items: baseline; border-bottom: 1px dotted rgba(255,255,255,.14); padding-bottom: 7px; }
.ed-tele-grid dt { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--ott-text-4); white-space: nowrap; }
.ed-tele-grid dd { font-family: var(--font-mono); font-size: 11.5px; margin: 0 0 0 auto; color: var(--ott-text-2); text-align: right; }
.ed-tele-grid dd.on { color: var(--ott-red); }

/* the hero headline carries the same accent-word treatment */
.billboard-title em { font-style: normal; color: var(--ott-blue-bright); }

@media (max-width: 1099px) {
  .ed-split { grid-template-columns: 1fr; gap: 30px; }
  .ed-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .ed-cards { grid-template-columns: 1fr; }
  .ed-card { min-height: 190px; }
  .ed-tele-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════ motion ═══════════════════
   Reveal-on-scroll. The default state is visible, and the JS adds [data-reveal] only when
   it runs, so nothing can ever be permanently hidden by a failed script. */
[data-reveal].watched { opacity: 0; transform: translateY(18px); }
[data-reveal].in { opacity: 1; transform: none;
  transition: opacity .62s var(--ease), transform .62s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal].watched { opacity: 1; transform: none; }
  [data-reveal].in { transition: none; }
}

/* cards lift a touch as a row scrolls past the pointer */
.ott-card { transition: transform .26s var(--ease), box-shadow .26s var(--ease); }
.ott-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -18px rgba(0,0,0,.9); }
.ott-track:hover .ott-card:not(:hover) { opacity: .82; transition: opacity .3s; }
.ott-track .ott-card { transition: transform .26s var(--ease), opacity .3s, box-shadow .26s var(--ease); }

/* the blue stat tile gets a slow sheen, the one flourish on the page */
.ed-stat.accent { position: relative; overflow: hidden; }
.ed-stat.accent::after { content: ''; position: absolute; top: -60%; bottom: -60%; width: 40%; left: -50%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent);
  animation: ed-sheen 4.6s ease-in-out infinite; }
@keyframes ed-sheen { 0%, 62% { left: -50%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .ed-stat.accent::after { animation: none; display: none; } }

/* ═══════════════════ admin overview dashboard ═══════════════════ */
.ov { display: grid; gap: 18px; }
.ov-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ov-tile { padding: 22px 24px; border-radius: var(--r-panel); background: var(--ott-surface);
  border: 1px solid rgba(255,255,255,.08); display: grid; gap: 5px; position: relative; overflow: hidden; }
.ov-tile b { font-family: var(--font-display); font-size: var(--step-stat); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.ov-tile span { font-size: 12.5px; color: var(--ott-text-3); }
.ov-tile.accent { background: var(--ott-blue); border-color: transparent; }
.ov-tile.accent span { color: rgba(255,255,255,.85); }
.ov-tile.good b { color: #4fd0a0; }
.ov-tile.warn b { color: #ffc245; }

.ov-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; }
.ov-panel { padding: 20px 22px; border-radius: var(--r-panel); background: var(--ott-surface); border: 1px solid rgba(255,255,255,.08); }
.ov-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ov-head h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.mono-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ott-text-4); }

/* the six shelf colours are steps along one blue ramp — still one accent, not six */
.ov-bar { display: flex; height: 12px; border-radius: var(--r-pill); overflow: hidden; background: rgba(255,255,255,.06); }
.ov-bar span { display: block; box-shadow: inset -1px 0 0 rgba(0,0,0,.35); background: hsl(calc(212 + var(--k) * 5) 92% calc(66% - var(--k) * 9%)); transition: width .8s var(--ease); }
.ov-legend { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.ov-legend li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.ov-legend i { width: 10px; height: 10px; border-radius: 3px; background: hsl(calc(212 + var(--k) * 5) 92% calc(66% - var(--k) * 9%)); flex: none; }
.ov-legend a { color: var(--ott-text-2); }
.ov-legend a:hover { color: #fff; text-decoration: underline; }
.ov-legend b { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--ott-text-3); }

.ov-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ov-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; padding-bottom: 8px; border-bottom: 1px dotted rgba(255,255,255,.12); }
.ov-list li:last-child { border-bottom: 0; }
.ov-list a { color: var(--ott-text-2); }
.ov-list a:hover { color: #fff; text-decoration: underline; }
.ov-list b { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--ott-blue-bright); }

.ov-queue { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ov-queue li { display: flex; align-items: center; gap: 13px; }
.ov-queue img { width: 84px; aspect-ratio: 16/9; object-fit: cover; border-radius: 9px; flex: none; background: #000; }
.ov-queue .q-main { min-width: 0; display: grid; gap: 3px; }
.ov-queue .q-main b { font-size: 13.5px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ov-queue .q-main span { font-size: 12px; color: var(--ott-text-4); }
.ov-queue button { margin-left: auto; flex: none; }
.ov-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--ott-blue-bright); }
.ov-more svg { width: 14px; height: 14px; }
.ov-empty { display: flex; align-items: center; gap: 9px; color: var(--ott-text-3); font-size: 13.5px; }
.ov-empty svg { width: 16px; height: 16px; color: #4fd0a0; }
.ov-tele { padding: 20px 22px; border-radius: var(--r-panel); background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.07); }

@media (max-width: 1099px) { .ov-tiles { grid-template-columns: repeat(2, minmax(0,1fr)); } .ov-grid { grid-template-columns: 1fr; } }
@media (max-width: 559px) { .ov-tiles { grid-template-columns: 1fr; } .ov-queue img { width: 64px; } }

/* ═══════════════════ live banner (home) ═══════════════════
   The one moment red is allowed to lead: the college is on air right now. */
.live-banner { position: relative; display: flex; align-items: center; gap: 18px;
  margin: 0 var(--ott-gutter); padding: 16px 20px; border-radius: var(--r-panel); overflow: hidden;
  background: linear-gradient(100deg, rgba(229,35,43,.22), rgba(18,21,28,.9) 58%);
  border: 1px solid rgba(229,35,43,.5); isolation: isolate;
  transition: transform .24s var(--ease), border-color .24s; }
.live-banner:hover { transform: translateY(-3px); border-color: var(--ott-red); }
.live-banner img { width: 132px; aspect-ratio: 16/9; object-fit: cover; border-radius: 11px; flex: none; background: #000; }
.lb-badge { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  height: 22px; padding: 0 9px; border-radius: 4px; background: var(--ott-red); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.lb-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.4s ease-in-out infinite; }
.lb-copy { min-width: 0; display: grid; gap: 4px; }
.lb-copy b { font-family: var(--font-display); font-size: clamp(16px, 1.5vw, 22px); font-weight: 700; letter-spacing: -.02em;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.lb-copy span { font-size: 13px; color: var(--ott-text-3);
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.lb-cta { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px;
  border-radius: var(--r-pill); background: #fff; color: #07090f; font-weight: 700; font-size: 14px; }
.lb-cta svg { width: 16px; height: 16px; }
@media (max-width: 719px) {
  .live-banner { flex-wrap: wrap; gap: 12px; }
  .live-banner img { width: 88px; }
  .lb-cta { width: 100%; margin-left: 0; justify-content: center; }
}

/* the admin Live tab was still using the staff-side violet; bring it into the OTT palette */
.ott .switch[aria-checked="true"] { background: var(--ott-blue); }
.ott .btn-accent { background: var(--ott-blue); box-shadow: 0 10px 30px -14px rgba(0,84,209,.9); }
.ott .btn-accent:hover { background: var(--ott-blue-bright); }
.ott .badge-accent { background: var(--ott-blue-soft); color: #9cc4ff; border-color: rgba(20,102,232,.45); }
.ott .page-head .eyebrow { color: var(--ott-blue-bright); }
.ott .input:focus, .ott .select:focus, .ott .textarea:focus { border-color: var(--ott-blue-bright); box-shadow: 0 0 0 3px var(--ott-blue-soft); }

/* the admin console sits inside the OTT shell, so give its page block room under the nav */
.ott .page { padding-top: calc(var(--nav) + 26px); max-width: none; }
/* the admin console inherits .page-head from the staff stylesheet, which sets its own,
   larger heading. Pull it onto the same ladder as every other OTT page. */
.ott .page-head h1 { font-family: var(--font-display); font-size: var(--step-display); font-weight: 700; letter-spacing: -.03em; line-height: 1.04; }
.ott .page-head p { font-size: 14.5px; }
.ott .chips.admin-tabs .chip.active { background: #fff; color: var(--ott-bg); border-color: transparent; }
.ott .table-wrap { background: rgba(255,255,255,.02); border-color: rgba(255,255,255,.09); border-radius: var(--r-card); }
.ott .card.glass { background: var(--ott-surface); border-color: rgba(255,255,255,.08); border-radius: var(--r-panel); }

/* ═══════════════════ hero carousel ═══════════════════ */
.hero-deck { position: relative; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease); transform: scale(1.02); }
.hero-slide.on { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
/* Every slide is absolute. The deck gets its height from .billboard, not from a slide:
   a slide's children are all absolutely positioned, so an in-flow slide collapses to
   zero height and throws its own content off-screen. */

.hero-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 5;
  display: flex; gap: 8px; padding: 7px 12px; border-radius: var(--r-pill);
  background: rgba(0,0,0,.42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.38); transition: all .3s var(--ease); }
.hero-dots button:hover { background: rgba(255,255,255,.7); }
.hero-dots button.on { width: 26px; border-radius: var(--r-pill); background: #fff; }

.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(0,0,0,.42); border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .3s, background .2s; }
.hero-arrow.left { left: 18px; } .hero-arrow.right { right: 18px; }
.hero-arrow svg { width: 22px; height: 22px; }
.hero-deck:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: rgba(0,0,0,.72); }
.hero-arrow:focus-visible { opacity: 1; }

@media (max-width: 799px) {
  .hero-arrow { display: none; }
  .hero-dots { bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; transform: none; }
}

/* ═══════════════════ admin: hero slide ordering ═══════════════════ */
.hero-order { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: ho; }
.hero-order li { display: flex; align-items: center; gap: 13px; padding: 10px; border-radius: var(--r-card);
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); }
.ho-n { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 8px;
  background: var(--ott-blue); color: #fff; font-family: var(--font-mono); font-size: 12px; font-weight: 700; }
.hero-order img { width: 92px; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; flex: none; background: #000; }
.ho-main { min-width: 0; display: grid; gap: 3px; }
.ho-main b { font-size: 13.5px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ho-main span { font-size: 12px; color: var(--ott-text-4); }
.ho-btns { margin-left: auto; display: flex; gap: 6px; flex: none; }

.hero-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.hp-card { text-align: left; display: grid; gap: 7px; padding: 8px; border-radius: var(--r-card);
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  transition: border-color .2s, transform .2s var(--ease); }
.hp-card:hover:not(:disabled) { border-color: var(--ott-blue-bright); transform: translateY(-2px); }
.hp-card:disabled { opacity: .4; cursor: not-allowed; }
.hp-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; background: #000; }
.hp-card span { font-size: 12.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ott-text-2); }

/* ═══════════════════ closing region ═══════════════════
   The rows above are a browsing surface; this is the page talking about itself. Marking
   the change with one hairline and a shared rhythm stops the bottom reading as a
   different design bolted onto the top. */
.ott-outro { position: relative; margin-top: clamp(30px, 4vw, 60px); padding-top: clamp(30px, 4vw, 58px); }
.ott-outro::before { content: ''; position: absolute; top: 0; left: var(--ott-gutter); right: var(--ott-gutter);
  height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.16), rgba(255,255,255,.04) 55%, transparent); }


/* the closing panels share the card surface used by the rows, not a heavier one */
.ed-stat, .ov-tile:not(.accent) { background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.075); }
.ed-card { border-radius: var(--r-panel); }

/* ═══════════════════ closing region: one rhythm ═══════════════════
   Each block is introduced identically and spaced identically, so the bottom of the page
   reads as one system rather than three panels that happen to sit together. */
.ed-block { padding: 0 var(--ott-gutter); margin-bottom: clamp(34px, 4.4vw, 68px); }
.ed-block:last-child { margin-bottom: clamp(24px, 3vw, 44px); }

.ed-label { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(18px, 2vw, 30px); }
.ed-label-n { font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
  color: var(--ott-blue-bright); }
.ed-label-name { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ott-text-3); white-space: nowrap; }
.ed-label-rule { flex: 1; height: 1px; background: rgba(255,255,255,.12); }
.ed-label-right { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ott-text-4); white-space: nowrap; }

/* the split no longer carries its own padding — the block wrapper owns it */
.ed-split { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 72px); align-items: start; }
.ed-copy { padding-top: 2px; }
.ed-tele-grid { margin-top: 2px; }

/* the label already states the section, so the old inline eyebrow is redundant */
.ed-split .ed-eyebrow { display: none; }

@media (max-width: 1099px) { .ed-split { grid-template-columns: 1fr; } }

/* ═══════════════════ row headers ═══════════════════
   Same structure as the closing region's labels — name, hairline, mono meta — so the
   browsing half of the page and the editorial half read as one design. */
.ott-row-head { display: flex; align-items: center; gap: 14px; padding: 0 var(--ott-gutter); margin-bottom: 1vw; }
.ott-row-title { flex: none; }
.row-rule { flex: 1; height: 1px; background: rgba(255,255,255,.12); min-width: 20px; }
.row-count { flex: none; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ott-text-4); white-space: nowrap; }
.row-more { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600;
  color: var(--ott-text-4); white-space: nowrap; opacity: 0; transform: translateX(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), color .2s; }
.row-more svg { width: 14px; height: 14px; }
.ott-row:hover .row-more, .row-more:focus-visible { opacity: 1; transform: none; }
.row-more:hover { color: var(--ott-blue-bright); }
.ott-row-head .ott-pager { flex: none; margin-left: 0; }

/* the old inline "Explore all" inside the title is replaced by .row-more */
.ott-row-title .explore { display: none; }

/* hero slide counter, in the same mono voice as the section labels */
.hero-index { position: absolute; left: clamp(26px, 3.4vw, 58px); bottom: 20px; z-index: 5;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; color: rgba(255,255,255,.62); }
.hero-index b { color: #fff; font-weight: 700; }

@media (max-width: 799px) {
  .ott-row-head { gap: 10px; }
  .row-count, .row-more { display: none; }
  .hero-index { display: none; }
}

/* ═══════════════════ Medora-derived treatments ═══════════════════ */

/* Stats as one band divided by hairlines, rather than four separate boxes.
   Bigger numbers, quieter labels, and the dividers do the separating. */
.ed-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-panel); overflow: hidden; }
.ed-figure { padding: clamp(22px, 2.6vw, 38px) clamp(18px, 2vw, 32px); display: grid; gap: 8px;
  position: relative; }
.ed-figure + .ed-figure::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px; background: rgba(255,255,255,.12); }
.ed-figure b { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 52px); font-weight: 700;
  letter-spacing: -.035em; line-height: 1; }
.ed-figure:last-child b { color: var(--ott-blue-bright); }
.ed-figure span { font-size: 12.5px; color: var(--ott-text-4); }

/* LingoAI's mixed-weight paragraph: what matters stays solid, the joins step back. */
.ed-lede b { font-weight: 600; color: var(--ott-text-2); }
.ed-lede i { font-style: normal; color: var(--ott-text-4); }

/* Medora's circular arrow badge, sitting opposite the category icon. */
.ed-card-go { position: absolute; top: 16px; right: 16px; z-index: 1; width: 36px; height: 36px;
  border-radius: 50%; display: grid; place-items: center; background: var(--ott-blue); color: #fff;
  transform: translateY(-4px) scale(.85); opacity: 0;
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s; }
.ed-card-go svg { width: 16px; height: 16px; }
.ed-card:hover .ed-card-go { opacity: 1; transform: none; }
.ed-card:hover .ed-card-go { background: var(--ott-blue-bright); }

@media (max-width: 899px) {
  .ed-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-figure:nth-child(3)::before, .ed-figure:nth-child(3) { border-top: 1px solid rgba(255,255,255,.08); }
  .ed-figure:nth-child(4) { border-top: 1px solid rgba(255,255,255,.08); }
  .ed-figure:nth-child(3)::before { display: none; }
}
@media (max-width: 479px) {
  .ed-band { grid-template-columns: 1fr; }
  .ed-figure + .ed-figure::before { display: none; }
  .ed-figure + .ed-figure { border-top: 1px solid rgba(255,255,255,.08); }
}

/* A card floating over the hero artwork showing what comes next, in the manner of the
   reference's floating appointment card. Doubles as the "next slide" control. */
.hero-next { position: absolute; right: clamp(20px, 2.6vw, 42px); bottom: clamp(56px, 6vw, 84px); z-index: 5;
  display: flex; align-items: center; gap: 12px; width: min(300px, 38vw); padding: 10px 14px 10px 10px;
  border-radius: 16px; text-align: left; color: #fff;
  background: rgba(10,13,20,.72); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 18px 44px -18px rgba(0,0,0,.85);
  opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease), border-color .2s; }
.hero-deck:hover .hero-next, .hero-next:focus-visible { opacity: 1; transform: none; }
.hero-next:hover { border-color: var(--ott-blue-bright); }
.hero-next img { width: 72px; aspect-ratio: 16/9; object-fit: cover; border-radius: 9px; flex: none; background: #000; }
.hn-copy { min-width: 0; display: grid; gap: 2px; }
.hn-k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ott-blue-bright); }
.hn-t { font-size: 13px; font-weight: 600; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-next svg { width: 16px; height: 16px; flex: none; margin-left: auto; color: var(--ott-text-4); }

@media (max-width: 899px) { .hero-next { display: none; } }

/* ═══════════════════ bento showcase ═══════════════════
   An asymmetric mosaic: one lead, two stacked, two wide. Its job is to break the rhythm
   of horizontal rails so the page has more than one shape in it. */
.bento { display: grid; gap: var(--card-gap);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas: 'lead lead a b' 'lead lead c d';
  grid-auto-rows: minmax(0, 1fr); }
.bento-cell { position: relative; display: block; overflow: hidden; border-radius: var(--r-card);
  background: #14181f; isolation: isolate; min-height: 128px;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease); }
.bento-cell.lead  { grid-area: lead; aspect-ratio: 16/9; }
.bento-cell.sm:nth-of-type(2) { grid-area: a; }
.bento-cell.sm:nth-of-type(3) { grid-area: b; }
.bento-cell.wide:nth-of-type(4) { grid-area: c; }
.bento-cell.wide:nth-of-type(5) { grid-area: d; }
.bento-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .6s var(--ease); }
.bento-cell::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,9,15,.05) 30%, rgba(7,9,15,.62) 66%, rgba(7,9,15,.95) 100%); }
.bento-cell:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -22px rgba(0,0,0,.9); }
.bento-cell:hover img { transform: scale(1.06); }
.bento-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; display: grid; gap: 4px; }
.bento-kicker { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ott-text-3); }
.bento-kicker b { color: var(--ott-blue-bright); font-weight: 700; }
.bento-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bento-meta { font-size: 12.5px; color: var(--ott-text-3); }
.bento-cell.lead .bento-body { padding: 22px 24px; gap: 6px; }
.bento-cell.lead .bento-title { font-size: clamp(20px, 2.1vw, 30px); letter-spacing: -.02em; -webkit-line-clamp: 2; }
.bento-go { position: absolute; top: 12px; right: 12px; z-index: 1; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ott-blue); color: #fff;
  opacity: 0; transform: scale(.85); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.bento-go svg { width: 15px; height: 15px; }
.bento-cell:hover .bento-go { opacity: 1; transform: none; }

@media (max-width: 1099px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: 'lead lead' 'a b' 'c d'; }
}
@media (max-width: 599px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: 'lead' 'a' 'b' 'c' 'd'; }
  .bento-cell.sm, .bento-cell.wide { aspect-ratio: 16/9; }
}

/* ═══════════════════ collections grid ═══════════════════
   One card per run, with its artwork fanned behind — rather than a carousel each. */
.coll-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 12px; }
.coll-card { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px;
  border-radius: var(--r-card); background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.075);
  transition: transform .24s var(--ease), border-color .24s, background .24s; }
.coll-card:hover { transform: translateY(-3px); border-color: var(--ott-blue-bright); background: rgba(255,255,255,.055); }
.coll-stack { position: relative; width: 92px; height: 58px; flex: none; }
.coll-stack img { position: absolute; top: 50%; left: 0; width: 76px; aspect-ratio: 16/9; object-fit: cover;
  border-radius: 7px; border: 1px solid rgba(255,255,255,.14); background: #000;
  transform: translateY(-50%) translateX(calc(var(--n) * 8px)) rotate(calc((var(--n) - 1) * 2.5deg));
  z-index: calc(3 - var(--n)); transition: transform .3s var(--ease); }
.coll-card:hover .coll-stack img { transform: translateY(-50%) translateX(calc(var(--n) * 12px)) rotate(calc((var(--n) - 1) * 4deg)); }
.coll-copy { min-width: 0; display: grid; gap: 3px; }
.coll-copy b { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.coll-copy span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ott-text-4); }
.coll-go { margin-left: auto; flex: none; color: var(--ott-text-4); }
.coll-go svg { width: 16px; height: 16px; }
.coll-card:hover .coll-go { color: var(--ott-blue-bright); }

/* ═══════════════════ categories page ═══════════════════
   Artwork sits behind the copy rather than under it, so a long shelf name can never
   land on top of a face the way it did in the old squat tiles. */
.cat-page { padding-top: calc(var(--nav) + 2.4vw); }
.cat-head { padding: 0 var(--ott-gutter); margin-bottom: clamp(26px, 3vw, 44px); display: grid; gap: 10px; }
.cat-head h1 { font-family: var(--font-display); font-size: var(--step-display); font-weight: 700; letter-spacing: -.03em; line-height: 1.04; }
.cat-head p { color: var(--ott-text-3); font-size: 15px; max-width: 62ch; }

.shelf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.shelf-card { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px;
  min-height: 118px; border-radius: var(--r-panel); overflow: hidden; isolation: isolate;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.075);
  transition: transform .24s var(--ease), border-color .24s; }
.shelf-card:hover { transform: translateY(-4px); border-color: var(--ott-blue-bright); }
/* two frames of real artwork, dimmed, as the card's ground */
.shelf-art { position: absolute; inset: 0; z-index: -2; display: flex; }
.shelf-art img { width: 50%; height: 100%; object-fit: cover; opacity: .30; transition: opacity .3s, transform .6s var(--ease); }
.shelf-card:hover .shelf-art img { opacity: .42; transform: scale(1.05); }
.shelf-card::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(7,9,15,.94) 32%, rgba(7,9,15,.62) 100%); }
.shelf-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ott-blue); color: #fff; }
.shelf-ic svg { width: 20px; height: 20px; }
.shelf-copy { min-width: 0; display: grid; gap: 4px; }
.shelf-copy b { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.shelf-blurb { font-size: 12.5px; color: var(--ott-text-3); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shelf-n { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ott-text-4); }
.shelf-go { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  color: #fff; opacity: 0; transform: scale(.85); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.shelf-go svg { width: 14px; height: 14px; }
.shelf-card:hover .shelf-go { opacity: 1; transform: none; }

@media (max-width: 559px) { .shelf-grid { grid-template-columns: 1fr; } }

/* browse page: the header states what you are looking at, then gets out of the way */
.browse-head { gap: 14px; }
.browse-head .ed-label { margin-bottom: 2px; }
.browse-head h1 { font-family: var(--font-display); font-size: var(--step-display); font-weight: 700; letter-spacing: -.03em; line-height: 1.04; }
.browse-head p { color: var(--ott-text-3); font-size: 15px; max-width: 62ch; margin: -4px 0 0; }
.browse-controls { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.browse-grid { padding: 0 var(--ott-gutter); }
.cat-page .ott-grid { gap: 2.2vw var(--card-gap); }

/* .ott-page already supplies the page gutter, so nested block wrappers must not add a
   second one — that doubled the inset on the categories and browse pages. */
.ott-page .ed-block,
.ott-page .cat-head,
.ott-page .browse-grid { padding-left: 0; padding-right: 0; }

/* the closing statement's right column: four figures in a 2x2, so its height matches the
   text beside it instead of running past the bottom the way the old cards did */
.ed-band-2x2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: center; }
.ed-band-2x2 .ed-figure:nth-child(3),
.ed-band-2x2 .ed-figure:nth-child(4) { border-top: 1px solid rgba(255,255,255,.1); }
.ed-band-2x2 .ed-figure:nth-child(odd) + .ed-figure::before { top: 18%; bottom: 18%; }
.ed-band-2x2 .ed-figure:nth-child(3)::before { display: none; }
.ed-split .ed-copy { align-self: center; }

@media (max-width: 1099px) { .ed-band-2x2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) {
  .ed-band-2x2 { grid-template-columns: 1fr; }
  .ed-band-2x2 .ed-figure:nth-child(n+2) { border-top: 1px solid rgba(255,255,255,.1); }
}

/* ═══════════════════ hero copy ═══════════════════
   Left-aligned and pinned low, the way an OTT billboard reads. Headline, one line of
   description, two buttons — nothing above the title competing with it. */
.billboard-content { gap: 15px; }
.billboard-title { max-width: 18ch; }
.billboard-desc { max-width: 52ch; }

/* SJCC artwork usually has its own title burnt into the middle of the frame, so the scrim
   is raked from the lower-left — heaviest exactly where our copy sits, and clearing off
   the top-right so the photograph still reads. */
.billboard-vignette { background:
  linear-gradient(77deg, rgba(6,7,11,.92) 0%, rgba(6,7,11,.74) 26%, rgba(6,7,11,.30) 56%, rgba(6,7,11,0) 82%),
  linear-gradient(180deg, rgba(8,8,12,.58) 0%, rgba(8,8,12,.10) 26%, rgba(8,8,12,.44) 74%, rgba(8,8,12,.92) 100%),
  rgba(8,8,12,.22); }
.billboard-side { bottom: 20px; right: clamp(20px, 2.6vw, 42px); }

@media (max-width: 799px) {
  .billboard-content { gap: 12px; }
  .billboard-title { max-width: 100%; }
}

/* section header: a small slug, then the name, then one line saying what it holds */
.row-slug { flex: none; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em;
  /* --ott-blue-bright measures 3.88:1 on the catalog background: fine for a 60px headline,
     under the 4.5:1 AA floor at 11.5px. --ott-blue-label is the same hue lifted to 5.05:1. */
  color: var(--ott-blue-label); white-space: nowrap; }
.ott-row-head { margin-bottom: 8px; }
.ott-row-lede { padding: 0 var(--ott-gutter); margin-bottom: 1.1vw; display: grid; gap: 3px; }
.ott-row-lede p { font-size: 13.5px; color: var(--ott-text-4); max-width: 62ch; }
/* Row headers carry their own gutter, because the common case is a full-bleed rail:
   .ott-rows spans the viewport and each header insets itself back to the text column.
   These three wrappers are the exception — they sit inside .ott-page, which has already
   applied the gutter, so a header inside them would inset twice. Listed explicitly
   rather than guessed at with :not(), so adding a fourth wrapper is a visible decision.
   Deliberately NOT `.ott-page .ott-row-head`: that also catches the rails inside
   .ott-rows, which DO need their gutter, and pins them to the viewport edge. */
.ed-block > .ott-row-head,  .ed-block > .ott-row-lede,
.cs-colls > .ott-row-head,  .cs-colls > .ott-row-lede,
.nf-recent > .ott-row-head, .nf-recent > .ott-row-lede { padding-left: 0; padding-right: 0; }
@media (max-width: 799px) { .ott-row-lede p { display: none; } }

/* ═══ skip link, shortcuts sheet, network bar, crash card ═══════════════════ */
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 300; padding: 11px 18px;
  border-radius: 10px; background: var(--ott-blue); color: #fff; font-weight: 600; font-size: 14px;
  transition: top .18s var(--ease); }
.skip-link:focus { top: 12px; }
#outlet:focus, #outlet:focus-visible { outline: none; }

.keys-sheet { position: fixed; inset: 0; z-index: 240; display: grid; place-items: center;
  background: rgba(4,6,11,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: fade .2s var(--ease); }
.keys-card { width: min(440px, 90vw); padding: 26px; border-radius: var(--r-panel);
  background: var(--ott-surface); border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.keys-card h2 { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.keys-card dl { display: grid; gap: 2px; margin-bottom: 18px; }
.keys-card dl > div { display: flex; align-items: center; gap: 14px; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06); }
.keys-card dl > div:last-child { border-bottom: 0; }
.keys-card dt { flex: none; width: 74px; }
.keys-card kbd { display: inline-block; min-width: 26px; padding: 3px 7px; text-align: center;
  border-radius: 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  border-bottom-width: 2px; font-family: var(--font-mono); font-size: 12px; color: #fff; }
.keys-card dd { font-size: 13.5px; color: var(--ott-text-3); }

.net-bar { position: fixed; left: 50%; bottom: -60px; transform: translateX(-50%); z-index: 250;
  padding: 10px 20px; border-radius: var(--r-pill); font-size: 13px; font-weight: 500; color: #fff;
  background: rgba(24,28,38,.94); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 16px 44px rgba(0,0,0,.5); transition: bottom .3s var(--ease); white-space: nowrap;
  max-width: 92vw; overflow: hidden; text-overflow: ellipsis; }
.net-bar.on { bottom: calc(18px + env(safe-area-inset-bottom)); }
.net-bar[data-kind="on"] { border-color: rgba(20,102,232,.5); }
@media (max-width: 799px) { .net-bar.on { bottom: calc(76px + env(safe-area-inset-bottom)); } }

.ott-empty.crash .why { margin-top: 10px; font-family: var(--font-mono); font-size: 11.5px;
  color: var(--ott-text-4); word-break: break-word; max-width: 60ch; }
.ott-empty.crash .acts { display: flex; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }

/* ═══ About ════════════════════════════════════════════════════════════════ */
.ab-hero { max-width: 900px; padding: clamp(28px, 5vw, 64px) 0 clamp(26px, 4vw, 48px); display: grid; gap: 14px; }
.ab-hero h1 { font-family: var(--font-display); font-size: var(--step-display); font-weight: 700;
  letter-spacing: -.03em; line-height: 1.06; color: #fff; }
.ab-hero p { font-size: clamp(14.5px, 1.15vw, 16.5px); line-height: 1.62; color: var(--ott-text-3); max-width: 70ch; }

.ab-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-panel); overflow: hidden; margin-bottom: clamp(36px, 6vw, 76px); }
.ab-stats > div { background: var(--ott-bg); padding: clamp(18px, 2vw, 28px); display: grid; gap: 5px; align-content: center; }
.ab-stats b { font-family: var(--font-display); font-size: var(--step-stat); font-weight: 700;
  letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.ab-stats span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ott-text-4); }

.ab-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px);
  align-items: start; margin-bottom: clamp(36px, 6vw, 76px); }
.ab-split h2 { font-family: var(--font-display); font-size: var(--step-section); font-weight: 700;
  letter-spacing: -.025em; color: #fff; margin: 8px 0 14px; }
.ab-split p { font-size: 14.5px; line-height: 1.66; color: var(--ott-text-3); margin-bottom: 14px; max-width: 54ch; }
.ab-shelves { display: grid; gap: 1px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-panel); overflow: hidden; }
.ab-shelves li { display: flex; align-items: center; gap: 14px; padding: 15px 18px; background: var(--ott-bg); }
.ab-shelves .ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 10px; background: rgba(20,102,232,.14); color: var(--ott-blue-bright); }
.ab-shelves .ic svg { width: 17px; height: 17px; }
.ab-shelves div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ab-shelves b { font-size: 14px; font-weight: 600; color: #fff; }
.ab-shelves div span { font-size: 12.5px; color: var(--ott-text-4); }
.ab-shelves em { flex: none; font-family: var(--font-mono); font-style: normal; font-size: 13px; color: var(--ott-text-3); }

.ab-span { margin-bottom: clamp(36px, 6vw, 76px); display: grid; gap: 16px; }
.ab-ends { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(14px, 2vw, 28px); align-items: center; }
.ab-ends a { display: grid; gap: 8px; }
.ab-ends img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r-card);
  border: 1px solid rgba(255,255,255,.08); transition: transform .4s var(--ease); }
.ab-ends a:hover img { transform: scale(1.02); }
.ab-ends a > span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ott-blue-label); }
.ab-ends b { font-size: 14.5px; font-weight: 600; color: #fff; line-height: 1.32; }
.ab-arrow { color: var(--ott-text-4); }
.ab-arrow svg { width: 26px; height: 26px; }

.ab-faq { margin-bottom: clamp(36px, 6vw, 76px); display: grid; gap: 14px; }
.ab-faq h2 { font-family: var(--font-display); font-size: var(--step-section); font-weight: 700;
  letter-spacing: -.025em; color: #fff; }
.ab-qs { display: grid; gap: 1px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-panel); overflow: hidden; }
.ab-qs details { background: var(--ott-bg); }
.ab-qs summary { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; cursor: pointer; font-size: 14.5px; font-weight: 600; color: #fff; list-style: none; }
.ab-qs summary::-webkit-details-marker { display: none; }
.ab-qs summary:hover { background: rgba(255,255,255,.03); }
.ab-qs .chev { flex: none; color: var(--ott-text-4); transition: transform .25s var(--ease); display: inline-flex; }
.ab-qs .chev svg { width: 17px; height: 17px; }
.ab-qs details[open] .chev { transform: rotate(90deg); }
.ab-qs details p { padding: 0 20px 18px; font-size: 14px; line-height: 1.66; color: var(--ott-text-3); max-width: 72ch; }

.ab-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
  padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r-panel);
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(120deg, rgba(20,102,232,.16), rgba(1,57,176,.05) 62%), var(--ott-surface);
  margin-bottom: clamp(30px, 5vw, 60px); }
.ab-cta h2 { font-family: var(--font-display); font-size: var(--step-section); font-weight: 700;
  letter-spacing: -.025em; color: #fff; margin-bottom: 6px; }
.ab-cta p { font-size: 14px; color: var(--ott-text-3); max-width: 52ch; }
.ab-cta .acts { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 1099px) { .ab-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 799px) {
  .ab-split { grid-template-columns: 1fr; }
  .ab-stats { grid-template-columns: repeat(2, 1fr); }
  .ab-ends { grid-template-columns: 1fr; }
  .ab-arrow { transform: rotate(90deg); justify-self: center; }
}

/* 404, wearing the catalog chrome */
.nf-hero { max-width: 760px; padding: clamp(30px, 6vw, 84px) 0 clamp(26px, 4vw, 52px); display: grid; gap: 14px; }
.nf-hero h1 { font-family: var(--font-display); font-size: var(--step-display); font-weight: 700;
  letter-spacing: -.03em; line-height: 1.06; color: #fff; }
.nf-hero p { font-size: clamp(14.5px, 1.1vw, 16px); line-height: 1.6; color: var(--ott-text-3); max-width: 58ch; }
.nf-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.nf-recent { margin-bottom: clamp(30px, 5vw, 60px); }

/* .ed-block already supplies the page gutter; the row header must not add a second one,
   or the bento's title sits indented from every other section label on the page. */


/* A portrait frame has no horizontal room for the left-to-right rake, so the scrim
   becomes bottom-weighted instead — same job, the shape the viewport allows. */
@media (max-width: 799px) {
  .billboard-vignette { background:
    linear-gradient(180deg, rgba(8,8,12,.52) 0%, rgba(8,8,12,.20) 17%, rgba(6,7,11,.64) 40%, rgba(6,7,11,.88) 72%, rgba(6,7,11,.95) 100%),
    rgba(8,8,12,.26); }
}

/* ═══════════════════ category-as-series ═══════════════════
   The shelf detail page: a full-bleed hero, then a numbered episode list. */
.cs-hero { position: relative; min-height: min(72vh, 620px); display: flex; align-items: flex-end;
  padding: calc(var(--nav) + 4vw) var(--ott-gutter) clamp(30px, 4vw, 58px); overflow: hidden; }
.cs-art { position: absolute; inset: 0; z-index: 0; }
/* The face of a shelf is one of its own thumbnails, and SJCC thumbnails carry their own
   title in 100pt type. Unblurred it reads as a second headline arguing with ours, so the
   backdrop is softened just enough to become texture — scaled up first so the blur has
   no transparent edge to smear. */
.cs-art img { width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); filter: blur(7px) saturate(1.06) brightness(.82); }
.cs-scrim { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(77deg, rgba(6,7,11,.96) 0%, rgba(6,7,11,.86) 30%, rgba(6,7,11,.46) 62%, rgba(6,7,11,.18) 88%),
  linear-gradient(180deg, rgba(8,8,12,.72) 0%, rgba(8,8,12,.28) 26%, rgba(8,8,12,.66) 74%, var(--ott-bg) 100%); }
.cs-inner { position: relative; z-index: 2; width: min(660px, 100%); display: grid; gap: 14px; }
.cs-kicker { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ott-blue-label); }
.cs-kicker svg { width: 15px; height: 15px; }
.cs-hero h1 { font-family: var(--font-display); font-size: var(--step-hero); font-weight: 700;
  letter-spacing: -.035em; line-height: 1.02; color: #fff; text-shadow: 0 2px 26px rgba(0,0,0,.7); }
.cs-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13.5px;
  font-weight: 500; color: var(--ott-text-2); }
.cs-match { color: #4ade80; font-weight: 700; }
.cs-facts .hd { font-size: 10px; font-weight: 700; letter-spacing: .08em; padding: 2px 6px;
  border: 1px solid rgba(255,255,255,.34); border-radius: 4px; color: var(--ott-text-3); }
.cs-blurb { font-size: clamp(14px, 1.1vw, 16px); line-height: 1.55; color: var(--ott-text-2);
  max-width: 52ch; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.cs-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.cs-face { font-size: 12.5px; color: var(--ott-text-4); }
.cs-face b { color: var(--ott-text-3); font-weight: 600; }

.cs-body { padding-top: clamp(26px, 3vw, 44px); }
.cs-eps-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px;
  flex-wrap: wrap; margin-bottom: 18px; }
.cs-eps-head h2 { font-family: var(--font-display); font-size: var(--step-section); font-weight: 700;
  letter-spacing: -.025em; color: #fff; margin-top: 4px; }

/* one episode row */
.eps { display: grid; gap: 1px; background: rgba(255,255,255,.07);
  border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); }
.ep { display: grid; grid-template-columns: 58px 190px 1fr; align-items: center; gap: 18px;
  padding: 14px 10px; background: var(--ott-bg); transition: background .25s var(--ease); }
.ep:hover { background: var(--ott-surface); }
.ep-n { font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--ott-text-4);
  text-align: center; font-variant-numeric: tabular-nums; }
.ep:hover .ep-n { color: #fff; }
.ep-thumb { position: relative; display: block; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden;
  background: var(--ott-surface-2); }
.ep-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ep-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.42);
  opacity: 0; transition: opacity .25s var(--ease); }
.ep-play svg { width: 34px; height: 34px; color: #fff; }
.ep:hover .ep-play { opacity: 1; }
.ep-dur { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 4px;
  background: rgba(0,0,0,.78); font-size: 11px; font-weight: 600; color: #fff; }
.ep-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.28); }
.ep-bar span { display: block; height: 100%; background: var(--ott-blue-bright); }
.ep-copy { display: grid; gap: 6px; min-width: 0; }
.ep-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.ep-top b { font-size: 15px; font-weight: 600; color: #fff; line-height: 1.3; }
.ep-meta { flex: none; font-size: 12.5px; color: var(--ott-text-4); white-space: nowrap; }
.ep-desc { font-size: 13.5px; line-height: 1.5; color: var(--ott-text-3);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ep-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ep-tag { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; padding: 2px 8px;
  border-radius: var(--r-pill); background: rgba(255,255,255,.07); color: var(--ott-text-3); }
.ep-tag.new { background: rgba(20,102,232,.2); color: var(--ott-blue-label); }
.ep-tag.on { background: rgba(255,255,255,.12); color: #fff; }
.eps-empty { padding: 30px 10px; color: var(--ott-text-4); font-size: 14px; }

.cs-colls { margin-top: clamp(32px, 4vw, 60px); }

.cs-coll-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.cs-coll { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r-card);
  background: var(--ott-surface); border: 1px solid rgba(255,255,255,.07);
  transition: background .25s var(--ease), border-color .25s var(--ease); }
.cs-coll:hover { background: var(--ott-surface-2); border-color: rgba(255,255,255,.16); }
.cs-coll img { flex: none; width: 74px; aspect-ratio: 16/9; object-fit: cover; border-radius: 7px; }
.cs-coll span { display: grid; gap: 2px; min-width: 0; }
.cs-coll b { font-size: 13.5px; font-weight: 600; color: #fff; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cs-coll em { font-style: normal; font-family: var(--font-mono); font-size: 10.5px; color: var(--ott-text-4); }
.cs-more { padding-bottom: clamp(30px, 5vw, 60px); }

@media (max-width: 899px) {
  .ep { grid-template-columns: 38px 132px 1fr; gap: 12px; }
  .ep-n { font-size: 19px; }
  .ep-top { display: grid; gap: 3px; }
  .ep-meta { white-space: normal; }
}
@media (max-width: 599px) {
  .cs-hero { min-height: 62vh; }
  .ep { grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
  .ep-thumb { grid-column: 2; }
  .ep-copy { grid-column: 2; }
  .ep-desc { -webkit-line-clamp: 3; }
}

/* No-JS fallback. The app is a pure SPA, so without scripts the page is otherwise blank. */
.noscript-note { max-width: 560px; margin: 18vh auto; padding: 0 24px; text-align: center; color: #e6e9ef; }
.noscript-note h1 { font-family: var(--font-display); font-size: 34px; font-weight: 700;
  letter-spacing: -.03em; margin-bottom: 12px; }
.noscript-note p { font-size: 15px; line-height: 1.6; color: #a8b0be; }
.noscript-note a { color: #2E7CF6; text-decoration: underline; }

/* Why the catalog is empty — shown instead of leaving a blank page. */
.data-error { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 260;
  width: min(460px, calc(100vw - 32px)); }
.de-card { padding: 18px 20px; border-radius: var(--r-panel); background: var(--ott-surface);
  border: 1px solid rgba(229,35,43,.45); box-shadow: 0 20px 60px rgba(0,0,0,.6); display: grid; gap: 9px; }
.de-card b { font-size: 14.5px; font-weight: 700; color: #fff; }
.de-card p { font-size: 13px; line-height: 1.55; color: var(--ott-text-3); }
.de-card code { display: block; padding: 9px 11px; border-radius: 8px; background: rgba(0,0,0,.45);
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ott-blue-label); overflow-x: auto; }
.de-card .de-code { font-family: var(--font-mono); font-size: 10.5px; color: var(--ott-text-4); }
.de-card button { justify-self: start; padding: 7px 14px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #fff;
  font-size: 12.5px; font-weight: 600; cursor: pointer; }
.de-card button:hover { background: rgba(255,255,255,.16); }
@media (max-width: 799px) { .data-error { bottom: 84px; } }

/* ═══════════════════ Your SJCC ═══════════════════ */
.me-head { display: grid; gap: 13px; padding-bottom: clamp(22px, 3vw, 40px); max-width: 780px; }
.me-head h1 { font-family: var(--font-display); font-size: var(--step-display); font-weight: 700;
  letter-spacing: -.03em; line-height: 1.06; color: #fff; }
.me-head > p { font-size: 14.5px; line-height: 1.6; color: var(--ott-text-3); max-width: 62ch; }
.me-head b { color: var(--ott-text-2); font-weight: 600; }
/* the sign-in prompt only — not the .nbtn action buttons below it */
.me-head > p a { color: var(--ott-blue-label); text-decoration: underline; }
.me-stats { display: flex; flex-wrap: wrap; gap: 1px; margin-top: 6px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-panel); overflow: hidden; }
.me-stats > div { flex: 1 1 120px; background: var(--ott-bg); padding: 15px 18px; display: grid; gap: 3px; }
.me-stats b { font-family: var(--font-display); font-size: clamp(21px, 2vw, 28px); font-weight: 700;
  letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.me-stats span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ott-text-4); }
.me-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
/* .ott-rows bleeds to the viewport edge; inside .ott-page it needs the page gutter back */
.me-rows { margin: 0 calc(var(--ott-gutter) * -1); }
.me-empty { margin-top: 10px; }

/* ═══ admin: library health ═══ */
.ov-health { grid-column: 1 / -1; padding: 20px 22px; border-radius: var(--r-panel);
  background: var(--ott-surface); border: 1px solid rgba(255,255,255,.08); display: grid; gap: 12px; }
.ov-health > p { font-size: 13.5px; line-height: 1.6; color: var(--ott-text-3); max-width: 76ch; }
.ov-health-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.health-progress { font-family: var(--font-mono); font-size: 12px; color: var(--ott-text-3); }
.health-res { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13.5px; color: var(--ott-text-3); }
.health-res li { display: inline-flex; align-items: center; gap: 7px; }
.health-res svg { width: 15px; height: 15px; }
.health-res b { color: #fff; }
.health-res .good { color: #4ade80; } .health-res .bad { color: #ff6b6b; }
.health-gone { display: grid; gap: 1px; margin-top: 4px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-card); overflow: hidden; }
.health-gone li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--ott-bg); }
.health-gone li > a:first-child { flex: 1; min-width: 0; font-size: 13.5px; color: #fff; }
.health-gone .mono-label { flex: none; }

/* ═══ nav dropdowns ═══ */
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0;
  padding: 0; font: inherit; font-size: 14px; font-weight: 500; color: var(--ott-text-2);
  cursor: pointer; white-space: nowrap; transition: color .25s; }
.nav-drop-btn svg { width: 14px; height: 14px; opacity: .7; transition: transform .25s var(--ease); }
.nav-drop-btn:hover { color: var(--ott-text-3); }
.nav-drop-btn.active { color: #fff; font-weight: 700; }
.nav-drop-btn[aria-expanded="true"] svg, .nav-drop:hover .nav-drop-btn svg { transform: rotate(180deg); }
.nav-drop-menu { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  min-width: 210px; padding: 7px; display: grid; gap: 1px; z-index: 90;
  border-radius: 16px; background: rgba(18,21,28,.97); border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  box-shadow: 0 20px 52px rgba(0,0,0,.6); }
/* an invisible bridge, so the menu does not vanish while the pointer crosses the gap */
.nav-drop::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 16px; }
.nav-drop-menu a { display: block; padding: 9px 12px; border-radius: 10px; font-size: 13.5px;
  font-weight: 500; color: var(--ott-text-2); white-space: nowrap; }
.nav-drop-menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-drop-menu a.active { color: #fff; font-weight: 700; background: rgba(20,102,232,.18); }

/* ═══ admin: live slots ═══ */
.live-slots { display: grid; gap: 1px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-card); overflow: hidden; }
/* The slot list sits in a narrow admin column, so the three action buttons wrap onto
   their own line rather than squeezing the title to nothing. */
.live-slots li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  padding: 10px 12px; background: var(--ott-bg); }
.live-slots li > .btn { flex: none; }
.live-slots li.on { background: linear-gradient(90deg, rgba(229,35,43,.12), transparent 60%); }
.live-slots img { flex: none; width: 74px; aspect-ratio: 16/9; object-fit: cover; border-radius: 7px; }
.live-slots div { flex: 1 1 140px; min-width: 0; display: grid; gap: 2px; }
.live-slots b { font-size: 13.5px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-slots span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ott-text-4); }
.live-slots li.on span { color: var(--ott-red); }

/* Live page: switch between concurrent streams */
.live-also { display: grid; gap: 8px; margin-bottom: 16px; }
.live-also .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ott-red); }
.live-switch-to { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px;
  border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  color: var(--ott-text-2); font: inherit; font-size: 13px; text-align: left; cursor: pointer;
  transition: background .2s, border-color .2s; }
.live-switch-to:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.live-switch-to img { flex: none; width: 58px; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; }
.live-switch-to span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* Nav: the on-air indicator. Hidden entirely unless something is streaming, because a
   permanent "LIVE" that is usually a lie teaches people to ignore it. */
/* Reads as one more nav item, not a badge. The signal dot carries the urgency; a red
   pill as well was shouting twice. */
.nav-live { display: inline-flex; align-items: center; gap: 8px; flex: none;
  font-size: 14px; font-weight: 500; color: var(--ott-text-2); white-space: nowrap;
  transition: color .25s; }
.nav-live:hover { color: #fff; }
.nav-live-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--ott-red); flex: none; }
/* two rings leaving at different times reads as a transmitting signal rather than a blink */
.nav-live-dot::before, .nav-live-dot::after { content: ''; position: absolute; inset: 0;
  border-radius: 50%; border: 1.5px solid var(--ott-red); animation: nav-live-ping 2s ease-out infinite; }
.nav-live-dot::after { animation-delay: 1s; }
@keyframes nav-live-ping {
  0%   { transform: scale(1);   opacity: .9; }
  100% { transform: scale(3.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-live-dot::before, .nav-live-dot::after { animation: none; opacity: 0; }
}
@media (max-width: 899px) { .nav-live { display: none; } }

/* admin: edit-video panel */
.edit-back { position: fixed; inset: 0; z-index: 240; display: grid; place-items: center;
  padding: 20px; background: rgba(4,6,11,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  overflow-y: auto; animation: fade .2s var(--ease); }
.edit-card { width: min(560px, 100%); padding: 22px; border-radius: var(--r-panel);
  background: var(--ott-surface); border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 80px rgba(0,0,0,.6); display: grid; gap: 14px; }
.edit-top { display: flex; align-items: center; gap: 12px; }
.edit-top img { width: 108px; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; }

/* ═══════════════════════════════════════════════════════════════════════════════════
   NETFLIX RESTYLE LAYER — appended last so it wins over everything above at equal
   specificity. The reference: near-black ground, artwork-led tiles with the title on the
   art and a "+" in the corner, a single meta line under each card with a green match %,
   plain "Title …… Explore All ›" section heads, a flat nav overlaid on the hero, and a
   spaced-caps kicker above the billboard title. Brand stays SJCC blue throughout.
   ═══════════════════════════════════════════════════════════════════════════════════ */
:root {
  --ott-bg: #141414; --ott-surface: #181818; --ott-surface-2: #232323;
  --ott-green: #46d369;
  --r-card: 12px;
  --ott-nav-inset: 0px; --ott-nav-h: 72px;
}
.ott { --nav: calc(var(--ott-nav-inset) + var(--ott-nav-h)); }

/* ── nav: a bar overlaid on the artwork, not a floating capsule ─────────────────── */
.ott-nav { padding: 0; }
.ott-nav-bar { width: 100%; max-width: none; margin: 0; height: var(--ott-nav-h);
  padding: 0 var(--ott-gutter); border-radius: 0; border: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  background: linear-gradient(180deg, rgba(20,20,20,.88) 0%, rgba(20,20,20,.55) 60%, rgba(20,20,20,0) 100%);
  transition: background .3s var(--ease); }
.ott-nav.solid .ott-nav-bar { background: #141414; border-bottom: 1px solid #232323; box-shadow: none; }
.ott-wordmark { font-family: var(--font-wordmark); font-size: 32px; line-height: 1; letter-spacing: .03em;
  color: var(--ott-blue-bright); transform: translateY(1px); }
.ott-logo { gap: 7px; }
.ott-logo small { font-family: var(--font-body); font-size: 10px; letter-spacing: .18em; color: var(--ott-text-3); margin-left: 0; margin-top: 3px; }
.ott-links a, .nav-drop-btn { font-size: 15px; font-weight: 500; }
.ott-links a.active, .nav-drop-btn.active { font-weight: 700; }
.ott-search > button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.06); color: #fff; transition: background .2s; }
.ott-search > button:hover { background: rgba(255,255,255,.14); }
.ott-search > button svg { width: 18px; height: 18px; }

/* ── hero: flush under the nav, kicker + meta + round actions + genre line ─────── */
.billboard { margin: 0; border-radius: 0; }
.billboard + .ott-rows { padding-top: 28px; }
.billboard-content { gap: 12px; }
.billboard-kicker { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase; color: var(--ott-text-2); }
.bk-mark { width: 11px; height: 16px; background: var(--ott-blue-bright); clip-path: polygon(0 0, 100% 50%, 0 100%); flex: none; }
.bk-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ott-red); box-shadow: 0 0 0 4px rgba(229,35,43,.25); flex: none; }
.billboard-meta { display: flex; flex-wrap: wrap; align-items: center; font-size: 14px; font-weight: 500; color: var(--ott-text-2); }
.billboard-meta > span + span::before { content: '\00b7'; margin: 0 9px; color: var(--ott-text-4); }
.billboard-meta > .meta-chip + span::before { margin-left: 9px; }
.billboard-actions { gap: 10px; margin-top: 2px; }
.billboard-actions .nbtn-round { width: 46px; height: 46px; background: rgba(42,42,42,.72); border: 1px solid rgba(255,255,255,.28); }
.billboard-actions .nbtn-round:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); }
.billboard-actions .nbtn-round svg { width: 20px; height: 20px; }
.billboard-tags { font-size: 13px; color: var(--ott-text-4); }

/* ── shared meta atoms (.meta-chip, not .chip: the admin's tab pills own that name) ──────────────────────────────────────────────────────────── */
.meta-chip { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 3px;
  background: #f5c518; color: #111; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; line-height: 1; }
.meta-chip.live { background: var(--ott-red); color: #fff; }
.match { color: var(--ott-green); font-weight: 600; }

/* ── cards: title on the art, "+" in the corner, one meta line under ───────────── */
.ott-tile { position: relative; display: block; min-width: 0; }
.ott-tile > .ott-card { display: block; }
.ott-card { border-radius: var(--r-card); background: var(--ott-surface-2); }
.ott-card-title { padding: 44px 12px 12px; font-size: 17px; font-weight: 600; line-height: 1.2; letter-spacing: -.012em;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.9) 100%); }
.ott-tile.tall .ott-card-title { font-size: 14px; padding: 36px 10px 10px; }
.ott-card-title .clamp2 { padding-right: 34px; }   /* keep the title clear of the + */
.ott-card-meta { display: flex; align-items: center; height: 22px; margin-top: 8px; padding: 0 2px;
  font-size: 12.5px; color: var(--ott-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ott-card-meta > span + span::before { content: '\00b7'; margin: 0 6px; color: var(--ott-text-4); }
.ott-card-meta > .meta-chip + span::before { margin-left: 7px; }
.ott-card-add { position: absolute; right: 10px; bottom: 40px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(20,20,20,.72); border: 1px solid rgba(255,255,255,.3);
  color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .2s, border-color .2s, transform .2s var(--ease); }
.ott-card-add svg { width: 16px; height: 16px; }
.ott-card-add:hover { background: #fff; color: #111; border-color: #fff; transform: scale(1.06); }
.ott-card-add:disabled { opacity: .6; cursor: default; }
.ott-tile.continue .ott-progress { z-index: 2; }
.ott-track.tall .ott-tile.tall .ott-card { aspect-ratio: 9/16; }

/* ── section heads: "Title …… Explore All ›", quiet subtitle underneath ────────── */
.ott-row-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.ott-row-title { font-size: clamp(20px, 1.55vw, 24px); font-weight: 600; letter-spacing: -.02em; color: #fff; }
.ott-row-title:hover { color: #fff; }
.ott-row-head .ott-pager { margin-left: auto; }
.row-more { opacity: 1; transform: none; margin-left: 14px; font-size: 14px; font-weight: 500; color: var(--ott-text-4); }
.ott-row-head:not(:has(.ott-pager)) .row-more { margin-left: auto; }
.row-more:hover { color: #fff; }
.ott-row-note { padding: 0 var(--ott-gutter); margin: -8px 0 14px; font-size: 13.5px; color: var(--ott-text-4); max-width: 70ch; }
.ed-block > .ott-row-note, .cs-colls > .ott-row-note, .nf-recent > .ott-row-note { padding-left: 0; padding-right: 0; }
.row-rule, .row-count, .ott-row-lede { display: none; }

/* ── kicker: the reference's "N SERIES", in brand blue ─────────────────────────── */
.ott-kicker, .row-slug { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body);
  font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--ott-text-3); }
.ott-kicker::before, .row-slug::before { content: ''; width: 10px; height: 14px; flex: none;
  background: var(--ott-blue-bright); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.cs-kicker { font-family: var(--font-body); letter-spacing: .24em; color: var(--ott-text-3); }

/* ── collections: portrait poster cards ─────────────────────────────────────────── */
.coll-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.coll-card { display: grid; grid-template-rows: auto 1fr; align-items: start; gap: 0; padding: 0;
  background: var(--ott-surface); border: 1px solid rgba(255,255,255,.06); border-radius: var(--r-card); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, background .3s; }
.coll-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.18); background: var(--ott-surface-2); }
.coll-poster { display: block; aspect-ratio: 2 / 3; overflow: hidden; background: var(--ott-surface-2); }
.coll-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.coll-body { display: grid; gap: 6px; padding: 12px 12px 14px; }
.coll-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.coll-head b { font-size: 17px; font-weight: 600; color: #fff; letter-spacing: -.012em; line-height: 1.2; }
.coll-plus { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  display: grid; place-items: center; color: #fff; }
.coll-plus svg { width: 14px; height: 14px; }
.coll-meta { display: flex; flex-wrap: wrap; font-size: 12.5px; color: var(--ott-text-3); }
.coll-meta > span + span::before { content: '\00b7'; margin: 0 6px; color: var(--ott-text-4); }
.coll-desc { font-size: 12.5px; line-height: 1.45; color: var(--ott-text-4);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.coll-tags { font-size: 11.5px; color: var(--ott-text-4); }

/* ── search: query · category · year · one brand button ─────────────────────────── */
.sp-bar { display: grid; grid-template-columns: 1.7fr .9fr .6fr auto; gap: 14px; align-items: end; margin-bottom: 28px; }
.sp-bar label { display: grid; gap: 6px; font-size: 12px; color: var(--ott-text-4); }
.sp-input { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 10px;
  background: var(--ott-surface); border: 1px solid rgba(255,255,255,.08); color: var(--ott-text-4); }
.sp-input svg { width: 18px; height: 18px; flex: none; }
.sp-input input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; font: inherit; font-size: 15px; }
.sp-input:focus-within { border-color: rgba(255,255,255,.28); }
.sp-bar select { height: 46px; padding: 0 12px; border-radius: 10px; background: var(--ott-surface);
  border: 1px solid rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 14.5px; }
.sp-go { height: 46px; padding: 0 30px; border: 0; border-radius: 10px; background: var(--ott-blue); color: #fff;
  font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s; }
.sp-go:hover { background: var(--ott-blue-bright); }

/* ── mobile tab bar: four tabs, brand-blue active ───────────────────────────────── */
.ott-bottom { grid-template-columns: repeat(4, 1fr); background: rgba(20,20,20,.98); border-top: 1px solid #262626; }
.ott-bottom a.active { color: var(--ott-blue-bright); }

@media (max-width: 899px) { .sp-bar { grid-template-columns: 1fr 1fr; } .sp-bar label:first-child { grid-column: 1 / -1; } .sp-go { grid-column: 1 / -1; } }
@media (max-width: 799px) {
  .billboard { margin-top: 0; border-radius: 0; }
  .ott-card-title { font-size: 14px; padding: 34px 10px 10px; }
  .ott-card-meta { font-size: 11.5px; }
  .ott-card-add { width: 28px; height: 28px; bottom: 38px; right: 8px; }
  .ott-row-title { font-size: 19px; }
  .coll-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ott-wordmark { font-size: 28px; }
}

/* Mobile hero, after the restyle: the billboard gained a kicker, a meta row and a genre
   line, so six rows now stack where three used to. At 440px they overflowed upward into
   the nav. Give the frame room, anchor the copy lower, and drop the two lowest-value rows
   (views, genres) so the meta stays on one line — a wrapped meta row leaves a separator
   dangling at the start of the second line. */
@media (max-width: 799px) {
  .billboard { height: auto; min-height: 600px; }
  .billboard-content { top: auto; bottom: 12%; gap: 9px; padding-top: calc(var(--nav) + 8px); }
  .billboard-kicker { font-size: 11px; letter-spacing: .22em; }
  .billboard-meta { flex-wrap: nowrap; overflow: hidden; font-size: 13px; }
  .billboard-meta > span:nth-child(4) { display: none; }   /* views */
  .billboard-tags { display: none; }
  .billboard-desc { -webkit-line-clamp: 2; }
}
@media (max-width: 499px) {
  .billboard { min-height: 560px; }
  .billboard-meta > span:nth-child(3) { display: none; }   /* duration too, on the narrowest phones */
}

/* ── Google Drive titles ──────────────────────────────────────────────────────
   Drive's preview player fills the stage the way the YouTube iframe does. The shield covers
   Drive's pop-out control (top-right, shown on hover) so a viewer stays on this page. */
.ott-player .drive-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.ott-player .drive-shield { position: absolute; top: 0; right: 0; width: 60px; height: 60px; z-index: 2; display: block; }

/* ═══════════════════════════════════════════════════════════════════════════
   BLUE & YELLOW STAGE LAYER — the low-fi wireframe of 19 Sep 2026 and the "beyond"
   poster: a centred hero card with its neighbours peeking in, Top 10 with huge numerals,
   a staggered Events mosaic, and yellow as the second brand colour beside SJCC blue.
   Appended last so it wins at equal specificity. Type stays Figtree + Bebas Neue.
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  --ott-yellow: #FFDD00;        /* the poster's yellow — every "go" accent               */
  --ott-yellow-soft: #FFE84D;   /* hover                                                  */
  --ott-royal: #0B2CC4;         /* the poster's blue — the glow behind the stage          */
  --ott-ink: #141414;           /* text on yellow                                          */
}
/* yellow where Netflix would be red or green */
.ott-logo small { color: var(--ott-yellow); }
.nbtn-play { background: var(--ott-yellow); color: var(--ott-ink); }
.nbtn-play:hover { background: var(--ott-yellow-soft); }
.match { color: var(--ott-yellow); }
.meta-chip { background: var(--ott-yellow); color: var(--ott-ink); }
.ott-progress span { background: var(--ott-yellow); }
.ott-pager span.on { background: var(--ott-yellow); }
.row-more:hover, .ott-row-title a:hover { color: var(--ott-yellow); }
.ott-card:focus-visible, .hero-dots button:focus-visible { box-shadow: 0 0 0 3px var(--ott-yellow); }
.hero-dots button.on { background: var(--ott-yellow); }

/* ── the stage ─────────────────────────────────────────────────────────────── */
.billboard.stage { --stage-w: min(72vw, 1180px); --stage-h: calc(var(--stage-w) * .5625); --peek: .86; --stage-gap: 28px;
  --stage-top: calc(var(--nav) + 18px);
  height: calc(var(--stage-top) + var(--stage-h) + 54px); min-height: 0; max-height: none; overflow: hidden;
  background: var(--ott-bg); touch-action: pan-y; user-select: none; }
.billboard.stage::before { content: ''; position: absolute; inset: -30% -10% 0; pointer-events: none;
  background: radial-gradient(55% 60% at 50% 45%, rgba(11,44,196,.62), rgba(11,44,196,0) 72%); }
.stage .hero-slide { top: var(--stage-top); left: 50%; right: auto; bottom: auto; width: var(--stage-w); height: var(--stage-h);
  margin-left: calc(var(--stage-w) / -2); border-radius: var(--r-hero); overflow: hidden; background: #000;
  visibility: hidden; opacity: 0; pointer-events: none;
  transition: transform .7s var(--ease), opacity .5s ease, visibility .5s; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.stage .hero-slide[data-pos="0"] { visibility: visible; opacity: 1; pointer-events: auto; transform: none; z-index: 3; }
.stage .hero-slide[data-pos="-1"], .stage .hero-slide[data-pos="1"] { visibility: visible; opacity: .5; pointer-events: auto; z-index: 2; cursor: pointer; }
.stage .hero-slide[data-pos="-1"] { transform: translateX(calc(-100% - var(--stage-gap))) scale(var(--peek)); }
.stage .hero-slide[data-pos="1"]  { transform: translateX(calc(100% + var(--stage-gap))) scale(var(--peek)); }
.stage .hero-slide[data-pos="-1"]:hover, .stage .hero-slide[data-pos="1"]:hover { opacity: .78; }
/* the peeks are artwork only — the copy belongs to the card in the middle */
.stage .hero-slide:not([data-pos="0"]) .billboard-content, .stage .hero-slide:not([data-pos="0"]) .billboard-side { opacity: 0; transition: opacity .25s; }
.stage .hero-slide .billboard-content, .stage .hero-slide .billboard-side { transition: opacity .4s .25s; }
.stage .billboard-media img { transition: opacity 1s ease; }
.stage .billboard-vignette { background: linear-gradient(180deg, rgba(0,0,0,0) 28%, rgba(0,0,0,.28) 58%, rgba(0,0,0,.84) 100%); }
.stage .billboard-bottom { display: none; }
/* only the centre card ever plays; the generic .playing rule must not blank the peeks */
.stage.playing .billboard-media img { opacity: 1; }
.stage.playing .hero-slide[data-pos="0"] .billboard-media img { opacity: 0; }
.stage.playing .billboard-media .yt { opacity: 0; }
.stage.playing .hero-slide[data-pos="0"] .billboard-media .yt { opacity: 1; }
/* copy inside the card */
.stage .billboard-content { left: 4.5%; right: 4.5%; bottom: 7.5%; width: auto; max-width: 64%; gap: 10px; }
.stage .billboard-title { font-size: calc(var(--step-hero) * .68 * var(--t-scale, 1)); font-weight: 800; letter-spacing: -.035em; max-width: 20ch; }
.stage .billboard-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 58ch; }
.stage .billboard-actions .nbtn { height: 46px; padding: 0 20px; font-weight: 700; }
.stage .billboard-side { top: 4.5%; right: 4.5%; bottom: auto; gap: 10px; }
.billboard-pill { display: inline-flex; align-items: center; height: 30px; padding: 0 13px; border-radius: var(--r-pill);
  background: var(--ott-yellow); color: var(--ott-ink); font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.billboard-pill.live { background: var(--ott-red); color: #fff; }
/* controls sit on the gaps beside the centre card */
.stage .hero-arrow { top: calc(var(--stage-top) + var(--stage-h) / 2); transform: translateY(-50%); opacity: 1; width: 46px; height: 46px;
  background: rgba(20,20,20,.72); border: 1px solid rgba(255,255,255,.18); }
.stage .hero-arrow.left { left: calc(50% - var(--stage-w) / 2 - 23px); }
.stage .hero-arrow.right { right: calc(50% - var(--stage-w) / 2 - 23px); }
.stage .hero-arrow:hover { background: var(--ott-yellow); color: var(--ott-ink); border-color: var(--ott-yellow); }
.stage .hero-dots { bottom: 18px; }
.billboard.stage + .ott-rows { padding-top: 4px; margin-top: 0; }

/* ── Top 10: the numeral is the brand — Bebas Neue, yellow, no outline ────────── */
.ott-rank .rank-num { font-family: var(--font-wordmark); font-weight: 400; color: var(--ott-yellow); -webkit-text-stroke: 0;
  font-size: clamp(96px, 12vw, 210px); line-height: .78; letter-spacing: -.02em; flex-basis: 30%; margin-right: -3%; transform: translateY(6%); }
.ott-rank .rank-num.two { letter-spacing: -.07em; flex-basis: 36%; }

/* ── Events: two staggered rows in one scroller ──────────────────────────────── */
.ott-track.brick { flex-direction: column; gap: var(--card-gap); --brick-w: clamp(150px, 14.6vw, 214px); scroll-snap-type: none; }
.ott-track.brick > .brick-row { flex: none; display: flex; gap: var(--card-gap); width: max-content; scroll-snap-align: none; }
.ott-track.brick > .brick-row.offset { padding-left: calc(var(--brick-w) / 2 + var(--card-gap) / 2); }
.ott-track.brick .ott-tile { flex: 0 0 var(--brick-w); width: var(--brick-w); }
.ott-brick .ott-card-meta { display: none; }
.ott-brick .ott-card-title { padding: 28px 10px 8px; font-size: 13px; }
.ott-brick .ott-card-add { transform: scale(.85); transform-origin: top right; }

@media (max-width: 799px) {
  .billboard.stage { --stage-w: 86vw; --stage-h: calc(var(--stage-w) * 1.08); --peek: .93; --stage-gap: 12px; --stage-top: calc(var(--nav) + 8px);
    height: calc(var(--stage-top) + var(--stage-h) + 48px); }
  .stage .hero-arrow { display: none; }
  .stage .billboard-content { max-width: none; bottom: 6%; gap: 8px; }
  .stage .billboard-title { font-size: clamp(24px, 7.2vw, 34px); }
  .stage .billboard-desc { display: none; }
  .stage .billboard-actions .nbtn { height: 42px; padding: 0 16px; }
  .ott-rank .rank-num { font-size: clamp(72px, 22vw, 110px); }
  .ott-track.brick { --brick-w: 42vw; }
}

/* ── refinements after the first stage review (19 Sep 2026) ─────────────────────
   Yellow as text, not as boxes; Top 10 numerals tucked behind the card; Reels at five
   per screen with nothing under them; event brand tiles; the footer after the reference. */
:root { --card-gap: 12px; }
/* category labels: yellow type, no box */
.meta-chip { background: transparent; color: var(--ott-yellow); padding: 0; height: auto; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; border-radius: 0; }
.meta-chip.live { background: transparent; color: var(--ott-red); }
.ott-card-meta > .meta-chip + span::before { margin-left: 8px; }
.billboard-pill { background: rgba(20,20,20,.55); color: var(--ott-yellow); border: 1px solid rgba(255,221,0,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.billboard-pill.live { background: rgba(229,35,43,.9); color: #fff; border-color: transparent; }
.ott-preview-meta > span:first-child, .ott-modal-meta > span:first-child { color: var(--ott-text-2); }

/* ── Top 10: numeral bottom-aligned with the ART, tucked a little behind it ───────
   A grid, not padding: a percentage padding on a flex item resolves against the TRACK,
   not the item, and 26% of the track was wider than the item — the card collapsed to 0. */
.ott-rank { position: relative; display: grid; grid-template-columns: 26% 1fr; align-items: end; padding: 0; }
.ott-rank .ott-tile { grid-column: 2; position: relative; z-index: 1; min-width: 0; }
.ott-rank .rank-num { grid-column: 1; position: relative; z-index: 0; width: 138%; /* spills under the card's left edge */
  margin: 0 0 30px; /* the meta line's height: bottom-align with the artwork, not the caption */
  transform: none; text-align: right; padding-right: 6%; flex: none;
  font-size: clamp(72px, 10vw, 172px); line-height: .76; letter-spacing: -.02em; }
.ott-rank .rank-num.two { letter-spacing: -.08em; font-size: clamp(62px, 8.8vw, 150px); }
.ott-track.top10 > * { flex-basis: calc((100% - (var(--per-row) - 2) * var(--card-gap)) / (var(--per-row) - 1)); }

/* ── Reels: five to a screen, artwork only ─────────────────────────────────────── */
.ott-track.tall > * { flex-basis: calc((100% - 4 * var(--card-gap)) / 5); }
.ott-track.tall .ott-card-meta, .ott-brick .ott-card-meta { display: none; }
.ott-track.tall .ott-card-title { font-size: 15px; padding: 40px 12px 12px; }

/* ── Events: brand tiles ───────────────────────────────────────────────────────── */
.ev-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--card-gap); padding: 0 var(--ott-gutter); }
.ev-tile { display: grid; gap: 9px; min-width: 0; color: var(--ott-text-2); text-decoration: none; }
.ev-art { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden;
  background: linear-gradient(135deg, var(--ott-royal) 0%, var(--ott-blue) 62%, #0a1e6b 100%);
  border: 1px solid rgba(255,255,255,.06); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.ev-art::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 55% at 80% 0%, rgba(255,255,255,.18), transparent 70%); pointer-events: none; }
.ev-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ev-word { font-family: var(--font-wordmark); color: var(--ott-yellow); line-height: .9; letter-spacing: .01em; text-align: center; padding: 0 8%;
  font-size: clamp(30px, 3.4vw, 58px); overflow-wrap: anywhere; }
.ev-word[data-len="long"] { font-size: clamp(22px, 2.5vw, 42px); }
.ev-word svg { width: 38%; height: 38%; color: var(--ott-yellow); }
.ev-name { font-size: 14px; font-weight: 600; color: var(--ott-text-2); padding: 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-tile:hover .ev-art { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.5); border-color: rgba(255,221,0,.5); }
.ev-tile:hover .ev-name { color: #fff; }
.ev-tile:focus-visible { outline: none; } .ev-tile:focus-visible .ev-art { box-shadow: 0 0 0 3px var(--ott-yellow); }
.ev-more .ev-art { background: var(--ott-surface-2); border: 1px dashed rgba(255,255,255,.2); }
.ev-more .ev-art::after { display: none; }

/* ── the collection page for an event with nothing in it yet ───────────────────── */
.cs-empty.event { gap: 18px; }
.cs-empty-art { width: min(420px, 80vw); aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }
.cs-empty-word { display: grid; place-items: center; width: min(420px, 80vw); aspect-ratio: 4 / 3; border-radius: var(--r-card);
  background: linear-gradient(135deg, var(--ott-royal), var(--ott-blue)); font-family: var(--font-wordmark); font-size: clamp(40px, 6vw, 80px); color: var(--ott-yellow); }
.cs-art img { width: 100%; height: 100%; object-fit: cover; }

/* ── footer, after the reference: a gradient CTA card, four columns, a thin bar ──── */
.ott-footer { display: block; max-width: none; padding: 56px var(--ott-gutter) 28px; color: var(--ott-text-3); font-size: 14px; }
.foot-cta { position: relative; overflow: hidden; border-radius: var(--r-panel); padding: clamp(40px, 5vw, 72px) clamp(24px, 6vw, 96px); text-align: center; color: #fff;
  background: linear-gradient(118deg, var(--ott-royal) 0%, var(--ott-blue) 48%, var(--ott-blue-bright) 74%, #3b8cff 100%); }
.foot-cta::before { content: ''; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,221,0,.55), rgba(255,221,0,0)); filter: blur(10px); pointer-events: none; }
.foot-cta::after { content: ''; position: absolute; inset: auto auto -50% -15%; width: 55%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.22), rgba(255,255,255,0)); pointer-events: none; }
.foot-cta > * { position: relative; }
.foot-cta h2 { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; margin: 0 0 14px; color: #fff; }
.foot-cta p { max-width: 54ch; margin: 0 auto 26px; font-size: clamp(14px, 1.1vw, 16.5px); line-height: 1.5; color: rgba(255,255,255,.86); }
.foot-cta .nbtn { height: 48px; padding: 0 22px; font-weight: 700; }
.foot-cta .nbtn svg { width: 16px; height: 16px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px 40px; padding: 56px 8px 44px; }
.foot-brand p { max-width: 34ch; line-height: 1.55; margin: 14px 0 20px; }
.foot-logo { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.foot-logo .ott-wordmark { font-size: 30px; }
.foot-logo small { font-family: var(--font-body); font-size: 10px; letter-spacing: .18em; color: var(--ott-yellow); margin-top: 3px; font-weight: 700; }
.ott-footer .social { display: flex; gap: 18px; }
.ott-footer .social a { color: var(--ott-text-3); transition: color .2s; }
.ott-footer .social a:hover { color: var(--ott-yellow); }
.ott-footer .social svg { width: 20px; height: 20px; }
.foot-col h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: #fff; margin: 0 0 14px; letter-spacing: -.01em; }
.foot-col a { display: block; color: var(--ott-text-3); text-decoration: none; padding: 5px 0; transition: color .2s; }
.foot-col a:hover { color: var(--ott-yellow); }
.foot-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 18px 20px; border-radius: 14px;
  background: var(--ott-surface); border: 1px solid rgba(255,255,255,.06); font-size: 12.5px; color: var(--ott-text-4); }
.foot-bar nav { display: flex; gap: 22px; }
.foot-bar nav a { color: var(--ott-text-4); text-decoration: none; }
.foot-bar nav a:hover { color: var(--ott-yellow); }

@media (max-width: 1099px) { .ev-grid { grid-template-columns: repeat(4, 1fr); } .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 799px) {
  .ott-track.tall > * { flex-basis: calc((100% - 2 * var(--card-gap)) / 2.6); }
  .ott-rank { grid-template-columns: 24% 1fr; }
  .ott-rank .rank-num { font-size: clamp(64px, 21vw, 104px); }
  .ev-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding: 0 var(--ott-gutter); }
  .ev-grid::-webkit-scrollbar { display: none; }
  .ev-grid > .ev-tile { flex: 0 0 38vw; scroll-snap-align: start; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 4px 32px; }
  .foot-cta { text-align: left; }
  .foot-cta h2 br { display: none; }
  .foot-cta p { margin-left: 0; }
  .foot-bar { flex-direction: column; align-items: flex-start; }
}

/* ── one size system, as the wireframe drew it (19 Sep 2026, second review) ──────
   Standard rows: FOUR cards per screen. Top 10: three, each card the same width as a
   standard card, with the numeral in the space that makes up the difference. Reels: five,
   tall. Events: six small tiles in a scroller. Everything 16:9 except Reels. */
.ott { --per-row: 4; --card-gap: 12px; }
.ott-track.tall > * { flex-basis: calc((100% - 4 * var(--card-gap)) / 5); }
.ott-track.events > * { flex: 0 0 calc((100% - 5 * var(--card-gap)) / 6); scroll-snap-align: start; min-width: 0; }
.ev-grid { display: contents; }                       /* superseded by the scroller */
.ev-art { aspect-ratio: 16 / 9; }
.ev-word { font-size: clamp(24px, 2.5vw, 44px); }
.ev-word[data-len="long"] { font-size: clamp(17px, 1.8vw, 32px); }
.ev-name { font-size: 13px; }
.ott-card-title { font-size: 18px; }

/* Top 10: the numeral owns 30% of the item and spills a little under the card */
/* 25% for the numeral makes the card exactly a standard card's width: 0.75 × (W−2g)/3 ≈ (W−3g)/4 */
.ott-rank { grid-template-columns: 25% 1fr; }
.ott-rank .rank-num { width: 112%; padding-right: 0; font-size: clamp(110px, 15vw, 280px); line-height: .76; }
.ott-rank .rank-num.two { font-size: clamp(96px, 13vw, 240px); letter-spacing: -.09em; }
.ott-rank .ott-card-meta { padding-left: 2px; }

@media (max-width: 1399px) {
  .ott { --per-row: 4; }
  .ott-track.tall > * { flex-basis: calc((100% - 3 * var(--card-gap)) / 4); }
  .ott-track.events > * { flex-basis: calc((100% - 4 * var(--card-gap)) / 5); }
}
@media (max-width: 1099px) {
  .ott { --per-row: 3; }
  .ott-track.tall > * { flex-basis: calc((100% - 2 * var(--card-gap)) / 3); }
  .ott-track.events > * { flex-basis: calc((100% - 3 * var(--card-gap)) / 4); }
  .ott-rank .rank-num { font-size: clamp(90px, 14vw, 200px); }
}
@media (max-width: 799px) {
  .ott { --per-row: 2; }
  .ott-track.top10 > * { flex-basis: 78%; }
  .ott-track.tall > * { flex-basis: calc((100% - 2 * var(--card-gap)) / 2.6); }
  .ott-track.events > * { flex-basis: 44vw; }
  .ott-rank { grid-template-columns: 26% 1fr; }
  .ott-rank .rank-num { font-size: clamp(90px, 30vw, 150px); }
  .ott-card-title { font-size: 15px; }
}

/* ── Top 10 numerals: outlined, and never under the card ────────────────────────
   Third review: the digit was tucking under the card and reading as cut off. Now the
   numeral owns its quarter of the slot outright, and it is drawn as a yellow outline on
   the page colour — the Netflix Top 10 idiom in the brand colour. It fills on hover. */
.ott-rank .rank-num { width: 100%; padding-right: 3%; box-sizing: border-box; overflow: visible;
  color: var(--ott-bg); -webkit-text-stroke: clamp(2px, .26vw, 4px) var(--ott-yellow); paint-order: stroke fill;
  font-size: clamp(100px, 14.5vw, 270px); transition: color .25s ease; }
.ott-rank .rank-num.two { font-size: clamp(76px, 11vw, 205px); letter-spacing: -.06em; }
.ott-rank:hover .rank-num, .ott-rank:focus-within .rank-num { color: var(--ott-yellow); }
@media (max-width: 799px) {
  .ott-rank .rank-num { font-size: clamp(84px, 27vw, 140px); -webkit-text-stroke-width: 2px; }
  .ott-rank .rank-num.two { font-size: clamp(64px, 20vw, 110px); }
}

/* ── phones: nothing may be wider than the screen ────────────────────────────────
   A long unbreakable word (a #hashtag in a title) in the player's top bar was setting the
   page's minimum width, and mobile browsers zoom the whole page out to fit it. Titles in
   that bar are one line with an ellipsis, like every player's. */
.ott-player-top > div { min-width: 0; flex: 1 1 auto; }
.ott-player-top .t, .ott-player-top .s { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ott-player-top .spacer { flex: 0 0 0; }
/* The watch page's "More like this" arrows sit 40px outside their row so they do not
   cover artwork on a wide screen; on anything narrower than the gutter can absorb, that
   put the page's minimum width past the screen. Inside the row there. */
@media (max-width: 1099px) {
  .ott-watch-details .ott-arrow.left { left: 0; }
  .ott-watch-details .ott-arrow.right { right: 0; }
}
/* And a hard stop: nothing inside the catalog shell may widen the page sideways. `clip`,
   not `hidden`, so this creates no scroll container and sticky/fixed children keep working. */
.ott { overflow-x: clip; }

/* ═══════════════════════════════════════════════════════════════════════════
   PHONE EXPERIENCE — the Netflix app's grammar, only below 800px (19 Sep 2026)
   A three-line button opens a full-screen numbered menu (after the reference); quick
   chips sit under the bar; the hero has two equal buttons and its poster opens the
   details sheet; rows show artwork only; the details modal becomes a full-screen sheet
   with full-width buttons, a labelled tool row and a tab strip.
   ═══════════════════════════════════════════════════════════════════════════ */
.ott-burger, .ott-mmenu, .ott-chips-m, .ott-modal-tabs, .ott-modal-tools, .nbtn-round .lbl, .ott-about .mob-only, .ott-modal-none { display: none; }
.nbtn-round .ic { display: contents; }

@media (max-width: 799px) {
  /* ── bar ── */
  .ott-nav-bar { gap: 10px; }
  .ott-burger { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; flex: none; }
  .ott-burger svg { width: 22px; height: 22px; }
  .ott-signin { display: none; }                 /* sign-in lives in the menu on phones */
  .ott-logo { margin-right: auto; }

  /* ── the menu ── */
  .ott-mmenu { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 120; background: #141414;
    padding: 12px 14px calc(18px + env(safe-area-inset-bottom)); overflow-y: auto;
    opacity: 0; transform: translateY(-8px); transition: opacity .25s ease, transform .3s var(--ease); }
  .ott-mmenu[hidden] { display: none; }
  .ott-mmenu.open { opacity: 1; transform: none; }
  .mm-head { display: flex; align-items: center; gap: 10px; padding: 4px 2px 14px; }
  .mm-logo { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 12px; background: #1f1f1f; }
  .mm-logo .ott-wordmark { font-size: 24px; } .mm-logo small { font-size: 9px; letter-spacing: .18em; color: var(--ott-yellow); font-weight: 700; margin-top: 2px; }
  .mm-pill { flex: 1; min-width: 0; display: inline-flex; align-items: center; height: 44px; padding: 0 14px; border-radius: 12px;
    background: var(--ott-yellow); color: var(--ott-ink); font-weight: 800; font-size: 14px; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mm-close { width: 44px; height: 44px; border-radius: 12px; background: #1f1f1f; color: #fff; display: grid; place-items: center; flex: none; }
  .mm-close svg { width: 20px; height: 20px; }
  .mm-card { background: #1c1c1c; border-radius: 18px; padding: 2px 18px 6px; }
  .mm-item { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.09);
    color: #fff; font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.02em; text-align: left; background: none; text-decoration: none; }
  .mm-item > span { display: inline-flex; align-items: center; gap: 8px; }
  .mm-item svg { width: 18px; height: 18px; transition: transform .25s; }
  .mm-group.open > .mm-item svg { transform: rotate(180deg); }
  /* Counters, not typed numbers: a display:none row (no admin, no install offer) is
     skipped automatically, so the list never reads 06, 08. */
  .mm-card { counter-reset: mm; }
  .mm-item { counter-increment: mm; }
  .mm-item i { font-family: var(--font-mono); font-style: normal; font-size: 12px; letter-spacing: .1em; color: var(--ott-yellow); }
  .mm-item i::before { content: counter(mm, decimal-leading-zero); }
  .mm-card > :last-child .mm-item, .mm-card > .mm-item:last-child, .mm-card > .mm-item:not([hidden]):last-of-type { border-bottom: 0; }
  .mm-group.open > .mm-item { border-bottom-color: transparent; }
  .mm-sub { display: grid; gap: 2px; padding: 0 0 14px; border-bottom: 1px solid rgba(255,255,255,.09); }
  .mm-sub[hidden] { display: none; }
  .mm-sub a { padding: 9px 0; font-size: 15.5px; color: var(--ott-text-2); text-decoration: none; }
  .mm-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 6px 0; font-size: 12.5px; color: var(--ott-text-3); }
  .mm-foot a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

  /* ── quick chips under the bar (home) ── */
  .ott-chips-m { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: calc(var(--nav) + 8px) var(--ott-gutter) 4px; }
  .ott-chips-m::-webkit-scrollbar { display: none; }
  .ott-chips-m a { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 14px; border-radius: var(--r-pill);
    border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: 13.5px; font-weight: 600; text-decoration: none; }
  .ott-chips-m a svg { width: 14px; height: 14px; }
  .ott-chips-m + .billboard.stage { --stage-top: 10px; }

  /* ── hero: two equal buttons; the poster opens details ── */
  .stage .billboard-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .stage .billboard-actions .nbtn { width: 100%; justify-content: center; }
  .stage .billboard-actions .nbtn-round { display: none; }
  .stage .billboard-content { max-width: none; left: 5%; right: 5%; }
  .stage .hero-slide[data-pos="0"] .billboard-media { cursor: pointer; }

  /* ── rows: artwork only ── */
  .ott-card-meta { display: none; }

  /* ── details sheet ── */
  .ott-modal-backdrop { padding: 0; background: #141414; }
  .ott-modal { width: 100%; min-height: 100%; border-radius: 0; box-shadow: none; animation: none; }
  .ott-modal-hero { aspect-ratio: auto; overflow: visible; background: var(--ott-surface); }
  .ott-modal-hero > img, .ott-modal-hero.portrait img { position: relative; z-index: 0; display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
  .ott-modal-hero .yt { top: 0; left: 0; width: 100%; height: auto; aspect-ratio: 16 / 9; transform: none; }
  .ott-modal-hero .hero-back, .ott-modal-hero::after { display: none; }
  .ott-modal-close { top: 12px; right: 12px; background: rgba(0,0,0,.6); }
  .ott-modal-hero-content { position: static; padding: 14px 16px 0; gap: 12px; }
  .ott-modal-hero-content h2 { font-size: 22px; max-width: none; text-shadow: none; }
  .ott-modal-hero.portrait .ott-modal-hero-content h2 { font-size: 22px; }
  .ott-modal-actions { display: grid; gap: 8px; }
  .ott-modal-actions .spacer, .ott-modal-actions [data-act="mute"] { display: none; }
  .ott-modal-actions .nbtn-play { width: 100%; height: 46px; justify-content: center; border-radius: 6px; font-size: 15px; }
  .ott-modal-actions .nbtn-round[data-act="list"] { width: 100%; height: 46px; border-radius: 6px; background: rgba(109,109,110,.42); border: 0;
    display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 15px; color: #fff; }
  .ott-modal-actions .nbtn-round .lbl { display: inline; }
  .ott-modal-body { padding: 12px 16px 40px; gap: 18px; }
  .ott-modal-grid { gap: 12px; }
  .ott-modal-side { display: none; }             /* its lines sit under the Details tab instead */
  .ott-modal-meta { margin-bottom: 8px; font-size: 14px; }
  .ott-modal-desc { font-size: 14.5px; }
  .ott-modal-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px 0 0; }
  .ott-modal-tools > * { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border: 0; background: none; color: var(--ott-text-2);
    font-size: 11.5px; font-weight: 600; text-align: center; text-decoration: none; }
  .ott-modal-tools .ic { display: grid; place-items: center; width: 28px; height: 28px; }
  .ott-modal-tools svg { width: 24px; height: 24px; }
  .ott-modal-tools .on { color: var(--ott-yellow); }
  .ott-modal-tabs { display: flex; gap: 22px; border-top: 1px solid rgba(255,255,255,.12); }
  .ott-modal-tabs button { position: relative; padding: 14px 0 12px; border: 0; background: none; font-size: 15.5px; font-weight: 700; color: var(--ott-text-3); }
  .ott-modal-tabs button.on { color: #fff; }
  .ott-modal-tabs button.on::before { content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 3px; background: var(--ott-yellow); }
  .ott-modal[data-tab="more"] [data-pane="details"], .ott-modal[data-tab="details"] [data-pane="more"] { display: none; }
  .ott-modal h3 { font-size: 17px; margin-bottom: 12px; }
  .ott-modal [data-pane="more"] > h3 { display: none; }   /* the tab already names it */
  .ott-about .mob-only { display: block; }
  .ott-more-grid, .ott-more-grid.portrait { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ott-modal-none { display: block; color: var(--ott-text-3); font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   REELS FEED — one reel per screen, snap-scrolled, the on-screen one playing (19 Sep 2026)
   ═══════════════════════════════════════════════════════════════════════════ */
.reel-feed { position: relative; height: 100dvh; overflow-y: auto; overflow-x: hidden; scroll-snap-type: y mandatory;
  scrollbar-width: none; background: #000; outline: none; overscroll-behavior: contain; }
.reel-feed::-webkit-scrollbar { display: none; }
.reel { position: relative; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; overflow: hidden; background: #000; }
.reel-back-art { position: absolute; inset: -10%; background-size: cover; background-position: center; filter: blur(44px) brightness(.32); transform: scale(1.1); }
.reel-stage { position: relative; height: 100%; width: min(100%, 56.25dvh); background: #000; overflow: hidden; }
.reel-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s ease; }
.reel-player { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
/* the frame is scaled a little past the stage so YouTube's title bar and watermark sit outside it */
.reel-player > div, .reel-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; transform: scale(1.14); }
.reel.playing .reel-player { opacity: 1; }
.reel.playing .reel-poster { opacity: 0; }
.reel-tap { position: absolute; inset: 0; z-index: 2; cursor: pointer; }
.reel-paused { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; pointer-events: none; color: #fff; }
.reel-paused[hidden] { display: none; }
.reel-paused svg { width: 76px; height: 76px; filter: drop-shadow(0 6px 24px rgba(0,0,0,.7)); }
.reel-stage::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.72)); }
.reel-copy { position: absolute; left: 16px; right: 84px; bottom: max(26px, calc(env(safe-area-inset-bottom) + 14px)); z-index: 4;
  color: #fff; display: grid; gap: 6px; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.reel-k { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ott-text-2); }
.reel-copy h2 { font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: -.015em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.reel-copy p { font-size: 13px; color: var(--ott-text-2); }
.reel-rail { position: absolute; right: 10px; bottom: max(26px, calc(env(safe-area-inset-bottom) + 14px)); z-index: 4; display: grid; gap: 16px; justify-items: center; }
.reel-rail button { display: grid; justify-items: center; gap: 4px; padding: 0; border: 0; background: none; color: #fff; font-size: 11px; font-weight: 600; text-shadow: 0 2px 10px rgba(0,0,0,.7); }
.reel-rail .ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.38);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s, transform .15s; }
.reel-rail button:active .ic { transform: scale(.92); }
.reel-rail svg { width: 24px; height: 24px; }
.reel-rail .on .ic { background: var(--ott-yellow); color: var(--ott-ink); }
.reel-back { position: fixed; top: max(14px, env(safe-area-inset-top)); left: 14px; z-index: 10; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(0,0,0,.45); color: #fff; display: grid; place-items: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.reel-back svg { width: 26px; height: 26px; }
.reel-kicker { position: fixed; top: max(24px, calc(env(safe-area-inset-top) + 10px)); left: 66px; z-index: 10; color: #fff; font-weight: 700; font-size: 17px; letter-spacing: -.01em; text-shadow: 0 2px 10px rgba(0,0,0,.7); }
.reel-empty { height: 100dvh; display: grid; place-items: center; text-align: center; color: var(--ott-text-3); padding: 0 24px; }
.reel-empty h1 { font-size: 22px; color: #fff; margin: 12px 0 6px; }
.reel-empty svg { width: 40px; height: 40px; }
@media (min-width: 800px) {
  .reel { padding: 0; }
  .reel-stage { height: calc(100dvh - 32px); width: min(100%, calc((100dvh - 32px) * 9 / 16)); border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
  .reel-copy h2 { font-size: 20px; }
  .reel-rail { right: 14px; bottom: 22px; }   /* inside the column: the stage clips, so outside it would vanish */
  .reel-rail .ic { background: rgba(255,255,255,.1); }
}
@media (max-width: 799px) and (hover: none) {
  .reel-stage { width: 100%; }               /* a phone: the reel fills the screen edge to edge */
}

/* ── player bar: buttons only ───────────────────────────────────────────────────
   YouTube's own player already writes the title across the top of the video on hover;
   ours did too, one line above it, so a moving mouse produced two title bars. The bar now
   carries just the back arrow and the list button, on their own discs, with no gradient. */
.ott-player-top { background: none; padding: 14px 18px; justify-content: space-between; }
.ott-player-top .spacer { flex: 1 1 auto; }
.ott-player-top .back, .ott-player-top .nbtn-round { background: rgba(0,0,0,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ott-player-top .back:hover { background: rgba(0,0,0,.7); }

/* ── descriptions fold like YouTube's ───────────────────────────────────────────
   Three lines, then "…more"; links and chapter timestamps are live. */
.desc-wrap .ott-modal-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.desc-wrap.open .ott-modal-desc { display: block; -webkit-line-clamp: unset; overflow: visible; }
.desc-more { margin-top: 8px; padding: 0; border: 0; background: none; color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.desc-more:hover { color: var(--ott-yellow); }
.ott-modal-desc a { color: var(--ott-yellow); text-decoration: none; overflow-wrap: anywhere; }
.ott-modal-desc a:hover { text-decoration: underline; }
.ott-modal-desc .ts { padding: 0; border: 0; background: none; font: inherit; color: var(--ott-yellow); font-weight: 600; cursor: pointer; }
.ott-modal-desc .ts:hover { text-decoration: underline; }

/* ── reels: no YouTube chrome, an X to leave ────────────────────────────────────── */
.reel-player > div, .reel-player iframe { transform: scale(1.24); }   /* YouTube's title/channel bar (top ~8%) and watermark (bottom) sit outside the frame */
.reel-stage::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 18%; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.6), rgba(0,0,0,0)); }
.reel-paused { z-index: 5; }                                            /* above the still when paused */
.reel-back svg { width: 22px; height: 22px; }

/* ── phone footer: the blue card and the credits, nothing else, clear of the tab bar ── */
@media (max-width: 799px) {
  .foot-grid { display: none; }
  .foot-cta { margin-bottom: 14px; }
  .ott-footer { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}

/* ── bar at tablet widths: drop the two plain links first, never a menu ────────────
   The base rules hid children by position; with five links that hid "Pages" itself. */
@media (max-width: 1099px) {
  .ott-links > a:nth-child(n+5):not([hidden]) { display: inline-flex; }
  .ott-links > a[data-nav="/ott/new"][data-nav], .ott-links > a[data-nav="/ott/category/podcasts"][data-nav] { display: none; }
}
@media (max-width: 899px) {
  .ott-links > a:nth-child(n+3):not([hidden]), .ott-links > .nav-drop:nth-child(n+3) { display: inline-flex; }
  .ott-links > a[data-nav="/ott/new"][data-nav], .ott-links > a[data-nav="/ott/category/podcasts"][data-nav] { display: none; }
}

/* ── the stage melts into the rows ─────────────────────────────────────────────────
   The blue glow behind the hero card was clipped flat at the section's bottom edge, so
   the page jumped from a blue-black to the plain background where "Top 10" begins. A fade
   to the page colour inside the section, under the cards, makes the two one surface. */
.billboard.stage::before { inset: -30% -10% 18%; }
.billboard.stage::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,20,20,0) 0%, rgba(20,20,20,.55) 45%, var(--ott-bg) 100%); }
.billboard.stage + .ott-rows { position: relative; }
.billboard.stage + .ott-rows::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 80px; pointer-events: none;
  background: linear-gradient(180deg, var(--ott-bg), rgba(20,20,20,0)); }

/* ── "Install app" ─────────────────────────────────────────────────────────────── */
.mm-install { color: var(--ott-yellow); }
.mm-install[hidden] { display: none; }
.foot-install { margin: 16px 0 4px; }
.foot-install[hidden] { display: none; }
.foot-install svg { width: 16px; height: 16px; }
