/* Karkalou Observatory v91.0 — one shared visual system across all six views.
   Layers over existing functional styles. No feature-specific API assumptions. */
:root {
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --bg: #edf2f6;
  --bg-2: #e4eaf0;
  --surface: #fff;
  --surface-2: #fff;
  --stroke: #d5e0e8;
  --text: #14283a;
  --muted: #50697a;
  --muted-2: #667f90;
  --accent: #17758b;
  --accent-2: #1f9b91;
  --ok: #13875f;
  --warn: #ac6817;
  --danger: #b64141;
  --shadow: 0 18px 42px rgba(19, 48, 71, .065);
  --shadow-soft: 0 8px 24px rgba(12, 36, 55, .055);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --ob-ink: #102538;
  --ob-sea: #0d6179;
  --ob-sky: #67b9be;
  --ob-sun: #f1c782;
  --ob-chart: #187c9c;
  --ob-ring: #13a59c;
  --ob-focus: #106c91;
}
html[data-theme="dark"] {
  --bg: #081521;
  --bg-2: #102434;
  --surface: #132736;
  --surface-2: #172f40;
  --stroke: #2d4b5b;
  --text: #eaf3f5;
  --muted: #b4cbd6;
  --muted-2: #9bb9c8;
  --accent: #74d8d3;
  --accent-2: #9fdca3;
  --ok: #8ed4b1;
  --warn: #f0bf71;
  --danger: #f6a3a3;
  --shadow: 0 20px 52px rgba(0, 5, 13, .20);
  --shadow-soft: 0 10px 28px rgba(0, 5, 13, .14);
  --ob-focus: #9ce4e2;
}
html { scroll-behavior: smooth; }
body {
  background: radial-gradient(ellipse 1200px 520px at 54% -17%, rgba(45,145,158,.13), transparent 72%),
              radial-gradient(ellipse 720px 900px at 100% 42%, rgba(76,136,154,.075), transparent 74%),
              linear-gradient(155deg,var(--bg),var(--bg-2));
  font-variant-numeric: tabular-nums;
  line-height: 1.52;
}
::selection { background: rgba(37,169,164,.27); }
:where(button, input, select, a, summary):focus-visible {
  outline: 3px solid var(--ob-focus);
  outline-offset: 3px;
}
button, input, select { font-family: inherit; }
button { touch-action: manipulation; }
.app-header {
  border-bottom: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--surface-2) 93%, transparent);
  box-shadow: 0 8px 26px rgba(12,36,55,.045);
  padding-inline: clamp(14px, 3vw, 38px);
  gap: 20px;
}
.brand { gap: 13px; }
.brand-title {font-size: clamp(13px,1.15vw,16px); font-weight: 800; letter-spacing: -.035em;}
.app-main { max-width: 1370px; padding: clamp(12px,2vw,27px);padding-bottom:calc(var(--nav-h) + env(safe-area-inset-bottom,0px) + 28px); }
.view { animation: ob-appear .23s ease both; }
@keyframes ob-appear { from{opacity:.7;transform:translateY(4px)}to{opacity:1;transform:none} }
/* Hero banners are shared across NOW, Charts, Compare, Insights, Forecast & Info. */
.ob-intro {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(117deg,#102c40 0%,#124f64 57%,#227c81 100%);
  border: 1px solid rgba(158,219,225,.18);
  box-shadow: 0 17px 38px rgba(10,51,72,.14);
  border-radius: 22px;
  min-height: 174px;
  color: #fff;
  padding: clamp(22px,3.2vw,42px) clamp(22px,4.2vw,50px);
  margin: 0 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
}
.ob-intro::before {
  content:''; position:absolute;inset:-50% -12%;z-index:-1;pointer-events:none;
  background: repeating-radial-gradient(ellipse at 84% 83%, transparent 0 22px, rgba(255,255,255,.075) 23px 24px, transparent 25px 39px);
  transform: rotate(-11deg);
}
.ob-intro::after {
  content:'';position:absolute;inset:auto -5% -105px auto;width:470px;height:240px;z-index:-1;
  border-radius:50%;filter:blur(42px);background:rgba(128,213,211,.12);
}
.ob-intro__copy { max-width: 820px; }
.ob-eyebrow {color:#b4e0df; font-size: 11px; letter-spacing: .16em; text-transform:uppercase;font-weight:800; margin-bottom:11px;}
.ob-intro h1 {font-size:clamp(27px,3.1vw,43px);font-weight:800;line-height:1.13;letter-spacing:-.045em;margin:0 0 10px;text-wrap:balance;}
.ob-intro p {font-size:clamp(13px,1.22vw,16px);line-height:1.68;color:#d9edef;margin:0;max-width:700px;}
.ob-intro__symbol {width:85px;height:85px;flex:0 0 auto;display:grid;place-items:center;border:1px solid rgba(255,255,255,.22);border-radius:24px;background:rgba(255,255,255,.085);font-size:32px;color:#c3ece7;box-shadow:inset 0 1px 0 rgba(255,255,255,.1);}
/* Consistent cards, not individual tab skins. */
.card { border-radius:var(--radius-xl);border:1px solid var(--stroke);background:var(--surface);box-shadow:var(--shadow); }
.card-header {border-bottom-color:var(--stroke);}
.card-title {letter-spacing:-.023em; font-weight:800; }
.card-sub,.hero-meta,.fc-caption {color:var(--muted);}
.hero {position:relative; overflow:hidden;background:linear-gradient(133deg,var(--surface) 30%,color-mix(in srgb,var(--surface) 90%,#80c9d6));}
.hero::before {background:radial-gradient(circle at 96% 3%, rgba(50,167,184,.16), transparent 45%);}
.hero-temp {font-size:clamp(70px,9vw,112px);font-weight:800;letter-spacing:-.075em;line-height:1;}
.kpi {border-color:var(--stroke);background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--surface) 93%,#c5e6e9));border-radius:16px;}
.kpi-icon {background:color-mix(in srgb,var(--surface) 84%,#81d4d7);border-color:color-mix(in srgb,var(--stroke) 70%,#77afb9);color:var(--accent);}
.kpi-value {letter-spacing:-.02em;}
.chip,.icon-btn,.btn,.select,.fc-select {border-color:var(--stroke);background:var(--surface-2);color:var(--text);box-shadow:none;}
.chip:hover,.icon-btn:hover,.btn:hover {border-color:var(--accent);}
.chip[aria-pressed="true"] {border-color:var(--accent);background:color-mix(in srgb,var(--surface) 84%,var(--accent));}
.segmented,.controls {border-color:var(--stroke);}
.segmented__btn {transition:background .18s ease,color .18s ease;}
.chart-card {transition:border-color .2s ease, box-shadow .2s ease;}
.chart-card:focus-within {border-color:color-mix(in srgb,var(--accent) 50%,var(--stroke));}
.chart {min-height:240px;}
/* Universal wayfinding */
.bottom-nav {background:color-mix(in srgb,var(--surface-2) 96%,transparent);box-shadow:0 -8px 26px rgba(11,41,58,.08);}
.bottom-nav-inner {max-width:1020px;gap:7px;}
.nav-btn {border-radius:13px;min-height:52px;transition:background .2s ease,color .2s ease;}
.nav-btn[aria-current="page"] {border-color:rgba(40,156,161,.35);color:var(--accent);background:color-mix(in srgb,var(--surface-2) 86%,#4fc9c0);}
/* Forecast navigation and narrative */
.ob-explore {display:flex;gap:9px;overflow-x:auto;scrollbar-width:thin;padding:0 0 13px;margin-top:2px;}
.ob-explore__link {display:flex;align-items:center;justify-content:center;gap:9px;flex:1 0 auto;min-height:46px;padding:9px 17px;border:1px solid var(--stroke);border-radius:13px;background:var(--surface);color:var(--text);font-weight:750;font-size:13px;cursor:pointer;box-shadow:var(--shadow-soft);white-space:nowrap;}
.ob-explore__link i {color:var(--accent);}
.ob-explore__link:hover,.ob-explore__link.is-current {border-color:var(--accent);background:color-mix(in srgb,var(--surface) 94%,#a7dada);}
.forecast-head {margin-top:0;padding:clamp(17px,2.4vw,26px);display:flex;flex-wrap:wrap;gap:15px;align-items:start;justify-content:space-between;}
.forecast-head>.card-title,.forecast-head>div:first-child {min-width:0;flex:1 1 275px;}
.forecast-horizon {display:flex;flex-wrap:wrap;gap:7px;}
.fc-period {padding:11px 15px;white-space:nowrap;border-radius:10px;}
.fc-period.is-selected {background:linear-gradient(135deg,#155870,#137c80);color:#fff;border-color:transparent;}
.fc-disclaimer {flex-basis:100%;}
.forecast-status {color:var(--muted);font-size:12px;margin:2px 4px 12px;}
.forecast-head,.fc-content {margin-bottom:17px;}
.fc-content {scroll-margin-top:150px;padding:clamp(16px,2.4vw,29px);}
.fc-table th {color:var(--muted);background:color-mix(in srgb,var(--surface-2) 90%,#95c5cb);}
.fc-table tr:hover td {background:color-mix(in srgb,var(--surface) 90%,#bedfe3);}
.fc-table td,.fc-table th {border-bottom-color:var(--stroke);}
.fc-model-choice {font-weight:700;font-size:12px;padding:9px 12px;}
.fc-model-choice[aria-pressed="true"] {background:color-mix(in srgb,var(--surface) 81%,#54b8ad);border-color:var(--accent);color:var(--text);}
.fc-empty {border-radius:14px;border:1px dashed var(--stroke);background:color-mix(in srgb,var(--surface-2) 93%,#bddfe6);}
.ob-context {padding:11px 15px;border-left:3px solid var(--accent);background:color-mix(in srgb,var(--surface) 92%,#91cbd0);border-radius:0 9px 9px 0;color:var(--muted);font-size:12px;line-height:1.65;}
.ob-weather-story {position:relative;overflow:hidden;border-radius:18px;padding:clamp(17px,2.8vw,30px);color:#f5fcfc;background:linear-gradient(128deg,#12354a,#176778 73%,#2a948e);margin:12px 0 18px;border:1px solid rgba(255,255,255,.16);}
.ob-weather-story::after {content:'';position:absolute;right:-90px;top:-155px;width:350px;height:350px;border-radius:50%;border:52px solid rgba(255,255,255,.045);pointer-events:none;}
.ob-weather-eyebrow {font-size:11px;font-weight:800;letter-spacing:.12em;color:#b6e9e7;text-transform:uppercase;}
.ob-weather-story h3 {position:relative;font-size:clamp(21px,2.7vw,31px);line-height:1.21;letter-spacing:-.037em;margin:10px 0 14px;max-width:760px;}
.ob-weather-story p {color:#d9eff1;font-size:13px;line-height:1.65;margin:0;max-width:760px;}
.ob-weather-metrics {display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 14px;position:relative;}
.ob-weather-metric {flex:1 1 130px;padding:13px 16px;border:1px solid rgba(255,255,255,.19);background:rgba(255,255,255,.095);border-radius:13px;}
.ob-weather-metric small {display:block;color:#d2e9ea;font-size:11px;margin-bottom:3px;}
.ob-weather-metric strong {font-size:clamp(19px,2vw,28px);font-weight:800;letter-spacing:-.05em;}
.ob-week-title {font-size:15px;font-weight:800;letter-spacing:-.02em;margin:8px 0 11px;}
.ob-week {display:flex;overflow-x:auto;gap:9px;padding:0 0 12px;scrollbar-width:thin;}
.ob-day {background:var(--surface-2);color:var(--text);flex:1 0 118px;min-width:115px;border:1px solid var(--stroke);border-radius:14px;padding:13px 11px;cursor:pointer;text-align:left;}
.ob-day[aria-pressed="true"] {outline:2px solid var(--accent);outline-offset:-2px;background:color-mix(in srgb,var(--surface) 85%,#c3ebe8);}
.ob-day__date {font-size:12px;color:var(--muted);display:block;}
.ob-day__temp {display:block;font-size:22px;font-weight:800;letter-spacing:-.055em;margin:4px 0;}
.ob-day__rain {font-size:11px;color:var(--muted);}
.ob-day-detail {display:flex;flex-wrap:wrap;gap:13px;padding:12px 15px;border:1px solid var(--stroke);background:var(--surface-2);border-radius:12px;font-size:12px;margin-bottom:15px;}
.ob-day-detail strong {font-size:12px;}
.ob-model-lab {background:color-mix(in srgb,var(--surface) 88%,#adccdf);border:1px solid var(--stroke);border-radius:15px;padding:16px 18px;margin:14px 0 20px;}
.ob-model-lab h3 {font-size:16px;letter-spacing:-.025em;margin:0 0 6px;}
.ob-model-lab p {margin:4px 0 12px;color:var(--muted);font-size:12px;line-height:1.6;}
.ob-model-track {height:10px;border-radius:999px;background:linear-gradient(90deg,#77c8d1,#e7c276);margin:28px 13px 28px;position:relative;}
.ob-model-pin {width:11px;height:11px;border-radius:50%;border:2px solid var(--surface);background:#17415b;position:absolute;top:-1px;transform:translateX(-50%);box-shadow:0 0 0 2px rgba(21,91,122,.55);}
.ob-model-pin span {position:absolute;top:15px;left:50%;transform:translateX(-50%);font-size:10px;color:var(--text);white-space:nowrap;font-weight:650;}
.ob-pair-highlight {border:1px solid var(--stroke);border-radius:17px;background:linear-gradient(120deg,color-mix(in srgb,var(--surface-2) 85%,#bdded7),var(--surface));padding:18px;margin:10px 0 18px;}
.ob-pair-highlight__eyebrow {color:var(--accent);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;}
.ob-pair-highlight h3 {font-size:clamp(17px,2vw,22px);line-height:1.25;margin:8px 0 9px;letter-spacing:-.025em;}
.ob-pair-highlight p {color:var(--muted);font-size:12px;margin:0;line-height:1.7;}
.ob-pair-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:13px 0;}
.ob-pair-cards>div {border:1px solid var(--stroke);padding:13px;border-radius:13px;background:var(--surface);}
.ob-pair-cards small {display:block;color:var(--muted);margin-bottom:4px;}
.ob-pair-cards strong {font-size:clamp(18px,2vw,25px);letter-spacing:-.04em;}
.ob-science-details {border-top:1px solid var(--stroke);margin-top:19px;padding-top:12px;}
.ob-science-details summary {font-size:13px;font-weight:800;color:var(--accent);cursor:pointer;}
.ob-science-details[open] summary {margin-bottom:12px;}
/* Data provenance visible by default, secondary scientific tables expandable */
#bt91Panel,#btPanel {scroll-margin-top:150px;}
#bt91Results>.fc-table-wrap:first-of-type {margin-top:17px;}
/* Desktop app navigation is a single shared ribbon; mobile preserves accessible bottom tabs. */
@media(min-width:900px){
  :root {--header-h:76px;--nav-h:64px;}
  .bottom-nav {position:sticky;top:var(--header-h);bottom:auto;left:auto;right:auto;height:auto;padding:8px 22px;order:1;border-top:0;border-bottom:1px solid var(--stroke);box-shadow:0 5px 20px rgba(10,47,64,.06);z-index:35;}
  .bottom-nav-inner {max-width:1370px;grid-template-columns:repeat(6,minmax(0,1fr));}
  .nav-btn {display:flex;align-items:center;justify-content:center;gap:10px;padding:8px 14px;min-height:43px;}
  .nav-btn i {font-size:15px;}.nav-btn span {font-size:13px;}
  .app-main {order:2;padding-top:25px;padding-bottom:56px;}
  .app-header {order:0;}
  .layout-toggle {display:inline-flex;}
  .ob-intro {min-height:190px;}
}
@media(max-width:750px){
  .ob-intro {padding:23px 22px;min-height:150px;}
  .ob-intro__symbol {width:58px;height:58px;font-size:23px;border-radius:17px;}
  .ob-explore__link {font-size:12px;padding:9px 12px;}
  .forecast-head,.fc-content {padding:18px;}
  .ob-model-pin span {font-size:9px;}
}
@media(max-width:480px){
  .app-header {padding:8px 10px;gap:5px;}
  .brand {gap:7px;}
  .brand-title {font-size:12px;max-width:165px;}
  .header-actions {gap:5px;}
  .header-actions .chip {padding:8px 7px;}
  .zoom-toggle .zoom-toggle__label {display:none;}
  .app-main {padding:10px;padding-bottom:calc(var(--nav-h) + 21px + env(safe-area-inset-bottom,0px));}
  .ob-intro {padding:23px 18px;min-height:154px;border-radius:17px;margin-bottom:12px;}
  .ob-intro h1 {font-size:26px;}
  .ob-intro p {font-size:12px;line-height:1.6;}
  .ob-intro__symbol {display:none;}
  .ob-eyebrow {font-size:9px;letter-spacing:.13em;}
  .grid {gap:10px;}
  .card {border-radius:17px;}
  .hero-temp {font-size:69px;}
  .bottom-nav {padding-inline:5px;}
  .bottom-nav-inner {gap:1px;}
  .nav-btn {border-radius:11px;padding:7px 0;}
  .nav-btn span {font-size:9px;}
  .nav-btn i {font-size:16px;}
  .ob-weather-story {padding:17px;}
  .ob-weather-metrics {gap:6px;}
  .ob-weather-metric {flex-basis:90px;padding:11px;}
  .ob-weather-metric strong {font-size:20px;}
  .ob-pair-cards {grid-template-columns:repeat(2,minmax(0,1fr));}
  .fc-content,.forecast-head {padding:15px;}
}
@media(prefers-reduced-motion:reduce){ html{scroll-behavior:auto;} .view{animation:none;} *{transition-duration:.01ms!important;animation-duration:.01ms!important;} }
/* Historical timeline uses the same tokens, no charting dependency. */
.ob-machine-form {display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:20px 0 12px;}
.ob-machine-form label {font-size:12px;color:var(--muted);font-weight:750;align-self:center;}
.ob-machine-form .fc-select {min-width:130px;flex:1 1 140px;max-width:220px;}
.ob-machine-run {cursor:pointer;border:0;border-radius:12px;padding:12px 16px;font-size:13px;font-weight:800;color:#fff;background:linear-gradient(120deg,#17677e,#188579);min-height:42px;box-shadow:0 6px 14px rgba(12,84,94,.14);}
.ob-machine-run:hover {filter:brightness(1.08);}
.ob-machine-result {margin:15px 0;}
.ob-machine-observation {padding:15px 18px;background:linear-gradient(130deg,#153f53,#1d7180);border-radius:13px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px;}
.ob-machine-observation span {font-size:12px;color:#d4edf1;}
.ob-machine-observation strong {font-size:clamp(17px,2vw,27px);}
.ob-machine-steps {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;}
.ob-machine-step {border:1px solid var(--stroke);background:var(--surface-2);padding:15px 12px;border-radius:12px;position:relative;}
.ob-machine-step::before {content:'';position:absolute;width:8px;height:8px;background:var(--accent);border-radius:50%;left:12px;top:11px;}
.ob-machine-step>span {display:block;padding-left:14px;color:var(--muted);font-size:11px;margin-bottom:10px;}
.ob-machine-step strong {display:block;font-size:clamp(18px,2.1vw,24px);letter-spacing:-.035em;}
.ob-machine-step small {font-size:11px;color:var(--muted);}
.ob-model-rows {display:grid;gap:12px;}
.ob-model-row {display:grid;grid-template-columns:minmax(145px,1fr) minmax(120px,3fr) 55px;align-items:center;gap:13px;font-size:12px;}
.ob-model-row>span:first-child {font-weight:750;overflow-wrap:anywhere;}
.ob-model-row>strong {white-space:nowrap;text-align:right;}
.ob-model-line {height:7px;border-radius:999px;background:color-mix(in srgb,var(--surface) 75%,#a5ced5);position:relative;}
.ob-model-line>i {position:absolute;top:-5px;width:17px;height:17px;border-radius:50%;background:var(--accent);border:3px solid var(--surface-2);transform:translateX(-50%);box-shadow:0 0 0 1px var(--accent);}
@media(max-width:680px){.ob-machine-form{display:grid;grid-template-columns:90px minmax(0,1fr);}.ob-machine-form .fc-select{min-width:0;max-width:none;width:100%;}.ob-machine-run {grid-column:1/-1;}.ob-machine-steps{display:flex;overflow-x:auto;scrollbar-width:thin;padding-bottom:8px;}.ob-machine-step{min-width:136px;flex:1;}.ob-model-row{grid-template-columns:105px minmax(70px,1fr) 46px;gap:8px;font-size:11px;}}
/* CSS-drawn mountain and sun: core identity remains visible without icon-CDN. */
.ob-intro__symbol i{display:none;}
.ob-intro__symbol::before {content:'';display:block;width:62%;height:53%;align-self:center;justify-self:center;background:rgba(238,250,246,.95);clip-path:polygon(0% 96%,28% 27%,46% 64%,66% 4%,100% 96%);grid-area:1/1;}
.ob-intro__symbol::after {content:'';width:12px;height:12px;border-radius:50%;background:var(--ob-sun);grid-area:1/1;transform:translate(22px,-22px);}
@media(max-width:480px){.nav-btn span{font-size:10px;}}

/* Prioritise the forecast itself in the first desktop viewport. */
@media(min-width:900px){#view-forecast>.ob-intro{min-height:151px;padding-top:23px;padding-bottom:23px;}#view-forecast .forecast-head{padding-top:16px;padding-bottom:16px;}#view-forecast .forecast-head .fc-disclaimer{margin-top:0;}}

/* v91.1 — Shared, progressive-disclosure forecast language. Other six views untouched. */
#view-forecast .ob-help-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:11px;margin-top:13px;}
#view-forecast .ob-help-item {padding:13px 15px;background:var(--surface-2);border:1px solid var(--stroke);border-radius:12px;}
#view-forecast .ob-help-item strong {font-size:13px;color:var(--text);display:block;margin-bottom:5px;}
#view-forecast .ob-help-item p {margin:0;color:var(--muted);line-height:1.58;font-size:12px;}
#view-forecast .ob-help summary, #view-forecast .ob-science-details summary {list-style-position:inside;cursor:pointer;line-height:1.55;}
#view-forecast .ob-history-cards {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:12px;margin:15px 0;}
#view-forecast .ob-history-card {display:flex;flex-direction:column;padding:16px;border:1px solid var(--stroke);border-radius:14px;background:var(--surface-2);min-width:0;}
#view-forecast .ob-history-card strong {font-size:13px;}
#view-forecast .ob-history-card span {font-size:clamp(23px,2vw,31px);font-weight:850;letter-spacing:-.04em;color:var(--accent);}
#view-forecast .ob-history-card small {color:var(--muted);font-size:11px;}
#view-forecast .ob-pair-compact {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,215px),1fr));gap:10px;margin-bottom:14px;}
#view-forecast .ob-pair-mini {display:flex;flex-direction:column;gap:4px;border-radius:13px;background:var(--surface-2);border:1px solid var(--stroke);padding:14px;}
#view-forecast .ob-pair-mini strong {font-size:12px;}
#view-forecast .ob-pair-mini span {font-size:12px;color:var(--muted);}
#view-forecast .ob-pair-mini span:last-child {font-weight:750;color:var(--text);}
#view-forecast .ob-qc-summary {border-top:1px solid var(--stroke);margin-top:22px;padding-top:20px;}
#view-forecast .ob-qc-numbers {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:14px 0;}
#view-forecast .ob-qc-numbers>div {background:var(--surface-2);border:1px solid var(--stroke);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:4px;}
#view-forecast .ob-qc-numbers strong {font-size:clamp(23px,2.4vw,32px);letter-spacing:-.045em;line-height:1.1;}
#view-forecast .ob-qc-numbers span {font-size:12px;color:var(--muted);}
#view-forecast .ob-qc-track {width:100%;height:12px;border-radius:999px;background:color-mix(in srgb,var(--warn) 40%,var(--surface-2));overflow:hidden;}
#view-forecast .ob-qc-track span {display:block;height:100%;background:var(--ok);}
#view-forecast .ob-live-intro h3 {font-size:17px;margin:0 0 7px;}
#view-forecast .ob-live-intro p {color:var(--muted);font-size:13px;max-width:840px;margin:0 0 16px;line-height:1.6;}
#view-forecast .ob-live-progress {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:16px;margin:12px 0 15px;}
#view-forecast .ob-live-progress__label {display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;margin-bottom:7px;}
#view-forecast .ob-live-progress__label span {font-variant-numeric:tabular-nums;color:var(--muted);font-weight:750;}
#view-forecast .ob-live-progress__bar {height:10px;border-radius:999px;overflow:hidden;background:var(--bg-2);border:1px solid var(--stroke);}
#view-forecast .ob-live-progress__bar span {display:block;height:100%;border-radius:999px;background:var(--accent);}
#view-forecast .ob-machine-availability {grid-column:1/-1;font-size:12px;color:var(--muted);line-height:1.5;}
#view-forecast .ob-machine-daily {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr));gap:15px;}
#view-forecast .ob-machine-daily__metric {background:var(--surface-2);border:1px solid var(--stroke);border-radius:15px;padding:16px;min-width:0;}
#view-forecast .ob-machine-daily__metric h3 {font-size:16px;margin:0 0 13px;}
#view-forecast .ob-machine-step small {display:block;color:var(--muted);font-size:11px;}
#view-forecast [hidden] {display:none!important;}
@media(max-width:640px){#view-forecast .ob-qc-numbers{grid-template-columns:1fr 1fr;}#view-forecast .fc-archive-bar{align-items:stretch;}#view-forecast .ob-history-card{padding:13px;}#view-forecast .ob-machine-daily__metric{padding:12px;}}
#view-forecast .ob-machine-daily__metric .ob-machine-steps {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,132px),1fr));overflow:visible;}
#view-forecast .ob-machine-daily__metric .ob-machine-step {min-width:0;overflow-wrap:anywhere;}
#view-forecast .ob-archive-details>summary {cursor:pointer;list-style-position:inside;}
#view-forecast .ob-archive-details[open]>summary {margin-bottom:14px;}


/* v91.2 — progressively disclosed model identities; applies only to Forecast. */
#view-forecast .ob-guide { margin: 0 0 14px; scroll-margin-top: 150px; }
#view-forecast .ob-guide[hidden] { display: none; }
#view-forecast .ob-guide__surface {
  border: 1px solid var(--stroke);border-radius:17px;
  background:linear-gradient(116deg,color-mix(in srgb,var(--surface) 92%,#c9e5e2),var(--surface) 72%);
  box-shadow:var(--shadow-soft);padding:14px clamp(14px,2vw,22px);
}
#view-forecast .ob-guide__lead {display:flex;align-items:center;gap:12px;min-width:0;}
#view-forecast .ob-guide__icon {
  flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;
  color:#e4fefa;background:linear-gradient(145deg,#15536b,#238b85);border-radius:13px;
  font-size:23px;font-weight:800;box-shadow:inset 0 1px 0 rgba(255,255,255,.2);
}
#view-forecast .ob-guide__heading {min-width:0;flex:1;}
#view-forecast .ob-guide__eyebrow {display:block;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.10em;text-transform:uppercase;}
#view-forecast .ob-guide__name-row {display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:2px 0 3px;}
#view-forecast .ob-guide__name {font-weight:850;font-size:clamp(16px,1.8vw,20px);letter-spacing:-.035em;color:var(--text);}
#view-forecast .ob-guide__tag {
  display:inline-flex;align-items:center;color:var(--accent);background:color-mix(in srgb,var(--surface) 85%,#7ec6bf);
  border:1px solid color-mix(in srgb,var(--stroke) 60%,#9ed8d1);padding:3px 9px;border-radius:999px;
  font-size:10px;font-weight:800;line-height:1.35;
}
#view-forecast .ob-guide__summary {color:var(--muted);font-size:12px;line-height:1.5;margin:0;}
#view-forecast .ob-guide__details {margin:11px 0 0;border-top:1px solid var(--stroke);padding-top:10px;}
#view-forecast .ob-guide__toggle {cursor:pointer;color:var(--accent);font-size:12px;font-weight:800;width:fit-content;padding:3px 1px;}
#view-forecast .ob-guide__details[open] .ob-guide__toggle {margin-bottom:12px;}
#view-forecast .ob-guide__grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
#view-forecast .ob-guide__model {border-radius:13px;border:1px solid var(--stroke);background:var(--surface);padding:14px 15px;min-width:0;}
#view-forecast .ob-guide__model.is-active {border-color:color-mix(in srgb,var(--accent) 65%,var(--stroke));}
#view-forecast .ob-guide__model-head {display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;}
#view-forecast .ob-guide__model-head strong {font-size:14px;color:var(--text);}
#view-forecast .ob-guide__model-head span {font-size:11px;color:var(--accent);font-weight:750;}
#view-forecast .ob-guide__model-short {font-size:12px;line-height:1.55;font-weight:650;margin:7px 0 5px;color:var(--text);}
#view-forecast .ob-guide__model-detail {font-size:11px;line-height:1.65;margin:0 0 7px;color:var(--muted);}
#view-forecast .ob-guide__source {font-size:11px;font-weight:800;color:var(--accent);text-underline-offset:3px;}
#view-forecast .ob-guide__note,#view-forecast .ob-guide__history-note {font-size:11px;color:var(--muted);line-height:1.65;margin:12px 0 0;}
#view-forecast .ob-guide__history-note {margin-top:5px;}
@media (max-width:600px) {
 #view-forecast .ob-guide__surface {padding:12px 13px;}
 #view-forecast .ob-guide__icon {width:37px;height:37px;flex-basis:37px;font-size:20px;}
 #view-forecast .ob-guide__grid {grid-template-columns:1fr;}
 #view-forecast .ob-guide__lead {gap:10px;}
 #view-forecast .ob-guide__tag {font-size:10px;}
}

#view-forecast .ob-guide__jump {color:var(--accent);background:transparent;border:0;padding:8px 4px;font-size:12px;font-weight:800;cursor:pointer;text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--accent) 45%,transparent);text-underline-offset:4px;}
#view-forecast .ob-guide__jump:hover {text-decoration-color:var(--accent);}

/* Karkalou Unified Observatory v92: one component language, all six views.
   Added after existing rules to preserve every earlier layout and data component. */
:root {
  --ob-glass:color-mix(in srgb,var(--surface) 90%,transparent);
  --ob-highlight:color-mix(in srgb,var(--accent) 10%,var(--surface));
  --ob-soft-stroke:color-mix(in srgb,var(--stroke) 78%,transparent);
}
body {background-attachment:fixed;}
.app-main {max-width:1360px;}
.ob-intro {background-image:linear-gradient(112deg,rgba(7,26,44,.97),rgba(13,71,86,.94) 59%,rgba(35,116,111,.86)),url('../../img/topography.svg');background-position:center,right center;background-size:cover,auto 145%;box-shadow:0 26px 50px rgba(9,55,72,.14);}
.ob-intro__copy {position:relative;z-index:1}
.ob-intro h1 {max-width:19ch;text-wrap:balance;}
#view-now .ob-intro {min-height:146px;padding-block:clamp(22px,2.5vw,33px)}
#view-now .ob-intro__symbol {opacity:.7}
.hero {background:radial-gradient(ellipse at 95% 0%,color-mix(in srgb,var(--accent) 19%,transparent),transparent 48%),linear-gradient(120deg,var(--surface) 35%,color-mix(in srgb,var(--surface) 91%,#68bfbd));}
.hero-temp {font-size:clamp(78px,10vw,128px);font-weight:850;letter-spacing:-.082em;}
.hero .kpi-grid .kpi {border-radius:15px;background:color-mix(in srgb,var(--surface) 93%,transparent);border:1px solid var(--ob-soft-stroke);}
.hero .kpi-value {letter-spacing:-.025em;}
.app-header {backdrop-filter:blur(20px)}
.nav-btn[aria-current="page"] {background:color-mix(in srgb,var(--accent) 15%,var(--surface));border-color:color-mix(in srgb,var(--accent) 40%,var(--stroke));}
.ob-network-notice {position:sticky;top:0;z-index:999;background:#74471b;color:#fff;padding:13px 20px;text-align:center;font-weight:750;font-size:13px;line-height:1.5;box-shadow:0 8px 22px rgba(0,0,0,.15)}
.ob-network-notice[hidden]{display:none!important}
.is-offline .hero .status-pill{border-color:#e3b069;background:#533f29;color:#fff}
.ob-now-outlook{padding:clamp(19px,2.6vw,30px);background:linear-gradient(148deg,var(--surface),color-mix(in srgb,var(--surface) 91%,#63bdb3));min-width:0;position:relative;overflow:hidden}
.ob-now-outlook::before{content:'';position:absolute;right:-80px;top:-100px;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(78,200,190,.11),transparent 70%);pointer-events:none}
.ob-now-outlook h2{font-size:clamp(24px,2.5vw,32px);font-weight:830;letter-spacing:-.055em;line-height:1.2;margin:0 0 14px;color:var(--text)}
.ob-overview-top{position:relative}
.ob-overview-top .ob-eyebrow{color:var(--accent)}
.ob-provenance{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:12px;line-height:1.5;margin:0 0 17px}
.ob-data-state{border-radius:99px;padding:5px 10px;border:1px solid var(--stroke);font-weight:780;font-size:11px;white-space:normal}
.ob-data-state.is-fresh{color:var(--ok);background:color-mix(in srgb,var(--ok) 9%,var(--surface));}
.ob-data-state.is-stale{color:var(--warn);background:color-mix(in srgb,var(--warn) 10%,var(--surface));}
.ob-data-state.is-unknown{color:var(--muted)}
.ob-overview-days{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;position:relative}
.ob-overview-day{border:1px solid var(--stroke);border-radius:16px;background:var(--surface);padding:19px 12px;text-align:left;display:flex;flex-direction:column;gap:7px;min-width:0;color:var(--text);cursor:pointer;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.ob-overview-day:hover,.ob-overview-day:focus-visible{transform:translateY(-3px);border-color:var(--accent);box-shadow:var(--shadow-soft)}
.ob-overview-day small{color:var(--muted);font-size:12px;font-weight:750}
.ob-overview-day strong{font-size:clamp(21px,3vw,30px);letter-spacing:-.07em;line-height:1.1;font-weight:850;white-space:nowrap}
.ob-overview-day span{color:var(--muted);font-size:12px;line-height:1.4}
.ob-text-link{border:0;background:transparent;color:var(--accent);font-size:13px;font-weight:800;cursor:pointer;text-decoration:underline;text-underline-offset:4px;display:inline-block;margin-top:17px;padding:8px 2px}
.ob-forecast-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:7px}
.ob-action{border:1px solid var(--stroke);background:var(--surface);color:var(--text);padding:9px 13px;border-radius:11px;min-height:42px;cursor:pointer;font-weight:750;font-size:12px}
.ob-action:hover{border-color:var(--accent);background:var(--ob-highlight)}
.ob-hourly{min-width:0;margin:24px 0}
.ob-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ob-hourly h3{font-size:clamp(20px,2.5vw,27px);letter-spacing:-.035em;font-weight:850;margin:0 0 13px}
.ob-hour-strip{display:flex;gap:8px;overflow:auto;scroll-snap-type:x proximity;overscroll-behavior-inline:contain;padding:3px 2px 13px;scrollbar-color:var(--muted-2) transparent}
.ob-hour-card{min-width:84px;max-width:95px;flex:0 0 84px;background:var(--surface);border:1px solid var(--stroke);border-radius:15px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:15px 5px 11px;color:var(--text);cursor:pointer;scroll-snap-align:start;transition:border-color .2s,background .2s}
.ob-hour-card[aria-pressed="true"]{background:var(--ob-highlight);border-color:var(--accent);box-shadow:0 4px 20px rgba(14,121,128,.1)}
.ob-hour-card:hover{border-color:var(--accent)}
.ob-hour-card__clock{color:var(--muted);font-size:11px;font-weight:750}
.ob-hour-card__glyph{font-size:24px;line-height:1;color:var(--accent)}
.ob-hour-card strong{font-size:24px;font-weight:850;letter-spacing:-.06em}
.ob-hour-card__rain{font-size:11px;color:var(--muted)}
.ob-hour-detail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;background:var(--ob-highlight);border:1px solid var(--stroke);border-radius:15px;padding:16px;margin:7px 0 12px}
.ob-hour-detail>strong{grid-column:1/-1;font-size:15px}
.ob-hour-detail>span{display:flex;flex-direction:column;min-width:0;gap:4px}
.ob-hour-detail>span small{color:var(--muted);font-size:11px}
.ob-hour-detail>span strong{font-size:clamp(16px,2vw,20px);font-weight:800;letter-spacing:-.03em;overflow-wrap:anywhere}
.ob-watch{margin:25px 0 0;background:var(--surface);border:1px solid var(--stroke);border-radius:15px;padding:14px}
.ob-watch summary{font-weight:850;cursor:pointer;padding:5px 0}
.ob-watch-controls{display:flex;gap:13px;align-items:flex-end;flex-wrap:wrap;padding:14px 0 6px}
.ob-watch-controls label,.ob-climate-controls label{display:flex;flex-direction:column;gap:8px;color:var(--muted);font-size:12px;font-weight:750}
.ob-watch-controls .fc-select,.ob-climate-controls .fc-select{min-height:44px;min-width:115px}
.ob-watch-result{font-size:13px;font-weight:750;margin:12px 0 5px;color:var(--accent)}
.ob-climate-eyebrow{letter-spacing:.14em;text-transform:uppercase;color:var(--accent);font-weight:850;font-size:11px;margin:0 0 8px}
#fcContent>h2{font-size:clamp(24px,3vw,38px);letter-spacing:-.055em;line-height:1.15;margin:4px 0 14px;font-weight:850}
.ob-climate-controls{display:flex;flex-wrap:wrap;margin:21px 0}
.ob-climate-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}
.ob-climate-metric{background:var(--ob-highlight);border:1px solid var(--stroke);border-radius:19px;min-width:0;padding:clamp(15px,2vw,22px);display:flex;flex-direction:column;gap:8px}
.ob-climate-metric small{color:var(--muted);font-size:12px;font-weight:750}
.ob-climate-metric>strong{font-size:clamp(23px,3vw,34px);font-weight:850;letter-spacing:-.065em}
.ob-climate-period{font-size:12px;color:var(--muted)}
.ob-climate-change{font-size:12px;color:var(--accent);font-weight:800}
.ob-climate-note{color:var(--muted);background:var(--surface);border-left:3px solid var(--accent);padding:13px 18px;line-height:1.65;font-size:13px;margin-top:22px}
.ob-weather-story{background:linear-gradient(126deg,rgba(10,44,64,.98),rgba(12,90,96,.96))!important;color:#f2fbfb;border-radius:20px;box-shadow:0 18px 38px rgba(8,59,80,.14);position:relative;isolation:isolate;overflow:hidden}
.ob-weather-story::before{content:'';position:absolute;inset:-35% -15%;background:url('../../img/topography.svg') right center / 75% auto no-repeat;opacity:.65;pointer-events:none;z-index:-1}
.ob-weather-story .ob-weather-eyebrow,.ob-weather-story p{color:#cceae9}
.ob-weather-story .ob-weather-metric small{color:#cae3e4}
.ob-weather-story .ob-weather-metric strong,.ob-weather-story h3{color:#fff}
.fc-toolbar{align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#fcStatus{font-size:12px;line-height:1.6;color:var(--muted);padding:9px 6px}
@media(max-width:860px){.ob-overview-days,.ob-climate-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:610px){
 .ob-overview-days{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .ob-overview-day{padding:14px 8px;border-radius:12px;gap:6px}
 .ob-overview-day small{font-size:10px}
 .ob-overview-day strong{font-size:clamp(16px,4.4vw,24px)}
 .ob-overview-day span{font-size:10px}
 .ob-hour-detail{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px}
 .ob-hour-card{flex-basis:76px;min-width:76px}
 .ob-climate-metrics{grid-template-columns:1fr}
 .ob-action{flex:1}
 .ob-intro{background-size:cover,auto 110%}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto} .view,.ob-overview-day,.ob-hour-card{animation:none!important;transition:none!important}}

/* Shared forecast and research charts */
/* Forecast scientific chart: same restrained width/height as the other station charts.
   Keep its existing 740x252 viewBox and data geometry unchanged. On phones, retain
   readable chart annotations by scrolling the chart itself rather than enlarging
   the whole Forecast panel or compressing text to an illegible size. */
#view-forecast .ob-science-chart {
  width: 100%;
  max-width: 772px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 16px auto 20px;
  padding: 14px 15px 10px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}
#view-forecast .ob-science-chart > svg.fc-chart-svg {
  display: block;
  width: 100%;
  min-width: 560px;
  height: auto;
  margin: 0;
  overflow: visible;
}
#view-forecast .ob-science-chart:focus-visible {
  outline: 3px solid var(--ob-focus);
  outline-offset: 3px;
}
.fc-chart-svg .ob-temp-range{fill:color-mix(in srgb,var(--accent) 13%,transparent);stroke:none}
.fc-chart-svg .ob-plot-low{stroke:#d7a165;stroke-width:2.4}
.fc-chart-svg .ob-point-low{fill:#d7a165}
.fc-chart-svg .ob-legend-high{fill:var(--accent);font-size:11px;font-weight:800}
.fc-chart-svg .ob-legend-low{fill:#d7a165;font-size:11px;font-weight:800}
.ob-calibration-panel{margin:0 0 20px}
.ob-calibration-panel .ob-science-details{background:var(--surface);border:1px solid var(--stroke);padding:15px 20px;border-radius:15px}
.ob-calibration-panel .ob-science-details summary{cursor:pointer;font-weight:750}

.ob-station-freshness{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border:1px solid var(--stroke);border-radius:99px;color:var(--muted);font-weight:750;font-size:10px;line-height:1.3}
.ob-station-freshness[data-status="fresh"]{color:var(--ok);border-color:color-mix(in srgb,var(--ok) 35%,var(--stroke))}
.ob-station-freshness[data-status="stale"]{color:var(--warn);border-color:color-mix(in srgb,var(--warn) 35%,var(--stroke))}


/*
 * Karkalou Atmosphere · Living Terrain v93.0
 * One shared presentation layer over the proven v92 application.
 * All selectors are component-scoped or existing shared tokens. No API or chart replacement.
 */
:root {
 --font: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
 --bg:#f0f5f4; --bg-2:#e8f0ed;--surface:#fffefa;--surface-2:#fffefa;
 --text:#122c34;--muted:#506770;--muted-2:#6b8086;
 --stroke:rgba(44,91,99,.17);--accent:#176b70;--accent-2:#238b8a;
 --ok:#17724d;--warn:#a25a1b;--danger:#ab4040;
 --ob-highlight:#eaf3ef;--ob-soft-stroke:rgba(52,100,111,.14);
 --shadow:0 22px 58px rgba(10,48,61,.07);--shadow-soft:0 9px 26px rgba(10,48,61,.06);
 --radius-xl:22px;--header-h:76px;
 --at-night:#061923;--at-mint:#b9f8e2;--at-amber:#ffdbab;
}
html[data-theme="dark"] {
 --bg:#06141e;--bg-2:#0a202c;--surface:#102b38;--surface-2:#102936;
 --text:#ebf6f2;--muted:#b0cccb;--muted-2:#9bb7b6;--stroke:rgba(173,221,219,.19);
 --accent:#9cebd5;--accent-2:#87d9d5;--ok:#9cdabf;--warn:#f8c888;--danger:#ffa9a0;
 --ob-highlight:#183845;--ob-soft-stroke:rgba(152,218,216,.17);
 --shadow:0 22px 65px rgba(0,5,10,.22);--shadow-soft:0 12px 26px rgba(0,4,10,.16);
}
html {scroll-padding-top:102px;}
body {font-variant-numeric:tabular-nums;background:radial-gradient(ellipse 1000px 800px at 68% -10%,rgba(72,150,142,.10),transparent 72%),linear-gradient(155deg,var(--bg),var(--bg-2));}
:where(button,a,summary,select,input):focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.app-main{max-width:1510px;width:100%;padding:clamp(12px,2.3vw,36px);padding-bottom:calc(var(--nav-h) + env(safe-area-inset-bottom,0px) + 38px)}
.app-header{height:var(--header-h);background:color-mix(in srgb,var(--surface-2) 91%,transparent);border-bottom:1px solid var(--stroke);padding-inline:clamp(14px,3vw,44px);box-shadow:none;backdrop-filter:blur(20px)}
.brand-title{font-family:Georgia,'Times New Roman',serif;font-size:clamp(17px,1.85vw,25px);font-weight:400;letter-spacing:-.035em;overflow:visible;max-width:none}
.chip,.icon-btn,.layout-toggle,.zoom-toggle{box-shadow:none;border-radius:40px;min-height:38px}
.card{background:linear-gradient(155deg,var(--surface),color-mix(in srgb,var(--surface) 95%,var(--bg)));box-shadow:var(--shadow);border:1px solid var(--stroke);border-radius:var(--radius-xl)}
.card-header{padding:clamp(15px,1.5vw,22px) clamp(18px,2.1vw,29px)}
.card-body{padding:clamp(15px,1.9vw,25px)}
.card-title{font-size:clamp(15px,1.45vw,19px);letter-spacing:-.03em}
.card-sub{line-height:1.5}
.kpi{transition:border-color .18s ease,transform .18s ease}
.kpi:hover{border-color:color-mix(in srgb,var(--accent) 40%,var(--stroke))}
/* Editorial headings: one reusable component for every pre-existing view. */
.ob-intro.at-editorial-intro{min-height:205px;background:radial-gradient(ellipse 440px 340px at 86% 28%,rgba(245,202,146,.18),transparent 78%),linear-gradient(114deg,#0c2937,#235661);border:1px solid rgba(204,247,229,.16);padding:clamp(24px,4vw,51px);border-radius:23px;margin-bottom:24px;isolation:isolate}
.ob-intro.at-editorial-intro::after{right:7%;top:auto;bottom:-9%;width:310px;height:260px;opacity:.2;filter:grayscale(.2)}
.ob-intro.at-editorial-intro .ob-eyebrow{font-size:10px;letter-spacing:.25em;color:#bafce3;font-weight:800;margin-bottom:12px}
.ob-intro.at-editorial-intro h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.06em;font-size:clamp(31px,4.7vw,61px);line-height:1.06;max-width:28ch;margin:0 0 12px}
.ob-intro.at-editorial-intro p{max-width:580px;font-size:clamp(13px,1.3vw,17px);line-height:1.62;color:#d7e9e7}
.ob-intro.at-editorial-intro .ob-intro__symbol{border-radius:100%;width:90px;height:90px;opacity:.64}
#view-now>.ob-intro{display:none}
/* The primary experience. All live numbers originate from the same server/DOM values as v92. */
.at-live-stage{position:relative;isolation:isolate;overflow:hidden;min-height:clamp(610px,69vh,780px);border-radius:25px;background:radial-gradient(ellipse 55% 90% at 74% 25%,rgba(255,218,165,.26),transparent 67%),linear-gradient(121deg,#103342 7%,#345b62 63%,#6a7770);color:#f2fbf7;box-shadow:0 26px 65px rgba(1,38,50,.18);border:1px solid rgba(198,243,227,.20);padding:clamp(24px,4vw,55px);display:flex;flex-direction:column;justify-content:space-between;gap:30px}
.at-live-stage[data-time-of-day="night"]{background:radial-gradient(ellipse 44% 57% at 75% 21%,rgba(170,196,210,.15),transparent 75%),linear-gradient(125deg,#071d2d,#203f53 66%,#244459)}
.at-live-stage[data-time-of-day="morning"]{background:radial-gradient(ellipse 44% 57% at 75% 25%,rgba(248,203,159,.35),transparent 75%),linear-gradient(125deg,#0f3447,#526c6d 66%,#868577)}
.at-live-stage[data-time-of-day="evening"]{background:radial-gradient(ellipse 44% 57% at 75% 25%,rgba(248,185,142,.40),transparent 75%),linear-gradient(125deg,#132f42,#626674 60%,#937569)}
.at-stage-sky{position:absolute;inset:-40% -9%;z-index:-2;pointer-events:none;opacity:.4;background:repeating-radial-gradient(ellipse at 71% 65%,transparent 0 32px,rgba(238,253,242,.13) 33px,transparent 34px 52px);transform:rotate(-7deg)}
.at-stage-sun{position:absolute;top:14%;right:25%;height:clamp(95px,12vw,168px);width:clamp(95px,12vw,168px);border-radius:50%;pointer-events:none;z-index:-1;background:#ffedbd;box-shadow:0 0 0 27px rgba(249,221,163,.09),0 0 85px 38px rgba(244,199,153,.19)}
.at-live-stage[data-time-of-day="night"] .at-stage-sun{background:#dce9df;box-shadow:0 0 30px 8px rgba(212,233,221,.11);width:95px;height:95px;opacity:.8}
.at-stage-terrain{position:absolute;inset:auto 0 0;width:100%;height:75%;object-fit:cover;object-position:center bottom;z-index:-1;pointer-events:none;filter:drop-shadow(0 -15px 30px rgba(7,42,59,.05))}
.at-stage-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,.65fr);align-items:start;gap:clamp(25px,5vw,90px)}
.at-stage-copy{min-width:0;max-width:750px}
.at-kicker,.at-stage-aside-kicker,.at-discover-index{letter-spacing:.23em;font-size:10px;font-weight:850;text-transform:uppercase;color:var(--at-mint)}
.at-stage-copy h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.062em;font-size:clamp(43px,5.6vw,88px);line-height:.98;margin:22px 0 17px;text-wrap:balance;text-shadow:0 15px 42px rgba(7,32,43,.21)}
.at-stage-lead{font-size:clamp(13px,1.25vw,17px);line-height:1.65;max-width:440px;color:#e4f2ee;margin:0 0 22px}
.at-big-measure{display:flex;align-items:flex-start;font-size:clamp(95px,12vw,166px);font-weight:250;letter-spacing:-.09em;line-height:.92;margin:20px 0 10px}
.at-big-measure .at-measure-unit{font-family:Georgia,serif;font-weight:400;letter-spacing:-.02em;font-size:.26em;padding:14px 0 0 10px}
.at-measure-caption{display:flex;align-items:center;gap:9px;font-size:clamp(10px,1vw,12px);font-weight:750;letter-spacing:.055em;max-width:550px}
.at-live-pulse{width:8px;height:8px;border-radius:50%;background:#b9f6d8;box-shadow:0 0 0 4px rgba(172,251,214,.14);flex:none}
.at-live-stage.is-stale .at-live-pulse,.at-live-stage.is-unknown .at-live-pulse{background:#f1c18a;box-shadow:none}
.at-sample{font-size:11px;color:#d6eae6;line-height:1.65;margin:11px 0 0}
.at-stage-aside{background:rgba(5,29,39,.7);border:1px solid rgba(216,250,237,.22);backdrop-filter:blur(12px);border-radius:24px;padding:clamp(20px,2.2vw,31px);box-shadow:0 16px 46px rgba(0,29,40,.15);max-width:370px;margin-left:auto}
.at-stage-aside-kicker{display:flex;align-items:center;justify-content:space-between;gap:12px}
.at-stage-aside h3{font-family:Georgia,serif;font-weight:400;font-size:clamp(25px,2.5vw,35px);letter-spacing:-.035em;line-height:1.16;margin:20px 0 14px}
.at-stage-aside p{font-size:13px;color:#d4e8e5;line-height:1.7;margin:0 0 24px}
.at-button{font-family:inherit;min-height:45px;display:inline-flex;justify-content:space-between;align-items:center;gap:20px;padding:11px 17px;border-radius:999px;cursor:pointer;font-weight:800;border:1px solid transparent;font-size:13px}
.at-button--light{background:var(--at-mint);color:#0c3842}
.at-button--light:hover{background:#fff7dc}
.at-stage-footer{position:relative;display:grid;grid-template-columns:minmax(0,2.3fr) minmax(200px,.7fr);gap:15px;margin-top:auto}
.at-glass-metrics,.at-glass-river{background:rgba(4,34,46,.78);border:1px solid rgba(193,244,235,.20);border-radius:22px;backdrop-filter:blur(12px);box-shadow:0 16px 46px rgba(3,35,46,.12);min-width:0}
.at-glass-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;align-items:center;padding:10px 8px}
.at-glass-metric{padding:15px 10px;text-align:center;min-width:0}
.at-glass-metric:not(:last-child){border-right:1px solid rgba(214,244,235,.12)}
.at-glass-metric>span{font-size:10px;letter-spacing:.12em;color:#b5d8d4;display:block;margin-bottom:8px;font-weight:750}
.at-glass-metric strong{font-size:clamp(16px,1.8vw,23px);font-weight:760;letter-spacing:-.03em;display:block;white-space:nowrap}
.at-glass-metric small{font-size:10px;color:#d7e9e2;font-weight:550}
.at-glass-river{appearance:none;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:14px 21px;color:#f3fcf8;text-align:left;cursor:pointer}
.at-glass-river:hover{border-color:var(--at-mint)}
.at-glass-river>span:first-child{letter-spacing:.17em;font-size:10px;font-weight:850;color:var(--at-mint)}
.at-glass-river strong{font-size:clamp(21px,2.15vw,29px);line-height:1.5;display:flex;align-items:center;justify-content:space-between;width:100%}
.at-water-glyph{color:var(--at-mint);font-size:32px;font-weight:400}
.at-glass-river small{font-size:10px;color:#bcd9d3;line-height:1.35}
.at-scene-disclaimer{position:relative;margin-top:-20px;font-size:10px;align-self:flex-end;color:rgba(236,253,250,.74)}
.at-discover{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0 27px}
.at-discover button{position:relative;border:1px solid var(--stroke);background:var(--surface);color:var(--text);border-radius:21px;min-height:152px;padding:23px 24px;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:7px;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.at-discover button:hover{transform:translateY(-3px);border-color:var(--accent);box-shadow:var(--shadow-soft)}
.at-discover .at-discover-index{color:var(--accent);font-size:10px;margin-bottom:9px}
.at-discover strong{font-family:Georgia,serif;font-size:clamp(19px,2vw,27px);font-weight:400;letter-spacing:-.025em;line-height:1.12}
.at-discover button>span:not(.at-discover-index){color:var(--muted);font-size:12px;line-height:1.5;padding-right:15px}
.at-discover i{position:absolute;top:22px;right:21px;font-size:13px;color:var(--accent)}
#view-now>.grid.two{gap:clamp(14px,1.7vw,24px)}
/* Source cards retain old IDs, event listeners, charts and existing tab semantics. */
#view-now .card.hero{box-shadow:var(--shadow)}
#view-now .hero-temp{font-size:clamp(62px,7vw,98px);letter-spacing:-.075em}
#view-now .hero{background:linear-gradient(148deg,var(--surface),color-mix(in srgb,var(--surface) 95%,#acdcd0))}
#view-now .kpi-grid .kpi{background:var(--surface-2);border-radius:15px}
#view-now .river-card{background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--surface) 92%,#67bcb4));}
#view-now .river-card .kpi-icon{background:color-mix(in srgb,var(--accent) 11%,var(--surface));}
/* Forecast/storytelling: same underlying renderers and selectors, higher clarity. */
#view-forecast .ob-intro{margin-bottom:20px}
#view-forecast .ob-explore{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;padding:7px;border:1px solid var(--stroke);background:var(--surface);border-radius:17px}
#view-forecast .ob-explore__link{flex:1;min-width:135px;min-height:46px;border-radius:12px;white-space:normal}
#view-forecast .forecast-head{padding:clamp(20px,3vw,37px);background:linear-gradient(125deg,var(--surface),color-mix(in srgb,var(--surface) 94%,#80c8b9))}
#view-forecast .forecast-head .card-title{font-family:Georgia,serif;font-size:clamp(23px,3vw,37px);font-weight:400;letter-spacing:-.04em}
#view-forecast #fcContent{padding:clamp(20px,2.8vw,40px);border-radius:22px}
#view-forecast .ob-now-outlook,#view-now .ob-now-outlook{border-radius:22px}
#view-now .ob-overview-days{gap:12px}
.ob-overview-day,.ob-hour-card{transition:transform .18s ease,border-color .18s ease,background .18s ease}
.ob-overview-day{border-radius:19px;padding:21px 14px}
.ob-overview-day strong{font-weight:760}
.ob-hour-card{border-radius:17px}
.ob-hour-card__glyph{font-size:29px}
.ob-hour-card[aria-pressed="true"]{border-width:2px}
.ob-weather-story{border-radius:22px;background:linear-gradient(128deg,#0d2d3d,#195a65)!important}
.ob-weather-story::before{opacity:.28}
.ob-weather-story h3{font-family:Georgia,serif;font-weight:400}
#view-forecast .ob-guide__model{border-radius:15px}
#view-forecast .ob-guide__surface{border-radius:20px}
#view-forecast .ob-machine-steps{gap:10px}
.fc-select,.select,input[type="date"]{border-radius:10px;min-height:43px}
.at-footnote{display:flex;gap:17px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:35px 0 8px;padding:24px 4px 3px;border-top:1px solid var(--stroke);font-size:11px;color:var(--muted)}
/* Navigation: same original six buttons and app.js handlers, transformed into a sidebar. */
@media(min-width:1120px){
 :root{--header-h:78px}
 .app-header{position:sticky;top:0;margin-left:94px;z-index:45}
 .app-main{width:calc(100% - 94px);margin-left:94px;max-width:none;padding:clamp(20px,2vw,33px) clamp(24px,3vw,58px) 60px}
 .bottom-nav{position:fixed!important;order:unset!important;top:0!important;bottom:0!important;left:0!important;right:auto!important;width:94px;height:100dvh;z-index:60;background:#081e29!important;padding:90px 7px 18px!important;border-right:1px solid rgba(190,244,226,.18);border-bottom:0!important;box-shadow:none!important}
 .bottom-nav::before{content:'K';position:absolute;top:18px;left:0;right:0;text-align:center;font-family:Georgia,serif;font-style:italic;font-size:31px;color:#b9f8e2}
 .bottom-nav::after{content:attr(data-at-tagline);position:absolute;bottom:30px;left:18px;writing-mode:vertical-rl;transform:rotate(180deg);font-size:9px;letter-spacing:.2em;color:#6b999b;pointer-events:none}
 .bottom-nav-inner{display:flex!important;flex-direction:column;gap:8px!important;width:100%;max-width:none!important}
 .nav-btn{width:100%;min-height:70px!important;display:flex!important;flex-direction:column;justify-content:center;gap:7px!important;background:transparent!important;color:#a9cccd!important;border:1px solid transparent!important;border-radius:15px!important;padding:11px 5px!important;}
 .nav-btn i{font-size:18px!important}
 .nav-btn span{font-size:9px!important;letter-spacing:.06em;line-height:1.2;word-break:normal;text-align:center}
 .nav-btn[aria-current="page"]{background:#214957!important;color:#effff8!important;border-color:#467a7a!important}
 .nav-btn:hover{background:#163743!important;color:#fff!important}
 .layout-toggle{display:inline-flex}
 .app-main .grid.two{grid-template-columns:1fr}
 html[data-layout="2"] .app-main .grid.two{grid-template-columns:1.1fr .9fr}
 .app-main .grid.charts{grid-template-columns:1fr}
 html[data-layout="2"] .app-main .grid.charts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:900px) and (max-width:1119px){
 .bottom-nav{position:sticky!important;top:var(--header-h)!important;bottom:auto!important}
 .app-main{margin:0 auto;max-width:1400px}
}
@media(max-width:1119px){.at-stage-grid{grid-template-columns:minmax(0,1.3fr) minmax(230px,.7fr);gap:28px}.at-stage-copy h1{font-size:clamp(42px,6.2vw,68px)}.at-big-measure{font-size:clamp(91px,13vw,132px)}}
@media(max-width:830px){
 .at-live-stage{min-height:660px;padding:28px}
 .at-stage-grid{grid-template-columns:1fr 260px;gap:18px}
 .at-stage-aside{padding:19px}
 .at-stage-copy h1{font-size:clamp(39px,6vw,55px)}
 .at-stage-aside h3{font-size:25px}
 .at-stage-footer{grid-template-columns:1fr}
 .at-glass-river{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:0 15px}
 .at-glass-river small{grid-column:1/-1}
 .at-glass-river strong{justify-content:flex-end;gap:12px}
 .at-glass-metrics{min-height:95px}
 .at-discover button{padding:18px;min-height:160px}
}
@media(max-width:650px){
 :root{--header-h:64px}
 .app-header{padding:9px 13px}
 .app-main{padding:12px 12px calc(var(--nav-h) + 45px + env(safe-area-inset-bottom,0px))}
 .brand-title{font-size:clamp(15px,4vw,19px)}
 .at-live-stage{padding:22px 20px 24px;min-height:720px;border-radius:20px;gap:20px}
 .at-stage-grid{grid-template-columns:1fr;gap:16px}
 .at-stage-copy h1{font-size:clamp(43px,10.5vw,67px);margin:15px 0 10px}
 .at-stage-lead{font-size:13px;max-width:370px;line-height:1.55}
 .at-big-measure{font-size:clamp(90px,19vw,137px);margin:15px 0 8px}
 .at-stage-aside{max-width:none;margin:0;padding:16px 19px;border-radius:17px;background:rgba(5,29,39,.76)}
 .at-stage-aside h3{font-size:23px;margin:8px 0}
 .at-stage-aside p{font-size:11px;line-height:1.45;margin:0 0 10px}
 .at-button{min-height:38px;padding:8px 13px;font-size:11px}
 .at-stage-terrain{height:74%;object-fit:cover;object-position:center bottom}
 .at-stage-sun{right:11%;top:12%;width:95px;height:95px}
 .at-stage-footer{gap:9px}
 .at-glass-metrics{grid-template-columns:repeat(4,minmax(0,1fr));padding:7px 2px;border-radius:16px}
 .at-glass-metric{padding:10px 3px}
 .at-glass-metric>span{font-size:8px;letter-spacing:.05em}
 .at-glass-metric strong{font-size:clamp(14px,4vw,19px)}
 .at-glass-metric small{font-size:9px}
 .at-glass-river{padding:9px 13px;border-radius:15px}
 .at-glass-river strong{font-size:20px}
 .at-glass-river>span:first-child{font-size:9px}
 .at-scene-disclaimer{margin-top:-13px;font-size:9px;align-self:flex-start}
 .at-discover{grid-template-columns:1fr;gap:8px;margin:11px 0 18px}
 .at-discover button{min-height:auto;padding:16px 20px;gap:4px}
 .at-discover .at-discover-index{margin-bottom:3px}
 .at-discover strong{font-size:23px}
 .ob-intro.at-editorial-intro{min-height:165px;padding:23px 21px;border-radius:19px;margin-bottom:12px}
 .ob-intro.at-editorial-intro h1{font-size:clamp(30px,8vw,43px)}
 .ob-intro.at-editorial-intro p{font-size:12px}
 .at-footnote{margin-top:24px}
 #view-forecast .ob-explore{gap:4px;padding:5px}
 #view-forecast .ob-explore__link{min-width:104px;font-size:11px;padding:8px;flex:1 1 105px}
 #view-forecast .forecast-head,#view-forecast #fcContent{padding:20px 15px}
 #view-now .hero-temp{font-size:65px}
}
@media(max-width:365px){.at-live-stage{padding:17px 13px 20px}.at-stage-copy h1{font-size:38px}.at-stage-footer{gap:7px}.at-stage-aside{padding:12px 13px}.at-glass-metric strong{font-size:13px}.at-glass-metric small{font-size:8px}.at-measure-caption{font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.at-discover button,.ob-overview-day,.ob-hour-card{transition:none!important;animation:none!important}}

/* Independent navigation glyphs: avoids an empty rail if a third-party icon CDN fails. */
.nav-btn i::before{font-family:Georgia,serif!important;font-size:1.16em;font-weight:400}
.nav-btn[data-nav="now"] i::before{content:"◈"!important}
.nav-btn[data-nav="charts"] i::before{content:"◷"!important}
.nav-btn[data-nav="insights"] i::before{content:"≋"!important}
.nav-btn[data-nav="compare"] i::before{content:"⇄"!important}
.nav-btn[data-nav="forecast"] i::before{content:"☼"!important}
.nav-btn[data-nav="info"] i::before{content:"ⓘ"!important}
@media(max-width:650px){
 .brand-text{min-width:0;max-width:min(48vw,250px)}
 .brand-title{display:block!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(13px,3.5vw,18px)}
 .header-actions{gap:5px;flex-shrink:0}
 .header-actions .chip-row{gap:4px}
 .header-actions .chip{padding:8px 8px;min-height:36px}
 .header-actions .icon-btn{width:35px;height:35px}
 .header-actions .layout-toggle{display:none}
 .header-actions .zoom-toggle{width:34px;justify-content:center;padding:8px}
 .header-actions .zoom-toggle i::before{content:"⌕"!important;font-family:Georgia,serif!important;font-size:18px}
 .bottom-nav{height:calc(72px + env(safe-area-inset-bottom,0px));padding:6px 4px calc(8px + env(safe-area-inset-bottom,0px))}
 .bottom-nav-inner{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px}
 .nav-btn{min-height:59px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:7px 1px}
 .nav-btn i{font-size:19px}
 .nav-btn span{font-size:9px;line-height:1.15;text-align:center;white-space:normal}
 .at-stage-sun{opacity:.38;top:7%;right:5%;width:77px;height:77px}
}

/* Small, readable consent panel: privacy choice remains explicit and optional. */
.consent-banner{position:fixed;bottom:18px;right:20px;left:auto;width:min(520px,calc(100% - 40px));z-index:80;pointer-events:none;}
.consent-inner{pointer-events:auto;max-width:none;border-radius:19px;border:1px solid var(--stroke);background:var(--surface);box-shadow:0 25px 60px rgba(1,23,32,.25);padding:19px 22px;display:grid;grid-template-columns:1fr;gap:13px;}
.consent-title{font-size:15px;font-weight:800;color:var(--text)}
.consent-text{font-size:12px;line-height:1.5;color:var(--muted)}
.consent-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:nowrap}
.consent-actions .btn{width:auto;flex:1;max-width:190px;min-width:0;padding:10px 13px;min-height:42px;border-radius:999px;font-weight:750}
.consent-actions .btn-primary{background:var(--accent);color:var(--surface)}
@media(max-width:650px){
 .consent-banner{bottom:calc(84px + env(safe-area-inset-bottom,0px));left:12px;right:12px;width:auto;}
 .consent-inner{display:flex;flex-direction:column;gap:10px;padding:15px 16px;border-radius:16px}
 .consent-title{font-size:13px}
 .consent-text{font-size:11px;line-height:1.45}
 .consent-actions{display:flex;justify-content:stretch;gap:7px}
 .consent-actions .btn{flex:1;max-width:none;min-height:38px;padding:8px;font-size:12px}
}
/* Keep the forecast itself above the fold on smaller devices. */
@media(max-width:650px){
 #view-forecast .ob-intro.at-editorial-intro{min-height:130px;padding:19px 19px}
 #view-forecast .ob-intro.at-editorial-intro h1{font-size:30px;margin-bottom:7px}
 #view-forecast .ob-intro.at-editorial-intro p{font-size:11px;line-height:1.5}
 #view-forecast .ob-explore{flex-wrap:nowrap;overflow-x:auto;gap:5px;padding:5px;scrollbar-width:thin;scroll-snap-type:x proximity}
 #view-forecast .ob-explore__link{flex:0 0 auto;min-width:121px;min-height:41px;font-size:11px;scroll-snap-align:start}
 #view-forecast .forecast-head{padding:17px 15px;gap:8px}
 #view-forecast .forecast-head .card-title{font-size:23px;line-height:1.17}
 #view-forecast .forecast-head .card-sub{font-size:11px}
 #view-forecast .forecast-horizon{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;width:100%}
 #view-forecast .fc-period{width:100%;white-space:normal;min-width:0;min-height:42px;padding:7px 2px;font-size:11px}
 #view-forecast .fc-disclaimer{font-size:11px;line-height:1.45;margin:4px 0 0}
}

/* No invisible theme control when a remote icon font is unavailable. */
#themeToggle i::before{content:"◐"!important;font-family:Georgia,serif!important;font-size:22px}

/* v93.1 Living Atmosphere: one canonical observation, astronomically synchronized sky.
   All skin changes live here; no per-screen extra stylesheet or copied values. */
.at-live-stage{--at-sun-top:18%;--at-sun-strength:.8;min-height:clamp(560px,66vh,735px);transition:background-color .6s ease,background-image .6s ease}
.at-live-stage[data-time-of-day="day"]{background:radial-gradient(ellipse 55% 70% at 74% 20%,rgba(248,217,139,.21),transparent 75%),linear-gradient(122deg,#153e50 0%,#2b6878 57%,#6ca3a2 100%)}
.at-live-stage[data-time-of-day="dawn"]{background:radial-gradient(ellipse 54% 80% at 73% 55%,rgba(255,195,141,.32),transparent 70%),linear-gradient(130deg,#1a304c 0%,#706d83 60%,#bc8f86 100%)}
.at-live-stage[data-time-of-day="dusk"]{background:radial-gradient(ellipse 58% 75% at 75% 53%,rgba(242,167,128,.29),transparent 75%),linear-gradient(130deg,#172d44 0%,#665b80 55%,#aa7779 100%)}
.at-live-stage[data-time-of-day="night"]{background:radial-gradient(ellipse 65% 85% at 70% 35%,rgba(46,110,145,.16),transparent 78%),linear-gradient(124deg,#071722 5%,#112c42 59%,#26455e 100%)}
.at-live-stage[data-time-of-day="unknown"]{background:linear-gradient(125deg,#243c49,#43636c 70%,#5d7c82)}
.at-stage-sun{top:var(--at-sun-top);right:24%;opacity:var(--at-sun-strength);transition:top 1s ease,opacity 1s ease}
.at-live-stage[data-time-of-day="night"] .at-stage-sun,.at-live-stage[data-time-of-day="unknown"] .at-stage-sun{display:none}
.at-live-stage[data-time-of-day="dawn"] .at-stage-sun,.at-live-stage[data-time-of-day="dusk"] .at-stage-sun{background:#ffce9c;box-shadow:0 0 0 35px rgba(255,200,141,.09),0 0 90px 38px rgba(253,179,130,.32)}
.at-live-stage[data-time-of-day="night"] .at-stage-sky{opacity:1;background-image:radial-gradient(1px 1px at 15% 18%,#dceaff 99%,transparent),radial-gradient(1px 1px at 38% 13%,#dceaff 99%,transparent),radial-gradient(2px 2px at 62% 31%,#dceaff 99%,transparent),radial-gradient(1px 1px at 82% 20%,#dceaff 99%,transparent),radial-gradient(1px 1px at 76% 44%,#dceaff 99%,transparent),radial-gradient(1px 1px at 35% 47%,#dceaff 99%,transparent);background-size:270px 190px,380px 210px,410px 270px,320px 240px,550px 270px,390px 280px;background-repeat:repeat;transform:none}
.at-live-stage[data-time-of-day="unknown"] .at-stage-sky{opacity:0}
.at-stage-terrain{filter:drop-shadow(0 -14px 26px rgba(5,21,31,.07));opacity:.98;transition:filter .65s ease,opacity .65s ease}
.at-live-stage[data-time-of-day="night"] .at-stage-terrain{filter:brightness(.67) saturate(.7) hue-rotate(14deg);opacity:.95}
.at-live-stage[data-time-of-day="dawn"] .at-stage-terrain{filter:brightness(.77) sepia(.12) hue-rotate(-9deg)}
.at-live-stage[data-time-of-day="dusk"] .at-stage-terrain{filter:brightness(.74) saturate(.82) hue-rotate(9deg)}
.at-solar-description{display:inline-flex;align-items:center;gap:9px;padding:7px 13px 7px 10px;border:1px solid rgba(228,253,243,.23);background:rgba(4,32,46,.34);border-radius:99px;color:#effaf4;font-size:11px;line-height:1.35;max-width:fit-content;margin:12px 0 0}
.at-solar-symbol{font-size:16px;color:#fff1bb}
.at-live-stage .at-stage-copy h1{max-width:11ch;font-size:clamp(40px,5.2vw,76px)}
.at-big-measure{font-variant-numeric:tabular-nums}
.at-glass-metric>span{line-height:1.25}
.at-glass-metric>small{display:block;opacity:.78;margin-top:5px;line-height:1.2}
.at-glass-metric strong{font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:normal}
.at-glass-river strong{font-size:clamp(15px,1.65vw,22px);gap:16px}
.at-detail-conditions{overflow:hidden}
.at-detail-conditions .card-body{padding:clamp(20px,2.4vw,32px)}
.at-detail-head{display:flex;justify-content:space-between;align-items:end;gap:14px;margin-bottom:21px;padding-bottom:18px;border-bottom:1px solid var(--stroke)}
.at-detail-eyebrow{color:var(--accent);font-size:10px;font-weight:800;letter-spacing:.16em}
.at-detail-head h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(24px,2.7vw,37px);line-height:1.07;letter-spacing:-.035em;margin:7px 0 0;color:var(--text)}
.at-detail-head p{max-width:245px;font-size:12px;line-height:1.45;color:var(--muted);margin:0;text-align:right}
.at-detail-conditions .hero-top{align-items:start;gap:18px}
.at-detail-conditions .hero-side{display:flex;flex-direction:column;align-items:center;min-width:115px;gap:6px;padding:14px 12px;border-radius:18px;background:var(--surface-2);border:1px solid var(--stroke)}
.at-lunar-label{font-size:10px;font-weight:850;letter-spacing:.1em;color:var(--muted)}
.at-detail-conditions .moon{margin:0;min-height:61px;display:grid;place-items:center}
.at-detail-conditions .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:20px}
.at-detail-conditions .hero-meta{font-size:clamp(14px,1.3vw,17px);line-height:1.55}
.at-detail-conditions .hero-narrative{font-size:12px;line-height:1.5;color:var(--muted);max-width:46ch;margin-top:12px}
.at-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
@media(max-width:830px){.at-live-stage{min-height:620px}.at-stage-sun{right:15%}.at-detail-head p{max-width:190px}}
@media(max-width:650px){
 .at-live-stage{min-height:0;padding:24px 18px 18px;gap:18px}
 .at-live-stage .at-stage-copy h1{font-size:clamp(36px,10vw,54px);max-width:12ch;margin:12px 0}
 .at-stage-lead{margin-bottom:12px}
 .at-big-measure{font-size:clamp(82px,21vw,122px);margin:10px 0 8px}
 .at-stage-terrain{height:66%}
 .at-stage-aside{background:rgba(5,29,39,.82)}
 .at-stage-footer{margin-top:18px}
 .at-glass-metrics{grid-template-columns:repeat(2,minmax(0,1fr));padding:4px 8px}
 .at-glass-metric{padding:10px 12px;text-align:left}
 .at-glass-metric:not(:last-child){border-right:0}
 .at-glass-metric:nth-child(odd){border-right:1px solid rgba(214,244,235,.15)}
 .at-glass-metric:nth-child(-n+2){border-bottom:1px solid rgba(214,244,235,.15)}
 .at-glass-metric>span{font-size:9px;margin-bottom:4px}
 .at-glass-metric strong{font-size:18px}
 .at-scene-disclaimer{margin:0;line-height:1.45}
 .at-detail-head{align-items:start;flex-direction:column;gap:8px}
 .at-detail-head p{text-align:left;max-width:none}
 .at-detail-conditions .hero-side{min-width:90px;padding:10px}
 .at-detail-conditions .hero-top{gap:10px}
 .at-detail-conditions .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:365px){.at-glass-metric{padding:9px 7px}.at-glass-metric strong{font-size:15px}.at-detail-conditions .hero-top{flex-direction:column}.at-detail-conditions .hero-side{flex-direction:row;justify-content:space-around;width:100%}}
@media(prefers-reduced-motion:reduce){.at-live-stage,.at-stage-sun,.at-stage-terrain{transition:none!important}}

/* Two slim science journeys; the primary forecast CTA is already in the hero. */
#view-now>.at-discover{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 20px}
#view-now>.at-discover button{min-height:102px;padding:16px 20px;gap:5px}
#view-now>.at-discover strong{font-size:clamp(18px,1.8vw,23px)}
#view-now>.at-discover .at-discover-index{margin:0}
@media(max-width:650px){#view-now>.at-discover{grid-template-columns:1fr;gap:7px}#view-now>.at-discover button{min-height:0;padding:13px 16px}#view-now>.at-discover button>span:not(.at-discover-index){display:none}}
@media(max-width:650px){
 .at-live-stage .at-stage-sun{right:7%;width:76px;height:76px;opacity:calc(var(--at-sun-strength)*.32)}
 .at-live-stage .at-stage-copy{position:relative;z-index:1}
 .at-live-stage .at-stage-sun{z-index:-1}
}

/* v93.2: simplified header brand; the site title is visible at every breakpoint. */
.brand{min-width:0;gap:0}
.brand-text{min-width:0}
@media(max-width:650px){.brand{flex:1;min-width:0}.brand-text{max-width:100%}.brand-title{font-size:clamp(12px,3.4vw,17px)}}

/* v93.2.1: keep the complete bilingual meteorological-station name legible. */
@media(max-width:650px){
  .app-header .brand-title{
    white-space:normal;
    overflow-wrap:normal;
    overflow:visible;
    text-overflow:clip;
    line-height:1.12;
  }
}

/* v93.3 Living Sky — one atmospheric scene, no independent weather-data owners. */
.at-live-stage{--at-sun-left:71%;--at-sun-top:20%}
.at-live-stage .at-stage-sun{left:var(--at-sun-left);right:auto;top:var(--at-sun-top);transform:translateX(-50%)}
.at-live-stage[data-sun-visible="no"] .at-stage-sun{display:none}
.at-live-stage .at-stage-moon{position:absolute;z-index:-1;width:clamp(46px,7vw,88px);height:clamp(46px,7vw,88px);transform:translate(-50%,-50%);pointer-events:none;filter:drop-shadow(0 0 22px rgba(223,238,245,.23));opacity:.87}
.at-stage-moon[hidden]{display:none!important}
.at-stage-moon svg{width:100%;height:100%;display:block}
.at-scene-particles,.at-scene-wildlife{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1;border-radius:inherit}
.at-live-stage .at-stage-grid,.at-live-stage .at-stage-footer,.at-live-stage .at-scene-disclaimer{z-index:2}
.at-live-stage .at-stage-grid{position:relative}
.at-live-stage .at-stage-footer{position:relative}
.at-scene-status-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0 0}
.at-scene-status-row .at-solar-description{margin:0}
.at-motion-control{display:inline-flex;align-items:center;gap:7px;min-height:33px;padding:6px 11px;border-radius:99px;border:1px solid rgba(228,253,243,.25);background:rgba(4,32,46,.4);color:#f1fbf7;font:inherit;font-size:11px;line-height:1.4;cursor:pointer;backdrop-filter:blur(4px);transition:background-color .2s,border-color .2s}
.at-motion-control:hover,.at-motion-control:focus-visible{background:rgba(14,59,75,.85);border-color:rgba(228,253,243,.58)}
.at-motion-control:focus-visible{outline:2px solid #eafce9;outline-offset:2px}
.at-motion-control:disabled{opacity:.7;cursor:default}
.at-motion-control-icon{font-size:15px;color:#d7f6e3}
.at-scene-particle{position:absolute;top:0;left:var(--p-x);opacity:var(--p-alpha);will-change:transform;animation-timing-function:linear;animation-iteration-count:infinite}
.at-scene-particle--rain{width:1px;height:var(--p-size);border-radius:3px;background:linear-gradient(to bottom,rgba(212,241,255,0),rgba(225,250,255,.8));animation-name:at-rain-fall;animation-duration:var(--p-duration);animation-delay:var(--p-delay);box-shadow:0 0 3px rgba(203,235,254,.22)}
.at-scene-particle--leaf{width:var(--p-size);height:calc(var(--p-size) * .55);border-radius:95% 5% 92% 4%;background:#e6bc77;animation-name:at-leaf-drift;animation-duration:var(--p-duration);animation-delay:var(--p-delay);box-shadow:0 0 2px rgba(6,33,37,.12)}
.at-scene-decor{position:absolute;pointer-events:none;animation-fill-mode:both;will-change:transform,opacity}
.at-scene-decor--bird{left:-8%;width:50px;height:25px;color:rgba(243,253,244,.65);filter:drop-shadow(0 1px 2px rgba(0,0,0,.18));animation:at-bird-pass 7s linear both}
.at-scene-decor--bird svg{width:100%;height:100%;display:block}
.at-scene-decor--meteor{width:76px;height:1.6px;border-radius:6px;opacity:0;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(245,253,255,.26),rgba(255,255,255,.97));filter:drop-shadow(0 0 5px rgba(219,241,255,.65));transform:rotate(-21deg);animation:at-meteor-pass 1s ease-out both}
@keyframes at-rain-fall{from{transform:translate3d(0,-12vh,0)}to{transform:translate3d(var(--p-sway),90vh,0)}}
@keyframes at-leaf-drift{0%{transform:translate3d(0,-16px,0) rotate(0deg);opacity:0}10%{opacity:.72}85%{opacity:.65}100%{transform:translate3d(var(--p-sway),75vh,0) rotate(470deg);opacity:0}}
@keyframes at-bird-pass{0%{transform:translateX(0) translateY(0) scale(.8);opacity:0}10%,80%{opacity:.7}100%{transform:translateX(112vw) translateY(-25px) scale(.8);opacity:0}}
@keyframes at-meteor-pass{0%{transform:rotate(-21deg) translateX(0);opacity:0}12%{opacity:.95}85%{opacity:.65}100%{transform:rotate(-21deg) translateX(140px);opacity:0}}
@media(max-width:650px){
 .at-live-stage .at-stage-sun{right:auto;left:var(--at-sun-left);width:76px;height:76px}
 .at-live-stage .at-stage-moon{width:52px;height:52px}
 .at-motion-control{font-size:10px;padding:5px 8px}
 .at-scene-decor--bird{width:36px;height:18px}
}
@media(prefers-reduced-motion:reduce){
 .at-scene-particles,.at-scene-wildlife{display:none!important}
 .at-motion-control,.at-stage-moon,.at-stage-sun{animation:none!important;transition:none!important}
}

/* v93.4 — Responsive Landscape: one data-bound scene, no extra polling. */
.at-live-stage{--at-observed-light:0;--at-temperature-cool:0;--at-temperature-warm:0;--at-rain-wet:0;--at-tree-bend:0deg;--at-tree-bend-alt:0deg;--at-tree-period:5.5s}
.at-sunlight-wash,.at-temperature-wash,.at-rain-gloss,.at-rain-ripples,.at-vegetation{position:absolute;pointer-events:none;z-index:0}
.at-sunlight-wash{inset:0;background:radial-gradient(ellipse 34% 55% at var(--at-sun-left) 33%,rgba(255,238,182,.8),rgba(255,220,158,.22) 42%,transparent 80%);opacity:calc(var(--at-observed-light) * .40);transition:opacity 1.8s ease}
.at-live-stage:not([data-solar-measured="yes"]) .at-sunlight-wash,.at-live-stage:not([data-time-of-day="day"]) .at-sunlight-wash{opacity:0}
.at-temperature-wash{inset:35% 0 0}
.at-temperature-wash::before{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,transparent 8%,rgba(95,175,231,1) 100%);opacity:var(--at-temperature-cool);transition:opacity 2s ease}
.at-temperature-wash::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,transparent 8%,rgba(245,159,95,1) 100%);opacity:var(--at-temperature-warm);transition:opacity 2s ease}
.at-live-stage[data-time-of-day="night"] .at-temperature-wash::before{opacity:calc(var(--at-temperature-cool) * .65)}
.at-vegetation{inset:0;overflow:hidden;border-radius:inherit}
.at-tree-grove{position:absolute;bottom:17%;width:clamp(100px,20%,265px);height:auto;opacity:.48;overflow:visible;filter:drop-shadow(0 3px 3px rgba(3,30,37,.09))}
.at-tree-grove--left{left:0}.at-tree-grove--right{right:0;transform:scaleX(-1)}
.at-tree-grove .at-tree-sway{transform-origin:50% 100%;transform-box:fill-box}
.at-live-stage[data-vegetation-moving="yes"] .at-tree-grove .at-tree-sway{animation:at-tree-breeze var(--at-tree-period) ease-in-out infinite alternate}
.at-tree-grove--right .at-tree-sway{animation-delay:-2.3s!important}
@keyframes at-tree-breeze{0%{transform:rotate(var(--at-tree-bend-alt))}100%{transform:rotate(var(--at-tree-bend))}}
.at-rain-gloss{inset:auto 0 9%;height:22%;background:radial-gradient(ellipse 76% 46% at 50% 93%,rgba(178,229,240,.8),transparent 80%);opacity:var(--at-rain-wet);transition:opacity 1s ease}
.at-rain-ripples{inset:auto 0 12%;height:21%;overflow:hidden;opacity:.65}
.at-rain-ripple{position:absolute;left:var(--r-x);bottom:var(--r-y);width:var(--r-size);height:calc(var(--r-size) * .35);border:1px solid rgba(221,247,245,.65);border-radius:50%;opacity:0;transform:translate(-50%,0) scale(.3);animation:at-pond-ripple 2.8s ease-out infinite;animation-delay:var(--r-delay)}
@keyframes at-pond-ripple{0%{transform:translate(-50%,0) scale(.35);opacity:0}18%{opacity:.6}100%{transform:translate(-50%,0) scale(2.4);opacity:0}}
.at-lightning-activity{display:inline-flex;align-items:center;gap:7px;border-radius:99px;border:1px solid rgba(246,212,144,.35);padding:7px 11px;background:rgba(50,45,30,.57);color:#ffecc8;font-size:11px;font-weight:650;line-height:1.35;max-width:100%;backdrop-filter:blur(4px)}
.at-lightning-activity[hidden]{display:none!important}
.at-lightning-activity__symbol{font-size:14px;display:inline-block;flex:none;color:#fbe09f}
.at-lightning-activity[data-lightning-state="active"][data-animated="yes"] .at-lightning-activity__symbol{animation:at-lightning-breath 4.8s ease-in-out infinite}
@keyframes at-lightning-breath{0%,100%{opacity:.7;transform:scale(1)}50%{opacity:1;transform:scale(1.07)}}
@media(max-width:650px){.at-tree-grove{bottom:23%;width:27%;opacity:.31}.at-rain-ripples{bottom:20%;height:13%}.at-rain-gloss{bottom:15%;height:17%}.at-lightning-activity{font-size:10px;padding:5px 8px}}
@media(prefers-reduced-motion:reduce){.at-live-stage .at-tree-sway,.at-live-stage .at-rain-ripple,.at-live-stage .at-lightning-activity__symbol{animation:none!important}.at-sunlight-wash,.at-temperature-wash::before,.at-temperature-wash::after,.at-rain-gloss{transition:none!important}}

/* v93.5 — Cinematic Living Atmosphere. All trajectories use the stage box,
   not the browser viewport. Keep text and station values above the effects. */
.at-scene-lightning{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;border-radius:inherit}
.at-scene-particles,.at-scene-wildlife{inset:0;width:100%;height:100%}
.at-scene-particle{animation-fill-mode:both;animation-timing-function:linear;pointer-events:none}
.at-scene-particle--rain{animation-name:at-cinematic-rain;animation-iteration-count:infinite}
.at-scene-particle--leaf{width:0;height:0;border:0;background:none;box-shadow:none;animation-name:at-cinematic-leaf;animation-iteration-count:infinite}
.at-leaf-shape{display:block;width:var(--p-size);height:calc(var(--p-size) * .62);background:linear-gradient(135deg,#d9a45c,#f1c982 55%,#b88a4f);border-radius:96% 4% 88% 12%;box-shadow:0 0 2px rgba(11,42,40,.20);animation:at-leaf-flutter var(--p-flutter) ease-in-out infinite alternate;transform-origin:50% 50%}
@keyframes at-cinematic-leaf{
  0%{transform:translate3d(0,-28px,0);opacity:0}
  12%{opacity:var(--p-alpha)}
  28%{transform:translate3d(calc(var(--p-sway) * .22),calc(var(--p-travel) * .12),0)}
  52%{transform:translate3d(calc(var(--p-sway) * .48),calc(var(--p-travel) * .37),0)}
  76%{transform:translate3d(calc(var(--p-sway) * .82),calc(var(--p-travel) * .65),0);opacity:var(--p-alpha)}
  100%{transform:translate3d(var(--p-sway),var(--p-travel),0);opacity:0}
}
@keyframes at-leaf-flutter{0%{transform:rotate(-43deg) scaleX(.35) rotateY(25deg)}50%{transform:rotate(17deg) scaleX(1)}100%{transform:rotate(67deg) scaleX(.42) rotateY(-25deg)}}
@keyframes at-cinematic-rain{
  0%{transform:translate3d(0,0,0);opacity:0}
  8%{opacity:var(--p-alpha)}
  90%{opacity:var(--p-alpha)}
  100%{transform:translate3d(var(--p-sway),var(--p-travel),0);opacity:0}
}
.at-scene-decor{left:0;top:0;animation:none!important;will-change:transform,opacity}
.at-scene-decor--bird{width:52px;height:34px;color:rgba(237,251,244,.83);filter:drop-shadow(0 1px 2px rgba(0,0,0,.18))}
.at-scene-decor--bird svg{overflow:visible;width:100%;height:100%}
.at-bird-wing{transform-box:fill-box;transform-origin:83% 83%;animation:at-bird-flap var(--bird-flap,.8s) ease-in-out infinite alternate}
.at-bird-wing--far{transform-origin:15% 83%;animation-direction:alternate-reverse}
.at-bird-reverse svg{transform:scaleX(-1)}
@keyframes at-bird-flap{0%{transform:rotate(30deg) scaleY(.62)}38%{transform:rotate(-28deg) scaleY(1.18)}78%{transform:rotate(-7deg) scaleY(.88)}100%{transform:rotate(18deg) scaleY(.72)}}
.at-scene-decor--meteor{width:120px;height:3px;background:none;filter:none;animation:none!important}
.at-meteor-tail{display:block;width:100%;height:100%;border-radius:6px;background:linear-gradient(90deg,transparent,rgba(212,243,255,.3) 40%,rgba(253,253,255,.97));filter:drop-shadow(0 0 4px rgba(191,232,250,.8))}
.at-cinematic-bolt{position:absolute;inset:0;opacity:0;pointer-events:none;will-change:opacity}
.at-cinematic-bolt svg{width:100%;height:90%;display:block}
.at-live-stage[data-motion-active="no"] .at-scene-lightning{display:none}
.at-lab-panel{border:1px solid #b98c45;border-radius:17px;padding:16px;background:#192a35;color:#fff3d9;margin:10px 0 18px;position:relative;z-index:2;box-shadow:0 8px 22px #101c2840}
.at-lab-header{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 20px;margin-bottom:14px}
.at-lab-header strong{font-size:13px;letter-spacing:.06em}
.at-lab-header span,.at-lab-panel p{font-size:12px;opacity:.86}
.at-lab-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}
.at-lab-grid label{font-size:12px;display:grid;gap:5px}
.at-lab-grid select,.at-lab-grid input[type="number"]{width:100%;min-width:0;color:#162833;background:#f8fcf9;border:1px solid #adc0c1;border-radius:8px;padding:9px;font:inherit}
.at-lab-grid input[type="range"]{width:100%;accent-color:#f1bf7d}
.at-lab-grid output{font-variant-numeric:tabular-nums;color:#fff}
.at-lab-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.at-lab-actions button{background:#f1c786;color:#1d302f;border:1px solid transparent;border-radius:8px;padding:9px 12px;font-size:12px;font-weight:700;cursor:pointer}
.at-lab-actions button:focus-visible{outline:2px solid white;outline-offset:3px}
.at-lab-panel p{margin:12px 0 0}
@media(prefers-reduced-motion:reduce){.at-scene-lightning{display:none!important}.at-scene-decor,.at-scene-particle,.at-leaf-shape,.at-bird-wing{animation:none!important}}

/* v93.6 — Natural Motion & Dynamic Rain. These share the existing stage,
   observation controller, reduced-motion switch and staging laboratory. */
.at-scene-particle--rain{
 width:var(--p-width,1px);height:var(--p-size,12px);
 background:linear-gradient(180deg,rgba(210,237,250,0),rgba(226,248,255,.72) 70%,rgba(239,252,255,.93));
 box-shadow:0 0 2px rgba(194,234,255,.15);
}
.at-scene-particle--rain[data-depth="0"]{filter:blur(.45px)}
.at-scene-particle--rain[data-depth="2"]{filter:drop-shadow(0 0 1px rgba(222,251,255,.23))}
.at-scene-particle--rain[data-drop-class="large"]{border-radius:48% 48% 55% 55%}
.at-scene-particle--leaf{animation-name:at-natural-leaf;animation-timing-function:cubic-bezier(.44,.05,.58,.95)}
.at-leaf-shape{filter:hue-rotate(var(--leaf-hue,0deg));animation-name:at-natural-leaf-flutter}
.at-leaf-shape[data-shape="1"]{border-radius:7% 95% 5% 88%;background:linear-gradient(145deg,#bd9d5e,#e2be76)}
.at-leaf-shape[data-shape="2"]{border-radius:70% 6% 75% 4%;background:linear-gradient(135deg,#b9814c,#e1b784)}
@keyframes at-natural-leaf{
 0%{transform:translate3d(0,0,0);opacity:0}
 9%{opacity:var(--p-alpha)}
 24%{transform:translate3d(calc(var(--p-sway) * .17 + var(--p-gust1)),calc(var(--p-travel) * .18 + var(--p-lift)),0)}
 43%{transform:translate3d(calc(var(--p-sway) * .42 + var(--p-gust2)),calc(var(--p-travel) * .35),0)}
 62%{transform:translate3d(calc(var(--p-sway) * .57 - var(--p-gust1)),calc(var(--p-travel) * .53 + var(--p-lift) * .45),0)}
 83%{opacity:var(--p-alpha);transform:translate3d(calc(var(--p-sway) * .82 + var(--p-gust2) * .4),calc(var(--p-travel) * .81),0)}
 100%{opacity:0;transform:translate3d(var(--p-sway),var(--p-travel),0)}
}
@keyframes at-natural-leaf-flutter{
 0%{transform:rotate(-36deg) scaleX(.4) scaleY(.8)}
 27%{transform:rotate(22deg) scaleX(.95) scaleY(1)}
 52%{transform:rotate(-49deg) scaleX(.28) scaleY(.86)}
 76%{transform:rotate(55deg) scaleX(.92) scaleY(.97)}
 100%{transform:rotate(-7deg) scaleX(.48) scaleY(.8)}
}
/* Near and far groves do not bend on identical clocks. */
.at-live-stage[data-vegetation-moving="yes"] .at-tree-grove--left .at-tree-sway{
 animation-duration:var(--at-tree-period);animation-timing-function:cubic-bezier(.38,.04,.64,.98)
}
.at-live-stage[data-vegetation-moving="yes"] .at-tree-grove--right .at-tree-sway{
 animation-duration:calc(var(--at-tree-period) * 1.29);animation-delay:-2.7s!important;
 animation-timing-function:cubic-bezier(.47,.06,.58,.97)
}
.at-rain-gloss::before,.at-rain-gloss::after{
 content:"";position:absolute;pointer-events:none;
 bottom:0;height:45%;border-radius:50%;
 transform:scaleX(calc(.62 + var(--at-puddle-cover,0) * .4));
 background:radial-gradient(ellipse at 50% 54%,rgba(160,225,240,.27),rgba(115,193,216,.13) 48%,transparent 80%);
 opacity:var(--at-puddle-cover,0);transition:opacity 3s ease,transform 3s ease;
}
.at-rain-gloss::before{left:12%;width:43%}
.at-rain-gloss::after{right:7%;width:38%;bottom:4%}
.at-rain-ripple{animation-duration:var(--r-duration,2.8s)}
.at-rain-splash{
 position:absolute;left:var(--r-x);bottom:var(--r-y);width:var(--r-size);height:calc(var(--r-size) * .42);
 border:1px solid rgba(219,246,252,.52);border-radius:50%;opacity:0;
 animation:at-impact-splash var(--r-duration,1.5s) ease-out infinite;
 animation-delay:var(--r-delay);transform:translateX(-50%) scale(.18);pointer-events:none;
}
.at-rain-splash::before,.at-rain-splash::after{
 content:"";position:absolute;bottom:25%;width:2px;height:7px;background:rgba(232,250,255,.6);
 border-radius:100% 100% 0 0;
}
.at-rain-splash::before{left:32%;transform:rotate(-28deg)}
.at-rain-splash::after{right:31%;transform:rotate(25deg)}
@keyframes at-impact-splash{
 0%{transform:translateX(-50%) scale(.16);opacity:0}
 15%{opacity:.63}
 43%{transform:translateX(-50%) scale(.68);opacity:.55}
 100%{transform:translateX(-50%) scale(1.7);opacity:0}
}
/* Flight characteristics alternate wingbeats and short glides. */
.at-bird-wing{animation-name:at-natural-bird-wing;animation-duration:var(--bird-flap,.85s);animation-delay:var(--bird-wing-delay,0s)}
.at-bird-wing--far{animation-direction:normal;animation-delay:calc(var(--bird-wing-delay,0s) - .13s)}
.at-bird-style--soar .at-bird-wing{animation:at-soaring-wing calc(var(--bird-flap,.9s) * 4.5) ease-in-out infinite alternate}
.at-bird-style--group .at-bird-wing{animation-duration:calc(var(--bird-flap,.9s) * .86)}
@keyframes at-natural-bird-wing{
 0%{transform:rotate(28deg) scaleY(.58)}
 21%{transform:rotate(-27deg) scaleY(1.15)}
 41%{transform:rotate(15deg) scaleY(.76)}
 52%{transform:rotate(-11deg) scaleY(1.02)}
 57%,77%{transform:rotate(1deg) scaleY(1)}
 91%{transform:rotate(27deg) scaleY(.65)}
 100%{transform:rotate(28deg) scaleY(.58)}
}
@keyframes at-soaring-wing{
 0%,35%{transform:rotate(-7deg) scaleY(1.1)}
 65%{transform:rotate(-11deg) scaleY(1.15)}
 100%{transform:rotate(-2deg) scaleY(1.05)}
}
.at-live-stage[data-lab-paused="yes"] .at-scene-particle,
.at-live-stage[data-lab-paused="yes"] .at-leaf-shape,
.at-live-stage[data-lab-paused="yes"] .at-bird-wing,
.at-live-stage[data-lab-paused="yes"] .at-rain-ripple,
.at-live-stage[data-lab-paused="yes"] .at-rain-splash,
.at-live-stage[data-lab-paused="yes"] .at-tree-sway,
.at-live-stage[data-lab-paused="yes"] .at-lightning-activity__symbol{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){
 .at-rain-splash{animation:none!important;display:none!important}
 .at-live-stage .at-rain-gloss::before,.at-live-stage .at-rain-gloss::after{transition:none!important}
}

/* Subtle local terrain illumination accompanies the branched bolt, never a full-screen flash. */
.at-cinematic-bolt::before{
 content:"";position:absolute;pointer-events:none;inset:3% 4% 28%;
 background:radial-gradient(ellipse 21% 40% at var(--at-bolt-x,50%) 44%,rgba(203,230,255,.10),transparent 92%);
}

/* Persistent wetness is a low-contrast foreground reflection, not a puddle sensor. */
.at-rain-ripples::before{
 content:"";position:absolute;inset:22% 3% 0;
 pointer-events:none;opacity:calc(var(--at-puddle-cover,0) * .63);
 background:radial-gradient(ellipse 22% 18% at 21% 85%,rgba(195,237,245,.49),transparent 90%),radial-gradient(ellipse 30% 17% at 75% 70%,rgba(172,221,232,.48),transparent 88%);
 transition:opacity 2.5s ease;
}
@media(prefers-reduced-motion:reduce){.at-rain-ripples::before{transition:none!important}}

/* v93.7 Historical Time Explorer. One reusable component, shared by all three
   analytical views; no duplicated date dropdowns or external date library. */
.te-root{min-width:0;color:var(--text)}
.te-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px 22px;margin-bottom:17px}
.te-heading-title{font:400 clamp(18px,1.7vw,24px)/1.2 Georgia,'Times New Roman',serif;letter-spacing:-.035em}
.te-heading-note{font-size:12px;color:var(--muted)}
.te-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:5px;background:var(--surface-2);border:1px solid var(--stroke);border-radius:16px;max-width:540px}
.te-tab{border:0;border-radius:11px;background:transparent;color:var(--muted);font:700 13px/1.3 inherit;font-family:inherit;font-size:13px;font-weight:750;min-height:43px;cursor:pointer;transition:background .16s,color .16s,box-shadow .16s}
.te-tab.is-active{color:var(--text);background:var(--surface);box-shadow:0 5px 14px rgba(0,0,0,.1)}
.te-tab:hover:not(:disabled){color:var(--text)}
.te-panel{padding:18px 0 5px;min-height:114px}
.te-field-label{font-size:12px;font-weight:760;letter-spacing:.025em;color:var(--muted);margin-bottom:12px}
.te-ranges{display:flex;gap:9px;flex-wrap:wrap}
.te-choice,.te-month,.te-small-btn,.te-latest{background:var(--surface-2);color:var(--text);border:1px solid var(--stroke);border-radius:12px;font-family:inherit;cursor:pointer;min-height:43px;padding:10px 15px;font-size:13px;font-weight:710;transition:background .16s,border-color .16s,transform .16s}
.te-choice:hover:not(:disabled),.te-month:hover:not(:disabled),.te-latest:hover:not(:disabled),.te-small-btn:hover:not(:disabled){border-color:var(--accent);transform:translateY(-1px)}
.te-choice.is-active,.te-month.is-active,.te-day.is-active{background:color-mix(in srgb,var(--accent) 18%,var(--surface));border-color:var(--accent);color:var(--text)}
.te-toolbar,.te-calendar-toolbar,.te-day-nav{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:13px}
.te-year-label{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px;font-weight:700}
.te-year{appearance:auto;background:var(--surface-2);color:var(--text);border:1px solid var(--stroke);padding:9px 14px;border-radius:11px;min-height:42px;font:700 14px inherit;font-family:inherit;cursor:pointer}
.te-inline-nav,.te-month-nav{display:flex;align-items:center;gap:11px}
.te-month-nav strong{font-size:14px;min-width:125px;text-align:center;font-weight:750}
.te-icon-btn{min-width:42px;min-height:42px;padding:4px 10px;border-radius:11px;border:1px solid var(--stroke);background:var(--surface-2);color:var(--text);font:600 24px/1 inherit;font-family:inherit;font-size:24px;cursor:pointer}
.te-icon-btn:hover:not(:disabled){border-color:var(--accent)}
.te-month-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
.te-month{padding:10px 5px;min-width:0;white-space:normal}
.te-calendar{width:min(100%,460px);background:color-mix(in srgb,var(--surface-2) 45%,transparent);border:1px solid var(--stroke);border-radius:17px;padding:12px}
.te-weekdays,.te-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}
.te-weekdays{margin:0 0 6px;color:var(--muted);font-size:11px;font-weight:760}
.te-weekdays span{padding:8px 0}
.te-day,.te-empty{min-width:0;aspect-ratio:1;display:grid;place-items:center;border-radius:10px}
.te-day{background:var(--surface);border:1px solid color-mix(in srgb,var(--accent) 22%,var(--stroke));color:var(--text);font-family:inherit;font-size:13px;font-weight:760;cursor:pointer}
.te-day:hover:not(:disabled){border-color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,var(--surface))}
.te-day:disabled{background:transparent;border-color:transparent;color:var(--muted);opacity:.42;cursor:default}
.te-day-nav{margin:13px 0 0;justify-content:flex-start}
.te-small-btn{font-size:12px;max-width:100%}
.te-current{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;border:1px solid color-mix(in srgb,var(--accent) 30%,var(--stroke));border-radius:16px;padding:15px 18px;background:linear-gradient(110deg,color-mix(in srgb,var(--accent) 10%,var(--surface)),var(--surface-2))}
.te-current>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.te-current-label{font-size:10px;letter-spacing:.12em;color:var(--muted);font-weight:800}
.te-current strong{font-family:Georgia,'Times New Roman',serif;font-size:clamp(17px,1.6vw,23px);font-weight:400;letter-spacing:-.025em}
.te-current small{color:var(--muted);font-size:12px}
.te-current-icon{color:var(--accent);font-size:28px}
.te-empty-notice,.te-warning{font-size:13px;color:var(--muted);padding:8px 0}
.te-root button:disabled,.te-root select:disabled{opacity:.42;cursor:not-allowed;transform:none}
.te-loading{font-size:13px;color:var(--muted)}
@media(max-width:650px){.te-heading{gap:4px}.te-month-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.te-ranges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.te-choice{padding:9px 7px}.te-tab{font-size:12px}.te-panel{padding-top:15px}.te-calendar{padding:8px}.te-day-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.te-small-btn{font-size:11px;padding:8px 5px}.te-current{padding:12px 14px}}
@media(max-width:360px){.te-month-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.te-month-nav{gap:6px}.te-month-nav strong{min-width:100px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.te-root button{transition:none!important;transform:none!important}}


/* v93.8 Compact Time Explorer: one full-width bar and an on-demand calendar.
   Pure presentation; established filter IDs, date contracts and shared state remain. */
.te-filter-card>.card-header{padding-bottom:7px}
.te-filter-card>.card-body{padding-top:8px;padding-bottom:16px}
.te-root{position:relative;isolation:isolate;width:100%}
.te-root.is-expanded{z-index:50}
.te-bar{display:grid;grid-template-columns:minmax(230px,285px) minmax(0,1fr) minmax(155px,auto);align-items:center;gap:clamp(10px,1.5vw,22px);width:100%}
.te-tabs{width:100%;max-width:none;padding:4px;border-radius:13px}
.te-tab{min-height:38px;font-size:12px;border-radius:9px}
.te-actions{min-width:0}
.te-ranges{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.te-choice{min-width:0;min-height:38px;padding:7px 6px;font-size:clamp(10px,.95vw,12px);border-radius:10px;white-space:normal;text-wrap:balance}
.te-picker-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(100%,340px);min-height:40px;padding:8px 14px;border:1px solid var(--stroke);border-radius:11px;background:var(--surface-2);color:var(--text);cursor:pointer;font-family:inherit;font-size:13px;font-weight:750;line-height:1.35}
.te-picker-toggle:hover,.te-picker-toggle.is-open{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,var(--surface-2))}
.te-picker-glyph{font-size:17px;color:var(--accent)}
.te-chevron{font-size:18px;transition:transform .16s ease}
.te-picker-toggle.is-open .te-chevron{transform:rotate(180deg)}
.te-current{min-width:0;margin:0;padding:5px 0 5px 13px;border:0;border-left:1px solid var(--stroke);border-radius:0;background:none;box-shadow:none}
.te-current>div{gap:2px}
.te-current-label{font-size:9px;letter-spacing:.08em}
.te-current strong{font-family:inherit;font-size:clamp(12px,1.15vw,15px);line-height:1.3;font-weight:760;letter-spacing:0;overflow-wrap:anywhere}
.te-flyout{position:fixed;inset:auto;z-index:2147483000;width:min(610px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;margin:0;padding:16px;border:1px solid color-mix(in srgb,var(--accent) 26%,var(--stroke));border-radius:17px;background:var(--surface);box-shadow:0 26px 58px rgba(0,0,0,.26)}
.te-flyout-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:13px;font-weight:790;color:var(--muted)}
.te-close{display:grid;place-items:center;width:35px;height:35px;flex-shrink:0;border:1px solid var(--stroke);border-radius:10px;background:var(--surface-2);color:var(--text);font:25px/1 system-ui;cursor:pointer}
.te-close:hover{border-color:var(--accent)}
.te-flyout .te-toolbar,.te-flyout .te-calendar-toolbar{margin-bottom:10px}
.te-flyout .te-month-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
.te-flyout .te-month{min-height:37px;padding:7px 3px}
.te-flyout .te-calendar{width:100%;max-width:none;padding:8px 12px}
.te-flyout .te-weekdays,.te-flyout .te-days{gap:3px}
.te-flyout .te-day,.te-flyout .te-empty{aspect-ratio:auto;min-height:36px}
.te-flyout .te-day-nav{justify-content:space-between;margin-top:10px}
@media(max-width:1100px){
 .te-bar{grid-template-columns:minmax(215px,255px) minmax(0,1fr);gap:9px 14px}
 .te-current{grid-column:1/-1;border-left:0;border-top:1px solid var(--stroke);padding:7px 0 0}
 .te-current>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px}
}
@media(max-width:650px){
 .te-filter-card>.card-header{padding-bottom:5px}
 .te-filter-card>.card-body{padding:7px 14px 13px}
 .te-bar{grid-template-columns:1fr;gap:9px}
 .te-tabs{width:100%}
 .te-tab{min-height:40px}
 .te-ranges{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .te-choice{font-size:12px;min-height:38px}
 .te-picker-toggle{max-width:none;width:100%;min-height:41px}
 .te-current{grid-column:auto;padding-top:7px}
 .te-flyout{position:fixed;inset:auto;width:min(610px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;margin:0;padding:12px;box-shadow:0 24px 60px rgba(0,0,0,.36)}
 .te-flyout .te-month-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .te-flyout .te-calendar{padding:7px}
}
@media(max-width:360px){.te-flyout .te-month-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.te-flyout .te-month-nav strong{min-width:90px}}
@media(prefers-reduced-motion:reduce){.te-chevron{transition:none}}

/* v93.9: browser top-layer date/month popup; always above cards and charts. */
.te-flyout[popover]{color:var(--text);background:var(--surface);border:1px solid color-mix(in srgb,var(--accent) 26%,var(--stroke));box-shadow:0 24px 65px rgba(0,0,0,.34)}
.te-flyout[popover]::backdrop{background:transparent}
.te-flyout :focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* v93.10 — Unified Motion Dock and concise, accessible effects guide.
   Popovers use the top layer, never a clipped child of #atLiveStage. */
.at-motion-dock{display:inline-flex;align-items:center;gap:6px;max-width:100%;position:relative;z-index:3}
.at-motion-dock .at-motion-control{min-height:44px;padding:5px 12px 5px 6px;gap:9px;line-height:1.16;font-size:12px;max-width:100%;border-color:rgba(211,247,237,.31);box-shadow:0 3px 14px rgba(0,25,36,.12)}
.at-motion-control__copy{display:flex;flex-direction:column;align-items:flex-start;gap:2px;white-space:nowrap;text-align:left}
.at-motion-control__title{font-size:10px;opacity:.77;font-weight:600}
.at-motion-control__copy strong{font-size:12px;font-weight:750;letter-spacing:.01em}
.at-motion-chevron{opacity:.75;flex:none;margin-left:3px;transition:transform .15s ease}
.at-motion-control[aria-expanded="true"] .at-motion-chevron{transform:rotate(180deg)}
.at-motion-dial{--dial-rotation:0deg;position:relative;display:grid;place-items:center;width:33px;height:33px;flex:none;border:1px solid rgba(222,255,240,.42);border-radius:50%;background:radial-gradient(circle at 50% 75%,rgba(103,188,159,.25),rgba(3,26,42,.56));box-shadow:inset 0 1px 6px rgba(0,10,25,.4)}
.at-motion-dial__ticks{display:flex;align-items:flex-end;gap:2px;height:13px;transform:translateY(-2px)}
.at-motion-dial__ticks i{display:block;width:3px;background:rgba(204,225,226,.3);border-radius:3px;transition:background-color .2s,height .2s;transform:rotate(-8deg)}
.at-motion-dial__ticks i:nth-child(1){height:5px}.at-motion-dial__ticks i:nth-child(2){height:9px}.at-motion-dial__ticks i:nth-child(3){height:13px}
.at-motion-dial[data-level="subtle"] .at-motion-dial__ticks i:nth-child(-n+2){background:#9cebd0}
.at-motion-dial[data-level="enhanced"] .at-motion-dial__ticks i{background:#ffdfa1}
.at-motion-dial[data-level="off"]:after{content:"";position:absolute;left:7px;right:7px;top:50%;height:1.4px;transform:rotate(-45deg);background:rgba(243,237,226,.9);box-shadow:0 0 2px rgba(0,0,0,.4)}
.at-motion-info{width:44px;height:44px;flex:none;display:grid;place-items:center;border:1px solid rgba(211,247,237,.32);border-radius:50%;background:rgba(4,32,46,.45);color:#f1fbf7;cursor:pointer;backdrop-filter:blur(5px);box-shadow:0 3px 14px rgba(0,25,36,.13);transition:border-color .15s,background-color .15s}
.at-motion-info:hover,.at-motion-info[aria-expanded="true"],.at-motion-control[aria-expanded="true"]{background:rgba(21,66,80,.95);border-color:rgba(205,250,236,.82)}
.at-motion-info:focus-visible,.at-motion-control:focus-visible{outline:2px solid #d3fff0;outline-offset:3px}
.at-motion-popup[popover]{position:fixed;inset:auto;display:none;visibility:visible;margin:0;padding:16px;border:1px solid rgba(161,218,206,.34);border-radius:18px;background:linear-gradient(145deg,#0d293c,#112b3c 65%,#17374a);color:#f0f9f6;box-shadow:0 24px 68px rgba(1,17,30,.48);overflow:auto;overscroll-behavior:contain;z-index:2147483000;max-width:calc(100vw - 24px);font-family:inherit;box-sizing:border-box}
.at-motion-popup[popover]:popover-open,.at-motion-popup[popover].at-motion-fallback-open{display:block}
.at-motion-popup[popover]::backdrop{background:transparent}
.at-motion-popup:focus-within{outline:none}
.at-motion-popup :focus-visible{outline:2px solid #9cebd0;outline-offset:3px}
.at-motion-popup__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.at-motion-popup__header h2{margin:0;color:#f3fcf8;font-size:clamp(17px,1.5vw,21px);line-height:1.22;letter-spacing:-.025em}
.at-motion-popup__header p{margin:6px 0 0;color:#b8d3d2;font-size:12px;line-height:1.5}
.at-motion-popup__close{width:34px;height:34px;flex:none;border:1px solid rgba(205,244,229,.25);border-radius:10px;background:rgba(255,255,255,.05);color:#f3fcf8;font:24px/1 system-ui;cursor:pointer}
.at-motion-options{display:grid;gap:6px}
.at-motion-option{display:grid;grid-template-columns:40px minmax(0,1fr) 18px;gap:10px;align-items:center;min-height:62px;text-align:left;padding:9px 11px;border:1px solid rgba(180,220,214,.16);border-radius:12px;color:#f6fbf8;background:rgba(255,255,255,.025);cursor:pointer;font:inherit}
.at-motion-option:hover{background:rgba(100,174,171,.12)}
.at-motion-option[aria-checked="true"]{border-color:#78d7cb;background:linear-gradient(100deg,rgba(43,146,146,.31),rgba(41,106,130,.20))}
.at-motion-option__glyph{display:grid;place-items:center;width:36px;height:36px;border:1px solid rgba(166,219,218,.24);border-radius:11px;color:#bcebd9;font-size:21px}
.at-motion-option>span:nth-child(2){display:flex;flex-direction:column;gap:3px}
.at-motion-option strong{font-weight:750;font-size:13px}.at-motion-option small{font-size:11px;color:#b4cfd0;line-height:1.4}
.at-motion-option__check{opacity:0;font-weight:800;color:#a2f4d5;font-size:17px}
.at-motion-option[aria-checked="true"] .at-motion-option__check{opacity:1}
.at-motion-reduced-note{font-size:11px;line-height:1.5;color:#f2d5a3;margin:12px 0 0}
.at-motion-reduced-note[hidden]{display:none}
.at-motion-guide__eyebrow{color:#7de3d4!important;font-size:10px!important;letter-spacing:.12em;font-weight:800;margin:0 0 6px!important}
.at-motion-guide__table{width:100%;border-collapse:collapse;table-layout:fixed;color:inherit;font-size:12px}
.at-motion-guide__table thead th{padding:8px 7px;text-align:left;color:#a7cbca;letter-spacing:.045em;font-size:10px;text-transform:uppercase;border-bottom:1px solid rgba(195,237,226,.25)}
.at-motion-guide__table thead th:first-child{width:40%}
.at-motion-guide__table tbody th,.at-motion-guide__table tbody td{padding:10px 7px;line-height:1.42;text-align:left;vertical-align:middle;border-bottom:1px solid rgba(195,237,226,.12)}
.at-motion-guide__table tbody th{font-weight:700}.at-motion-guide__table tbody td{color:#d0e4e1;font-weight:400}
.at-motion-guide__icon{display:inline-grid;place-items:center;min-width:23px;margin-right:7px;font-size:16px;color:#a0e8d6;vertical-align:middle}
.at-motion-guide__note{margin:13px 3px 1px;color:#b8d3d2;font-size:11px;line-height:1.55}
@media(max-width:680px){
 .at-motion-dock{gap:5px}.at-motion-dock .at-motion-control{min-height:44px;padding:4px 9px 4px 5px;gap:7px}
 .at-motion-control__copy strong{font-size:11px}.at-motion-info{width:44px;height:44px}
 .at-motion-popup.at-motion-guide[popover]{border-radius:22px 22px 0 0;border-bottom:0;box-shadow:0 -18px 60px rgba(0,0,0,.53);padding:18px 16px max(20px,env(safe-area-inset-bottom));max-height:min(85dvh,690px)}
 .at-motion-guide[popover]::backdrop{background:rgba(2,15,29,.32)}
 .at-motion-guide__table tbody th,.at-motion-guide__table tbody td{padding:9px 5px;font-size:11px}
 .at-motion-guide__table thead th:first-child{width:40%}
}
@media(max-width:380px){.at-motion-control__title{font-size:9px}.at-motion-control__copy strong{font-size:10px}}
@media(prefers-reduced-motion:reduce){.at-motion-dial__ticks i,.at-motion-chevron,.at-motion-info{transition:none!important}}
@media(max-width:680px){.at-motion-popup.at-motion-guide[popover]{max-width:100vw}}

/* v93.10.1 — Keep the guide title/close button visible while the explanation
   list scrolls independently. The popover itself must not be a scrollport. */
.at-motion-popup.at-motion-guide[popover]{
 display:none;
 flex-direction:column;
 overflow:hidden;
 overscroll-behavior:contain;
}
.at-motion-popup.at-motion-guide[popover]:popover-open,
.at-motion-popup.at-motion-guide[popover].at-motion-fallback-open{display:flex}
.at-motion-guide .at-motion-popup__header{flex:0 0 auto}
.at-motion-guide__scroll{
 flex:1 1 auto;
 min-height:0;
 overflow-y:auto;
 overflow-x:hidden;
 overscroll-behavior:contain;
 -webkit-overflow-scrolling:touch;
 scrollbar-width:thin;
 scrollbar-color:rgba(161,218,206,.55) transparent;
 padding-right:4px;
}
.at-motion-guide__scroll::-webkit-scrollbar{width:6px}
.at-motion-guide__scroll::-webkit-scrollbar-thumb{background:rgba(161,218,206,.46);border-radius:6px}
.at-motion-guide__scroll::-webkit-scrollbar-track{background:transparent}


/* v94.0 — Model-informed clouds, catalogue stars and optional illustrative flybys.
   Visual surfaces are isolated; the current stage layout and Motion Dock stay intact. */
.at-stage-stars-accurate,.at-stage-cloud-model,.at-stage-flybys{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden}
.at-stage-stars-accurate{z-index:-2;opacity:.92}
.at-stage-cloud-model{z-index:-1;opacity:.94}
.at-stage-flybys{z-index:0}
.at-live-stage[data-astronomy-stars="yes"][data-time-of-day="night"] .at-stage-sky{background-image:none!important}
.at-ambient-tools{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:11px 0 0;position:relative;z-index:2}
.at-cloud-model-label{display:inline-flex;align-items:center;min-height:36px;padding:7px 11px;border-radius:99px;border:1px solid rgba(224,249,237,.2);background:rgba(3,32,49,.29);color:#d9ebe7;font-size:11px;line-height:1.35}
.at-cloud-model-label[data-available="yes"]:before{content:"";width:6px;height:6px;background:#9be0c5;border-radius:50%;margin-right:8px;box-shadow:0 0 9px rgba(155,224,197,.45)}
.at-cloud-model-label[data-available="no"]{color:#bad3d5;opacity:.8}
.at-sky-launch{min-height:36px;display:inline-flex;align-items:center;gap:9px;border-radius:99px;background:rgba(17,71,87,.69);border:1px solid rgba(206,255,238,.43);padding:7px 13px;color:#f0fbf7;font:600 11px/1.3 inherit;cursor:pointer;backdrop-filter:blur(4px)}
.at-sky-launch:hover,.at-sky-launch:focus-visible{background:rgba(23,94,109,.95);border-color:#a5f2d8}
.at-sky-launch:focus-visible{outline:2px solid #f5e0a5;outline-offset:3px}
.at-sky-launch:disabled{opacity:.45;cursor:not-allowed}
/* v94.1 — quiet illustrative flyby: scene-sized path, no travelling caption. */
.at-flyby{
  position:absolute;top:var(--flyby-y,17%);left:-190px;
  width:clamp(94px,8vw,128px);pointer-events:none;
  will-change:transform,opacity;
  filter:drop-shadow(0 1px 2px rgba(9,29,40,.25));
  animation:at-flyby-glide var(--flyby-duration,13.5s) linear both;
}
.at-flyby img{display:block;width:100%;height:auto;opacity:.83;user-select:none}
.at-flyby--reverse{left:auto;right:-190px;animation-name:at-flyby-reverse}
.at-flyby--reverse img{transform:scaleX(-1)}
@keyframes at-flyby-glide{
  0%{transform:translate3d(0,0,0) scale(.72);opacity:0}
  12%{opacity:.77}
  85%{opacity:.77}
  100%{transform:translate3d(var(--flyby-distance,1500px),var(--flyby-drift,0px),0) scale(.91);opacity:0}
}
@keyframes at-flyby-reverse{
  0%{transform:translate3d(0,0,0) scale(.72);opacity:0}
  12%{opacity:.77}
  85%{opacity:.77}
  100%{transform:translate3d(calc(-1 * var(--flyby-distance,1500px)),var(--flyby-drift,0px),0) scale(.91);opacity:0}
}
.at-live-stage[data-lab-paused="yes"] .at-flyby{animation-play-state:paused!important}

/* Native dialog is rendered in the browser's top layer to avoid clipping. */
.at-sky-dialog{position:fixed;inset:0;margin:auto;padding:0;width:min(1050px,calc(100vw - 24px));max-width:none;height:min(900px,calc(100dvh - 24px));max-height:none;border:1px solid rgba(157,211,216,.3);border-radius:21px;background:#10293a;color:#eaf9f7;box-shadow:0 26px 90px rgba(0,14,32,.67);overflow:hidden;font-family:inherit}
.at-sky-dialog::backdrop{background:rgba(1,17,30,.76);backdrop-filter:blur(5px)}
.at-sky-dialog:not([open]):not(.at-sky-fallback){display:none}
.at-sky-dialog.at-sky-fallback{display:block;z-index:2147483001}
.at-sky-layout{height:100%;min-height:0;display:flex;flex-direction:column;gap:0}
.at-sky-heading{padding:18px 23px;display:flex;justify-content:space-between;align-items:flex-start;gap:16px;background:linear-gradient(100deg,#102a3d,#194257);flex:none}
.at-sky-eyebrow{font:700 10px/1.4 inherit;letter-spacing:.14em;color:#83dccc;margin:0 0 7px}
.at-sky-heading h2{font-size:clamp(22px,2.6vw,30px);line-height:1.22;letter-spacing:-.02em;margin:0;color:#f1faf8}
.at-sky-heading p:not(.at-sky-eyebrow){font-size:12px;line-height:1.45;margin:6px 0 0;color:#b9d6d8}
.at-sky-close{border:1px solid rgba(211,247,231,.3);border-radius:12px;background:rgba(255,255,255,.055);color:#fff;cursor:pointer;width:42px;height:42px;font:28px/1 inherit;flex:none}
.at-sky-viewport{position:relative;flex:1 1 360px;min-height:180px;overflow:hidden;background:#081d2e}
.at-sky-viewport canvas{display:block;width:100%;height:100%;cursor:crosshair}
.at-sky-heading-chip{position:absolute;right:17px;top:17px;border-radius:99px;padding:7px 12px;font:700 12px/1.2 inherit;background:rgba(9,29,44,.62);color:#f3ffff;pointer-events:none}
.at-sky-information{flex:none;background:rgba(15,49,66,.98);padding:8px 22px;color:#b6e5e2;min-height:37px;font-size:12px;line-height:1.5}
.at-sky-settings{padding:13px 20px 12px;flex:none;background:#122e40;display:grid;gap:11px}
.at-sky-civil-time{display:grid;grid-template-columns:minmax(150px,1fr) minmax(110px,.7fr) auto;align-items:end;gap:12px}
.at-sky-settings label{display:grid;gap:6px;color:#cce3e3;font-size:11px;font-weight:600;min-width:0}
.at-sky-settings input[type="date"],.at-sky-settings input[type="time"]{min-width:0;width:100%;height:40px;padding:6px 10px;box-sizing:border-box;border-radius:9px;border:1px solid #457181;background:#0c2637;color:#fff;font:500 13px/1.2 inherit;color-scheme:dark}
.at-sky-settings input[type="range"]{width:100%;accent-color:#80d6cb;cursor:pointer}
.at-sky-live{border-radius:10px;border:1px solid #57968f;background:#1b5c60;color:#ecfff8;min-height:40px;padding:7px 14px;cursor:pointer;white-space:nowrap;font:700 12px/1.2 inherit}
.at-sky-live[aria-pressed="false"]{background:#1a3d50;border-color:#386477}
.at-sky-ranges{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.at-sky-settings .at-sky-toggle{display:flex;flex-direction:row;align-items:center;gap:8px}
.at-sky-settings .at-sky-toggle input{accent-color:#8ad8c7}
.at-sky-footer{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:9px 20px;background:#0c2536;border-top:1px solid rgba(165,220,221,.15);font-size:10px;line-height:1.5;color:#a6c2ca}
.at-sky-dialog :focus-visible{outline:2px solid #8be6d0;outline-offset:3px}
@media(max-width:660px){
 .at-ambient-tools{gap:7px}.at-cloud-model-label,.at-sky-launch{font-size:10px}
 .at-sky-dialog{width:100vw;height:100dvh;border-radius:0;border:0}
 .at-sky-heading{padding:14px 16px}.at-sky-heading h2{font-size:22px}
 .at-sky-viewport{flex-basis:260px}
 .at-sky-settings{padding:11px 14px;gap:8px}
 .at-sky-civil-time{grid-template-columns:1fr 1fr;gap:9px}
 .at-sky-live{grid-column:1/-1;min-height:34px}
 .at-sky-ranges{grid-template-columns:1fr;gap:7px}
 .at-sky-ranges label{gap:2px}
 .at-sky-footer{padding:9px 14px}
}
@media(prefers-reduced-motion:reduce){.at-flyby{display:none!important;animation:none!important}}

/* Cloud-model attribution and CC BY licence are listed in the Info sources panel. */


/* v94.2 · Authenticated Atmosphere Laboratory; scoped to the staging-only panel. */
.at-lab-panel{background:linear-gradient(155deg,#152837,#172f3c 65%,#1a3540);color:#f0f7f7;border:1px solid #527782;box-shadow:0 14px 40px #061c2a35;padding:clamp(15px,2.5vw,26px)}
.at-lab-header{justify-content:space-between;align-items:center;gap:18px}
.at-lab-eyebrow{display:block;font-size:10px!important;letter-spacing:.16em;font-weight:750;color:#8dcbd5;opacity:1!important;margin-bottom:5px}
.at-lab-header h2{font-size:clamp(18px,2.3vw,25px);line-height:1.3;font-weight:750;margin:0;letter-spacing:-.025em;color:#fff}
.at-lab-header p{margin:5px 0 0;color:#c9dce0;opacity:1}
.at-lab-tag{display:inline-block;vertical-align:middle;background:#283d46;border:1px solid #738e94;border-radius:50px;color:#b4e0de;font-size:9px;letter-spacing:.065em;padding:4px 8px;margin-left:7px}
.at-lab-lock{font-size:11px!important;color:#d0e1dd;white-space:nowrap;opacity:1!important}
.at-lab-presets{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;background:#0c202bbb;border:1px solid #47636a;border-radius:12px;margin:16px 0}
.at-lab-presets label{font-size:12px;font-weight:750;color:#e9f8f9}
.at-lab-presets select{flex:1 1 180px;max-width:320px}
.at-lab-panel select,.at-lab-panel input[type="number"],.at-lab-panel input[type="datetime-local"]{background:#f8fcfb;color:#152832;border-radius:9px;padding:8px 10px;min-width:0;width:100%;border:1px solid #acc5c7;font:inherit;color-scheme:light}
.at-lab-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.at-lab-section{border-radius:12px;border:1px solid #496773;background:#ffffff07;overflow:hidden;min-width:0}
.at-lab-section summary{cursor:pointer;display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:13px 15px;font-size:13px;font-weight:750;color:#f3f7fa;list-style:none}
.at-lab-section summary::-webkit-details-marker{display:none}
.at-lab-section summary::after{content:'⌄';margin-left:auto;color:#bdd9db;font-size:18px}
.at-lab-section[open] summary::after{transform:rotate(180deg)}
.at-lab-section summary span{color:#ebcf99;font-size:18px}
.at-lab-section summary small{font-size:10px;font-weight:400;color:#a3bdc5;flex:1 1 100%;padding-left:26px}
.at-lab-section[open] summary{border-bottom:1px solid #47616b}
.at-lab-section>.at-lab-grid{padding:15px;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 14px}
.at-lab-grid label{font-size:11px;color:#dcecef;font-weight:600;gap:7px;line-height:1.4;min-width:0}
.at-lab-grid output{color:#ffe0a5;font-weight:750;display:inline}
.at-lab-panel input[type="range"]{width:100%;accent-color:#e4ba7d;cursor:pointer}
.at-lab-inline-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:0 15px 15px}
.at-lab-inline-actions span{color:#afc5ce;font-size:10px}
.at-lab-section>p{padding:0 15px 15px;margin:0;color:#bed3d8}
.at-lab-button,.at-lab-actions button{background:#314d5a!important;color:#f4fcff!important;border:1px solid #6a8790!important;border-radius:9px;padding:10px 13px;font-size:12px;font-weight:720;cursor:pointer;transition:background .16s ease}
.at-lab-button:hover,.at-lab-actions button:hover{background:#416272!important}
.at-lab-button--primary,.at-lab-actions .at-lab-button--primary{background:#f1cf94!important;color:#142b32!important;border-color:#f1cf94!important}
.at-lab-button--primary:hover,.at-lab-actions .at-lab-button--primary:hover{background:#ffe1ae!important}
.at-lab-panel button:focus-visible,.at-lab-panel select:focus-visible,.at-lab-panel input:focus-visible,.at-lab-panel summary:focus-visible{outline:2px solid #f3c782;outline-offset:3px}
.at-lab-report{margin-top:16px;background:#081e2a88;border:1px solid #506f79;border-radius:12px;padding:15px}
.at-lab-report h3{margin:0 0 10px;font-size:13px;color:#ecf8f9;display:flex;align-items:center;justify-content:space-between;gap:10px}
.at-lab-report h3 span{font-size:10px;font-weight:400;color:#a0bdc7}
.at-lab-report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.at-lab-result{background:#ffffff08;border-radius:9px;padding:10px;min-width:0}
.at-lab-result strong{display:block;color:#f6f9fa;font-size:11px;margin-bottom:5px}
.at-lab-result span{font-size:10px;color:#b7d1d7;line-height:1.5;overflow-wrap:anywhere}
.at-lab-result[data-status="active"]{border-left:3px solid #8ed3b8}
.at-lab-result[data-status="inactive"]{border-left:3px solid #899ca6}
.at-lab-result[data-status="limited"]{border-left:3px solid #efc27b}
.at-lab-report p{color:#d1e5e6;margin:12px 0 0;opacity:1}
@media(max-width:900px){.at-lab-sections{grid-template-columns:1fr}.at-lab-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.at-lab-section>.at-lab-grid{grid-template-columns:1fr}.at-lab-report-grid{grid-template-columns:1fr}.at-lab-lock{white-space:normal}.at-lab-tag{margin-top:5px;margin-left:0}.at-lab-actions button{flex:1 1 40%}}
@media(prefers-reduced-motion:reduce){.at-lab-button{transition:none}}

/* v94.3 · Pointer-driven planetarium. The canvas remains keyboard accessible. */
.at-sky-viewport canvas{cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.at-sky-viewport canvas.at-sky-dragging{cursor:grabbing}
.at-sky-help{display:block;color:#b5d7dc;font-size:11px;margin-bottom:3px}
.at-sky-information #atSkySelection{display:block;color:#e5f5f1}
.at-info-cloud-credit{font-weight:400}
.at-info-cloud-license a{color:inherit;text-underline-offset:3px}

/* v94.3 · Owl: distinct visual overlay, never receives pointer events.
 * The landing point is computed from .at-glass-metrics' actual rectangle.
 */
.at-live-stage .at-owl-layer{position:absolute;inset:0;z-index:4;pointer-events:none;overflow:visible}
.at-owl{position:absolute;left:0;top:0;opacity:0;pointer-events:none;will-change:transform,opacity;filter:drop-shadow(0 5px 5px rgba(2,20,24,.26))}
.at-owl__svg{display:block;width:100%;height:100%;overflow:visible}
.at-owl__wing{transform-box:fill-box;transform-origin:center 20%;}
.at-owl__wing--left{animation:at-owl-left-wing var(--owl-duration,22400ms) linear both}
.at-owl__wing--right{animation:at-owl-right-wing var(--owl-duration,22400ms) linear both}
.at-owl__head{transform-box:fill-box;transform-origin:center 72%;animation:at-owl-look var(--owl-duration,22400ms) ease-in-out both}
.at-owl__eyelids{opacity:0;animation:at-owl-blink var(--owl-duration,22400ms) linear both}
@keyframes at-owl-left-wing{
  0%,7%,15%{transform:rotate(-38deg) scaleY(1.12)}
  3%,11%,19%{transform:rotate(23deg) scaleY(.8)}
  24%,76%{transform:rotate(27deg) scale(.55,.82)}
  80%,88%,96%{transform:rotate(-35deg) scaleY(1.1)}
  84%,92%,100%{transform:rotate(23deg) scaleY(.79)}
}
@keyframes at-owl-right-wing{
  0%,7%,15%{transform:rotate(38deg) scaleY(1.12)}
  3%,11%,19%{transform:rotate(-23deg) scaleY(.8)}
  24%,76%{transform:rotate(-27deg) scale(.55,.82)}
  80%,88%,96%{transform:rotate(35deg) scaleY(1.1)}
  84%,92%,100%{transform:rotate(-23deg) scaleY(.79)}
}
@keyframes at-owl-look{0%,24%,35%,48%,63%,76%,100%{transform:rotate(0)}39%,43%{transform:rotate(-8deg)}54%,59%{transform:rotate(7deg)}}
@keyframes at-owl-blink{0%,33%,34%,49%,50%,64%,65%,100%{opacity:0}33.5%,49.5%,64.5%{opacity:1}}
.at-live-stage[data-lab-paused="yes"] .at-owl__wing,
.at-live-stage[data-lab-paused="yes"] .at-owl__head,
.at-live-stage[data-lab-paused="yes"] .at-owl__eyelids{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.at-owl{display:none!important}.at-owl *{animation:none!important}}


/* v94.6 · Forests of Mainalon: static multidepth Greek fir silhouettes in the
   cached landscape SVG; no extra DOM trees or vegetation timers. */
.at-live-stage{--at-forest-distance-haze:0}
.at-forest-haze{position:absolute;inset:auto 0 0;height:66%;z-index:0;pointer-events:none;
 background:linear-gradient(180deg,transparent 2%,rgba(175,197,202,.58) 43%,rgba(139,175,181,.22) 75%,transparent 100%);
 opacity:var(--at-forest-distance-haze);transition:opacity 2.2s ease}
.at-live-stage[data-time-of-day="night"] .at-forest-haze{filter:brightness(.38) saturate(.6)}
.at-live-stage[data-time-of-day="dusk"] .at-forest-haze,.at-live-stage[data-time-of-day="dawn"] .at-forest-haze{filter:sepia(.13)}
/* Foreground fir groves retain the original wind-bound sway logic; the distant
   forest is static because moving whole mountain forests looks unnatural. */
.at-tree-grove{opacity:.57}
@media(max-width:650px){.at-tree-grove{opacity:.37}}
@media(prefers-reduced-motion:reduce){.at-forest-haze{transition:none!important}}
