/* =====================================================================
   dn.css — DarkNaija design system (public site)
   Premium dark, hot-pink → orchid accents. System fonts only (no web-font
   download), motion on opacity/transform only, no layout shift: every image
   box has its aspect ratio before the picture arrives.
   ===================================================================== */
:root {
  --bg: #09060e;
  --bg-2: #0f0a16;
  --s1: #140e1d;
  --s2: #1b1426;
  --s3: #251b33;
  --s4: #30243f;
  --line: rgba(255, 255, 255, .075);
  --line-2: rgba(255, 255, 255, .14);
  --tx: #f8f1f9;
  --tx-2: #d3c3d8;
  --mut: #9a88a2;
  --mut-2: #6f5f78;
  --pk: #ff2e88;
  --pk-2: #ff5ca6;
  --pk-3: #ffa3cf;
  --or: #b84dff;
  --grad: linear-gradient(118deg, #ff2e88 0%, #f23aa2 42%, #b84dff 100%);
  --grad-text: linear-gradient(100deg, #ff6fb1 0%, #ff2e88 45%, #c66bff 100%);
  --glow: 0 10px 30px -8px rgba(255, 46, 136, .6);
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, .8);
  --r: 16px;
  --r-sm: 11px;
  --r-lg: 24px;
  --ease: cubic-bezier(.2, .75, .25, 1);
  --side: 252px;
  --top: 64px;
  --gut: clamp(14px, 3.2vw, 32px);
  --ff: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 12px); }
body {
  margin: 0; min-height: 100vh;
  font: 400 15px/1.55 var(--ff);
  color: var(--tx); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 100% -8%, rgba(184, 77, 255, .16), transparent 62%),
    radial-gradient(760px 480px at -6% -4%, rgba(255, 46, 136, .15), transparent 60%),
    radial-gradient(1000px 600px at 50% 120%, rgba(255, 46, 136, .06), transparent 60%);
}
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--pk-2); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(255, 46, 136, .4); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--pk); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; }
.nt-muted { color: var(--mut); }
[hidden] { display: none !important; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.logo-mark { width: 34px; height: 34px; filter: drop-shadow(0 4px 14px rgba(255, 46, 136, .45)); }
.logo-word { font-size: 21px; font-weight: 800; letter-spacing: -.035em; line-height: 1; color: #fff; }
.logo-word b { font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo--lg .logo-mark { width: 40px; height: 40px; }
.logo--lg .logo-word { font-size: 24px; }
.logo--xl .logo-mark { width: 52px; height: 52px; }
.logo--xl .logo-word { font-size: 30px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 20px; border: 0; border-radius: 999px;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 14.5px; letter-spacing: .01em;
  box-shadow: var(--glow); transition: transform .18s var(--ease), box-shadow .18s, filter .18s;
}
.btn:hover { filter: brightness(1.08); box-shadow: 0 14px 36px -8px rgba(255, 46, 136, .75); }
.btn:active { transform: scale(.97); }
.btn .ic { width: 18px; height: 18px; }
.btn--lg { min-height: 50px; padding: 0 26px; font-size: 15.5px; }
.btn--block { width: 100%; }
.btn--ghost { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 92, 166, .5); }
.btn--glass { background: rgba(14, 9, 20, .45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(14, 9, 20, .6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.btn--glass[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--pk-2); color: var(--pk-3); }
.ibtn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; flex: 0 0 auto; border: 0; border-radius: 13px;
  background: transparent; color: var(--tx-2); transition: background-color .15s, color .15s;
}
.ibtn:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.ibtn .ic { width: 22px; height: 22px; }
.ibtn--sm { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.ibtn--sm .ic { width: 18px; height: 18px; }
.ibtn--sm:disabled { opacity: .35; cursor: default; }
.saved-count {
  position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--pk); color: #fff; font-size: 10.5px; font-weight: 800; line-height: 17px; text-align: center;
  box-shadow: 0 0 0 2px var(--bg);
}

/* ---------- Sidebar (desktop rail / mobile drawer) ---------- */
.side {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 60;
  width: var(--side); padding: 14px 14px 22px; overflow-y: auto; overscroll-behavior: contain;
  background: linear-gradient(180deg, rgba(20, 13, 29, .96), rgba(12, 8, 18, .98));
  border-right: 1px solid var(--line);
  scrollbar-width: thin; scrollbar-color: var(--s4) transparent;
}
.side-head { display: flex; align-items: center; justify-content: space-between; height: 44px; margin: 0 2px 18px 6px; }
.side-close { display: none; }
.side-nav { display: grid; gap: 2px; }
.side-nav a, .side-cats a {
  position: relative; display: flex; align-items: center; gap: 13px;
  min-height: 44px; padding: 0 12px; border-radius: 12px;
  color: var(--tx-2); font-weight: 600; font-size: 14.5px; transition: background-color .15s, color .15s;
}
.side-nav a:hover, .side-cats a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.side-nav a.is-on { background: var(--grad-soft, linear-gradient(118deg, rgba(255, 46, 136, .2), rgba(184, 77, 255, .14))); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 92, 166, .25); }
.side-nav a.is-on::before { content: ""; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--grad); }
.side-nav a.is-on .ic { color: var(--pk-2); }
.side-nav .saved-count { position: static; margin-left: auto; box-shadow: none; }
.side-label { margin: 22px 12px 8px; color: var(--mut-2); font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.side-cats { display: grid; gap: 1px; }
.side-cats a { min-height: 38px; font-size: 14px; font-weight: 500; }
.side-cats a.is-on { color: #fff; background: rgba(255, 46, 136, .12); }
.side-cats .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--s4); flex: 0 0 auto; transition: background-color .15s; }
.side-cats a:hover .dot, .side-cats a.is-on .dot { background: var(--pk); box-shadow: 0 0 10px var(--pk); }
.side-all { color: var(--pk-3) !important; font-weight: 700 !important; }
.side-all .ic { width: 16px; height: 16px; margin-left: auto; }
.side-foot { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 26px 12px 0; padding-top: 18px; border-top: 1px solid var(--line); }
.side-foot a { color: var(--mut); font-size: 13px; }
.side-foot a:hover { color: var(--tx); }
.scrim { position: fixed; inset: 0; z-index: 55; background: rgba(4, 2, 7, .62); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }

/* ---------- App column + top bar ---------- */
.app { min-height: 100vh; display: flex; flex-direction: column; }
.top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 12px;
  height: var(--top); padding: 0 var(--gut);
  background: rgba(9, 6, 14, .72); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
}
.top-menu, .top-logo { display: none; }
.top-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.top-search { display: none; }

