

:root {

  --ground:        #08090c;
  --surface-1:     #0d0f14;
  --surface-2:     #12141a;
  --surface-3:     #1a1d24;
  --surface-sunk:  #050609;

  --edge-light:    rgba(255,255,255,0.05);
  --border-subtle: rgba(255,255,255,0.07);
  --border-soft:   rgba(255,255,255,0.045);
  --border-strong: rgba(255,255,255,0.13);

  --text-primary:  #eef1f4;
  --text-secondary:#a2adb9;
  --text-muted:    #71808f;
  --text-faint:    #4c5867;

  --accent:        #92d84e;
  --accent-hover:  #a8e86a;
  --accent-deep:   #7ab648;
  --accent-dim:    rgba(146,216,78,0.12);
  --accent-wash:   rgba(146,216,78,0.08);
  --border-hover:  rgba(146,216,78,0.38);

  --m-cpu:     #92d84e;
  --m-memory:  #818cf8;
  --m-disk:    #22d3ee;
  --m-players: #f472b6;

  --ok:     #92d84e;  --ok-wash:     rgba(146,216,78,0.11);
  --warn:   #f59e0b;  --warn-wash:   rgba(245,158,11,0.11);
  --danger: #f87171;  --danger-wash: rgba(248,113,113,0.11);
  --info:   #60a5fa;  --info-wash:   rgba(96,165,250,0.11);
  --idle:   #71808f;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.45);
  --shadow-md: 0 4px 18px rgba(0,0,0,0.42);
  --shadow-lg: 0 14px 38px rgba(0,0,0,0.5);

  --font-display: "Silkscreen", "Courier New", monospace;
  --font-body:    "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 14px; --radius-full: 999px;

  --ease: cubic-bezier(.32,.72,0,1);
  --t-fast: 120ms; --t: 200ms; --t-slow: 380ms;
  --transition: var(--t-fast) var(--ease);

  --bg-dark: var(--ground);
  --bg: var(--ground);
  --bg-card: var(--surface-1);
  --bg-card-2: var(--surface-2);
  --bg-card-solid: var(--surface-1);
  --bg-input: var(--surface-3);
  --bg-sidebar: var(--surface-1);
  --border: var(--border-subtle);
  --shadow: var(--shadow-md);
  --accent-hover: #a8e86a;
  --green: var(--accent);
  --green-dim: var(--accent-dim);
  --moss-bright: var(--accent);
  --moss-glow: var(--accent-hover);
  --moss-light: var(--accent-deep);
  --moss-deep: var(--surface-1);
  --moss-dark: var(--surface-2);
  --moss-mid: var(--surface-3);

  --text-1: var(--text-primary);
  --text-2: var(--text-secondary);
  --text-3: var(--text-muted);
  --r-sm: var(--radius-sm);
  --r-md: var(--radius-md);
  --r-lg: var(--radius-lg);

  --bark: var(--surface-2);
  --bark-light: var(--surface-3);
  --stone: var(--text-muted);
  --stone-light: var(--text-secondary);
  --cream: var(--text-primary);
  --white: var(--text-primary);
}

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

html { font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--ground);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

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

.tnum, .stat-value, .token-display, .price-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

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