:root {
  --bg-deep: #070c14;
  --text-primary: rgba(248, 250, 252, 0.96);
  --text-secondary: rgba(226, 232, 240, 0.72);
  --text-muted: rgba(148, 163, 184, 0.62);

  --amber-core: #fbbf24;
  --amber-bright: #fde68a;
  --amber-deep: #d97706;
  --amber-glow: rgba(251, 191, 36, 0.42);

  --cool-off: #94a3b8;
  --cool-track: rgba(255, 255, 255, 0.1);

  --glass-bg: rgba(9, 15, 24, 0.48);
  --glass-bg-hover: rgba(255, 255, 255, 0.06);
  --glass-bg-active: rgba(255, 255, 255, 0.11);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-divider: rgba(255, 255, 255, 0.08);

  --font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --panel-width: clamp(336px, 31vw, 412px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* ==========================================================================
   FULL-SCREEN PHOTOGRAPHIC BACKDROP (SMOOTH ON / OFF CROSSFADE)
   ========================================================================== */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--bg-deep);
}

.backdrop-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 34% 42%;
  transform: scale(1.015);
  transition: opacity 1.15s var(--ease-out-expo), transform 2.2s var(--ease-out-expo);
  will-change: opacity;
}

.backdrop-img--off {
  opacity: 1;
}

.backdrop-img--on {
  opacity: 0;
}

body.state-on .backdrop-img--on {
  opacity: 1;
}

body.state-soon .backdrop-img--on {
  opacity: 0.18;
}

body.state-off .backdrop-img--on {
  opacity: 0;
}

/* Ambient radial warmth when tower is illuminated */
.backdrop-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at 32% 46%,
    rgba(245, 158, 11, 0.16) 0%,
    rgba(217, 119, 6, 0.05) 28%,
    transparent 56%
  );
  opacity: 0;
  transition: opacity 1.2s var(--ease-out-expo);
}

body.state-on .backdrop-glow {
  opacity: 1;
  animation: ambientBreath 6.5s ease-in-out infinite;
}

@keyframes ambientBreath {
  0%, 100% {
    opacity: 0.78;
  }
  50% {
    opacity: 1;
  }
}

/* Careful dark atmospheric scrim: protects text readability while keeping the tower vivid */
.backdrop-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(6, 10, 18, 0.56) 0%,
      rgba(6, 10, 18, 0.12) 34%,
      rgba(6, 10, 18, 0.24) 60%,
      rgba(6, 10, 18, 0.68) 100%
    ),
    linear-gradient(
      180deg,
      rgba(6, 10, 18, 0.44) 0%,
      rgba(6, 10, 18, 0.04) 26%,
      rgba(6, 10, 18, 0.16) 64%,
      rgba(6, 10, 18, 0.84) 100%
    );
}

/* ==========================================================================
   FULL-SCREEN LAYOUT CONTAINER
   ========================================================================== */

.viewport {
  position: relative;
  z-index: 1;
  height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding:
    max(24px, env(safe-area-inset-top))
    max(32px, env(safe-area-inset-right))
    max(28px, env(safe-area-inset-bottom))
    max(32px, env(safe-area-inset-left));
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.location-pill,
.clock-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(9, 15, 24, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
}

.location-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber-core);
  box-shadow: 0 0 10px var(--amber-core);
  transition: background-color 0.6s ease, box-shadow 0.6s ease;
}

body.state-off .location-dot {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.85);
}

.clock-time {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.clock-zone {
  font-size: 0.6875rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   MAIN STAGE (LEFT HERO + RIGHT WEATHER-STYLE FORECAST)
   ========================================================================== */

.stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
  padding-top: 16px;
}

/* ==========================================================================
   LEFT HERO STATUS
   ========================================================================== */

.hero {
  max-width: 500px;
  padding-bottom: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.live-override-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.34);
  color: var(--amber-bright);
}

body.state-off .live-override-badge {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.36);
  color: #fca5a5;
}

.live-override-badge[hidden] {
  display: none;
}

.return-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.32);
  background: rgba(251, 191, 36, 0.12);
  color: var(--amber-bright);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.return-live-btn:hover {
  background: rgba(251, 191, 36, 0.22);
}

.return-live-btn:active {
  transform: scale(0.96);
}

.return-live-btn[hidden] {
  display: none;
}

.return-live-btn svg {
  width: 12px;
  height: 12px;
}

.tower-title {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.status-display {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: -2px;
}

.status-beacon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--amber-core);
  box-shadow: 0 0 18px var(--amber-core), 0 0 36px rgba(251, 191, 36, 0.45);
  transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

body.state-on .status-beacon {
  animation: beaconPulse 2.8s ease-in-out infinite;
}

body.state-soon .status-beacon {
  background: #fde047;
  box-shadow: 0 0 14px rgba(253, 224, 71, 0.55);
  animation: beaconPulse 1.9s ease-in-out infinite;
}

