/* DeenDub design system
   Scene: a listener with earbuds, on a phone, in the evening, calm and reflective.
   Strategy: restrained. Warm paper neutrals, one lapis accent for actions and state,
   saffron only for credits. The eight-pointed star appears once per screen at most. */

:root {
  /* Neutrals: warm paper, tinted toward hue 80 */
  --bg: oklch(0.972 0.008 85);
  --surface: oklch(0.992 0.004 85);
  --sunken: oklch(0.945 0.011 85);
  --line: oklch(0.9 0.012 85);
  --line-strong: oklch(0.84 0.014 85);

  /* Ink: cool, tinted toward the accent hue */
  --ink: oklch(0.24 0.025 262);
  --ink-2: oklch(0.42 0.022 262);
  --ink-3: oklch(0.55 0.018 262);

  /* Accent: lapis */
  --accent: oklch(0.45 0.13 262);
  --accent-hover: oklch(0.40 0.13 262);
  --accent-ink: oklch(0.985 0.006 262);
  --accent-soft: oklch(0.94 0.03 262);
  --accent-text: oklch(0.42 0.13 262);

  /* Saffron: credits and donations only */
  --saffron: oklch(0.70 0.14 70);
  --saffron-soft: oklch(0.95 0.04 80);

  /* State */
  --ok: oklch(0.52 0.11 155);
  --ok-soft: oklch(0.95 0.035 155);
  --warn: oklch(0.56 0.12 65);
  --warn-soft: oklch(0.95 0.04 80);
  --danger: oklch(0.52 0.17 28);
  --danger-soft: oklch(0.95 0.03 28);

  /* Type scale (1.2) */
  --t-xs: 13px;
  --t-sm: 15px;
  --t-md: 17px;
  --t-lg: 20px;
  --t-xl: 24px;
  --t-2xl: 29px;

  /* Spacing */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-12: 48px;

  /* Radii */
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-pill: 999px;

  --shadow-1: 0 1px 2px oklch(0.24 0.025 262 / 0.06);
  --shadow-2: 0 1px 2px oklch(0.24 0.025 262 / 0.05), 0 10px 30px oklch(0.24 0.025 262 / 0.10);

  --ease: cubic-bezier(0.25, 1, 0.5, 1); /* ease-out-quart */
  --dur: 180ms;

  --tab-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: oklch(0.17 0.014 262); --surface: oklch(0.21 0.016 262); --sunken: oklch(0.145 0.012 262);
    --line: oklch(0.29 0.018 262); --line-strong: oklch(0.36 0.02 262);
    --ink: oklch(0.94 0.008 85); --ink-2: oklch(0.80 0.012 85); --ink-3: oklch(0.66 0.014 262);
    --accent: oklch(0.72 0.11 258); --accent-hover: oklch(0.78 0.10 258); --accent-ink: oklch(0.17 0.03 262);
    --accent-soft: oklch(0.29 0.05 262); --accent-text: oklch(0.80 0.09 258);
    --saffron: oklch(0.80 0.13 78); --saffron-soft: oklch(0.30 0.05 75);
    --ok: oklch(0.76 0.12 155); --ok-soft: oklch(0.28 0.04 155);
    --warn: oklch(0.80 0.12 75); --warn-soft: oklch(0.30 0.05 75);
    --danger: oklch(0.72 0.14 28); --danger-soft: oklch(0.30 0.05 28);
    --shadow-1: 0 1px 2px oklch(0.05 0.01 262 / 0.4);
    --shadow-2: 0 1px 2px oklch(0.05 0.01 262 / 0.4), 0 12px 32px oklch(0.05 0.01 262 / 0.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: oklch(0.17 0.014 262); --surface: oklch(0.21 0.016 262); --sunken: oklch(0.145 0.012 262);
  --line: oklch(0.29 0.018 262); --line-strong: oklch(0.36 0.02 262);
  --ink: oklch(0.94 0.008 85); --ink-2: oklch(0.80 0.012 85); --ink-3: oklch(0.66 0.014 262);
  --accent: oklch(0.72 0.11 258); --accent-hover: oklch(0.78 0.10 258); --accent-ink: oklch(0.17 0.03 262);
  --accent-soft: oklch(0.29 0.05 262); --accent-text: oklch(0.80 0.09 258);
  --saffron: oklch(0.80 0.13 78); --saffron-soft: oklch(0.30 0.05 75);
  --ok: oklch(0.76 0.12 155); --ok-soft: oklch(0.28 0.04 155);
  --warn: oklch(0.80 0.12 75); --warn-soft: oklch(0.30 0.05 75);
  --danger: oklch(0.72 0.14 28); --danger-soft: oklch(0.30 0.05 28);
  --shadow-1: 0 1px 2px oklch(0.05 0.01 262 / 0.4);
  --shadow-2: 0 1px 2px oklch(0.05 0.01 262 / 0.4), 0 12px 32px oklch(0.05 0.01 262 / 0.5);
  color-scheme: dark;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--t-md)/1.5 "Plus Jakarta Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ar { font-family: "Amiri", serif; direction: rtl; unicode-bidi: isolate; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.shell { max-width: 560px; margin: 0 auto; min-height: 100dvh; padding-bottom: calc(var(--tab-h) + var(--safe-b) + var(--s-8)); }
main { padding: var(--s-2) var(--s-4) 0; outline: none; }
main > * { animation: enter 220ms var(--ease) both; }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  padding: calc(var(--s-2) + var(--safe-t)) var(--s-4) var(--s-2);
  background: color-mix(in oklch, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color var(--dur) var(--ease);
}
.topbar.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: var(--t-lg); letter-spacing: -0.02em; min-height: 44px; }
.brand-mark { width: 32px; height: 32px; }
.brand-mark svg { width: 32px; height: 32px; }
.brand-mark .bgc { fill: var(--accent); }
.brand-mark .fgc { fill: var(--accent-ink); }
.topbar-actions { display: flex; gap: var(--s-1); align-items: center; }
.credit-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 10px; border-radius: var(--r-pill);
  background: var(--saffron-soft); font-weight: 700; font-size: var(--t-sm); font-variant-numeric: tabular-nums;
  transition: transform var(--dur) var(--ease);
}
.credit-pill .coin { width: 10px; height: 10px; border-radius: 99px; background: var(--saffron); box-shadow: 0 0 0 3px color-mix(in oklch, var(--saffron) 30%, transparent); }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: var(--r-pill); display: grid; place-items: center;
  background: transparent; border: 0; color: var(--ink); transition: background var(--dur) var(--ease);
}
.icon-btn:active { background: var(--sunken); }
.icon-btn .dot { position: absolute; top: 10px; right: 11px; width: 8px; height: 8px; border-radius: 9px; background: var(--danger); box-shadow: 0 0 0 2px var(--bg); display: none; }
.icon-btn .dot.on { display: block; }

