/* The colour schemes, one at a time (html[data-pal]): LS-OS (nes/style.css) and the plain pages (site.css) both read
   these. --cs is the browser's own scheme for the ground (scroll bars, form controls): dark unless a scheme says light. */
/* 6: Deep Indigo #051230 (ground), Grenadine Pink #f48067. Pink on indigo 7.16:1. */
html, html[data-pal="6"] { --bg0: #051230; --fg0: #f48067; --hi0: #f48067; --soft0: #f48067; --line0: #f48067; --live0: #f48067;
  --rule0: #7c494c; /* Grenadine Pink 50% + Deep Indigo 50% */ }
/* 22: Deep Lyons Blue #1c4286 (ground), Yellow #fff200. Yellow on blue 8.26:1. */
html[data-pal="22"] { --bg0: #1c4286; --fg0: #fff200; --hi0: #fff200; --soft0: #fff200; --line0: #fff200; --live0: #fff200;
  --rule0: #8e9a43; /* Yellow 50% + Deep Lyons Blue 50% */ }
/* 139: Deep Indigo #051230 (ground), Neutral Gray #b6bfc1 (body) 9.87:1, Salvia Blue #97acc8 (links, highlight) 7.97:1. */
html[data-pal="139"] { --bg0: #051230; --fg0: #b6bfc1; --hi0: #97acc8; --soft0: #b6bfc1; --line0: #97acc8; --live0: #97acc8;
  --rule0: #4e5f7c; /* Salvia Blue 50% + Deep Indigo 50% */ }
/* 119: Dark Tyrian Blue #12354e (ground), Light Glaucous Blue #a5c8d1. Glaucous on tyrian 7.16:1. */
html[data-pal="119"] { --bg0: #12354e; --fg0: #a5c8d1; --hi0: #a5c8d1; --soft0: #a5c8d1; --line0: #a5c8d1; --live0: #a5c8d1;
  --rule0: #5c7e90; /* Light Glaucous Blue 50% + Dark Tyrian Blue 50% */ }
/* 141: Dark Tyrian Blue #12354e (ground), Yellow Green #afd472 (body) 7.59:1, Orange #f37420 (the LIVE square only; 4.46:1, never letters). */
html[data-pal="141"] { --bg0: #12354e; --fg0: #afd472; --hi0: #afd472; --soft0: #afd472; --line0: #afd472; --live0: #f37420;
  --rule0: #608460; /* Yellow Green 50% + Dark Tyrian Blue 50% */ }
/* 265: Dull Violet Black #1e0e3f (ground), Apricot Yellow #ffdd00 (body, highlight) 13.11:1, Old Rose #d46d7a (frames, the
   LIVE square; 5.27:1, never letters), Olive Yellow #a6a159 (rules; 6.61:1, never letters). */
html[data-pal="265"] { --bg0: #1e0e3f; --fg0: #ffdd00; --hi0: #ffdd00; --line0: #d46d7a; --live0: #d46d7a; --rule0: #a6a159;
  --soft0: #eaa53d; /* Apricot Yellow 50% + Old Rose 50%: 8.36:1, the quieter labels */ }
/* 190: Black #000000 (ground), Ivory Buff #ebd999 (letters, frames) 14.9:1, English Red #de4500 (the LIVE square only; 4.96:1,
   never letters). The hex values are erosika.dev's (Eri, 2026-11-19, of the mock-ups: "i like the first one tho for sure"). */
html[data-pal="190"] { --bg0: #000000; --fg0: #ebd999; --hi0: #ebd999; --soft0: #b3a676; /* 8.6:1 */ --line0: #ebd999; --live0: #de4500;
  --rule0: #4a4430; }
/* Eight more (2026-11-21, the owner: "add more themes w/o asking"). The names and hex values are the published ones
   (github.com/mattdesl/dictionary-of-colour-combinations); every ratio is WCAG contrast against that scheme's ground.
   166: Deep Slate Green #112f2c (ground), Naples Yellow #fbe6a0 (body, highlight) 11.54:1, Grenadine Pink #f48067 (frames, the
   LIVE square; 5.54:1, never letters). */
html[data-pal="166"] { --bg0: #112f2c; --fg0: #fbe6a0; --hi0: #fbe6a0; --line0: #f48067; --live0: #f48067;
  --soft0: #f8b384; /* Naples Yellow 50% + Grenadine Pink 50%: 8.03:1, the quieter labels */
  --rule0: #82584a; /* Grenadine Pink 50% + Deep Slate Green 50% */ }
/* 113: Vandyke Brown #4b3317 (ground), Seashell Pink #fdd4bd. Pink on brown 8.59:1. */
html[data-pal="113"] { --bg0: #4b3317; --fg0: #fdd4bd; --hi0: #fdd4bd; --soft0: #fdd4bd; --line0: #fdd4bd; --live0: #fdd4bd;
  --rule0: #a4846a; /* Seashell Pink 50% + Vandyke Brown 50% */ }
/* 173: Madder Brown #762c19 (ground), Lemon Yellow #f8ed43 (body, highlight) 8.01:1, Turquoise Green #b5decc (frames, the
   LIVE square; 6.66:1, never letters). */
html[data-pal="173"] { --bg0: #762c19; --fg0: #f8ed43; --hi0: #f8ed43; --line0: #b5decc; --live0: #b5decc;
  --soft0: #d6e688; /* Lemon Yellow 50% + Turquoise Green 50%: 7.24:1, the quieter labels */
  --rule0: #968572; /* Turquoise Green 50% + Madder Brown 50% */ }
/* 50: Dusky Madder Violet #4e1d4c (ground), Ivory Buff #ebd3a2. Buff on violet 8.96:1. */
html[data-pal="50"] { --bg0: #4e1d4c; --fg0: #ebd3a2; --hi0: #ebd3a2; --soft0: #ebd3a2; --line0: #ebd3a2; --live0: #ebd3a2;
  --rule0: #9c7877; /* Ivory Buff 50% + Dusky Madder Violet 50% */ }
/* 337: Black #111314 (ground), Laelia Pink #ca92a8 (letters, frames) 7.27:1, Violet Carmine #713b4c (rules; 2.16:1, never
   letters). The combination's fourth tone, Vistoris Lake #6d4145, is not used: on black it is Violet Carmine again. */
html[data-pal="337"] { --bg0: #111314; --fg0: #ca92a8; --hi0: #ca92a8; --soft0: #ca92a8; --line0: #ca92a8; --live0: #ca92a8;
  --rule0: #713b4c; }
/* The light grounds: dark letters on a pale ground, the cursor bar dark with the ground's colour for its letters. Each
   says --cs: light, and front.js and nes/os.js mark the page html[data-light] for them (and for WHITE), which is what
   nes/style.css reads for the dimmed lights, the accessibility face and WATCH's log.
   52: Sulpher Yellow #f5ecc2 (ground), Black #111314 15.67:1. */
html[data-pal="52"] { --bg0: #f5ecc2; --fg0: #111314; --hi0: #111314; --line0: #111314; --live0: #111314;
  --soft0: #3f3e37; /* Black 80% + Sulpher Yellow 20%: 9.03:1 */ --rule0: #b1ab8e; /* Black 30% + Sulpher Yellow 70% */ --cs: light; }
/* 84: Seashell Pink #fdd4bd (ground), Deep Slate Green #112f2c 10.45:1. */
html[data-pal="84"] { --bg0: #fdd4bd; --fg0: #112f2c; --hi0: #112f2c; --line0: #112f2c; --live0: #112f2c;
  --soft0: #243c38; /* Deep Slate Green 92% + Seashell Pink 8%: 8.62:1 */ --rule0: #aa9a8a; /* Deep Slate Green 35% + Seashell Pink 65% */ --cs: light; }
/* 268: Nile Blue #bce4e5 (ground), Deep Slate Olive #253122 (letters, frames) 9.97:1, Raw Sienna #bb7125 (the LIVE square
   only; 2.79:1, never letters; --dlive0 keeps it for the dimmed lights), Light Brown Drab #b59392 (rules; 2.03:1, never letters). */
html[data-pal="268"] { --bg0: #bce4e5; --fg0: #253122; --hi0: #253122; --soft0: #253122; --line0: #253122; --live0: #bb7125; --dlive0: #bb7125;
  --rule0: #b59392; --cs: light; }
/* the two plain schemes (2026-11-14, the owner: "more colors like basic black and white"). Not Wada Sanzo's.
   BLACK: black ground, white letters 21:1, one accent, yellow #ffd23f (the cursor bar, headings, the LIVE square) 14.6:1. */
html[data-pal="black"] { --bg0: #000000; --fg0: #ffffff; --hi0: #ffd23f; --soft0: #c4c4c4; /* 12.3:1 */ --line0: #ffffff; --live0: #ffd23f;
  --rule0: #4d4d4d; }
/* WHITE: white ground, black letters 21:1; the cursor bar is black with white letters. */
html[data-pal="white"] { --bg0: #ffffff; --fg0: #000000; --hi0: #000000; --soft0: #4a4a4a; /* 8.9:1 */ --line0: #000000; --live0: #000000;
  --rule0: #b3b3b3; --cs: light; }