/* Search */
.search { position: relative; flex: 1 1 auto; max-width: 640px; display: flex; align-items: center; gap: 8px; }
.search-back { display: none; }
.search-box {
  position: relative; flex: 1; display: flex; align-items: center;
  height: 44px; padding: 0 12px 0 44px; border-radius: 999px;
  background: rgba(255, 255, 255, .055); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .18s, background-color .18s;
}
.search-box:focus-within { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 92, 166, .7), 0 0 0 4px rgba(255, 46, 136, .14); }
.search-ic { position: absolute; left: 15px; color: var(--mut); width: 19px; height: 19px; }
.search-box input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none; font-size: 15px; color: var(--tx); }
.search-box input::placeholder { color: var(--mut); }
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-kbd { padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--mut); font: 600 12px/1.4 var(--ff); }
.search-box:focus-within .search-kbd { display: none; }
.search-go { min-height: 44px; padding: 0 18px; box-shadow: none; }
.search-go .ic { display: none; }
.suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 5;
  max-height: min(70vh, 520px); overflow-y: auto; padding: 8px; border-radius: 18px;
  background: rgba(22, 15, 32, .98); box-shadow: var(--shadow), inset 0 0 0 1px var(--line-2);
}
.sg-label { padding: 8px 10px 4px; color: var(--mut-2); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.sg-item { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 12px; color: var(--tx-2); }
.sg-item:hover, .sg-item.is-active { background: rgba(255, 46, 136, .12); color: #fff; }
.sg-item img { width: 72px; height: 41px; border-radius: 8px; object-fit: cover; background: var(--s3); flex: 0 0 auto; }
.sg-item .ic { color: var(--pk-2); }
.sg-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 14px; }
.sg-name mark { background: none; color: var(--pk-3); }
.sg-meta { color: var(--mut); font-size: 12px; white-space: nowrap; }
.sg-all { justify-content: center; color: var(--pk-3); font-weight: 700; font-size: 14px; }
.sg-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 8px 10px; }

/* ---------- Page ---------- */
.page { flex: 1; width: 100%; max-width: 1760px; margin: 0 auto; padding: 22px var(--gut) 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 8px; color: var(--pk-3); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow .ic { width: 16px; height: 16px; color: var(--pk-2); }
.ptitle { font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.35rem); font-weight: 850; line-height: 1.12; letter-spacing: -.03em; overflow-wrap: anywhere; }
.ptitle--home { font-size: clamp(1.4rem, 1rem + 1.5vw, 2.15rem); max-width: 28ch; }
.psub { margin-top: 6px; color: var(--mut); font-weight: 600; font-size: 14px; }
.phead, .intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 20px; }
.lead { max-width: 80ch; margin: -4px 0 22px; color: var(--tx-2); font-size: 15px; }
.about { max-width: 90ch; margin: 44px 0 0; padding: 22px 24px; border-radius: var(--r); background: rgba(255, 255, 255, .025); border: 1px solid var(--line); color: var(--mut); font-size: 14px; }
.about h2 { margin-bottom: 6px; color: var(--tx-2); font-size: 16px; font-weight: 750; }