/* ---------- Tab bar ---------- */
.tabbar {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
  padding: 0 max(var(--s-2), calc((100% - 560px) / 2)) var(--safe-b);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch;
  background: color-mix(in oklch, var(--surface) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-top: 1px solid var(--line);
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: var(--tab-h);
  font-size: 12px; font-weight: 600; color: var(--ink-3); transition: color var(--dur) var(--ease);
}
.tabbar a svg { transition: transform var(--dur) var(--ease); }
.tabbar a:active svg { transform: scale(0.9); }
.tabbar a.active { color: var(--ink); }
.tabbar a.active svg { stroke-width: 2.2; color: var(--accent); }
.tab-cta .cta {
  width: 48px; height: 36px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.tab-cta .cta svg { stroke-width: 2.4; color: var(--accent-ink) !important; }
.tab-cta:active .cta { transform: scale(0.94); }
.tabbar a.tab-cta.active { color: var(--ink); }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font-size: var(--t-2xl); line-height: 1.15; letter-spacing: -0.025em; font-weight: 750; }
h2 { font-size: var(--t-lg); line-height: 1.25; letter-spacing: -0.015em; font-weight: 700; }
h3 { font-size: var(--t-md); line-height: 1.3; font-weight: 650; letter-spacing: -0.005em; }
p { margin: 0; text-wrap: pretty; }
.page-head { padding: var(--s-4) 0 var(--s-5); }
.page-head p { color: var(--ink-2); margin-top: var(--s-2); max-width: 36ch; }
.muted { color: var(--ink-3); font-size: var(--t-sm); }
.eyebrow { font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }

.section { margin-top: var(--s-10); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-3); }
.section-head a { color: var(--accent-text); font-weight: 650; font-size: var(--t-sm); min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 52px; padding: 0 var(--s-5); border-radius: var(--r-md); border: 1px solid transparent;
  font-weight: 650; font-size: 16px; line-height: 1;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), opacity var(--dur);
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-secondary { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn-quiet { background: var(--sunken); color: var(--ink); }
.btn-saffron { background: var(--saffron); color: oklch(0.22 0.04 70); }
.btn-danger-quiet { background: var(--surface); border-color: var(--line-strong); color: var(--danger); }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 0 var(--s-4); font-size: var(--t-sm); border-radius: var(--r-sm); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 20px; height: 20px; border-radius: 99px;
  border: 2.5px solid var(--accent-ink); border-right-color: transparent; animation: spin 700ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (hover: hover) {
  .btn-primary:hover { background: var(--accent-hover); }
  .btn-secondary:hover { border-color: var(--ink-3); }
  .btn-quiet:hover { background: var(--line); }
  .icon-btn:hover { background: var(--sunken); }
  .tabbar a:hover { color: var(--ink); }
  .vcard:hover .thumb { transform: scale(1.015); }
  .row-link:hover { background: var(--sunken); }
}

/* ---------- Segmented ---------- */
.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding: 3px; background: var(--sunken); border-radius: var(--r-md); border: 1px solid var(--line); }
.segmented button {
  min-height: 42px; border: 0; border-radius: 11px; background: transparent; font-weight: 650; font-size: var(--t-sm); color: var(--ink-2);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.segmented button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1), 0 0 0 1px var(--line); }

