/* Supreme Requests. Brand: Supreme Hosting pack (dashboard-app-dev/brandpack, static/info/theme.css).
   Neutral ink ladder, one solid gold (fills only the primary button), Big Shoulders headings in caps, Figtree text.
   The cinematic part is the artwork itself: backdrops sit under neutral black scrims, never a gold or warm wash. */
@font-face { font-family: "Big Shoulders Display"; src: url("fonts/bigshoulders.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jbmono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
    --ink: #09090a; --ink-2: #111113; --ink-3: #19191c; --rule: #26262a; --rule-2: #36363b;
    --ivory: #f4f4f5; --text: #d4d4d8; --muted: #9f9fa6;
    --gold: #e8be3f; --gold-hi: #ffd86b; --gold-ink: #0a0a0a; --link-hover: #fff0c2;
    --glass-mast: rgba(9, 9, 10, .94); --glass-bar: rgba(9, 9, 10, .96); --scrim-dialog: rgba(0, 0, 0, .72);
    --admin-danger: #b4342b; --on-danger: #fff;
    --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
    --read: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
    --radius-focus: 4px; --radius-item: 8px; --radius-field: 10px; --radius-panel: 12px; --radius-modal: 16px; --radius-pill: 999px;
    --shadow-toast: 0 10px 30px rgba(0, 0, 0, .5);
    --ease: cubic-bezier(.16, 1, .3, 1); --ease-in-out: cubic-bezier(.65, 0, .35, 1);
    --dur-fast: 200ms; --dur-slide: 400ms; --dur-enter: 560ms;
    --gutter: 20px; --shell: 1320px; --mast-h: 73px;
    --poster-w: clamp(132px, 15vw, 188px);
}

/* ---- base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; margin: 0; background: var(--ink); color: var(--text); font: 400 1.0625rem/1.65 var(--read); min-height: 100vh; }
::selection { background: var(--gold); color: var(--gold-ink); }
input, textarea, select { caret-color: var(--gold); }
a { color: var(--gold-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: var(--radius-focus); }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
code { font: 500 .88em/1.4 var(--mono); padding: 1px 6px; border-radius: 6px; background: var(--ink-2); border: 1px solid var(--rule); color: var(--ivory); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { width: 1em; height: 1em; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 70; padding: 10px 18px; border-radius: var(--radius-pill); background: var(--gold); color: var(--gold-ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }
.page { padding-top: 40px; padding-bottom: 96px; }
[hidden] { display: none !important; }

/* ---- type ---- */
.display { font-family: var(--display); color: var(--ivory); text-transform: uppercase; letter-spacing: .005em; line-height: .92; margin: 0; text-wrap: balance; }
h1.display { font-weight: 900; font-size: clamp(3.2rem, 8vw, 6rem); }
h1.page-h1 { font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2.h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1; color: var(--ivory); margin: 0; letter-spacing: .01em; }
.lede { max-width: 62ch; font-size: 1.12rem; color: var(--text); margin: 18px 0 0; }
.fineprint { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }
.fineprint a { color: var(--muted); }
.fineprint a:hover { color: var(--gold-hi); }

/* ---- buttons (brand) ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--radius-pill); background: var(--gold); color: var(--gold-ink) !important; font-weight: 700; font-size: 1rem; text-decoration: none !important; border: 1.5px solid var(--gold); cursor: pointer; transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast); white-space: nowrap; }
.btn:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.btn.ghost { background: transparent; color: var(--gold-hi) !important; }
.btn.ghost:hover { background: var(--ink-3); }
.btn.small { min-height: 44px; padding: 0 16px; font-size: .92rem; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.danger-text { border-color: var(--rule-2); color: var(--text) !important; }
.btn.danger-text:hover { border-color: var(--admin-danger); background: var(--admin-danger); color: var(--on-danger) !important; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule-2); background: transparent; color: var(--ivory); cursor: pointer; transition: background var(--dur-fast), border-color var(--dur-fast); }
.icon-btn:hover { background: var(--ink-3); border-color: var(--gold); }
.icon-btn .ico { width: 18px; height: 18px; }

/* ---- masthead ---- */
.mast { position: sticky; top: 0; z-index: 20; background: var(--glass-mast); backdrop-filter: saturate(140%) blur(8px); -webkit-backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--rule); }
.mast-in { max-width: var(--shell); margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 12px; }
.mast-logo { display: inline-flex; align-items: center; min-height: 48px; flex: none; }
.mast-logo img { height: 52px; width: auto; display: block; }
.mast-nav { display: flex; gap: 2px; margin-left: 8px; }
.mast-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: var(--radius-pill); color: var(--ivory); text-decoration: none; font-weight: 600; font-size: .95rem; background: none; border: 0; cursor: pointer; white-space: nowrap; transition: color var(--dur-fast), background var(--dur-fast); }
.mast-link:hover { color: var(--gold-hi); background: var(--ink-3); }
.mast-link[aria-current="page"] { color: var(--gold-hi); }
.mast-link .ico { width: 18px; height: 18px; }
.mast-link.admin { border: 1px solid var(--gold); color: var(--gold-hi); }
.mast-search { position: relative; margin-left: auto; flex: 0 1 300px; min-width: 0; }
.mast-search .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 17px; height: 17px; pointer-events: none; }
.mast-search input { width: 100%; min-height: 44px; padding: 10px 14px 10px 40px; border-radius: var(--radius-pill); border: 1px solid var(--rule-2); background: var(--ink-2); color: var(--ivory); font: inherit; font-size: .95rem; }
.mast-search input::placeholder { color: var(--muted); }
.mast-end { display: flex; align-items: center; gap: 4px; flex: none; }
.mast-end form { margin: 0; }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--radius-pill); border: 1px solid var(--gold); color: var(--gold-hi); font: 700 .75rem/1 var(--read); }
.tune { position: relative; height: 2px; overflow: hidden; background: var(--rule); margin-top: -1px; }
.tune::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 38%; background: var(--gold); animation: tune 1.3s var(--ease-in-out) infinite; }
@keyframes tune { from { transform: translateX(-100%); } to { transform: translateX(265%); } }

