/* =========================================================
   Lost Aisles · retro video store, modern app.
   Brand colours and type live in the variables below.
   ========================================================= */
:root {
  --night: #0f0c22; --night-2: #171332; --panel: rgba(36, 30, 74, 0.72); --panel-solid: #221d47; --panel-2: #2c2559;
  --case: #0b0918; --line: rgba(206, 203, 246, 0.13); --line-2: rgba(206, 203, 246, 0.24); --track: rgba(206, 203, 246, 0.12);
  --ink: #f6f1e7; --ink-2: #cdc8ea; --ink-3: #8f8ab9;
  --critic: #8f86ee; --audience: #f2a531; --neon-pink: #ff4fa3; --neon-cyan: #3fe0d0; --neon-yellow: #ffd23f;
  --good: #6fdc8c; --bad: #ff7a5c; --green: #4fbf3a; --blue: #3d8de0;
  --paper: #f6f0e1; --paper-ink: #2a2440;
  --r: 16px; --r-sm: 10px;
  --sans: "Archivo", system-ui, -apple-system, Segoe UI, sans-serif; --sign: "Bungee", "Archivo", sans-serif;
  --mono: "Space Mono", ui-monospace, Consolas, monospace; --vcr: "VT323", "Space Mono", monospace; --hand: "Caveat", cursive;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); line-height: 1.5; min-height: 100vh; background: var(--night);
  background-image:
    radial-gradient(1000px 520px at 50% -180px, rgba(255, 79, 163, 0.20), transparent 70%),
    radial-gradient(700px 400px at 100% 10%, rgba(63, 224, 208, 0.07), transparent 70%),
    radial-gradient(circle at 25% 25%, rgba(63, 224, 208, 0.06) 0 1.5px, transparent 2px),
    radial-gradient(circle at 75% 65%, rgba(255, 210, 63, 0.05) 0 1.5px, transparent 2px);
  background-size: auto, auto, 34px 34px, 34px 34px; background-attachment: fixed;
}
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90;
  background: repeating-linear-gradient(transparent 0 2px, rgba(0, 0, 0, 0.06) 2px 3px); }
