/* Dark mode: the same poured gel candy at night. Lettering, buttons, logos and decorations are
   those of the light style; only the grounds, surfaces and reading colours change. */
:root[data-theme='dark'] {
  color-scheme: dark;
  --paper: #220914;
  --surface: #34101f;
  --milk: #2b0d1a;
  --line: #6d2748;
  --candy: #8d3560;
  --syrup: #ffe8f1;
  --berry: #ffa9cf;
}

/* The same diagonal sheen on a deep berry ground */
:root[data-theme='dark'] .pearl { background:
  repeating-linear-gradient(115deg, transparent 0 76px, rgb(255 143 192 / .09) 76px 78px),
  linear-gradient(#3a1124, #2a0b19); }

/* Gel buttons keep their light faces, so their text stays dark */
:root[data-theme='dark'] .gel, :root[data-theme='dark'] button { color: #5a0830; }
:root[data-theme='dark'] .gel.light, :root[data-theme='dark'] button.light {
  background: linear-gradient(#fff, #ffe8f1 50%, #ffd0e4); }
:root[data-theme='dark'] .bubble { background: radial-gradient(circle at 35% 30%, #fff 0 12%, #ffb4d3 45%, var(--gloss)); }
