/* Canonical theme definitions for loysystems.com.
 *
 * ONE source of truth for the three themes. Every page links this file and
 * loads theme.js; no page defines its own palette. Before this, the palettes
 * were copy-pasted into each page's <style> and had drifted: three different
 * "clean" definitions, two different "cyber", botsounds missing four
 * variables entirely, and the switcher labelled TRM/CLN/CYB on most pages but
 * term/clean/cyber on stocks.
 *
 * The values below are the superset that index.html carried - every other
 * page's palette was a subset of it with identical values, so adopting it
 * loses nothing and gives the leaner pages the --admin and --discord
 * variables they were missing.
 *
 * NOT here, deliberately: --mono and --display. Those are per-page typography
 * (dailypoll, stocks and watchlist are sans-serif by choice while the rest are
 * monospace) and no theme overrides them, so they stay in each page's <style>.
 *
 * The theme list itself lives in theme.js. Adding a theme means adding a block
 * here AND an entry there.
 */

/* terminal - the default, applied when no data-theme is set */
:root {
  --admin:         #e06c75;
  --amber:         #ffb347;
  --amber-deep:    #7a5320;
  --amber-dim:     #b57f32;
  --amber-glow:    rgba(255, 179, 71, 0.15);
  --bg:            #0a0d14;
  --bg-warm:       #0d1019;
  --border:        #1f2736;
  --border-amber:  #4a3826;
  --border-bright: #2e3a52;
  --discord:       #7289da;
  --err:           #e06c75;
  --err-glow:      rgba(224, 108, 117, 0.15);
  --ok:            #7dbf6a;
  --ok-glow:       rgba(125, 191, 106, 0.15);
  --panel:         #12161f;
  --panel-2:       #0e1219;
  --panel-3:       #161b27;
  --text:          #e6e1d3;
  --text-dim:      #8a8f9c;
  --text-muted:    #4f5663;
  --warn:          #e5c07b;
  --warn-glow:     rgba(229, 192, 123, 0.15);
}

[data-theme="clean"] {
  --admin:         #c8192c;
  --amber:         #2c6fdd;
  --amber-deep:    #123894;
  --amber-dim:     #1a52b5;
  --amber-glow:    rgba(44, 111, 221, 0.12);
  --bg:            #f2f4f8;
  --bg-warm:       #ffffff;
  --border:        #ccd0db;
  --border-amber:  #b8c2d8;
  --border-bright: #9ba3b5;
  --discord:       #5865f2;
  --err:           #c8192c;
  --err-glow:      rgba(200, 25, 44, 0.12);
  --ok:            #14863c;
  --ok-glow:       rgba(20, 134, 60, 0.12);
  --panel:         #ffffff;
  --panel-2:       #edf0f5;
  --panel-3:       #e4e8f0;
  --text:          #1a1e2e;
  --text-dim:      #3d4460;
  --text-muted:    #8890a8;
  --warn:          #b55c00;
  --warn-glow:     rgba(181, 92, 0, 0.12);
}

[data-theme="cyber"] {
  --admin:         #ff2255;
  --amber:         #00ffcc;
  --amber-deep:    #005544;
  --amber-dim:     #00cc99;
  --amber-glow:    rgba(0, 255, 204, 0.15);
  --bg:            #06000e;
  --bg-warm:       #0a0018;
  --border:        #2a0055;
  --border-amber:  #1a0040;
  --border-bright: #5500aa;
  --discord:       #8866ff;
  --err:           #ff2255;
  --err-glow:      rgba(255, 34, 85, 0.15);
  --ok:            #00ffcc;
  --ok-glow:       rgba(0, 255, 204, 0.15);
  --panel:         #0e0020;
  --panel-2:       #080015;
  --panel-3:       #140030;
  --text:          #ddd0ff;
  --text-dim:      #9080c0;
  --text-muted:    #504080;
  --warn:          #ffdd00;
  --warn-glow:     rgba(255, 221, 0, 0.15);
}
