/* Rackr Play. Direction: a dark cinema auditorium. Graphite surfaces stay quiet, posters
   and backdrops carry the colour; the interface itself stays black, white and grey.
   Scores use tabular figures so columns of numbers line up. */

/* ═══ Tokens ═══════════════════════════════════════════════════════════ */
:root {
  --bg: #0b0b0c;
  --surface: #141415;
  --surface-2: #1c1c1e;
  --surface-3: #26262a;
  --line: rgba(237, 237, 237, .08);
  --line-2: rgba(237, 237, 237, .13);
  --text: #ededed;
  --text-2: #a1a1a6;
  --text-3: #85858b;
  --inverse: #0b0b0c;
  --accent: var(--text);
  --accent-ink: var(--text);
  --on-accent: var(--inverse);
  --star: var(--accent);
  --err: #e5484d;
  --shade: 11, 11, 12;
  --shadow: 0 8px 24px rgba(0, 0, 0, .35);
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --radius: 12px;
  --radius-s: 10px;
  --wrap: 1440px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #fafafa; --surface: #ffffff; --surface-2: #f4f4f5; --surface-3: #e9e9eb;
  --line: rgba(23, 23, 23, .08); --line-2: rgba(23, 23, 23, .13);
  --text: #171717; --text-2: #525252; --text-3: #737373; --inverse: #ffffff;
  --err: #dc2626; --shade: 250, 250, 250; --shadow: 0 8px 24px rgba(0, 0, 0, .06);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #fafafa; --surface: #ffffff; --surface-2: #f4f4f5; --surface-3: #e9e9eb;
    --line: rgba(23, 23, 23, .08); --line-2: rgba(23, 23, 23, .13);
    --text: #171717; --text-2: #525252; --text-3: #737373; --inverse: #ffffff;
    --err: #dc2626; --shade: 250, 250, 250; --shadow: 0 8px 24px rgba(0, 0, 0, .06);
    color-scheme: light;
  }
}