/* Segmented sort control */
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.seg a { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px; border-radius: 999px; color: var(--tx-2); font-weight: 650; font-size: 14px; transition: background-color .15s, color .15s; }
.seg a .ic { width: 17px; height: 17px; }
.seg a:hover { color: #fff; }
.seg a.is-on { background: var(--grad); color: #fff; box-shadow: var(--glow); }

/* Chips */
.chips {
  display: flex; gap: 8px; margin: 0 calc(var(--gut) * -1) 22px; padding: 2px var(--gut) 6px;
  overflow-x: auto; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, transparent, #000 var(--gut), #000 calc(100% - var(--gut)), transparent);
  mask: linear-gradient(90deg, transparent, #000 var(--gut), #000 calc(100% - var(--gut)), transparent);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
  height: 36px; padding: 0 15px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--tx-2); font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: background-color .15s, color .15s, box-shadow .15s;
}
.chip:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 92, 166, .45); }
.chip.is-on { background: #fff; color: #12091a; box-shadow: none; }
.chip--more { color: var(--pk-3); }
.chip .ic { width: 15px; height: 15px; }

/* Section heads */
.sec { margin-top: 38px; }
.sec-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sec-head { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; margin-bottom: 16px; }
.sec-row .sec-head { margin-bottom: 0; }
.sec-row { margin-bottom: 16px; }
.sec-title { display: flex; align-items: center; gap: 11px; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 800; letter-spacing: -.02em; }
.sec-ic { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 11px; background: var(--grad); box-shadow: var(--glow); color: #fff; }
.sec-ic .ic { width: 18px; height: 18px; }
.sec-more { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; color: var(--pk-3); font-size: 14px; font-weight: 700; white-space: nowrap; }
.sec-more .ic { width: 16px; height: 16px; transition: transform .15s var(--ease); }
.sec-more:hover .ic { transform: translateX(3px); }
.rail-nav { display: none; gap: 6px; }

/* ---------- Video cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
.vc { position: relative; min-width: 0; }
.vc-media {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--r); background: linear-gradient(135deg, var(--s2), var(--s3));
  isolation: isolate; transform: translateZ(0);
}
.vc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease), filter .3s; }
.vc-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 2, 9, .78)); pointer-events: none; }
.vc-dur, .vc-new {
  position: absolute; bottom: 8px; padding: 2px 7px; border-radius: 7px;
  font-size: 12px; font-weight: 750; line-height: 18px; letter-spacing: .01em; font-variant-numeric: tabular-nums;
}
.vc-dur { right: 8px; background: rgba(6, 3, 10, .78); color: #fff; }
.vc-new { left: 8px; background: var(--grad); color: #fff; text-transform: uppercase; font-size: 10.5px; letter-spacing: .08em; }
.vc-play {
  position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  background: rgba(255, 46, 136, .9); box-shadow: 0 0 0 7px rgba(255, 46, 136, .22), var(--glow);
  opacity: 0; transform: scale(.7); transition: opacity .25s, transform .3s var(--ease);
}
.vc-play .ic { width: 24px; height: 24px; margin-left: 3px; color: #fff; }
.vc > .vc-save {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 0; border-radius: 11px;
  background: rgba(8, 4, 12, .62); color: #fff; opacity: 0;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: opacity .2s, transform .2s var(--ease), background-color .15s;
}
.vc > .vc-save .ic { width: 17px; height: 17px; }
.vc > .vc-save:hover { background: rgba(255, 46, 136, .85); }
.vc > .vc-save[aria-pressed="true"] { opacity: 1; background: var(--pk); }
.vc-body { padding: 10px 2px 0; }
.vc-title { font-size: 14px; font-weight: 650; line-height: 1.36; letter-spacing: -.005em; }
.vc-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .15s; }
.vc-title a:hover { color: var(--pk-3); }
.vc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 5px; color: var(--mut); font-size: 12.5px; font-weight: 500; }
.vc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.vc-meta .ic { width: 15px; height: 15px; }
@media (hover: hover) {
  .vc:hover .vc-media img { transform: scale(1.06); filter: saturate(1.15); }
  .vc:hover .vc-play { opacity: 1; transform: none; }
  .vc:hover > .vc-save, .vc > .vc-save:focus-visible { opacity: 1; }
  .vc:hover .vc-media { box-shadow: 0 0 0 1px rgba(255, 92, 166, .35), 0 14px 34px -14px rgba(255, 46, 136, .55); }
}
@media (hover: none) { .vc > .vc-save { opacity: 1; width: 30px; height: 30px; border-radius: 9px; top: 6px; right: 6px; } }

/* List variant (Up next, spotlight picks) */
.upnext { display: grid; gap: 12px; }
.vc--list { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 12px; align-items: start; }
.vc--list .vc-media { border-radius: 12px; }
.vc--list .vc-body { padding: 2px 0 0; }
.vc--list .vc-title { font-size: 13.5px; }
.vc--list .vc-save { top: 5px; right: auto; left: 128px; width: 30px; height: 30px; border-radius: 9px; }
.vc--list .vc-play { width: 40px; height: 40px; margin: -20px 0 0 -20px; box-shadow: 0 0 0 5px rgba(255, 46, 136, .22); }
.vc--list .vc-play .ic { width: 18px; height: 18px; }
.vc--list .vc-dur { bottom: 6px; right: 6px; font-size: 11px; }
.vc--list .vc-new { bottom: 6px; left: 6px; }

/* ---------- Rails (horizontal scrollers) ---------- */
.rail {
  display: grid; grid-auto-flow: column; gap: 14px;
  margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 10px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail--rank { grid-auto-columns: min(78vw, 330px); gap: 6px; counter-reset: rk; }
.rk { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: end; }
.rk-n {
  align-self: start; margin-top: -6px; font-size: 104px; font-weight: 900; line-height: 1; letter-spacing: -.08em;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 92, 166, .75);
  text-shadow: 0 0 30px rgba(255, 46, 136, .25); font-variant-numeric: tabular-nums; user-select: none;
}
.rk:nth-child(-n+3) .rk-n { -webkit-text-stroke: 0; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }
.rk:nth-child(n+10) { grid-template-columns: 98px minmax(0, 1fr); }
.rk:nth-child(n+10) .rk-n { letter-spacing: -.12em; }
.vc--rank .vc-media { border-radius: 14px; }
.rail--bubbles { grid-auto-columns: 108px; gap: 12px; }
.bub { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.bub .av { transition: transform .25s var(--ease), box-shadow .25s; }
.bub:hover .av { transform: translateY(-3px); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--pk), var(--glow); }
.bub-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 700; }
.bub-n, .star-n { margin-top: -6px; color: var(--mut); font-size: 12px; }
.rail--stars { grid-auto-columns: 112px; gap: 12px; }
.star { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; min-width: 0; }
.star-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 700; }
.star:hover .star-name { color: var(--pk-3); }
.star .av { transition: transform .25s var(--ease), box-shadow .25s; }
.star:hover .av { transform: translateY(-3px); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--or), 0 10px 30px -8px rgba(184, 77, 255, .6); }

