/* RiyaOS Web. Tokens = Polish.kt (via design/webui-20261110/_build/gen.py); desktop sizes from the 1440x900 mockups,
   phone from the 390x844 ones. */
/* M4: the Latin subset (woff2, 190 KB) for nearly every page; the full TTF only loads for a character outside it */
@font-face { font-family: Inter; src: url(/web/fonts/inter-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-024F, U+0300-036F, U+1E00-1EFF, U+2000-206F, U+20AC, U+2100-215F, U+2190-21FF, U+2212, U+2215, U+2600-26FF, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; src: url(/web/fonts/inter.ttf) format("truetype"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0250-02FF, U+0370-1DFF, U+1F00-1FFF, U+20A0-20AB, U+20AD-20FF, U+2160-218F, U+2200-2211, U+2213-2214, U+2216-25FF, U+2700-FEFE, U+FF00-FFFC; }
:root {
  --base: #0B0B0F; --raised: #14141A; --ph: #1C1C22; --t2: rgba(255,255,255,.80); --t3: rgba(255,255,255,.70);
  --fill: rgba(255,255,255,.15); --fillS: rgba(255,255,255,.25); --subtle: rgba(255,255,255,.08);
  --gold: #E5A00D; --live: #E53935; --warn: #E0A030; --slate: #2E3A52;
  --pad: 64px; --ring: 3px solid #fff;
  /* the safe areas (a notch, the Duo's 84 px side camera strip, the home bar); --tabh = the phone tab bar's height */
  --sat: env(safe-area-inset-top, 0px); --sar: env(safe-area-inset-right, 0px); --sab: env(safe-area-inset-bottom, 0px); --sal: env(safe-area-inset-left, 0px);
  --tabh: 56px; --sat0: var(--sat);   /* the real top inset, for a layer that covers a compact layout whole (half-fold) */
  /* ---- design tokens (design/unify-20261116): one name for each value the app's own families already share. Rules
     below refer to these; a new feature reuses them instead of inventing a near-twin (owner: "consistent").
     colour: Lagoon (the house colour) and its light / ink tints, the sheet colour, the gold of numbers, the badge red */
  --lagoon: #1DC2D0; --lagoon-lt: #7FE3EC; --lagoon-ink: #00262C; --sheet: #062833; --gold-tx: #F2C14E; --danger: #E5484D;
  /* type, as font shorthands: page name (D-2), row heading, a quiet card's heading + line (D-5), a sheet's title,
     buttons, toasts, captions */
  --type-page: 650 26px/32px Inter; --type-row: 650 19px/24px Inter; --type-card-h: 650 18px/24px Inter; --type-card-b: 400 15px/21px Inter;
  --type-sheet-t: 650 19px/24px Inter; --type-btn: 600 15px/1 Inter; --type-toast: 600 14.5px/20px Inter; --type-cap: 400 13px/18px Inter;
  /* corners: pills, posters / tiles, the small marks on a poster, cards / grouped rows, sheets */
  --r-pill: 999px; --r-poster: 10px; --r-badge: 8px; --r-card: 16px; --r-sheet: 26px;
  /* sizes: buttons (inline / a full-width main), icons in a round button and in a list row, the round mark on a poster */
  --btn-h: 44px; --btn-h-lg: 50px; --ic-btn: 20px; --ic-row: 22px; --mark: 24px; --mark-in: 7px;
  /* the families: fills (grouped rows / quiet card, chip, grey pill), the row separator, the veil under a sheet, a
     sheet's / floating card's shadow, its grab handle, the toast */
  --fill-card: rgba(255,255,255,.06); --fill-chip: rgba(255,255,255,.08); --fill-pill: rgba(255,255,255,.13); --sep: rgba(255,255,255,.10);
  --veil: rgba(0,6,10,.62); --sheet-shadow: 0 -10px 50px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08);
  --card-shadow: 0 20px 60px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08); --grab: rgba(255,255,255,.3);
  --toast-bg: rgba(28,28,34,.96); --toast-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 10px 30px rgba(0,0,0,.4);
}
/* static controls never sit under a side cutout: the page is padded off it (art and scrolling rows may run under) */
#app, #detail { padding-left: var(--sal); padding-right: var(--sar); }
#detail { display: none; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--base); color-scheme: dark; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }   /* (no text inflation on a sideways iPhone) */
/* touch (iOS WebKit): no grey tap flash, no double-tap zoom on repeated taps (the +-10 s buttons), no link preview on a held poster */
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { -webkit-touch-callout: none; }
body { background: var(--base); font-family: Inter, system-ui, sans-serif; color: #fff; min-height: 100vh; position: relative;
  font-feature-settings: 'cv11' 1, 'tnum' 1; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
:focus { outline: none; }
.cover { background-size: cover; background-position: center; background-color: var(--ph); }
.sep { color: rgba(255,255,255,.45); padding: 0 .3em; }
.sep.brk { visibility: hidden; }                              /* the line wraps here: no dangling dot (ui.js: tidySeps) */
.mp { white-space: nowrap; }                                  /* a meta part never splits (ui.js joinKeep) */
.t2 { color: var(--t2); }
.ell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clamp3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ic { flex: none; display: block; }
.title { font: 600 28px/34px Inter; letter-spacing: -.6px; }
.headline { font: 600 22px/28px Inter; letter-spacing: -.35px; }
.body { font: 400 15px/22px Inter; }
.label { font: 500 14px/18px Inter; }
.cap { font: var(--type-cap); color: var(--t3); }
.eyebrow { font: 500 13px/18px Inter; color: var(--t3); }
.imdb { display: inline-block; font: 700 11px/1 Inter; border: 1.5px solid rgba(255,255,255,.85); border-radius: 4px; padding: 2px 4px; margin-right: 6px; vertical-align: 1px; }
.rowh .cnt { font: 400 13px/18px Inter; color: var(--t3); margin-left: 10px; }
.loading { height: 3px; width: 160px; margin: 120px auto; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); background-size: 200% 100%; animation: ld 1.1s linear infinite; }
@keyframes ld { from { background-position: 100% 0 } to { background-position: -100% 0 } }
.hint { padding: 40px var(--pad); }
.empty { padding: 160px var(--pad); }
.empty-btns { display: flex; gap: 10px; margin-top: 22px; }

/* ---------- focus: the white ring, keyboard only (:focus-visible) */
.tile:focus-visible, .pt:focus-visible .poster, .ep:focus-visible .tile, .epl:focus-visible .tile, .dcard:focus-visible,
.part:focus-visible .poster, .topm .p-art:focus-visible, .plate:focus-visible, .person:focus-visible .face {
  outline: var(--ring); outline-offset: 3px; box-shadow: 0 14px 40px rgba(0,0,0,.55); }
.tile:focus-visible, .pt:focus-visible .poster, .ep:focus-visible .tile, .part:focus-visible .poster { transform: scale(1.045); z-index: 3; }
.btn:focus-visible, .chip:focus-visible, .stab:focus-visible, .nav .tab:focus-visible { outline: var(--ring); outline-offset: 3px; }
.field:focus-within { outline: 2px solid #fff; outline-offset: 2px; }
.tile, .poster, .dcard, .face { transition: transform .16s ease, box-shadow .16s ease; }
.face.fadein { position: relative; }                       /* a face arriving: the placeholder fades off it (ui.js: loadBg) */
.face.fadein::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--ph); transition: opacity .12s; pointer-events: none; }
.face.fadein.in::after { opacity: 0; }
@media (hover: hover) { .pt:hover .poster, .tile:hover, .ep:hover .tile { transform: scale(1.025); } }

