/* ==========================================================================
   超级学习机 · 模型训练营 — Dual-Theme Design Token Architecture
   Dark:  Obsidian Neural Studio (:root)
   Light: Editorial Gallery Studio (:root[data-theme="light"])
   Strict CSP compliant: zero external URLs, zero embedded data URIs.
   ========================================================================== */

:root {
  color-scheme: dark;

  /* -------------------- Surfaces & Elevation -------------------- */
  --bg-0: #070a0f;
  --bg-1: #0d121b;
  --bg-2: #131a26;
  --bg-3: #1a2333;
  --bg-4: #233045;
  --surface-elevated: linear-gradient(180deg, rgba(28, 39, 56, 0.88) 0%, rgba(19, 26, 38, 0.96) 100%);
  --surface-recessed: #0a0e15;
  --glass-bg: rgba(9, 13, 20, 0.78);
  --glass-bg-strong: rgba(13, 18, 27, 0.92);
  --backdrop-bg: rgba(3, 5, 9, 0.76);

  /* -------------------- Hairlines & Specular Borders -------------------- */
  --border-subtle: rgba(214, 232, 255, 0.08);
  --border-default: rgba(214, 232, 255, 0.13);
  --border-strong: rgba(214, 232, 255, 0.21);
  --border-specular: rgba(255, 255, 255, 0.15);
  --glass-border: var(--border-default);
  --highlight-top: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  --highlight-edge: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.36);

  /* -------------------- Ambient Aurora & Blueprint Textures -------------------- */
  --page-ambient:
    radial-gradient(ellipse 78% 44% at 50% -12%, rgba(194, 240, 120, 0.085) 0%, transparent 68%),
    radial-gradient(ellipse 52% 38% at 92% -4%, rgba(103, 227, 219, 0.075) 0%, transparent 66%),
    radial-gradient(ellipse 44% 34% at 8% 18%, rgba(130, 182, 255, 0.045) 0%, transparent 64%);
  --hero-bg:
    radial-gradient(ellipse 64% 96% at 88% 8%, rgba(64, 168, 178, 0.28) 0%, transparent 62%),
    radial-gradient(ellipse 56% 84% at 64% 106%, rgba(154, 226, 92, 0.20) 0%, transparent 58%),
    radial-gradient(ellipse 46% 64% at 12% 0%, rgba(102, 146, 238, 0.14) 0%, transparent 60%),
    linear-gradient(148deg, #131b28 0%, #0d131e 56%, #0a1019 100%);
  --hero-grid-line: rgba(176, 222, 218, 0.075);
  --grid-dot: rgba(196, 220, 244, 0.13);
  --grid-line: rgba(196, 220, 244, 0.055);

  /* -------------------- Typography Ink & Brand -------------------- */
  --text-1: #f3f6fb;
  --text-2: #b8c6d9;
  --text-3: #8a9cb3;

  --brand: #c2f078;
  --brand-hover: #d4f89a;
  --brand-ink: #0c180a;
  --brand-tint: rgba(194, 240, 120, 0.11);
  --brand-border: rgba(194, 240, 120, 0.34);
  --brand-glow: rgba(194, 240, 120, 0.26);
  --focus-ring: 0 0 0 2px #070a0f, 0 0 0 4px #c2f078;

  /* Default Accent Context (overridden by level accent classes) */
  --accent: var(--brand);
  --accent-tint: var(--brand-tint);
  --accent-border: var(--brand-border);
  --accent-glow: var(--brand-glow);

  /* -------------------- Semantic Status Tokens -------------------- */
  --ok: #6ee7a8;
  --ok-ink: #062115;
  --ok-bg: rgba(110, 231, 168, 0.11);
  --ok-border: rgba(110, 231, 168, 0.30);

  --warn: #f5be6b;
  --warn-ink: #221404;
  --warn-bg: rgba(245, 190, 107, 0.11);
  --warn-border: rgba(245, 190, 107, 0.30);

  --err: #fb8f85;
  --err-ink: #260a08;
  --err-bg: rgba(251, 143, 133, 0.12);
  --err-border: rgba(251, 143, 133, 0.32);

  --info: #7ec0ff;
  --info-ink: #07192b;
  --info-bg: rgba(126, 192, 255, 0.11);
  --info-border: rgba(126, 192, 255, 0.30);

  /* -------------------- Mastery Grades (S / A / B) & Gold Aliases -------------------- */
  --grade-s: #ffd875;
  --grade-s-ink: #241703;
  --grade-s-bg: rgba(255, 216, 117, 0.13);
  --grade-s-border: rgba(255, 216, 117, 0.38);
  --grade-s-glow: rgba(255, 216, 117, 0.24);

  --grade-a: #67e8dc;
  --grade-a-ink: #05201e;
  --grade-a-bg: rgba(103, 232, 220, 0.12);
  --grade-a-border: rgba(103, 232, 220, 0.34);
  --grade-a-glow: rgba(103, 232, 220, 0.22);

  --grade-b: #8ab8ff;
  --grade-b-ink: #08172c;
  --grade-b-bg: rgba(138, 184, 255, 0.12);
  --grade-b-border: rgba(138, 184, 255, 0.34);
  --grade-b-glow: rgba(138, 184, 255, 0.20);

  --gold: var(--grade-s);
  --gold-ink: var(--grade-s-ink);
  --gold-bg: var(--grade-s-bg);
  --gold-border: var(--grade-s-border);
  --gold-glow: var(--grade-s-glow);

  /* -------------------- Contrast-Safe Locked State Tokens -------------------- */
  --locked-bg: #0f151f;
  --locked-border: rgba(214, 232, 255, 0.11);
  --locked-text: #97a9bf;
  --locked-muted: #8396ad;

  /* -------------------- 28-Day Activity Heatmap Scale -------------------- */
  --heat-0: rgba(214, 232, 255, 0.08);
  --heat-0-border: rgba(214, 232, 255, 0.14);
  --heat-1: rgba(194, 240, 120, 0.22);
  --heat-2: rgba(194, 240, 120, 0.44);
  --heat-3: rgba(194, 240, 120, 0.70);
  --heat-4: #c2f078;

  /* -------------------- Constellation Map Tokens -------------------- */
  --constellation-line: rgba(214, 232, 255, 0.20);
  --constellation-node-bg: var(--bg-2);
  --constellation-node-border: var(--border-strong);

  /* -------------------- 5 Rank Tier Accents -------------------- */
  --tier-1: #9bb4a8;
  --tier-2: #67e3db;
  --tier-3: #82b6ff;
  --tier-4: #bfa4ff;
  --tier-5: #ffd875;

  /* -------------------- Theme-Adaptive SVG Artwork Tokens -------------------- */
  --art-brand: var(--brand);
  --art-brand-hi: #e8ffc2;
  --art-lime: #c2f078;
  --art-lime-bright: #e8ffc2;
  --art-cyan: #67e3db;
  --art-cyan-soft: #84dce2;
  --art-blue: #82b6ff;
  --art-violet: #bfa4ff;
  --art-gold: #ffd875;
  --art-rose: #f798ab;
  --art-grid: #5d8e8c;
  --art-grid-strong: #80b3b0;
  --art-surface: var(--bg-2);
  --art-sheen: rgba(255, 255, 255, 0.16);
  --art-plane-a: rgba(194, 240, 120, 0.22);
  --art-plane-b: rgba(103, 227, 219, 0.14);
  --art-plane-c: rgba(130, 182, 255, 0.06);
  --art-halo-core: rgba(194, 240, 120, 0.38);
  --art-halo-mid: rgba(103, 227, 219, 0.12);
  --art-label: var(--text-3);
  --art-ring-start: #67e3db;
  --art-ring-end: #c2f078;

  /* -------------------- Interactive Lab Plots & Progress Charts -------------------- */
  --plot-bg: #0a0f17;
  --plot-grid: #2b3b4e;
  --plot-subgrid: rgba(108, 138, 168, 0.22);
  --plot-axis: #607c99;
  --plot-line: #eaf2fc;
  --plot-dash: #f5b95b;
  --plot-pos: #c2f078;
  --plot-pos-stroke: #132616;
  --plot-neg: #6cc6f0;
  --plot-neg-stroke: #102438;
  --plot-zone-pos: rgba(194, 240, 120, 0.11);
  --plot-zone-neg: rgba(108, 198, 240, 0.11);
  --plot-normal: #c2f078;
  --plot-focus: #c2f078;
  --plot-focus-neg: #6cc6f0;
  --plot-wrong: #ff8c7a;
  --plot-sq-fill: rgba(245, 185, 91, 0.20);
  --plot-sq-stroke: rgba(245, 185, 91, 0.56);
  --plot-pred-dot: #deebf6;
  --plot-guide: #67e3db;
  --plot-cut-dot: #f5be6b;
  --plot-dot-core: #0a0f17;
  --plot-node-bg: #182434;
  --plot-node-stroke: #67e3db;
  --plot-node-neg-bg: #152536;
  --plot-node-neg-stroke: #6cc6f0;
  --plot-node-pos-bg: #172a20;
  --plot-node-pos-stroke: #c2f078;
  --plot-pill-bg: #202f42;
  --plot-handle-idle: #f5be6b;
  --plot-handle-opt: #c2f078;
  --plot-bar-track: #1d2a3c;
  --plot-bar-muted: #7d96b0;
  --plot-bar-warn: #f5be6b;
  --plot-bar-gain: #c2f078;
  --plot-text: #b2c5da;
  --plot-muted: #8399b2;

  --chart-grid: var(--border-strong);
  --chart-line: var(--brand);
  --chart-area-top: rgba(194, 240, 120, 0.24);
  --chart-area-bottom: rgba(194, 240, 120, 0.0);
  --chart-point-stroke: var(--bg-2);
  --chart-ghost-stroke: rgba(194, 240, 120, 0.56);
  --radar-grid: var(--border-strong);
  --radar-axis: var(--border-subtle);
  --radar-fill: rgba(194, 240, 120, 0.22);
  --radar-stroke: var(--brand);
  --radar-benchmark-stroke: rgba(103, 227, 219, 0.62);
  --radar-benchmark-fill: rgba(103, 227, 219, 0.08);

  /* -------------------- Typography Scale, Tracking & Leading -------------------- */
  --font-sans: "PingFang SC", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei UI", "Noto Sans CJK SC", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;

  --text-hero: clamp(2.35rem, 4.8vw, 3.85rem);
  --text-h1: clamp(1.7rem, 3.1vw, 2.35rem);
  --text-h2: clamp(1.22rem, 1.9vw, 1.48rem);
  --text-h3: 1.03rem;
  --text-body: 0.9375rem;
  --text-sm: 0.8125rem;
  --text-xs: 0.75rem;
  --text-eyebrow: 0.6875rem;

  --track-hero: -0.035em;
  --track-tight: -0.022em;
  --track-snug: -0.012em;
  --track-normal: 0em;
  --track-eyebrow: 0.14em;

  --lh-hero: 1.08;
  --lh-heading: 1.24;
  --lh-body: 1.68;
  --lh-compact: 1.42;
  --measure-prose: 64ch;

  /* -------------------- Radii -------------------- */
  --r-xs: 6px;
  --r-sm: 9px;
  --r-md: 13px;
  --r-lg: 17px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* -------------------- Elevation Shadows -------------------- */
  --shadow-1: var(--highlight-top), 0 1px 2px rgba(0, 0, 0, 0.42), 0 6px 16px rgba(0, 0, 0, 0.24);
  --shadow-2: var(--highlight-edge), 0 10px 28px rgba(0, 0, 0, 0.50), 0 0 0 1px var(--accent-border);
  --shadow-3: var(--highlight-edge), 0 24px 60px rgba(0, 0, 0, 0.62), 0 0 40px -12px rgba(103, 227, 219, 0.12);
  --shadow-brand: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 24px -4px rgba(194, 240, 120, 0.34);
  --shadow-boss: var(--highlight-edge), 0 14px 36px rgba(0, 0, 0, 0.44), 0 0 28px -8px var(--gold-glow);
  --shadow-kbd: inset 0 -1px 0 rgba(0, 0, 0, 0.34);
  --shadow-brand-mark: 0 2px 10px rgba(0, 0, 0, 0.32);

  /* -------------------- Motion & Spring Curves -------------------- */
  --dur-instant: 90ms;
  --dur-fast: 150ms;
  --dur-base: 240ms;
  --dur-slow: 380ms;
  --dur-emphasis: 520ms;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.22, 1.15, 0.36, 1);
  --ease-spring-snappy: cubic-bezier(0.2, 1.25, 0.4, 1);
  --ease-spring-gentle: cubic-bezier(0.18, 1.05, 0.32, 1);
}

