/* Design tokens: terminal-dark trading theme. Change colours here only. */
:root {
  --bg: #05070b;
  --bg-grid: rgba(120, 160, 200, 0.035);
  --surface: #0a0e14;
  --panel: #0d121a;
  --panel-2: #111823;
  --panel-3: #16202e;
  --line: #1a2331;
  --line-strong: #253145;
  --text: #e9eef5;
  --text-2: #b7c1cf;
  --muted: #7e8a9c;
  --faint: #4f5b6d;

  --accent: #2ff0a3;
  --accent-2: #1fd18b;
  --accent-ink: #02150d;
  --accent-soft: rgba(47, 240, 163, 0.1);
  --accent-line: rgba(47, 240, 163, 0.35);
  --accent-glow: 0 0 0 1px rgba(47, 240, 163, 0.35), 0 0 24px rgba(47, 240, 163, 0.12);

  --warn: #ffb547;
  --warn-soft: rgba(255, 181, 71, 0.1);
  --danger: #ff5f6d;
  --danger-soft: rgba(255, 95, 109, 0.1);
  --info: #72a8ff;
  --info-soft: rgba(114, 168, 255, 0.1);
  --sol: #a77bff;

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", Consolas, "Liberation Mono", monospace;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 20px;

  --sidebar-w: 264px;
  --topbar-h: 72px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 12px 40px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
svg { flex: none; }
[hidden] { display: none !important; }
.sprite { position: absolute; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 1; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Privacy mode blurs every balance on screen */
.is-private [data-private] { filter: blur(7px); user-select: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