/* ═══ Base ═════════════════════════════════════════════════════════════ */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: clamp(14px, .25vw + 13px, 16px); scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font: 400 1rem/1.5 var(--font);
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
.i, svg.i { width: 1.125rem; height: 1.125rem; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rot45 { transform: rotate(45deg); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--on-accent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--text-2); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { margin-top: 4rem; position: relative; }
.page-pad { padding-top: 1rem; }
.h2 { display: flex; align-items: baseline; gap: .75rem; font-size: 1.375rem; font-weight: 500; line-height: 1.3; margin: 0 0 1.25rem; }
.h2-count, .tab-count { font: 400 .8125rem var(--font); color: var(--text-3); }
.h1-sm { display: flex; align-items: center; gap: .75rem; font-size: 1.75rem; font-weight: 500; margin: 1.5rem 0; }
.h1-sm .i { color: var(--text-3); }

/* ═══ Buttons ══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 2.5rem; padding: 0 1rem; border-radius: var(--radius-s); border: 0;
  background: var(--surface-2); color: var(--text); font-size: .875rem; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background-color .15s var(--ease), color .15s var(--ease), transform .15s var(--ease), opacity .15s;
}
.btn:hover { background: var(--surface-3); }
.btn:active { transform: scale(.98); }
.btn[aria-busy] { opacity: .6; pointer-events: none; }
.btn-primary { height: 2.75rem; padding: 0 1.25rem; background: var(--text); color: var(--inverse); font-size: .9375rem; }
.btn-primary:hover { background: var(--text); opacity: .9; }
.btn-primary .i { fill: currentColor; stroke: none; width: 1rem; height: 1rem; }
.btn-secondary { height: 2.75rem; padding: 0 1.125rem; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: .9375rem; }
.btn-secondary:hover { background: var(--surface-3); }
.btn-secondary .on { display: none; }
.btn-secondary[aria-pressed="true"] .on { display: block; }
.btn-secondary[aria-pressed="true"] .off { display: none; }
.btn-secondary.is-rated { font-family: var(--font); font-size: .875rem; }
.btn-secondary.is-rated .i, .btn-secondary[aria-pressed="true"] .on { color: var(--text); fill: currentColor; stroke: none; }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-sm { height: 2.25rem; padding: 0 .875rem; font-size: .8125rem; }
.btn-block { width: 100%; }
.btn.is-disabled, .btn[disabled] { opacity: .4; pointer-events: none; }
.chip { display: inline-flex; align-items: center; height: 2rem; padding: 0 .75rem; border-radius: 8px; background: var(--surface-2); color: var(--text-2); font-size: .8125rem; }
.icon-btn { width: 2.25rem; height: 2.25rem; border-radius: var(--radius-s); display: inline-grid; place-items: center; background: none; border: 0; color: var(--text-2); cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease); }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }

.when-light { display: none; }
:root[data-theme="light"] .when-light { display: block; }
:root[data-theme="light"] .when-dark { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .when-light { display: block; }
  :root:not([data-theme="dark"]) .when-dark { display: none; }
}

/* ═══ Header ═══════════════════════════════════════════════════════════ */
.logo { display: inline-flex; align-items: center; color: var(--text); flex-shrink: 0; }
.wordmark { height: 1.25rem; width: auto; display: block; }
.logo-lg .wordmark { height: clamp(2.75rem, 6vw, 4rem); }

.top { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.top-inner { max-width: var(--wrap); margin: 0 auto; height: 3.75rem; padding: 0 var(--gutter); display: flex; align-items: center; gap: 1.25rem; }
.top .search { flex: 1; max-width: 32rem; }
.top-end { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.top-home { position: fixed; left: 0; right: 0; background: transparent; border-bottom: 0; box-shadow: none; color: #fff; transition: background-color .2s var(--ease), box-shadow .2s var(--ease); }
.top-home .logo { visibility: hidden; }
.top-home .icon-btn, .top-home .btn-ghost, .top-home .lang summary, .top-home .who { color: #fff; }
.top-home .icon-btn:hover, .top-home .btn-ghost:hover, .top-home .lang summary:hover, .top-home .lang[open] summary, .top-home .who:hover { background: rgba(255,255,255,.12); }
.top-home.scrolled { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.top-home.scrolled .logo { visibility: visible; }
.top-home.scrolled .icon-btn, .top-home.scrolled .btn-ghost, .top-home.scrolled .lang summary { color: var(--text-2); }
.top-home.scrolled .who { color: var(--text); }
.top-home.scrolled .icon-btn:hover, .top-home.scrolled .btn-ghost:hover, .top-home.scrolled .lang summary:hover, .top-home.scrolled .lang[open] summary, .top-home.scrolled .who:hover { background: var(--surface-2); }
.top-auth { position: static; background: none; border: 0; }

.lang { position: relative; }
.lang summary { display: flex; align-items: center; gap: .375rem; height: 2.25rem; padding: 0 .5rem; border-radius: var(--radius-s); cursor: pointer; list-style: none; font: 500 .75rem var(--font); color: var(--text-2); transition: background-color .15s var(--ease), color .15s var(--ease); user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: var(--surface-2); color: var(--text); }
.lang summary .i { width: .875rem; height: .875rem; transition: transform .2s var(--ease); }
.lang[open] summary .i { transform: rotate(180deg); }
.flag { width: 1.25rem; height: .875rem; border-radius: 2px; flex-shrink: 0; box-shadow: 0 0 0 1px var(--line-2); }
.menu { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 60; min-width: 11rem; margin: 0; padding: .25rem; list-style: none; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2), var(--shadow); animation: pop .18s var(--ease) both; transform-origin: top right; }
.menu a { display: flex; align-items: center; gap: .625rem; height: 2.25rem; padding: 0 .625rem; border-radius: 8px; font-size: .875rem; color: var(--text); transition: background-color .15s var(--ease); }
.menu a:hover { background: var(--surface-2); }
.menu a .i { margin-left: auto; width: 1rem; height: 1rem; color: var(--text-2); }
.account { display: flex; align-items: center; gap: .25rem; margin: 0; }
.who { display: inline-flex; align-items: center; gap: .5rem; height: 2.25rem; padding: 0 .625rem 0 .25rem; border-radius: var(--radius-s); font-size: .875rem; color: var(--text); transition: background-color .15s var(--ease); }
.who:hover { background: var(--surface-2); }

.account-menu { position: relative; }
.account-menu summary { list-style: none; cursor: pointer; user-select: none; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary .i { width: .875rem; height: .875rem; color: var(--text-3); transition: transform .2s var(--ease); }
.account-menu[open] summary { background: var(--surface-2); }
.account-menu[open] summary .i { transform: rotate(180deg); }
.top-home .account-menu summary .i { color: rgba(255,255,255,.7); }
.menu-account { min-width: 15.5rem; }
.menu-account hr { border: 0; height: 1px; margin: .25rem -.25rem; background: var(--line); }
.menu-account a .i, .menu-account button .i { margin-left: 0; color: var(--text-3); }
.menu-account .menu-profile { height: auto; padding: .5rem .625rem; gap: .75rem; }
.menu-profile > span { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.menu-profile b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.menu-profile small { font-size: .8125rem; color: var(--text-2); }
.menu-account form { margin: 0; }
.menu-account form button { display: flex; align-items: center; gap: .625rem; width: 100%; height: 2.25rem; padding: 0 .625rem; border: 0; border-radius: 8px; background: none; font-size: .875rem; color: var(--text); cursor: pointer; transition: background-color .15s var(--ease); }
.menu-account form button:hover { background: var(--surface-2); }
.menu-theme { display: flex; flex-direction: column; gap: .5rem; padding: .5rem .625rem; }
.menu-theme > span { font-size: .8125rem; color: var(--text-2); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 2px; border-radius: 8px; background: var(--surface-2); }
.seg button { height: 1.75rem; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--text-2); font-size: .8125rem; cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease); }
.seg button:hover { color: var(--text); }
.seg button[aria-checked="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.2); }

/* ═══ Search ═══════════════════════════════════════════════════════════ */
.search { position: relative; display: flex; align-items: center; margin: 0; }
.search > .i { position: absolute; left: .75rem; color: var(--text-3); pointer-events: none; }
.search input { width: 100%; height: 2.5rem; padding: 0 2.5rem; border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--surface-2); outline: none; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.search input::placeholder { color: var(--text-3); }
.search input:focus { border-color: var(--line-2); background: var(--surface); }
.search input::-webkit-search-cancel-button { display: none; }
.search kbd { position: absolute; right: .625rem; font: 400 .6875rem var(--font); color: var(--text-3); border: 1px solid var(--line-2); border-radius: 4px; padding: 0 .3125rem; line-height: 1.25rem; pointer-events: none; }
.search input:focus ~ kbd, .search input:not(:placeholder-shown) ~ kbd { display: none; }
.search-lg { width: 100%; max-width: 40rem; }
.search-lg > .i { left: 1.25rem; width: 1.25rem; height: 1.25rem; color: rgba(255,255,255,.6); }
.search-lg input { height: 3.5rem; padding-left: 3.25rem; border-radius: 14px; font-size: 1.0625rem; color: #fff; background: rgba(16,16,17,.82); border: 1px solid rgba(255,255,255,.14); }
.search-lg input::placeholder { color: rgba(255,255,255,.55); }
.search-lg input:focus { background: rgba(16,16,17,.92); border-color: rgba(255,255,255,.28); }
.search-lg kbd { color: rgba(255,255,255,.55); border-color: rgba(255,255,255,.24); right: 1rem; }

/* ═══ Home stage: the week's backdrops, crossfading ════════════════════ */
.stage { position: relative; height: clamp(30rem, 82vh, 52rem); overflow: hidden; color: #fff; background: #000; isolation: isolate; }
.stage-media { position: absolute; inset: 0; z-index: -2; }
.stage-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity 1.2s ease, transform 8s var(--ease); }
.stage-media img.on { opacity: 1; transform: none; }
.stage-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,.25) 35%, rgba(0,0,0,.35) 65%, rgb(var(--shade)) 100%); }
.stage-center { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; padding: 0 var(--gutter) 4rem; animation: rise .4s var(--ease) both; }
.stage-center .logo { color: #fff; }
.stage-foot { position: absolute; left: 0; right: 0; bottom: clamp(3rem, 8vh, 5rem); max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.stage-titles { display: grid; }
.stage-title { grid-area: 1 / 1; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.stage-title.on { opacity: 1; pointer-events: auto; }
.stage-title strong { display: block; font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 500; line-height: 1.2; }
.stage-title:hover strong { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.stage-kicker { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .25rem; font-size: .8125rem; color: rgba(255,255,255,.7); }
.stage-kicker .i { width: 1rem; height: 1rem; }
.stage-dots { display: flex; gap: .5rem; padding-bottom: .5rem; }
.stage-dots button { position: relative; width: .5rem; height: .25rem; padding: 0; border: 0; border-radius: 2px; background: rgba(255,255,255,.3); cursor: pointer; overflow: hidden; transition: width .3s var(--ease); }
.stage-dots button[aria-selected="true"] { width: 2rem; }
.stage-dots button[aria-selected="true"]::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: progress 7s linear both; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ═══ Tabs and genre chips ═════════════════════════════════════════════ */
.tabs { display: flex; gap: 1.5rem; margin-bottom: 1.25rem; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { display: inline-flex; align-items: center; gap: .5rem; height: 2.75rem; font-size: .9375rem; color: var(--text-2); white-space: nowrap; box-shadow: inset 0 -2px 0 transparent; transition: color .15s var(--ease), box-shadow .15s var(--ease); }
.tabs a .i { color: var(--text-3); }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.tabs a[aria-current] .i { color: var(--text-2); }
.tabs-scroll { gap: 1.25rem; }
.chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin: 0 0 2rem; mask-image: linear-gradient(to right, #000 92%, transparent); -webkit-mask-image: linear-gradient(to right, #000 92%, transparent); }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex-shrink: 0; height: 2rem; padding: 0 .75rem; display: inline-flex; align-items: center; border-radius: 8px; font-size: .8125rem; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: color .15s var(--ease), background-color .15s var(--ease); }
.chips a:hover { color: var(--text); }
.chips a[aria-current] { color: var(--text); background: var(--surface-2); box-shadow: none; }
.more { display: flex; justify-content: center; margin-top: 2.5rem; }

/* ═══ Poster grid ══════════════════════════════════════════════════════ */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(7.25rem, 13vw, 11.5rem), 1fr)); gap: 2rem 1rem; }
.card { display: block; min-width: 0; }
.poster { position: relative; aspect-ratio: 2 / 3; border-radius: var(--radius-s); overflow: hidden; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: .75rem; text-align: center; font-size: .8125rem; color: var(--text-3); }
.poster-rating { display: none; position: absolute; left: .5rem; top: .5rem; align-items: center; gap: .25rem; height: 1.375rem; padding: 0 .375rem; border-radius: 6px; font: 500 .6875rem var(--font); color: #fff; background: rgba(0,0,0,.6); }
.poster-rating .i { width: .75rem; height: .75rem; color: var(--accent); fill: currentColor; stroke: none; }
.card-title { margin-top: .625rem; font-size: .875rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-sub { font-size: .8125rem; color: var(--text-2); }
.card:hover .card-title { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--text-3); }

/* Hover panel: overview and scores fade in over the poster */
.poster-hover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: .5rem; padding: .75rem; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.92) 10%, rgba(0,0,0,.6) 55%, rgba(0,0,0,.15)); opacity: 0; transition: opacity .2s var(--ease); }
.ph-scores { display: flex; flex-wrap: wrap; gap: .25rem; min-height: 1.25rem; }
.ph-score { display: inline-flex; align-items: center; gap: .25rem; height: 1.25rem; padding: 0 .375rem 0 .25rem; border-radius: 4px; background: rgba(0,0,0,.55); font: 500 .6875rem var(--font); animation: fade .2s ease both; }
.ph-score img { width: .875rem; height: .875rem; }
.ph-overview { margin: 0; font-size: .75rem; line-height: 1.5; color: rgba(255,255,255,.82); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ph-play { position: absolute; top: .5rem; right: .5rem; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #fff; color: #000; }
.ph-play .i { width: .875rem; height: .875rem; fill: currentColor; stroke: none; margin-left: 2px; }
.card:hover .poster-hover, .card:focus-visible .poster-hover { opacity: 1; }

/* Horizontal rails (continue watching, seasons, cast) */
.rail, .seasons, .cast { list-style: none; margin: 0; padding: 0 0 .5rem; display: grid; grid-auto-flow: column; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar, .seasons::-webkit-scrollbar, .cast::-webkit-scrollbar { display: none; }
.rail > li, .seasons > li, .cast > li { scroll-snap-align: start; }
.seasons { grid-auto-columns: clamp(7.5rem, 12vw, 10.5rem); }
.seasons a { display: block; }
.seasons a:hover .card-title { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--text-3); }
.rail-wide { grid-auto-columns: clamp(8rem, 12vw, 10.5rem); }
.wide { display: block; }
.wide-media { position: relative; aspect-ratio: 2 / 3; border-radius: var(--radius-s); overflow: hidden; background: var(--surface-2); }
.wide-media img { width: 100%; height: 100%; object-fit: cover; }
.wide-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.25); opacity: 0; transition: opacity .15s var(--ease); }
.wide:hover .wide-play { opacity: 1; }
.wide-play .i { width: 2.5rem; height: 2.5rem; padding: .75rem; border-radius: 50%; background: #fff; color: #000; fill: currentColor; stroke: none; }
.bar { position: absolute; left: .5rem; right: .5rem; bottom: .5rem; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.bar b { display: block; height: 100%; background: #fff; }

/* ═══ Title pages ══════════════════════════════════════════════════════ */
.hero { position: relative; min-height: clamp(30rem, 72vh, 45rem); display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(var(--shade)) 2%, rgba(var(--shade), .8) 35%, rgba(var(--shade), .2) 75%), linear-gradient(to right, rgba(var(--shade), .9), rgba(var(--shade), 0) 65%); }
.hero-inner { position: relative; width: 100%; display: flex; gap: 2.5rem; align-items: flex-end; padding-top: 7rem; }
.hero-poster { width: clamp(9rem, 18vw, 15rem); flex-shrink: 0; aspect-ratio: 2 / 3; height: auto; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 48px rgba(0,0,0,.4), inset 0 0 0 1px var(--line); }
.hero-text { min-width: 0; max-width: 46rem; animation: rise .4s var(--ease) both; }
.hero h1 { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 500; margin: 0 0 .75rem; text-wrap: balance; }
.facts { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 1rem; font-size: .9375rem; color: var(--text-2); }
.facts span + span::before { content: "·"; margin: 0 .5rem; color: var(--text-3); }
.facts .cert { display: inline-flex; align-items: center; height: 1.375rem; padding: 0 .375rem; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line-2); font: 500 .75rem var(--font); color: var(--text-2); }
.facts .cert::before { content: none; }
.facts span + .cert { margin-left: .75rem; }
.tagline { color: var(--text-2); margin: 0 0 1.25rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 1.5rem 0; }
.overview { margin: 0; max-width: 62ch; color: var(--text); line-height: 1.65; }
.credits { display: flex; gap: .5rem; margin: 1rem 0 0; font-size: .875rem; }
.credits dt { color: var(--text-2); }
.credits dd { margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .875rem; color: var(--text-2); margin-bottom: .75rem; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }
.ep-nav { display: inline-flex; gap: .5rem; }

/* Score strip: the critics in their own colours, on a flat graphite row */
.scores { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 .5rem; }
.score > a, .score > span { display: flex; align-items: center; gap: .625rem; height: 3rem; padding: 0 1rem 0 .5rem; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .15s var(--ease); }
.score > a:hover { background: var(--surface-2); }
.score-mark { display: grid; place-items: center; width: 2rem; height: 2rem; flex-shrink: 0; }
.score-mark svg { width: 1.75rem; height: 1.75rem; }
.score-rk .score-mark svg { width: 1.5rem; height: 1.5rem; color: var(--text); }
.score-text { display: flex; flex-direction: column; line-height: 1.2; }
.score-text b { font: 500 1rem var(--font); }
.score-text small { font-size: .6875rem; color: var(--text-2); white-space: nowrap; }

/* Cast */
.cast { grid-auto-columns: clamp(6.5rem, 9vw, 8.5rem); }
.cast img, .cast-empty { width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: cover; border-radius: var(--radius-s); background: var(--surface-2); }
.cast-empty { display: grid; place-items: center; font-size: 1.5rem; color: var(--text-3); }
.cast-name { display: block; margin-top: .5rem; font-size: .875rem; font-weight: 500; line-height: 1.3; }
.cast-role { display: block; font-size: .8125rem; color: var(--text-2); line-height: 1.3; margin-top: .125rem; }

/* Episodes */
.eps { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; }
.ep { display: flex; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.ep-still { position: relative; width: clamp(10rem, 20vw, 15rem); flex-shrink: 0; aspect-ratio: 16 / 9; border-radius: var(--radius-s); overflow: hidden; background: var(--surface-2); }
.ep-still img { width: 100%; height: 100%; object-fit: cover; }
.ep-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.3); opacity: 0; transition: opacity .15s var(--ease); }
.ep-play .i { width: 2.5rem; height: 2.5rem; padding: .75rem; border-radius: 50%; background: #fff; color: #000; fill: currentColor; stroke: none; }
.ep-still:hover .ep-play, .ep-still:focus-visible .ep-play { opacity: 1; }
.ep-text { min-width: 0; }
.ep-title { font-weight: 500; }
.ep-title:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--text-3); }
.ep-num { font-family: var(--font); color: var(--text-3); }
.ep-text .card-sub { margin-top: .25rem; }
.ep-text p { margin: .5rem 0 0; color: var(--text-2); font-size: .875rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ═══ Reviews ══════════════════════════════════════════════════════════ */
.reviews-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.reviews-top .h2 { margin: 0; }
.reviews-avg { margin: 0; display: flex; align-items: baseline; gap: .25rem; font: 400 .875rem var(--font); color: var(--text-3); }
.reviews-avg b { font-size: 1.25rem; font-weight: 500; color: var(--text); }
.reviews-avg span { margin-left: .5rem; font-family: Inter, sans-serif; color: var(--text-2); }

.composer { display: flex; gap: 1rem; padding: 1rem; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s var(--ease); }
.composer:focus-within { box-shadow: inset 0 0 0 1px var(--line-2); }
.composer-main { flex: 1; min-width: 0; }
.composer textarea { display: block; width: 100%; min-height: 4.5rem; padding: .5rem 0 0; border: 0; background: none; resize: vertical; font-size: .9375rem; line-height: 1.6; outline: none; }
.composer textarea::placeholder { color: var(--text-3); }
.composer-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.composer-label { font-size: .8125rem; color: var(--text-2); }
.scale { display: flex; gap: 2px; }
.scale button { width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--text-2); font: 500 .8125rem var(--font); cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease); }
.scale button:hover { background: var(--surface-2); color: var(--text); }
.scale button[aria-checked="true"] { background: var(--text); color: var(--inverse); }
.review-msg { margin-left: auto; font-size: .8125rem; color: var(--text-2); }
.review-msg:empty { display: none; }
.composer-bar .btn-ghost { margin-left: auto; }
.composer-bar .review-msg:not(:empty) ~ .btn-ghost { margin-left: 0; }
.composer-bar .btn-primary { margin-left: auto; }
.composer-bar .btn-ghost + .btn-primary { margin-left: 0; }
.composer-login { align-items: center; justify-content: space-between; color: var(--text-2); font-size: .9375rem; }
.composer-login:hover { background: var(--surface-2); color: var(--text); }

.reviews { list-style: none; margin: 1rem 0 0; padding: 0; }
.review { display: flex; gap: 1rem; padding: 1.25rem 1rem; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }
.review-main { flex: 1; min-width: 0; }
.review-head { display: flex; align-items: center; gap: .75rem; min-height: 2.25rem; }
.review-user { font-size: .9375rem; font-weight: 500; }
.review-user:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--text-3); }
.review time { font-size: .8125rem; color: var(--text-3); }
.review-head .tag-score { margin-left: auto; }
.review p, .user-reviews p { margin: .25rem 0 0; max-width: 72ch; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.reviews-empty { margin: 1rem 0 0; padding: 0 1rem; color: var(--text-2); }

/* A user's score */
.tag-score { display: inline-flex; align-items: baseline; gap: 1px; height: 1.625rem; padding: 0 .5rem; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); font: 400 .75rem/1.625rem var(--font); color: var(--text-3); white-space: nowrap; }
.tag-score b { font-weight: 500; font-size: .875rem; color: var(--accent-ink); }

/* Avatars from the cinema collection */
.avatar { display: block; width: 2.25rem; height: 2.25rem; flex-shrink: 0; border-radius: 50%; background: #e4e4e7; object-fit: cover; }
.avatar-sm { width: 1.75rem; height: 1.75rem; }
.avatar-xl { width: 6rem; height: 6rem; }

/* ═══ Profile ══════════════════════════════════════════════════════════ */
.profile { padding-top: 3rem; }
.profile-head { display: flex; align-items: center; gap: 1.5rem; animation: rise .4s var(--ease) both; }
.profile-id { min-width: 0; }
.profile-id h1 { margin: 0; font-size: 2.25rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; overflow-wrap: anywhere; }
.profile-id p { margin: .25rem 0 0; font-size: .875rem; color: var(--text-2); }
.profile-stats { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: .75rem 0 0; padding: 0; font-size: .875rem; color: var(--text-2); }
.profile-stats b { font: 500 .9375rem var(--font); color: var(--text); }
.profile-block { margin-top: 3rem; }
.tabs a .tab-count { margin-left: .125rem; }
.profile-empty { margin: 0; padding: 4rem 1rem; text-align: center; color: var(--text-2); border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.user-reviews { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr)); gap: 0 3rem; }
.user-reviews li { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.ur-poster { width: 4.5rem; flex-shrink: 0; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.ur-poster img { width: 100%; height: 100%; object-fit: cover; }
.ur-text { min-width: 0; flex: 1; }
.ur-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.ur-title { font-weight: 500; }
.ur-title:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--text-3); }
.ur-meta { display: block; margin-top: .125rem; font-size: .8125rem; color: var(--text-3); }

/* ═══ Person ═══════════════════════════════════════════════════════════ */
.person { padding-top: 3rem; }
.person-head { display: grid; grid-template-columns: clamp(10rem, 20vw, 15rem) minmax(0, 1fr); gap: 2.5rem; align-items: start; animation: rise .4s var(--ease) both; }
.person-photo { width: 100%; aspect-ratio: 2 / 3; height: auto; object-fit: cover; border-radius: var(--radius); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.person-photo-empty { display: grid; place-items: center; font-size: 3rem; color: var(--text-3); }
.person-text { min-width: 0; max-width: 46rem; }
.person-text h1 { margin: 0 0 1.25rem; font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.08; }
.person-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 1rem 2rem; margin: 0 0 1.5rem; }
.person-facts dt { font-size: .8125rem; color: var(--text-2); }
.person-facts dd { margin: .125rem 0 0; font-size: .9375rem; }
.bio p { margin: 0; line-height: 1.7; white-space: pre-line; }
.bio.clamped p { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.bio-more { margin-top: .5rem; padding: 0; border: 0; background: none; color: var(--text); font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--text-3); cursor: pointer; }
.person-links { margin: 1.25rem 0 0; }
.person-links a { display: inline-flex; align-items: center; height: 2.25rem; padding: 0 .875rem; border-radius: var(--radius-s); background: var(--surface-2); font-size: .875rem; transition: background-color .15s var(--ease); }
.person-links a:hover { background: var(--surface-3); }
.credits-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.credits-list li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.cl-year { font-size: .875rem; color: var(--text-3); }
.cl-main { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .125rem .75rem; }
.cl-main a { font-weight: 500; }
.cl-main a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--text-3); }
.cl-role { font-size: .875rem; color: var(--text-2); }
.cl-type { font-size: .8125rem; color: var(--text-3); }
.cast a { display: block; }
.cast a:hover .cast-name { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--text-3); }
.credits a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--text-3); }

