/* #1246: map-only paw removal, search-anchor affordance, parking detail visibility.
   Existing routes, location math, marker indexing and server data are unchanged. */
body.gimyo-app-shell #map-explorer button::before,
body.gimyo-app-shell #map-explorer .map-navigation__apps a::before,
body.gimyo-app-shell #map-explorer .leaflet-control-zoom a::before {
  content: none !important;
  display: none !important;
  mask: none !important;
  -webkit-mask: none !important;
  background: none !important;
}
body.gimyo-app-shell #map-explorer .map-detail__actions [data-action="set-search-anchor"] {
  border-color: #635093;
  background: #f3effb;
  color: #473569;
  font-weight: 800;
  min-height: 44px;
}
body.gimyo-app-shell #map-explorer .map-detail__actions [data-action="set-search-anchor"]:hover,
body.gimyo-app-shell #map-explorer .map-detail__actions [data-action="set-search-anchor"]:focus-visible {
  background: #e6ddf6;
  outline-offset: 2px;
}
body.gimyo-app-shell #map-explorer #explorer-anchor-panel [data-anchor-id="search"]:not([hidden]) {
  font-weight: 800;
  background: #f3effb;
  border: 1px solid #d3c6ed;
  overflow-wrap: anywhere;
}
body.gimyo-app-shell #map-explorer #explorer-parking[hidden],
body.gimyo-app-shell #map-explorer #explorer-detail[hidden] {
  display: none !important;
}
body.gimyo-app-shell #map-explorer #explorer-detail.is-parking-detail {
  z-index: 990 !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  max-height: min(74dvh, 650px) !important;
  scrollbar-width: thin;
  scrollbar-color: #b8a8d4 transparent;
}
body.gimyo-app-shell #map-explorer .map-detail__parking-back {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: auto;
  min-height: 38px;
  margin: 0 0 12px;
  padding: 7px 12px;
  border: 1px solid #bcb0d4;
  border-radius: 10px;
  background: #f4f0fb;
  color: #41315f;
  font: 750 13px/1.4 "Noto Sans KR", system-ui, sans-serif;
  cursor: pointer;
}
body.gimyo-app-shell #map-explorer .map-detail__parking-back:hover,
body.gimyo-app-shell #map-explorer .map-detail__parking-back:focus-visible {
  border-color: #7963a8;
  background: #e8e0f6;
  outline-offset: 2px;
}
@media (max-width: 700px) {
  body.gimyo-app-shell #map-explorer #explorer-detail.is-parking-detail {
    top: auto !important;
    bottom: max(62px, env(safe-area-inset-bottom, 0px) + 60px) !important;
    right: 10px !important;
    left: 10px !important;
    width: auto !important;
    max-height: min(67dvh, 560px) !important;
    padding: 14px !important;
  }
  body.gimyo-app-shell #map-explorer #explorer-detail.is-parking-detail .map-navigation__apps {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 6px;
  }
  body.gimyo-app-shell #map-explorer #explorer-detail.is-parking-detail .map-navigation__apps a {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}
