/* Keep a clear map return action available while scrolling the full phone list. */
@media (max-width:800px) {
  body.eh9:has(#eh9-map) .eh9-split.is-list-only > .eh9-map-control-dock {
    position:fixed!important;
    z-index:10000!important;
    top:auto!important;
    right:auto!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    left:50%!important;
    width:auto!important;
    max-width:calc(100vw - 24px)!important;
    transform:translateX(-50%)!important;
    justify-content:center!important;
    pointer-events:none!important;
  }
  body.eh9:has(#eh9-map) .eh9-split.is-list-only .eh9-map-control-primary {
    flex:0 1 auto!important;
    width:auto!important;
    max-width:calc(100vw - 24px)!important;
  }
  body.eh9:has(#eh9-map) .eh9-split.is-list-only .eh9-map-tools-menu,
  body.eh9:has(#eh9-map) .eh9-split.is-list-only #eh9-mobile-view { display:none!important; }
  body.eh9:has(#eh9-map) .eh9-split.is-list-only .eh9-restore-results {
    position:static!important;
    display:inline-flex!important;
    width:auto!important;
    min-width:164px!important;
    max-width:calc(100vw - 32px)!important;
    min-height:48px!important;
    padding:0 20px!important;
    transform:none!important;
    border:1px solid #8f1731!important;
    border-radius:24px!important;
    background:#a81031!important;
    color:#fff!important;
    font-size:15px!important;
    font-weight:750!important;
    box-shadow:0 4px 18px #17223445!important;
    pointer-events:auto!important;
  }
  body.eh9:has(#eh9-map) .eh9-split.is-list-only .eh9-results-scroll {
    padding-bottom:calc(96px + env(safe-area-inset-bottom))!important;
  }
}
