/* prism red night — graphite and a bright red. Neutral graphite with one saturated accent; the ground and
   the type spectrum are the family's, so only the named colour moves.
   The error red moves for the same reason as the light half — see there.
   THE LAW: DARK EMITS. */
:root[data-theme="prism-red-night"]{
  color-scheme:dark;

  --bg:#16181c;
  --surface:#1f2227;
  --panel:#282c33;
  --panel-2:#343941;
  --field:#16181c;
  --rail:rgba(10,11,13,.5);

  --ink:#ececed;
  --ink-dim:#b6b6ba;
  --ink-dimmer:#94949a;

  --accent:#ff8a7d;
  --accent-hi:#ffb8ae;
  --accent-lo:#b8503f;
  --on-accent:#2b0b06;

  --red:#c94436;
  --red-ink:#ffb3a5;
  --green:#3fd39a;
  --green-ink:#7ceec0;

  --t-source:#b9cccf; --t-atomic:#7fb0ff; --t-qa:#a8dc46;
  --t-claim:#ffb894;  --t-summary:#ffd166; --t-pattern:#c39bff;
  --t-finding:#ff7ab8;
  --atomic-ink:#9cc3ff;
  --pattern-ink:#d3b6ff;

  --accent-rgb:255,138,125;
  --deep-rgb:10,11,13;
  --panel-rgb:40,44,51;
  --panel2-rgb:31,34,39;
  --red-rgb:201,68,54;
  --green-rgb:63,211,154;
  --claim-rgb:255,184,148;
  --atomic-rgb:127,176,255;
  --pattern-rgb:195,155,255;
  --shadow-rgb:0,0,0;
  --sheen-rgb:255,255,255;
  --ink-dimmer-rgb:148,148,154;

  --line:rgba(255,138,125,.18);
  --line-soft:rgba(255,138,125,.10);
  --rust:#e08a5c;
  --hm1:#3a1a14; --hm2:#7d3229; --hm3:#c25547; --hm4:#ffb8ae;
  --s-ignored:#6e7075;
  /* see the light half: the wash is on the fixed layers, never on --lamp. */
  --lamp:none;
  --lamp-fixed:
    radial-gradient(78vw 62vh at 108% -6%,rgba(255,138,125,.20),transparent 66%),
    radial-gradient(96vw 70vh at 84% -14%,rgba(194,85,71,.10),transparent 64%),
    radial-gradient(95vw 66vh at 52% -22%,rgba(195,155,255,.05),transparent 60%);
  --lamp-drift:
    radial-gradient(72vw 56vh at 100% 0%,rgba(255,138,125,.09),transparent 62%),
    radial-gradient(84vw 58vh at 66% 2%,rgba(194,85,71,.045),transparent 62%);
  --lift:0 8px 26px -10px rgba(0,0,0,.62);
  --veil:rgba(14,16,18,.58);
  --dial-on:rgba(255,138,125,.18);
  --graph-bg:#111316;
  --graph-veil:rgba(22,24,28,.72);

  --panel-lift:0 10px 28px -16px rgba(0,0,0,.52);
  /* an edge, not a light source — held under 4.5:1 on the panel */
  --card-flow:linear-gradient(90deg,#be5344 0%,#ec6755 52%,#853a30 100%);

  --attn-ink:#ececed; --attn-rgb:250,150,60; --attn-bed:.13; --attn-bd:.70;
}
