@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600;700&family=Anton&display=swap');
/* austin.css -- Gig poster look for the austin site.
 * Served by the weather-data plane; linked LAST in <head> on each page so it wins the cascade. Same machinery as chart.css/vitals.css.
 * Fail-soft: unreachable = the page's own dark theme. Text >= 6:1 on the paper.
 */

:root {
      --wx-font: 'Work Sans', 'Segoe UI', Arial, sans-serif;
      --chart-serif: 'Work Sans', 'Segoe UI', Arial, sans-serif;
      --chart-ink: #1b1713;
      --chart-ink-2: #1b1713;
      --chart-land: #f4ead2;
      --chart-land-2: #fbf5e4;
      --chart-shoal: #dfe4f2;
      --chart-deep: #8da0d0;
      --chart-mag: #c4430f;
      --wx-bg: #f4ead2;
      --wx-bg-deep: #e8dcbc;
      --wx-panel: #fbf5e4;
      --wx-panel-hover: #fffaee;
      --wx-panel-solid: #fbf5e4;
      --wx-border: #1b1713;
      --wx-border-soft: #c9bb98;
      --wx-shadow: none;
      --wx-radius: 3px;
      --wx-header-a: #2f4ea0;
      --wx-header-b: #2f4ea0;
      --wx-header-rule: #1b1713;
      --wx-text: #1b1713;
      --wx-text-soft: #2d251d;
      --wx-text-dim: #5a4a3a;
      --wx-text-max: #000000;
      --wx-link: #2f4ea0;
      --wx-accent: #2f4ea0;
      --wx-accent-2: #2f4ea0;
      --wx-accent-3: #c4430f;
      --wx-accent-deep: #2f4ea0;
      --wx-hot: #b23a00;
      --wx-hot-2: #b23a00;
      --wx-cold: #0b6a9c;
      --wx-cold-2: #1d4f7c;
      --wx-water: #0a6d86;
      --wx-water-2: #0d7a6f;
      --wx-sky: #1d5f8a;
      --wx-good: #2e6b32;
      --wx-caution: #8a5200;
      --wx-warn: #8a5200;
      --wx-danger: #a3231b;
      --wx-info: #00667d;
    }

html, body { background: var(--chart-land); color: var(--wx-text); }
header { background: var(--chart-ink); border-bottom: 3px solid var(--chart-ink-2); }
.hdr-title { font-family: var(--wx-font); font-style: italic; font-weight: 400;
  letter-spacing: 0; text-transform: none; text-shadow: none; color: var(--chart-land); }
