/*
 * Themes: the colours of a site, in light and dark (the dark values follow the device setting).
 *
 * A reusable module (also meant for 7pizzi.com and later projects): it knows nothing about the site that uses it.
 *   - this file: every theme as a set of --th-* colours, chosen by <html data-theme="name">;
 *   - _app/themes.php: the list of themes and the page head (data-theme, theme-color, this stylesheet).
 * A site links this file before its own stylesheet and maps its own colour names to the --th-* names (bungalows.7pizzi.com:
 * the first :root block of site.css). Which theme a site uses is chosen by a developer in that site's code, never by
 * visitors or content editors. The first theme is also the default (plain :root), so a page without data-theme still works.
 *
 * The colours (every theme sets all of them, in light and in dark):
 *   --th-brand          main colour: buttons, active menu item          --th-on-brand       text on --th-brand
 *   --th-brand-grad     banner and header background without a photo   --th-accent         focus ring, highlights
 *   --th-brand-2        second brand colour: loading ring, progress bar; the same in dark
 *   --th-brand-l        light tint of the brand: selected items, badges
 *   --th-brand-ink      brand colour as text or icon on --th-surface   --th-brand-ink-2    stronger brand text (headings, figures)
 *   --th-brand-deep     brand text on white chips; the same in dark
 *   --th-brand-shadow   button shadow        --th-brand-glass, --th-brand-glass-2   brand colour over a page (normal, hover)
 *   --th-shade          dark overlay on a photo behind white text     --th-brand-glow     shadow of a dialog over the page
 *   --th-bg             page        --th-surface   cards, fields, bars      --th-frame-bg  behind an embedded page
 *   --th-ink            text        --th-muted     secondary text           --th-line      borders
 *   --th-ink-2          softer text (labels)         --th-muted-2   hints, lighter than --th-muted   --th-line-2   field borders
 *   --th-off, --th-off-ink   unavailable days (background, text)
 *   --th-track, --th-step     progress: empty track, steps not reached yet
 *   --th-tile           image tiles before the photo loads
 *   --th-ph-a, --th-ph-b, --th-ph-ink, --th-ph-ink-2   placeholder pictures (two backgrounds, two text colours)
 *   --th-bar-bg         translucent menu bar            --th-veil          translucent cover while loading
 *   --th-shadow-1, --th-shadow-2, --th-shadow-3       light, normal and strong shadow    --th-shadow-brand   brand-tinted shadow
 *
 * A theme with an animated background sets --th-scene to the scene's name (light block only; the Bungalow Scheduler's booking
 * app reads it from its copy of this file) and 'scene' in THEMES (_app/themes.php, for the website; keep the two equal); it
 * then also gets data-scene on <html>. The scene itself is a separate module (assets/scene/), with its own colours.
 *
 * A new theme: copy a theme's two blocks, change the name and the colours, and add it to THEMES in _app/themes.php
 * (with its theme-color and dark page background). Text colours need a contrast of at least 4.5:1 with their background.
 */