/* ---------- Chips ---------- */
.chips { display: flex; gap: var(--s-2); overflow-x: auto; padding: 2px var(--s-4) var(--s-1); margin: 0 calc(var(--s-4) * -1); scrollbar-width: none; scroll-padding-inline: var(--s-4); }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line-strong); font-weight: 600; font-size: var(--t-sm); color: var(--ink-2);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip .count { font-size: var(--t-xs); opacity: 0.7; font-variant-numeric: tabular-nums; }
.platforms { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--ink-3); font-size: var(--t-xs); font-weight: 600; }

/* ---------- Home intro ---------- */
.intro { position: relative; padding: var(--s-6) 0 var(--s-2); }
.intro .ar-line { font-size: 26px; line-height: 1.4; color: var(--accent-text); text-align: left; }
.intro h1 { margin-top: var(--s-1); max-width: 14ch; }
.intro p { color: var(--ink-2); margin-top: var(--s-3); max-width: 32ch; }
.intro .star { position: absolute; right: -6px; top: var(--s-4); width: 92px; height: 92px; color: var(--line-strong); }
.intro .star svg { width: 92px; height: 92px; stroke-width: 1; }

.quick-dub {
  margin-top: var(--s-6); display: flex; align-items: center; gap: var(--s-2);
  padding: 6px 6px 6px var(--s-4); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-2); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.quick-dub:focus-within { border-color: var(--accent); box-shadow: var(--shadow-2), 0 0 0 4px color-mix(in oklch, var(--accent) 16%, transparent); }
.quick-dub svg { color: var(--ink-3); }
.quick-dub input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 16px; min-height: 48px; }
.quick-dub input::placeholder { color: var(--ink-3); }
.quick-dub .btn { min-height: 46px; padding: 0 var(--s-4); }

/* ---------- Video thumbnails ---------- */
.thumb {
  --h: 262;
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; display: grid; place-items: center;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='white' stroke-opacity='.07' stroke-width='1'%3E%3Crect x='16' y='16' width='24' height='24'/%3E%3Crect x='16' y='16' width='24' height='24' transform='rotate(45 28 28)'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(150deg, oklch(0.42 0.07 var(--h)), oklch(0.28 0.05 var(--h)));
  color: oklch(0.97 0.01 var(--h));
  transition: transform 300ms var(--ease);
}
.thumb .ar { font-size: 28px; text-align: center; padding: 0 var(--s-5); line-height: 1.35; }
.thumb .dur, .thumb .lang {
  position: absolute; font-size: 12px; font-weight: 700; padding: 3px 7px; border-radius: 7px; font-variant-numeric: tabular-nums; letter-spacing: 0.01em;
}
.thumb .dur { bottom: 8px; right: 8px; background: oklch(0.15 0.02 262 / 0.72); color: oklch(0.97 0.005 85); }
.thumb .lang { top: 8px; left: 8px; background: oklch(0.97 0.006 85 / 0.92); color: oklch(0.3 0.04 262); }
.h1 { --h: 200; } .h2 { --h: 60; } .h3 { --h: 262; } .h4 { --h: 15; } .h5 { --h: 230; } .h6 { --h: 130; }

