/*
 * BLOCK weather
 *
 * The shared header remains governed by block-site-header.css. The weather body
 * uses its own editorial forecast language: broad atmospheric surfaces, a small
 * number of strong groups, and data-led motion.
 */

:root {
  --weather-map-bg: #e8edf1;
  --weather-map-grid: color-mix(in srgb, var(--border-strong) 52%, transparent);
  --weather-map-label: var(--foreground);
  --weather-temp-cold: #2563eb;
  --weather-temp-mild: #0f9d8a;
  --weather-temp-warm: #e7a316;
  --weather-temp-hot: #d94b40;
  --weather-rain-low: #c7ddf7;
  --weather-rain-high: #2166d1;
  --weather-cloud-low: #d7dce2;
  --weather-cloud-high: #4b5563;
  --weather-line: color-mix(in srgb, var(--foreground) 13%, transparent);
  --weather-line-strong: color-mix(in srgb, var(--foreground) 24%, transparent);
  --weather-surface: var(--card);
  --weather-quiet-surface: color-mix(in srgb, var(--card) 72%, var(--background-subtle));
  --weather-secondary-ink: color-mix(in srgb, var(--foreground) 72%, transparent);
  --weather-selection: #0867d8;
  --weather-selection-ink: #ffffff;
  --weather-atmosphere: #e9f1f5;
  --weather-atmosphere-ink: #14202a;
  --weather-accent: #287aa3;
  --weather-stage-radius: 2rem;
  --weather-section-radius: 1.6rem;
  --weather-shadow: 0 18px 50px rgb(23 37 48 / 0.08);
}

:root[data-theme="dark"],
:root[data-theme="hc-dark"] {
  --weather-map-bg: #111a24;
  --weather-temp-cold: #6aa7ff;
  --weather-temp-mild: #37c9b3;
  --weather-temp-warm: #f2bc4a;
  --weather-temp-hot: #ff8278;
  --weather-rain-low: #29425f;
  --weather-rain-high: #6aa7ff;
  --weather-cloud-low: #3f4854;
  --weather-cloud-high: #d8dde4;
  --weather-line: color-mix(in srgb, var(--foreground) 17%, transparent);
  --weather-line-strong: color-mix(in srgb, var(--foreground) 30%, transparent);
  --weather-quiet-surface: color-mix(in srgb, var(--card) 86%, var(--background));
  --weather-secondary-ink: color-mix(in srgb, var(--foreground) 76%, transparent);
  --weather-selection: #5ba1ff;
  --weather-selection-ink: #07111d;
  --weather-atmosphere: #26343f;
  --weather-atmosphere-ink: #f5f7f9;
  --weather-accent: #84b7d4;
  --weather-shadow: 0 20px 60px rgb(0 0 0 / 0.24);
}

:root[data-theme="colorblind"] {
  --weather-temp-cold: #0072b2;
  --weather-temp-mild: #009e73;
  --weather-temp-warm: #e69f00;
  --weather-temp-hot: #d55e00;
  --weather-rain-low: #c7dcef;
  --weather-rain-high: #0072b2;
  --weather-selection: #0072b2;
}

:root[data-hz-boot="1"] *,
:root[data-hz-boot="1"] *::before,
:root[data-hz-boot="1"] *::after {
  transition: none !important;
  animation: none !important;
}

.weather-body {
  --header-height: var(--main-header-height);
  min-width: 20rem;
  margin: 0;
  color: var(--foreground);
  font-family: var(--font-family);
  background: var(--background);
}

.weather-page {
  min-height: 100vh;
}

.weather-main {
  display: grid;
  gap: clamp(1.5rem, 2.6vw, 2.5rem);
  width: min(100%, 94rem);
  margin-inline: auto;
  padding: calc(var(--header-height) + 2rem) clamp(1.25rem, 3vw, 2.75rem) 5rem;
}

.weather-intro {
  min-width: 0;
  padding-inline: 0.25rem;
}