@media (max-width: 1080px) { .mast-nav { display: none; } }
@media (max-width: 759px) {
    :root { --mast-h: 63px; }
    .mast-logo img { height: 42px; }
    .mast-search { display: none; }
    .mast-end { margin-left: auto; }
    .mast-link.admin span { display: none; }
}

/* Mobile tab bar (the brand's bottom bar, with four destinations). */
.bottombar { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: var(--glass-bar); border-top: 1px solid var(--rule); }
.bottombar a { display: grid; justify-items: center; gap: 2px; min-height: 52px; padding: 6px 0; color: var(--muted); text-decoration: none; font-size: .74rem; font-weight: 600; border-radius: var(--radius-item); }
.bottombar a .ico { width: 22px; height: 22px; }
.bottombar a[aria-current="page"] { color: var(--gold-hi); }
@media (min-width: 760px) { .bottombar { display: none; } }
@media (max-width: 759px) { main { padding-bottom: 72px; } }

/* ---- flash + toast ---- */
.flash { max-width: var(--shell); margin: 16px auto 0; padding: 0 var(--gutter); }
.flash p { margin: 0 0 8px; padding: 12px 16px; border: 1px solid var(--rule-2); border-left: 2px solid var(--gold); border-radius: var(--radius-panel); background: var(--ink-2); color: var(--ivory); font-size: .95rem; }
.toast { position: fixed; z-index: 60; left: 50%; bottom: 96px; transform: translateX(-50%); background: var(--ivory); color: var(--ink); padding: 10px 18px; border-radius: var(--radius-pill); font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-toast); max-width: calc(100vw - 32px); text-align: center; }
@media (min-width: 760px) { .toast { bottom: 28px; } }