/* ---------- Sea: teal and turquoise (the original design) ---------- */
:root, :root[data-theme="sea"] {
  --th-brand:#0b6e8a; --th-on-brand:#fff; --th-brand-grad:linear-gradient(135deg,#0b6e8a,#19a7b8); --th-accent:#f2b84b;
  --th-brand-l:#d4eef4; --th-brand-ink:#0b6e8a; --th-brand-ink-2:#0a5870; --th-brand-deep:#0a5870;
  --th-brand-shadow:rgba(11,110,138,.25); --th-brand-glass:rgba(11,110,138,.8); --th-brand-glass-2:rgba(11,110,138,.96);
  --th-shade:rgba(8,40,52,.62); --th-brand-2:#19a7b8; --th-brand-glow:rgba(11,110,138,.28);
  --th-bg:#f4f8fa; --th-surface:#fff; --th-frame-bg:#fff; --th-ink:#1d2b36; --th-muted:#5b6c7a; --th-line:#d5dee4;
  --th-ink-2:#44586a; --th-muted-2:#6b7a86; --th-line-2:#c5d1d9; --th-off:#eef0f2; --th-off-ink:#a3adb5; --th-track:#e3edf1; --th-step:#9aa9b4;
  --th-tile:#dfe7ec; --th-ph-a:#e8f0f4; --th-ph-b:#dde8ee; --th-ph-ink:#7b8f9c; --th-ph-ink-2:#506574;
  --th-bar-bg:rgba(255,255,255,.92); --th-veil:rgba(244,248,250,.78);
  --th-shadow-1:rgba(0,0,0,.05); --th-shadow-2:rgba(0,0,0,.08); --th-shadow-3:rgba(0,0,0,.10); --th-shadow-brand:rgba(11,110,138,.10);
}
@media (prefers-color-scheme:dark) {
  :root, :root[data-theme="sea"] {
    --th-brand-l:#133b47; --th-brand-ink:#5cc4d8; --th-brand-ink-2:#a6e0ec;
    --th-bg:#0e171c; --th-surface:#17242b; --th-frame-bg:#0e171c; --th-ink:#e3ebef; --th-muted:#9db0bb; --th-line:#2a3a43;
    --th-ink-2:#b4c4cd; --th-muted-2:#93a6b1; --th-line-2:#3a4d58; --th-off:#18242b; --th-off-ink:#5f727e; --th-track:#24343c; --th-step:#6f8794;
    --th-brand-glow:rgba(0,0,0,.5);
    --th-tile:#1f2e36; --th-ph-a:#1a272e; --th-ph-b:#203038; --th-ph-ink:#6f8794; --th-ph-ink-2:#9db0bb;
    --th-bar-bg:rgba(14,23,28,.9); --th-veil:rgba(14,23,28,.78);
    --th-shadow-1:rgba(0,0,0,.3); --th-shadow-2:rgba(0,0,0,.35); --th-shadow-3:rgba(0,0,0,.4); --th-shadow-brand:rgba(0,0,0,.35);
  }
}

/* The themes below were generated from a few base colours each (brand, gradient, second colour, accent, the tint of the
   neutrals); every text colour was checked for a contrast of at least 4.5:1, in light and dark. */

/* ---------- Pizzeria: deep red with a dark green accent, cream background ---------- */
:root[data-theme="pizzeria"] {
  --th-brand:#a3172b; --th-on-brand:#fff; --th-brand-grad:linear-gradient(135deg,#8e1325,#c43b2e); --th-accent:#f2b84b;
  --th-brand-l:#f5d6db; --th-brand-ink:#a3172b; --th-brand-ink-2:#861323; --th-brand-deep:#861323;
  --th-brand-shadow:rgba(163,23,43,.25); --th-brand-glass:rgba(163,23,43,.8); --th-brand-glass-2:rgba(163,23,43,.96);
  --th-shade:rgba(45,11,16,.62); --th-brand-2:#2f7a4b; --th-brand-glow:rgba(163,23,43,.28);
  --th-bg:#faf8f4; --th-surface:#fff; --th-frame-bg:#fff; --th-ink:#382f1b; --th-muted:#7c7259; --th-line:#e5dfd4;
  --th-ink-2:#6d6141; --th-muted-2:#7c7460; --th-line-2:#dbd2c3; --th-off:#f2f1ee; --th-off-ink:#b6b0a2; --th-track:#f2ebe2; --th-step:#b6ac98;
  --th-tile:#ede8de; --th-ph-a:#f5efe7; --th-ph-b:#efe8dc; --th-ph-ink:#9e9179; --th-ph-ink-2:#77694d;
  --th-bar-bg:rgba(255,255,255,.92); --th-veil:rgba(250,248,244,.78);
  --th-shadow-1:rgba(0,0,0,.05); --th-shadow-2:rgba(0,0,0,.08); --th-shadow-3:rgba(0,0,0,.10); --th-shadow-brand:rgba(163,23,43,.1);
}
@media (prefers-color-scheme:dark) {
  :root[data-theme="pizzeria"] {
    --th-brand-l:#45171e; --th-brand-ink:#d96879; --th-brand-ink-2:#ebadb6;
    --th-brand-glow:rgba(0,0,0,.5);
    --th-bg:#1d170d; --th-surface:#2d2316; --th-frame-bg:#1d170d; --th-ink:#f0eae2; --th-muted:#bdb09b; --th-line:#453a28;
    --th-ink-2:#cfc4b2; --th-muted-2:#b3a691; --th-line-2:#5a4d38; --th-off:#2c2417; --th-off-ink:#80735d; --th-track:#3e3222; --th-step:#97866c;
    --th-tile:#382d1d; --th-ph-a:#302618; --th-ph-b:#3a2e1e; --th-ph-ink:#97866c; --th-ph-ink-2:#bdb09b;
    --th-bar-bg:rgba(29,23,13,.9); --th-veil:rgba(29,23,13,.78);
    --th-shadow-1:rgba(0,0,0,.3); --th-shadow-2:rgba(0,0,0,.35); --th-shadow-3:rgba(0,0,0,.4); --th-shadow-brand:rgba(0,0,0,.35);
  }
}