.weather-intro h1 {
  margin: 0;
  font-size: clamp(1.75rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.weather-current,
.weather-rail,
.weather-forecast-surface,
.weather-calendar-section,
.weather-workspace,
.weather-history-section {
  min-width: 0;
}

.weather-current {
  --weather-atmosphere: #e9f1f5;
  --weather-atmosphere-ink: #14202a;
  --weather-accent: #287aa3;
}

.weather-current[data-condition="clear"] {
  --weather-atmosphere: #f7e9b8;
  --weather-atmosphere-ink: #342610;
  --weather-accent: #d58006;
}

.weather-current[data-condition="partly_cloudy"],
.weather-current[data-condition="cloudy"] {
  --weather-atmosphere: #e5edf1;
  --weather-atmosphere-ink: #17232c;
  --weather-accent: #527a90;
}

.weather-current[data-condition="rain"],
.weather-current[data-condition="sleet"],
.weather-current[data-condition="storm"] {
  --weather-atmosphere: #dce8ee;
  --weather-atmosphere-ink: #12222d;
  --weather-accent: #226f9b;
}

.weather-current[data-condition="snow"],
.weather-current[data-condition="fog"] {
  --weather-atmosphere: #eef1f2;
  --weather-atmosphere-ink: #182126;
  --weather-accent: #67818e;
}

:root[data-theme="dark"] .weather-current,
:root[data-theme="hc-dark"] .weather-current {
  --weather-atmosphere: #26343f;
  --weather-atmosphere-ink: #f5f7f9;
  --weather-accent: #84b7d4;
}

:root[data-theme="dark"] .weather-current[data-condition="clear"],
:root[data-theme="hc-dark"] .weather-current[data-condition="clear"] {
  --weather-atmosphere: #4a3c1f;
  --weather-atmosphere-ink: #fff7dc;
  --weather-accent: #f2bc4a;
}

:root[data-theme="dark"] .weather-current[data-condition="rain"],
:root[data-theme="dark"] .weather-current[data-condition="sleet"],
:root[data-theme="dark"] .weather-current[data-condition="storm"],
:root[data-theme="hc-dark"] .weather-current[data-condition="rain"],
:root[data-theme="hc-dark"] .weather-current[data-condition="sleet"],
:root[data-theme="hc-dark"] .weather-current[data-condition="storm"] {
  --weather-atmosphere: #1e3545;
  --weather-atmosphere-ink: #f0f7fb;
  --weather-accent: #75bce4;
}

/* Atmospheric current conditions */

.weather-hero-layout {
  display: grid;
  align-items: start;
  gap: 1.25rem;
  min-width: 0;
}

.weather-current {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(23rem, 0.78fr) minmax(0, 1.32fr);
  height: clamp(23rem, 30vw, 26.75rem);
  min-height: 25rem;
  overflow: hidden;
  color: var(--weather-atmosphere-ink);
  border-radius: var(--weather-stage-radius);
  background: var(--weather-atmosphere);
  box-shadow: var(--weather-shadow);
}

.weather-current::after {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 0;
  width: min(24rem, 42%);
  height: 0.3rem;
  border-radius: 0 0.3rem 0 0;
  background: var(--weather-accent);
  content: "";
}

.weather-current-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: 1.25rem;
  min-width: 0;
  padding: clamp(1.5rem, 2.6vw, 2.5rem);
  background: var(--weather-atmosphere);
}

.weather-current-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.weather-current-head h2 {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-current-actions {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
}

.weather-share-trigger {
  width: 2.5rem;
  height: 2.5rem;
  color: inherit;
  border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-radius: 50%;
  background: transparent;
}

.weather-share-trigger:hover {
  color: inherit;
  border-color: currentColor;
  background: color-mix(in srgb, currentColor 8%, transparent);
}

.weather-share-trigger.is-loading .hz-icon {
  animation: weather-share-spin 800ms linear infinite;
}

.weather-current-reading {
  display: grid;
  align-items: end;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  min-width: 0;
}

.weather-temperature {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  color: inherit;
  font-family: var(--font-sans-en), var(--font-family);
  line-height: 0.78;
}

.weather-temperature strong {
  font-size: clamp(5.75rem, 8vw, 8.25rem);
  font-weight: 500;
  letter-spacing: -0.075em;
}

.weather-temperature span[aria-hidden] {
  margin-top: 0.12em;
  font-size: 0.28em;
  font-weight: 500;
  opacity: 0.7;
}

.weather-current-summary {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
  padding-bottom: 0.4rem;
}

.weather-condition-line {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.weather-condition-icon {
  flex: 0 0 auto;
  color: var(--weather-accent);
  font-size: 1.75rem;
}

.weather-condition-copy {
  min-width: 0;
  margin: 0;
  color: inherit;
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.weather-range {
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(4rem, 1fr) auto;
  gap: 0.65rem;
  min-width: 0;
}

.weather-range-endpoint {
  display: grid;
  gap: 0.1rem;
  color: inherit;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.15;
  white-space: nowrap;
}

.weather-range-endpoint--high {
  justify-items: end;
}

.weather-range-glyph {
  color: color-mix(in srgb, currentColor 66%, transparent);
  font-family: var(--font-family);
  font-size: 0.68rem;
  font-weight: 550;
}

.weather-range-track {
  position: relative;
  display: block;
  height: 0.28rem;
  overflow: visible;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 18%, transparent);
}

.weather-range-fill {
  position: absolute;
  inset: 0;
  left: var(--weather-range-from, 0%);
  width: calc(var(--weather-range-to, 100%) - var(--weather-range-from, 0%));
  border-radius: inherit;
  background: var(--weather-accent);
}

.weather-range-marker {
  position: absolute;
  top: 50%;
  left: var(--weather-range-at, 50%);
  width: 0.62rem;
  height: 0.62rem;
  border: 2px solid var(--weather-atmosphere);
  border-radius: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.weather-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-width: 0;
  margin: 0;
  border-block: 1px solid color-mix(in srgb, currentColor 16%, transparent);
}

.weather-metrics > div {
  min-width: 0;
  padding: 0.8rem 0.75rem;
}

.weather-metrics > div:first-child {
  padding-left: 0;
}

.weather-metrics > div + div {
  border-left: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}

.weather-metrics dt {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  color: color-mix(in srgb, currentColor 68%, transparent);
  font-size: 0.72rem;
  font-weight: 550;
  line-height: 1.2;
  white-space: nowrap;
}

.weather-metrics dt .hz-icon {
  color: var(--weather-accent);
  font-size: 1rem;
}

.weather-metrics dd {
  margin: 0.28rem 0 0;
  overflow: hidden;
  color: inherit;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-status {
  align-self: end;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  color: color-mix(in srgb, currentColor 78%, transparent);
  font-size: 0.78rem;
  line-height: 1.4;
}

.weather-status-dot {
  flex: 0 0 auto;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #d88c0d;
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, #d88c0d 15%, transparent);
}

.weather-status.is-ready .weather-status-dot {
  background: #20b962;
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, #20b962 15%, transparent);
}

.weather-status.is-error .weather-status-dot {
  background: #dc3d32;
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, #dc3d32 15%, transparent);
}

.weather-status-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.65rem;
  min-width: 0;
}

.weather-status strong {
  color: inherit;
  font-weight: 650;
}

.weather-status a {
  color: inherit;
}

.weather-scene {
  --weather-scene-x: 0px;
  --weather-scene-y: 0px;
  position: relative;
  z-index: 1;
  min-width: 0;
  height: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #aec8d4;
}

.weather-scene::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 1.5rem 0 0 1.5rem;
  pointer-events: none;
  content: "";
}

.weather-scene img {
  position: absolute;
  inset: -0.75rem;
  display: block;
  width: calc(100% + 1.5rem);
  max-width: none;
  height: calc(100% + 1.5rem);
  object-fit: cover;
  opacity: 0;
  transform: translate3d(var(--weather-scene-x), var(--weather-scene-y), 0) scale(1.025);
  transition: opacity 220ms ease, transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

.weather-scene img.is-ready {
  opacity: 1;
}

.weather-current.is-switching .weather-current-head,
.weather-current.is-switching .weather-current-reading,
.weather-current.is-switching .weather-metrics,
.weather-current.is-switching .weather-status {
  animation: weather-data-shift 360ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.weather-current.is-switching .weather-current-reading {
  animation-delay: 35ms;
}

.weather-current.is-switching .weather-metrics {
  animation-delay: 70ms;
}

.weather-current.is-switching .weather-status {
  animation-delay: 100ms;
}

/* City reel */

.weather-rail {
  overflow: hidden;
}

.weather-city-section {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}

.weather-city-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.weather-city-head h2,
.weather-timeline-head h2,
.weather-calendar-head h2,
.weather-map-toolbar h2,
.weather-history-head h2 {
  margin: 0;
  color: var(--foreground);
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.weather-city-count {
  color: var(--weather-secondary-ink);
  font-size: 0.8rem;
  font-weight: 550;
}

.weather-city-search {
  width: min(100%, 18rem);
  margin-left: auto;
}

.weather-city-search .input {
  min-height: 2.55rem;
  border-color: var(--weather-line);
  border-radius: 999px;
  background: var(--weather-surface);
}

.weather-city-list {
  display: grid;
  grid-auto-columns: clamp(15rem, 23vw, 19rem);
  grid-auto-flow: column;
  gap: 0.65rem;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0.15rem 0.15rem 0.5rem;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--weather-line-strong) transparent;
  scrollbar-width: thin;
}

.weather-city-row {
  position: relative;
  display: grid;
  gap: 0.8rem;
  min-width: 0;
  min-height: 7.75rem;
  padding: 1rem;
  color: var(--foreground);
  text-align: left;
  border: 1px solid var(--weather-line);
  border-radius: 1.25rem;
  background: var(--weather-surface);
  box-shadow: 0 8px 22px rgb(23 37 48 / 0.045);
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.weather-city-row:hover {
  border-color: var(--weather-line-strong);
  box-shadow: 0 12px 28px rgb(23 37 48 / 0.08);
  transform: translateY(-2px);
}

.weather-city-row[aria-pressed="true"] {
  color: var(--weather-selection-ink);
  border-color: var(--weather-selection);
  background: var(--weather-selection);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--weather-selection) 24%, transparent);
}

.weather-city-row:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 46%, transparent);
  outline-offset: 2px;
}

.weather-city-row-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.weather-city-identity {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
}

.weather-city-identity > .hz-icon {
  flex: 0 0 auto;
  margin-top: 0.05rem;
  color: var(--primary);
  font-size: 1.25rem;
}

.weather-city-row[aria-pressed="true"] .weather-city-identity > .hz-icon {
  color: inherit;
}

.weather-city-identity > span:last-child {
  display: grid;
  gap: 0.14rem;
  min-width: 0;
}

.weather-city-name,
.weather-city-condition {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-city-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.weather-city-condition {
  color: var(--weather-secondary-ink);
  font-size: 0.72rem;
  font-weight: 500;
}

.weather-city-row[aria-pressed="true"] .weather-city-condition {
  color: color-mix(in srgb, currentColor 78%, transparent);
}

.weather-city-temp {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.weather-city-range {
  display: grid;
  align-items: end;
  grid-template-columns: auto minmax(3rem, 1fr) auto;
  gap: 0.55rem;
  min-width: 0;
}

.weather-city-range-value {
  display: grid;
  gap: 0.05rem;
  font-family: var(--font-mono);
  line-height: 1.05;
}

.weather-city-range-value--high {
  justify-items: end;
}

.weather-city-range-value small {
  color: var(--weather-secondary-ink);
  font-family: var(--font-family);
  font-size: 0.64rem;
  font-weight: 550;
}

.weather-city-row[aria-pressed="true"] .weather-city-range-value small {
  color: color-mix(in srgb, currentColor 76%, transparent);
}

.weather-city-range-value strong {
  font-size: 0.78rem;
}

.weather-city-range-track {
  position: relative;
  display: block;
  height: 0.22rem;
  margin-bottom: 0.15rem;
  border-radius: 999px;
  background: var(--weather-line);
}

.weather-city-range-fill {
  position: absolute;
  inset-block: 0;
  left: var(--weather-range-from, 0%);
  width: calc(var(--weather-range-to, 100%) - var(--weather-range-from, 0%));
  border-radius: inherit;
  background: var(--primary);
}

.weather-city-row[aria-pressed="true"] .weather-city-range-track {
  background: rgb(255 255 255 / 0.25);
}

.weather-city-row[aria-pressed="true"] .weather-city-range-fill {
  background: currentColor;
}

.weather-city-empty {
  margin: 0;
  padding: 1rem;
  color: var(--weather-secondary-ink);
  border: 1px dashed var(--weather-line-strong);
  border-radius: 1rem;
  text-align: center;
}

/* Hourly arc */

.weather-forecast-surface {
  overflow: hidden;
  border: 1px solid var(--weather-line);
  border-radius: var(--weather-section-radius);
  background: var(--weather-surface);
  box-shadow: 0 12px 34px rgb(23 37 48 / 0.045);
}

.weather-timeline-section {
  display: grid;
  min-width: 0;
}

.weather-timeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  padding: 1.25rem 1.5rem 0.75rem;
}

.weather-timeline-meta,
.weather-timeline-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.weather-timeline-meta {
  justify-content: flex-end;
}

.weather-timeline-meta p {
  max-width: min(42rem, 52vw);
  margin: 0;
  overflow: hidden;
  color: var(--weather-secondary-ink);
  font-size: 0.78rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-timeline-scroll-controls {
  display: flex;
  align-items: center;
}

.weather-timeline-scroll-controls .icon-btn {
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--weather-line);
  border-radius: 50%;
  background: transparent;
}

.weather-timeline-scroll-controls .icon-btn + .icon-btn {
  margin-left: 0.3rem;
}

.weather-timeline {
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0.35rem 1.15rem 1.25rem;
  scroll-behavior: smooth;
  scroll-padding-inline: 1.15rem;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--weather-line-strong) transparent;
  scrollbar-width: thin;
}

.weather-timeline-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 14.5rem;
  color: var(--weather-secondary-ink);
  font-size: 0.85rem;
}