/* ---- status marks: a mark plus words, never colour alone ---- */
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--text); margin: 0; }
.status .ico { width: 16px; height: 16px; color: var(--gold); }
.status.state-denied, .status.state-denied .ico { color: var(--muted); }
.status.state-requestable .ico { color: var(--muted); }
.status.big { font-size: 1.05rem; color: var(--ivory); }
.status.big .ico { width: 20px; height: 20px; }

/* ---- hero ---- */
.hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; z-index: -2; }
/* Neutral black scrims only: bottom fade into the page, left fade behind the text. */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(to top, var(--ink) 0%, rgba(9, 9, 10, .82) 24%, rgba(9, 9, 10, .25) 58%, rgba(9, 9, 10, .55) 100%),
                linear-gradient(to right, rgba(9, 9, 10, .9) 0%, rgba(9, 9, 10, .55) 38%, rgba(9, 9, 10, 0) 70%); }
.hero-in { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter) clamp(36px, 6vw, 72px); }
.hero-kicker { margin: 0 0 14px; color: var(--text); font-weight: 600; font-size: .95rem; }
.hero h1 { max-width: 14ch; }
.hero-text { max-width: 54ch; margin: 20px 0 0; font-size: 1.1rem; color: var(--text); text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.hero .status { color: var(--ivory); }

/* ---- poster rows ---- */
.rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 56px); padding-top: 24px; padding-bottom: 96px; }
.hero + .rows { padding-top: 8px; }
.row { min-width: 0; }
.row-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.row-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; text-decoration: none; min-height: 44px; }
.row-more .ico { transition: transform var(--dur-slide) var(--ease); }
.row-more:hover .ico { transform: translateX(4px); }
.row-nav { margin-left: auto; display: flex; gap: 8px; }
@media (hover: none), (max-width: 759px) { .row-nav { display: none; } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: var(--poster-w); gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); padding: 4px var(--gutter) 10px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

.poster { display: grid; gap: 4px; align-content: start; text-decoration: none; color: var(--ivory); min-width: 0; }
.poster-img { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: var(--radius-item); overflow: hidden; background: var(--ink-3); outline: 1px solid transparent; outline-offset: 2px; transition: outline-color var(--dur-fast); }
.poster-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.poster:hover .poster-img, .poster:focus-visible .poster-img { outline-color: var(--gold); }
.poster:focus-visible { outline: 0; }
.poster:hover .poster-title { color: var(--gold-hi); }
.poster-title { margin-top: 6px; font-weight: 600; font-size: .95rem; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; transition: color var(--dur-fast); }
.poster-meta { font-size: .8rem; color: var(--muted); }
/* State on a poster: a small ink pill with a gold mark and the word. */
.mark { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: var(--radius-pill); background: rgba(9, 9, 10, .88); border: 1px solid var(--rule-2); color: var(--ivory); font-size: .74rem; font-weight: 700; }
.mark .ico { width: 13px; height: 13px; color: var(--gold); stroke-width: 2.6; }
.mark.pending .ico { color: var(--muted); }

.cast { grid-auto-columns: clamp(108px, 11vw, 132px); }
.person { display: grid; gap: 2px; align-content: start; }
.person img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius-item); background: var(--ink-3); margin-bottom: 6px; }
.person b { color: var(--ivory); font-weight: 600; font-size: .9rem; line-height: 1.3; }
.person small { color: var(--muted); font-size: .8rem; line-height: 1.35; }

/* ---- title page ---- */
.title-page { position: relative; isolation: isolate; }
.backdrop { position: absolute; inset: 0 0 auto; height: min(88vh, 860px); z-index: -1; overflow: hidden; }
.backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.backdrop::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, var(--ink) 4%, rgba(9, 9, 10, .86) 34%, rgba(9, 9, 10, .4) 70%, rgba(9, 9, 10, .7) 100%),
                linear-gradient(to right, rgba(9, 9, 10, .92) 0%, rgba(9, 9, 10, .6) 45%, rgba(9, 9, 10, .1) 100%); }