/* ---------- Crispy: strong red with near-black, white surfaces ---------- */
:root[data-theme="crispy"] {
  --th-brand:#c0141d; --th-on-brand:#fff; --th-brand-grad:linear-gradient(135deg,#c0141d,#2a1314); --th-accent:#f2b84b;
  --th-brand-l:#f5d6d8; --th-brand-ink:#c0141d; --th-brand-ink-2:#9d1018; --th-brand-deep:#9d1018;
  --th-brand-shadow:rgba(192,20,29,.25); --th-brand-glass:rgba(192,20,29,.8); --th-brand-glass-2:rgba(192,20,29,.96);
  --th-shade:rgba(45,11,13,.62); --th-brand-2:#e2453f; --th-brand-glow:rgba(192,20,29,.28);
  --th-bg:#f7f7f7; --th-surface:#fff; --th-frame-bg:#fff; --th-ink:#2b2828; --th-muted:#6d6868; --th-line:#dedbdb;
  --th-ink-2:#5a5554; --th-muted-2:#787474; --th-line-2:#d0cece; --th-off:#f0f0f0; --th-off-ink:#adabab; --th-track:#ebe9e9; --th-step:#a9a5a5;
  --th-tile:#e6e5e5; --th-ph-a:#efeded; --th-ph-b:#e7e4e4; --th-ph-ink:#8e8989; --th-ph-ink-2:#655f5f;
  --th-bar-bg:rgba(255,255,255,.92); --th-veil:rgba(247,247,247,.78);
  --th-shadow-1:rgba(0,0,0,.05); --th-shadow-2:rgba(0,0,0,.08); --th-shadow-3:rgba(0,0,0,.10); --th-shadow-brand:rgba(192,20,29,.1);
}
@media (prefers-color-scheme:dark) {
  :root[data-theme="crispy"] {
    --th-brand-l:#451719; --th-brand-ink:#d8646a; --th-brand-ink-2:#ebadb1;
    --th-brand-glow:rgba(0,0,0,.5);
    --th-bg:#161414; --th-surface:#232020; --th-frame-bg:#161414; --th-ink:#eae8e8; --th-muted:#aeaaaa; --th-line:#383535;
    --th-ink-2:#c2bfbf; --th-muted-2:#a4a0a0; --th-line-2:#4b4747; --th-off:#232020; --th-off-ink:#716c6c; --th-track:#322e2e; --th-step:#847f7f;
    --th-tile:#2c2929; --th-ph-a:#262223; --th-ph-b:#2e2a2a; --th-ph-ink:#847f7f; --th-ph-ink-2:#aeaaaa;
    --th-bar-bg:rgba(22,20,20,.9); --th-veil:rgba(22,20,20,.78);
    --th-shadow-1:rgba(0,0,0,.3); --th-shadow-2:rgba(0,0,0,.35); --th-shadow-3:rgba(0,0,0,.4); --th-shadow-brand:rgba(0,0,0,.35);
  }
}