.rail { display: flex; gap: var(--s-3); overflow-x: auto; padding: 2px var(--s-4) var(--s-2); margin: 0 calc(var(--s-4) * -1); scroll-snap-type: x mandatory; scroll-padding-inline: var(--s-4); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail .vcard { width: 78%; max-width: 300px; flex: none; scroll-snap-align: start; }
.vcard { display: block; }
.vmeta { padding-top: var(--s-3); }
.vmeta h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vmeta p { font-size: var(--t-sm); color: var(--ink-3); margin-top: 2px; }

/* Row list (no card containers) */
.rows { display: grid; }
.row-link {
  display: grid; grid-template-columns: 120px 1fr; gap: var(--s-3); align-items: center;
  padding: var(--s-3) var(--s-2); margin: 0 calc(var(--s-2) * -1); border-radius: var(--r-md); transition: background var(--dur) var(--ease);
}
.row-link + .row-link { border-top: 1px solid var(--line); border-radius: 0; }
.row-link .thumb { border-radius: var(--r-sm); }
.row-link .thumb .ar { font-size: 16px; padding: 0 var(--s-2); }
.row-link h3 { font-size: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-link p { font-size: var(--t-sm); color: var(--ink-3); margin-top: 2px; }
.ranked { grid-template-columns: 28px 104px 1fr; }
.ranked .rank { font-size: var(--t-lg); font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; text-align: center; }

/* Subject index: a table of contents, not a card grid */
.index { border-top: 1px solid var(--line); }
.index a {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: var(--s-3);
  min-height: 60px; padding: var(--s-2) 0; border-bottom: 1px solid var(--line);
}
.index strong { font-weight: 650; }
.index .count { font-size: var(--t-sm); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.index .ar { font-size: 22px; color: var(--accent-text); min-width: 76px; text-align: left; }
.index a:active { background: var(--sunken); }

/* ---------- Forms ---------- */
.field { display: grid; gap: var(--s-2); }
.field + .field { margin-top: var(--s-5); }
.label { font-weight: 650; font-size: var(--t-sm); color: var(--ink); }
.input-wrap { position: relative; }
.input-wrap > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.input {
  width: 100%; min-height: 54px; padding: 0 var(--s-4); border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--surface);
  font-size: 16px; outline: none; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input-wrap > svg + .input { padding-left: 46px; }
.input::placeholder { color: var(--ink-3); }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 16%, transparent); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.input[type="search"]::-webkit-search-cancel-button { display: none; }

.divider { display: flex; align-items: center; gap: var(--s-3); color: var(--ink-3); font-size: var(--t-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin: var(--s-5) 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.dropzone {
  display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4); border-radius: var(--r-md);
  border: 1.5px dashed var(--line-strong); background: transparent; cursor: pointer; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.dropzone:hover, .dropzone:focus-within { border-color: var(--accent); background: var(--accent-soft); }
.dropzone .ico { width: 44px; height: 44px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--sunken); color: var(--accent); flex: none; }
.dropzone strong { display: block; font-size: 16px; }
.dropzone .muted { font-size: var(--t-xs); }

/* Result panel after check */
.result { margin-top: var(--s-4); padding: var(--s-4); border-radius: var(--r-md); display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); animation: enter 220ms var(--ease) both; }
.result .ico { width: 36px; height: 36px; border-radius: 99px; display: grid; place-items: center; }
.result .ico svg { width: 20px; height: 20px; stroke-width: 2.2; }
.result strong { display: block; font-size: 16px; }
.result p { font-size: var(--t-sm); color: var(--ink-2); margin-top: 2px; }
.result .btn { margin-top: var(--s-3); }
.result.ok { background: var(--ok-soft); } .result.ok .ico { background: var(--ok); color: var(--surface); }
.result.info { background: var(--accent-soft); } .result.info .ico { background: var(--accent); color: var(--accent-ink); }
.result.warn { background: var(--warn-soft); } .result.warn .ico { background: var(--warn); color: var(--surface); }
.cost { display: flex; justify-content: space-between; align-items: baseline; margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid color-mix(in oklch, var(--ink) 10%, transparent); font-size: var(--t-sm); }
.cost b { font-size: 16px; }

.note { display: flex; gap: var(--s-3); align-items: flex-start; color: var(--ink-2); font-size: var(--t-sm); }
.note svg { width: 18px; height: 18px; margin-top: 2px; color: var(--ink-3); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: var(--s-3); align-items: start; font-size: var(--t-sm); color: var(--ink-2); }
.steps li strong { display: block; color: var(--ink); font-size: 16px; font-weight: 650; }
.steps li::before {
  content: counter(s); width: 32px; height: 32px; border-radius: 99px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--ink-2); font-weight: 700; font-size: var(--t-sm); font-variant-numeric: tabular-nums;
}

/* ---------- Status ---------- */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-xs); font-weight: 700; color: var(--ink-2); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 9px; background: currentColor; }
.s-pending { color: var(--warn); }
.s-dubbing { color: var(--accent-text); }
.s-dubbing::before { animation: pulse 1.6s var(--ease) infinite; }
.s-review { color: var(--accent-text); }
.s-done { color: var(--ok); }
.s-rejected { color: var(--danger); }
@keyframes pulse { 50% { opacity: 0.35; } }