.title-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: clamp(28px, 7vh, 96px); padding-bottom: 24px; }
.title-poster img { display: block; width: 100%; border-radius: var(--radius-panel); }
.title-poster { width: min(34vw, 140px); }
@media (min-width: 900px) {
    .title-in { grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
    .title-poster { position: sticky; top: calc(var(--mast-h) + 24px); }
    .title-poster { width: auto; }
}
.title-kind { margin: 0 0 10px; color: var(--text); font-weight: 600; font-size: .95rem; }
.meta, .genres { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin: 18px 0 0; color: var(--text); font-size: .98rem; }
.meta span + span::before, .genres span + span::before { content: "·"; margin: 0 10px; color: var(--muted); }
.genres { margin-top: 6px; color: var(--muted); font-size: .92rem; }
.rating { display: inline-flex; align-items: center; gap: 6px; }
.rating .ico { width: 15px; height: 15px; color: var(--gold); }
.tagline { margin: 18px 0 0; color: var(--ivory); font-weight: 600; }
.title-body .lede { margin-top: 12px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.ask { margin-top: 24px; padding-top: 18px; border-top: 2px solid var(--gold); max-width: 640px; }
.ask-note { margin: 8px 0 0; color: var(--text); font-size: .98rem; }
.ask-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* ---- page heads, chips, grid ---- */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 24px; margin-bottom: 24px; }
.page-head h1 { margin-right: auto; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: var(--radius-pill); border: 1px solid var(--rule-2); background: transparent; color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem; cursor: pointer; white-space: nowrap; transition: color var(--dur-fast), background var(--dur-fast), border-color var(--dur-fast); }
.chip:hover { background: var(--ink-3); color: var(--ivory); }
.chip[aria-current="page"], .chip[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-hi); }
.chip small { color: var(--muted); font-size: .78rem; }
.switch, .chips, .tabs, .subtabs { display: flex; flex-wrap: wrap; gap: 8px; }
.subtabs { margin-bottom: 4px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
.filters .chips { flex: 1 1 520px; }
.filters .sort + .sort { margin-left: -8px; }
.sort { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; }
select, .field input, .field select, .field textarea { min-height: 44px; padding: 10px 12px; border-radius: var(--radius-field); border: 1px solid var(--rule-2); background: var(--ink-2); color: var(--ivory); font: inherit; font-size: .95rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(var(--poster-w), 44vw), 1fr)); gap: 28px 16px; }
@media (max-width: 480px) { .grid { grid-template-columns: repeat(2, 1fr); } }
.more { display: flex; justify-content: center; margin-top: 36px; }
.skel-poster { aspect-ratio: 2 / 3; border-radius: var(--radius-item); background: linear-gradient(90deg, var(--ink-2) 0 40%, var(--ink-3) 50%, var(--ink-2) 60% 100%) 0 0 / 300% 100%; animation: skel 1.6s linear infinite; }
.skel-line { height: .85rem; width: 70%; margin-top: 10px; border-radius: var(--radius-focus); background: var(--ink-2); }
@keyframes skel { from { background-position: 100% 0; } to { background-position: 0 0; } }

.search-big { position: relative; margin-bottom: 12px; }
.search-big .ico { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--muted); pointer-events: none; }
.search-big input { width: 100%; min-height: 64px; padding: 12px 20px 12px 56px; border-radius: var(--radius-pill); border: 1px solid var(--rule-2); background: var(--ink-2); color: var(--ivory); font: 500 1.2rem var(--read); }
.search-note { color: var(--muted); margin: 0 0 24px; min-height: 1.6em; }