/* Avatars */
.av { position: relative; display: block; flex: 0 0 auto; overflow: hidden; border-radius: 50%; background: linear-gradient(135deg, var(--s3), var(--s4)); box-shadow: 0 0 0 2px var(--line-2); }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av picture { width: 100%; height: 100%; }
.av--md { width: 64px; height: 64px; }
.av--lg { width: 96px; height: 96px; }
.av--xl { width: 100px; height: 100px; }
.av--ph { display: flex; align-items: center; justify-content: center; background: var(--grad); color: #fff; font-size: 34px; font-weight: 800; box-shadow: none; }

/* ---------- Home: spotlight ---------- */
.spot { display: grid; gap: 22px; }
.hero { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--s2); box-shadow: var(--shadow); isolation: isolate; }
.hero-media { position: relative; display: block; aspect-ratio: 16 / 9; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 20, 38, 0) 35%, rgba(27, 20, 38, .6) 66%, #1b1426 100%); }
.hero-body { position: relative; z-index: 1; margin-top: -78px; padding: 0 18px 18px; }
.hero-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; box-shadow: var(--glow); }
.hero-tag .ic { width: 14px; height: 14px; }
.hero-title { margin: 12px 0 8px; font-size: clamp(1.25rem, .95rem + 1.6vw, 2.3rem); font-weight: 850; line-height: 1.12; letter-spacing: -.03em; text-shadow: 0 2px 20px rgba(0, 0, 0, .5); }
.hero-title a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-title a:hover { color: var(--pk-3); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--tx-2); font-size: 13.5px; font-weight: 600; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .ic { width: 16px; height: 16px; color: var(--pk-3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.spot-title { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.spot-title .ic { width: 18px; height: 18px; color: var(--pk-2); }
.spot-side { padding: 18px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }

/* ---------- Covers (category / channel index) ---------- */
.covers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cover { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); background: linear-gradient(135deg, var(--s2), var(--s4)); isolation: isolate; }
.cover img, .cover picture { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 6, 14, .05) 20%, rgba(9, 6, 14, .88)); transition: background .3s; }
.cover:hover img { transform: scale(1.07); }
.cover:hover::after { background: linear-gradient(180deg, rgba(255, 46, 136, .12) 0%, rgba(9, 6, 14, .9)); }
.cover-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .25); }
.cover-ph .ic { width: 44px; height: 44px; }
.cover-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 12px 13px; }
.cover-name { font-size: 15px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; overflow-wrap: anywhere; }
.cover-n { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 8px; background: rgba(255, 46, 136, .85); font-size: 12px; font-weight: 800; flex: 0 0 auto; }
.cover-n .ic { width: 13px; height: 13px; }
.stars { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 22px 12px; }
.filter { position: relative; display: flex; align-items: center; width: min(100%, 300px); }
.filter .ic { position: absolute; left: 13px; width: 17px; height: 17px; color: var(--mut); }
.filter input { width: 100%; height: 42px; padding: 0 14px 0 40px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .055); box-shadow: inset 0 0 0 1px var(--line); outline: none; }
.filter input:focus { box-shadow: inset 0 0 0 1px rgba(255, 92, 166, .7); }
.filter-none { margin: 20px 0; color: var(--mut); }