/* ═══ Auth: same plain form as Rackr Studio, no card ═════════════════ */
.auth { flex: 1; display: grid; place-items: center; padding: 1rem 1rem 5rem; }
.auth-form { width: 100%; max-width: 22.5rem; animation: rise .4s var(--ease) both; }
.logo-auth { display: flex; justify-content: center; margin: 0 auto 1.375rem; }
.logo-auth .wordmark { height: 2.5rem; }
.auth-form h1 { margin: 0 0 1.75rem; font-size: 1.625rem; font-weight: 600; letter-spacing: -.02em; text-align: center; }
.auth-notice { margin: -1rem 0 1.5rem; text-align: center; color: var(--text-2); font-size: .875rem; }
.auth-form label { display: block; margin: 0 0 .375rem; font-size: .875rem; font-weight: 600; }
.auth-form label + input + label { margin-top: 1.125rem; }
.auth-form input { width: 100%; padding: .125rem 0 .5rem; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent; color: var(--text); outline: none; transition: border-color .2s; }
.auth-form input:focus { border-bottom-color: var(--text-3); }
.auth-form input::placeholder { color: var(--text-3); }
.auth-submit { width: 100%; height: 2.875rem; margin-top: 1.625rem; border: 0; border-radius: 999px; background: var(--surface-2); color: var(--text); font-weight: 600; cursor: pointer; transition: background-color .2s, transform .1s; }
.auth-submit:hover { background: var(--surface-3); }
.auth-submit:active { transform: scale(.98); }
.auth-submit[aria-busy] { opacity: .6; pointer-events: none; }
.auth-msg { min-height: 1.375rem; margin: .875rem 0 0; text-align: center; font-size: .84rem; color: var(--err); }
.auth-switch { margin: .5rem 0 0; text-align: center; font-size: .875rem; color: var(--text-2); }
.auth-switch a { color: var(--text); font-weight: 500; }
.auth-switch a:hover { text-decoration: underline; text-underline-offset: 3px; }
.shake { animation: shake .35s; }

