/* =============================================================================
 * tokens.css — MR PENIS OS design system: THE STORM
 *
 * Forked from VENUS-OS's tokens (Tactical-OS 96 chassis + dragonfruit-drive
 * instrument interiors). Token NAMES are kept so every ported app keeps
 * working; the VALUES are taken off the community meme of him — a warm tabby
 * cut out over an icy electric-blue storm, the name in dripping frost:
 *
 *   chassis ......... storm navy
 *   --gold .......... ELECTRIC CYAN — the glow around him; brand / actions
 *   --brass ......... steel blue, structural chrome
 *   --champagne ..... ice
 *   --sulfur ........ violet lightning — data highlights
 *   --ember ......... orange — warnings (the one warm colour that isn't him)
 * ===========================================================================*/

:root {
  --void:      #02060d;
  --night:     #050d18;
  --panel:     #0a1626;
  --panel-2:   #0f2036;
  --sunken:    #030912;

  --bevel-hi:  #2d6a9f;
  --bevel-sh:  #01040a;
  --line:      #17324f;
  --line-2:    #2d6a9f;

  --gold:      #39d0ff;   /* electric cyan: actions, focus, the brand */
  --gold-hi:   #d4f6ff;
  --gold-deep: #1374c4;
  --brass:     #3a6f9e;   /* steel blue */
  --champagne: #bfe6ff;   /* ice */

  --sulfur:    #b9a6ff;   /* violet lightning */
  --ember:     #ff8a3d;   /* warnings */
  --scorch:    #c2410c;
  --dial-navy: #071a2e;
  --dial-deep: #020a14;

  --text:      #e8f7ff;
  --dim:       #8fb3cc;
  --faint:     #557590;
  --ink:       #021018;   /* text ON cyan */

  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display: "Creepster", "Arial Black", Impact, ui-sans-serif, sans-serif;

  /* ---- geometry ----
     Two radii on purpose. The OS chrome is SQUARE (Tactical-OS is a 9x
     homage; rounding it kills the bevel). The instrument cards inside the
     windows are ROUNDED (dragonfruit-drive's rack is 12px). The contrast
     between the two is the whole visual joke: soft modern instruments
     mounted in a hard retro chassis. */
  --r-chrome:  0px;
  --r-card:    12px;
  --r-ctl:     8px;

  --tbar-h:    24px;
  --taskbar-h: 36px;

  /* ---- glow: dragonfruit's .genbtn shadow, re-hued ---- */
  --glow-gold: 0 0 18px rgba(57, 208, 255, .42);
  --glow-hot:  0 0 24px rgba(255, 138, 61, .45);
  --drop:      2px 2px 0 rgba(0, 0, 0, .5);
}

/* The site is deliberately single-theme (a storm-navy instrument panel).
   It does not invert for light mode — but it must still be legible, so we
   only harden contrast rather than flipping the palette. */
@media (prefers-color-scheme: light) {
  :root { --dim: #a3c3d8; --faint: #6d8ca5; }
}

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