.request { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.request:first-child { padding-top: 0; }
.request .top { display: grid; grid-template-columns: 88px 1fr; gap: var(--s-3); align-items: start; }
.request .thumb { border-radius: var(--r-sm); }
.request h3 { font-size: 16px; margin-top: 4px; }
.request .meta { font-size: var(--t-sm); color: var(--ink-3); margin-top: 2px; }
.progress { margin-top: var(--s-4); }
.progress .bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.progress .bar span { height: 4px; border-radius: 4px; background: var(--line); }
.progress .bar span.done { background: var(--ok); }
.progress .bar span.now { background: var(--accent); }
.progress .bar span.pending-now { background: var(--warn); }
.progress .labels { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.progress .labels .cur { color: var(--ink); }
.request .next { margin-top: var(--s-3); font-size: var(--t-sm); color: var(--ink-2); }
.request .btn { margin-top: var(--s-3); }

/* ---------- Account ---------- */
.balance { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); padding: var(--s-5) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.balance .num { font-size: 40px; font-weight: 750; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.balance .num small { font-size: var(--t-md); font-weight: 600; color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.balance .sub { font-size: var(--t-sm); color: var(--ink-3); margin-top: var(--s-2); }
.free-flag { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-xs); font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: 5px 10px; border-radius: var(--r-pill); }

.options { display: grid; gap: var(--s-2); }
.option {
  display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: var(--s-3); min-height: 60px; padding: 0 var(--s-4);
  border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--surface); text-align: left; width: 100%;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.option .radio { width: 22px; height: 22px; border-radius: 99px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: border-color var(--dur) var(--ease); }
.option.on { border-color: var(--accent); background: var(--accent-soft); }
.option.on .radio { border-color: var(--accent); }
.option.on .radio::after { content: ""; width: 12px; height: 12px; border-radius: 99px; background: var(--accent); }
.option strong { font-weight: 650; }
.option .hint { font-size: var(--t-xs); color: var(--ink-3); display: block; }
.option .price { font-weight: 700; font-variant-numeric: tabular-nums; }
.option .tagline { font-size: 11px; font-weight: 700; color: var(--accent-text); text-transform: uppercase; letter-spacing: 0.06em; }

.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
.amount {
  min-height: 56px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--surface); font-weight: 700; font-size: var(--t-lg);
  font-variant-numeric: tabular-nums; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.amount.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); }

.group-label { font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin: var(--s-8) 0 var(--s-2); }
.list { background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; }
.list > a, .list > .li {
  display: flex; align-items: center; gap: var(--s-3); min-height: 56px; padding: 0 var(--s-4); border-top: 1px solid var(--line);
  font-weight: 550; transition: background var(--dur) var(--ease);
}
.list > :first-child { border-top: 0; }
.list > a:active, .list > .li:active { background: var(--sunken); }
.list svg { color: var(--ink-2); }
.list .grow { flex: 1; }
.list .val { color: var(--ink-3); font-size: var(--t-sm); }
.list svg.chev { width: 18px; height: 18px; color: var(--ink-3); }
.badge { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 99px; background: var(--warn); color: var(--surface); font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }

.toggle { appearance: none; width: 50px; height: 30px; border-radius: 99px; background: var(--line-strong); position: relative; margin: 0; flex: none; transition: background var(--dur) var(--ease); }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 99px; background: var(--surface); box-shadow: var(--shadow-1); transition: transform var(--dur) var(--ease); }
.toggle:checked { background: var(--accent); }
.toggle:checked::after { transform: translateX(20px); }

.signin { padding: var(--s-6) var(--s-5); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.signin p { color: var(--ink-2); margin: var(--s-2) auto var(--s-5); max-width: 30ch; font-size: var(--t-sm); }
.signin .btn + .btn { margin-top: var(--s-2); }

/* ---------- Player ---------- */
.player { position: relative; margin: 0 calc(var(--s-4) * -1); }
.player .thumb { border-radius: 0; aspect-ratio: 16 / 9; }
.player .play { position: absolute; width: 60px; height: 60px; border-radius: 99px; display: grid; place-items: center; background: oklch(0.97 0.006 85 / 0.92); color: oklch(0.25 0.03 262); box-shadow: var(--shadow-2); border: 0; }
.player .play svg { fill: currentColor; stroke: none; margin-left: 3px; width: 24px; height: 24px; }
.player .controls { position: absolute; inset: auto 0 0 0; padding: var(--s-4) var(--s-4) var(--s-3); display: flex; align-items: center; gap: var(--s-3); background: linear-gradient(transparent, oklch(0.12 0.02 262 / 0.7)); color: oklch(0.97 0.005 85); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.player .track { flex: 1; height: 3px; border-radius: 3px; background: oklch(0.97 0.005 85 / 0.3); position: relative; }
.player .track::after { content: ""; position: absolute; inset: 0 70% 0 0; background: oklch(0.97 0.005 85); border-radius: 3px; }

.video-head { padding: var(--s-5) 0 0; }
.video-head .ar { font-size: 22px; color: var(--ink-2); display: block; margin-top: var(--s-1); text-align: left; }
.byline { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-4); }
.avatar { width: 40px; height: 40px; border-radius: 99px; display: grid; place-items: center; background: var(--sunken); color: var(--ink-2); font-weight: 700; font-size: var(--t-sm); flex: none; }
.byline .who { flex: 1; min-width: 0; }
.byline .who strong { display: block; font-size: 16px; font-weight: 650; }
.byline .who span { font-size: var(--t-sm); color: var(--ink-3); }
.actions { display: flex; gap: var(--s-2); margin-top: var(--s-5); overflow-x: auto; scrollbar-width: none; }
.actions .btn { flex: none; }
.tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.tag { font-size: var(--t-sm); font-weight: 600; padding: 7px 12px; border-radius: var(--r-pill); background: var(--sunken); color: var(--ink-2); min-height: 36px; display: inline-flex; align-items: center; }
a.tag:active { background: var(--line); }

/* ---------- Notifications ---------- */
.notif { display: grid; grid-template-columns: 10px 1fr; gap: var(--s-3); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.notif .u { width: 8px; height: 8px; border-radius: 9px; margin-top: 8px; background: transparent; }
.notif.unread .u { background: var(--accent); }
.notif strong { display: block; font-weight: 650; }
.notif p { font-size: var(--t-sm); color: var(--ink-2); margin-top: 2px; }
.notif time { font-size: var(--t-xs); color: var(--ink-3); display: block; margin-top: 4px; }

/* ---------- Admin ---------- */
.queue-item { padding: var(--s-5) 0; border-bottom: 1px solid var(--line); animation: enter 220ms var(--ease) both; }
.queue-item.leaving { opacity: 0; transform: translateX(16px); transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.queue-item .top { display: grid; grid-template-columns: 88px 1fr; gap: var(--s-3); }
.queue-item .thumb { border-radius: var(--r-sm); }
.queue-item dl { display: grid; grid-template-columns: auto 1fr; gap: 4px var(--s-3); margin: var(--s-3) 0 0; font-size: var(--t-sm); }
.queue-item dt { color: var(--ink-3); }
.queue-item dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.queue-item .warnline { margin-top: var(--s-3); padding: var(--s-3); border-radius: var(--r-sm); background: var(--warn-soft); font-size: var(--t-sm); display: flex; gap: var(--s-2); }
.queue-item .warnline svg { width: 18px; height: 18px; color: var(--warn); margin-top: 1px; }
.queue-actions { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--s-2); margin-top: var(--s-4); }

/* ---------- Empty ---------- */
.empty { text-align: center; padding: var(--s-12) var(--s-4); }
.empty .glyph { width: 64px; height: 64px; margin: 0 auto var(--s-4); color: var(--line-strong); }
.empty .glyph svg { width: 64px; height: 64px; stroke-width: 1; }
.empty h2 { font-size: var(--t-lg); }
.empty p { color: var(--ink-2); margin: var(--s-2) auto var(--s-5); max-width: 30ch; font-size: var(--t-sm); }

/* ---------- Footer ---------- */
.footer { margin-top: var(--s-12); padding-top: var(--s-8); border-top: 1px solid var(--line); }
.donate-row { display: flex; align-items: center; gap: var(--s-4); }
.donate-row .txt { flex: 1; }
.donate-row strong { display: block; font-weight: 650; }
.donate-row span { font-size: var(--t-sm); color: var(--ink-3); }
.footer nav { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); margin-top: var(--s-6); }
.footer nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink-2); font-size: var(--t-sm); font-weight: 550; }
.footer .copy { font-size: var(--t-xs); color: var(--ink-3); margin-top: var(--s-2); }

