/* Darkpool — Cyberdeck Neuromancer system tokens (M12 foundation).
 * Magenta+cyan duotone on near-black with purple tint.
 * Loaded *after* terminal.css so :root tokens override the M11 phosphor palette
 * during the M12–M19 transition. terminal.css will be retired in M19. */

:root {
  /* Foundation */
  --bg:          #0a0612;
  --bg-panel:   #120a1e;
  --bg-row-alt: #0d0716;
  --void:        #0a0612;
  --void-deep:   #050309;
  --void-soft:   #120a1e;
  --void-line:   #1c1230;

  /* Duotone */
  --cyan:        #5cf2ff;
  --cyan-dim:    #3aa8b8;
  --cyan-deep:   #0e3a44;
  --cyan-glow:   rgba(92, 242, 255, 0.55);

  --magenta:     #ff4fd8;
  --magenta-dim: #b83898;
  --magenta-deep:#3a0e2e;
  --magenta-glow:rgba(255, 79, 216, 0.55);

  /* Whites + accents */
  --bone:        #e8e0ff;
  --bone-dim:    #9b8fb8;
  --ash:         #5a4f78;
  --rust:        #ff8a3c;
  --acid:        #b6ff5c;

  /* Compatibility shims for terminal.css references */
  --fg:          var(--bone);
  --fg-bright:  var(--bone);
  --fg-accent:  var(--cyan);
  --fg-muted:   var(--bone-dim);
  --fg-dim:     var(--ash);
  --line:        var(--void-line);
  --line-soft:  var(--void-line);
  --warn-bg:    #2a1f0a;
  --warn-line:  var(--rust);
  --warn-fg:    #ffdd88;
  --warn-link:  #ffee99;
  --err-bg:     #2a0a0a;
  --err-line:   #ff4444;
  --err-fg:     #ff8888;
  --self-bg:    var(--magenta-deep);
  --self-fg:    var(--magenta);
  --self-tag:   var(--rust);
  --new-bg:     #15291a;
  --badge-bg:   #ffdd44;
  --glow:       0 0 4px var(--magenta-glow);

  /* Type colors — used for sigils + matchup banners */
  --type-kernel:   #ff4fd8;
  --type-network:  #5cf2ff;
  --type-crypto:   #b6ff5c;
  --type-social:   #ffb84f;
  --type-hardware: #c08aff;

  /* Type fonts */
  --font-body:    "VT323", ui-monospace, "Menlo", monospace;
  --font-display: "Silkscreen", "VT323", monospace;
}

html, body { background: var(--bg); }

body {
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.3;
  -webkit-font-smoothing: none;
  font-smooth: never;
}

svg, img { image-rendering: pixelated; }

/* ---- type utility classes (used by re-skinned templates from M14 onward) ---- */
.t-display { font-family: var(--font-display); letter-spacing: 0.04em; }
.t-mono    { font-family: var(--font-body); }
.t-up      { text-transform: uppercase; letter-spacing: 0.08em; }
.t-bone    { color: var(--bone); }
.t-dim     { color: var(--bone-dim); }
.t-ash     { color: var(--ash); }
.t-cyan    { color: var(--cyan); text-shadow: 0 0 6px var(--cyan-glow); }
.t-mag     { color: var(--magenta); text-shadow: 0 0 6px var(--magenta-glow); }
.t-rust    { color: var(--rust); text-shadow: 0 0 6px rgba(255,138,60,0.5); }
.t-acid    { color: var(--acid); }