.hdr-sub { color: #d6e4ec; }
.back-link { color: var(--chart-land); border-color: rgba(241,231,200,0.6); border-radius: 3px; }
.back-link:hover { color: #fff; border-color: #fff; }
.sec-title { font-family: var(--wx-font); font-style: italic; font-weight: 400; font-size: 1.1rem;
  letter-spacing: 0; text-transform: none; color: var(--chart-ink); }
.card-hdr { font-family: var(--wx-font); font-style: italic; font-weight: 400;
  letter-spacing: 0; text-transform: none; color: var(--chart-ink); }
.card { background: var(--chart-land-2); border: 2px solid var(--chart-ink); border-radius: 3px; }
.muted { color: var(--wx-text-dim); }
a { color: var(--wx-link); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--chart-mag); outline-offset: 2px; }
.leaflet-container { background: var(--chart-shoal); }
footer, footer a { color: var(--wx-text-dim); }

/* ── Auto-darkened text: these rules named a light colour that only worked on the old dark ground ── */
#honesty-note { color: var(--wx-text-dim); }
#intro-note { color: #306953; }
#map-status { color: var(--wx-text-dim); }
#season-note { color: #865713; }
#state-map-cap { color: #6d492c; }
#state-map-cap a { color: #865113; }
.about a { color: var(--wx-text-dim); }
.action-banner { color: #863013; }
.alert-box b { color: #866713; }
.card a { color: #138657; }
.card-body { color: #37624e; }
.card-note { color: #395149; }
.err-txt { color: #7e1b1b; }
.error-card { color: #861313; }
.event-name { color: #138657; }
.event-venue { color: #395149; }
.event-when { color: #395149; }
.ext-date { color: var(--wx-text-dim); }
.ext-stale { color: #866013; }
.ext-stn { color: var(--wx-text-dim); }
.forecast-text { color: var(--wx-text-dim); }
.forecast-text strong { color: var(--wx-text-dim); }
.jump-nav a { color: var(--wx-text-dim); }
.link-item-sub { color: #395149; }
.link-item-title { color: #138657; }
.lt-btn { color: #864c13; }
.map-note { color: var(--wx-text-dim); }
.map-note a { color: #865113; }
.meta .updated { color: var(--wx-text-dim); }
.muted { color: #395149; }
.nerd-link-desc { color: var(--wx-text-dim); }
.nerd-link-title { color: #865113; }
.outlook-card-lbl { color: var(--wx-text-dim); }
.product-text { color: var(--wx-text-dim); }
.rec-meta { color: var(--wx-text-dim); }
.rec-val.none { color: var(--wx-text-dim); }
.resort-link-title { color: var(--wx-text-dim); }
.ship-eta { color: #866713; }
.ship-meta { color: #395149; }
.ship-name { color: #138657; }
.stat-lbl { color: #395149; }
.stat-val { color: #454545; }
.state-group h3 { color: var(--wx-text-dim); }
.sw-tab { color: var(--wx-text-dim); }
.verdict.good { color: #178249; }
.verdict.ok { color: #866713; }
.verdict.rough { color: #863813; }
.wxh-desc { color: var(--wx-text-dim); }
.wxh-src { color: var(--wx-text-dim); }
.wxh-src a { color: var(--wx-text-dim); }
/* ── Footer ──────────────────────────────────────────────── */ footer { color: var(--wx-text-dim); }
footer { color: var(--wx-text-dim); }
footer a { color: var(--wx-text-dim); }

header h1 { font-family: var(--wx-font); font-style: italic; font-weight: 400; letter-spacing: 0;
  text-transform: none; text-shadow: none; color: var(--chart-land); }
.meta, .meta .updated { color: var(--wx-text-dim); }
.forecast-text, .forecast-text strong, .product-text { color: var(--wx-text); }
.action-banner { background: #f6d9d4; border-color: #a3231b; color: #6d130d; }
.error-card, #status.err { color: #8a1c14; }
.verdict.good { color: #1f6b3f; } .verdict.ok { color: #7a5a00; } .verdict.rough { color: #a04a00; }
.ship-name, .link-item-title, .event-name, .stat-val { color: var(--chart-ink-2); }
.card a { color: var(--wx-link); }

/* Panels that were translucent dark fills on the old ground */
.extremes-box, .outlook-card, .product-text { background: var(--chart-land-2); border: 2px solid var(--chart-ink); border-radius: 3px; }
.sum-ai { color: var(--wx-accent); border-color: var(--wx-accent); }

/* Phones: a little larger type everywhere (the old rem sizes ran 10-12px) */
@media (max-width: 700px) {
  html { font-size: 17.5px; }
  body { font-size: 16px; }
}

/* Link-ish labels: one link colour across pages instead of each page's old accent */
.map-note a, #state-map-cap a, .nerd-link-title, .resort-link-title, .card a, .wxh-src a, .jump-nav a { color: var(--wx-link); }

/* Map legends and Leaflet chrome: light chart-paper panels (was dark glass over a dark map) */
#main-legend, #air-legend, #fire-legend, #fall-legend, #ski-legend, #aq-legend {
  background: rgba(248,242,221,0.96); border: 2px solid var(--chart-ink); border-radius: 3px; box-shadow: none; }
/* !important on purpose: legends carry per-page accent colours at higher specificity that only worked on dark */
#main-legend, #main-legend *, #air-legend, #air-legend *, #fire-legend, #fire-legend *,
#fall-legend, #fall-legend *, #ski-legend, #ski-legend *, #aq-legend, #aq-legend * { color: var(--chart-ink-2) !important; }
.leaflet-control-zoom a { background: var(--chart-land-2); color: var(--chart-ink); border-color: var(--chart-ink); }
.leaflet-control-zoom a:hover { background: #fffaea; color: var(--chart-ink-2); }
.leaflet-control-layers { background: var(--chart-land-2); border: 2px solid var(--chart-ink); color: var(--chart-ink); border-radius: 3px; }
.leaflet-control-attribution { background: rgba(248,242,221,0.85); color: var(--wx-text-dim); }
.leaflet-control-attribution a { color: var(--wx-link); }

/* What's New page */
.release li, .release p { color: var(--wx-text); }
.release li strong, .release h2 { color: var(--chart-ink-2); }
.release-date { color: var(--wx-text-dim); }

/* Pages restyle Leaflet chrome with !important for the dark theme, so these need it too */
.leaflet-control-zoom a { background: var(--chart-land-2) !important; color: var(--chart-ink) !important; border-color: var(--chart-ink) !important; }
.leaflet-control-attribution { background: rgba(248,242,221,0.88) !important; color: var(--wx-text-dim) !important; }
.leaflet-control-attribution a { color: var(--wx-link) !important; }
#main-map-time { background: rgba(248,242,221,0.96); border: 2px solid var(--chart-ink); color: var(--chart-ink-2); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--chart-land-2); color: var(--chart-ink-2); }

/* ══ Shared structure (both local looks): square cells, text nav, station columns, drawn icons ══ */
body { font-variant-numeric: tabular-nums; }
:root { color-scheme: light; }
.sec-title::after { display: none; }
.sec-title + .card, .sec-title + .grid-3 > .card:first-child { border-top: 0; }
.card { border-radius: 0; }
.fc-period, .alert-banner, .now-card, .fc-day, .crop-card, .hl-card, .gauge, .stat { border-radius: 0; }
.quick-links { gap: 0.2rem 1.4rem; padding: 0.7rem 1.5rem; }
.ql-btn { background: none; border: 0; border-bottom: 3px solid transparent; border-radius: 0; padding: 0.25rem 0; font-weight: 700; letter-spacing: 0.02em; }
#hdr-cond { border-radius: 0; }
#hdr-cond .hdr-temp-num, #hdr-cond .hdr-temp-unit, #hdr-cond .hdr-cond-label, #clock, .whats-new-link, .hdr-sub { color: var(--hd-fg); }
.hdr-sub { color: var(--hd-dim); }
#hdr-cond .hdr-sky-icon .wx-ico { color: var(--hd-fg); } #hdr-cond .hdr-sky-icon .wx-fill { fill: transparent; }
.two-stn-grid { gap: 0; }
.two-stn-grid > div { padding: 0 1.1rem; border-right: 1px solid var(--wx-border-soft); }
.two-stn-grid > div:first-child { padding-left: 0; } .two-stn-grid > div:last-child { border-right: 0; }
.stn-nm { color: var(--wx-text-dim); letter-spacing: 0.08em; } .big-temp { color: var(--chart-ink-2); }
.obs-sky { color: var(--chart-ink-2); font-weight: 600; }
.moon-emoji { line-height: 0; display: flex; justify-content: center; }
.moon-lbl { color: var(--chart-ink-2); } .moon-sub, .moon-rs-lbl { color: var(--wx-text-dim); } .moon-rs-val { color: var(--chart-ink-2); }
.wx-ico { display: block; width: 1.9rem; height: 1.9rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--chart-ink-2); }
.wx-ico .wx-fill { fill: var(--chart-land-2); } .wx-ico .wx-solid { fill: currentColor; stroke: none; }
.fc-period.is-night .wx-ico .wx-fill { fill: var(--chart-shoal); }
.fc-icon { line-height: 0; } .fc-icon .wx-ico { width: 2.2rem; height: 2.2rem; margin: 0 auto; }
.obs-sky-icon { line-height: 0; } .obs-sky-icon .wx-ico { width: 1.7rem; height: 1.7rem; }
.moon-svg { display: block; width: 3.4rem; height: 3.4rem; }
.mn-dark { fill: var(--chart-ink-2); } .mn-lit { fill: var(--chart-land-2); } .mn-rim { fill: none; stroke: var(--chart-ink-2); stroke-width: 1.4; }
.mn-maria circle { fill: var(--chart-ink-2); fill-opacity: 0.14; }
.al-ico { width: 1.15rem; height: 1.15rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.al-ico .al-fill { fill: currentColor; fill-opacity: 0.18; }
.hdr-chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.2rem 0.65rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hd-fg); border: 1.5px solid var(--hd-fg); }
.hdr-chip[hidden] { display: none; }
.hdr-chip i { width: 0.9rem; height: 0.9rem; flex: none; background: var(--flag, var(--hd-fg)); }
@media (max-width: 700px) {
  .quick-links { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 0 1.1rem; scrollbar-width: none; }
  .ql-btn { white-space: nowrap; flex: none; } .quick-links::-webkit-scrollbar { display: none; }
  .two-stn-grid { grid-template-columns: 1fr; }
  .two-stn-grid > div, .two-stn-grid > div:first-child { padding: 0 0 0.9rem; margin-bottom: 0.9rem; border-right: 0; border-bottom: 1px solid var(--wx-border-soft); }
  .two-stn-grid > div:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
  .hdr-chip { font-size: 0.7rem; }
}
.radar-cap, #radar-cap { color: var(--wx-text-dim); } .crop-up { color: #1f6b3f; } .crop-dn, .crop-down { color: #a3231b; }

/* ══ Austin: gig poster. Cream paper, bluebonnet blue, burnt orange, black ink; heavy condensed type, framed cards ══ */
:root { --hd-fg: #f4ead2; --hd-dim: #dbe1f2; --orange: #c4430f; --disp: 'Anton', 'Arial Narrow', Impact, sans-serif; }
header { background: #2f4ea0; border-bottom: 6px solid var(--orange); }
.hdr-title { font-family: var(--disp); font-style: normal; font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; text-shadow: none; color: #f4ead2; font-size: clamp(1.5rem, 3.4vw, 2.4rem); }
.sec-title { display: block; font-family: var(--disp); font-style: normal; font-weight: 400; font-size: 1.05rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--orange); color: #fbf5e4; padding: 0.4rem 0.9rem; margin: 1.5rem 0 0; border-radius: 0; border-bottom: 3px solid #1b1713; }
.card { background: #fbf5e4; border: 2px solid #1b1713; outline: 1px solid #1b1713; outline-offset: -7px; }
.card-hdr { font-family: var(--wx-font); font-style: normal; font-weight: 700; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wx-text-dim); }
.quick-links { background: #fbf5e4; border-bottom: 3px double #1b1713; }
.ql-btn { color: #1b1713; }
.ql-btn:hover { border-bottom-color: var(--orange); }
.big-temp, .hdr-temp-num { font-family: var(--disp); font-weight: 400; letter-spacing: 0.01em; }
.big-temp { font-size: 3rem; } .fc-temp { font-family: var(--disp); font-weight: 400; letter-spacing: 0.02em; }
.fc-period { border: 2px solid #1b1713; background: #fbf5e4; } .fc-period.is-night { background: #dfe4f2; }
.alert-banner { background: #f6d3c4; border: 2px solid var(--orange); color: #4a1b06; }
.alert-banner .alert-title { color: #4a1b06; }
.alert-banner.advisory { background: #f4e7b4; border-color: #7a5a00; color: #3d2f00; }
.hdr-chip { border-color: #f4ead2; }
.hdr-chip i { background: #f4ead2; clip-path: polygon(0 100%, 0 40%, 22% 0, 36% 40%, 50% 22%, 64% 40%, 78% 0, 100% 40%, 100% 100%); }

/* Auto-darkened text from this site's pages */
#clock { color: #474747; }
#map-status { color: var(--wx-text-dim); }
.alert-body { color: #5c3333; }
.alert-meta { color: #701f1f; }
.alert-title { color: #791515; }
.aqi-sub { color: var(--wx-text-dim); }
.big-temp { color: #474747; }
.crop-dn { color: #791d15; }
.err-txt { color: #701e1e; }
.ext-date { color: var(--wx-text-dim); }
.ext-stale { color: #795815; }
.ext-stn { color: var(--wx-text-dim); }
.fc-desc { color: var(--wx-text-dim); }
.fc-name { color: var(--wx-text-dim); }
.fc-temp { color: #474747; }
.flood-major b { color: #791d15; }
.gauge-big { color: #474747; }
.gauge-time { color: var(--wx-text-dim); }
.gauge-usgs { color: var(--wx-text-dim); }
.jump-nav a { color: #154779; }
.map-note { color: var(--wx-text-dim); }
.moon-lbl { color: #154279; }
.moon-rs-lbl { color: var(--wx-text-dim); }
.moon-rs-val { color: #153c79; }
.moon-sub { color: var(--wx-text-dim); }
.muted { color: var(--wx-text-dim); }
.nerd-link-desc { color: var(--wx-text-dim); }
.obs-sky { color: #154279; }
.outlook-card-lbl { color: var(--wx-text-dim); }
.plane-label { color: #154379; }
.product-text { color: #154279; }
.rec-meta { color: var(--wx-text-dim); }
.rec-val.none { color: var(--wx-text-dim); }
.release li { color: var(--wx-text-dim); }
.sky-item-lbl { color: var(--wx-text-dim); }
.sky-item-sub { color: var(--wx-text-dim); }
.sw-tab { color: #154779; }
.tag.fix { color: #795815; }
.tag.new { color: #157942; }
.whats-new-link { color: var(--wx-text-dim); }
.wxh-desc { color: var(--wx-text-dim); }
.wxh-src { color: var(--wx-text-dim); }
.wxh-src a { color: var(--wx-text-dim); }
/* ── Footer ──────────────────────────────────────────────── */ footer { color: var(--wx-text-dim); }
footer { color: var(--wx-text-dim); }
h1 { color: #474747; }

/* Final header + label pass (after the auto-darkened rules, which would otherwise dim these) */
header .whats-new-link, header #clock, header #last-updated { color: var(--hd-fg); }
header .whats-new-link:hover { color: var(--hd-fg); text-decoration: underline; }
header #hdr-cond .hdr-cond-label { color: var(--hd-dim); }
.obs-sky, .obs-sky .obs-sky-icon { color: var(--chart-ink-2); }

/* Phones: let the header's right-hand group wrap instead of clipping the clock */
@media (max-width: 700px) {
  header .hdr-right { flex-wrap: wrap; gap: 0.4rem 0.8rem; }
  .hdr-chip { white-space: nowrap; padding: 0.1rem 0.5rem; }
}

/* Phone floor: the Weather Nerds records box wraps instead of scrolling sideways, and small labels stay readable */
@media (max-width: 700px) {
  .rec-row { grid-template-columns: 4.4rem auto minmax(0, 1fr); }
  .rec-meta, .rec-lbl { min-width: 0; overflow-wrap: anywhere; }
  .moon-rs-lbl, .aurora-kp-lbl, .aurora-day-lbl, .sum-ai, .ext-col-hdr, .rec-col-hdr { font-size: 11px; }
}

/* Phone: column headers keep contrast (the "hdr" rule family was excluded from the auto pass); legends clear the attribution bar */
.ext-col-hdr, .rec-col-hdr { color: var(--wx-text-dim); }
@media (max-width: 700px) {
  #main-legend, #air-legend, #fire-legend, #fall-legend, #ski-legend, #aq-legend { bottom: 44px; }
}

/* About window (the page's own rules assumed a dark panel): paper panel, ink text, readable What's New badges */
.modal-overlay { background: rgba(20,20,20,0.55); }
.modal-box { background: var(--chart-land-2); border: 2px solid var(--chart-ink); border-radius: 0; color: var(--wx-text); box-shadow: none; }
.modal-box h2, .modal-box h3 { color: var(--chart-ink-2); }
.modal-box p, .modal-box li, .modal-box .wn-item > span:last-child, .modal-box .wn-text { color: var(--wx-text); }
.modal-box strong, .modal-box b { color: var(--chart-ink-2); }
.modal-box a { color: var(--wx-link); text-decoration: underline; }
.modal-close { color: var(--wx-text-dim); } .modal-close:hover { color: var(--chart-ink-2); background: none; }
.wn-item { border-bottom: 1px solid var(--wx-border-soft); }
.wn-badge { border-radius: 0; border: 1px solid transparent; }
.wn-badge.new { background: #d6ead3; color: #1f5a23; border-color: #2e6b32; }
.wn-badge.fix, .wn-badge:not(.new):not(.upd) { background: #d3e3f2; color: #0b3d6a; border-color: #0b4f8a; }
.wn-badge.upd { background: #f4e2bf; color: #6a3d00; border-color: #8a5200; }

/* Phone: records-box meta text always wraps; page never scrolls sideways by a few px */
@media (max-width: 700px) {
  .rec-meta { white-space: normal; }
  .rec-row { grid-template-columns: 4.4rem minmax(0, auto) minmax(0, 1fr); }
  main { overflow-x: clip; }
}

/* Radar maps: a mid-grey base (not the pale one) so faint echoes such as snow stay visible. Only the base tiles are dimmed; labels, bubbles and the radar layers are not. */
#radar-map .leaflet-tile[src*="World_Light_Gray_Base"], #main-map .leaflet-tile[src*="World_Light_Gray_Base"], .cmp-map .leaflet-tile[src*="World_Light_Gray_Base"],
#phase2 .leaflet-tile[src*="World_Light_Gray_Base"], #phase3 .leaflet-tile[src*="World_Light_Gray_Base"] { filter: brightness(0.68) contrast(1.12); }
#radar-map.leaflet-container, #main-map.leaflet-container, .cmp-map.leaflet-container { background: #8e9499; }

/* Station temperature graph (home Current Conditions): observed solid, forecast dashed */
.tg-head, .tg-cap { color: var(--wx-text-dim); }
.tg-grid { stroke: var(--wx-border-soft); opacity: 1; }
.tg-obs { stroke: var(--chart-ink-2); } .tg-fc { stroke: var(--chart-ink); }
.tg-now { stroke: var(--chart-mag); } .tg-dot { fill: var(--chart-mag); stroke: var(--chart-land-2); stroke-width: 2; }
.tg-txt { fill: var(--wx-text-dim); }
.tg-card { margin-top: 1rem; padding-top: 0.7rem; border-top: 1px solid var(--wx-border-soft); }

/* Dashboard chrome tokens (read by dashboard.css) */
:root { --db-bar-bg: #2f4ea0; --db-bar-fg: #f4ead2; --db-bar-dim: #dbe1f2; --db-band-bg: #c4430f; --db-band-fg: #fbf5e4; --db-band-border: #1b1713; --db-title-font: 'Anton', 'Arial Narrow', Impact, sans-serif; --db-title-style: normal; --db-title-weight: 400; --db-title-case: uppercase; --db-title-ls: 0.05em; }
