/* Map preview becomes a draggable bottom sheet on mobile, retaining desktop cards. */
.im-sheet-handle{display:none}
@media(max-width:850px){
 .map-explore-shell .map-place-preview{
  position:absolute;left:0;right:0;bottom:0;top:auto;width:100%;max-width:none;
  max-height:min(46dvh,410px);padding:6px 17px max(16px,env(safe-area-inset-bottom));
  border-radius:23px 23px 0 0;border-bottom:none;overflow-y:auto;overscroll-behavior:contain;
  box-shadow:0 -12px 45px #173d3036;z-index:32;touch-action:pan-y;
  transition:max-height .18s ease;
 }
 .map-explore-shell .map-place-preview[data-sheet-expanded="true"]{
  max-height:min(83dvh,calc(100% - 75px));
 }
 .map-place-preview:not(.hidden)~.map-foot-overlay{visibility:hidden;pointer-events:none}
 .map-place-preview .im-sheet-handle{display:flex;width:100%;min-height:28px;padding:9px 0 11px;
  align-items:center;justify-content:center;background:transparent;border:0;touch-action:none;cursor:ns-resize}
 .map-place-preview .im-sheet-handle span:not(.sr-only){width:44px;height:5px;border-radius:8px;background:#a9b7a9}
 .map-place-preview .im-sheet-handle:focus-visible{outline:3px solid #93b29f;outline-offset:-3px}
 .map-place-preview .map-preview-heading{margin-top:2px}
 .map-place-preview .map-preview-all{margin-bottom:5px}
}
@media(prefers-reduced-motion:reduce){
 .map-explore-shell .map-place-preview{transition:none}
}

@media(max-width:400px){.map-toolbar{flex-wrap:wrap}.map-toolbar .map-tool-button{padding:9px 9px}}

