/* Age on Set: "screening room" theme.
   One loud element, the ages, set in condensed marquee numerals; everything else stays quiet.
   Follows the device's light/dark setting. Mobile first. */

:root {
  color-scheme: dark light;
  --bg: #16131f;        /* screening-room violet-black */
  --surface: #201c2c;
  --surface-2: #2b2639;
  --line: #3a3449;
  --text: #f3efe7;      /* projector-light off-white */
  --muted: #a9a2b9;
  --faint: #6f6883;
  --marquee: #f4b740;   /* the ages */
  --younger: #6fd3c7;
  --good: #7bd88f;
  --warn: #e9b1a2;
  --focus: #f4b740;
  --shadow: 0 18px 50px rgb(0 0 0 / .45);

  --display: "Big Shoulders Display", "Arial Narrow", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 8px; --r-md: 14px; --r-lg: 20px;
  --pad: max(18px, env(safe-area-inset-left));
  --measure: 880px;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f3f1f8; --surface: #ffffff; --surface-2: #e9e6f1; --line: #d9d4e5;
    --text: #1b1824; --muted: #5e5872; --faint: #9c96ad;
    --marquee: #9a5b00; --younger: #0e7c72; --good: #237a3b; --warn: #9b4a33; --focus: #9a5b00;
    --shadow: 0 18px 40px rgb(40 30 70 / .14);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.5 var(--body); text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--marquee) 35%, transparent); }

.app { max-width: var(--measure); margin: 0 auto; padding: 0 var(--pad) calc(48px + env(safe-area-inset-bottom)); }

/* ------------------------------------------------------------------ top bar */
.bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 18px;
  padding: max(12px, env(safe-area-inset-top)) 0 12px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
.bar::after {
  content: ""; position: absolute; inset: auto calc(-1 * var(--pad)) 0; height: 1px; background: var(--line);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  font: 800 24px/1 var(--display); letter-spacing: .01em; text-decoration: none; color: var(--text);
}
/* A tiny row of marquee bulbs. */
.mark {
  width: 22px; height: 22px; border-radius: 6px; background:
    radial-gradient(circle, var(--marquee) 2.2px, transparent 2.6px) 0 0 / 7.3px 7.3px,
    var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
}

.searchbox { position: relative; flex: 1; min-width: 0; }
.glass {
  position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px;
  fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none;
}
#q {
  width: 100%; height: 48px; padding: 0 44px 0 42px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-size: 16px; /* 16px keeps iOS from zooming */
  transition: border-color .15s, box-shadow .15s;
}
#q::placeholder { color: var(--faint); }
#q:focus { outline: none; border-color: var(--marquee); box-shadow: 0 0 0 4px color-mix(in srgb, var(--marquee) 22%, transparent); }
#q::-webkit-search-cancel-button { display: none; }
.hint {
  position: absolute; right: 14px; top: 50%; translate: 0 -50%;
  min-width: 22px; padding: 1px 6px; border: 1px solid var(--line); border-radius: 6px;
  color: var(--faint); font: 500 12px/18px var(--body); text-align: center; pointer-events: none;
}
#q:focus ~ .hint, #q:not(:placeholder-shown) ~ .hint { display: none; }
@media (hover: none) { .hint { display: none; } }

#results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px;
  list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow); max-height: min(60vh, 460px); overflow-y: auto; overscroll-behavior: contain;
}
#results li {
  display: flex; flex-direction: column; gap: 1px; min-height: 48px; justify-content: center;
  padding: 8px 12px; border-radius: var(--r-sm); cursor: pointer;
}
#results li.on, #results li:hover { background: var(--surface-2); }
#results .t { font-weight: 600; }
#results .d { color: var(--muted); font-size: 13.5px; }

/* ------------------------------------------------------------------ status */
.status { min-height: 1.5em; margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.status:empty { margin: 0; min-height: 0; }
.status.busy::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%;
  background: var(--marquee); vertical-align: 1px; animation: bulb 1s ease-in-out infinite;
}
.status.warn { color: var(--warn); }
.status.err {
  color: var(--text); background: color-mix(in srgb, var(--warn) 14%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent); border-radius: var(--r-sm); padding: 10px 14px;
}
@keyframes bulb { 50% { opacity: .25; } }

/* ------------------------------------------------------------------ home */
#home { padding: clamp(28px, 6vw, 56px) 0 8px; }
.hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: clamp(24px, 4vw, 48px);
  align-items: center; margin-bottom: clamp(36px, 6vw, 56px);
}
#home h1 {
  margin: 0 0 16px; max-width: 16ch;
  font: 800 clamp(36px, 5.4vw, 58px)/1 var(--display); letter-spacing: .005em; text-wrap: balance;
}
.lede { max-width: 46ch; margin: 0; font-size: clamp(16.5px, 1.9vw, 18.5px); color: color-mix(in srgb, var(--text) 86%, var(--muted)); text-wrap: pretty; }