/* Tag cloud */
.cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.ctag { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 8px 0 15px; border-radius: 999px; background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px var(--line); font-weight: 650; font-size: 14px; color: var(--tx-2); transition: box-shadow .15s, color .15s, background-color .15s; }
.ctag b { min-width: 26px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--mut); font-size: 12px; text-align: center; }
.ctag:hover { color: #fff; background: rgba(255, 46, 136, .1); box-shadow: inset 0 0 0 1px rgba(255, 92, 166, .5); }
.ctag--w1 { font-size: 15px; }
.ctag--w2 { font-size: 16px; color: #fff; }
.ctag--w3 { font-size: 17px; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 92, 166, .4); }
.ctag--w3 b { background: var(--pk); color: #fff; }

/* ---------- Pagination ---------- */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 36px 0 8px; }
.pager a, .pager .current { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 13px; font-weight: 750; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.pager a { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); color: var(--tx-2); transition: background-color .15s, color .15s, box-shadow .15s; }
.pager a:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 92, 166, .55); }
.pager .current { background: var(--grad); color: #fff; box-shadow: var(--glow); }

/* ---------- Empty states, 404 ---------- */
.empty, .nf { max-width: 520px; margin: 40px auto; padding: 36px 24px; text-align: center; border-radius: var(--r-lg); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.empty-ic { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 20px; background: var(--grad); box-shadow: var(--glow); }
.empty-ic .ic { width: 28px; height: 28px; }
.empty h2, .nf h1 { margin-bottom: 8px; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.empty p, .nf p { margin-bottom: 20px; color: var(--mut); }
.nf { border: 0; background: none; }
.nf-code { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 8px; font-size: clamp(5rem, 3rem + 10vw, 8.5rem); font-weight: 900; line-height: 1; letter-spacing: -.05em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-code span { display: inline-flex; color: var(--pk); }
.nf-code .ic { width: .8em; height: .8em; stroke-width: 1.6; filter: drop-shadow(0 0 24px rgba(255, 46, 136, .6)); }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- Watch page ---------- */
.watch { display: grid; gap: 26px; }
.watch-main { min-width: 0; }
.stage { position: relative; margin: -22px calc(var(--gut) * -1) 0; }
.stage-glow { display: none; }
.player { position: relative; overflow: hidden; background: #000; }
.player-soon { position: absolute; inset: 0; z-index: 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center; background: rgba(9, 6, 14, .82); color: var(--tx-2); font-weight: 600; }
.player-soon .ic { width: 36px; height: 36px; color: var(--pk-2); }
.wi { padding-top: 16px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-bottom: 8px; color: var(--mut); font-size: 13px; font-weight: 600; }
.crumbs a:hover { color: var(--pk-3); }
.crumbs .ic { width: 14px; height: 14px; color: var(--mut-2); }
.crumbs span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; color: var(--tx-2); }
.wi-title { font-size: clamp(1.25rem, 1rem + 1.1vw, 1.8rem); font-weight: 850; line-height: 1.2; letter-spacing: -.025em; overflow-wrap: anywhere; }
.wi-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 14px 0 16px; }
.wi-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: var(--tx-2); font-size: 14px; font-weight: 600; }
.wi-stats li { display: inline-flex; align-items: center; gap: 6px; }
.wi-stats .ic { width: 17px; height: 17px; color: var(--pk-3); }
.wi-hd { padding: 1px 7px; border-radius: 6px; background: var(--grad); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; }
.wi-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--tx); font-weight: 700; font-size: 14px; transition: background-color .15s, box-shadow .15s, color .15s; }
.pill .ic { width: 18px; height: 18px; }
.pill:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 92, 166, .5); }
.pill--hot { background: var(--grad); box-shadow: var(--glow); color: #fff; }
.pill--hot:hover { background: var(--grad); filter: brightness(1.08); box-shadow: 0 14px 36px -8px rgba(255, 46, 136, .75); }
.pill--icon { width: 40px; padding: 0; justify-content: center; color: var(--mut); }
.pill[aria-pressed="true"] { color: var(--pk-3); box-shadow: inset 0 0 0 1px var(--pk-2); background: rgba(255, 46, 136, .12); }
.facets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.facet { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px 0 11px; border-radius: 999px; font-weight: 700; font-size: 13.5px; transition: filter .15s, box-shadow .15s; }
.facet .ic { width: 16px; height: 16px; }
.facet--star { background: linear-gradient(118deg, rgba(184, 77, 255, .26), rgba(184, 77, 255, .12)); box-shadow: inset 0 0 0 1px rgba(184, 77, 255, .45); color: #ecd9ff; }
.facet--cat { background: linear-gradient(118deg, rgba(255, 46, 136, .26), rgba(255, 46, 136, .1)); box-shadow: inset 0 0 0 1px rgba(255, 92, 166, .45); color: #ffd9ea; }
.facet--ch { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--tx); }
.facet:hover { filter: brightness(1.2); }
.desc { padding: 14px 16px; border-radius: var(--r); background: rgba(255, 255, 255, .035); border: 1px solid var(--line); color: var(--tx-2); font-size: 14.5px; }
.desc p + .tags { margin-top: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.tags--center { justify-content: center; margin: 22px 0 6px; }
.tag { color: var(--pk-3); font-weight: 650; font-size: 14px; }
a.tag:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.dl { margin-top: 18px; padding: 16px; border-radius: var(--r); background: linear-gradient(135deg, rgba(255, 46, 136, .09), rgba(184, 77, 255, .07)); border: 1px solid rgba(255, 92, 166, .2); }
.dl-title { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; font-size: 16px; font-weight: 800; }
.dl-title .ic { color: var(--pk-2); }
.dl-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.dlq { position: relative; display: grid; gap: 1px; padding: 12px 14px; border-radius: 13px; background: rgba(9, 6, 14, .55); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .15s, transform .15s var(--ease); }
.dlq:hover { box-shadow: inset 0 0 0 1px var(--pk-2), var(--glow); transform: translateY(-2px); }
.dlq-q { font-size: 18px; font-weight: 850; letter-spacing: -.02em; }
.dlq--hd .dlq-q { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dlq-h { color: var(--mut); font-size: 12.5px; font-weight: 600; }
.dlq-ic { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--pk-2); }
.watch-side .upnext { gap: 14px; }

/* Download page */
.dlp { display: grid; gap: 22px; align-items: center; max-width: 1100px; margin: 0 auto; padding: 18px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.dlp-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: var(--s2); }
.dlp-media img { width: 100%; height: 100%; object-fit: cover; }
.dlp-media .vc-play { opacity: 1; transform: none; }
.dlp-title { margin-bottom: 18px; font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); font-weight: 850; line-height: 1.2; letter-spacing: -.02em; overflow-wrap: anywhere; }
.dlp-note { display: flex; gap: 8px; margin-top: 12px; color: var(--mut); font-size: 13px; }
.dlp-note .ic { width: 16px; height: 16px; margin-top: 2px; }
.back { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--tx-2); font-weight: 650; font-size: 14px; }
.back:hover { color: var(--pk-3); }
.back .ic { width: 17px; height: 17px; }

/* ---------- Prose pages ---------- */
.prose { max-width: 760px; margin: 0 auto; padding: 8px 0 20px; color: var(--tx-2); font-size: 15.5px; line-height: 1.7; }
.prose h1 { margin-bottom: 6px; color: var(--tx); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 850; line-height: 1.15; letter-spacing: -.03em; }
.prose h2 { margin: 30px 0 10px; color: var(--tx); font-size: 1.2rem; font-weight: 800; letter-spacing: -.015em; }
.prose p, .prose ul { margin-bottom: 14px; }
.prose ul { padding-left: 4px; display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 20px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--pk); }
.prose a { color: var(--pk-3); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--tx); }
.updated { margin-bottom: 20px; color: var(--mut); font-size: 14px; }
.contact-card { display: flex; align-items: center; gap: 14px; margin: 18px 0 8px; padding: 16px 18px; border-radius: var(--r); background: linear-gradient(135deg, rgba(255, 46, 136, .1), rgba(184, 77, 255, .08)); border: 1px solid rgba(255, 92, 166, .25); }
.contact-card > .ic { width: 26px; height: 26px; color: var(--pk-2); }
.contact-card strong { display: block; color: var(--tx); }