/* ---------- Sheet & toast ---------- */
.sheet { position: fixed; inset: 0; z-index: 50; background: oklch(0.15 0.02 262 / 0.45); display: flex; align-items: flex-end; justify-content: center; animation: fade 200ms var(--ease); }
.sheet[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.sheet-panel {
  width: 100%; max-width: 560px; background: var(--bg); border-radius: 24px 24px 0 0; padding: var(--s-2) var(--s-5) calc(var(--s-6) + var(--safe-b));
  animation: up 260ms var(--ease); max-height: 90dvh; overflow: auto;
}
.sheet-panel .grab { width: 40px; height: 5px; border-radius: 9px; background: var(--line-strong); margin: 0 auto var(--s-5); }
.sheet-panel h2 { margin-bottom: var(--s-5); }
.sheet-panel .steps { margin-bottom: var(--s-6); }
@keyframes up { from { transform: translateY(100%); } }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--tab-h) + var(--safe-b) + var(--s-4)); transform: translate(-50%, 12px); z-index: 60;
  display: flex; align-items: center; gap: var(--s-2);
  background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: var(--r-md); font-weight: 600; font-size: var(--t-sm);
  opacity: 0; pointer-events: none; transition: opacity 200ms var(--ease), transform 200ms var(--ease); width: max-content; max-width: calc(100% - 32px);
  box-shadow: var(--shadow-2);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 600px) {
  .rail .vcard { width: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}

/* ---------- Real dubs: progress, phone-made video ---------- */
.progress .labels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; line-height: 1.25; }
.progress .labels span:last-child { text-align: right; }
a.top { color: inherit; }
.short-frame { margin: var(--s-4) auto 0; max-width: 360px; aspect-ratio: 9 / 16; border-radius: var(--r-md); overflow: hidden; background: oklch(0.14 0.02 262); }
.short-frame video { width: 100%; height: 100%; object-fit: contain; display: block; }
.make { margin-top: var(--s-5); }
.make .meter { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.make .meter i { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width 200ms var(--ease); }
.make .muted { margin-top: var(--s-2); font-size: var(--t-sm); }

/* ---------- Shorts library: portrait cards ---------- */
.scard { display: block; min-width: 0; }
.sthumb {
  --h: 262;
  position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-md); overflow: hidden;
  background: linear-gradient(160deg, oklch(0.42 0.07 var(--h)), oklch(0.26 0.05 var(--h)));
  transition: transform 300ms var(--ease);
}
.sthumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sthumb .dur { position: absolute; bottom: 8px; right: 8px; font-size: 12px; font-weight: 700; padding: 3px 7px; border-radius: 7px;
  background: oklch(0.15 0.02 262 / 0.72); color: oklch(0.97 0.005 85); font-variant-numeric: tabular-nums; }
