/* Tenner: one stylesheet for every page (each page adds its own on top).
   Apple's feel throughout: San Francisco (Inter where it's missing), bold large titles, one frost for every box, bar and
   sheet, one 9px corner, the owner's deep navy buttons with white words, and still neon ranks. Nothing animates at rest,
   so an idle page costs nothing; nothing moves at all unless Settings → Animations is on and the device allows it (.still).

   How it's laid out:
     1. tokens: colours for Day, then Night ([data-theme="dark"]: the head script always resolves Auto to one of the two)
     2. base: the page, links, focus, the one corner
     3. controls: buttons (main, secondary, groups, round), pop-up menus, segmented switches, switches
     4. the shell: the bar, the logo, the tabs; the sidebar on computers, the floating bar on tablets, and on phones the
        navigation bar, the menu and the tab bar; search; your account
     5. shared pieces: the chart list, rows of posters, empty pages, the toast, tips, loading, popups
     6. sheets: a title's, a person's, the hover card, Share, My services, the Top 10s, Tonight
     7. the device's settings: Reduce Transparency, Increase Contrast, Reduce Motion, pointers and fingers */

/* ============================================================ 1. tokens */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-latin.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-tight-latin.woff2) format("woff2"); }
@property --tm-s { syntax: "<angle>"; inherits: false; initial-value: 360deg; }
@property --tone { syntax: "<color>"; inherits: true; initial-value: #0a84ff; }

:root {
  color-scheme: light;
  /* the system's colours, by day */
  --bg: #ffffff; --bg2: #f2f2f7; --card: #ffffff;
  --fill: rgba(120, 120, 128, .12); --fill-strong: rgba(120, 120, 128, .2); --pill: rgba(118, 118, 128, .14);
  --label: #000000; --label2: rgba(60, 60, 67, .75); --label3: rgba(60, 60, 67, .36); --sep: rgba(60, 60, 67, .2);
  --accent: #007aff; --green: #28a745; --gold: #c27c00;
  --shadow: 0 10px 30px rgba(0, 0, 0, .14), 0 2px 6px rgba(0, 0, 0, .08);
  --cover-shadow: 0 0 0 .5px rgba(0, 0, 0, .1), 0 6px 18px -8px rgba(0, 0, 0, .3);
  /* the wash of colour behind every page */
  --amb1: rgba(0, 122, 255, .11); --amb2: rgba(255, 55, 95, .07); --amb3: rgba(191, 90, 242, .07);
  /* one frost everywhere (the owner's rule, after the My services card): the page colour at 80% over a 40px blur with a
     fine rim; a box inside a frosted one takes the faint --fr-in tint instead (never glass on glass) */
  --fr-bg: color-mix(in srgb, var(--bg) 80%, transparent); --fr-in: color-mix(in srgb, var(--label) 7%, transparent);
  --fr-blur: blur(40px) saturate(1.6); --fr-rim: color-mix(in srgb, var(--label) 14%, transparent);
  /* the older names for the same material, still read by the pages */
  --glass: var(--fr-bg); --frost: var(--fr-bg); --sheet-bg: var(--fr-bg); --gl-fill: var(--fr-bg); --gl-rim: var(--fr-rim);
  --gl-hover: color-mix(in srgb, var(--bg) 92%, transparent); --frost-edge: var(--fr-rim); --frost-blur: var(--fr-blur); --sheet-blur: var(--fr-blur);
  --frost-hi: rgba(255, 255, 255, .6); --frost-on: #ffffff;
  --frost-line: inset 0 0 0 .5px var(--frost-edge), inset 0 1px 0 var(--frost-hi);
  /* buttons (the owner's design): a deep navy for main actions, dark grey circles for icons alone, iOS's quiet grey for
     second choices; a touch see-through over the frost */
  --bt-fill: rgba(11, 30, 60, .84); --bt-hover: rgba(19, 42, 82, .9); --bt-round: rgba(34, 34, 38, .8); --bt-round-hover: rgba(46, 46, 51, .86);
  --bt-on: #64d2ff; --bt2: var(--fill); --bt2-hover: var(--fill-strong); --bt2-ink: var(--label);
  /* the soft light that follows the pointer over a few cards */
  --lamp: color-mix(in srgb, var(--accent) 7%, transparent);
  /* motion */
  --ease-spring: cubic-bezier(.3, 1.25, .4, 1); --ease-out: cubic-bezier(.2, .8, .2, 1); --ease-snap: cubic-bezier(.34, 1.56, .64, 1);
  /* popups: one simple bounce, a small swell past full size on the way in and on the way out; iOS's sheet curve on phones */
  --ease-bounce-in: cubic-bezier(.34, 1.56, .64, 1); --ease-bounce-out: cubic-bezier(.36, 0, .66, -.56);
  --ease-sheet: cubic-bezier(.32, .72, 0, 1); --ease-exit: cubic-bezier(.23, 1, .32, 1);
  --spring: var(--ease-spring);
  /* type and shape */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter Tight", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 9px; --radius: var(--r); --r-ctl: var(--r);   /* the one corner for every button, box, bar, card and poster */
  --r-app: 22.5%;   /* a service's logo tile: an app icon's own corner, at any size */
  /* the page's width, and on computers its place beside the sidebar */
  --gutter: max(20px, env(safe-area-inset-left, 0px)); --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --max: 1560px; --page-left: auto;
  /* every pop-up menu's up-and-down chevron, and a row's chevron, as on iOS and the Mac */
  --pop-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 14'%3E%3Cpath d='M1 5l3.5-3.5L8 5M1 9l3.5 3.5L8 9' fill='none' stroke='%23888' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --row-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 13'%3E%3Cpath d='M1.5 1.5 6.5 6.5l-5 5' fill='none' stroke='%23999' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@supports (transition-timing-function: linear(0, 1)) {
  /* a gently under-damped spring (a 4% overshoot, settled by the end), like iOS's default "smooth" spring */
  :root { --spring: linear(0, .084, .266, .471, .657, .805, .911, .979, 1.017, 1.035, 1.038, 1.034, 1.027, 1.019, 1.012, 1.007, 1.003, 1.001, .999, 1); }
}
/* Night (also Auto on a dark device: the head script sets data-theme to what Auto means right now) */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000; --bg2: #1c1c1e; --card: #1c1c1e;
  --fill: rgba(118, 118, 128, .24); --fill-strong: rgba(118, 118, 128, .36); --pill: rgba(118, 118, 128, .28);
  --label: #ffffff; --label2: rgba(235, 235, 245, .62); --label3: rgba(235, 235, 245, .3); --sep: rgba(84, 84, 88, .6);
  --accent: #0a84ff; --green: #30d158; --gold: #ffb340;
  --shadow: 0 10px 30px rgba(0, 0, 0, .6);
  --cover-shadow: 0 0 0 .5px rgba(255, 255, 255, .12), 0 6px 18px -8px rgba(0, 0, 0, .55);
  --amb1: rgba(10, 132, 255, .24); --amb2: rgba(255, 55, 95, .1); --amb3: rgba(191, 90, 242, .16);
  --frost-hi: rgba(255, 255, 255, .08); --frost-on: rgba(255, 255, 255, .16);
  --lamp: rgba(255, 255, 255, .06);
}
/* your colour: with one picked on your account (data-me, set by tnMe in each page's head) it becomes the accent wherever
   --accent reaches, and tints the wash behind the page: --me-d, a deeper shade for Day; --me-n, a lighter one for Night */
:root[data-me] { --accent: var(--me-d); --amb1: hsl(var(--me-h) 85% 55% / .13); --lamp: color-mix(in srgb, var(--accent) 9%, transparent); }
:root[data-me][data-theme="dark"] { --accent: var(--me-n); --amb1: hsl(var(--me-h) 85% 52% / .26); }

/* ============================================================ 2. base */
* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; overflow-x: clip;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-optical-sizing: auto;
}
body {
  margin: 0; overflow-x: clip; isolation: isolate; background: var(--bg); color: var(--label);
  font: 400 17px/1.47 var(--font); letter-spacing: -.022em; font-feature-settings: "kern";
}
/* a soft wash of colour behind everything, so the page feels lit from above (inside the screen: on iPhone, anything fixed
   past its sides makes Safari zoom the whole page out) */
body::before {
  content: ""; position: fixed; z-index: -1; left: 0; right: 0; top: 0; height: 80vh; pointer-events: none;
  background: radial-gradient(55% 55% at 18% 18%, var(--amb1), transparent 70%), radial-gradient(40% 45% at 92% 6%, var(--amb2), transparent 72%), radial-gradient(60% 50% at 62% 48%, var(--amb3), transparent 75%);
}
main { padding-bottom: 40px; }   /* breathing room at the end of every page */
main:focus { outline: none; }
a { color: var(--accent); text-decoration: none; }
@media (hover: hover) { a:hover { text-decoration: underline; } }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.mine-n, .set-l small { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--accent) 28%, transparent); }
@media (hover: none) { a, button, select { -webkit-tap-highlight-color: transparent; } }
:where(a, button, select, label, summary, [role="button"]) { touch-action: manipulation; }   /* no double-tap zoom on a control: a quick second tap is a second tap */
/* hidden until focused, inside the screen */
.skip { position: absolute; left: 16px; top: 8px; z-index: 30; clip-path: inset(50%); }
.skip:focus { clip-path: none; }
/* the hidden switch an iPhone flips for a haptic tap (tn.haptic) */
.tn-hap { position: fixed; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.page-title { margin-top: 14px; }
.wrap { max-width: var(--max); margin: 0 auto 0 var(--page-left); padding-left: var(--gutter); padding-right: var(--gutter-r); }

/* headings and words */
/* Tenner's keynote gradient: one phrase in a headline, pink to purple to blue (one phrase per page) */
.grad { font-style: normal; background: linear-gradient(100deg, #ff375f 0%, #bf5af2 55%, #0a84ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-bottom: .06em; }
.large-title { margin: 14px 0 4px; font: 700 clamp(32px, 5vw, 48px)/1.1 var(--font-display); letter-spacing: -.008em; text-wrap: balance; }
.lede { margin: 0; color: var(--label2); font-size: 17px; letter-spacing: -.022em; max-width: 60ch; }
.lede b { color: var(--label); font-weight: 600; }
.notice { margin: 12px 0 0; padding: 12px 16px; border-radius: var(--r); background: color-mix(in srgb, var(--accent) 12%, transparent); font-size: 15px; }
.star { color: var(--gold); font-weight: 600; }
/* a title with no poster: its name on a colour of its own */
.ph { display: grid; align-content: end; padding: 18px; color: #fff; font: 700 25px/1.05 var(--font); letter-spacing: -.03em; text-wrap: balance; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
.row-h { margin: 32px 0 12px; font: 700 22px/1.2 var(--font); letter-spacing: -.008em; }
.row-h a { color: var(--label); display: inline-flex; align-items: center; gap: 6px; padding-block: 8px; margin-block: -8px; }   /* a 44pt tap, the same look */
@media (hover: hover) { .row-h a:hover { text-decoration: none; color: var(--accent); } }
.chev { width: 9px; height: 9px; border-right: 2.4px solid currentColor; border-bottom: 2.4px solid currentColor; transform: rotate(-45deg); opacity: .55; margin-left: 2px; }
.row-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 32px 0 12px; }
.row-hd .row-h { margin: 0; }
.see-all { display: inline-flex; align-items: center; gap: 5px; flex: none; font-size: 15px; font-weight: 500; letter-spacing: -.016em; padding-block: 11px; margin-block: -11px; }
.see-all .chev { width: 7px; height: 7px; border-width: 0 2px 2px 0; }
@media (max-width: 640px) {
  .row-h { margin-top: 26px; font-size: 20px; }
  .row-hd { margin-top: 26px; }
  .see-all { font-size: 14px; }
}
@media (max-width: 560px) {
  .large-title { font-size: 34px; line-height: 1.12; margin-top: 10px; }   /* iOS's Large Title (34pt bold) */
  .lede { font-size: 15px; }
  .notice { font-size: 14px; padding: 10px 14px; }
  .ph { font-size: 18px; padding: 12px; }
}

/* ============================================================ 3. controls */
/* ---------- buttons (the owner's design: use it for every button). Solid deep tinted fills, no glass or rim, softly
   rounded rectangles (circles when there's only an icon), an icon beside the words, white words and icons, regular weight
   with font smoothing; the same in Day and Night. ---------- */
button, .btn, .dd, .tn-opt, .coll-b, .segmented button { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
/* a long press on a control never selects its words or pops up the link menu, as on iPhone */
:is(.btn, .dd, .tb-round, .hc-r, .cal-add, .tn-rd, .bx-me-card, .bx-me-out, .tabs button, .segmented button, .coll-b, .tn-opt) { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 36px; padding: 0 16px; border: 0; border-radius: var(--r);
  font: 500 15px/1 var(--font); letter-spacing: -.016em; white-space: nowrap;
  color: var(--label); background: transparent; cursor: pointer; text-decoration: none;
  transition: background-color .18s ease, transform .4s var(--spring);
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) { .btn:hover { text-decoration: none; } }
.btn:active { transform: scale(.96); }
/* a button's icon, wherever a page hasn't sized it (zero specificity, so any page's own size wins) */
:where(.btn > svg) { width: 17px; height: 17px; flex: none; }
/* the main action: deep navy, white words */
.btn-tinted, .dd, .pv-ok, .ft-ok, .sh-main .btn, .sh-btns .btn, .set-pill, .tb-round, .cal-add {
  background: var(--bt-fill); color: #fff; box-shadow: none; -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur); }
.btn-tinted, .dd, .pv-ok, .ft-ok, .sh-main .btn, .sh-btns .btn, .set-pill { border-radius: var(--r); font-weight: 500; letter-spacing: -.012em; }
.btn-tinted svg, .dd .dd-l, .dd .dd-chev { color: #fff; }
@media (hover: hover) { .btn-tinted:hover, .dd:hover, .pv-ok:hover, .ft-ok:hover, .sh-main .btn:hover, .sh-btns .btn:hover, .set-pill:hover, .cal-add:hover { background: var(--bt-hover); } }
/* only an icon: a dark grey circle */
.tb-round, .hc-r, .sh-more > .btn.sh-star { background: var(--bt-round); border-radius: 50%; }
@media (hover: hover) { .tb-round:hover, .hc-r:hover { background: var(--bt-round-hover); } }
/* on (In Watchlist, a reminder set): the house's light blue */
.cal-add, .sh-more .btn[aria-pressed="true"], .hc-r[aria-pressed="true"] { color: var(--bt-on); }
/* ---------- secondary buttons (.btn-2nd beside btn btn-tinted): the less important action next to a main one (Cancel,
   Not now, Share beside Watch, Start again). iOS's quiet grey over the frost, the page's own text colour. ---------- */
.btn.btn-2nd { background: linear-gradient(var(--bt2), var(--bt2)) var(--fr-bg); color: var(--bt2-ink); box-shadow: none;
  -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur); border-radius: var(--r); }
.btn.btn-2nd svg { color: inherit; }
@media (hover: hover) { .btn.btn-2nd:hover { background: linear-gradient(var(--bt2-hover), var(--bt2-hover)) var(--fr-bg); } }
.btn.btn-2nd:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn.btn-2nd:is(.ac-del-go, .bgrp-danger) { color: #ff3b30; }
.chip.btn-2nd .chip-ic img + img { box-shadow: 0 0 0 1.5px var(--bg2); }
/* ---------- button groups: related secondary actions joined into one bar, split by hairlines, the corner outside only ---------- */
.bgrp { display: inline-flex; align-items: stretch; gap: 0 !important; max-width: 100%; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(var(--bt2), var(--bt2)) var(--fr-bg); box-shadow: inset 0 0 0 1px var(--fr-rim);
  -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur); }
.bgrp > .btn.btn-2nd { position: relative; flex: 1 1 0; min-width: 0; border-radius: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
.bgrp > .btn.btn-2nd + .btn-2nd::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-left: 1px solid var(--fr-rim); }
@media (hover: hover) { .bgrp > .btn.btn-2nd:hover { background: var(--bt2); } }
.bgrp > .btn.btn-2nd:active { background: var(--bt2-hover); }
.bgrp > .btn.btn-2nd:focus-visible, .bgrp > label.btn-2nd:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: -2px; }
.bgrp > .btn.btn-2nd[aria-pressed="true"] { color: var(--accent); }   /* on (Watched, Hidden): the accent */

/* ---------- Shows / Films / Both: a pop-up button (the macOS / iOS way) over the browser's own picker, a native <select> ---------- */
.dd {
  position: relative; display: inline-flex; align-items: center; gap: 9px; min-width: 210px; height: 36px; padding: 0 14px 0 6px; border: 0; cursor: pointer;
  font: 500 15px/1 var(--font); letter-spacing: -.012em; white-space: nowrap; -webkit-tap-highlight-color: transparent;
  transition: transform .4s var(--spring), background-color .18s ease;
}
.dd:active { transform: scale(.96); }
.dd select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; appearance: none; border: 0; cursor: pointer; }
.dd:has(select:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.dd-l { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.dd-chev { flex: none; width: 9px; height: 14px; margin-left: 2px; opacity: .55; background: no-repeat center / 9px 14px var(--pop-chev); }
/* a compact one, as wide as its words */
.dd-kind { min-width: 0; height: 36px; padding: 0 14px 0 18px; gap: 10px; }
.dd-kind .dd-chev { opacity: .7; }
@media (max-width: 560px) { #kindDD { flex: none; height: 40px; } }

/* ---------- segmented switches (Shows | Films and the like): one frosted thumb that slides between the options, and can be
   dragged like an iOS switch's knob ---------- */
.segmented { position: relative; isolation: isolate; touch-action: pan-y;
  display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; flex: none; height: 36px; padding: 3px; border-radius: var(--r);
  background: var(--fr-bg); box-shadow: inset 0 0 0 1px var(--fr-rim); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur); }
.segmented button {
  position: relative; z-index: 1;
  font: 500 14px/1 var(--font); letter-spacing: -.016em; color: var(--label2); background: none; border: 0; border-radius: var(--r); padding: 0 16px; min-width: 72px; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.segmented button[aria-checked="true"] { color: var(--label); }
.segmented button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.seg-thumb {
  position: absolute; z-index: 0; left: 0; top: 3px; bottom: 3px; width: 0; border-radius: var(--r); pointer-events: none;
  background: var(--fr-in); box-shadow: inset 0 0 0 1px var(--fr-rim), 0 2px 6px rgba(0, 0, 0, .12);
  transition: scale .3s var(--ease-spring), filter .2s ease;
}
.seg-thumb.held { scale: 1.06; filter: brightness(1.06); }   /* held: it swells a touch, as the iOS knob does */
@media (max-width: 560px) { .segmented button { min-width: 0; padding: 0 12px; } }

/* ---------- switches: Safari's own iOS switch (<input type="checkbox" switch>) where it exists, this drawn one elsewhere ---------- */
.sw { position: relative; width: 51px; height: 31px; flex: none; border-radius: 16px; background: var(--fill-strong); transition: background-color .25s ease; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: translate .25s var(--ease-out); }
:is(.mine-row, .mine-all, .me-share-row) input { position: absolute; opacity: 0; width: 1px; height: 1px; }
:is(.mine-row, .mine-all, .me-share-row) input:checked + .sw { background: var(--green); }
:is(.mine-row, .mine-all, .me-share-row) input:checked + .sw::after { translate: 20px 0; }
:is(.mine-row, .mine-all, .me-share-row) input:focus-visible + .sw { outline: 2px solid var(--accent); outline-offset: 2px; }
:is(.mine-dlg, .mine-subs).native-sw :is(.mine-row, .mine-all) input { position: static; opacity: 1; width: auto; height: auto; margin: 0; accent-color: var(--green); font-size: 17px; }
:is(.mine-dlg, .mine-subs).native-sw :is(.mine-row, .mine-all) .sw { display: none; }

/* ---------- glass pills that aren't buttons: a quiet badge (a show in its last season) ---------- */
.fin { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: var(--r); background: var(--fr-bg); box-shadow: inset 0 0 0 .5px var(--fr-rim);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 11px; font-weight: 600; line-height: 16px; letter-spacing: .01em; color: var(--label); vertical-align: 1px; white-space: nowrap; }

/* ---------- climbing: how far a title moved up (Climbing this week, Biggest Climbers), tn.climb. Drawn like Tenner's
   buttons: the deep navy fill over the frost, a 9px corner, a white arrow beside white words. Still, never shining. ---------- */
.climb { display: inline-flex; align-items: center; gap: 4px; flex: none; margin-left: auto; height: 30px; padding: 0 10px 0 8px; border-radius: var(--r);
  color: #fff; background: var(--bt-fill); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur);
  font: 500 14px/1 var(--font); letter-spacing: -.012em; white-space: nowrap; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.climb-ic { display: grid; place-items: center; width: 14px; height: 14px; }
.climb-ic svg { width: 14px; height: 14px; }
.climb-n { display: inline-flex; align-items: baseline; gap: 3px; }
.climb-n b { font: 500 15px/1 var(--font); font-variant-numeric: tabular-nums; }
.climb-n small { font: 500 12.5px/1 var(--font); color: rgba(255, 255, 255, .78); }

/* ---------- avatars: your picture, or your initials on your colour ---------- */
.av { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; color: #fff; font: 700 15px/1 var(--font);
  background: linear-gradient(145deg, hsl(var(--h, 210) 80% 62%), hsl(calc(var(--h, 210) + 40) 75% 42%)); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .25); }
.av svg { width: 20px; height: 20px; }
span.av:not([style*="--h"]) { background: var(--fill-strong); color: var(--label2); }

/* ---------- .lit: a fine line of the box's colour (--tone) along its top, fading at both ends, and a soft glow beneath
   (a box adds var(--lit-glow) to its shadow). ---------- */
.lit { position: relative; --lit-glow: 0 40px 90px -40px color-mix(in srgb, var(--tone) 60%, transparent); transition: --tone .8s ease; }
.lit::before { content: ""; position: absolute; z-index: 1; top: 0; left: 12%; right: 12%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--tone), transparent); }
/* computers: frosted cards catch a soft light that follows the pointer, like glass under a lamp */
@media (hover: hover) and (pointer: fine) {
  :root :is(.set-page .set-group, .cx-card, .ab-box) { background-image: radial-gradient(520px circle at var(--mx, 50%) var(--my, -400px), var(--lamp), transparent 62%); }
}

/* ============================================================ 4. the shell
   One bar for every page. Phones (under 720px): iOS's navigation bar (menu and Back on the left, the logo in the middle,
   Share or Filters and Search on the right), the menu sliding in from the left, and the pages in a floating tab bar at the
   foot. Tablets (720 to 999px): one floating bar at the top with the logo, Search, the tabs and the round buttons.
   Computers (1000px and up): the Apple Music sidebar, full height against the window's edge. */
.top-row {
  position: sticky; top: 0; z-index: 49; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px;
  max-width: var(--max); margin: 0 auto; padding: calc(env(safe-area-inset-top, 0px) + 6px) var(--gutter-r) 6px var(--gutter); pointer-events: none;
  view-transition-name: topbar;   /* it stays put while the page crossfades */
}
.top-row > * { position: relative; z-index: 1; animation: riseIn .6s var(--ease-out) both; }
/* once the page scrolls, iOS's scroll edge: the page fades into the page colour under the bar, with no line where it stops.
   A gradient only, no blur: Safari clips a blur to the bar's own box (it has a view-transition-name), which drew a line. */
.top-row::before {
  content: ""; position: absolute; z-index: 0; left: -50vw; right: -50vw; top: 0; bottom: -26px; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 94%, transparent) 38%, color-mix(in srgb, var(--bg) 72%, transparent) 62%, color-mix(in srgb, var(--bg) 30%, transparent) 84%, transparent);
}
.scrolled .top-row::before { opacity: 1; }
/* the logo and the name; the page's own title slides into the bar in place of "Tenner" once its large title has scrolled away */
.top-brand { position: relative; display: flex; align-items: center; gap: 10px; pointer-events: auto; min-width: 0; }
.brand-name { font: 600 1.2rem/1 var(--font); letter-spacing: -.01em; color: var(--label); transition: opacity .2s ease, translate .3s var(--ease-out); }
.bar-title { position: absolute; left: 46px; right: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 600 1.06rem/1.2 var(--font); letter-spacing: -.01em; color: var(--label); opacity: 0; translate: 0 8px; pointer-events: none;
  transition: opacity .25s ease, translate .35s var(--ease-out); }
.title-in .bar-title { opacity: 1; translate: 0 0; }
.title-in .brand-name { opacity: 0; translate: 0 -8px; }

/* ---------- Tenner's mark, drawn live (sharp at any size, and it can move): a black app tile lit softly from above, the
   white "1", and the "0" as a rainbow ring round the colour wheel with a play button inside. With Animations on it draws
   itself in once a visit, and spins its ring when pressed. Transform, opacity and one small mask: next to nothing. ---------- */
.lt-logo { display: block; width: 36px; height: 36px; border-radius: var(--r-app); flex: none; -webkit-tap-highlight-color: transparent;
  transition: opacity .2s ease, scale .45s var(--ease-spring); }
.tm { position: relative; display: block; width: 100%; height: 100%; border-radius: inherit; overflow: hidden; isolation: isolate;
  background: radial-gradient(130% 95% at 50% -8%, #34343a 0%, #141417 52%, #000 100%);
  box-shadow: inset 0 .6px 0 rgba(255, 255, 255, .34), inset 0 0 0 .5px rgba(255, 255, 255, .12),
    0 .5px 1px rgba(0, 0, 0, .3), 0 6px 16px -5px rgba(118, 70, 230, .5), 0 3px 10px -6px rgba(255, 70, 110, .45);
  transition: scale .45s var(--ease-spring); }
.tm::before, .tm::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; }
.tm::before { background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .03) 46%, transparent 52%); }   /* the glass's sheen */
.tm::after { background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .42) 48%, rgba(255, 255, 255, .1) 56%, transparent 66%); translate: -110% 0; }   /* the glint */
/* the ring sits where the "0" is on the 64 grid: centre 39,32, 14.75 out, 5.5 thick */
.tm-ring, .tm-glow { position: absolute; left: 37.9%; top: 26.95%; width: 46.1%; height: 46.1%; border-radius: 50%;
  background: conic-gradient(from 200deg, #ff375f, #ff9f0a 16%, #ffd60a 30%, #30d158 46%, #64d2ff 60%, #0a84ff 72%, #bf5af2 86%, #ff375f);
  -webkit-mask: radial-gradient(closest-side, transparent 61.6%, #000 63.6%), conic-gradient(#000 var(--tm-s), transparent 0);
  -webkit-mask-composite: source-in; mask: radial-gradient(closest-side, transparent 61.6%, #000 63.6%) intersect, conic-gradient(#000 var(--tm-s), transparent 0); }
.tm-glow { z-index: 0; filter: blur(1.6px) saturate(1.3); opacity: .8; }
.tm-ring { z-index: 1; }
.tm svg { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; }
.tm-one { fill: none; stroke: #fff; stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; }
.tm-play { fill: #fff; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; transform-box: fill-box; transform-origin: 40% 50%; }
.lt-logo:active .tm { scale: .9; transition-duration: .12s; }   /* it gives a little, like an app icon under a finger */
:root:not(.still):not(.logo-seen) .tm { animation: tmIn .7s var(--ease-spring) both; }
:root:not(.still):not(.logo-seen) .tm::after { animation: tmGlint 1s cubic-bezier(.4, 0, .2, 1) .85s both; }
:root:not(.still):not(.logo-seen) :is(.tm-ring, .tm-glow) { animation: tmSweep 1s cubic-bezier(.3, .7, .2, 1) .1s both; }
:root:not(.still):not(.logo-seen) .tm-one { stroke-dasharray: 1; animation: tmWrite .55s cubic-bezier(.5, 0, .2, 1) .12s both; }
:root:not(.still):not(.logo-seen) .tm-play { animation: tmPop .6s var(--ease-spring) .62s both; }
:root:not(.still) .tm.spin :is(.tm-ring, .tm-glow) { animation: tmSpin .95s cubic-bezier(.25, .9, .25, 1); }
@keyframes tmIn { from { opacity: 0; scale: .82; } }
@keyframes tmSweep { from { --tm-s: 0deg; rotate: -100deg; } }
@keyframes tmWrite { from { stroke-dashoffset: 1; } }
@keyframes tmPop { from { scale: 0; opacity: 0; } }
@keyframes tmGlint { from { translate: -110% 0; } to { translate: 110% 0; } }
@keyframes tmSpin { from { rotate: 0deg; } to { rotate: 360deg; } }

/* ---------- the round buttons beside the tabs (Settings, About, Theme) ---------- */
.top-act {
  justify-self: end; display: flex; align-items: center; pointer-events: auto; min-width: 0; gap: 2px; padding: 3px; border-radius: var(--r);
  background: var(--fr-bg); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur); box-shadow: inset 0 0 0 1px var(--fr-rim);
}
.tb-btn {
  position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--r);
  appearance: none; background: none; cursor: pointer; touch-action: manipulation; color: var(--label);
}
.tb-btn::after { content: ""; position: absolute; inset: -3px; }
.tb-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tb-btn[aria-expanded="true"] { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
@media (hover: hover) { .tb-btn:not([aria-expanded="true"]):hover { background: var(--pill); } }
.tb-btn svg { width: 21px; height: 21px; }
a.tb-btn:hover { text-decoration: none; }
.tb-about[aria-current] { color: var(--accent); }   /* the menu's links take the accent */
.th-wrap { position: relative; display: grid; }
.th-sel { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; border: 0; appearance: none; cursor: pointer; }
.th-wrap:has(.th-sel:focus-visible) .tb-btn { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- the tabs: a bar of frost with an even specular rim; the chosen tab sits under a lighter pill that glides
   (and squashes a little) as it moves, inset evenly so the shapes stay concentric ---------- */
.tabbar { display: flex; align-items: center; gap: 10px; pointer-events: auto; transition: opacity .25s ease, transform .35s var(--ease-out); }
.tabs {
  position: relative; isolation: isolate; display: flex; padding: 4px; border-radius: var(--r);
  background: var(--fr-bg); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .08);
}
.tabs::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .75), rgba(255, 255, 255, .18) 45%, rgba(255, 255, 255, .1) 70%, rgba(255, 255, 255, .32));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.tabs button {
  position: relative; z-index: 1; appearance: none; border: 0; background: none; display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px;
  border-radius: var(--r); font: 600 15px/1 var(--font); letter-spacing: -.016em; color: var(--label); cursor: pointer; touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.tabs button svg { display: block; width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tabs button[aria-selected="true"] { color: var(--accent); }
.tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
@media (hover: hover) { .tabs button[aria-selected="false"]:hover { color: var(--accent); } }
/* outline symbols at rest, filled for the chosen tab */
.tabs .i-f { display: none; }
.tabs [aria-selected="true"] .i-o { display: none; }
.tabs [aria-selected="true"] .i-f { display: block; }
.tabs .i-f .solid { fill: currentColor; stroke: none; }
.tab-ind {
  position: absolute; z-index: 0; left: 0; top: 4px; bottom: 4px; width: 0; border-radius: var(--r); transform-origin: center; pointer-events: none;
  background: color-mix(in srgb, var(--pill) 100%, rgba(255, 255, 255, .1)); box-shadow: inset 0 .5px 0 rgba(255, 255, 255, .45), inset 0 0 0 .5px rgba(255, 255, 255, .12);
}
:root[data-theme="dark"] .tabs { box-shadow: 0 12px 34px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .3); }
:root[data-theme="dark"] .tabs::before { background: linear-gradient(to bottom, rgba(255, 255, 255, .34), rgba(255, 255, 255, .08) 45%, rgba(255, 255, 255, .05) 70%, rgba(255, 255, 255, .14)); }
:root[data-theme="dark"] .tab-ind { background: rgba(255, 255, 255, .12); box-shadow: inset 0 .5px 0 rgba(255, 255, 255, .22); }
/* Liquid Glass answers a touch by swelling slightly and lighting up, rather than shrinking */
.tabs button, .tb-btn { transition: transform .35s var(--ease-spring), filter .2s ease, color .3s ease, background-color .2s ease; }
.tabs button:active, .tb-btn:active { transform: scale(1.08); filter: brightness(1.12); }
/* the lens in motion: a selection that travels (the tab bar's lens) lifts a little as it goes, its
   rim splitting the light like a real lens. Drawn only while moving (shell.js adds .lens-go), so an idle page costs nothing. */
.tab-ind::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  box-shadow: inset -2px 0 3px -1px rgba(10, 132, 255, .75), inset 2px 0 3px -1px rgba(255, 55, 95, .65), inset 0 1px 0 rgba(255, 255, 255, .9);
  transition: opacity .4s ease;
}
.tab-ind[data-dir="l"]::after { box-shadow: inset 2px 0 3px -1px rgba(10, 132, 255, .75), inset -2px 0 3px -1px rgba(255, 55, 95, .65), inset 0 1px 0 rgba(255, 255, 255, .9); }
:root:not(.still) .tab-ind.lens-go::after { opacity: 1; transition-duration: .12s; }
:root:not(.still) .tab-ind { transition: scale .45s var(--ease-spring); }
:root:not(.still) .tab-ind.lens-go { scale: 1.04 1.1; }
.tab-me { display: none !important; }   /* you, as the phone tab bar's last tab (below) */

/* ---------- the Theme card that drops from the round button: Auto, Day or Night ---------- */
.tb-pop {
  position: fixed; inset: auto; margin: 0; border: 0; z-index: 65; box-sizing: border-box; width: min(300px, calc(100vw - 24px)); overflow-y: auto; overscroll-behavior: contain; max-height: calc(100dvh - 90px);
  border-radius: var(--r); padding: 18px 18px 12px; color: var(--label);
  background: var(--fr-bg); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur); box-shadow: inset 0 0 0 1px var(--fr-rim), 0 24px 60px rgba(0, 0, 0, .22);
  transform-origin: var(--tb-o, top right);
}
.tb-pop:focus { outline: 0; }
.tb-btn[aria-expanded="true"] .ic-sun { animation: tbSpin .7s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes tbSpin { from { transform: rotate(-90deg) scale(.7); } }
.tb-btn[aria-expanded="true"] .ic-moon { transform-origin: 60% 60%; animation: tbRock .7s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes tbRock { 30% { transform: rotate(-24deg); } 65% { transform: rotate(10deg); } }
.tb-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.tb-pop h2 { margin: 0; font: 700 1.5rem/1.15 var(--font); letter-spacing: .004em; }
.th-list { display: grid; gap: 2px; margin: 0 -8px; }
.th-list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border: 0; border-radius: var(--r); background: none; color: var(--label); text-align: left; font: inherit; cursor: pointer; }
@media (hover: hover) { .th-list button:hover { background: var(--fill); } }
.th-list button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.th-list i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--fill-strong); }
.th-list i svg { width: 18px; height: 18px; }
.th-list span { flex: 1; display: grid; gap: 2px; }
.th-list b { font-weight: 600; font-size: 16px; }
.th-list small { color: var(--label2); font-size: 13px; }
.th-list em { flex: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--label3); }
.th-list [aria-checked="true"] em { box-shadow: inset 0 0 0 6px var(--accent); }