/* ---- ruled lists (my requests, admin) ---- */
.ruled { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-2); }
.ruled > li { border-bottom: 1px solid var(--rule-2); }
.req { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 4px 18px; padding: 14px 2px; color: var(--text); text-decoration: none; }
.req-img img, .arow-img img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; background: var(--ink-3); }
.req-img, .arow-img { display: block; width: 56px; aspect-ratio: 2 / 3; border-radius: 6px; background: var(--ink-3); overflow: hidden; }
.req-main { display: grid; gap: 2px; min-width: 0; }
.req-title, .arow-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.45rem; line-height: 1.02; color: var(--ivory); text-decoration: none; }
.arow-title small { font-family: var(--read); text-transform: none; font-weight: 500; font-size: .9rem; color: var(--muted); }
.req small, .arow-meta { color: var(--muted); font-size: .88rem; margin: 0; }
.req .why { color: var(--text); }
.req:hover .req-title, .arow-title:hover { color: var(--gold-hi); }
.req .status { grid-column: 2; }
@media (min-width: 760px) { .req { grid-template-columns: 56px minmax(0, 1fr) auto; } .req .status { grid-column: 3; } }
.usage { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin: 0; color: var(--text); font-size: .95rem; }
.usage b { color: var(--ivory); font-weight: 700; }
.usage .fineprint { margin: 0; }
.empty { padding: 48px 0; max-width: 560px; }
.empty .h2 { margin-bottom: 10px; }
.empty p { color: var(--text); }

/* ---- admin ---- */
.admin .page-head { margin-bottom: 28px; }
.admin .lede { margin: 0 0 24px; font-size: 1rem; color: var(--muted); }
.arow { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px 18px; padding: 16px 2px; align-items: start; }
.arow-main { min-width: 0; display: grid; gap: 4px; }
.arow-note { margin: 2px 0 0; font-size: .9rem; color: var(--text); padding-left: 12px; border-left: 1px solid var(--gold); }
.arow .status, .arow-actions { grid-column: 2; }
.arow-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.arow-actions form { margin: 0; }
.approve { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.approve-sum { flex-basis: 100%; margin: 2px 0 0; font-size: .9rem; color: var(--ivory); }
.approve-sum b { color: var(--gold-hi); }
.approve select, .approve input { min-height: 44px; padding: 8px 12px; font-size: .9rem; }
.approve input { width: 130px; }
@media (min-width: 1000px) {
    .arow { grid-template-columns: 56px minmax(0, 1fr) 210px auto; align-items: center; }
    .arow .status { grid-column: 3; }
    .arow-actions { grid-column: 4; justify-content: flex-end; }
}
.flag-kind .ico { color: var(--gold); }
.admin-filter { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-bottom: 20px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; background: var(--ink); }
.field.inline { margin: 0; flex: 0 1 320px; }
.field.inline input { background: var(--ink-2); }
.toggle-row { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; margin: 4px 0 16px; }
.toggle-row label { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: .95rem; min-height: 44px; }
.toggle-row input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--gold); }
.fields3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 16px; max-width: 760px; }
.modal-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.two { display: grid; gap: 40px; }
@media (min-width: 1000px) { .two { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; } }
.support { border-top: 2px solid var(--gold); padding: 18px 0 0; }
.support h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1; color: var(--ivory); margin: 0 0 14px; }
@media (min-width: 1000px) { .two aside { position: sticky; top: calc(var(--mast-h) + 24px); align-self: start; } }
.users summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding: 14px 2px; cursor: pointer; list-style: none; min-height: 44px; }
.users summary::-webkit-details-marker { display: none; }
.users summary b { font-weight: 700; color: var(--ivory); }
.users summary:hover b { color: var(--gold-hi); }
.users details[open] summary b { color: var(--gold-hi); }
.user-form { padding: 4px 2px 20px; }
.settings .set { padding: 28px 0; border-bottom: 1px solid var(--rule-2); }
.settings .set:first-child { padding-top: 0; }
.settings .set > p { max-width: 70ch; margin: 10px 0 18px; color: var(--text); }
.settings .set em { font-style: normal; color: var(--ivory); font-weight: 700; }
.settings .status { display: flex; margin: 10px 0 16px; }
.settings .status + .status { margin-top: -8px; }
.settings-save { position: sticky; bottom: 0; padding: 16px 0; background: var(--glass-bar); border-top: 1px solid var(--rule); margin-top: -1px; }
@media (max-width: 759px) { .settings-save { bottom: 72px; } }
dialog.modal-panel { width: min(440px, calc(100vw - 32px)); background: var(--ink-2); border: 1px solid var(--rule-2); border-radius: var(--radius-modal); padding: 24px; color: var(--text); }
dialog::backdrop { background: var(--scrim-dialog); }
.modal-head h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.8rem; line-height: 1; margin: 0 0 16px; color: var(--ivory); }