.scard:active .sthumb { transform: scale(0.98); }
@media (hover: hover) { .scard:hover .sthumb { transform: scale(1.015); } }
.scard .vmeta h3 { font-size: 15px; line-height: 1.3; }
.rail.shorts .scard { width: 42%; max-width: 200px; flex: none; scroll-snap-align: start; }
.short-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-3); }
@media (min-width: 560px) { .short-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Admin publish form on a dub */
.publish { margin-top: var(--s-6); padding-top: var(--s-2); border-top: 1px solid var(--line); }
.publish .field { margin-bottom: var(--s-4); }
.publish select.input { appearance: auto; }

/* ---------- Sign in ---------- */
.signin .provider { gap: var(--s-3); }
.signin .provider .g { width: 20px; height: 20px; }
.signin .divider { margin: var(--s-5) 0 var(--s-4); }
.form-error { color: var(--danger, oklch(0.55 0.18 28)); font-size: var(--t-sm); font-weight: 600; margin: 0 0 var(--s-3); }
.code-input { font-size: 24px; letter-spacing: 0.4em; text-align: center; font-variant-numeric: tabular-nums; }
.profile { display: flex; align-items: center; gap: var(--s-3); }
.profile img, .profile .avatar { width: 52px; height: 52px; border-radius: 99px; object-fit: cover; flex: none; }
.profile strong { display: block; font-size: 17px; }
.profile span { font-size: var(--t-sm); color: var(--ink-3); }
.signin form { text-align: left; }

/* Video-first identity: ink, electric lime, and room for the content. */
.brand-logo { width: 150px; height: 60px; object-fit: contain; display: block; border-radius: 10px; }
.topbar { background: #090b0b; color: #fafbf6; }
.topbar .icon-btn { color: #fafbf6; }
.btn-primary { background: #d4ff4b; color: #111807; border-color: #d4ff4b; }
.btn-primary:hover { background: #e0ff80; color: #111807; }
.tab-cta .cta { background: #d4ff4b; color: #101609; border-radius: 12px; box-shadow: -3px 0 #78d8ac, 3px 0 #faf6b9; }
.tab-cta .cta svg { color: #101609 !important; }
.watch-page { background: #090b0b; color: #fafbf6; }
.watch-page .shell { max-width: 1440px; padding-bottom: 0; }
.watch-page .topbar { height: calc(76px + var(--safe-t)); padding: var(--safe-t) 32px 0; border-bottom: 1px solid #ffffff12; }
.watch-page main { padding: 0 32px; }
.watch-page main > * { animation: none; }
.watch-page .tabbar { background: #101212; border-color: #ffffff14; }
.watch-page .tabbar a { color: #92988e; }
.watch-page .tabbar a.active, .watch-page .tabbar a.active svg { color: #d4ff4b; }
.feed-layout { display: grid; grid-template-columns: minmax(240px,1fr) minmax(320px,440px) 100px; gap: 48px; max-width: 1200px; margin: auto; }
.feed-intro { padding: 64px 0 32px; align-self: start; max-width: 400px; }
.eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .18em; color: #d4ff4b; }
.feed-intro h1 { font-size: clamp(44px,4.8vw,70px); line-height: 1.04; letter-spacing: -.065em; margin: 25px 0; font-weight: 800; }
.feed-intro h1 em { color: #d4ff4b; font-style: normal; }
.feed-intro > p { color: #9da49a; font-size: 15px; line-height: 1.8; max-width: 32ch; margin-bottom: 28px; }
.feed-intro .btn { min-height: 48px; border-radius: 14px; padding-inline: 24px; }
.feed-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 42px; max-width: 320px; }
.feed-topics > span { width: 100%; font-size: 9px; letter-spacing: .15em; color: #757e72; margin-bottom: 6px; }
.feed-topics a { border: 1px solid #ffffff20; border-radius: 999px; padding: 8px 14px; font-size: 12px; color: #bec5b8; }
.feed-topics a:hover { border-color: #d4ff4b; color: #d4ff4b; }
.feed-links { display:flex; gap: 20px; font-size: 11px; color: #7e8679; margin-top: 30px; }
.feed-header { height: 54px; display:flex; gap: 26px; align-items: center; font-size: 14px; }
.feed-header > a { color: #838b7e; }
.feed-header strong { position: relative; }
.feed-header strong span { position:absolute; height:3px; width:22px; background:#d4ff4b; left:0; bottom:-9px; border-radius:3px; }
.feed-language { margin-left:auto; background: transparent; border:1px solid #ffffff26; border-radius:20px; color:#e5e9df; padding: 7px 12px; font-size:11px; }
.video-feed { height: calc(100dvh - 216px - var(--safe-t) - var(--safe-b)); min-height:300px; overflow-y:auto; scroll-snap-type: y mandatory; overscroll-behavior-y: contain; scrollbar-width: none; border-radius: 22px; background: #141814; }
.video-feed::-webkit-scrollbar { display:none; }
.feed-card { height:100%; width:100%; position:relative; overflow:hidden; scroll-snap-align:start; scroll-snap-stop:always; isolation:isolate; background:#101410; }
.feed-card video { position:absolute; width:100%; height:100%; object-fit:contain; inset:0; }
.feed-shade { position:absolute; inset:0; background:linear-gradient(180deg,#0005 0%,transparent 30%,transparent 48%,#000b 100%); pointer-events:none; }
.feed-number { position:absolute; top:22px; left:22px; font-size:9px; letter-spacing:.2em; color:#ffffffa0; }
.feed-toggle { position:absolute; inset:0; border:0; background:transparent; color:#fff; display:grid; place-items:center; }
.feed-toggle span { display:grid; place-items:center; width:64px; height:64px; border-radius:50%; background:#0006; backdrop-filter:blur(8px); }
.feed-toggle svg { width:28px; height:28px; }
.is-playing .feed-toggle span { opacity:0; }
.feed-toggle:focus-visible span { opacity:1; }
.feed-actions { position:absolute; right:12px; bottom:120px; display:flex; flex-direction:column; gap:20px; z-index:2; }
.feed-actions button,.feed-actions a { border:0; background:transparent; color:white; display:flex; flex-direction:column; align-items:center; gap:5px; padding:4px; text-shadow:0 1px 5px #000; min-width:44px; }
.feed-actions svg { width:26px; height:26px; filter:drop-shadow(0 2px 4px #0006); }
.feed-actions small { font-size:10px; font-weight:700; }
.feed-caption { position:absolute; left:22px; right:74px; bottom:28px; pointer-events:none; text-shadow:0 1px 5px #0008; }
.feed-badge { display:inline-block; font-size:10px; font-weight:700; padding:5px 9px; border:1px solid #ffffff36; border-radius:6px; background:#ffffff12; margin-bottom:12px; }
.feed-speaker { font-size:12px; font-weight:700; color:#d4ff4b; margin-bottom:6px; }
.feed-caption h2 { font-size:22px; line-height:1.25; letter-spacing:-.025em; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.feed-credit { display:flex; gap:6px; align-items:center; font-size:10px; color:#ccd0c6; margin-top:12px; }
.feed-credit svg { width:13px; height:13px; }
.feed-status { font-size:12px; margin-top:8px; }
.feed-progress { position:absolute; bottom:0; left:0; width:100%; height:3px; border:0; appearance:none; background:#ffffff25; }
.feed-progress::-webkit-progress-bar { background:#ffffff25; }
.feed-progress::-webkit-progress-value { background:#d4ff4b; }
.feed-progress::-moz-progress-bar { background:#d4ff4b; }
.feed-hint { align-self:center; display:flex; align-items:center; gap:18px; writing-mode:vertical-rl; font-size:9px; letter-spacing:.18em; color:#8b9584; }
.feed-hint span { writing-mode:horizontal-tb; border:1px solid #ffffff26; border-radius:50%; width:42px; height:42px; display:grid; place-items:center; font-size:22px; color:#d4ff4b; }
.feed-empty,.feed-end { min-height:100%; scroll-snap-align:start; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:22px; text-align:center; padding:36px; background:radial-gradient(ellipse at 50% 0%,#303c1e,transparent 65%),#111510; }
.feed-empty img { width:200px; border-radius:16px; }
.feed-empty h2,.feed-end h2 { font-size:30px; letter-spacing:-.04em; }
.feed-empty p,.feed-end p { font-size:14px; color:#a2ad9a; }
.feed-empty > a:last-child { font-size:12px; }
@media (max-width: 1000px) { .feed-layout { gap:28px; grid-template-columns:1fr minmax(300px,420px); } .feed-hint { display:none; } .feed-intro h1 { font-size:48px; } }
@media (max-width: 700px) {
 .watch-page .topbar { height:calc(62px + var(--safe-t)); padding-inline:16px; }
 .brand-logo { width:125px; height:50px; }
 .watch-page main { padding:0; }
 .feed-layout { display:block; }
 .feed-intro { display:none; }
 .feed-header { height:48px; padding:0 18px; }
 .video-feed { height:calc(100dvh - 110px - var(--tab-h) - var(--safe-b) - var(--safe-t)); min-height:200px; border-radius:0; }
 .feed-caption { left:18px; bottom:24px; }
 .feed-caption h2 { font-size:23px; }
 .feed-actions { right:10px; }
 .watch-page .tabbar { background:#090b0b; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; animation:none !important; transition:none !important; } }
:root[data-theme="dark"] {
 --bg:#090b0b; --surface:#151917; --sunken:#101310; --line:#272d27; --line-strong:#3b4538;
 --ink:#f5f7ef; --ink-2:#bdc6b6; --ink-3:#8f9c88;
 --accent:#d4ff4b; --accent-hover:#e0ff80; --accent-ink:#111807; --accent-soft:#263116; --accent-text:#d4ff4b;
}
:root[data-theme="dark"] .tabbar { background:#101212; }
:root[data-theme="dark"] .page-head h1 { letter-spacing:-.045em; }
:root[data-theme="dark"] .scard .sthumb { border-radius:18px; }