/* ---------- Ketchup & Mustard: red with a golden yellow accent ---------- */
:root[data-theme="ketchup"] {
  --th-brand:#c4261d; --th-on-brand:#fff; --th-brand-grad:linear-gradient(135deg,#b8231b,#e2442a); --th-accent:#f5b400;
  --th-brand-l:#f5d8d6; --th-brand-ink:#c4261d; --th-brand-ink-2:#a11f18; --th-brand-deep:#a11f18;
  --th-brand-shadow:rgba(196,38,29,.25); --th-brand-glass:rgba(196,38,29,.8); --th-brand-glass-2:rgba(196,38,29,.96);
  --th-shade:rgba(45,13,11,.62); --th-brand-2:#f5b400; --th-brand-glow:rgba(196,38,29,.28);
  --th-bg:#faf8f4; --th-surface:#fff; --th-frame-bg:#fff; --th-ink:#352f1e; --th-muted:#78725d; --th-line:#e3dfd6;
  --th-ink-2:#686146; --th-muted-2:#7a7463; --th-line-2:#d8d3c6; --th-off:#f2f1ee; --th-off-ink:#b4b0a4; --th-track:#f0ebe4; --th-step:#b3ad9b;
  --th-tile:#ebe8e0; --th-ph-a:#f3f0e9; --th-ph-b:#ede8de; --th-ph-ink:#9a927d; --th-ph-ink-2:#726a52;
  --th-bar-bg:rgba(255,255,255,.92); --th-veil:rgba(250,248,244,.78);
  --th-shadow-1:rgba(0,0,0,.05); --th-shadow-2:rgba(0,0,0,.08); --th-shadow-3:rgba(0,0,0,.10); --th-shadow-brand:rgba(196,38,29,.1);
}
@media (prefers-color-scheme:dark) {
  :root[data-theme="ketchup"] {
    --th-brand-l:#451917; --th-brand-ink:#d96c66; --th-brand-ink-2:#ebb1ad;
    --th-brand-glow:rgba(0,0,0,.5);
    --th-bg:#1b170f; --th-surface:#2a2418; --th-frame-bg:#1b170f; --th-ink:#eeebe4; --th-muted:#bab19f; --th-line:#423a2b;
    --th-ink-2:#ccc4b5; --th-muted-2:#b0a794; --th-line-2:#564e3b; --th-off:#2a2519; --th-off-ink:#7c7461; --th-track:#3b3325; --th-step:#928771;
    --th-tile:#352e20; --th-ph-a:#2d271b; --th-ph-b:#372f21; --th-ph-ink:#928771; --th-ph-ink-2:#bab19f;
    --th-bar-bg:rgba(27,23,15,.9); --th-veil:rgba(27,23,15,.78);
    --th-shadow-1:rgba(0,0,0,.3); --th-shadow-2:rgba(0,0,0,.35); --th-shadow-3:rgba(0,0,0,.4); --th-shadow-brand:rgba(0,0,0,.35);
  }
}