a { color: var(--neon-cyan); text-decoration-thickness: 1px; text-underline-offset: 2px; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
h3 small { font-weight: 400; color: var(--ink-3); font-size: 12px; font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--neon-yellow); color: #000; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--ink-3); }
.fine { font-size: 12.5px; color: var(--ink-3); margin: 12px 0 0; }
.fine b { color: var(--ink-2); }
.fine.warn { color: #ffb48f; }
.center { text-align: center; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 22px; padding: 10px clamp(16px, 4vw, 36px);
  background: rgba(11, 9, 24, 0.82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 79, 163, 0.28); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo { width: 34px; height: 34px; filter: drop-shadow(0 0 6px rgba(255, 79, 163, 0.5)); }
.wordmark { font-family: var(--sign); font-size: 22px; text-transform: lowercase; color: #fff; line-height: 1; display: flex; flex-direction: column;
  text-shadow: 0 0 6px var(--neon-pink), 0 0 16px rgba(255, 79, 163, 0.6); }
.wordmark small { font-family: var(--vcr); font-size: 15px; letter-spacing: 3px; color: var(--neon-cyan); text-shadow: 0 0 6px rgba(63, 224, 208, 0.7); margin-bottom: -2px; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 7px 12px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.nav a:hover { background: var(--panel-2); color: var(--ink); }
.nav a.on { background: rgba(255, 79, 163, 0.16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 79, 163, 0.45); }
.qsearch { position: relative; margin-left: auto; width: min(340px, 34vw); }
.qsearch input { width: 100%; padding: 9px 14px; border-radius: 999px; background: var(--panel-solid); border: 1px solid var(--line-2); outline: none; }
.qsearch input:focus { border-color: var(--neon-cyan); box-shadow: 0 0 0 3px rgba(63, 224, 208, 0.18); }
body[data-view="home"] .qsearch { visibility: hidden; }

.demo-banner { max-width: 1180px; margin: 12px auto 0; padding: 9px 14px; width: calc(100% - 32px); border-radius: 10px; font-size: 14px;
  background: rgba(255, 210, 63, 0.1); border: 1px solid rgba(255, 210, 63, 0.35); color: #ffe08a; }
.demo-banner code { font-family: var(--mono); }

.view { max-width: 1180px; margin: 0 auto; padding: 20px clamp(16px, 4vw, 36px) 40px; min-height: 60vh; outline: none; }
.view.in { animation: viewIn .32s ease-out; }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.foot { max-width: 1180px; margin: 0 auto; padding: 10px clamp(16px, 4vw, 36px) 40px; font-size: 12px; color: var(--ink-3); }
.foot a { color: var(--ink-2); }

/* ---------- Bottom tabs (phones) ---------- */
.tabs-bar { display: none; }
@media (max-width: 760px) {
  .nav, .qsearch { display: none; }
  .top { padding: 10px 16px; justify-content: center; }
  .tabs-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; justify-content: space-around;
    padding: 6px 6px calc(6px + var(--safe-b)); background: rgba(11, 9, 24, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 79, 163, 0.28); }
  .tab { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 5px 0; color: var(--ink-3);
    text-decoration: none; font-size: 11px; font-weight: 600; border-radius: 12px; min-height: 48px; justify-content: center; }
  .tab span { font-size: 19px; line-height: 1.1; }
  .tab.on { color: #fff; background: rgba(255, 79, 163, 0.14); }
  .tab.on span { color: var(--neon-pink); text-shadow: 0 0 8px rgba(255, 79, 163, 0.8); }
  .tab b { position: absolute; top: 3px; right: calc(50% - 22px); background: var(--neon-pink); color: #fff; font-size: 10px; min-width: 17px; height: 17px;
    border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
  .foot { padding-bottom: calc(90px + var(--safe-b)); }
  .view { padding-bottom: 24px; }
}

/* ---------- Buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 12px; font-weight: 700;
  background: var(--neon-pink); color: #fff; border: 0; cursor: pointer; text-decoration: none; box-shadow: 0 6px 22px rgba(255, 79, 163, 0.3); }
.btn:hover { filter: brightness(1.08); }
.btn.alt { background: var(--panel-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.danger { background: transparent; color: var(--bad); box-shadow: inset 0 0 0 1px rgba(255, 122, 92, 0.5); }
.btn:disabled { opacity: .7; cursor: progress; }
.link { background: none; border: 0; color: var(--neon-cyan); cursor: pointer; padding: 4px; text-decoration: underline; text-underline-offset: 2px; }
.link.danger { color: var(--bad); }
.chip { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: rgba(143, 134, 238, 0.18); color: #cfcaff; font-weight: 500; }
.kws { display: flex; flex-wrap: wrap; gap: 6px; }
.kw { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--panel-2); color: var(--ink-2); }
.kw i { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-left: 4px; }
.kw.pos { background: rgba(111, 220, 140, 0.14); color: #b9f5c8; box-shadow: inset 0 0 0 1px rgba(111, 220, 140, 0.3); }
.kw.neg { background: rgba(255, 122, 92, 0.12); color: #ffc2b2; box-shadow: inset 0 0 0 1px rgba(255, 122, 92, 0.28); }
.notice { padding: 12px 14px; border-radius: 12px; background: rgba(63, 224, 208, 0.08); border: 1px solid rgba(63, 224, 208, 0.3); color: #bff6ef; font-size: 14px; }

/* ---------- Cards and layout ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); min-width: 0; }
.grid { display: grid; gap: 14px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-verdict { grid-template-columns: 1.2fr 1fr 1fr; }
@media (max-width: 980px) { .g-verdict { grid-template-columns: 1fr 1fr; } .g-verdict .verdict-card { grid-column: 1 / -1; } }
@media (max-width: 760px) { .g-2, .g-verdict { grid-template-columns: minmax(0, 1fr); } .card { padding: 16px; } }
.sec { display: flex; align-items: center; gap: 14px; margin: 40px 0 14px; }
.sec-n { font-family: var(--sign); font-size: 15px; min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px;
  background: var(--case); color: var(--neon-yellow); border: 2px solid rgba(255, 210, 63, 0.55); box-shadow: 0 0 14px rgba(255, 210, 63, 0.2); }
.sec h2 { font-family: var(--sign); font-weight: 400; font-size: clamp(18px, 2.6vw, 23px); letter-spacing: .3px; }
.sec p { margin: 2px 0 0; color: var(--ink-3); font-size: 14px; }
.page-h { margin: 8px 0 22px; }
.page-h h1 { font-family: var(--sign); font-weight: 400; font-size: clamp(30px, 5vw, 46px); text-shadow: 0 0 18px rgba(255, 79, 163, 0.35); }
.shelved { font-family: var(--vcr); font-size: 18px; letter-spacing: 2px; color: var(--neon-cyan); margin: 0 0 4px; text-transform: uppercase; }
.sub { color: var(--ink-2); max-width: 64ch; margin: 8px 0 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; }
.stat { background: rgba(11, 9, 24, 0.5); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.stat b { display: block; font-family: var(--mono); font-size: 24px; letter-spacing: -1px; color: #fff; }
.stat small { color: var(--ink-3); font-size: 12px; }
.blank { text-align: center; padding: 40px 20px; color: var(--ink-2); }
.blank-t { font-family: var(--sign); font-size: 20px; color: #fff; margin-bottom: 6px; }
.blank .btn { margin: 14px 4px 0; }

.loading { display: grid; place-items: center; gap: 12px; padding: 50px 0; color: var(--ink-3); }
.loading p { margin: 0; font-family: var(--vcr); font-size: 20px; letter-spacing: 1px; }
.vhs-load { width: 140px; height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; }
.vhs-load span { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan)); animation: tape 1.1s ease-in-out infinite; }
@keyframes tape { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }
.spin { display: inline-block; width: 12px; height: 12px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: rot .7s linear infinite; vertical-align: -1px; }
@keyframes rot { to { transform: rotate(360deg); } }

.toast { position: fixed; left: 50%; bottom: calc(24px + var(--safe-b)); transform: translate(-50%, 20px); opacity: 0; z-index: 99;
  background: #fff; color: #140f33; font-weight: 600; padding: 11px 16px; border-radius: 12px; box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
  transition: .25s; pointer-events: none; max-width: calc(100% - 32px); text-align: center; font-size: 14px; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 760px) { .toast { bottom: calc(86px + var(--safe-b)); } }

/* ---------- Posters and tiles ---------- */
.poster { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; background: var(--panel-2); }
.poster-ph { display: flex; align-items: flex-end; padding: 10px; font-weight: 800; font-size: 14px; line-height: 1.1; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, hsl(var(--h) 55% 34%), hsl(calc(var(--h) + 40) 60% 16%)); box-shadow: inset 6px 0 0 rgba(0, 0, 0, .35); }
.poster-ph.lg { font-size: 22px; padding: 16px; }
.poster-ph.sm span { display: none; }
.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 12px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.tile { position: relative; display: block; text-decoration: none; color: var(--ink); scroll-snap-align: start; }
.tile .poster { transition: transform .18s, box-shadow .18s; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.tile:hover .poster { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0, 0, 0, .5), 0 0 0 2px rgba(255, 79, 163, .5); }
.tile-t { display: block; font-weight: 600; font-size: 13.5px; margin-top: 7px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile-y { font-size: 12px; color: var(--ink-3); }
.tile-fit { position: absolute; top: 6px; right: 6px; min-width: 34px; height: 24px; padding: 0 6px; border-radius: 8px; display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; font-size: 12.5px; color: #fff; background: rgba(11, 9, 24, 0.82); backdrop-filter: blur(4px);
  box-shadow: inset 0 0 0 1.5px hsl(calc(var(--p) * 1.3) 85% 58%); }
.tile-st { position: absolute; top: 6px; left: 6px; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.st-want { background: var(--neon-cyan); color: #04211e; } .st-watched { background: var(--good); color: #0c2c14; } .st-nope { background: #534d7a; color: #fff; }

/* ---------- Home ---------- */
.home { padding-top: clamp(10px, 6vh, 60px); }
.marquee-wrap { text-align: center; }
.marquee-top { font-family: var(--vcr); font-size: 19px; letter-spacing: 3px; color: var(--neon-yellow); margin: 0 0 6px; text-transform: uppercase; }
.marquee-top span { color: var(--neon-pink); }
.hero-sign { font-family: var(--sign); font-weight: 400; text-transform: lowercase; line-height: .9; display: flex; flex-direction: column; align-items: center; }
.neon-lost { font-family: var(--vcr); font-size: clamp(26px, 5vw, 40px); letter-spacing: 10px; color: var(--neon-cyan); text-shadow: 0 0 8px rgba(63, 224, 208, .8), 0 0 24px rgba(63, 224, 208, .4); margin-bottom: 4px; padding-left: 10px; }
.neon { font-size: clamp(64px, 14vw, 128px); color: #fff; text-shadow: 0 0 6px var(--neon-pink), 0 0 18px var(--neon-pink), 0 0 42px rgba(255, 79, 163, .55); animation: flicker 8s infinite; }
@keyframes flicker { 0%, 92%, 96%, 100% { opacity: 1; } 93%, 95% { opacity: .55; } 94% { opacity: .9; } }
.hero-sub { max-width: 560px; margin: 14px auto 0; color: var(--ink-2); font-size: 17px; }
.hero-sub em { font-style: normal; color: var(--neon-pink); font-weight: 700; }
.bigsearch { position: relative; max-width: 680px; margin: 30px auto 0; z-index: 30; }
.bigsearch input { width: 100%; padding: 20px 60px 20px 58px; font-size: clamp(17px, 2.4vw, 21px); border-radius: 18px; outline: none;
  background: rgba(11, 9, 24, 0.85); border: 2px solid rgba(255, 79, 163, .55); color: #fff;
  box-shadow: 0 0 0 6px rgba(255, 79, 163, .08), 0 0 40px rgba(255, 79, 163, .25), 0 20px 50px rgba(0, 0, 0, .5); transition: .2s; }
.bigsearch input:focus { border-color: var(--neon-cyan); box-shadow: 0 0 0 6px rgba(63, 224, 208, .12), 0 0 46px rgba(63, 224, 208, .3), 0 20px 50px rgba(0, 0, 0, .5); }
.bigsearch input::placeholder { color: var(--ink-3); }
.bs-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-52%); font-size: 26px; color: var(--neon-pink); pointer-events: none; }
.bs-kbd { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 12px; color: var(--ink-3);
  border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 7px; }
@media (hover: none) { .bs-kbd { display: none; } }
.bs-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; z-index: 50; text-align: left;
  background: rgba(23, 19, 50, 0.97); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); max-height: 62vh; overflow-y: auto; }
.bs-results li { display: flex; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 10px; cursor: pointer; }
.bs-results li[aria-selected="true"], .bs-results li:hover { background: var(--panel-2); }
.bs-results .poster { width: 36px; height: 54px; border-radius: 5px; flex-shrink: 0; }
.r-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.r-main b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-main small { color: var(--ink-3); }
.r-va { font-family: var(--mono); font-size: 13px; color: var(--neon-yellow); }
.r-st { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.bs-results .none { color: var(--ink-3); cursor: default; }
.home-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 14px auto 0; max-width: 680px; font-size: 13px; color: var(--ink-3); align-items: center; }
.home-chips button { background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; cursor: pointer; color: var(--ink-2); }
.home-chips button:hover { border-color: var(--neon-cyan); color: #fff; }
.calib-cta { display: flex; align-items: center; gap: 14px; max-width: 680px; margin: 26px auto 0; padding: 14px 18px; border-radius: 16px; text-decoration: none; color: var(--ink);
  background: linear-gradient(100deg, rgba(63, 224, 208, .14), rgba(143, 134, 238, .14)); border: 1px solid rgba(63, 224, 208, .35); }
.calib-cta b { display: block; } .calib-cta small { color: var(--ink-2); }
.cc-icon { font-size: 28px; color: var(--neon-cyan); }
.cc-go { margin-left: auto; font-weight: 700; color: var(--neon-cyan); white-space: nowrap; }
.shelf-row { margin-top: 38px; }
.shelf-row header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.shelf-row h3 { font-family: var(--sign); font-weight: 400; font-size: 17px; margin: 0; }

/* ---------- Film hero ---------- */
.film-hero { position: relative; margin: -20px calc(-1 * clamp(16px, 4vw, 36px)) 0; padding: clamp(24px, 5vw, 56px) clamp(16px, 4vw, 36px) 28px; overflow: hidden; }
.hero-bd { position: absolute; inset: 0; background-image: var(--bd); background-size: cover; background-position: center 25%; opacity: .32; filter: saturate(1.15);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%); }
.hero-bd::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 12, 34, .95) 10%, rgba(15, 12, 34, .5) 60%, rgba(15, 12, 34, .7)); }
.hero-in { position: relative; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: start; }
.hero-poster { position: relative; }
.hero-poster .poster { border-radius: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06); }
.trailer { display: block; text-align: center; margin-top: 10px; padding: 9px; border-radius: 10px; background: rgba(11, 9, 24, .7); color: #fff; text-decoration: none; font-weight: 700; border: 1px solid var(--line-2); }
.trailer:hover { border-color: var(--neon-pink); }
.film-title { font-size: clamp(30px, 5vw, 56px); font-weight: 800; letter-spacing: -1.2px; line-height: 1.02; }
.orig { color: var(--ink-3); margin: 6px 0 0; font-style: italic; }
.tagline { font-family: var(--hand); font-size: 26px; color: var(--neon-yellow); margin: 6px 0 0; line-height: 1.15; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--ink-2); font-size: 14px; margin: 12px 0; }
.meta span + span::before { content: "·"; margin-right: 12px; color: var(--ink-3); }
.genres { display: flex; flex-wrap: wrap; gap: 6px; }
.overview { color: var(--ink-2); max-width: 66ch; margin: 14px 0 10px; font-size: 16px; }
.byline { color: var(--ink-3); font-size: 14px; margin: 0 0 16px; } .byline b { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) {
  .hero-in { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; }
  .film-title { font-size: 26px; letter-spacing: -.5px; }
  .tagline { font-size: 21px; }
  .overview, .byline, .hero-txt .statusbar { grid-column: 1 / -1; }
  .hero-txt { display: contents; }
  .hero-txt > :not(.overview):not(.byline):not(.statusbar) { grid-column: 2; }
  .hero-poster { grid-row: 1 / span 5; }
  .meta { font-size: 13px; }
}

/* Status controls */
.statusbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 560px; }
.sb { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 8px; border-radius: 12px; cursor: pointer; font-weight: 700; font-size: 14px;
  background: rgba(11, 9, 24, .6); border: 1px solid var(--line-2); color: var(--ink); min-height: 46px; transition: .15s; }
