/* PrisFlex TV (v12.62.0, doc 77 step A; Live TV v12.63.0; Music and Photos v12.66.0) — a 10-foot layout for TVs, driven by the remote's arrows / OK / Back. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter-latin-700-normal.woff2') format('woff2'); }

:root {
  --bg: #0b0d12; --bg2: #141821; --bg3: #1d2330; --fg: #eef1f6; --muted: #9aa3b2; --accent: #7c5cff;
  --accent2: #22c7a9; --focus: #ffffff; --warn: #ffb547; --gap: 1.1vw; --r: 0.6vw;
  font-size: clamp(14px, 1.25vw, 40px);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--fg); font-family: Inter, system-ui, sans-serif;
  overflow: hidden; -webkit-font-smoothing: antialiased; }
/* v12.132.0 (Jeremy 23:28): PrisFlex's purple marble behind the TV pages, as on PrisFlex's own pages */
/* v13.17.0: a layer of its own fixed to the window — phones (an iPhone's browsers) do not draw a fixed background */
body { background: transparent; }      /* html keeps the colour; the marble layer is above it */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(var(--skin-veil-a, rgba(11, 9, 18, .55)), var(--skin-veil-b, rgba(11, 9, 18, .68))), var(--skin-art, url("marble.webp")) center / cover no-repeat, var(--bg); }
/* ── v14.114.0 (Jeremy 2026-11-22 20:41: "develop maybe 3 more additional visual themes … make them selectable … in the
   settings menu"): the Visual Themes, as on PrisFlex's pages (<html data-skin>: the server's, or this device's own from
   the app's Settings). Prism is everything in this file as it was; Marquee, Tide, Onyx, Arcade and Aurora change the colors (below),
   the picture behind the pages, the corners and the outline around what the remote is on. ── */
