*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-deep:    #080c18;
  --bg-base:    #0a0e1a;
  --bg-panel:   #0d1528;
  --bg-card:    #111827;
  --bg-hover:   #1a2540;
  --border:     rgba(255,255,255,0.08);
  --border-hi:  rgba(255,255,255,0.15);
  --text-hi:    #ffffff;
  --text-main:  rgba(255,255,255,0.85);
  --text-dim:   rgba(255,255,255,0.45);
  --text-muted: rgba(255,255,255,0.25);
  --blue:       #4a9eff;
  --green:      #4dff91;
  --red:        #ff6b6b;
  --amber:      #ffd32a;
  --purple:     #a29bfe;
  --cyan:       #00d2d3;
  --augra:      #1dd1a1;
  --font-mono:  'JetBrains Mono', 'Fira Code', monospace;
  --radius:     8px;
  --radius-lg:  12px;
}
html, body, #root { height: 100%; background: var(--bg-deep); color: var(--text-main); font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
code, pre { font-family: var(--font-mono); }
.mono { font-family: var(--font-mono); }
.green { color: var(--green); } .red { color: var(--red); } .amber { color: var(--amber); } .blue { color: var(--blue); }
.dim { color: var(--text-dim); } .muted { color: var(--text-muted); }
@keyframes pulse-live { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.pulse { animation: pulse-live 2s ease infinite; }
.regime-bull    { background: rgba(77,255,145,0.15); color: #4dff91; border-color: rgba(77,255,145,0.3); }
.regime-bear    { background: rgba(255,107,107,0.15); color: #ff6b6b; border-color: rgba(255,107,107,0.3); }
.regime-crisis  { background: rgba(255,211,42,0.15);  color: #ffd32a; border-color: rgba(255,211,42,0.3); }
.regime-ranging { background: rgba(162,155,254,0.15); color: #a29bfe; border-color: rgba(162,155,254,0.3); }