/* ---- sign in ---- */
body.login { background: var(--ink); }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 32px var(--gutter); }
.login-panel { width: 100%; max-width: 420px; display: grid; gap: 0; }
.login-logo { width: auto; height: 96px; margin-bottom: 28px; }
.login-panel h1 { margin-bottom: 10px; }
.login-lede { margin: 0 0 28px; color: var(--text); }
.login-panel .field input { background: var(--ink-2); }
.login-panel .btn { margin-top: 8px; }
.error { margin: 0 0 18px; padding: 12px 16px; border: 1px solid var(--rule-2); border-left: 2px solid var(--gold); border-radius: var(--radius-panel); background: var(--ink-2); color: var(--ivory); font-size: .95rem; }

/* ---- motion (brand): one entrance per page, nothing loops for decoration ---- */
.reveal > * { animation: rise var(--dur-enter) var(--ease) both; }
.reveal > :nth-child(2) { animation-delay: 60ms; } .reveal > :nth-child(3) { animation-delay: 120ms; }
.reveal > :nth-child(4) { animation-delay: 180ms; } .reveal > :nth-child(5) { animation-delay: 240ms; }
.reveal > :nth-child(n+6) { animation-delay: 300ms; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.board .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; }
.board .w > span { display: inline-block; animation: board 700ms var(--ease) both; }
.board .w:nth-child(2) > span { animation-delay: 80ms; } .board .w:nth-child(3) > span { animation-delay: 160ms; } .board .w:nth-child(n+4) > span { animation-delay: 240ms; }
@keyframes board { from { transform: translateY(105%); } to { transform: none; } }
.hero-bg, .backdrop img { animation: settle 1.6s var(--ease) both; }
@keyframes settle { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    *, .reveal > *, .board .w > span, .hero-bg, .backdrop img { animation: none !important; transition: none !important; }
    .tune::before { width: 100%; opacity: .5; }
}

/* ---- reports, activity ---- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); margin-bottom: 48px; }
.tile { display: grid; gap: 6px; padding: 20px 20px 20px 0; }
.tile + .tile { border-left: 1px solid var(--rule); padding-left: 20px; }
@media (max-width: 759px) { .tile + .tile { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); } }
.tile-label { font-size: .85rem; color: var(--muted); font-weight: 600; }
.tile-num { font-family: var(--display); font-weight: 800; font-size: 2.8rem; line-height: 1; color: var(--ivory); }
.tile-sub { font-size: .85rem; color: var(--text); }
.tile-sub a { color: var(--gold-hi); }
.report { margin-bottom: 48px; }
.report .h2 { margin-bottom: 6px; }
.report-sub { margin: 0 0 18px; color: var(--muted); font-size: .92rem; }
.report-cols { display: grid; gap: 0 48px; }
@media (min-width: 1000px) { .report-cols { grid-template-columns: 1fr 1fr; } }
.chart { position: relative; margin: 0; max-width: 900px; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: var(--rule); stroke-width: 1; }
.chart .axis { stroke: var(--rule-2); stroke-width: 1; }
.chart .tick { fill: var(--muted); font: 500 11px var(--read); }
.chart .val { fill: var(--ivory); font: 700 12px var(--read); }
.chart .bar { fill: var(--gold); }
.chart .hit { fill: transparent; }
.chart .col:hover .hit, .chart .col.on .hit { fill: var(--ink-2); }
.chart-tip { position: absolute; z-index: 5; pointer-events: none; transform: translate(-50%, calc(-100% - 10px)); background: var(--ink-3); border: 1px solid var(--rule-2); border-radius: var(--radius-item); padding: 8px 12px; font-size: .85rem; color: var(--text); white-space: nowrap; }
.chart-tip b { display: block; color: var(--ivory); font-size: .95rem; }
.as-table { margin-top: 14px; }
.as-table summary { cursor: pointer; color: var(--gold-hi); font-weight: 600; font-size: .92rem; min-height: 44px; display: inline-flex; align-items: center; }
table.log { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.log th { text-align: left; font-weight: 600; color: var(--muted); font-size: .82rem; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule-2); }
table.log td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--text); }
table.log td b { color: var(--ivory); font-weight: 600; }
table.log td:first-child { white-space: nowrap; color: var(--muted); }
.muted { color: var(--muted); }
.rank li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 12px 2px; }
.rank li:has(.wide) { grid-template-columns: 110px minmax(0, 1fr) auto; }
.rank-n { font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--gold-hi); line-height: 1; }
.rank-n.wide { font-family: var(--read); font-weight: 600; font-size: .85rem; color: var(--muted); }
.rank a { color: var(--ivory); text-decoration: none; font-weight: 600; }
.rank a:hover { color: var(--gold-hi); }
.rank small { color: var(--muted); font-weight: 400; }
.rank .status, .rank .muted { font-size: .85rem; }
.arow-note.diag b { color: var(--ivory); }
.arow-note small { color: var(--muted); }

/* ---- trailer player ---- */
dialog.player { width: min(1100px, 94vw); padding: 0; border: 0; background: #000; border-radius: var(--radius-panel); overflow: visible; }
dialog.player::backdrop { background: rgba(0, 0, 0, .88); }
.player-frame { aspect-ratio: 16 / 9; width: 100%; }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; border-radius: var(--radius-panel); }
.player-close { position: absolute; top: -54px; right: 0; background: var(--ink-2); }