/* skin-tokens:begin */
/* v14.114.0: the Visual Themes' colors — written by tools/art/skin_css.py; change them there. */
html[data-skin="marquee"] {
  --bg: #0e0908;
  --bg2: #1a1211;
  --bg3: #2a1c1a;
  --fg: #f7efe8;
  --muted: #a9988d;
  --accent: #dfae54;
  --accent-ink: #1f1405;
  --accent2: #f6cf74;
  --focus: #fff3cf;
  --r: 0.5vw;
  --nav-a: rgba(26, 15, 14, .93);
  --nav-b: rgba(13, 8, 7, .93);
  --line: #33221f;
  --title: #eaddd2;
  --spec-1: #a8322b;
  --spec-2: #e8962e;
  --spec-3: #f7cf68;
  --spec-4: #fff3cf;
}
html[data-skin="tide"] {
  --bg: #061018;
  --bg2: #0e1d27;
  --bg3: #183040;
  --fg: #edf7f9;
  --muted: #8ba5b1;
  --accent: #2fc4bd;
  --accent-ink: #03211f;
  --accent2: #86efc9;
  --focus: #c6fbf0;
  --r: 0.9vw;
  --nav-a: rgba(11, 27, 36, .92);
  --nav-b: rgba(6, 16, 24, .92);
  --line: #1c3340;
  --title: #d5e6ec;
  --spec-1: #1668b8;
  --spec-2: #1fa3d6;
  --spec-3: #35d6c8;
  --spec-4: #c6fbf0;
}
html[data-skin="onyx"] {
  --bg: #000000;
  --bg2: #0f0f10;
  --bg3: #1e1e21;
  --fg: #ffffff;
  --muted: #9a9aa2;
  --accent: #f4f4f5;
  --accent-ink: #09090b;
  --accent2: #a9d3ff;
  --focus: #ffffff;
  --r: 0.22vw;
  --nav-a: rgba(8, 8, 9, .96);
  --nav-b: rgba(0, 0, 0, .96);
  --line: #232326;
  --title: #e4e4e7;
  --spec-1: #ffffff;
  --spec-2: #ffffff;
  --spec-3: transparent;
  --spec-4: transparent;
}
html[data-skin="arcade"] {
  --bg: #0b071c;
  --bg2: #171030;
  --bg3: #261a4d;
  --fg: #fbf7ff;
  --muted: #9a90c4;
  --accent: #ff4fb4;
  --accent-ink: #1f0318;
  --accent2: #5ee7ff;
  --focus: #a8f3ff;
  --r: 0.35vw;
  --nav-a: rgba(22, 14, 48, .93);
  --nav-b: rgba(11, 7, 28, .93);
  --line: #2c2250;
  --title: #e2dcf6;
  --spec-1: #ff4fb4;
  --spec-2: #ff4fb4;
  --spec-3: #5ee7ff;
  --spec-4: #5ee7ff;
}
html[data-skin="aurora"] {
  --bg: #050c0a;
  --bg2: #0e1b16;
  --bg3: #183027;
  --fg: #effaf4;
  --muted: #8aa698;
  --accent: #6fdc85;
  --accent-ink: #04210d;
  --accent2: #b9a6ff;
  --focus: #c9f8d2;
  --r: 0.75vw;
  --nav-a: rgba(11, 26, 20, .92);
  --nav-b: rgba(5, 12, 10, .92);
  --line: #1c3329;
  --title: #d6e9df;
  --spec-1: #2bbf7a;
  --spec-2: #7be38f;
  --spec-3: #7fe9d0;
  --spec-4: #b9a6ff;
}
/* skin-tokens:end */
html[data-skin="marquee"] {
  --skin-art: url("skin-marquee.webp"); --skin-veil-a: rgba(12, 6, 5, .68); --skin-veil-b: rgba(12, 6, 5, .82);
  /* gold lights chasing around the outline: slanted dashes, stepping a third of their spacing at a time */
  --spec-tile: 1.5vw; --spec-anim: spec-march; --spec-speed: .9s; --spec-ease: steps(3);
  --spec-mask: linear-gradient(45deg, #000 0 33.4%, #0000 33.4% 50%, #000 50% 83.4%, #0000 83.4%);
  --spec-comp: add; --spec-wcomp: source-over;
}
html[data-skin="tide"] {
  --skin-art: url("skin-tide.webp"); --skin-veil-a: rgba(4, 12, 18, .60); --skin-veil-b: rgba(4, 12, 18, .76);
  /* light rippling through the outline: a soft dimmer band drifting across */
  --spec-tile: 14vw; --spec-anim: spec-march; --spec-speed: 5s; --spec-ease: linear;
  --spec-mask: linear-gradient(45deg, #000 0, rgba(0,0,0,.3) 25%, #000 50%, rgba(0,0,0,.3) 75%, #000 100%);
  --spec-comp: add; --spec-wcomp: source-over;
}
html[data-skin="onyx"] {
  --skin-art: radial-gradient(95% 70% at 58% 0%, #1c1c20 0, #000 72%); --skin-veil-a: rgba(0, 0, 0, 0); --skin-veil-b: rgba(0, 0, 0, 0);
  /* still: the whole outline, nothing moving */
  --spec-mask: none; --spec-anim: none; --spec-comp: add; --spec-wcomp: source-over;
}
html[data-skin="arcade"] {
  --skin-art: url("skin-arcade.webp"); --skin-veil-a: rgba(9, 5, 24, .70); --skin-veil-b: rgba(9, 5, 24, .82);
  /* a neon tube: the whole outline, lit, with the flicker of a sign coming on; its glow (not on a weak TV) */
  --spec-mask: none; --spec-anim: spec-flicker; --spec-speed: 2.6s; --spec-ease: linear; --spec-comp: add; --spec-wcomp: source-over;
  --spec-glow: drop-shadow(0 0 .45vw rgba(255, 79, 180, .7));
}
html[data-skin="aurora"] {
  --skin-art: url("skin-aurora.webp"); --skin-veil-a: rgba(3, 9, 7, .58); --skin-veil-b: rgba(3, 9, 7, .76);
  /* the lights: the whole outline, glowing and dimming slowly */
  --spec-mask: none; --spec-anim: spec-breathe; --spec-speed: 4.5s; --spec-ease: ease-in-out; --spec-comp: add; --spec-wcomp: source-over;
}
html.lite[data-skin] { --spec-glow: none; }
@keyframes spec-march { from { -webkit-mask-position: 0 0; mask-position: 0 0; }
  to { -webkit-mask-position: var(--spec-tile, 1.5vw) 0; mask-position: var(--spec-tile, 1.5vw) 0; } }
/* v14.115.1 (Jeremy 2026-11-23 17:11: "flicker again after a brief pause and keep doing the flicker over and over"): a
   burst of four dips in the first 0.6 s, then lit and still for 2 s, again and again while the outline stays */
@keyframes spec-flicker { 0%, 2.9%, 6%, 8.9%, 11%, 15.9%, 19%, 21.9%, 23%, 100% { opacity: 1; } 3%, 5.9% { opacity: .35; } 9%, 10.9% { opacity: .7; } 16%, 18.9% { opacity: .2; } 22%, 22.9% { opacity: .6; } }
@keyframes spec-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
/* v13.17.0 (Jeremy 2026-11-03 20:29: "long-hold on a poster to get the right-click menu"): a long press opens the
   poster's menu — not the phone's own picture menu or a text selection */
.card { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.card img { -webkit-user-drag: none; }
button, input, select { font: inherit; color: inherit; }
.tv-boot { display: flex; height: 100vh; align-items: center; justify-content: center; font-size: 3rem; font-weight: 700;
  letter-spacing: .04em; color: var(--muted); }

/* layout */
.tv { display: flex; height: 100vh; height: 100dvh; }   /* v12.67.0: dvh — a phone's browser bars are not under the page */
.tv-nav { width: 15vw; min-width: 180px; background: linear-gradient(180deg, var(--nav-a, rgba(17,20,28,.92)), var(--nav-b, rgba(11,13,18,.92))); padding: 3vh 1.2vw;
  display: flex; flex-direction: column; gap: .6vh; border-right: 1px solid var(--line, #1c2130); }
/* v12.132.0: the menu hides while the remote is in a page (Back or ← at the left edge bring it back) */
@media (min-width: 801px) and (min-height: 501px) { .tv.navhide .tv-nav { display: none; } .tv.navhide .backdrop { left: 0; } }
.tv-brand { font-weight: 700; font-size: 1.6rem; margin: 0 0 3vh .6vw; letter-spacing: .02em; display: flex; align-items: center; gap: .5em;
  white-space: nowrap; }
.tv-brand img { width: 2.6em; height: 2.6em; flex: none; }   /* v12.214.0 (Jeremy 13:13): the logo as large as the row allows */
.tv-brand.big { font-size: 3rem; margin: 0; }
.tv-brand b { font-weight: 700; }
.tv-brand span { color: var(--accent); }
.tv-nav button { text-align: left; background: none; border: 0; padding: 1.1vh 1vw; border-radius: var(--r); font-size: 1.15rem;
  color: var(--muted); cursor: pointer; outline: none; }
.tv-nav button.on { color: var(--fg); background: var(--bg3); }
.tv-main { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 3vh 2.5vw 6vh; scroll-behavior: smooth; }
.tv-main::-webkit-scrollbar { display: none; }
h1.tv-title { font-size: 2.2rem; margin: 0 0 2.5vh; font-weight: 700; }
h2.tv-row-title { font-size: 1.35rem; margin: 3vh 0 1.4vh; font-weight: 600; color: var(--title, #dfe3ea); }

/* focus: big and obvious from the couch */
.f { outline: none; transition: transform .12s ease; }
.f:focus { box-shadow: 0 0 0 .3vw var(--focus), 0 .6vw 2vw rgba(0,0,0,.6); transform: scale(1.05); z-index: 2; position: relative; }
/* v12.132.0 (Jeremy 23:28: "When highlighting a poster it should only outline the poster"): the ring and the lift on
   the picture only — the title under it stays as it is */
.card.f:focus { box-shadow: none; transform: none; }
.card.f:focus .img { box-shadow: 0 0 0 .3vw var(--focus), 0 .6vw 2vw rgba(0,0,0,.6); transform: scale(1.05); transition: transform .12s ease; }
.card.f:focus .t { color: #fff; }
.tv-nav button.f:focus { transform: none; box-shadow: inset 0 0 0 .2vw var(--focus); color: var(--fg); }
.btn { background: var(--bg3); border: 0; border-radius: var(--r); padding: 1.3vh 1.6vw; font-size: 1.15rem; font-weight: 600;
  cursor: pointer; }
.btn.primary { background: var(--accent); color: var(--accent-ink, inherit); }   /* v14.114.0: a theme's accent may be light — its ink */
.btn:focus { transform: scale(1.06); }

/* rows and grids — v12.182.2 (Jeremy 2026-10-29 20:55: "make the posters a little smaller so the second shelf can fit on
   the home screen and another movie or two horizontally"): 8.6vw posters (were 11vw), 15.6vw wide tiles (were 20vw) */
.row { display: flex; gap: var(--gap); overflow-x: auto; overflow-y: visible; padding: 1.2vh .4vw 2vh; scroll-behavior: smooth; }
.row::-webkit-scrollbar { display: none; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.6vw, 1fr)); gap: 2.2vh var(--gap); padding: .6vw; }
.card { flex: 0 0 auto; width: 8.6vw; min-width: 110px; background: none; border: 0; padding: 0; text-align: left; cursor: pointer;
  border-radius: var(--r); color: inherit; }
.card.wide { width: 15.6vw; min-width: 200px; }
.card .img { position: relative; width: 100%; aspect-ratio: 2 / 3; border-radius: var(--r); overflow: hidden; background: var(--bg3); }
.card.wide .img { aspect-ratio: 16 / 9; }
/* v12.106.0: Videos (personal folders) — a grid of 16:9 tiles that fill their column */
.grid.wide-grid { grid-template-columns: repeat(auto-fill, minmax(max(20vw, 220px), 1fr)); }
.grid.wide-grid .card { width: auto; min-width: 0; }
.card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 1vw;
  text-align: center; color: var(--muted); font-weight: 600; }
.card .t { margin-top: .9vh; font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .s { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* v12.184.0 (Jeremy 23:26: the titles under the posters "are almost always cutoff"): the highlighted poster shows its
   whole title over its top (nothing moves; the row's top edge would clip a label above it) */
.card .img .full { display: none; position: absolute; left: 0; right: 0; top: 0; z-index: 1; padding: .7vw .6vw 1.6vw;
  background: linear-gradient(rgba(0, 0, 0, .88), rgba(0, 0, 0, .72) 60%, rgba(0, 0, 0, 0)); color: #fff; font-weight: 700;
  font-size: .95rem; line-height: 1.25; white-space: normal; overflow-wrap: anywhere; text-shadow: 0 1px 3px #000; }
.card.f:focus .img .full, .card:hover .img .full { display: block; }
html:not(.look-title) .img .full, html:not(.look-title) .ex-cell .full { display: none !important; }   /* v14.78.0: LOOK */
.bar { position: absolute; left: 0; right: 0; bottom: 0; height: .5vh; background: rgba(0,0,0,.55); }
.bar i { display: block; height: 100%; background: var(--accent2); }
.done { position: absolute; top: .5vw; right: .5vw; background: var(--accent2); color: #001; border-radius: 99px;
  width: 1.8vw; height: 1.8vw; min-width: 20px; min-height: 20px; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; }

/* detail */
/* v12.179.1: z-index 0 makes the page its own stacking context, so the backdrop (z-index -1) paints above the body's marble
   instead of under it (it never showed) */
.detail { position: relative; min-height: 80vh; z-index: 0; }
.backdrop { position: fixed; inset: 0 0 0 15vw; background-size: cover; background-position: center top; opacity: .28;
  z-index: -1; }
.backdrop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 25%, rgba(11,13,18,.4)); }
.detail-head { display: flex; gap: 2.5vw; align-items: flex-start; }
.detail-head .poster { width: 17vw; min-width: 160px; aspect-ratio: 2/3; border-radius: var(--r); object-fit: cover; background: var(--bg3); }
.detail-head h1 { font-size: 2.6rem; margin: 0 0 1vh; }
.meta { color: var(--muted); font-size: 1.1rem; margin-bottom: 2vh; display: flex; gap: 1.2vw; flex-wrap: wrap; }
.overview { font-size: 1.15rem; line-height: 1.45; max-width: 55vw; color: #d6dae2; }
.overview.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.overview-wrap { margin-bottom: 3vh; }
.link { background: none; border: 0; padding: .6vh 0; color: var(--accent2); font-size: 1.05rem; font-weight: 600; cursor: pointer; }
/* v12.67.0: Movies / TV Shows — Library → Videos' sorts and filters, and the pickers they open */
.filters { display: flex; gap: .7vw; flex-wrap: wrap; margin: -1vh 0 2.4vh; }
.filters .btn { font-size: 1rem; padding: 1vh 1.2vw; }
/* v12.132.0 (Jeremy 23:28: "The Home Screen sort options don't all fit on one line"): one line, as they are */
/* v14.16.0 (Jeremy 2026-11-16 23:55: the first button's outline clipped on the left): a scrolling row clips what is
   outside it — room for the focused button's 5% growth and its .4vw ring on every side, the row kept in place */
.filters.one-line { flex-wrap: nowrap; overflow-x: auto; padding: 1.6vh 1.8vw; margin: -2.6vh -1.8vw 1vh; }
.filters.one-line::-webkit-scrollbar { display: none; }
.filters.one-line .btn { flex: none; white-space: nowrap; font-size: .95rem; padding: 1vh 1vw; }
.title-row { display: flex; align-items: center; gap: 1.5vw; flex-wrap: wrap; margin: 0 0 2.5vh; }
.title-row h1.tv-title { margin: 0; }
.filters .btn.on { background: var(--accent); color: var(--accent-ink, inherit); }
.picker-wrap { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 60; display: flex; align-items: center; justify-content: center; }
.picker { background: var(--bg2); border-radius: var(--r); padding: 1.4vh 1vw; min-width: 24vw; max-width: 92vw; max-height: 80vh;
  overflow-y: auto; display: flex; flex-direction: column; gap: .4vh; }
.picker-title { padding: .6vh 1vw 1vh; }
.picker button { background: none; border: 0; text-align: left; padding: 1.1vh 1vw; border-radius: var(--r); font-size: 1.15rem; cursor: pointer; }
.picker button.on { color: var(--accent2); }
/* v14.71.0: Multiview's menu — its sections' headers (closed until chosen) and what is in them, set in under them */
.picker button.picker-sec { font-weight: 700; }
.picker button.picker-in { padding-left: 2.4vw; }
/* v14.113.0: Multiview's menu groups — an entry under Watch, and its screens one step further in */
.picker button.picker-sub { padding-left: 2.4vw; font-weight: 600; }
.picker button.picker-in2 { padding-left: 4.4vw; }
/* v14.113.0: a choice not open now (a layout needing more free tuners) — in its place, grayed, not choosable; the menu
   grows to keep it on one line */
.picker button.picker-off, .picker button:disabled { opacity: .42; cursor: default; white-space: nowrap; }
.picker .picker-why { font-size: .85em; }
.actions { display: flex; gap: 1vw; flex-wrap: wrap; margin-bottom: 2vh; }
.chips { display: flex; gap: .8vw; flex-wrap: wrap; margin-bottom: 2vh; }   /* v12.74.0: an add-on's music countries */
.tabs { display: flex; gap: .8vw; margin: 3vh 0 1.5vh; flex-wrap: wrap; }
.tabs .btn.on { background: var(--accent); color: var(--accent-ink, inherit); }
.eps { display: flex; flex-direction: column; gap: 1.2vh; }
.ep { display: flex; gap: 1.4vw; align-items: center; background: var(--bg2); border: 0; border-radius: var(--r); padding: 1vh 1vw;
  text-align: left; cursor: pointer; }
.ep .img { width: 16vw; min-width: 160px; aspect-ratio: 16/9; position: relative; border-radius: var(--r); overflow: hidden; background: var(--bg3); flex: none; }
.ep img { width: 100%; height: 100%; object-fit: cover; }
.ep .t { font-size: 1.15rem; font-weight: 600; }
.ep .o { color: var(--muted); font-size: .95rem; margin-top: .6vh; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Live TV (v12.63.0): channel logos are drawn whole */
.card.live img, .ep.live .img img { object-fit: contain; padding: 1.2vw; }
/* v13.23.0 (Jeremy 2026-11-04 01:01: "black is hard to read. Maybe white?"): a logo sits on white — most stations draw
   theirs for a light background (KSHB's and KSMO's dark letters vanished on the dark card) */
.card.live img, .ep.live .img img { background: #fff; box-sizing: border-box; }
.ep.live .img.logo { width: 10vw; min-width: 110px; }
.ep.live .track { height: .5vh; }
.ep .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted);
  font-weight: 700; font-size: 1.3rem; }

/* Music and Photos (v12.66.0) */
.card.sq .img, .poster.sq { aspect-ratio: 1 / 1; }
.ep.song { padding: 1.4vh 1.4vw; }
.ep.song.on .t { color: var(--accent2); }
.nowplaying { display: flex; gap: 3vw; align-items: flex-start; padding-top: 2vh; }
.np-cover { width: 30vw; min-width: 220px; aspect-ratio: 1 / 1; border-radius: var(--r); object-fit: cover; background: var(--bg3); }
.np-body { flex: 1; min-width: 0; }
.np-body h1 { font-size: 1.7rem; margin: 0 0 1vh; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.np-queue { margin-top: 3vh; }
.tv-nav .mini { margin-top: auto; color: var(--accent2); font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* v12.114.0: the slideshow — each photo fills the screen; transitions */
.slides { overflow: hidden; }
.slides img.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.slides img.slide.out { z-index: 1; }
/* v14.16.0 (Jeremy 2026-11-16 23:55): a wide photo covers the screen; tall ones stand three at a time — the newest in the
   middle, the one before on the left, the one before that on the right — and move along as cards (left to right passes
   behind the middle one; the right one falls off) */
.slides img.slide.cover { object-fit: cover; }
.slides .trio { position: absolute; inset: 0; overflow: hidden; z-index: 1; }   /* v14.18.0: its own layer, under a wide photo */
.trio-card { position: absolute; top: 50%; left: 50%; height: 92vh; width: auto; max-width: 31vw; object-fit: cover;
  border-radius: .6vw; box-shadow: 0 1vw 3vw rgba(0,0,0,.75); transform: translate(-50%, -50%);
  transition: left 1.1s cubic-bezier(.45,.05,.25,1), transform 1.1s cubic-bezier(.45,.05,.25,1), opacity 1.1s ease, filter 1.1s ease; }
.trio-card.s-m { left: 50%; z-index: 3; }
.trio-card.s-l { left: 17%; z-index: 2; transform: translate(-50%, -50%) scale(.92); filter: brightness(.8); }
.trio-card.s-r { left: 83%; z-index: 1; transform: translate(-50%, -50%) scale(.92); filter: brightness(.8); }
.trio-card.s-off { left: 83%; z-index: 0; transform: translate(-50%, 75vh) rotate(14deg) scale(.88); opacity: 0; }
.trio-card.fresh { animation: trio-in 1.1s cubic-bezier(.2,.8,.2,1) backwards; }
/* v14.18.0 (Jeremy 2026-11-17 01:06): the new one comes up in the middle (no drop from the top); the one on the left
   arches over the middle to the right; the next wide photo stands behind them and peels away from a corner when it
   has had its turn */
@keyframes trio-in { from { transform: translate(-50%, -50%) scale(.84); opacity: 0; } }
.trio-card.s-r.arc { z-index: 5; animation: trio-arc 1.2s cubic-bezier(.45,.05,.3,1) both; }
@keyframes trio-arc { 0% { left: 17%; transform: translate(-50%, -50%) scale(.92); }
  50% { left: 50%; transform: translate(-50%, -96%) scale(.55) rotate(7deg); }
  100% { left: 83%; transform: translate(-50%, -50%) scale(.92); } }
.slides .slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.62); }
/* v14.18.1: a squarer photo among the tall ones has the whole screen on black (the peel shows the black too) */
.slides img.slide.boxed, .slides .slide-peel.boxed > img { object-fit: contain; background: #000; }
.slides .slide-peel { position: absolute; inset: 0; z-index: 6; pointer-events: none; filter: drop-shadow(-.5vw -.5vw 1.2vw rgba(0, 0, 0, .55)); }
.slides .slide-peel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: sl-peel-img 1.6s linear both; }
.slides .slide-peel > .peel-flap { position: absolute; inset: 0; background: linear-gradient(135deg, #fbf8f2 0%, #e2ddd2 45%, #a59f93 100%);
  animation: sl-peel-flap 1.6s linear both; overflow: hidden; }
/* v14.34.0 (Jeremy 2026-11-17 23:31: "The bottom side of the page is white.  Can it be the image above seen through from
   below as it's turning, as if it was a translucent sheet?"): the turning page's back shows the photo itself, mirrored
   across the fold as it would be seen through the sheet, over the paper's light. The fold is the line u + v = c of the
   screen's own proportions (c from 2 at the corner to 0): a point (u, v) of the page lands at (c - v, c - u) — in pixels
   translate(c·W, c·H) · scaleX(ar) · [[0, -1], [-1, 0]] · scaleX(1/ar) — so each part of the photo sits over the place it
   came from */
.slides .slide-peel .peel-back { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; opacity: .58;
  transform-origin: 0 0; animation: sl-peel-back 1.6s linear both; }
.slides .slide-peel.boxed .peel-back { object-fit: contain; }
@keyframes sl-peel-back {
  0% { transform: translate(200%, 200%) scale(var(--peel-ar, 1.7778), 1) matrix(0, -1, -1, 0, 0, 0) scale(calc(1 / var(--peel-ar, 1.7778)), 1); }
  50% { transform: translate(100%, 100%) scale(var(--peel-ar, 1.7778), 1) matrix(0, -1, -1, 0, 0, 0) scale(calc(1 / var(--peel-ar, 1.7778)), 1); }
  100% { transform: translate(0%, 0%) scale(var(--peel-ar, 1.7778), 1) matrix(0, -1, -1, 0, 0, 0) scale(calc(1 / var(--peel-ar, 1.7778)), 1); } }
@keyframes sl-peel-img { 0% { clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 100%, 0 100%); }
  50% { clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%, 0 100%); } 100% { clip-path: polygon(0 0, 0 0, 0 0, 0 0, 0 0); } }
@keyframes sl-peel-flap { 0% { clip-path: polygon(100% 100%, 100% 100%, 100% 100%, 100% 100%); }
  50% { clip-path: polygon(0 100%, 100% 0, 0 0, 0 0); } 100% { clip-path: polygon(0 0, 0 0, 0 0, 0 0); } }
@media (prefers-reduced-motion: reduce) { .trio-card.s-r.arc { animation: none; } .slides .slide-peel { display: none; } }
/* v14.16.1 (Jeremy 2026-11-17 01:01): My Videos' tall videos three at a time — the card is a box (a video playing in the
   middle, a picture on the sides) of a phone video's shape */
.reel-trio .trio-card { width: min(31vw, 51.75vh); overflow: hidden; background: #000; }
/* v14.34.0 (Jeremy 2026-11-17 23:34: Left goes back a video "and the animation should go in reverse"): the one that was
   playing sinks away in the middle (trio-in backwards), the one before the others rises in on the right from where the
   oldest fell */
.trio-card.s-gone { left: 50%; z-index: 4; opacity: 0; transform: translate(-50%, -50%) scale(.84); }
.trio-card.s-r.back { animation: trio-back 1.1s cubic-bezier(.2,.8,.2,1) backwards; }
@keyframes trio-back { from { left: 83%; transform: translate(-50%, 75vh) rotate(14deg) scale(.88); opacity: 0; } }
.reel-trio .trio-card > video, .reel-trio .trio-card > img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .trio-card { transition: none; } .trio-card.fresh, .trio-card.s-r.back { animation: none; } }
.slides img.slide.in { z-index: 2; }
.slide-osd { padding: 2vh 3vw 3vh; z-index: 3; }
.slides img.in.fx-fade, .slides img.in.fx-kenburns { animation: sl-fade-in 1.2s ease both; }
.slides img.out.fx-fade, .slides img.out.fx-kenburns, .slides img.out.fx-zoom { animation: sl-fade-out 1.2s ease both; }
.slides img.in.fx-slide { animation: sl-slide-in .9s cubic-bezier(.2, .8, .2, 1) both; }
.slides img.out.fx-slide { animation: sl-slide-out .9s cubic-bezier(.2, .8, .2, 1) both; }
.slides img.in.fx-zoom { animation: sl-zoom-in 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.slides img.out.fx-off { display: none; }
.slides img.in.fx-kenburns.moving { animation: sl-fade-in 1.2s ease both, sl-kenburns var(--slide-sec, 7s) linear both; }
@keyframes sl-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sl-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes sl-slide-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes sl-slide-out { from { transform: none; } to { transform: translateX(-100%); } }
@keyframes sl-zoom-in { from { opacity: 0; transform: scale(1.25); } to { opacity: 1; transform: none; } }
@keyframes sl-kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.slide-opts .btn.on { outline: 2px solid var(--accent2); }

/* sign-in */
.signin { height: 100vh; height: 100dvh; padding: 0 4vw; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3vh; text-align: center; }
.signin .code { font-size: min(6rem, 13vw); font-weight: 700; letter-spacing: .2em; margin-right: -.2em; color: var(--accent2);
  white-space: nowrap; }
.signin p { color: var(--muted); font-size: 1.3rem; max-width: 60vw; line-height: 1.5; margin: 0; }
.signin input { background: var(--bg3); border: 0; border-radius: var(--r); padding: 1.4vh 1.2vw; width: 30vw; min-width: 260px; font-size: 1.2rem; }
.signin form { display: flex; flex-direction: column; gap: 1.6vh; align-items: center; }
/* v13.119.0: the QR code first, the typed code beside it */
.signin .pair { display: flex; gap: 5vw; align-items: center; justify-content: center; }
.signin .pair h2 { font-size: 1.6rem; margin: 0 0 1.4vh; color: var(--fg, #fff); }
.signin .pair-qr, .signin .pair-code { display: flex; flex-direction: column; align-items: center; max-width: 38vw; }
.signin .pair p { max-width: 34vw; font-size: 1.1rem; margin-top: 1.4vh; }
.signin .qr { width: min(36vh, 34vw); height: min(36vh, 34vw); background: #fff; border-radius: 12px; padding: 1vh; box-sizing: border-box; }
.signin .qr svg { width: 100%; height: 100%; display: block; }
.signin .pair .code { font-size: min(5rem, 9vw); }
.err { color: var(--warn); font-size: 1.15rem; }
.muted { color: var(--muted); }

/* player */
.player { position: fixed; inset: 0; background: #000; z-index: 50; }
.player video { width: 100%; height: 100%; background: #000; }
.osd { position: absolute; left: 0; right: 0; bottom: 0; padding: 4vh 4vw 5vh; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent);
  transition: opacity .25s; }
.osd.hide { opacity: 0; }
.osd .t { font-size: 1.8rem; font-weight: 700; }
.osd .s { color: var(--muted); font-size: 1.1rem; margin: .4vh 0 2vh; }
.track { position: relative; height: .7vh; background: rgba(255,255,255,.2); border-radius: 99px; }
.track i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); border-radius: 99px; }
.track b { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(255,255,255,.25); border-radius: 99px; }
.times { display: flex; justify-content: space-between; color: #cfd4dc; margin-top: 1vh; font-size: 1.05rem; }
.osd .actions { margin-top: 2.2vh; }
/* v12.68.0: the player's controls for touch and mouse (the remote keeps its keys) */
.ctl { display: flex; align-items: center; gap: .8vw; margin-top: 1.6vh; }
.ctl-gap { flex: 1; }
.ctl-b { background: rgba(255,255,255,.08); border: 0; border-radius: 50%; width: 3.4rem; height: 3.4rem; min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; padding: 0; }
.ctl-b:hover, .ctl-b.on { background: rgba(255,255,255,.2); }
.ctl-b .ico { width: 55%; height: 55%; }
/* v12.102.0: the Live TV quality button (Auto / Original / 720p / 480p / 360p) */
.ctl-q { background: rgba(255,255,255,.08); border: 0; border-radius: 99px; height: 3.4rem; min-height: 44px; padding: 0 1.2rem;
  color: #fff; font-size: 1.05rem; cursor: pointer; white-space: nowrap; }
.ctl-q:hover, .ctl-q:focus { background: rgba(255,255,255,.2); }
.track.seek { height: 1.1vh; min-height: 6px; cursor: pointer; touch-action: none; margin: 1.2vh 0 .4vh; }
.track.seek .knob { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 3px rgba(0,0,0,.35); }
.osd.hide .ctl, .osd.hide .seek { pointer-events: none; }
@media (pointer: coarse) { .remote-hint { display: none; } .ctl { gap: 3vw; } }
/* v12.66.3: Play for a browser that wants a tap; Back for a phone or tablet */
.tap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.tap .btn { font-size: 1.6rem; padding: 2vh 3vw; }
.touch-back { display: none; position: absolute; left: 2vw; top: 2vh; background: rgba(0,0,0,.55); border: 0; border-radius: var(--r); color: #fff;
  font-size: 1.15rem; padding: 1vh 1.4vw; cursor: pointer; transition: opacity .25s; z-index: 2; }
.touch-back.hide { opacity: 0; pointer-events: none; }
@media (pointer: coarse) { .touch-back { display: block; } }
.spinner { position: absolute; left: 50%; top: 50%; width: 5vw; height: 5vw; margin: -2.5vw; border-radius: 50%;
  border: .5vw solid rgba(255,255,255,.2); border-top-color: var(--accent); animation: spin 1s linear infinite;
  pointer-events: none; }                                  /* v12.68.0: a tap on it reaches the video (pause / play) */
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; left: 50%; top: 4vh; transform: translateX(-50%); background: var(--bg3); padding: 1.4vh 2vw;
  border-radius: var(--r); font-size: 1.15rem; z-index: 99; box-shadow: 0 1vw 3vw rgba(0,0,0,.6); }
.menu { position: absolute; right: 4vw; bottom: 22vh; background: rgba(20,24,33,.96); border-radius: var(--r); padding: 1vh;
  display: flex; flex-direction: column; gap: .5vh; min-width: 22vw; max-height: 60vh; overflow-y: auto; }
.menu button { background: none; border: 0; text-align: left; padding: 1vh 1vw; border-radius: var(--r); font-size: 1.1rem; cursor: pointer; }
.menu button.on { color: var(--accent2); }
.keyboard { display: grid; grid-template-columns: repeat(10, 3.6vw); gap: .6vw; margin: 2vh 0; }
.keyboard button { height: 3.6vw; min-height: 34px; background: var(--bg3); border: 0; border-radius: var(--r); font-size: 1.2rem; cursor: pointer; }
.searchbox { font-size: 1.8rem; min-height: 2.6rem; padding: 1vh 1vw; background: var(--bg2); border-radius: var(--r); width: 40vw; min-width: 260px; }
/* phones and small windows (v12.67.0: landscape phones too — an iPhone on its side is 844 × 390) */
@media (max-width: 800px), (max-height: 500px) {
  .tv { flex-direction: column; }
  .tv-nav { width: 100%; min-width: 0; flex-direction: row; align-items: center; overflow-x: auto; padding: 1vh 3vw; flex: none;
    border-right: 0; border-bottom: 1px solid var(--line, #1c2130); }
  .tv-nav::-webkit-scrollbar { display: none; }
  .tv-brand { margin: 0 3vw 0 0; font-size: 1.25rem; }
  .tv-nav button { white-space: nowrap; padding: 1vh 3vw; }
  .tv-nav .mini { display: none; }
  .tv-main { padding: 2vh 4vw 6vh; }
  .backdrop { inset: 0; }
  .card { width: 30vw; } .card.wide { width: 60vw; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(28vw, 1fr)); gap: 2vh 3vw; }
  .detail-head { flex-direction: column; gap: 2vh; }
  .detail-head .poster { width: 34vw; min-width: 0; }
  .detail-head h1 { font-size: 1.8rem; }
  .overview { max-width: none; }
  .actions { gap: 2vw; }
  .btn { padding: 1.2vh 4vw; }
  .filters { gap: 2vw; margin: 0 -4vw 2vh; padding: .6vh 4vw; flex-wrap: nowrap; overflow-x: auto; }
  .filters::-webkit-scrollbar { display: none; }
  .filters .btn { flex: none; white-space: nowrap; }
  .filters .btn { padding: 1vh 3vw; }
  .ep .img { width: 34vw; min-width: 0; }
  .signin p { max-width: 92vw; font-size: 1.1rem; }
  .signin .pair { flex-direction: column; gap: 3vh; }
  .signin .pair-qr, .signin .pair-code, .signin .pair p { max-width: 92vw; }
  .signin .qr { width: 60vw; height: 60vw; }
  .picker { min-width: 70vw; }
  .picker button { padding: 1.4vh 4vw; }
  .keyboard { grid-template-columns: repeat(6, 1fr); width: 92vw; gap: 2vw; }
  .keyboard button { height: auto; padding: 1.4vh 0; }
  .searchbox { width: 92vw; }
  .nowplaying { flex-direction: column; }
  .np-cover { width: 60vw; }
}
@media (max-height: 500px) and (min-width: 600px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(18vw, 1fr)); }
  .card { width: 18vw; } .card.wide { width: 36vw; }
  .detail-head { flex-direction: row; }
  .detail-head .poster { width: 20vw; }
}
/* v12.90.0 (doc 79 release 2): Skip Intro / Skip Credits — bottom right, above the controls; OK on the remote presses it */
.player .skip { position: absolute; right: 4vw; bottom: 22vh; z-index: 6; font-size: 2.2vh; padding: 1.2vh 2.4vw;
  background: rgba(20, 20, 24, .85); color: #fff; border: .2vh solid rgba(255, 255, 255, .6); border-radius: .8vh; }
/* v14.181.0: Not a Commercial, beside (left of) Skip Commercial */
.player .skip.skip2 { right: auto; left: 4vw; }
.player .skip:focus, .player .skip:hover { background: #fff; color: #111; }
/* v12.104.0: a row's title opens its whole list (Videos Home) */
.row-title-btn { background: none; border: 0; color: inherit; font: inherit; padding: .2vh .5vw; margin-left: -.5vw; cursor: pointer; border-radius: 8px; }
.row-title-btn:hover, .row-title-btn:focus { background: rgba(255,255,255,.14); outline: none; }
.row-note { font-size: 1rem; font-weight: 400; margin-left: 1vw; }
/* v12.119.0: the full-screen music visualizer */
.tv-viz { position: fixed; inset: 0; background: #07070c; z-index: 50; }
.tv-viz canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tv-viz-art { position: absolute; left: 50%; top: 50%; width: 22vh; height: 22vh; object-fit: cover; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 40px rgba(0,0,0,.6); }
.tv-viz-osd { position: absolute; left: 0; right: 0; bottom: 6vh; text-align: center; transition: opacity .8s; }
.tv-viz-osd.off { opacity: 0; }
.tv-viz-osd .t { font-size: 4vh; font-weight: 700; }
.tv-viz-keys { margin-top: 1vh; font-size: 2vh; }
.tv-viz-msg { position: absolute; top: 45%; width: 100%; text-align: center; }

/* v12.119.0: Books — a book's page, and the reader (big type, a screen a press) */
.tv-book { display: flex; gap: 3vw; align-items: flex-start; }
.tv-book-cover { width: 18vw; min-width: 160px; border-radius: var(--r); box-shadow: 0 8px 30px rgba(0,0,0,.5); }
/* v13.114.0: a book's summary (three paragraphs at most, five lines) and what the focused button does */
.tv-book-summary { margin: 1.2vh 0; line-height: 1.45; max-width: 60vw; white-space: pre-line; display: -webkit-box;
  -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.tv-book-from { margin: 0 0 1vh; font-size: .85em; }
.tv-book-what { margin: 1vh 0; min-height: 1.4em; }
.tv-book-done { position: absolute; right: .5vw; top: .5vw; background: rgba(0,0,0,.65); color: #8f8; border-radius: 50%;
  width: 1.8em; height: 1.8em; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.tv-read { position: fixed; inset: 0; z-index: 50; background: #121212; color: #ece8e1; --rs: 1.7; }
.tv-read-page { position: absolute; top: 7vh; bottom: 9vh; left: 14vw; right: 14vw; overflow: hidden;
  font-family: Georgia, 'Times New Roman', serif; font-size: calc(var(--rs) * 1rem); line-height: 1.6; }
.tv-read-page p { margin: 0 0 .9em; text-align: justify; hyphens: auto; }
.tv-read-page h2 { font-size: 1.35em; line-height: 1.3; margin: .4em 0 .8em; }
.tv-read-page h2.h3, .tv-read-page h2.h4, .tv-read-page h2.h5, .tv-read-page h2.h6 { font-size: 1.12em; }
.tv-read-osd { position: absolute; left: 0; right: 0; bottom: 0; height: 7vh; padding: 0 4vw; display: flex; align-items: center;
  justify-content: space-between; gap: 2vw; font-size: 1rem; color: #bbb; background: linear-gradient(transparent, rgba(0,0,0,.6));
  transition: opacity .6s; }
.tv-read-osd span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 40vw; }
.tv-read-osd.off { opacity: .25; }
/* v12.162.0: an eBook's own pictures in the reader, never taller than the page */
.tv-read-fig { margin: .6em 0 1em; text-align: center; }
.tv-read-page p.cap { text-align: center; font-size: .86em; font-style: italic; opacity: .75; margin-top: -.4em; }   /* v14.103.3 */
/* v12.166.0: the book's tables (the first row as the heading) */
.tv-read-table { border-collapse: collapse; margin: .4em auto 1em; font-size: .85em; max-width: 100%; }
.tv-read-table th, .tv-read-table td { border: 1px solid rgba(128,128,128,.45); padding: .25em .6em; text-align: left; vertical-align: top; }
.tv-read-table th { font-weight: 700; }
/* v12.163.0: the book's bold and italic words */
.tv-read-page .rb { font-weight: 700; }
/* v12.215.0: Read Aloud — the word being said lit, its paragraph marked; the translation and the explained word */
.tv-read-page .w { border-radius: .18em; transition: background-color .08s; }
.tv-read-page .w.now { background: #ffd84a; color: #111; box-shadow: 0 0 0 .08em #ffd84a; }
.tv-read-page .reading { box-shadow: -.5em 0 0 -.3em rgba(255, 216, 74, .55); }
.tv-read.theme-light .tv-read-page .w.now, .tv-read.theme-sepia .tv-read-page .w.now { background: #ffcf33; color: #000; }
/* v12.219.0: the voice getting ready — large, in the middle, with the time left */
.tv-read-wait { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 4; pointer-events: none; }
.tv-read-wait-box { background: rgba(12, 12, 20, .9); border: .2vh solid var(--accent, #8b7cf6); border-radius: 2vh; padding: 4vh 5vw;
  text-align: center; color: #fff; box-shadow: 0 1vh 5vh rgba(0, 0, 0, .6); }
.tv-read-wait-t { font-size: 5.2vh; font-weight: 700; }
.tv-read-wait-eta { font-size: 3.4vh; margin-top: 1.4vh; color: #d8d4ff; }
.tv-read-tr { position: absolute; left: 14vw; right: 14vw; bottom: 8vh; padding: .6em 1em; border-radius: .4em; z-index: 2;
  background: rgba(10, 12, 20, .9); color: #bfe8ff; font-size: 1.35rem; line-height: 1.45; max-height: 30vh; overflow: hidden; }
.tv-read-page .ri { font-style: italic; }
.tv-read-fig img { max-width: 100%; max-height: 72vh; height: auto; border-radius: .2em; }
/* v12.164.0: Now Playing's Music Video / Lyrics Video */

/* v12.161.0: the PDF reader — one page fitted to the screen (or to its width, scrolled with ▲ ▼) */
.tv-pdf { background: #1b1b1b; }
.tv-pdf-page { position: absolute; top: 0; left: 0; right: 0; bottom: 7vh; overflow: hidden; display: flex;
  align-items: center; justify-content: center; }
.tv-pdf-page.wide { align-items: flex-start; overflow: hidden; display: block; text-align: center; }
.tv-pdf-page canvas { background: #fff; box-shadow: 0 0 2vh rgba(0,0,0,.6); }
.tv-pdf-page .err, .tv-pdf-page .muted { font-size: 1.4rem; }

/* v12.120.0: Study — the subtitle line PrisFlex draws (the word being spoken lit, hiragana over kanji), its
   translation, and a word explained */
.tv-study { position: absolute; left: 6vw; right: 6vw; bottom: 9vh; text-align: center; pointer-events: none; transition: bottom .3s; }
.tv-study.up { bottom: 31vh; }
/* v14.21.0 (Jeremy 2026-11-17 03:46): Settings → Player Subtitles → Position: at the top (its distance inline) */
.tv-study.top { bottom: auto; transition: none; }
/* v14.123.0 (Jeremy 2026-11-24 00:13): Sync to Voices' note — small, at the right: just above the slider while the bar
   shows (its place inline), else in the bottom right corner */
.tv-subnote { position: absolute; right: 4vw; bottom: 4vh; z-index: 6; max-width: 60vw; pointer-events: none; text-align: right;
  font-size: 2.4vh; font-weight: 500; line-height: 1.4; color: #e8ecf2; padding: .2em .7em; background: rgba(0,0,0,.55);
  border-radius: .4em; text-shadow: 0 1px 3px #000; transition: bottom .25s; }
.th-views .th-filter { width: 24vw; min-width: 12rem; min-height: 0; font-size: 1.1rem; margin-left: auto; border: 0; color: inherit; }
.tv-study-l { display: inline; font-size: 4.4vh; font-weight: 600; line-height: 2; color: #fff; padding: .15em .5em;
  background: rgba(0,0,0,.5); border-radius: .3em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  text-shadow: 0 0 6px #000, 0 2px 4px #000; }
.tv-study-l .sung { color: #cfd3da; }
.tv-study-l .now { color: #ffd84a; }
.tv-study-l rt { font-size: .5em; color: #ffe9a8; font-weight: 500; }
.tv-study-tr { margin-top: .6vh; font-size: 3vh; color: #bfe8ff; text-shadow: 0 0 6px #000, 0 2px 4px #000; }
/* v12.235.0: a word clicked in a book — the card over the page; a click anywhere closes it */
.tv-word-shade { position: absolute; inset: 0; z-index: 7; background: rgba(0, 0, 0, .25); cursor: pointer; }
.tv-read-page.explain { cursor: help; }
.tv-word { position: absolute; left: 50%; top: 7vh; transform: translateX(-50%); width: min(70vw, 900px); z-index: 7;
  background: rgba(12,14,22,.95); border: 1px solid rgba(255,255,255,.15); border-radius: 1vh; padding: 2.4vh 2.4vw;
  font-size: 2.6vh; line-height: 1.5; }
.tv-word-h b { font-size: 4.2vh; }
.tv-word-rd { color: #ffe9a8; font-size: 3vh; margin-left: .4em; }
.tv-word-m { font-size: 3vh; font-weight: 600; margin: 1vh 0; }
.tv-word-ex { margin-top: 1.4vh; padding-left: 1vw; border-left: 3px solid var(--accent); }
.tv-word-keys { margin-top: 1.6vh; font-size: 2vh; }

/* v12.122.0: Games streamed from the PC */
.tv-game video { width: 100%; height: 100%; object-fit: contain; background: #000; image-rendering: pixelated; }
.tv-game-msg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 3vh; color: #ddd;
  background: rgba(0,0,0,.6); padding: 2vh 3vw; border-radius: 1vh; text-align: center; max-width: 70vw; }
.tv-game-stats { position: absolute; right: 1.5vw; top: 1.5vh; font-size: 1.6vh; color: rgba(255,255,255,.45); }
.tv-gmenu { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 8; }
/* v12.124.0: the DS's stylus on a streamed game */
.tv-pen { position: absolute; width: 2.4vh; height: 2.4vh; margin: -1.2vh 0 0 -1.2vh; border: .3vh solid #fff; border-radius: 50%;
  box-shadow: 0 0 0 .2vh rgba(0,0,0,.6); pointer-events: none; z-index: 3; }
.tv-pen.down { background: rgba(255,255,255,.7); transform: scale(.8); }
.tv-game-hint { position: absolute; left: 50%; bottom: 2vh; transform: translateX(-50%); font-size: 1.8vh; color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.55); padding: .6vh 1.2vw; border-radius: .8vh; }
/* v12.125.0: posters on the Calendar */
.cal-poster { width: 5.6vw; min-width: 56px; aspect-ratio: 2/3; border-radius: var(--r); overflow: hidden; background: var(--bg3);
  flex: none; position: relative; }
.cal-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cal-poster .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }

/* v12.132.0: Quit PrisFlex TV? */
.quit-ask .picker { min-width: 30vw; align-items: stretch; text-align: center; padding: 3vh 2vw; gap: 1.2vh; }
.quit-ask .picker-title { font-size: 1.6rem; color: var(--fg); padding: 1vh 0 2vh; }
.quit-ask .quit-title { display: flex; justify-content: center; }
.quit-ask .quit-title .tv-brand { margin: 0; }
.quit-ask .picker button { text-align: center; background: var(--bg3); font-weight: 600; }
.quit-ask .picker button.on { color: var(--accent-ink, var(--fg)); background: var(--accent); }
/* v12.132.0: Search — the results count; the Calendar's day shelves (a card's line under the title) */
.search-note { margin: 1vh 0 0; }
.card .s2 { font-size: .8rem; color: var(--accent2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* v12.132.0: Live TV — favorites apart; the record button lit while recording */
.ctl-b.rec .ico { color: #ff4d4d; }
.ctl-b.rec.on { background: rgba(255, 77, 77, .35); }
.osd .ctl .ctl-b:focus, .osd .ctl .ctl-q:focus { box-shadow: 0 0 0 .25vw #fff; outline: none; }
/* v12.132.0: Lyrics (Now Playing → Lyrics) — the line being sung lit and kept in the middle */
.tv-lyrics { position: fixed; inset: 0; z-index: 50; background: linear-gradient(rgba(8,6,16,.86), rgba(8,6,16,.92)), var(--skin-art, url("marble.webp")) center / cover;
  display: flex; flex-direction: column; }
.tv-lyrics-head { display: flex; gap: 2vw; align-items: center; padding: 3vh 5vw 1vh; }
.tv-lyrics-head img { width: 9vh; height: 9vh; border-radius: var(--r); object-fit: cover; }
.tv-lyrics-head .t { font-size: 1.5rem; font-weight: 700; }
.tv-lyrics-body { flex: 1; overflow: hidden; position: relative; padding: 0 8vw; mask-image: linear-gradient(transparent, #000 15%, #000 85%, transparent); }
.tv-lyrics-lines { position: absolute; left: 8vw; right: 8vw; transition: transform .45s ease; }
.tv-lyrics-lines p { font-size: 2.3rem; font-weight: 700; line-height: 1.35; margin: 0 0 2.2vh; color: rgba(255,255,255,.35); transition: color .3s; }
.tv-lyrics-lines p.now { color: #fff; }
.tv-lyrics-lines p.past { color: rgba(255,255,255,.55); }
.tv-lyrics-plain p { color: #e6e6ee; font-size: 1.8rem; }
.tv-lyrics-foot { padding: 1.5vh 5vw 3vh; }
/* v12.132.0: Home Videos — a folder's videos one after another, the picture drifting slowly (Ken Burns) */
.player.reel video { transition: opacity .8s ease; }
.player.reel.fadein video { animation: reel-in 1s ease both; }
.player.reel.kenburns video { animation: reel-in 1s ease both, reel-kb var(--reel-sec, 60s) linear both; }
@keyframes reel-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes reel-kb { from { transform: scale(1); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
.player.reel.leaving video { opacity: 0; }
/* v12.134.0: an episode's Watched / Unwatched toggle beside it */
.ep-row { display: flex; align-items: center; gap: 1vw; }
.ep-row > .ep { flex: 1; min-width: 0; }
.ep-row > .ep-mark { flex: none; white-space: nowrap; }
.actions .btn.on, .ep-mark.on { box-shadow: inset 0 0 0 2px var(--accent2, var(--accent)); }
/* v12.135.0: a poster's IMDb rating, as on the web's posters */
/* v12.262.0: the title and show pages' big poster carries it too */
.detail-head .poster-box { position: relative; flex: none; line-height: 0; }
.card .img .rate, .poster-box .rate { position: absolute; left: .5vw; bottom: .5vw; padding: .15vw .45vw; border-radius: 6px; background: rgba(0, 0, 0, .72);
  color: #f5c518; font-size: .85rem; font-weight: 700; line-height: 1.2; }
/* v12.137.0: Live TV — the guide a day ahead, a program's details, the recordings */
.recdot { display: inline-block; width: .7em; height: .7em; border-radius: 50%; background: #e53935; margin-right: .4em; vertical-align: middle; }
.pi-new { display: inline-block; padding: 0 .4em; border-radius: 4px; background: var(--accent2); color: #001; font-size: .8em; font-weight: 700; margin-left: .3em; }
/* v14.194.0: last week's programs, until the station's own guide reaches that time */
.pi-exp { display: inline-block; padding: 0 .4em; border-radius: 4px; border: 1px dashed currentColor; font-size: .8em; font-weight: 600; margin-left: .3em; opacity: .8; }
.lg-prog.expected { opacity: .6; border-style: dashed; }
.picker.program-info { max-width: 70vw; width: 70vw; text-align: left; }
.program-info .pi-head { display: flex; gap: 1.4vw; align-items: flex-start; }
.program-info .pi-poster { width: 9vw; border-radius: var(--r); flex: none; }
.program-info .pi-title { font-size: 1.6rem; font-weight: 700; }
.program-info .pi-ep { font-weight: 600; margin-top: .6vh; }
.program-info .pi-sum { color: var(--muted); margin: 1.4vh 0; max-height: 26vh; overflow: hidden; }
.program-info .pi-own { margin: 1vh 0; }
.program-info .pi-btns { display: flex; flex-wrap: wrap; gap: 1vw; margin-top: 1.4vh; }
.program-info .pi-btns button { width: auto; }
.lg { display: flex; flex-direction: column; gap: .6vh; }
.lg-row { display: flex; align-items: stretch; gap: .8vw; }
.lg-ch { width: 9vw; min-width: 90px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3vh; background: var(--bg2); border-radius: var(--r); padding: .6vh .4vw; }
.lg-ch img { max-width: 100%; max-height: 5vh; object-fit: contain; }
.lg-progs { padding: 0; gap: .4vw; flex: 1; min-width: 0; }
.lg-prog { flex: none; text-align: left; background: var(--bg2); border: 0; border-radius: var(--r); padding: .8vh .8vw; color: inherit; overflow: hidden; }
.lg-prog.now { background: var(--bg3); }
.lg-prog:focus { outline: 3px solid var(--accent2); }
.lg-t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-s { color: var(--muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* v12.138.0 (docs/tv-parity.md batch 3): a playlist item no longer in the library, a lyric line chosen with ▲ ▼, the
   name box (New Playlist / Rename) */
.ep.song.gone { opacity: .5; }
.ep.song.gone .t { text-decoration: line-through; }
.tv-lyrics-lines p.pick { color: var(--accent2); outline: 3px solid var(--accent2); outline-offset: .6vh; border-radius: var(--r); }
.name-ask { gap: 1.2vh; padding: 3vh 2vw; min-width: 36vw; }
.name-ask input { font-size: 1.4rem; padding: 1.2vh 1vw; background: var(--bg3); color: var(--fg); border: 2px solid var(--line, #444);
  border-radius: var(--r); }
.name-ask input:focus { border-color: var(--accent); outline: none; }
.name-ask button:disabled { opacity: .45; }
/* v12.139.0 (TV parity 3b): the line being sung lit word by word, the translation under it, Lyrics on Top, ✓ on songs you have */
.tv-lyrics-lines p.now .next { color: rgba(255,255,255,.6); }
.tv-lyrics-lines p.now .w-now, .tv-viz-ly p.now .w-now { color: #ffd84a; }
.tv-lyrics-lines rt, .tv-viz-ly rt { font-size: .45em; color: #ffe9a8; font-weight: 500; }
.tv-lyrics-lines .ly-tr, .tv-viz-ly .ly-tr { display: block; font-size: .62em; font-weight: 500; color: #cdd6ff; margin-top: .5vh; }
.tv-viz-ly { position: absolute; left: 6vw; right: 6vw; top: 8vh; text-align: center; pointer-events: none; text-shadow: 0 2px 10px #000, 0 0 4px #000; }
.tv-viz-ly p { margin: 0 0 1.5vh; }
.tv-viz-ly p.now { font-size: 4.6vh; font-weight: 700; color: #fff; }
.tv-viz-ly p.now .next { color: rgba(255,255,255,.65); }
.tv-viz-ly p.next-line { font-size: 3vh; font-weight: 600; color: rgba(255,255,255,.55); }

/* v12.140.0 (TV parity 4): a photo's details, Montage (as the web's) */
.photo-info { position: absolute; right: 3vw; top: 4vh; max-width: 40vw; padding: 2vh 1.6vw; border-radius: var(--r); background: rgba(10,10,18,.82);
  color: #eee; font-size: 1.15rem; line-height: 1.6; z-index: 5; }
.montage { position: fixed; inset: 0; z-index: 60; background: #000; overflow: hidden; }
.montage-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease-in-out; }
.montage-slide.on { opacity: 1; }
.montage-slide.new-day.on { animation: montage-black 1.6s ease-in-out; }
@keyframes montage-black { 0% { opacity: 0; } 40% { opacity: 0; } 100% { opacity: 1; } }
.montage-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(28px) brightness(0.55); }
.montage-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; animation-duration: var(--dur, 5s);
  animation-timing-function: linear; animation-fill-mode: both; }
.mk-zoom-in { animation-name: mk-zoom-in; }
.mk-zoom-out { animation-name: mk-zoom-out; }
.mk-pan-left { animation-name: mk-pan-left; }
.mk-pan-right { animation-name: mk-pan-right; }
.mk-pan-up { animation-name: mk-pan-up; }
@keyframes mk-zoom-in { from { transform: scale(1.0); } to { transform: scale(1.12); } }
@keyframes mk-zoom-out { from { transform: scale(1.12); } to { transform: scale(1.0); } }
@keyframes mk-pan-left { from { transform: scale(1.08) translateX(2.5%); } to { transform: scale(1.08) translateX(-2.5%); } }
@keyframes mk-pan-right { from { transform: scale(1.08) translateX(-2.5%); } to { transform: scale(1.08) translateX(2.5%); } }
@keyframes mk-pan-up { from { transform: scale(1.08) translateY(2.5%); } to { transform: scale(1.08) translateY(-2.5%); } }
.montage.paused .montage-img, .montage.paused .montage-slide { animation-play-state: paused; }
.montage-caption { position: absolute; left: 0; right: 0; bottom: 12%; text-align: center; color: #fff; pointer-events: none;
  text-shadow: 0 2px 12px rgba(0,0,0,.8); animation: montage-caption 3.2s ease-in-out forwards; }
.montage-title { font-size: 6vh; font-weight: 700; }
.montage-day { font-size: 3vh; opacity: .9; margin-top: 1vh; }
@keyframes montage-caption { 0% { opacity: 0; transform: translateY(10px); } 20% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: 0; } }
.montage-wait { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #ddd; font-size: 1.6rem; }
.montage-end { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 1.5vw; background: rgba(0,0,0,.55); }
.montage-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center;
  padding: 2vh 3vw; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #eee; opacity: 0; transition: opacity .5s; }
.montage-bar.on { opacity: 1; }
.montage-song { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* v12.141.0 (TV parity 5): the reader's themes, game covers without art, wide Super Nintendo boxes, the game page */
.tv-read.theme-sepia { background: #f4ecd8; }
.tv-read.theme-sepia .tv-read-page { color: #3b2f1e; }
.tv-read.theme-light { background: #fbfbf8; }
.tv-read.theme-light .tv-read-page { color: #1b1b1b; }
.tv-read.theme-sepia .tv-read-page h2, .tv-read.theme-light .tv-read-page h2 { color: inherit; }
.row .card.game-wide { width: 23vw; }
.grid .card.game-wide { grid-column: span 2; width: auto; }
.card.game-wide .img { aspect-ratio: 16 / 9; }
.game-ph { display: flex; flex-direction: column; justify-content: center; gap: .6vh; padding: 1vh .8vw; text-align: center;
  background: linear-gradient(160deg, #3a3550, #1d1b29); }
.game-ph .sys { font-size: .85rem; opacity: .75; text-transform: uppercase; letter-spacing: .06em; }
.game-ph b { font-size: 1.05rem; }
.game-ph .rg { font-size: .8rem; opacity: .7; }
.game-ph.sys-nes { background: linear-gradient(160deg, #8a1f1f, #2b0d0d); }
.game-ph.sys-snes { background: linear-gradient(160deg, #4b3f8f, #1e1838); }
.game-ph.sys-genesis, .game-ph.sys-sms { background: linear-gradient(160deg, #1f4f8a, #0c1d33); }
.game-ph.sys-ps1 { background: linear-gradient(160deg, #555, #1a1a1a); }
.game-ph.sys-nds { background: linear-gradient(160deg, #6b6b78, #26262e); }
.tv-rating { background: var(--accent); color: var(--accent-ink, #fff); border-radius: 6px; padding: 0 .5em; }
.tv-synopsis { max-width: 60vw; line-height: 1.5; color: #d8d8e2; }
.tv-gmenu .f.empty { opacity: .55; }
/* v12.144.0 (doc 82 release 4): Settings → Away from Home */
.away-box { margin-top: 3vh; }
/* v13.13.1 (Jeremy 19:02): beside the settings, the QR code as big as the screen allows, readable from the couch */
.settings-cols { display: flex; gap: 3vw; align-items: flex-start; }
.settings-main { flex: 1 1 auto; min-width: 0; }
.settings-cols > .away-box { flex: none; margin-top: 0; width: min(46vw, 74vh); display: flex; flex-direction: column; }
.settings-cols > .away-box .away-row { flex-direction: column; align-items: stretch; gap: 1.2vh; flex-wrap: nowrap; }
.settings-cols > .away-box .away-qr { width: min(44vw, 64vh); height: min(44vw, 64vh); padding: 1.2vh; box-sizing: border-box; }
.settings-cols > .away-box .away-text p { margin: .4vh 0; }
@media (max-aspect-ratio: 1/1), (max-width: 900px) {
  .settings-cols { flex-direction: column; }
  .settings-cols > .away-box { width: 100%; }
  .settings-cols > .away-box .away-qr { width: min(80vw, 60vh); height: min(80vw, 60vh); }
}
.away-box h2 { font-size: 1.4rem; margin: 0 0 1.2vh; }
/* v14.87.0: the phone's code under the settings, shown when its button is pressed */
.settings-main .away-qr { width: min(40vh, 60vw); height: min(40vh, 60vw); }
.away-row { display: flex; gap: 2vw; align-items: center; flex-wrap: wrap; border-radius: var(--r); padding: 1vh .6vw;
  scroll-margin-bottom: 4vh; }
.away-row:focus { outline: 3px solid var(--accent2); outline-offset: 2px; }
.away-qr { width: 22vh; height: 22vh; flex: none; background: #fff; border-radius: 6px; }
.away-qr svg { width: 100%; height: 100%; display: block; }
.away-link { font-size: 1.3rem; word-break: break-all; color: var(--fg); }
/* v12.145.0: a game's keypad / keyboard */
.tv-keypad { display: flex; flex-direction: column; gap: .6vh; align-items: center; }
.tv-keyrow { display: flex; gap: .5vw; flex-wrap: wrap; justify-content: center; }
.tv-keyrow button { min-width: 4.2vw; padding: 1vh .8vw; font-size: 1.3rem; text-align: center; }
/* v12.149.0: the show's and the season's marks on rows of their own */
.actions.marks { margin-top: -0.8vh; }
.tabs.marks { margin-top: 0; }
/* v12.178.0: the Cast row of a movie's / show's page (round photos, the role under the name) and a person's page */
.cast { margin-top: 2vh; }
.person { flex: 0 0 auto; width: 9vw; min-width: 104px; background: none; border: 0; padding: 0; text-align: center; cursor: pointer;
  color: inherit; border-radius: var(--r); }
.person .face { width: 7.5vw; min-width: 88px; aspect-ratio: 1 / 1; margin: 0 auto; border-radius: 50%; overflow: hidden;
  background: var(--bg3); display: flex; align-items: center; justify-content: center; }
.person .face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person .face span, .face-none span { font-size: 1.8rem; font-weight: 700; color: var(--muted); }
.person .t { margin-top: 1vh; font-size: 1rem; font-weight: 600; line-height: 1.25; overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.person .s { font-size: .9rem; color: var(--muted); line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; }
.person.f:focus { box-shadow: none; transform: none; }
.person.f:focus .face { box-shadow: 0 0 0 .3vw var(--focus), 0 .6vw 2vw rgba(0,0,0,.6); transform: scale(1.06);
  transition: transform .12s ease, box-shadow .12s ease; }
.person.f:focus .t { color: #fff; }
.detail-head .face-none { display: flex; align-items: center; justify-content: center; }
.detail-head .face-none span { font-size: 4rem; }
@media (max-width: 800px), (max-height: 500px) {
  .person { width: 24vw; min-width: 0; }
  .person .face { width: 20vw; min-width: 0; }
  .person .face span { font-size: 1.3rem; }
}
@media (max-height: 500px) and (min-width: 600px) {
  .person { width: 14vw; }
  .person .face { width: 11vw; }
}

/* v12.197.0 (Jeremy 2026-10-30 04:12: the bicep logo's multicolored outline "around many UI elements"): what the remote
   is on gets the spectrum outline — coral inside, then amber, green and blue — instead of the white ring */
:root {
  --spec-1: #ff5f6d; --spec-2: #ffc371; --spec-3: #5ee08b; --spec-4: #5ab4ff;
  --spec-ring: 0 0 0 .1vw var(--spec-1), 0 0 0 .2vw var(--spec-2), 0 0 0 .3vw var(--spec-3), 0 0 0 .4vw var(--spec-4);
  --spec-ring-in: inset 0 0 0 .08vw var(--spec-4), inset 0 0 0 .16vw var(--spec-3), inset 0 0 0 .24vw var(--spec-2), inset 0 0 0 .32vw var(--spec-1);
}
.f:focus { box-shadow: var(--spec-ring), 0 .6vw 2vw rgba(0,0,0,.6); }
.card.f:focus { box-shadow: none; }
.card.f:focus .img, .person.f:focus .face { box-shadow: var(--spec-ring), 0 .6vw 2vw rgba(0,0,0,.6); }
.person.f:focus { box-shadow: none; }
.tv-nav button.f:focus { box-shadow: var(--spec-ring-in); }
.osd .ctl .ctl-b:focus, .osd .ctl .ctl-q:focus { box-shadow: var(--spec-ring); }
.lg-prog:focus { outline: none; box-shadow: var(--spec-ring); }

/* v12.223.0 (Jeremy 16:19): "PrisFlex App" in the menu, its name ending where the items' outline ends */
.tv-nav .tv-brand { margin: -.4vh 0 3vh 0; width: 100%; font-size: clamp(14px, 1.6vw, 2.2rem); align-items: flex-start; }
.tv-brand .bn { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.05; color: var(--fg); }
.tv-brand .bn small { font-size: .5em; font-weight: 600; color: var(--muted); letter-spacing: .12em; margin-top: .15em; }
.tv-brand.big .bn { margin-left: 0; align-items: flex-start; }
/* v12.226.0 (Jeremy 18:11: "The logo has space to be larger … PrisFlex App text … its top the same height as the HOME
   … the logo's triangle's top line up with them too"): the logo fills the room beside the name; the brand row starts
   where the Home button does (the main area's 3vh padding, −1vh of its row, +.6vh: 2.6vh, so −.4vh here), the
   triangle's top (7.7 % down its picture: logo.svg's top corner) and the name's capitals (.16em under its line box)
   pulled up to it */
.tv-nav .tv-brand img { width: 3.7em; height: 3.7em; margin-top: -.285em; }
.tv-nav .tv-brand .bn { margin-top: -.16em; }
/* v12.226.2 (Jeremy 18:27: "move a little left so the right side of it aligns with the spectral outline box below it
   … make its font bigger … tighter to the logo, like the P in PrisFlex should be above the right side of the
   triangle"): sized from the menu's inner width --W (its 15vw, at least 180px, less 2 × 1.2vw padding): the logo --L
   = .567 W tall, the name .159 W — "PrisFlex" (4.08 em) then ends at the items' right edge and starts 62 % across
   the logo, above its triangle's sloping top edge (34 % down there; the name's capitals end 12 % down); its capitals'
   top, the triangle's top (7.7 % into logo.svg) and the Home button's top (2.6vh) on one line */
.tv-nav { --W: calc(max(15vw, 180px) - 2.4vw); --L: calc(var(--W) * .567); }
.tv-nav .tv-brand { position: relative; display: block; width: var(--W); height: calc(var(--L) * .9); font-size: calc(var(--W) * .159); }
.tv-nav .tv-brand img { position: absolute; left: 0; top: calc(var(--L) * -.077); width: var(--L); height: var(--L); margin: 0; }
.tv-nav .tv-brand .bn { position: absolute; right: 0; top: -.16em; margin: 0; }

/* v12.223.0 (Jeremy 16:19: "PC keyboard/mouse controls too"): the reader's bar has buttons for a mouse; a click on the
   page's left or right third turns the page; the keys' help says the PC's keys where there is a mouse */
.tv-read-page { cursor: pointer; }
.tv-read-ctl { display: flex; align-items: center; gap: .5vw; }
.tv-read-b { background: rgba(255,255,255,.08); color: inherit; border: 1px solid rgba(255,255,255,.18); border-radius: .4vw;
  font: inherit; font-size: 1rem; min-width: 2.4em; height: 2.1em; padding: 0 .5em; cursor: pointer; }
.tv-read-b:hover { background: rgba(255,255,255,.2); }
.tv-read-pc { display: none; }
@media (hover: hover) and (pointer: fine) { .tv-read-keys { display: none; } .tv-read-pc { display: inline; } }
@media (hover: none) { .tv-read-b { display: none; } }
/* the phone's menu row: the brand in line again (after v12.226.2's sizes, so it wins there) */
@media (max-width: 800px), (max-height: 500px) { .tv-nav .tv-brand { position: static; display: flex; width: auto; height: auto;
    font-size: 1.25rem; margin: 0 3vw 0 0; align-items: center; }
  .tv-nav .tv-brand .bn { position: static; margin: 0; } .tv-nav .tv-brand img { position: static; width: 2.6em; height: 2.6em; margin: 0; } }
/* v12.233.0: a comic's page — the whole page on the screen, or its width (OK) */
.tv-comic { display: flex; align-items: center; justify-content: center; }
.tv-comic img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.tv-comic.wide { align-items: flex-start; }
.tv-comic.wide img { max-height: none; width: 100%; height: auto; }

/* v12.236.0: Books by author — the line above Author Unknown */
.tv-books-hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .18); margin: 2.2rem 0 1rem; }

/* v12.265.0 (Jeremy 2026-10-31 23:09: "the posters are scrunched together"): every poster grid (Videos lists, Search,
   Watch List, Music, Photos, Books, Games …) has Home's row poster size and gap — the columns were narrower than a poster
   (minmax(8.6vw, 1fr) with posters of at least 110 px: 83 px columns on the Fire TV's 960 × 540 page), so each poster
   ran into the next one; a poster fills its column and its lines end in … inside it */
.grid { grid-template-columns: repeat(auto-fill, max(8.6vw, 110px)); gap: 2.2vh var(--gap); justify-content: start; }
.grid > .card { width: auto; min-width: 0; }
.grid > .card .t, .grid > .card .s, .grid > .card .s2 { min-width: 0; }
.grid.wide-grid { grid-template-columns: repeat(auto-fill, minmax(max(20vw, 220px), 1fr)); }
@media (max-width: 800px), (max-height: 500px) {
  :root { --gap: 3vw; }
  .grid { grid-template-columns: repeat(auto-fill, 30vw); gap: 2vh var(--gap); }
  .grid.wide-grid { grid-template-columns: repeat(auto-fill, minmax(60vw, 1fr)); }
}
@media (max-height: 500px) and (min-width: 600px) {
  :root { --gap: 1.6vw; }
  .grid { grid-template-columns: repeat(auto-fill, 18vw); }
}
/* v13.17.0: the poster that spins open into its title's page (tv.js posterFly) */
.poster-fly { position: fixed; z-index: 200; object-fit: cover; border-radius: .6vw; pointer-events: none;
  box-shadow: 0 1.5vw 4vw rgba(0, 0, 0, .6); backface-visibility: visible; will-change: transform, filter; }
/* v13.18.0 (doc 102): Play On… — the bar while another device plays what this one sent, and the Remote */
.remote-bar { position: fixed; left: 50%; bottom: 1.2vh; transform: translateX(-50%); z-index: 60; display: flex; gap: .5em;
  align-items: center; max-width: calc(100vw - 16px); padding: .4em .5em; border-radius: 999px; background: rgba(24, 20, 40, .94);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .12); font-size: clamp(13px, 1.1vw, 20px); }
.remote-bar button { background: none; border: 0; color: inherit; font: inherit; padding: .35em .7em; border-radius: 999px; cursor: pointer; }
.remote-bar button:focus, .remote-bar button:hover { background: rgba(255, 255, 255, .14); outline: none; }
.remote-bar-main { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.remote-page { max-width: 720px; }
.remote-now { margin-top: 1.2em; }
.remote-title { font-size: 1.3em; margin-bottom: .3em; }
.remote-time { font-variant-numeric: tabular-nums; margin-bottom: .4em; }
.remote-seek { width: 100%; margin: .4em 0 .8em; }
.remote-pad { display: grid; grid-template-columns: repeat(3, minmax(64px, 96px)); gap: .5em; justify-content: start; margin: 1.2em 0; }
.remote-pad .btn { min-height: 56px; font-size: 1.2em; justify-content: center; }

/* v13.24.0 (Jeremy 2026-11-04 01:31): the Guide — one scroller for the whole guide (the channels and the times stay in
   view), favorites then All Channels, 18 px a minute, the times every hour and half hour */
:root { --lgch: max(9vw, 90px); }
.lg2 { position: relative; overflow: auto; max-height: calc(100vh - 16vh); scroll-padding-left: calc(var(--lgch) + 8px);
  scroll-padding-top: 6vh; border-radius: var(--r); -webkit-overflow-scrolling: touch; }
.lg2-in { position: relative; }
.lg2-head { position: sticky; top: 0; z-index: 4; display: flex; background: var(--bg); }
.lg2-corner { position: sticky; left: 0; z-index: 5; width: var(--lgch); flex: none; background: var(--bg); color: var(--muted);
  font-size: .85rem; font-weight: 600; padding: .8vh .4vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg2-times { position: relative; flex: none; height: 4.4vh; min-height: 30px; margin-left: .4vw; }
.lg2-slot { position: absolute; top: 0; bottom: 0; padding: .8vh .5vw 0; border-left: 1px solid rgba(255, 255, 255, .18);
  color: var(--muted); font-size: .85rem; white-space: nowrap; }
.lg2-slot.h { color: #fff; font-weight: 700; border-left-color: rgba(255, 255, 255, .5); }
.lg2-sec { position: sticky; left: 0; display: inline-block; padding: 1.8vh .6vw .8vh; font-size: 1.25rem; font-weight: 700; }
.lg2-row { display: flex; height: 9vh; min-height: 62px; margin-bottom: .6vh; }
.lg2-ch { position: sticky; left: 0; z-index: 3; width: var(--lgch); flex: none; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .3vh; background: var(--bg2); border-radius: var(--r); padding: .4vh .4vw;
  box-sizing: border-box; box-shadow: 6px 0 10px rgba(0, 0, 0, .45); }
.lg2-ch img { max-width: 100%; max-height: 5vh; object-fit: contain; background: #fff; border-radius: 6px; padding: .3vh .3vw; box-sizing: border-box; }
.lg2-lane { position: relative; flex: none; height: 100%; margin-left: .4vw; }
.lg2 .lg-prog { position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; }
.lg2-now { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--accent2); z-index: 1; pointer-events: none; }
/* v13.29.0 (Jeremy 2026-11-04 11:56): Live TV is the Guide — title, Recordings / Scheduled Recordings, the facts at the
   right; the programs' backgrounds as on PrisFlex's page */
.lg2-top { display: flex; align-items: center; gap: 1.5vw; flex-wrap: wrap; margin-bottom: 1vh; }
.lg2-top .tv-title { margin: 0; }
.lg2-top .filters { padding: 0; margin: 0; }
.lg2-facts { margin-left: auto; font-size: 1.1rem; text-align: right; }
.lg2 .lg-prog { overflow: hidden; }
.lg2 .lg-prog .lg-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%;
  opacity: .8; pointer-events: none; z-index: 0; }
.lg2 .lg-prog.art::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 8, 18, .78) 0%, rgba(10, 8, 18, .42) 55%, rgba(10, 8, 18, .15) 100%); }
.lg2 .lg-prog .lg-t, .lg2 .lg-prog .lg-s { position: relative; z-index: 1; }

/* v13.31.0 (Jeremy 2026-11-04 13:33: "The highlighted show has the spectral outline, it's cutoff on the left side by the
   channel logo"): in the guide the ring is drawn inside the program, above its picture, so the channels never cover it */
.lg2 .lg-prog:focus { box-shadow: none; }
.lg2 .lg-prog:focus::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 .12vw var(--spec-4), inset 0 0 0 .24vw var(--spec-3), inset 0 0 0 .36vw var(--spec-2), inset 0 0 0 .48vw var(--spec-1); }
/* v13.31.0 (Jeremy 13:39): a hole in the guide — a dark gray card, "No Program Information" */
.lg2 .lg-prog.gap { background: #26282d; color: var(--muted); }
.lg2 .lg-prog.gap .lg-t { font-weight: 500; }

/* v13.32.1 (Jeremy 2026-11-04 14:53: "the spectral outline is cutoff around those buttons … The first column near the
   tv channel logos still cuts off the spectral outline a little on the left side"): room for the ring around the
   header's buttons, and no shadow from the channel column over the first program */
.lg2-top .filters { overflow: visible; padding: 1vh .8vw; margin: -1vh -.8vw; }
.lg2-ch { box-shadow: none; }
.lg2-lane, .lg2-times { margin-left: .6vw; }

/* v13.32.2 (Jeremy 2026-11-04 16:04: "i have channel 9.1 selected, but the left outline of the spectral outline is still
   obscured"): a program in the guide does not grow when picked (.f:focus scales by 1.05, which pushed its left edge
   under the channel column); the ring inside it marks it */
.lg2 .lg-prog:focus { transform: none; z-index: 2; }

/* v13.32.3 (seen in Jeremy's 16:38 picture: a 4–6 PM movie on 5.5 showed no title once the guide was scrolled to 5:00):
   a program that began before what is in view keeps its title in view — the text sticks right of the channels.
   overflow: clip (not hidden) so the program is no scroll container and the sticky text follows the guide's scroll */
.lg2 .lg-prog { overflow: hidden; overflow: clip; }
.lg2 .lg-prog .lg-t, .lg2 .lg-prog .lg-s { position: sticky; left: calc(var(--lgch) + 1.4vw); width: fit-content; max-width: 100%; }

/* v13.33.1 (Jeremy 2026-11-04 18:45): the small poster at a program's left, as the web guide shows it — also for a show
   the library does not have, which has a poster but no background */
.lg2 .lg-prog.has-poster { padding-left: calc(3.2vw + .8vw); }
.lg2 .lg-prog .lg-poster { position: absolute; left: 0; top: 0; bottom: 0; height: 100%; width: 3.2vw; object-fit: cover; z-index: 1;
  border-right: 1px solid rgba(0, 0, 0, .5); pointer-events: none; }

/* v13.33.1 (Jeremy 2026-11-04 18:27): with the remote the menu opens over the page — nothing moves to make room */
@media (min-width: 801px) and (min-height: 501px) {
  .tv.navkey .tv-nav { position: fixed; top: 0; left: 0; bottom: 0; z-index: 40;
    background: linear-gradient(180deg, var(--nav-a, rgba(17,20,28,.97)), var(--nav-b, rgba(11,13,18,.97))); box-shadow: 1.2vw 0 3vw rgba(0, 0, 0, .65); }
  .tv.navkey .backdrop { left: 0; }
}

/* v13.35.0 (Jeremy 2026-11-04 20:55): Music's alphabet — one line of small buttons that wraps on a narrow screen */
.letters { display: flex; flex-wrap: wrap; gap: .4vw; margin: 0 0 2vh; }
.letters .btn { min-width: 2.6vw; padding: .5vh .6vw; text-align: center; }
/* v13.36.0: the filter box above Artists / Albums / Songs */
.findbox { display: flex; gap: .6vw; align-items: center; margin: 0 0 1.4vh; }
.findbox input { width: min(40vw, 30em); }
.findbox .findbtn { min-width: min(30vw, 22em); text-align: left; }   /* v13.77.0: OK opens the TV keyboard's box */

/* v13.41.0 (Jeremy 2026-11-05 03:00: "Whenever we have a spectral outline, I want it to have a break in the outline and
   for that break to rotate clockwise around the box, and … another break exactly opposite of the first break that is
   rotating the opposite direction. So that both breaks intercept each other at middle of the box"): the ring is drawn
   by a ::after (::before in the guide) over the box — the same four bands as before, coral against the box, blue
   outside — and two gaps are cut out of it with conic masks around the box's centre: one starts at the top and turns
   clockwise, the other starts at the bottom and turns the other way, so they meet at the middle of the right side and
   of the left side every half turn. The drop shadow stays on the box itself. */
@property --spec-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --spec-b { syntax: '<angle>'; inherits: false; initial-value: 180deg; }
@keyframes spec-turn { from { --spec-a: 0deg; --spec-b: 180deg; } to { --spec-a: 360deg; --spec-b: -180deg; } }
:root { --spec-w: .4vw; }
.f:focus:not(.card):not(.person):not(.profile):not(.lg-prog)::after, .card.f:focus .img::after, .person.f:focus .face::after,
.profile.f:focus .profile-face::after,
.osd .ctl .ctl-b:focus::after, .osd .ctl .ctl-q:focus::after, .lg-prog:focus::before, .ex-ring::after {
  content: ""; position: absolute; inset: calc(-1 * var(--spec-w)); border-radius: inherit; pointer-events: none; z-index: 3;
  box-shadow: inset 0 0 0 calc(var(--spec-w) * .25) var(--spec-4), inset 0 0 0 calc(var(--spec-w) * .5) var(--spec-3),
    inset 0 0 0 calc(var(--spec-w) * .75) var(--spec-2), inset 0 0 0 var(--spec-w) var(--spec-1);
  background: none;
  /* v14.114.0: a Visual Theme may cut the outline its own way (--spec-mask, a tile of --spec-tile) and move it
     (--spec-anim / --spec-speed / --spec-ease); without them, Prism's two turning gaps */
  -webkit-mask: var(--spec-mask, conic-gradient(from calc(var(--spec-a) - 9deg), #0000 0 18deg, #000 0),
    conic-gradient(from calc(var(--spec-b) - 9deg), #0000 0 18deg, #000 0));
  -webkit-mask-composite: var(--spec-wcomp, source-in);
  mask: var(--spec-mask, conic-gradient(from calc(var(--spec-a) - 9deg), #0000 0 18deg, #000 0),
    conic-gradient(from calc(var(--spec-b) - 9deg), #0000 0 18deg, #000 0));
  mask-composite: var(--spec-comp, intersect);
  -webkit-mask-size: var(--spec-tile, auto) var(--spec-tile, auto); mask-size: var(--spec-tile, auto) var(--spec-tile, auto);
  animation: var(--spec-anim, spec-turn) var(--spec-speed, 3s) var(--spec-ease, linear) infinite;
  filter: var(--spec-glow, none); }
/* the box keeps only its drop shadow (the ring is the ::after now) */
.f:focus { box-shadow: 0 .6vw 2vw rgba(0,0,0,.6); }
.card.f:focus, .person.f:focus { box-shadow: none; }
.card.f:focus .img, .person.f:focus .face { box-shadow: 0 .6vw 2vw rgba(0,0,0,.6); }
.osd .ctl .ctl-b:focus, .osd .ctl .ctl-q:focus { box-shadow: none; }
:where(.osd .ctl .ctl-b, .osd .ctl .ctl-q) { position: relative; }
/* a field cannot draw a ::after: it keeps the ring as it was */
input.f:focus, textarea.f:focus, select.f:focus { box-shadow: var(--spec-ring), 0 .6vw 2vw rgba(0,0,0,.6); }
.person .face { position: relative; }
.person.f:focus .face::after { border-radius: 50%; }
.card.f:focus .img::after { border-radius: calc(var(--r) + var(--spec-w)); }
/* a poster and a face clip their picture to their rounded shape: the clip now reaches past the edge by the ring's width
   (overflow-clip-margin) and the picture inside is rounded itself */
.card .img, .person .face { overflow: clip; }
.card .img > img, .card .img > .ph { border-radius: inherit; }
.card .img > .full { border-radius: var(--r) var(--r) 0 0; }
.card .img > .bar { border-radius: 0 0 var(--r) var(--r); overflow: hidden; }
.person .face > img { border-radius: 50%; }
@supports not (overflow-clip-margin: 1px) {
  .card .img, .person .face { overflow: hidden; }
  .card.f:focus .img::after, .person.f:focus .face::after, .profile.f:focus .profile-face::after { inset: 0; }   /* no room outside: the ring just inside */
}
/* the menu and the guide: inside the box, as before */
.tv-nav button.f:focus { box-shadow: none; }
.tv-nav button.f:focus::after { inset: 0; border-radius: inherit; --spec-w: .32vw; }
.lg-prog:focus { box-shadow: none; }
.lg-prog:focus::before { inset: 0; border-radius: inherit; z-index: 2; --spec-w: .48vw; }

/* v13.45.0 (Jeremy 2026-11-05 13:38: "I see no spectral outline around the posters on the home screen"): a poster's
   ring is drawn just outside the picture, and the picture's clip reaches past its edge by overflow-clip-margin — which
   was calc(var(--spec-w) + 2px): Chromium takes no calc() there (CSS.supports says false), so the margin was 0 and
   the whole ring was clipped away. A plain length now. */
.card .img, .person .face { overflow-clip-margin: .6vw; }
/* v13.45.0: the two gaps as a fixed share of the box's edge, cut square across the ring (static/spec-gaps.js, a paint
   worklet) instead of wedges around the centre; html.spec-paint is set once the worklet has loaded, else the conic
   masks above stay */
@property --spec-w { syntax: '<length>'; inherits: true; initial-value: 4px; }
html.spec-paint .f:focus:not(.card):not(.person):not(.profile):not(.lg-prog)::after,
html.spec-paint .card.f:focus .img::after,
html.spec-paint .person.f:focus .face::after,
html.spec-paint .profile.f:focus .profile-face::after,
html.spec-paint .osd .ctl .ctl-b:focus::after,
html.spec-paint .osd .ctl .ctl-q:focus::after,
html.spec-paint .ex-ring::after,
html.spec-paint .lg-prog:focus::before {
  -webkit-mask: var(--spec-mask, paint(spec-gaps)); -webkit-mask-composite: source-over; mask: var(--spec-mask, paint(spec-gaps)); mask-composite: add;
  -webkit-mask-size: var(--spec-tile, auto) var(--spec-tile, auto); mask-size: var(--spec-tile, auto) var(--spec-tile, auto); }   /* v14.114.0: a Visual Theme's own cut */
/* v13.45.0 (Jeremy 2026-11-05 13:36): Settings is a gear at the bottom of the menu, below the add-ons' entries; the
   button keeps the entries' padding, so the gear's left edge lines up with their text */
.tv-nav button.nav-gear { display: flex; align-items: center; width: auto; align-self: flex-start; margin-top: .6vh; line-height: 0; }
.tv-nav button.nav-gear .gear { display: block; }
/* v13.46.0 (Jeremy 2026-11-05 14:02): Explore — the posters fly in; the spectrum outline stays in the middle */
.explore { position: relative; display: flex; flex-direction: column; height: calc(100vh - 9vh); }
.explore-bar { align-self: center; padding: .5vh 1.4vw; border-radius: 999px; background: rgba(17, 20, 28, .85);
  color: var(--muted); font-size: 1rem; letter-spacing: .02em; margin-bottom: 1.2vh; z-index: 5; }
.explore-box { position: relative; flex: 1; overflow: hidden; }
.ex-cell { position: absolute; left: 0; top: 0; border-radius: var(--r); overflow: hidden; background: var(--bg3);
  box-shadow: 0 .6vw 1.6vw rgba(0, 0, 0, .5); will-change: transform; }
.ex-cell > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ex-ring { position: absolute; padding: 0; border: 0; background: transparent; border-radius: var(--r); z-index: 4; cursor: pointer; }
.ex-ring:focus { position: absolute; z-index: 4; box-shadow: none; outline: none; transform: none; }   /* .f:focus is relative, scaled */
/* v14.35.0 (Jeremy 2026-11-17 23:54): no ring while the posters fly in — it keeps the focus, it is just not drawn */
.ex-ring.ex-ring-wait::after, .ex-ring.ex-ring-wait:focus::after { opacity: 0; }
.ex-ring::after { transition: opacity .35s ease; }
.explore-name { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: 1.3rem; font-weight: 600;
  padding: .8vh 0; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent); pointer-events: none; z-index: 5; }

/* v13.49.0 (Jeremy 2026-11-05 20:03): the brand opens the menu with a tap (never with the remote: it takes no focus); on
   a phone the menu then lies over the page as the TV's left panel, top to bottom */
.tv-brand.tappable { cursor: pointer; -webkit-tap-highlight-color: transparent; }
@media (max-width: 800px), (max-height: 500px) {
  .tv.navdrawer .tv-nav { position: fixed; top: 0; left: 0; bottom: 0; z-index: 60; width: min(80vw, 340px);
    flex-direction: column; align-items: stretch; overflow-x: hidden; overflow-y: auto; padding: 3vh 5vw;
    background: linear-gradient(180deg, var(--nav-a, rgba(17,20,28,.98)), var(--nav-b, rgba(11,13,18,.98))); box-shadow: 4vw 0 8vw rgba(0, 0, 0, .7);
    border-bottom: 0; border-right: 1px solid var(--line, #1c2130); }
  .tv.navdrawer .tv-nav button { white-space: normal; text-align: left; padding: 1.4vh 3vw; }
  .tv.navdrawer .tv-nav .tv-brand { margin: 0 0 2.5vh 0; }
  .tv.navdrawer .tv-nav button.nav-gear { align-self: flex-start; }
}

/* v13.50.0 (Jeremy 2026-11-05 20:51): on a phone the ring was a hair (.4vw ≈ 1.6 px) and went with the focus (a tap or a
   swipe takes it) — at least 5 px now, drawn outside the poster all the time; the ratings show on the posters (top right, as on the media server); a swipe never scrolls the page */
.ex-ring { --spec-w: max(.45vw, 5px); }
.ex-ring:focus::after, .ex-ring::after { border-radius: calc(var(--r) + var(--spec-w)); }
.explore-box { touch-action: none; }
/* v14.33.0 (Jeremy 2026-11-17 23:15: "Explore's ratings are on the top right of the posters instead of the bottom left,
   and the focused poster isn't displaying the full text at the top of the poster wrapping around the full title"): the
   rating bottom left as on every other poster; the middle one shows its whole title over its top, as Home's cards */
.ex-cell .rate { position: absolute; left: max(.4vw, 4px); bottom: max(.4vw, 4px); padding: .15em .45em; border-radius: 6px;
  background: rgba(0, 0, 0, .72); color: #f5c518; font-size: .85rem; font-weight: 700; line-height: 1.2; pointer-events: none; }
.ex-cell .full { position: absolute; left: 0; right: 0; top: 0; z-index: 1; padding: .5vw .5vw 1.1vw; pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, .88), rgba(0, 0, 0, .72) 60%, rgba(0, 0, 0, 0)); color: #fff; font-weight: 700;
  font-size: .78rem; line-height: 1.2; white-space: normal; overflow-wrap: anywhere; text-shadow: 0 1px 3px #000;
  border-radius: var(--r) var(--r) 0 0; }
.ex-cell.dc > .rate { left: calc(6.65% + max(.3vw, 3px)); bottom: calc(1.4% + max(.3vw, 3px)); }
.ex-cell.dc > .full { top: 7.6%; left: 6.5%; right: 2%; border-radius: 0; }

/* v13.55.0 (Jeremy 2026-11-06 02:36): the director(s) and the cast on one line — each group under its own heading, a
   thin vertical line between them; the whole line scrolls as one row */
.people-line { align-items: stretch; }
.people-line .pgroup { flex: 0 0 auto; display: flex; flex-direction: column; }
.people-line .pgroup > h2.tv-row-title { margin: 0 0 1.4vh; position: sticky; left: 0; }
.people-line .pfaces { display: flex; gap: var(--gap); }
.people-line .pdivider { flex: 0 0 auto; width: 2px; margin: 4.2vh .6vw 1vh; border-radius: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.35) 20%, rgba(255,255,255,.35) 80%, rgba(255,255,255,0)); }
.cast .people-line { padding-top: 3vh; }
/* v13.55.0 (Jeremy 02:36: "the director and cast are circles … the animated spotlight spectral outline isn't working
   on them correctly"): the paint worklet cut its two gaps along a rectangle's edge, so on a circle they vanished at
   the corners' angles and jumped; a round box tells it so (--spec-round: 1) and the gaps are cut as wedges around the
   centre, square across a round ring */
@property --spec-round { syntax: '<number>'; inherits: true; initial-value: 0; }
.person.f:focus .face::after { --spec-round: 1; }
/* v13.55.0 (Jeremy 2026-11-06 02:54: "give it a dark background, or a box of low brightness with rounded corners …
   drop that title below the posters"): the name under the grid, on a dark rounded box */
.explore-name { position: static; flex: none; display: flex; justify-content: center; padding: 1.2vh 0 0; background: none; min-height: calc(1.3rem * 1.4 + 2.6vh); }   /* always there: the box keeps its height */
.explore-name > span { display: inline-block; max-width: 90%; padding: .7vh 1.6vw; border-radius: 999px;
  background: rgba(10, 12, 18, .88); box-shadow: 0 .4vw 1.4vw rgba(0, 0, 0, .5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* v13.63.0 (Jeremy 2026-11-06 19:14: "Not everything fits on the left pane now on the tv.  I think we should add the
   ability to move down the left menu and have it scroll, but always keep home below the logo.  Right now home is on
   top of the logo"): the menu's entries were squeezed (a flex column shrinks its children — the logo's box too, so
   Home slid up over the logo); nothing shrinks now and the menu scrolls as the focus moves down it */
@media (min-width: 801px) and (min-height: 501px) {
  .tv-nav { overflow: hidden; }
  .tv-nav > * { flex-shrink: 0; }
  /* v13.63.1 (Jeremy 20:15: "The logo should never scroll off screen.  Only the menu items should scroll"): the
     entries in a box of their own under the logo, the mini player below it */
  .tv-nav > .nav-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none;
    display: flex; flex-direction: column; gap: .6vh; }
  .nav-scroll::-webkit-scrollbar { display: none; }
  /* v13.63.2 (Jeremy 2026-11-06 20:24: "The spectral outline is clipped on the left and right on the left pane menu.
     And at the top when it's on home"): a box that scrolls clips what is drawn outside its entries — room around them
     for the outline, the box itself as much bigger (the entries stay where they were) */
  .tv-nav > .nav-scroll { padding: .8vw; margin: -.8vw; }
  /* v13.64.1 (Jeremy 2026-11-06 20:53: "When I scroll down on left menu then back up to home the spectral outline is
     clipped at the top"): a move scrolls its entry "just into view" — up to the box's edge, the room for the outline
     outside it; the box keeps that room when it scrolls an entry into view */
  .tv-nav > .nav-scroll { scroll-padding: .8vw; }
}
/* the phone's row and drawer: the entries straight in the menu as before */
@media (max-width: 800px), (max-height: 500px) { .nav-scroll { display: contents; } }
/* v13.63.2 (Jeremy 2026-11-06 20:28: "The spectral outline is cutoff on the left side when on the first item of every
   shelf in the Home Screen"): a shelf scrolls, so it clips what is drawn outside it — the highlighted poster grows 5 %
   and its outline sits outside it; more room at the shelf's two ends, the shelf as much wider (the posters stay put) */
.row { padding-left: 1vw; padding-right: 1vw; margin-left: -.6vw; margin-right: -.6vw; }   /* 20:33: under --gap: no sliver */
/* 20:34: a row's end padding is not scrolled to in every browser — a spacer after the last poster (the gap before it) */
.row::after { content: ''; flex: 0 0 1px; }

/* v13.65.0 (Jeremy 2026-11-06 21:04): a folder's picture — its first four videos' pictures, two by two */
/* v13.75.0 (fixes 27): z-index 0 — the player's .montage (z-index 60) put a neighbour's picture over the enlarged folder */
.card .img .montage { z-index: 0; position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; background: #000; }
.card .img .montage img { width: 100%; height: 100%; object-fit: cover; position: static; }
/* v13.65.0 (Jeremy 2026-11-06 21:14: "On a show detail page, the spectral outline around the play button obscures the
   count above it, like '0 of 7 watched'"): the buttons' row under a title's lines keeps room for the ring (it is drawn
   .4vw outside the button, which also grows 6 %) */
.detail-head .actions:not(.marks) { margin-top: 1.1vw; }

/* v13.66.0 (Jeremy 2026-11-06 21:36): the seek bar takes the focus (↓ from the video; ← → move in it), and the subtitles'
   − / timing / + sit together */
.osd .track.seek:focus { outline: none; box-shadow: 0 0 0 .25vw var(--spec-2, #8fd3ff), 0 0 0 .45vw var(--spec-1, #ff7a6b); border-radius: 1vw; }
.osd .track.seek:focus .knob { transform: scale(1.6); }
.osd .ctl .ctl-shift { display: inline-flex; gap: .15vw; align-items: center; }
.osd .ctl .ctl-shift .ctl-q { padding-left: .5vw; padding-right: .5vw; min-width: 0; }

/* v13.66.0 (Jeremy 2026-11-06 22:01: "Anytime we highlight a poster anywhere in the app, I want it to enlarge by 25% and
   have the spectral outline around the now bigger image. Moving off it should return it to its default size and enlarge
   the newly selected poster"): the highlighted poster's picture grows 25 % from its centre (its outline, the picture's
   ::after, grows with it — drawn a fifth thinner so it looks as wide as everywhere else) and lies over its neighbours;
   leaving it, it shrinks back as the next one grows (the same transition). The title lines under it move down by the
   picture's growth so they are never covered (12.5 % of the picture's height: --ar is height / width). A shelf clips what
   is drawn outside it, so it has room around its posters for the bigger picture (the posters stay where they were). */
.card { --ar: 1.5; --pf-grow: 1.25; }
.card.wide, .card.game-wide { --ar: .5625; }
.card.sq { --ar: 1; }
.card .img { transition: transform .18s ease; transform-origin: 50% 50%; }
.card .t, .card .s, .card .s2 { transition: transform .18s ease; }
.card.f:focus .img { transform: scale(var(--pf-grow)); --spec-w: .32vw; z-index: 1; }
.card.f:focus .t, .card.f:focus .s, .card.f:focus .s2 { transform: translateY(calc(8.6vw * .125 * var(--ar))); }
.card.wide.f:focus .t, .card.wide.f:focus .s, .card.wide.f:focus .s2 { transform: translateY(calc(15.6vw * .125 * var(--ar))); }
@supports (container-type: inline-size) {
  .card { container-type: inline-size; }
  .card.f:focus .t, .card.f:focus .s, .card.f:focus .s2,
  .card.wide.f:focus .t, .card.wide.f:focus .s, .card.wide.f:focus .s2 { transform: translateY(calc(12.5cqw * var(--ar))); }
}
.card { scroll-margin: 2.4vw 3vw; }   /* scrolled to with the room for its bigger picture */
.row { padding: 2.2vw 2.9vw 2.4vw; margin: -1vh -2.5vw 0; }
/* v13.66.1 (Jeremy 23:02: "The top of the enlarged poster's spectral outline is clipped"): on a Fire TV the page is about
   960 px wide, where a poster is its 110 px minimum (not 8.6vw), so 2.2vw above it was less than its growth (12.5 % of
   its height) plus the ring — the room now follows the poster's real height */
.row { padding-top: calc(max(8.6vw, 110px) * 1.5 * .125 + .7vw); padding-bottom: calc(max(8.6vw, 110px) * 1.5 * .125 + 1.2vw); }
.row { padding-left: 3.1vw; padding-right: 3.1vw; }   /* a wide tile (200 px at least) grows 25 px a side on a 960 px page */
/* v13.66.1 (Jeremy 23:10: "increase the area below the enlarged poster selected so there is more room for that text" and
   "Now that the poster is bigger the text can be smaller"): the lines under it sit a little further down (a gap under the
   bigger picture) with more room below the shelf for them; the title over its top is smaller (it grows with the picture) */
.card.f:focus .t { margin-top: 1.6vh; }
.row { padding-bottom: calc(max(8.6vw, 110px) * 1.5 * .125 + 2.6vw); }
.card.f:focus .img .full { font-size: .74rem; line-height: 1.2; padding: .5vw .5vw 1.1vw; }
@media (max-width: 800px), (max-height: 500px) {
  .row { padding-left: 4.4vw; padding-right: 4.4vw; margin-left: -4vw; margin-right: -4vw; }
}
/* Explore: the poster in the middle (the one the ring is on) is the highlighted one — it and its ring grow 25 %; a poster
   moving out of the middle shrinks back as the next one grows (the cells' own transition) */
.ex-cell.on { z-index: 3; }
.ex-ring, .ex-ring:focus { transform: scale(1.25); transform-origin: 50% 50%; --spec-w: calc(max(.45vw, 5px) / 1.25); }

/* v13.66.1 (Jeremy 2026-11-06 23:31: "There is too much space between directors and the people circles.  Same for cast"):
   a people row is no shelf of posters — its circle grows 6 %, so it needs only the ring's room, not the 25 % poster's;
   the first person's box starts under the heading (alignHeads moves the heading over the first name) */
.row.cast-row { padding: .9vw 3.1vw 1.2vh; margin: -.4vh -3.1vw 0; }
.row.cast-row { align-items: flex-start; }   /* a two-line name no longer lifts its circle above the others */

/* v13.67.0 (Jeremy 2026-11-06 23:49: "When closed captions with study mode is on.  There are items I can't see right of
   study that aren't on screen.  We need to bring whatever those are back to the viewable screen"): Translate, Speed, Mute
   and Full Screen were past the screen's right edge, and the buttons that did fit were squeezed (the subtitle timing's
   value was cut) — the bar keeps every button whole and goes on on a second line */
.osd .ctl { flex-wrap: wrap; row-gap: 1.4vh; }
.osd .ctl > *, .osd .ctl .ctl-shift > * { flex-shrink: 0; }
.osd .ctl .ctl-q { white-space: nowrap; }

/* v13.67.0 (Jeremy 2026-11-06 23:55: "When playing a video and translating.  The translation text is too small.  It
   should be the same size and presentation as the main subtitles"): the translation is drawn as the subtitle line is —
   its size, weight and dark box — only a little blue, so the two lines are told apart */
.tv-study-tr { margin-top: .4vh; font-size: inherit; color: inherit; text-shadow: none; }
.tv-study-tr .tv-study-l { color: #dff1ff; }

/* v13.68.0 (Jeremy 2026-11-07 00:26): the screensaver — the photos full screen above everything; Ken Burns: each photo
   slowly zooms and pans while it shows; without it they only fade from one to the next */
.saver { position: fixed; inset: 0; z-index: 10000; background: #000; overflow: hidden; cursor: none; }
.saver-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.saver-pic.in { animation: saver-in 1.2s ease both; }
.saver-pic.in.kb { animation: saver-in 1.2s ease both, saver-kb var(--saver-sec, 4.2s) linear both; }
.saver-pic.out { animation: saver-out 1.2s ease both; }
@keyframes saver-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes saver-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes saver-kb { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(var(--kx, 0), var(--ky, 0)); } }
@media (prefers-reduced-motion: reduce) { .saver-pic.in.kb { animation: saver-in 1.2s ease both; } }

/* v13.75.0 (Jeremy 2026-11-09, PrisFlex App fixes 16): a Calendar card's circle — green ⬇ the video is here, yellow clock
   monitored and waited for, red ✕ not monitored */
.cal-st { position: absolute; top: .5vw; right: .5vw; border-radius: 99px; width: 1.9vw; height: 1.9vw; min-width: 22px;
  min-height: 22px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.6); z-index: 2; }
.cal-st.have { background: #2fb455; color: #fff; }
.cal-st.wait { background: #f2c230; color: #2a2000; }
.cal-st.off { background: #d8403a; color: #fff; }
/* v13.75.0: a picker's heading (English (US) …), not chosen */
.picker .picker-heading { padding: 1.2vh 1vw .4vh; font-size: .95rem; font-weight: 700; color: var(--muted); text-transform: none; }
.picker .picker-info { text-align: left; font-size: .85rem; white-space: normal; word-break: break-all; }   /* v14.191.0: File Info's rows */
/* v13.75.0 (Jeremy 2026-11-09, PrisFlex App fixes 20): My Music → Songs in columns — title 40 %, artist 20 %, album 30 %,
   length 10 %, each left-aligned and cut with … when long */
.songs-all .ep.song { display: flex; text-align: left; }
.songs-all .ep.song .sc { flex: 0 0 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  text-align: left; padding-right: 1.2vw; box-sizing: border-box; margin: 0; }
.songs-all .ep.song .sc-t { width: 40%; }
.songs-all .ep.song .sc-a { width: 20%; }
.songs-all .ep.song .sc-l { width: 30%; }
.songs-all .ep.song .sc-d { width: 10%; padding-right: 0; }
/* v13.75.0 (Jeremy 2026-11-09, PrisFlex App fixes 42): less room between a heading and its shelf (Home, Books, Calendar,
   Games) — the shelf keeps the room around its posters that a highlighted one grows into, drawn under the heading's
   bottom margin; v13.75.0 (fixes 4): Continue Reading sits closer to the Books bar */
h2.tv-row-title { margin-bottom: .2vh; }
h2.tv-row-title + .row { margin-top: -1.1vw; }
.tv-shelf > h2.tv-row-title:first-child { margin-top: 1.2vh; }
/* v13.76.0 (Jeremy 2026-11-09, PrisFlex App fixes 21, 23, 24): the visualizer — the artist's photo behind it, dark in the
   middle; the title with "From [album] by [artist]" always on screen, the keys' help fading; ↓ outlines the album or the
   artist (spectral, as a poster); the control menu above the title */
.tv-viz-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(1.05); }
.tv-viz-shade { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(4,4,10,.92) 0, rgba(4,4,10,.78) 20vh,
  rgba(4,4,10,.35) 48vh, rgba(4,4,10,.55) 100%); }
.tv-viz-osd { opacity: 1 !important; }
.tv-viz-osd .t { text-shadow: 0 2px 10px #000; }
.tv-viz-from { font-size: 2.6vh; margin-top: .6vh; color: #e8eaf2; text-shadow: 0 2px 8px #000; }
.tv-viz-from .viz-hl { display: inline-block; padding: .1vh .6vw; border-radius: .8vh; transition: box-shadow .2s; font-weight: 600; }
.tv-viz-from .viz-hl.on { box-shadow: var(--spec-ring), 0 0 2vh rgba(255,255,255,.35); }
.tv-viz-keys { transition: opacity .8s; }
.tv-viz-keys.off { opacity: 0; }
.tv-viz-menu { position: absolute; left: 50%; bottom: 20vh; transform: translateX(-50%); display: flex; flex-wrap: wrap; gap: .8vw;
  justify-content: center; max-width: 92vw; padding: 1.6vh 1.6vw; border-radius: 1.6vh; background: rgba(10,10,18,.82);
  box-shadow: 0 1vh 4vh rgba(0,0,0,.6); z-index: 3; }
.tv-viz-menu .btn { font-size: 1.15rem; }
/* v13.76.0: an artist page's photo across its top, fading into the page */
.tv-artist { position: relative; }
.tv-artist-photo { display: block; width: 100%; height: 34vh; object-fit: cover; object-position: center 25%; border-radius: 1.2vh;
  margin-bottom: -6vh; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.tv-artist > .tv-title { position: relative; text-shadow: 0 2px 10px #000; }

/* v13.78.0: Save as Video on the slideshow's panel */
.montage-end { flex-wrap: wrap; align-content: center; }
.montage-end .montage-saving { display: block; flex-basis: 100%; text-align: center; font-size: 1.1rem; margin-top: .6vh; }

/* v13.82.0 (fixes 45): Multiview — picture in picture, side by side, four at once */
.mv { position: fixed; inset: 0; background: #000; z-index: 50; }
.mv-cell { position: absolute; overflow: hidden; }
.mv-split .mv-cell0 { left: 0; top: 25%; width: 50%; height: 50%; }
.mv-split .mv-cell1 { left: 50%; top: 25%; width: 50%; height: 50%; }
.mv-quad .mv-cell0 { left: 0; top: 0; width: 50%; height: 50%; }
.mv-quad .mv-cell1 { left: 50%; top: 0; width: 50%; height: 50%; }
.mv-quad .mv-cell2 { left: 0; top: 50%; width: 50%; height: 50%; }
.mv-quad .mv-cell3 { left: 50%; top: 50%; width: 50%; height: 50%; }
.mv-pip .mv-cell0 { inset: 0; }
/* v14.113.0: Solo Picture (one screen) and Side by Side (Vertical) (one above the other, each a 16:9 half) */
.mv-solo .mv-cell0 { inset: 0; }
.mv-splitv .mv-cell0 { left: 25%; top: 0; width: 50%; height: 50%; }
.mv-splitv .mv-cell1 { left: 25%; top: 50%; width: 50%; height: 50%; }
/* v14.113.0: Picture in Picture's corners — the main picture full size, the small ones in corners (Four Corners: 4); :where() keeps
   a zoomed screen's full size winning */
:where(.mv[class*="mv-pip"]) .mv-cell0 { inset: 0; }
:where(.mv[class*="mv-pip"]) .mv-cell:not(.mv-cell0) { width: 30%; height: 30%; z-index: 2; box-shadow: 0 0 0 2px #000, 0 6px 24px rgba(0,0,0,.7); }
:where(.mv.mv-pipt2, .mv.mv-pipr2, .mv.mv-pipl2, .mv.mv-pipb2) .mv-cell:not(.mv-cell0), :where(.mv.mv-pip4) .mv-cell:not(.mv-cell0) { width: 26%; height: 26%; }
:where(.mv.mv-pipbl) .mv-cell1 { left: 3%; bottom: 5%; }
:where(.mv.mv-piptr) .mv-cell1 { right: 3%; top: 5%; }
:where(.mv.mv-piptl) .mv-cell1 { left: 3%; top: 5%; }
:where(.mv.mv-pipt2) .mv-cell1, :where(.mv.mv-pipl2) .mv-cell1, :where(.mv.mv-pip4) .mv-cell1 { left: 3%; top: 5%; }
:where(.mv.mv-pipt2) .mv-cell2, :where(.mv.mv-pipr2) .mv-cell1, :where(.mv.mv-pip4) .mv-cell2 { right: 3%; top: 5%; }
:where(.mv.mv-pipb2) .mv-cell1, :where(.mv.mv-pipl2) .mv-cell2, :where(.mv.mv-pip4) .mv-cell3 { left: 3%; bottom: 5%; }
:where(.mv.mv-pipb2) .mv-cell2, :where(.mv.mv-pipr2) .mv-cell2, :where(.mv.mv-pip4) .mv-cell4 { right: 3%; bottom: 5%; }
.mv-pip .mv-cell1 { right: 3%; bottom: 5%; width: 30%; height: 30%; z-index: 2; box-shadow: 0 0 0 2px #000, 0 6px 24px rgba(0,0,0,.7); }
.mv .mv-cell.zoom { inset: 0; left: 0; top: 0; width: 100%; height: 100%; z-index: 3; }
.mv .mv-cell.hidden { visibility: hidden; }
.mv-screen { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #000; }
.mv-screen video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.mv-screen.focus::after { content: ''; position: absolute; inset: 0; border: 4px solid var(--accent, #e5a00d); pointer-events: none; }
.mv.zoomed .mv-screen.focus::after { display: none; }
.mv-empty { color: #aaa; font-size: 1.3rem; padding: 1rem; text-align: center; }
.mv-label { position: absolute; left: .6rem; top: .5rem; background: rgba(0,0,0,.6); color: #fff; padding: .15rem .55rem;
  border-radius: 4px; font-size: 1rem; max-width: 80%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-err { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: rgba(0,0,0,.75); color: #fff; padding: .5rem .8rem;
  border-radius: 6px; font-size: 1.05rem; text-align: center; }
.mv-hint, .mv-tip { position: absolute; left: 50%; transform: translateX(-50%); bottom: 2.5%; background: rgba(0,0,0,.8);
  color: #fff; padding: .45rem 1rem; border-radius: 8px; font-size: 1.05rem; z-index: 5; white-space: nowrap; }
.mv-tip { bottom: auto; top: 3%; }

/* v13.87.0: Shared With You (doc 112) */
.shared-card .ph { font-size: 1.1vw; text-align: center; background: linear-gradient(135deg, #24324a, #141a26); }
.shared-card.unseen .img::after { content: ''; position: absolute; top: .6vw; right: .6vw; width: .9vw; height: .9vw;
  border-radius: 50%; background: var(--accent, #e5a00d); box-shadow: 0 0 0 .2vw rgba(0,0,0,.5); }
.shared-out { position: absolute; top: 2vh; right: 2vw; z-index: 2; padding: .8vh 1.4vw; border-radius: 999px; border: 0;
  background: rgba(0, 0, 0, .6); color: #fff; font-size: 1.4vw; }
@media (max-width: 900px) { .shared-out { font-size: 16px; padding: 8px 14px; } }

/* v14.10.0 (Jeremy 2026-11-16 01:35: "give the posters a more 3D look and feel by putting them in disc cases … with the
   poster on the front of it"): Settings → UI → Style → Posters in Disc Cases.  .dc holds the poster; .dc-case is drawn
   over it — a band across the top, a spine down the left (v14.18.2: smooth — Jeremy 2026-11-17 02:13 did not
   like the ridges' white lines), clear plastic edges, a shine.
   v14.11.0 (02:26: "Translucent Orange for Music, Black for 480p or less, Translucent Blue for 720p and 1080p, Yellow
   for 4K, Black for Games"; 02:28: "drawn more 3D where they have a depth or thickness to them"): the case's color comes
   from .dc-sd / .dc-hd / .dc-4k / .dc-music / .dc-game / .dc-book; .dc-side is its thickness — the open edge on the right,
   seen a little from the side at rest and turned into true depth when the case tilts toward you.  Only gradients,
   shadows and one 3D turn of the chosen case (no pictures, no blend modes): cheap enough for a TV's hundreds. */
.dc { position: relative; overflow: visible !important;
  --dc: rgba(32, 96, 178, .82); --dc-hi: rgba(120, 170, 235, .88); --dc-lo: rgba(10, 40, 84, .94); --dc-t: 15%; }
.dc.dc-sd, .dc.dc-game, .dc.dc-photo { --dc: rgba(22, 22, 25, .94); --dc-hi: rgba(96, 96, 104, .92); --dc-lo: rgba(0, 0, 0, .97); }
.dc.dc-4k { --dc: rgba(236, 186, 12, .94); --dc-hi: rgba(255, 234, 130, .96); --dc-lo: rgba(132, 96, 0, .97); }
.dc.dc-music { --dc: rgba(246, 132, 26, .74); --dc-hi: rgba(255, 196, 128, .82); --dc-lo: rgba(128, 58, 4, .88); }
.dc.dc-book { --dc: rgba(42, 150, 82, .76); --dc-hi: rgba(130, 214, 160, .84); --dc-lo: rgba(12, 70, 34, .9); }
/* v14.22.0 (Jeremy 2026-11-17 03:52: "draw each case as one cached image … It sounds like it'd be faster"): the case's
   face is a picture per color (static/case-<class>.svg, made by tools/design/case_svgs.py from the gradients it had:
   the band, the spine, the edges, the outlines and the shine), stretched to the case — drawn once per size and reused
   for every case, instead of five gradients, two outlines and a shine painted for each one */
.dc-case { position: absolute; inset: 0; pointer-events: none; display: block; border-radius: inherit; z-index: 0;
  background: url('case-hd.svg') 0 0 / 100% 100% no-repeat; }
.dc.dc-sd .dc-case, .dc.dc-game .dc-case, .dc.dc-photo .dc-case { background-image: url('case-sd.svg'); }
.dc.dc-4k .dc-case { background-image: url('case-4k.svg'); }
.dc.dc-music .dc-case { background-image: url('case-music.svg'); }
.dc.dc-book .dc-case { background-image: url('case-book.svg'); }
/* v14.17.0 (Jeremy 2026-11-17 00:47: "Maybe we should do a PrisFlex logo at the top center of every case?", with a
   Blu-ray case's badge as the model): the mark in a clear oval, centered in the band over the case's window */
.dc-case::before { content: ""; position: absolute; top: .9%; left: 52.25%; height: 5.6%; aspect-ratio: 11 / 4;
  transform: translateX(-50%); background: url('case-badge.svg') center / contain no-repeat; pointer-events: none; }
/* the thickness: the case's open edge (two shells, the seam between them), going back from the right edge */
.dc-side { position: absolute; top: 0; left: 100%; width: var(--dc-t); height: 100%; pointer-events: none; display: block;
  transform-origin: left center; transform: scaleX(.28); clip-path: polygon(0 0, 100% 3%, 100% 97%, 0 100%);
  transition: transform .2s ease;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .18) 0, rgba(255, 255, 255, 0) 12%, rgba(0, 0, 0, 0) 88%, rgba(0, 0, 0, .35) 100%),
    linear-gradient(90deg, var(--dc) 0, var(--dc-hi) 14%, var(--dc) 30%, var(--dc-lo) 44%, rgba(0, 0, 0, .75) 47% 53%,
      var(--dc-lo) 56%, var(--dc) 70%, var(--dc-hi) 84%, var(--dc-lo) 100%); }
.card .img.dc { box-shadow: .25vw .45vw 1vw rgba(0, 0, 0, .5); }
.card .img.dc > .rate, .card .img.dc > .bar, .card .img.dc > .done, .card .img.dc > .full, .card .img.dc > .cal-st { z-index: 1; }
/* Jeremy 01:59: "move the text down when a video is highlighted so that the text appears below the case border at the
   top" — the whole title over a chosen poster starts under the band and inside the spine and the right edge */
.card .img.dc > .full { top: 7.6%; left: 6.5%; right: 2%; border-radius: 0; }
html.look-tilt .card.f:focus .img.dc { transform: perspective(60vw) rotateY(-22deg) scale(var(--pf-grow, 1.05)); }
html.look-tilt .card:hover .img.dc { transform: perspective(60vw) rotateY(-22deg); }
html.look-tilt .card.f:focus .img.dc .dc-side, html.look-tilt .card:hover .img.dc .dc-side, html.look-tilt .ex-cell.dc.on .dc-side { transform: rotateY(90deg); clip-path: none; }
/* v14.11.3 (Jeremy 2026-11-16 12:42: "When I go to explore after we added the disc cases, most posters aren't showing at
   all"): .dc's position: relative came after .ex-cell's absolute (same weight) — the cells fell back into the page's
   flow and their translate() moved them from there, most of them out of the box */
.ex-cell.dc { overflow: visible; position: absolute; }
.ex-cell.dc.on > .dc-case, .ex-cell.dc.on > .dc-side { transition: none; }
.ex-cell.dc > .rate, .ex-cell.dc > .full { z-index: 1; }
/* v14.11.5 (Jeremy 2026-11-16 13:40: "The highlighted item on the explore page isn't tilting"): the middle case turns in
   its inline transform (tv.js / app.js); the ring turns the same way about the same point, so it stays around the case */
html.look-tilt .ex-ring, html.look-tilt .ex-ring:focus { transform: scale(1.25) perspective(60vw) rotateY(-22deg); }
.detail-head .poster-box.dc { border-radius: var(--r); box-shadow: .4vw .8vw 2vw rgba(0, 0, 0, .55); transform: perspective(80vw) rotateY(-10deg); }
.detail-head .poster-box.dc > .poster { border-radius: var(--r); }
.detail-head .poster-box.dc > .rate { z-index: 1; }
.detail-head .poster-box.dc .dc-side { transform: rotateY(90deg); clip-path: none; }
@media (prefers-reduced-motion: reduce) { .card.f:focus .img.dc { transform: scale(var(--pf-grow, 1.05)); } .card:hover .img.dc { transform: none; }
  .detail-head .poster-box.dc { transform: none; } }

/* v14.11.4 (Jeremy 2026-11-16 13:30: "A lot of times I'm seeing posters clipped by the cases.  Can we shrink the display of
   the poster to fit the new smaller space for the poster inside the case?"): the picture sits in the case's clear window
   — moved right past the spine (6.5 %) and down past the band (7.4 %), shrunk evenly to 91.2 % so it ends at the right
   (2 %) and bottom (1.4 %) edges; its own shape kept (centered in the 91.5 % wide window).  Percentages are of the
   picture itself, so posters, square albums and book covers all fit. */
.dc { --dc-fit: translate(6.65%, 7.4%) scale(.912); }
.card .img.dc > img, .ex-cell.dc > img, .detail-head .poster-box.dc > img.poster {
  transform-origin: 0 0; transform: var(--dc-fit); border-radius: 2px; }

/* v14.11.6 (Jeremy 2026-11-16 14:21: "Let's give the albums in My Photos disc cases too, just make them black"): .dc-photo — the black of
   480p and games */
/* v14.11.0 (Jeremy 2026-11-16 02:30: "make that look like the spines of disc cases sitting on a shelf.  With the letter
   we're potentially selecting written on the back of the spine of a disc case"): the music letters — each one a case's
   spine standing on a shelf, the colors of the cases taking turns; the one picked is pulled half out */
.spine-shelf { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 2px; padding: 6px 10px 0; position: relative;
  border-bottom: 9px solid #4a3220; box-shadow: 0 10px 14px -6px rgba(0, 0, 0, .6);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .25) 100%);
  border-image: linear-gradient(180deg, #8a6440, #5a3c24 45%, #2e1e10) 1; }
.spine { --dc: rgba(246, 132, 26, .8); --dc-hi: rgba(255, 196, 128, .88); --dc-lo: rgba(128, 58, 4, .92);
  position: relative; width: 2.4vw; min-width: 26px; height: 6.2vw; min-height: 64px; margin: 0; padding: 7px 0 0; border: 0; border-radius: 2px 2px 0 0;
  cursor: pointer; color: #fff; font-weight: 800; font-size: 1.1rem; line-height: 1; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .7); transition: transform .15s ease, filter .15s ease;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .08) 0 1px, rgba(0, 0, 0, .1) 1px 3px) center 30px / 100% 26px no-repeat,
    linear-gradient(90deg, var(--dc-lo) 0, var(--dc) 18%, var(--dc-hi) 45%, var(--dc) 72%, var(--dc-lo) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 -6px 8px rgba(0, 0, 0, .35); }
.spine:nth-child(5n + 2) { --dc: rgba(32, 96, 178, .86); --dc-hi: rgba(120, 170, 235, .9); --dc-lo: rgba(10, 40, 84, .95); }
.spine:nth-child(5n + 3) { --dc: rgba(22, 22, 25, .95); --dc-hi: rgba(96, 96, 104, .92); --dc-lo: rgba(0, 0, 0, .97); }
.spine:nth-child(5n + 4) { --dc: rgba(236, 186, 12, .95); --dc-hi: rgba(255, 234, 130, .96); --dc-lo: rgba(132, 96, 0, .97); color: #1b1300; text-shadow: 0 1px 0 rgba(255, 255, 255, .4); }
.spine:nth-child(5n) { --dc: rgba(42, 150, 82, .82); --dc-hi: rgba(130, 214, 160, .88); --dc-lo: rgba(12, 70, 34, .92); }
.spine.all { width: 2.7vw; min-width: 30px; font-size: .8rem; letter-spacing: 0; padding: 6px 0 0; }
.spine:hover, .spine.f:focus { transform: translateY(-.5vw); filter: brightness(1.12); outline: none; }
.spine.on { transform: translateY(-1.3vw); filter: brightness(1.2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 0 0 2px var(--focus, #fff), inset 0 -6px 8px rgba(0, 0, 0, .35); }
@media (prefers-reduced-motion: reduce) { .spine, .spine:hover, .spine.on { transition: none; } }
.spine.f:focus { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 0 0 .25vw var(--focus, #fff); }

/* v14.11.9 (Jeremy 2026-11-16 18:41: "The animations seemed to be running a little sluggishly on my Fire TV earlier
   today"): only the case that turns is drawn in 3D (preserve-3d on every case put hundreds of them in their own 3D
   layers on a TV); a move animates transforms only — a shadow or the case's edge outline changes at once instead of
   being painted again in every frame of the move */
html.look-tilt .card.f:focus .img.dc, html.look-tilt .card:hover .img.dc, html.look-tilt .ex-cell.dc.on, .detail-head .poster-box.dc { transform-style: preserve-3d; }

/* v14.13.0 (doc 78 release 4): Streaming — the credit, the title page's buttons */
.st-credit-tv { font-size: .95rem; max-width: 70vw; }
.st-title-tv .actions { display: flex; flex-wrap: wrap; gap: 1vw; margin-top: 2vh; }
/* v14.14.0: the services as logo posters in disc cases (Jeremy 2026-11-16 21:51) */
.st-apps-tv.grid { display: grid; margin: 1vh 0 3vh; }
.card .img > img.st-logo { object-fit: contain; background: #0d0f14; padding: 22% 7%; box-sizing: border-box; }   /* 14.14.1: the logo fills the cover */
.card .img > .ph.st-name { display: flex; align-items: center; justify-content: center; text-align: center; font-size: 1.4rem;
  font-weight: 700; padding: 0 10%; }

/* v14.23.0 (Jeremy 2026-11-17 04:31, the review's item 1): html.lite — a weak TV (tv.js LITE): no blurred shadows under
   the cases, and the chosen case grows instead of turning in 3D (no 3D layer, no depth turned toward you) */
html.lite .card .img.dc { box-shadow: .2vw .35vw 0 rgba(0, 0, 0, .35); }
/* v14.78.0 (Jeremy 2026-11-19 23:38: every poster does the same things on every page — tv.js LOOK, html.look-*): a weak
   TV's chosen case turns as everywhere else (Explore's always did, and he found it fine) */
html.lite .dc-side { transition: none; }

/* v14.23.0 (the review's item 4): the menu's group headings (not chosen with the remote) */
.tv-nav .nav-group { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted, #9aa3b2);
  margin: 1.6vh 0 .4vh; padding: 0 1vw; pointer-events: none; white-space: nowrap; }
.tv.navhide .tv-nav .nav-group { opacity: 0; }
/* v14.35.0 (Jeremy 2026-11-17 23:48 / 23:52): the groups as entries of their own when the whole menu does not fit; an open
   group shows its name (not chosen), its entries and a back arrow at the bottom; a hidden copy of the whole menu is
   measured against the box */
.tv-nav button.nav-grp { display: flex; align-items: center; justify-content: space-between; gap: .6vw; }
.tv-nav .nav-more { font-size: 1.4em; line-height: 1; opacity: .7; }
.tv-nav .nav-group.nav-title { color: var(--fg); font-size: .92rem; margin-top: 1.2vh; }
.tv-nav button.nav-back { display: flex; align-items: center; width: auto; align-self: flex-start; margin-top: .8vh; line-height: 0; }
.nav-probe { position: absolute; left: .8vw; right: .8vw; top: 0; height: 0; overflow: hidden; visibility: hidden;
  pointer-events: none; display: flex; flex-direction: column; gap: .6vh; }
@media (min-width: 801px) and (min-height: 501px) { .tv-nav > .nav-scroll { position: relative; } }
@media (max-width: 800px), (max-height: 500px) { .nav-probe { display: none; } }

/* v14.23.0 (the review's item 5): Who's watching? */
.profiles { min-width: 50vw; text-align: center; padding: 4vh 3vw; }
.profiles .picker-title { font-size: 2rem; color: var(--fg); padding-bottom: 3vh; }
.profile-row { display: flex; flex-wrap: wrap; gap: 2.4vw; justify-content: center; }
.profile { display: flex; flex-direction: column; align-items: center; gap: 1.2vh; background: none; border: 0; color: var(--fg);
  padding: 1vh 1vw; border-radius: 14px; cursor: pointer; min-width: 9vw; }
.profile-face { width: 8vw; height: 8vw; min-width: 72px; min-height: 72px; border-radius: 16px; display: flex; align-items: center;
  justify-content: center; font-size: 3.4vw; font-weight: 800; color: #fff; background: linear-gradient(135deg, #7b3fe4, #2d6cdf); }
.profile:nth-child(3n + 2) .profile-face { background: linear-gradient(135deg, #e4573f, #e4a23f); }
.profile:nth-child(3n) .profile-face { background: linear-gradient(135deg, #2fa36b, #2d8adf); }
/* v14.46.2 (Jeremy 2026-11-18 14:10: "the spectral outline should replace the white border of the photo and be there
   instead of around the entire card"): Who's watching? draws the turning ring around the picture, like a poster's */
.profile.f:focus { box-shadow: none; }
.profile.f:focus .profile-face { box-shadow: 0 .6vw 2vw rgba(0,0,0,.6); }
.profile.f:focus .profile-face::after { border-radius: calc(16px + var(--spec-w)); }
.profile-face { position: relative; overflow: clip; overflow-clip-margin: .6vw; }
.profile-face > img { border-radius: inherit; }
.profile-face img { width: 100%; height: 100%; object-fit: cover; display: block; }   /* v14.35.0: the account's photo */
.profile.on .profile-name::after { content: ' ✓'; }
.profile-name { font-size: 1.2rem; }
.profile-pin { display: flex; flex-direction: column; gap: 1.6vh; align-items: center; }
.profile-pin input { font-size: 1.6rem; width: 12em; text-align: center; }
/* v14.23.0: a trailer, full screen */
.trailer-play { position: fixed; inset: 0; background: #000; z-index: 50; }
.trailer-play iframe { width: 100%; height: 100%; border: 0; }
.trailer-back { position: absolute; top: 2vh; right: 2vw; font-size: .9rem; opacity: .6; pointer-events: none; }

/* v14.37.0 (Jeremy 2026-11-18 00:50): a group opens in place under its own entry */
.tv-nav .nav-sub { display: flex; flex-direction: column; gap: .6vh; padding-left: .8vw; margin-left: .4vw;
  border-left: 2px solid rgba(255, 255, 255, .18); }
.tv-nav button.nav-grp .nav-more { transition: transform .15s ease; }
.tv-nav button.nav-grp.open .nav-more { transform: rotate(90deg); }
@media (max-width: 800px), (max-height: 500px) { .tv-nav .nav-sub { display: contents; } }

/* v14.38.0: Search's In Theaters posters — the date at the bottom */
.card .img .when-tag { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.4vw .5vw .5vw; text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .78) 45%, rgba(0, 0, 0, .9)); color: #fff; font-weight: 700;
  font-size: .82rem; line-height: 1.2; text-shadow: 0 1px 3px #000; border-radius: 0 0 var(--r) var(--r); pointer-events: none; }
.card .img.dc > .when-tag { left: 6.5%; right: 2%; bottom: 3%; border-radius: 0; }
/* v14.87.0 (Jeremy 2026-11-20 14:23: "I want all the movies to show their rating at the bottom left of the posters as
   we've done as the standard everywhere else"): the date covered the rating — with a rating, the date's line sits
   above it and the rating stays at the bottom left, in front */
.card .img .when-tag.with-rate { padding-bottom: calc(1.1rem + 1vw); }
.card .img > .rate, .card .img.dc > .rate { z-index: 2; }   /* v14.88.0: in a disc case too (it was 1, under the date) */

/* v14.39.0: My Photos' heading counts albums and photos */
.tv-title .photo-count { font-size: 1.1rem; }

/* v14.40.0: Multiview's keyboard keys under the remote's */
.mv-hint .mv-keys { margin-top: .4vh; font-size: .85em; opacity: .8; }

/* v14.41.0: a Multiview screen showing a photo library */
.mv-photos { position: absolute; inset: 0; background: #000; overflow: hidden; }
.mv-photos .mv-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; animation: mv-ph-in .8s ease both; }
.mv-photos .mv-photo-next { position: absolute; width: 1px; height: 1px; opacity: 0; }
@keyframes mv-ph-in { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }

/* v14.43.0: a title's trailer in its page */
.trailer-embed { margin: 2vh 0 1vh; width: min(64vw, 100%); aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.trailer-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* v14.44.0 (Jeremy 2026-11-18 02:11: Search's Cast and Directors — "the alignment is off"): a people row is no poster
   shelf — the shelves' pull-up under their heading (h2 + .row, -1.1vw) put the circle against the heading and its ring
   over the words; a people row keeps the room its ring and the 6 % growth need */
h2.tv-row-title + .row.cast-row { margin-top: .4vh; }
.pin-box { margin: 1vh 0 2vh; padding: 1.2vh 1vw; border-radius: 10px; background: rgba(255,255,255,.04); }

/* v14.50.0 (Jeremy 2026-11-18 22:51: "The alphabet selector in My Music, can we make that look more like a shelf of CDs
   than a shelf of books?"): each letter a CD jewel case seen from its spine — narrow and short, clear plastic at both
   edges and at the hinge caps top and bottom, the printed paper insert between them with its letter at the top and a
   line of small print under it; the cases stand in a black rack. The one picked is pulled half out, as before. */
.spine-shelf { gap: 0 1px; padding: 8px 12px 0; border-bottom: 7px solid #1a1c20;
  border-image: linear-gradient(180deg, #5c6068, #2a2d33 40%, #0c0d10) 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .35) 100%);
  box-shadow: 0 10px 14px -6px rgba(0, 0, 0, .7), inset 0 -2px 0 rgba(255, 255, 255, .06); }
.spine { width: 1.75vw; min-width: 22px; height: 5vw; min-height: 54px; padding: 9px 0 0; border-radius: 1px;
  font-size: .95rem; font-weight: 800; overflow: hidden;
  background:
    linear-gradient(90deg, rgba(225, 235, 245, .62) 0 2px, rgba(255, 255, 255, .22) 2px 3px, transparent 3px calc(100% - 3px),
      rgba(255, 255, 255, .22) calc(100% - 3px) calc(100% - 2px), rgba(225, 235, 245, .62) calc(100% - 2px)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .55) 0 1px, transparent 1px 3px) center 62% / 34% 34% no-repeat,
    linear-gradient(90deg, var(--dc-lo) 0, var(--dc) 22%, var(--dc-hi) 50%, var(--dc) 78%, var(--dc-lo) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), inset 0 -2px 3px rgba(0, 0, 0, .4); }
.spine::before, .spine::after { content: ""; position: absolute; left: 0; right: 0; height: 5px; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(235, 242, 250, .78) 0 2px, rgba(190, 205, 220, .5) 2px 3px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
.spine::before { top: 0; }
.spine::after { bottom: 0; }
.spine:nth-child(7n + 6) { --dc: rgba(196, 30, 58, .9); --dc-hi: rgba(250, 120, 140, .92); --dc-lo: rgba(90, 8, 24, .95); }
.spine:nth-child(7n + 7) { --dc: rgba(120, 60, 170, .9); --dc-hi: rgba(196, 150, 240, .92); --dc-lo: rgba(52, 18, 84, .95); }
.spine.all { width: 2.3vw; min-width: 28px; font-size: .72rem; }
.spine.on { transform: translateY(-1.1vw); }

/* v14.50.0: Search — QWERTY keys (20 half-key columns) */
.keyboard.qwerty { grid-template-columns: repeat(20, 1.4vw); gap: .45vw .4vw; }
.keyboard.qwerty > button { grid-column: span 2; height: 3.2vw; }
@media (max-aspect-ratio: 1/1) {
  .keyboard.qwerty { grid-template-columns: repeat(20, 1fr); width: 92vw; gap: 1vw; }
  .keyboard.qwerty > button { height: auto; padding: 1.2vh 0; }
}

/* v14.50.0: the server went away — a message over the page while the app waits for it to come back */
.server-wait { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center;
  background: rgba(6, 4, 14, .72); backdrop-filter: blur(4px); }
.server-wait-box { max-width: 46vw; min-width: 300px; padding: 3vh 3vw; border-radius: 16px; background: var(--bg2, #1c1830);
  box-shadow: 0 2vh 6vh rgba(0, 0, 0, .6); text-align: center; }
.server-wait-box h2 { margin: 1.5vh 0 1vh; font-size: 1.8rem; }
.server-wait-box p { font-size: 1.15rem; margin: .8vh 0; }
.server-wait-spin { width: 3.2vw; min-width: 36px; aspect-ratio: 1; margin: 0 auto; border-radius: 50%;
  border: .35vw solid rgba(255, 255, 255, .18); border-top-color: var(--accent, #8b5cf6); animation: server-spin 1s linear infinite; }
@keyframes server-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .server-wait-spin { animation: none; } }

/* v14.50.0 (Jeremy 2026-11-18 22:36): a streaming title's trailer — a still with "Play Movie Trailer" in the text's
   column, sized to fit on the screen; OK plays it full screen with its sound, OK or Back returns */
.trailer-box { position: relative; display: block; margin: 2vh 0 1vh; padding: 0; border: 0; border-radius: 12px; overflow: hidden;
  aspect-ratio: 16 / 9; width: 100%; max-width: 100%; background: #000 center / cover no-repeat; cursor: pointer; color: #fff; }
.trailer-box .trailer-still { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 1vw;
  background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .55)); font-size: 1.6rem; font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .8); }
.trailer-box .trailer-still b { display: inline-flex; align-items: center; justify-content: center; width: 4vw; min-width: 44px; aspect-ratio: 1;
  border-radius: 50%; background: rgba(255, 255, 255, .92); color: #000; font-size: 1.6rem; text-shadow: none; padding-left: .3vw; }
.trailer-box.f:focus { outline: none; box-shadow: 0 0 0 .3vw var(--focus); }
.trailer-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.trailer-box.full { position: fixed; inset: 0; z-index: 70; width: 100vw; height: 100vh; max-width: none; margin: 0; border-radius: 0; aspect-ratio: auto; }
.trailer-box.full.f:focus { box-shadow: none; }
.trailer-box .trailer-hint { position: absolute; right: 2vw; bottom: 2vh; font-size: 1rem; opacity: .8; background: rgba(0, 0, 0, .55);
  padding: .4vh .8vw; border-radius: 8px; animation: trailer-hint 4s forwards; }
@keyframes trailer-hint { 0%, 70% { opacity: .85; } 100% { opacity: 0; } }

/* v14.51.0: the music player's controls — a row of controls right above the song's title, the rest above it; the
   artist's photo or, until there is one, the album's cover behind it */
.tv-viz-menu { flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 1.2vh; bottom: 15vh; }
.tv-viz-menu .viz-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .8vw; }
.tv-viz-menu .viz-row-ctl .btn { min-width: 5.2vw; font-size: 1.5rem; padding-left: 1vw; padding-right: 1vw; }
.tv-viz-bg-cover { filter: blur(3vh) brightness(.45) saturate(1.2); transform: scale(1.15); }

/* v14.51.0: who is signed in — top right on the menu's pages, never over a playing video or the music */
.who-chip { position: fixed; top: 1.6vh; right: 1.4vw; z-index: 40; display: flex; align-items: center; gap: .6vw;
  padding: .5vh 1vw .5vh .5vh; border-radius: 999px; background: rgba(12, 10, 24, .72); backdrop-filter: blur(6px);
  box-shadow: 0 .6vh 2vh rgba(0, 0, 0, .45); cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.who-chip .profile-face { width: 4.4vh; height: 4.4vh; min-width: 30px; min-height: 30px; border-radius: 50%; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: var(--accent-ink, inherit); font-size: 1.1rem; }
.who-chip .profile-face img { width: 100%; height: 100%; object-fit: cover; }
body[data-playing="1"] .who-chip { display: none; }
/* v14.87.0 (Jeremy 2026-11-20 14:39: "when I click on my profile at the top right, it does a spectral outline across the
   entire screen vertically in that column instead of just around my profile"): .f:focus made it position: relative —
   out of its corner and into the page's column; it stays fixed, and grows from its right edge */
.who-chip.f:focus { position: fixed; transform-origin: right center; }
@media (max-width: 800px) { .who-chip .who-name { display: none; } }

/* v14.51.0 (Jeremy 2026-11-18 23:57: "the Fire TV is slow to draw the animations we have"; its log: Home 30 % of frames
   over 34 ms, 42–49 ms on average): on a weak TV (html.lite) the focus ring is whole and still (turning its two gaps
   repainted the ring on every frame for as long as anything had the focus), the focus and case shadows are not blurred,
   and nothing is blurred behind a panel */
/* v14.87.0 (Jeremy 2026-11-20 14:00: "bring back the animated spectral outline to the lite session"): still only while
   tv.js LOOK.ringMoves is off (html:not(.look-ring-moves)) — a Lite TV runs the turning gaps again */
html.lite:not(.look-ring-moves) .f:focus:not(.card):not(.person):not(.profile):not(.lg-prog)::after,
html.lite:not(.look-ring-moves) .card.f:focus .img::after, html.lite:not(.look-ring-moves) .person.f:focus .face::after,
html.lite:not(.look-ring-moves) .profile.f:focus .profile-face::after, html.lite:not(.look-ring-moves) .ex-ring::after,
html.lite:not(.look-ring-moves) .osd .ctl .ctl-b:focus::after, html.lite:not(.look-ring-moves) .osd .ctl .ctl-q:focus::after,
html.lite:not(.look-ring-moves) .lg-prog:focus::before {
  animation: none; -webkit-mask: none; mask: none; }   /* (Jeremy 00:03: no gaps at all when they do not move — the whole outline) */
html.lite .f:focus, html.lite .card.f:focus .img, html.lite .person.f:focus .face { box-shadow: .25vw .4vw 0 rgba(0, 0, 0, .45); }
html.lite .card.f:focus { box-shadow: none; }
html.lite .server-wait, html.lite .who-chip { backdrop-filter: none; }

/* v14.51.0: Search — the words in a box on the top bar, the keys popping up under it, the titles across the screen */
.search-page .search-top { align-items: center; }
/* v14.88.0 (Jeremy 2026-11-20 15:07: "the Buttons should be centered above the keyboard popup"): with the keys open, Search
   by Voice and 🎙 sit centered right above them (the popup is centered on the screen, its top at 22vh) */
.search-page.kb-open .search-top { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(78vh + 1.6vh); z-index: 46;
  margin: 0; flex-wrap: nowrap; justify-content: center; white-space: nowrap; }
/* v14.81.0: the top bar's search box went (the words are in the keys' popup) */
.kb-pop { position: fixed; left: 50%; top: 22vh; transform: translateX(-50%); z-index: 45; padding: 2vh 1.6vw; border-radius: 1.6vh;
  background: rgba(14, 12, 28, .96); box-shadow: 0 2vh 6vh rgba(0, 0, 0, .7); }
.kb-pop .searchbox { width: auto; margin-bottom: 1vh; }
.kb-pop .keyboard { margin: 1vh 0 0; }
.kb-pop .kb-ok { background: var(--accent); color: var(--accent-ink, inherit); font-weight: 700; }
html.lite .kb-pop { box-shadow: .4vw .6vw 0 rgba(0, 0, 0, .6); }
.kb-pop input.searchbox { display: block; box-sizing: border-box; width: 100%; border: 0; color: inherit; font: inherit; font-size: 1.8rem; }

/* v14.51.0: My Photos' slideshow inside a Multiview screen — sized by its screen (container units), not the window */
.player.slides.embed { position: absolute; inset: 0; z-index: auto; container-type: size; }
.slides.embed .trio-card { height: 92cqh; max-width: 31cqw; }
.slides.embed .trio-card.s-off { transform: translate(-50%, 75cqh) rotate(14deg) scale(.88); }

/* v14.52.0: a song theme's animation over the whole visualizer (snow, spiders, hearts …) */
.tv-viz-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* v14.52.0: a trailer playing full screen has a ✕ (a mouse or a finger; Back and Esc close it too) */
.trailer-close { position: absolute; top: 2vh; right: 2vw; z-index: 2; width: 5vh; height: 5vh; min-width: 40px; min-height: 40px; border: 0;
  border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; font-size: 2.4vh; cursor: pointer; }

/* v14.53.0: My Videos' Play All inside a Multiview screen */
.reel-trio.embed .trio-card { width: min(31cqw, 51.75cqh); height: 92cqh; max-width: none; }
.reel-trio.embed .trio-card.s-off { transform: translate(-50%, 75cqh) rotate(14deg) scale(.88); }

/* v14.54.0: a Multiview screen with nothing to name shows no label box; the profile chip takes the focus ring */
.mv-label:empty { display: none; }
.who-chip { border: 0; color: inherit; font-family: inherit; }

/* v14.55.0: Messages (the menu's unread badge, the list) and Watch → Sharing */
.tv-nav .nav-badge { display: inline-block; margin-left: .5em; min-width: 1.5em; padding: 0 .4em; border-radius: 1em; background: #e5484d;
  color: #fff; font-size: .75em; line-height: 1.5em; text-align: center; font-weight: 700; vertical-align: middle; }
.msg-list { display: flex; flex-direction: column; gap: .8vh; max-width: 70vw; }
.msg-row { display: flex; align-items: center; gap: 1vw; text-align: left; padding: 1.4vh 1.2vw; border-radius: .8vw;
  background: rgba(255,255,255,.06); border: 2px solid transparent; color: inherit; font: inherit; }
.msg-row .msg-dot { width: .8vw; height: .8vw; border-radius: 50%; flex: none; background: transparent; }
.msg-row.unseen .msg-dot { background: #e5484d; }
.msg-row.unseen .msg-head { font-weight: 700; }
.msg-row .msg-kind { font-size: 1.6vw; opacity: .8; }
.msg-row .msg-text { display: flex; flex-direction: column; gap: .3vh; font-size: 1.3vw; }
.sharing-page .tv-row-title { margin-top: 3vh; }

/* v14.78.0 (Jeremy 2026-11-19 23:38: "reduce the gap between shelves so that the two visible shelves can fit on the screen
   fully at the same time, right now the bottom of the second shelf is clipped off"): on Home a shelf keeps only the room
   its chosen poster needs — its growth (12.5 % of its height) and the outline above, the title lines' move below (no extra
   gap under the bigger picture) — and a shelf's title sits right over it.  On the Fire TV's 960x540 page two shelves now
   end at 539 px (they ended at 621) */
.home-shelves h2.tv-row-title { margin: 4px 0 0; }
.home-shelves > div > div:first-child > h2.tv-row-title { margin-top: 0; }
.home-shelves .row { padding-top: calc(max(8.6vw, 110px) * 1.5 * .125 + 3px); padding-bottom: calc(max(8.6vw, 110px) * 1.5 * .125 + 2px); }
.home-shelves .card.f:focus .t { margin-top: 0; }
.home-shelves .card { scroll-margin: 6px 3vw; }
/* v14.87.0 (Jeremy 2026-11-20 14:51: "Our spacing between shelves on the home screen is good. Let's enforce that same
   spacing everywhere that we have shelves"): every page's shelves as Home's — a shelf (a heading and its row) keeps only
   the room its chosen poster needs, and the next shelf's heading follows at 4 px (the Calendar's days, Books, Games, My
   Music, Sharing, a title's Cast …). The room above a page's first shelf (under its buttons) stays as it was. */
.tv-main h2.tv-row-title + .row { padding-top: calc(max(8.6vw, 110px) * 1.5 * .125 + 3px); padding-bottom: calc(max(8.6vw, 110px) * 1.5 * .125 + 2px); }
.tv-main h2.tv-row-title + .row .card.f:focus .t { margin-top: 0; }
.tv-main h2.tv-row-title + .row .card { scroll-margin: 6px 3vw; }
.tv-main .row + h2.tv-row-title, .tv-main div:has(> h2.tv-row-title + .row) + div > h2.tv-row-title:first-child { margin-top: 4px; }
.tv-main h2.tv-row-title:has(+ .row) { margin-bottom: 0; }

/* v14.78.0: Multiview inside the app's frame — the screens cover the page; the menu (← from a screen on the left) is drawn
   over them, at the left, and hidden again when the focus goes back to the screens (tv.js mvFromMenu) */
.tv.mv-page .tv-nav { position: fixed; left: 0; top: 0; bottom: 0; z-index: 60; }
.tv.mv-page.navhide .tv-nav { display: none; }

/* v14.79.0 (Jeremy 2026-11-19 23:54: "slimming the Lite pages (drawing only what's on screen for Home, Calendar, person
   pages and Live TV)"): on a weak TV a shelf (Home's, the Calendar's days, a title's cast) and a Live TV guide's channel
   are laid out and painted only near the screen — the TV skips the ones far from it (content-visibility), and the
   size they had is kept while skipped, so nothing jumps as they come */
html.lite .tv-main .row { content-visibility: auto; contain-intrinsic-size: auto 260px; }
html.lite .lg-row { content-visibility: auto; contain-intrinsic-size: auto 64px; }

/* v14.80.1: Explore on a weak TV (Lite) — a lighter shadow under its posters (91 of them move at every step) */
html.lite .ex-cell { box-shadow: 0 .4vw .8vw rgba(0, 0, 0, .45); }

/* v14.85.0 (the trailer site's rules for embedded players: nothing in front of any part of an embedded player): the trailer's
   ✕ and "Back returns." sit on a bar above the player, and the full-screen trailer's hint on a strip below it */
.trailer-play { display: flex; flex-direction: column; }
.trailer-play .trailer-bar { flex: none; height: 7vh; min-height: 44px; display: flex; align-items: center; justify-content: flex-end;
  gap: 1.5vw; padding: 0 2vw; }
.trailer-play .trailer-back, .trailer-play .trailer-close { position: static; }
.trailer-play iframe { flex: 1; height: auto; min-height: 0; }
/* v14.87.0 (Jeremy 2026-11-20 14:24: "the app is now not displaying the trailers correctly on the PC, it's a very small size
   at the top instead of full screen"): a frame's height: auto is its default 150 px, not the room between top and bottom */
.trailer-box.full iframe { bottom: auto; height: calc(100% - 5vh); }
.trailer-box.full .trailer-hint { right: 0; left: 0; bottom: 0; height: 5vh; display: flex; align-items: center; justify-content: center;
  padding: 0; border-radius: 0; background: #000; animation: none; opacity: .8; }

/* v14.87.0: Search — the words searched for (the keys closed, as after Search by Voice) */
.search-words { font-size: 1.5rem; font-weight: 700; margin: 1vh 0 .4vh; }

/* v14.87.0: the menu hidden by a mouse's click — ☰ at the top left brings it back (never with the remote: ← does) */
.nav-peek { display: none; position: fixed; top: 1.6vh; left: 1vw; z-index: 45; width: 5vh; height: 5vh; min-width: 36px; min-height: 36px;
  border: 0; border-radius: 50%; background: rgba(12, 10, 24, .72); color: var(--fg); font-size: 1.3rem; cursor: pointer; }
@media (min-width: 801px) and (min-height: 501px) {
  .tv.navhide:not(.navkey) .nav-peek { display: block; }
  .tv.navhide:not(.navkey) .tv-main { padding-left: calc(max(5vh, 36px) + 2vw); }   /* the page clears ☰ */
}
body[data-playing="1"] .nav-peek { display: none; }

/* v14.88.0: a language's flag (the title page's subtitle button) — 4:3, a thin edge so white flags show */
.lang-flag { display: inline-block; height: 1em; width: 1.333em; vertical-align: -.12em; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); object-fit: cover; }
/* v14.89.0 (Jeremy 2026-11-20 20:21: "one more space between Subtitles and the <FLAG>") */
.sub-btn .lang-flag, .ctl-q .lang-flag { margin-left: .35em; }
/* v14.90.0: a title outside the library — no Trailer found: no empty button row */
.outside-page .actions:empty { display: none; }
/* v14.91.0 (Jeremy 2026-11-20 20:36): the menu's black bars (under Search, under Watch) and the app's version under
   "PrisFlex App" in purple */
.tv-nav .nav-bar { flex: none; height: 3px; margin: .9vh .4vw; background: #000; border-radius: 2px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.tv.navhide .tv-nav .nav-bar { opacity: 0; }
.tv-brand .bn .bn-ver { font-style: normal; font-size: .42em; font-weight: 700; color: var(--accent); letter-spacing: .04em; margin-top: .2em; }

/* v14.98.0 (doc 119 § 5.1): Your PrisFlex Pass */
.pass-page { max-width: 1100px; }
.pass-rows { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 18px; }
.pass-row { display: grid; grid-template-columns: minmax(14em, 1.1fr) 2fr minmax(9em, .8fr); gap: 14px; align-items: start;
  padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,.05); }
.pass-row .ok { color: #6fdc8c; }
@media (max-width: 700px) { .pass-row { grid-template-columns: 1fr; gap: 4px; } }

/* v14.101.0: Live TV with no tuner yet */
.tuner-guide { max-width: 1400px; padding: 1vh 0 4vh; }
.tuner-guide h3 { margin: 2.4vh 0 .8vh; }
.tuner-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(17em, 1fr)); gap: 1.2em; }
.tuner-card { position: relative; border-radius: 12px; padding: 1em; background: rgba(255,255,255,.06); display: flex; flex-direction: column; gap: .3em; }
.tuner-card.best { box-shadow: 0 0 0 2px var(--accent) inset; }
/* v14.124.0 (Jeremy 2026-11-24 00:30): the page's parts are stops for the remote — a ring, no growing (a paragraph that
   grows 5 % runs under its neighbors) */
.tuner-part { border-radius: 12px; padding: .2em .8em; margin: 0 -.8em; }
.tuner-part.f:focus, .tuner-card.f:focus { transform: none; }
.tuner-part.f, .tuner-card.f { scroll-margin: 3vh 0; }
.tuner-card.f { cursor: pointer; }
.tuner-card p { flex: 1; margin: .4em 0 .8em; }
.tuner-best { position: absolute; top: -.7em; right: 1em; background: var(--accent); color: var(--accent-ink, #fff); font-size: .8em; padding: .1em .6em; border-radius: 1em; }
.tuner-name { font-weight: 700; font-size: 1.2em; }
.tuner-price { font-size: 1.5em; font-weight: 700; color: var(--accent); }
/* v14.164.0 (Jeremy 2026-11-25 22:10): the day the price was the maker's list price, beside each price */
.tuner-asof { font-size: .5em; font-weight: 400; color: var(--muted); white-space: nowrap; }

/* v14.107.0: a button for something closed here (Read Aloud (Multiple Voices) without a Pass or a Claude key) */
.btn.off { opacity: .55; }
/* v14.111.0 (doc 121): the "Sample" tag on a card, and a section's Remove line */
.card .img { position: relative; }
.sample-tag { position: absolute; top: 6px; left: 6px; z-index: 3; padding: 1px 8px; border-radius: 10px; font-size: 13px;
  font-weight: 600; color: #fff; background: rgba(20, 20, 30, .8); border: 1px solid rgba(255, 255, 255, .35); pointer-events: none; }
.sample-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sample-line .sample-home { flex-basis: 100%; }   /* v14.112.2: where your own go, on its own line */
/* v14.111.5: a game's controls — keyboard, gamepad and remote — on its page and in its menu */
.tv-game-controls { margin-top: 2vh; }
.tv-game-controls h3 { margin: 0 0 1vh; font-size: 1.3rem; }
.tv-game-controls table { border-collapse: collapse; width: 100%; font-size: 1rem; }
.tv-game-controls th, .tv-game-controls td { text-align: left; padding: .35em .7em; border-bottom: 1px solid rgba(255, 255, 255, .12); vertical-align: top; }
.tv-game-controls th { opacity: .7; font-weight: 600; }
.tv-game-controls .muted { margin-top: .8vh; font-size: .9rem; }
.tv-gmenu .tv-game-controls { max-height: 70vh; overflow: auto; min-width: min(90vw, 900px); }
/* v14.111.5: Settings → Test the Remote */
.tv-remote-keys { display: flex; flex-wrap: wrap; gap: 1.2vw; margin: 3vh 0; }
.tv-remote-key { min-width: 7vw; padding: 1.6vh 1.2vw; border-radius: 1vw; text-align: center; font-size: 1.6rem; background: rgba(255, 255, 255, .08); border: 2px solid rgba(255, 255, 255, .15); }
.tv-remote-key.on { background: #2e7d32; border-color: #66bb6a; }
.tv-remote-raw { font-family: monospace; font-size: .95rem; opacity: .8; }

/* v14.113.0: a recording still being worked on — plainly not playable yet, with its step, a bar and the time left */
.rec-busy { margin-top: .8vh; }
.rec-busy-t { color: #ffb648; font-size: .95rem; font-weight: 600; }
.rec-bar { margin-top: .6vh; height: .8vh; min-height: 6px; max-width: 40vw; border-radius: 99px; background: rgba(255,255,255,.18); overflow: hidden; }
.rec-bar i { display: block; height: 100%; background: #ffb648; border-radius: 99px; transition: width .8s ease; }
.rec-bar.unknown i { background-image: linear-gradient(90deg, rgba(255,182,72,.25), #ffb648, rgba(255,182,72,.25)); background-size: 200% 100%; animation: rec-bar-go 1.6s linear infinite; }
@keyframes rec-bar-go { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* v14.115.1 (Jeremy 2026-11-23 17:11: "the enlarged focused image is clipped on the top border", "making the focused
   poster even larger, and the posters to its left and right sides should slide outward to make room for this enlarged
   poster rather than overlap"): the highlighted poster grows 40 % (it was 25 %). It rises only a twentieth of its height
   (its growth starts from a point an eighth down the picture; it rose an eighth before, into the shelf's heading and
   past the shelf's edge, which cut its outline) and takes the rest below, where its title lines move down with it.
   tv.js (pfRoom) moves its neighbors apart by what it grows on each side (.pf-l / .pf-r, the distances --pf-dl /
   --pf-dr on their shelf or grid) and what follows below down by the extra (.pf-d, --pf-dn); a poster at the left or
   right end grows inward (--pf-sx) and the others make all the room. A shelf is as tall as before: the room for the
   lower title lines is under it (a negative margin), where the next shelf was before it moved down. */
:root { --pf-grow: 1.4; --pf-w: max(8.6vw, 110px); --pf-keep: calc(var(--pf-w) * 1.5 * .225 + .7vw); --pf-dn: calc(var(--pf-keep) + .6vw); }
.card { --pf-grow: 1.4; transition: transform .18s ease; }
.card .img { transform-origin: 50% 12.5%; }
.card.f:focus .img { transform: translateX(var(--pf-sx, 0px)) scale(var(--pf-grow)); --spec-w: .29vw; }
html.look-tilt .card.f:focus .img.dc { transform: translateX(var(--pf-sx, 0px)) perspective(60vw) rotateY(-22deg) scale(var(--pf-grow, 1.05)); }
@media (prefers-reduced-motion: reduce) { .card.f:focus .img.dc { transform: translateX(var(--pf-sx, 0px)) scale(var(--pf-grow, 1.05)); } }
.card.f:focus .t, .card.f:focus .s, .card.f:focus .s2 { transform: translateY(calc(8.6vw * .35 * var(--ar) + .7vw)); }
.card.wide.f:focus .t, .card.wide.f:focus .s, .card.wide.f:focus .s2 { transform: translateY(calc(15.6vw * .35 * var(--ar) + .7vw)); }
@supports (container-type: inline-size) {
  .card.f:focus .t, .card.f:focus .s, .card.f:focus .s2,
  .card.wide.f:focus .t, .card.wide.f:focus .s, .card.wide.f:focus .s2 { transform: translateY(calc(35cqw * var(--ar) + .7vw)); }   /* .7vw: the outline, and a tilted case's near edge */
}
.card.pf-l { transform: translateX(calc(-1 * var(--pf-dl, 0px))); }
.card.pf-r { transform: translateX(var(--pf-dr, 0px)); }
.pf-slide { transition: transform .18s ease; }
.pf-d, .card.pf-d { transform: translateY(var(--pf-dn)); }
.card { scroll-margin-left: 3.2vw; scroll-margin-right: 3.2vw; }
.card.wide, .tv-main h2.tv-row-title + .row .card.wide { scroll-margin-left: 4.2vw; scroll-margin-right: 4.2vw; }
.card.game-wide, .tv-main h2.tv-row-title + .row .card.game-wide { scroll-margin-left: 5.6vw; scroll-margin-right: 5.6vw; }
/* the lower title lines stay on the screen: the page scrolls as far as they go */
.card, .home-shelves .card, .tv-main h2.tv-row-title + .row .card { scroll-margin-bottom: calc(var(--pf-w) * 1.5 * .35 + .7vw + 6px); }
.pf-shelf { scroll-margin-bottom: var(--pf-keep); }
.row { padding-bottom: calc(var(--pf-w) * 1.5 * .35 + 3.3vw); margin-bottom: calc(-1 * var(--pf-keep)); }
.home-shelves .row, .tv-main h2.tv-row-title + .row { padding-bottom: calc(var(--pf-w) * 1.5 * .35 + .7vw + 2px); margin-bottom: calc(-1 * var(--pf-keep)); }
.row.cast-row { margin-bottom: 0; }

/* v14.115.2 (Jeremy 2026-11-23 17:35: "let's allow two settings per row … everything to fit on the one screen without
   scrolling"): the app's Settings — two settings side by side, each with its line of explanation under it; one under
   the other where the page is narrow (a phone) */
.set-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 2.4vw; align-items: start; }
.set-pair > div > p { margin: .9vh 0; }
.set-pair > div > p.muted { margin-top: 0; }
.set-pair > div > p.muted.set-note { margin-top: .9vh; }   /* an explanation beside its setting, not under it */
.set-pair .actions { margin: .6vh 0; }
@media (max-width: 800px) { .set-pair { grid-template-columns: minmax(0, 1fr); } }
/* v14.115.2 (Jeremy 17:37): Explore's middle poster grows 40 % as a shelf's does (tv.js EX_GROW; the others move away
   from it in their own transforms) — its ring with it, drawn as wide as everywhere else */
.ex-ring, .ex-ring:focus { transform: scale(1.4); --spec-w: calc(max(.45vw, 5px) / 1.4); }
html.look-tilt .ex-ring, html.look-tilt .ex-ring:focus { transform: scale(1.4) perspective(60vw) rotateY(-22deg); }

/* v14.116.0 (Jeremy 2026-11-23 17:46: "all the directors and cast headshots have their faces too high … bring the
   headshots down a little so their face is more in the center of the circles without clipping off the headshot"): a
   portrait is taller than its circle, and the circle showed its middle — the top of the head was cut and the face sat
   in the upper half. The circle now shows the picture from 5 % under its top edge (15 % of what is cut away), which
   brings the face to the middle; the picture still covers the whole circle. */
.person .face img { object-position: 50% 15%; }

/* v14.119.0: a sample playlist's tag sits in its row's text (Playlists is a list of rows, not of cards) */
.sample-tag.inline { position: static; display: inline-block; margin-left: .6vw; vertical-align: middle; }

/* v14.120.0: the samples' credits (who made them, which license) */
.sample-credits .sample-credit { display: block; font-size: .85em; opacity: .85; }

/* v14.121.0: the song's place in the visualizer — the video player's own bar and times */
.tv-viz-bar { width: min(72vw, 1200px); margin: 1vh auto 0; text-align: left; }
.tv-viz-bar .track.seek { margin: 1vh 0 .2vh; }
.tv-viz-bar .times { margin-top: .6vh; }
/* v14.124.0 (Jeremy 2026-11-24 00:30): ▼ lights the time bar — ◀ ▶ then move through the song */
.tv-viz-bar.on .track.seek { box-shadow: 0 0 0 .22vw var(--focus); }
.tv-viz-bar.on .track.seek .knob { transform: scale(1.6); }


/* v14.164.0 (Jeremy 2026-11-25 22:01: "all that text could be fully readable under the focused item without being cut
   off. And if we do that, then we no longer need the wrap-around full title text overlay on top of the poster"): the
   highlighted poster's title and the line under it are shown whole (tv.js pfText): as wide as the bigger picture, on as
   many lines as they need.  A line keeps its height in the page and its text runs on below it; the next line moves
   down by what the lines above grew (--pf-add), and what follows the shelf by all of it (--pf-xt).  A shelf clips what
   is drawn outside it, so it has --pf-more of room below for those lines (taken back by its margin: the page is laid
   out as before).  The title over the picture is gone (PosterArt no longer draws it). */
:root { --pf-more: 5.4rem; }
.card.f:focus .t, .card.f:focus .s, .card.f:focus .s2 { --pf-ty: calc(8.6vw * .35 * var(--ar) + .7vw); }
.card.wide.f:focus .t, .card.wide.f:focus .s, .card.wide.f:focus .s2 { --pf-ty: calc(15.6vw * .35 * var(--ar) + .7vw); }
@supports (container-type: inline-size) {
  .card.f:focus .t, .card.f:focus .s, .card.f:focus .s2,
  .card.wide.f:focus .t, .card.wide.f:focus .s, .card.wide.f:focus .s2 { --pf-ty: calc(35cqw * var(--ar) + .7vw); }
}
.card.f:focus .t, .card.f:focus .s, .card.f:focus .s2,
.card.wide.f:focus .t, .card.wide.f:focus .s, .card.wide.f:focus .s2 { transform: translate(var(--pf-sx, 0px), calc(var(--pf-ty) + var(--pf-add, 0px))); }
.card.pf-open .t, .card.pf-open .s, .card.pf-open .s2 { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere;
  width: calc(100% * var(--pf-grow)); margin-left: calc(50% - 50% * var(--pf-grow)); }
.pf-d, .card.pf-d { transform: translateY(calc(var(--pf-dn) + var(--pf-xt, 0px))); }
.row { padding-bottom: calc(var(--pf-w) * 1.5 * .35 + 3.3vw + var(--pf-more)); margin-bottom: calc(-1 * var(--pf-keep) - var(--pf-more)); }
.home-shelves .row, .tv-main h2.tv-row-title + .row { padding-bottom: calc(var(--pf-w) * 1.5 * .35 + .7vw + 2px + var(--pf-more));
  margin-bottom: calc(-1 * var(--pf-keep) - var(--pf-more)); }
.row.cast-row { margin-bottom: calc(-1 * var(--pf-more)); }
/* v14.164.0 (Jeremy 2026-11-25 22:01: "the duration of the video, so that the user knows how much time they will commit
   … I'd actually prefer the position to be the bottom right"): a poster's length at its bottom right, white and
   lighter than the gold rating at the bottom left; with a progress bar it sits above it, as the rating does */
.card .img .dur, .poster-box .dur { position: absolute; right: .5vw; bottom: .5vw; z-index: 2; padding: .15vw .45vw; border-radius: 6px; background: rgba(0, 0, 0, .72);
  color: #fff; font-size: .78rem; font-weight: 600; line-height: 1.2; letter-spacing: .01em; white-space: nowrap; }
/* v14.164.0: the account's own rating, in the theme's color (IMDb's stays gold) */
.card .img .rate.own, .poster-box .rate.own, .ex-cell .rate.own { color: var(--accent2, var(--accent)); }
/* the lines of a poster in the bottom row stay on the screen when they wrap: the page scrolls two lines further */
.card, .home-shelves .card, .tv-main h2.tv-row-title + .row .card { scroll-margin-bottom: calc(var(--pf-w) * 1.5 * .35 + .7vw + 6px + 2.6rem); }
/* v14.164.4 (Jeremy 2026-11-25 23:12: "move the rating and length lower on the poster, so that the top of it sits about
   where the bottom of it is now, but the bottom of it still sits above the title that's underneath the poster … this will
   free space to see the poster's title when it's on the bottom of the poster … This change needs to apply to posters
   everywhere"): the rating and the length move down by their own height — their tops where their bottoms were, the rest
   below the picture (over the disc case's bottom edge where there is one).  The picture's clip reaches far enough below
   for them, the title lines under a poster start below them, and the played bar sits above them, at the line their
   bottoms had. */
:root { --pf-badge: calc(.85rem * 1.2 + .3vw); }                  /* a rating's height: its line and its padding */
.card .img .rate, .card .img .dur, .poster-box .rate, .poster-box .dur { bottom: .5vw; transform: translateY(100%); }
.card .img { overflow-clip-margin: 1.6rem; }                     /* a plain length: Chromium takes no calc() there */
/* a tilted case is drawn in 3D: there the two lie a little in front of the case and its outline, not behind them */
.card.f:focus .img .rate, .card.f:focus .img .dur, .card:hover .img .rate, .card:hover .img .dur { transform: translateY(100%) translateZ(3px); }
.card .t { margin-top: calc(var(--pf-badge) - .5vw + .8vh); }
/* the highlighted poster is 1.4 times as big, its rating and length too: its lines move down by that much more */
.card.f:focus .t, .card.f:focus .s, .card.f:focus .s2,
.card.wide.f:focus .t, .card.wide.f:focus .s, .card.wide.f:focus .s2 {
  transform: translate(var(--pf-sx, 0px), calc(var(--pf-ty) + var(--pf-add, 0px) + (var(--pf-badge) - .5vw) * .4 + .3vh)); }
.card .img > .bar { bottom: .5vw; left: .5vw; right: .5vw; height: .45vh; border-radius: 99px; }
.card .img.dc > .bar { left: calc(6.65% + .3vw); right: calc(2% + .3vw); }
.card .img .when-tag.with-rate { padding-bottom: .5vw; }
.detail-head .poster-box { margin-bottom: var(--pf-badge); }
/* Explore's posters are clipped to their box and have no title under them: there the two only move down to the edge */
.ex-cell .rate, .ex-cell .dur { bottom: max(.1vw, 1px); }
.ex-cell.dc > .rate { bottom: calc(.3% + max(.1vw, 1px)); }
/* v14.165.0 (Jeremy 2026-11-25 23:41: "the text under the poster should move to the right to left-align with the
   rating"): a poster's lines start where its rating starts (.5vw in; the highlighted poster's, 1.4 times as big, .7vw
   in from its grown edge) */
.card .t, .card .s, .card .s2 { padding-left: .5vw; padding-right: .25vw; }
.card.pf-open .t, .card.pf-open .s, .card.pf-open .s2 { padding-left: var(--pf-pl, .7vw); padding-right: .35vw; }
/* v14.165.0 (Jeremy 2026-11-25 23:51, Explore: no length, the rating not lower, the title still over the picture):
   Explore's posters as every other — the rating and the length moved down by their own height (the picture keeps its
   rounded corners itself, the cell no longer clips), no title over the picture, and the middle poster's whole title and
   its line under it, starting where its rating starts */
.ex-cell { overflow: visible; }
.ex-cell > img { border-radius: var(--r); }
.ex-cell .dur { position: absolute; right: max(.4vw, 4px); padding: .15em .45em; border-radius: 6px; background: rgba(0, 0, 0, .72);
  color: #fff; font-size: .78rem; font-weight: 600; line-height: 1.2; white-space: nowrap; pointer-events: none; z-index: 2; }
.ex-cell .rate, .ex-cell .dur { bottom: max(.4vw, 4px); transform: translateY(100%); z-index: 2; }
.ex-cell.dc > .rate { left: calc(6.65% + max(.3vw, 3px)); bottom: calc(1.4% + max(.3vw, 3px)); }
.ex-cell.dc > .dur { right: calc(2% + max(.3vw, 3px)); bottom: calc(1.4% + max(.3vw, 3px)); }
html.look-tilt .ex-cell.dc.on > .rate, html.look-tilt .ex-cell.dc.on > .dur { transform: translateY(100%) translateZ(3px); }
.ex-cell .full { display: none !important; }
.ex-cap { position: absolute; top: calc(100% + var(--pf-badge) + .4vh); left: max(.4vw, 4px); width: max-content;
  max-width: max(calc(100% + 4vw), 14vw); z-index: 3; pointer-events: none; color: #fff; padding: .35vh .5vw .45vh;
  margin-left: -.5vw; border-radius: 8px; background: rgba(8, 8, 14, .9); box-shadow: 0 .4vw 1vw rgba(0, 0, 0, .6); }
.ex-cell.dc > .ex-cap { left: calc(6.65% + max(.3vw, 3px)); }
.ex-cap-t { font-weight: 700; font-size: .9rem; line-height: 1.2; white-space: normal; overflow-wrap: anywhere; }
.ex-cap-s { font-size: .75rem; opacity: .85; margin-top: .2vh; }
/* v14.165.2 (Jeremy 2026-11-26 00:35): Explore — the middle poster's rating and length lie on top of the focus outline
   (drawn in the ring, above its ::after; the cell's own two hidden), and no title under the poster (.ex-cap is gone) */
.ex-cell.on > .rate, .ex-cell.on > .dur { visibility: hidden; }
.ex-ring > .rate, .ex-ring > .dur { position: absolute; z-index: 5; bottom: max(.4vw, 4px); transform: translateY(100%);
  padding: .15em .45em; border-radius: 6px; background: rgba(0, 0, 0, .72); font-size: .85rem; font-weight: 700;
  line-height: 1.2; white-space: nowrap; pointer-events: none; }
.ex-ring > .rate { left: max(.4vw, 4px); color: #f5c518; }
.ex-ring > .rate.own { color: var(--accent2, var(--accent)); }
.ex-ring > .dur { right: max(.4vw, 4px); color: #fff; font-size: .78rem; font-weight: 600; }
.ex-ring.ex-ring-dc > .rate { left: calc(6.65% + max(.3vw, 3px)); bottom: calc(1.4% + max(.3vw, 3px)); }
.ex-ring.ex-ring-dc > .dur { right: calc(2% + max(.3vw, 3px)); bottom: calc(1.4% + max(.3vw, 3px)); }
html.look-tilt .ex-ring > .rate, html.look-tilt .ex-ring > .dur { transform: translateY(100%) translateZ(3px); }
/* v14.166.0 (Jeremy 2026-11-25 23:43: games playable on a phone): the gamepad on a touch screen — see-through buttons
   over the game, the D-pad bottom left, A B X Y bottom right (Nintendo's places), the shoulders in the top corners */
.tv-touchpad { position: absolute; inset: 0; z-index: 6; pointer-events: none; touch-action: none; user-select: none;
  -webkit-user-select: none; -webkit-touch-callout: none; }
.tv-touchpad .tp-b { pointer-events: auto; touch-action: none; position: absolute; display: flex; align-items: center;
  justify-content: center; border: 2px solid rgba(255, 255, 255, .45); background: rgba(20, 20, 30, .38); color: rgba(255, 255, 255, .9);
  font-weight: 700; font-size: 4.2vmin; border-radius: 50%; width: 13vmin; height: 13vmin; padding: 0; -webkit-tap-highlight-color: transparent; }
.tv-touchpad .tp-b:active { background: rgba(255, 255, 255, .35); }
.tp-dpad, .tp-face { position: absolute; bottom: 4vmin; width: 40vmin; height: 40vmin; }
.tp-dpad { left: 4vmin; }
.tp-face { right: 4vmin; }
.tp-dpad .tp-b { border-radius: 2vmin; }
.tpk-up, .tpk-x { left: 13.5vmin; top: 0; }
.tpk-down, .tpk-b { left: 13.5vmin; bottom: 0; }
.tpk-left, .tpk-y { left: 0; top: 13.5vmin; }
.tpk-right, .tpk-a { right: 0; top: 13.5vmin; }
.tp-shoulder { position: absolute; top: 3vmin; display: flex; gap: 2vmin; }
.tp-shoulder.tp-sl { left: 4vmin; }
.tp-shoulder.tp-sr { right: 4vmin; }
.tp-shoulder .tp-b, .tp-mid .tp-b { position: static; border-radius: 3vmin; width: 15vmin; height: 8vmin; font-size: 3.2vmin; }
.tp-mid { position: absolute; bottom: 3vmin; left: 50%; transform: translateX(-50%); display: flex; gap: 3vmin; }
.tp-mid .tp-small { width: 13vmin; height: 7vmin; font-size: 2.6vmin; }
/* v14.166.3 (Jeremy 2026-11-26 02:42: "Sometimes the ratings and the length overlap each other a bit. The ratings
   should always left align and the length should always right-align on the poster edges"): the two grow and shrink
   with the poster (container units), so a narrow poster's rating and length fit side by side at its two edges —
   9.2 % of the poster's width is the most each letter may take (a rating "★ 7.4" and a length "1h 42m" side by side
   then take at most 80 % of it); never bigger than before */
@supports (container-type: inline-size) {
  .ex-cell, .ex-ring { container-type: inline-size; }
  .card .img .rate, .card .img .dur, .ex-cell .rate, .ex-cell .dur, .ex-ring > .rate, .ex-ring > .dur {
    font-size: min(.85rem, 9.2cqw); padding: .15em .4em; max-width: 48cqw; overflow: hidden; text-overflow: clip; }
  .card .img .dur, .ex-cell .dur, .ex-ring > .dur { font-size: min(.78rem, 9.2cqw); }
}
/* v14.167.10 (Jeremy 2026-11-26 17:00: "There is too much space now between the title and the disc case when tilted.
   I thought it was okay before this change"): half of 14.166.3's extra drop — measured, the title then sits 4–6 px under
   the tilted case's length badge at 1920 and 2576 wide (none: 5–7 px into the badge; 14.166.3's: 18–24 px below) */
html.look-tilt .card.f:focus .t, html.look-tilt .card.f:focus .s, html.look-tilt .card.f:focus .s2,
html.look-tilt .card.wide.f:focus .t, html.look-tilt .card.wide.f:focus .s, html.look-tilt .card.wide.f:focus .s2 {
  transform: translate(var(--pf-sx, 0px), calc(var(--pf-ty) + var(--pf-add, 0px) + (var(--pf-badge) - .5vw) * .4 + .3vh
    + 8.6vw * var(--ar) * .03 + .2vh)); }
@supports (container-type: inline-size) {
  html.look-tilt .card.f:focus .t, html.look-tilt .card.f:focus .s, html.look-tilt .card.f:focus .s2,
  html.look-tilt .card.wide.f:focus .t, html.look-tilt .card.wide.f:focus .s, html.look-tilt .card.wide.f:focus .s2 {
    transform: translate(var(--pf-sx, 0px), calc(var(--pf-ty) + var(--pf-add, 0px) + (var(--pf-badge) - .5vw) * .4 + .3vh
      + 3cqw * var(--ar) + .2vh)); }
}


/* v14.169.0 (Jeremy 2026-11-26 17:34–17:38): "I do not like how the shelves on the home screen below the shelf we are
   moving through adjust their heights based on how much text is under the focused poster … keep it's default set
   distance and put a black background or shadow around the focused poster's text below the poster and have it overlay
   on top of the lower shelf"; "the focused poster, should not just expand downward, but should also move upwards a
   little, centering it's enlarged poster with the center of the other posters in the shelf"; "move the text under the
   poster up slightly to the point where the top line of text is barely touching the length displayed"; "where our
   enlarged centered poster would collide with the shelf's section title, then I think the poster should be on top".
   * the highlighted poster grows from its middle (its top rises by a fifth of its height, its bottom drops as much);
   * its lines start where the grown rating and length end (measured: 0.7–2 px under them at 1920 and 2576 wide);
   * what lies below no longer moves: the lines lie over it on a dark backing (tv.js pfText: the card keeps its height,
     its lines take theirs); the highlighted shelf (and the poster in a grid) is drawn over the next one and over its
     own shelf's title;
   * a shelf has a fifth of a poster's height of room above its posters (and is pulled up by what it gained: the page is
     laid out as before), so the risen poster and its outline are not cut. */
.card .img { transform-origin: 50% 50%; }
.card.f:focus .t, .card.f:focus .s, .card.f:focus .s2 {
  --pf-ty: calc(8.6vw * .2 * var(--ar) + (var(--pf-badge) - .5vw) * .4 - .8vh + 1px); }
.card.wide.f:focus .t, .card.wide.f:focus .s, .card.wide.f:focus .s2 {
  --pf-ty: calc(15.6vw * .2 * var(--ar) + (var(--pf-badge) - .5vw) * .4 - .8vh + 1px); }
html.look-tilt .card.f:focus .t, html.look-tilt .card.f:focus .s, html.look-tilt .card.f:focus .s2 {
  --pf-ty: calc(8.6vw * .305 * var(--ar) + (var(--pf-badge) - .5vw) * .4 - .8vh); }
html.look-tilt .card.wide.f:focus .t, html.look-tilt .card.wide.f:focus .s, html.look-tilt .card.wide.f:focus .s2 {
  --pf-ty: calc(15.6vw * .305 * var(--ar) + (var(--pf-badge) - .5vw) * .4 - .8vh); }
@supports (container-type: inline-size) {
  .card.f:focus .t, .card.f:focus .s, .card.f:focus .s2,
  .card.wide.f:focus .t, .card.wide.f:focus .s, .card.wide.f:focus .s2 {
    --pf-ty: calc(20cqw * var(--ar) + (var(--pf-badge) - .5vw) * .4 - .8vh + 1px); }
  html.look-tilt .card.f:focus .t, html.look-tilt .card.f:focus .s, html.look-tilt .card.f:focus .s2,
  html.look-tilt .card.wide.f:focus .t, html.look-tilt .card.wide.f:focus .s, html.look-tilt .card.wide.f:focus .s2 {
    --pf-ty: calc(30.5cqw * var(--ar) + (var(--pf-badge) - .5vw) * .4 - .8vh); }
}
.card.f:focus .t, .card.f:focus .s, .card.f:focus .s2,
.card.wide.f:focus .t, .card.wide.f:focus .s, .card.wide.f:focus .s2,
html.look-tilt .card.f:focus .t, html.look-tilt .card.f:focus .s, html.look-tilt .card.f:focus .s2,
html.look-tilt .card.wide.f:focus .t, html.look-tilt .card.wide.f:focus .s, html.look-tilt .card.wide.f:focus .s2 {
  transform: translate(var(--pf-sx, 0px), var(--pf-ty)); }
/* v14.169.2 (Jeremy 17:47: "I would prefer you not do a black box around the entire area of the text below the poster,
   and instead handled it with like a black outline around the text"): each letter outlined in black (a 1–2 px ring and
   a soft dark edge), no box */
.card.pf-open .t, .card.pf-open .s, .card.pf-open .s2 { margin-top: 0;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 -2px 0 #000, 0 2px 0 #000,
    -2px 0 0 #000, 2px 0 0 #000, 0 0 6px rgba(0, 0, 0, .95), 0 0 12px rgba(0, 0, 0, .7); }
.card.pf-open .t:empty, .card.pf-open .s:empty, .card.pf-open .s2:empty { display: none; }
/* nothing below moves; the highlighted shelf, and the highlighted poster, are drawn over what follows */
.pf-d, .card.pf-d { transform: none; }
.pf-shelf { position: relative; z-index: 4; }
.card.f:focus { z-index: 6; }
/* room above the posters for the risen poster and its outline (the shelf is pulled up by as much) */
:root { --pf-rise: calc(var(--pf-w) * 1.5 * .075 + .9vw); }
.row:not(.cast-row) { padding-top: calc(var(--pf-w) * 1.5 * .125 + .7vw + var(--pf-rise)); margin-top: calc(-1vh - var(--pf-rise)); }
.home-shelves .row:not(.cast-row), .tv-main h2.tv-row-title + .row:not(.cast-row) {
  padding-top: calc(var(--pf-w) * 1.5 * .125 + 3px + var(--pf-rise)); }
.home-shelves .row:not(.cast-row) { margin-top: calc(-1vh - var(--pf-rise)); }
h2.tv-row-title + .row:not(.cast-row) { margin-top: calc(-1.1vw - var(--pf-rise)); }
/* a shelf's title stays clickable over the room above its posters; the highlighted poster (6) is drawn over it (5) */
h2.tv-row-title { position: relative; z-index: 5; }
/* v14.169.3 (Jeremy 2026-11-26 17:55: "I think the shelf's own section title should be on top of the poster, and I
   think the text below the poster should be on top of the section title of the shelf that's below the focused shelf"):
   the highlighted shelf is drawn over every other shelf and its title (5); inside it, its own title (7) is drawn over
   its highlighted poster (6) */
.pf-shelf { z-index: 6; }
.pf-shelf h2.tv-row-title { z-index: 7; }
/* v14.169.5 (Jeremy 2026-11-26 18:04: "when it is above that section title text, it's really hard to read … enhance the
   black outline around our focused poster's text when it collides with the shelf title below it"): lines lying over
   another shelf's title (tv.js pfOver) get a heavy outline — a 3 px ring and a wide dark edge that hides the title's
   letters around them */
.card.pf-open.pf-over .t, .card.pf-open.pf-over .s, .card.pf-open.pf-over .s2 {
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000,
    -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000,
    0 -3px 0 #000, 0 3px 0 #000, -3px 0 0 #000, 3px 0 0 #000,
    -3px -2px 0 #000, 3px -2px 0 #000, -3px 2px 0 #000, 3px 2px 0 #000,
    0 0 6px #000, 0 0 10px #000, 0 0 16px #000, 0 0 24px rgba(0, 0, 0, .9); }
/* v14.169.6 (Jeremy 18:04, the heavy outline still hard to read over the title's big letters): a denser dark edge, and
   the title under the lines fades to a third until the highlight moves on */
.card.pf-open.pf-over .t, .card.pf-open.pf-over .s, .card.pf-open.pf-over .s2 {
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000,
    -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000,
    0 -3px 0 #000, 0 3px 0 #000, -3px 0 0 #000, 3px 0 0 #000,
    0 0 4px #000, 0 0 6px #000, 0 0 8px #000, 0 0 12px #000, 0 0 12px #000, 0 0 18px #000, 0 0 18px #000,
    0 0 26px #000; }
h2.tv-row-title { transition: opacity .18s ease; }
h2.tv-row-title.pf-under { opacity: .3; }
/* v14.169.8 (Jeremy 2026-11-26 18:37: "add a black outline around the currently selected shelf's title, so that it's
   easier to read when our enlarged focused poster is under it"): the highlighted shelf's own title, over its poster,
   has the same heavy outline as lines lying over a title */
.pf-shelf h2.tv-row-title {
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000,
    -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000,
    0 -3px 0 #000, 0 3px 0 #000, -3px 0 0 #000, 3px 0 0 #000,
    0 0 4px #000, 0 0 6px #000, 0 0 8px #000, 0 0 12px #000, 0 0 12px #000, 0 0 18px #000, 0 0 18px #000,
    0 0 26px #000; }

/* v14.175.0 (Jeremy 2026-11-26 23:00): Live TV rewind — how far behind live, and the way back to it */
.player .live-behind { color: #ffd166; font-weight: 700; }
.player .ctl .live-go { color: #ff5a5a; font-weight: 700; }

/* v14.176.0: the opening video over the app while it starts */
.pf-intro { position: fixed; inset: 0; z-index: 2147483000; background: #07060d; display: flex; align-items: center;
  justify-content: center; transition: opacity .5s ease; }
.pf-intro video { width: 100%; height: 100%; object-fit: contain; background: #07060d; }
.pf-intro.out { opacity: 0; pointer-events: none; }
.pf-intro-sound { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); padding: .5em 1.1em;
  border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 1.4rem; letter-spacing: .02em; }
/* v14.185.0 (Jeremy 2026-11-28 19:38: "in addition to a red dot, we should put a red border around the scheduled
   recordings on the program guide"): a program set to record — a red border, over its picture too */
.lg2 .lg-prog.rec { box-sizing: border-box; border: .22vw solid #e5484d; }
/* v14.185.0: a show's picture — Look It Up's pictures to choose from */
.show-picture { max-width: 70vw; }
.show-picture .sp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1vw; margin: 1vh 0; max-height: 52vh; overflow-y: auto; }
.show-picture .sp-pick { display: flex; flex-direction: column; gap: .4vh; padding: .4vw; background: var(--bg2); border: 0; border-radius: var(--r);
  color: inherit; text-align: left; }
.show-picture .sp-pick img, .show-picture .sp-none { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--r) * .6); background: #111; }
.show-picture .sp-pick span { font-size: 1.6vh; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* v14.190.0: Recordings as shelves — posters in disc cases, REC tag, progress bar */
.rec-card-tv .pp { position: relative; }
.rec-tag { position: absolute; top: .6vh; left: .5vw; z-index: 3; padding: .2vh .5vw; border-radius: .3vw; font-size: .8rem;
  font-weight: 700; background: rgba(0, 0, 0, .7); color: #fff; display: flex; align-items: center; gap: .3vw; }
.rec-tag.live { background: rgba(229, 72, 77, .92); }
.rec-tag-bar { position: absolute; left: .5vw; right: .5vw; bottom: .7vh; z-index: 3; height: .6vh; border-radius: .3vh;
  background: rgba(0, 0, 0, .55); overflow: hidden; }
.rec-tag-bar > i { display: block; height: 100%; background: #3b82f6; }
/* v14.207.0: New Movies' three lists, then — apart — the one Have / Missing button */
.th-views .tb-sep { display: inline-block; width: 2px; align-self: stretch; min-height: 4vh; background: rgba(255,255,255,.25); margin: 0 1vw; }
.th-views .have-cycle { margin-left: 0; }
/* v14.208.0: the focused program's full title above the guide */
.lg2-focus { display: flex; align-items: baseline; gap: 1.2vw; min-height: 4.4vh; margin: 0 0 .8vh; overflow: hidden; white-space: nowrap; }
.lg2-focus-t { font-size: 1.5rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.lg2-focus-s { font-size: 1.05rem; flex: 0 0 auto; }

/* v14.215.0: Edit Menus (Settings → Edit Menus) — the menu as cards; a submenu's entries stand in; a held card stands out */
.menu-edit-list { display: flex; flex-direction: column; gap: .35em; margin-top: 1em; max-width: 46em; }
.menu-row { display: flex; align-items: center; gap: .6em; }
.menu-row.sub { margin-left: 2.2em; }
.menu-row .menu-card { flex: 1 1 auto; text-align: left; justify-content: flex-start; }
.menu-row.grp .menu-card { font-weight: 700; }
.menu-row.off .menu-card { opacity: .55; }
.menu-row.held .menu-card { outline: 3px dashed currentColor; outline-offset: 2px; transform: translateX(.6em); }
.menu-hold { display: inline-flex; gap: .35em; }
.menu-rename-box { width: 100%; box-sizing: border-box; font: inherit; padding: .5em .7em; margin: .5em 0 .8em; border-radius: .4em;
  border: 2px solid currentColor; background: transparent; color: inherit; }

/* v14.216.0 (Jeremy 2026-12-01 04:02): a list none of whose posters has a rating or a length hanging under its case
   (New Movies' Coming Soon) needs no room for them — its titles sit right under the case */
.grid.no-badge > .card .t { margin-top: .9vh; }

/* v14.216.3 — PrisFlex App on a phone (the store plan's step A6; measured at 375 × 812 against a real library, each
   rule tried on the page before it was written here).  Only inside the phone layout's own media query — a TV, a tablet
   in landscape and a browser window wider than 800 px are not touched.
   · the menu strip ends clear of the profile picture (which sits over its right end: the last entry lay under it);
   · Search's two top buttons fit the screen (the fixed, centered pair was 393 px wide: 9 px off each edge);
   · a poster's rating, length and second line are at least 12 px (they were 10.4 / 10.4 / 10.9 px). */
@media (max-width: 800px), (max-height: 500px) {
  .tv-nav { padding-right: calc(44px + 5vw); }
  .search-page.kb-open .search-top { max-width: 98vw; gap: 1vw; }
  .search-page.kb-open .search-top .btn { padding-left: 1.5vw; padding-right: 1.5vw; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .card .s, .card .s2 { font-size: max(.78rem, 12px); }
  .card .img .rate, .card .img .dur { font-size: max(.74rem, 12px); }
}
/* … and under a finger (a phone, not a TV's remote or a mouse): buttons, the menu's entries, a shelf's title that is a
   button, pickers and text boxes are at least 44 px high (they were 36 / 41 / 26 / 23 px); a letter of My Music's
   shelf of spines is 30 px wide (22 px) */
@media (pointer: coarse) and (max-width: 800px), (pointer: coarse) and (max-height: 500px) {
  .btn, .tv-nav button, .picker button, .row-title-btn, input.f, select.f { min-height: 44px; }
  .letters.spine-shelf .spine { min-width: 30px; }
}