/* -------------------- 6-Level Accent System (Dark) -------------------- */
:root .lime { --accent: #c2f078; }
:root .cyan { --accent: #67e3db; }
:root .blue { --accent: #82b6ff; }
:root .violet { --accent: #bfa4ff; }
:root .amber { --accent: #f5be6b; }
:root .rose { --accent: #f798ab; }

:root :is(.lime, .cyan, .blue, .violet, .amber, .rose) {
  --accent-tint: color-mix(in srgb, var(--accent) 12%, transparent);
  --accent-border: color-mix(in srgb, var(--accent) 32%, transparent);
  --accent-glow: color-mix(in srgb, var(--accent) 22%, transparent);
  --shadow-2: var(--highlight-edge), 0 10px 28px rgba(0, 0, 0, 0.50), 0 0 0 1px var(--accent-border);
}

/* ==========================================================================
   Light Theme — Editorial Gallery Studio
   ========================================================================== */

:root[data-theme="light"] {
  color-scheme: light;

  /* -------------------- Surfaces & Elevation -------------------- */
  --bg-0: #f5f6f4;
  --bg-1: #ecefe9;
  --bg-2: #ffffff;
  --bg-3: #f1f4f0;
  --bg-4: #e4e9e2;
  --surface-elevated: linear-gradient(180deg, #ffffff 0%, #fafbf9 100%);
  --surface-recessed: #eef1ec;
  --glass-bg: rgba(252, 253, 251, 0.84);
  --glass-bg-strong: rgba(255, 255, 255, 0.95);
  --backdrop-bg: rgba(14, 23, 38, 0.38);

  /* -------------------- Hairlines & Specular Borders -------------------- */
  --border-subtle: rgba(14, 23, 38, 0.11);
  --border-default: rgba(14, 23, 38, 0.16);
  --border-strong: rgba(14, 23, 38, 0.20);
  --border-specular: rgba(255, 255, 255, 0.96);
  --highlight-top: inset 0 1px 0 rgba(255, 255, 255, 0.96);
  --highlight-edge: inset 0 1px 0 rgba(255, 255, 255, 0.96), inset 0 -1px 0 rgba(14, 23, 38, 0.045);

  /* -------------------- Ambient Aurora & Blueprint Textures -------------------- */
  --page-ambient:
    radial-gradient(ellipse 76% 42% at 50% -10%, rgba(47, 107, 14, 0.07) 0%, transparent 68%),
    radial-gradient(ellipse 48% 36% at 92% 0%, rgba(12, 107, 104, 0.07) 0%, transparent 66%),
    radial-gradient(ellipse 42% 32% at 8% 16%, rgba(33, 83, 166, 0.045) 0%, transparent 64%);
  --hero-bg:
    radial-gradient(ellipse 64% 96% at 88% 6%, rgba(12, 138, 132, 0.13) 0%, transparent 62%),
    radial-gradient(ellipse 56% 84% at 64% 104%, rgba(61, 139, 20, 0.11) 0%, transparent 58%),
    radial-gradient(ellipse 44% 60% at 10% 0%, rgba(33, 83, 166, 0.06) 0%, transparent 58%),
    linear-gradient(148deg, #ffffff 0%, #f6f9f5 58%, #eff5f4 100%);
  --hero-grid-line: rgba(14, 23, 38, 0.05);
  --grid-dot: rgba(14, 23, 38, 0.11);
  --grid-line: rgba(14, 23, 38, 0.045);

  /* -------------------- Typography Ink & Brand -------------------- */
  --text-1: #0e1726;
  --text-2: #334155;
  --text-3: #435163;

  --brand: #2f6b0e;
  --brand-hover: #24540a;
  --brand-ink: #ffffff;
  --brand-tint: rgba(47, 107, 14, 0.08);
  --brand-border: rgba(47, 107, 14, 0.26);
  --brand-glow: rgba(47, 107, 14, 0.18);
  --focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px #2f6b0e;

  /* -------------------- Semantic Status Tokens -------------------- */
  --ok: #0f6d43;
  --ok-ink: #ffffff;
  --ok-bg: rgba(15, 109, 67, 0.08);
  --ok-border: rgba(15, 109, 67, 0.24);

  --warn: #944d07;
  --warn-ink: #ffffff;
  --warn-bg: rgba(148, 77, 7, 0.09);
  --warn-border: rgba(148, 77, 7, 0.26);

  --err: #b82626;
  --err-ink: #ffffff;
  --err-bg: rgba(184, 38, 38, 0.08);
  --err-border: rgba(184, 38, 38, 0.24);

  --info: #1a56ad;
  --info-ink: #ffffff;
  --info-bg: rgba(26, 86, 173, 0.08);
  --info-border: rgba(26, 86, 173, 0.24);

  /* -------------------- Mastery Grades (S / A / B) -------------------- */
  --grade-s: #8f5200;
  --grade-s-ink: #ffffff;
  --grade-s-bg: rgba(196, 128, 12, 0.11);
  --grade-s-border: rgba(143, 82, 0, 0.32);
  --grade-s-glow: rgba(196, 128, 12, 0.16);

  --grade-a: #0c6b68;
  --grade-a-ink: #ffffff;
  --grade-a-bg: rgba(12, 107, 104, 0.09);
  --grade-a-border: rgba(12, 107, 104, 0.28);
  --grade-a-glow: rgba(12, 107, 104, 0.15);

  --grade-b: #2153a6;
  --grade-b-ink: #ffffff;
  --grade-b-bg: rgba(33, 83, 166, 0.09);
  --grade-b-border: rgba(33, 83, 166, 0.26);
  --grade-b-glow: rgba(33, 83, 166, 0.14);

  /* -------------------- Contrast-Safe Locked State Tokens -------------------- */
  --locked-bg: #edf1ec;
  --locked-border: rgba(14, 23, 38, 0.15);
  --locked-text: #475569;
  --locked-muted: #4d5c6f;

  /* -------------------- 28-Day Activity Heatmap Scale -------------------- */
  --heat-0: #e3e8e2;
  --heat-0-border: rgba(14, 23, 38, 0.16);
  --heat-1: rgba(47, 107, 14, 0.18);
  --heat-2: rgba(47, 107, 14, 0.38);
  --heat-3: rgba(47, 107, 14, 0.66);
  --heat-4: #2f6b0e;

  /* -------------------- Constellation Map Tokens -------------------- */
  --constellation-line: rgba(14, 23, 38, 0.28);
  --constellation-node-bg: #ffffff;
  --constellation-node-border: rgba(14, 23, 38, 0.24);

  /* -------------------- 5 Rank Tier Accents -------------------- */
  --tier-1: #476259;
  --tier-2: #0c6b68;
  --tier-3: #2153a6;
  --tier-4: #5b3db8;
  --tier-5: #8f5200;

  /* -------------------- Theme-Adaptive SVG Artwork Tokens -------------------- */
  --art-brand-hi: #4f8f1c;
  --art-lime: #3d8b14;
  --art-lime-bright: #5ea81e;
  --art-cyan: #0d8a84;
  --art-cyan-soft: #1c9aa0;
  --art-blue: #2563c9;
  --art-violet: #6246c2;
  --art-gold: #a86200;
  --art-rose: #b83250;
  --art-grid: #4b676a;
  --art-grid-strong: #324c50;
  --art-sheen: rgba(255, 255, 255, 0.78);
  --art-plane-a: rgba(61, 139, 20, 0.14);
  --art-plane-b: rgba(13, 138, 132, 0.10);
  --art-plane-c: rgba(37, 99, 201, 0.05);
  --art-halo-core: rgba(61, 139, 20, 0.18);
  --art-halo-mid: rgba(13, 138, 132, 0.08);
  --art-ring-start: #0c6b68;
  --art-ring-end: #2f6b0e;

  /* -------------------- Interactive Lab Plots & Progress Charts -------------------- */
  --plot-bg: #f8faf7;
  --plot-grid: #94a3b8;
  --plot-subgrid: rgba(82, 96, 113, 0.16);
  --plot-axis: #64748b;
  --plot-line: #0f172a;
  --plot-dash: #b45309;
  --plot-pos: #2f6b0e;
  --plot-pos-stroke: #ffffff;
  --plot-neg: #0369a1;
  --plot-neg-stroke: #ffffff;
  --plot-zone-pos: rgba(47, 107, 14, 0.09);
  --plot-zone-neg: rgba(3, 105, 161, 0.09);
  --plot-normal: #2f6b0e;
  --plot-focus: #2f6b0e;
  --plot-focus-neg: #0369a1;
  --plot-wrong: #c42b2b;
  --plot-sq-fill: rgba(180, 83, 9, 0.14);
  --plot-sq-stroke: rgba(180, 83, 9, 0.50);
  --plot-pred-dot: #334155;
  --plot-guide: #0c7b77;
  --plot-cut-dot: #b45309;
  --plot-dot-core: #ffffff;
  --plot-node-bg: #ffffff;
  --plot-node-stroke: #0c6b68;
  --plot-node-neg-bg: #f0f9ff;
  --plot-node-neg-stroke: #0369a1;
  --plot-node-pos-bg: #f2fbf0;
  --plot-node-pos-stroke: #2f6b0e;
  --plot-pill-bg: #ffffff;
  --plot-handle-idle: #b45309;
  --plot-handle-opt: #2f6b0e;
  --plot-bar-track: #e2e8e4;
  --plot-bar-muted: #64748b;
  --plot-bar-warn: #c26a0a;
  --plot-bar-gain: #2f6b0e;
  --plot-text: #3e4f63;
  --plot-muted: #5c6d80;

  --chart-area-top: rgba(47, 107, 14, 0.16);
  --chart-area-bottom: rgba(47, 107, 14, 0.0);
  --chart-ghost-stroke: rgba(47, 107, 14, 0.52);
  --radar-fill: rgba(47, 107, 14, 0.16);
  --radar-benchmark-stroke: #0d7370;
  --radar-benchmark-fill: rgba(13, 115, 112, 0.09);

  /* -------------------- Elevation Shadows (Light) -------------------- */
  --shadow-1: var(--highlight-top), 0 1px 2px rgba(14, 23, 38, 0.06), 0 4px 12px rgba(14, 23, 38, 0.04);
  --shadow-2: var(--highlight-top), 0 8px 24px -4px rgba(14, 23, 38, 0.10), 0 0 0 1px var(--accent-border);
  --shadow-3: var(--highlight-top), 0 20px 48px -10px rgba(14, 23, 38, 0.12), 0 2px 6px rgba(14, 23, 38, 0.04);
  --shadow-brand: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 22px -4px rgba(47, 107, 14, 0.30);
  --shadow-boss: var(--highlight-top), 0 12px 28px -6px rgba(14, 23, 38, 0.11), 0 0 0 1px var(--gold-border);
  --shadow-kbd: inset 0 -1px 0 rgba(14, 23, 38, 0.12);
  --shadow-brand-mark: 0 2px 8px rgba(14, 23, 38, 0.12);
}

/* -------------------- 6-Level Accent System (Light) -------------------- */
:root[data-theme="light"] .lime { --accent: #2f6b0e; }
:root[data-theme="light"] .cyan { --accent: #0c6b68; }
:root[data-theme="light"] .blue { --accent: #2153a6; }
:root[data-theme="light"] .violet { --accent: #5b3db8; }
:root[data-theme="light"] .amber { --accent: #944d07; }
:root[data-theme="light"] .rose { --accent: #a82b48; }

:root[data-theme="light"] :is(.lime, .cyan, .blue, .violet, .amber, .rose) {
  --accent-tint: color-mix(in srgb, var(--accent) 10%, transparent);
  --accent-border: color-mix(in srgb, var(--accent) 28%, transparent);
  --accent-glow: color-mix(in srgb, var(--accent) 18%, transparent);
  --shadow-2: var(--highlight-top), 0 8px 24px -4px rgba(14, 23, 38, 0.10), 0 0 0 1px var(--accent-border);
}

/* ==========================================================================
   Reduced Motion Safeguard
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-instant: 0ms;
    --dur-fast: 0ms;
    --dur-base: 0ms;
    --dur-slow: 0ms;
    --dur-emphasis: 0ms;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-pulse,
  .hero-pulse-alt,
  .hero-orbit,
  .hero-node-glow,
  .plot-focus {
    animation: none !important;
  }
}