/* ---------- Energy: dark navy with red and a yellow accent ---------- */
:root[data-theme="energy"] {
  --th-brand:#1b2f6e; --th-on-brand:#fff; --th-brand-grad:linear-gradient(135deg,#121f4d,#24408f); --th-accent:#f5c400;
  --th-brand-l:#d6def5; --th-brand-ink:#1b2f6e; --th-brand-ink-2:#16275a; --th-brand-deep:#16275a;
  --th-brand-shadow:rgba(27,47,110,.25); --th-brand-glass:rgba(27,47,110,.8); --th-brand-glass-2:rgba(27,47,110,.96);
  --th-shade:rgba(11,19,45,.62); --th-brand-2:#d8213b; --th-brand-glow:rgba(27,47,110,.28);
  --th-bg:#f4f6fa; --th-surface:#fff; --th-frame-bg:#fff; --th-ink:#1c2137; --th-muted:#595f7c; --th-line:#d4d8e5;
  --th-ink-2:#42486c; --th-muted-2:#6a6f87; --th-line-2:#c4c9da; --th-off:#eeeef2; --th-off-ink:#a2a6b6; --th-track:#e2e7f2; --th-step:#999eb5;
  --th-tile:#dee2ed; --th-ph-a:#e7ebf5; --th-ph-b:#dce1ef; --th-ph-ink:#79819e; --th-ph-ink-2:#4e5676;
  --th-bar-bg:rgba(255,255,255,.92); --th-veil:rgba(244,246,250,.78);
  --th-shadow-1:rgba(0,0,0,.05); --th-shadow-2:rgba(0,0,0,.08); --th-shadow-3:rgba(0,0,0,.10); --th-shadow-brand:rgba(27,47,110,.1);
}
@media (prefers-color-scheme:dark) {
  :root[data-theme="energy"] {
    --th-brand:#2d4fb3;
    --th-brand-l:#172245; --th-brand-ink:#6682d9; --th-brand-ink-2:#adbceb;
    --th-brand-glass:rgba(45,79,179,.8); --th-brand-glass-2:rgba(45,79,179,.96);
    --th-brand-glow:rgba(0,0,0,.5);
    --th-bg:#0d111d; --th-surface:#161c2c; --th-frame-bg:#0d111d; --th-ink:#e2e6f0; --th-muted:#9ca4bc; --th-line:#293044;
    --th-ink-2:#b3bace; --th-muted-2:#929ab2; --th-line-2:#38415a; --th-off:#171c2c; --th-off-ink:#5d6580; --th-track:#232a3d; --th-step:#6d7896;
    --th-tile:#1e2537; --th-ph-a:#191f2f; --th-ph-b:#1f2639; --th-ph-ink:#6d7896; --th-ph-ink-2:#9ca4bc;
    --th-bar-bg:rgba(13,17,29,.9); --th-veil:rgba(13,17,29,.78);
    --th-shadow-1:rgba(0,0,0,.3); --th-shadow-2:rgba(0,0,0,.35); --th-shadow-3:rgba(0,0,0,.4); --th-shadow-brand:rgba(0,0,0,.35);
  }
}