/* A real result, shown as the hero: what the site does, at a glance. */
.sample {
  display: grid; gap: 0; width: 100%; padding: 0; text-align: left; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); overflow: hidden; rotate: 1.2deg;
  transition: rotate .25s ease, border-color .2s;
}
.sample:hover, .sample:focus-visible { rotate: 0deg; border-color: var(--marquee); }
.samplehead { display: grid; gap: 2px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.samplehead strong { font: 800 26px/1 var(--display); }
.samplehead span { color: var(--good); font-size: 13px; }
.srow {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.sname { display: grid; font-weight: 600; font-size: 15px; }
.sname small { color: var(--muted); font-weight: 400; font-size: 13px; }
.sage { font: 800 32px/1 var(--display); color: var(--marquee); font-variant-numeric: tabular-nums; }
.samplefoot { padding: 10px 18px 12px; color: var(--faint); font-size: 12.5px; }

.trending { margin: 0 0 30px; }
.trendhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.trendhead h2 { margin: 0; font: 800 28px/1 var(--display); }
.shuffle {
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); font-weight: 500; transition: border-color .15s;
}
.shuffle:hover { border-color: var(--marquee); }
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.pick {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px;
  padding: 10px 14px; text-align: left; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line); transition: border-color .15s, background-color .15s;
}
.pick:hover { border-color: var(--marquee); background: color-mix(in srgb, var(--surface-2) 50%, var(--surface)); }
.pt { font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.pk {
  flex: none; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--surface-2); color: var(--muted);
}
.trendsrc { margin: 10px 0 0; color: var(--faint); font-size: 13px; }
.fine { max-width: 62ch; margin: 0; color: var(--muted); font-size: 14px; text-wrap: pretty; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .sample { rotate: 0deg; }
}
@media (max-width: 560px) {
  .picks { grid-template-columns: 1fr 1fr; }
  .pick { flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; }
}

/* ------------------------------------------------------------------ title page */
#film { padding-top: 20px; }
.filmhead h2 {
  margin: 8px 0 6px; font: 800 clamp(40px, 8vw, 72px)/.95 var(--display); text-wrap: balance;
}
.sub { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 18px; color: var(--muted); }
.sub span:first-child:not(:only-child) { flex-basis: 100%; }
.sub span + span + span { position: relative; }
.sub span + span + span::before {
  content: ""; position: absolute; left: -8px; top: 50%; width: 3px; height: 3px; border-radius: 50%;
  background: var(--faint); translate: 0 -50%;
}

