@font-face {
  font-family: Inter;
  src: url('./inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #091b20;
  --panel: #0d252c;
  --deep: #07171b;
  --gold: #c4a064;
  --white: #f5f7f5;
  --muted: #a6bcc0;
  --line: #ffffff1c;
  --soft: #17343c;
  --green: #abd3b8;
  --snow: #a5e5fb;
  --sun: #f1ca79;
  --rain: #85b6ff;
  --sleet: #ccb7fa;
  font-family: Inter, Arial, sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-size: 16px;
  line-height: 1.55;
  background-image: linear-gradient(#091b20d9, #091b20ee), url('./levi-contours-soft.svg');
  background-size: auto, 1400px;
  background-repeat: repeat;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--gold);
}
button,
input,
select {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
button,
a,
select,
summary,
input {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.08;
}
h1 {
  font-size: clamp(46px, 6.5vw, 90px);
}
h2 {
  font-size: clamp(28px, 3vw, 38px);
}
p + p {
  margin-top: 14px;
}
.shell {
  width: calc(100% - 80px);
  max-width: 1440px;
  margin: auto;
}
.skip {
  position: absolute;
  top: -80px;
  left: 20px;
  z-index: 99;
  padding: 12px;
  background: var(--gold);
  color: var(--bg);
}
.skip:focus {
  top: 10px;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.brand img {
  height: 54px;
  width: 45px;
}
.brand > span {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.2;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.32em;
  font-weight: 500;
  margin-top: 4px;
  color: var(--gold);
}
nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  align-items: center;
}
.back-link {
  padding: 11px 19px;
  border: 1px solid #c4a06466;
  border-radius: 30px;
}
.opening {
  padding: 34px 0 26px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--gold);
}
.opening .eyebrow {
  margin-bottom: 17px;
}
.opening p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  padding-bottom: 5px;
}
.source-partners {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  margin-bottom: 24px;
  padding: 17px 21px;
  border: 1px solid #e6efeb;
  border-radius: 15px;
  background: rgba(219, 230, 229, 0.6);
  color: #10262c;
}
.source-partners-copy {
  max-width: 390px;
}
.source-partners-copy > p {
  font-size: 15px;
  font-weight: 500;
}
.source-partners-copy > p span {
  color: #173039;
  font-weight: 400;
}
.source-partners-copy details > summary {
  color: #33260e;
  padding-block: 7px 0;
  font-size: 11px;
}
.source-partners-copy details p {
  font-size: 12px;
  color: #173039;
}
.source-partners-copy details a {
  color: #17343c;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.source-partner-links .source-wordmark {
  color: #101820;
}
.source-partner-links {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.source-partner-links a {
  min-height: 48px;
  width: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #c4a06455;
  border-radius: 7px;
  padding: 9px 12px;
  background: #f5f7f5;
  color: #12343a;
}
.source-partner-links img {
  width: 100%;
  height: 28px;
  object-fit: contain;
}
.source-partner-links .source-wordmark small {
  color: #3b565c;
  font-size: 8px;
  text-align: center;
}
.source-partner-links a:hover {
  border-color: var(--gold);
  background: #fff;
}
.source-partner-links strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.source-partner-links small {
  display: block;
  max-width: 125px;
  font-size: 9px;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 4px;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 12px;
}
.toolbar label {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
}
select {
  padding: 14px 48px 14px 17px;
  border: 1px solid #ffffff36;
  border-radius: 8px;
  background: var(--panel);
  color: var(--white);
  font-weight: 500;
  max-width: 100%;
  min-height: 50px;
}
select option {
  background: var(--panel);
}
.local-clock {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}
.icon-button {
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  min-width: 44px;
  min-height: 44px;
  font-size: 25px;
  line-height: 1;
}
.quiet-button {
  background: none;
  border: 0;
  padding: 9px 0;
  color: var(--muted);
  font-size: 12px;
}
.status {
  font-size: 12px;
  color: var(--muted);
  min-height: 28px;
  margin-bottom: 12px;
}
.status.error {
  color: #f6bd9d;
}
.dashboard {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 20px;
  overflow: hidden;
}
.now-card {
  padding: 23px 27px;
  min-height: 0;
  position: relative;
  isolation: isolate;
  background: linear-gradient(150deg, #153740, #0b2329);
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-right: 38px;
}
.now-summary {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(140px, 0.7fr) minmax(190px, 0.85fr);
  align-items: center;
  gap: 25px;
  padding: 16px 0;
}
.now-condition {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.ground-highlight {
  padding-left: 26px;
  border-left: 1px solid #a5e5fb30;
  color: var(--snow);
}
.ground-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1.4;
}
.ground-label .icon {
  width: 20px;
  height: 20px;
}
#ground-depth {
  display: block;
  font-size: clamp(52px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
#ground-depth small {
  font-size: 17px;
  letter-spacing: 0;
  margin-left: 7px;
  font-weight: 400;
  color: #b7d9e5;
}
.now-bottom {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.now-bottom .snowpack-reading {
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
}
.now-card > .source-note {
  margin-top: 9px;
  font-size: 10px;
  max-width: none;
}
.now-card > :not(.winter-scene) {
  position: relative;
  z-index: 1;
}
.now-card > .place-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.2;
  pointer-events: none;
}
.place-photo-credit {
  align-self: flex-end;
  font-size: 10px;
  color: var(--muted);
}
.now-card[data-photo='ready'] .winter-scene svg {
  display: none;
}
.now-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #091b2070, #091b2030);
  pointer-events: none;
  z-index: 0;
}
.now-card .now-metrics {
  max-width: 560px;
  width: 100%;
}
.now-card .forecast-source,
.now-card > .source-note,
.snowpack-reading {
  max-width: 700px;
}
.now-card .temperature {
  max-width: 470px;
}
.winter-scene {
  position: absolute;
  width: 73%;
  height: 100%;
  opacity: 0.4;
  right: 0;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 38%);
}
.winter-scene > svg {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
}
.scene-ridge.far {
  fill: #21444a;
}
.scene-ridge.near {
  fill: #143339;
}
.scene-trees {
  fill: #0a2329;
}
.scene-sun {
  fill: var(--sun);
  opacity: 0;
  transform-origin: 620px 85px;
}
[data-weather='sun'] .scene-sun,
[data-weather='partlycloudy'] .scene-sun {
  opacity: 0.65;
  animation: winter-sun 8s ease-in-out infinite alternate;
}
.scene-ground {
  position: absolute;
  left: -15%;
  right: -15%;
  bottom: -10px;
  height: var(--ground-height, 0px);
  border-radius: 50% 60% 0 0 / 55% 65% 0 0;
  background: linear-gradient(#b9dbe347, #8bb8c129);
  transition: height 1.2s ease;
}
.scene-flakes {
  display: none;
  position: absolute;
  inset: 0;
  opacity: 0.6;
}
[data-weather='snow'] .scene-flakes {
  display: block;
}
.scene-flakes i {
  position: absolute;
  top: -10px;
  left: 14%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #d9f1f9;
  animation: winter-flake 12s linear infinite;
}
.scene-flakes i:nth-child(2) {
  left: 27%;
  animation-delay: -4s;
  animation-duration: 15s;
}
.scene-flakes i:nth-child(3) {
  left: 41%;
  animation-delay: -9s;
  width: 4px;
  height: 4px;
}
.scene-flakes i:nth-child(4) {
  left: 54%;
  animation-delay: -2s;
  animation-duration: 16s;
}
.scene-flakes i:nth-child(5) {
  left: 64%;
  animation-delay: -7s;
}
.scene-flakes i:nth-child(6) {
  left: 75%;
  animation-delay: -11s;
  animation-duration: 15s;
}
.scene-flakes i:nth-child(7) {
  left: 84%;
  animation-delay: -3s;
  width: 4px;
  height: 4px;
}
.scene-flakes i:nth-child(8) {
  left: 92%;
  animation-delay: -8s;
}
.now-card > .scene-motion {
  position: absolute;
  z-index: 2;
  right: 17px;
  top: 13px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #ffffff25;
  color: var(--muted);
  background: #091b2070;
  font-size: 13px;
  display: grid;
  place-items: center;
}
.snowpack-reading {
  font-size: 11px;
  color: #bed5dc;
  line-height: 1.6;
  margin-top: 9px;
}
[data-motion='paused'] .winter-scene *,
[data-motion='paused'] .snow-meter i {
  animation-play-state: paused !important;
  transition: none;
}
@keyframes winter-sun {
  to {
    opacity: 0.4;
    transform: scale(0.95);
  }
}
@keyframes winter-flake {
  to {
    transform: translate(-35px, 520px);
  }
}
.source-dot {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 7px;
  align-items: center;
}
.source-dot:before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}
.now-card h2 {
  font-size: clamp(28px, 3.4vw, 43px);
  margin: 0;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.temperature {
  font-size: clamp(64px, 6.4vw, 88px);
  font-weight: 500;
  letter-spacing: -0.09em;
  line-height: 1.17;
  display: flex;
  align-items: center;
  position: relative;
  font-variant-numeric: tabular-nums;
  justify-self: start;
  width: max-content;
  padding: 0;
}
.temperature-chip {
  padding: 0;
  font-variant-numeric: tabular-nums;
}
.temperature-chip small {
  color: inherit;
}
.day .temperature-chip small {
  color: inherit;
}
.day-temperatures > .temperature-chip {
  width: max-content;
  max-width: 100%;
}
.day-weather-stat > .feels-like-range {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  font-size: 20px;
}
.degree {
  font-size: 0.57em;
  align-self: flex-start;
  padding-top: 9px;
  margin-left: 4px;
}
.weather-symbol {
  width: 29px;
  height: 29px;
  stroke: var(--weather-colour, var(--gold));
  fill: none;
  stroke-width: 1;
  flex-shrink: 0;
}
.condition {
  font-size: 14px;
  color: #d4e0e1;
  margin: 0;
}
.now-metrics {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 22px;
  padding: 0;
}
.metric {
  display: flex;
  align-items: center;
  gap: 7px;
}
.metric > span {
  display: flex;
  color: var(--muted);
}
.metric .icon {
  width: 19px;
  height: 19px;
}
.metric strong {
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.metric small {
  font-size: 10px;
  color: var(--muted);
}
.source-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 17px;
}
.map-panel {
  position: relative;
  background: #10262d;
  min-height: 0;
}
.map-heading {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 15px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #091b20e8;
  border: 1px solid var(--line);
  padding: 5px 13px;
  border-radius: 8px;
}
.map-panel > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  list-style: none;
  padding: 18px 25px;
  font-size: 15px;
}
.map-panel > summary > span:last-child {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 20px;
  align-items: center;
}
.map-panel > summary b {
  font-size: 22px;
  font-weight: 400;
  color: var(--gold);
}
.map-panel[open] > summary b {
  transform: rotate(45deg);
}
.map-body {
  position: relative;
  border-top: 1px solid var(--line);
}
.map-heading .eyebrow {
  font-size: 10px;
}
.map-heading button {
  font-size: 11px;
}
.map-loading {
  padding: 100px 25px;
  text-align: center;
  color: var(--muted);
}
#weather-map {
  flex: 1;
  width: 100%;
  min-height: 430px;
}
.map-key {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 20px;
  background: var(--deep);
  font-size: 10px;
  color: var(--muted);
  position: relative;
  z-index: 2;
}
.gold-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 5px;
}
.map-pin {
  background: #0c252df5;
  color: #f8faf9;
  border: 1px solid #c4a06499;
  border-radius: 20px;
  min-width: 44px;
  min-height: 32px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 12px #0004;
  white-space: nowrap;
}
.map-pin.active {
  border-color: var(--gold);
  box-shadow:
    0 0 0 3px var(--gold),
    0 2px 12px #0004;
  z-index: 5;
}
.map-pin:hover {
  border-color: white;
  z-index: 6;
}
.maplibregl-ctrl-attrib {
  font-size: 9px !important;
  color: #1b3034 !important;
}
.maplibregl-ctrl-attrib a {
  color: #1b3034 !important;
}
.maplibregl-ctrl-bottom-right {
  bottom: 3px !important;
}
.maplibregl-canvas:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -3px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.section-heading > span,
.section-heading > a {
  font-size: 13px;
}
.forecast-section,
.outdoors,
.sky-section,
.roads-section {
  padding-top: 62px;
}
.forecast-panel {
  padding: 25px 0 0;
}
.chart {
  padding: 0 23px;
  min-height: 150px;
}
.chart svg {
  display: block;
  width: 100%;
  height: 160px;
  overflow: visible;
}
.chart text {
  fill: var(--muted);
  font-family: Inter, Arial, sans-serif;
  font-size: 10px;
}
.hourly {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-color: var(--gold) var(--panel);
  scrollbar-width: thin;
  border-top: 1px solid var(--line);
  margin-top: 15px;
}
.hour {
  flex: 0 0 92px;
  text-align: center;
  padding: 17px 9px;
  border-right: 1px solid var(--line);
}
.hour time,
.hour small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.hour strong {
  display: block;
  font-size: 23px;
  font-weight: 500;
  margin: 11px 0 9px;
  letter-spacing: -0.03em;
}
.hour .icon {
  width: 22px;
  height: 22px;
  display: block;
  margin: 9px auto;
}
.hour .precipitation {
  color: var(--weather-colour, var(--muted));
  font-size: 11px;
  margin-top: 7px;
}
.hour-condition {
  display: block;
  font-size: 10px;
  line-height: 1.3;
  min-height: 26px;
  color: var(--weather-colour, var(--muted));
}
.hour .icon {
  color: var(--weather-colour, var(--muted));
}
.table-details {
  font-size: 12px;
  margin-top: 12px;
  color: var(--muted);
}
details summary {
  cursor: pointer;
  padding: 8px 0;
  font-size: 12px;
}
details p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  padding-top: 9px;
}
details a {
  font-size: 12px;
  display: inline-block;
  padding-top: 10px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 13px;
  text-align: left;
}
caption {
  text-align: left;
  margin: 10px 0;
}
th,
td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
}
th {
  color: var(--white);
  font-weight: 500;
}
[data-weather] {
  --weather-colour: #b7cbd0;
  --weather-wash: #b7cbd00a;
}
[data-weather='snow'] {
  --weather-colour: var(--snow);
  --weather-wash: #a5e5fb13;
}
[data-weather='sun'],
[data-weather='partlycloudy'] {
  --weather-colour: var(--sun);
  --weather-wash: #f1ca7910;
}
[data-weather='rain'] {
  --weather-colour: var(--rain);
  --weather-wash: #85b6ff13;
}
[data-weather='sleet'] {
  --weather-colour: var(--sleet);
  --weather-wash: #ccb7fa13;
}
/* A full week of scannable day-and-night disclosures. */
.daily-key {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
}
.daily-key > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.daily-key .icon {
  color: var(--snow);
}
.night-key {
  flex-wrap: wrap;
}
.night-key > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.night-key > span .icon {
  width: 13px;
  height: 13px;
  color: var(--gold);
}
.night-key i {
  width: 6px;
  height: 14px;
  border-radius: 4px;
}
.key-green {
  background: #57866b;
}
.key-yellow {
  background: #d5c760;
}
.key-amber {
  background: #e69b45;
}
.key-red {
  background: #ff4054;
}
.night-key small {
  font-size: 11px;
  margin-left: 4px;
}
.daily {
  display: grid;
  gap: 10px;
}
.day {
  --night-colour: var(--muted);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  min-width: 0;
  background: linear-gradient(110deg, var(--weather-wash), transparent 80%), #0b2128;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.day:hover,
.day[open] {
  border-color: #c4a06470;
}
.day[data-night='green'] {
  --night-indicator: #57866b;
  --night-colour: #93dcb2;
  --night-position: 87.5%;
}
.day[data-night='yellow'] {
  --night-indicator: #d5c760;
  --night-colour: #ebdc79;
  --night-position: 62.5%;
}
.day[data-night='amber'] {
  --night-indicator: #e69b45;
  --night-colour: #e6a563;
  --night-position: 37.5%;
}
.day[data-night='red'] {
  --night-indicator: #ff4054;
  --night-colour: #e68f89;
  --night-position: 12.5%;
}
.day > .day-summary {
  display: grid;
  grid-template-columns:
    76px minmax(110px, 0.8fr) minmax(150px, 1.5fr) minmax(85px, 0.7fr) minmax(150px, 1fr)
    28px;
  gap: 22px;
  align-items: center;
  min-height: 118px;
  padding: 18px 26px 18px 18px;
  list-style: none;
}
.day-summary::-webkit-details-marker,
.map-panel > summary::-webkit-details-marker {
  display: none;
}
.day-summary:focus-visible {
  outline-offset: -4px;
}
.day-date time {
  font-size: 19px;
  font-weight: 600;
}
.day small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 400;
}
.day-sky {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--weather-colour);
}
.day-sky .icon {
  width: 41px;
  height: 41px;
  stroke-width: 1.2;
}
.day-sky > span {
  font-size: 14px;
  line-height: 1.4;
}
.day-temperatures {
  font-variant-numeric: tabular-nums;
}
.day-temperatures strong {
  display: block;
  font-size: 31px;
  line-height: 1.15;
  font-weight: 600;
}
.day-temperatures > span {
  display: block;
  font-size: 15px;
  color: var(--muted);
}
.day-temperatures small {
  display: inline;
}
.snow-gauge {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--snow);
}
.snow-meter {
  position: relative;
  width: 13px;
  height: 68px;
  flex-shrink: 0;
  background: #d4f2ff0c;
  border: 1px solid #a5e5fb35;
  border-radius: 5px;
  overflow: hidden;
}
.snow-meter i {
  position: absolute;
  width: 100%;
  bottom: 0;
  height: var(--snow-fill, 0%);
  background: linear-gradient(#e9fcff, #80c9e9);
  border-radius: 3px;
  transition: height 1s ease;
}
.snow-gauge.is-unknown .snow-meter {
  background: repeating-linear-gradient(-45deg, #a5e5fb0b 0 4px, #a5e5fb30 4px 5px);
}
.snow-value {
  font-size: 18px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.snow-value small {
  color: #a5e5fbb0;
}
.night-score {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.night-score > span:first-child {
  min-width: 0;
  text-align: right;
}
.night-score small {
  margin-top: 0;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.night-score small .icon {
  width: 11px;
  height: 11px;
  color: var(--gold);
}
.night-score strong {
  display: block;
  max-width: 150px;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--night-colour);
}
.night-estimate {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.night-percent {
  display: block;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.night-percent > span {
  font-size: 0.65em;
  margin-left: 1px;
}
.night-estimate small {
  margin-top: 2px;
}
.night-estimate.is-unavailable .night-percent {
  color: var(--muted);
}
.aurora-nowcast {
  grid-column: 1 / -1;
}
.aurora-live-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  margin-block: 16px;
}
.aurora-live-metrics > div > span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.aurora-live-metrics:has(> :only-child) {
  grid-template-columns: 1fr;
}
.aurora-live-metrics strong {
  font-size: 28px;
  font-weight: 500;
}
.aurora-live-metrics strong small {
  display: inline;
  margin-left: 4px;
}
.night-rail {
  position: relative;
  display: grid;
  gap: 2px;
  height: 68px;
  width: 7px;
  flex-shrink: 0;
}
.night-rail i {
  background: #ff4054;
  border-radius: 3px;
  opacity: 1;
}
.night-rail i:nth-child(2) {
  background: #e69b45;
}
.night-rail i:nth-child(3) {
  background: #d5c760;
}
.night-rail i:nth-child(4) {
  background: #57866b;
}
.night-rail b {
  position: absolute;
  top: var(--night-position);
  left: -4px;
  width: 15px;
  height: 15px;
  border: 2px solid #092329;
  background: var(--night-indicator, var(--night-colour));
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 1px var(--night-indicator, var(--night-colour));
  transition: top 0.5s ease;
}
.day[data-night='unknown'] .night-rail {
  opacity: 0.4;
}
.day[data-night='unknown'] .night-rail b {
  display: none;
}
.day-expand {
  font-size: 25px;
  font-weight: 300;
  color: var(--gold);
  text-align: right;
  transition: transform 0.2s ease;
}
.day[open] .day-expand {
  transform: rotate(45deg);
}
.day-content {
  padding: 24px 28px 28px;
  border-top: 1px solid var(--line);
  background: #071b2066;
}
.day-weather-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 21px;
}
.day-weather-stat {
  position: relative;
  padding: 0 0 0 30px;
  min-width: 0;
}
.day-weather-stat > .icon {
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--muted);
}
.day-weather-stat > span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}
.day-weather-stat > strong {
  display: block;
  margin-top: 9px;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.day-weather-stat strong small {
  display: inline;
  font-size: 12px;
  margin-left: 6px;
}
.day-weather-stat > small {
  font-size: 10px;
}
.ground-stat > strong,
.ground-stat > .icon,
.precipitation-stat > strong,
.precipitation-stat > .icon {
  color: var(--snow);
}
.day .day-ground-source {
  margin-top: 17px;
  font-size: 10px;
  padding: 0;
}
.live-sky-details {
  margin-top: 17px;
}
.live-sky-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-block: 1px solid var(--line);
  list-style: none;
  font-size: 13px;
  color: var(--gold);
}
.live-sky-details > summary::-webkit-details-marker {
  display: none;
}
.live-sky-details > summary > span {
  font-size: 20px;
  font-weight: 300;
}
.live-sky-details[open] > summary > span {
  transform: rotate(45deg);
}
.day-detail-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.day-detail-heading h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  letter-spacing: -0.035em;
}
.day-detail-heading h3 > .icon {
  color: var(--gold);
}
.day-night {
  margin-top: 21px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.night-verdict {
  color: var(--night-colour);
  font-size: 12px;
}
.night-clouds span {
  font-size: 11px;
  color: var(--muted);
}
.night-clouds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 16px;
}
.night-clouds strong {
  display: block;
  font-size: 22px;
  font-weight: 500;
  margin-top: 5px;
}
.potential-factors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 17px;
}
.potential-factor {
  min-width: 0;
}
.potential-factor > span,
.potential-factor > small {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.potential-factor > strong {
  display: block;
  margin-block: 6px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.potential-factor > strong > small {
  display: inline;
  font-size: 11px;
  margin-left: 4px;
}
.potential-factor a,
.night-basis a {
  display: inline;
  padding-top: 0;
  font-size: inherit;
}
.potential-factor.is-unavailable > strong {
  color: var(--muted);
}
.day .potential-context,
.day .potential-missing {
  font-size: 11px;
  line-height: 1.6;
  margin-top: 13px;
  padding-top: 0;
  color: var(--muted);
}
.day .potential-missing {
  color: var(--gold);
  margin-top: 6px;
}
.night-cloud-details {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
}
.night-cloud-details > summary {
  cursor: pointer;
}
.night-cloud-details .night-clouds {
  margin-top: 12px;
}
.aurora-live-metrics[data-composite='true'] {
  display: block;
}
.potential-live-heading > span,
.potential-live-heading > small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.aurora-live-metrics .potential-live-heading > strong {
  display: block;
  margin-block: 6px;
  font-size: 42px;
}
.aurora-live-metrics .potential-live-heading > strong > small {
  font-size: 0.5em;
}
.potential-live-factors {
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.potential-live-factors .potential-factor > strong {
  font-size: 25px;
}
.day .night-basis {
  margin-top: 13px;
  font-size: 10px;
  padding-top: 0;
}
.day .sky-grid {
  margin-top: 23px;
  gap: 15px;
}
.day .sky-grid > .panel {
  padding: 23px;
  background: #0d252c77;
}
.day .sky-grid .magnetic-value,
.day .sky-grid .sky-value {
  font-size: 45px;
  margin-block: 17px;
}
.day .sky-grid p {
  padding-top: 0;
}
.forecast-method {
  margin-top: 9px;
}
.forecast-method > summary {
  color: var(--muted);
}
.forecast-method p {
  max-width: 880px;
}
.hourly-details {
  margin-top: 32px;
}
.hourly-details > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-block: 1px solid var(--line);
  padding: 20px 0;
  font-size: 20px;
  list-style: none;
}
.hourly-details > summary::after {
  content: '+';
  color: var(--gold);
  font-size: 26px;
}
.hourly-details[open] > summary::after {
  content: '−';
}
.hourly-details > summary .small {
  margin-left: auto;
}
.hourly-details .forecast-panel {
  margin-top: 20px;
}
.context-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.context-grid > .panel {
  padding: 27px;
  min-height: 280px;
}
.icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  flex-shrink: 0;
}
.light-window {
  font-size: 36px;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin-top: 30px;
}
.light-window small {
  font-size: 17px;
  color: var(--muted);
  padding: 0 8px;
}
.light-track {
  height: 50px;
  margin: 18px 5px 18px;
  position: relative;
  overflow: hidden;
}
.light-track > span {
  position: absolute;
  inset: 12px 0 -110px;
  border: 1px solid #c4a06488;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 0, #c4a06433, transparent 65%);
}
.light-track > .icon {
  position: absolute;
  top: 0;
  left: calc(50% - 10px);
  color: var(--gold);
  background: var(--panel);
}
#light-detail {
  font-size: 12px;
  color: var(--muted);
}
.elevation-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.elevation-row > div {
  font-size: 13px;
  max-width: 70%;
}
.elevation-row small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.elevation-row strong {
  font-size: 27px;
  font-weight: 500;
}
.terrain-card details {
  margin-top: 12px;
}
.note {
  margin-top: 21px;
}
.note h3 {
  font-size: 16px;
  letter-spacing: -0.025em;
}
.note p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
}
.sky-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}
.sky-grid > .panel {
  padding: 30px;
}
.magnetic-value,
.sky-value {
  font-size: 65px;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 24px 0 17px;
}
.magnetic-value small,
.sky-value small {
  font-size: 15px;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 8px;
}
.magnetic-chart {
  height: 90px;
}
.magnetic-chart svg {
  display: block;
  width: 100%;
  height: 100%;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
  line-height: 1.65;
}
.cloud-layer {
  display: grid;
  grid-template-columns: 50px 1fr 38px;
  gap: 15px;
  align-items: center;
  margin: 14px 0;
  font-size: 12px;
  color: var(--muted);
}
.cloud-layer .track {
  height: 4px;
  background: #ffffff10;
  border-radius: 3px;
  overflow: hidden;
}
.cloud-layer .track > i {
  display: block;
  height: 100%;
  background: #a4c9dc;
  border-radius: 3px;
}
.cloud-card > .small {
  margin-top: 24px;
}
.road-stations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}
.road-station {
  padding: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.road-station h3 {
  font-size: 15px;
  letter-spacing: -0.025em;
  line-height: 1.4;
}
.road-station small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
}
.road-temp {
  font-size: 30px;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.road-temp small {
  font-size: 10px;
  letter-spacing: 0;
}
.camera-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.camera-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}
.camera-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.camera-grid figcaption {
  padding: 15px 20px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.camera-grid figcaption small {
  color: var(--muted);
  white-space: nowrap;
}
.road-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 27px;
}
.road-extra > .panel {
  padding: 26px;
}
.road-extra h3 {
  font-size: 20px;
  margin-bottom: 18px;
}
.report-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.report-row span {
  color: var(--muted);
  font-size: 11px;
}
.report-row strong {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.water-map-section {
  margin-top: 64px;
}
.water-map-section .eyebrow {
  display: block;
  margin-bottom: 10px;
}
.water-map-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #e7eff0;
}
.water-map-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.water-map-controls button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
}
.water-map-controls button[aria-pressed='true'] {
  color: var(--snow);
  border-color: var(--snow);
  background: #a5e5fb10;
}
.water-map-controls small {
  font-size: 11px;
}
.water-map-controls .icon {
  width: 18px;
  height: 18px;
}
.water-map-frame #water-map {
  display: block;
  width: 100%;
  height: clamp(560px, 75vh, 740px);
  border: 0;
}
.water-map-date {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}
.water-map-date select {
  min-height: 44px;
  padding: 9px 30px 9px 12px;
  font-size: 12px;
}
.water-map-leaders {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.water-map-leaders line {
  stroke: #152f3bc9;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}
.water-map-leaders circle {
  fill: #163a47;
  stroke: #fff;
  stroke-width: 1;
}
.water-map-pin {
  z-index: 3;
  max-width: 136px;
  padding: 5px 8px;
  border-radius: 7px;
  border: 1px solid #193b48;
  background: #f8fcf9f2;
  color: #102d34;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 1px 5px #03182038;
}
.water-map-pin.active {
  background: var(--gold);
  color: #07171b;
  border-color: #07171b;
  box-shadow: 0 0 0 2px #fff9;
  z-index: 5;
}
.water-map-pin:hover {
  background: #fff;
  outline: 2px solid var(--gold);
  z-index: 6;
}
.water-map-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}
#water-map-status {
  font-size: 11px;
  color: var(--muted);
}
#water-map-status[data-state='error'] {
  color: #f6bd9d;
}
#water-map-reset {
  flex-shrink: 0;
}
.water-map-legend > summary {
  color: var(--gold);
  font-size: 12px;
}
.water-map-legend > summary span {
  color: var(--muted);
  font-size: 11px;
  margin-left: 8px;
}
.water-map-legend img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 220px);
  max-height: 250px;
  padding: 10px;
  margin-top: 9px;
  border-radius: 9px;
  background: #fff;
}
.water-map-legend img[hidden] {
  display: none;
}
.water-map-legend p {
  font-size: 11px;
  padding-top: 0;
}
.water-map-fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 25px;
  max-height: 560px;
  overflow-y: auto;
}
.water-map-fallback button {
  padding: 9px 12px;
  border: 1px solid #234853;
  border-radius: 8px;
  color: #102d34;
  background: #fff;
  font-size: 12px;
}
.water-map-section > .source-note {
  margin-top: 14px;
}
.ground-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-top: 30px;
}
.ground-section > .panel {
  padding: 29px;
}
.ground-section h2 {
  font-size: 28px;
  margin: 17px 0;
}
.ground-section p {
  font-size: 13px;
  color: var(--muted);
  max-width: 460px;
}
.ground-section a {
  font-size: 13px;
  display: inline-block;
  margin-top: 18px;
}
.ground-section .source-note {
  font-size: 11px;
}
.sources-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  margin-top: 55px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 25px;
}
.sources-strip p {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-top: 10px;
}
.sources-strip > a {
  font-size: 13px;
}
.site-footer {
  padding: 28px 0 36px;
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
}
.credits {
  margin-left: auto;
  text-align: right;
  font-size: 10px;
}
.svg-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.empty {
  padding: 18px 0;
  color: var(--muted);
  font-size: 13px;
}
.map-fallback-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 80px 20px 20px;
  max-height: 430px;
  overflow: auto;
}
.map-fallback-list button {
  background: var(--soft);
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 12px;
}
.method-content {
  max-width: 860px;
  padding: 55px 0;
}
.method-content h1 {
  font-size: 54px;
  margin-bottom: 25px;
}
.method-content h2 {
  font-size: 28px;
  margin: 45px 0 17px;
}
.method-content p,
.method-content li {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}
.method-content ul {
  padding-left: 20px;
}
.method-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (min-width: 1600px) {
  #weather-map {
    min-height: 470px;
  }
}
@media (max-width: 1100px) {
  .now-summary {
    gap: 18px;
    grid-template-columns: minmax(150px, 1fr) minmax(115px, 0.65fr) minmax(165px, 0.85fr);
  }
  .now-bottom {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .source-partners {
    align-items: flex-start;
  }
  .source-partner-links {
    max-width: 390px;
  }
  .source-partner-links a {
    width: 162px;
  }
  .day > .day-summary {
    grid-template-columns: 64px 95px minmax(100px, 1fr) 75px 135px 20px;
    gap: 15px;
  }
  .day-sky {
    gap: 10px;
  }
  .day-sky > span {
    font-size: 12px;
  }
  .shell {
    width: calc(100% - 48px);
  }
  .dashboard {
    grid-template-columns: 1fr;
  }
  .now-card {
    padding: 25px;
  }
  .context-grid {
    grid-template-columns: 1fr 1fr;
  }
  .advice-card {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    min-height: 0 !important;
  }
  #guidance {
    display: flex;
    gap: 30px;
  }
  .advice-card .note {
    margin: 0;
    flex: 1;
  }
}
@media (max-width: 740px) {
  .water-map-controls {
    gap: 8px;
  }
  .water-map-controls button {
    padding: 9px 12px;
    font-size: 12px;
  }
  .water-map-date {
    width: 100%;
    margin: 3px 0 0;
    justify-content: space-between;
  }
  .water-map-date select {
    min-width: 160px;
  }
  .water-map-pin {
    font-size: 10px;
    max-width: 112px;
    padding: 4px 6px;
  }
  .water-map-frame #water-map {
    height: 620px;
  }
  .now-summary {
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 12px 20px;
    padding: 13px 0;
  }
  .now-condition {
    gap: 7px;
    margin-top: 7px;
  }
  .now-condition .condition {
    font-size: 12px;
  }
  .ground-highlight {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0 0;
    border-left: 0;
    border-top: 1px solid #a5e5fb25;
  }
  .ground-label {
    font-size: 11px;
  }
  #ground-depth {
    font-size: 48px;
  }
  #ground-depth small {
    font-size: 14px;
  }
  .now-bottom {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 10px;
  }
  .now-bottom .snowpack-reading {
    font-size: 9px;
  }
  .now-card > .source-note {
    font-size: 9px;
    line-height: 1.45;
  }
  .metric strong {
    font-size: 14px;
  }
  .metric .icon {
    width: 18px;
    height: 18px;
  }
  .card-top {
    gap: 9px;
  }
  .card-top .eyebrow {
    font-size: 9px;
  }
  .card-top .source-dot {
    font-size: 9px;
  }
  .source-partners {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 25px;
    padding: 15px;
  }
  .source-partners-copy {
    max-width: none;
  }
  .source-partners-copy > p {
    font-size: 14px;
  }
  .source-partners-copy > p br {
    display: none;
  }
  .source-partners-copy > p span {
    margin-left: 5px;
  }
  .source-partner-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: none;
    gap: 7px;
  }
  .source-partner-links a {
    width: 100%;
    padding: 7px 12px;
    min-height: 43px;
  }
  .source-partner-links strong {
    font-size: 16px;
    letter-spacing: -0.03em;
  }
  .source-partner-links small {
    display: none;
  }
  .source-partner-links img {
    height: 25px;
  }
  .day-weather-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
    margin-top: 19px;
  }
  .day-weather-stat {
    padding-left: 25px;
  }
  .day-weather-stat > span {
    font-size: 10px;
  }
  .day-weather-stat > strong {
    font-size: 21px;
  }
  .day-weather-stat strong small {
    font-size: 10px;
    margin-left: 4px;
  }
  .day-weather-stat > .icon {
    width: 17px;
    height: 17px;
  }
  .day .day-ground-source {
    font-size: 9px;
    line-height: 1.5;
  }
  .winter-scene {
    width: 110%;
    opacity: 0.3;
    mask-image: linear-gradient(90deg, transparent, #000);
  }
  .now-card > .scene-motion {
    right: 12px;
    top: 10px;
  }
  .map-panel > summary {
    padding: 15px 20px;
    font-size: 14px;
  }
  .daily-key {
    align-items: flex-start;
    gap: 10px;
    font-size: 10px;
  }
  .daily-key > span {
    gap: 5px;
  }
  .daily-key .icon {
    width: 15px;
    height: 15px;
  }
  .night-key small {
    display: none;
  }
  .night-key i {
    width: 4px;
    height: 12px;
  }
  .day {
    border-radius: 14px;
  }
  .day > .day-summary {
    grid-template-columns: 43px 61px minmax(25px, 1fr) 54px 73px 13px;
    gap: 8px;
    padding: 15px 12px;
    min-height: 106px;
  }
  .day-date time {
    font-size: 13px;
    line-height: 1.4;
    display: block;
  }
  .day small {
    font-size: 9px;
  }
  .day-sky {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .day-sky .icon {
    width: 29px;
    height: 29px;
  }
  .day-sky > span {
    font-size: 9px;
    line-height: 1.3;
    text-align: center;
  }
  .day-temperatures strong {
    font-size: 21px;
  }
  .day-temperatures > span {
    font-size: 12px;
    margin-top: 4px;
  }
  .day-temperatures small {
    display: none;
  }
  .day-temperatures > .temperature-chip {
    padding: 0;
  }
  .day-weather-stat > .feels-like-range {
    font-size: 17px;
  }
  .snow-gauge {
    gap: 5px;
  }
  .snow-meter {
    width: 7px;
    height: 57px;
    border-radius: 3px;
  }
  .snow-value {
    font-size: 12px;
  }
  .night-score {
    gap: 9px;
  }
  .night-score small {
    font-size: 8px;
  }
  .night-score strong {
    font-size: 9px;
    margin-top: 3px;
  }
  .night-percent {
    font-size: 24px;
  }
  .night-estimate small {
    font-size: 8px;
    line-height: 1.2;
  }
  .night-rail {
    height: 57px;
    width: 5px;
  }
  .night-rail b {
    width: 11px;
    height: 11px;
    left: -3px;
  }
  .day-expand {
    font-size: 21px;
  }
  .day-content {
    padding: 19px 17px 20px;
  }
  .day-detail-heading {
    gap: 12px;
    align-items: flex-start;
  }
  .day-detail-heading h3 {
    font-size: 18px;
    gap: 7px;
  }
  .night-verdict {
    font-size: 10px;
    text-align: right;
  }
  .night-clouds {
    gap: 13px;
  }
  .night-clouds strong {
    font-size: 20px;
  }
  .potential-factors {
    gap: 12px;
  }
  .potential-factor > strong {
    font-size: 21px;
  }
  .potential-factor > span,
  .potential-factor > small,
  .day .potential-context,
  .day .potential-missing {
    font-size: 10px;
  }
  .potential-live-factors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .potential-live-factors .potential-factor > strong {
    font-size: 21px;
  }
  .day .sky-grid > .panel {
    padding: 19px;
  }
  .shell {
    width: calc(100% - 36px);
  }
  .site-header {
    padding: 18px 0;
  }
  .brand > span {
    font-size: 18px;
  }
  .brand img {
    height: 43px;
    width: 36px;
  }
  .brand small {
    font-size: 8px;
  }
  .brand {
    gap: 9px;
  }
  nav {
    gap: 18px;
  }
  nav > a:first-child {
    display: none;
  }
  nav > a:nth-child(2) {
    font-size: 11px;
  }
  .back-link {
    padding: 9px 12px;
    font-size: 11px;
  }
  .opening {
    padding: 25px 0 20px;
  }
  .opening p {
    display: none;
  }
  .opening .eyebrow {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .toolbar {
    gap: 10px;
    flex-wrap: wrap;
  }
  .toolbar label {
    display: block;
    flex: 1;
    font-size: 11px;
  }
  .toolbar select {
    width: 100%;
    display: block;
    margin-top: 8px;
    font-size: 14px;
  }
  .local-clock {
    display: none;
  }
  .toolbar .icon-button {
    align-self: flex-end;
    margin-bottom: 3px;
  }
  .status {
    font-size: 10px;
  }
  .dashboard {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .now-card {
    min-height: 0;
    padding: 18px;
  }
  .now-card h2 {
    font-size: 29px;
    margin: 0;
  }
  .temperature {
    font-size: 68px;
  }
  .weather-symbol {
    width: 24px;
    height: 24px;
  }
  .now-metrics {
    gap: 18px;
  }
  .now-card .source-note {
    margin-top: 10px;
  }
  #weather-map {
    min-height: 310px;
  }
  .map-key {
    font-size: 9px;
    padding: 10px 14px;
  }
  .section-heading {
    margin-bottom: 20px;
  }
  .section-heading > span {
    display: none;
  }
  .section-heading > a {
    font-size: 11px;
  }
  .forecast-section,
  .outdoors,
  .sky-section,
  .roads-section {
    padding-top: 40px;
  }
  .forecast-panel {
    border-radius: 16px;
    padding-top: 20px;
  }
  .chart {
    padding: 0 15px;
    min-height: 120px;
  }
  .chart svg {
    height: 130px;
  }
  .hour {
    flex-basis: 80px;
    padding: 14px 8px;
  }
  .hour strong {
    font-size: 21px;
  }
  .context-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .context-grid > .panel {
    padding: 24px;
    min-height: 0;
  }
  .advice-card {
    display: block;
    grid-column: auto;
  }
  #guidance {
    display: block;
  }
  .advice-card .note {
    margin-top: 21px;
  }
  .sky-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .sky-grid > .panel {
    padding: 25px;
  }
  .sky-value,
  .magnetic-value {
    font-size: 57px;
  }
  .camera-grid,
  .road-stations,
  .road-extra,
  .ground-section {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .road-station {
    padding: 20px;
  }
  .camera-grid figcaption {
    padding: 13px 16px;
    font-size: 11px;
  }
  .road-extra {
    margin-top: 21px;
  }
  .ground-section {
    padding-top: 14px;
  }
  .ground-section > .panel {
    padding: 25px;
  }
  .sources-strip {
    margin-top: 36px;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 28px 0;
  }
  .sources-strip p {
    font-size: 22px;
  }
  .site-footer {
    gap: 14px 24px;
    font-size: 10px;
  }
  .credits {
    width: 100%;
    margin: 4px 0 0;
    text-align: left;
  }
  .method-content {
    padding: 36px 0;
  }
  .method-content h1 {
    font-size: 42px;
  }
}
@media (max-width: 370px) {
  .source-partner-links a {
    padding-inline: 6px;
  }
  .source-partner-links strong {
    font-size: 12px;
  }
  .day > .day-summary {
    grid-template-columns: 39px 47px minmax(24px, 1fr) 47px 64px 12px;
    gap: 6px;
    padding-inline: 9px;
  }
  .day-sky > span {
    display: none;
  }
  .night-score {
    gap: 7px;
  }
  .night-score strong {
    font-size: 8px;
  }
  .night-percent {
    font-size: 22px;
  }
  .day-date time {
    font-size: 12px;
  }
  nav > a:nth-child(2) {
    display: none;
  }
  .brand > span {
    font-size: 17px;
  }
  .map-heading .eyebrow {
    font-size: 9px;
  }
  .now-card h2 {
    font-size: 27px;
  }
  .map-key span:last-child {
    display: none;
  }
  .section-heading h2 {
    font-size: 27px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .winter-scene *,
  .snow-meter i {
    animation: none !important;
    transition: none !important;
  }
  .scene-flakes {
    display: none !important;
  }
  .scene-motion {
    display: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.brand img.wordmark {
  width: 132px;
  height: auto;
  display: block;
}
.brand small {
  margin-top: 8px;
}
@media (max-width: 740px) {
  .brand img.wordmark {
    width: 109px;
  }
}

.source-dot[data-status='unavailable']:before {
  background: #a6bcc0;
}
.source-dot[data-status='delayed']:before {
  background: var(--gold);
}