/* ---- title page: where to find it, series, makers ---- */
.where { margin-top: 28px; padding: 18px 20px; max-width: 640px; border: 1px solid var(--rule-2); border-radius: var(--radius-panel); background: var(--ink-2); }
.where-label { margin: 0 0 6px; font-size: .85rem; color: var(--muted); font-weight: 600; }
.where-path { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.9rem; line-height: 1.05; color: var(--ivory); }
.where-path .sep { width: 22px; height: 22px; color: var(--gold); stroke-width: 2.4; }
.where-note { margin: 10px 0 0; font-size: .92rem; color: var(--text); }
.where-note b { color: var(--ivory); }
.makers { margin: 10px 0 0; color: var(--text); font-size: .95rem; }
.makers a { color: var(--ivory); text-decoration-color: var(--rule-2); }
.makers a:hover { color: var(--gold-hi); }
.progress-tag { margin-left: 10px; padding: 2px 10px; border: 1px solid var(--gold); border-radius: var(--radius-pill); color: var(--gold-hi); font-size: .8rem; font-weight: 700; }
.series .row-head .btn { margin-left: 8px; }
.series-item { position: relative; display: grid; }
.series-n { position: absolute; z-index: 1; top: -2px; left: -2px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); border: 1px solid var(--rule-2); color: var(--ivory); font: 700 .8rem var(--read); }
.series-item.here .poster-img { outline-color: var(--gold); }
.series-item.here .series-n { border-color: var(--gold); color: var(--gold-hi); }
a.person { text-decoration: none; }
a.person:hover b { color: var(--gold-hi); }
a.person img { outline: 1px solid transparent; outline-offset: 2px; transition: outline-color var(--dur-fast); }
a.person:hover img { outline-color: var(--gold); }

/* ---- person page ---- */
.person-head { display: grid; gap: 28px; margin-bottom: 40px; }
@media (min-width: 760px) { .person-head { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; } }
.person-photo { width: min(46vw, 220px); border-radius: var(--radius-panel); background: var(--ink-3); }
.person-head .status { margin-top: 18px; }
.bio { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rows.flush { padding: 0 0 8px; }
.filmo { margin-top: 48px; }
.filmo .row-head .muted { font-size: .88rem; }

/* ---- discover: surprise prompt ---- */
.surprise-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 18px 0; border-top: 2px solid var(--gold); border-bottom: 1px solid var(--rule); color: var(--text); text-decoration: none; }
.surprise-cta b { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; color: var(--ivory); margin-right: 8px; }
.surprise-cta:hover b { color: var(--gold-hi); }