.weather-timeline-state.is-error {
  color: var(--danger);
}

.weather-timeline-track {
  position: relative;
  display: grid;
  grid-auto-columns: 7rem;
  grid-auto-flow: column;
  width: var(--weather-timeline-width);
  min-width: var(--weather-timeline-width);
  height: 14.5rem;
}

.weather-hourly-graph {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: visible;
  pointer-events: none;
}

.weather-hourly-grid-line {
  stroke: var(--weather-line);
  stroke-dasharray: 3 5;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.weather-hourly-day-line {
  stroke: var(--weather-line-strong);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.weather-hourly-area {
  fill: color-mix(in srgb, var(--primary) 9%, transparent);
  stroke: none;
}

.weather-hourly-line {
  fill: none;
  stroke: var(--primary);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}

.weather-hourly-point {
  fill: var(--weather-surface);
  stroke: var(--primary);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.weather-hourly-point--selected {
  fill: var(--primary);
  stroke: var(--weather-surface);
  stroke-width: 3;
}

.weather-time-card {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 0.35rem;
  width: 7rem;
  height: 14.5rem;
  padding: 0.85rem 0.5rem 0.65rem;
  color: var(--foreground);
  border: 0;
  border-radius: 0.85rem;
  background: transparent;
  cursor: pointer;
  scroll-snap-align: start;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.weather-time-card:hover {
  background: color-mix(in srgb, var(--weather-quiet-surface) 78%, transparent);
}

.weather-time-card[aria-pressed="true"] {
  color: var(--foreground);
  background: color-mix(in srgb, var(--primary) 8%, var(--weather-surface));
  box-shadow: inset 0 3px var(--primary);
}

.weather-time-card:focus-visible {
  z-index: 2;
  outline: 3px solid color-mix(in srgb, var(--primary) 48%, transparent);
  outline-offset: -3px;
}

.weather-time-label {
  display: flex;
  align-items: center;
  min-height: 1.35rem;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.weather-time-label em {
  padding: 0.08rem 0.28rem;
  color: var(--primary);
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-family);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 650;
}

.weather-time-card[aria-pressed="true"] .weather-time-label em {
  color: var(--primary);
}

.weather-time-date {
  min-height: 1rem;
  color: var(--weather-secondary-ink);
  font-size: 0.66rem;
  font-weight: 550;
}

.weather-time-main {
  position: absolute;
  top: calc(var(--weather-point-y) - 2.65rem);
  left: 50%;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 0.08rem;
  width: calc(100% - 1rem);
  transform: translateX(-50%);
  transition: top 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.weather-time-main .hz-icon {
  color: var(--primary);
  font-size: 1.2rem;
}

.weather-time-temp {
  padding: 0.05rem 0.2rem;
  background: var(--weather-surface);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.15;
}

.weather-time-card[aria-pressed="true"] .weather-time-temp {
  background: color-mix(in srgb, var(--primary) 8%, var(--weather-surface));
}

.weather-time-precip {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  width: 0.38rem;
  height: var(--weather-precip-height);
  border-radius: 0.25rem 0.25rem 0.1rem 0.1rem;
  background: color-mix(in srgb, #1687d9 72%, var(--weather-line));
  pointer-events: none;
  transform: translateX(-50%) scaleY(1);
  transform-origin: bottom;
  transition: height 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.weather-time-card[aria-pressed="true"] .weather-time-precip {
  background: #0878ca;
}

.weather-time-rain {
  position: absolute;
  right: 0;
  bottom: 0.65rem;
  left: 0;
  color: var(--weather-secondary-ink);
  font-size: 0.66rem;
  font-weight: 550;
  text-align: center;
  white-space: nowrap;
}

/* Map-led outlook */

.weather-outlook-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.65fr) minmax(19rem, 0.82fr);
  gap: 1.25rem;
  min-width: 0;
}

.weather-workspace,
.weather-calendar-section,
.weather-history-section {
  overflow: hidden;
  border: 1px solid var(--weather-line);
  border-radius: var(--weather-section-radius);
  background: var(--weather-surface);
  box-shadow: 0 12px 34px rgb(23 37 48 / 0.045);
}

.weather-map-surface {
  display: grid;
  min-width: 0;
  overflow: hidden;
}

.weather-map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  padding: 1.25rem 1.4rem 1rem;
}

.weather-map-heading {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.weather-map-time {
  margin: 0;
  overflow: hidden;
  color: var(--weather-secondary-ink);
  font-size: 0.74rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-map-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.weather-segmented {
  display: flex;
  align-items: center;
  padding: 0.2rem;
  border: 1px solid var(--weather-line);
  border-radius: 999px;
  background: var(--weather-quiet-surface);
}

.weather-segmented button {
  min-height: 2rem;
  padding: 0.35rem 0.72rem;
  color: var(--weather-secondary-ink);
  font: inherit;
  font-size: 0.73rem;
  font-weight: 650;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.weather-segmented button:hover {
  color: var(--foreground);
}

.weather-segmented button[aria-pressed="true"] {
  color: var(--weather-selection-ink);
  background: var(--weather-selection);
}

.weather-segmented button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.weather-resolution .select-wrapper {
  min-width: 7.4rem;
}

.weather-resolution .select {
  min-height: 2.45rem;
  border-color: var(--weather-line);
  border-radius: 999px;
  background: var(--weather-surface);
}

.weather-map-wrap {
  position: relative;
  min-width: 0;
  height: clamp(30rem, 49vw, 39rem);
  overflow: hidden;
  background: var(--weather-map-bg);
}

.weather-map-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}

.weather-map-wrap canvas.is-city-hover {
  cursor: pointer;
}

.weather-map-wrap canvas.is-dragging {
  cursor: grabbing;
}

.weather-map-wrap canvas:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: -3px;
}

.weather-map-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.6rem;
  padding: 2rem;
  color: var(--weather-secondary-ink);
  background: var(--weather-map-bg);
  text-align: center;
}

.weather-map-empty .hz-icon {
  font-size: 2rem;
}

.weather-map-empty strong {
  color: var(--foreground);
}

.weather-map-tooltip {
  position: absolute;
  z-index: 5;
  display: grid;
  gap: 0.18rem;
  max-width: min(20rem, calc(100% - 1rem));
  padding: 0.72rem 0.85rem;
  color: var(--foreground);
  border: 1px solid var(--weather-line);
  border-radius: 0.8rem;
  background: var(--weather-surface);
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.16);
  pointer-events: none;
}

.weather-map-tooltip strong {
  font-size: 0.78rem;
}

.weather-map-tooltip span {
  color: var(--weather-secondary-ink);
  font-size: 0.68rem;
  line-height: 1.35;
}

.weather-map-controls {
  position: absolute;
  z-index: 4;
  top: 1rem;
  right: 1rem;
  display: grid;
  gap: 0.3rem;
  padding: 0.3rem;
  border: 1px solid var(--weather-line);
  border-radius: 1rem;
  background: var(--weather-surface);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.14);
}

.weather-map-controls .icon-btn-circle {
  width: 2.55rem;
  height: 2.55rem;
  border: 0;
  border-radius: 0.75rem;
  background: transparent;
}

.weather-map-controls .icon-btn-circle:hover {
  background: var(--weather-quiet-surface);
}

.weather-map-legend {
  position: absolute;
  z-index: 4;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(6rem, 16rem) auto;
  gap: 0.55rem;
  width: fit-content;
  max-width: calc(100% - 2rem);
  margin-inline: auto;
  padding: 0.58rem 0.75rem;
  color: var(--foreground);
  border: 1px solid var(--weather-line);
  border-radius: 999px;
  background: var(--weather-surface);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.12);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 650;
}

.weather-map-legend i {
  display: block;
  height: 0.34rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--weather-temp-cold), var(--weather-temp-mild), var(--weather-temp-warm), var(--weather-temp-hot));
}

