/* Shared website appearance. With JavaScript disabled, follow the system. */
:root {
    color-scheme: light;
    --bg: #f8fafd; --bg-2: #eff4fa;
    --card: rgba(255,255,255,.86); --card-hi: #fff;
    --line: #d9e2ee; --card-line: #d9e2ee;
    --ink: #192a43; --ink-2: #465971; --ink-3: #566a83;
    --accent: #245f9f; --accent-deep: #174e87; --violet: #7354b9; --amber: #f0b429;
    --button-ink: #fff; --gradient-edge: #2166a4;
    --nav: rgba(255,255,255,.88); --nav-scrolled: rgba(255,255,255,.96); --nav-line: #d9e2ee;
    --chip: rgba(250,252,255,.93); --mbar: rgba(255,255,255,.7);
    --cell-bg: linear-gradient(180deg, #fff, #f9fbff);
    --shadow: rgba(36,62,103,.08); --image-shadow: rgba(36,62,103,.14);
    --widget-shadow: rgba(36,62,103,.12); --fan-shadow: rgba(36,62,103,.14); --icon-shadow: rgba(36,92,150,.18);
    --button-hover-start: #1d5591; --aurora-opacity: .28; --aurora-third-opacity: .20; --grain-opacity: .12;
    --accent-soft: rgba(36,95,159,.08); --accent-line: rgba(36,95,159,.22); --sheen-opacity: .2;
    --aurora-1: #bfd7f7; --aurora-2: #c7e5eb; --aurora-3: #ddd2f7;
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0a0f1c; --bg-2: #0d1424;
    --card: rgba(148,178,255,.05); --card-hi: rgba(148,178,255,.09);
    --line: rgba(148,178,255,.13); --card-line: rgba(148,178,255,.14);
    --ink: #e8edf6; --ink-2: #a2afc3; --ink-3: #8b9bb3;
    --accent: #7fc8f8; --accent-deep: #5aa9e6; --violet: #9b8cff; --amber: #f0b429;
    --button-ink: #08111f; --gradient-edge: #bfe6ff;
    --nav: rgba(12,18,33,.55); --nav-scrolled: rgba(12,18,33,.82); --nav-line: transparent;
    --chip: rgba(22,30,48,.88); --mbar: rgba(15,22,38,.75);
    --cell-bg: linear-gradient(180deg, rgba(148,178,255,.07), rgba(148,178,255,.025));
    --shadow: rgba(0,0,0,.35); --image-shadow: rgba(2,6,18,.7);
    --widget-shadow: rgba(0,0,0,.45); --fan-shadow: rgba(0,0,0,.55); --icon-shadow: rgba(63,110,191,.5);
    --button-hover-start: #9ad6fb; --aurora-opacity: .55; --aurora-third-opacity: .4; --grain-opacity: .5;
    --accent-soft: rgba(127,200,248,.14); --accent-line: rgba(127,200,248,.3); --sheen-opacity: 1;
    --aurora-1: #23467f; --aurora-2: #1d5c7d; --aurora-3: #33276b;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0a0f1c; --bg-2: #0d1424;
    --card: rgba(148,178,255,.05); --card-hi: rgba(148,178,255,.09);
    --line: rgba(148,178,255,.13); --card-line: rgba(148,178,255,.14);
    --ink: #e8edf6; --ink-2: #a2afc3; --ink-3: #8b9bb3;
    --accent: #7fc8f8; --accent-deep: #5aa9e6; --violet: #9b8cff; --amber: #f0b429;
    --button-ink: #08111f; --gradient-edge: #bfe6ff;
    --nav: rgba(12,18,33,.55); --nav-scrolled: rgba(12,18,33,.82); --nav-line: transparent;
    --chip: rgba(22,30,48,.88); --mbar: rgba(15,22,38,.75);
    --cell-bg: linear-gradient(180deg, rgba(148,178,255,.07), rgba(148,178,255,.025));
    --shadow: rgba(0,0,0,.35); --image-shadow: rgba(2,6,18,.7);
    --widget-shadow: rgba(0,0,0,.45); --fan-shadow: rgba(0,0,0,.55); --icon-shadow: rgba(63,110,191,.5);
    --button-hover-start: #9ad6fb; --aurora-opacity: .55; --aurora-third-opacity: .4; --grain-opacity: .5;
    --accent-soft: rgba(127,200,248,.14); --accent-line: rgba(127,200,248,.3); --sheen-opacity: 1;
    --aurora-1: #23467f; --aurora-2: #1d5c7d; --aurora-3: #33276b;
  }
}

.theme-toggle {
  display: inline-grid; place-items: center; flex: 0 0 40px;
  width: 40px; height: 40px; margin-left: 4px; padding: 0;
  color: var(--ink-2); background: transparent; border: 1px solid var(--line);
  border-radius: 50%; cursor: pointer;
}
.theme-toggle:hover { color: var(--ink); background: var(--card-hi); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .theme-light, .theme-toggle .theme-dark { display: none; }
:root[data-theme-mode="light"] .theme-toggle .theme-system,
:root[data-theme-mode="dark"] .theme-toggle .theme-system { display: none; }
:root[data-theme-mode="light"] .theme-toggle .theme-light,
:root[data-theme-mode="dark"] .theme-toggle .theme-dark { display: block; }
