/* ---------------------------------------------------------------------------
   tokens.css — the single source of truth for borderlan.land design tokens.
   Loaded first; every other stylesheet references these vars, never raw hex.
   Values are the authentic Diablo II palette (previously split/overridden
   between style.css and d2-theme.css).
--------------------------------------------------------------------------- */

:root{
  /* ---- Palette (D2 UI) ---- */
  --gold:#c7b377;            /* antique gold — labels, headers, highlights   */
  --gold-lt:#dcc98c;         /* lit gold — hover / emphasis only             */
  --gold-dk:#5c4a1e;         /* hairline gold-iron for borders               */
  --parch:#cfccc2;           /* body text: soft silver-white                 */
  --ink:#0a0806;             /* near-black base                              */
  --d2-white:#e8e6e0;        /* brightest body value (names)                 */
  --d2-gray:#7a766c;         /* muted labels / italics                       */
  --d2-red:#a02020;
  --d2-red-lt:#c04040;       /* readable red for small text on black         */
  --d2-blue:#8484e8;         /* slate "magic" blue — gems, sparingly         */
  --muted:#8d8271;           /* dim placeholder / secondary text             */
  --stone-ink:#1c1410;       /* dark text on the gold stone plaques          */
  --gold-warm-rgb:200,162,74;/* warm border-gold as an RGB triple for rgba() */
  --ink-rgb:10,8,6;          /* --ink as an RGB triple (input fills etc.)     */

  /* ---- Semantic status tokens (style.css reads these) ---- */
  --ok:var(--d2-blue);       --ok-bg:rgba(10,10,26,.5);   --ok-bd:rgba(105,105,255,.35);
  --full:var(--d2-red-lt);   --full-bg:rgba(80,18,14,.4);  --full-bd:rgba(170,55,48,.5);

  /* ---- Antique-gold edge tints (repeated across borders/insets) ---- */
  --gold-edge:rgba(199,179,119,.5);   /* frame gem-gold, strong edge         */
  --gold-hair:rgba(199,179,119,.15);  /* faint inset hairline                */
  --gold-rule:rgba(199,179,119,.32);  /* header/divider rule                 */

  /* ---- Type ---- */
  --font-display:"Diablo","Cinzel",serif;   /* Exocet-replica display face   */
  --font-body:"EB Garamond",Georgia,serif;  /* humanist body                 */
}
