/* MyCurrentConditions — dashboard styles
   Modern CSS, no framework: OKLCH colour, light-dark(), @property sky transitions,
   container queries, :has(), scroll-driven header, animated <details>. */

@property --s1 { syntax: '<color>'; inherits: true; initial-value: #3d7bd0; }
@property --s2 { syntax: '<color>'; inherits: true; initial-value: #9cc7ef; }
@property --s3 { syntax: '<color>'; inherits: true; initial-value: #ffe7a0; }

:root {
  color-scheme: light dark;
  interpolate-size: allow-keywords;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ink: light-dark(oklch(0.22 0.03 260), oklch(0.95 0.01 250));
  --ink-2: light-dark(oklch(0.45 0.03 260), oklch(0.75 0.02 250));
  --card: light-dark(oklch(1 0 0 / 0.66), oklch(0.2 0.025 262 / 0.62));
  --card-hi: light-dark(oklch(1 0 0 / 0.85), oklch(0.27 0.03 262 / 0.75));
  --line: light-dark(oklch(0.3 0.03 260 / 0.1), oklch(1 0 0 / 0.09));
  --edge: light-dark(oklch(1 0 0 / 0.75), oklch(1 0 0 / 0.08));
  --accent: oklch(0.62 0.17 250);
  --c-sun: #ffc23d; --c-moon: light-dark(#8a96b8, #e4e8f4);
  --c-cloud: light-dark(#e9eef6, #dfe6f2); --c-cloud2: light-dark(#a7b4c8, #8e9bb2);
  --c-rain: #3d9bff; --c-snow: light-dark(#7fb6e8, #eaf4ff); --c-haze: #c9a978;
  --r: 22px;
  --gap: 14px;
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"]  { color-scheme: dark; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; background: oklch(0.2 0.03 262); font: 15px/1.45 var(--font); color: var(--ink);
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; color: inherit; }
a { color: inherit; }
h2, h3 { margin: 0; font-size: inherit; font-weight: inherit; }
p { margin: 0; }
svg { display: block; }

/* ---------- Condition-reactive sky ---------- */
.sky {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 60% at 85% -5%, var(--s3), transparent 65%),
    linear-gradient(170deg, var(--s1), var(--s2));
  transition: --s1 1.4s ease, --s2 1.4s ease, --s3 1.4s ease;
}
.sky::after { content: ""; position: absolute; inset: 0; background: light-dark(transparent, oklch(0.08 0.02 260 / 0.5)); }
body[data-sky="clear"]    { --s1: oklch(0.6 0.16 250);  --s2: oklch(0.86 0.07 225); --s3: oklch(0.95 0.13 90 / 0.8); }
body[data-sky="partly"]   { --s1: oklch(0.62 0.12 245); --s2: oklch(0.86 0.04 230); --s3: oklch(0.94 0.09 85 / 0.6); }
body[data-sky="overcast"] { --s1: oklch(0.58 0.03 250); --s2: oklch(0.82 0.015 250); --s3: oklch(0.92 0.01 250 / 0.5); }
body[data-sky="rain"]     { --s1: oklch(0.45 0.05 245); --s2: oklch(0.7 0.04 235);  --s3: oklch(0.8 0.04 220 / 0.4); }
body[data-sky="storm"]    { --s1: oklch(0.3 0.06 285);  --s2: oklch(0.55 0.06 260); --s3: oklch(0.75 0.12 95 / 0.35); }
body[data-sky="snow"]     { --s1: oklch(0.7 0.04 240);  --s2: oklch(0.93 0.015 240); --s3: oklch(1 0 0 / 0.7); }
body[data-night="1"]                    { --s1: oklch(0.17 0.05 272); --s2: oklch(0.34 0.07 262); --s3: oklch(0.5 0.1 290 / 0.35); }
body[data-night="1"][data-sky="rain"],
body[data-night="1"][data-sky="storm"],
body[data-night="1"][data-sky="overcast"] { --s1: oklch(0.15 0.02 260); --s2: oklch(0.3 0.03 255); --s3: oklch(0.45 0.04 260 / 0.3); }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: max(10px, env(safe-area-inset-top)) clamp(12px, 3vw, 28px) 10px;
  max-width: 1320px; margin: 0 auto;
}
@supports (animation-timeline: scroll()) {
  .top { animation: hdr linear both; animation-timeline: scroll(); animation-range: 0 90px; }
  @keyframes hdr { to { background: var(--card-hi); backdrop-filter: blur(20px) saturate(1.5); box-shadow: 0 6px 24px oklch(0 0 0 / 0.12); } }
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; letter-spacing: -0.01em; color: #fff; text-shadow: 0 1px 8px oklch(0 0 0 / .25); }
.brand .ic { width: 30px; height: 30px; }
.brand b { font-weight: 800; }
.loc {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 10px; border-radius: 999px;
  border: 1px solid var(--edge); background: var(--card); backdrop-filter: blur(14px); cursor: pointer; font-weight: 600;
  max-width: 46vw;
}
.loc span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc .pin { width: 16px; height: 16px; fill: var(--accent); flex: none; }
.loc .chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; opacity: .6; }
.tools { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; min-width: 36px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--edge); background: var(--card); backdrop-filter: blur(14px);
  cursor: pointer; font-weight: 600; font-size: 14px; text-decoration: none; transition: transform .15s, background .2s;
}
.chip:hover { background: var(--card-hi); }
.chip:active { transform: scale(.96); }
.chip svg { width: 18px; height: 18px; }
.chip.sm { height: 30px; min-width: 30px; padding: 0 9px; font-size: 13px; }
.chip.accent { background: var(--accent); color: #fff; border-color: transparent; }
.loc:focus-visible, .chip:focus-visible, summary:focus-visible, .hscroll:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 640px) {
  .brand span { display: none; }
  #displayBtn span, #signLink span { display: none; }
  #shareBtn { display: none; }
  .loc { max-width: 40vw; padding: 6px 10px 6px 8px; }
  .top { gap: 8px; flex-wrap: nowrap; }
  .tools { gap: 4px; }
  .tools .chip { height: 32px; min-width: 32px; padding: 0 8px; }
}

/* ---------- Bento grid ---------- */
.bento {
  display: grid; gap: var(--gap); grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense;
  max-width: 1320px; margin: 0 auto; padding: 6px clamp(12px, 3vw, 28px) 28px;
}
.alerts, .hero, .daily, .hourly, .radar, .sun, .afd { grid-column: span 2; }
@media (min-width: 1080px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .alerts, .afd { grid-column: 1 / -1; }
  .daily { grid-row: span 2; }
  .radar { grid-row: span 2; }
}

.card {
  container-type: inline-size;
  background: var(--card); border: 1px solid var(--edge); border-radius: var(--r);
  padding: 16px 18px; backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 oklch(1 0 0 / .25) inset, 0 10px 30px -12px oklch(0.2 0.05 260 / .25);
  min-width: 0;
  animation: rise .5s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes rise { from { opacity: 0; translate: 0 10px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.right { text-align: right; }
.row { display: flex; align-items: center; }
.row.between { justify-content: space-between; gap: 10px; }
.row.gap { gap: 10px; }
.big { font-size: clamp(22px, 13cqi, 30px); font-weight: 650; letter-spacing: -0.02em; line-height: 1.1; margin: 6px 0 4px; }
.mid { font-size: 18px; font-weight: 650; }

/* Skeletons */
body.loading .sk { color: transparent !important; border-radius: 10px; background: linear-gradient(90deg, var(--line), oklch(0.5 0 0 / .15), var(--line)) 0 0 / 200% 100%; animation: shimmer 1.2s linear infinite; }
.sk-block { height: 160px; border-radius: 14px; background: linear-gradient(90deg, var(--line), oklch(0.5 0 0 / .14), var(--line)) 0 0 / 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Alerts ---------- */
.alerts { display: grid; gap: 8px; }
.alert {
  --sev: oklch(0.7 0.16 70);
  border-radius: 16px; border: 1px solid color-mix(in oklch, var(--sev) 60%, transparent);
  background: color-mix(in oklch, var(--sev) 22%, var(--card-hi)); backdrop-filter: blur(14px);
}
.alert[data-sev="Extreme"], .alert[data-sev="Severe"] { --sev: oklch(0.6 0.22 27); }
.alert[data-sev="Moderate"] { --sev: oklch(0.72 0.17 55); }
.alert[data-sev="Minor"] { --sev: oklch(0.82 0.15 95); }
.alert summary { display: flex; align-items: center; gap: 10px; padding: 11px 14px; cursor: pointer; list-style: none; font-weight: 650; }
.alert summary::-webkit-details-marker { display: none; }
.alert summary::before { content: "!"; display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--sev); color: #fff; font-weight: 900; }
.alert summary .when { margin-left: auto; font-weight: 500; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.alert .body { padding: 0 14px 14px 48px; font-size: 14px; white-space: pre-line; }
.alert .body h4 { margin: 10px 0 2px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }

/* ---------- Hero ---------- */
.hero { display: flex; flex-direction: column; gap: 6px; }
.hero-main { display: flex; align-items: center; gap: clamp(8px, 3cqi, 24px); }
.hero-ic { width: clamp(84px, 24cqi, 150px); height: auto; aspect-ratio: 1; flex: none; filter: drop-shadow(0 8px 18px oklch(0 0 0 / .18)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -5px; } }
.temp { font-size: clamp(64px, 20cqi, 128px); font-weight: 250; letter-spacing: -0.05em; line-height: .95; }
.cond { font-size: clamp(17px, 4.2cqi, 24px); font-weight: 600; margin-top: 4px; }
.hero-sub { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; }
.nowcast { margin-top: 6px; padding: 10px 12px; border-radius: 14px; background: var(--line); font-weight: 550; }
.nowcast:empty { display: none; }
.clock { display: none; margin-left: auto; text-align: right; }

/* ---------- Hourly chart ---------- */
.hourly { display: flex; flex-direction: column; gap: 8px; }
.legend { display: flex; align-items: center; gap: 6px; color: var(--ink-2); }
.legend i { display: inline-block; width: 12px; height: 4px; border-radius: 4px; margin-left: 6px; }
.lg-t { background: linear-gradient(90deg, #6cb6ff, #ffb347); }
.lg-p { background: var(--c-rain); }
.hscroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; margin: 0 -6px; padding: 0 6px; mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 24px), transparent); }
.hscroll svg { height: 186px; }
.hc-time { font-size: 12px; fill: var(--ink-2); text-anchor: middle; font-weight: 600; }
.hc-temp { font-size: 14px; fill: var(--ink); text-anchor: middle; font-weight: 700; }
.hc-pop { font-size: 11px; fill: var(--c-rain); text-anchor: middle; font-weight: 700; }
.hc-day { font-size: 11px; fill: var(--ink); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hc-sep { stroke: var(--line); stroke-width: 1.5; }
.hc-line { fill: none; stroke-width: 3; stroke-linecap: round; }
.hc-bar { fill: var(--c-rain); opacity: .75; }
.hc-now { fill: var(--accent); }

/* ---------- 7-day ---------- */
.daily { display: flex; flex-direction: column; gap: 6px; }
.days { display: flex; flex-direction: column; }
.day { border-top: 1px solid var(--line); }
.day:first-child { border-top: 0; }
.day summary {
  display: grid; grid-template-columns: 4.3em 34px 2.6em 2.4em 1fr 2.4em; align-items: center; gap: 8px;
  padding: 9px 2px; cursor: pointer; list-style: none; border-radius: 12px;
}
.day summary::-webkit-details-marker { display: none; }
.day summary:hover { background: var(--line); }
.day .dn { font-weight: 700; }
.day .ic { width: 32px; height: 32px; }
.day .pop { font-size: 12px; font-weight: 700; color: var(--c-rain); }
.day .lo { text-align: right; color: var(--ink-2); font-weight: 600; }
.day .hi { font-weight: 700; }
.bar { position: relative; height: 6px; border-radius: 6px; background: var(--line); }
.bar i { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: linear-gradient(90deg, var(--a), var(--b)); }
.bar b { position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 50%; translate: -50% -50%; background: #fff; border: 2px solid var(--ink); }
.day .dd { padding: 2px 4px 12px; font-size: 14px; display: grid; gap: 6px; }
.day .dd b { font-weight: 700; }
.day::details-content { block-size: 0; overflow: hidden; transition: block-size .3s ease, content-visibility .3s allow-discrete; }
.day[open]::details-content { block-size: auto; }
@container (max-width: 380px) {
  .day summary { grid-template-columns: 4em 28px 2.3em 2.1em 1fr 2.1em; gap: 6px; }
}

/* ---------- Radar ---------- */
.radar { display: flex; flex-direction: column; gap: 10px; min-height: 380px; }
.map { flex: 1; min-height: 320px; border-radius: 16px; overflow: hidden; background: var(--line); display: grid; place-items: center; isolation: isolate; }
.map.leaflet-container { display: block; }
.radar:fullscreen { border-radius: 0; padding: 14px; background: light-dark(#eef2f8, #0b1220); }
.radar:fullscreen .map { min-height: 0; }
#radarScrub { width: 100%; accent-color: var(--accent); }
.leaflet-container { font: inherit; background: light-dark(#dfe5ee, #1a2130); }
.leaflet-control-attribution { font-size: 10px; }

/* ---------- Mini tiles ---------- */
.mini { display: flex; flex-direction: column; gap: 2px; }
.wind { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.compass { width: min(96px, 42cqi); flex: none; }
@container (max-width: 200px) { .wind { flex-direction: column; align-items: flex-start; } .compass { width: 80px; } }
@media (min-width: 1080px) { .days { flex: 1; justify-content: space-around; } }
.compass .ring { fill: var(--line); stroke: var(--line); }
.compass .ticks line { stroke: var(--ink-2); stroke-width: 1; opacity: .5; }
.compass .cd { font-size: 10px; font-weight: 800; text-anchor: middle; fill: var(--ink-2); }
.compass .arrow { fill: var(--accent); transform-origin: 50px 50px; transition: rotate 1s cubic-bezier(.3,1.4,.5,1); }
.meter { position: relative; height: 8px; border-radius: 8px; background: var(--line); margin: 6px 0 8px; overflow: hidden; }
.meter > i { position: absolute; inset: 0 auto 0 0; border-radius: 8px; background: linear-gradient(90deg, #7cc4ff, var(--accent)); width: 0; transition: width .8s; }
.meter.aq { overflow: visible; background: linear-gradient(90deg, #3ec46d 0 10%, #f2d33a 10% 20%, #ff8c2e 20% 30%, #ea3d3d 30% 40%, #8f3f97 40% 60%, #7e0023 60%); }
.meter.aq > i { width: 12px; height: 12px; top: -2px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); translate: -50% 0; transition: left .8s; }
.spark { width: 100%; height: 34px; margin-top: auto; }
.spark path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }

/* ---------- Sun & moon ---------- */
.sun { display: flex; flex-direction: column; gap: 6px; }
.arc { width: 100%; max-height: 130px; }
.arc .horizon { stroke: var(--line); stroke-width: 2; }
.arc .track { fill: none; stroke: var(--line); stroke-width: 3; stroke-dasharray: 2 6; stroke-linecap: round; }
.arc .done { fill: none; stroke: url(#arcG); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 0 1; transition: stroke-dasharray 1s; }
.arc .sundot { fill: var(--c-sun); filter: drop-shadow(0 0 8px #ffc23d); transition: cx 1s, cy 1s; }
.moon { width: 52px; height: 52px; flex: none; }

/* ---------- Discussion ---------- */
.afd summary { cursor: pointer; list-style: none; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.afd summary::-webkit-details-marker { display: none; }
.afd summary::after { content: "Show ▾"; margin-left: auto; font-size: 13px; font-weight: 600; color: var(--accent); }
.afd[open] summary::after { content: "Hide ▴"; }
.afd pre { margin: 12px 0 0; max-height: 60vh; overflow: auto; font: 13px/1.55 var(--mono); white-space: pre-wrap; }
.afd::details-content { block-size: 0; overflow: hidden; transition: block-size .35s ease, content-visibility .35s allow-discrete; }
.afd[open]::details-content { block-size: auto; }

/* ---------- Footer, dialog, toast ---------- */
.foot { max-width: 1320px; margin: 0 auto; padding: 0 clamp(12px, 3vw, 28px) 40px; font-size: 12px; color: oklch(0.97 0.01 250); text-shadow: 0 1px 6px oklch(0 0 0 / .3); display: grid; gap: 4px; }
.dlg {
  width: min(460px, 94vw); border: 1px solid var(--edge); border-radius: 24px; padding: 18px; color: var(--ink);
  background: light-dark(oklch(0.99 0.005 250), oklch(0.2 0.025 262)); box-shadow: 0 30px 80px -20px oklch(0 0 0 / .45);
}
.dlg[open] { animation: pop .25s cubic-bezier(.2,.9,.3,1.2); }
@keyframes pop { from { opacity: 0; scale: .96; } }
.dlg::backdrop { background: oklch(0.1 0.02 260 / .45); backdrop-filter: blur(4px); }
.dlg h2 { font-size: 18px; font-weight: 700; }
.dlg input { width: 100%; margin: 12px 0 8px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--line); font-size: 16px; }
.dlg input:focus { outline: 2px solid var(--accent); }
.rowbtn, .list button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border: 0; border-radius: 12px; background: none; cursor: pointer; text-align: left; }
.rowbtn { color: var(--accent); font-weight: 650; }
.rowbtn svg { width: 20px; height: 20px; }
.rowbtn:hover, .list button:hover { background: var(--line); }
.list { list-style: none; margin: 4px 0 12px; padding: 0; }
.list li { display: flex; align-items: center; }
.list .rm { width: auto; color: var(--ink-2); }
.list:empty::after { content: attr(data-empty); display: block; padding: 6px 12px; font-size: 13px; color: var(--ink-2); }
.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 99; padding: 10px 16px; border-radius: 999px; background: oklch(0.2 0.02 260 / .92); color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 10px 30px oklch(0 0 0 / .3); }

/* ---------- View transitions for unit / location swaps ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

/* ==========================================================
   DISPLAY MODE — full-screen board for TVs, lobbies, kiosks
   ?display=1 in the URL starts here directly.
   ========================================================== */
body.display { overflow: hidden; font-size: 1.6vh; }
body.display .card { backdrop-filter: none; -webkit-backdrop-filter: none; animation: none; }
body.display .top { padding: 1.4vh 2.2vw 0; max-width: none; animation: none; background: none; box-shadow: none; }
body.display .tools > :not(#exitBtn) { display: none; }
body.display #exitBtn { display: inline-flex !important; opacity: 0; transition: opacity .3s; }
body.display:not(.idle) #exitBtn { opacity: 1; }
body.display.idle { cursor: none; }
body.display .loc { pointer-events: none; font-size: 2.4vh; max-width: none; }
body.display .loc .chev { display: none; }
body.display .brand { font-size: 2.2vh; }
body.display .bento {
  max-width: none; height: calc(100dvh - 7vh); padding: 1.4vh 2.2vw 2vh; gap: 1.6vh;
  grid-template-columns: 1.35fr 1fr; grid-template-rows: auto 1fr auto; grid-auto-flow: row;
}
body.display .bento > :not(.alerts, .hero, .daily, .hourly) { display: none; }
body.display .alerts { grid-column: 1 / -1; grid-row: 1; }
body.display .alert .body { display: none; }
body.display .alert summary { font-size: 2.2vh; pointer-events: none; }
body.display .hero { grid-column: 1; grid-row: 2; justify-content: center; padding: 3vh 3vw; }
body.display .daily { grid-column: 2; grid-row: 2 / span 2; padding: 2.4vh 2vw; }
body.display .hourly { grid-column: 1; grid-row: 3; padding: 2vh 2vw; }
body.display .eyebrow { font-size: 1.6vh; }
body.display .hero-ic { width: 22vh; }
body.display .temp { font-size: 20vh; }
body.display .cond { font-size: 4vh; }
body.display .hero-sub { font-size: 2.6vh; gap: 1vh 3vw; }
body.display .nowcast { font-size: 2.4vh; padding: 1.4vh 1.6vw; }
body.display .clock { display: block; }
body.display .clock .t { white-space: nowrap; font-size: 7vh; font-weight: 300; letter-spacing: -0.03em; line-height: 1; }
body.display .clock .d { font-size: 2.4vh; color: var(--ink-2); font-weight: 600; }
body.display .days { flex: 1; justify-content: space-between; }
body.display .day summary { grid-template-columns: 4.4em 6vh 3em 2.6em 1fr 2.6em; font-size: 2.7vh; padding: 1.1vh 0.4vw; pointer-events: none; }
body.display .day .ic { width: 6vh; height: 6vh; }
body.display .day .pop { font-size: 1.9vh; }
body.display .bar { height: 1vh; }
body.display .hscroll { overflow: hidden; mask-image: none; }
body.display .hscroll svg { width: 100%; height: auto; max-height: 22vh; }
body.display .foot { display: none; }

/* Sky-aware contrast: light theme over a night sky gets more opaque cards; snowy day sky gets dark chrome text */
body[data-night="1"] { --card: light-dark(oklch(0.98 0.005 250 / 0.9), oklch(0.2 0.025 262 / 0.62)); --card-hi: light-dark(oklch(1 0 0 / 0.95), oklch(0.27 0.03 262 / 0.75)); }
body[data-sky="snow"]:not([data-night="1"]) :is(.brand, .foot) { color: oklch(0.25 0.03 260); text-shadow: none; }
.foot .muted { color: inherit; opacity: .8; }

.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.foot-nav { font-weight: 600; }
