.app-head .map-weather {
  justify-self: end; display: inline-flex; align-items: center; gap: 12px; flex: none;
  min-height: 44px; padding: 0 8px; border: 0; border-radius: 12px; background: transparent;
  color: var(--go-ink); font: 500 15px/1.15 var(--go-font-family); white-space: nowrap;
}
.map-weather:disabled { cursor: default; opacity: 1; }
.wx-reading { display: inline-flex; align-items: center; gap: 5px; padding-left: 11px; border-left: 1px solid var(--go-divider); }
.wx-reading[hidden] { display: none; }
.wx-icon { display: grid; place-items: center; color: #526e90; }
.wx-icon svg { display: block; width: 23px; height: 23px; }
.wx-icon .wx-sun { stroke: #ab7b22; }
.wx-icon .wx-moon { display: none; stroke: #586fa7; }
:root[data-map-light="evening"] .wx-icon .wx-sun { display: none; }
:root[data-map-light="evening"] .wx-icon .wx-moon { display: block; }
.wx-icon .wx-cloud { fill: #e1edfa; stroke: #597a9f; }
.wx-value { font-weight: 600; font-variant-numeric: tabular-nums; }
.map-weather.wx-stale .wx-value, .map-weather[data-condition="unavailable"] .wx-reading { color: var(--go-muted); }
@media (hover: hover) { .app-head .map-weather:enabled:hover { background: var(--go-surface-secondary); } }
.app-head .map-weather[aria-expanded="true"] { background: var(--go-surface-secondary); }

.wx-details {
  position: fixed; z-index: 12; width: min(246px, calc(100vw - 16px)); padding: 14px 16px;
  border-radius: 16px; background: var(--go-surface); color: var(--go-ink);
  box-shadow: 0 8px 30px #192e452b, 0 1px 4px #192e4514; font: var(--go-font-label);
}
.wx-details h2 { font-size: 16px; line-height: 21px; letter-spacing: -.02em; margin: 0 0 5px; }
.wx-time { color: var(--go-muted); line-height: 1.5; }
.wx-wind { margin: 0 0 4px; }
.wx-motion { display: flex; align-items: center; gap: 8px; cursor: pointer; min-height: 35px; margin-top: 4px; }
.wx-motion input { width: 16px; height: 16px; margin: 0; accent-color: var(--go-control-primary); }
.wx-credit { padding-top: 7px; color: var(--go-muted); font-size: 12px; }
.wx-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 760px) and (orientation: portrait), (max-width: 479px) {
  .order-home .app-head {
    inset: max(6px, env(safe-area-inset-top)) 8px auto; height: 48px; padding: 2px 4px;
    display: flex; justify-content: flex-start; align-items: center; gap: 2px;
    background: var(--go-surface); border-radius: 16px; box-shadow: var(--go-shadow-float);
    visibility: visible; pointer-events: auto;
  }
  .app-head .brand { padding: 0 3px; gap: 6px; background: transparent; box-shadow: none; }
  .app-head .brand-name { font-size: clamp(17px, 5vw, 20px); }
  .app-head .map-weather { margin-inline-start: auto; gap: 7px; padding: 0 5px; font-size: 13px; }
  .wx-reading { gap: 3px; padding-left: 7px; }
  .wx-icon svg { width: 20px; height: 20px; }
  .app-head #mobile-menu { border-radius: 12px; box-shadow: none; background: transparent; }
}
@media (max-width: 365px) {
  .app-head .map-weather { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; }
  .wx-reading { padding-left: 0; border-left: 0; }
  .wx-city { font-size: 12px; }
  .wx-icon svg { width: 17px; height: 17px; }
}
@media (min-width: 480px) and (max-width: 760px) and (orientation: landscape) {
  .order-home.is-picking .app-head { display: flex; visibility: visible; }
  .app-head .map-weather { margin-inline-start: auto; gap: 8px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .wx-motion { display: none; } }
@media (forced-colors: active) {
  .map-weather, .wx-details { border: 1px solid ButtonText; }
}