/* ---- surprise me ---- */
.surprise-form { display: grid; gap: 14px; justify-items: start; margin-bottom: 36px; }
.chip.check { gap: 10px; cursor: pointer; }
.chip.check input { width: 18px; height: 18px; accent-color: var(--gold); }
.chip.check:has(input:checked) { border-color: var(--gold); color: var(--gold-hi); }
.surprise-form .btn { margin-top: 8px; }
.reel { position: relative; overflow: hidden; margin: 0 calc(-1 * var(--gutter)) 32px; padding: 10px 0; }
.reel-strip { display: flex; gap: 16px; will-change: transform; }
.reel-strip img { flex: none; width: 160px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius-item); background: var(--ink-3); }
.reel-mark { position: absolute; top: 4px; bottom: 4px; left: 50%; width: 172px; transform: translateX(-50%); border: 2px solid var(--gold); border-radius: 12px; pointer-events: none; }
.reel::before, .reel::after { content: ""; position: absolute; top: 0; bottom: 0; width: 18%; z-index: 1; pointer-events: none; }
.reel::before { left: 0; background: linear-gradient(to right, var(--ink), rgba(9, 9, 10, 0)); }
.reel::after { right: 0; background: linear-gradient(to left, var(--ink), rgba(9, 9, 10, 0)); }
.pick { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-modal); border: 1px solid var(--rule-2); animation: rise var(--dur-enter) var(--ease) both; }
.pick-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.pick::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(9, 9, 10, .95) 0%, rgba(9, 9, 10, .82) 45%, rgba(9, 9, 10, .35) 100%), linear-gradient(to top, rgba(9, 9, 10, .9), rgba(9, 9, 10, 0) 60%); }
.pick-in { display: grid; gap: 24px; padding: clamp(20px, 4vw, 40px); }
@media (min-width: 760px) { .pick-in { grid-template-columns: 200px minmax(0, 1fr); gap: 36px; align-items: center; } }
.pick-in > img { width: min(40vw, 200px); border-radius: var(--radius-panel); }
.pick h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: .95; color: var(--ivory); margin: 6px 0 0; }
.pick .lede { margin-top: 12px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pick .where { margin-top: 18px; background: rgba(17, 17, 19, .85); }
.pick .ask-actions { margin-top: 20px; }

/* ---- install prompt (phones) ---- */
.install { position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border: 1px solid var(--rule-2); border-radius: var(--radius-panel); background: var(--ink-2); box-shadow: var(--shadow-toast); }
.install img { border-radius: 10px; flex: none; }
.install p { margin: 0; flex: 1; font-size: .88rem; line-height: 1.35; color: var(--text); }
.install p b { display: block; color: var(--ivory); font-size: .95rem; }
@media (min-width: 760px) { .install { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .reel-strip { transition: none !important; } }

/* ---- insights ---- */
.insights-period { margin-bottom: 12px; }
.big-stat { color: var(--text); font-size: 1rem; max-width: 46ch; }
.big-stat b { display: block; font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--ivory); margin-bottom: 6px; }
.h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.3rem; color: var(--ivory); margin: 24px 0 10px; }
.rank.tight li { padding: 8px 2px; }
.rank + .rank { margin-top: 18px; }
.tile-num.small { font-size: 1.9rem; overflow-wrap: anywhere; }
.visit { padding: 16px 0; border-top: 1px solid var(--rule-2); }
.visit-head { margin: 0 0 8px; color: var(--text); font-size: .92rem; }
.visit-head b { color: var(--ivory); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 1px solid var(--rule-2); display: grid; gap: 6px; }
.timeline li { font-size: .92rem; color: var(--text); }
.timeline time { display: inline-block; width: 46px; color: var(--muted); font-variant-numeric: tabular-nums; }
.timeline a { color: var(--ivory); }
.user-insights { margin-left: auto; font-size: .85rem; font-weight: 600; }