/* ---------- Classic Cola: bright red on white and cream ---------- */
:root[data-theme="cola"] {
  --th-brand:#cc1424; --th-on-brand:#fff; --th-brand-grad:linear-gradient(135deg,#cc1424,#ea4b4f); --th-accent:#f2b84b;
  --th-brand-l:#f5d6d9; --th-brand-ink:#cc1424; --th-brand-ink-2:#a7101e; --th-brand-deep:#a7101e;
  --th-brand-shadow:rgba(204,20,36,.25); --th-brand-glass:rgba(204,20,36,.8); --th-brand-glass-2:rgba(204,20,36,.96);
  --th-shade:rgba(45,11,14,.62); --th-brand-2:#ea4b4f; --th-brand-glow:rgba(204,20,36,.28);
  --th-bg:#f9f7f5; --th-surface:#fff; --th-frame-bg:#fff; --th-ink:#332a20; --th-muted:#776b5e; --th-line:#e3dcd6;
  --th-ink-2:#665948; --th-muted-2:#7d7469; --th-line-2:#d7cfc7; --th-off:#f2f0ee; --th-off-ink:#b3aca5; --th-track:#f0e9e4; --th-step:#b1a79d;
  --th-tile:#ebe5e0; --th-ph-a:#f3ede9; --th-ph-b:#ece5df; --th-ph-ink:#998b7e; --th-ph-ink-2:#706254;
  --th-bar-bg:rgba(255,255,255,.92); --th-veil:rgba(249,247,245,.78);
  --th-shadow-1:rgba(0,0,0,.05); --th-shadow-2:rgba(0,0,0,.08); --th-shadow-3:rgba(0,0,0,.10); --th-shadow-brand:rgba(204,20,36,.1);
}
@media (prefers-color-scheme:dark) {
  :root[data-theme="cola"] {
    --th-brand-l:#45171b; --th-brand-ink:#d96670; --th-brand-ink-2:#ebadb3;
    --th-brand-glow:rgba(0,0,0,.5);
    --th-bg:#1b140f; --th-surface:#292019; --th-frame-bg:#1b140f; --th-ink:#eee8e4; --th-muted:#b8aba0; --th-line:#41352c;
    --th-ink-2:#cabfb6; --th-muted-2:#aea196; --th-line-2:#55483d; --th-off:#29211a; --th-off-ink:#7b6e62; --th-track:#3a2e26; --th-step:#908073;
    --th-tile:#342921; --th-ph-a:#2c231c; --th-ph-b:#362a22; --th-ph-ink:#908073; --th-ph-ink-2:#b8aba0;
    --th-bar-bg:rgba(27,20,15,.9); --th-veil:rgba(27,20,15,.78);
    --th-shadow-1:rgba(0,0,0,.3); --th-shadow-2:rgba(0,0,0,.35); --th-shadow-3:rgba(0,0,0,.4); --th-shadow-brand:rgba(0,0,0,.35);
  }
}

/* ---------- Lilac: lilac and purple with white ---------- */
:root[data-theme="lilac"] {
  --th-brand:#5e4499; --th-on-brand:#fff; --th-brand-grad:linear-gradient(135deg,#5e4499,#9d86d8); --th-accent:#f2b84b;
  --th-brand-l:#e2dcef; --th-brand-ink:#5e4499; --th-brand-ink-2:#4d387d; --th-brand-deep:#4d387d;
  --th-brand-shadow:rgba(94,68,153,.25); --th-brand-glass:rgba(94,68,153,.8); --th-brand-glass-2:rgba(94,68,153,.96);
  --th-shade:rgba(22,11,45,.62); --th-brand-2:#9d86d8; --th-brand-glow:rgba(94,68,153,.28);
  --th-bg:#f6f4fa; --th-surface:#fff; --th-frame-bg:#fff; --th-ink:#271c37; --th-muted:#68597c; --th-line:#dbd4e5;
  --th-ink-2:#55426c; --th-muted-2:#766a87; --th-line-2:#ccc4da; --th-off:#f0eef2; --th-off-ink:#aba2b6; --th-track:#e6e2f2; --th-step:#a499b5;
  --th-tile:#e4deed; --th-ph-a:#ece7f5; --th-ph-b:#e2dcef; --th-ph-ink:#87799e; --th-ph-ink-2:#5e4e76;
  --th-bar-bg:rgba(255,255,255,.92); --th-veil:rgba(246,244,250,.78);
  --th-shadow-1:rgba(0,0,0,.05); --th-shadow-2:rgba(0,0,0,.08); --th-shadow-3:rgba(0,0,0,.10); --th-shadow-brand:rgba(94,68,153,.1);
}
@media (prefers-color-scheme:dark) {
  :root[data-theme="lilac"] {
    --th-brand-l:#251745; --th-brand-ink:#9170db; --th-brand-ink-2:#c0adeb;
    --th-brand-glow:rgba(0,0,0,.5);
    --th-bg:#130d1d; --th-surface:#1d162c; --th-frame-bg:#130d1d; --th-ink:#e7e2f0; --th-muted:#a79cbc; --th-line:#322944;
    --th-ink-2:#bcb3ce; --th-muted-2:#9d92b2; --th-line-2:#44385a; --th-off:#1e172c; --th-off-ink:#6a5d80; --th-track:#2b233d; --th-step:#7b6d96;
    --th-tile:#261e37; --th-ph-a:#20192f; --th-ph-b:#271f39; --th-ph-ink:#7b6d96; --th-ph-ink-2:#a79cbc;
    --th-bar-bg:rgba(19,13,29,.9); --th-veil:rgba(19,13,29,.78);
    --th-shadow-1:rgba(0,0,0,.3); --th-shadow-2:rgba(0,0,0,.35); --th-shadow-3:rgba(0,0,0,.4); --th-shadow-brand:rgba(0,0,0,.35);
  }
}

