/* Theme tokens. Skins swap these via body[data-theme]; unlock them in the Shop.
   dark_2am is the default. The other three are jokes with working contrast. */

:root,
[data-theme="dark_2am"] {
  /* Blue-black room at 2 AM, lit by one monitor. */
  --bg: #090d18;
  --bg-2: #0d1322;
  --surface: #131a2c;
  --surface-2: #1b2440;
  --surface-3: #27314f;
  --line: #36436b;
  --text: #eef1ff;
  --muted: #9aa5c9;
  --ink: #05070d;

  /* One loud accent (focus, primary action, progress), one for hype, one for warnings. */
  --acid: #c6ff3d;
  --acid-2: #a9e02a;
  --acid-hi: #d6ff70;
  --acid-soft: rgba(198, 255, 61, 0.1);
  --acid-ink: #132000;
  --hot: #ff2e88;
  --hot-2: #d81b6e;
  --warn: #ffb020;

  --cell-a: #121a2e;
  --cell-b: #0f1626;
  --glow-room: #111a33;
  --taskbar: #070a13;

  --wp-text: rgba(198, 255, 61, 0.07);
  color-scheme: dark;
}

/* Light Mode Jahat: blinding on purpose, still readable. */
[data-theme="light_mode_jahat"] {
  --bg: #fdfdf6;
  --bg-2: #f1f1e6;
  --surface: #ffffff;
  --surface-2: #f4f4ea;
  --surface-3: #dcdccd;
  --line: #b9b9a6;
  --text: #0d0d12;
  --muted: #4c4c58;
  --ink: #0d0d12;

  --acid: #1f7a00;
  --acid-2: #186000;
  --acid-hi: #2a9300;
  --acid-soft: rgba(31, 122, 0, 0.1);
  --acid-ink: #ffffff;
  --hot: #c4005f;
  --hot-2: #9e004c;
  --warn: #9a5a00;

  --cell-a: #f4f4ea;
  --cell-b: #e8e8db;
  --glow-room: #ffffff;
  --taskbar: #e8e8dc;

  --wp-text: rgba(31, 122, 0, 0.08);
  color-scheme: light;
}

/* Jadul: a generic late-90s desktop. Teal wallpaper, grey windows, navy title bars. */
[data-theme="jadul"] {
  --bg: #008080;
  --bg-2: #dfdfdf;
  --surface: #c0c0c0;
  --surface-2: #d4d0c8;
  --surface-3: #a0a0a0;
  --line: #808080;
  --text: #000000;
  --muted: #303030;
  --ink: #000000;

  --acid: #000080;
  --acid-2: #1084d0;
  --acid-hi: #1010a0;
  --acid-soft: rgba(0, 0, 128, 0.12);
  --acid-ink: #ffffff;
  --hot: #800000;
  --hot-2: #600000;
  --warn: #6b5b00;

  --cell-a: #dfdfdf;
  --cell-b: #cfcfcf;
  --glow-room: #008080;
  --taskbar: #c0c0c0;

  --wp-text: rgba(255, 255, 255, 0.12);
  --font-ui: Tahoma, Verdana, "Segoe UI", sans-serif;
  --r-sm: 0px;
  --r-md: 0px;
  color-scheme: light;
}
/* Desktop text sits on teal, not on a window. */
[data-theme="jadul"] .desk-icon span { color: #fff; text-shadow: 1px 1px 0 #000; }

/* Neon Gabut: kosan neon lights at 3 AM. Streak day-7 reward. */
[data-theme="neon_gabut"] {
  --bg: #0b0014;
  --bg-2: #12001f;
  --surface: #1a0630;
  --surface-2: #260b45;
  --surface-3: #3a1666;
  --line: #5b2a96;
  --text: #fbefff;
  --muted: #c3a6e6;
  --ink: #040008;

  --acid: #00f0ff;
  --acid-2: #00b8c4;
  --acid-hi: #6ff8ff;
  --acid-soft: rgba(0, 240, 255, 0.1);
  --acid-ink: #001a1d;
  --hot: #ff00d4;
  --hot-2: #c000a0;
  --warn: #fff200;

  --cell-a: #1c0733;
  --cell-b: #15042a;
  --glow-room: #3a0a5c;
  --taskbar: #08000f;

  --wp-text: rgba(0, 240, 255, 0.08);
  color-scheme: dark;
}