body.state-off .status-beacon {
  background: rgba(148, 163, 184, 0.55);
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.12);
  animation: none;
}

@keyframes beaconPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.92;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

.status-headline {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--text-primary);
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
}

.status-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
}

.status-hours {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--amber-bright);
  font-variant-numeric: tabular-nums;
  transition: color 0.45s ease;
}

body.state-off .status-hours {
  color: var(--text-secondary);
}

.meta-sep {
  color: var(--text-muted);
}

.status-countdown {
  color: var(--text-secondary);
  font-weight: 400;
}

.note-block {
  margin-top: 6px;
  max-width: 46ch;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.weather-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.weather-line[hidden] {
  display: none;
}

.weather-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  color: var(--amber-bright);
  flex-shrink: 0;
}

body.state-off .weather-icon {
  color: var(--cool-off);
}

.weather-icon svg {
  width: 15px;
  height: 15px;
}

.weather-summary {
  font-variant-numeric: tabular-nums;
}

.photo-note {
  font-size: 0.875rem;
  line-height: 1.52;
  color: var(--text-muted);
  font-weight: 300;
}

/* ==========================================================================
   RIGHT PANEL: MINIMALIST WEATHER-FORECAST WEEKLY LIGHTING SCHEDULE
   ========================================================================== */

.forecast-panel {
  width: var(--panel-width);
  flex-shrink: 0;
  align-self: center;
  border-radius: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(28px) saturate(135%);
  -webkit-backdrop-filter: blur(28px) saturate(135%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px 8px;
  border-bottom: 1px solid var(--glass-divider);
}

.panel-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.panel-icon {
  width: 15px;
  height: 15px;
  color: var(--amber-core);
  flex-shrink: 0;
}

.panel-title {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.panel-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-summary {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.mobile-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  cursor: pointer;
  transition: transform 0.25s var(--ease-out-expo), background-color 0.2s ease;
}

.mobile-toggle-btn svg {
  width: 15px;
  height: 15px;
}

.forecast-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Subtle timeline ruler (like Weather range axis) */
.timeline-ruler {
  display: grid;
  grid-template-columns: 76px 26px 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: rgba(148, 163, 184, 0.48);
  letter-spacing: 0.02em;
}

.ruler-scale {
  display: flex;
  justify-content: space-between;
  padding: 0 44px;
}

/* Forecast rows (7-day default + scrollable end-of-month expansion) */
.forecast-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.forecast-list.is-expanded {
  max-height: min(50dvh, 410px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

.forecast-list.is-expanded::-webkit-scrollbar {
  width: 4px;
}

.forecast-list.is-expanded::-webkit-scrollbar-track {
  background: transparent;
}

.forecast-list.is-expanded::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.week-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 6px 4px;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.62);
}

.week-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.expand-month-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.expand-month-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.expand-month-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease-out-expo);
}

.expand-month-btn[aria-expanded='true'] {
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.22);
  color: var(--amber-bright);
}

.expand-month-btn[aria-expanded='true'] svg {
  transform: rotate(180deg);
}

.forecast-row {
  width: 100%;
  display: grid;
  grid-template-columns: 76px 26px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    transform 0.18s ease;
}

.forecast-row:hover {
  background: var(--glass-bg-hover);
}

.forecast-row:focus-visible {
  outline: 1.5px solid var(--amber-core);
  outline-offset: -1px;
}

.forecast-row.is-selected {
  background: var(--glass-bg-active);
  border-color: rgba(255, 255, 255, 0.12);
}

.forecast-row.is-selected.is-lit {
  border-color: rgba(251, 191, 36, 0.26);
  background: linear-gradient(
    90deg,
    rgba(251, 191, 36, 0.12) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );
}

/* Column 1: Day name & short date */
.day-col {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.day-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}

.forecast-row.is-off .day-name {
  color: var(--text-secondary);
}

.day-date {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* Column 2: Minimal lighting icon */
.icon-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.light-icon {
  width: 18px;
  height: 18px;
}

.light-icon--bright {
  color: var(--amber-bright);
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.6));
}

.light-icon--standard {
  color: var(--amber-core);
  filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.38));
}

.light-icon--off {
  color: rgba(148, 163, 184, 0.45);
}

/* Column 3: Weather-style lighting range bar */
.range-col {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.range-time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
  white-space: nowrap;
}

.range-time--end {
  text-align: right;
  color: var(--text-primary);
}

.range-track {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: var(--cool-track);
  overflow: visible;
}

.range-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber-deep), var(--amber-core));
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.35);
}

.forecast-row.is-bright .range-fill {
  background: linear-gradient(90deg, var(--amber-core), var(--amber-bright));
  box-shadow: 0 0 12px rgba(253, 224, 71, 0.48);
}

