:root {
  color-scheme: dark;
  --ui-bg: #0b1120;
  --ui-bg-elevated: #111a2d;
  --ui-surface: #16233d;
  --ui-surface-soft: #121d35;
  --ui-surface-strong: #1b2b4b;
  --ui-border: #263752;
  --ui-border-soft: rgba(110, 168, 254, .18);
  --ui-text: #edf4ff;
  --ui-text-soft: #cbd8ea;
  --ui-muted: #9aabc4;
  --ui-faint: #71839e;
  --ui-brand: #d52b3d;
  --ui-brand-action: #e94560;
  --ui-brand-strong: #b40016;
  --ui-brand-soft: #ff9aa8;
  --ui-accent: #4ec9b0;
  --ui-accent-strong: #77e2ca;
  --ui-action: #6ea8fe;
  --ui-action-strong: #89b9ff;
  --ui-success: #42d392;
  --ui-warning: #f0b45b;
  --ui-danger: #ff6b7a;
  --ui-market-buy: #ef536c;
  --ui-market-sell: #49c277;
  --ui-price: #ffd84d;
  --ui-chrome-bg: #0b1120;
  --ui-chrome-surface: #16233d;
  --ui-chrome-border: rgba(110, 168, 254, .18);
  --ui-chrome-text: #edf4ff;
  --ui-chrome-muted: #9aabc4;
  --ui-chrome-accent: #77e2ca;
  --ui-shadow: 0 18px 48px rgba(0, 0, 0, .24);
  --ui-shadow-strong: 0 24px 70px rgba(0, 0, 0, .38);
  --ui-radius-sm: 6px;
  --ui-radius-md: 10px;
  --ui-radius-lg: 14px;
  --ui-font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  --ui-font-mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

:root[data-theme="light"] {
  color-scheme: light;
  --ui-bg: #f5f7fb;
  --ui-bg-elevated: #ffffff;
  --ui-surface: #ffffff;
  --ui-surface-soft: #f0f4fa;
  --ui-surface-strong: #e7edf7;
  --ui-border: #d6dfed;
  --ui-border-soft: rgba(45, 88, 145, .18);
  --ui-text: #17253d;
  --ui-text-soft: #31445f;
  --ui-muted: #60718a;
  --ui-faint: #8392a8;
  --ui-brand: #c51f35;
  --ui-brand-action: #d8334b;
  --ui-brand-strong: #9f1428;
  --ui-brand-soft: #ee7183;
  --ui-accent: #087f70;
  --ui-accent-strong: #0a9c88;
  --ui-action: #2869c7;
  --ui-action-strong: #1b58b2;
  --ui-success: #198754;
  --ui-warning: #a96a00;
  --ui-danger: #c53043;
  --ui-market-buy: #c53043;
  --ui-market-sell: #16824e;
  --ui-price: #a96a00;
  --ui-shadow: 0 14px 36px rgba(31, 54, 87, .12);
  --ui-shadow-strong: 0 24px 70px rgba(31, 54, 87, .18);
}
