/* ---------- Phone layout ---------- */
.view-menu { display: none; }

@media (max-width: 850px) {
  header { height: 60px; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .header-pill { font-size: 11.5px; padding: 6px 11px; }
  main { display: flex; flex-direction: column; gap: 14px; padding: 16px max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
  .sidebar { display: contents; }
  .eyebrow { margin: 2px 0 0; order: 0; }
  h1 { font-size: 33px; order: 1; }
  .intro { margin: 0; font-size: 13px; order: 2; }
  .search { order: 3; }
  .section-row { margin: 0; order: 4; }
  .spot-list { order: 5; display: flex; gap: 8px; overflow-x: auto; padding: 2px 1px 8px; scrollbar-width: none; scroll-snap-type: x proximity; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .spot-list::-webkit-scrollbar { display: none; }
  .spot-card { flex: none; min-width: 200px; padding: 9px; scroll-snap-align: start; }
  .spot-card:hover, .spot-card.active { transform: translateY(-3px); }
  .spot-icon { width: 36px; height: 36px; }
  .empty { order: 5; }
  .map-column { order: 6; }
  .map-heading small { display: none; }
  .map-stage { flex: none; height: clamp(340px, 62vh, 640px); height: clamp(340px, 62dvh, 640px); min-height: 0; border-radius: 16px; }
  /* popup becomes a bottom sheet */
  .spot-popup { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; height: min(70%, 560px); padding: 10px; transform: translateY(105%); }
  .spot-popup.open { transform: none; }
  .outlet-visual { height: clamp(84px, 14vh, 120px); }
  .menu-head { display: none; }
  .menu-panel { padding-top: 8px; }
  .spot-popup .view-menu { display: inline-flex; width: auto; min-height: 36px; align-items: center; justify-content: center; gap: 8px; margin: 0 0 2px; padding: 0 13px; border: 1px solid #f0803955; border-radius: 10px; background: #f0803918; color: var(--orange-2); font-size: 13px; font-weight: 700; }
  .menu-panel img { display: none; }
  .pin svg { width: 33px; height: 42px; }
}

@media (max-width: 420px) {
  .brand { font-size: 16px; }
  main { padding-top: 13px; }
  h1 { font-size: clamp(29px, 8vw, 33px); }
  .intro { max-width: none; }
  .spot-card { min-width: min(200px, 78vw); }
  .map-tools button { width: 40px; height: 40px; }
  .map-stage { height: 58vh; min-height: 320px; }
  .outlet-visual { height: 88px; }
  .spot-popup { padding: 8px; }
  .popup-meta { padding: 8px 0; }
  .popup-meta h3 { font-size: 19px; }
  .spot-popup .view-menu { min-height: 34px; padding-inline: 11px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