/* ---------- Seaside: the Sea colours on a sandy page, with the animated beach (scene seaside, assets/scene/) ---------- */
:root[data-theme="seaside"] {
  --th-scene:seaside;
  --th-brand:#0b6e8a; --th-on-brand:#fff; --th-brand-grad:linear-gradient(135deg,#0b6e8a,#19a7b8); --th-accent:#f2b04f;
  --th-brand-l:#d4eef4; --th-brand-ink:#0b6e8a; --th-brand-ink-2:#0a5870; --th-brand-deep:#0a5870;
  --th-brand-shadow:rgba(11,110,138,.25); --th-brand-glass:rgba(11,110,138,.8); --th-brand-glass-2:rgba(11,110,138,.96);
  --th-shade:rgba(8,40,52,.62); --th-brand-2:#19a7b8; --th-brand-glow:rgba(11,110,138,.28);
  --th-bg:#f6f1e6; --th-surface:#fff; --th-frame-bg:#f6f1e6; --th-ink:#1d2b36; --th-muted:#5b6c7a; --th-line:#dcd8cc;
  --th-ink-2:#44586a; --th-muted-2:#6b7a86; --th-line-2:#c8cfd2; --th-off:#eeeeea; --th-off-ink:#a3adb5; --th-track:#e3edf1; --th-step:#9aa9b4;
  --th-tile:#e6e4dc; --th-ph-a:#f1ede3; --th-ph-b:#e8e3d6; --th-ph-ink:#7b8f9c; --th-ph-ink-2:#506574;
  --th-bar-bg:rgba(255,255,255,.88); --th-veil:rgba(246,241,230,.78);
  --th-shadow-1:rgba(0,0,0,.05); --th-shadow-2:rgba(0,0,0,.08); --th-shadow-3:rgba(0,0,0,.10); --th-shadow-brand:rgba(11,110,138,.10);
}
@media (prefers-color-scheme:dark) {
  :root[data-theme="seaside"] {
    --th-brand-l:#133b47; --th-brand-ink:#5cc4d8; --th-brand-ink-2:#a6e0ec;
    --th-bg:#0b1a2b; --th-surface:#132433; --th-frame-bg:#0b1a2b; --th-ink:#e3ebef; --th-muted:#9db0bb; --th-line:#263a4a;
    --th-ink-2:#b4c4cd; --th-muted-2:#93a6b1; --th-line-2:#37506a; --th-off:#152535; --th-off-ink:#5f727e; --th-track:#22344a; --th-step:#6f8794;
    --th-brand-glow:rgba(0,0,0,.5);
    --th-tile:#1c2e40; --th-ph-a:#172839; --th-ph-b:#1d3042; --th-ph-ink:#6f8794; --th-ph-ink-2:#9db0bb;
    --th-bar-bg:rgba(11,26,43,.88); --th-veil:rgba(11,26,43,.78);
    --th-shadow-1:rgba(0,0,0,.3); --th-shadow-2:rgba(0,0,0,.35); --th-shadow-3:rgba(0,0,0,.4); --th-shadow-brand:rgba(0,0,0,.35);
  }
}
