/* v0.66 colour themes (25 Nov, from Magnus's references: red LED ceiling over brushed metal,
   frosted maple light boxes, fluted aluminium light boxes). Selected with ?theme= or the meta selector.
   Light colours sampled from the references: LED red #e42c1b, coral #f5746a, salmon #f6b39b, amber #f29b31,
   gold #fcc451, warm core #fff1dc, room dark #270904.
   --g-* are the logo glow colours read by logo.js; --g-dot is the coloured dot screen under the white one in the
   halftone + glow looks, chosen to stand apart from the glow (lightbox takes amber's orange). */
:root{
  --l-red:#e42c1b; --l-deep:#a9280d; --l-coral:#f5746a; --l-salmon:#f6b39b; --l-amber:#f29b31; --l-gold:#fcc451; --l-core:#fff1dc;
  /* bone (v0.41-0.65): the glow as it was */
  --g-ink:#29221f; --g-blush:#edb8ad; --g-mid:#a14a29; --g-deep:#733320; --g-bronze:#cc8f54; --g-pale:#f7c7a8; --g-dot:#d98a2b;
  --g-ht:#e8892c;   /* halftone warm screen: bone turned orange-yellow like amber's (Magnus 25 Nov), the glow keeps --g-mid */
}

/* lightbox: whiter, cooler paper so the colour reads as light, not as paint; the glow in LED red, coral and amber */
html[data-theme=lightbox]{
  --pink:#f5eee9; --ink:#24130f; --ink-soft:#7d5f55; --accent:#c4241a; --tone:#e2381f; --line:rgba(36,19,15,.14);
  --g-ink:#24130f; --g-blush:#f6b39b; --g-mid:#e8432a; --g-deep:#a9280d; --g-bronze:#f29b31; --g-pale:#fcd79a; --g-dot:#ef7d22; --g-ht:#e8432a;
}
/* amber: warm paper as in the maple light boxes; the glow goes gold → amber → red */
html[data-theme=amber]{
  --pink:#f3e7d8; --ink:#2a1a10; --ink-soft:#7f6450; --accent:#b0361b; --tone:#d9531f; --line:rgba(42,26,16,.15);
  --g-ink:#2a1a10; --g-blush:#f8c98a; --g-mid:#ef7d22; --g-deep:#b42c12; --g-bronze:#fcc451; --g-pale:#fde3a8; --g-dot:#c8261a; --g-ht:#ef7d22;
}
/* night: the dark room of the LED reference; the letters themselves are the light */
html[data-theme=night]{
  --pink:#170807; --ink:#f6e7dd; --ink-soft:#b5918a; --accent:#ff5b3d; --tone:#ff6b3d; --line:rgba(246,231,221,.15);
  --g-ink:#fff1dc; --g-blush:#5c1208; --g-mid:#e42c1b; --g-deep:#ffb347; --g-bronze:#f29b31; --g-pale:#8a2410; --g-dot:#f7a12e; --g-ht:#e42c1b;
  color-scheme:dark;
}
/* sand (27 Nov test, Magnus's isometric-cubes reference): warm sand paper, white letters in a yellow and a blue
   smudge. For the smudge look: --g-ink = the letters, --g-blush = yellow, --g-mid = blue, --g-dot = orange, --g-bronze = deep blue */
html[data-theme=sand]{
  --pink:#e4ddcc; --ink:#2e2a24; --ink-soft:#766d60; --accent:#3d6a80; --tone:#c79500; --line:rgba(46,42,36,.14);
  --g-ink:#fffdf8; --g-blush:#f9c217; --g-mid:#93c1db; --g-deep:#a69d8f; --g-bronze:#1b4a7c; --g-pale:#ece4d3; --g-dot:#ef7b2f; --g-ht:#f9c217;
}
html[data-theme=night] .page[data-key^=cafmeh]{--accent:#e0a56a;--tone:#d08f4f}
html[data-theme=night] .page[data-key^=kantarellen]{--accent:#ff8357;--tone:#f0683b}
html[data-theme=night] .page[data-key^=mambo]{--accent:#bcc985;--tone:#a2b06a}
html[data-theme=night] .page[data-key^=epal]{--accent:#a3bccf;--tone:#86a1b6}
html[data-theme=night] .t[data-open=cafmeh]:is(:hover,:focus-visible,.on){color:#e0a56a}
html[data-theme=night] .t[data-open=kantarellen]:is(:hover,:focus-visible,.on){color:#ff8357}
html[data-theme=night] .t[data-open=mambo]:is(:hover,:focus-visible,.on){color:#bcc985}
html[data-theme=night] .t[data-open=epal]:is(:hover,:focus-visible,.on){color:#a3bccf}
html[data-theme=night] .split figure img,html[data-theme=night] .gallery img{box-shadow:0 0 0 1px rgba(255,255,255,.06)}
html[data-theme] .zoom{background:color-mix(in srgb,var(--pink) 97%,transparent)}
html{background:var(--pink)}
