/* Dark mode, generated by scripts/dark.cjs from the site's sheets: do not edit by hand, re-run it. */
[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0b0c10; --card: rgba(22, 24, 32, 0.74); --surface: rgba(22, 24, 32, 0.74); --surface-2: #1a1d26; --surface-3: #14161d;
  --line: rgba(255, 255, 255, 0.07); --line-2: rgba(255, 255, 255, 0.12);
  --ink: #f3f4f8; --ink-2: #c4c8d3; --muted: #8b91a1; --faint: #5f6575; --soft: #6f7585; --wordmark-grey: #8f95a5;
  --accent: #6b77ff; --accent-hover: #7f8aff; --accent-soft: rgba(107, 119, 255, 0.16);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 60px -30px rgba(0, 0, 0, 0.8), 0 2px 8px -4px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] html, html[data-theme="dark"] { background: #0b0c10; }
html[data-theme="dark"] body { background:
    radial-gradient(42% 38% at 58% 18%, rgba(98, 84, 210, 0.22), transparent 70%),
    radial-gradient(36% 32% at 12% 8%, rgba(60, 120, 220, 0.18), transparent 70%),
    radial-gradient(30% 30% at 88% 62%, rgba(200, 80, 150, 0.12), transparent 70%),
    #0b0c10; background-attachment: fixed; }
html[data-theme="dark"] .bar.solid { background: rgba(11, 12, 16, 0.78); }
html[data-theme="dark"] ::selection { background: #f3f4f8; color: #0b0c10; }
/* ink buttons and chips turn white with dark text */
html[data-theme="dark"] .btn.primary, html[data-theme="dark"] .seg button.on, html[data-theme="dark"] .fn, html[data-theme="dark"] .ch-go, html[data-theme="dark"] .owner-chip,
html[data-theme="dark"] .ob-steps li.done .ob-n, html[data-theme="dark"] .ob-n.done, html[data-theme="dark"] .cn-steps li.done b, html[data-theme="dark"] .toast, html[data-theme="dark"] .steps-dots i.on { color: #0b0c10; }
html[data-theme="dark"] .btn.primary:hover { background: #ffffff; }
html[data-theme="dark"] .btn.primary { box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.8); }
html[data-theme="dark"] .ch-go svg, html[data-theme="dark"] .btn.primary .arr { color: #0b0c10; }
html[data-theme="dark"] .x-go .plat svg { color: #0b0c10; }
html[data-theme="dark"] .xlink.brand-x { background: #f3f4f8; border-color: #f3f4f8; color: #0b0c10; }
html[data-theme="dark"] .mark-x { background: #f3f4f8; color: #0b0c10; }
html[data-theme="dark"] .brand img, html[data-theme="dark"] .hero-art img, html[data-theme="dark"] .ch-art img, html[data-theme="dark"] .road-art img, html[data-theme="dark"] .wallet-card .coins { filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.55)); }
html[data-theme="dark"] .sc-api .a-req { background: #05060a; }
html[data-theme="dark"] .av { background: linear-gradient(135deg, #2b2650, #1f3150); }
html[data-theme="dark"] .av.ini { color: #c4c8d3; }
html[data-theme="dark"] img.av, html[data-theme="dark"] .cn-mark svg { background: none; }
html[data-theme="dark"] .ob-steps li.done, html[data-theme="dark"] .ob-steps li.done:hover { background: none !important; border-color: transparent !important; }

/* from sf.css */
html[data-theme="dark"] .bar.solid { background: rgba(14, 15, 20, 0.8); }
html[data-theme="dark"] .xlink { background: rgba(24, 26, 34, 0.82); }
html[data-theme="dark"] .xlink:hover { background: #181a22; }
html[data-theme="dark"] .btn.ghost { background: rgba(24, 26, 34, 0.82); }
html[data-theme="dark"] .btn.ghost:hover { background: #181a22; }
html[data-theme="dark"] .btn.line:hover { background: rgba(79, 93, 255, 0.24); }
html[data-theme="dark"] .pill.claimed, html[data-theme="dark"] .pill.delivered { background: rgba(255, 170, 60, 0.14); color: #f0b25a; }
html[data-theme="dark"] .pill.open { background: rgba(52, 199, 89, 0.14); color: #5fd47c; }
html[data-theme="dark"] .card, html[data-theme="dark"] .panel, html[data-theme="dark"] .board { border: 1px solid rgba(255, 255, 255, 0.07); }
html[data-theme="dark"] .lm-list { background: rgba(24, 26, 34, 0.72); }
html[data-theme="dark"] .lm-row:hover { background: rgba(24, 26, 34, 0.92); }
html[data-theme="dark"] .addr { background: rgba(32, 35, 46, 0.9); }
html[data-theme="dark"] .strip { background: rgba(24, 26, 34, 0.42); }
html[data-theme="dark"] table.rows tr.click:hover td { background: rgba(24, 26, 34, 0.85); }
html[data-theme="dark"] .steps > div { border: 1px solid rgba(255, 255, 255, 0.07); }
html[data-theme="dark"] .feed a:hover { background: rgba(24, 26, 34, 0.7); }
html[data-theme="dark"] .prices > div { border: 1px solid rgba(255, 255, 255, 0.07); }
html[data-theme="dark"] .field input, html[data-theme="dark"] .field textarea, html[data-theme="dark"] .field select { background: rgba(24, 26, 34, 0.9); }

/* from app.css */
html[data-theme="dark"] .reply { background: rgba(24, 26, 34, 0.7); }

/* from dash.css */
html[data-theme="dark"] .cn-mark { box-shadow: 0 18px 40px -16px rgba(30, 150, 200, 0.55), 0 0 0 6px rgba(255, 255, 255, 0.06); }
html[data-theme="dark"] .cn-steps li { background: rgba(24, 26, 34, 0.6); }
html[data-theme="dark"] .btn.out { background: rgba(24, 26, 34, 0.82); }
html[data-theme="dark"] .seg { background: rgba(24, 26, 34, 0.7); }
html[data-theme="dark"] .kpis { border: 1px solid rgba(255, 255, 255, 0.07); }
html[data-theme="dark"] .pnl-delta .up { color: #5fd47c; }
html[data-theme="dark"] .tip { background: rgba(24, 26, 34, 0.92); }
html[data-theme="dark"] .d { background: rgba(24, 26, 34, 0.55); }
html[data-theme="dark"] .d.lv1 { background: color-mix(in srgb, var(--accent) 9%, #181a22); }
html[data-theme="dark"] .d.lv2 { background: color-mix(in srgb, var(--accent) 18%, #181a22); }
html[data-theme="dark"] .d.lv3 { background: color-mix(in srgb, var(--accent) 30%, #181a22); }
html[data-theme="dark"] .d.lv4 { background: color-mix(in srgb, var(--accent) 44%, #181a22); }
html[data-theme="dark"] .ob-steps li { background: rgba(24, 26, 34, 0.6); }
html[data-theme="dark"] .xin { background: rgba(24, 26, 34, 0.9); }

/* from admin.css */
html[data-theme="dark"] .snav a:hover { background: rgba(24, 26, 34, 0.7); }
html[data-theme="dark"] .snav a.on { background: #181a22; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 10px 24px -16px rgba(40, 48, 90, 0.35); }
html[data-theme="dark"] .tile.hot { background: linear-gradient(150deg, rgba(79, 93, 255, 0.12), rgba(24, 26, 34, 0.8) 60%); }
html[data-theme="dark"] .tile .glyph { background: rgba(24, 26, 34, 0.85); }
html[data-theme="dark"] .tip { background: rgba(24, 26, 34, 0.92); }
html[data-theme="dark"] .al.payment .ic { background: rgba(255, 170, 60, 0.14); color: #f0b25a; }
html[data-theme="dark"] .al.raid .ic { background: rgba(229, 72, 77, 0.16); }
html[data-theme="dark"] .search { background: rgba(24, 26, 34, 0.85); }
html[data-theme="dark"] .seg { background: rgba(24, 26, 34, 0.7); }
html[data-theme="dark"] .pill.live { background: rgba(52, 199, 89, 0.14); color: #5fd47c; }
html[data-theme="dark"] .pill.paused { background: rgba(229, 72, 77, 0.16); }
@media (max-width: 900px) { html[data-theme="dark"] .side { background: rgba(14, 15, 20, 0.9); } }

/* from dev.css */
html[data-theme="dark"] .code { background: rgba(14, 15, 20, 0.9); }
html[data-theme="dark"] .code .u { color: #f0b25a; }
html[data-theme="dark"] .code .n { color: #5fd47c; }
html[data-theme="dark"] .m.get { background: rgba(52, 199, 89, 0.14); color: #5fd47c; }
html[data-theme="dark"] .m.put { background: rgba(255, 170, 60, 0.14); color: #f0b25a; }
html[data-theme="dark"] .sc-api .a-res { background: #181a22; }
html[data-theme="dark"] .sc-api .a-res .n { color: #5fd47c; }
html[data-theme="dark"] .sc-api .a-st { color: #5fd47c; }

/* from explain.css */
html[data-theme="dark"] .st-steps button:hover { background: rgba(24, 26, 34, 0.5); }
html[data-theme="dark"] .st-steps button.on { border-color: rgba(255, 255, 255, 0.07); }
html[data-theme="dark"] .ui { background: #181a22; }
html[data-theme="dark"] .tick.ok { color: #5fd47c; }
html[data-theme="dark"] .sc-order .o-av { background: #181a22; }
html[data-theme="dark"] .sc-build .b-claimed { color: #5fd47c; }
html[data-theme="dark"] .sc-build .b-av { border: 3px solid rgba(255, 255, 255, 0.12); }
html[data-theme="dark"] .sc-pay .p-coin { background: radial-gradient(circle at 35% 30%, #181a22, #c9c2ff 55%, #8e9bff); }
html[data-theme="dark"] .sc-pay .p-tx { color: #5fd47c; }
html[data-theme="dark"] .sc-chat .c-paid { color: #5fd47c; }
html[data-theme="dark"] .sc-join .j-card .ic { background: #181a22; }
html[data-theme="dark"] .sc-join .j-card .ui-pill.won { background: rgba(52, 199, 89, 0.14); color: #5fd47c; }

/* from start.css */
html[data-theme="dark"] .choice { border: 1px solid rgba(255, 255, 255, 0.07); }
html[data-theme="dark"] .choice:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 40px 80px -40px rgba(40, 48, 90, 0.45), 0 2px 8px -4px rgba(40, 48, 90, 0.1); }
html[data-theme="dark"] .back { background: rgba(24, 26, 34, 0.8); }
html[data-theme="dark"] .back:hover { background: #181a22; }
html[data-theme="dark"] .flow li { border: 1px solid rgba(255, 255, 255, 0.07); }
