/* prism gold night — cool graphite and gold. Distinct from mnemodo dark, which
   is NAVY and gold: same accent family, completely different ground. The neutral
   dark for people who want the brand colour without the blue.
   THE LAW: DARK EMITS. */
:root[data-theme="prism-gold-night"]{
  color-scheme:dark;

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

  --ink:#efece4;
  --ink-dim:#b8b3a6;
  --ink-dimmer:#97928a;

  --accent:#dcb96e;
  --accent-hi:#f0d79a;
  --accent-lo:#8a7135;
  --on-accent:#1c1608;

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

  /* the dark spectrum: bright marks, closest pair 81 apart (mnemodo dark: 41) */
  --t-source:#b9cccf; --t-atomic:#7fb0ff; --t-qa:#a8dc46;
  --t-claim:#ff8a5c;  --t-summary:#ffd166; --t-pattern:#c39bff;
  --t-finding:#ff7ab8;
  --atomic-ink:#9cc3ff;
  --pattern-ink:#d3b6ff;

  --accent-rgb:220,185,110;
  --deep-rgb:10,11,13;
  --panel-rgb:40,44,51;
  --panel2-rgb:31,34,39;
  --red-rgb:232,96,76;
  --green-rgb:63,211,154;
  --claim-rgb:255,138,92;
  --atomic-rgb:127,176,255;
  --pattern-rgb:195,155,255;
  --shadow-rgb:0,0,0;
  --sheen-rgb:255,255,255;
  --ink-dimmer-rgb:151,146,138;

  --line:rgba(220,185,110,.18);
  --line-soft:rgba(220,185,110,.10);
  --rust:#d98a62;
  --hm1:#3a301c; --hm2:#6e5a2c; --hm3:#b8963f; --hm4:#f0d79a;
  --s-ignored:#6e7075;
  /* The wash, on the two FIXED layers (see cockpit.css) rather than on --lamp.
     --lamp is painted on the body, so its percentages resolve against the
     DOCUMENT: on a long page the blooms are positioned against a box several
     screens tall and the slice that reaches the top of the viewport collapses —
     the corner fade is there for the instant before layout and then effectively
     gone. Fixed layers are sized to the viewport and cannot care how tall the page
     is. Same idea prism lime shipped; the rest of the family never got it.
     Alphas are about half the light family's: on a dark ground a wide field turns
     the whole upper page into a light source, so it is kept tight and high — a
     colour ARRIVING in the corner the utility cluster sits in. */
  --lamp:none;   /* painted on the fixed layer instead — see --lamp-fixed */
  --lamp-fixed:
    radial-gradient(78vw 62vh at 108% -6%,rgba(220,185,110,.20),transparent 66%),
    radial-gradient(96vw 70vh at 84% -14%,rgba(205,155,90,.10),transparent 64%),
    radial-gradient(95vw 66vh at 52% -22%,rgba(140,140,200,.05),transparent 60%);
  /* …and the half that moves: two soft blooms, meant to be noticed after a minute
     rather than watched. Its own layer because it animates TRANSFORM only. */
  --lamp-drift:
    radial-gradient(72vw 56vh at 100% 0%,rgba(220,185,110,.09),transparent 62%),
    radial-gradient(84vw 58vh at 66% 2%,rgba(205,155,90,.045),transparent 62%);
  --lift:0 8px 26px -10px rgba(0,0,0,.62);
  --veil:rgba(14,16,18,.58);
  --dial-on:rgba(220,185,110,.18);
  --graph-bg:#111316;
  --graph-veil:rgba(22,24,28,.72);

  --panel-lift:0 10px 28px -16px rgba(0,0,0,.52);
  /* see lagoon-night: an edge, not a light source (1.8-4.3:1 on the panel) */
  --card-flow:linear-gradient(90deg,#8a7135 0%,#a88b46 52%,#635024 100%);

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