.sb span { font-size: 16px; }
.sb:hover { border-color: var(--ink-2); }
.sb:active { transform: scale(.98); }
.sb-want[aria-pressed="true"] { background: var(--neon-cyan); color: #04211e; border-color: var(--neon-cyan); }
.sb-watched[aria-pressed="true"] { background: var(--good); color: #0c2c14; border-color: var(--good); }
.sb-nope[aria-pressed="true"] { background: #3a3460; color: #ffc2b2; border-color: var(--bad); }
@media (max-width: 420px) { .sb { font-size: 12.5px; flex-direction: column; gap: 0; } }

/* KPI strip */
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 6px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; min-width: 0; }
.kpi p { margin: 0; font-size: 12.5px; color: var(--ink-3); } .kpi p b { color: var(--ink); }
.kpi-big { font-family: var(--mono); font-weight: 700; font-size: 38px; letter-spacing: -2px; line-height: 1; color: #fff; }
.kpi-big small { font-size: 15px; color: var(--ink-3); letter-spacing: 0; }
.kpi-big.sm { font-size: 30px; }
.kpi-l { text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px !important; }
.kpi-fit { box-shadow: inset 0 0 0 1px rgba(255, 79, 163, .35); background: rgba(255, 79, 163, .07); }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpi:last-child { grid-column: 1 / -1; } }
.ring { position: relative; display: grid; place-items: center; }
.ring-v { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-v b { font-family: var(--mono); font-size: 26px; line-height: 1; letter-spacing: -1px; }
.ring-v small { font-size: 9.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-top: 2px; }
.ring-arc { filter: drop-shadow(0 0 4px currentColor); transition: stroke-dasharray .8s ease-out; }
.ring-sub { margin: 4px 0 0; font-size: 12px; color: var(--ink-3); }

.jump { position: sticky; top: 56px; z-index: 30; display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; margin: 20px 0 -10px;
  background: linear-gradient(var(--night) 70%, transparent); scrollbar-width: none; }
.jump::-webkit-scrollbar { display: none; }
.jump a { flex-shrink: 0; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--panel-solid); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; }
.jump a:hover { color: #fff; border-color: var(--neon-pink); }
@media (max-width: 760px) { .jump { top: 54px; } }

/* Verdict */
.verdict-card { background: linear-gradient(160deg, rgba(255, 79, 163, .12), rgba(36, 30, 74, .72) 60%); border-color: rgba(255, 79, 163, .3); }
.verdict-line { font-size: 19px; line-height: 1.45; margin: 0 0 14px; }
.verdict-line .vt { font-family: var(--sign); font-size: 20px; color: var(--neon-pink); display: block; margin-bottom: 4px; }
.reasons { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.reasons li { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; }
.reasons li span { font-size: 11px; width: 14px; flex-shrink: 0; }
.reasons .up span { color: var(--good); } .reasons .down span { color: var(--bad); } .reasons .flat span { color: var(--neon-cyan); }
.reasons.sm li { font-size: 13px; }

/* Bars */
.bar, .dbar { display: grid; grid-template-columns: 128px minmax(0, 1fr) 54px; align-items: center; gap: 10px; margin-bottom: 9px; font-size: 14px; }
.bar-l { color: var(--ink-2); line-height: 1.2; min-width: 0; }
.bar-l small { display: block; font-size: 11px; color: var(--ink-3); font-family: var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-t, .dbar-t { position: relative; height: 9px; border-radius: 6px; background: var(--track); overflow: hidden; }
.bar-f { display: block; height: 100%; border-radius: 6px; background: var(--neon-cyan); transform-origin: left; animation: grow .8s ease-out; }
@keyframes grow { from { transform: scaleX(0); } }
.bar.critic .bar-f { background: var(--critic); } .bar.aud .bar-f { background: var(--audience); }
.bar.dna .bar-f { background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink)); }
.bar.imp .bar-f { background: var(--neon-yellow); } .bar.dept .bar-f { background: #6f67c9; }
.bar.strong { font-weight: 700; } .bar.strong .bar-t { height: 12px; }
.bar-n { text-align: right; font-family: var(--mono); font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.bar-n i { font-style: normal; font-weight: 400; color: var(--ink-3); font-size: 11px; margin-left: 4px; }
.bars-sum { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.dbar-t::before { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: var(--line-2); }
.dbar-f { position: absolute; top: 0; bottom: 0; border-radius: 6px; }
.dbar.pos .dbar-f { background: var(--good); } .dbar.neg .dbar-f { background: var(--bad); }
.dbar.pos .bar-n { color: var(--good); } .dbar.neg .bar-n { color: var(--bad); }
@media (max-width: 420px) { .bar, .dbar { grid-template-columns: 100px minmax(0, 1fr) 48px; font-size: 13px; } }

/* Critics vs audiences map */
.cmap { width: 100%; max-width: 380px; display: block; margin: 0 auto; touch-action: none; }
.cmap text { fill: var(--ink-3); font-size: 10.5px; font-family: var(--sans); }
.cmap .ax { font-family: var(--mono); font-size: 10px; }
.cmap .frame { stroke: var(--line-2); rx: 6; }
.cmap .q { opacity: .5; } .q-loved { fill: rgba(111, 220, 140, .12); } .q-critics { fill: rgba(143, 134, 238, .14); } .q-crowd { fill: rgba(242, 165, 49, .12); }
.cmap .diag { stroke: var(--line-2); stroke-dasharray: 3 5; }
.cmap .dot { fill: var(--ink-3); opacity: .7; } .cmap .dot.pos { fill: var(--good); } .cmap .dot.neg { fill: var(--bad); }
.p-dot { fill: var(--neon-pink); stroke: #fff; stroke-width: 2; } .p-halo { fill: rgba(255, 79, 163, .2); animation: pulse 2s infinite; transform-box: fill-box; transform-origin: center; }
.t-dot { fill: var(--neon-cyan); stroke: #fff; stroke-width: 2; cursor: grab; } .t-halo { fill: rgba(63, 224, 208, .2); stroke: rgba(63, 224, 208, .6); stroke-dasharray: 3 3; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.35); opacity: .35; } }
.legend-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: 12px; color: var(--ink-3); margin: 10px 0 0; align-items: center; }
.legend-dots span { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: -8px; }
.d-me { background: var(--neon-pink); } .d-pos { background: var(--good); } .d-neg { background: var(--bad); }
.d-film { background: var(--neon-pink); } .d-you { background: var(--neon-cyan); }

/* Difficulty */
.slope { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 9px; border-radius: 999px; background: rgba(11, 9, 24, .55); border: 1px solid var(--line-2); font-size: 13.5px; white-space: nowrap; }
.slope b { font-weight: 700; }
.slope i { width: 13px; height: 13px; display: inline-block; flex-shrink: 0; }
.slope.green i { background: var(--green); border-radius: 50%; box-shadow: 0 0 8px rgba(79, 191, 58, .6); }
.slope.blue i { background: var(--blue); border-radius: 2px; box-shadow: 0 0 8px rgba(61, 141, 224, .6); }
.slope.black i, .slope.double i { background: #fff; transform: rotate(45deg) scale(.8); border-radius: 1px; box-shadow: 0 0 6px rgba(255, 255, 255, .5); }
.slope.double i + i { margin-left: -6px; }
.slope.sm { font-size: 12px; padding: 3px 9px 3px 7px; } .slope.sm i { width: 10px; height: 10px; }
.slope.lg { font-size: 17px; padding: 8px 16px 8px 12px; } .slope.lg i { width: 17px; height: 17px; }
.slope.icon-only { padding: 4px 6px; gap: 4px; } .slope.icon-only i { width: 10px; height: 10px; }
.trail-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.trail-n { font-family: var(--mono); font-size: 46px; letter-spacing: -2px; }
.trail-head small { color: var(--ink-3); }
.stack { display: flex; height: 16px; border-radius: 8px; background: var(--track); overflow: hidden; margin: 16px 0 6px; }
.stk-0 { background: var(--neon-pink); } .stk-1 { background: var(--neon-cyan); } .stk-2 { background: var(--neon-yellow); } .stk-3 { background: var(--critic); } .stk-4 { background: var(--audience); }
.stack .stk { height: 100%; animation: grow .8s ease-out; transform-origin: left; }
.slopes-scale { display: flex; gap: 2px; }
.slopes-scale span { display: flex; justify-content: center; padding: 4px 0; border-radius: 6px; opacity: .45; }
.slopes-scale span.on { opacity: 1; background: rgba(255, 255, 255, .06); }
.slopes-scale .slope { background: none; border: 0; }
.factors { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.factors li { display: flex; gap: 12px; }
.factors .fdot { width: 12px; height: 12px; border-radius: 3px; margin-top: 5px; flex-shrink: 0; }
.factors em { font-style: normal; font-family: var(--mono); color: var(--ink-3); font-size: 12.5px; }
.factors p { margin: 2px 0 0; font-size: 13.5px; color: var(--ink-2); }

/* Radar */
.radar-card { display: flex; flex-direction: column; justify-content: center; }
.radar { width: 100%; max-width: 360px; margin: 0 auto; display: block; overflow: visible; }
.radar text { fill: var(--ink-3); font-size: 10.5px; font-family: var(--mono); }
.r-ring { fill: none; stroke: var(--line); } .r-spoke { stroke: var(--line); }
.r-poly { stroke-width: 2; } .r-poly.film { fill: rgba(255, 79, 163, .22); stroke: var(--neon-pink); }
.r-poly.you { fill: rgba(63, 224, 208, .1); stroke: var(--neon-cyan); stroke-dasharray: 4 4; }
.r-pt.film { fill: var(--neon-pink); } .r-pt.you { fill: var(--neon-cyan); }

/* Zones */
.zones { display: grid; gap: 10px; align-content: start; }
.zones h3 { margin-bottom: 2px; }
.zone svg { width: 100%; height: 56px; display: block; }
.zone-h { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); font-family: var(--mono); gap: 8px; }
.zone-h b { color: var(--neon-cyan); font-weight: 700; white-space: nowrap; }
.zone-ax { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--ink-3); }
.z-area { fill: rgba(63, 224, 208, .16); stroke: var(--neon-cyan); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.z-base { stroke: var(--line-2); vector-effect: non-scaling-stroke; }
.z-mark { stroke: var(--neon-pink); stroke-width: 2; vector-effect: non-scaling-stroke; } .z-dot { fill: var(--neon-pink); }

/* Receipt */
.receipt { background: #fbf8ef; color: #2a2440; font-family: var(--mono); font-size: 13.5px; border: 0; border-radius: 4px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4); position: relative; padding-bottom: 26px;
  -webkit-mask: radial-gradient(circle at 8px 100%, transparent 7px, #000 7.5px) bottom / 16px 9px repeat-x, linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat;
  mask: radial-gradient(circle at 8px 100%, transparent 7px, #000 7.5px) bottom / 16px 9px repeat-x, linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat; }
.rc-head { text-align: center; font-weight: 700; margin: 0 0 12px; letter-spacing: 1px; border-bottom: 1px dashed #b9b2a0; padding-bottom: 10px; }
.receipt dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0; }
.receipt dt { color: #6b6488; } .receipt dd { margin: 0; text-align: right; font-weight: 700; }
.receipt dd small { font-weight: 400; color: #6b6488; display: block; }
.receipt dd.neg { color: #c0392b; } .receipt dd.pos { color: #1e8449; }
.be { height: 10px; background: #e5dfcf; border-radius: 5px; margin: 14px 0 6px; overflow: hidden; }
.be span { display: block; height: 100%; background: repeating-linear-gradient(45deg, #2a2440 0 6px, #4a4270 6px 12px); }
.rc-verdict { text-align: center; font-family: var(--sign); font-size: 18px; margin: 10px 0 0; }
.rc-foot { text-align: center; font-size: 11px; color: #6b6488; margin: 12px 0 0; border-top: 1px dashed #b9b2a0; padding-top: 10px; }

/* Credits */
.crew { display: grid; grid-template-columns: 120px 1fr; gap: 2px 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.crew:last-child { border: 0; }
.crew span { color: var(--ink-3); } .crew .hist { grid-column: 2; }
.hist { font-size: 11.5px; font-weight: 700; color: var(--good); } .hist.neg { color: var(--bad); }
.cast { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.castm { text-align: center; font-size: 13px; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.castm img, .ph-face { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 6px; background: var(--panel-2); }
.ph-face { display: grid; place-items: center; font-weight: 800; font-size: 22px; color: var(--ink-3); }
.castm b { line-height: 1.2; } .castm small { color: var(--ink-3); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Awards */
.trophy-sum { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; }
.medal { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; flex-shrink: 0; background: #4a4270; color: #fff; }
.t-gold .medal { background: radial-gradient(circle at 35% 30%, #fff3b0, #e0a91b 60%, #9a6c00); color: #5a3d00; box-shadow: 0 0 22px rgba(255, 210, 63, .45); }
.t-silver .medal { background: radial-gradient(circle at 35% 30%, #fff, #b8bcc8 60%, #6b7080); color: #333; }
.t-bronze .medal { background: radial-gradient(circle at 35% 30%, #ffd9b0, #c07a3c 60%, #7a4416); color: #3b1d05; }
.trophy-sum p { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; }
.tcount { text-align: center; margin-left: auto; } .tcount + .tcount { margin-left: 0; }
.tcount b { display: block; font-family: var(--mono); font-size: 26px; } .tcount small { color: var(--ink-3); }
.aw-groups { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.awg summary { cursor: pointer; display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; }
.awg summary span { color: var(--ink-3); font-size: 13px; font-family: var(--mono); }
.awg ul { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 4px; }
.awg li { font-size: 13.5px; display: flex; gap: 10px; color: var(--ink-2); }
.awg li span { width: 82px; flex-shrink: 0; color: var(--ink-3); font-size: 12px; }
.awg li.won span { color: var(--neon-yellow); font-weight: 700; }
.awg small { color: var(--ink-3); }
.wd-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.wd-row:first-child { margin-top: 14px; } .wd-row span { color: var(--ink-3); } .wd-row p { margin: 0; color: var(--ink-2); }
@media (max-width: 520px) { .wd-row, .crew { grid-template-columns: 1fr; } .cast { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Providers, timeline, reviews */
.pg { margin-bottom: 12px; } .pg h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 6px; font-weight: 600; }
.provs { display: flex; flex-wrap: wrap; gap: 8px; }
.prov { display: flex; align-items: center; gap: 8px; padding: 5px 11px 5px 5px; border-radius: 10px; background: rgba(11, 9, 24, .5); border: 1px solid var(--line); font-size: 13.5px; }
.prov img, .pl { width: 28px; height: 28px; border-radius: 7px; }
.pl { display: grid; place-items: center; background: var(--panel-2); font-weight: 800; }
.prov.mine { border-color: var(--neon-cyan); box-shadow: 0 0 0 1px var(--neon-cyan), 0 0 14px rgba(63, 224, 208, .25); }
.tl { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--line-2); display: grid; gap: 12px; }
.tl li { position: relative; display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.tl li::before { content: ""; position: absolute; left: -22px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--neon-pink); box-shadow: 0 0 8px var(--neon-pink); }
.tl span { color: var(--ink-3); } .tl b { font-family: var(--mono); font-weight: 400; }
.review { margin: 0; } .review p { margin: 0 0 10px; color: var(--ink-2); font-size: 14.5px; }
.review footer { font-size: 12.5px; color: var(--ink-3); }

/* ---------- Verdict sheet ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 95; background: rgba(5, 4, 14, .6); backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .2s; }
.sheet-wrap.on { opacity: 1; }
.sheet { width: min(520px, 100%); background: var(--panel-solid); border: 1px solid var(--line-2); border-radius: 22px 22px 0 0; padding: 22px 20px calc(18px + var(--safe-b));
  transform: translateY(30px); transition: transform .25s; box-shadow: 0 -20px 60px rgba(0, 0, 0, .5); }
.sheet-wrap.on .sheet { transform: none; }
@media (min-width: 761px) { .sheet-wrap { align-items: center; } .sheet { border-radius: 22px; } }
.sheet-k { font-family: var(--vcr); color: var(--neon-cyan); font-size: 17px; letter-spacing: 2px; margin: 0; text-transform: uppercase; }
.sheet h3 { font-size: 22px; margin: 2px 0 4px; }
.sheet-q { color: var(--ink-2); margin: 0 0 16px; font-size: 14px; }
.verdicts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.vd { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px; border-radius: 14px; cursor: pointer; background: rgba(11, 9, 24, .55); border: 1px solid var(--line-2); font-weight: 700; }
.vd b { font-size: 22px; }
.vd:hover { border-color: #fff; }
.vd-rewatch b { color: var(--neon-yellow); } .vd-liked b { color: var(--good); } .vd-meh b { color: var(--ink-2); } .vd-disliked b { color: var(--bad); }
.vd[aria-pressed="true"] { background: rgba(255, 79, 163, .18); border-color: var(--neon-pink); }
.sheet-foot { display: flex; justify-content: center; gap: 16px; margin-top: 14px; flex-wrap: wrap; }

/* ---------- Shelf ---------- */
.verdict-strip { display: flex; height: 26px; border-radius: 8px; overflow: hidden; margin: 14px 0 0; font-size: 12px; font-weight: 700; }
.verdict-strip span { display: grid; place-items: center; white-space: nowrap; overflow: hidden; }
.verdict-strip .vd-rewatch { background: var(--neon-yellow); color: #3a2c00; } .verdict-strip .vd-liked { background: var(--good); color: #0c2c14; }
.verdict-strip .vd-meh { background: #6f67c9; color: #fff; } .verdict-strip .vd-disliked { background: var(--bad); color: #3a0d00; }
.tabs { display: flex; gap: 6px; margin: 22px 0 16px; align-items: center; flex-wrap: wrap; }
.tabs [role="tab"] { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-weight: 700; }
.tabs [role="tab"] span { font-family: var(--mono); color: var(--ink-3); margin-left: 4px; font-weight: 400; }
.tabs [aria-selected="true"] { background: var(--ink); color: var(--night); border-color: var(--ink); } .tabs [aria-selected="true"] span { color: #5c577f; }
.sort { margin-left: auto; font-size: 13px; color: var(--ink-3); display: flex; gap: 6px; align-items: center; }
select { background: var(--panel-solid); border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 10px; color: var(--ink); }
.shelf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 18px 14px; }
@media (max-width: 420px) { .shelf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; } .row-scroll { grid-auto-columns: 112px; } }
.sh-meta { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); flex-wrap: wrap; }
.vd-pill { margin-left: auto; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; border: 1px dashed var(--line-2); background: transparent; cursor: pointer; font-family: var(--sans); }
.vd-pill.vd-rewatch { background: var(--neon-yellow); color: #3a2c00; border: 0; } .vd-pill.vd-liked { background: var(--good); color: #0c2c14; border: 0; }
.vd-pill.vd-meh { background: #6f67c9; color: #fff; border: 0; } .vd-pill.vd-disliked { background: var(--bad); color: #3a0d00; border: 0; }

/* ---------- Clerk ---------- */
.moods { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 18px 0; }
.mood { text-align: left; padding: 14px; border-radius: 14px; cursor: pointer; background: var(--panel); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 2px; }
.mood b { font-size: 15px; } .mood small { color: var(--ink-3); }
.mood[aria-pressed="true"] { background: rgba(255, 79, 163, .16); border-color: var(--neon-pink); box-shadow: 0 0 22px rgba(255, 79, 163, .2); }
.tune summary { cursor: pointer; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; list-style: none; }
.tune summary::-webkit-details-marker { display: none; }
.tune summary b::before { content: "▸ "; color: var(--neon-pink); } .tune[open] summary b::before { content: "▾ "; }
.tune summary span { color: var(--ink-3); font-size: 13px; font-family: var(--mono); }
.tune-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 24px; margin-top: 18px; }
@media (max-width: 760px) { .tune-grid { grid-template-columns: minmax(0, 1fr); } }
.tune h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin: 14px 0 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tune h4:first-child { margin-top: 0; }
.map-wrap.off { opacity: .45; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pc { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.pc .slope { background: none; border: 0; padding: 0; }
.pc[aria-pressed="true"] { background: var(--neon-cyan); color: #04211e; border-color: var(--neon-cyan); font-weight: 700; }
.pc[aria-pressed="true"] .slope.black i, .pc[aria-pressed="true"] .slope.double i { background: #04211e; }
.sel-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.sel-row label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--ink-3); min-width: 0; }
@media (max-width: 520px) { .sel-row { grid-template-columns: 1fr 1fr; } }
.slider { display: block; margin-top: 16px; font-size: 13px; color: var(--ink-3); }
.slider > span:first-child { display: flex; justify-content: space-between; } .slider b { color: var(--ink); font-family: var(--mono); }
.slider .ends { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
input[type="range"] { width: 100%; accent-color: var(--neon-pink); margin: 8px 0 2px; height: 28px; }
.tog { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; margin-top: 14px; text-transform: none; letter-spacing: 0; }
.tog input { accent-color: var(--neon-cyan); width: 18px; height: 18px; }
.tune h4 .tog { margin: 0; font-size: 12px; }
.btn-ask { width: 100%; margin: 18px 0; padding: 17px; font-family: var(--sign); font-weight: 400; font-size: 20px; border-radius: 16px; letter-spacing: .5px; }
.pipe { display: grid; gap: 12px; }
.pipe-s { display: flex; gap: 14px; opacity: .4; transition: opacity .3s; }
.pipe-s.on { opacity: 1; }
.pipe-s > span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; flex-shrink: 0; background: var(--panel-2); border: 1px solid var(--line-2); }
.pipe-s.on > span { background: var(--neon-pink); border-color: var(--neon-pink); color: #fff; box-shadow: 0 0 12px rgba(255, 79, 163, .5); }
.pipe-s small { display: block; color: var(--ink-3); font-family: var(--mono); font-size: 12px; }
.probes { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 5px; }
.probes li { display: flex; gap: 10px; align-items: baseline; font-size: 13px; color: var(--ink-2); background: rgba(11, 9, 24, .45); padding: 6px 10px; border-radius: 8px; }
.probes em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--neon-cyan); min-width: 92px; }
.probes li.explore em { color: var(--neon-yellow); }
.probes b, .probes i { margin-left: auto; font-family: var(--mono); color: #fff; }
.picks-h { font-family: var(--sign); font-weight: 400; font-size: 24px; margin: 28px 0 14px; }
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 14px; }
.pick { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.pick-poster { position: relative; }
.pick-n { position: absolute; top: -8px; left: -8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--sign); background: var(--neon-yellow); color: #3a2c00; box-shadow: 0 0 12px rgba(255, 210, 63, .5); }
.pick-t { color: var(--ink); text-decoration: none; font-size: 18px; line-height: 1.2; } .pick-t small { color: var(--ink-3); font-weight: 400; }
.pick .meta { margin: 4px 0 8px; font-size: 13px; }
.pick-kpis { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.pick-kpis .ring-v b { font-size: 17px; } .pick-kpis .ring-v small { font-size: 8px; }
.via { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 8px; }
.via span { font-size: 11.5px; padding: 3px 8px; border-radius: 6px; background: rgba(63, 224, 208, .1); color: #bff6ef; }
.via span.explore { background: rgba(255, 210, 63, .12); color: #ffe08a; }
.pick .statusbar { margin-top: 10px; } .pick .sb { font-size: 12.5px; padding: 8px 4px; min-height: 40px; }
@media (max-width: 520px) { .pick { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; } .pick .statusbar { grid-column: 1 / -1; } .pick-body { display: contents; } .pick-body > * { grid-column: 2; } .pick-body > .statusbar, .pick-body > .reasons { grid-column: 1 / -1; } .pick-poster { grid-row: 1 / span 4; } }

/* ---------- Profile ---------- */
.me-head { display: flex; align-items: center; gap: 18px; margin: 8px 0 22px; }
.me-head h1 { font-family: var(--sign); font-weight: 400; font-size: clamp(26px, 4.5vw, 40px); }
.avatar { width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center; font-family: var(--sign); font-size: 28px; flex-shrink: 0;
  background: linear-gradient(140deg, var(--neon-pink), var(--critic)); box-shadow: 0 0 30px rgba(255, 79, 163, .35); }
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 13px; color: var(--ink-3); }
.fld small { color: var(--ink-3); }
.fld input { padding: 11px 12px; border-radius: 10px; background: rgba(11, 9, 24, .55); border: 1px solid var(--line-2); color: var(--ink); outline: none; }
.fld input:focus { border-color: var(--neon-cyan); }
.sync { display: flex; gap: 12px; padding: 12px; border-radius: 12px; background: rgba(11, 9, 24, .45); border: 1px dashed var(--line-2); }
.sync p { margin: 2px 0 0; font-size: 13px; color: var(--ink-3); }
.sync-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--neon-yellow); margin-top: 6px; flex-shrink: 0; box-shadow: 0 0 8px var(--neon-yellow); }
.sync-dot.on { background: var(--good); box-shadow: 0 0 8px var(--good); }
.svc { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; max-height: 320px; overflow-y: auto; }
.svc-b { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 10px; border: 1px solid var(--line); background: rgba(11, 9, 24, .45); cursor: pointer; text-align: left; font-size: 12.5px; }
.svc-b img, .svc-b .pl { width: 28px; height: 28px; border-radius: 7px; flex-shrink: 0; }
.svc-b[aria-pressed="true"] { border-color: var(--neon-cyan); background: rgba(63, 224, 208, .14); }
.data-card { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; } .data-card .fine { flex-basis: 100%; }

/* Calibration */
.prog { height: 6px; border-radius: 3px; background: var(--track); margin-top: 14px; overflow: hidden; }
.prog span { display: block; height: 100%; background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink)); transition: width .3s; }
.calib-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 22px; align-items: start; }
.calib-card h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; letter-spacing: -.5px; } .calib-card h2 small { color: var(--ink-3); font-weight: 400; }
.calib-card .overview { font-size: 15px; }
@media (max-width: 560px) { .calib-card { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; } .calib-card .overview { display: none; } }
.calib-opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; }
@media (max-width: 640px) { .calib-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.co { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px; border-radius: 14px; cursor: pointer; background: var(--panel); border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; min-height: 70px; }
.co b { font-size: 20px; }
.co:hover { border-color: #fff; } .co:active { transform: scale(.98); }
.co-rewatch b { color: var(--neon-yellow); } .co-liked b { color: var(--good); } .co-disliked b { color: var(--bad); } .co-want b { color: var(--neon-cyan); } .co-nope b { color: #ffc2b2; }
.co-skip { grid-column: span 2; background: transparent; border-style: dashed; }
@media (max-width: 640px) { .co-skip { grid-column: 1 / -1; } }

/* ---------- Lab ---------- */
.flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; text-align: center; position: relative; }
.fl { display: flex; flex-direction: column; align-items: center; min-width: 110px; padding: 10px; border-radius: 12px; background: rgba(11, 9, 24, .5); border: 1px solid var(--line-2); }
.fl-i { font-size: 22px; color: var(--neon-pink); text-shadow: 0 0 10px rgba(255, 79, 163, .6); }
.fl small { color: var(--ink-3); font-size: 11.5px; font-family: var(--mono); }
.fl-a { color: var(--neon-cyan); font-size: 20px; }
.fl-loop { flex-basis: 100%; font-family: var(--mono); font-size: 12.5px; color: var(--neon-yellow); margin-top: 6px; }
@media (max-width: 760px) { .fl-a { transform: rotate(90deg); flex-basis: 100%; } .fl { width: 100%; } }
.live { margin-top: 14px; }
.eq { font-family: var(--mono); font-size: 14.5px; background: rgba(5, 4, 14, .6); border: 1px solid rgba(63, 224, 208, .25); border-left: 3px solid var(--neon-cyan);
  padding: 12px 14px; border-radius: 8px; margin: 12px 0; color: #dffaf6; overflow-x: auto; line-height: 1.7; }
.eq.sm { font-size: 13px; }
.eq sub, .eq sup { font-size: 70%; }
.lab .card p { color: var(--ink-2); font-size: 14.5px; }
.play-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; text-align: center; }
.play-out b { display: block; font-family: var(--mono); font-size: 30px; color: var(--neon-cyan); }
.play-out div:nth-child(3) b { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 2px; }
.play-out small { color: var(--ink-3); font-size: 12px; }
.dc-out { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.dc-out b { font-family: var(--mono); font-size: 44px; letter-spacing: -2px; }
.kbar { height: 12px; border-radius: 6px; background: var(--track); overflow: hidden; margin-top: 8px; }
.kbar span { display: block; height: 100%; background: var(--good); transition: width .2s; }
.wt { width: 100%; border-collapse: collapse; font-size: 13px; font-family: var(--mono); }
.wt th { text-align: left; color: var(--ink-3); font-weight: 400; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 0 6px 8px 0; }
.wt td { padding: 6px 6px 6px 0; border-top: 1px solid var(--line); white-space: nowrap; }
.wt td:first-child { font-family: var(--sans); color: var(--ink-2); white-space: normal; }
.wt td.up { color: var(--good); } .wt td.down { color: var(--bad); }
.imp-bar { display: inline-block; height: 8px; background: var(--neon-yellow); border-radius: 4px; margin-right: 6px; vertical-align: 0; max-width: 60px; }
.funnel { display: grid; gap: 6px; justify-items: center; margin-bottom: 16px; }
.fn { width: var(--w); display: flex; justify-content: center; gap: 10px; align-items: baseline; padding: 10px; border-radius: 10px; font-size: 13.5px;
  background: linear-gradient(90deg, rgba(255, 79, 163, .16), rgba(63, 224, 208, .16)); border: 1px solid var(--line-2); text-align: center; }
.fn b { font-family: var(--mono); font-size: 19px; color: #fff; }
.fn span { color: var(--ink-2); }
.plain { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--ink-2); font-size: 14.5px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.made { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 12.5px; }
.leaf { width: 14px; height: 14px; color: #ff4b4b; filter: drop-shadow(0 0 4px rgba(255, 75, 75, .5)); }
.rc-head small { font-weight: 400; font-size: 11px; color: #6b6488; letter-spacing: 0; }
.rc-tax { display: flex; justify-content: space-between; margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed #b9b2a0; color: #6b6488; font-size: 12px; }