.filming {
  display: grid; gap: 6px; padding: 14px 16px; margin: 0 0 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
}
.pill {
  justify-self: start; display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600;
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ok .pill { color: var(--good); }
.none .pill { color: var(--warn); }
.filming details { color: var(--muted); font-size: 14px; }
.filming summary { cursor: pointer; width: fit-content; padding: 4px 0; }
.filming summary:hover { color: var(--text); }
.filming blockquote {
  margin: 8px 0; padding: 10px 14px; border-radius: var(--r-sm);
  background: var(--surface-2); color: var(--text); font-style: normal;
}

.chip {
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  transition: border-color .15s, background-color .15s;
}
.chip:hover { border-color: var(--marquee); }
.seasons { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.seasons .chip { position: relative; min-width: 48px; padding: 0 14px; font-weight: 500; }
.seasons .chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.seasons .dot { position: absolute; top: 5px; right: 6px; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--good); flex: none; }
.legend { margin: 0 0 18px; }
.legend .dot { margin-right: 7px; vertical-align: 2px; }

.tools { display: flex; justify-content: flex-end; margin: 0 0 6px; }
.tools label { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.tools select {
  min-height: 40px; padding: 0 34px 0 12px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a9a2b9' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 13px center;
  appearance: none;
}

/* ------------------------------------------------------------------ key facts bar */
.keybar {
  display: flex; align-items: stretch; gap: 10px; margin: 0 0 22px; container: keybar / inline-size;
}
.keys {
  flex: 1; min-width: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
}
.key { padding: 12px 14px; min-width: 0; }
.key + .key { box-shadow: -1px 0 0 var(--line); }
.key dt { color: var(--muted); font-size: 13px; }
.key dd { margin: 4px 0 0; font: 800 30px/1 var(--display); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.key.accent dd { color: var(--marquee); }
.ks { display: block; margin-top: 4px; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.detailsbtn {
  flex: none; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-width: 96px; padding: 10px 14px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14px;
  transition: border-color .15s;
}
.detailsbtn:hover { border-color: var(--marquee); }
/* Narrow bar (tablets, side panes, phones): numbers 2 x 2, button full width beneath. */
@container keybar (max-width: 700px) {
  .keys { grid-template-columns: 1fr 1fr; }
  .key + .key { box-shadow: none; }
  .key:nth-child(even) { box-shadow: -1px 0 0 var(--line); }
  .key:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@container keybar (max-width: 560px) {
  .key dd { font-size: 26px; }
}
.detailsbtn .n {
  min-width: 26px; padding: 1px 8px; border-radius: 999px; background: var(--surface-2);
  color: var(--muted); font-size: 12px; font-weight: 600;
}

/* ------------------------------------------------------------------ details sheet */
html.sheet-open { overflow: hidden; }
.sheet {
  margin: 0 0 0 auto; padding: 0; border: 0; max-height: 100dvh; height: 100dvh; width: min(440px, 100vw);
  background: var(--bg); color: var(--text); border-left: 1px solid var(--line);
  box-shadow: var(--shadow); overflow-y: auto; overscroll-behavior: contain;
}
.sheet::backdrop { background: rgb(8 6 14 / .55); backdrop-filter: blur(3px); }
.sheet[open] { animation: sheet-in-side .22s cubic-bezier(.2,.8,.2,1); }
.sheet[open]::backdrop { animation: fade .22s ease; }
@keyframes sheet-in-side { from { translate: 40px 0; opacity: 0; } }
@keyframes sheet-in-up { from { translate: 0 60px; opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.sheethead {
  position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 20px 20px 14px; background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.sheethead h3 { margin: 0; font: 800 32px/1 var(--display); text-wrap: balance; }
.sheethead p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.close {
  flex: none; position: relative; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface);
}
.close span::before, .close span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.8px; border-radius: 2px;
  background: var(--text); translate: -50% -50%; rotate: 45deg;
}
.close span::after { rotate: -45deg; }
.close:hover { border-color: var(--marquee); }
.dlist { margin: 0; padding: 6px 20px 4px; }
.drow {
  display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 14px; padding: 12px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.drow:last-child { border-bottom: 0; }
.drow dt { color: var(--muted); font-size: 14px; }
.drow dd { margin: 0; display: grid; gap: 2px; }
.dv { font-weight: 600; overflow-wrap: anywhere; }
.dv a { color: var(--text); }
.drow.accent .dv { color: var(--marquee); }
.ds { color: var(--muted); font-size: 13px; }
.sheet .src { padding: 0 20px calc(24px + env(safe-area-inset-bottom)); }
.src { margin: 10px 0 0; color: var(--faint); font-size: 12.5px; }

/* ------------------------------------------------------------------ cast list */
.cast { list-style: none; margin: 0; padding: 0; container-type: inline-size; }
.row, .head {
  display: grid; grid-template-columns: minmax(0, 1fr) 4.5rem 4.5rem; gap: 12px; align-items: center;
}
.cast.hasgap .row, .cast.hasgap .head { grid-template-columns: minmax(0, 1fr) 4.5rem 4.5rem 5.5rem; }
.head { padding: 6px 0 8px; color: var(--muted); font-size: 13px; border-bottom: 1px solid var(--line); }
.head span:not(:first-child), .age, .gapcell { text-align: right; }
.row { padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.row:last-child { border-bottom: 0; }

.who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.whotext { min-width: 0; display: grid; gap: 1px; }
.who strong { font-weight: 600; overflow-wrap: anywhere; }
.whotext span { color: var(--muted); font-size: 13.5px; overflow-wrap: anywhere; }

.avatar {
  flex: none; width: 48px; height: 48px; border-radius: 50%; overflow: hidden;
  display: inline-grid; place-items: center; background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--line);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.avatar.none { color: var(--muted); font-size: 14px; font-weight: 600; }

/* The loud element: ages in marquee numerals. */
.age {
  font: 800 34px/1 var(--display); color: var(--marquee); font-variant-numeric: tabular-nums; letter-spacing: .01em;
}
.age.rng { font-size: 26px; }
.age.none { color: var(--faint); font-weight: 600; }
.cast .age + .age { color: color-mix(in srgb, var(--marquee) 55%, var(--muted)); font-size: 26px; }
.cast .age + .age.rng { font-size: 22px; }

.gapcell { font: 800 26px/1 var(--display); font-variant-numeric: tabular-nums; }
.gapcell small { display: block; margin-top: 3px; font: 500 12px/1.2 var(--body); color: var(--muted); }
.gapcell.older { color: var(--marquee); }
.gapcell.younger { color: var(--younger); }

.note { color: var(--muted); font-size: 14px; margin: 14px 0 0; max-width: 70ch; }

/* ------------------------------------------------------------------ season grid */
.gridwrap {
  overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  scrollbar-width: thin; overscroll-behavior-x: contain;
}
.seasongrid { border-collapse: separate; border-spacing: 0; width: 100%; font-variant-numeric: tabular-nums; }
.seasongrid th, .seasongrid td {
  padding: 10px 12px; text-align: right; white-space: nowrap;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.seasongrid tbody tr:last-child > * { border-bottom: 0; }
.seasongrid thead th { color: var(--muted); font-size: 13px; font-weight: 500; border-bottom-color: var(--line); }
.seasongrid .name {
  position: sticky; left: 0; z-index: 1; text-align: left; font-weight: 400; background: var(--surface);
  box-shadow: 1px 0 0 var(--line);
}
.seasongrid .whotext span { max-width: 13rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seasongrid .avatar { width: 38px; height: 38px; }
.seasongrid .who { gap: 10px; }
.seasongrid td { font: 800 26px/1 var(--display); color: var(--marquee); }
.seasongrid td.prem { color: color-mix(in srgb, var(--marquee) 45%, var(--muted)); font-weight: 600; }
.seasongrid td.rng { font-size: 20px; }
.seasongrid td.none { color: var(--faint); font-weight: 600; }
.seasongrid tbody tr:hover > * { background: color-mix(in srgb, var(--surface-2) 60%, var(--surface)); }
.colbtn {
  display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 8px;
  border: 0; border-radius: 999px; background: none; color: var(--text); font-weight: 600;
}
.colbtn:hover { background: var(--surface-2); }

/* ------------------------------------------------------------------ loading */
.sk {
  display: block; height: 12px; border-radius: 999px; background: var(--surface-2);
  animation: bulb 1.4s ease-in-out infinite;
}
.whotext .sk + .sk { height: 10px; margin-top: 6px; }
.row > .sk { justify-self: end; height: 26px; }
.avatar.sk { height: 48px; border-radius: 50%; }
.skh { color: var(--faint); }

/* ------------------------------------------------------------------ footer */
footer {
  margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px; max-width: 72ch; text-wrap: pretty;
}

/* ------------------------------------------------------------------ small screens */
@media (max-width: 560px) {
  .bar { gap: 12px; }
  .brand { font-size: 0; gap: 0; }        /* keep only the bulb mark */
  .mark { width: 30px; height: 30px; }
  #film { padding-top: 12px; }
  .row, .head { gap: 10px; grid-template-columns: minmax(0, 1fr) 3.2rem 3.2rem; }
  .cast.hasgap .row, .cast.hasgap .head { grid-template-columns: minmax(0, 1fr) 3rem 3rem 3.8rem; }
  .avatar { width: 40px; height: 40px; }
  .who { gap: 10px; }
  .age { font-size: 28px; }
  .cast .age + .age { font-size: 22px; }
  .gapcell { font-size: 22px; }
  /* Key facts: Details button full width beneath the numbers. */
  .keybar { flex-direction: column; gap: 8px; }
  .detailsbtn { flex-direction: row; min-height: 44px; }
  /* Details open as a bottom sheet. */
  .sheet {
    margin: auto 0 0; width: 100vw; max-width: 100vw; height: auto; max-height: 88dvh;
    border-left: 0; border-top: 1px solid var(--line); border-radius: var(--r-lg) var(--r-lg) 0 0;
  }
  .sheet[open] { animation-name: sheet-in-up; }
  .sheethead { padding-top: 26px; }
  .sheethead::before {
    content: ""; position: absolute; top: 9px; left: 50%; translate: -50% 0;
    width: 40px; height: 4px; border-radius: 4px; background: var(--line);
  }
  .drow { grid-template-columns: 8rem minmax(0, 1fr); }
  /* Season grid: a slim name column so several seasons fit beside it. */
  .seasongrid th, .seasongrid td { padding: 9px 8px; }
  .seasongrid .name { max-width: 9.5rem; }
  .seasongrid .who { gap: 8px; }
  .seasongrid .avatar { width: 30px; height: 30px; }
  .seasongrid .whotext strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal; }
  .seasongrid .whotext span { display: none; }
  .seasongrid td { font-size: 22px; }
  .seasongrid td.rng { font-size: 17px; }
  .colbtn { padding: 0 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