/* ---------- Footer ---------- */
.foot { margin-top: auto; padding: 40px var(--gut) calc(26px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(20, 13, 29, .4), rgba(9, 6, 14, .9)); }
.foot-grid { display: grid; gap: 28px; max-width: 1760px; margin: 0 auto; }
.foot-brand p { max-width: 42ch; margin-top: 14px; color: var(--mut); font-size: 14px; }
.foot-18 { display: flex; align-items: center; gap: 10px; }
.b18 { display: inline-flex; align-items: center; justify-content: center; padding: 2px 8px; border-radius: 7px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 850; flex: 0 0 auto; }
.foot-col { display: grid; align-content: start; gap: 9px; }
.foot-col h2 { margin-bottom: 4px; color: var(--tx); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.foot-col a { color: var(--mut); font-size: 14px; width: fit-content; }
.foot-col a:hover { color: var(--pk-3); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; max-width: 1760px; margin: 30px auto 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--mut-2); font-size: 12.5px; }

/* ---------- Mobile dock ---------- */
.dock {
  position: fixed; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 45;
  display: none; align-items: center; gap: 2px; width: min(calc(100% - 20px), 440px); padding: 6px;
  transform: translateX(-50%);
  border-radius: 24px; background: rgba(20, 13, 29, .82); box-shadow: 0 12px 40px rgba(0, 0, 0, .55), inset 0 0 0 1px var(--line-2);
  -webkit-backdrop-filter: saturate(170%) blur(18px); backdrop-filter: saturate(170%) blur(18px);
}
.dock a { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px 5px; border-radius: 16px; color: var(--mut); font-size: 10.5px; font-weight: 700; }
.dock a .ic { width: 22px; height: 22px; }
.dock a.is-on { color: #fff; }
.dock a.is-on .ic { color: var(--pk-2); }
.dock a.is-on::after { content: ""; position: absolute; bottom: -1px; width: 16px; height: 3px; border-radius: 3px; background: var(--grad); }
.dock .saved-count { top: 0; right: calc(50% - 22px); }
.dock-search { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: -16px 4px 0; border: 0; border-radius: 18px; background: var(--grad); color: #fff; box-shadow: var(--glow), 0 0 0 5px rgba(9, 6, 14, .9); }
.dock-search .ic { width: 24px; height: 24px; stroke-width: 2.2; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); z-index: 80; padding: 11px 18px; border-radius: 14px; background: rgba(30, 20, 42, .97); box-shadow: var(--shadow), inset 0 0 0 1px var(--line-2); font-weight: 650; font-size: 14px; white-space: nowrap; opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; pointer-events: none; }
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- 18+ gate ---------- */
.age { display: none; }
.age-pending, .age-pending body { overflow: hidden; }
.age-pending .age {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 18px;
  background: radial-gradient(700px 420px at 50% 0%, rgba(255, 46, 136, .25), transparent 70%), radial-gradient(600px 400px at 50% 100%, rgba(184, 77, 255, .2), transparent 70%), rgba(6, 3, 10, .9);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.age-pending .dock { display: none !important; }
.age-card { width: 100%; max-width: 440px; padding: 34px 26px 22px; border-radius: 28px; text-align: center; background: linear-gradient(180deg, rgba(32, 22, 45, .92), rgba(17, 11, 25, .96)); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 0 0 1px var(--line-2); }
.age-card .logo { justify-content: center; }
.age-ring { display: flex; align-items: center; justify-content: center; width: 74px; height: 74px; margin: 22px auto 16px; border-radius: 50%; background: radial-gradient(circle, rgba(9, 6, 14, 1) 58%, transparent 60%), var(--grad); box-shadow: var(--glow); font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.age-card h2 { margin-bottom: 10px; font-size: 1.45rem; font-weight: 850; letter-spacing: -.02em; }
.age-card p { margin-bottom: 22px; color: var(--tx-2); font-size: 14.5px; }
.age-leave { display: inline-block; margin-top: 12px; padding: 8px 14px; color: var(--mut); font-weight: 650; font-size: 14px; }
.age-leave:hover { color: var(--tx); }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (min-width: 600px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 26px 16px; }
  .covers { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
  .vc-title { font-size: 14.5px; }
  .hero-body { margin-top: -110px; padding: 0 26px 26px; }
  .rail--rank { grid-auto-columns: 330px; }
  .rail--bubbles { grid-auto-columns: 124px; gap: 16px; }
  .rail--bubbles .av--xl { width: 116px; height: 116px; }
  .rail--stars { grid-auto-columns: 128px; gap: 16px; }
  .rail--stars .av--lg { width: 112px; height: 112px; }
  .dlp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 22px; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .rail-nav { display: flex; }
  .spot { grid-template-columns: minmax(0, 1.85fr) minmax(300px, 1fr); align-items: stretch; }
  .hero { display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; }
  .hero-media { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero-media::after { background: linear-gradient(90deg, rgba(9, 6, 14, .92) 0%, rgba(9, 6, 14, .55) 45%, rgba(9, 6, 14, .05) 75%), linear-gradient(0deg, rgba(9, 6, 14, .85), transparent 55%); }
  .hero-body { margin: 0; padding: 120px 34px 32px; max-width: 640px; }
  .hero { min-height: 430px; }
  .stage { margin: 0; }
  .player { border-radius: var(--r-lg); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px var(--line); }
  .stage-glow { display: block; position: absolute; inset: 8% 4% -6%; z-index: -1; background-size: cover; background-position: center; filter: blur(60px) saturate(1.6); opacity: .45; transform: translateZ(0); }
  .wi { padding-top: 20px; }
  .foot-grid { grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: auto; }
}
@media (min-width: 1180px) {
  .side { transform: none !important; }
  .app { margin-left: var(--side); }
  .page { padding-top: 26px; }
  .watch { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; gap: 30px; }
  .watch-side { position: sticky; top: calc(var(--top) + 18px); max-height: calc(100vh - var(--top) - 36px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--s4) transparent; padding-right: 4px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
}
@media (min-width: 1600px) {
  .watch { grid-template-columns: minmax(0, 1fr) 420px; }
  .hero { min-height: 500px; }
}

/* Below desktop: drawer sidebar, compact top bar, search overlay */
@media (max-width: 1179.98px) {
  .side { transform: translateX(-102%); transition: transform .3s var(--ease); box-shadow: 30px 0 60px rgba(0, 0, 0, .5); }
  .side-close { display: inline-flex; }
  .side-open .side { transform: none; }
  .side-open .scrim { opacity: 1; visibility: visible; }
  .side-open, .side-open body { overflow: hidden; }
  .top-menu, .top-logo { display: inline-flex; }
  .top-logo .logo-mark { width: 30px; height: 30px; }
  .top-logo .logo-word { font-size: 19px; }
  .search { margin-left: 8px; }
}
@media (max-width: 759.98px) {
  :root { --top: 58px; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .top { gap: 6px; padding: 0 8px 0 6px; }
  .top-search { display: inline-flex; }
  .dock { display: flex; }
  .search { position: fixed; inset: 0; z-index: 70; display: none; flex-direction: row; align-items: flex-start; max-width: none; margin: 0; padding: 10px 10px 0 6px; background: rgba(9, 6, 14, .97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .search-open .search { display: flex; flex-wrap: wrap; align-content: flex-start; }
  .search-open .top { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .search-open, .search-open body { overflow: hidden; }
  .search-back { display: inline-flex; }
  .search-box { height: 46px; }
  .search-kbd { display: none; }
  .search-go { width: 46px; min-height: 46px; padding: 0; }
  .search-go span { display: none; }
  .search-go .ic { display: block; }
  .suggest { position: static; flex: 0 0 100%; max-height: calc(100vh - 80px); margin-top: 10px; background: transparent; box-shadow: none; padding: 0 4px 20px; }
  .phead { align-items: flex-start; }
  .seg { width: 100%; }
  .seg a { flex: 1; justify-content: center; }
  .rk-n { font-size: 84px; }
  .rk { grid-template-columns: 50px minmax(0, 1fr); }
  .rk:nth-child(n+10) { grid-template-columns: 80px minmax(0, 1fr); }
  .vc--list { grid-template-columns: 148px minmax(0, 1fr); }
  .vc--list .vc-save { left: 112px; }
  .filter { width: 100%; }
  .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) {
  .grid { gap: 16px 10px; }
  .vc-title { font-size: 13.5px; }
  .vc-meta { font-size: 12px; gap: 2px 9px; }
  .wi-actions .pill span { display: none; }
  .wi-actions .pill { width: 40px; padding: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