/* ---------- nav (desktop) */
.nav { position: absolute; left: 0; right: 0; top: 0; height: 76px; display: flex; align-items: center; padding: 0 calc(48px + var(--sar)) 0 calc(48px + var(--sal)); z-index: 20;
  text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.nav .ng { display: flex; align-items: center; }
.nav .tab { font: 500 16px/1 Inter; color: rgba(255,255,255,.78); padding: 14px 16px; border-radius: 999px; display: flex; gap: 8px; align-items: center; }
@media (hover: hover) { .nav .tab:hover { color: #fff; } }
.nav .tab.cur { color: #fff; font-weight: 650; }
.nav .sp { flex: 1; }
.nav .ring { position: absolute; left: -5px; top: -5px; }
.nav .wx { font: 500 16px/1 Inter; display: flex; align-items: center; gap: 6px; margin-left: 14px; }
.nav .clock { font: 600 16px/1 Inter; margin-left: 18px; min-width: 64px; }
.nav .clock small { font-size: 12px; font-weight: 600; margin-left: 3px; color: var(--t2); }

/* ---------- buttons, chips */
.btn { display: inline-flex; align-items: center; gap: 10px; height: var(--btn-h); padding: 0 22px; border-radius: var(--r-pill); font: var(--type-btn);
  background: var(--fill); color: #fff; white-space: nowrap; flex: none; }
@media (hover: hover) { .btn:hover { background: var(--fillS); } }
.btn.w { background: #fff; color: #0B0B0F; }
.btn.round { width: 44px; padding: 0; justify-content: center; }
.btn.glass { background: rgba(11,11,15,.45); }
/* a round button over a picture (Back on title / collection / request pages, Downloads on Home): a light frosted fill, so it
   shows on dark art as well as light (it vanished on a dark picture; design review 11-14). Same as the hero's info button. */
.btn.round.glass { background: rgba(255,255,255,.15); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.chip { position: relative; font: 500 14px/1 Inter; padding: 9px 16px; border-radius: var(--r-pill); background: var(--fill-chip); color: var(--t2); white-space: nowrap; flex: none; }
.chip.cur { background: #3A3A42; color: #fff; font-weight: 600; }
/* touch targets: the look stays, the hit area is 44 px */
.chip::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }
.chip.big::after { display: none; }

/* ---------- tiles */
.tile { position: relative; border-radius: var(--r-poster); overflow: hidden; flex: none; display: block; }
.tile .sheen { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.tile .tt { position: absolute; left: 12px; right: 12px; bottom: 13px; }
.tile .tt .t { font: 600 16px/22px Inter; letter-spacing: -.1px; }
.tile .tt .s { font: 400 13px/18px Inter; color: var(--t2); }
/* D-10: one watch-progress line everywhere (the TV's approved 10-25 spec): 3 px, white 85% on a 20% track */
.bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.20); }
.bar i { display: block; height: 3px; background: rgba(255,255,255,.85); }
.pt { flex: none; display: block; }
.poster { border-radius: var(--r-poster); overflow: hidden; position: relative; width: 100%; aspect-ratio: 2/3; }
.poster.dim, .pt.dim { opacity: .72; }
.pt .pl { font: 500 14px/18px Inter; margin-top: 8px; }
.pt .pc { font: 400 13px/18px Inter; color: var(--t3); }
.disc { position: absolute; top: var(--mark-in); right: var(--mark-in); width: var(--mark); height: var(--mark); border-radius: 50%; background: rgba(11,11,15,.72); display: flex; align-items: center; justify-content: center; }
.disc.on { background: #fff; color: #0B0B0F; }
.disc .b { stroke-width: 2.4; }
.hrow { display: flex; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; scroll-padding-inline: var(--pad);
  padding: 10px var(--pad) 12px; margin: -10px 0 -12px; }
.hrow::-webkit-scrollbar { display: none; }
.sec > .rowh { padding: 0 var(--pad); }

/* ---------- hero (Home, library tabs) */
.hero, .lib-hero { position: relative; }
.h-art { position: absolute; }
.h-side, .h-fade, .h-top { position: absolute; pointer-events: none; }
.logo { display: block; filter: drop-shadow(0 2px 6px rgba(0,0,0,.45)); object-fit: contain; object-position: left center; }
.logo-text { font: 700 52px/1.05 Inter; letter-spacing: -1.4px; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.h-meta { font: 500 15px/20px Inter; color: var(--t2); }
.h-sum { font: 400 15px/22px Inter; color: var(--t2); max-height: 66px; overflow: hidden; }   /* M6: the short summary; a long one stops at a line, never "…" */
.h-btns { display: flex; align-items: center; gap: 12px; }
.h-btns .cap { margin-left: 6px; }
.faces { display: flex; align-items: center; margin-top: 22px; }
.faces .face { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255,255,255,.62); flex: none; }
.faces .face + .face { margin-left: -10px; }
.faces .names { font: 500 14px/19px Inter; color: var(--t2); margin-left: 14px; }

/* Home desktop: the TV's layout. Hero fixed at the top, rows below in their own scroller (focused row on the first line). */
.home.dt { position: relative; height: 100vh; min-height: 640px; overflow: hidden; }
.home.dt .hero { position: absolute; inset: 0; }
.home.dt .h-art { left: 300px; top: 0; right: 0; height: min(642px, 71.3vh); background-position: center 30%; }
.home.dt .h-side { inset: 0; background: linear-gradient(90deg, #0B0B0F 0, #0B0B0F 22%, rgba(11,11,15,.82) 38%, rgba(11,11,15,.25) 62%, transparent 80%); }
.home.dt .h-fade { left: 0; right: 0; top: calc(min(642px, 71.3vh) - 282px); height: 290px; background: linear-gradient(transparent, #0B0B0F 92%); }
.h-top { left: 0; right: 0; top: 0; height: 140px; background: linear-gradient(rgba(11,11,15,.55), transparent); }
.home.dt .h-body { position: absolute; left: var(--pad); top: 112px; width: 560px; }
.home.dt .logo { max-width: 400px; max-height: 118px; }
.home.dt .h-meta { margin-top: 22px; }
.home.dt .h-sum { margin-top: 12px; width: 520px; max-height: 44px; }
.home.dt .h-btns { margin-top: 20px; }
.home.dt .hrows { position: absolute; left: 0; right: 0; top: max(520px, calc(100vh - 334px)); bottom: 0; overflow-y: auto; scrollbar-width: none;
  padding-bottom: 50vh; }
.home.dt .hrows::-webkit-scrollbar { display: none; }
.home.dt .hsec { transition: opacity .2s; }
.home.dt .hsec:not(.cur) { opacity: .85; }
.home.dt .hsec > .rowh { padding: 0 var(--pad); }

/* ---------- title page */
.title-pg { position: relative; padding-bottom: 80px; }
.title-pg .t-art { position: absolute; }
.title-pg .t-side, .title-pg .t-fade { position: absolute; pointer-events: none; }
.title-pg.dt { padding-top: 104px; }
.title-pg.dt .t-art { left: 380px; right: 0; top: 0; height: 600px; background-position: center 35%; }
.title-pg.dt .t-side { left: 0; right: 0; top: 0; height: 620px; background: linear-gradient(90deg, #0B0B0F 0, #0B0B0F 28%, rgba(11,11,15,.78) 42%, rgba(11,11,15,.2) 66%, transparent 82%); }
.title-pg.dt .t-fade { left: 0; right: 0; top: 330px; height: 280px; background: linear-gradient(transparent, #0B0B0F 90%); }
.title-pg .h-top { position: absolute; }
.title-pg.dt .t-head { position: relative; margin-left: var(--pad); width: 640px; min-height: 290px; }
.title-pg.dt .logo { max-width: 330px; max-height: 96px; }
.title-pg.dt .h-meta { margin-top: 20px; }
.title-pg.dt .h-sum { margin-top: 12px; width: 560px; }
.title-pg.dt .h-btns { margin-top: 20px; }
.s-line { position: relative; display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-right: var(--pad); }
.s-line .seasons { flex: 1; gap: 34px; padding-top: 6px; padding-bottom: 6px; margin: 0; }
.stab { font: 500 16px/1 Inter; color: rgba(255,255,255,.62); padding: 6px 0; border-radius: 6px; flex: none; }
.stab.cur { color: #fff; font-weight: 600; }
.eprow { position: relative; gap: 18px; margin-top: 14px; }
.ep { flex: none; width: 300px; display: block; }
.ep .tile { width: 300px; height: 169px; }
.et { font: 600 15px/22px Inter; margin-top: 10px; }
.et .n { color: var(--t3); font-weight: 500; margin-right: 7px; }
.ep .cap { margin-top: 2px; }
.castrow { gap: 12px; padding-left: 58px; }
.person { flex: none; width: 104px; text-align: center; border-radius: 10px; }
.person .face { width: 84px; height: 84px; margin: 0 auto; border-radius: 50%; }
.person .pn { font: 500 13px/18px Inter; margin-top: 9px; }
.person .pr { font: 400 12px/16px Inter; color: var(--t3); }
.title-pg .sec { position: relative; }
.title-pg.col .t-head .title { font-size: 40px; line-height: 46px; }
.title-pg.col .h-meta { margin-top: 14px; }
.colgrid { position: relative; margin-top: 30px; }

/* ---------- library tabs */
.lib-pg.dt .lib-hero { height: 460px; }
.lib-pg.dt .h-art { left: 300px; right: 0; top: 0; height: 520px; background-position: center 30%; }
.lib-pg.dt .h-side { left: 0; right: 0; top: 0; height: 520px; background: linear-gradient(90deg, #0B0B0F 0, #0B0B0F 22%, rgba(11,11,15,.82) 38%, rgba(11,11,15,.25) 62%, transparent 80%); }
.lib-pg.dt .h-fade { left: 0; right: 0; top: 260px; height: 262px; background: linear-gradient(transparent, #0B0B0F 92%); }
.lib-pg.dt .h-body { position: absolute; left: var(--pad); top: 112px; width: 560px; }
.lib-pg.dt .logo { max-width: 380px; max-height: 110px; }
.lib-pg.dt .h-meta { margin-top: 20px; } .lib-pg.dt .h-sum { margin-top: 10px; max-height: 44px; } .lib-pg.dt .h-btns { margin-top: 18px; }
.lib-bar { position: relative; display: flex; gap: 8px; align-items: center; padding: 6px var(--pad); margin: 2px 0 16px; }
.lib-bar .cap { margin-left: 12px; }
.grid { position: relative; display: grid; padding: 0 var(--pad) 80px; }
.grid .pt { width: auto; }
.lib-pg.dt { padding-top: 0; }

/* ---------- search */
.search-pg { position: relative; min-height: 100vh; padding-bottom: 80px; }
.s-glow { position: absolute; left: 0; right: 0; top: 0; height: 420px; pointer-events: none; transition: background .4s; }
.search-pg.dt { padding-top: 96px; }
.s-bar { position: relative; display: flex; align-items: center; gap: 24px; padding: 0 var(--pad); flex-wrap: wrap; row-gap: 14px; }   /* (wraps instead of forcing the page wider than a ~1100 px window: an iPad turned upright stayed in the desktop layout, zoomed out) */
.field { width: 560px; max-width: 100%; height: 54px; border-radius: 999px; background: var(--raised); display: flex; align-items: center; gap: 12px; padding: 0 20px; color: var(--t3); flex: none; }
.field input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; font: 600 22px/1 Inter; color: #fff; letter-spacing: -.3px; caret-color: #fff; }
.field input::placeholder { color: rgba(255,255,255,.4); font-weight: 500; }
.field input::-webkit-search-cancel-button { display: none; }
.chips { display: flex; gap: 8px; }
.topm { position: relative; display: flex; margin: 28px var(--pad) 0; height: 238px; border-radius: 16px; }
.topm .p-art { width: 424px; height: 238px; flex: none; border-radius: 16px 0 0 16px; -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent); mask-image: linear-gradient(90deg, #000 72%, transparent); display: block; }
.topm .p-art:focus-visible { -webkit-mask-image: none; mask-image: none; border-radius: 16px; }
.topm .p-body { flex: 1; min-width: 0; padding: 26px 28px 24px 18px; display: flex; gap: 30px; }
.topm .p-text { flex: 1; min-width: 0; }
.topm .title { margin-top: 6px; }
.topm .label { margin-top: 8px; }
.topm .body { margin-top: 10px; font-size: 14px; line-height: 20px; }
.p-parts { display: flex; gap: 12px; }
.part { flex: none; display: block; }
.part .poster { width: 100%; }
.part .pl { font: 500 12.5px/16px Inter; margin-top: 6px; }
.part .pc { font: 400 11.5px/15px Inter; color: var(--t3); display: flex; align-items: center; gap: 4px; }
.search-pg .sec, .search-pg .split { position: relative; }
.search-pg.dt .split { margin-top: 30px; padding-top: 10px; gap: 0; }
.split .grp { flex: none; }
.split .grp .its { display: flex; gap: 16px; }
.split .vline { flex: none; width: 1px; background: rgba(255,255,255,.10); margin: 34px 24px 50px; }

/* ---------- downloads */
.dl-pg { position: relative; min-height: 100vh; padding-bottom: 80px; }
.dl-glow { position: absolute; left: 0; right: 0; top: 0; height: 520px; pointer-events: none; background: radial-gradient(900px 400px at 20% 0, #2a1a0c, transparent); }
.dl-pg.dt { padding-top: 100px; }
.dl-head { position: relative; padding: 0 var(--pad); }
.dl-head .label { margin-top: 6px; font-weight: 400; }
.dgrid { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(560px, 1fr)); gap: 16px; padding: 0 var(--pad); margin-top: 30px; }
.dcard { height: 176px; border-radius: var(--r-card); overflow: hidden; display: flex; position: relative; }
.dcard .d-veil { position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(0,0,0,.34)); }
.dcard .d-post { width: 117px; height: 100%; flex: none; position: relative; }
.dcard .d-body { flex: 1; min-width: 0; padding: 16px 18px 14px; display: flex; flex-direction: column; position: relative; }
.chip-st { font: 500 12.5px/1 Inter; margin-bottom: 6px; display: flex; align-items: center; }
.chip-st .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; }
.chip-st .dot.ring { border: 1.5px solid #fff; width: 7px; height: 7px; }
.d-t { font: 600 19px/1.15 Inter; letter-spacing: -.3px; }
.d-s { font: 400 12.5px/16px Inter; color: var(--t2); margin-top: 4px; }
.d-s2 { font: 500 12.5px/16px Inter; }
.flex1 { flex: 1; }
.d-fig { display: flex; justify-content: space-between; align-items: flex-end; }
.d-fig .pct { font: 700 26px/1 Inter; letter-spacing: -.6px; }
.d-fig .right { font: 600 13px/1 Inter; margin-left: auto; }
.foot { font: 400 12.5px/1 Inter; color: var(--t2); margin-top: 8px; }
.foot.sp { height: 12.5px; }
.wait .foot { font-size: 13px; }

/* ---------- placeholders (player / request hooks) */
.stub { position: relative; min-height: 100vh; }
.stub-veil { position: absolute; inset: 0; background: linear-gradient(90deg, #0B0B0F 20%, rgba(11,11,15,.6)); }
.stub-body { position: relative; padding: 180px var(--pad) 0; }
.stub .logo { max-width: 400px; max-height: 118px; }

/* ================= phone (mockups at 390 wide) ================= */
body.phone { --pad: 20px; padding-bottom: calc(var(--tabh) + var(--sab)); }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; height: calc(var(--tabh) + var(--sab)); background: rgba(16,16,21,.94);
  border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-around; padding: 9px calc(6px + var(--sar)) var(--sab) calc(6px + var(--sal)); z-index: 30;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.tabbar .it { display: flex; flex-direction: column; align-items: center; gap: 4px; font: 500 10.5px/1 Inter; color: rgba(255,255,255,.55); flex: 0 1 68px; min-width: 0; white-space: nowrap; }
.tabbar .it.cur { color: #fff; font-weight: 600; }
.phone .ph-top { position: absolute; left: 20px; right: 20px; top: calc(8px + var(--sat)); display: flex; justify-content: space-between; align-items: center;
  z-index: 5; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.phone .ph-top .wx { font: 500 15px/1 Inter; display: flex; gap: 6px; align-items: center; }
.phone .ph-top .btn.round { width: 38px; height: 38px; position: relative; }
.phone .ph-top .btn.round::after, .backbtn::after { content: ""; position: absolute; inset: -4px; } .backbtn { z-index: 2; }
.home.ph, .lib-pg.ph { position: relative; }
.phone .ph-title { font: 600 24px/1 Inter; letter-spacing: -.4px; }
.phone .hrow { padding-top: 8px; padding-bottom: 8px; margin: -8px 0; scroll-padding-inline: 20px; }
/* home phone */
.home.ph .hero { height: 470px; }
.home.ph .h-art { left: 0; top: 0; width: 100%; height: 470px; background-position: 62% center; }
.home.ph .h-top { height: 140px; background: linear-gradient(rgba(11,11,15,.6), transparent); }
.home.ph .h-fade { left: 0; right: 0; top: 170px; height: 302px; background: linear-gradient(transparent, color-mix(in srgb, var(--pg) 70%, transparent) 45%, var(--pg) 96%); }
.home.ph .h-body { position: absolute; left: 24px; right: 24px; top: 262px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.home.ph .logo { max-width: 250px; max-height: 78px; object-position: center; }
.home.ph .logo-text { font-size: 34px; }
.home.ph .h-meta { margin-top: 12px; font: 400 12.5px/18px Inter; }
.home.ph .h-btns { margin-top: 14px; justify-content: center; gap: 10px; }
.home.ph .h-btns .btn.w { padding: 0 26px; }
.home.ph .h-cap { margin-top: 9px; font-size: 12px; }
.home.ph .hrows { margin-top: 20px; }
.home.ph .hsec > .rowh { padding: 0 20px; }
/* title phone */
.title-pg.ph .t-art { left: 0; top: 0; width: 100%; height: 300px; background-position: 68% center; }
.title-pg.ph .t-fade { left: 0; right: 0; top: 120px; height: 182px; background: linear-gradient(transparent, var(--pg) 94%); }
.title-pg.ph .backbtn { position: absolute; left: 16px; top: calc(6px + var(--sat)); width: 38px; height: 38px; z-index: 4; }
.title-pg.ph .t-head { position: relative; padding: 216px 20px 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.title-pg.ph .logo { max-width: 200px; max-height: 58px; object-position: center; }
.title-pg.ph .logo-text { font-size: 30px; }
.title-pg.ph .t-head .cap { margin-top: 6px; font-size: 12.5px; }
.title-pg.ph .t-head .cap:first-of-type { margin-top: 10px; }
.t-btns { position: relative; display: flex; gap: 10px; padding: 0 20px; margin-top: 18px; }
.t-btns .btn.w { flex: 1; justify-content: center; }
.t-capt { text-align: center; font-size: 12px; margin-top: 8px; }
.t-sum { padding: 0 20px; margin-top: 12px; font-size: 14px; line-height: 20px; }
.title-pg.ph .t-main { position: relative; }
.title-pg.ph .seasons { gap: 24px; margin-top: 15px; padding-top: 0; padding-bottom: 0; }
.title-pg.ph .stab { font-size: 15px; padding: 15px 0; }
.title-pg.ph .seasons + .eplist { margin-top: 11px; }
.eplist { padding: 0 20px; margin-top: 14px; }
.epl { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; border-radius: 10px; }
.epl .tile { width: 128px; height: 72px; }
.epl .bar, .epl .bar i { height: 3px; }
.epl-t { min-width: 0; flex: 1; }
.epl .et { font: 600 14px/19px Inter; margin-top: 0; }
.epl .et .n { margin-right: 5px; }
.epl .cap { font-size: 12px; display: flex; align-items: center; gap: 6px; }
.epl .chk { color: #fff; }
.epl .es { font: 400 12px/16px Inter; color: var(--t3); margin-top: 2px; }
.title-pg.col.ph .t-head { text-align: left; align-items: flex-start; }
/* library phone */
.lib-pg.ph { padding-top: 0; }
.lib-pg.ph .lib-hero { height: 400px; }
.lib-pg.ph .h-art { left: 0; top: 0; width: 100%; height: 400px; }
/* the hero's room is kept while it loads, so the grid under it doesn't jump when it arrives */
.lib-pg.ph #lh:empty { min-height: 400px; } .short .lib-pg.ph #lh:empty { min-height: 300px; } .compact .lib-pg.ph #lh:empty { min-height: 150px; }
.lib-pg.ph .h-top { height: 140px; background: linear-gradient(rgba(11,11,15,.6), transparent); }
.lib-pg.ph .h-fade { left: 0; right: 0; top: 140px; height: 262px; background: linear-gradient(transparent, color-mix(in srgb, var(--pg) 70%, transparent) 45%, var(--pg) 96%); }
.lib-pg.ph .h-body { position: absolute; left: 24px; right: 24px; top: 236px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lib-pg.ph .logo { max-width: 230px; max-height: 70px; object-position: center; }
.lib-pg.ph .h-meta { margin-top: 10px; font: 400 12.5px/18px Inter; }
.lib-pg.ph .h-btns { margin-top: 12px; }
.lib-pg.ph .h-btns { justify-content: center; } .lib-pg.ph .h-cap { margin-top: 9px; font-size: 12px; }
body:not(.short):not(.compact) .lib-pg.ph .lib-hero:has(.h-cap) { height: 426px; }   /* (room for the time-left line under the buttons; it sat on the sort chips, QA Q-2) */
.lib-bar { overflow-x: auto; scrollbar-width: none; }
.phone .lib-bar { margin: -2px 0 10px; }
.phone .lib-bar #cnt { display: none; }
.ph-title .cnt { font: 500 15px/1 Inter; color: rgba(255,255,255,.62); margin-left: 9px; letter-spacing: 0; }
/* Search's chip row stops at the page edge beside a side strip (the system's clock lives up there): it fades out instead of being cut */
body.rail-r .search-pg.ph .chips:not(.at-end) { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.phone .grid .pt { width: auto; }                              /* a grid poster fills its column (it was a fixed 112 px in a ~104 px column wherever a side strip narrows the page) */
/* search phone */
.search-pg.ph { padding-top: calc(10px + var(--sat)); }
.search-pg.ph .s-bar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 14px; padding: 0 var(--gut, 20px); }
.search-pg.ph .field { width: 100%; height: 46px; }
.search-pg.ph .field input { font-size: 18px; }
.search-pg.ph .chips { overflow-x: auto; scrollbar-width: none; margin: -8px calc(-1 * var(--gut, 20px)) -8px 0; padding: 8px 0; }
/* (Search's chips are the library's chips: same height and type; they were 3 px shorter) */
.search-pg .hint + .hint { padding-top: 0; margin-top: -22px; }
/* Downloads with nothing downloading: one quiet card saying so (then "Recently finished") */
.dl-idle { position: relative; margin: 18px var(--rp, var(--pad)) 0; padding: 22px 20px; border-radius: 16px; background: rgba(255,255,255,.06); }
.dl-idle .headline { font-size: 18px; color: #fff; } .dl-idle .cap { margin-top: 6px; color: var(--t2); }
/* loading placeholders (ui.js: SKEL_GRID / SKEL_ROWS): still blocks in the shape of what is coming */
.pt.sk .poster, .sk-l, .sk-h, .tile.land.sk { background: var(--ph); }
.pt.sk .sk-l { height: 12px; width: 70%; border-radius: 4px; margin-top: 10px; }
.hsec.sk .sk-h { display: inline-block; width: 170px; height: 1em; border-radius: 5px; vertical-align: middle; }   /* (inside the real row heading, so the row sits where the real one will) */
.hsec.sk .hrow { overflow: hidden; }
.tile.land.sk { flex: none; border-radius: 10px; }
.search-pg .chips.genres { overflow-x: auto; scrollbar-width: none; padding: 2px var(--rp, var(--pad)) 2px; margin: 0; } .search-pg .chips.genres::-webkit-scrollbar { display: none; }
.search-pg .chips.genres .chip { flex: none; }
.topm.ph { display: block; height: auto; margin: 18px 16px 0; background: none; }
.topm.ph .p-art { width: 100%; height: clamp(150px, 26vw, 250px); border-radius: 0; }      /* the picture spans the card on any width (it was a fixed 424 px), capped so it never swallows the screen */
.plate { display: block; border-radius: 16px; overflow: hidden; }
.plate .p-art { height: 150px; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.plate .p-body { padding: 2px 16px 16px; margin-top: -26px; position: relative; display: flex; gap: 12px; align-items: flex-end; }
.plate .p-text { flex: 1; min-width: 0; }
.plate .eyebrow { font-size: 12px; }
.plate .headline { margin-top: 3px; font-size: 20px; }
.plate .cap { font-size: 12.5px; margin-top: 2px; }
.plate .p-mini { display: flex; gap: 6px; }
.plate .p-mini .poster { width: 44px; height: 66px; border-radius: 6px; }
.search-pg.ph .sec > .rowh, .search-pg.ph .hint { padding-left: var(--gut, 20px); }
/* downloads phone */
.dl-pg.ph { padding-top: calc(8px + var(--sat)); }
.dl-pg.ph .backbtn { position: relative; margin-left: var(--gut, 20px); width: 38px; height: 38px; display: flex; }
.dl-pg.ph .dl-head { padding: 12px var(--gut, 20px) 0; }
.dl-pg.ph .dl-head .label { font-size: 13.5px; margin-top: 4px; }
.dl-pg.ph .dl-head .title { font-size: 24px; line-height: 30px; letter-spacing: -.4px; }   /* one phone page-title size: the library's (it was 28 here, 26 on Live) */
.phone .dgrid { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 12px; padding: 0 var(--gut, 20px); margin-top: 22px; }
.phone .dcard { height: 136px; }
.phone .dcard .d-post { width: 91px; }
.phone .dcard .d-body { padding: 14px 15px 12px; }
.phone .d-t { font-size: 16.5px; }
.phone .d-s, .phone .chip-st, .phone .foot { font-size: 11px; }
.phone .d-fig .pct { font-size: 22.5px; } .phone .d-fig .right { font-size: 11.5px; }
.phone .wait .dcard { height: 96px; }
.phone .wait .dcard .d-post { width: 64px; }
.phone .stub-body { padding: 120px 20px 0; }

/* ================= player (design/webui-player-20261110) ================= */
body.playing #chrome { display: none; }
body.playing { overflow: hidden; padding-bottom: 0 !important; }
/* --cl / --cr: where a control may start beside a side cutout (the Duo's 84 px camera strip); the video runs under it */
.player, .lp { --cl: calc(var(--sal) + 12px); --cr: calc(var(--sar) + 12px); }
.player { position: fixed; inset: 0; background: #000; overflow: hidden; z-index: 40; --acc: #7FC3CC; --wash: 60,120,130; -webkit-user-select: none; user-select: none; }
.player .p-load { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.player .pv { position: absolute; inset: 0; background: #000; }
.player video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
/* (owner 11-15: upright, the picture box is a fraction of a pixel tall and Safari rounds the video a row short, so a row
   of the title art showed under it: the video runs 2 px past the box, which clips it) */
   /* (in the app the box clips: overflow hidden, below) */

/* (owner 11-16, the same seam again on the phone: WebKit draws the composited video layer, clipped by the box's rounded
   corners, a fraction of a pixel short of the box, and the title art painted on the box showed as a grainy line on
   the panel's top edge. The box stays exactly 16:9 (the taller video no longer stretches it past where the panel
   starts: min-height), and its bottom 3 px paint black over the art, so whatever row the layer leaves is black on
   black: a crisp edge. design/player-redesign-20261116/tools/seam-test.js) */

.pd { position: relative; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; color: #fff; width: 46px; height: 46px; }
.pd.dsm { background: rgba(255,255,255,.10); }
@media (hover: hover) { .pd.dsm:hover { background: rgba(255,255,255,.2); } }
.pd.dpl { width: 64px; height: 64px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 2.5px #fff; }
.pd.s-subs.on { background: var(--acc); }
.pd:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.kc { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 5px;
  background: rgba(255,255,255,.12); box-shadow: inset 0 -1px 0 rgba(255,255,255,.08); font: 600 11px/1 Inter; color: rgba(255,255,255,.86); margin-right: 6px; }
.tnum { font-variant-numeric: tabular-nums; }

.chbar { position: relative; flex: 1; display: flex; gap: 3px; align-items: center; height: 18px; cursor: pointer; touch-action: none; }
.chbar .seg { position: relative; flex: 1 1 0; min-width: 1px; height: 5px; border-radius: 5px; background: rgba(255,255,255,.26); overflow: hidden; }
.chbar .seg i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; }
.chbar .seg .b { background: rgba(255,255,255,.42); }
.chbar .seg .f { background: var(--acc); }
.chbar .knob { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.5); opacity: 0; transition: opacity .15s; }
@media (hover: hover) { .chbar:hover .knob { opacity: 1; } }

#vol { -webkit-appearance: none; appearance: none; width: 92px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #fff var(--v, 100%), rgba(255,255,255,.28) var(--v, 100%)); outline: none; }
#vol::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
#vol::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 0; }
.pkeys2 { display: flex; gap: 18px; font: 500 12px/1 Inter; color: rgba(255,255,255,.72); }

.pkeys2 span { display: flex; align-items: center; }

.subline { position: absolute; left: 0; right: 0; bottom: 330px; text-align: center; pointer-events: none; padding: 0 max(8%, var(--cr)) 0 max(8%, var(--cl)); transition: bottom .25s;
  font: 600 var(--subpx, 30px)/1.25 Inter; color: #fff; text-shadow: 0 0 3px #000, 0 2px 8px rgba(0,0,0,.8); }
.subline span { display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .25em; }
.subline[data-style=yellow] { color: #FFE14D; }
.subline[data-style=boxed] span { background: rgba(0,0,0,.85); text-shadow: none; border-radius: 4px; }
.subline[data-style=translucent] span { background: rgba(0,0,0,.5); text-shadow: none; border-radius: 4px; }
.player:not(.ui) .subline { bottom: 70px; }
.player:not(.ui) .subline.raised, .subline.raised { bottom: 150px; }
.player.ui .subline.raised { bottom: 380px; }
.ptip { position: absolute; transform: translate(-50%, -100%); white-space: nowrap; padding: 9px 13px; border-radius: 12px; background: rgba(28,28,34,.96);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12); font: 600 14px/1 Inter; display: flex; align-items: center; gap: 8px; opacity: 0; pointer-events: none; transition: opacity .12s; z-index: 6; }
.ptip.on { opacity: 1; }
.ptip .v { font-weight: 400; color: var(--t2); }
.ptip .kc { margin: 0 0 0 4px; }
.toastp { position: absolute; left: 50%; top: 32px; transform: translateX(-50%); padding: 11px 18px; border-radius: 999px; background: rgba(28,28,34,.94);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12); font: 600 14px/1 Inter; opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 8; }
.toastp.on { opacity: 1; }
.player .sndchip { position: absolute; left: 50%; transform: translateX(-50%); top: calc(14px + var(--sat)); z-index: 6; background: rgba(28,28,34,.94); color: #fff; height: 38px; font-weight: 600; }
/* "Skip intro": the same pill, only while Plex's intro marker runs. Sideways / mouse: bottom right, above the scrub bar
   (subtitles are centred and stay clear of it); upright: the picture's top-right corner (Back is top-left, the
   full-screen button bottom-right, subtitles along the bottom). */
.player .skipintro { position: absolute; z-index: 6; right: max(56px, var(--cr)); bottom: 150px; height: 38px; padding: 0 18px; background: rgba(28,28,34,.94); color: #fff; font-weight: 600; }

.player.upnext .skipintro, .player.panel-open .skipintro { display: none; }
   /* under the top bar (title left, buttons right), whatever the title's length */
/* controls hidden while playing */

.player:not(.ui) { cursor: none; }
/* upright, the Back button never fades: the controls under the picture are always there, and so is the way out
   (product review 11-14). */

/* Next episode on a phone: a pill under the two pills upright; a round button in the top bar sideways */

    /* (sideways only: upright and the half-fold have their own Episodes) */
/* the sideways Episodes panel: the season's rows, a still beside each, the one playing marked (player.js, sub "eps") */
.panel .pep { gap: 12px; } .panel .pep .th { flex: none; width: 96px; height: 54px; border-radius: 8px; background-color: #1C1C22; }
.panel .pep .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .panel .pep-wait { padding: 12px 14px; color: rgba(255,255,255,.6); }
/* upright full screen (player.js: upFull): the full-screen overlay on an upright phone; its own way back in the top bar */

   /* (the mouse layout's side panel only: upright, this squeezed the line into a 32 px column) */
/* the panel */
.panelwrap { position: absolute; inset: 0; display: none; z-index: 5; }
.panelwrap.open { display: block; }
.panel { position: absolute; right: calc(24px + var(--sar)); top: 24px; bottom: 24px; width: 452px; border-radius: 24px; padding: 24px 14px 18px; display: flex; flex-direction: column;
  background: rgba(24,24,30,.94); box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 24px 60px rgba(0,0,0,.5); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.panel .ph { display: flex; justify-content: space-between; align-items: flex-start; padding: 0 14px; }
.panel .ph-l { display: flex; gap: 10px; align-items: flex-start; }
.panel .pback { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1); margin-top: 0; }
.panel .pht { font: 650 26px/32px Inter; letter-spacing: -.5px; }
.panel .phs { font: 400 14px/20px Inter; color: var(--t3); margin-top: 3px; }
.panel .pclose { width: 38px; height: 38px; }
.panel .pscroll { flex: 1; overflow-y: auto; scrollbar-width: none; margin-top: 4px; padding-bottom: var(--sab); }   /* (clear of the home indicator, QA C8) */
.panel .pscroll[data-row] { display: flex; flex-direction: column; }
.panel .eb { font: 500 13px/18px Inter; color: var(--t3); padding: 0 14px; margin: 14px 0 4px; }
.panel .segs { display: flex; gap: 8px; padding: 2px 14px 6px; flex-wrap: wrap; }
.panel .seg { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 17px; border-radius: 999px; font: 600 14.5px/1 Inter; background: rgba(255,255,255,.10); }
.panel .seg.on { background: #fff; color: #0B0B0F; }
.panel .seg.off { opacity: .4; cursor: default; }
.panel .col { display: flex; flex-direction: column; gap: 2px; }
.prow { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 14px; text-align: left; width: 100%; }
@media (hover: hover) { .prow:hover { background: rgba(255,255,255,.06); } }
.prow.sel { background: rgba(255,255,255,.07); }
.prow:focus-visible { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); outline: none; }
.prow .ic { width: 24px; color: rgba(255,255,255,.86); flex: none; display: flex; }
.prow .tx { display: flex; flex-direction: column; min-width: 0; }
.prow .nm { font: 600 16px/20px Inter; }
.prow .dt { font: 400 13px/17px Inter; color: var(--t3); margin-top: 2px; }
.prow .vl { margin-left: auto; font: 500 15px/1 Inter; color: var(--t2); display: flex; align-items: center; gap: 4px; white-space: nowrap; padding-left: 10px; }
.panel .seg:focus-visible, .panel .pback:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.pkeys2 { padding: 10px 14px 0; opacity: .7; }
/* a touch-only device in the mouse layout (an iPad): no keyboard legend, and no volume slider (iOS ignores video.volume; the
   hardware buttons are the volume). An iPad with a trackpad reports hover and keeps both. */
@media (hover: none) and (pointer: coarse) { .pkeys2, .lp .pkeys, .lp .vol #vol { display: none; } }
/* Up Next */
.upn-fade { position: absolute; right: 0; bottom: 140px; width: 820px; height: 330px; background: radial-gradient(60% 70% at 100% 70%, rgba(10,10,14,.82), rgba(10,10,14,0) 100%); pointer-events: none; }
.upn-c { position: absolute; right: max(56px, var(--cr)); bottom: 256px; display: flex; gap: 22px; align-items: flex-start; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.ring-tile { position: relative; flex: none; width: 256px; height: 144px; }
.ring-tile .still { position: absolute; inset: 0; border-radius: 12px; }
.ringsvg { position: absolute; left: -3px; top: -3px; overflow: visible; }
.ringsvg rect { fill: none; stroke-width: 3; }
.ringsvg .r0 { stroke: rgba(255,255,255,.22); }
.ringsvg .r1 { stroke: #fff; stroke-linecap: round; }
.upn-t { width: 280px; }
.upn-t .eyebrow { color: var(--t2); }
.upn-t .upn-in { display: none; }
.upn-t .ut { font: 650 21px/26px Inter; letter-spacing: -.3px; margin-top: 4px; }
.upn-t .us { font: 400 14px/19px Inter; color: var(--t2); margin-top: 4px; }
.upn-t .usum { display: none; }
.upn-t .ub { display: flex; gap: 10px; margin-top: 14px; }
.upn-t .btn { height: 40px; padding: 0 18px; font-size: 14px; text-shadow: none; }
.player .stub { position: absolute; inset: 0; }

/* phone, sideways (844 x 390): full bleed; tap = big centre controls */

/* a squarer sideways screen (an unfolded foldable, 951 x 669): filling it would crop a third of a 16:9 picture, so show it whole */

/* sideways, the same line as upright (owner 11-16, "Solid disc"): 5 px Lagoon on a dim track, one piece end to end, a
   white knob that grows while held; a 44 px touch band around the line (the bar's own box is 18 px) */

/* the time bubble over the held knob (player.js placeBub; upright in the app and sideways) */
.player .scrubbub { display: none; position: absolute; z-index: 50; transform: translate(-50%, -100%); padding: 6px 10px 7px; border-radius: 9px; background: #fff; color: #0B0B0F;
  font: 700 17px/1 Inter; font-variant-numeric: tabular-nums; text-align: center; white-space: nowrap; box-shadow: 0 6px 20px rgba(0,0,0,.45); pointer-events: none; text-shadow: none; }
.player .scrubbub.on { display: block; }
.player .scrubbub small { display: block; margin-top: 3px; font: 600 11px/1.2 Inter; color: rgba(0,0,0,.6); }
.player .scrubbub::after { content: ""; position: absolute; left: calc(50% + var(--ax, 0px)); bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: #fff; }
   /* (--subk: the Size setting, Medium = 1; it used to do nothing here) */

/* Unfolded and sideways (a tall full-screen player, 600+ px): the title's logo on the overlay, where the Shield player
   has it: bottom left, above the scrub bar, with the episode line under it (user 11-14: "keep it on folded, add to
   unfolded full screen"). A title with no logo art shows its name there. The folded sideways player (457 tall) keeps
   the plain title in the top bar. Subtitles sit above the block while the controls are up. */

/* phone, upright (390 x 844): a mini player with the details under it */

   /* (52: clear of the full-screen button in the picture's corner, the same on both sides) */
/* Large / Extra large need the picture's full width, so they sit above that button instead of beside it */

/* a squarer upright screen (the foldable: 457 x 678 folded, 669 x 951 unfolded) has no room under the picture for the
   full-width still: its buttons sat below the screen edge (QA 11-14). There the card is compact: a small still beside
   the title, the countdown in words, buttons always on screen. A tall phone keeps the card above. */

/* ================= request (04-request) ================= */
.title-pg.req .rq-title { font: 700 54px/60px Inter; letter-spacing: -1.4px; margin-top: 6px; }
.title-pg.req.dt { padding-top: 118px; }
.title-pg.req.dt .h-meta { margin-top: 16px; }
.title-pg.req.dt .h-sum { width: 520px; }
.title-pg.req.dt .h-btns { margin-top: 22px; }
.title-pg.req.dt .t-head { min-height: 380px; }
.chip.big { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(255,255,255,.14); font: 600 15px/1 Inter; flex: none; }
.ring { display: inline-block; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.8px #fff; flex: none; }
.rq-dl { position: relative; padding: 0 var(--pad); }
.rq-dl > .rowh { padding: 0; }
.rq-dl { display: grid; grid-template-columns: 560px 300px; column-gap: 24px; }
.rq-dl > .rowh { grid-column: 1 / -1; }
.rq-card .dcard { height: 150px; }
.rq-card .dcard .d-post { width: 100px; }
.rq-note { line-height: 19px; padding-top: 16px; }
.sheetwrap { display: none; position: fixed; inset: 0; z-index: 30; }
.sheetwrap.open { display: block; }
.sheet-veil { position: absolute; inset: 0; background: rgba(5,5,8,.62); }
.rq-sheet { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); width: 500px; border-radius: 24px; overflow: hidden; display: flex;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 24px 60px rgba(0,0,0,.5); }
.rq-body { flex: 1; padding: 22px 22px 18px; min-width: 0; }
.rq-sheet .cap.t2 { margin-top: 3px; color: var(--t2); }
.stats { display: flex; gap: 8px; }
.stat { flex: 1; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.07); }
.stat .k { font: 500 12px/1 Inter; color: var(--t3); } .stat .v { font: 600 18px/1 Inter; margin-top: 8px; letter-spacing: -.2px; }
.rq-gos { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.rq-go { display: block; width: 100%; text-align: left; border-radius: 16px; background: rgba(255,255,255,.1); padding: 13px 16px; }
.rq-go.main { background: #fff; color: #0B0B0F; }
.rq-go .gt { font: 650 16px/20px Inter; } .rq-go .gl { font: 400 13px/17px Inter; opacity: .68; }
.rq-go:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.rq-go:disabled { opacity: .6; }
.rq-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.rq-cancel { font: 500 13.5px/1 Inter; color: var(--t2); display: flex; align-items: center; }
.rq-cancel:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 6px; }
.rq-foot .cap { font-size: 12.5px; }
.rq-toast { position: fixed; left: 50%; top: 92px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 2px 20px; border-radius: var(--r-pill);
  background: var(--toast-bg); box-shadow: var(--toast-shadow); font: var(--type-toast); opacity: 0; transition: opacity .25s;
  pointer-events: none; z-index: 35; white-space: nowrap; }
.rq-toast.on { opacity: 1; }
.rq-toast .t2 { font-weight: 400; }
.title-pg.req.ph .t-head { padding-top: 226px; }
.title-pg.req.ph .eyebrow { font-size: 12px; }
.title-pg.req.ph .rq-title { font: 700 32px/38px Inter; letter-spacing: -.8px; margin-top: 2px; }
.title-pg.req.ph .h-meta { font: 400 12.5px/18px Inter; margin-top: 6px; }
.title-pg.req.ph .t-head .cap { margin-top: 4px; }
.title-pg.req.ph .t-btns .chip.big { justify-content: center; font-size: 14.5px; }
.title-pg.req.ph .t-btns .btn.w { flex: 1; justify-content: center; }
.title-pg.req.ph .t-btns > .rq-why { margin-right: auto; text-align: left; }   /* "You already have it": left in every shape, like the text above it (unfolded centred it) */
.title-pg.req.ph .rq-dl { display: block; padding: 0 20px; margin-top: 30px; }
.title-pg.req.ph .rq-card .dcard { height: 94px; }
.title-pg.req.ph .rq-card .dcard .d-post { width: 62px; }
.phone .rq-sheet { left: var(--sal); right: var(--sar); top: auto; bottom: 0; transform: none; width: auto; border-radius: var(--r-sheet) var(--r-sheet) 0 0; display: block; padding: 10px 18px calc(24px + var(--sab)); }
.phone .rq-sheet .grab { width: 38px; height: 5px; border-radius: 3px; background: var(--grab); margin: 0 auto 16px; }
.phone .rq-sheet .cap.t2 { font-size: 12.5px; }
.phone .rq-go { text-align: center; }
.phone .rq-foot { justify-content: center; }

/* ================= Live TV, ANTENNA ONLY (design/webui-livetv-20261110, user-approved 11-10) =================
   lay-desk = 1440 x 900 (01-live / 01-guide desktop); lay-two = an unfolded foldable (669 x 819 portrait, 951 x 537 / 620
   landscape): list + details; lay-one = folded (373 x 580) / a phone. The layout follows the window, never a fold API. */
.tabbar.six { padding-left: calc(2px + var(--sal)); padding-right: calc(2px + var(--sar)); } .tabbar.six .it { flex-basis: 60px; }
.nav .tab .ic { margin-right: -2px; }
.live { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 6px; background: var(--live); font: 700 11.5px/1 Inter;
  letter-spacing: .6px; color: #fff; flex: none; vertical-align: middle; }
.live:before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.live.sm { height: 17px; font-size: 10px; padding: 0 6px; margin-right: 7px; gap: 5px; vertical-align: 1px; }
.live.sm:before, .live.gl:before { width: 5px; height: 5px; }
.live.gl { height: 17px; font-size: 10px; padding: 0 6px; margin-right: 7px; gap: 5px; vertical-align: 1px; }
.lg { display: flex; align-items: center; justify-content: center; flex: none; border-radius: 10px; background: #1b1b22; overflow: hidden; color: #fff; font-weight: 700; }
.lg img { width: 86%; height: 86%; object-fit: contain; }
.lg.dk { background: #202028; border-radius: 8px; } .lg.glass { background: rgba(11,11,15,.78); border-radius: 8px; } .lg.clear { background: transparent; }
.lbar { height: 3px; border-radius: 2px; background: rgba(255,255,255,.20); overflow: hidden; margin-top: 7px; }   /* (D-10; Live rows stay white, red only where a game is live) */
.lbar i { display: block; height: 3px; background: rgba(255,255,255,.85); border-radius: 2px; }
.chipf { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 15px; border-radius: 999px; background: rgba(255,255,255,.10);
  font: 600 14px/1 Inter; white-space: nowrap; flex: none; color: #fff; }
.chipf.on { background: #fff; color: #0B0B0F; } @media (hover: hover) { .chipf.w:hover { background: #fff; color: #0B0B0F; } }
.chipf:focus-visible, .segc a:focus-visible, .cell:focus-visible, .cr:focus-visible, .gr:focus-visible, .mc:focus-visible, .lt:focus-visible .tile,
.pc-card:focus-visible, .dt-art:focus-visible { outline: var(--ring); outline-offset: 2px; }
.segc { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.08); flex: none; }
.segc a { height: 34px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; font: 600 14px/1 Inter; color: var(--t2); }
.segc a.on { background: rgba(255,255,255,.18); color: #fff; }
.scl { display: flex; align-items: center; }
.score { font: 700 20px/1 Inter; letter-spacing: -.3px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.scl .dash { color: rgba(255,255,255,.4); font-weight: 500; }
.sc { color: #fff; font-weight: 600; }
.bs { font: 600 16px/22px Inter; letter-spacing: -.1px; }
.headline.sm { font-size: 19px; }
.lv { position: relative; min-height: 100vh; }
.lv .lv-top { display: flex; align-items: center; gap: 16px; }
.lv .lv-top .sp { flex: 1; }
.lv .chipsr { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.lv .chipsr::-webkit-scrollbar { display: none; }

/* --- desk: On now */
.lv.lay-desk.v-now { height: 100vh; min-height: 820px; overflow: hidden; }
.lv-hero { position: relative; height: 470px; }
.lv-hero .h-art { left: 420px; right: 0; top: 0; height: 470px; background-position: center 30%; }
.lv-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #0B0B0F 30%, rgba(11,11,15,.82) 46%, rgba(11,11,15,.15) 75%, rgba(11,11,15,.35)),
  linear-gradient(0deg, #0B0B0F 0%, rgba(11,11,15,0) 32%); }
.lv-hb { position: absolute; left: 56px; top: 118px; width: 760px; }
.lv-eb { display: flex; align-items: center; gap: 10px; } .lv-eb .eyebrow { color: var(--t2); font-size: 15px; }
.lv-t { font: 600 40px/46px Inter; letter-spacing: -1px; margin-top: 16px; }
.lv-score { margin-top: 18px; display: flex; align-items: center; gap: 18px; }
.lv-score .clk { font: 600 16px/1 Inter; color: var(--t2); margin-left: 6px; }
.lv-sub { margin-top: 12px; font: 500 17px/22px Inter; color: var(--t2); }
.lv-ch { margin-top: 20px; display: flex; align-items: center; gap: 12px; } .lv-ch .label { font-size: 15px; }
.lv-hb .h-btns { margin-top: 26px; }
.lv-sec { position: relative; margin-top: 30px; }
.lv-hero + .lv-sec { margin-top: 30px; }
.lv-h { display: flex; align-items: baseline; gap: 14px; margin: 0 0 14px 56px; }
.lv-sec .hrow { padding-left: 56px; padding-right: 56px; scroll-padding-inline: 56px; }
.lt { flex: none; width: 256px; display: block; }
.lt .tile { width: 256px; height: 144px; }
.lt .tile .sheen { height: 70%; }
.lt-tag { position: absolute; left: 10px; top: 10px; display: flex; gap: 8px; align-items: center; }
.lt .tt .t { font: 600 16px/22px Inter; }
.lt-cap { display: flex; justify-content: space-between; margin-top: 9px; font: 500 13px/1 Inter; color: var(--t3); white-space: nowrap; }
.lt-cap span:first-child { overflow: hidden; text-overflow: ellipsis; } .lt-cap b { color: #fff; font-weight: 600; }
.mc { flex: none; width: 256px; height: 68px; border-radius: 12px; background: var(--raised); display: flex; align-items: center; gap: 12px; padding: 0 12px; }
.mc-b { min-width: 0; flex: 1; } .mc .cap { font-size: 12.5px; } .mc .lbar { margin-top: 6px; }

/* --- desk / two / one: Guide */
.lv.v-guide { padding: 96px 56px 0; }
.lv.v-guide .lv-top.g .chipsr { flex: none; }
.ginfo { margin-top: 24px; height: 92px; border-radius: 16px; background: var(--raised); display: flex; align-items: center; gap: 18px; padding: 0 18px 0 12px; overflow: hidden; }
.ginfo:empty { display: none; }
.gi-art { width: 120px; height: 68px; border-radius: 9px; flex: none; }
.gi-b { flex: 1; min-width: 0; } .gi-b .cap { margin-top: 4px; } .gi-ep { font-weight: 400; color: var(--t2); }
.ginfo .btn { height: 42px; }
.gwrap { position: relative; margin: 22px -56px 0 0; overflow: auto; scrollbar-width: none; overscroll-behavior: contain; }
.gwrap::-webkit-scrollbar { display: none; }
.gin { position: relative; padding-bottom: 40px; }
.gruler { position: sticky; top: 0; z-index: 6; height: 30px; background: var(--base); }
.gruler .tick { position: absolute; top: 2px; font: 600 13px/1 Inter; color: var(--t3); border-left: 1px solid rgba(255,255,255,.14); padding-left: 8px; height: 16px; white-space: nowrap; }
.gruler .ntag { position: absolute; top: 4px; width: 56px; height: 20px; border-radius: 6px; background: var(--live); font: 700 11px/20px Inter; text-align: center; z-index: 2; }
.nline { position: absolute; top: 30px; bottom: 40px; width: 2px; background: var(--live); z-index: 4; pointer-events: none; }
.grow { position: relative; }
.gch { position: sticky; left: 0; z-index: 5; width: calc(var(--chw) - 10px); height: calc(100% - 8px); top: 4px; margin-top: 4px; border-radius: 10px; background: var(--raised);
  display: flex; align-items: center; gap: 10px; padding: 0 10px; box-shadow: -60px 0 0 var(--base), 10px 0 0 var(--base); }
.gch b { font: 700 14px/1 Inter; } .gch .cap { font-size: 12px; margin-top: 4px; }
.gch .lg { height: calc(100% - 14px); }
.gch.cmp { width: calc(var(--chw) - 8px); flex-direction: column; justify-content: center; gap: 3px; padding: 0; }
.gch.cmp b { font: 700 11.5px/1 Inter; color: var(--t2); }
.cell { position: absolute; top: 4px; bottom: 4px; border-radius: 10px; background: #16161c; padding: 10px 12px; overflow: hidden; text-align: left;
  display: flex; flex-direction: column; justify-content: flex-start; }
.cell.now { background: #202029; }
.cell .fill { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(255,255,255,.05); }
.cell .a { position: relative; font: 600 14px/18px Inter; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.cell .b { position: relative; font: 400 12.5px/16px Inter; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; display: block; }
.cell.game { background: linear-gradient(90deg, rgba(229,57,53,.30), rgba(229,57,53,.10)); box-shadow: inset 3px 0 0 var(--live); }
.cell.selc { outline: 2.5px solid #fff; outline-offset: -1px; }
@media (hover: hover) { .cell:hover { background: #26262f; } .cell.game:hover { background: linear-gradient(90deg, rgba(229,57,53,.36), rgba(229,57,53,.14)); } }

/* --- one: folded / phone */
.lv.lay-one { padding: calc(14px + var(--sat)) calc(var(--gut, 20px) + var(--sar)) 24px calc(var(--gut, 20px) + var(--sal)); }
.lv.lay-one .lv-top { justify-content: space-between; }
.lv.lay-one .segc a, .lv.lay-two .segc a { height: 30px; padding: 0 14px; font-size: 13px; }
.lv.lay-one .chipf, .lv.lay-two .chipf { height: 30px; font-size: 13px; padding: 0 13px; }
.lv.lay-one .chipsr { gap: 8px; margin: 14px calc(-1 * var(--gut, 20px)) 4px; padding: 0 var(--gut, 20px); }
.lv.lay-one .crs { margin: 4px calc(-1 * var(--gut, 20px)) 0; } .lv.lay-one .cr { padding: 0 var(--gut, 20px); }
.pc-card { position: relative; display: block; height: 200px; border-radius: 14px; margin-top: 14px; background-position: center 30%; overflow: hidden; }
.pc-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.1)); }
.pc-tag { position: absolute; left: 12px; top: 12px; display: flex; gap: 8px; align-items: center; }
.pc-play { display: none; position: absolute; right: 14px; top: 12px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.92); color: #0B0B0F;
  align-items: center; justify-content: center; }
.pc-b { position: absolute; left: 14px; right: 14px; bottom: 14px; } .pc-b .bs { font-size: 18px; }
.pc-sc { margin-top: 9px; display: flex; align-items: center; gap: 10px; } .pc-sc .clk { color: var(--t2); font-weight: 600; }
.pc-b .lbar { margin-top: 12px; }
.lv-wl { margin-top: 12px; } .lv-wl .btn { width: 100%; justify-content: center; height: 42px; }
.crs { margin: 4px -16px 0; }
.cr { display: flex; align-items: center; gap: 12px; height: 74px; padding: 0 16px; }
.cr-b { flex: 1; min-width: 0; } .cr-t { display: flex; align-items: center; } .cr-t .label { font-size: 15px; }
.cr .cap { font-size: 12.5px; margin-top: 3px; }
.cr.sel { background: rgba(255,255,255,.07); box-shadow: inset 3px 0 0 #fff; }
@media (hover: hover) { .cr:hover { background: rgba(255,255,255,.05); } }
/* folded (short: ~580 tall): a compact game card with its own play button, the rows visible straight away */
.lv.lay-one.short .pc-card { height: 132px; margin-top: 10px; }
.lv.lay-one.short .pc-play { display: flex; }
.lv.lay-one.short .pc-b .bs { font-size: 16px; } .lv.lay-one.short .pc-sc { margin-top: 6px; } .lv.lay-one.short .pc-b .lbar { margin-top: 9px; }
.lv.lay-one.short .chipsr { margin-top: 10px; }
.lv.lay-one.short .cr { height: 64px; } .lv.lay-one.short .cr .lg { width: 54px !important; height: 40px !important; }
.lv.lay-one .title { font-size: 24px; letter-spacing: -.4px; }
/* folded sideways (594 x 359): no card, the featured channel heads the list */
.lv.lay-one.vshort { padding-top: calc(8px + var(--sat)); } .lv.lay-one.vshort .title { font-size: 22px; }
.lv.lay-one.vshort .chipsr { margin-top: 8px; } .lv.lay-one.vshort .cr { height: 60px; }
/* one: guide */
.lv.lay-one.v-guide { padding: calc(14px + var(--sat)) 0 0 max(0px, var(--sal)); }
.lv.lay-one.v-guide .lv-top { padding: 0 calc(var(--gut, 20px) + var(--sar)) 0 var(--gut, 20px); } .lv.lay-one.v-guide .chipsr { margin: 12px 0 0; padding-right: calc(var(--gut, 20px) + var(--sar)); }
.lv.lay-one .gwrap, .lv.lay-two .gwrap { margin: 12px 0 0 10px; }
.lv.lay-one .gruler .tick, .lv.lay-two .gruler .tick { font-size: 12px; }
.lv.lay-one .cell, .lv.lay-two .cell { padding: 8px 10px; }
.lv:not(.lay-desk) .ginfo.float { position: fixed; left: calc(10px + var(--sal)); right: calc(10px + var(--sar)); bottom: calc(var(--tabh) + 8px + var(--sab)); z-index: 25; gap: 12px;
  padding: 0 10px; display: none; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 12px 40px rgba(0,0,0,.6); }
.lv:not(.lay-desk) .ginfo.float.pin { display: flex; }
/* the phone's small card: title and facts shown whole (they wrap; nothing ends in "…"), no blurb; it grows to fit */
.lv:not(.lay-desk) .ginfo.float { height: auto; min-height: 76px; padding-top: 10px; padding-bottom: 10px; align-items: center; }
.lv:not(.lay-desk) .ginfo.float .gi-b .ell { white-space: normal; overflow: visible; text-overflow: clip; }
.lv:not(.lay-desk) .ginfo.float .gi-blurb { display: none; }
.lv:not(.lay-desk) .ginfo .gi-art { width: 86px; height: 50px; } .lv:not(.lay-desk) .ginfo .btn { height: 38px; padding: 0 14px; }

/* --- two: an unfolded foldable, list + details */
.lv.lay-two.v-now { display: flex; height: 100%; }   /* #app is the pane between the bars (body.two.wide, below) */
.two-l { width: min(384px, 46%); flex: none; border-right: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; min-height: 0;
  padding-left: var(--sal); }
.two-l .lv-top { justify-content: space-between; padding: calc(10px + var(--sat)) 16px 10px; }
.two-l .title { font-size: 26px; }
.two-l .crs { margin: 0; overflow-y: auto; flex: 1; scrollbar-width: none; } .two-l .crs::-webkit-scrollbar { display: none; }
.two-l .cr { height: 70px; }
.two-r { flex: 1; min-width: 0; overflow-y: auto; padding: calc(10px + var(--sat)) max(20px, var(--sar)) 20px 20px; scrollbar-width: none; }
.two-r::-webkit-scrollbar { display: none; }
.dt-art { position: relative; display: block; aspect-ratio: 16/9; max-height: 42vh; width: 100%; border-radius: 14px; overflow: hidden; background-position: center 30%; }
.dt-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0,0) 60%); }
.dt-tag { position: absolute; left: 14px; top: 14px; }
.dt-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255,255,255,.92); color: #0B0B0F;
  display: flex; align-items: center; justify-content: center; }
.dt-play svg { width: 20px; height: 22px; }
.dt-sc { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; }
.dt-b { margin-top: 16px; }
.dt-ch { display: flex; align-items: center; gap: 10px; }
.dt-t { margin-top: 12px; } .dt-m { margin-top: 4px; font-size: 14px; }
.dt-b .lbar { margin-top: 12px; } .dt-b .h-btns { margin-top: 16px; } .dt-b .h-btns .btn { height: 42px; }
.dt-l { margin: 20px 0 4px; }
.dt-li { display: flex; gap: 14px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.07); } .dt-li .t2 { width: 70px; flex: none; }
.lv.lay-two.v-guide { padding: calc(14px + var(--sat)) 0 0 max(0px, var(--sal)); }
.lv.lay-two.v-guide .lv-top { padding: 0 calc(20px + var(--sar)) 0 20px; }
.lv.lay-two.v-guide .chipsr { flex: 0 1 auto; min-width: 0; }
/* the unfolded landscape window (951 x 537 / 620), under the app's compact bar */
body.compact .dt-art { max-height: 36vh; }

/* --- the live player */
/* ---- the Live TV player (antenna): the film player's overlay (":is(#pl, #lp).xp" below, owner 11-17); these are
   the bits only it has: its stage, the loading line, the guide's channel rows. */
.lp { position: fixed; inset: 0; background: #000; overflow: hidden; z-index: 40; -webkit-user-select: none; user-select: none; --wash: 150,40,40; }
.lp .p-load { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.lp-vid { position: absolute; inset: 0; } .lp-vid video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.gr { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 12px; border-radius: 12px; width: 100%; text-align: left; }
.gr.on { background: rgba(255,255,255,.12); box-shadow: inset 3px 0 0 #fff; }
@media (hover: hover) { .gr:hover { background: rgba(255,255,255,.07); } }
.gr .gv { width: 38px; font: 700 13px/1 Inter; color: var(--t2); flex: none; } .gr.on .gv { color: #fff; }
.gr .gb { flex: 1; min-width: 0; display: flex; flex-direction: column; } .gr .label { font-size: 14.5px; display: block; } .gr .cap { font-size: 12px; margin-top: 2px; display: block; }
.gr .lbar { margin-top: 6px; height: 2.5px; background: rgba(255,255,255,.18); } .gr .lbar i { height: 2.5px; background: #fff; }   /* (the in-player guide rows keep their own look: not part of D-10, needs its own mockup) */
.lp.loading .lp-vid:after { content: ''; position: absolute; left: 50%; top: 50%; width: 160px; height: 3px; margin-left: -80px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); background-size: 200% 100%; animation: ld 1.1s linear infinite; }
/* the busy card (03-busy) */
.lp.busy { background: #0B0B0F; overflow-y: auto; padding-left: var(--sal); padding-right: var(--sar); }
.lb { position: absolute; inset: 0; filter: blur(26px) brightness(.35); transform: scale(1.1); }
.lb-veil { position: absolute; inset: 0; background: rgba(11,11,15,.45); }
.lb-top { position: absolute; left: max(32px, var(--cl)); top: max(28px, var(--sat)); display: flex; align-items: center; gap: 12px; right: max(20px, var(--cr)); }
.lb-top .label { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bz { position: relative; width: min(880px, calc(100% - 48px)); margin: 190px auto 40px; padding: 30px; border-radius: 22px; background: rgba(24,24,30,.94);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 30px 80px rgba(0,0,0,.5); }
.bz-grab { display: none; }
.bz-h { display: flex; align-items: center; gap: 14px; } .bz-h .headline { font-size: 24px; } .bz-h .cap { font-size: 14px; margin-top: 3px; }
.bz-ic { width: 54px; height: 54px; background: rgba(224,160,48,.16); color: var(--warn); }
.bz-p { margin-top: 16px; }
.bz-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.bz .tr { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 12px; border-radius: 12px; background: rgba(255,255,255,.06); }   /* (.bz: this row style used to leak onto the film player's remaining-time label, a grey box behind "-2:57") */
.tr-b { flex: 1; min-width: 0; } .tr .label { font-size: 14.5px; } .tr .cap { font-size: 12px; margin-top: 2px; }
.tr .chipf { height: 32px; font-size: 13px; padding: 0 13px; background: rgba(255,255,255,.12); }
.tr .chipf svg { width: 10px; height: 12px; }
.bz-more { text-align: center; margin-top: 10px; font-size: 12.5px; }
.bz-f { display: flex; align-items: center; gap: 10px; margin-top: 20px; flex-wrap: wrap; } .bz-f .sp { flex: 1; } .bz-f .btn { height: 42px; } .bz-f .cap { font-size: 12.5px; }
.bz-f .btn[disabled] { opacity: .75; }
.bz.sheet { position: absolute; left: 0; right: 0; bottom: 0; width: auto; margin: 0; border-radius: 26px 26px 0 0; padding: 12px max(16px, var(--sar)) calc(16px + var(--sab)) max(16px, var(--sal));
  background: #18181E; box-shadow: 0 -1px 0 rgba(255,255,255,.12); max-height: calc(100% - 60px); overflow-y: auto; }
.bz.sheet { max-height: calc(100% - 64px - max(28px, var(--sat))); overflow-y: auto; }   /* (leaves the top bar and its Back uncovered, QA C3) */
.lb-top { z-index: 2; }                 /* a short sideways screen: the sheet fits and scrolls, its buttons stay reachable */
.bz.sheet .bz-grab { display: block; width: 40px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.3); margin: 0 auto 16px; }
.bz.sheet .bz-h .headline { font-size: 20px; } .bz.sheet .bz-h .cap { font-size: 13px; } .bz.sheet .bz-ic { width: 46px; height: 46px; }
.bz.sheet .bz-p { font-size: 14px; line-height: 20px; margin-top: 12px; }
.bz.sheet .bz-g { grid-template-columns: minmax(0, 1fr); } .bz.sheet .tr { height: 56px; }
.bz.sheet .bz-f .btn.w { width: 100%; justify-content: center; height: 46px; } .bz.sheet .bz-f .sp { display: none; } .bz.sheet .bz-f { justify-content: space-between; }
@media (max-height: 640px) { .bz:not(.sheet) { margin-top: 90px; } }
@media (max-height: 450px) { .bz.sheet .bz-p { display: none; } .bz.sheet .bz-grab { margin-bottom: 8px; } .bz.sheet .bz-g { margin-top: 10px; } }

.phone .rq-toast { top: calc(54px + var(--sat)); left: calc(50% + (var(--sal) - var(--sar)) / 2); right: auto; transform: translateX(-50%); max-width: calc(100vw - 40px - var(--sal) - var(--sar)); }   /* (unify B2: centred like every toast) */

/* ================= layout by the space there is (design/webui-foldable-20261110) =================
   <body> classes, set by app.js on every viewport change (never a re-render):
     .phone   the phone pages (anything under 1024x600)      .short    height <= 640: hero 300, tab bar 60
     .compact sideways and height <= 640: the 46 px bar of words on top, no tall hero
     .two     two panes, split at exactly 50% (the crease): w >= 900, or w >= 640 and long/short <= 1.35
     .has-detail  a title opened from a list (it lives in #detail; the list stays in #app)
     .has-auto    two panes, nothing picked: the list's featured title in the second pane       .solo  a title with no list */
/* art and scrolling rows run under a side cutout; everything else stays inside the padded page */
.home.ph .h-art, .lib-pg.ph .h-art, .title-pg.ph .t-art { left: calc(-1 * var(--sal)); width: calc(100% + var(--sal) + var(--sar)); }
.home.ph .h-fade, .home.ph .h-top, .lib-pg.ph .h-fade, .lib-pg.ph .h-top, .title-pg.ph .t-fade, .title-pg.ph .h-top,
.search-pg.ph .s-glow, .dl-pg.ph .dl-glow { left: calc(-1 * var(--sal)); right: calc(-1 * var(--sar)); }
.search-pg.ph, .dl-pg.ph { --rp: var(--gut, 20px); }
.phone :is(#app, #detail) .hrow { margin-left: calc(-1 * var(--sal)); margin-right: calc(-1 * var(--sar));
  padding-left: calc(var(--rp, 20px) + var(--sal)); padding-right: calc(20px + var(--sar));
  scroll-padding-left: calc(var(--rp, 20px) + var(--sal)); scroll-padding-right: calc(20px + var(--sar)); }
.phone.has-detail #detail { display: block; }
.phone.has-detail:not(.two) #app { display: none; }
/* a title is on its way: the list it was tapped in stays up until the title can be shown (app.js: HOLD_MS) */
.phone.has-detail.detail-wait:not(.two) #app { display: block; }
.phone.has-detail.detail-wait:not(.two) #detail { display: none; }
/* the title arrives: a short rise over 200 ms. It starts already mostly visible (never an empty frame), and only once
   the page is fully drawn. Back just cuts to the list. */
@keyframes rise { from { opacity: .5; transform: translateY(14px); } to { opacity: 1; transform: none; } }
#detail.rise { animation: rise .2s cubic-bezier(.2,.7,.2,1) both; }
@media (prefers-reduced-motion: reduce) { #detail.rise { animation: none; } }
/* the tile that was tapped, if its page takes a moment: the picture alone eases down a little (never the caption), so the
   tap reads as received, not as a disabled title (manager 11-14) */
a.pt .poster, a.tile.land { transition: transform .16s ease, box-shadow .16s ease, filter .12s; }
a.pt.going .poster, a.tile.land.going { filter: brightness(.78); }
/* Under a finger (touch screens only; a mouse has hover): the thing pressed gives a little, 120 ms, and comes back.
   Pictures and round buttons shrink a touch and dim slightly; pills and chips just dim. One rule for the whole app
   (design review 11-14: "nothing responds to a finger"). It is lighter than the 78% loading dim above and ends when
   the finger lifts, so the two read as press, then wait. */
@media (hover: none) {
  .btn, .chip, .chipf, .stab, .pd, .plate, .epl .tile, .ep .tile, .person .face, .part .poster { transition: transform .12s ease, filter .12s ease, opacity .12s ease; }
  a.pt:active .poster, a.tile.land:active, .ep:active .tile, .epl:active .tile, .part:active .poster, .person:active .face, .plate:active { transform: scale(.97); filter: brightness(.9); }
  .btn.round:active, .pd:active { transform: scale(.94); filter: brightness(.9); }
  .btn:not(.round):active, .chip:active, .chipf:active, .stab:active { filter: brightness(.85); }
  /* (not the rail / tab icons: the lit circle moving is their feedback) */
}
@media (hover: none) and (prefers-reduced-motion: reduce) {
  a.pt:active .poster, a.tile.land:active, .ep:active .tile, .epl:active .tile, .part:active .poster, .person:active .face, .plate:active, .btn.round:active, .pd:active { transform: none; }
}
.phone .nav { display: none; }

/* ---- short pages (the folded Duo 373x580, an iPhone SE): Continue Watching is in view under the hero */
body.short { --tabh: 56px; }
.short .tabbar { padding-top: 6px; }
.short .tabbar .it { gap: 3px; }
.short .home.ph .hero, .short .home.ph .h-art, .short .lib-pg.ph .lib-hero, .short .lib-pg.ph .h-art { height: 300px; }
.short .home.ph .h-fade, .short .lib-pg.ph .h-fade { top: 40px; height: 262px; }
.short .home.ph .h-body, .short .lib-pg.ph .h-body { top: auto; bottom: 4px; }
.short .home.ph .logo, .short .lib-pg.ph .logo { max-height: 56px; }
.short .home.ph .hrows { margin-top: 14px; }

/* ---- compact (sideways phones, the Duo both ways sideways): the bar of words, 46 px, on top; no tall hero */
body.compact { --tabh: 0px; --ctop: calc(46px + var(--sat)); }
.compact .tabbar { display: none; }
.compact #chrome { position: sticky; top: 0; z-index: 30; padding-top: var(--sat); background: rgba(16,16,21,.94); border-bottom: 1px solid rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.compact .nav { display: flex; position: relative; height: 45px; padding: 0 calc(8px + var(--sar)) 0 calc(8px + var(--sal)); text-shadow: none; }
.compact .nav .tab { font-size: 14px; padding: 15px 10px; gap: 6px; }
.compact .nav .tab .ic { width: 18px; height: 18px; }
/* D-12: the folded-sideways bar is words only (no glyph beside Live), and Search / Downloads wear the painted icons the
   rail and the pill use (~20 px). The desktop bar keeps its drawn icons. */
.nav .pi { display: none; }
.compact .nav .tab[href="/web/live"] > svg { display: none; }
.compact .nav .tab[href="/web/search"] .dg-f > svg { display: none; }
.compact .nav .pi { display: block; width: 20px; height: 20px; flex: none; background: currentColor; -webkit-mask: var(--pi) center / contain no-repeat; mask: var(--pi) center / contain no-repeat; }
.compact .nav .wx { font-size: 14px; margin-left: 8px; }
.compact .nav .clock { font-size: 14px; margin-left: 12px; min-width: 0; padding-right: 6px; white-space: nowrap; }
.compact .nav .ring { left: -5px; top: -5px; }   /* (round the 20 px painted icon, D-12) */
@media (max-width: 899px) { .compact .nav .clock { display: none; } }
@media (max-width: 759px) { .compact .nav .lbl { display: none; } .compact .nav .ng.r .tab { padding: 13px; min-width: 44px; justify-content: center; } }
.compact #app, .compact #detail { --sat: 0px; }             /* the bar already cleared the top safe area */
.compact .ph-top { display: none; }
.compact .home.ph .hero, .compact .home.ph .h-art, .compact .lib-pg.ph .lib-hero, .compact .lib-pg.ph .h-art { height: 150px; }
.compact .home.ph .h-art, .compact .lib-pg.ph .h-art { background-position: center 28%; }
.compact .home.ph .h-top, .compact .lib-pg.ph .h-top { display: none; }
.compact .home.ph .h-fade, .compact .lib-pg.ph .h-fade { top: 0; height: 151px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--pg) 94%, transparent) 0, color-mix(in srgb, var(--pg) 62%, transparent) 42%, transparent 78%), linear-gradient(transparent 60%, var(--pg)); }
.compact .home.ph .h-body, .compact .lib-pg.ph .h-body { left: 20px; right: auto; top: auto; bottom: 8px; max-width: 62%; text-align: left; align-items: flex-start; }
.compact .home.ph .logo, .compact .lib-pg.ph .logo { max-width: 200px; max-height: 38px; object-position: left center; }
.compact .home.ph .logo-text { font-size: 26px; }
.compact .home.ph .h-meta, .compact .lib-pg.ph .h-meta { margin-top: 6px; }
.compact .home.ph .h-btns, .compact .lib-pg.ph .h-btns { margin-top: 8px; justify-content: flex-start; }
.compact .home.ph .h-cap { display: none; }
.compact .home.ph .hrows { margin-top: 14px; }
/* a title, one column, sideways: Play stays on the first screen */
.compact:not(.two) .title-pg.ph .t-art { height: 200px; }
.compact:not(.two) .title-pg.ph .t-fade { top: 30px; height: 172px; }
.compact:not(.two) .title-pg.ph .t-head { padding-top: 66px; }
.compact:not(.two) .title-pg.req.ph .t-head { padding-top: 60px; }

/* ---- two panes: #app | 25 px on the crease | #detail; each pane scrolls on its own, nothing but art crosses the centre */
body.two { overflow: hidden; padding-bottom: 0; }
.two :is(#app, #detail) { position: fixed; top: 0; bottom: calc(var(--tabh) + var(--sab)); width: calc(50% - 12.5px);
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.two :is(#app, #detail)::-webkit-scrollbar, .two .t-main::-webkit-scrollbar, .two .t-more::-webkit-scrollbar { display: none; }
.two #app { left: 0; padding-right: 0; }
.two #detail { right: 0; padding-left: 0; display: block; }
.two.compact :is(#app, #detail) { top: var(--ctop); bottom: 0; padding-bottom: var(--sab); }
.two #detail:empty::before { content: "Pick a title and it opens here"; display: block; padding: 40vh 30px 0; text-align: center; font: 400 13px/18px Inter; color: var(--t3); }
.two.has-auto #detail .backbtn { display: none; }
.two .search-pg, .two .dl-pg { min-height: 100%; }
.two .home.ph .hero { display: none; }                       /* its title is the second pane */
.two .home.ph .ph-top { position: relative; left: auto; right: auto; top: auto; padding: calc(10px + var(--sat)) 20px 4px; }
.two.compact .home.ph .hrows { margin-top: 16px; }
.two .tabbar { display: grid; grid-template-columns: 1fr 1fr 25px 1fr 1fr 1fr; justify-items: center; padding-left: 0; padding-right: 0; }
.two .tabbar .it, .two .tabbar.six .it { width: 68px; }
.two .tabbar .it:nth-child(3) { grid-column: 4; }
.two .tabbar.six { grid-template-columns: repeat(3, 1fr) 25px repeat(3, 1fr); }      /* with Live: 3 + 3, the crease slot empty */
.two .tabbar.six .it:nth-child(3) { grid-column: auto; } .two .tabbar.six .it:nth-child(4) { grid-column: 5; }
.two.compact .tabbar { display: none; }
.two.compact .nav { padding: 0; }
.two.compact .nav .ng { flex: 1 1 0; min-width: 0; padding: 0 4px 0 calc(8px + var(--sal)); }
.two.compact .nav .ng.r { padding: 0 calc(8px + var(--sar)) 0 4px; }
.two.compact .nav .ng.r .wx { margin-left: auto; }
.two.compact .nav .sp { flex: none; width: 25px; }
.two .rq-sheet { left: calc(50% + 12.5px); }
/* a title with no list behind it: details | seasons + episodes */
.two.solo #app { width: 100%; padding: 0; overflow: hidden; }
.two.solo #detail { display: none; }
.two.solo .title-pg.ph { display: grid; grid-template-columns: 1fr 25px 1fr; height: 100%; padding-bottom: 0; }
.two.solo .title-pg.ph .t-main { grid-column: 1; min-width: 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; padding: 0 0 30px var(--sal); }
.two.solo .title-pg.ph .t-more { grid-column: 3; min-width: 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; padding: calc(4px + var(--sat)) var(--sar) 30px 0; }
/* Live lays out both of its panes itself (list + details, the time grid): #app is the whole space between the bars */
body[data-screen=live] #app, body[data-screen=liveplay] #app, body[data-screen=play] #app { padding-left: 0; padding-right: 0; }
.two.wide #app { width: 100%; padding: 0; }
.two.wide #detail { display: none; }
.compact .lv { --sat: 0px; }

/* ================= half-fold: Tabletop + Book (design/webui-halffold-20261110; js/posture.js) =================
   <body> carries hf-can-tabletop / hf-can-book (this window could show it) and posture-tabletop / posture-book (it is
   showing). The split is exactly 50 %: the picture sits wholly in one half, every control in the other; nothing is
   laid across the crease. A posture change is only these rules: the <video> and its stream are never touched. */
.hf-in { display: none; }
.hfp { height: 44px; padding: 0 15px; border-radius: 999px; background: rgba(255,255,255,.10); color: #fff; font: 600 13.5px/1 Inter; align-items: center; gap: 8px; flex: none; white-space: nowrap; }
@media (hover: hover) { .hfp:hover { background: rgba(255,255,255,.2); } } .hfp:focus-visible, .hfc:focus-visible span { outline: 3px solid #fff; outline-offset: 2px; }
body.hf-can-tabletop:not(.posture-tabletop) .hf-in-t, body.hf-can-book:not(.posture-book) .hf-in-b { display: inline-flex; }
body.hf-can-book:not(.posture-book) .dt-hf.hf-in-b { display: flex; justify-content: center; margin-top: 16px; }
.dt-hf .btn { gap: 8px; }
/* a chip: the mockup's 24 px pill inside a 44 px touch box */
.hfc { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; flex: none; color: #fff; }
.hfc span { font: 500 12px/14px Inter; padding: 5px 10px; border-radius: 14px; background: rgba(255,255,255,.12); white-space: nowrap; }
@media (hover: hover) { .hfc:hover span { background: rgba(255,255,255,.22); } } .hfc.on span { background: #fff; color: #0B0B0F; }

/* ---- the library player */

/* Tabletop: the picture is the top half; the bottom half is controls | up next */

/* Tabletop, upright (design/webui-halffold-upright-20261110): the bottom half is one column: controls, then the
   season (or the film's summary), then the chips. Up next takes the season's place while its countdown runs. */
@media (orientation: portrait) {

  body.hf-can-tabletop:not(.posture-tabletop) .dt-hf.hf-in-b { display: flex; justify-content: center; margin-top: 16px; }

}
/* ---- "Stage": the iPhone app's player, held upright (design/player-stage-colour-20261114, A1 + "One player, five
   shapes"; user-approved 11-14). The picture is on top and everything under it is ONE surface in the title's own
   colour (palette.js: --pd deep, --pdr deeper, --pfl floor, --pfill the Play disc, --pacc the scrub fill), with nothing
   boxed on it:
     Back (round, top left)   the title's logo, large and centred, with the episode line   Full screen (top right)
     a thick scrub band, and under it: elapsed | Ends 9:41 | remaining     (no chapter breaks: user 11-14)
     one soft pill holding -10 | Play | +10, the Play disc in the title's colour (white while paused)
     a quiet row: Subtitles | Audio | Episodes | Next                      (a film: Subtitles | Audio)
   The same pieces in three shapes: folded (457 x 678), unfolded (669 x 951), and the clamshell (unfolded and bent like
   a laptop; the hinge reports it), where the whole stack drops below the crease. --stg is where the stack starts;
   bending and straightening the phone moves it there in one 280 ms move (it is a registered property, so the surface's
   colour moves with it). No Up next card in the clamshell (it still takes over at the credits). Browsers keep the
   upright player and the half-fold layouts above. */
@property --stg { syntax: "<length-percentage>"; inherits: true; initial-value: 0px; }
@property --stg0 { syntax: "<length-percentage>"; inherits: true; initial-value: 0px; }
@property --stg1 { syntax: "<length-percentage>"; inherits: true; initial-value: 0px; }

/* the clamshell: colour starts just under the picture and is whole a little below the crease */

/* (owner 11-15: centred under the picture on the folded phone too: the panel sits well below the strip's status items,
   so it no longer keeps clear of the whole 84 pt column, which put everything ~40 px left of the picture's centre) */

/* Back, the logo, the episode line (and, with room, a line of details); Full screen on the right */

/* the line and its three times (owner 11-16, "Solid disc", design/player-redesign-20261116 column 2): a thin Lagoon
   line on a dim track, one piece end to end (no chapter breaks), a white knob that grows while held (the 44 px band
   is the touch target). While a finger holds it, a bubble over the knob says where you are going (player.js). */

/* -10 | Play | +10 (a 76 px solid white disc with a dark glyph, plain white ±10 beside it, 60 px targets) and, under
   them, the quiet row */

/* Episodes: the season takes the surface as a list of rows, the one playing in the middle; "Controls" brings the pill back */

/* the credits (not in the clamshell): the Up next card takes the place of the band and the pill */

/* the folded phone (457 x 678, the system's 84 px strip on the right): the same pieces, smaller */

/* ---- "Stage", full screen (the iPhone app sideways, or upright with the full-screen button): the same pieces over
   the picture. The pill sits in the middle, the logo and the band settle at the bottom, the options are the icons top
   right; the title's colour is only a low wash under the logo. */

/* upright full screen: the picture is a 16:9 box in the middle (not a full-screen box with the picture inside it), so
   it can slide there from the top of the upright player */
   /* (the title art, inline on .pv, tiled above and below the boxed picture, QA C2) */

      /* on the picture, as it is upright */
/* QA C11: Safari's upright full screen too (the whole-screen <video> letterboxes the picture in the middle): the line sat
   at the screen's foot, far below the picture; now on the picture's lower edge, as in the app */

/* ---- the move between the upright player and upright full screen (player.js morph(): a view transition). Each piece
   has one name in both arrangements, so it slides and resizes to its next place in one 280 ms move; everything else
   cross-fades. With Reduce Motion nothing is named: the two arrangements cross-fade in 160 ms. */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .16s; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
  ::view-transition-group(*) { animation-duration: .28s; animation-timing-function: cubic-bezier(.2,.8,.2,1); }
  ::view-transition-old(*), ::view-transition-new(*) { animation-duration: .2s; }

}

/* Book: player + controls left of the fold, the season right of it */



/* ---------- unfolded one page (user-approved 11-13, design/webui-unfold-polish-20261113): windows 600+ wide in the phone
   layout. Upright: the whole 16:9 art, Play a normal width. Sideways (compact): art on the right, words on the left. */
@media (min-width: 600px) {
  /* upright unfolded: whole 16:9 art, Play a normal width */
  body.phone:not(.two):not(.compact) .title-pg.ph .t-art { height: 56.25vw; background-position: center top; }
  body.phone:not(.two):not(.compact) .title-pg.ph .t-fade { top: calc(56.25vw - 200px); height: 202px; }
  body.phone:not(.two):not(.compact) .title-pg.ph .t-head { padding-top: calc(56.25vw - 110px); }
  body.phone:not(.two):not(.compact) .title-pg.ph .logo { max-width: 260px; max-height: 76px; }
  body.phone:not(.two) .title-pg.ph .t-btns { justify-content: center; }
  body.phone:not(.two) .title-pg.ph .t-btns .btn.w { flex: 0 1 320px; }
  body.phone:not(.two):not(.compact) .title-pg.ph .t-sum { max-width: 560px; margin-left: auto; margin-right: auto; text-align: center; }
  /* sideways unfolded: art on the right, words on the left (like the desktop page) */
  body.compact:not(.two) .title-pg.ph .t-main { min-height: calc(min(64vw, 100vh) * 0.5625 + 6px); }
  body.compact:not(.two) .title-pg.ph .t-art { left: auto; right: 0; top: 0; width: 64%; height: calc(64vw * 0.5625); background-position: center top; }
  body.compact:not(.two) .title-pg.ph .t-fade { top: 0; left: 0; right: 0; height: calc(64vw * 0.5625 + 2px);
    background: linear-gradient(90deg, var(--pg) 36%, color-mix(in srgb, var(--pg) 85%, transparent) 46%, transparent 70%), linear-gradient(transparent 70%, var(--pg)); }
  body.compact:not(.two) .title-pg.ph .t-head { padding: 64px 0 0 24px; width: 44%; text-align: left; align-items: flex-start; }
  body.compact:not(.two) .title-pg.ph .logo { object-position: left center; max-width: 260px; max-height: 72px; }
  body.compact:not(.two) .title-pg.ph .t-btns { justify-content: flex-start; padding-left: 24px; width: 44%; }
  body.compact:not(.two) .title-pg.ph .t-btns .btn.w { flex: 0 1 260px; }
  body.compact:not(.two) .title-pg.ph .t-capt { text-align: left; padding-left: 24px; }
  body.compact:not(.two) .title-pg.ph .t-sum { width: 40%; padding-left: 24px; }
  body.compact:not(.two) .title-pg.ph .backbtn { top: 12px; }
  body.phone:not(.two) .title-pg.ph .t-capt, body.phone:not(.two) .title-pg.ph .t-sum { position: relative; }
}

/* ---------- sideways phone-layout Home / library banner (user-approved 11-13, design/webui-unfold-home-20261113): the whole
   16:9 picture on the right (up to 52 % of the height), title + buttons on the left. */
@media (min-width: 600px) {
  body.compact:not(.two) { --hh: min(29.25vw, 52vh); }
  body.compact:not(.two) .home.ph .hero, body.compact:not(.two) .lib-pg.ph .lib-hero { height: var(--hh); }
  body.compact:not(.two) .home.ph .h-art, body.compact:not(.two) .lib-pg.ph .h-art { left: auto; right: calc(-1 * var(--sar)); width: calc(var(--hh) * 16 / 9); height: var(--hh); background-position: center top; }
  body.compact:not(.two) .home.ph .h-fade, body.compact:not(.two) .lib-pg.ph .h-fade { top: 0; height: calc(var(--hh) + 1px);
    background: linear-gradient(90deg, var(--pg) calc(100% - var(--hh) * 16 / 9), color-mix(in srgb, var(--pg) 60%, transparent) calc(100% - var(--hh) * 16 / 9 + 70px), transparent calc(100% - var(--hh) * 16 / 9 + 200px)), linear-gradient(transparent 72%, var(--pg)); }
  body.compact:not(.two) .home.ph .h-body, body.compact:not(.two) .lib-pg.ph .h-body { left: 24px; bottom: auto; top: 50%; transform: translateY(-50%); max-width: 44%; }
  body.compact:not(.two) .home.ph .logo, body.compact:not(.two) .lib-pg.ph .logo { max-width: 240px; max-height: 64px; }
}

/* ---------- M6 (user-approved 11-13, design/webui-no-ellipsis-20261113): names and captions wrap to 2 lines, never "…" */
.pt .pl, .pt .pc, .tile.land .tt .t, .tile.land .tt .s, .person .pn, .person .pr, .ep .et, .epl .et, .epl .es, .part .pl {
  white-space: normal; text-overflow: clip; overflow: hidden; overflow-wrap: break-word; max-height: 2lh; }

/* The iPhone app (Capacitor shell, <html class="in-app">): the phone's hinge sets Tabletop / flat, so the manual
   buttons are not shown (user 11-14). Safari keeps them. */
.in-app [data-act="posture"] { display: none !important; }

/* Tabs in the side strip (user 11-14, the Facebook look on the iPhone Duo): where a full-screen app has an 84 pt strip
   to keep clear on one side, the phone tab bar becomes a rail of icons inside it, anchored to the bottom (the system's
   clock / Wi-Fi sit at the top of the same strip), and the page gets its bottom band back. body.rail(-r|-l): app.js. */
body.rail { --tabh: 0px; }
body.rail .tabbar, body.rail .tabbar.six { top: auto; bottom: calc(14px + var(--sab)); left: auto; right: auto; width: 58px; height: auto;
  flex-direction: column; justify-content: flex-start; gap: 2px; padding: 8px 0; border: 1px solid rgba(255,255,255,.10); border-radius: 29px;
  background: rgba(30,30,36,.80); }
body.rail-r .tabbar, body.rail-r .tabbar.six { right: calc((max(84px, env(safe-area-inset-right, 0px)) - 58px) / 2); }
body.rail-l .tabbar, body.rail-l .tabbar.six { left: calc((max(84px, env(safe-area-inset-left, 0px)) - 58px) / 2); }
body.rail .tabbar .it, body.rail .tabbar.six .it { flex: 0 0 46px; width: 46px; margin: 0 auto; justify-content: center; border-radius: 23px; font-size: 0; gap: 0; }
body.rail .tabbar .it span { display: none; }
body.rail .tabbar .it.cur { background: rgba(255,255,255,.16); }

/* ---- The page follows its title's colour, on the phone (tint.js; design/player-stage-colour-20261114, C-colour-rules,
   user-approved 11-14). Five colours, registered so that one change of title cross-fades them all (the page 800 ms,
   the rest 420 ms; Reduce Motion 160 ms). Their initial values ARE the neutral look, so a title with no colour, and
   every page that has no title, looks as it always did. Never coloured: art, posters, faces, body text, the white
   progress line, download gold, LIVE red, genre chips, Settings, errors. */
@property --tp-deep { syntax: "<color>"; inherits: true; initial-value: #0B0B0F; }
@property --tp-d2 { syntax: "<color>"; inherits: true; initial-value: #0B0B0F; }
@property --tp-fill { syntax: "<color>"; inherits: true; initial-value: #FFFFFF; }
@property --tp-fink { syntax: "<color>"; inherits: true; initial-value: #0B0B0F; }
@property --tp-sub { syntax: "<color>"; inherits: true; initial-value: #3A3A42; }
@property --tp-tab { syntax: "<color>"; inherits: true; initial-value: rgba(255,255,255,.16); }
@property --tp-tabink { syntax: "<color>"; inherits: true; initial-value: #FFFFFF; }
html { transition: --tp-deep .8s ease, --tp-d2 .8s ease, --tp-fill .42s ease, --tp-fink .42s ease, --tp-sub .42s ease, --tp-tab .42s ease, --tp-tabink .42s ease; }
@media (prefers-reduced-motion: reduce) { html { transition-duration: .16s; } }
/* the page under a hero: the title's deep shade mixed into the page black at the art's edge (55 %), gone 620 px below */
body.phone { --pg: color-mix(in srgb, var(--tp-deep) 55%, #0B0B0F); }
body.phone .home.ph, body.phone .lib-pg.ph, body.phone .title-pg.ph { position: relative; isolation: isolate; }
body.phone .home.ph::before, body.phone .lib-pg.ph::before, body.phone .title-pg.ph::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(-1 * var(--sal)); right: calc(-1 * var(--sar)); pointer-events: none;
  background: linear-gradient(180deg, var(--pg) var(--artb, 300px), #0B0B0F calc(var(--artb, 300px) + 620px)); }      /* (out to the screen's edges, under the Duo's side strip, like the art) */
body.phone .home.ph { --artb: 470px; } body.phone .lib-pg.ph { --artb: 400px; } body.phone.compact .home.ph, body.phone.compact .lib-pg.ph, body.phone.compact .title-pg.ph { --artb: 150px; }
/* the one strong spot of colour on a page: Play / Resume; and the current tab's bubble on the rail */
body.phone .btn.w { background: var(--tp-fill); color: var(--tp-fink); }
/* a chosen chip (sort, filter); genre chips keep their grey */
body.phone .chip.cur { background: var(--tp-sub); }
body.phone .chips.genres .chip.cur { background: #3A3A42; }
/* Search: a glow from the first title shown, then from the top result */
body.phone .search-pg.ph .s-glow { background: radial-gradient(90% 70% at 0 0, color-mix(in srgb, var(--tp-deep) 85%, transparent), transparent 70%),
  radial-gradient(70% 60% at 100% 0, color-mix(in srgb, var(--tp-d2) 60%, transparent), transparent 70%); }
/* a Continue Watching tile's shade is its own colour, not black */
body.phone .tile.land[style*="--tsh"] .sheen { background: linear-gradient(transparent, color-mix(in srgb, var(--tsh) 92%, transparent)); }

html { --pg: #0B0B0F; }

/* (the round Downloads button at the top of Home / the libraries went into the profile menu on 11-16: acct.js) */

/* ---- OshTV's own voice: "One hand", step 1 (design/oshtv-direction-20261114, direction R; house colour "Lagoon";
   user-approved 11-14: "I do like the proposed idea" / "Let's do lagoon"). When a title is in charge its colour leads
   (the rules above). When none is, the app speaks in its own paint: the icon's aqua, with dark ink (9:1), on Play /
   Resume and the current tab. The page itself stays black: no colour is invented for a title. Aqua is the far side of
   the wheel from LIVE red and is the hue of 7 % of the library (the first icon's orange was the hue of 47 %). */
:root { --osh-paint: url(brand/paint.jpg); --osh-ink: #0B0B0F; }
html:not(.tinted) body.phone .btn.w { background: var(--osh-paint) center / 100% 100%; color: var(--osh-ink); }
/* the current tab sits on a painted mark, in the title's colour, or the house paint when there is none: the same on
   the side rail and the bottom bar (it was a bubble on one and only a brighter label on the other) */
body.phone .tabbar .it { position: relative; isolation: isolate; }
body.phone.rail .tabbar .it.cur { background: none; color: var(--tp-tabink); }
body.phone.rail .tabbar .it.cur::after { content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none; background: var(--tp-tab);
  -webkit-mask: url(brand/tab-blob.png) center / 100% 100% no-repeat; mask: url(brand/tab-blob.png) center / 100% 100% no-repeat; }
body.phone:not(.rail) .tabbar .it.cur :is(svg, .pi) { color: var(--tp-tabink); }
body.phone:not(.rail) .tabbar .it.cur::after { content: ""; position: absolute; left: 50%; top: -5px; width: min(62px, calc(100% + 6px)); height: 35px; transform: translateX(-50%); z-index: -1; pointer-events: none; background: var(--tp-tab);
  -webkit-mask: url(brand/tab-pill.png) center / 100% 100% no-repeat; mask: url(brand/tab-pill.png) center / 100% 100% no-repeat; }
html:not(.tinted) body.phone.rail .tabbar .it.cur, html:not(.tinted) body.phone:not(.rail) .tabbar .it.cur :is(svg, .pi) { color: var(--osh-ink); }
html:not(.tinted) body.phone .tabbar .it.cur::after { background: var(--osh-paint) center / cover; }
/* the mark, top left of Home (where the weather was) */
.osh-mark { display: flex; align-items: center; gap: 7px; filter: drop-shadow(0 1px 5px rgba(0,0,0,.45)); }
.osh-mark img { display: block; width: auto; } .osh-mark .mo { height: 26px; } .osh-mark .mt { height: 19px; margin-top: 5px; }
/* row headings carry more weight (they were 15 px medium, smaller than the tile titles under them) */
.phone .rowh { letter-spacing: -.25px; }
.phone .rowh .cnt { font-weight: 450; }
/* (unfolded and upright in the app: on the status pill's line, like the Downloads button) */
/* (unfolded and upright in the app: the mark rides up onto the status pill's line, level with the time (owner 11-16);
   the owner's O stays on the line below: that pill grows leftward with Live Activities and would cover it) */
body.pill-top:not(.two):not(.rail) .ph-top .osh-mark { transform: translateY(-53px); }

/* ---- The launch layer, and the sign-in screen it turns into (js/launch.js; design/oshtv-direction-20261114, R, Lagoon;
   user 11-14: "a splash screen ... that continues into login using our color"). The layer is in index.html, so this
   is on screen with the first paint: the icon's painting and the mark, the same picture as the app's static launch
   image. Desktop (a wide window with a mouse) has no launch layer. */
#osh-launch { position: fixed; inset: 0; z-index: 200; overflow: hidden; background: #0A6F88; pointer-events: none; }
/* The sign-in screen covers the whole window in every shape (owner 11-16: a page link and an orange line showed under the
   code screen): at least the full dynamic viewport tall (the words sit on its bottom edge, so never taller), under the
   status bar / side strip / home bar (the words keep clear of them with the safe areas), and a spread of the ground's
   own colour past every edge, so a rubber-band pull, a toolbar sliding away or a resize mid-frame shows ground, never
   the page. Nothing behind it can be tapped or tabbed to (launch.js makes the rest of the page inert), nor scrolled. */
#osh-launch.si { pointer-events: auto; top: 0; left: 0; right: 0; bottom: 0; min-height: 100vh; min-height: 100dvh; box-shadow: 0 0 0 100vmax #0B0B0F; }
html.signing-in, html.signing-in body { overflow: hidden; overscroll-behavior: none; }
@media (min-width: 1100px) and (hover: hover) and (pointer: fine) { #osh-launch:not(.si) { display: none; } }   /* (1100 = layoutOf().desktop, QA A3) */
#osh-launch .col { position: absolute; inset: 0; background: linear-gradient(180deg, var(--pg) var(--edge, 300px), #0B0B0F calc(var(--edge, 300px) + 620px)); }
/* (the painting, QA 11-16: a WebP at the size it is seen, 1600 px for a 1x screen, 2560 px for 2x / 3x, ~130 / ~350 KB
   where the one 2560 px JPEG was 1 MB; plate.jpg, a 1600 px progressive JPEG, only for a browser without image-set.
   launch.js waits for the same file: keep the two in step. The originals: design/brand-originals-20261116/.) */
#osh-launch .plate { position: absolute; inset: 0; background: url(brand/plate.jpg) center / cover; background-image: -webkit-image-set(url(brand/plate-1600.webp) 1x, url(brand/plate-2560.webp) 2x); background-image: image-set(url(brand/plate-1600.webp) 1x, url(brand/plate-2560.webp) 2x); transition: opacity .45s ease; }
/* The painting is alive while it is up, and it is the swirl in the brushwork itself that moves (user 11-14: "I wanted
   the swirl in the drawings animated"): the painting is three rings of the same picture, and the inner rings turn
   further than the outer one, the way stirred paint does. It starts from the still picture, so nothing jumps. The mark
   lifts a touch. (No light sweep: user 11-14, "I don't want to see the little shine thing".) */
#osh-launch .plate i { position: absolute; left: 50%; top: 50%; width: 100vmax; height: 100vmax; margin: -50vmax 0 0 -50vmax; background: url(brand/plate.jpg) center / cover; background-image: -webkit-image-set(url(brand/plate-1600.webp) 1x, url(brand/plate-2560.webp) 2x); background-image: image-set(url(brand/plate-1600.webp) 1x, url(brand/plate-2560.webp) 2x); will-change: transform; }
#osh-launch .plate .sw1 { -webkit-mask-image: radial-gradient(circle closest-side, #000 52%, transparent 70%); mask-image: radial-gradient(circle closest-side, #000 52%, transparent 70%); }
#osh-launch .plate .sw2 { -webkit-mask-image: radial-gradient(circle closest-side, #000 22%, transparent 40%); mask-image: radial-gradient(circle closest-side, #000 22%, transparent 40%); }
#osh-launch.si .plate i { display: none; }
#osh-launch.on:not(.si) .plate { animation: osh-swirl-a 3.2s cubic-bezier(.25,.4,.25,1) calc(-1 * var(--lt, 0ms)) both; }
#osh-launch.on:not(.si) .plate .sw1 { animation: osh-swirl-b 3.2s cubic-bezier(.25,.4,.25,1) calc(-1 * var(--lt, 0ms)) both; }
#osh-launch.on:not(.si) .plate .sw2 { animation: osh-swirl-c 3.2s cubic-bezier(.25,.4,.25,1) calc(-1 * var(--lt, 0ms)) both; }
#osh-launch.on:not(.si) .stack { animation: osh-lift .9s cubic-bezier(.2,.7,.2,1) calc(-1 * var(--lt, 0ms)) both; }
/* (the outer ring grows as it turns, exactly enough to keep the screen's corners covered: cos a + 1.42 sin a) */
@keyframes osh-swirl-a { from { transform: none; } to { transform: rotate(12deg) scale(1.34); } }   /* (one piece: with four steps the easing ran per step, so the painting slowed to a stop and surged every 0.8 s) */
@keyframes osh-swirl-b { from { transform: none; } to { transform: rotate(26deg); } }
@keyframes osh-swirl-c { from { transform: none; } to { transform: rotate(70deg); } }
@keyframes osh-lift { 0% { transform: translate(-50%, -50%) scale(1); } 45% { transform: translate(-50%, -50%) scale(1.045); } 100% { transform: translate(-50%, -50%) scale(1); } }
@media (prefers-reduced-motion: reduce) { #osh-launch.on .plate, #osh-launch.on .plate i, #osh-launch.on .stack { animation: none !important; } }
#osh-launch .stack { position: absolute; left: 50%; top: 50%; width: 26.9vmax; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center;
  gap: calc(26.9vmax * .105); filter: drop-shadow(0 2px 10px rgba(0,40,60,.3));      /* (26.9vmax: exactly the size of the mark in the app's static launch image, in every shape) */ transition: top .55s cubic-bezier(.6,0,.2,1), left .55s cubic-bezier(.6,0,.2,1), width .55s cubic-bezier(.6,0,.2,1), gap .55s cubic-bezier(.6,0,.2,1); }
#osh-launch .stack img { display: block; height: auto; } #osh-launch .mo { width: 100%; } #osh-launch .mt { width: 57.5%; }
/* the handover into Home: the brushed edge travels from above the screen to the bottom of the picture, then the rest lifts */
#osh-launch.go { -webkit-mask: url(brand/brush-edge.png) 50% 0 / max(100%, 520px) 300px no-repeat, linear-gradient(#000, #000) 0 299px / 100% 400vh no-repeat;
  mask: url(brand/brush-edge.png) 50% 0 / max(100%, 520px) 300px no-repeat, linear-gradient(#000, #000) 0 299px / 100% 400vh no-repeat;
  -webkit-mask-position: 50% -320px, 0 -21px; mask-position: 50% -320px, 0 -21px; background: none;
  animation: osh-wash .62s cubic-bezier(.5,0,.3,1) .14s both, osh-out .4s ease .45s both; }   /* (11-15: overlapped, the painting is wiped straight off onto Home: it used to fade to an empty dark ground first, then wipe, then the rows came: "a stutter") */
@keyframes osh-wash { to { -webkit-mask-position: 50% calc(var(--edge, 300px) - 150px), 0 calc(var(--edge, 300px) + 149px); mask-position: 50% calc(var(--edge, 300px) - 150px), 0 calc(var(--edge, 300px) + 149px); } }
@keyframes osh-out { to { opacity: 0; } }
/* sign-in: the mark rises, a deep ground is brushed up from below, the words and the one button arrive */
#osh-launch .dark { position: absolute; left: 0; right: 0; top: 34%; bottom: 0; background: linear-gradient(180deg, #002B3B, #00121C 46%, #0B0B0F); opacity: 0; transform: translateY(60px);
  -webkit-mask: url(brand/brush-edge.png) 50% 0 / max(100%, 560px) 46% no-repeat, linear-gradient(#000, #000) 0 100% / 100% 54.5% no-repeat;
  mask: url(brand/brush-edge.png) 50% 0 / max(100%, 560px) 46% no-repeat, linear-gradient(#000, #000) 0 100% / 100% 54.5% no-repeat;
  transition: opacity .4s ease, transform .55s cubic-bezier(.2,.8,.2,1), top .55s cubic-bezier(.6,0,.2,1); }
#osh-launch .low { position: absolute; left: max(28px, calc(var(--sal) + 20px)); right: max(28px, calc(var(--sar) + 20px)); bottom: calc(26px + var(--sab)); display: flex; flex-direction: column; align-items: flex-start;
  opacity: 0; transform: translateY(14px); transition: opacity .28s ease, transform .4s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
@media (min-width: 600px) { #osh-launch .low { left: 50%; right: auto; width: 420px; margin-left: -210px; } }
#osh-launch.si .dark { opacity: 1; transform: none; }
#osh-launch.si .low { opacity: 1; transform: none; transition-delay: .22s; pointer-events: auto; }
#osh-launch.si .low.swap { opacity: 0; transition-delay: 0s; transition-duration: .16s; }
#osh-launch.si .stack { top: 21%; left: calc(50% + (var(--sal) - var(--sar)) / 2); width: min(46vw, 230px); gap: calc(min(46vw, 230px) * .105); }      /* (centred on the part of the screen the words use) */
#osh-launch:is(.si-wait, .si-confirm, .si-code) .dark { top: 22%; } #osh-launch:is(.si-wait, .si-confirm, .si-code) .stack { top: 14%; width: min(30vw, 150px); gap: calc(min(30vw, 150px) * .105); }
#osh-launch .hd { font: 700 26px/31px Inter; letter-spacing: -.5px; }
#osh-launch .code { margin-top: 16px; font: 700 44px/1 Inter; letter-spacing: 6px; font-feature-settings: 'tnum' 1; color: #fff; }
#osh-launch .btn.big + .btn.quiet { margin-top: 10px; }
/* the refusal: the paint is put away. No red: red means LIVE here. */
#osh-launch.si-no .plate { opacity: 0; } #osh-launch.si-no { background: #1B1B21; }
#osh-launch.si-no .dark { top: 0; -webkit-mask: none; mask: none; background: linear-gradient(180deg, #2A2A32, #1B1B21 40%, #0B0B0F); }
#osh-launch.si-no .stack { top: 12%; width: min(22vw, 110px); gap: calc(min(22vw, 110px) * .105); filter: none; opacity: .9; }
#osh-launch .word { display: block; height: 34px; width: auto; }
#osh-launch .lead { font: 400 17px/25px Inter; color: rgba(255,255,255,.92); margin-top: 14px; max-width: 360px; }
#osh-launch .btn.big { height: 52px; width: 100%; justify-content: center; font-size: 16.5px; margin-top: 24px; background: #fff; color: #0B0B0F; }
#osh-launch .btn.quiet { height: 48px; width: 100%; justify-content: center; margin-top: 22px; background: rgba(255,255,255,.12); color: #fff; }
#osh-launch .fine { font: 400 13px/19px Inter; color: rgba(255,255,255,.72); margin-top: 14px; }
#osh-launch .stroke { height: 12px; width: 190px; margin-top: 18px; position: relative; }
#osh-launch .stroke i, #osh-launch .stroke b { position: absolute; left: 0; top: 0; bottom: 0; -webkit-mask: url(brand/stroke-line.png) 0 50% / 190px 100% no-repeat; mask: url(brand/stroke-line.png) 0 50% / 190px 100% no-repeat; }
#osh-launch .stroke i { right: 0; background: rgba(255,255,255,.16); }
#osh-launch .stroke b { width: 190px; background: var(--osh-paint) 0 50% / 190px 100%; animation: osh-paint-on 2.4s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes osh-paint-on { 0% { clip-path: inset(0 100% 0 0); } 70%, 100% { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) {
  #osh-launch .stack, #osh-launch .dark, #osh-launch .low, #osh-launch .plate { transition: none; }
  #osh-launch .stroke b { animation: none; width: 110px; }
}

/* ---- Lagoon throughout (user 11-14, later: "Let's make lagoon the color throughout rather than the dynamic"). One
   house colour for every page and the player; a title no longer changes it (tint.js setTint() does nothing, so the
   page is never "tinted": Play / Resume and the current tab are always the house paint, above). What the title's
   colour used to give the page comes from Lagoon instead: the art fades into its deep shade, a chosen chip takes its
   mid shade, the Search glow and a Continue Watching tile's shade are its dark end. */
body.phone { --tp-deep: #00465F; --tp-d2: #002D30; --tp-sub: #0B6A86; }
body.phone .tile.land .sheen { background: linear-gradient(transparent, rgba(0,27,38,.9)); }
/* the player's Play disc is the same paint as every Play button */

/* Sideways (the compact layout: words along the top, art on the right). With a page colour the art's edges show where
   it used to end on black (user 11-14: "This looks off"): the title page's art now runs under the system's side strip
   to the screen's edge like Home's, and the page's colour starts exactly where the art ends, so there is no seam. */
body.phone.compact:not(.two) .title-pg.ph { --artb: calc(64vw * 0.5625); }
body.phone.compact:not(.two) .title-pg.ph .t-art { right: calc(-1 * var(--sar)); width: calc(64% + var(--sar)); }
body.phone.compact:not(.two) .title-pg.ph .t-fade { left: calc(-1 * var(--sal)); right: calc(-1 * var(--sar)); }
body.phone.compact .home.ph, body.phone.compact .lib-pg.ph { --artb: var(--hh, 150px); }

/* ---- The upright player and the title page share one picture window (design/oshtv-direction-20261114, "the title
   page and the player, as one page"; user 11-14: "Do all recommended. Rounded corners."). In the app, held upright:
   a black band at the top (the phone's own status band unfolded, 52 px folded) with Back in it; under it the picture,
   16:9 with rounded top corners; under that the Stage. The window shows the title's art until the film's first frame,
   so coming from the title page the picture does not change place or blink, and the controls rise into the room the
   information left. The logo and its line are left-aligned, where the title page has them. */

      /* (no fill: a filling transform would capture the fixed Back button) */

/* ---- The Stage's controls while the line is held: the rest steps back (the line and the bubble stay). */

/* ---- The title page, upright (one column): the same picture window as the player (above), and the facts laid out the
   way a person scans them (same design, asks 2 and 4; user: "more like Netflix ... shows more info"; "rounded corners").
   Band with Back (the logo comes up into it once the headline logo has scrolled away) / the picture, 16:9, rounded top
   corners / logo, facts, ratings, where you are in it / Play and Trailer side by side / summary, who is in it / tabs.
   The extra pieces are in the markup for every phone layout and hidden here unless the page is one upright column.
   Still to come from that design: the trailer playing by itself in the window. */
.t-band, .t-you, .t-cr, .t-tabs, .p1o, .t-btns .lbl { display: none; }
body.phone:not(.compact):not(.two) .title-pg.ph { --band: max(var(--sat), 52px); }
/* The picture runs to the very top; the band holds only the floating Back button until the logo moves into it, and it
   takes the page's colour only then (user 11-14: "Why is there still washed space up there"). */
body.phone:not(.compact):not(.two) .title-pg.ph { --artb: 56.25vw; }
/* QA A4: a notched iPhone running OshTV as a home-screen web app draws under the status bar (black-translucent): the band
   grows by the top inset so Back sits 7 px below it, as it does at 52 px with no inset. The app keeps max(): its tall
   top band (the unfolded Duo, 82) holds Back beside the system's status pill on purpose. */
html:not(.in-app) body.phone:not(.compact):not(.two) .title-pg.ph { --band: calc(var(--sat) + 52px); }
body.phone:not(.compact):not(.two) .title-pg.ph .t-band { margin-bottom: calc(-1 * var(--band)); transition: background-color .2s ease, box-shadow .2s ease; }
body.phone:not(.compact):not(.two) .title-pg.ph .t-band:not(.lg) { background: transparent; box-shadow: none; }
body.phone:not(.compact):not(.two) .title-pg.ph .t-band:not(.lg) .btn.round { background: rgba(0,0,0,.38); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
body.phone:not(.compact):not(.two) .title-pg.ph .t-band { display: flex; align-items: flex-end; gap: 12px; position: sticky; top: 0; z-index: 6; height: var(--band); padding: 0 14px 7px; justify-content: flex-start; border-radius: 0; background: var(--pg);   /* (the page's own colour, not black: user 11-14 "the black bar looks off") */
  box-shadow: calc(-1 * var(--sal)) 0 0 var(--pg), var(--sar) 0 0 var(--pg); }
body.phone:not(.compact):not(.two) .title-pg.ph .t-band .btn.round { width: 38px; height: 38px; flex: none; background: rgba(255,255,255,.13); }
body.phone:not(.compact):not(.two) .title-pg.ph .t-bandlogo { height: 34px; max-width: 220px; object-fit: contain; object-position: left center; opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease; }
body.phone:not(.compact):not(.two) .title-pg.ph .t-bandlogo.tx { height: auto; font: 650 17px/38px Inter; }
body.phone:not(.compact):not(.two) .title-pg.ph .t-band.lg .t-bandlogo { opacity: 1; transform: none; }
body.phone:not(.compact):not(.two) .title-pg.ph .t-art { top: 0; height: 56.25vw; border-radius: 0; background-position: center; }
body.phone:not(.compact):not(.two) .title-pg.ph :is(.t-fade, .backbtn, .t-capt) { display: none; }
body.phone:not(.compact):not(.two) .title-pg.ph .t-head { padding: calc(56.25vw + 18px) 20px 0; text-align: left; align-items: flex-start; }
body.phone:not(.compact):not(.two) .title-pg.ph .logo { max-width: 330px; max-height: 76px; object-position: left center; }
body.phone:not(.compact):not(.two) .title-pg.ph .t-head .cap { font-size: 14px; color: rgba(255,255,255,.86); }
body.phone:not(.compact):not(.two) .title-pg.ph .t-head .cap:first-of-type { margin-top: 13px; }
body.phone:not(.compact):not(.two) .title-pg.ph .t-you { display: flex; align-items: center; gap: 10px; margin-top: 12px; font: 600 15px/20px Inter; }
.t-you .pb { flex: none; width: 92px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.20); overflow: hidden; } .t-you .pb i { display: block; height: 3px; background: rgba(255,255,255,.85); }   /* (D-10) */
body.phone:not(.compact):not(.two) .title-pg.ph .t-btns { margin-top: 15px; }
body.phone:not(.compact):not(.two) .title-pg.ph .t-btns .btn.w { flex: 1.45 1 0; height: 50px; font-size: 16.5px; }
body.phone:not(.compact):not(.two) .title-pg.ph .t-btns .btn.round { flex: 1 1 0; width: auto; height: 50px; gap: 10px; font: 600 16px/1 Inter; background: rgba(255,255,255,.14); }
body.phone:not(.compact):not(.two) .title-pg.ph .t-btns .lbl { display: inline; }
body.phone:not(.compact):not(.two) .title-pg.ph .t-sum { text-align: left; margin-top: 15px; font-size: 15.5px; line-height: 23px; color: rgba(255,255,255,.92); }
body.phone:not(.compact):not(.two) .title-pg.ph .t-cr { display: block; padding: 0 20px; margin-top: 10px; font: 400 14px/22px Inter; color: rgba(255,255,255,.72); }
.t-cr b { font-weight: 600; color: #fff; }
body.phone:not(.compact):not(.two) .title-pg.ph .t-tabs { display: flex; gap: 26px; margin: 22px 20px 0; border-top: 1px solid rgba(255,255,255,.1); overflow-x: auto; scrollbar-width: none; }
.t-tabs::-webkit-scrollbar { display: none; }
.t-tab { position: relative; flex: none; padding: 15px 0 12px; font: 600 16px/20px Inter; color: rgba(255,255,255,.62); white-space: nowrap; } .t-tab small { font: 500 13px/1 Inter; margin-left: 6px; color: rgba(255,255,255,.5); }
.t-tab.cur { color: #fff; }
.t-tab.cur::before { content: ""; position: absolute; left: -2px; right: -2px; top: -4px; height: 8px; background: var(--osh-paint) center / cover; -webkit-mask: url(brand/stroke-line.png) center / 100% 100% no-repeat; mask: url(brand/stroke-line.png) center / 100% 100% no-repeat; }
body.phone:not(.compact):not(.two) .title-pg.ph .p1o { display: block; }
body.phone:not(.compact):not(.two) .title-pg.ph .t-more[data-cur=eps] > [data-tab]:not([data-tab=eps]), body.phone:not(.compact):not(.two) .title-pg.ph .t-more[data-cur=more] > [data-tab]:not([data-tab=more]),
body.phone:not(.compact):not(.two) .title-pg.ph .t-more[data-cur=extras] > [data-tab]:not([data-tab=extras]), body.phone:not(.compact):not(.two) .title-pg.ph .t-more[data-cur=details] > [data-tab]:not([data-tab=details]) { display: none; }
body.phone:not(.compact):not(.two) .title-pg.ph .t-more > .sec { margin-top: 16px; }
.xlist { padding: 4px 20px 0; } .xr { display: flex; gap: 12px; align-items: center; margin-top: 14px; border-radius: 10px; color: #fff; }
.xr .th { flex: none; width: 150px; aspect-ratio: 16/9; border-radius: 9px; background-color: #1C1C22; } .xr .xt { min-width: 0; } .xr .et { font: 600 14.5px/19px Inter; }
@media (max-width: 500px) {
  body.phone:not(.compact):not(.two) .title-pg.ph .logo { max-width: 250px; max-height: 58px; }
  body.phone:not(.compact):not(.two) .title-pg.ph .t-btns .btn.w, body.phone:not(.compact):not(.two) .title-pg.ph .t-btns .btn.round { height: 50px; font-size: 15.5px; }
  body.phone:not(.compact):not(.two) .title-pg.ph .t-sum { font-size: 14.5px; line-height: 21px; }
  .xr .th { width: 122px; }
}
#osh-launch.si-code .dark { top: 15%; } #osh-launch.si-code .stack { top: 10%; width: min(24vw, 120px); gap: calc(min(24vw, 120px) * .105); }

/* The upright title page's summary lines up with everything else (it used to be a centred block), and the page's
   colour runs to the bottom of the screen even when the page is short (a request page: user 11-14, "let's add
   something here to fill the blank"). A request page also says what a request brings, who is in the title, and
   shows titles like it. */
body.phone:not(.compact):not(.two) .title-pg.ph .t-sum { max-width: none; margin-left: 0; margin-right: 0; }
body.phone:not(.compact):not(.two) .title-pg.ph { min-height: calc(100vh - var(--tabh) - var(--sab)); }
.title-pg.req.ph .t-cr { display: block; padding: 0 20px; margin-top: 10px; font: 400 14px/22px Inter; color: rgba(255,255,255,.72); }
.title-pg.req.ph .rq-like { margin-top: 26px; }
/* (a request page has no band of its own yet: its Back button stays on the picture) */
body.phone:not(.compact):not(.two) .title-pg.ph.req .backbtn { display: flex; top: 12px; }
body.phone:not(.compact):not(.two) .title-pg.ph.req .t-art { border-radius: 0; }
/* (where the screen has no top band of its own, the mark sits a comfortable, equal distance in from the corner instead of
   tight against it: user 11-14, "center oshtv better here from the corner") */
.phone .ph-top .osh-mark { margin: max(0px, calc(18px - var(--sat))) 0 0 max(0px, calc(8px - var(--sat))); }

/* ---- People: the owner's page (js/screens/people.js; design/oshtv-direction-20261114/out/people, user-approved 11-14).
   Calm first: one sentence of status, then only the lists that have something in them. Serious actions are serious
   without red (red means LIVE here): a second step in a sheet, the consequence as a sentence, a solid white button, and
   an outlined label on anything that touches the owner's own account. */
.pp { position: relative; min-height: 100vh; isolation: isolate; color: #fff; --ppx: 24px; margin: 0 calc(-1 * var(--sar)) 0 calc(-1 * var(--sal)); padding: calc(10px + var(--sat)) calc(var(--ppx) + var(--sar)) calc(140px + var(--sab)) calc(var(--ppx) + var(--sal));
  background: linear-gradient(180deg, #00465F 0, #002B3B 300px, #00121C 720px, #0B0B0F 1150px); }
.pp-top { display: flex; align-items: center; gap: 14px; height: 44px; }
body:not(.phone) .pp { padding-top: 100px; }   /* (desktop: below the top nav, which covered the header and its Back, QA B3) */
.pp-back::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; }   /* (46 px touch area, B10) */
.pp-back { position: relative; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; flex: none; color: #fff; }
.pp-name { font: 700 27px/32px Inter; letter-spacing: -.6px; }
.pp-status { font: 600 20px/28px Inter; letter-spacing: -.3px; margin-top: 18px; max-width: 560px; }
.pp-status span { display: block; font: 400 15px/21px Inter; color: rgba(255,255,255,.78); letter-spacing: 0; margin-top: 4px; }
.pp-cols { max-width: 620px; }
.pp-sec { margin-top: 28px; }
.pp-h { font: 650 17px/22px Inter; letter-spacing: -.2px; display: flex; align-items: baseline; gap: 8px; } .pp-h small { font: 450 13px/1 Inter; color: rgba(255,255,255,.62); }
.pp-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.10); min-height: 60px; }
.pp-row .tx { flex: 1; min-width: 0; } .pp-row .l1 { font: 600 15px/20px Inter; } .pp-row .l1 em { font-style: normal; font-weight: 450; color: rgba(255,255,255,.86); }
.pp-row .l1.says { font-weight: 500; } .pp-row .l2, .pp-let .l2, .pp-per .l2 { display: block; font: 400 13.5px/19px Inter; color: rgba(255,255,255,.74); margin-top: 1px; }
.pp-note { font: 400 13.5px/19px Inter; color: rgba(255,255,255,.74); padding-top: 8px; }
.pp-tag { display: inline-block; font: 650 10.5px/1 Inter; letter-spacing: .7px; text-transform: uppercase; padding: 4px 6px; border-radius: 4px; background: #fff; color: #0B0B0F; margin-left: 8px; vertical-align: 2px; }
.pp-tag.q { background: rgba(255,255,255,.16); color: #fff; }
.pp-btn { flex: none; height: 44px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font: 600 14px/1 Inter; white-space: nowrap; color: #fff; }
.pp-btn.o { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); } .pp-btn.g { background: rgba(255,255,255,.13); } .pp-btn.w { background: #fff; color: #0B0B0F; } .pp-btn.p { background: var(--osh-paint) center / 100% 100%; color: #0B0B0F; }
.pp-btn.dis { opacity: .4; } .pp-btn.big { height: 50px; font-size: 15.5px; padding: 0 22px; } .pp-btn.sm { height: 44px; padding: 0 14px; font-size: 13px; }
.pp-n { font: 650 13px/1 Inter; padding: 5px 8px; border-radius: 999px; background: rgba(255,255,255,.16); flex: none; font-feature-settings: 'tnum' 1; }
.pp-let { margin-top: 26px; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.075); }
.pp-code { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.pp-code .bx { position: relative; display: flex; align-items: center; gap: 7px; }
.pp-code i { width: 40px; height: 52px; border-radius: 9px; background: rgba(0,0,0,.28); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.26); display: flex; align-items: center; justify-content: center; font: 650 25px/1 Inter; font-style: normal; }
.pp-code i.e { color: rgba(255,255,255,.28); font-weight: 500; } .pp-code .bx:focus-within i.f { box-shadow: inset 0 0 0 2px #fff; } .pp-code .gap { width: 12px; }
.pp-code input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; }
.pp-code .pp-btn { height: 52px; padding: 0 18px; }
.pp-err { margin-top: 10px; font: 500 14px/20px Inter; display: flex; gap: 8px; align-items: flex-start; } .pp-err b { flex: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #0B0B0F; font: 700 13px/20px Inter; text-align: center; }
.pp-per { border-bottom: 1px solid rgba(255,255,255,.10); } .pp-per.off .nm, .pp-per.off .l2 { opacity: .55; }
.pp-per .hd { display: flex; align-items: center; gap: 12px; padding: 12px 0; min-height: 60px; width: 100%; text-align: left; color: #fff; }
.pp-per .hd .tx { flex: 1; min-width: 0; display: block; }
.pp-ini { flex: none; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; font: 650 15px/1 Inter; color: #0B0B0F; background: #FBF8F3; -webkit-mask: url(brand/tab-blob.png) center / 100% 100% no-repeat; mask: url(brand/tab-blob.png) center / 100% 100% no-repeat; }
.pp-per.off .pp-ini { opacity: .45; } .pp-per .nm { display: block; font: 600 16px/21px Inter; } .pp-per .chev { flex: none; opacity: .6; transform: rotate(-90deg); display: flex; } .pp-per.open .chev { transform: rotate(90deg); }
.pp-in { padding: 2px 0 16px 50px; } .pp-in .k { font: 600 12.5px/18px Inter; color: rgba(255,255,255,.66); margin-top: 10px; }
.pp-in .d { display: flex; align-items: center; gap: 12px; margin-top: 6px; } .pp-in .dt { flex: 1; min-width: 0; font: 400 14px/20px Inter; } .pp-in .dt b { font-weight: 600; } .pp-in .dt span { display: block; font-size: 13px; line-height: 18px; color: rgba(255,255,255,.72); }
.pp-in .dt .mv { display: inline-block; font: 600 12px/1 Inter; padding: 4px 7px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); margin-top: 5px; color: #fff; }
.pp-acts { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.pp-foot { margin-top: 22px; font: 400 14px/20px Inter; color: rgba(255,255,255,.72); min-height: 44px; }
.pp-scrim { position: fixed; inset: 0; z-index: 40; background: var(--veil); }
body:has(.pp-sheet) #chrome { visibility: hidden; }   /* (QA 11-15 D1/B1/B16: the pill/rail painted over the sheet's buttons) */
.pp-sheet { position: fixed; z-index: 41; left: var(--sal); right: var(--sar); bottom: 0; border-radius: var(--r-sheet) var(--r-sheet) 0 0; background: var(--sheet); box-shadow: var(--sheet-shadow); padding: 12px 24px calc(24px + var(--sab)); }
.pp-sheet .grab { width: 38px; height: 5px; border-radius: 3px; background: var(--grab); margin: 0 auto 16px; }
.pp-sheet .t { font: 650 21px/28px Inter; letter-spacing: -.3px; } .pp-sheet .b { font: 400 15px/22px Inter; color: rgba(255,255,255,.88); margin-top: 8px; }
.pp-own { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; box-shadow: inset 0 0 0 2px #fff; font: 650 12.5px/18px Inter; letter-spacing: .5px; text-transform: uppercase; }
.pp-facts { margin-top: 14px; border-top: 1px solid rgba(255,255,255,.12); } .pp-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); font: 400 14.5px/20px Inter; }
.pp-facts div span:first-child { color: rgba(255,255,255,.7); } .pp-facts div span:last-child { font-weight: 600; text-align: right; }
.pp-fine { font: 400 13px/19px Inter; color: rgba(255,255,255,.76); margin-top: 12px; }
.pp-sb { display: flex; gap: 10px; margin-top: 18px; } .pp-sb .pp-btn { flex: 1; }
.pp-lock { max-width: 420px; margin-top: 120px; } .pp-lock .t { font: 650 22px/28px Inter; letter-spacing: -.4px; } .pp-lock .b { font: 400 15px/22px Inter; color: rgba(255,255,255,.84); margin: 8px 0 22px; }
/* the owner's block at the foot of Downloads */
@media (max-width: 500px) {
  .pp { --ppx: 16px; }
  .pp-status { font-size: 18px; line-height: 25px; margin-top: 14px; } .pp-status span { font-size: 14px; }
  .pp-sec { margin-top: 22px; } .pp-h { font-size: 16px; }
  .pp-row.act { flex-wrap: wrap; } .pp-row.act .tx { flex: 1 0 100%; } .pp-row.act .pp-btn { margin: 2px 0 4px; height: 44px; }
  .pp-let { padding: 14px; margin-top: 20px; }  .pp-code .bx { gap: 5px; } .pp-code i { width: 34px; height: 46px; font-size: 22px; } .pp-code .gap { width: 5px; } .pp-code { flex-wrap: wrap; gap: 12px; } .pp-code .pp-btn { height: 46px; padding: 0 12px; flex: 1 0 100%; }
  .pp-sheet { padding-left: 18px; padding-right: 18px; } .pp-sheet .t { font-size: 19px; line-height: 26px; } .pp-lock { margin-top: 70px; }
}
@media (min-width: 900px) {
  .pp { --ppx: 28px; }
  .pp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; align-items: start; max-width: none; }
  .pp-sheet { left: 50%; right: auto; width: 520px; transform: translateX(-50%); bottom: 24px; border-radius: 26px; padding-bottom: 24px; }
}

/* the film's pre-roll (player.js preroll): over the picture, nothing else on screen but Back */
#pl .pv video.preroll { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; z-index: 3; }
#pl.in-pre > :not(.pv), #pl.in-pre .pv > :not(video) { visibility: hidden; }
#pl.in-pre [data-act=back] { visibility: visible; }
   /* (over the pre-roll video, which covered Back on desktop, C1) */
/* upright, the Stage under the pre-roll (owner 11-15, "use recommendation"): the film's backdrop dimmed as on the title page,
   its logo, "Your film starts right after this". No controls. Upright only (sideways the pre-roll fills the screen). */

/* Hand-painted tab icons and library names (user 11-14: "change all of them to hand drawn ones for the theme";
   "I like the gate icon"; "Do painted"), drawn in the brush of the osh TV mark: one white PNG each, used as a mask so
   they take the tab's colour. design/oshtv-libhead-icons-20261114. The library names drop their count. */
.tabbar .pi { display: block; width: 25px; height: 25px; flex: none; background: currentColor; -webkit-mask: var(--pi) center / contain no-repeat; mask: var(--pi) center / contain no-repeat; }
.pi-home { --pi: url(brand/ic/home.png); } .pi-film { --pi: url(brand/ic/movies.png); } .pi-tv { --pi: url(brand/ic/tv.png); }
.pi-anime { --pi: url(brand/ic/torii.png); } .pi-live { --pi: url(brand/ic/live.png); } .pi-search { --pi: url(brand/ic/search.png); } .pi-dl { --pi: url(brand/ic/dl.png); }
.phone .ph-title .pw { display: block; height: 32px; background: #fff; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35));
  -webkit-mask: var(--pw) left center / contain no-repeat; mask: var(--pw) left center / contain no-repeat; }
.pw-movies { --pw: url(brand/word-movies.png); aspect-ratio: 1945 / 510; } .pw-tv { --pw: url(brand/word-tv-shows.png); aspect-ratio: 2380 / 511; }
.pw-anime { --pw: url(brand/word-anime.png); aspect-ratio: 1821 / 537; }

/* The bottom bar as a floating pill (user 11-14: "do the rail on the bottom too similar to how it's on the side ...
   condensed and centered like a middle pill"; "center it to where OshTV was on main"): icons only, centred on the
   screen (the launch mark's axis), the painted mark on the current tab, Downloads last under a hairline as on the rail.
   The round Downloads button at the top of Home / the libraries goes while the pill shows it. */
body.phone:not(.rail):not(.compact) { --tabh: 78px; }
body.phone:not(.rail):not(.compact) .tabbar { left: calc(var(--sal) + (100% - var(--sal) - var(--sar)) / 2); right: auto; bottom: calc(10px + var(--sab)); width: max-content; height: 74px;   /* (max-content: Safari sized it to the room right of the centre, so the tabs stuck out of the pill) */ transform: translateX(-50%);
  max-width: calc(100% - var(--sal) - var(--sar) - 8px);   /* (centred in the part of the screen no camera strip covers: on the unfolded phone, the screen's centre) */
  padding: 0 12px; gap: 4px; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: rgba(24,26,32,.86);
  box-shadow: 0 8px 30px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.08); }
/* (11-15, user picked B of the pill board: roomier, each tab named under its icon) */
body.phone:not(.rail):not(.compact) .tabbar .it { flex: none; width: 66px; min-width: 38px; height: 62px;   /* (a real width, not only a flex basis: Safari sizes a max-content flex box from its items' content, so the pill came out ~354 px and the tabs spilled out) */ flex-direction: column; justify-content: center; gap: 3px; }
body.phone:not(.rail):not(.compact) .tabbar .it > span:not(.dlic) { display: block; font: 600 10.5px/12px Inter, system-ui, sans-serif; letter-spacing: .1px; white-space: nowrap; opacity: .85; }
body.phone:not(.rail):not(.compact) .tabbar .it.cur > span:not(.dlic) { opacity: 1; }
body.phone:not(.rail):not(.compact) .tabbar .it.cur::after { top: 50%; width: 64px; height: 58px; transform: translate(-50%, -50%); }
/* (two panes, behind riyaos.flag.twopane: the pill lives in one pane, so its tabs shrink and stay icons only) */
body.phone.two:not(.rail):not(.compact) .tabbar { height: 60px; padding: 6px; } body.phone.two:not(.rail):not(.compact) .tabbar .it { flex: 0 1 62px; width: 62px; height: 48px; flex-direction: row; gap: 0; }
body.phone.two:not(.rail):not(.compact) .tabbar .it > span:not(.dlic) { display: none; } body.phone.two:not(.rail):not(.compact) .tabbar .it.cur::after { width: 58px; height: 44px; }

/* Sideways, not compact (the unfolded phone on its side): the picture on the right, fading into the page, and the
   facts on the left half (user 11-14: "The hero art is overwhelming on landscape"; mockup approved the same day). */
@media (min-aspect-ratio: 1/1) {
  body.phone:not(.compact):not(.two) .title-pg.ph { --artb: min(100vh, calc(62vw * .5625)); }
  body.phone:not(.compact):not(.two) .title-pg.ph .t-art { left: auto; right: calc(-1 * var(--sar)); top: 0; width: calc(62% + var(--sar)); height: min(100vh, calc(62vw * .5625)); border-radius: 0; }
  body.phone:not(.compact):not(.two) .title-pg.ph .t-art::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, var(--pg) 0, color-mix(in srgb, var(--pg) 70%, transparent) 18%, transparent 46%), linear-gradient(transparent 62%, var(--pg)); }
  body.phone:not(.compact):not(.two) .title-pg.ph .t-head { padding: 64px 24px 0; max-width: 48%; }
  body.phone:not(.compact):not(.two) .title-pg.ph :is(.t-btns, .t-sum, .t-cr) { max-width: 46%; }   /* (.t-you sits inside .t-head, already narrow: 46% of it wrapped "1 hr 6 min left", QA A5/B8) */
  body.phone:not(.compact):not(.two) .title-pg.ph .t-btns { flex-wrap: nowrap; }
  body.phone:not(.compact):not(.two) .title-pg.ph :is(.t-tabs, .t-more) { margin-top: 28px; }
}

/* A title that isn't in the library opens as a pop-up card over the page, not a whole page (user 11-14: "on request
   maybe we can just do a pop up box"; mockup approved the same day). Only the phone's detail layer; a request opened
   as its own page (a link, a notification) stays a page. Sideways: the picture on the left, the facts on the right. */
.phone.has-detail.detail-pop:not(.two) #app { display: block; }
/* (owner 11-15: the page behind the request pop-up scrolled, and sideways the card showed scroll bars) the page under it
   is held still while it is open; the card scrolls on its own without carrying on into the page, and with no bars */
html:has(body.phone.has-detail.detail-pop:not(.two)), body.phone.has-detail.detail-pop:not(.two) { overflow: hidden; overscroll-behavior: none; }
.phone.has-detail.detail-pop:not(.two) #detail { overscroll-behavior: contain; }
.phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req { scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req::-webkit-scrollbar { display: none; }
.phone.has-detail.detail-pop:not(.two) #detail { position: fixed; inset: 0; z-index: 60; padding: var(--sat) var(--sar) var(--sab) var(--sal);   /* (B5: clear of the side strip / status area) */ display: flex; align-items: center; justify-content: center;
  background: rgba(0,8,12,.62); overflow: hidden; }
.phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req { position: relative; width: min(440px, calc(100vw - 40px - var(--sal) - var(--sar))); max-height: min(86vh, calc(100vh - var(--sat) - var(--sab) - 24px), 760px); min-height: 0; overflow: auto; overscroll-behavior: contain;
  border-radius: 26px; background: var(--sheet); box-shadow: var(--card-shadow); padding: 0 0 22px; }
.phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req .t-art { position: relative; left: 0; right: 0; top: 0; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 26px 26px 0 0; }
.phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req .t-art::after { display: none; }
.phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req :is(.t-side, .t-fade, .h-top, .t-band, .rq-like, .t-cr) { display: none; }
.phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req .t-head { padding: 16px 22px 0; max-width: none; text-align: left; align-items: flex-start; }
.phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req :is(.t-btns, .rq-line, .t-sum, .t-capt, #rqdl) { margin-left: 22px; margin-right: 22px; padding-left: 0; padding-right: 0; max-width: none; }
.phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req .t-sum { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req .backbtn { position: absolute; left: auto; right: 12px; top: 12px; z-index: 3; }
@media (min-aspect-ratio: 1/1) {
  .phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req { width: min(820px, calc(100vw - 2 * var(--sar) - 40px)); display: grid; grid-template-columns: 44% 1fr; column-gap: 0; align-content: start; padding: 0; }
  .phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req .t-art { grid-column: 1; grid-row: 1 / span 8; height: 100%; aspect-ratio: auto; min-height: 100%; border-radius: 26px 0 0 26px; }
  .phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req > :not(.t-art):not(.sheetwrap):not(.rq-toast):not(.backbtn) { grid-column: 2; }
  .phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req #rqdl { padding-bottom: 22px; }
}
/* (a narrow phone without the side rail: the six tabs, icons only) */
@media (max-width: 480px) { body.phone:not(.rail):not(.compact) { --tabh: 64px; } body.phone:not(.rail):not(.compact) .tabbar { height: 60px; padding: 6px 4px; gap: 0; } body.phone:not(.rail):not(.compact) .tabbar .it { flex: 0 1 62px; width: 62px; min-width: 44px; height: 48px; }
  body.phone:not(.rail):not(.compact) .tabbar .it > span:not(.dlic) { display: none; } body.phone:not(.rail):not(.compact) .tabbar .it.cur::after { width: 58px; height: 44px; } }

/* the trailer in the title picture (title.js): over the still, fading in once it really plays; a sound button on it */
.title-pg.ph .t-art { overflow: hidden; }
.title-pg.ph .t-art video.t-trailer { position: absolute; inset: 0 0 auto 0; width: 100%; height: calc(100% + 2px);   /* (2 px past the bottom: the box is a fraction of a pixel tall and Safari rounded the video a row short, so a row of the title art showed under it, 11-15) */ object-fit: cover; opacity: 0; transition: opacity .6s ease; border-radius: inherit; }
.title-pg.ph .t-art.trl video.t-trailer { opacity: 1; }
.title-pg.ph .t-snd { position: absolute; z-index: 5; width: 38px; height: 38px; right: 14px; top: calc(56.25vw - 52px); }
.title-pg.ph .t-snd::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; }      /* (a 46 px touch area around the 38 px button) */
@media (min-aspect-ratio: 1/1) { body.phone:not(.compact):not(.two) .title-pg.ph .t-snd { top: calc(min(100vh, 62vw * .5625) - 56px); right: calc(14px + var(--sar)); } }
.rt { white-space: nowrap; }   /* a rating's icon and its number never split (QA B9) */

/* ---- Overnight 11-15, round 1 (design audit D-x, approved by the product owner; QA items) ---- */
/* D-3 (+ QA B10, C10): one look for a chosen chip on the phone: Lagoon with white 600 type, like the libraries' and
   Search's. Live's filters and its On now / Guide switch were white / grey and 30 px; every chip is now 32 px, 14 px
   type, 16 px sides, .08 fill when not chosen. The filter row scrolls (the bigger chips push "Kids" past a folded
   row) with the page's own padding at both ends, so its last chip comes to rest clear of the side strip. The player's
   own panel (.seg, .lp-g) is not touched. */
body.phone .lv .chipf { height: 32px; padding: 0 16px; font: 500 14px/1 Inter; background: rgba(255,255,255,.08); color: var(--t2); }
body.phone .lv .chipf.on { background: var(--tp-sub); color: #fff; font-weight: 600; }
body.phone .lv .segc { padding: 3px; }
body.phone .lv .segc a { height: 32px; padding: 0 16px; font-size: 14px; }
body.phone .lv .segc a.on { background: var(--tp-sub); color: #fff; }
body.phone .lv.lay-one .chipsr { scroll-padding-inline: var(--gut, 20px); }
body.phone .lv.lay-one.v-guide .chipsr { padding-left: var(--gut, 20px); margin-left: 0; scroll-padding-left: var(--gut, 20px); scroll-padding-right: calc(var(--gut, 20px) + var(--sar)); }
/* D-1: one page gutter on the phone: 20 px from the safe edge on every page (Search, Downloads, Live and People were
   16 / 24 / 28 against the libraries' 20, so content jumped sideways between tabs). Rules above use var(--gut, 20px). */
body.phone { --gut: 20px; }
body.phone .pp { --ppx: var(--gut); }
/* D-2: one page header on the phone. Tab pages (Live, Downloads) put their name on the libraries' top line: 26/32 650
   at the safe top + 12, on the gutter. No Back on a page that is a tab where it is shown: Downloads is a tab on the
   rail, in the pill and in the sideways word bar; only a narrow phone without the rail (Safari <= 480 px: no room in
   the bar, it opens from the top button) keeps Back, on the name's row. People (always pushed) has Back + name on
   one row the same way. No painted page names this round. */
body.phone { --hdr-top: calc(var(--sat) + 12px); }
body.phone .lv.lay-one .lv-top .title, body.phone .dl-pg.ph .dl-head .title, body.phone .pp-name { font: var(--type-page); letter-spacing: -.5px; }
body.phone .lv.lay-one, body.phone .lv.lay-one.v-guide, body.phone .lv.lay-one.vshort { padding-top: var(--hdr-top); }
body.phone .lv.lay-one .lv-top { height: 32px; }
body.phone .dl-pg.ph { padding-top: var(--hdr-top); }
body.phone .dl-pg.ph .dl-head { padding-top: 0; }
body.phone .dl-pg.ph .backbtn { display: none; }
@media (max-width: 480px) {
  body.phone:not(.rail):not(.compact) .dl-pg.ph .backbtn { display: flex; position: absolute; left: var(--gut); top: calc(var(--hdr-top) - 3px); margin: 0; }
  body.phone:not(.rail):not(.compact) .dl-pg.ph .dl-head { padding-left: calc(var(--gut) + 50px); }
}
/* Downloads (this phone) is no tab since 11-16 (it opens from the profile menu): Back + name on one row in every
   shape, like People; none on the offline landing (dlphone.js: no .has-back) */
body.phone .dlx-pg.ph.has-back .backbtn { display: flex; position: absolute; left: var(--gut); top: calc(var(--hdr-top) - 3px); margin: 0; }
body.phone .dlx-pg.ph.has-back .dl-head { padding-left: calc(var(--gut) + 50px); }
body.phone .pp { padding-top: var(--hdr-top); }
body.phone .pp-top { height: 32px; gap: 12px; }
/* D-4: one main-action button and one sheet. On the phone the request sheet's main choice takes the Lagoon paint with
   the dark ink (its "Starts searching now" line in the same ink, full strength: >= 4.5:1 on the paint, like Resume);
   Cancel is the grey pill; the sheet is #062833 like People's (it was the title's art gradient). Two heights: 44
   inline, 50 for a button that spans its column (title Play / Resume, Watch live, sheet buttons, People's code
   button). People's "Sign it out" stays WHITE (destructive is not the go paint): only its height changes. */
.phone .rq-sheet { background: var(--sheet); }
.phone .rq-go { min-height: 50px; }
.phone .rq-go.main { background: var(--osh-paint) center / 100% 100%; color: var(--osh-ink); }
.phone .rq-go.main .gl { opacity: 1; color: var(--osh-ink); }
.phone .rq-foot { margin-top: 10px; }
.phone .rq-cancel { width: 100%; height: var(--btn-h-lg); justify-content: center; border-radius: var(--r-pill); background: var(--fill-pill); color: #fff; font: var(--type-btn); }
.pp-sb .pp-btn { height: 50px; font-size: 15px; }
.pp-code .pp-btn, .pp-code .pp-btn.big { height: 50px; }
body.phone .lv-wl .btn { height: 50px; }
body.phone .title-pg.ph .t-btns .btn { height: 50px; }
/* D-6: no "…" left on the phone (the 11-13 M6 rule): Live's channel rows and its top card, and a Downloads card's
   title wrap to two lines (then clip). Rows and cards grow to fit; the guide grid's cells stay single-line. Where
   the folded top card has its round Play, the title stops 12 px short of it. */
body.phone .lv .pc-b .bs.ell, body.phone .lv .cr-t .label.ell, body.phone .dcard .d-t.ell { white-space: normal; text-overflow: clip; overflow: hidden; min-width: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
body.phone .lv .cr { height: auto; min-height: 74px; padding-top: 7px; padding-bottom: 7px; }
body.phone .lv.lay-one.short .cr { height: auto; min-height: 64px; }
body.phone .lv.lay-one.vshort .cr { height: auto; min-height: 60px; }
body.phone .lv.lay-one.short .pc-b :is(.bs, .pc-sc) { padding-right: calc(42px + 12px); }   /* (title and meta only: the progress line keeps the full width) */
body.phone .dcard { height: auto; min-height: 136px; }
body.phone .wait .dcard { height: auto; min-height: 96px; }
body.phone .wait .dcard .d-body { padding-top: 10px; padding-bottom: 10px; }
/* D-9: a pop-up card closes with ×, not a Back chevron pointing left from its right-hand corner (request.js; same 38 px
   dark glass). As a page of its own, or a pane, the request keeps Back. */
.title-pg.req .backbtn .i-close { display: none; }
.phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req .backbtn .i-back { display: none; }
.phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req .backbtn .i-close { display: block; }
.phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req .backbtn { background: rgba(0,0,0,.38); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
/* D-7: one page colour. A page with no picture gets Search's Lagoon glow at the top (Downloads had a warm brown one,
   Live none), 420 px tall, out to the screen's edges. */
body.phone .dl-pg.ph .dl-glow { height: 420px; background: radial-gradient(90% 70% at 0 0, color-mix(in srgb, var(--tp-deep) 85%, transparent), transparent 70%),
  radial-gradient(70% 60% at 100% 0, color-mix(in srgb, var(--tp-d2) 60%, transparent), transparent 70%); }
body.phone .lv.lay-one { background: radial-gradient(90% 70% at 0 0, color-mix(in srgb, var(--tp-deep) 85%, transparent), transparent 70%) 0 0 / 100% 420px no-repeat,
  radial-gradient(70% 60% at 100% 0, color-mix(in srgb, var(--tp-d2) 60%, transparent), transparent 70%) 0 0 / 100% 420px no-repeat; }
/* D-11: sheets arrive and leave the same way: the sheet slides up 220 ms (ease-out) over a veil that fades in 160 ms;
   Cancel / a tap outside reverses it in 160 ms, then it is removed (request.js, people.js). Reduce Motion: no slide,
   the sheet fades. `translate` (not transform) so the desktop People sheet keeps its own centring transform. */
@keyframes osh-sheet-in { from { translate: 0 100%; } }
@keyframes osh-sheet-out { to { translate: 0 100%; } }
@keyframes osh-veil-in { from { opacity: 0; } }
@keyframes osh-veil-out { to { opacity: 0; } }
.phone .sheetwrap.open .sheet-veil, .pp-scrim.enter { animation: osh-veil-in .16s ease-out both; }
.phone .sheetwrap.open .rq-sheet, .pp-sheet.enter { animation: osh-sheet-in .22s cubic-bezier(.2,.8,.2,1) both; }
.phone .sheetwrap.leaving .sheet-veil, .pp-scrim.leaving { animation: osh-veil-out .16s ease-in both; pointer-events: none; }
.phone .sheetwrap.leaving .rq-sheet, .pp-sheet.leaving { animation: osh-sheet-out .16s cubic-bezier(.4,0,1,1) both; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .phone .sheetwrap.open .rq-sheet, .pp-sheet.enter { animation-name: osh-veil-in; }
  .phone .sheetwrap.leaving .rq-sheet, .pp-sheet.leaving { animation-name: osh-veil-out; }
}
/* D-5: one empty state on the phone: the quiet card (.06 fill, radius 16, 22/20 padding; heading 18/650 white, a line
   15/21 grey, a button 18 px under it) for Search with no results, Downloads with nothing downloading and People
   when it can't open. Its left edge is on the page gutter; no empty space under its last line. */
body.phone .search-pg.ph .s-empty, body.phone .pp-lock, body.phone .dl-idle { position: relative; margin: 22px var(--gut) 0; padding: 22px 20px; border-radius: var(--r-card); background: var(--fill-card); max-width: none; }
body.phone .pp-lock { margin: 22px 0 0; }
body.phone .search-pg.ph .s-empty .eh, body.phone .pp-lock .t, body.phone .dl-idle .headline { font: var(--type-card-h); letter-spacing: -.2px; color: #fff; }
body.phone .search-pg.ph .s-empty .eb, body.phone .pp-lock .b, body.phone .dl-idle .cap { font: var(--type-card-b); color: var(--t2); margin: 6px 0 0; }
body.phone .search-pg.ph .s-empty .btn, body.phone .pp-lock .pp-btn { margin-top: 18px; }
/* ---- Unify B (design/unify-20261116, the owner's "consistent"; tokens in :root) ----
   B3: one header for a page opened from somewhere (Your requests, My List, a Search grid, like Downloads and People):
   Back and the page's name on one row, the name in the page type (26/32 650) at the safe top + 12, its line under it
   (13.5/18). Your requests had no Back at all in the app (D-2 hid it when Downloads, its old frame, was a tab); My List
   and the grids put Back on a row of its own above a smaller (24/30 600) name. Search grids' Movies / Shows chips stay
   on the gutter under the name. */
body.phone .rq-pg.ph .backbtn, body.phone .ml-pg.ph .backbtn { display: flex; position: absolute; left: var(--gut); top: calc(var(--hdr-top) - 3px); margin: 0; }
body.phone .rq-pg.ph .dl-head { padding-left: calc(var(--gut) + 50px); }
body.phone .ml-pg.ph { padding-top: var(--hdr-top); }
body.phone .ml-pg.ph .ml-head { padding: 0 var(--gut); margin-bottom: 18px; }
body.phone .ml-pg.ph .ml-head > :is(.title, .label) { margin-left: 50px; }
body.phone .ml-pg.ph .ml-head .title { font: var(--type-page); letter-spacing: -.5px; min-height: 32px; }
body.phone .ml-pg.ph .ml-head .label { font: 400 13.5px/18px Inter; margin-top: 6px; }
/* B4: one empty / error state on the phone: D-5's quiet card (above) for My List (empty, didn't load, not available),
   a Search grid (nothing here, didn't load) and Downloads with nothing on the phone. They were bare text in three
   different type sizes and greys. */
body.phone .ml-pg.ph .ml-empty, body.phone .dl-pg.ph .dlx-none { margin: 22px var(--gut) 0; padding: 22px 20px; border-radius: var(--r-card); background: var(--fill-card); max-width: none; }
body.phone .ml-pg.ph .ml-empty .headline, body.phone .dl-pg.ph .dlx-none .headline { font: var(--type-card-h); letter-spacing: -.2px; color: #fff; }
body.phone .ml-pg.ph .ml-empty .cap, body.phone .dl-pg.ph .dlx-none .cap { font: var(--type-card-b); color: var(--t2); margin: 6px 0 0; max-width: none; }
body.phone .ml-pg.ph .ml-empty .btn { margin-top: 18px; }
body.phone .ml-pg.ph .ml-empty .ml-plus { width: 48px; height: 48px; margin-bottom: 14px; }
/* B4+ (owner 11-16, approved): a page that didn't load ("That didn't load", "Can't reach OshTV right now", Live's "No
   antenna channels right now") wears the same quiet card on the phone, near the top instead of 160 px down the page;
   its Try again / Back buttons stay as they are. */
body.phone .empty { margin: calc(var(--hdr-top) + 28px) var(--gut) 0; padding: 22px 20px; border-radius: var(--r-card); background: var(--fill-card); }
body.phone .empty .headline { font: var(--type-card-h); letter-spacing: -.2px; color: #fff; }
body.phone .empty .cap { font: var(--type-card-b); color: var(--t2); margin: 6px 0 0; }
body.phone .empty .empty-btns { margin-top: 18px; }
/* P5 (owner 11-16): one way to mark "requested": the words on a glass chip, as on Your requests' and Search's posters
   (8 px glass, a hairline, 650 white). The title page's status chip drops its hollow dot and wears the same glass. */
.title-pg.req .chip.big { background: rgba(14,14,18,.74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: #fff; font-weight: 650; }
/* B7: one icon size in a round button on the pages (Back, info, Share, My List, Trailer: 19 / 20 / 21 px before) */
:is(.home, .lib-pg, .title-pg, .ml-pg, .dl-pg, .pp) .btn.round:not(.acct-o) > svg.ic { width: var(--ic-btn); height: var(--ic-btn); }
/* QA B10 (title band): the band's Back keeps its 38 px look but gets a 44 px touch area, like the floating Back */
body.phone .title-pg.ph .t-band .btn.round { position: relative; }
body.phone .title-pg.ph .t-band .btn.round::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; }
/* QA B11: sideways (the compact layout) the title page's Back floats like it does upright (it scrolled away with the
   page): fixed under the bar of words, on the dark glass */
body.compact:not(.two) .title-pg.ph:not(.req) .backbtn { position: fixed; top: calc(var(--ctop) + 12px); left: calc(var(--sal) + 16px); z-index: 7; }
/* QA C9: upright full screen on a narrow phone (folded) the top bar kept the sideways layout's 56 px margins: "Ends
   3:38 AM" broke over two lines between Back and the buttons. It uses the upright player's edges (12 px from the
   safe area) and its words stay on one line. */

/* From the start (owner 11-15; NEEDS the owner's look before release): a quiet text button beside Resume. Upright it ends
   the "… left" line; under the buttons elsewhere; after the line on desktop. 44 px touch height, drawn as text. */
.t-fs { display: inline-flex; align-items: center; gap: 6px; flex: none; color: rgba(255,255,255,.86); text-decoration: none; font: 600 14px/20px Inter, system-ui, sans-serif;
  padding: 12px 0; margin: -12px 0; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.t-fs .ic { flex: none; }
body.phone:not(.compact):not(.two) .title-pg.ph .t-you:has(.t-fs) { align-self: stretch; } .t-you .t-fs { margin-left: auto; }
.t-capt .t-fs { margin-left: 14px; font-size: 13px; vertical-align: middle; } .t-capt:has(.t-fs) { margin-top: 16px; }   /* (its 44 px touch box must not reach up over the buttons) */
.h-btns .t-fs { margin: 0 0 0 10px; padding: 0 12px; height: 44px; border-radius: 22px; font-size: 15px; }
.h-btns .t-fs:is(:hover, :focus-visible) { background: rgba(255,255,255,.1); outline: none; color: #fff; }
/* request pop-up card: never sideways (the hidden "Requested" toast widened it and it scrolled sideways, with a bar; owner 11-15).
   Last in the file: the card's own rule sets overflow: auto after the pop-up block. */
.phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req { overflow-x: hidden; }
/* The long-press menu on titles (owner 11-15; longpress.js). People's / the request sheet's look (D-4, D-11): #062833,
   the veil, the grab handle, slides up 220 ms and down 160 ms; one Lagoon main button, the other actions a quiet list,
   Cancel the grey pill; every button 50 px. Narrow: the full width at the bottom; wider: 560 px, centred. A computer:
   a 520 px card 24 px off the bottom. While it is up the pill / rail is hidden (as for People's sheets). */
a.pt, a.tile.land { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
body:has(.lp-sheet) #chrome { visibility: hidden; }
.lp-gone { display: none !important; }
.lp-scrim { position: fixed; inset: 0; z-index: 70; background: var(--veil); }
.lp-sheet { position: fixed; z-index: 71; bottom: 0; left: calc(50% + (var(--sal) - var(--sar)) / 2); transform: translateX(-50%);
  width: min(560px, calc(100vw - var(--sal) - var(--sar))); max-height: calc(100vh - var(--sat) - 12px); max-height: calc(100dvh - var(--sat) - 12px); overflow-y: auto; overscroll-behavior: contain;
  border-radius: var(--r-sheet) var(--r-sheet) 0 0; background: var(--sheet); box-shadow: var(--sheet-shadow);
  padding: 12px 20px calc(20px + var(--sab)); color: #fff; outline: none; -webkit-user-select: none; user-select: none; }
.lp-sheet .grab { width: 38px; height: 5px; border-radius: 3px; background: var(--grab); margin: 0 auto 14px; }
.lp-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.lp-pic { flex: none; width: 54px; height: 81px; border-radius: 8px; }
.lp-head .lp-pic.land { width: 112px; height: 63px; }   /* (.lp-head: the bigger-posters ".phone .land" tile size, appended later, made it 271 x 153) */
.lp-ht { min-width: 0; flex: 1; }
.lp-t { font: var(--type-sheet-t); letter-spacing: -.3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-m { font: 400 14px/20px Inter; color: var(--t2); margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-acts { display: flex; flex-direction: column; border-radius: var(--r-card); background: var(--fill-card); overflow: hidden; }
.lp-act { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 50px; padding: 0 16px; border: 0; background: none; color: #fff;
  font: 600 16px/20px Inter; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.lp-act + .lp-act { box-shadow: inset 0 1px 0 var(--sep); }
.lp-act .lp-ic { display: flex; width: 22px; justify-content: center; flex: none; opacity: .9; }
.lp-act .lp-l { flex: 1; min-width: 0; }
.lp-act .lp-s { font: 500 14px/20px Inter; color: var(--t2); flex: none; }
.lp-act[aria-disabled="true"] { opacity: .45; cursor: default; }
.lp-act .lp-undo { transform: scaleX(-1) rotate(-90deg); }
/* the main action: the Lagoon paint and its dark ink, its own pill above the list (as Resume / the request sheet's choice) */
.lp-act.main { justify-content: center; gap: 10px; border-radius: 999px; margin-bottom: 10px; background: var(--osh-paint) center / 100% 100%; color: var(--osh-ink); text-align: center; }
.lp-act.main .lp-ic { width: auto; opacity: 1; } .lp-act.main .lp-l { flex: none; } .lp-act.main .lp-s { color: var(--osh-ink); opacity: .78; }
.lp-act.main .lp-s::before { content: "·"; margin-right: 8px; }
.lp-acts:has(> .lp-act.main) { background: none; overflow: visible; border-radius: 0; }
.lp-acts > .lp-act.main ~ .lp-act { background: rgba(255,255,255,.06); }
.lp-acts > .lp-act.main + .lp-act { border-radius: 16px 16px 0 0; box-shadow: none; }
.lp-acts > .lp-act:last-child:not(.main) { border-radius: 0 0 16px 16px; }
.lp-acts > .lp-act.main + .lp-act:last-child { border-radius: 16px; }
.lp-cancel { display: flex; align-items: center; justify-content: center; width: 100%; height: var(--btn-h-lg); margin-top: 12px; border: 0; border-radius: var(--r-pill);
  background: var(--fill-pill); color: #fff; font: var(--type-btn); cursor: pointer; }
.lp-act:focus-visible, .lp-cancel:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
@media (hover: hover) { .lp-act:not(.main):not([aria-disabled="true"]):hover { background-color: rgba(255,255,255,.12); } .lp-cancel:hover { background: rgba(255,255,255,.2); } }
@media (hover: none) { .lp-act:not(.main):active, .lp-cancel:active { filter: brightness(1.25); } .lp-act.main:active { filter: brightness(.88); } }
/* a low window (sideways phones): a shorter header, 46 px list rows (the main and Cancel stay 50) */
@media (max-height: 520px) {
  .lp-sheet { padding-top: 8px; } .lp-sheet .grab { margin-bottom: 8px; }
  .lp-head { margin-bottom: 10px; } .lp-pic { width: 40px; height: 60px; } .lp-head .lp-pic.land { width: 88px; height: 50px; }
  .lp-acts > .lp-act:not(.main) { min-height: 46px; }
}
body:not(.phone) .lp-sheet { bottom: 24px; width: 520px; border-radius: 26px; padding-bottom: 20px; max-height: calc(100vh - 48px); }
.lp-scrim.enter { animation: osh-veil-in .16s ease-out both; }
.lp-sheet.enter { animation: osh-sheet-in .22s cubic-bezier(.2,.8,.2,1) both; }
.lp-scrim.leaving { animation: osh-veil-out .16s ease-in both; pointer-events: none; }
.lp-sheet.leaving { animation: osh-sheet-out .16s cubic-bezier(.4,0,1,1) both; pointer-events: none; }
body:not(.phone) .lp-sheet.enter { animation-name: osh-lp-card-in; }
body:not(.phone) .lp-sheet.leaving { animation-name: osh-veil-out; }
@keyframes osh-lp-card-in { from { translate: 0 40px; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lp-sheet.enter { animation-name: osh-veil-in; } .lp-sheet.leaving { animation-name: osh-veil-out; } }
/* its toast: what was done, and Undo (44 px) where it can be undone. Where the request toast sits. */
.lp-toast { position: fixed; left: 50%; top: 92px; transform: translateX(-50%); z-index: 72; display: flex; align-items: center; gap: 6px; min-height: 48px; padding: 2px 4px 2px 20px;
  border-radius: var(--r-pill); background: var(--toast-bg); box-shadow: var(--toast-shadow); font: var(--type-toast); color: #fff;
  opacity: 0; transition: opacity .25s; pointer-events: none; white-space: nowrap; }
.lp-toast:not(:has(.lp-undo)) { padding-right: 20px; }
.lp-toast.on { opacity: 1; pointer-events: auto; }
.lp-toast .lp-undo { height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--lagoon-lt); font: 700 14.5px/1 Inter; cursor: pointer; }
.lp-toast .lp-undo:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.phone .lp-toast { top: calc(54px + var(--sat)); left: calc(50% + (var(--sal) - var(--sar)) / 2); max-width: calc(100vw - 40px - var(--sal) - var(--sar)); }
/* long-press menu: the page under it is held still while it is open (owner 11-15: "It doesn't lock scrolling") — the
   same lock as the request pop-up; the veil takes no panning, the sheet scrolls on its own without carrying on */
html:has(#lpsheet), body:has(#lpsheet) { overflow: hidden; overscroll-behavior: none; }
.lp-scrim { touch-action: none; overscroll-behavior: none; }
#lpsheet { overscroll-behavior: contain; touch-action: pan-y; }
/* long-press menu as a floating card on the phone (owner 11-15: "floating rather than coming from bottom, more of a
   card"): centred on the screen (clear of the side strip), rounded all round, a quick fade + slight grow instead of the
   slide up; the same family as the request pop-up card */
body.phone .lp-sheet { top: 50%; bottom: auto; transform: translate(-50%, -50%); width: min(400px, calc(100vw - var(--sal) - var(--sar) - 32px));
  max-height: calc(100vh - var(--sat) - var(--sab) - 32px); max-height: calc(100dvh - var(--sat) - var(--sab) - 32px);
  border-radius: 26px; padding: 18px 20px 20px; box-shadow: var(--card-shadow); }
body.phone .lp-sheet .grab { display: none; }
@keyframes osh-lp-pop-in { from { opacity: 0; scale: .94; } }
@keyframes osh-lp-pop-out { to { opacity: 0; scale: .96; } }
body.phone .lp-sheet.enter { animation: osh-lp-pop-in .2s cubic-bezier(.2,.8,.2,1) both; }
body.phone .lp-sheet.leaving { animation: osh-lp-pop-out .14s ease-in both; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { body.phone .lp-sheet.enter { animation-name: osh-veil-in; } body.phone .lp-sheet.leaving { animation-name: osh-veil-out; } }
/* In the app no interface text can be selected, as in a native app (owner 11-15: a long press tinted the whole page blue —
   iOS's text-selection highlight). Fields stay selectable. A browser keeps normal selection. */
html.in-app body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
html.in-app :is(input, textarea, [contenteditable=true]) { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }

/* ---- Picture in Picture + AirPlay (owner 11-15, quick ones): a button only where this browser / the app can do it
   (player.js / liveplayer.js set can-pip / can-air from media.js); lit while in use */
:is(#pl, #lp):not(.can-pip) [data-act=pip], :is(#pl, #lp):not(.can-air) [data-act=air] { display: none !important; }
:is(#pl, #lp).in-pip [data-act=pip], :is(#pl, #lp).air-on [data-act=air] { color: var(--pacc, #1DC2D0); }

/* ---- the film player's touch gestures (owner 11-15, quick ones #3; player.js): double-tap ripple + "−10" / "+10",
   the picture following a swipe down, pinch Fill / Fit and its word */
#pl .pv { touch-action: pan-y; }

#pl.fillpic .pv > video:not(.preroll) { object-fit: cover !important; }
#pl.fitpic .pv > video:not(.preroll) { object-fit: contain !important; }
#pl .pv.settle { transition: transform .2s cubic-bezier(.2,.8,.2,1); }
#pl.dragging .pv { will-change: transform; z-index: 20; }

#pl .dtap { position: absolute; top: 0; bottom: 0; width: 40%; z-index: 4; pointer-events: none; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.10); opacity: 0; transition: opacity .18s; }
#pl .dtap.l { left: 0; border-radius: 0 50% 50% 0 / 0 50% 50% 0; }
#pl .dtap.r { right: 0; border-radius: 50% 0 0 50% / 50% 0 0 50%; }
#pl .dtap.on { opacity: 1; }
#pl .dtap .dt-n { position: relative; z-index: 1; font: 700 22px/1 Inter; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.55); font-variant-numeric: tabular-nums; }
#pl .dtap .rp { position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: rgba(255,255,255,.32); animation: osh-dtap .55s ease-out forwards; }
@keyframes osh-dtap { from { transform: scale(.4); opacity: 1; } to { transform: scale(7); opacity: 0; } }
#pl .ghint { position: absolute; left: 50%; top: 50%; z-index: 5; transform: translate(-50%, -50%); padding: 10px 18px; border-radius: 999px; background: rgba(11,11,15,.62);
  font: 600 16px/1 Inter; color: #fff; opacity: 0; pointer-events: none; transition: opacity .16s; }
#pl .ghint.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { #pl .dtap .rp { animation: none; opacity: 0; } #pl .pv.settle { transition: none; } }

/* ---- pull to refresh (owner 11-15, quick ones #4; ptr.js): a small Lagoon spinner that comes down from the top edge */
#ptr { position: fixed; z-index: 60; left: 50%; top: calc(var(--sat, 0px) + 6px); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sheet); box-shadow: 0 6px 18px rgba(0,0,0,.45), 0 0 0 1px rgba(29,194,208,.22); opacity: 0; pointer-events: none;
  transform: translate3d(-50%, -48px, 0); will-change: transform, opacity; }
#ptr .tr { stroke: rgba(255,255,255,.14); }
#ptr .ar { stroke: var(--lagoon); transition: stroke-dasharray .08s linear; }
#ptr.ready { box-shadow: 0 6px 18px rgba(0,0,0,.45), 0 0 0 1.5px var(--lagoon); }
#ptr.spin svg { animation: osh-ptr-spin .8s linear infinite; }
#ptr.back { transition: transform .24s cubic-bezier(.4,0,.2,1), opacity .2s; }
body.rail-r #ptr { left: calc(50% - var(--sar, 0px) / 2); }
body.rail-l #ptr { left: calc(50% + var(--sal, 0px) / 2); }
@keyframes osh-ptr-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { #ptr.spin svg { animation-duration: 2.4s; } }

/* ---- Share (owner 11-15, quick ones #5; share.js): on the upright phone page a round icon after Play / Trailer
   (its words are for VoiceOver); a computer has the labelled button */
/* (PO 11-16, "a whole row is labelled or a whole row is icons": a page without My List keeps Share as the round icon it
   was; with My List, Share and My List carry their words beside a labelled Trailer from 521 px, all icons under that) */
body.phone:not(.compact):not(.two) .title-pg.ph .t-btns:not(:has(.t-ml)) .btn.round.t-share { flex: none; width: 50px; padding: 0; gap: 0; }
body.phone:not(.compact):not(.two) .title-pg.ph .t-btns:not(:has(.t-ml)) .btn.round.t-share .lbl { display: none; }
/* (a narrow window, e.g. 373 px with the 84 px strip = a 289 px column: Trailer turns into the same round icon (46 px) and the
   row tightens so Play keeps its words and Share stays clear of the strip; Trailer's name stays for VoiceOver via aria-label) */
@media (max-width: 420px) {
  body.phone:not(.compact):not(.two) .title-pg.ph .t-btns { gap: 8px; }
  body.phone:not(.compact):not(.two) .title-pg.ph .t-btns .btn.w { min-width: 0; padding: 0 12px; gap: 7px; font-size: 14.5px; white-space: nowrap; }
  body.phone:not(.compact):not(.two) .title-pg.ph .t-btns .btn.round, body.phone:not(.compact):not(.two) .title-pg.ph .t-btns .btn.round.t-share { flex: none; width: 46px; height: 46px; padding: 0; gap: 0; align-self: center; }
  body.phone:not(.compact):not(.two) .title-pg.ph .t-btns .btn.round .lbl { display: none; }
}

/* ---- My List (owner 11-16; mylist.js): Home's row heading opens the list's page (a quiet chevron after the name; the
   whole heading is the link, with a 44 px tall touch area) */
a.rowh.rowlink { position: relative; display: inline-flex; align-items: center; gap: 3px; color: #fff; text-decoration: none; }
a.rowh.rowlink .chev { transform: scaleX(-1); opacity: .62; margin-top: 1px; }
a.rowh.rowlink::after { content: ""; position: absolute; inset: -12px -10px; }
a.rowh.rowlink:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 6px; }
@media (hover: hover) { a.rowh.rowlink:hover .chev { opacity: 1; } }
/* My List's page: Downloads' page frame (Back, the page title, the count under it) with the library grid's tiles */
.ml-pg { position: relative; min-height: 100vh; padding-bottom: 80px; }
.ml-pg.dt { padding-top: 100px; }
.ml-head { position: relative; padding: 0 var(--pad); margin-bottom: 26px; }
.ml-head .title { font: 600 34px/40px Inter; letter-spacing: -.6px; }
.ml-head .label { margin-top: 6px; font: 400 14px/20px Inter; }
.ml-head .label:empty { display: none; }
.ml-pg.ph { padding-top: calc(8px + var(--sat)); }
.ml-pg.ph .backbtn { position: relative; margin-left: var(--gut, 20px); width: 38px; height: 38px; display: flex; }
.ml-pg.ph .ml-head { padding: 12px var(--gut, 20px) 0; margin-bottom: 18px; }
.ml-pg.ph .ml-head .title { font-size: 24px; line-height: 30px; letter-spacing: -.4px; }
.ml-pg.ph .ml-head .label { font-size: 13.5px; margin-top: 4px; }
.ml-pg.ph .grid { padding-left: var(--gut, 20px); padding-right: var(--gut, 20px); }
.ml-empty { padding: 40px var(--pad); max-width: 520px; }
.ml-pg.ph .ml-empty { padding: 36px var(--gut, 20px); }
.ml-empty .headline { font: 600 19px/25px Inter; }
.ml-empty .cap { margin-top: 8px; font: 400 14.5px/21px Inter; color: rgba(255,255,255,.66); }
.ml-empty .ic.inl { display: inline-block; vertical-align: -3px; }
.ml-plus { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1.75px rgba(255,255,255,.62); }
/* the title page's My List button: + to save, a check once saved (drawn on, 220 ms); upright phone = a round icon like
   Share (its words are for VoiceOver); a computer: "+ My List" / "check My List" */
.t-ml .ml-c, .t-ml.on .ml-p { display: none; }
.t-ml.on .ml-c { display: block; }
.t-ml.on .ml-c path { stroke-dasharray: 20; animation: osh-ml-draw .22s cubic-bezier(.2,.8,.2,1) both; }
@keyframes osh-ml-draw { from { stroke-dashoffset: 20; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .t-ml.on .ml-c path { animation: none; } }
@media (max-width: 420px) { body.phone:not(.compact):not(.two) .title-pg.ph .t-btns .btn.round.t-ml { width: 46px; height: 46px; } }
/* (with My List in the row, a narrow row (the folded phone: 333 px beside the strip; sideways: the facts column) has
   every button but Play as a round icon, so Play keeps its words and nothing is cut) */
/* (decided by the ROW's own width, not the window's: sideways the facts column is ~380 px of a 951 px window) */
body.phone:not(.compact):not(.two) .title-pg.ph .t-btns:has(.t-ml) { container: tbtns / inline-size; }
@container tbtns (max-width: 540px) {
  .t-btns .btn.round { flex: none !important; width: 50px !important; padding: 0 !important; gap: 0 !important; }
  .t-btns .btn.round .lbl { display: none !important; }
}
/* (a computer's title page: the "… left" line after the buttons stays on one line; it broke into a column of words
   once the row was full, before My List too) */
.title-pg.dt .h-btns > .cap { white-space: nowrap; flex: none; }
/* (the request pop-up's Requested chip gives way: with Downloads and My List beside it the three always fit left of the
   side strip, the words ending in "…" when the column is narrow; product owner 11-16) */
.title-pg.req.ph .t-btns .chip.big { flex: 1 1 0; min-width: 0; overflow: hidden; }
.title-pg.req .chip.big .cht { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.title-pg.req.ph .t-btns > .btn.round { flex: none; }
/* (release QA 11-16: the request pop-up's icon buttons (Coming to OshTV, My List) have no words, so they stay round; the
   title page's phone rule above stretched them into wide empty pills on an unfolded phone) */
body.phone:not(.compact):not(.two) .title-pg.req.ph .t-btns > .btn.round { flex: none; width: 50px; height: 50px; padding: 0; gap: 0; }
/* play-fast 11-16 (owner: "it's blank for a bit"): while a film gets ready, its art (dimmed), its logo and a calm bar,
   never a black box. .p-load = before the play answer; .p-wait-host = over the picture until its first frame (player.js).
   Right after the video (no z-index): under the corner button, the pre-roll (z 3) and every control; taps go through. */
.player .p-load > .p-wait { position: absolute; inset: 0; }
   /* upright: where the picture will be */

#pl .pv > .p-wait-host { position: absolute; inset: 0; pointer-events: none; transition: opacity .35s ease; }
#pl.p-shown .pv > .p-wait-host { opacity: 0; }
.p-wait { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #0B0B0F; pointer-events: none; }
.p-wait .pw-art { position: absolute; inset: 0; background: center / cover no-repeat; opacity: .42; }
.p-wait::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(11,11,15,.15), rgba(11,11,15,.7) 80%); }
.p-wait .pw-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 70%; }
.p-wait .pw-logo { max-width: min(100%, 300px); max-height: 84px; object-fit: contain; filter: drop-shadow(0 2px 12px rgba(0,0,0,.55)); animation: pwIn .5s ease both; }
.p-wait .pw-tx { font: 650 24px/30px Inter, system-ui, sans-serif; letter-spacing: -.3px; text-align: center; animation: pwIn .5s ease both; }
.p-wait .pw-bar { width: 120px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); background-size: 200% 100%; animation: ld 1.6s linear infinite; }
@keyframes pwIn { from { opacity: 0 } to { opacity: 1 } }
@media (prefers-reduced-motion: reduce) { .p-wait .pw-bar { animation: none; background: rgba(255,255,255,.3); } .p-wait .pw-logo, .p-wait .pw-tx { animation: none; } }
/* play-fast 11-16 automatic PiP: the film playing on in the little window after its player was left (player.js toDock):
   kept in the document (a <video> taken out of it pauses), out of sight and out of the way */
#pipdock { position: fixed; left: 0; bottom: 0; width: 2px; height: 2px; overflow: hidden; opacity: .01; pointer-events: none; z-index: -1; }
#pipdock video { width: 2px; height: 2px; }
/* the app sends the film to the little window by itself: the bottom row's PiP button goes (the overlay's stays) */

/* ======================================================================================================================
   Offline downloads v1 (design/downloads-offline-20261115, approved boards dl-board-1/2; dlx.css merged). Only drawn in
   the app with RiyaOS.caps.downloads. House tokens only: Lagoon #1DC2D0 = on this phone, gold = download progress,
   the sheet colour #062833, grey pills rgba(255,255,255,.13-.14), grouped rows rgba(255,255,255,.06), Inter. */
/* (a) the title page's Download pill: upright, full width under Play / Trailer; sideways a third button in the row */
.dlx-dl { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 50px; border: 0;
  border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font: 600 16px/1 Inter; overflow: hidden; cursor: pointer; white-space: nowrap; }
.dlx-dl .pi, .dlx-st .pi { width: 22px; height: 22px; display: block; background: currentColor; -webkit-mask: url(brand/ic/dl.png) center / contain no-repeat; mask: url(brand/ic/dl.png) center / contain no-repeat; }
.dlx-dl .sz { font: 500 14px/1 Inter; color: var(--t2); }
.dlx-dl .sz::before { content: "·"; margin-right: 8px; }
.dlx-dl .num { font-variant-numeric: tabular-nums; color: var(--gold); }
.dlx-dl .line { position: absolute; left: 22px; right: 22px; bottom: 7px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.14); }
.dlx-dl .line i { display: block; height: 3px; border-radius: 2px; background: var(--gold); }
.dlx-dl .ck { display: flex; }
.dlx-dl.done { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(29,194,208,.55); }
.dlx-dl.done .ck { color: var(--lagoon); }
.dlx-dl.bad .ck { color: var(--warn); }
.dlx-dl:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.t-btns.has-dl, body.phone:not(.compact):not(.two) .title-pg.ph .t-btns.has-dl { flex-wrap: wrap; }   /* (sideways too: its column is 46% wide, a third button squeezed Play) */
.t-btns.has-dl .dlx-dl { flex: 1 0 100%; }
body.compact:not(.two) .title-pg.ph .t-btns.has-dl { flex-wrap: nowrap; width: auto; }
body.compact:not(.two) .title-pg.ph .t-btns .dlx-dl, .two .title-pg.ph .t-btns .dlx-dl, .h-btns .dlx-dl { width: auto; flex: none; padding: 0 22px; }
.h-btns .dlx-dl { height: auto; min-height: 46px; }

/* (b) an episode row's state, right side, 44 px target, and its line under the running time */
.dlx-st { flex: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.72); position: relative; border-radius: 50%; cursor: pointer; }
.dlx-st.on { color: var(--lagoon); }
.dlx-st.pct { font: 650 13.5px/1 Inter; color: var(--gold); font-variant-numeric: tabular-nums; }
.dlx-st.wait { color: rgba(255,255,255,.55); }
.dlx-st.bad { color: var(--warn); }
.dlx-st:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.epl .dlx-line { font: 500 12px/16px Inter; margin-top: 2px; }
.dlx-c { color: var(--lagoon); font-weight: 600; } .dlx-c.g { color: var(--gold); font-variant-numeric: tabular-nums; } .dlx-c.w { color: var(--warn); } .dlx-c.m { color: rgba(255,255,255,.6); font-weight: 500; }

/* (c) On this phone */
.dlx-store { margin-top: 16px; border-radius: 16px; padding: 14px 4px 14px; display: flex; background: linear-gradient(100deg, #00465F 0, #002B3B 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.dlx-store > div { flex: 1; min-width: 0; text-align: center; padding: 0 6px; }
.dlx-store > div + div { box-shadow: inset 1px 0 0 rgba(255,255,255,.12); }
.dlx-store b { display: block; font: 650 24px/28px Inter; letter-spacing: -.4px; font-variant-numeric: tabular-nums; }
.dlx-store b small { font: 600 14px/1 Inter; margin-left: 3px; letter-spacing: 0; }
.dlx-store span { display: block; margin-top: 4px; font: 500 12px/15px Inter; color: rgba(255,255,255,.75); }
.dlx-body { padding: 0 var(--gut, 20px); }
.dl-pg.dt .dlx-body { padding: 0 var(--pad); }
.dlx-sec { margin-top: 22px; }
.dlx-sec .rh { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; gap: 12px; }
.dlx-sec .rh .t { font: 650 17px/22px Inter; letter-spacing: -.2px; } .dlx-sec .rh .c { font: 500 13px/1 Inter; color: rgba(255,255,255,.62); white-space: nowrap; }
.dlx-r { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; color: #fff; border-radius: 10px; }
.dlx-r .tile { flex: none; width: 128px; height: 72px; border-radius: 9px; background-color: #1C1C22; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.dlx-r .tile .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(0,0,0,.4); } .dlx-r .tile .bar i { display: block; height: 3px; background: rgba(255,255,255,.9); }
.dlx-r .tx { flex: 1; min-width: 0; }
.dlx-r .t1 { font: 600 14.5px/19px Inter; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dlx-r .t2 { font: 400 12.5px/17px Inter; color: rgba(255,255,255,.72); margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dlx-r .t2 .g { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; } .dlx-r .t2 .w { color: var(--warn); font-weight: 600; }
.dlx-r .chev { flex: none; color: rgba(255,255,255,.5); width: 28px; display: flex; justify-content: center; }
.dlx-r .chev.fl svg { transform: scaleX(-1); }
.dlx-r .chev.pl { color: #fff; }
.dlx-r .rm { flex: none; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.14); }
.dlx-r.dim { opacity: .45; }
.dlx-r:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.dlx-edit { position: absolute; right: var(--gut, 20px); top: 10px; height: 34px; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,.10); color: #fff; font: 600 14px/34px Inter; border: 0; cursor: pointer; }
.dl-pg.dt .dlx-edit { right: var(--pad); }
.dlx-back { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 14px 0 8px; border-radius: 999px; background: rgba(255,255,255,.10); color: #fff; font: 600 14px/1 Inter; margin-top: 18px; }
.dlx-none { margin-top: 26px; } .dlx-none .headline { font-size: 18px; color: #fff; } .dlx-none .cap { margin-top: 6px; color: var(--t2); max-width: 420px; }

/* (d) offline: the calm line at the top and the greyed rest */
.dlx-off { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: var(--sheet); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.dlx-off .ic { flex: none; color: var(--lagoon); display: flex; }
.dlx-off .l1 { font: 600 14.5px/19px Inter; } .dlx-off .l2 { font: 400 12.5px/17px Inter; color: rgba(255,255,255,.75); margin-top: 1px; }
.dlx-off .go { margin-left: auto; flex: none; height: 34px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--osh-paint, #1DC2D0) center / 100% 100%; color: var(--osh-ink, #0B0B0F); font: 600 14px/34px Inter; cursor: pointer; white-space: nowrap; }
body.dlx-offline .tabbar .it:not(.cur), body.dlx-offline .nav .tab:not(.cur) { opacity: .28; }   /* (offline: the Downloads page is the only page; every tab needs OshTV) */
/* the line on any page when the connection drops mid-browse / comes back (never over a player) */
#dlx-net { position: fixed; left: calc(12px + var(--sal, 0px)); right: calc(12px + var(--sar, 0px)); top: calc(8px + var(--sat, 0px)); z-index: 60; margin: 0; box-shadow: 0 10px 30px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.08); }
body.playing #dlx-net, body[data-screen="downloads"] #dlx-net.drop { display: none; }
@media (min-width: 700px) { #dlx-net { left: 50%; right: auto; width: 520px; transform: translateX(-50%); } }

/* the long-press / remove sheet: "On this phone" in the title's line */
.dlx-onp { color: var(--lagoon); font-weight: 600; white-space: nowrap; }

/* ---- v2 (owner 11-17; boards dl-board-1 a/b, dl-board-2 f): the quality chevron, the season line, the quality and
   settings sheets, the Downloads page's settings row. The painted Lagoon main button stays (feedback: painted buttons
   are part of the character); one Lagoon choice per group; plain On / Off words, no switches. */
.dlx-qc { display: flex; align-items: center; height: 22px; margin: 0 -6px 0 2px; padding-left: 10px; box-shadow: inset 1px 0 0 rgba(255,255,255,.2); color: rgba(255,255,255,.75); }
.dlx-seas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 14px 20px 0; min-height: 0; }
.dlx-seas:empty { display: none; }
.title-pg.dt .dlx-seas { margin: 0 var(--pad) 12px; }
.dlx-seas .cnt { font: 500 13.5px/18px Inter; color: rgba(255,255,255,.72); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dlx-sb, .dlx-smart { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: rgba(255,255,255,.12);
  color: #fff; font: 600 14px/1 Inter; white-space: nowrap; cursor: pointer; }
.dlx-sb .pi { width: 18px; height: 18px; display: block; background: currentColor; -webkit-mask: url(brand/ic/dl.png) center / contain no-repeat; mask: url(brand/ic/dl.png) center / contain no-repeat; }
.dlx-sb .sz { font: 500 13px/1 Inter; color: rgba(255,255,255,.72); }
.dlx-sb .num { color: var(--gold); font-variant-numeric: tabular-nums; margin-right: 3px; }
.dlx-sb .dlx-qc { height: 18px; margin-right: -8px; padding-left: 8px; }
.dlx-sb.done { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(29,194,208,.55); color: #fff; } .dlx-sb.done .ic { color: var(--lagoon); }
.dlx-smart { background: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); font-weight: 500; font-size: 13.5px; padding: 0 14px; }
.dlx-smart .ic { color: rgba(255,255,255,.7); } .dlx-smart .v { font-weight: 650; color: rgba(255,255,255,.62); margin-left: 2px; }
.dlx-smart.on { box-shadow: inset 0 0 0 1px rgba(29,194,208,.65); } .dlx-smart.on .ic, .dlx-smart.on .v { color: var(--lagoon); }
.dlx-sb:focus-visible, .dlx-smart:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* the sheets: group labels, quality rows (name + its line, the size, the Lagoon check), the note under Download */
.dlx-gl { font: 600 13.5px/18px Inter; color: rgba(255,255,255,.72); margin: 4px 4px 8px; }
.dlx-sheet .lp-acts + .dlx-gl, .dlx-sgrp + .dlx-gl { margin-top: 18px; }
.dlx-qr { min-height: 62px !important; padding: 8px 16px !important; text-align: left; cursor: pointer; }
.dlx-qr .lp-l b { display: block; font: 600 16.5px/22px Inter; }
.dlx-qr .lp-l small { display: block; font: 400 13px/17px Inter; color: rgba(255,255,255,.68); margin-top: 1px; }
.dlx-qr .lp-s { font: 500 15px/1 Inter; color: rgba(255,255,255,.85); font-variant-numeric: tabular-nums; }
.dlx-qr .ckm { flex: none; width: 24px; display: flex; justify-content: center; color: var(--lagoon); }
.dlx-qr.cur { background: rgba(29,194,208,.08); }
.dlx-q .dlx-go { margin: 14px 0 0; min-height: 54px; font: 600 17px/1 Inter; }
.dlx-q .dlx-go .pi { width: 22px; height: 22px; display: block; background: currentColor; -webkit-mask: url(brand/ic/dl.png) center / contain no-repeat; mask: url(brand/ic/dl.png) center / contain no-repeat; }
.dlx-qn { text-align: center; font: 500 13.5px/19px Inter; color: rgba(255,255,255,.75); margin-top: 12px; }
.dlx-sic { flex: none; width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: rgba(29,194,208,.16); color: var(--lagoon); }
.dlx-sgrp { display: flex; flex-direction: column; border-radius: var(--r-card, 16px); background: var(--fill-card, rgba(255,255,255,.06)); overflow: hidden; }
.dlx-srow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 10px 16px; border: 0; background: none; color: #fff; text-align: left; cursor: pointer; }
.dlx-srow + .dlx-srow, .dlx-srow + .dlx-sub { box-shadow: inset 0 1px 0 var(--sep, rgba(255,255,255,.08)); }
.dlx-srow .tx { flex: 1; min-width: 0; } .dlx-srow b { display: block; font: 600 16px/21px Inter; } .dlx-srow small { display: block; font: 400 13px/17px Inter; color: rgba(255,255,255,.68); margin-top: 2px; }
.dlx-srow .v { flex: none; font: 600 15.5px/1 Inter; color: rgba(255,255,255,.62); min-width: 30px; text-align: right; } .dlx-srow .v.on { color: #fff; }
.dlx-srow.bad { color: var(--danger); } .dlx-srow.bad small { color: rgba(255,255,255,.6); }
.dlx-sub { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 16px 12px; font: 500 14px/18px Inter; color: rgba(255,255,255,.75); }
.dlx-sub.top { padding: 14px 16px 4px; } .dlx-sub.top b { font: 600 16px/21px Inter; color: #fff; }
.dlx-seg { display: flex; gap: 4px; padding: 4px; margin: 8px 12px 12px; border-radius: 999px; background: rgba(0,0,0,.25); }
.dlx-sub .dlx-seg { margin: 0; }
.dlx-q .dlx-scope { margin: 0 0 4px; }
.dlx-scope + .dlx-gl { margin-top: 14px; }
.dlx-seg button { flex: 1; height: 38px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: rgba(255,255,255,.85); font: 600 14.5px/1 Inter; white-space: nowrap; cursor: pointer; }
.dlx-seg button.cur { background: var(--osh-paint, #1DC2D0) center / 100% 100%; color: var(--osh-ink, #0B0B0F); }
.dlx-srow:focus-visible, .dlx-seg button:focus-visible, .dlx-qr:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.dlx-set { padding-bottom: 18px; }
/* the Downloads page's settings row */
.dlx-setr { display: flex; align-items: center; gap: 12px; width: 100%; margin: 24px 0 8px; padding: 12px 14px; border: 0; border-radius: 16px; background: rgba(255,255,255,.06); color: #fff; text-align: left; cursor: pointer; }
.dlx-none + .dlx-setr { margin-top: 14px; }
.dlx-setr .ic { color: var(--lagoon); display: flex; } .dlx-setr .tx { flex: 1; min-width: 0; }
.dlx-setr b { display: block; font: 600 15px/20px Inter; } .dlx-setr small { display: block; font: 400 12.5px/17px Inter; color: rgba(255,255,255,.7); margin-top: 1px; }
.dlx-setr .chev { color: rgba(255,255,255,.5); display: flex; } .dlx-setr .chev.fl svg { transform: scaleX(-1); }
.dlx-setr:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* a downloaded title's subtitles (WebKit draws them: <track> mode "showing", SPEC spike) in the house type */
.player video::cue { font-family: Inter, system-ui, sans-serif; background: rgba(0,0,0,.55); color: #fff; }

@media (max-width: 480px) { .dlx-r .tile { width: 112px; height: 63px; } .dlx-store b { font-size: 22px; } }
.lp-act .pi.lp-dl { width: 21px; height: 21px; display: block; background: currentColor; -webkit-mask: url(brand/ic/dl.png) center / contain no-repeat; mask: url(brand/ic/dl.png) center / contain no-repeat; }

/* ======================================================================================================================
   Downloads vs Coming to OshTV (owner's pick 11-16, design/downloads-naming-20261116 candidate 1 "Two places"; cands.css) */
.nm-sub { display: flex; align-items: center; gap: 7px; margin-top: 4px; font: 500 13.5px/18px Inter; color: rgba(255,255,255,.72); }
.nm-sub .ic { color: var(--lagoon); flex: none; }
.dl-pg.dt .nm-sub { font-size: 15px; }
.dl-head .nm-sub + .label { margin-top: 4px; }
.dlx-pg .dl-head .nm-sub { padding-right: 84px; }          /* (clear of Edit) */
/* Home's "N coming" pill, top right (the number = how many are on the way, the ring = the furthest along) */
/* the arrivals' item in the nav / tab bar: the screen-with-arrow glyph, the ring round it */
/* the progress ring itself (bug on master 11-16: the generic .ring 9 px status dot also matched it, so outside the
   desktop nav it was a white 9 px "o"): a ring svg keeps its own size, round whatever icon it sits on */
svg.ring { display: block; width: 30px; height: 30px; border-radius: 0; box-shadow: none; pointer-events: none; }
/* (the top line is a size container: kept from the retired "N coming" pill, as dropping it would change its sizing) */
.phone .ph-top { container-type: inline-size; }

/* ---- The library tabs' hero slideshow (owner 11-16; heroslides.js): the same hero, its five titles one at a time.
   A new slide's art fades in OVER the old one (the old stays whole underneath until it is covered, so the page never
   shows through mid-fade); the words fade out, then in. Every picture layer is its own composited layer from the start
   (will-change), so WebKit never switches a layer mid-fade (the blink / the fraction-of-a-pixel seam it gives). */
.lib-hero.hs .hs-art { opacity: 0; transition: opacity 1.1s cubic-bezier(.4, 0, .2, 1); will-change: opacity; }
.lib-hero.hs .hs-art.on, .lib-hero.hs .hs-art.under { opacity: 1; }
.lib-hero.hs .hs-art.now, .lib-hero.hs .hs-art.under { transition: none; }
.lib-hero.hs .h-body { opacity: 0; transition: opacity .64s ease .26s; }
.lib-hero.hs .h-body.on { opacity: 1; }
.lib-hero.hs .h-body.out { opacity: 0; transition: opacity .42s ease; pointer-events: none; }
.lib-hero.hs .h-body.now { transition: none; }
@media (prefers-reduced-motion: reduce) { .lib-hero.hs .hs-art, .lib-hero.hs .h-body, .lib-hero.hs .h-body.out { transition: none; } }
.lib-hero.hs { cursor: pointer; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.lib-hero.hs .h-btns, .lib-hero.hs .hs-nav { cursor: default; }
/* the place marks: five small dots, the current one a short bar; ‹ › beside them only where there is a mouse */
.hs-nav { position: absolute; z-index: 3; right: var(--pad); bottom: 18px; display: flex; align-items: center; gap: 6px; }
.hs-dots { display: flex; align-items: center; gap: 6px; height: 20px; padding: 0 2px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.55)); }
.hs-dot { display: block; flex: none; width: 6px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: rgba(255,255,255,.42);
  transition: width .32s ease, background-color .32s ease; cursor: pointer; }
.hs-dot.on { width: 16px; background: #fff; }
@media (prefers-reduced-motion: reduce) { .hs-dot { transition: none; } }
.hs-arr { display: none; }
@media (hover: hover) and (pointer: fine) {
  .hs-arr { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 16px;
    background: rgba(255,255,255,.10); color: #fff; cursor: pointer; transition: background-color .12s ease; }
  .hs-arr:hover { background: rgba(255,255,255,.22); }
}
.hs-arr:focus-visible { outline: 1.75px solid #fff; outline-offset: 2px; }
/* phones: no ‹ ›, the dots sit at the art's lower right, inside the page's padding */
.lib-pg.ph .hs-nav { right: 20px; bottom: 12px; }
body:not(.short):not(.compact) .lib-pg.ph .lib-hero.hs-cap { height: 426px; }
.compact .lib-pg.ph .hs-nav { right: 12px; bottom: 8px; }
/* ---- Your requests (owner 11-16, design/requests-placement-20261116 D + "Your requests"): Home's per-person row and
   its See all page. Status on the poster: a gold ring disc with the % (grey when stalled / queued), a glass chip
   (a date, Searching), a Lagoon NEW tag (arrived). Numbers, no bars (memory feedback_cards_numbers_not_bars). */
.pt.rq .poster { position: relative; }
.rq-disc { position: absolute; right: 7px; bottom: 7px; width: 42px; height: 42px; border-radius: 50%; background: rgba(12,12,16,.78);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center;
  font: 700 12.5px/1 Inter; color: #fff; font-variant-numeric: tabular-nums; pointer-events: none; }
.rq-disc svg { position: absolute; left: 0; top: 0; width: 42px; height: 42px; }
.rq-disc .rq-pct { position: relative; }
.rq-disc.st { color: rgba(255,255,255,.55); }
.pt.rq .pc.rq-gold { color: var(--gold-tx); font-weight: 600; }
.pt.rq .pc.rq-amber { color: #E0A030; font-weight: 600; }
.dt .pt.rq .pl, .dt .pt.rq .pc { display: block; }
/* the head: Your requests · 2 on the way · See all */
.rowh.rq-h { display: flex; align-items: baseline; gap: 10px; }
.rowh.rq-h .rowlink { position: relative; display: inline-flex; align-items: center; gap: 3px; color: inherit; text-decoration: none; }
.rowh.rq-h .rowlink .chev { transform: scaleX(-1); opacity: .62; margin-top: 1px; }   /* (unify P4: the heading + chevron, as a.rowh.rowlink) */
.rowh.rq-h .rowlink::after { content: ""; position: absolute; inset: -12px -10px; }
@media (hover: hover) { .rowh.rq-h .rowlink:hover .chev { opacity: 1; } }
.rowh.rq-h .rq-cnt { font: 500 14px/1 Inter; color: rgba(255,255,255,.6); white-space: nowrap; }
/* live (owner 11-17 "auto-load ... and be live"): a new request fades in at the front, one gone fades out; the room the
   row had last time is kept (blank posters, no words) while this page's first answer is on its way: nothing jumps */
.pt.rq.rq-in { animation: rqIn .32s ease-out; }
@keyframes rqIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.pt.rq.rq-out { opacity: 0; transform: scale(.94); transition: opacity .28s ease, transform .28s ease; pointer-events: none; }
.rq-hold .pt { pointer-events: none; }
.rq-hold .pt .pl, .rq-hold .pt .pc { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .pt.rq.rq-in { animation: none; } .pt.rq.rq-out { transition: none; } }
.rowh.rq-h .rowlink:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 6px; }
.phone .rowh.rq-h { padding-right: var(--gut, 20px); }
/* See all: the live cards, then the grid of the same tiles */
.rq-pg .rq-all-grid { margin-top: 26px; }
.rq-pg .rq-all-grid > .rowh { padding: 0 var(--pad) 12px; }
.rq-pg.ph .rq-all-grid > .rowh { padding: 0 var(--gut, 20px) 12px; }
.rq-pg.ph .grid.rq-grid { padding: 0 var(--gut, 20px) 80px; }
.rq-pg .dl-idle { margin: 24px var(--pad); }
.rq-pg.ph .dl-idle { margin: 24px var(--gut, 20px); }

/* the owner's "O" (acct.js): a round glass button top right of Home (and at the right end of a computer's nav) */
.acct-o { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font: 650 17px/1 Inter; background: rgba(20,20,26,.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.acct-o .dot { position: absolute; right: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--lagoon); box-shadow: 0 0 0 2px #14141A; }
.acct-o:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.acct-o::after { content: ""; position: absolute; inset: -4px; }
.nav .acct-o { margin-left: 18px; width: 40px; height: 40px; }
.phone .ph-top .acct-slot { margin-left: auto; display: flex; }
/* (owner 11-16: "align the profile icon with OshTV": the same top margin as the osh mark (.osh-mark, ~line 1893), so the
   two centre on one line in every shape) */
.phone .ph-top .acct-slot { position: relative; top: calc(max(0px, calc(18px - var(--sat))) / 2); }   /* (half the mark's top margin: centred on it; the logo itself stays put) */
/* (owner 11-16, folded upright with the rail: the O's top lines up with the top of the system's see-through status pill,
   which starts ~21.5 px down; the centred O started at ~17.5) */
@media (orientation: portrait) { body.rail .phone .ph-top .acct-slot, body.rail.phone .ph-top .acct-slot { top: calc(max(0px, calc(18px - var(--sat))) / 2 + 4px); } }
.phone .ph-top .acct-slot:empty { display: none; }
.phone .ph-top .acct-o.btn.round { width: 44px; height: 44px; background: rgba(255,255,255,.15); box-shadow: none; }   /* (owner 11-16, unify P6: the same frosted glass as the round buttons on the picture: .btn.round.glass) */
.ac-scrim { position: fixed; inset: 0; z-index: 900; background: var(--veil); transition: opacity .2s; }
.ac-scrim.enter, .ac-scrim.leaving { opacity: 0; }
.ac-sheet { position: fixed; z-index: 901; left: 0; right: 0; bottom: 0; max-height: 82vh; overflow: auto; border-radius: var(--r-sheet) var(--r-sheet) 0 0; background: var(--sheet); color: #fff;
  box-shadow: var(--sheet-shadow); padding: 12px 20px calc(24px + var(--sab, 0px)); transition: transform .22s ease, opacity .2s; outline: none; }
.ac-sheet.enter, .ac-sheet.leaving { transform: translateY(100%); }
body.phone.rail .ac-sheet, body.phone.two .ac-sheet { left: 50%; right: auto; width: min(560px, 92vw); transform: translateX(-50%); }
body.phone.rail .ac-sheet:is(.enter, .leaving), body.phone.two .ac-sheet:is(.enter, .leaving) { transform: translate(-50%, 100%); }
.ac-sheet.pop { left: auto; bottom: auto; width: 440px; border-radius: var(--r-sheet); padding: 18px 20px; box-shadow: var(--card-shadow); }
.ac-sheet.pop:is(.enter, .leaving) { transform: translateY(-8px); opacity: 0; }
.ac-sheet .grab { width: 38px; height: 5px; border-radius: 3px; background: var(--grab); margin: 0 auto 14px; }
.ac-who { display: flex; align-items: center; }
.ac-who .av { border-radius: 50%; background: var(--lagoon); color: var(--lagoon-ink); text-align: center; flex: none; }
.ac-who .n2 { font: 500 13px/17px Inter; color: rgba(255,255,255,.6); }
.ac-links { border-radius: var(--r-card); background: var(--fill-card); overflow: hidden; }
.ac-links > :is(a, button) { display: flex; width: 100%; align-items: center; gap: 12px; min-height: 58px; padding: 0 14px; color: #fff; text-decoration: none; background: none; border: 0; font: inherit; text-align: left; cursor: pointer; }
.ac-links > * + * { box-shadow: inset 0 1px 0 var(--sep); }
.ac-links .ic0 { flex: none; width: 22px; color: rgba(255,255,255,.85); display: flex; }
.ac-links .tx { flex: 1; min-width: 0; } .ac-links .l1 { font: 600 15px/19px Inter; } .ac-links .l2 { font: 400 12.5px/16px Inter; color: rgba(255,255,255,.62); }
.ac-links .pd { width: 9px; height: 9px; border-radius: 50%; background: var(--lagoon); flex: none; }
.ac-links .go { opacity: .5; display: flex; } .ac-links .go svg { transform: scaleX(-1); }
.ac-links .mut .l1 { color: rgba(255,255,255,.6); font-weight: 500; }
.ac-links > :is(a, button):focus-visible { outline: 2px solid #fff; outline-offset: -2px; border-radius: var(--r-card); }
/* the profile menu (owner 11-16, design/profile-menu-20261116): the button for everyone (the household: a small house),
   a gold ring round it while this phone's downloads run, and the Downloads row's state on the right */
.acct-o .hh { display: block; }
/* (the folded sideways word bar: a 34 px disc in a 44 px touch target) */
.compact .nav .acct-o { width: 44px; height: 44px; margin-left: 6px; font-size: 15px; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; isolation: isolate; }
.compact .nav .acct-o::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; z-index: -1; background: rgba(20,20,26,.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.compact .nav .acct-o .hh { width: 19px; height: 19px; } .compact .nav .acct-o .dot { right: 6px; top: 6px; }
/* (owner 11-17) this phone's downloads: a quiet blip on the profile button, the attention dot's Lagoon while they run,
   red while one didn't download (the menu's Downloads row has the words) */
.acct-o .dot.bad { background: var(--danger); }
/* The download glyph (dlglyph.js; owner 11-17, design/acct-dlanim-20261117 then design/search-anim-20261117): a host's
   face (.dg-f) cross-fades into a line glyph whose arrow drifts down into its tray every 1.6 s. --dl-in = minus the time
   since the cross-fade began, --dl-ph = the loop's place in wall-clock time: a redraw carries on where it was.
   Reduced motion: a still arrow, fades only. */
.dg-host { position: relative; }
.dg-f { display: flex; align-items: center; justify-content: center; }
.dg-g { position: absolute; left: 50%; top: 50%; width: var(--dg, 20px); height: var(--dg, 20px); margin: calc(var(--dg, 20px) / -2) 0 0 calc(var(--dg, 20px) / -2); opacity: 0; pointer-events: none; overflow: visible; }
.dg-on .dg-f { animation: dg-fade-out .32s ease both; animation-delay: var(--dl-in, 0s); }
.dg-on .dg-g { animation: dg-fade-in .32s ease both; animation-delay: var(--dl-in, 0s); }
.dg-on .dg-a { animation: dg-drop 1.6s cubic-bezier(.45, 0, .55, 1) infinite; animation-delay: var(--dl-ph, 0s); }
.dg-end .dg-f { animation: dg-fade-in .36s ease both; animation-delay: var(--dl-in, 0s); }
.dg-end .dg-g { animation: dg-fade-out .28s ease both; animation-delay: var(--dl-in, 0s); }
@keyframes dg-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes dg-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes dg-drop { 0% { transform: translateY(-3.5px); opacity: 0; } 22% { transform: translateY(-1.5px); opacity: 1; }
  68% { transform: translateY(1.6px); opacity: 1; } 88%, 100% { transform: translateY(2.6px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .dg-on .dg-a { animation: none; } }
/* The Search tab, for THIS person's requests (owner 11-17, design/search-anim-20261117; reqanim.js): while one is
   downloading with bytes flowing, the magnifier cross-fades into the download glyph inside a gold ring of the moving
   ones' overall %; when one arrives, a gold glint (one flash of a full ring, the magnifier lit gold), then a small Lagoon
   dot until Search is opened. Same in the tab bar, the rail, the compact bar and the desktop nav. */
.sx { display: inline-flex; flex: none; align-items: center; justify-content: center; font-style: normal; }
.tabbar .sx { --dg: 24px; } .nav .sx { --dg: 20px; }
.nav .tab .sx { margin-right: 1px; } .nav .tab .sx .ic { margin-right: 0; }
.nav .sx svg.dg-ring { left: -5px; top: -5px; width: calc(100% + 10px); height: calc(100% + 10px); }
.sx svg.dg-ring { position: absolute; left: -7px; top: -7px; width: calc(100% + 14px); height: calc(100% + 14px); pointer-events: none; overflow: visible; }
.sx svg.dg-ring.dg-tick { opacity: 0; animation: dg-tick .9s ease-out both; animation-delay: var(--gl-in, 0s); }
.sx.dg-glint:not(.dg-on) .dg-f { animation: dg-glint 1.2s ease-out both; animation-delay: var(--gl-in, 0s); }
.sx.dg-glint.dg-end .dg-f { animation: dg-fade-in .36s ease both, dg-glint 1.2s ease-out both; animation-delay: var(--dl-in, 0s), var(--gl-in, 0s); }
.sx .sdot { position: absolute; right: -5px; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--lagoon); box-shadow: 0 0 0 2px #14141A; pointer-events: none; }
.sx.dg-glint .sdot { animation: dg-fade-in .3s ease both; animation-delay: calc(var(--gl-in, 0s) + .7s); }
@keyframes dg-tick { 0% { opacity: 0; } 22% { opacity: .9; } 100% { opacity: 0; } }
@keyframes dg-glint { 28% { color: #F2C14E; filter: drop-shadow(0 0 5px rgba(229,160,13,.85)); } }
@media (prefers-reduced-motion: reduce) { .sx.dg-glint:not(.dg-on):not(.dg-end) .dg-f { animation: none; } .sx.dg-glint.dg-end .dg-f { animation: dg-fade-in .36s ease both; animation-delay: var(--dl-in, 0s); } }
.ac-who { gap: 14px; margin: 4px 0 18px; }
.ac-who .av { width: 64px; height: 64px; font: 700 27px/64px Inter; }
.ac-who .av.hh { display: flex; align-items: center; justify-content: center; }
.ac-who .n1 { font: 650 21px/26px Inter; letter-spacing: -.3px; }   /* (the sheets' title weight) */
.ac-links .ac-st { flex: none; white-space: nowrap; font: 600 14px/1 Inter; color: rgba(255,255,255,.72); font-variant-numeric: tabular-nums; }
.ac-links .ac-st.g, .ac-links .l2 .g { color: var(--gold-tx); }
.ac-links .ac-bad { flex: none; white-space: nowrap; height: 24px; padding: 0 10px; border-radius: 12px; background: var(--danger); color: #fff; font: 650 13px/24px Inter; font-variant-numeric: tabular-nums; }
@media (max-width: 400px) { .ac-dl .l2 { display: none; } }
.rq-pg .rq-still > .rowh { display: flex; align-items: baseline; gap: 10px; }
.rq-pg .rq-still > .rowh .rq-cnt { font: 500 14px/1 Inter; color: rgba(255,255,255,.6); }
.rq-pg .rq-still .pt .poster { opacity: .82; }

/* ================= one-tap requesting (owner 11-16, design/req-onetap-20261116: the confirm sheet "seems redundant")
   A film's Request requests at once: the toast says what is coming with Undo (UNDO_MS), the button reads Requesting…,
   and the sheet's facts are one quiet line under the button. A show with a choice keeps a lean sheet: its choices only. */
.title-pg.req.ph .rq-line { padding: 0 20px; margin-top: 10px; font: 400 13px/18px Inter; color: var(--t2); }
.phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req .rq-line { margin-top: 10px; }
.title-pg.req.dt .h-btns > .rq-line { color: var(--t2); }
.btn.w.rq-pend { opacity: .72; cursor: default; }
.rq-toast.undo { gap: 6px; min-height: 48px; padding: 2px 4px 2px 20px; }
.rq-toast.undo.on { pointer-events: auto; }
.rq-toast .rq-tx { min-width: 0; overflow: hidden; text-overflow: ellipsis; line-height: 20px; }
.rq-toast .rq-undo { flex: none; height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--lagoon-lt); font: 700 14.5px/1 Inter; cursor: pointer; }
.rq-toast .rq-undo:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.rq-sheet.lean { width: 420px; display: block; }
.rq-sheet.lean .rq-h { margin: 0 2px; }
.rq-sheet.lean .rq-gos { margin-top: 12px; }
.phone .rq-sheet.lean { width: auto; max-width: 520px; margin: 0 auto; }
.phone .rq-sheet.lean .rq-body { padding: 0; }
.phone .rq-sheet.lean .rq-h { text-align: center; }
.rq-go .gl .sep { color: inherit; opacity: .8; }

/* ---- Search's landing = a calm discover page (owner 11-16, design/search-discover-20261116): posters with a library
   mark, genre art tiles, studio logo tiles; See all grids (screens/discover.js) */
.pt .dmk { position: absolute; top: var(--mark-in); right: var(--mark-in); width: var(--mark); height: var(--mark); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(11,11,15,.74); color: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.pt .dmk.lib { background: #fff; color: #0B0B0F; }
.pt .dmk.lib .ic { stroke-width: 2.6; }
.pt .dmk.wait { background: rgba(11,11,15,.72); box-shadow: none; }   /* (requested = the clock on the + disc's glass, owner 11-17 req-clock) */
.gtile { position: relative; flex: none; width: 220px; height: 124px; border-radius: 12px; overflow: hidden; display: block; background: var(--gc); color: #fff; text-decoration: none; isolation: isolate; }
.gtile .gart { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .55; }
.gtile .gwash { position: absolute; inset: 0; background: linear-gradient(100deg, var(--gc) 8%, color-mix(in srgb, var(--gc) 55%, transparent) 55%, rgba(0,0,0,.15)); }
.gtile .glab { position: absolute; left: 14px; bottom: 12px; right: 12px; font: 650 18px/22px Inter; letter-spacing: -.2px; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.ltile { position: relative; flex: none; width: 200px; height: 100px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.07); text-decoration: none; color: #fff; }
.ltile .llogo { position: absolute; inset: 24px 30px; background: center / contain no-repeat; filter: brightness(0) invert(1); opacity: .9; }
.ltile .lname { font: 600 16px/20px Inter; }
@media (hover: hover) { .gtile:hover .gart { opacity: .7; } .ltile:hover { background: rgba(255,255,255,.12); } }
.gtile:focus-visible, .ltile:focus-visible { outline: var(--ring); outline-offset: 3px; }
.disc-pg .sec { margin-top: 30px; }
.disc-pg .sec:first-child { margin-top: 26px; }
.phone .gtile { width: 168px; height: 94px; border-radius: 10px; }
.phone .gtile .glab { left: 12px; bottom: 10px; font-size: 15.5px; line-height: 19px; }
.phone .ltile { width: 140px; height: 70px; border-radius: 10px; }
.phone .ltile .llogo { inset: 18px 22px; }
.phone .disc-pg .sec { margin-top: 24px; }
.phone .disc-pg .sec:first-child { margin-top: 20px; }
.ds-pg .ds-kind { display: flex; gap: 8px; margin-top: 14px; }
.ds-pg .ds-more { height: 1px; }
.ds-pg .ds-empty { padding: 30px var(--pad); } .ds-pg.ph .ds-empty { padding: 30px var(--gut, 20px); } .ds-pg .ds-empty .btn { margin-top: 16px; }

/* ---- Bigger posters and rows (owner 11-16 "do the recommendation": +15 % with a 3-column floor on the library grid
   and one poster width on Search; design/bigger-posters-20261116/rec.css, board.jpg). Appended last so it wins over the
   older size rules with the same selectors. */
/* desktop / Safari (wide) */
.pt { width: 172px; }
.land { width: 340px; height: 191px; }
.grid { grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 29px 18px; }
.rowh { font: 500 16px/22px Inter; margin-bottom: 15px; }
.hrow { gap: 18px; }
.home.dt .hsec.is-land .hrow { gap: 20px; }
.sec { margin-top: 38px; }
.home.dt .hsec { margin-bottom: 44px; }
.pt .pl { font-size: 15.5px; line-height: 20px; } .pt .pc { font-size: 14px; line-height: 20px; }
.tile .tt .t { font-size: 17.5px; line-height: 24px; }
/* phone + app (folded / unfolded / sideways / iPhone Safari) */
.phone .pt { width: 129px; }
.phone .land { width: 271px; height: 153px; }
.phone .land .tt .t { font-size: 16.5px; } .phone .land .tt .s { font-size: 13px; }
.phone .grid { gap: 20px 11px; }
/* (owner 11-16, unify P7: one poster caption on the phone, rows and grids alike: 14 px name, 13 px line. The rows had
   the computer's 15.5 / 14 from the rule above) */
.phone .pt .pl { font-size: 14px; } .phone .pt .pc { font-size: 13px; }
.rq-pg.ph .grid.rq-grid { grid-template-columns: repeat(auto-fill, minmax(129px, 1fr)); gap: 22px 13px; }
.phone .rowh { font: var(--type-row); margin-bottom: 12px; }
.phone .hrow { gap: 13px; }
.phone .sec { margin-top: 24px; }
.home.ph .hsec { margin-bottom: 24px; }
/* fix 1 — the library grid never drops below 3 columns (folded stays 3-up instead of jumping to 2 huge posters;
   unfolded 5->4, sideways 7->6, desktop 8->7 come from the bigger minimum as in +15%) */
.phone .grid { grid-template-columns: repeat(auto-fill, minmax(min(120px, calc((100% - 22px) / 3)), 1fr)); }
/* fix 2 — Search / discover rows use the Home poster width (129, was 104 vs Home's 112): one poster size on every row,
   and at 129 every shape keeps a 55-60 % peek of the next poster (at 120 sideways showed exactly 7 with no peek) */
.search-pg.ph .pt { width: 129px; }
.search-pg .pt { width: 172px; }
/* ---- Regular iPhones in the app (owner 11-16: his wife's iPhone Pro; design/unify-20261116 iPhone renders). The title
   page's top band was max(top inset, 52 px): sized for the Duo, whose 82 pt band has the status pill at its right end
   (body.pill-top) or no inset at all (folded, the side strip). On a notched / Dynamic Island iPhone (59 pt) or an SE
   (20 pt) that put Back on the clock's line. Here the band is the inset + 52 px, as it already is in Safari; the
   request page's own Back steps below the inset the same way. The Duo's shapes are unchanged (inset 0 or pill-top). */
html.in-app body.phone:not(.pill-top):not(.compact):not(.two) .title-pg.ph { --band: calc(var(--sat) + 52px); }
html.in-app body.phone:not(.pill-top):not(.compact):not(.two) .title-pg.ph.req .backbtn { top: calc(12px + var(--sat)); }

/* ===================================================================================================================
   The Plex-style player (owner 11-16: "take out our player look altogether ... do it how Plex does it";
   design/plexplayer-20261116). ONE layout for every shape: a black stage, the picture fitted and centred, and a light
   overlay a tap brings up (a mouse: hovering). White controls, no discs, no painted pieces; Lagoon only on the scrubber.
   =================================================================================================================== */
:is(#pl, #lp).xp { background: #000; }
:is(#pl, #lp).xp .pv { position: absolute; inset: 0; background: #000; }
:is(#pl, #lp).xp .pv > video:not(.preroll) { object-fit: contain; }
:is(#pl, #lp).xp .xp-scrim { position: absolute; inset: 0; pointer-events: none; z-index: 4;
  background: linear-gradient(180deg, rgba(0,0,0,.62), rgba(0,0,0,0) 24%, rgba(0,0,0,0) 64%, rgba(0,0,0,.66)), rgba(0,0,0,.16); }
:is(#pl, #lp).xp :is(.xp-top, .xp-mid, .xp-bot) { z-index: 5; text-shadow: 0 1px 6px rgba(0,0,0,.55); }
:is(#pl, #lp).xp :is(.xp-scrim, .xp-top, .xp-mid, .xp-bot) { transition: opacity .25s; }
:is(#pl, #lp).xp:not(.ui) :is(.xp-scrim, .xp-top, .xp-mid, .xp-bot), :is(#pl, #lp).xp.panel-open :is(.xp-scrim, .xp-top, .xp-mid, .xp-bot),
:is(#pl, #lp).xp.dragging :is(.xp-scrim, .xp-top, .xp-mid, .xp-bot) { opacity: 0; pointer-events: none; }
:is(#pl, #lp).xp.in-pre .xp-top, :is(#pl, #lp).xp:not(.p-shown) .xp-top { opacity: 1; pointer-events: auto; }   /* (the pre-roll and the loading layer: the title + ✕ stay) */
:is(#pl, #lp).xp .xc { position: relative; display: flex; align-items: center; justify-content: center; flex: none; width: 46px; height: 46px; border-radius: 50%; color: #fff;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.45)); -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { :is(#pl, #lp).xp .xc:hover { background: rgba(255,255,255,.13); } }
:is(#pl, #lp).xp .xc:focus-visible, :is(#pl, #lp).xp .xp-chev:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
/* top: the title and its line left, AirPlay · PiP · ✕ right */
:is(#pl, #lp).xp .xp-top { position: absolute; top: calc(var(--sat) + 12px); left: calc(var(--sal) + 24px); right: calc(var(--sar) + 12px); display: flex; align-items: flex-start; gap: 12px; }
:is(#pl, #lp).xp .xp-tt { flex: 1; min-width: 0; padding-top: 5px; }
:is(#pl, #lp).xp .xp-t1 { font: 650 22px/28px Inter, system-ui, sans-serif; letter-spacing: -.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:is(#pl, #lp).xp .xp-t2 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 6px; margin-top: 4px; font: 500 14px/18px Inter, system-ui, sans-serif; color: rgba(255,255,255,.74); }
:is(#pl, #lp).xp .xp-ends:not(:empty)::before { content: "• "; }
:is(#pl, #lp).xp .xp-tag { margin-left: 4px; font: 700 12px/1 Inter, system-ui, sans-serif; letter-spacing: .3px; color: #fff; padding: 5px 7px; border-radius: 6px; background: rgba(255,255,255,.16); text-shadow: none; }
:is(#pl, #lp).xp .xp-tr { display: flex; gap: 8px; }
/* centre: previous · ⟲10 · play / pause (the buffering ring) · 10⟳ · next */
:is(#pl, #lp).xp .xp-mid { position: absolute; left: var(--sal); right: var(--sar); top: 50%; transform: translateY(-50%); display: flex; justify-content: center; align-items: center; gap: clamp(10px, 3.4vw, 34px); pointer-events: none; }
:is(#pl, #lp).xp .xp-mid .xc { pointer-events: auto; width: 58px; height: 58px; background: rgba(0,0,0,.26); filter: none; }
:is(#pl, #lp).xp .xp-mid .xp-play { width: 84px; height: 84px; background: rgba(0,0,0,.32); }
/* a narrow upright screen (the folded Duo before the lock turns it, a phone in a browser): the five still fit beside a
   side strip */
@media (max-width: 480px) { :is(#pl, #lp).xp .xp-mid { gap: 6px; } :is(#pl, #lp).xp .xp-mid .xc { width: 44px; height: 44px; } :is(#pl, #lp).xp .xp-mid .xp-play { width: 64px; height: 64px; } }
:is(#pl, #lp).xp .xp-pi { display: flex; }
:is(#pl, #lp).xp .xp-dim { opacity: .32; pointer-events: none !important; }
:is(#pl, #lp).xp .xp-ring { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .2s; pointer-events: none; }
:is(#pl, #lp).xp .xp-ring circle { fill: none; stroke: rgba(255,255,255,.85); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 64 240; }
:is(#pl, #lp).xp.buffering .xp-ring { opacity: 1; animation: xp-spin 1s linear infinite; }
@keyframes xp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { :is(#pl, #lp).xp.buffering .xp-ring { animation-duration: 3s; } }
/* bottom: (volume, a mouse only) · subtitles · settings (· full screen, a browser), the scrubber, the chevron */
:is(#pl, #lp).xp .xp-bot { position: absolute; left: calc(var(--sal) + 20px); right: calc(var(--sar) + 20px); bottom: calc(var(--sab) + 2px); padding-bottom: 8px; }
:is(#pl, #lp).xp .xp-bot:has(.xp-chev) { padding-bottom: 0; }
:is(#pl, #lp).xp .xp-row { display: flex; align-items: center; gap: 10px; }
:is(#pl, #lp).xp .xp-row .sp { flex: 1; }
:is(#pl, #lp).xp .xp-vol { display: flex; align-items: center; gap: 4px; }
:is(#pl, #lp).xp .xp-vol #vol { width: 96px; }
@media (hover: none), (pointer: coarse) { :is(#pl, #lp).xp .xp-vol { display: none; } }
:is(#pl, #lp).xp .xp-full { display: none; } :is(#pl, #lp).xp.can-fs .xp-full { display: flex; }
:is(#pl, #lp).xp .s-subs.on { color: #fff; }
:is(#pl, #lp).xp .xp-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 4px; font: 500 14px/1 Inter, system-ui, sans-serif; }
:is(#pl, #lp).xp .xp-bar .tnum { min-width: 44px; } :is(#pl, #lp).xp .xp-bar #trem { text-align: right; min-width: 56px; }
:is(#pl, #lp).xp .xp-chev { display: flex; align-items: center; justify-content: center; width: 64px; height: 28px; margin: -4px auto 0; color: rgba(255,255,255,.82); -webkit-tap-highlight-color: transparent; }
/* the scrubber: "Solid disc" (owner 11-16): 5 px Lagoon on a dim track, one piece end to end, a white knob that grows
   while held (the time bubble over it: player.js placeBub); a 44 px touch band around the line */
:is(#pl, #lp).xp .xp-bar .chbar { --bh: 5px; gap: 0; }
:is(#pl, #lp).xp .xp-bar .chbar::before { content: ""; position: absolute; left: 0; right: 0; top: -13px; bottom: -13px; }
:is(#pl, #lp).xp .xp-bar .chbar .seg { height: var(--bh); border-radius: 0; background: rgba(255,255,255,.24); transition: height .15s; }
:is(#pl, #lp).xp .xp-bar .chbar .seg:first-child { border-radius: 99px 0 0 99px; }
:is(#pl, #lp).xp .xp-bar .chbar .seg:nth-last-child(2) { border-radius: 0 99px 99px 0; }
:is(#pl, #lp).xp .xp-bar .chbar .seg:first-child:nth-last-child(2) { border-radius: 99px; }
:is(#pl, #lp).xp .xp-bar .chbar .seg .b { background: rgba(255,255,255,.38); }
:is(#pl, #lp).xp .xp-bar .chbar .seg .f { background: #1DC2D0; }
:is(#pl, #lp).xp .xp-bar .chbar .knob { opacity: 1; width: 16px; height: 16px; margin: -8px 0 0 -8px; box-shadow: 0 1px 6px rgba(0,0,0,.45); transition: width .15s, height .15s, margin .15s; }
:is(#pl, #lp).xp.scrub .xp-bar .chbar { --bh: 10px; }
:is(#pl, #lp).xp.scrub .xp-bar .chbar .knob { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
/* subtitles: low on the picture, lifted over the controls while they show */
:is(#pl, #lp).xp .subline { bottom: max(calc(var(--sab) + 26px), calc(var(--picb, 0px) + 18px)); z-index: 3; }
:is(#pl, #lp).xp.ui .subline { bottom: max(calc(var(--sab) + 136px), calc(var(--picb, 0px) + 18px)); }
:is(#pl, #lp).xp .subline.raised { bottom: max(calc(var(--sab) + 110px), calc(var(--picb, 0px) + 90px)); } :is(#pl, #lp).xp.ui .subline.raised { bottom: max(calc(var(--sab) + 190px), calc(var(--picb, 0px) + 90px)); }
/* a short screen (the folded Duo sideways, 457 tall; a phone sideways): smaller centre buttons, the line just over the
   bottom controls so it never meets the centre row */
@media (max-height: 520px) {
  :is(#pl, #lp).xp .xp-mid .xc { width: 50px; height: 50px; } :is(#pl, #lp).xp .xp-mid .xp-play { width: 72px; height: 72px; }
  :is(#pl, #lp).xp.ui .subline { bottom: max(calc(var(--sab) + 118px), calc(var(--picb, 0px) + 18px)); }
  :is(#pl, #lp).xp .xp-t1 { font-size: 19px; line-height: 24px; } :is(#pl, #lp).xp .xp-t2 { font-size: 13px; }
}
@media (max-height: 700px), (max-width: 700px) { :is(#pl, #lp).xp .subline { --subpx: calc(19px * var(--subk, 1)) !important; font-size: calc(19px * var(--subk, 1)); } }
/* the moments: Skip intro (bottom right, over the controls), Tap for sound, the toast, Up Next */
:is(#pl, #lp).xp .skipintro { right: calc(var(--sar) + 24px); bottom: calc(var(--sab) + 30px); }
:is(#pl, #lp).xp.ui .skipintro { bottom: calc(var(--sab) + 140px); }
:is(#pl, #lp).xp .sndchip { top: calc(var(--sat) + 84px); }
:is(#pl, #lp).xp .toastp { top: calc(var(--sat) + 84px); }
:is(#pl, #lp).xp .ptip.below { transform: translate(-50%, 0); }
:is(#pl, #lp).xp .upn-fade { left: 0; top: 0; right: 0; bottom: 0; width: auto; height: auto; background: radial-gradient(70% 90% at 100% 100%, rgba(10,10,14,.85), rgba(10,10,14,0) 75%); }
:is(#pl, #lp).xp .upn-c { right: calc(var(--sar) + 24px); bottom: calc(var(--sab) + 30px); gap: 16px; align-items: flex-end; z-index: 6; }
:is(#pl, #lp).xp.ui .upn-c { bottom: calc(var(--sab) + 140px); }
:is(#pl, #lp).xp.upnext .subline { opacity: 0; }
:is(#pl, #lp).xp .ring-tile { width: 176px; height: 99px; }
:is(#pl, #lp).xp .upn-t { width: 200px; }
:is(#pl, #lp).xp .upn-t .eyebrow { font-size: 12px; } :is(#pl, #lp).xp .upn-t .upn-in { display: inline; } :is(#pl, #lp).xp .upn-t .us { display: none; }
:is(#pl, #lp).xp .upn-t .ut { font-size: 16px; line-height: 20px; margin-top: 2px; }
:is(#pl, #lp).xp .upn-t .ub { margin-top: 10px; gap: 8px; } :is(#pl, #lp).xp .upn-t .btn { height: 34px; padding: 0 14px; font-size: 13px; }
/* upright: the card spans the width under the picture (left / right insets), still left, words + buttons right */
@media (orientation: portrait) {
  :is(#pl, #lp).xp .upn-c { left: calc(var(--sal) + 20px); right: calc(var(--sar) + 20px); align-items: center; }
  :is(#pl, #lp).xp .upn-fade { background: linear-gradient(transparent 45%, rgba(10,10,14,.85)); }
  :is(#pl, #lp).xp .ring-tile { width: 148px; height: 83px; }
  :is(#pl, #lp).xp .upn-t { width: auto; flex: 1; min-width: 0; }
  :is(#pl, #lp).xp .upn-t .ut { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  :is(#pl, #lp).xp .upn-t .ub { flex-wrap: wrap; }
}
@media (orientation: portrait) and (max-width: 480px) { :is(#pl, #lp).xp .ring-tile { width: 112px; height: 63px; } :is(#pl, #lp).xp .upn-t .btn:not(.w) { font-size: 0; } :is(#pl, #lp).xp .upn-t .btn:not(.w)::after { content: "Credits"; font-size: 13px; } }
/* the sheets (Subtitles, Settings, Episodes, Chapters): sideways / a mouse = a side sheet on the right; upright = a
   sheet from the bottom. The overlay steps back while one is open. */
:is(#pl, #lp).xp .panelwrap { z-index: 7; }
@media (pointer: coarse), (max-height: 700px) {
  :is(#pl, #lp).xp .panel { right: 0; top: 0; bottom: 0; width: calc(380px + var(--sar)); border-radius: 22px 0 0 22px; padding: calc(var(--sat) + 14px) calc(12px + var(--sar)) 10px 12px; }
  :is(#pl, #lp).xp .panel .pht { font-size: 18px; line-height: 24px; } :is(#pl, #lp).xp .panel .pkeys2 { display: none; }
  :is(#pl, #lp).xp .panel .prow { padding: 8px 12px; } :is(#pl, #lp).xp .panel .nm { font-size: 14px; } :is(#pl, #lp).xp .panel .dt { font-size: 11.5px; }
  :is(#pl, #lp).xp .panel .eb { margin: 8px 0 2px; font-size: 11.5px; } :is(#pl, #lp).xp .panel .seg { height: 32px; font-size: 13px; padding: 0 13px; }
}
@media (pointer: coarse), (max-height: 700px) { :is(#pl, #lp).xp.panel-open .subline { right: calc(380px + var(--sar)); padding-right: 12px; } }
@media (hover: hover) and (pointer: fine) and (min-height: 701px) { :is(#pl, #lp).xp.panel-open .subline { right: calc(480px + var(--sar)); } }
@media (orientation: portrait) {
  :is(#pl, #lp).xp.panel-open .subline { right: 0; opacity: 0; }
  :is(#pl, #lp).xp .panelwrap { background: rgba(0,0,0,.45); }
  :is(#pl, #lp).xp .panel { left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 64%; border-radius: 22px 22px 0 0; padding: 16px calc(12px + var(--sar)) calc(var(--sab) + 6px) calc(12px + var(--sal)); }
}
/* ---- The film player half open (clamshell / flex mode, owner 11-17; posture.js "tabletop", body.posture-tabletop):
   the picture fitted in the TOP half (the upright half facing you), the overlay for good on the flat BOTTOM half (the
   control deck: title + AirPlay / PiP / close, previous · play · next, subtitles + settings, the scrubber, the chevron),
   the sheets open on the bottom half. Only these rules change: the <video> and its stream are never touched. */
body.posture-tabletop :is(#pl, #lp).xp { --deck: 50%; }
body.posture-tabletop :is(#pl, #lp).xp .pv { inset: var(--sat) 0 var(--deck) 0; }
body.posture-tabletop :is(#pl, #lp).xp .xp-scrim { inset: var(--deck) 0 0 0; background: #0B0B0F; box-shadow: 0 -1px 0 rgba(255,255,255,.08); }
body.posture-tabletop :is(#pl, #lp).xp :is(.xp-scrim, .xp-top, .xp-mid, .xp-bot) { opacity: 1; pointer-events: auto; transition: none; text-shadow: none; }
body.posture-tabletop :is(#pl, #lp).xp :is(.xp-mid, .xp-scrim) { pointer-events: none; }
body.posture-tabletop :is(#pl, #lp).xp.panel-open :is(.xp-top, .xp-mid, .xp-bot) { visibility: hidden; }
body.posture-tabletop :is(#pl, #lp).xp .xp-top { top: calc(var(--deck) + 10px); }
body.posture-tabletop :is(#pl, #lp).xp .xp-t1 { font-size: 18px; line-height: 23px; } body.posture-tabletop :is(#pl, #lp).xp .xp-t2 { font-size: 13px; margin-top: 2px; }
/* the centre row midway between the title line (about 66 px) and the bottom block (about 116 px) */
body.posture-tabletop :is(#pl, #lp).xp .xp-mid { top: calc(75% - var(--sab) / 2 - 25px); }
body.posture-tabletop :is(#pl, #lp).xp .xp-mid .xc { width: 52px; height: 52px; background: rgba(255,255,255,.08); }
body.posture-tabletop :is(#pl, #lp).xp .xp-mid .xp-play { width: 72px; height: 72px; background: rgba(255,255,255,.12); }
/* subtitles, Skip intro, Up Next and the toast stay on the picture (the top half) */
body.posture-tabletop :is(#pl, #lp).xp .subline, body.posture-tabletop :is(#pl, #lp).xp.ui .subline, body.posture-tabletop :is(#pl, #lp).xp .subline.raised { bottom: calc(var(--deck) + var(--picb, 0px) + 12px); }
body.posture-tabletop :is(#pl, #lp).xp.panel-open .subline { right: 0; opacity: 1; padding-right: 0; }
body.posture-tabletop :is(#pl, #lp).xp .skipintro, body.posture-tabletop :is(#pl, #lp).xp.ui .skipintro { bottom: calc(var(--deck) + 14px); }
body.posture-tabletop :is(#pl, #lp).xp .upn-c, body.posture-tabletop :is(#pl, #lp).xp.ui .upn-c { bottom: calc(var(--deck) + 14px); }
body.posture-tabletop :is(#pl, #lp).xp .upn-fade { inset: var(--sat) 0 var(--deck) 0; }
body.posture-tabletop :is(#pl, #lp).xp :is(.toastp, .sndchip) { top: calc(var(--sat) + 14px); }
/* a sheet fills the bottom half; the picture above plays on, in full view */
body.posture-tabletop :is(#pl, #lp).xp .panelwrap { inset: var(--deck) 0 0 0; background: none; }
body.posture-tabletop :is(#pl, #lp).xp .panel { left: 0; right: 0; top: 0; bottom: 0; width: auto; max-height: none; border-radius: 18px 18px 0 0;
  padding: 12px calc(12px + var(--sar)) calc(var(--sab) + 4px) calc(12px + var(--sal)); }
/* ---- The Live TV player (antenna; owner 11-17, design/live-restyle-20261117): the film player's overlay above, live
   edition. Top left: LIVE + the channel, the programme, its time. The centre: −10 · play · +10 on the buffer behind live.
   The right edge: channel ▲ / its number / ▼. The bottom: Record · Guide · CC · the gear over the programme's bar (the
   rewind window lighter on it, a tick at live) with LIVE at its end. Half open: the film's rule (picture top half,
   overlay for good on the bottom half). The guide is a sheet like the film's Subtitles / Settings. */
#lp.xp .xp-ch { display: flex; align-items: center; gap: 8px; min-width: 0; font: 600 14px/18px Inter, system-ui, sans-serif; color: rgba(255,255,255,.9); margin-bottom: 4px; }
#lp.xp .xp-ch .live { margin: 0; flex: none; text-shadow: none; }
#lp.xp .xp-chl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #lp.xp .xp-chl b { font-weight: 700; color: #fff; }
#lp.xp .xp-t2 { flex-wrap: nowrap; min-width: 0; }
#lp.xp .xp-t2 > span { white-space: nowrap; flex: none; } #lp.xp .xp-t2 > span + span::before { content: "•"; margin-right: 6px; }
#lp.xp .xp-t2 > .xp-next { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
#lp.xp .xp-t2 .xp-sc { font-weight: 700; color: #fff; }
#lp.xp .xp-chs { position: absolute; z-index: 5; right: calc(var(--sar) + 14px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center;
  padding: 2px 0; border-radius: 999px; background: rgba(0,0,0,.26); text-shadow: 0 1px 6px rgba(0,0,0,.55); transition: opacity .25s; }
#lp.xp .xp-chn { font: 700 13px/16px Inter, system-ui, sans-serif; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.86); padding: 1px 0; }
#lp.xp:not(.ui) .xp-chs, #lp.xp.panel-open .xp-chs, #lp.xp.scrub .xp-chs { opacity: 0; pointer-events: none; }
#lp.xp .xp-rec.on { color: var(--live); }
#lp.xp .xp-row { position: relative; z-index: 1; }   /* (the buttons over the bar's 13 px touch strip: whole 44 px targets) */
/* a narrow window (the folded Duo with a mouse, a narrow desktop window): five buttons need the row, so no volume slider
   (the device's volume / M) and tighter gaps; else Full screen ran past the right edge / under the cutout (fold test) */
@media (max-width: 520px) { #lp.xp .xp-vol { display: none; } #lp.xp .xp-row { gap: 4px; } }
#lp.xp .s-subs { color: rgba(255,255,255,.92); }
#lp.xp .xp-bar .tnum { min-width: 0; } #lp.xp .xp-bar .xp-behind:empty { display: none; }
#lp.xp .xp-bar .chbar .seg { border-radius: 99px; }
#lp.xp .xp-bar .chbar .seg .w { background: rgba(255,255,255,.42); }
#lp.xp .xp-edge { position: absolute; top: 50%; width: 2px; height: 11px; margin: -5.5px 0 0 -1px; border-radius: 1px; background: rgba(255,255,255,.7); pointer-events: none; }
#lp.xp:not(.behind) .xp-edge { opacity: 0; }
#lp.xp:not(.rw) .xp-bar .knob { opacity: 0; } #lp.xp:not(.rw) .chbar { cursor: default; }
#lp.xp .xp-live { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 28px; padding: 0 10px; border-radius: 7px; background: var(--live); color: #fff;
  font: 700 12.5px/1 Inter, system-ui, sans-serif; letter-spacing: .5px; text-shadow: none; position: relative; }
#lp.xp .xp-live::after { content: ""; position: absolute; inset: -8px -4px; }   /* (a 44 px touch target) */
#lp.xp .xp-live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
#lp.xp.behind .xp-live { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
#lp.xp.behind .xp-live i { background: rgba(255,255,255,.55); }
#lp.xp .xp-live:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
/* the guide as a sheet: the filters, then the channels (games on now first) */
#lp.xp .lp-g .chipsr { display: flex; gap: 8px; padding: 10px 14px 8px; overflow-x: auto; scrollbar-width: none; flex: none; } #lp.xp .lp-g .chipsr::-webkit-scrollbar { display: none; }
#lp.xp .lp-g .chipf { height: 32px; font-size: 13.5px; padding: 0 14px; flex: none; }
#lp.xp .lp-g .pscroll { padding-bottom: calc(var(--sab) + 8px); }
#lp.xp .lp-g .gr { height: 62px; padding: 0 10px; }
#lp.xp .lp-g .eb { padding: 0 10px; } #lp.xp .lp-g .lp-note { margin-top: 0; }
#lp.xp .lp-g .pkeys2 { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 14px 0; font: 500 12px/1 Inter; color: rgba(255,255,255,.6); }
@media (pointer: coarse), (max-height: 700px) { #lp.xp .lp-g .pkeys2 { display: none; } }
/* a narrow phone upright: the next programme gives way to the time */
@media (max-width: 480px) { #lp.xp .xp-t2 > .xp-next { display: none; } #lp.xp .xp-chs .xc { width: 42px; height: 42px; } }
/* half open: the rocker sits on the control deck beside the centre row, always there */
body.posture-tabletop #lp.xp .xp-chs { opacity: 1; pointer-events: auto; transition: none; text-shadow: none; top: calc(75% - var(--sab) / 2 - 25px); background: rgba(255,255,255,.08); }
body.posture-tabletop #lp.xp.panel-open .xp-chs { visibility: hidden; }
/* ---- A short window held sideways (an iPhone on its side: 734 x 343; the Duo folded sideways: 678 x 457), sign-in
   (owner 11-16, "use your recommendation"): the mark sat over "welcome" and its line (there is no room for the mark
   above the words). Side by side instead: the painting and the mark on the left, the deep ground with the words and
   the button on the right, centred in the height. Upright and on a computer nothing changes. */
@media (orientation: landscape) and (max-height: 500px) {
  #osh-launch.si .stack, #osh-launch.si:is(.si-wait, .si-confirm, .si-code, .si-no) .stack { top: 50%; left: calc(var(--sal) + (100vw - var(--sal) - var(--sar)) * .24); width: min(24vw, 170px); gap: calc(min(24vw, 170px) * .105); }
  #osh-launch.si .dark, #osh-launch.si:is(.si-wait, .si-confirm, .si-code, .si-no) .dark { top: 0; left: 44%; -webkit-mask: linear-gradient(90deg, transparent, #000 72px); mask: linear-gradient(90deg, transparent, #000 72px);
    background: linear-gradient(90deg, #002B3B, #00121C 45%, #0B0B0F); }
  #osh-launch.si .low { left: auto; right: max(28px, calc(var(--sar) + 24px)); width: min(400px, calc(52vw - var(--sar) - 40px)); margin-left: 0; bottom: auto; top: 50%; transform: translateY(-50%); max-height: calc(100% - 24px); }
}
/* ---- The request pop-up held sideways (owner 11-16, "use your recommendation"): on an iPhone on its side the Request
   button sat below the card's bottom edge. the compact page's rules (a 44 % button column, a content-sized title block)
   squeezed the card's right-hand column ("Godzilla / Minus / Zero" on three lines, "R…" for Requested), so its blocks
   now take the column's whole width; and
   on a short window (under 500 px tall) the picture takes a third, the name is 24 px and the gaps are tighter, so
   the facts and the Request button are in view without scrolling (the summary and the rest scroll below). */
@media (min-aspect-ratio: 1/1) {
  .phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req > :not(.t-art):not(.sheetwrap):not(.rq-toast):not(.backbtn) { justify-self: stretch; min-width: 0; }
  .phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req .t-head { width: auto; padding-right: 62px; }   /* (clear of the ×) */
  .phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req :is(.t-btns, .rq-line, .t-sum, .t-capt, #rqdl) { width: auto; max-width: none; }   /* (the compact page's 44 % column is not this card's) */
}
@media (min-aspect-ratio: 1/1) and (max-height: 500px) {
  .phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req { grid-template-columns: 34% 1fr; }
  .phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req .t-head { padding-top: 14px; padding-left: 20px; }
  .phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req .rq-title { font: 700 24px/29px Inter; letter-spacing: -.5px; }
  .phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req .h-meta { margin-top: 4px; }
  .phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req :is(.t-btns, .rq-line, .t-sum, .t-capt, #rqdl) { margin-left: 20px; margin-right: 20px; }
  .phone.has-detail.detail-pop:not(.two) #detail > .title-pg.req .t-btns { margin-top: 12px; }
}
/* ---- The title page's progress line on a narrow phone (owner 11-16: an iPhone SE, 320 wide, broke "1 hr 6 min left" into
   three lines between the bar and From the start). The words never wrap; the bar gives up width first (92 px, down to
   32), From the start keeps its words. */
.t-you .t-yl { white-space: nowrap; }
.t-you:has(.t-fs) .pb { flex: 0 1 92px; min-width: 32px; }
@media (max-width: 360px) { .t-you .t-fs { gap: 4px; font-size: 13.5px; } }
/* (and where even that is too narrow, e.g. the folded phone's 289 px column beside the strip: From the start moves to its own
   line, right-aligned, rather than past the edge) */
.t-you:has(.t-fs) { flex-wrap: wrap; row-gap: 4px; }
/* ---- Library filters (owner 11-17, "Sure, let's try it"; design/lib-filters-20261117; screens/library.js). Calm: ONE
   quiet Filter chip after the three sort chips (the chip look, a small sliders mark; its count of filters on in a
   Lagoon dot), ONE summary line under the chips while filters are on (what is on · how many · Clear), and the sheet in
   the long-press menu's look (D-4 / D-11): #062833, the veil, the grab, slides up 220 ms / down 160 ms, the main
   button in the painted Lagoon with the dark ink, every option a 36 px pill (chosen: Lagoon fill, dark ink). House
   tokens only. A computer: a 560 px card 24 px off the bottom. */
.lf-chip { display: inline-flex; align-items: center; gap: 6px; }
.lf-chip .ic { flex: none; opacity: .8; margin-left: -2px; }
/* a narrow row (folded, iPhone): the chip is its mark alone and stays pinned at the row's right end while the sort chips
   scroll under it, so it is always in reach; solid (the chip fill over the page) with a short fade on its left */
.lib-bar { container-type: inline-size; }
@container (max-width: 480px) {
  .lf-chip { position: sticky; right: 0; padding: 0 12px; background: linear-gradient(var(--fill-chip), var(--fill-chip)), var(--pg, #0B0B0F); box-shadow: 0 0 0 6px var(--pg, #0B0B0F), -26px 0 14px 2px var(--pg, #0B0B0F); }
  .lf-chip > span:not(.lf-n) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .lf-chip .ic { margin-left: 0; }
}
.lf-chip.on { color: #fff; }
.lf-chip .lf-n:empty { display: none; }
.lf-chip .lf-n { min-width: 18px; height: 18px; padding: 0 5px; margin-right: -6px; border-radius: 9px; background: var(--lagoon); color: var(--lagoon-ink); font: 700 11.5px/18px Inter; text-align: center; }
.lf-sum { display: flex; align-items: center; gap: 10px; padding: 0 var(--pad); margin: -8px 0 16px; min-height: 32px; font: 500 13.5px/18px Inter; color: var(--t2); }
.phone .lf-sum { padding: 0 var(--gut, 20px); margin: -4px 0 12px; }
.lf-sum[hidden] { display: none; }
.lf-sum .lf-w { min-width: 0; flex: 0 1 auto; color: #fff; }
.lf-sum .lf-c { flex: none; color: var(--t3); }
.lf-sum .lf-c::before { content: "·"; margin-right: 10px; }
.lf-clear { position: relative; flex: none; margin-left: auto; height: 32px; padding: 0 2px 0 8px; border: 0; background: none; color: var(--lagoon-lt); font: 600 13.5px/1 Inter; cursor: pointer; }
body:not(.phone) .lf-clear { margin-left: 4px; }
.lf-clear::after { content: ""; position: absolute; inset: -6px -8px; }
.lf-clear:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 6px; }
.lf-none { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 48px 0 64px; }
.lf-none .lf-nt { font: 500 15px/20px Inter; color: var(--t2); }
body.lf-open #chrome { visibility: hidden; }
.lf-scrim { position: fixed; inset: 0; z-index: 70; background: var(--veil); }
.lf-sheet { position: fixed; z-index: 71; bottom: 0; left: calc(50% + (var(--sal) - var(--sar)) / 2); transform: translateX(-50%);
  width: min(560px, calc(100vw - var(--sal) - var(--sar))); max-height: calc(100vh - var(--sat) - 24px); max-height: calc(100dvh - var(--sat) - 24px);
  display: flex; flex-direction: column; border-radius: var(--r-sheet) var(--r-sheet) 0 0; background: var(--sheet); box-shadow: var(--sheet-shadow); color: #fff; outline: none; }
.lf-sheet .grab { flex: none; width: 38px; height: 5px; border-radius: 3px; background: var(--grab); margin: 12px auto 4px; }
.lf-h { flex: none; display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 20px; }
.lf-t { font: var(--type-sheet-t); letter-spacing: -.3px; }
.lf-reset { height: 36px; padding: 0 4px; border: 0; background: none; color: var(--lagoon-lt); font: 600 14px/1 Inter; cursor: pointer; }
.lf-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px 8px; }
.lf-g + .lf-g { margin-top: 18px; }
.lf-gt { font: 600 12.5px/16px Inter; letter-spacing: .4px; text-transform: uppercase; color: var(--t3); margin-bottom: 9px; }
.lf-os { display: flex; flex-wrap: wrap; gap: 8px; }
.lf-o { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 0; border-radius: var(--r-pill); background: var(--fill-chip); color: #fff; font: 500 14px/1 Inter; cursor: pointer; white-space: nowrap; }
.lf-o .lf-k { font: 500 12.5px/1 Inter; color: var(--t3); font-variant-numeric: tabular-nums; }
.lf-o.on { background: var(--lagoon); color: var(--lagoon-ink); font-weight: 600; }
.lf-o.on .lf-k { color: var(--lagoon-ink); opacity: .7; }
.lf-o.lf-more { background: none; box-shadow: inset 0 0 0 1px var(--sep); color: var(--t2); }
.lf-note { margin-top: 16px; font: 400 14px/20px Inter; color: var(--t2); }
.lf-foot { flex: none; padding: 12px 20px calc(16px + var(--sab)); box-shadow: 0 -1px 0 var(--sep); }
.lf-go { display: flex; align-items: center; justify-content: center; width: 100%; height: var(--btn-h-lg); border: 0; border-radius: var(--r-pill);
  background: var(--osh-paint) center / 100% 100%; color: var(--osh-ink); font: var(--type-btn); cursor: pointer; }
.lf-go:disabled { background: var(--fill-pill); color: var(--t2); cursor: default; }
.lf-o:focus-visible, .lf-go:focus-visible, .lf-reset:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (hover: hover) { .lf-o:not(.on):hover { background: rgba(255,255,255,.14); } .lf-go:not(:disabled):hover { filter: brightness(1.06); } }
@media (hover: none) { .lf-o:active { filter: brightness(1.2); } .lf-go:active { filter: brightness(.88); } }
@media (max-height: 520px) { .lf-sheet .grab { margin: 8px auto 0; } .lf-h { height: 40px; } .lf-g + .lf-g { margin-top: 14px; } .lf-foot { padding-top: 8px; } }
body:not(.phone) .lf-sheet { bottom: 24px; width: 560px; border-radius: 26px; max-height: calc(100vh - 48px); }
body:not(.phone) .lf-foot { padding-bottom: 18px; }
.lf-scrim.enter { animation: osh-veil-in .16s ease-out both; }
.lf-sheet.enter { animation: osh-sheet-in .22s cubic-bezier(.2,.8,.2,1) both; }
.lf-scrim.leaving { animation: osh-veil-out .16s ease-in both; pointer-events: none; }
.lf-sheet.leaving { animation: osh-sheet-out .16s cubic-bezier(.4,0,1,1) both; pointer-events: none; }
body:not(.phone) .lf-sheet.enter { animation-name: osh-lp-card-in; }
@media (prefers-reduced-motion: reduce) { .lf-sheet.enter { animation-name: osh-veil-in; } .lf-sheet.leaving { animation-name: osh-veil-out; } }

/* ---- People (owner 11-17, design/people-pages-20261117). The title page's Details (tab upright, a section elsewhere):
   Cast & Crew as portrait photos (name + part), each opening the Person page, then the title's facts in two quiet
   columns. The Person page: photo, name, job line, short bio; Known for; Movies | Shows; In your library; More with. */
.castrow.pcast { gap: 12px; }
.pcard { flex: none; width: 104px; color: #fff; text-decoration: none; border-radius: var(--r-poster); }
.pcard .pface { position: relative; width: 104px; aspect-ratio: 2/3; border-radius: var(--r-poster); background-color: #1C1C22; overflow: hidden;
  display: flex; align-items: center; justify-content: center; transition: transform .16s ease, filter .16s ease; }
.pcard .pface > span, .pr-photo > span { font: 650 30px/1 Inter; color: rgba(255,255,255,.4); }
.pcard .pn { font: 600 13.5px/18px Inter; margin-top: 8px; }
.pcard .pr { font: var(--type-cap); color: var(--t3); }
.pcard:focus-visible .pface { outline: var(--ring); outline-offset: 3px; }
@media (hover: none) { .pcard:active .pface { transform: scale(.97); filter: brightness(.9); } }
@media (hover: hover) { .pcard:hover .pface { filter: brightness(1.08); } }
.phone .pcard { width: 96px; } .phone .pcard .pface { width: 96px; }
.t-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px 20px; margin: 24px var(--pad) 0; padding-top: 18px; border-top: 1px solid var(--sep); }
.phone .t-facts { margin: 22px var(--gut, 20px) 0; grid-template-columns: 1fr 1fr; }
.t-facts dt { font: 500 12.5px/16px Inter; color: var(--t3); text-transform: none; }
.t-facts dd { font: 500 14.5px/20px Inter; color: rgba(255,255,255,.92); margin-top: 3px; }
.title-pg.dt .t-det .castrow { padding-left: var(--pad); }
body.phone:not(.compact):not(.two) .title-pg.ph .t-more > .t-det { margin-top: 18px; }

.pr-pg { padding-bottom: 90px; }
.pr-pg.dt { padding-top: 100px; }
.pr-hero { display: flex; gap: 18px; align-items: flex-end; padding: 0 var(--pad); }
.pr-pg.ph .pr-hero { padding: 0 var(--gut, 20px); }
.pr-photo { flex: none; width: 116px; aspect-ratio: 2/3; border-radius: var(--r-card); background-color: #1C1C22; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,255,255,.08); }
.pr-pg.dt .pr-photo { width: 190px; }
.pr-pg.dt .pr-hero { gap: 30px; align-items: flex-start; }
.pr-id { min-width: 0; padding-bottom: 4px; }
.pr-name { font: var(--type-page); letter-spacing: -.5px; }
.pr-pg.dt .pr-name { font: 650 38px/44px Inter; letter-spacing: -.8px; margin-top: 18px; }
.pr-line { font: 400 14px/20px Inter; color: var(--t2); margin-top: 6px; }
.pr-bio { font: 400 15px/22px Inter; color: rgba(255,255,255,.86); margin: 16px var(--gut, 20px) 0; max-width: 640px; }
.pr-pg.dt .pr-bio { margin: 16px 0 0; max-width: 760px; font-size: 16px; line-height: 24px; }
.pr-pg .pr-known { margin-top: 26px; }
.pr-pg.ph .pr-known > .rowh { padding: 0 var(--gut, 20px); }
.pr-kind { margin: 30px var(--pad) 0; }
.pr-pg.ph .pr-kind { margin: 26px var(--gut, 20px) 0; }
.pr-sec { margin-top: 24px; }
.pr-sec > .rowh { padding: 0 var(--pad); margin-bottom: 14px; }
.pr-pg.ph .pr-sec > .rowh { padding: 0 var(--gut, 20px); }
.pr-pg .grid.pr-grid { padding-bottom: 0; }
.pr-none { margin: 0 var(--pad); padding: 18px 20px; border-radius: var(--r-card); background: var(--fill-card); font: var(--type-card-b); color: var(--t2); }
.pr-pg.ph .pr-none { margin: 0 var(--gut, 20px); }
body.phone .pr-pg.ph .ml-empty { margin: 22px var(--gut) 0; padding: 22px 20px; border-radius: var(--r-card); background: var(--fill-card); }
body.phone .pr-pg.ph { padding-top: calc(var(--hdr-top) + 50px); }
body.phone .pr-pg.ph .backbtn { position: absolute; left: var(--gut); top: calc(var(--hdr-top) - 3px); margin: 0; }
.pr-grid .pt .pc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* (the year and the part: one line under every poster) */
/* ---- req-round (owner 11-17): a request's story (the long-press sheet on Your requests, reqstory.js), one-tap Play on an
   arrived tile, See all's segments. In the long-press sheet's family: the same card, list and Lagoon main button. */
.pt.rq .rq-play { position: absolute; right: 7px; bottom: 7px; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(12,12,16,.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pt.rq .rq-play svg { margin-left: 2px; }
.pt.rq .rq-play::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; }   /* (a 58 px target) */
@media (hover: hover) { .pt.rq .rq-play:hover { background: var(--lagoon); color: var(--lagoon-ink); } }
@media (hover: none) { .pt.rq .rq-play:active { background: var(--lagoon); color: var(--lagoon-ink); } }
.rs-story { margin: -4px 0 16px; }
.rs-steps { list-style: none; margin: 0; padding: 0; }
.rs-step { position: relative; display: flex; gap: 12px; padding: 0 0 10px; }
.rs-step:last-child { padding-bottom: 0; }
.rs-step:not(:last-child)::before { content: ""; position: absolute; left: 8.5px; top: 20px; bottom: 2px; width: 1.5px; background: rgba(255,255,255,.16); }
.rs-step.rs-done:not(:last-child)::before { background: rgba(29,194,208,.55); }
.rs-dot { flex: none; position: relative; width: 18px; height: 18px; border-radius: 50%; margin-top: 1px; display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); color: var(--lagoon-ink); }
.rs-done .rs-dot { background: var(--lagoon); box-shadow: none; }
.rs-done .rs-dot .ic { stroke-width: 3; }
.rs-now .rs-dot { box-shadow: inset 0 0 0 2px var(--gold); }
.rs-now .rs-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.rs-now.rs-warn .rs-dot { box-shadow: inset 0 0 0 2px var(--warn); } .rs-now.rs-warn .rs-dot::after { background: var(--warn); }
.rs-w { min-width: 0; flex: 1; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.rs-l { font: 600 15px/20px Inter; color: #fff; }
.rs-next .rs-l { color: rgba(255,255,255,.5); font-weight: 500; }
.rs-now .rs-l { color: var(--gold-tx); } .rs-now.rs-warn .rs-l { color: var(--warn); }
.rs-pct { font-variant-numeric: tabular-nums; }
.rs-t { font: 400 13.5px/20px Inter; color: var(--t2); font-variant-numeric: tabular-nums; }
.rs-s { flex-basis: 100%; font: 400 13.5px/18px Inter; color: var(--t2); }
.rs-seas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.rs-sn { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--fill-chip); font: 500 13px/1 Inter; color: var(--t2); font-variant-numeric: tabular-nums; }
.rs-sn b { font-weight: 700; color: #fff; }
.rs-sn.rs-ready { box-shadow: inset 0 0 0 1px rgba(29,194,208,.55); } .rs-sn.rs-ready .rs-sw { color: var(--lagoon-lt); }
.rs-sn.rs-downloading .rs-sw, .rs-sn.rs-importing .rs-sw { color: var(--gold-tx); }
.rs-sn.rs-stalled .rs-sw { color: var(--warn); }
.lp-act.warn:not(.main) .lp-l, .lp-act.warn:not(.main) .lp-ic { color: #FF8F8A; }
@media (max-height: 520px) { .rs-step { padding-bottom: 8px; } .rs-story { margin-bottom: 10px; } }
/* See all's segments: Live TV's segmented control (.segc), as buttons */
.rq-segs { padding: 14px var(--pad) 0; overflow-x: auto; scrollbar-width: none; }
.rq-segs::-webkit-scrollbar { display: none; }
.rq-pg.ph .rq-segs { padding: 14px var(--gut, 20px) 0; }
.rq-segs .segc button { height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: none; display: inline-flex; align-items: center; white-space: nowrap;
  font: 600 14px/1 Inter; color: var(--t2); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rq-segs .segc button.on { background: rgba(255,255,255,.18); color: #fff; }
body.phone .rq-segs .segc button.on { background: var(--tp-sub, rgba(255,255,255,.18)); }
.rq-segs .segc button:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.rq-pg .dl-idle.rq-none { margin-top: 18px; }
.rq-pg.ph .rq-segs .segc button { padding: 0 11px; font-size: 13.5px; }