/* ═══ Legal page ═══════════════════════════════════════════════════════ */
.legal { max-width: 68rem; padding-top: 4rem; }
.legal-head { max-width: 46rem; margin-bottom: 4rem; animation: rise .4s var(--ease) both; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; font-size: .875rem; color: var(--text-2); }
.eyebrow .i { width: 1rem; height: 1rem; }
.legal h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -.03em; font-weight: 500; margin: 0 0 1rem; line-height: 1.08; text-wrap: balance; }
.legal .lead { font-size: 1.125rem; color: var(--text-2); margin: 0; line-height: 1.6; max-width: 36rem; }
.legal-grid { display: grid; grid-template-columns: 13rem 1fr; gap: 4rem; align-items: start; border-top: 1px solid var(--line); padding-top: 2rem; }
.legal-toc { position: sticky; top: 5.5rem; display: flex; flex-direction: column; gap: 2px; }
.legal-toc a { height: 2.25rem; display: flex; align-items: center; padding: 0 .75rem; margin-left: -.75rem; border-radius: 8px; font-size: .875rem; color: var(--text-2); transition: background-color .15s var(--ease), color .15s var(--ease); }
.legal-toc a:hover { color: var(--text); background: var(--surface); }
.legal-doc { min-width: 0; max-width: 42rem; }
.legal-doc section { scroll-margin-top: 6rem; padding-bottom: 2rem; }
.legal-doc section + section { padding-top: 2rem; border-top: 1px solid var(--line); }
.legal h2 { font-size: 1.375rem; font-weight: 500; margin: 0 0 .75rem; }
.legal p { color: var(--text-2); line-height: 1.75; margin: 0 0 1rem; }
.steps { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.steps li { padding: 1rem 1rem 1.25rem; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.steps span { display: block; font: 400 .75rem var(--font); color: var(--text-3); margin-bottom: 1.5rem; }
.steps p { margin: 0; color: var(--text); line-height: 1.5; font-size: .9375rem; }
.checks { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .75rem; }
.checks li { display: flex; gap: .75rem; align-items: flex-start; line-height: 1.5; }
.checks .i { margin-top: .1875rem; color: var(--text-3); }
.contact { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.contact-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 10px; background: var(--surface-2); color: var(--text-2); flex-shrink: 0; }
.contact div { display: flex; flex-direction: column; min-width: 0; }
.contact strong { font-size: .9375rem; font-weight: 500; }
.contact a, .contact span { color: var(--text-2); font-size: .875rem; overflow-wrap: anywhere; }
.contact a:hover { color: var(--text); }

/* ═══ Empty / footer ═══════════════════════════════════════════════════ */
.empty { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .5rem; }
.empty h1 { margin: 0; font-size: 2rem; font-weight: 500; }
.empty .btn { margin-top: 1rem; }
.foot { width: 100%; max-width: var(--wrap); margin: 6rem auto 0; padding: 0 var(--gutter) 2rem; }
.quote { margin: 0 auto; padding: 4rem 0; max-width: 44rem; text-align: center; border-top: 1px solid var(--line); }
.quote blockquote { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.4; font-weight: 400; text-wrap: balance; }
.quote blockquote::before { content: "“"; } .quote blockquote::after { content: "”"; }
.quote figcaption { display: flex; flex-direction: column; align-items: center; gap: .25rem; margin-top: 1.5rem; color: var(--text-2); font-size: .875rem; }
.signature { width: clamp(8rem, 16vw, 10.5rem); height: auto; color: var(--text); opacity: .9; }
.foot-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.foot-links { display: flex; flex-wrap: wrap; gap: .25rem; }
.foot-links a { display: inline-flex; align-items: center; gap: .5rem; height: 2.25rem; padding: 0 .75rem; border-radius: 8px; font-size: .875rem; color: var(--text-2); transition: background-color .15s var(--ease), color .15s var(--ease); }
.foot-links a:hover { background: var(--surface-2); color: var(--text); }
.foot-links .i { width: 1rem; height: 1rem; }
.foot-links { align-items: center; }
.foot-version { display: inline-flex; align-items: center; height: 2.25rem; padding: 0 .75rem; font-size: .8125rem; color: var(--text-3); }

/* ═══ Player page (always dark, Artplayer only) ═══════════════════════ */
.page-watch { --bg: #000; --surface: #121214; --surface-2: #1c1c1f; --surface-3: #2a2a2e; --text: #f5f5f7; --text-2: #a1a1a6; --text-3: #6e6e73; --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14); --inverse: #000; color-scheme: dark; overflow: hidden; background: #000; color: #f5f5f7; }
.watch { position: fixed; inset: 0; background: #000; }
.player { position: absolute; inset: 0; }

/* Artplayer keeps its own look; only the font and a calmer progress bar */
.art-video-player { --art-theme: #fff; --art-progress-height: 4px; --art-selector-max-height: 360px; font-family: Inter, -apple-system, system-ui, sans-serif !important; }
.art-video-player .art-selector-list { overflow-y: auto; }

/* Skip intro, next episode, nothing playable */
.rk-skip { position: absolute; right: 24px; bottom: 96px; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 16px; border-radius: 4px; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.6); color: #fff; font: 500 14px Inter, sans-serif; cursor: pointer; transition: background-color .15s; }
.rk-skip:hover { background: rgba(0,0,0,.8); }
.rk-skip svg { width: 18px; height: 18px; }
.rk-next { position: absolute; right: 24px; bottom: 96px; display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 4px; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.6); color: #fff; cursor: pointer; text-align: left; font-family: Inter, sans-serif; }
.rk-next:hover { background: rgba(0,0,0,.8); }
.rk-next svg { width: 36px; height: 36px; padding: 6px; border-radius: 2px; background: #fff; color: #000; box-sizing: border-box; }
.rk-next small { display: block; font-size: 12px; color: rgba(255,255,255,.7); }
.rk-next b { font-size: 14px; font-weight: 500; }
.rk-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; background: #000; }
.rk-empty p { margin: 0; font-size: 15px; color: rgba(255,255,255,.75); }
.rk-empty button { height: 40px; padding: 0 20px; border: 0; border-radius: 4px; background: #fff; color: #000; font: 500 14px Inter, sans-serif; cursor: pointer; }

/* Update prompt */
.update { position: fixed; z-index: 1000; left: 50%; bottom: 1.5rem; transform: translateX(-50%); display: flex; align-items: center; gap: .5rem 1rem; width: min(34rem, calc(100% - 2rem)); padding: .875rem .875rem .875rem 1.25rem; border-radius: 14px; background: var(--surface); color: var(--text); box-shadow: 0 0 0 1px var(--line-2), 0 16px 40px rgba(0,0,0,.35); animation: rise .3s var(--ease) both; }
.update div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.4; }
.update strong { font-size: .9375rem; font-weight: 500; }
.update span { font-size: .8125rem; color: var(--text-2); }
.page-watch .update { top: 1rem; bottom: auto; }

/* ═══ Motion ═══════════════════════════════════════════════════════════ */
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }
@keyframes shake { 25%, 75% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }

/* ═══ Responsive ═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; padding-top: 6rem; }
  .hero-poster { width: clamp(7rem, 26vw, 10rem); }
  .lang summary span { display: none; }
  .legal-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .legal-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: .5rem; }
  .legal-toc a { margin: 0; background: var(--surface); }
}
@media (max-width: 640px) {
  .top-inner { flex-wrap: wrap; height: auto; padding-top: .5rem; padding-bottom: .5rem; gap: .5rem .75rem; }
  .top .search { order: 3; flex-basis: 100%; max-width: none; }
  .search kbd { display: none; }
  .who > span:not(.avatar), .top .btn-sm span { display: none; }
  .who { padding: 0 .25rem; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem .75rem; }
  .card-title { font-size: .8125rem; }
  .card-sub { font-size: .75rem; }
  .ep { flex-direction: column; gap: .75rem; }
  .ep-still { width: 100%; }
  .stage { height: clamp(28rem, 78vh, 40rem); }
  .stage-foot { flex-direction: column; align-items: flex-start; }
  .ep-nav .btn span { display: none; }
  .hero h1 { font-size: 2.25rem; }
  .score > a, .score > span { height: 2.75rem; padding-right: .75rem; }
  .score-text small { display: none; }
  .actions .btn-secondary span { display: none; }
  .actions .btn-secondary { width: 2.75rem; padding: 0; }
  .steps { grid-template-columns: 1fr; }
  .steps span { margin-bottom: .5rem; }
  .profile-head { gap: 1rem; }
  .avatar-xl { width: 4.5rem; height: 4.5rem; }
  .person-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .person-photo { width: 9rem; }
  .credits-list li { grid-template-columns: 3rem minmax(0, 1fr); }
  .cl-type { display: none; }
  .profile-id h1 { font-size: 1.75rem; }
  .composer, .review { gap: .75rem; }
  .composer-label { flex-basis: 100%; }
  .scale { flex-basis: 100%; justify-content: space-between; }
  .scale button { width: auto; flex: 1; }
  .review { padding: 1rem 0; }
  .review-head { flex-wrap: wrap; gap: 0 .5rem; }
  .rk-skip, .rk-next { right: 12px; bottom: 78px; }
  .update { flex-wrap: wrap; }
  .update div { flex-basis: 100%; }
}
@media (hover: none) {
  .poster-hover { display: none; }
  .poster-rating { display: inline-flex; }
  .ep-play, .wide-play { opacity: 1; background: rgba(0,0,0,.15); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