.weather-map-legend[data-layer="precipitation"] i {
  background: linear-gradient(90deg, var(--weather-rain-low), var(--weather-rain-high));
}

.weather-map-legend[data-layer="cloud"] i {
  background: linear-gradient(90deg, var(--weather-cloud-low), var(--weather-cloud-high));
}

.weather-workspace.is-loading .weather-map-wrap {
  cursor: progress;
}

/* Daily list */

.weather-calendar-section {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: 1.25rem;
}

.weather-calendar-head,
.weather-history-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.weather-calendar-meta,
.weather-history-meta {
  max-width: 58%;
  margin: 0.12rem 0 0;
  overflow: hidden;
  color: var(--weather-secondary-ink);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-calendar-state,
.weather-history-state {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.65rem;
  min-height: 15rem;
  padding: 1.5rem;
  color: var(--weather-secondary-ink);
  border: 1px dashed var(--weather-line-strong);
  border-radius: 1.1rem;
  text-align: center;
}

.weather-calendar-state.is-error,
.weather-history-state.is-error {
  color: var(--danger, #c8372d);
}

.weather-calendar-state p,
.weather-history-state p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
}

.weather-calendar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.weather-calendar-day {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(3.5rem, 0.78fr) minmax(4.5rem, 0.92fr) minmax(4rem, 1.2fr);
  gap: 0.6rem;
  min-width: 0;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid var(--weather-line);
}

.weather-calendar-day:last-child {
  border-bottom: 0;
}

.weather-calendar-day[aria-current="date"]::before {
  position: absolute;
  top: 0.65rem;
  bottom: 0.65rem;
  left: -1.25rem;
  width: 0.28rem;
  border-radius: 0 999px 999px 0;
  background: var(--weather-selection);
  content: "";
}

.weather-calendar-date {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
}

.weather-calendar-date > span {
  display: grid;
  gap: 0.05rem;
}

.weather-calendar-date strong {
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.weather-calendar-date small {
  color: var(--weather-secondary-ink);
  font-size: 0.66rem;
}

.weather-calendar-date em {
  padding: 0.08rem 0.3rem;
  color: var(--weather-selection);
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 650;
}

.weather-calendar-condition {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.weather-calendar-condition .hz-icon {
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 1.35rem;
}

.weather-calendar-condition strong {
  overflow: hidden;
  font-size: 0.73rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-calendar-temperature {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  min-width: 0;
}

.weather-calendar-temperature > span {
  display: grid;
  justify-items: end;
  gap: 0.05rem;
}

.weather-calendar-temperature small {
  color: var(--weather-secondary-ink);
  font-size: 0.58rem;
  font-weight: 550;
}

.weather-calendar-temperature strong {
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.weather-calendar-range {
  grid-column: 1 / -1;
  position: relative;
  display: block;
  height: 0.22rem;
  margin-top: -0.18rem;
  border-radius: 999px;
  background: var(--weather-line);
}

.weather-calendar-range::after {
  position: absolute;
  inset-block: 0;
  left: var(--weather-range-from, 0%);
  width: calc(var(--weather-range-to, 100%) - var(--weather-range-from, 0%));
  border-radius: inherit;
  background: var(--primary);
  content: "";
}

.weather-calendar-details {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.8rem;
  margin: -0.1rem 0 0;
}

.weather-calendar-details div {
  display: flex;
  gap: 0.22rem;
  color: var(--weather-secondary-ink);
  font-size: 0.64rem;
}

.weather-calendar-details dt,
.weather-calendar-details dd {
  margin: 0;
}

.weather-calendar-details dd {
  color: var(--foreground);
  font-family: var(--font-mono);
  font-weight: 650;
}

/* Monthly record */

.weather-history-section {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
}

.weather-history-scroll {
  min-width: 0;
  overflow: hidden;
}

.weather-history-weekdays,
.weather-history-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.weather-history-weekdays {
  border-bottom: 1px solid var(--weather-line-strong);
}

.weather-history-weekdays span {
  padding: 0.55rem 0.3rem;
  color: var(--weather-secondary-ink);
  font-size: 0.68rem;
  font-weight: 650;
  text-align: center;
}

.weather-history-grid {
  background: var(--weather-line);
  gap: 1px;
}

.weather-history-blank {
  min-height: 8.5rem;
  background: var(--weather-quiet-surface);
}

.weather-history-day {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  min-width: 0;
  min-height: 8.5rem;
  padding: 0.8rem;
  background: var(--weather-surface);
}

.weather-history-day--wet {
  box-shadow: inset 0 0.22rem 0 var(--weather-rain-high);
}

.weather-history-day--hot {
  box-shadow: inset 0 0.22rem 0 var(--weather-temp-hot);
}

.weather-history-day--warm {
  box-shadow: inset 0 0.22rem 0 var(--weather-temp-warm);
}

.weather-history-day--cold {
  box-shadow: inset 0 0.22rem 0 var(--weather-temp-cold);
}

.weather-history-date {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem;
}

.weather-history-date strong {
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.weather-history-date small,
.weather-history-condition,
.weather-history-rain {
  color: var(--weather-secondary-ink);
  font-size: 0.64rem;
}

.weather-history-condition {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
}

.weather-history-condition .hz-icon {
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 1.2rem;
}

.weather-history-condition span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-history-temperature {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-mono);
}

.weather-history-temperature strong {
  font-size: 0.9rem;
}

.weather-history-temperature span {
  color: var(--weather-secondary-ink);
  font-size: 0.72rem;
}

.weather-history-rain {
  margin-top: auto;
}

.weather-source-note {
  padding: 0.25rem;
  color: var(--weather-secondary-ink);
  font-size: 0.72rem;
  text-align: center;
}

.weather-source-note p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

@keyframes weather-data-shift {
  from {
    opacity: 0.25;
    transform: translateY(0.45rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes weather-share-spin {
  to {
    transform: rotate(1turn);
  }
}

@media (pointer: coarse) {
  .weather-city-row:hover,
  .weather-time-card:hover {
    transform: none;
  }

  .weather-map-controls .icon-btn-circle {
    width: 2.85rem;
    height: 2.85rem;
  }
}

@media (max-width: 76rem) {
  .weather-current {
    grid-template-columns: minmax(21rem, 0.9fr) minmax(0, 1.1fr);
  }

  .weather-temperature strong {
    font-size: clamp(5rem, 8vw, 6.75rem);
  }

  .weather-outlook-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.8fr);
  }

  .weather-map-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .weather-map-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 64rem) {
  .weather-main {
    padding-inline: 1rem;
  }

  .weather-current {
    grid-template-columns: minmax(20rem, 0.88fr) minmax(0, 1.12fr);
    min-height: 23rem;
  }

  .weather-current-content {
    padding: 1.5rem;
  }

  .weather-temperature strong {
    font-size: clamp(4.6rem, 8vw, 5.8rem);
  }

  .weather-current-reading {
    gap: 1rem;
  }

  .weather-outlook-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .weather-workspace,
  .weather-calendar-section {
    grid-column: 1;
  }

  .weather-map-toolbar {
    align-items: center;
    flex-direction: row;
  }

  .weather-map-actions {
    width: auto;
  }

  .weather-calendar-day {
    grid-template-columns: minmax(4rem, 0.7fr) minmax(6rem, 0.9fr) minmax(7rem, 1fr);
  }
}

@media (max-width: 52rem) {
  .weather-main {
    gap: 1.5rem;
    padding-top: calc(var(--header-height) + 1.5rem);
  }

  .weather-current {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    min-height: 0;
  }

  .weather-current::after {
    width: 48%;
  }

  .weather-scene {
    grid-row: 1;
    min-height: 15.5rem;
    max-height: 18rem;
  }

  .weather-scene::after {
    border-radius: 0;
  }

  .weather-current-content {
    grid-row: 2;
    min-height: 20rem;
  }

  .weather-current-reading {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .weather-temperature strong {
    font-size: clamp(5rem, 16vw, 6.6rem);
  }

  .weather-city-head {
    flex-wrap: wrap;
  }

  .weather-city-search {
    flex: 1 1 100%;
    width: 100%;
    margin-left: 0;
  }

  .weather-city-list {
    grid-auto-columns: min(82vw, 18rem);
  }

  .weather-timeline-head {
    align-items: flex-start;
  }

  .weather-timeline-meta {
    align-items: flex-end;
    flex-direction: column;
  }

  .weather-timeline-meta p {
    max-width: 58vw;
  }

  .weather-map-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .weather-map-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 40rem) {
  .weather-main {
    gap: 1.25rem;
    padding-inline: 0.75rem;
    padding-bottom: 3rem;
  }

  .weather-intro {
    padding-inline: 0.25rem;
  }

  .weather-current {
    border-radius: 1.5rem;
  }

  .weather-scene {
    min-height: 12.5rem;
    max-height: 13.5rem;
  }

  .weather-current-content {
    grid-template-rows: auto auto auto auto;
    gap: 1rem;
    min-height: 0;
    padding: 1.15rem;
  }

  .weather-current-head h2 {
    font-size: 1.4rem;
  }

  .weather-current-actions {
    gap: 0.35rem;
  }

  .weather-share-trigger {
    width: 2.35rem;
    height: 2.35rem;
  }

  .weather-current-reading {
    align-items: center;
    gap: 0.75rem;
  }

  .weather-temperature strong {
    font-size: clamp(4.65rem, 23vw, 5.6rem);
  }

  .weather-current-summary {
    gap: 0.7rem;
    padding-bottom: 0;
  }

  .weather-condition-line {
    align-items: flex-start;
  }

  .weather-condition-copy {
    font-size: 0.86rem;
  }

  .weather-range {
    grid-template-columns: auto minmax(2.75rem, 1fr) auto;
    gap: 0.45rem;
  }

  .weather-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weather-metrics > div {
    padding: 0.7rem 0.55rem;
  }

  .weather-metrics > div:first-child {
    padding-left: 0.55rem;
  }

  .weather-metrics > div:nth-child(3) {
    border-left: 0;
  }

  .weather-metrics > div:nth-child(n + 3) {
    border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  }

  .weather-status {
    align-items: flex-start;
    font-size: 0.7rem;
  }

  .weather-status-copy {
    display: grid;
    gap: 0.12rem;
  }

  .weather-city-row {
    min-height: 7.25rem;
  }

  .weather-forecast-surface,
  .weather-workspace,
  .weather-calendar-section,
  .weather-history-section {
    border-radius: 1.25rem;
  }

  .weather-timeline-head {
    display: grid;
    gap: 0.65rem;
    padding: 1rem 1rem 0.65rem;
  }

  .weather-timeline-meta {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  .weather-timeline-meta p {
    max-width: calc(100vw - 11rem);
  }

  .weather-timeline {
    padding-inline: 0.55rem;
    scroll-padding-inline: 0.55rem;
  }

  .weather-map-toolbar {
    padding: 1rem;
  }

  .weather-map-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .weather-segmented {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .weather-segmented button {
    padding-inline: 0.45rem;
  }

  .weather-resolution .select-wrapper {
    width: 100%;
  }

  .weather-map-wrap {
    height: 28rem;
  }

  .weather-map-controls {
    top: 0.75rem;
    right: 0.75rem;
  }

  .weather-map-legend {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    grid-template-columns: auto minmax(4rem, 1fr) auto;
    max-width: calc(100% - 1.5rem);
  }

  .weather-calendar-section,
  .weather-history-section {
    padding: 1rem;
  }

  .weather-calendar-head,
  .weather-history-head {
    display: grid;
    gap: 0.3rem;
  }

  .weather-calendar-meta,
  .weather-history-meta {
    max-width: 100%;
    margin: 0;
    text-align: left;
  }

  .weather-calendar-day {
    grid-template-columns: minmax(3.25rem, 0.72fr) minmax(4rem, 0.88fr) minmax(6.5rem, 1.15fr);
    gap: 0.4rem;
  }

  .weather-calendar-day[aria-current="date"]::before {
    left: -1rem;
  }

  .weather-calendar-condition strong {
    display: none;
  }

  .weather-history-blank,
  .weather-history-day {
    min-height: 6.4rem;
  }

  .weather-history-day {
    gap: 0.42rem;
    padding: 0.52rem 0.22rem;
    text-align: center;
  }

  .weather-history-date {
    justify-content: center;
  }

  .weather-history-date small,
  .weather-history-condition span:last-child,
  .weather-history-rain {
    display: none;
  }

  .weather-history-condition {
    justify-content: center;
  }

  .weather-history-temperature {
    align-items: center;
    flex-direction: column;
    gap: 0.08rem;
  }

  .weather-history-temperature strong {
    font-size: 0.78rem;
  }

  .weather-history-temperature span {
    font-size: 0.64rem;
  }
}

@media (max-width: 23rem) {
  .weather-current-reading {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
  }

  .weather-temperature strong {
    font-size: 4.5rem;
  }

  .weather-range {
    max-width: 16rem;
  }

  .weather-calendar-temperature {
    gap: 0.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .weather-scene img,
  .weather-city-row,
  .weather-time-card,
  .weather-time-main,
  .weather-time-precip {
    transition: none;
  }

  .weather-current.is-switching .weather-current-head,
  .weather-current.is-switching .weather-current-reading,
  .weather-current.is-switching .weather-metrics,
  .weather-current.is-switching .weather-status {
    animation: none;
  }

  .weather-share-trigger.is-loading .hz-icon {
    animation: none;
  }

  .weather-city-list,
  .weather-timeline {
    scroll-behavior: auto;
  }
}