/* Current time dot (just like current temp dot in Apple Weather) */
.range-now-dot {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #0b111c;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* OFF state row bar */
.range-off-col {
  display: flex;
  align-items: center;
  gap: 10px;
}

.range-off-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.08) 0%,
    rgba(148, 163, 184, 0.25) 50%,
    rgba(148, 163, 184, 0.08) 100%
  );
}

.range-off-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Compact panel footer */
.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
  padding: 12px 6px 2px;
  border-top: 1px solid var(--glass-divider);
}

.footer-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.footer-metric:last-child {
  text-align: right;
  align-items: flex-end;
}

.footer-label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
}

.footer-value {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.footer-divider {
  width: 1px;
  height: 24px;
  background: var(--glass-divider);
  flex-shrink: 0;
}

.panel-disclaimer {
  padding: 6px 6px 0;
  font-size: 0.69rem;
  line-height: 1.4;
  color: rgba(148, 163, 184, 0.54);
  text-align: center;
  font-weight: 300;
}

/* ==========================================================================
   MOBILE FULL-SCREEN RESPONSIVE LAYOUT (< 860px)
   ========================================================================== */

@media (max-width: 859px) {
  .backdrop-img {
    object-position: 31.8% 20%;
  }

  .backdrop-scrim {
    background:
      linear-gradient(
        180deg,
        rgba(6, 10, 18, 0.45) 0%,
        rgba(6, 10, 18, 0.08) 26%,
        rgba(6, 10, 18, 0.48) 54%,
        rgba(6, 10, 18, 0.88) 100%
      );
  }

  .viewport {
    padding:
      max(14px, env(safe-area-inset-top))
      max(16px, env(safe-area-inset-right))
      max(14px, env(safe-area-inset-bottom))
      max(16px, env(safe-area-inset-left));
  }

  .location-pill,
  .clock-pill {
    padding: 6px 11px;
    font-size: 0.75rem;
  }

  .clock-zone {
    display: none;
  }

  .stage {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 14px;
    padding-top: 10px;
  }

  .hero {
    max-width: none;
    padding: 0 4px;
    gap: 4px;
  }

  .hero-eyebrow {
    font-size: 0.66rem;
  }

  .tower-title {
    font-size: 0.9rem;
  }

  .status-display {
    gap: 10px;
  }

  .status-beacon {
    width: 10px;
    height: 10px;
  }

  .status-headline {
    font-size: clamp(1.75rem, 7.6vw, 2.3rem);
  }

  .status-meta {
    font-size: 0.86rem;
    gap: 8px;
  }

  .note-block {
    margin-top: 2px;
    gap: 3px;
  }

  .weather-line {
    font-size: 0.74rem;
    gap: 5px;
  }

  .photo-note {
    font-size: 0.78rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .forecast-panel {
    width: 100%;
    align-self: stretch;
    border-radius: 22px;
    padding: 13px 13px 12px;
    gap: 6px;
  }

  .panel-header {
    padding: 0 3px 6px;
  }

  .mobile-toggle-btn {
    display: inline-flex;
  }

  .forecast-panel.is-collapsed .mobile-toggle-btn svg {
    transform: rotate(180deg);
  }

  .forecast-panel.is-collapsed .panel-header {
    padding-bottom: 0;
    border-bottom-color: transparent;
  }

  .forecast-panel.is-collapsed .forecast-body {
    display: none;
  }

  .timeline-ruler {
    grid-template-columns: 68px 22px 1fr;
    gap: 8px;
    padding: 0 8px;
  }

  .ruler-scale {
    padding: 0 38px;
  }

  .forecast-row {
    grid-template-columns: 68px 22px 1fr;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 12px;
  }

  .forecast-list.is-expanded {
    max-height: 35dvh;
    -webkit-overflow-scrolling: touch;
  }

  .expand-month-btn {
    padding: 7px 10px;
    font-size: 0.72rem;
  }

  .day-name {
    font-size: 0.82rem;
  }

  .day-date {
    font-size: 0.64rem;
  }

  .range-col {
    grid-template-columns: 32px 1fr 32px;
    gap: 6px;
  }

  .range-time {
    font-size: 0.68rem;
  }

  .panel-footer {
    padding: 9px 4px 0;
  }

  .footer-label {
    font-size: 0.62rem;
  }

  .footer-value {
    font-size: 0.76rem;
  }

  .panel-disclaimer {
    padding: 4px 4px 0;
    font-size: 0.64rem;
  }
}

/* Very short mobile screens (e.g. iPhone SE / landscape phones): allow smooth scroll */
@media (max-height: 670px) {
  html,
  body {
    overflow-y: auto;
  }

  .viewport {
    height: auto;
    min-height: 100dvh;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .backdrop-img,
  .backdrop-glow,
  .status-beacon,
  .forecast-row {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
