@media (max-width: 720px) {
  body {
    padding: 12px;
  }

  .hero-copy,
  .panel-head,
  .timeline {
    padding-left: 18px;
    padding-right: 18px;
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    margin-bottom: 12px;
  }

  .hero-copy {
    padding: 10px 18px 12px;
  }

  .hero h1 {
    font-size: clamp(1.15rem, 5.8vw, 1.55rem);
    white-space: normal;
  }

  .panel-head--map {
    padding: 12px 12px 10px;
  }

  .map-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .mode-switch--inline {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .mode-switch--inline .mode-button {
    font-size: 0.82rem;
    padding: 10px 12px;
  }

  .page-footer {
    gap: 8px;
    padding-top: 14px;
    padding-bottom: 2px;
  }

  .footer-status {
    font-size: 0.76rem;
    white-space: normal;
    text-align: right;
  }

  .footer-link {
    padding: 10px 14px;
  }

  .timeline--map {
    grid-auto-columns: 76px;
    gap: 6px;
  }

  .timeline--map .timeline-button {
    min-height: 76px;
    padding: 8px 8px 9px;
    border-radius: 13px;
  }

  .timeline--map .timeline-date {
    font-size: 0.61rem;
  }

  .timeline--map .timeline-hour {
    margin-top: 3px;
    font-size: 0.9rem;
  }

  .timeline--map .timeline-temp {
    margin-top: 5px;
    font-size: 0.67rem;
  }

  .timeline--map .timeline-symbol {
    font-size: 0.88rem;
  }

  .timeline--map .timeline-top {
    min-height: 15px;
    margin-bottom: 4px;
  }

  .timeline--map .timeline-precip {
    font-size: 0.53rem;
  }

  .map-canvas {
    min-height: 420px;
    height: 56vh;
  }

  .map-selected-place {
    top: 66px;
    left: 50%;
    right: auto;
    width: min(236px, calc(100% - 154px));
    transform: translateX(-50%);
  }

  .map-selected-card {
    gap: 8px;
    max-height: 118px;
    padding: 10px 11px;
    border-radius: 16px;
  }

  .map-selected-card__head,
  .map-selected-card__hero {
    gap: 8px;
  }

  .map-selected-card__city {
    font-size: 0.72rem;
  }

  .map-selected-card__time {
    font-size: 0.62rem;
  }

  .map-selected-card__temp {
    font-size: 1.12rem;
  }

  .map-selected-card__condition {
    font-size: 0.66rem;
  }

  .map-selected-card__grid {
    gap: 6px 8px;
  }

  .map-selected-card__metric span {
    font-size: 0.55rem;
  }

  .map-selected-card__metric strong {
    font-size: 0.72rem;
  }

  .map-selected-card__hero .weather-icon {
    font-size: 1.08rem;
  }

  .map-selected-card__close {
    width: 24px;
    height: 24px;
    font-size: 1rem;
  }

  .map-layer-controls {
    top: 10px;
    right: 42px;
    left: auto;
    display: block;
    width: 142px;
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(9, 24, 31, 0.68);
  }

  .layer-menu-toggle {
    display: flex;
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
  }

  .map-layer-controls.is-expanded .layer-menu-toggle__chevron {
    transform: rotate(180deg);
  }

  .layer-toggle-list {
    gap: 0;
    max-height: 0;
    padding: 0 7px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 200ms ease, opacity 160ms ease, padding 200ms ease, visibility 200ms;
  }

  .map-layer-controls.is-expanded .layer-toggle-list {
    gap: 5px;
    max-height: 252px;
    padding: 0 7px 7px;
    opacity: 1;
    visibility: visible;
  }

  .layer-toggle {
    min-width: 0;
    width: 100%;
    min-height: 0;
    padding: 6px 8px;
    overflow: hidden;
    font-size: 0.66rem;
  }

  .layer-toggle__swatch {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
  }

  .map-timeline-shell {
    padding: 10px 12px 12px;
  }

  .map-scroll-gutter {
    position: absolute;
    top: 12px;
    right: 6px;
    bottom: 108px;
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 440;
    touch-action: pan-y;
    pointer-events: auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
    border-radius: 999px;
  }

  .map-scroll-gutter__handle {
    width: 6px;
    height: 88px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 0 0 1px rgba(16, 33, 42, 0.06), 0 8px 20px rgba(16, 33, 42, 0.12);
    opacity: 0.88;
  }

  .risk-stack {
    gap: 10px;
  }

  .risk-item {
    padding: 12px;
  }

  .weather-tooltip {
    display: none !important;
  }
}