/* ---------- search from any page: a field under the logo in the sidebar (Apple Music's place for it), at the top of the menu
   on phones, and a round button that opens into a field on tablets. Results in the chart list's style. ---------- */
.side-search { position: relative; display: flex; align-items: center; min-width: 0; pointer-events: auto; }
.side-search .ss-ic { position: absolute; z-index: 1; left: 10px; width: 17px; height: 17px; color: var(--label2); pointer-events: none; }
.side-search input {
  width: 100%; height: 36px; box-sizing: border-box; margin: 0; padding: 0 8px 0 33px; border: 0; border-radius: var(--r); appearance: none; -webkit-appearance: none;
  background: var(--fr-in); color: var(--label); font: 400 15px/1 var(--font); letter-spacing: -.016em; -webkit-font-smoothing: antialiased;
  transition: background-color .2s ease, box-shadow .2s ease;
}
.side-search input::placeholder { color: var(--label2); font-size: 13.5px; letter-spacing: -.02em; }   /* "Search for shows, movies, cast" fits the sidebar */
.side-search input:focus { outline: none; background: color-mix(in srgb, var(--label) 11%, transparent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 70%, transparent); }
.side-search input::-webkit-search-decoration { -webkit-appearance: none; }
.ss-res {
  position: fixed; inset: auto; margin: 0; z-index: 66; box-sizing: border-box; max-height: min(560px, calc(100dvh - 120px)); overflow-y: auto; overscroll-behavior: contain;
  padding: 6px; border: 0; border-radius: var(--r); color: var(--label);
  background: var(--fr-bg); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur);
  box-shadow: inset 0 0 0 .5px var(--fr-rim), 0 24px 60px rgba(0, 0, 0, .28);
}
.ss-res[popover] { transform-origin: 24px 0; }   /* it opens out of the search box (the motion: "one motion for every popup") */
.ss-r { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 7px 8px; border-radius: var(--r); color: var(--label); text-decoration: none; }
.ss-r + .ss-r::before { content: ""; position: absolute; top: 0; left: 54px; right: 8px; border-top: .5px solid var(--sep); }   /* hairlines, inset past the poster */
.ss-r[aria-selected="true"], .ss-r:focus-visible { outline: none; background: var(--fill); }
.ss-r[aria-selected="true"]::before, .ss-r[aria-selected="true"] + .ss-r::before { opacity: 0; }
@media (hover: hover) { .ss-r:hover { text-decoration: none; background: var(--fill); } .ss-r:hover::before, .ss-r:hover + .ss-r::before { opacity: 0; } }
.ss-r:active { background: var(--fill-strong); }
.ss-r img, .ss-ph { width: 34px; height: 51px; flex: none; object-fit: cover; border-radius: var(--r); box-shadow: 0 0 0 .5px var(--sep); }
.ss-r .ss-pf { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; overflow: hidden; color: #fff; font: 600 13px/1 var(--font);
  background: hsl(var(--h, 220) 40% 38%); box-shadow: 0 0 0 .5px var(--sep); }   /* a person: a round face where a title has its poster */
.ss-r .ss-pf img { width: 100%; height: 100%; border-radius: 50%; box-shadow: none; object-position: center 20%; }
.ss-t { flex: 1; min-width: 0; display: grid; gap: 1px; }
.ss-t b { font-weight: 500; font-size: 15px; letter-spacing: -.016em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-t small { font-size: 13px; color: var(--label2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-all-ic { width: 34px; height: 20px; flex: none; color: var(--accent); }
.ss-q-ic { width: 34px; height: 18px; flex: none; color: var(--label2); }   /* a recent search: the magnifier where a poster would be */
.ss-all b { color: var(--accent); }
.ss-fix { margin: 0; padding: 4px 8px 8px; color: var(--label2); font-size: 13px; line-height: 1.3; }   /* a spelling slip, put right */
.ss-fix b { color: var(--label); font-weight: 500; }
.ss-note { margin: 0; padding: 12px 10px; color: var(--label2); font-size: 14px; line-height: 1.4; text-wrap: pretty; }
/* the part of a name you typed, picked out by weight alone (Spotlight's way), never a highlighter */
.ss-t mark { background: none; color: inherit; font-weight: 650; }
/* the box open and empty: Recent (with Clear) and Popular now, headed like the sidebar's own sections */
.ss-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; margin: 12px 0 2px; padding: 0 8px;
  color: var(--label2); font: 600 13px/1 var(--font); letter-spacing: -.005em; }
.ss-h:first-child { margin-top: 2px; }
.ss-h .ss-clear { height: 28px; padding: 0 10px; gap: 4px; font-size: 13px; }
.ss-h .ss-clear svg { width: 12px; height: 12px; flex: none; }
/* loading: rows the shape of the results, with the same soft shimmer as the rest of the site */
.ss-sk > div { display: flex; align-items: center; gap: 12px; padding: 7px 8px; }
.ss-sk i, .ss-sk b, .ss-sk small { display: block; border-radius: var(--r);
  background: linear-gradient(100deg, var(--fill) 40%, var(--fill-strong) 50%, var(--fill) 60%) 0 0 / 220% 100%; animation: skShine 1.6s ease-in-out infinite; }
.ss-sk i { width: 34px; height: 51px; flex: none; }
.ss-sk span { flex: 1; display: grid; gap: 7px; }
.ss-sk b { width: 72%; height: 12px; } .ss-sk small { width: 44%; height: 10px; }
.ss-sk > div:nth-child(2) b { width: 58%; } .ss-sk > div:nth-child(3) b { width: 80%; }
@media (prefers-reduced-motion: reduce) { .ss-sk i, .ss-sk b, .ss-sk small { animation: none; } }
/* the shortcut, shown in the sidebar's box until you use it (computers with a keyboard only) */
.ss-kbd { display: none; }

/* ---------- the sidebar's More section and small print (shown on computers and in the phone's menu) ---------- */
.side-links, .side-about, .side-h { display: none; }
a.side-ver-text { color: inherit; text-decoration: none; cursor: pointer; }   /* the build number opens the Update centre */
@media (hover: hover) { a.side-ver-text:hover { color: var(--label); text-decoration: underline; } }
a.side-ver-text:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r); }
/* the version opens the Update centre: quiet like the small print, it darkens on hover and gives a little under a finger */
a.side-ver { position: relative; align-self: flex-start; text-decoration: none; -webkit-tap-highlight-color: transparent; }
:root:not(.still) a.side-ver { transition: color .2s var(--ease-out), opacity .12s; }
a.side-ver::after { content: ""; position: absolute; inset: -6px -8px; border-radius: var(--r); }   /* a comfier target than the small words */
@media (hover: hover) { a.side-ver:hover { color: var(--label); } }
a.side-ver:active { opacity: .6; }
a.side-ver:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
a.side-ver[aria-current] { color: var(--label); }
/* your picture and name at the foot of the sidebar (and in the phone's menu) */
.side-acct { display: flex; align-items: center; gap: 10px; flex-basis: 100%; margin: 0 0 12px; padding: 8px 10px; border-radius: var(--r); color: var(--label); text-decoration: none;
  background: var(--fr-bg); box-shadow: inset 0 0 0 1px var(--fr-rim); transition: background-color .2s ease; }
