/* Belarus Atlas — correct the ONLY "All locations" button in expanded phone map.
   The existing map JS gives it the 46px width of the search icon in fullscreen;
   override only geometry here. Original in-page button and events unchanged. */
@media (max-width: 700px) {
  .map-section .map-stage.bt-ba-responsive-ready.bt-map-expanded .bt-show-all-locations {
    position: absolute !important;
    top: 139px !important;
    left: var(--ba-fs-edge, 10px) !important;
    right: auto !important;
    width: var(--ba-fs-category-width, min(210px, calc(100vw - 128px))) !important;
    max-width: calc(100vw - 2 * var(--ba-fs-edge, 10px)) !important;
    height: 46px !important;
    min-height: 46px !important;
    box-sizing: border-box !important;
    padding: 0 12px !important;
    gap: 9px !important;
    display: flex;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    white-space: nowrap !important;
    overflow: hidden;
    font: 600 13px/1.2 Arial, sans-serif !important;
    border-radius: 14px !important;
    z-index: 56 !important;
  }
  .map-section .map-stage.bt-ba-responsive-ready.bt-map-expanded .bt-show-all-locations > span[aria-hidden="true"] {
    display: flex !important;
    flex: 0 0 24px !important;
    width: 24px !important;
    height: 24px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
  }
  .map-section .map-stage.bt-ba-responsive-ready.bt-map-expanded .bt-show-all-locations .ba-v73-all-locations-icon {
    display: block;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    object-fit: contain;
    margin: 0;
  }
  .map-section .map-stage.bt-ba-responsive-ready.bt-map-expanded.bt-ba-categories-open .bt-show-all-locations,
  .map-section .map-stage.bt-ba-responsive-ready.bt-map-expanded.bt-ba-tools-open .bt-show-all-locations,
  .map-section .map-stage.bt-ba-responsive-ready.bt-map-expanded:has(#bt-map-search-panel:not([hidden])) .bt-show-all-locations {
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
