/* Colors and small theme-specific details are selected explicitly by themes.js. */
:root[data-theme="paper"][data-dark="0"] {
  color-scheme: light;
  --bg: #f3eee4; --card: rgba(255,253,248,.96); --ink: #302a24; --muted: #71675d; --line: #e5dbcd;
  --accent: #815536; --accent-ink: #fffaf3; --soft: #f2e9dc; --up: #c93636; --down: #2868ad;
  --g0: #34734c; --g1: #346f9b; --g2: #986020; --g3: #a33c3a; --glow: rgba(205,174,133,.2);
  --radius: 22px; --shadow: 0 7px 24px rgba(74,55,35,.055), 0 1px 3px rgba(74,55,35,.04);
}
:root[data-theme="paper"][data-dark="1"] {
  color-scheme: dark;
  --bg: #191916; --card: rgba(37,36,32,.98); --ink: #eee8de; --muted: #b4a99c; --line: #403b34;
  --accent: #d2a27a; --accent-ink: #211b16; --soft: #302c26; --up: #ff7777; --down: #72b5f0;
  --g0: #83c99a; --g1: #8bbfe6; --g2: #e4ad6a; --g3: #ed8c83; --glow: rgba(157,111,68,.13);
  --radius: 22px; --shadow: 0 8px 28px rgba(0,0,0,.24);
}

:root[data-theme="forest"][data-dark="0"] {
  color-scheme: light;
  --bg: #eaf1e8; --card: rgba(250,254,248,.97); --ink: #24352a; --muted: #5d7162; --line: #d3e1d2;
  --accent: #376b46; --accent-ink: #f7fff7; --soft: #dcebdc; --up: #c93636; --down: #2868ad;
  --g0: #34734c; --g1: #346f9b; --g2: #986020; --g3: #a33c3a; --glow: rgba(111,160,111,.22);
  --radius: 19px; --shadow: 0 7px 23px rgba(40,75,48,.08), 0 1px 3px rgba(40,75,48,.05);
}
:root[data-theme="forest"][data-dark="1"] {
  color-scheme: dark;
  --bg: #142019; --card: rgba(30,45,35,.98); --ink: #e7f1e7; --muted: #aec0af; --line: #354b3b;
  --accent: #8fc69a; --accent-ink: #142019; --soft: #26382b; --up: #ff8585; --down: #82bfff;
  --g0: #91d5a0; --g1: #91c6ef; --g2: #e8b978; --g3: #f09288; --glow: rgba(91,151,101,.17);
  --radius: 19px; --shadow: 0 8px 28px rgba(0,0,0,.26);
}

:root[data-theme="sea"][data-dark="0"] {
  color-scheme: light;
  --bg: #e8f2f7; --card: rgba(250,254,255,.98); --ink: #203744; --muted: #5e7581; --line: #cfe0e9;
  --accent: #246c91; --accent-ink: #f5fcff; --soft: #dcecf3; --up: #c93636; --down: #2868ad;
  --g0: #34734c; --g1: #346f9b; --g2: #986020; --g3: #a33c3a; --glow: rgba(103,174,207,.23);
  --radius: 24px; --shadow: 0 7px 24px rgba(33,86,111,.075), 0 1px 3px rgba(33,86,111,.05);
}
:root[data-theme="sea"][data-dark="1"] {
  color-scheme: dark;
  --bg: #14232b; --card: rgba(29,47,57,.98); --ink: #e5f1f5; --muted: #adc1ca; --line: #354e59;
  --accent: #7ec5e2; --accent-ink: #10222a; --soft: #243b47; --up: #ff8585; --down: #82bfff;
  --g0: #91d5a0; --g1: #91c6ef; --g2: #e8b978; --g3: #f09288; --glow: rgba(69,151,186,.18);
  --radius: 24px; --shadow: 0 8px 28px rgba(0,0,0,.27);
}

:root[data-theme="blossom"][data-dark="0"] {
  color-scheme: light;
  --bg: #f7edf0; --card: rgba(255,251,252,.98); --ink: #402a33; --muted: #806875; --line: #ead7df;
  --accent: #a94367; --accent-ink: #fff8fa; --soft: #f3e1e8; --up: #c93636; --down: #2868ad;
  --g0: #34734c; --g1: #346f9b; --g2: #986020; --g3: #a33c3a; --glow: rgba(218,144,172,.2);
  --radius: 22px; --shadow: 0 7px 24px rgba(103,55,77,.07), 0 1px 3px rgba(103,55,77,.045);
}
:root[data-theme="blossom"][data-dark="1"] {
  color-scheme: dark;
  --bg: #251820; --card: rgba(48,32,41,.98); --ink: #f5e8ee; --muted: #c4aab7; --line: #533b49;
  --accent: #e69ab7; --accent-ink: #291823; --soft: #3b2934; --up: #ff8585; --down: #82bfff;
  --g0: #91d5a0; --g1: #91c6ef; --g2: #e8b978; --g3: #f09288; --glow: rgba(178,92,130,.17);
  --radius: 22px; --shadow: 0 8px 28px rgba(0,0,0,.27);
}

:root[data-theme="mono"][data-dark="0"] {
  color-scheme: light;
  --bg: #ededeb; --card: #fff; --ink: #202020; --muted: #626262; --line: #d5d5d2;
  --accent: #242424; --accent-ink: #fff; --soft: #e3e3e0; --up: #c93636; --down: #2868ad;
  --g0: #34734c; --g1: #346f9b; --g2: #986020; --g3: #a33c3a; --glow: rgba(110,110,110,.13);
  --radius: 12px; --shadow: 0 5px 18px rgba(0,0,0,.055), 0 1px 3px rgba(0,0,0,.04);
}
:root[data-theme="mono"][data-dark="1"] {
  color-scheme: dark;
  --bg: #171717; --card: #252525; --ink: #f2f2f2; --muted: #b8b8b8; --line: #444;
  --accent: #eee; --accent-ink: #181818; --soft: #303030; --up: #ff8585; --down: #82bfff;
  --g0: #91d5a0; --g1: #91c6ef; --g2: #e8b978; --g3: #f09288; --glow: rgba(210,210,210,.1);
  --radius: 12px; --shadow: 0 8px 28px rgba(0,0,0,.3);
}