@media (hover: hover) { .side-acct:hover { text-decoration: none; background: var(--gl-hover); } }
.side-acct[aria-current] { box-shadow: inset 0 0 0 1.5px var(--accent); }
:root[data-me] .side-acct { background: color-mix(in srgb, var(--accent) 12%, var(--fr-bg)); }   /* a faint tint of your colour */
@media (hover: hover) { :root[data-me] .side-acct:hover { background: color-mix(in srgb, var(--accent) 20%, var(--gl-hover)); } }
.side-acct > span:last-child { display: grid; min-width: 0; }
.side-acct b { font: 600 14px/1.25 var(--font); letter-spacing: -.012em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-acct small { font-size: 12px; color: var(--label2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- computers: the featured artwork's colours run on under the sidebar (Apple's background extension) ---------- */
.bd-ext { display: none; }

/* ============================================================ tablets (720 to 999px): one floating bar at the top */
@media (min-width: 720px) and (max-width: 999px) {
  .top-row { grid-template-columns: 84px minmax(0, 1fr) auto; gap: 12px; }   /* the logo and Search, then the tabs in the room between */
  .top-row > .top-brand { grid-area: 1 / 1; }
  .top-row > .tabbar { grid-area: 1 / 2; justify-self: center; min-width: 0; }
  .top-row > .top-act { grid-area: 1 / 3; }
  .top-row > .side-search { grid-area: 1 / 1; justify-self: end; width: 40px; height: 40px; z-index: 3; }
  .top-brand .brand-name { display: none; }   /* just the logo, so all the tabs fit */
  .bar-title { right: 48px; }
  .tabs button { padding: 0 7px; gap: 4px; font-size: 14px; }
  /* Search: a round frosted button that opens into a field over the tabs while you search */
  .side-search input { position: absolute; left: 0; top: 0; width: 40px; height: 40px; padding: 0 0 0 40px; border-radius: 999px; cursor: pointer; font-size: 15px;
    box-shadow: var(--frost-line); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur); }
  .side-search input::placeholder { color: transparent; }
  .side-search .ss-ic { left: 11px; width: 18px; height: 18px; color: var(--label); }
  .side-search input:focus, .side-search input:not(:placeholder-shown) { width: min(340px, calc(100vw - 150px)); padding-right: 10px; cursor: text; border-radius: var(--r);
    background: var(--fr-bg); box-shadow: var(--frost-line), 0 0 0 2px color-mix(in srgb, var(--accent) 70%, transparent); }
  .side-search input:focus { background: color-mix(in srgb, var(--label) 11%, transparent); }
  .side-search input:focus::placeholder { color: var(--label2); }
  .top-row:has(.side-search input:focus, .side-search input:not(:placeholder-shown)) > .tabbar { opacity: 0; pointer-events: none; }
  :root:not(.still) .side-search input { transition: width .45s var(--ease-spring), border-radius .3s ease, background-color .2s ease, box-shadow .2s ease; }
}
/* the narrowest tablets (iPad mini upright): tighter still, so Watchlist isn't tucked under the buttons beside it */
@media (min-width: 720px) and (max-width: 779px) {
  .top-row:has(> .side-search) { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .top-row:has(> .side-search) > .top-brand { visibility: hidden; }   /* Home is a tab, so the logo makes room */
  .tabs button span { white-space: nowrap; }
  .tabs button { padding: 0 4px; gap: 3px; font-size: 13px; letter-spacing: -.02em; }
}

/* ============================================================ computers (1000px and up): the Apple Music sidebar
   The logo, Search, the pages (the chosen one on a grey pill), More (About, Theme, Settings, the same rows), and the small
   print and the version at the foot. A light frost (milky by day, smoky by night), regular-weight names and plain
   monochrome icons; the page sits to its right. */
@media (min-width: 1000px) {
  :root { --side: 280px; --page-left: max(0px, (100% - var(--max)) / 2); --me-r: 32px; }
  html { scroll-padding-top: 24px; }
  body { padding-left: var(--side); }
  main { position: relative; isolation: isolate; }
  .top-row {
    position: fixed; z-index: 50; inset: 0 auto 0 0; width: var(--side); max-width: none; margin: 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 22px;
    padding: calc(env(safe-area-inset-top, 0px) + 26px) 14px calc(env(safe-area-inset-bottom, 0px) + 20px) max(14px, env(safe-area-inset-left, 0px));
    background: var(--fr-bg); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur); border-right: .5px solid var(--sep); pointer-events: auto;
  }
  :root:has(.bd-ext > *) .top-row { border-right-color: transparent; }   /* over artwork, no hairline: the glass alone separates them */
  .top-row::before, .bar-title { display: none; }
  .top-row > * { animation: none; }
  .top-brand { padding: 0 8px; gap: 11px; }
  .lt-logo { width: 34px; height: 34px; }
  .brand-name { font: 700 26px/1 var(--font); letter-spacing: -.02em; }
  .top-row > .side-search { flex-wrap: wrap; margin: -6px 0 -8px; }
  .top-row > .side-search .ss-ic { top: 9.5px; }
  /* search results fill the sidebar while you search (the rest steps aside) */
  .top-row > .side-search .ss-res { position: static; inset: auto; flex-basis: 100%; margin: 12px 0 0; padding: 0; max-height: calc(100dvh - 190px); overflow-y: auto;
    overscroll-behavior: contain; scrollbar-width: none; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; animation: none; }
  .top-row > .side-search .ss-res::-webkit-scrollbar { display: none; }
  .top-row > .side-search .ss-res:not([hidden]) { padding-bottom: 18px; mask-image: linear-gradient(#000 calc(100% - 18px), transparent); }   /* the list fades out at its foot */
  @media (hover: hover) and (pointer: fine) {
    .top-row > .side-search .ss-kbd { display: block; position: absolute; top: 8px; right: 10px; color: var(--label2);
      font: 400 12.5px/20px var(--font); letter-spacing: .04em; pointer-events: none; -webkit-font-smoothing: antialiased; }   /* plain, like a Mac menu's shortcut */
    .top-row > .side-search input:not(:placeholder-shown) ~ .ss-kbd, .top-row > .side-search input:focus ~ .ss-kbd { display: none; }
  }
  .top-row.finding > :not(.top-brand, .side-search) { display: none; }
  /* the pages, as rows */
  .tabbar { display: block; }
  .tabs { flex-direction: column; gap: 2px; padding: 0; border-radius: 0; background: none; box-shadow: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; isolation: auto; }
  .tabs::before, .tab-ind { display: none; }
  .tabs button, .side-about, .tb-btn {
    display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; height: 38px; padding: 0 10px; border-radius: var(--r);
    color: var(--label); font: 400 15px/1 var(--font); letter-spacing: -.016em; text-decoration: none; transition: background-color .2s ease; }
  .tabs button svg, .side-about svg, .tb-btn svg { width: 20px; height: 20px; flex: none; color: var(--label); }
  .tabs button[aria-selected="true"], .side-about[aria-current] { background: var(--fill); color: var(--label); font-weight: 500; }
  :root[data-me] :is(.tabs button[aria-selected="true"], .side-about[aria-current]) { background: color-mix(in srgb, var(--accent) 16%, var(--fill)); }   /* lit in your colour */
  :root[data-me] :is(.tabs button[aria-selected="true"], .side-about[aria-current]) svg { color: var(--accent); }
  .tabs button:active, .side-about:active, .tb-btn:active { transform: none; filter: none; background: var(--fill-strong); }
  @media (hover: hover) { .tabs button[aria-selected="false"]:hover, .side-about:hover, .tb-btn:hover { color: var(--label); text-decoration: none; background: var(--fill); } }
  .tb-btn[aria-expanded="true"] { background: var(--fill); color: var(--label); }
  .side-about:focus-visible, .tb-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
  /* More: a small grey heading, then About, Theme and Settings as rows like the pages above */
  .side-h { display: block; margin: 8px 0 0; padding: 0 10px; color: var(--label2); font: 600 13px/1 var(--font); letter-spacing: -.005em; }
  .side-h + .side-about { margin-top: -12px; }
  .side-about.side-settings { margin-top: -20px; }
  .top-act { margin-top: -20px; justify-self: auto; align-self: stretch; padding: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .top-act > .tb-about { display: none; }   /* About is a row of its own */
  .th-wrap { display: contents; }   /* the round button opens its own card */
  .th-sel { display: none; }
  .tb-btn::after { content: "Theme"; position: static; inset: auto; }
  /* the small print and the version, right at the foot */
  .side-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 2px 12px; padding: 0 10px; }
  .side-link { padding: 3px 0; border: 0; background: none; color: var(--label2); font: 400 12px/1.3 var(--font); letter-spacing: -.01em; cursor: default; }
  .side-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
  a.side-link { position: relative; text-decoration: none; cursor: pointer; }
  a.side-link::after { content: ""; position: absolute; inset: -6px -6px -4px; }   /* a comfier target than the small words */
  @media (hover: hover) { a.side-link:hover { color: var(--label); text-decoration: none; } }
  .side-link[aria-current] { color: var(--label); font-weight: 600; }
  .side-ver { flex-basis: 100%; margin-top: 6px; color: var(--label2); font-size: 12px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
  /* the artwork, mirrored and blurred, under the sidebar's frost; it fades out down the sidebar and dims as the page scrolls */
  .bd-ext { display: block; position: fixed; z-index: 49; top: 0; left: 0; width: var(--side); height: clamp(640px, 94vh, 1000px); overflow: hidden; pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent); mask-image: linear-gradient(to bottom, #000 30%, transparent); }
  .bd-l { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; opacity: 0; transition: opacity .6s var(--ease-out); }
  .bd-l.in { opacity: 1; }
  .bd-ext .bd-l { transform: scaleX(-1) scale(1.3); transform-origin: center; object-position: left 20%; filter: saturate(1.5); opacity: .9; }
  @keyframes bdDim { to { opacity: .32; } }
  @supports (animation-timeline: scroll()) { .bd-ext { animation: bdDim linear both; animation-timeline: scroll(root); animation-range: 0 80vh; } }
}

/* ============================================================ phones (under 720px): Tenner as an extension of iOS */
.tb-round, .drawer, .tb-left, .tb-right { display: none; }
@media (max-width: 719px) {
  :root { --gutter: max(12px, env(safe-area-inset-left, 0px)); --gutter-r: max(12px, env(safe-area-inset-right, 0px)); }   /* edge to edge, bar a slim margin */
  /* the navigation bar: menu (and Back) on the left, the logo in the middle, Share or Filters and Search on the right */
  .top-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); margin-bottom: 0; }
  .top-row::before { left: 0; right: 0; bottom: -26px; }   /* inside the screen, so Safari never zooms out to show it */
  .tb-left { grid-area: 1 / 1; justify-self: start; display: flex; align-items: center; gap: 8px; pointer-events: auto; min-width: 0; }
  .top-row > .top-brand { grid-area: 1 / 2; }
  .top-brand { grid-column: 2; justify-self: center; }
  .tb-right { grid-area: 1 / 3; justify-self: end; display: flex; align-items: center; gap: 8px; pointer-events: auto; min-width: 0; }
  .tb-left > *, .tb-right > * { flex: none; }
  .tb-round { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; cursor: pointer; pointer-events: auto;
    -webkit-tap-highlight-color: transparent; transition: transform .4s var(--spring), background-color .18s ease; }
  .tb-round svg { width: 21px; height: 21px; }
  .tb-round:active { transform: scale(.96); }
  .tb-round:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  @media (hover: hover) { a.tb-round:hover { text-decoration: none; } }
  .tb-back svg { width: 22px; height: 22px; margin-left: -2px; }
  .tb-search svg { width: 20px; height: 20px; }
  .filters-out .bx-dds { display: none; }

  /* ---------- the menu: against the left edge, full height, in the one frost; slides in and is swiped back out ---------- */
  .drawer { position: fixed; height: auto; max-width: none; margin: 0; overflow-y: auto; overscroll-behavior: contain; color: var(--label); }
  .drawer[open] { display: flex; flex-direction: column; gap: 2px; animation: drIn .5s var(--ease-sheet) both; }   /* iOS's curve: it never overshoots and leaves a gap at the edge */
  .drawer.out { animation: drOut .3s var(--ease-sheet) both; }
  .drawer.dragging { transition: none; }
  #drawer { inset: 0 auto 0 0; width: min(320px, calc(100vw - 56px)); height: 100%; max-height: none;
    padding: calc(env(safe-area-inset-top, 0px) + 14px) 14px calc(env(safe-area-inset-bottom, 0px) + 24px) max(14px, env(safe-area-inset-left, 0px));
    border-radius: 0 var(--r) var(--r) 0; box-shadow: inset -1px 0 0 var(--fr-rim), 24px 0 60px rgba(0, 0, 0, .3) !important;
    translate: var(--drag, 0px) 0; transition: translate .4s var(--ease-spring); }
  #drawer::before { display: none; }
  @keyframes drIn { from { transform: translateX(-100%); } }
  @keyframes drOut { to { transform: translateX(-100%); } }
  .dr-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 18px; padding: 0 2px 0 8px; }
  .drawer .dr-head { margin: 4px 0 16px 4px; padding: 0; }
  .dr-title { margin: 0; font: 700 28px/1.1 var(--font); letter-spacing: -.02em; }
  .dr-x { width: 36px !important; height: 36px !important; }
  .dr-x svg { width: 16px; height: 16px; }
  .dr-body { display: flex; flex-direction: column; gap: 2px; flex: 1; }
  .drawer .dr-body:not(.fl-body) { gap: 0; }
  #drawer .dr-body > *, #drawer .side-links > *, #drawer .dr-head { flex-shrink: 0; }
  /* the Filters sheet: rises from the bottom, a grabber on top, pulled down (or Done) to put away */
  .drawer.drawer-r { inset: auto 0 0 0; width: 100%; max-width: 100%; height: auto; max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 18px);
    padding: 8px max(16px, env(safe-area-inset-left, 0px)) calc(env(safe-area-inset-bottom, 0px) + 28px); border-radius: var(--r) var(--r) 0 0;
    box-shadow: inset 0 1px 0 var(--fr-rim), 0 -20px 60px rgba(0, 0, 0, .35) !important; translate: 0 var(--drag, 0px); }
  .drawer.drawer-r[open] { animation: drUp .5s var(--ease-sheet) both; }
  .drawer.drawer-r.out { animation: drDown .3s var(--ease-sheet) both; }
  @keyframes drUp { from { transform: translateY(100%); } }
  @keyframes drDown { to { transform: translateY(100%); } }
  .dr-grab { flex: none; width: 36px; height: 5px; margin: 0 auto 12px; border-radius: 3px; background: var(--label3); }
  .drawer-r .dr-head { margin: 0 2px 16px 4px; }
  .fl-h { margin: 0; font: 700 26px/1 var(--font); letter-spacing: -.02em; }
  .drawer .fl-body { gap: 18px; }
  .fl-row { display: grid; gap: 8px; }
  .fl-l { padding: 0 4px; color: var(--label2); font: 600 13px/1 var(--font); letter-spacing: -.005em; }
  .fl-row .dd { width: 100%; max-width: none; height: 44px; margin: 0; }
  .fl-done { width: 100%; height: 48px; margin-top: 18px; color: #fff; font-size: 16px; }
  .fl-done svg { width: 18px; height: 18px; }
  /* in the menu, grouped like iOS Settings: Search, your account in a card of its own, About, Theme and Settings, the small print */
  .drawer .side-search { order: 0; flex-wrap: wrap; margin: 0 0 18px; }
  .drawer .side-search input { height: 40px; border-radius: var(--r); font-size: 17px; padding-left: 36px; }   /* 16px and up, so iOS doesn't zoom in */
  .drawer .side-search .ss-ic { top: 11px; left: 11px; width: 18px; height: 18px; }
  .drawer .ss-res { position: static; inset: auto; flex-basis: 100%; padding: 4px 0 0; max-height: none; overflow: visible; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; }
  .drawer.finding .dr-body > :not(.side-search) { display: none; }   /* while you search, the results take the menu's place */
  .drawer .side-h { display: block; margin: 20px 0 6px; padding: 0 14px; color: var(--label2); font: 600 13px/1 var(--font); letter-spacing: -.005em; }
  .drawer .top-act { display: block; order: 4; padding: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .drawer .th-wrap { display: block; position: relative; }
  .drawer .tb-btn::after { content: "Theme"; position: static; inset: auto; }
  .drawer .side-links { display: contents; }
  .drawer .side-acct { order: 2; flex: none; margin: 0 0 22px; padding: 12px 14px; min-height: 66px; border-radius: var(--r); background: var(--fr-in);
    background-image: var(--row-chev); background-repeat: no-repeat; background-position: right 16px center; background-size: 8px 13px; }
  .drawer .side-acct .av { width: 44px; height: 44px; font-size: 19px; }
  .drawer .side-acct b { font-size: 17px; font-weight: 600; }
  .drawer .side-acct small { font-size: 13px; }
  .drawer .side-about:not(.side-settings) { order: 3; border-radius: var(--r) var(--r) 0 0; }
  .drawer .side-settings { order: 5; border-radius: 0 0 var(--r) var(--r); }
  .drawer .side-link { order: 6; }
  .drawer .side-ver { order: 7; flex: none; margin: 12px 16px 0; color: var(--label2); font-size: 13px; text-decoration: none; }
  .drawer .side-about, .drawer .top-act .tb-btn, .drawer .side-link {
    position: relative; display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 14px; width: 100%; height: 50px; margin: 0;
    padding: 0 34px 0 12px; border: 0; border-radius: 0; color: var(--label); font: 400 17px/1 var(--font); letter-spacing: -.02em; text-decoration: none;
    -webkit-font-smoothing: antialiased; background: var(--fr-in) var(--row-chev) no-repeat right 16px center / 8px 13px; }
  .drawer .side-about:not(.side-settings) { border-radius: var(--r) var(--r) 0 0; }
  .drawer .side-settings { border-radius: 0 0 var(--r) var(--r); }
  .drawer .top-act .tb-btn { background-image: var(--pop-chev); background-size: 9px 14px; }
  .drawer .tb-about, .drawer .top-act .tb-about { display: none; }
  .drawer .side-about[aria-current] { font-weight: 600; background-color: color-mix(in srgb, var(--accent) 14%, var(--fr-in)); }
  .drawer .side-about:active, .drawer .top-act .tb-btn:active, .drawer .side-link:active { background-color: var(--fill-strong); transform: none; filter: none; }
  .drawer .top-act .tb-btn::before, .drawer .side-settings::before { content: ""; position: absolute; top: 0; right: 0; left: 50px; height: .5px; background: var(--sep); }   /* hairlines from the words, as in iOS */
  .drawer .side-about svg, .drawer .top-act .tb-btn svg { flex: none; width: 24px; height: 24px; padding: 0; color: var(--label); background: none; }
  .drawer .side-link { height: 46px; padding-left: 16px; font-size: 16px; }
  /* the pages: a group of rows at the top of the menu, like the computer's sidebar (no floating tab bar on phones) */
  .drawer .tabbar { display: block; order: 1; margin: 0 0 22px; }
  .drawer .tabs { display: flex; flex-direction: column; gap: 0; padding: 0; border-radius: var(--r); overflow: hidden; background: none; box-shadow: none !important;
    -webkit-backdrop-filter: none; backdrop-filter: none; isolation: auto; outline: none; }
  .drawer .tabs::before, .drawer .tabs::after, .drawer .tab-ind, .drawer .tab-me { display: none; }
  .drawer .tabs button { position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 14px; width: 100%; height: 50px; margin: 0; padding: 0 34px 0 12px;
    border: 0; border-radius: 0; color: var(--label); font: 400 17px/1 var(--font); letter-spacing: -.02em; -webkit-font-smoothing: antialiased;
    background: var(--fr-in) var(--row-chev) no-repeat right 16px center / 8px 13px; }
  .drawer .tabs button + button::before { content: ""; position: absolute; top: 0; right: 0; left: 50px; height: .5px; background: var(--sep); }
  .drawer .tabs button svg { width: 24px; height: 24px; color: var(--label); }
  .drawer .tabs button[aria-selected="true"] { font-weight: 600; color: var(--label); background-color: color-mix(in srgb, var(--accent) 14%, var(--fr-in)); }
  .drawer .tabs button[aria-selected="true"] svg { color: var(--accent); }
  .drawer .tabs button:active { transform: none; filter: none; background-color: var(--fill-strong); }
  .drawer .side-acct + .side-link { margin-top: 22px; border-radius: var(--r) var(--r) 0 0; }
  .drawer .side-link:has(+ .side-ver) { border-radius: 0 0 var(--r) var(--r); }
  .drawer .side-link + .side-link::before { content: ""; position: absolute; top: 0; right: 0; left: 16px; height: .5px; background: var(--sep); }
  .drawer .side-link[aria-current] { font-weight: 400; color: var(--accent); }
  .drawer-open, .drawer-open body { overflow: hidden; }   /* the page stays still under the open menu */

  /* ---------- the tab bar (the owner's photo): a bar of Liquid Glass floating above the foot of the screen. Each page an
     icon above its name, a soft tint of your colour behind the one you're on (gliding across as you move), and you as the
     last tab. True pills here, the one exception to the 9px corner (the owner's pick). ---------- */
  /* the lens rises clear of the bar while it moves or is held, and the tab beneath it is magnified */
  /* you: your picture in a small circle, a red badge on its edge while you're signed out */
  .tab-av { position: relative; display: block; width: 26px; height: 26px; margin: -1px 0; font-style: normal; }
  .tab-av .av { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; object-fit: cover; font-size: 12px; }
  .tab-av .av svg { width: 17px; height: 17px; }
  .tab-me[aria-selected="true"] .tab-av .av { box-shadow: 0 0 0 1.5px var(--accent); }
  .tab-badge { position: absolute; top: -5px; right: -9px; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px;
    color: #fff; background: #ff3b30; font: 700 11px/1 var(--font); box-shadow: 0 0 0 2px var(--bg); }
  /* the page runs on under the bar, and what pops up from the foot of the screen sits above it */
  body { padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 359px) {
  .tb-left, .tb-right { gap: 6px; }
  .drawer { width: calc(100vw - 44px); }
}
/* phones: the bar has Tenner's mark in the middle, as in iOS; once the page scrolls, its title takes the stage */
@media (max-width: 560px) {
  .top-brand { position: static; grid-column: 2; justify-self: center; }
  .top-brand .brand-name { display: none; }
  .bar-title { left: calc(var(--gutter) + 52px); right: auto; top: calc(env(safe-area-inset-top, 0px) + 6px); height: 42px; display: flex; align-items: center;
    max-width: calc(50vw - var(--gutter) - 80px); font-size: .95rem; }
  .title-in .lt-logo { opacity: 0; scale: .8; }
  :root.still .lt-logo { scale: 1; }
  .title-in .bar-title { left: 50%; translate: -50% 0; max-width: calc(100vw - 2 * var(--gutter) - 120px); justify-content: center; }
}

/* ============================================================ your account: your picture and name top right of every page
   (shell.js; on the homepage above the dropdowns). One rounded pill with Sign out (or Day / Night) as a circle inside it.
   Computers and tablets; phones keep the account in the menu and the tab bar. */
.bx-me { display: none; }
@media (min-width: 720px) {
  /* everywhere but the homepage: a row of its own above the page, its right edge in line with the homepage's */
  .me-row:has(.bx-me:not([hidden])) { display: flex; justify-content: flex-end; max-width: var(--max); margin: 0 auto 0 var(--page-left); padding: 14px var(--me-r, var(--gutter-r)) 0 var(--gutter); }
  .me-row.me-abs:has(.bx-me:not([hidden])) { position: absolute; z-index: 49; left: auto; max-width: none; margin: 0; padding: 0; }
  .me-row.me-over:has(.bx-me:not([hidden])) { position: absolute; z-index: 49; top: 0; right: 0; left: auto; margin: 0; }
  body:has(#bxMe) .side-acct { display: none; }   /* the pill speaks for your account */
  :root.signed-in .th-wrap, :root.signed-in #thBtn { display: none; }   /* ...and the pill's own sun or moon does the Theme button's job */
  .bx-me:not([hidden]) { position: relative; z-index: 49; display: flex; align-items: center; gap: 4px; min-width: 0; padding: 5px; border-radius: var(--r);
    background: color-mix(in srgb, var(--accent) 8%, var(--fr-bg)); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur);
    box-shadow: inset 0 0 0 1px var(--fr-rim), 0 12px 30px -16px rgba(0, 0, 0, .5); }
}
@media (min-width: 720px) and (max-width: 999px) { .me-row.me-over:has(.bx-me:not([hidden])) { top: calc(env(safe-area-inset-top, 0px) + 60px); } }   /* below the floating bar */
.bx-me-card { display: flex; align-items: center; gap: 11px; min-width: 0; max-width: 280px; height: 46px; padding: 0 16px 0 4px; border: 0; border-radius: var(--r); cursor: pointer;
  color: var(--label); font: inherit; text-align: left; text-decoration: none; background: none; -webkit-tap-highlight-color: transparent;
  transition: transform .35s var(--ease-spring), background-color .2s ease; }
@media (hover: hover) { .bx-me-card:hover { text-decoration: none; background: var(--fr-in); } }
.bx-me-card:active { transform: scale(.97); }
.bx-me-card:focus-visible, .bx-me-out:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bx-me-card[aria-expanded="true"] { background: var(--fr-in); }
.bx-me-card .av { width: 38px; height: 38px; font-size: 16px; }
.bx-me-card > span { display: grid; gap: 2px; min-width: 0; }
.bx-me-card b { font: 600 15px/1.2 var(--font); letter-spacing: -.016em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-me-card small { font-size: 13px; line-height: 1.2; color: var(--label2); white-space: nowrap; }
.bx-me-card .me-dn { flex: none; width: 16px; height: 16px; margin-left: -4px; color: var(--label2); transition: transform .45s var(--ease-spring); }
.bx-me-card[aria-expanded="true"] .me-dn { transform: rotate(180deg); }
.bx-me-card .me-go { margin-left: 0; }
.bx-me.me-guest .bx-me-out { display: none; }
.bx-me.me-guest .bx-me-card { padding-right: 14px; }
/* Sign out, and Day / Night: circles inside the pill, the owner's dark grey with a white icon */
.bx-me-out { display: grid; place-items: center; flex: none; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: #fff;
  background: var(--bt-round); -webkit-tap-highlight-color: transparent; box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .12);
  transition: transform .35s var(--ease-spring), background-color .2s ease; }
.bx-me-out svg { width: 20px; height: 20px; margin-left: 2px; }
@media (hover: hover) { .bx-me-out:hover { background: var(--bt-round-hover); } }
.bx-me-out:active { transform: scale(.96); }
.bx-me-th svg { width: 20px; height: 20px; margin: 0; }
.me-th-spin svg { animation: meThSpin .55s var(--ease-spring); }
@keyframes meThSpin { from { transform: rotate(-90deg) scale(.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bx-me-card, .bx-me-out { transition: none; } }
/* the dropdown: frosted, the one corner, rows like the chart list; it grows out of the pill like a drop of liquid */
.me-menu { position: absolute; z-index: 60; width: 330px; max-width: calc(100vw - 32px); padding: 14px; border-radius: var(--r);
  color: var(--label); text-align: left; background: var(--fr-bg); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur);
  box-shadow: inset 0 0 0 1px var(--fr-rim), 0 30px 70px -24px rgba(0, 0, 0, .55); transform-origin: calc(100% - 120px) -10px; }
.me-menu[hidden] { display: none; }
.me-hd { display: flex; align-items: center; gap: 12px; padding: 2px 2px 12px; }
.me-hd .av { width: 52px; height: 52px; font-size: 22px; }
.me-hd > span { display: grid; gap: 2px; min-width: 0; }
.me-hd b { font: 600 17px/1.2 var(--font); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-hd small { font-size: 13px; color: var(--label2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-hd-g small { white-space: normal; line-height: 1.35; }   /* signed out: the line under the heading wraps */
.me-st { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 10px 12px; border-radius: var(--r); background: var(--fr-in); font-size: 13px; line-height: 1.3; }
.me-st i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 3px color-mix(in srgb, #30d158 25%, transparent); }
.me-st-off i { background: #ff9f0a; box-shadow: 0 0 0 3px color-mix(in srgb, #ff9f0a 25%, transparent); }
.me-st b { font-weight: 600; }
.me-st span { min-width: 0; color: var(--label2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.me-n { display: grid; gap: 3px; padding: 11px 12px; border-radius: var(--r); background: var(--fr-in); }
.me-n b { font: 700 22px/1 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.me-n small { font-size: 12px; color: var(--label2); }
.me-links { display: grid; }
.me-links-g { margin-top: 12px; padding-top: 8px; box-shadow: 0 -.5px 0 var(--sep); }
.me-row-l { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 8px; border-radius: var(--r); color: var(--label); text-decoration: none; transition: background-color .2s ease; }
button.me-row-l { width: 100%; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.me-row-l + .me-row-l { box-shadow: 0 -.5px 0 var(--sep); }
@media (hover: hover) { .me-row-l:hover { text-decoration: none; background: var(--fr-in); box-shadow: none; } .me-row-l:hover + .me-row-l { box-shadow: none; } }
.me-row-l:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.me-row-l > i { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: var(--bt-round); }
.me-row-l > i svg { width: 18px; height: 18px; }
.me-row-l > span { display: grid; gap: 1px; flex: 1; min-width: 0; }
.me-row-l b { font: 500 15px/1.25 var(--font); }
.me-row-l small { font-size: 12.5px; color: var(--label2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-chev { flex: none; width: 15px; height: 15px; color: var(--label3); }
/* sharing your Watchlist */
.me-share { margin-top: 10px; padding: 12px 8px 4px; box-shadow: 0 -.5px 0 var(--sep); }
.me-share-row { position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.me-share-row > span { display: grid; gap: 1px; flex: 1; min-width: 0; }
.me-share-row b { font: 500 15px/1.25 var(--font); }
.me-share-row small { font-size: 12.5px; color: var(--label2); }
.me-share-row .set-state { font-weight: 600; color: var(--label); }
.me-share-link { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 6px 6px 6px 12px; border-radius: var(--r); background: var(--fr-in); }
.me-share-link span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--label2); }
.me-copy { flex: none; height: 32px; padding: 0 14px; border: 0; border-radius: var(--r); cursor: pointer; color: #fff; background: var(--bt-fill); font: 500 14px/1 var(--font); -webkit-font-smoothing: antialiased; }
@media (hover: hover) { .me-copy:hover { background: var(--bt-hover); } }
/* signed out, the dropdown signs you in or makes your account right there */
.me-form { display: grid; gap: 8px; }
.me-in { width: 100%; min-width: 0; height: 44px; padding: 0 14px; border: 0; border-radius: var(--r); background: var(--fr-in); color: var(--label);
  font: 400 16px/1 var(--font); box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s ease, background-color .2s ease; }
.me-in::placeholder { color: var(--label2); }
.me-in:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.me-in[readonly] { color: var(--label2); }
.me-form .btn { width: 100%; min-height: 44px; justify-content: center; }
.me-form .me-go-btn { margin-top: 4px; }
.me-form .btn svg { width: 18px; height: 18px; }
.me-form .btn:disabled { opacity: .6; }
.me-msg { margin: 8px 2px 0; font-size: 13px; line-height: 1.4; color: var(--label2); }
.me-msg:empty { display: none; }
.me-msg.bad { color: #ff453a; }
.me-alt { margin: 12px 0 0; padding-top: 12px; box-shadow: 0 -.5px 0 var(--sep); font-size: 13.5px; color: var(--label2); text-align: center; }
.me-link { padding: 4px 2px; border: 0; background: none; color: var(--accent); font: 500 13.5px/1.3 var(--font); cursor: pointer; text-decoration: none; }
@media (hover: hover) { .me-link:hover { text-decoration: underline; } }
.me-ways { display: grid; gap: 8px; }
.me-google:not([hidden]) { display: flex; justify-content: center; min-height: 44px; }
.me-or:not([hidden]) { display: flex; align-items: center; gap: 12px; margin: 2px 0; color: var(--label2); font-size: 12.5px; }
.me-or::before, .me-or::after { content: ""; flex: 1; height: .5px; background: var(--sep); }
.me-note { margin: 0 2px 4px; font-size: 14px; line-height: 1.45; color: var(--label2); }
.me-mail { display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #4aa3ff, #0a6cff); }
.me-mail svg { width: 26px; height: 26px; }
.me-forgot { font-size: 13px; }
/* Remember me (an iOS switch a size down) and Forgot password? on one line */
.me-opts { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: -2px 2px -4px; }
.me-opts > * { white-space: nowrap; }
.me-keep { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; color: var(--label); cursor: pointer; -webkit-user-select: none; user-select: none; }
.me-keep input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.me-keep .sw { width: 42px; height: 26px; border-radius: 13px; }
.me-keep .sw::after { width: 22px; height: 22px; }
.me-keep input:checked + .sw { background: var(--green); }
.me-keep input:checked + .sw::after { translate: 16px 0; }
.me-keep input:focus-visible + .sw { outline: 2px solid var(--accent); outline-offset: 2px; }
.me-form.native-sw .me-keep input { position: static; opacity: 1; width: auto; height: auto; accent-color: var(--green); font-size: 14px; }
.me-form.native-sw .me-keep .sw { display: none; }
@media (max-width: 359px) { .me-keep { gap: 8px; font-size: 13px; } .me-opts .me-forgot { font-size: 12.5px; } }
/* the motion: only with Animations on (both off and Reduce Motion give :root.still) */
:root:not(.still) .me-menu { opacity: 0; transform: scale(.9); transition: opacity .18s var(--ease-bounce-out), transform .18s var(--ease-bounce-out); }
:root:not(.still) .me-menu.in { opacity: 1; transform: none; transition: opacity .16s ease-out, transform .26s var(--ease-bounce-in); }

/* ============================================================ 5. shared pieces */
/* ---------- the one list design (the homepage's chart list): small poster, title, grey second line, hairline separators,
   a frosted hover; two columns on computers, one on phones. New This Week, the Watchlist, Cast & Crew and Browse use it. ---------- */
.cl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; column-gap: 36px; }
.cl li { border-top: .5px solid var(--sep); transition: background-color .15s ease; }
.cl li:nth-child(5n + 1) { border-top: 0; }
@media (hover: hover) { .cl li:hover { background: color-mix(in srgb, color-mix(in srgb, var(--bg) 60%, var(--label)) 9%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); } }
.cl a { display: flex; align-items: center; gap: 14px; padding: 9px 10px; color: inherit; }
@media (hover: hover) { .cl a:hover { text-decoration: none; } }
.cl-n { width: 22px; flex: none; display: grid; justify-items: center; gap: 3px; font: 700 17px/1 var(--font); color: var(--label2); font-variant-numeric: tabular-nums; }
.cl img, .cl-ph { width: 40px; height: 60px; flex: none; object-fit: cover; border-radius: var(--r); box-shadow: 0 0 0 .5px var(--sep); }
.cl-t { flex: 1; min-width: 0; display: grid; }
.cl-t b { font-weight: 500; font-size: 15px; letter-spacing: -.016em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-t small { font-size: 13px; color: var(--label2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-r { flex: none; font-size: 13px; color: var(--label2); font-variant-numeric: tabular-nums; }
/* ---------- rows of posters ---------- */
.nr {
  list-style: none; margin: 0 calc(-1 * var(--gutter-r)) 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter-r) 6px var(--gutter);
  display: grid; grid-auto-flow: column; grid-auto-columns: 148px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-left: var(--gutter);
}
.nr::-webkit-scrollbar { display: none; }
.nr li { scroll-snap-align: start; min-width: 0; }
.nr a, .nr li > span { display: grid; gap: 2px; color: inherit; }
@media (hover: hover) { .nr a:hover { text-decoration: none; } }
.nr-art { position: relative; display: block; margin-bottom: 8px; border-radius: var(--r); overflow: hidden; background: var(--fill); box-shadow: 0 0 0 .5px var(--sep), 0 6px 16px -8px rgba(0, 0, 0, .5); transition: translate .35s var(--ease-out); }
.nr-art > img:first-child, .nr-art > .ph { display: block; width: 100%; aspect-ratio: 2 / 3; height: auto; object-fit: cover; }
.nr-art > .ph { font-size: 16px; padding: 10px; }
.nr b { font-weight: 500; font-size: 14px; letter-spacing: -.016em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nr small { font-size: 12px; color: var(--label2); }
@media (hover: hover) { .nr a:hover .nr-art { translate: 0 -3px; } }
@media (max-width: 640px) {
  .cl { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
  .cl li:nth-child(5n + 1) { border-top: .5px solid var(--sep); }
  .cl li:first-child { border-top: 0; }
  .nr { grid-auto-columns: 124px; gap: 12px; }
}
@media (max-width: 560px) {
  .ph { font-size: 13px; padding: 8px; }
  .nr { grid-auto-columns: 30vw; gap: 8px; }
  .row-h { margin: 26px 0 10px; font: 700 21px/1.2 var(--font); letter-spacing: -.015em; }
  .row-h a { gap: 10px; }
  /* headings that lead somewhere end in a round arrow */
  .row-h .chev { position: relative; width: 28px; height: 28px; margin: 0; opacity: 1; border: 1.5px solid color-mix(in srgb, var(--label) 40%, transparent); border-radius: 50%; transform: none; }
  .row-h .chev::after { content: ""; position: absolute; left: 7px; top: 9.5px; width: 6px; height: 6px; border-top: 2px solid var(--label); border-right: 2px solid var(--label); transform: rotate(45deg); }
}

/* ---------- New This Week: each day in the chart list, in rows, with the service's logo and Add to Calendar ---------- */
.nw-cl { grid-template-rows: none; grid-auto-flow: row; }
.nw-cl li { display: flex; align-items: center; border-top: .5px solid var(--sep) !important; }
.nw-cl li:nth-child(-n + 2) { border-top: 0 !important; }
@media (max-width: 640px) { .nw-cl li:nth-child(2) { border-top: .5px solid var(--sep) !important; } }
.nw-cl li > a, .nw-cl .nw-row { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 9px 10px; color: inherit; }
.nw-cl .nw-logo { width: 26px; height: 26px; flex: none; border-radius: var(--r-app); box-shadow: 0 0 0 .5px var(--sep); }
.nw-cl .cal-add { margin-right: 6px; }
.cal-add { flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: transform .3s var(--ease-spring), background-color .2s ease; }
.cal-add svg { width: 20px; height: 20px; }
.cal-add:active { transform: scale(.96); }
.cal-add:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* This Week, and each section's heading: a line of explanation always under it, any control on the right */
.wk { margin-top: 22px; scroll-margin-top: 80px; }
.wk-hd { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 14px; margin-bottom: 12px; }
.wk-hd .row-h { margin: 0; grid-column: 1; }
.wk-hd p { grid-column: 1; margin: 3px 0 0; color: var(--label2); font-size: 14px; }
.wk-hd > :not(.row-h, p) { grid-column: 2; grid-row: 1 / span 2; }
.cu-when { position: absolute; left: 8px; top: 8px; padding: 4px 8px; border-radius: var(--r); font: 600 12px/1 var(--font); color: #fff;
  background: rgba(20, 20, 24, .6); -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .22); }

/* ---------- the Watchlist: the chart list, with where it's streaming and a quiet remove button on each row ---------- */
.wl-go { color: var(--accent); font-weight: 600; }
.wl-hd { margin-top: 22px; }
.wl-hd .dd { flex: none; }
.wl-cl[data-kind="tv"] > li[data-type="movie"], .wl-cl[data-kind="movie"] > li[data-type="tv"] { display: none; }
.wl-next { margin-top: 1px; }
.cl-t .wl-next b { font: inherit; color: var(--accent); white-space: normal; }
.wl-on { display: flex; gap: 4px; flex: none; }
.wl-note { display: block; margin-top: 2px; color: var(--label2); font-size: 13px; font-style: italic; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-more { margin: 14px 0 0; }
.wl-soon { margin: 24px 0 0; }
.wl-x { position: relative; flex: none; display: grid; place-items: center; width: 30px; height: 30px; margin-right: 6px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: var(--label3); background: none;
  transition: color .2s ease, background-color .2s ease, opacity .2s ease; }
.wl-x::before { content: ""; position: absolute; inset: -7px; }   /* a 44pt target */
.wl-x svg { width: 13px; height: 13px; }
.wl-x:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; opacity: 1; }
.wl-sw { display: none; }
@media (hover: hover) {
  .wl-x { opacity: 0; }
  .wl-cl li:hover .wl-x, .wl-x:focus-visible { opacity: 1; }
  .wl-x:hover { color: #fff; background: rgba(255, 55, 95, .85); }
}
@media (max-width: 420px) { .wl-on img:nth-child(n+2) { display: none; } }
/* phones: swipe a row left for Delete, as in iOS. The row slides left and a red Delete grows in from the right edge; a long
   swipe stretches it across. At rest nothing changes. */
@media (max-width: 719px) {
  .wl-cl > li { position: relative; overflow: hidden; }
  .wl-cl > li > a, .wl-cl > li > .wl-x { translate: var(--sx, 0px) 0; transition: translate .4s var(--ease-spring); touch-action: pan-y; }
  .wl-cl > li > .wl-sw { position: absolute; top: 0; right: 0; bottom: 0; display: grid; place-content: center; justify-items: center; gap: 3px; overflow: hidden;
    width: calc(var(--sx, 0px) * -1); padding: 0; border: 0; color: #fff; background: #ff375f; font: 500 13px/1 var(--font); -webkit-font-smoothing: antialiased;
    white-space: nowrap; cursor: pointer; transition: width .4s var(--ease-spring); }
  .wl-cl > li > .wl-sw svg { width: 22px; height: 22px; }
  .wl-cl > li.sw-drag > :is(a, .wl-x, .wl-sw) { transition: none; }
  /* the once-only hint on the first title: a frosted pill at the right, nudging left */
  .wl-hint { position: absolute; z-index: 2; top: 50%; right: 8px; display: flex; align-items: center; gap: 4px; padding: 7px 12px 7px 8px; border-radius: var(--r);
    color: var(--label); font: 500 13px/1 var(--font); -webkit-font-smoothing: antialiased; white-space: nowrap; pointer-events: none;
    background: var(--fr-bg); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur); box-shadow: inset 0 0 0 1px var(--fr-rim), 0 6px 18px rgba(0, 0, 0, .18);
    translate: 0 -50%; animation: wlHintIn .45s var(--ease-spring) both, wlHint 1.2s ease-in-out .5s infinite; transition: opacity .3s ease, scale .3s ease; }
  .wl-hint svg { width: 15px; height: 15px; color: #ff375f; }
  .wl-hint.out { opacity: 0; scale: .9; }
  @keyframes wlHintIn { from { opacity: 0; scale: .85; } }
  @keyframes wlHint { 0%, 100% { transform: none; } 45% { transform: translateX(-10px); } 65% { transform: translateX(-3px); } }
}
@media (prefers-reduced-motion: reduce) { .wl-hint { animation: none; } }
/* the offer of alerts: a frosted card, its button and close button the same height and centred */
.wl-alert:not([hidden]) { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "ic txt btn x";
  align-items: center; gap: 12px 14px; margin: 22px 0 8px; padding: 12px; border-radius: var(--r);
  background: var(--fr-bg); box-shadow: inset 0 0 0 1px var(--fr-rim); -webkit-backdrop-filter: blur(24px) saturate(1.8); backdrop-filter: blur(24px) saturate(1.8); }
.wl-al-ic { grid-area: ic; display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r); color: #fff; background: linear-gradient(160deg, #ff7a6b, #ff375f 60%, #e0245e); box-shadow: 0 4px 14px rgba(255, 55, 95, .35); }
.wl-al-ic svg { width: 20px; height: 20px; }
.wl-alert p { grid-area: txt; margin: 0; font-size: 14px; line-height: 1.4; color: var(--label2); text-wrap: pretty; }
.wl-alert p b { display: block; color: var(--label); font-weight: 600; }
.wl-alert .btn { grid-area: btn; }
.wl-al-x { grid-area: x; position: relative; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
  cursor: pointer; color: var(--label2); background: var(--fill); transition: background-color .2s ease, color .2s ease; }
.wl-al-x::before { content: ""; position: absolute; inset: -4px; }
.wl-al-x svg { width: 14px; height: 14px; }
@media (hover: hover) { .wl-al-x:hover { color: var(--label); background: var(--fill-strong); } }
.wl-al-x:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 560px) {
  .wl-alert:not([hidden]) { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ic txt x" ". btn ."; align-items: start; }
  .wl-alert .btn { justify-self: start; }
  .wl-al-x { width: 30px; height: 30px; }
  .wl-al-x::before { inset: -7px; }
  .wl-al-x svg { width: 12px; height: 12px; }
}

/* ---------- empty pages: a gradient tile on an orbit with a scatter of confetti ---------- */
.empty { isolation: isolate; margin: 24px 0 0; padding: 32px 22px 28px; border-radius: var(--r); background: var(--bg2); text-align: center; animation: riseIn .7s var(--ease-out) both; }
.empty-ic { position: relative; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r); color: #fff; background: linear-gradient(135deg, #ff375f, #bf5af2 55%, #0a84ff); box-shadow: 0 8px 24px rgba(191, 90, 242, .35); }
.empty-ic svg { width: 28px; height: 28px; }
.empty-ic::before { content: ""; position: absolute; z-index: -1; left: -30px; right: -30px; top: 16px; bottom: 16px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--label) 16%, transparent); }
.empty-ic::after { content: ""; position: absolute; z-index: -1; inset: -14px -46px;
  background: radial-gradient(circle at 4% 30%, #ffd60a 2.5px, transparent 3px), radial-gradient(circle at 98% 22%, #64d2ff 2px, transparent 2.5px),
    radial-gradient(circle at 90% 92%, #ff375f 2.5px, transparent 3px), radial-gradient(circle at 12% 88%, #30d158 2px, transparent 2.5px),
    radial-gradient(circle at 70% 4%, #bf5af2 1.6px, transparent 2px); }
:root:not(.still) .empty-ic svg { animation: tnBit .6s var(--ease-spring) .2s both; }
:root:not(.still) .empty-ic::after { animation: fadeOnly .6s ease .4s both; }
.empty h2 { margin: 16px 0 6px; font: 700 26px/1.15 var(--font); letter-spacing: .004em; }
.empty p { margin: 0 auto 18px; max-width: 40ch; color: var(--label2); font-size: 16px; text-wrap: balance; }

/* ---------- "What should I watch tonight?": a guided sheet of three questions, then three picks ---------- */
/* the icons: a white glyph on a gradient tile, with a glassy top light */
.tn-ic { position: relative; display: grid; place-items: center; flex: none; width: 42px; aspect-ratio: 1; border-radius: var(--r); color: #fff; overflow: hidden;
  background: linear-gradient(150deg, var(--a), var(--b));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 0 0 .5px rgba(255, 255, 255, .2), 0 6px 14px -8px color-mix(in srgb, var(--b) 80%, transparent); }
.tn-ic::after { content: ""; position: absolute; inset: 0 0 50%; background: linear-gradient(rgba(255, 255, 255, .24), transparent); pointer-events: none; }
.tn-ic svg { width: 58%; height: 58%; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .18)); }
.btn[data-tonight] svg { width: 17px; height: 17px; flex: none; }

/* the sheet: a round back button, a centred title and a round close, like My services */
.mine-dlg.tn-dlg { width: min(580px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow: auto; overscroll-behavior: contain; border-radius: var(--r); }
.mine-dlg.tn-dlg form { position: relative; padding: 16px 20px 20px; }
.tn-grab { display: none; }
.tn-bar { position: relative; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; min-height: 44px; }
.tn-dlg .tn-bar-t { margin: 0; text-align: center; font: 600 15px/1.2 var(--font); letter-spacing: -.012em; color: var(--label2); font-variant-numeric: tabular-nums; }
.tn-rd { position: relative; display: grid; place-items: center; width: 36px; height: 36px; margin: 4px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: #fff;
  background: var(--bt-round); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .14); -webkit-tap-highlight-color: transparent;
  transition: background-color .2s ease, transform .35s var(--ease-spring), opacity .25s ease; }
.tn-rd::before { content: ""; position: absolute; inset: -4px; }   /* a 44pt target */
.tn-rd svg { width: 18px; height: 18px; }
.tn-rd:active { transform: scale(.96); }
.tn-rd.tn-off { opacity: 0; visibility: hidden; pointer-events: none; }
@media (hover: hover) { .tn-rd:hover { background: var(--bt-round-hover); } }
.tn-rd:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* the path: three steps joined by a line that fills as you go; an answered step shows your answer, and takes you back to it */
.tn-path { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 14px 0 6px; padding: 0; list-style: none; }
.tn-path::before, .tn-path::after { content: ""; position: absolute; top: 17px; left: 16.67%; height: 2px; border-radius: 1px; }
.tn-path::before { right: 16.67%; background: var(--fill-strong); }
.tn-path::after { width: calc(66.67% * var(--done, 0) / 2); background: linear-gradient(90deg, #0a84ff, #bf5af2 55%, #ff375f); transition: width .55s var(--ease-out); }
.tn-path li { position: relative; z-index: 1; display: grid; justify-items: center; }
.tn-node { display: grid; justify-items: center; gap: 6px; min-width: 44px; padding: 0 4px; border: 0; background: none; color: var(--label2); font: inherit; cursor: default; }
.tn-dot { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font: 600 15px/1 var(--font); font-variant-numeric: tabular-nums;
  color: var(--label2); background: color-mix(in srgb, var(--bg) 70%, var(--fill-strong)); box-shadow: inset 0 0 0 1px var(--fr-rim);
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease, transform .45s var(--ease-spring); }
.tn-node .tn-ic { width: 36px; }
.tn-node small { max-width: 14ch; font: 500 12.5px/1.25 var(--font); text-align: center; text-wrap: balance; }
.tn-path .now .tn-dot { color: #fff; background: var(--bt-fill); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 28%, transparent); transform: scale(1.06); }
.tn-path .now small { color: var(--label); }
.tn-path .done small { color: var(--label); }
button.tn-node { cursor: pointer; border-radius: var(--r); -webkit-tap-highlight-color: transparent; }
button.tn-node .tn-ic { transition: transform .45s var(--ease-spring); }
button.tn-node:active .tn-ic { transform: scale(.92); }
@media (hover: hover) { button.tn-node:hover .tn-ic { transform: translateY(-2px); } }
button.tn-node:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* each question */
.tn-pane { padding-top: 14px; }
.tn-dlg h2 { margin: 0; outline: none; text-align: center; }
.tn-dlg p.tn-sub { margin: 6px auto 0; max-width: 40ch; font-size: 15px; text-align: center; text-wrap: balance; }
/* the answers: one grouped list on a phone (hairlines between), tiles on a computer; a tapped one lights up, then on */
.tn-opts { display: grid; margin: 18px 0 0; border-radius: var(--r); background: var(--fr-in); overflow: hidden; }
.tn-opt { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 11px 14px; border: 0; cursor: pointer; text-align: left;
  color: var(--label); background: transparent; font: inherit; -webkit-tap-highlight-color: transparent; transition: background-color .18s, box-shadow .2s; }
.tn-opt + .tn-opt::before { content: ""; position: absolute; top: 0; left: 70px; right: 0; border-top: 1px solid var(--sep); }
.tn-ol { display: grid; gap: 2px; flex: 1; align-content: start; min-width: 0; }
.tn-opt b { font-size: 16px; font-weight: 600; letter-spacing: -.016em; }
.tn-opt small { font-size: 13px; font-weight: 400; color: var(--label2); }
.tn-chev { flex: none; width: 16px; height: 16px; color: var(--label3); }
.tn-tick { display: none; flex: none; width: 22px; height: 22px; color: var(--accent); }
.tn-opt .tn-ic { transition: transform .45s var(--ease-spring); }
.tn-opt:active { background: var(--fill); }
@media (hover: hover) { .tn-opt:hover { background: var(--fill); } .tn-opt:hover .tn-ic { transform: translateY(-2px) scale(1.05); } }
.tn-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--r); }
.tn-opt.on { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.tn-opt.on .tn-chev { display: none; }
.tn-opt.on .tn-tick { display: block; }
@media (min-width: 601px) {   /* computers: the answers as tiles, three across */
  .tn-opts { grid-template-columns: repeat(3, 1fr); gap: 10px; background: none; overflow: visible; }
  .tn-opt { flex-direction: column; align-items: flex-start; gap: 12px; min-height: 0; padding: 16px 14px 14px; border-radius: var(--r); background: var(--fr-in);
    box-shadow: inset 0 0 0 1px transparent; transition: background-color .18s, box-shadow .2s, transform .45s var(--ease-spring); }
  .tn-row .tn-opt { min-height: 140px; }
  .tn-opt + .tn-opt::before { display: none; }
  .tn-opt .tn-ic { width: 46px; }
  .tn-opt b { font-size: 15px; }
  .tn-chev { display: none; }
  .tn-tick { position: absolute; top: 12px; right: 12px; }
  .tn-opt.on { box-shadow: inset 0 0 0 2px var(--accent); }
  .tn-opt:active { transform: scale(.97); }
  @media (hover: hover) { .tn-opt:hover { background: var(--fill); } }
}

/* the picks: rows on a phone, three posters across on a computer; the best match first, with its badge */
.tn-picks { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 10px; }
.tn-picks a { position: relative; display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: var(--r); color: inherit; background: var(--fr-in); transition: background-color .18s, transform .45s var(--ease-spring); }
@media (hover: hover) { .tn-picks a:hover { text-decoration: none; background: var(--fill); } }
.tn-picks a:active { transform: scale(.98); }
.tn-picks img, .tn-ph { flex: none; width: 60px; height: 90px; border-radius: var(--r); object-fit: cover; box-shadow: 0 0 0 .5px var(--sep); }
.tn-ph { background: var(--fill-strong); }
.tn-t { display: grid; gap: 2px; min-width: 0; }
.tn-t b { font-size: 16px; font-weight: 600; letter-spacing: -.016em; }
.tn-t small { font-size: 13px; color: var(--label2); }
.tn-best { justify-self: start; margin-bottom: 2px; padding: 3px 8px; border-radius: var(--r); font: 600 11.5px/1.2 var(--font); color: #fff; background: var(--bt-fill);
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .14); }
.tn-sk .tn-t { flex: 1; gap: 8px; }
.tn-sk .tn-t i { display: block; height: 12px; width: 70%; border-radius: var(--r); background: var(--fill-strong); }
.tn-sk .tn-t i + i { width: 45%; }
:root:not(.still) .tn-sk :is(.tn-ph, .tn-t i) { animation: tnPulse 1.2s ease-in-out infinite alternate; }
.tn-acts { display: flex; justify-content: space-between; gap: 10px; }
.tn-acts .btn { min-height: 44px; padding: 0 18px; }
.tn-acts .btn:only-child { margin: 0 auto; }
.tn-sub + .tn-acts { margin-top: 20px; }
@media (min-width: 601px) {
  .tn-picks { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .tn-picks a { flex-direction: column; align-items: stretch; gap: 10px; padding: 8px 8px 12px; height: 100%; }
  .tn-picks img, .tn-ph { width: 100%; height: auto; aspect-ratio: 2 / 3; }
  .tn-t { padding: 0 4px; }
  .tn-t b { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .tn-best { position: absolute; top: 14px; left: 14px; margin: 0; }
  @media (hover: hover) { .tn-picks a:hover { transform: translateY(-3px); } }
}
/* phones: a sheet from the bottom with a grabber, pulled down to close */
@media (max-width: 600px) {
  .mine-dlg.tn-dlg { width: 100%; max-width: 100%; margin: auto 0 0; max-height: calc(100dvh - 24px); border-radius: var(--r) var(--r) 0 0; }
  .mine-dlg.tn-dlg form { padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
  .tn-grab { display: block; position: absolute; z-index: 2; top: 7px; left: 50%; width: 36px; height: 5px; margin-left: -18px; border-radius: 3px; background: var(--label3); }
  .tn-acts .btn { flex: 1 1 0; min-width: 0; padding: 0 12px; justify-content: center; }
}
@media (max-width: 360px) { .tn-acts { flex-direction: column-reverse; } }
.tn-dlg.tn-drag { transition: none !important; }
:root:not(.still) .tn-dlg { transition: translate .35s var(--ease-out); }
:root:not(.still) .tn-fw { animation: tnFw .45s var(--ease-out); }
:root:not(.still) .tn-bk { animation: tnBk .45s var(--ease-out); }
:root:not(.still) .tn-in { animation: fadeOnly .35s ease; }
:root:not(.still) .tn-path .done .tn-ic { animation: tnPop .5s var(--ease-spring); }
:root:not(.still) .tn-opt .tn-chev { transition: transform .4s var(--ease-snap); }
@media (hover: hover) { :root:not(.still) .tn-opt:hover .tn-chev { transform: translateX(3px); } }
:root:not(.still) .tn-opt.on .tn-tick { animation: tnPop .35s var(--ease-spring); }
@keyframes tnBit { from { opacity: 0; transform: scale(0) rotate(-90deg); } }
@keyframes tnPulse { from { opacity: .5; } }
@keyframes tnPop { from { opacity: 0; transform: scale(.4); } }
@keyframes tnFw { from { opacity: 0; transform: translateX(28px); } }
@keyframes tnBk { from { opacity: 0; transform: translateX(-28px); } }

@media (max-width: 560px) {
  .nr-art { border-radius: var(--r); }
}
/* scroll-driven settling (Animations on only): New This Week and the Watchlist settle in, and the banners' pictures drift */
@supports (animation-timeline: view()) {
  :root:not(.still) #view .wrap :is(.wk-hd, .wk > .nr, .nw-stats, .race-box, .nrow) { animation: pxRise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  @media (prefers-reduced-motion: no-preference) {
    :root:not(.still) .set-page .set-sec { animation: pxSettle linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {   /* big page titles ease back as the page scrolls under them, like iOS's large titles */
    :root:not(.still) :is(.large-title, #lsH) { transform-origin: 0 100%; animation: ltAway linear both; animation-timeline: scroll(root); animation-range: 0 180px; }
  }
}
@keyframes pxRise { from { opacity: 0; translate: 0 34px; } }
@keyframes pxSettle { from { opacity: 0; translate: 0 28px; scale: .985; } }
@keyframes ltAway { to { opacity: .2; translate: 0 -14px; scale: .97; } }

/* ---------- the services: a rail of app icons (Home and Browse); the chosen one gets Tenner's rainbow underline ---------- */
.bx-rail { display: flex; flex: 1; min-width: 0; gap: 6px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 6px; overflow-x: auto; scrollbar-width: none; scroll-padding-inline: var(--gutter); }
.bx-rail::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) { .bx-rail { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; } }
.bx-svc-b { position: relative; display: grid; justify-items: center; gap: 7px; flex: none; width: 76px; padding: 6px 0 10px; border: 0; border-radius: var(--r); background: none; color: var(--label2); cursor: pointer; font: 500 12px/1.2 var(--font); -webkit-tap-highlight-color: transparent; }
.bx-svc-b small { font: inherit; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx-app { display: grid; place-items: center; width: 54px; height: 54px; overflow: hidden; border-radius: var(--r-app); color: #fff; font: 700 22px/1 var(--font);
  background: linear-gradient(150deg, hsl(var(--h, 220) 60% 46%), hsl(calc(var(--h, 220) + 40) 60% 24%)); box-shadow: 0 0 0 .5px var(--fr-rim), 0 8px 18px -10px rgba(0, 0, 0, .5); }
.bx-app img { width: 100%; height: 100%; object-fit: cover; }
.bx-app-all { background: var(--fr-bg); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur); box-shadow: inset 0 0 0 1px var(--fr-rim); }
.bx-app-all img { width: 34px; height: 34px; object-fit: contain; }
:root:not(.still) .bx-app { transition: transform .45s var(--ease-spring); }
@media (hover: hover) { .bx-svc-b:hover .bx-app { transform: translateY(-2px) scale(1.04); } .bx-svc-b:hover { color: var(--label); } }
.bx-svc-b:active .bx-app { transform: scale(.94); }
.bx-svc-b[aria-pressed="true"] { color: var(--label); }
.bx-svc-b[aria-pressed="true"]::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 2px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #ff375f, #ff9f0a, #ffd60a, #30d158, #40c8e0, #5e5ce6, #bf5af2); }
.bx-svc-b:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; }
/* phones: the rows of posters run right to the screen's edges, with no fade at either side (the owner's pick) */
@media (max-width: 719px) { .bx-row, .b-people .sh-faces, .rb-track, .tt-row, .tt-row.at-start, .tt-row.at-end { -webkit-mask-image: none !important; mask-image: none !important; } }

/* ============================================================ 6. sheets and popups */
/* ---------- one look for every sheet and alert (Help me choose, My services, a title's or a person's sheet, Browse's
   filters, Share, Sign out, Delete account, the Christmas calendar, the menus, a photo held up close): the one frost and
   corner with its fine rim, lit like Settings' panel (a fine line of the accent across the middle of the top edge, glowing
   gently down into the sheet; no coloured shadow beneath), one dimmed and blurred backdrop, and one heading. ---------- */
:is(.mine-dlg, .sheet, .fsheet, .share-card, .drawer, dialog.adv, .ps-zoom figure) {
  --tone: var(--accent, #0a84ff);
  border: 0; border-radius: var(--r); color: var(--label);
  background: radial-gradient(65% 170px at 50% 0, color-mix(in srgb, var(--tone) 15%, transparent), transparent), var(--fr-bg) !important;
  -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur);
  box-shadow: inset 0 0 0 1px var(--fr-rim), 0 40px 100px -24px rgba(0, 0, 0, .6) !important;
}
:is(.mine-dlg, .sheet, .fsheet, .share-card, .drawer, dialog.adv, .ps-zoom figure)::before { content: ""; position: absolute; z-index: 5; top: 0; left: 14%; right: 14%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--tone), transparent); }
:is(.mine-dlg, .fsheet, .share-card, .drawer, dialog.adv, .ps-zoom)::backdrop { background: rgba(0, 0, 0, .42); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); }
:is(.mine-dlg, .share-card) h2, .adv-hd h2 { font: 700 22px/1.2 var(--font) !important; letter-spacing: -.02em !important; text-wrap: balance; }
dialog.adv { position: fixed; }   /* the calendar keeps its night scene inside the frame */
/* ---------- one motion for every popup (only with Animations on; shell.js plays the exits before a dialog really closes).
   A simple bounce, the owner's pick: in, it grows from a little small to just past full size and settles; out, it swells
   a touch and shrinks away. Short, transform and opacity only (drawn on the GPU), nothing blurred or staggered. On phones
   the bigger ones are sheets, up from the bottom and back down. Dropdowns grow out of the button that opened them. ---------- */
:root:not(.still) :is(dialog.mine-dlg, dialog.t10, dialog.share-card, dialog.fsheet)[open], :root:not(.still) .ps-zoom[open] figure,
:root:not(.still) :is(.tb-pop, .ss-res, .me-menu, .tt-about, .toast) { will-change: transform, opacity; }
:root:not(.still) :is(dialog.mine-dlg, dialog.t10, dialog.share-card, dialog.fsheet)[open], :root:not(.still) .ps-zoom[open] figure { animation: popIn .26s var(--ease-bounce-in) both; }
:root:not(.still) :is(dialog.mine-dlg, dialog.t10, dialog.share-card, dialog.fsheet, dialog.ps-zoom)[open]::backdrop { animation: fadeOnly .2s ease-out both; }
:root:not(.still) :is(dialog.mine-dlg, dialog.t10, dialog.share-card, dialog.fsheet)[open].tn-out, :root:not(.still) .ps-zoom.tn-out figure { animation: popOut .18s var(--ease-bounce-out) both; }
:root:not(.still) dialog[open].tn-out::backdrop { animation: fadeAway .18s ease-in both; }
@media (max-width: 600px) {
  :root:not(.still) dialog:is(.mine-subs, .tn-dlg, .t10)[open] { animation: sheetUp .34s var(--ease-sheet) both; }
  :root:not(.still) dialog:is(.mine-subs, .tn-dlg, .t10)[open].tn-out { animation: sheetDown .22s var(--ease-sheet) both; }
}
@media (max-width: 699px) {
  :root:not(.still) dialog.fsheet[open] { animation: sheetUp .34s var(--ease-sheet) both; }
  :root:not(.still) dialog.fsheet[open].tn-out { animation: sheetDown .22s var(--ease-sheet) both; }
}
@keyframes popIn { from { opacity: 0; transform: scale(.9); } }
@keyframes popOut { to { opacity: 0; transform: scale(.9); } }
@keyframes sheetUp { from { transform: translateY(100%); } }
@keyframes sheetDown { to { transform: translateY(100%); } }
@keyframes fadeAway { to { opacity: 0; } }
/* dropdowns (Theme, search results): the same bounce, out of their button and back into it */
:root:not(.still) :is(.tb-pop, .ss-res)[popover] { opacity: 0; transform: scale(.9);
  transition: opacity .18s var(--ease-bounce-out), transform .18s var(--ease-bounce-out), display .18s allow-discrete, overlay .18s allow-discrete; }
:root:not(.still) :is(.tb-pop, .ss-res):popover-open { opacity: 1; transform: none;
  transition: opacity .16s ease-out, transform .26s var(--ease-bounce-in), display .26s allow-discrete, overlay .26s allow-discrete; }
@starting-style { :root:not(.still) :is(.tb-pop, .ss-res):popover-open { opacity: 0; transform: scale(.9); } }
/* a small sheet of choices */
.mine-dlg { width: min(400px, calc(100vw - 32px)); padding: 0; }
.mine-dlg form { padding: 22px 20px 18px; }
.mine-dlg h2 { margin: 0 0 6px; }
.mine-dlg p { margin: 0 0 14px; font-size: 14px; line-height: 1.45; color: var(--label2); }
.mine-list { border-radius: var(--r); background: var(--bg2); overflow: hidden; }
.mine-row { position: relative; display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 14px; cursor: pointer; }
.mine-row + .mine-row { border-top: .5px solid var(--sep); }
.mine-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: var(--r-app); overflow: hidden; flex: none; background: var(--fill); font-weight: 700; }
.mine-ic img { width: 100%; height: 100%; object-fit: cover; }
.mine-l { flex: 1; font-size: 16px; padding: 7px 0; }
.mine-n { display: block; font-size: 13px; color: var(--label2); font-variant-numeric: tabular-nums; }
.mine-n:empty { display: none; }
.mine-acts { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; }
.mine-acts .btn { height: 40px; padding: 0 16px; }
.mine-done { color: #fff; font-weight: 600; }

/* ---------- Sign out: the iOS-style alert that asks once, with Tenner's goodbye orb. A dark glass sphere with two ribbons
   of light turning at their own slow pace, a current that drifts and a core that breathes; still when motion is off. ---------- */
.out-dlg { width: min(330px, calc(100vw - 48px)); text-align: center; }
.out-dlg form { padding: 24px 20px 18px; }
.out-dlg h2 { font-size: 20px; letter-spacing: -.02em; }
.out-dlg p { margin: 0 auto 18px; max-width: 30ch; font-size: 15px; text-wrap: pretty; }
.out-acts { display: grid; gap: 8px; }
.out-acts .btn { justify-content: center; gap: 8px; height: 44px; font-size: 16px; }
.out-acts .btn svg { width: 19px; height: 19px; }
.out-ic { position: relative; isolation: isolate; display: block; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #100e22 0%, #05040c 60%, #010103 100%);
  box-shadow: 0 0 18px -2px rgba(10, 132, 255, .45), 0 0 34px -6px rgba(191, 90, 242, .4), 0 0 0 .5px rgba(255, 255, 255, .16); }
.out-ic::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 50%; pointer-events: none;   /* the rim, brighter at the bottom */
  background: radial-gradient(circle at 50% 50%, transparent 60%, rgba(140, 200, 255, .1) 68%, rgba(255, 255, 255, .28) 74%, transparent 76%);
  box-shadow: inset 0 -5px 10px -4px rgba(100, 210, 255, .55), inset 0 3px 8px -3px rgba(255, 255, 255, .2), inset 0 0 14px rgba(0, 0, 0, .55); }
.out-ic::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: 50%; pointer-events: none;   /* the glass: a soft highlight and a glint */
  background: radial-gradient(ellipse 42% 26% at 36% 20%, rgba(255, 255, 255, .42), rgba(255, 255, 255, .08) 60%, transparent 72%),
    radial-gradient(circle 1.6px at 31% 19%, rgba(255, 255, 255, .95), transparent); }
.out-ic i { position: absolute; z-index: 1; left: 50%; top: 50%; border-radius: 50%; mix-blend-mode: plus-lighter; pointer-events: none; }
.out-ic i:nth-child(1), .out-ic i:nth-child(2) { width: 64px; height: 64px; margin: -32px; filter: blur(2.6px);
  -webkit-mask: radial-gradient(circle, transparent 27%, #000 39%, #000 47%, transparent 60%); mask: radial-gradient(circle, transparent 27%, #000 39%, #000 47%, transparent 60%); }
.out-ic i:nth-child(1) { background: conic-gradient(from 0deg, transparent 0deg, #0a84ff 80deg, #8fe3ff 150deg, transparent 215deg, transparent 360deg); }
.out-ic i:nth-child(2) { background: conic-gradient(from 180deg, transparent 0deg, #bf5af2 70deg, #ff4f8b 140deg, transparent 205deg, transparent 360deg); opacity: .95; }
.out-ic i:nth-child(3) { width: 30px; height: 26px; margin: -13px -15px; filter: blur(6px); opacity: .55;
  background: radial-gradient(circle at 40% 40%, #5e5ce6, #7d3cff 55%, transparent 75%); border-radius: 42% 58% 61% 39% / 47% 41% 59% 53%; transform: translate(4px, 5px); }
.out-ic i:nth-child(4) { width: 18px; height: 18px; margin: -9px; filter: blur(3px);
  background: radial-gradient(circle, rgba(255, 255, 255, .9) 0 14%, rgba(150, 215, 255, .55) 38%, rgba(10, 132, 255, .18) 62%, transparent 74%); }
:root:not(.still) .out-ic { animation: outPop .9s cubic-bezier(.2, 1.1, .3, 1), outHalo 7s ease-in-out .9s infinite; }
:root:not(.still) .out-ic i:nth-child(1) { animation: outTurn 14s linear infinite; }
:root:not(.still) .out-ic i:nth-child(2) { animation: outTurn 19s linear infinite reverse; }
:root:not(.still) .out-ic i:nth-child(3) { animation: outDrift 26s ease-in-out infinite; }
:root:not(.still) .out-ic i:nth-child(4) { animation: outBreathe 7s ease-in-out .9s infinite; }
@keyframes outTurn { to { rotate: 1turn; } }
@keyframes outDrift {
  0%, 100% { transform: translate(4px, 5px) rotate(0deg); border-radius: 42% 58% 61% 39% / 47% 41% 59% 53%; }
  25% { transform: translate(-5px, 3px) rotate(80deg); border-radius: 58% 42% 38% 62% / 55% 60% 40% 45%; }
  50% { transform: translate(-3px, -5px) rotate(170deg); border-radius: 40% 60% 54% 46% / 38% 52% 48% 62%; }
  75% { transform: translate(5px, -2px) rotate(260deg); border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; } }
@keyframes outBreathe { 0%, 100% { transform: scale(.82); opacity: .75; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes outHalo { 50% { box-shadow: 0 0 26px 0 rgba(10, 132, 255, .55), 0 0 46px -4px rgba(191, 90, 242, .5), 0 0 0 .5px rgba(255, 255, 255, .22); } }
@keyframes outPop { from { transform: scale(.5); opacity: 0; } }

/* ---------- a title's sheet (sheet.js): where to watch, in Tenner. A centred card on computers, a bottom sheet on phones
   (swipe it down to close); the Apple TV app's layout: artwork, title, details, actions, then Where to Watch. ---------- */
.sheet::backdrop { background: rgba(0, 0, 0, 0); transition: background-color .25s ease; }
.sheet.in::backdrop { background: rgba(0, 0, 0, .42); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); }
.sheet {
  position: fixed; inset: auto; margin: 0; padding: 0; max-width: none; left: 50%; top: 50%; width: min(780px, calc(100vw - 48px)); max-height: min(90vh, 960px);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translate(-50%, -50%) scale(.96); opacity: 0; transition: transform .32s var(--ease-out), opacity .2s ease, translate .3s var(--ease-out);
}
.sheet.in { transform: translate(-50%, -50%); opacity: 1; }
.sheet.dragging { transition: none; }
.sheet-up, .sheet-up body { overflow: hidden; }
.sh-grab { display: none; }
.sh-x, .sh-sound {
  position: absolute; z-index: 3; top: 12px; right: 12px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
  color: #fff; background: rgba(0, 0, 0, .38); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); cursor: pointer;
}
.sh-x svg { width: 16px; height: 16px; }
.sh-scroll { overflow-y: auto; overscroll-behavior: contain; }
/* the artwork stays put at the top while everything scrolls up under its soft lower edge; the poster hangs over the edge */
.sh-art { position: sticky; top: 0; z-index: 2; aspect-ratio: 16 / 9; touch-action: none; }
.sh-art::before { content: ""; position: absolute; inset: 0; background: var(--bg); pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.sh-art > img:first-child, .sh-art .ph, .sh-art iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.sh-art > img:first-child, .sh-art .ph { -webkit-mask-image: linear-gradient(to bottom, #000 42%, rgba(0, 0, 0, .55) 72%, transparent 100%); mask-image: linear-gradient(to bottom, #000 42%, rgba(0, 0, 0, .55) 72%, transparent 100%);
  transition: opacity .5s ease; }
.sh-art img.soft { filter: blur(30px) saturate(1.4); opacity: .85; }   /* only while the wide artwork is on its way */
.sh-art.playing { background: #000; }
.sh-art.playing .sh-poster { display: none; }
/* the trailer that starts by itself on computers: the artwork stays until the player is ready, then it fades in over it and
   the poster gives way; a glass sound button sits beside Close */
.sh-art:not(.playing) iframe { opacity: 0; pointer-events: none; transition: opacity .8s ease; }
.sh-art.auto iframe { opacity: 1; pointer-events: auto; }
.sh-art .sh-poster { transition: filter .6s ease; }
.sh-art.auto .sh-poster { filter: opacity(0); pointer-events: none; }
.sh-sound { right: 52px; opacity: 0; pointer-events: none; transition: opacity .4s ease, background-color .2s ease; }
.sh-art.auto .sh-sound { opacity: 1; pointer-events: auto; }
@media (hover: hover) { .sh-sound:hover { background: rgba(0, 0, 0, .55); } }
.sh-sound:active { filter: var(--press); }
.sh-sound svg { width: 18px; height: 18px; }
.sh-sound[aria-pressed="true"] .off, .sh-sound[aria-pressed="false"] .on { display: none; }
.sh-poster { position: absolute; z-index: 1; left: 24px; bottom: -1px; width: 92px; aspect-ratio: 2 / 3; height: auto; object-fit: cover; border-radius: var(--r);
  box-shadow: 0 0 0 .5px rgba(255, 255, 255, .25), 0 12px 30px rgba(0, 0, 0, .45); translate: 0 30%;
  transition: opacity .3s ease, transform .5s var(--ease-spring); }
/* the poster glides up and away as you scroll (tied to the scroll itself where Safari can, with Animations on) */
.sh-scrolled .sh-poster { opacity: 0; transform: translateY(-36px) scale(.88); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  :root:not(.still) .sh-scroll { scroll-timeline: --shs block; }
  :root:not(.still) .sh-poster { transition: none; animation: shAway linear both; animation-timeline: --shs; animation-range: 0 150px; }
}
@keyframes shAway { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-48px) scale(.86); } }
/* the title's logo over the artwork in place of its name (only light or colourful ones; sheet.js checks) */
.sh-logo { position: absolute; z-index: 1; left: 24px; bottom: 112px; max-width: min(58%, 340px); max-height: 92px; width: auto; height: auto;
  object-fit: contain; object-position: left bottom; pointer-events: none; opacity: 0; transition: opacity .5s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)) drop-shadow(0 4px 18px rgba(0, 0, 0, .35)); }
.sh-art:not(:has(.sh-poster)) .sh-logo { bottom: 22%; }
.sh-logo.on { opacity: 1; }
.sh-art.auto .sh-logo { opacity: 0; }
.sh-vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* the words */
.sh-body { padding: 18px 24px 22px; }
.sh-art:has(.sh-poster) + .sh-body { padding-top: 48px; }
.sh-art.playing + .sh-body { padding-top: 18px; }
.sh-eye { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; font: 600 14px/1.3 var(--font); letter-spacing: -.012em; color: var(--label2); }
.sh-mv { display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 8px 0 6px; border-radius: var(--r); font: 700 13px/1 var(--font); font-variant-numeric: tabular-nums; }
.sh-mv svg { width: 13px; height: 13px; }
.sh-mv.up { color: var(--green); background: color-mix(in srgb, var(--green) 16%, transparent); }
.sh-mv.down { color: #ff453a; background: color-mix(in srgb, #ff453a 16%, transparent); }
.sheet h2 { margin: 0; font: 700 28px/1.12 var(--font); letter-spacing: -.01em; text-wrap: balance; }
.sh-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; margin: 8px 0 0; color: var(--label2); font-size: 15px; font-variant-numeric: tabular-nums; }
.sh-meta > span[aria-hidden] { white-space: pre; }   /* keeps the spaces round each · (a flex line would trim them) */
.sh-cert { display: inline-grid; place-items: center; min-width: 22px; height: 18px; padding: 0 4px; border-radius: 4px; font: 700 11px/1 var(--font);
  color: var(--label2); box-shadow: inset 0 0 0 1px var(--label3); }
.sh-genres { margin: 2px 0 0; color: var(--label2); font-size: 15px; }
/* the actions: Watch the width of the sheet, then the rest side by side */
.sh-btns { display: grid; gap: 10px; margin: 18px 0 0; }
.sh-btns .btn svg { width: 14px; height: 14px; flex: none; }
.sh-main .btn { width: 100%; height: 50px; justify-content: center; gap: 9px; font-size: 17px; }
.sh-main .btn svg { width: 15px; height: 15px; }
.sh-more { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.sh-more .btn { width: 100%; min-width: 0; height: 44px; justify-content: center; border-radius: var(--r); padding: 0 10px; white-space: nowrap; overflow: hidden; }
/* the heart (phones only): a round button beside Watchlist, red once loved, and a quiet thanks below */
.sh-more:has(.sh-star) { display: flex; }
.sh-more:has(.sh-star) > .btn { flex: 1 1 0; width: auto; }
.sh-more > .btn.sh-star { flex: none; width: 44px; padding: 0; color: #fff; }
.sh-more > .btn.sh-star svg { width: 20px; height: 20px; }
.sh-more > .btn.sh-star[aria-pressed="true"] { background: #ff375f; color: #fff; }
@media (hover: hover) { .sh-more > .btn.sh-star:hover { background: var(--bt-round-hover); } .sh-more > .btn.sh-star[aria-pressed="true"]:hover { background: #ff4f73; } }
@media (min-width: 821px) { .sh-more > .btn.sh-star { display: none; } }
.sh-thanks { margin: 0; max-height: 0; opacity: 0; overflow: hidden; text-align: center; font-size: 13px; line-height: 1.35; color: var(--label2);
  transition: max-height .4s var(--ease-out), opacity .3s ease, margin .4s var(--ease-out); }
.sh-thanks.in { max-height: 60px; opacity: 1; margin-top: 2px; }
.sh-save.on { color: var(--accent); }
/* signed in: Watched and Not interested joined, your note, and Spoiler shield over the episodes after where you're up to */
.sh-mbtns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sh-mbtns.bgrp { display: grid; width: 100%; }
.sh-mbtns .btn { width: 100%; min-width: 0; height: 44px; justify-content: center; gap: 8px; border-radius: var(--r); padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-mbtns .btn svg { width: 17px; height: 17px; flex: none; }
.sh-seen .c { opacity: 0; transition: opacity .2s ease; }
.sh-seen.on .c { opacity: 1; }
.sh-note { display: block; margin-top: 10px; }
.sh-note textarea { display: block; width: 100%; min-height: 64px; padding: 11px 14px; border: 0; border-radius: var(--r); resize: vertical;
  font: 400 16px/1.4 var(--font); color: var(--label); background: var(--fr-in); box-shadow: inset 0 0 0 .5px var(--fr-rim); }
.sh-note textarea::placeholder { color: var(--label3); }
.sh-note textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.sh-msay { min-height: 18px; margin: 8px 2px 0; font-size: 13px; color: var(--label2); }
.sh-eps li.spoil .sh-still img { filter: blur(14px) saturate(1.2); transform: scale(1.15); }
.sh-eps li.spoil .sp { filter: blur(5px); user-select: none; }
.sh-unspoil { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; min-height: 32px; padding: 0 14px; border: 0; border-radius: var(--r);
  font: 500 14px/1 var(--font); -webkit-font-smoothing: antialiased; color: #fff; background: color-mix(in srgb, var(--bt-fill) 88%, transparent);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); cursor: pointer; }
.sh-unspoil::before { content: ""; position: absolute; inset: -6px; }
/* the description (four lines, then More, the text fading out beneath it) and who's starring beside it on computers */
.sh-about { display: grid; gap: 10px 28px; margin: 18px 0 0; }
.sh-about .sh-meta { margin-top: 8px; font-size: 14px; }
@media (min-width: 720px) { .sh-about:has(.sh-starring) { grid-template-columns: minmax(0, 1fr) minmax(0, 190px); } }
.sh-starring { margin: 0; font-size: 16px; line-height: 1.5; color: var(--label); }
.sh-starring:empty { display: none; }
.sh-starring span { color: var(--label2); }
.sh-starring a { color: inherit; text-decoration: none; }
@media (hover: hover) { .sh-starring a:hover { text-decoration: underline; } }
.sh-ov { position: relative; margin: 0; }
.sh-ov p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--label); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.sh-ov.open p { display: block; }
.sh-ov p.sh-in { animation: fadeOnly .35s ease-out; }
.sh-ovmore { position: absolute; right: 0; bottom: 0; min-height: 24px; padding: 0 0 0 44px; border: 0; font: 500 16px/1.5 var(--font); color: var(--accent); background: none; cursor: pointer; -webkit-font-smoothing: antialiased; }
.sh-ovmore::before { content: ''; position: absolute; inset: -10px -8px; }
.sh-ov.clip:not(.open) p { --m: linear-gradient(#000 0 0) top / 100% calc(100% - 1.5em) no-repeat, linear-gradient(to left, transparent 52px, #000 104px) bottom / 100% 1.5em no-repeat;
  -webkit-mask: var(--m); mask: var(--m); }
.sh-ov p.sh-sk { display: grid; gap: 9px; padding: 5px 0; }
.sh-ov .sh-sk span { height: 14px; border-radius: var(--r); background: var(--fill); }
.sh-ov .sh-sk span:last-child { width: 62%; }
/* each section below: a hairline above, a title-style heading */
.sh-where, .sh-prog, .sh-mine, .sh-track, .sh-cast, .sh-sec { margin-top: 22px; padding-top: 18px; border-top: .5px solid var(--sep); }
:is(.sh-prog, .sh-mine, .sh-track, .sh-cast, .sh-sec) h3 { margin: 0 0 10px; font: 700 20px/1.2 var(--font); letter-spacing: .004em; }
.sh-where h3 { margin: 0 0 12px; font: 700 20px/1.2 var(--font); letter-spacing: -.008em; }
.sh-sec.sh-in, .sh-eps.sh-in { animation: fadeOnly .35s ease-out; }
/* Where to Watch: Included with, Free, Rent and Buy */
.sh-grp + .sh-grp, .sh-none + .sh-grp { margin-top: 14px; }
.sh-grp h4 { margin: 0 0 8px; font: 600 12px/1.3 var(--font); letter-spacing: .05em; text-transform: uppercase; color: var(--label2); }
.sh-provs { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-prov { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 14px 0 6px; border-radius: var(--r);
  color: var(--label); font: 600 14px/1 var(--font); letter-spacing: -.016em; background: var(--fr-bg); box-shadow: var(--frost-line); transition: filter .1s ease; }
@media (hover: hover) { a.sh-prov:hover { text-decoration: none; } }
@media (hover: hover) and (pointer: fine) { a.sh-prov:active { filter: var(--press); } }
.sh-prov img, .sh-prov i { width: 32px; height: 32px; flex: none; border-radius: var(--r-app); box-shadow: 0 0 0 .5px var(--sep); }
.sh-prov i { display: grid; place-items: center; font: 700 14px/1 var(--font); font-style: normal; color: #fff; background: linear-gradient(135deg, #ff375f, #bf5af2 55%, #0a84ff); }
.sh-none { margin: 0; color: var(--label2); font-size: 15px; }
.sh-foot { margin: 20px 0 0; font-size: 12px; color: var(--label2); }
.sh-foot a { color: var(--label2); }
.sh-foot a + a::before { content: "·"; display: inline-block; margin-right: 4px; color: var(--label3); }
/* the cheapest way to rent and to buy */
.sh-prices { display: grid; gap: 6px; }
.sh-pr { display: block; font-size: 15px; color: var(--label); }
.sh-pr b { font-weight: 700; font-variant-numeric: tabular-nums; }
.sh-pr small { margin-left: 4px; padding: 1px 5px; border-radius: 4px; font-size: 10.5px; font-weight: 600; color: var(--label2); box-shadow: inset 0 0 0 1px var(--sep); }
@media (hover: hover) { a.sh-pr:hover { text-decoration: none; color: var(--accent); } }
/* trackers: the next episode, your progress, and the title's line on the chart */
.sh-next { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 12px 0 0; padding: 10px 14px; border-radius: var(--r); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.sh-next b { font-weight: 600; color: var(--accent); }
.sh-next span { color: var(--label2); font-size: 14px; }
.sh-next.done { background: var(--fill); } .sh-next.done b { color: var(--label2); }
.sh-next .fin { align-self: center; margin-right: 0; }
.sh-prow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.sh-prow label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; color: var(--label2); }
.sh-prow select, .sh-seas select { height: 36px; border-radius: var(--r); border: 0; font: 500 15px/1 var(--font); color: var(--label); appearance: none; cursor: pointer;
  background: var(--fr-bg) var(--pop-chev) no-repeat right 11px center / 8px 13px; box-shadow: var(--frost-line); }
.sh-prow select { padding: 0 28px 0 10px; }
.sh-prow select:disabled { opacity: .45; }
.sh-prow .btn { height: 34px; padding: 0 14px; font-size: 14px; }
.sh-pstat { margin: 10px 0 0; font-size: 14px; color: var(--label2); }
.sh-tsum { margin: 0 0 8px; font-size: 14px; color: var(--label2); }
/* its life on the charts: three figures in a row, the Apple Fitness way, and when it first charted */
.sh-life { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; margin: 14px 0 0; }
.sh-life div { padding: 10px 12px; border-radius: var(--r); background: var(--fill); }
.sh-life dt { font: 700 22px/1.1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sh-life dd { margin: 3px 0 0; font-size: 12.5px; line-height: 1.3; color: var(--label2); }
.sh-first { margin: 10px 0 0; font-size: 13px; color: var(--label2); }
/* where it's been No. 1: a small card per chart, the ones it tops now first */
.sh-ones { margin: 14px 0 0; }
.sh-ones h4 { margin: 0 0 8px; font: 600 15px/1.3 var(--font); }
.sh-ones ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.sh-ones li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 12px 8px 8px; border-radius: var(--r); background: var(--fill); }
.sh-ones li > span:last-child { display: grid; min-width: 0; }
.sh-ones b { font: 600 14px/1.25 var(--font); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sh-ones small { font-size: 12.5px; line-height: 1.3; color: var(--label2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sh-ones li.now small { color: var(--accent); font-weight: 500; }
.sh-one-ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-app); overflow: hidden; background: var(--bt-fill); color: #fff; font: 600 12px/1 var(--font); letter-spacing: .02em; }
.sh-one-ic img { width: 100%; height: 100%; object-fit: cover; }
.sh-spark { display: block; width: 100%; height: auto; overflow: visible; }
.sh-spark .ln { fill: none; stroke: url(#shG); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sh-spark circle { fill: var(--label2); } .sh-spark circle.now { fill: var(--label); stroke: var(--bg); stroke-width: 2; }
.sh-spark .g { stroke: var(--sep); stroke-dasharray: 2 4; }
.sh-spark text { font: 500 10px var(--font); fill: var(--label3); } .sh-spark .y { text-anchor: end; }
/* Cast & Crew: a row of round faces, Apple TV style, with where you've seen them */
.sh-faces { display: grid; grid-auto-flow: column; grid-auto-columns: 88px; gap: 14px; margin: 0 -24px; padding: 4px 24px 6px; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: 24px; scrollbar-width: none; }
.sh-faces::-webkit-scrollbar { display: none; }
.sh-faces li { scroll-snap-align: start; min-width: 0; }
.sh-faces a { display: grid; justify-items: center; gap: 1px; text-align: center; color: inherit; text-decoration: none; }
.sh-face { display: grid; place-items: center; width: 76px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; color: #fff; font: 600 22px/1 var(--font);
  background: linear-gradient(160deg, hsl(var(--h) 30% 60%), hsl(var(--h) 34% 36%)); box-shadow: 0 4px 12px rgba(0, 0, 0, .18); transition: transform .3s var(--ease-out); }
.sh-face img { width: 100%; height: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: center 22%; }
.sh-faces b { margin-top: 7px; width: 100%; font: 600 13px/1.2 var(--font); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sh-faces small { width: 100%; color: var(--label2); font-size: 12px; line-height: 1.25; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sh-faces small.sh-was { margin-top: 3px; color: var(--accent); font-size: 11.5px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
:root:not(.still) .sh-faces small.sh-was { animation: fadeOnly .4s ease both; }
@media (hover: hover) { .sh-faces a:hover .sh-face { transform: scale(1.06); } }
.sh-faces a:focus-visible { outline: none; }
.sh-faces a:focus-visible .sh-face { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
/* rows that scroll sideways: episodes, extras, the film series, More Like This, reviews */
.sh-eps, .sh-vids, .sh-revs, .sheet .nr { list-style: none; display: grid; grid-auto-flow: column; gap: 14px; margin: 0 -24px; padding: 2px 24px 6px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: 24px; scrollbar-width: none; }
.sh-eps::-webkit-scrollbar, .sh-vids::-webkit-scrollbar, .sh-revs::-webkit-scrollbar { display: none; }
.sh-eps li, .sh-vids li, .sh-revs li { scroll-snap-align: start; min-width: 0; }
.sheet .nr { grid-auto-columns: 112px; gap: 12px; }
.sheet .nr .ph { display: grid; place-items: end start; color: #fff; font: 600 13px/1.2 var(--font); }
.sheet .nr li > span[aria-current] .nr-art { box-shadow: 0 0 0 2px var(--accent); }
.sheet .nr li > span[aria-current] small { color: var(--accent); }
/* Episodes: the season menu beside the heading, then each episode's picture, number, name and description */
.sh-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.sheet .sh-h h3 { margin: 0; }
.sh-seas select { max-width: 200px; padding: 0 28px 0 12px; text-overflow: ellipsis; -webkit-font-smoothing: antialiased; }
.sh-seas select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sh-seas1 { font-size: 15px; color: var(--label2); }
.sh-eps { grid-auto-columns: 232px; }
.sh-eps li { display: grid; align-content: start; gap: 3px; }
.sh-still { position: relative; display: block; aspect-ratio: 16 / 9; margin-bottom: 6px; border-radius: var(--r); overflow: hidden; background: var(--fill); box-shadow: 0 0 0 .5px var(--sep); }
.sh-still img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sh-tick { position: absolute; right: 7px; bottom: 7px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff;
  background: rgba(20, 20, 24, .55); -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .25); }
.sh-tick svg { width: 14px; height: 14px; }
.sh-epn { font: 600 12px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--label2); }
.sh-eps [data-up] .sh-epn { color: var(--accent); }
.sh-eps b { font: 600 15px/1.25 var(--font); letter-spacing: -.012em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.sh-eps p { margin: 2px 0 0; font-size: 13px; line-height: 1.4; color: var(--label2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.sh-eps small:last-child { margin-top: 2px; font-size: 12px; color: var(--label3); font-variant-numeric: tabular-nums; }
.sh-eps .soon .sh-still { opacity: .55; }
.sh-eps .sk b, .sh-eps .sk small { height: 12px; border-radius: var(--r); background: var(--fill); }
.sh-eps .sk b { width: 80%; margin-top: 4px; } .sh-eps .sk small { width: 50%; }
/* Trailers & Extras: YouTube's picture for each, a glass play button on it */
.sh-vids { grid-auto-columns: 208px; }
.sh-vids button { display: grid; gap: 2px; width: 100%; padding: 0; border: 0; border-radius: var(--r); color: inherit; background: none; font: inherit; text-align: left; cursor: pointer; }
.sh-vimg { position: relative; display: block; aspect-ratio: 16 / 9; margin-bottom: 6px; border-radius: var(--r); overflow: hidden; background: var(--fill);
  box-shadow: 0 0 0 .5px var(--sep), 0 6px 16px -8px rgba(0, 0, 0, .5); transition: translate .35s var(--ease-out); }
.sh-vimg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sh-vimg i { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; color: #fff;
  background: rgba(20, 20, 24, .45); -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .3); }
.sh-vimg i svg { width: 16px; height: 16px; margin-left: 2px; }
.sh-vids b { font: 500 14px/1.25 var(--font); letter-spacing: -.012em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.sh-vids small { font-size: 12px; color: var(--label2); }
.sh-vids button:focus-visible { outline: none; } .sh-vids button:focus-visible .sh-vimg { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
@media (hover: hover) { .sh-vids button:hover .sh-vimg { translate: 0 -3px; } }
/* Reviews: soft cards, the start of each review */
.sh-revs { grid-auto-columns: min(300px, 78vw); }
.sh-revs li > * { display: grid; align-content: start; gap: 6px; height: 100%; box-sizing: border-box; padding: 14px 16px; border-radius: var(--r); color: inherit; background: var(--fill); text-decoration: none; transition: background-color .2s ease; }
@media (hover: hover) { .sh-revs a:hover { text-decoration: none; background: var(--gl-hover); } }
.sh-revs a:active { filter: var(--press); }
.sh-revs a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sh-rby { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sh-rby b { font: 600 15px/1.25 var(--font); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sh-rst { flex: none; font-size: 13px; font-weight: 600; color: var(--label2); font-variant-numeric: tabular-nums; }
.sh-revs p { margin: 0; font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
.sh-revs small { font-size: 12px; color: var(--label2); }
/* Information: label above value, two columns */
.sh-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin: 0; }
.sh-info dt { font-size: 13px; color: var(--label2); }
.sh-info dd { margin: 2px 0 0; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
@media (max-width: 340px) { .sh-info { grid-template-columns: minmax(0, 1fr); } }
/* phones: a bottom sheet that slides up, with a handle; swipe it down to close */
@media (max-width: 719px) {
  .sheet { left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 92dvh; border-radius: var(--r) var(--r) 0 0;
    transform: translateY(100%); opacity: 1; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .sheet.in { transform: none; }
  .sh-grab { display: block; position: absolute; z-index: 3; top: 6px; left: 50%; width: 38px; height: 5px; margin-left: -19px; border-radius: 3px;
    background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .15); touch-action: none; }
  .sh-body { padding: 16px 18px 24px; }
  .sh-faces, .sh-eps, .sh-vids, .sh-revs, .sheet .nr { margin: 0 -18px; padding-inline: 18px; scroll-padding-left: 18px; }
  .sh-logo { left: 18px; bottom: 92px; max-height: 64px; }
  .sh-eps { grid-auto-columns: 216px; } .sh-vids { grid-auto-columns: 184px; } .sheet .nr { grid-auto-columns: 104px; }
  .sh-art:has(.sh-poster) + .sh-body { padding-top: 40px; }
  .sh-poster { left: 18px; width: 76px; }
  .sheet h2 { font-size: 24px; }
}
/* a phone on its side: the artwork takes no more than half the screen, so the details stay in reach */
@media (max-height: 500px) { .sh-art { aspect-ratio: auto; height: 48dvh; } }

/* ---------- a person's sheet (person.js): the title sheet's layout, their portrait round where the poster hangs ---------- */
.ps-face { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; overflow: hidden; color: #fff; font: 600 30px/1 var(--font);
  background: linear-gradient(160deg, hsl(var(--h, 220) 45% 46%), hsl(calc(var(--h, 220) + 40) 55% 22%)); }
.ps-face:has(img), .sh-face:has(img), .hc-faces > span:has(img) { background: none; }
.ps-face img { width: 100%; height: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: center 20%; }
button.ps-face { padding: 0; border: 0; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
button.ps-face:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
@media (hover: hover) { :root:not(.still) button.ps-face:hover { scale: 1.04; } }
:root:not(.still) button.ps-face { transition: opacity .3s ease, transform .5s var(--ease-spring), scale .4s var(--ease-spring); }
button.ps-face:active { scale: .96; }
/* the photo, larger: the photo and the name on a frosted card */
.ps-zoom { max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; padding: 16px; border: 0; background: none; cursor: zoom-out; }
.ps-zoom[open] { display: grid; place-items: center; }
.ps-zoom figure { position: relative; display: grid; justify-items: center; gap: 18px; margin: 0; padding: 28px 28px 22px; border-radius: var(--r); }
.ps-zf { display: block; width: min(78vw, 62vh, 420px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 .5px var(--fr-rim), 0 24px 60px -20px rgba(0, 0, 0, .5); }
.ps-zf img { display: block; width: 100%; height: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.ps-zoom figcaption { color: var(--label); font: 600 22px/1.2 var(--font); text-align: center; }
.sh-art .ps-sk { background: var(--fill); }
.sh-art > .ph.ps-sk { -webkit-mask-image: none; mask-image: none; background: linear-gradient(var(--fill), transparent); }
.ps-on { position: absolute; left: 6px; bottom: 6px; display: flex; gap: 3px; }
.ps-on img { width: 20px !important; height: 20px !important; aspect-ratio: 1 !important; border-radius: var(--r-app); box-shadow: 0 0 0 .5px rgba(255, 255, 255, .3), 0 2px 6px rgba(0, 0, 0, .4); }
.ps-career .sh-h { flex-wrap: wrap; gap: 10px; }
.ps-cl { grid-template-columns: minmax(0, 1fr); margin: 6px -10px 0; }
.ps-cl li:nth-child(2) { border-top: .5px solid var(--sep) !important; }
.ps-none { padding-top: 56px; }
.ps-body .sh-more { grid-auto-columns: auto; justify-content: start; }
.ps-body .sh-more .btn { padding: 0 18px; }

/* ---------- hover cards (computers only): rest the pointer on a poster and it opens into a card above the page: wide
   artwork melting into the card, the title, its details, Watch with Watchlist and Trailer, a few lines and who's in it ---------- */
.hc { position: fixed; z-index: 70; left: 0; top: 0; width: 340px; max-width: calc(100vw - 24px); border-radius: var(--r); overflow: hidden; cursor: pointer; color: var(--label);
  background: var(--fr-bg); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur);
  box-shadow: inset 0 0 0 .5px var(--fr-rim), 0 24px 60px rgba(0, 0, 0, .34), 0 2px 8px rgba(0, 0, 0, .12); transform-origin: center; }
.hc[hidden] { display: none; }
@media (hover: none), (pointer: coarse) { .hc { display: none; } }
.hc-art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.hc-art img, .hc-art .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, rgba(0, 0, 0, .5) 75%, transparent); mask-image: linear-gradient(to bottom, #000 45%, rgba(0, 0, 0, .5) 75%, transparent); }
.hc-art img.soft { filter: blur(24px) saturate(1.4); scale: 1.2; opacity: .85; }   /* no wide artwork (yet): the poster, softened */
:root:not(.still) .hc-art img:not(.soft) { animation: fadeOnly .3s ease-out; }
.hc-body { position: relative; margin-top: -42px; padding: 0 16px 16px; }
.hc h3 { margin: 0; font: 700 21px/1.18 var(--font); letter-spacing: -.012em; text-wrap: balance; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.hc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; min-height: 18px; margin: 5px 0 0; font-size: 13px; color: var(--label2); font-variant-numeric: tabular-nums; }
.hc-meta .sh-cert { min-width: 20px; height: 16px; font-size: 10px; }
.hc-acts { display: flex; gap: 8px; margin-top: 14px; }
.hc-acts .btn { height: 44px; }
.hc-go { flex: 1; min-width: 0; padding: 0 14px; font-size: 15px; }
.hc-go span { overflow: hidden; text-overflow: ellipsis; }
.hc-go svg { width: 13px; height: 13px; flex: none; }
.hc-r { flex: none; width: 44px; padding: 0; }
.hc-r svg { width: 20px; height: 20px; }
.hc-r[aria-pressed="true"] .p, .hc-r[aria-pressed="false"] .c { display: none; }
.hc-ov { margin: 12px 0 0; font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.hc-ov.sh-sk { display: grid; gap: 8px; padding: 4px 0; }
.hc-ov.sh-sk span { height: 12px; border-radius: var(--r); background: var(--fill); }
.hc-ov.sh-sk span:last-child { width: 62%; }
.hc-cast { display: flex; align-items: center; gap: 10px; min-height: 30px; margin: 14px 0 0; padding-top: 12px; border-top: .5px solid var(--sep); font-size: 13px; color: var(--label2); }
.hc-faces { display: flex; flex: none; }
.hc-faces > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; color: #fff; font: 600 11px/1 var(--font);
  background: linear-gradient(160deg, hsl(var(--h, 220) 30% 60%), hsl(var(--h, 220) 34% 36%)); box-shadow: 0 0 0 2px var(--card); }
.hc-faces > span + span { margin-left: -8px; }
.hc-faces img { width: 100%; height: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: center 22%; }
.hc-wait .hc-faces > span { background: var(--fill); }
.hc-who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Share (computers, and phones without a share sheet): a card with a button for each place to share, a note,
   and a little drive-in scene melting in at the foot (phones use the system's own share sheet) ---------- */
.share-card { position: fixed; inset: 0; margin: auto; padding: 0; width: min(360px, calc(100vw - 32px)); height: fit-content; max-height: calc(100dvh - 48px);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }
.share-card:not([open]) { display: none; }
.share-card h2 { margin: 0; padding: 34px 22px 22px; text-align: center; }
.sc-btns { display: flex; flex-direction: column; gap: 10px; padding: 0 16px; }
.sc-b { position: relative; display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 44px; border: 0; border-radius: var(--r);
  background: var(--bt-fill); color: #fff; font: 500 15px/1 var(--font); letter-spacing: -.01em; text-decoration: none; cursor: pointer; -webkit-font-smoothing: antialiased;
  transition: transform .15s, background-color .2s; }
@media (hover: hover) { .sc-b:hover { text-decoration: none; background: color-mix(in srgb, var(--bt-fill) 85%, #fff); } }
.sc-b svg { position: absolute; left: 18px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); }
.sc-b span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-b:active { transform: scale(.98); }
.sc-b:disabled { opacity: .7; cursor: progress; }
.sc-b:focus-visible { outline: 2px solid #0a84ff; outline-offset: 3px; }
.share-card p { margin: 16px 22px 0; color: var(--label2); font-size: 12.5px; line-height: 1.45; text-align: center; }
.sc-art { position: relative; flex: none; height: clamp(72px, calc(100dvh - 560px), 200px); margin-top: 6px; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 46%); mask-image: linear-gradient(transparent, #000 46%); }
.sc-art svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sc-x { position: absolute; z-index: 2; top: 14px; left: 14px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .8); cursor: pointer; }
.sc-x svg { width: 11px; height: 11px; }
.sc-x::after { content: ""; position: absolute; inset: -6px; }
.sc-x:focus-visible { outline: 2px solid #0a84ff; outline-offset: 2px; }
/* the scene moves gently: stars twinkle, the screen glows, the projector's beam sways */
:root:not(.still) .sc-star { animation: scTw 3.2s ease-in-out infinite alternate; }
:root:not(.still) .sc-star:nth-child(2n) { animation-delay: -1.4s; }
:root:not(.still) .sc-star:nth-child(3n) { animation-delay: -2.3s; }
:root:not(.still) .sc-glow { animation: scGlow 4s ease-in-out infinite alternate; }
:root:not(.still) .sc-beam { transform-origin: 232px 150px; animation: scBeam 6s ease-in-out infinite alternate; }
@keyframes scTw { to { opacity: .25; } }
@keyframes scGlow { to { opacity: .55; } }
@keyframes scBeam { from { transform: rotate(-1.5deg); opacity: .8; } to { transform: rotate(1.5deg); opacity: 1; } }
@media (max-width: 719px) { .share-card { width: min(400px, calc(100vw - 32px)); } .sc-art { height: 150px; } }

/* ---------- My services: the iOS Subscriptions card. A round back button beside the centred title, one grey line on what
   it's for, Watch before it goes in a faint inner box, Active and Inactive headings, a rounded card per service (logo
   tile, name, grey line, note, chevron) and the all-services switch in its own card. ---------- */
.mine-subs { width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.mine-subs::-webkit-scrollbar { display: none; }
.mine-subs form { position: relative; z-index: 1; padding: 20px 20px 22px; }
.mine-top { position: relative; display: grid; place-items: center; min-height: 44px; margin: 6px 0 0; }
.mine-subs h2 { margin: 0; padding: 0 52px; text-align: center; text-wrap: balance; }
.mine-back { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  color: #fff; background: var(--bt-round); -webkit-tap-highlight-color: transparent; box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .14);
  transition: background-color .2s ease, transform .35s var(--ease-spring); }
.mine-back svg { width: 22px; height: 22px; }
.mine-back:active { transform: scale(.92); }
@media (hover: hover) { .mine-back:hover { background: var(--bt-round-hover); } }
.mine-back:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mine-subs p.mine-sum { max-width: 34ch; margin: 6px auto 20px; color: var(--label2); font: 400 15px/1.4 var(--font); text-align: center; text-wrap: balance; }
.mine-subs p.mine-sum:empty { visibility: hidden; }
/* Watch before it goes: your Watchlist titles leaving your services soon */
.mine-go { margin: 0 0 6px; padding: 4px 16px 6px; border-radius: var(--r); background: var(--fr-in); box-shadow: inset 0 0 0 1px var(--fr-rim); }
.mine-go[hidden] { display: none; }
.mine-go .mine-sec { margin: 12px 0 2px; }
.mine-subs p.mine-go-p { margin: 0 0 6px; color: var(--label2); font: 400 14px/1.4 var(--font); }
.mine-go-l { display: grid; margin: 0; padding: 0; list-style: none; }
.mine-go-l li { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 0; }
.mine-go-l li + li { border-top: .5px solid var(--sep); }
.mine-go-art { flex: none; width: 36px; height: 54px; border-radius: 6px; overflow: hidden; background: var(--fill); box-shadow: 0 0 0 .5px var(--sep); }
.mine-go-art img { width: 100%; height: 100%; object-fit: cover; }
.mine-go-t { display: grid; gap: 2px; flex: 1; min-width: 0; }
.mine-go-t b { font: 500 15px/1.25 var(--font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mine-go-t small { color: var(--label2); font: 400 13px/1.3 var(--font); }
.mine-cal { position: relative; display: inline-flex; align-items: center; gap: 6px; flex: none; height: 36px; padding: 0 12px; border: 0; border-radius: var(--r); cursor: pointer;
  color: #fff; background: var(--bt-fill); font: 500 14px/1 var(--font); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  transition: transform .35s var(--ease-spring), background-color .2s ease; }
.mine-cal::before { content: ""; position: absolute; inset: -4px; }
.mine-cal svg { width: 16px; height: 16px; }
.mine-cal:active { transform: scale(.95); }
.mine-cal.done { background: color-mix(in srgb, #30d158 80%, #000); }
.mine-cal:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* the services */
.mine-sec { margin: 22px 2px 10px; font: 600 18px/1.2 var(--font); letter-spacing: -.016em; }
.mine-subs .mine-list { display: grid; gap: 10px; border-radius: 0; background: none; overflow: visible; }
.mine-subs .mine-row { gap: 14px; min-height: 76px; padding: 12px 14px 12px 12px; border-radius: var(--r); border: 0;
  background: var(--fr-in); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--label) 6%, transparent), 0 8px 22px -14px rgba(0, 0, 0, .45);
  transition: background-color .2s ease, transform .35s var(--ease-spring); }
.mine-subs .mine-row:active { transform: scale(.985); }
.mine-subs .mine-row + .mine-row { border-top: 0; }
@media (hover: hover) { .mine-subs .mine-row:hover { background: color-mix(in srgb, var(--label) 11%, transparent); } }
.mine-subs .mine-row:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.mine-dlg.mine-subs .mine-row input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.mine-subs .mine-ic { width: 52px; height: 52px; border-radius: var(--r-app); font-size: 22px; box-shadow: 0 0 0 .5px var(--sep), 0 6px 14px -8px rgba(0, 0, 0, .5); transition: opacity .3s ease, filter .3s ease; }
.mine-subs .mine-l { min-width: 0; padding: 0; font: 500 17px/1.25 var(--font); letter-spacing: -.016em; }
.mine-subs .mine-n { margin-top: 3px; font: 400 14px/1.3 var(--font); text-wrap: pretty; }
.mine-d { flex: none; max-width: 40%; color: var(--label2); font: 500 14px/1.25 var(--font); text-align: right; }
.mine-row:has(input:checked) .mine-d { color: var(--label); }
.mine-chev { flex: none; width: 18px; height: 18px; margin-left: -4px; color: var(--label2); }
.mine-row:not(:has(input:checked)) .mine-ic { opacity: .55; filter: saturate(.4); }
.mine-all { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 16px 16px 16px 18px; border-radius: var(--r); cursor: pointer;
  background: var(--fr-in); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--label) 6%, transparent); }
.mine-all .mine-l { flex: 1; font: 500 17px/1.25 var(--font); }
.mine-all small { display: block; margin-top: 4px; color: var(--label2); font: 400 14px/1.4 var(--font); }
@media (max-width: 380px) { .mine-d { display: none; } .mine-subs .mine-row { gap: 12px; } .mine-subs .mine-ic { width: 44px; height: 44px; } }
@media (max-width: 600px) {   /* phones: a sheet from the bottom */
  .mine-subs { width: 100%; max-width: 100%; margin: auto 0 0; max-height: calc(100dvh - 20px); border-radius: var(--r) var(--r) 0 0; }
  .mine-subs form { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
}

/* ---------- the Top 10s: every service's chart side by side in one wide frosted card. The logos (each jumps to its column),
   the title and Shows / Films with a round close button along the top; a column per service with its No. 1 large over its
   own scene, a button into Browse, then Nos. 2 to 10 in the house list. On phones a sheet from the bottom, one service at
   a time with the next peeking in. ---------- */
.t10 { container: t10 / inline-size; display: none; width: min(1320px, calc(100vw - 48px)); height: min(900px, calc(100dvh - 48px)); max-width: none; max-height: none;
  padding: 0; border: 0; border-radius: var(--r); color: var(--label); overflow: hidden; overscroll-behavior: contain;
  background: var(--fr-bg); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); }   /* no border: the frost and the shadow set it off the page */
.t10:focus { outline: none; }   /* it takes focus itself on opening, so the close button isn't ringed until Tab reaches it */
.t10[open] { display: flex; flex-direction: column; }
.t10::backdrop { background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.t10-hd { flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 22px 22px 18px; }
.t10-hd h2 { margin: 0; font: 700 32px/1.1 var(--font-display); letter-spacing: -.01em; text-align: center; white-space: nowrap; }
.t10-logos { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 4px 0 8px; margin: -4px 0 -8px; }
.t10-logos::-webkit-scrollbar { display: none; }
.t10-logos button { position: relative; flex: none; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: var(--r-app); cursor: pointer;
  background: var(--fr-in); color: var(--label); font: 600 15px/1 var(--font); -webkit-tap-highlight-color: transparent; transition: transform .35s var(--ease-spring), opacity .2s ease; }
.t10-logos img { width: 100%; height: 100%; border-radius: var(--r-app); object-fit: cover; box-shadow: 0 0 0 .5px var(--sep); }
.t10-logos button:active { transform: scale(.9); }
.t10-logos button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.t10-acts { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
:is(.t10, .tf, .ht10) .segmented { background: var(--fr-in); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
:is(.t10, .tf, .ht10) .seg-thumb { background: var(--bt-round); box-shadow: none; }
:is(.t10, .tf, .ht10) .segmented button[aria-checked="true"] { color: #fff; }
:is(.t10, .tf, .ht10) .segmented button { min-width: 78px; }
.t10-x, .t10-ar { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: #fff;
  background: var(--bt-round); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .14); -webkit-tap-highlight-color: transparent;
  transition: background-color .2s ease, transform .35s var(--ease-spring), opacity .2s ease; }
.t10-x svg, .t10-ar svg { width: 22px; height: 22px; }
.t10-x:active, .t10-ar:active { transform: scale(.92); }
.t10-ar:disabled { opacity: .35; cursor: default; transform: none; }
.t10-ar[hidden] { display: none; }
@media (hover: hover) { .t10-x:hover, .t10-ar:not(:disabled):hover { background: var(--bt-round-hover); } }
.t10-x:focus-visible, .t10-ar:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* the services: a row of columns, four across on a big screen, fading at whichever edge has more */
.t10-row { --gap: 14px; flex: 1; min-height: 0; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--gap)) / 4); column-gap: var(--gap);
  padding: 0 22px; scroll-padding-inline: 22px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  --fl: 28px; --fr: 28px; -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent); mask-image: linear-gradient(to right, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent); }
.t10-row::-webkit-scrollbar { display: none; }
.t10-row.at-start { --fl: 0px; }
.t10-row.at-end { --fr: 0px; }
@container t10 (max-width: 1080px) { .t10-row { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); } }
@container t10 (max-width: 820px) { .t10-row { grid-auto-columns: calc((100% - var(--gap)) / 2); } }
.t10-col { position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 16px 14px 18px; scroll-snap-align: start;
  border-radius: var(--r); background: var(--fr-in); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--label) 6%, transparent);
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 36px), transparent); mask-image: linear-gradient(#000 calc(100% - 36px), transparent); }
.t10-col::-webkit-scrollbar { display: none; }
.t10-ch { display: flex; align-items: center; gap: 10px; min-height: 30px; margin: 0 2px 12px; }
.t10-logo { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: var(--r-app); overflow: hidden; background: var(--fill); font: 600 14px/1 var(--font); box-shadow: 0 0 0 .5px var(--sep); }
.t10-logo img { width: 100%; height: 100%; object-fit: cover; }
.t10-ch h3 { flex: 1; min-width: 0; margin: 0; font: 600 17px/1.2 var(--font); letter-spacing: -.016em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t10-pill { flex: none; padding: 5px 9px; border-radius: var(--r); font: 500 12.5px/1 var(--font); color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
/* the No. 1: its scene with a big still neon 1 (drawn once, never moving) and the title */
.t10-one { position: relative; isolation: isolate; display: flex; align-items: flex-end; gap: 12px; min-height: 168px; margin: 0 0 12px; padding: 14px; border-radius: var(--r);
  overflow: hidden; color: #fff; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: transform .45s var(--ease-spring); }
@media (hover: hover) { .t10-one:hover { text-decoration: none; } }
.t10-one:active { transform: scale(.98); }
.t10-one:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.t10-one-bg { position: absolute; inset: 0; z-index: -1; background: #111; }
.t10-ph { display: block; }
.t10-one-bg img, .t10-one-bg .t10-ph { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .6s var(--ease-out); }
.t10-one-bg img.blur { filter: blur(18px) saturate(1.3); transform: scale(1.3); }
.t10-one-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, .25) 55%, rgba(0, 0, 0, .05)); }
@media (hover: hover) { .t10-one:hover .t10-one-bg img:not(.blur) { transform: scale(1.04); } }
.t10-one-n { flex: none; font: 800 72px/.8 var(--font-display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px #fff;
  filter: drop-shadow(0 0 6px rgba(255, 55, 95, .8)) drop-shadow(0 0 14px rgba(191, 90, 242, .55)); }
.t10-one-t { display: grid; gap: 3px; min-width: 0; padding-bottom: 2px; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.t10-one-t small { font: 500 12px/1.2 var(--font); text-transform: uppercase; letter-spacing: .04em; color: rgba(255, 255, 255, .75); }
.t10-one-t b { font: 700 20px/1.15 var(--font); letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-wrap: balance; }
.t10-one-t span { font: 400 13px/1.3 var(--font); color: rgba(255, 255, 255, .8); }
.t10-go.btn { flex: none; width: 100%; height: 44px; margin: 0 0 16px; color: #fff; overflow: hidden; text-overflow: ellipsis; }
.t10-go svg { width: 17px; height: 17px; flex: none; }
.t10-also { margin: 0 2px 6px; color: var(--label2); font: 400 13px/1.3 var(--font); }
/* Nos. 2 to 10: the house list, one column */
:is(.t10, .tf, .ht10) .t10-l { display: block; margin: 0 -6px; }
:is(.t10, .tf, .ht10) .t10-l li { border-top: .5px solid var(--sep); border-radius: var(--r); }
:is(.t10, .tf, .ht10) .t10-l li:first-child { border-top: 0; }
@media (hover: hover) { :is(.t10, .tf, .ht10) .t10-l li:has(a:hover) + li { border-top-color: transparent; } :is(.t10, .tf, .ht10) .t10-l li:hover { background: var(--fr-in); -webkit-backdrop-filter: none; backdrop-filter: none; } }
:is(.t10, .tf, .ht10) .t10-l a { gap: 10px; padding: 7px 6px; border-radius: var(--r); -webkit-tap-highlight-color: transparent; }
:is(.t10, .tf, .ht10) .t10-l a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
:is(.t10, .tf, .ht10) .t10-l img, :is(.t10, .tf, .ht10) .t10-l .t10-ph { width: 32px; height: 48px; flex: none; display: block; object-fit: cover; border-radius: var(--r); box-shadow: 0 0 0 .5px var(--sep); }
.t10-n { flex: none; width: 18px; text-align: center; font: 600 15px/1 var(--font); font-variant-numeric: tabular-nums; color: var(--label2); }
:is(.t10, .tf, .ht10) .cl-t b { font-size: 14.5px; }
:is(.t10, .tf, .ht10) .cl-t small { font-size: 12.5px; }
.t10-mv { flex: none; display: inline-flex; align-items: center; gap: 1px; font: 600 12px/1 var(--font); font-variant-numeric: tabular-nums; color: var(--label2); }
.t10-mv svg { width: 13px; height: 13px; }
.t10-mv.up { color: #30d158; }
.t10-mv.new { padding: 4px 6px; border-radius: 6px; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
:root.no-moves .t10-mv { display: none; }
/* loading: grey shapes where the columns will be */
.t10-sk { gap: 12px; }
.t10-sk i { display: block; height: 52px; border-radius: var(--r); background: var(--fr-in); }
.t10-sk i:first-child { height: 26px; width: 55%; }
.t10-sk i:nth-child(2) { height: 168px; }
.t10-sk i:nth-child(3) { height: 44px; }
:root:not(.still) .t10-sk i { animation: t10Sk 1.4s ease-in-out infinite alternate; }
@keyframes t10Sk { to { opacity: .45; } }
.t10-none { grid-column: 1 / -1; align-self: center; margin: 0 auto; max-width: 40ch; color: var(--label2); font-size: 15px; text-align: center; }
/* along the foot: the small print, and the arrows on computers */
.t10-ft { flex: none; display: flex; align-items: center; gap: 16px; padding: 14px 22px 18px; }
.t10-ft p { flex: 1; margin: 0; color: var(--label2); font: 400 12.5px/1.45 var(--font); text-wrap: pretty; }
.t10-ft a { color: var(--accent); font-weight: 500; white-space: nowrap; }
.t10-arrows { display: flex; gap: 8px; }
@media (max-width: 600px) {
  .t10 { width: 100%; height: calc(100dvh - 12px); margin: auto 0 0; border-radius: var(--r) var(--r) 0 0; }
  .t10-hd { grid-template-columns: 44px 1fr 44px; grid-template-areas: "x h c" "s s s" "l l l"; gap: 12px 8px; padding: 14px 16px 12px; }
  .t10-hd h2 { grid-area: h; font-size: 30px; }
  .t10-acts { display: contents; }
  .t10-x { grid-area: c; }
  .t10-seg { grid-area: s; justify-self: center; }
  .t10-logos { grid-area: l; justify-content: center; gap: 10px; }
  .t10-logos button { width: 38px; height: 38px; opacity: .5; }
  .t10-logos button[aria-current] { opacity: 1; }
  .t10-logos button[aria-current]::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: -7px; height: 3px; border-radius: 2px; background: var(--label); }   /* plain, never a rainbow */
  .t10-row { --gap: 10px; grid-auto-columns: calc(100% - 28px); padding: 0 16px; scroll-padding-inline: 16px; }
  .t10-ft { padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); }
  .t10-ft p { font-size: 12px; }
  .t10-fine, .t10-arrows { display: none; }
}
@media (min-width: 601px) and (hover: none) { .t10-arrows { display: none; } }

/* See Top 10s: a frosted bar fixed along the whole foot of the screen (over the sidebar's foot too). Tap it and the Top 10s
   slide up from the bottom beneath it, carrying the bar up the screen (the popup's own columns, scrolling inside); tap
   again, Escape or a tap on the page and it slides back down. On phones it sits under the tab bar, which steps aside while
   it's open. */
:root { --tf-h: calc(64px + env(safe-area-inset-bottom, 0px)); }
body { padding-bottom: var(--tf-h); }
.tf { container: t10 / inline-size; position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; color: var(--label); border-radius: var(--r) var(--r) 0 0;
  box-shadow: 0 -16px 40px -20px rgba(0, 0, 0, .45);
  /* closed, all but the bar waits below the screen; opening only moves it (on the GPU: no layout or repaint while it slides) */
  transform: translate3d(0, calc(100% - var(--tf-h)), 0); transition: transform .6s cubic-bezier(.32, .72, 0, 1); }
.tf.open { transform: none; }
.tf.moving { will-change: transform; }
/* the frost: the bar always; the panel only once it has settled (a 40px blur redrawn every frame is what makes a big sheet
   stutter), so while it slides it's the page colour, nearly solid, which looks the same under its columns */
.tf-bar, .tf-panel { background: var(--fr-bg); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur); }
.tf-bar { border-radius: var(--r) var(--r) 0 0; box-shadow: inset 0 1.5px 0 var(--fr-rim); }
.tf.open .tf-bar, .tf .t10-col { box-shadow: none; }   /* open, no outline round the sheet or its columns: the frost and the tint do it */
/* settled open, bar and panel are one sheet of frost (two blurs side by side leave a seam where the bar stops) */
.tf.open:not(.moving) { background: var(--fr-bg); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur); }
.tf.open:not(.moving) :is(.tf-bar, .tf-panel) { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.tf.moving .tf-panel, .tf:not(.open) .tf-panel { background: color-mix(in srgb, var(--bg) 97%, transparent); -webkit-backdrop-filter: none; backdrop-filter: none; }
.tf-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 64px; padding: 0 max(24px, env(safe-area-inset-right, 0px)) 0 max(24px, env(safe-area-inset-left, 0px)); }
.tf-side { min-width: 0; color: var(--label2); font: 400 14px/1.3 var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* the two left-hand words share one spot and cross over as it goes up and down */
.tf-side { display: grid; justify-self: start; }
.tf-side > span { grid-area: 1 / 1; overflow: hidden; text-overflow: ellipsis; transition: opacity .3s ease, transform .45s var(--ease-spring); }
.tf-ago, .tf.open .tf-c { opacity: 0; transform: translate3d(0, 6px, 0); }
.tf.open .tf-ago { opacity: 1; transform: none; }
/* opened, "Last updated" flashes twice, then blows away like dust on a breeze (opacity, transform and a blur: all on the GPU) */
.tf.open .tf-side { overflow: visible; }
.tf.open .tf-ago { animation: tf-blow 3.2s ease .35s both; }
@keyframes tf-blow {
  0% { opacity: 0; transform: translate3d(0, 6px, 0); }
  10%, 24%, 38% { opacity: 1; transform: none; }
  17%, 31% { opacity: .15; }
  72% { opacity: 1; transform: none; filter: blur(0); }
  100% { opacity: 0; transform: translate3d(36px, -14px, 0) scale(1.08) rotate(-3deg); filter: blur(8px); }
}
@media (prefers-reduced-motion: reduce) { .tf.open .tf-ago { animation: none; } }
:root.still .tf.open .tf-ago { animation: none; }
.tf-btn { grid-column: 2; }
.tf-btn.btn { height: 44px; padding: 0 16px 0 14px; gap: 8px; }
.tf-btn svg { width: 18px; height: 18px; }
.tf-btn .tf-chev { width: 14px; height: 14px; margin-left: 2px; opacity: .8; transition: transform .55s var(--ease-spring); }
.tf.open .tf-chev { transform: rotate(180deg); }
/* the panel is drawn ahead of time and kept ready, but skipped (not painted) while it's down */
.tf-panel { visibility: hidden; transition: visibility 0s .6s; }
.tf.open .tf-panel { visibility: visible; transition-delay: 0s; }
.tf-in { contain: layout paint; max-height: calc(100dvh - 64px - 72px); overflow: hidden auto; overscroll-behavior: contain; scrollbar-width: none; padding-bottom: env(safe-area-inset-bottom, 0px);
  -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }
.tf-in::-webkit-scrollbar { display: none; }
.tf-hd { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin: 0 24px; padding: 6px 0 16px; }   /* no divider: 16px from the button to the logos, and from them to the charts */
.tf-hd .t10-logos { grid-column: 2; max-width: 100%; }   /* the logos in the middle, under See Top 10s */
.tf-hd .t10-seg { grid-column: 3; justify-self: end; }
.tf .t10-logos { gap: 8px; }
.tf .t10-logos button { width: 36px; height: 36px; }   /* the same height as Shows | Films beside them */
.tf .t10-row { padding: 0 24px; scroll-padding-inline: 24px; }
@media (min-width: 1000px) { .top-row { padding-bottom: calc(var(--tf-h) + 16px); } }   /* the sidebar's foot stays clear of the bar */
.tf .t10-col { overflow: visible; -webkit-mask-image: none; mask-image: none; }
.tf .t10-ft { display: flex; align-items: center; gap: 16px; padding: 14px 24px 28px; }
/* the slide: the panel rises, then its pieces settle into place one after another (and sink away as it goes down) */
.tf :is(.tf-hd, .t10-col, .t10-ft) { transition: opacity .25s ease, transform .3s ease; }
.tf:not(.open) :is(.tf-hd, .t10-col, .t10-ft) { opacity: 0; transform: translate3d(0, 40px, 0); }
.tf.open :is(.tf-hd, .t10-col, .t10-ft) { transition: opacity .45s ease var(--d, .1s), transform .8s var(--ease-spring) var(--d, .1s); }
.tf.open .t10-col:nth-child(1) { --d: .16s; } .tf.open .t10-col:nth-child(2) { --d: .23s; } .tf.open .t10-col:nth-child(3) { --d: .3s; }
.tf.open .t10-col:nth-child(n+4) { --d: .37s; } .tf.open .t10-ft { --d: .42s; }
:root.still .tf, :root.still .tf-side > span, :root.still .tf-panel, :root.still .tf :is(.tf-hd, .t10-col, .t10-ft), :root.still .tf-chev { transition: none; }
@media (prefers-reduced-transparency: reduce) { .tf-bar, .tf .tf-panel, .tf.open:not(.moving) { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (max-width: 719px) {
  :root { --tf-h: calc(54px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: calc(20px + var(--tf-h)); }
  .tf-bar { grid-template-columns: 1fr; justify-items: center; height: 54px; padding: 0 16px; }
  .tf-side { display: none; }
  .tf-btn.btn { height: 40px; }
  .tf-in { max-height: calc(100dvh - 54px - 64px); }
  .tf-btn { grid-column: 1; }   /* one column on phones: the button sits in the middle of it */
  .tf-hd { display: flex; flex-direction: column; gap: 16px; margin: 0 16px; padding-top: 9px; }
  .tf .t10-logos { gap: 10px; }
  .tf .t10-row { padding: 0 16px; scroll-padding-inline: 16px; }
  .tf .t10-ft { padding: 12px 16px 24px; }
}

/* ============================================================ 7. small things that float: toast, tips, labels, loading */
/* the toast: a frosted card that springs up from the bottom and fades away, rather than blinking on and off */
.toast { position: fixed; left: 50%; bottom: calc(24px + var(--tf-h, 0px)); z-index: 40; transform: translateX(-50%);
  width: max-content; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: var(--r); text-align: center;
  color: var(--label); font: 500 15px/1.2 var(--font); -webkit-font-smoothing: antialiased;
  background: var(--fr-bg); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur); box-shadow: inset 0 0 0 1px var(--fr-rim), var(--shadow); }
.toast[hidden] { display: none; }
:root:not(.still) .toast { transition: opacity .16s ease-out, scale .26s var(--ease-bounce-in), display .26s allow-discrete; }
:root:not(.still) .toast[hidden] { opacity: 0; scale: .9; transition: opacity .18s var(--ease-bounce-out), scale .18s var(--ease-bounce-out), display .18s allow-discrete; }
@starting-style { :root:not(.still) .toast:not([hidden]) { opacity: 0; scale: .9; } }

/* one-time feature tips (shell.js, tn.tip): a small frosted box pointing at something new; once, then gone. --ax: where
   the arrow meets the feature, so the box grows out of it */
.ft { position: fixed; z-index: 80; inset: auto; margin: 0; padding: 14px 16px 16px; border: 0; overflow: visible;
  width: min(300px, calc(100vw - 24px)); box-sizing: border-box; border-radius: var(--r); color: var(--label);
  background: var(--fr-bg); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur);
  box-shadow: inset 0 0 0 1px var(--fr-rim), 0 18px 50px rgba(0, 0, 0, .3);
  opacity: 0; transform: scale(.9); transform-origin: var(--ax, 50%) 0; }
.ft.up { transform-origin: var(--ax, 50%) 100%; }
.ft.in { opacity: 1; transform: none; }
:root:not(.still) .ft { transition: opacity .2s ease, transform .5s var(--ease-spring); }
.ft-arw { position: absolute; left: calc(var(--ax, 50%) - 9px); top: -8px; width: 18px; height: 8px;
  background: color-mix(in srgb, var(--bg) 92%, transparent); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.ft.up .ft-arw { top: auto; bottom: -8px; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.ft .ft-new { display: flex; align-items: center; gap: 5px; margin: 0 0 6px; font: 600 13px/1 var(--font); letter-spacing: -.005em; color: var(--accent); }
.ft .ft-new svg { width: 15px; height: 15px; }
.ft .ft-t { margin: 0 0 4px; padding: 0; font: 600 17px/1.25 var(--font); letter-spacing: -.02em; color: var(--label); text-wrap: balance; }
.ft .ft-x { margin: 0 0 14px; padding: 0; font: 400 15px/1.4 var(--font); letter-spacing: -.01em; color: var(--label2); text-wrap: pretty; }
.ft-ok { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 44px; padding: 0 16px; border: 0; cursor: pointer; font-size: 15px; line-height: 1; }
.ft-ok svg { width: 18px; height: 18px; }
/* inside the light frost the see-through navy turns grey, so the tip's one button keeps the solid deep fill */
.ft .ft-ok { background: #0b1e3c; }
@media (hover: hover) { .ft .ft-ok:hover { background: #132a52; } }
.ft-ok:active { transform: scale(.97); }
.ft-ok:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* service names: the small frosted label over a logo (shell.js) */
.tip { position: fixed; left: 0; top: 0; z-index: 90; max-width: calc(100vw - 16px); box-sizing: border-box; pointer-events: none;
  padding: 6px 11px; border-radius: var(--r); color: var(--label); font: 500 13px/1.25 var(--font); white-space: nowrap; -webkit-font-smoothing: antialiased;
  background: var(--fr-bg); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur); box-shadow: 0 0 0 .5px var(--fr-rim), 0 8px 24px rgba(0, 0, 0, .22);
  opacity: 0; transform: translateY(4px) scale(.94); transform-origin: 50% 100%; }
.tip.below { transform: translateY(-4px) scale(.94); transform-origin: 50% 0; }
.tip.on { opacity: 1; transform: none; }
:root:not(.still) .tip { transition: opacity .18s ease, transform .3s var(--ease-spring); }
[data-tip] { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }

/* the privacy note (shell.js): frosted, at the foot of the screen, above the tab bar on phones; once, then gone */
.pv-note { position: fixed; z-index: 70; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); width: min(560px, calc(100vw - 24px));
  display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: var(--r); color: var(--label);
  background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(30px) saturate(1.8); backdrop-filter: blur(30px) saturate(1.8);
  box-shadow: inset 0 0 0 .5px var(--fr-rim), 0 18px 50px rgba(0, 0, 0, .28);
  opacity: 0; transform: translate(-50%, 16px) scale(.98); transition: opacity .35s ease, transform .5s var(--ease-spring); }
.pv-note.in { opacity: 1; transform: translate(-50%, 0); }
.pv-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r); color: #fff;   /* Apple's blue privacy handshake */
  background: linear-gradient(180deg, #4aa3ff, #0a6cff); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .25), 0 3px 10px rgba(10, 108, 255, .35); }
.pv-ic svg { width: 28px; height: 28px; }
.pv-note p { margin: 0; font-size: 14px; line-height: 1.4; letter-spacing: -.01em; color: color-mix(in srgb, var(--label) 82%, transparent); text-wrap: pretty; }
.pv-note a { color: var(--accent); white-space: nowrap; }
.a2-ic { flex: none; width: 42px; height: 42px; border-radius: var(--r); box-shadow: 0 0 0 .5px rgba(127, 127, 127, .3); }
.a2-share { width: 17px; height: 17px; vertical-align: -3px; color: var(--accent); }
.pv-ok { flex: none; height: 36px; padding: 0 16px; border: 0; cursor: pointer; font-size: 15px; line-height: 1; }
.pv-ok:active { transform: scale(.96); }
.pv-ok:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (min-width: 1000px) { .pv-note { left: auto; right: max(24px, env(safe-area-inset-right, 0px)); bottom: 24px; width: min(420px, calc(100vw - 48px)); transform: translateY(16px) scale(.98); } .pv-note.in { transform: none; } }
:root.still .pv-note { transition: opacity .2s ease; }
@media (max-width: 719px) { .toast, .pv-note { bottom: calc(20px + var(--tf-h, 0px)); } }

/* loading: poster-shaped placeholders with a soft shimmer, the Apple TV way, instead of a line of text */
.sk-say { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.sk-row { display: flex; gap: 26px; padding-top: 44px; overflow: hidden; }
.sk-row i { flex: none; width: min(64vw, 236px); aspect-ratio: 2 / 3; border-radius: var(--r);
  background: linear-gradient(100deg, var(--fill) 40%, var(--fill-strong) 50%, var(--fill) 60%) 0 0 / 220% 100%; animation: skShine 1.6s ease-in-out infinite; }
@keyframes skShine { from { background-position: 100% 0; } to { background-position: -20% 0; } }
@media (max-width: 999px) { .sk-row { gap: 16px; } .sk-row i { width: min(44vw, 200px); } }

/* loading (computers, shell.js tn.loading): Tenner's ring of ten in a frosted square in the middle of the content. A light
   runs round the bars as on Apple's activity indicator (opacity only); with Animations on the ring turns slowly too. */
.ld { position: fixed; z-index: 70; inset: 0; display: grid; place-items: center; pointer-events: none; }
.ld[hidden] { display: none; }
@media (min-width: 1000px) { .ld { left: var(--side, 280px); } }
.ld-box { position: relative; display: grid; place-items: center; width: 92px; height: 92px; border-radius: var(--r);
  background: var(--fr-bg); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur);
  box-shadow: inset 0 0 0 1px var(--fr-rim), 0 20px 50px rgba(0, 0, 0, .22); opacity: 0; transform: scale(.94); }
.ld.in .ld-box { opacity: 1; transform: none; }
.ld.out .ld-box { opacity: 0; transform: scale(.96); }
:root:not(.still) .ld.in .ld-box { transition: opacity .28s ease, transform .6s var(--ease-spring); }
:root:not(.still) .ld.out .ld-box { transition: opacity .24s ease, transform .3s ease-in; }
:root.still .ld .ld-box { transform: none; }
.ld-glow { position: absolute; inset: 14px; border-radius: 50%; opacity: .55; filter: blur(16px);
  background: conic-gradient(from 0deg, #ff375f, #ff9f0a, #ffd60a, #30d158, #0a84ff, #bf5af2, #ff375f); }
.ld-ring { position: relative; width: 52px; height: 52px; overflow: visible; }
.ld-bar { opacity: .22; animation: ldRun 1s linear infinite; animation-delay: calc(var(--i) * .1s - 1s); }
@keyframes ldRun { 0% { opacity: 1; } 75%, 100% { opacity: .22; } }
:root:not(.still) .ld-ring { animation: ldTurn 6s linear infinite; }
:root:not(.still) .ld-glow { animation: ldTurn 6s linear infinite reverse, ldBreathe 2.4s ease-in-out infinite alternate; }
@keyframes ldTurn { to { transform: rotate(360deg); } }
@keyframes ldBreathe { from { opacity: .35; scale: .9; } to { opacity: .65; scale: 1.05; } }
@media (prefers-reduced-motion: reduce) { .ld-bar { animation-duration: 2s; } .ld-ring, .ld-glow { animation: none !important; } .sk-row i { animation: none; } }

/* Christmas lights (shell.js): old-fashioned C9 bulbs pinned along the top of every page in the season, beside the sidebar
   on computers (never over it), under the bars and your account pill; never tappable. Each halo breathes (opacity only). */
.xl { position: fixed; z-index: 48; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 100px; pointer-events: none; overflow: hidden;
  --xl-r: #ff3b30; --xl-g: #30d158; --xl-u: #0a84ff; --xl-wire: #17261d; --xl-wire2: rgba(120, 170, 140, .35); }
:root[data-theme="dark"] .xl { --xl-wire: #2b4436; --xl-wire2: rgba(150, 200, 170, .3); }
.xl svg { position: absolute; left: 0; top: 0; overflow: visible; }
.xl-w { fill: none; stroke: var(--xl-wire); stroke-width: 2.4; stroke-linecap: round; }
.xl-w2 { fill: none; stroke: var(--xl-wire2); stroke-width: .7; stroke-dasharray: 3 2.2; stroke-linecap: round; transform: translateY(-.5px); }
.xl-o { position: absolute; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; opacity: .95; --c: var(--xl-r);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 70%, transparent), color-mix(in srgb, var(--c) 26%, transparent) 42%, color-mix(in srgb, var(--c) 8%, transparent) 70%, transparent); }
.xl-g { --c: var(--xl-g); }
.xl-u { --c: var(--xl-u); }
:root:not(.still) .xl-o { animation: xlTwinkle 3.4s ease-in-out var(--d, 0s) infinite alternate; }
@keyframes xlTwinkle { 0%, 40% { opacity: 1; } 100% { opacity: .4; } }
@media (min-width: 1000px) { .xl { left: var(--side); } }
@media (max-width: 719px) { .xl { display: none; } }
@media print { .xl { display: none; } }

/* ============================================================ 8. motion: fluid and springy, and only on arrival or touch.
   Native CSS only (it runs off the main thread); only with Animations on, never with Reduce Motion (.still covers both). */
@keyframes riseIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes fadeOnly { from { opacity: 0; } }
/* moving between pages crossfades (cross-document View Transitions), the bar or sidebar staying put; Animations off skips
   it (the pagereveal handler in each page's head). Switching tab or service crossfades the same way. */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
::view-transition-old(root) { animation: vtOut .22s ease both; }
::view-transition-new(root) { animation: vtIn .38s var(--ease-out) both; }
@keyframes vtOut { to { opacity: 0; transform: scale(.985); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }
/* every press answers the moment a finger lands (Apple's rule: feedback on touch-down, never on release): the control
   gives quickly, then springs back softly when it's let go. The button and its icon move as one piece. */
:root:not(.still) :is(.btn, .dd, .tb-round, .hc-r, .cal-add, .tn-rd, .bx-me-card, .bx-me-out, .set-pill, .pv-ok, .ft-ok, .tn-picks a):active {
  transition-duration: .1s; transition-timing-function: cubic-bezier(.2, 0, 0, 1); }
:root:not(.still) .tn-opt .tn-chev { transition: transform .4s var(--ease-snap); }
@media (hover: hover) { :root:not(.still) .tn-opt:hover .tn-chev { transform: translateX(3px); } }
/* pop-up buttons: the chevron squeezes as the menu opens, and the new choice glides in */
:root:not(.still) .dd-chev { transition: transform .4s var(--ease-snap), opacity .2s ease; }
:root:not(.still) .dd:active .dd-chev { transform: scaleY(.7); }
@media (hover: hover) { :root:not(.still) .dd:hover .dd-chev { opacity: .9; } }
:root:not(.still) .dd-swap { animation: ddSwap .25s var(--ease-out); }
:root:not(.still) select.dd-swap { animation: ddFlash .5s ease; }
@keyframes ddSwap { from { opacity: 0; transform: translateY(4px); } }
@keyframes ddFlash { 30% { filter: brightness(1.35); } }
/* switches: the knob springs across, and stretches while your finger is on it, as on iPhone */
:root:not(.still) .sw { transition: background-color .3s ease; }
:root:not(.still) .sw::after { transition: translate .35s var(--spring), width .2s var(--ease-out); }
:root:not(.still) :is(.mine-row, .set-row):active .sw::after { width: 33px; }
:root:not(.still) :is(.mine-row, .set-row):active input:checked + .sw::after { translate: 14px 0; }
:root:not(.still) .me-keep:active .sw::after { width: 27px; }
:root:not(.still) .me-keep:active input:checked + .sw::after { translate: 11px 0; }

/* ============================================================ 9. the device's settings, as Apple's platforms honour them */
/* pointer interactions, the macOS way: with a mouse or trackpad the pointer stays an arrow over controls, borderless
   controls highlight softly on hover, and a press shades a control in place (darker by day, lighter by night) rather than
   changing its size. Touch screens keep the iOS feel. */
@media (hover: hover) and (pointer: fine) {
  :root { --press: brightness(.9); }
  :root[data-theme="dark"] { --press: brightness(1.28); }
  button, summary, [role="tab"], [role="radio"], [role="menuitemradio"] { cursor: default; }
  .btn:active, .tabs button:active, .tb-btn:active, .dd:active { transform: none; }
  .tabs button:active { filter: none; }
  .btn:active, .tb-btn:active, .segmented button:active, .dd:active { filter: var(--press); }
  .segmented button[aria-checked="false"]:hover { color: var(--label); }
  .th-list button:active, .side-about:active { background: var(--fill-strong); }
  .btn, .dd, .tb-btn, .segmented button, .th-list button, .side-about { transition-duration: .1s; }
}
/* made for fingers: every tap lands on at least 44pt (an invisible margin, so nothing looks different), and fields never
   make iOS zoom in */
@media (pointer: coarse) {
  input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]), select, textarea { font-size: max(16px, 1em) !important; }
  .lt-logo, .bx-more, .me-link, .u-ver, .drawer a.side-link { position: relative; }
  .sh-x::after, .lt-logo::after, .bx-more::after, .me-link::after, .u-ver::after { content: ""; position: absolute; inset: -6px; border-radius: var(--r); }
  .sh-x::after { inset: -8px; border-radius: 50%; }
  .bx-more::after { inset: -9px -6px; }
  .me-link::after { inset: -10px -6px; }
  .u-ver::after { inset: -12px -8px; }
  .bx-h-strip button::after { content: ""; position: absolute; inset: -8px -2px; }
  .drawer a.side-link::after { content: ""; position: absolute; inset: -9px -5px; }
}
@media (pointer: coarse) and (max-width: 380px) { .bx-score dd { font-size: 11px; } }
/* depth: on computers the frosted boxes catch a little light along their top edge and cast a soft shadow */
@media (min-width: 720px) {
  .panel { box-shadow: inset 0 0 0 1px var(--fr-rim), inset 0 1px 0 rgba(255, 255, 255, .06), 0 22px 44px -30px rgba(0, 0, 0, .5); }
}
/* phones: edge to edge. Every feature box runs the full width bar a slim margin, with no outline round it: a soft filled
   frost marks the box instead, as on iPhone. */
@media (max-width: 719px) {
  :root { --ph-box: color-mix(in srgb, var(--label) 7%, color-mix(in srgb, var(--bg) 55%, transparent)); }
  :root .panel { background: var(--ph-box); box-shadow: none; }
  :root .view-sw, :root .segmented, :root .seg-thumb { box-shadow: none; }
  :root .bx-hero, :root .bx-dc-card, :root .dc, :root .mood { box-shadow: 0 24px 48px -26px rgba(0, 0, 0, .6); }
}
/* smooth scrolling: every blurred layer is redrawn each frame the page moves, so nothing blurs twice or unseen (a button
   inside a frosted box already sits on frost; a closed sheet is invisible). While the page scrolls the lights hold still. */
@media (min-width: 1000px) {
  .panel *, .sheet:not([open]), .sheet:not([open]) * { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  :root.scrolling .xl-o { animation-play-state: paused; }
}
/* Increase Contrast: as Apple's own apps do, the frost turns nearly solid and every box and bar gets a clear edge, with
   stronger text and separators. Buttons keep their solid fill. */
@media (prefers-contrast: more) {
  :root:root { --sep: color-mix(in srgb, var(--label) 45%, transparent); --label2: color-mix(in srgb, var(--label) 80%, transparent);
    --label3: color-mix(in srgb, var(--label) 62%, transparent); --fill: color-mix(in srgb, var(--label) 16%, transparent);
    --fr-bg: color-mix(in srgb, var(--bg) 94%, transparent); --fr-in: color-mix(in srgb, var(--label) 13%, transparent);
    --fr-rim: color-mix(in srgb, var(--label) 42%, transparent); --ph-box: color-mix(in srgb, var(--label) 11%, var(--bg)); }
  :root .panel { box-shadow: inset 0 0 0 1px var(--fr-rim); }
  .hs .search { outline: 1px solid var(--sep); outline-offset: -1px; }
  .nr-art, .dd, .segmented { outline: 1px solid var(--sep); outline-offset: -1px; }
  @media (max-width: 999px) { .tabs { outline: 1px solid var(--sep); outline-offset: -1px; } }
}
/* Reduce Transparency: every frost turns solid, and nothing anywhere blurs */
@media (prefers-reduced-transparency: reduce) {
  :root:root { --fr-bg: var(--bg2); --ph-box: var(--bg2); --glass: var(--bg2); --frost: var(--bg2); --sheet-bg: var(--card); --gl-fill: var(--bg2); --lamp: transparent;
    --bt-fill: #0b1e3c; --bt-hover: #132a52; --bt-round: #222226; --bt-round-hover: #2e2e33; }
  * { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .bd-ext, .ld-glow { display: none !important; }
  .sh-sound { background: rgba(0, 0, 0, .7); }
  .sh-tick { background: rgba(20, 20, 24, .85); }
  .sh-vimg i { background: rgba(20, 20, 24, .8); }
  .ps-zoom::backdrop { background: rgba(0, 0, 0, .9); }
}
@media (max-width: 719px) and (prefers-reduced-transparency: reduce) { .share-card { background: #000 !important; } }
@media (forced-colors: active) { .lit::before { display: none; } }

/* ============================================================ 10. Settings, applied on every page */
/* Animations (off unless switched on in Settings, and always off when the device asks for reduced motion): nothing
   animates or transitions at all, so every change lands at once */
.still, .still *, .still *::before, .still *::after, .still ::backdrop { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.no-ratings .star, .no-ratings .cl-r, .no-ratings .score, .no-ratings .bx-star { display: none !important; }

/* ---------- the phone's homepage opens on the Top 10s (tn.t10Page in shell.js): the popup's logos, Shows / Films and its
   columns laid straight onto the page and swiped through the same way; the featured slides and the bar along the foot
   are for bigger screens ---------- */
.ht10 { display: none; }
@media (max-width: 719px) {
  .ht10 { container: t10 / inline-size; display: block; margin: 6px calc(-1 * var(--gutter-r)) 0 calc(-1 * var(--gutter)); color: var(--label); }
  body.home .bx-hero, body.home .tf { display: none; }
  body.home { --tf-h: 0px; }
  .ht10-hd { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 0 16px 16px; }
  .ht10 .t10-logos { gap: 10px; max-width: 100%; justify-content: safe center; }
  .ht10 .t10-logos button { width: 38px; height: 38px; opacity: .5; }
  .ht10 .t10-logos button[aria-current] { opacity: 1; }
  .ht10 .t10-logos button[aria-current]::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: -7px; height: 3px; border-radius: 2px; background: var(--label); }
  .ht10 .t10-row { --gap: 10px; grid-auto-columns: calc(100% - 28px); padding: 0 16px; scroll-padding-inline: 16px; }
  .ht10 :is(.t10-fine, .t10-arrows) { display: none; }
}
@media (max-width: 359px) {
  .ht10 .t10-logos { gap: 7px; }
  .ht10 .t10-logos button { width: 34px; height: 34px; }
  .ht10 .t10-col { overflow: visible; -webkit-mask-image: none; mask-image: none; box-shadow: none; }
  .ht10 .t10-ft { padding: 14px 16px 12px; }
  .ht10 .t10-ft p { font-size: 12px; }
}

/* ---------- every heading the About page's way (the owner's choice): heavy display type, white (the text colour by day)
   with its last word in the pink gradient, added by shell.js. Sizes stay each heading's own. ---------- */
:root :is(.row-h, .bx-sec-hd h2, .bx-panel-hd h2, #bxDc, #bxTv, #bxTn, .set-h, .large-title, .uwrap h1, .lg-hero h1, .lg-art > h2, .spot-h, .t10-hd h2) {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; -webkit-font-smoothing: antialiased; }
:root :is(.bx-sec-hd h2, .row-h) { font-size: 24px; line-height: 1.12; }

/* phones: the Top 10s already open the homepage, so the menu leaves out their link */
@media (max-width: 719px) { :is(.tabs, .drawer .tabs) button[data-tab="top10"] { display: none; } }

/* ---------- phones: as you scroll down, each section unfolds into place (a gentle rise, a touch of scale and a fade),
   driven by the scroll itself so it runs off the main thread and reverses if you scroll back. Sections already on screen
   when the page opens are shown as they are. Only with Settings → Animations on, never with Reduce Motion. ---------- */
@supports (animation-timeline: view()) {
  @media (max-width: 719px) and (prefers-reduced-motion: no-preference) {
    :root:not(.still) main :is(.bx-sec, .clist, .bx-panel, .wk, .nrow, .set-group) {
      animation: tnUnfold linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; transform-origin: 50% 0; }
  }
}
@keyframes tnUnfold { from { opacity: 0; translate: 0 32px; scale: .96; } }
