/* MapLibre + OpenFreeMap. Keep the site's existing map size, frame and pins. */
.on-map-canvas.maplibregl-map {
  background: #111b24;
  font-family: 'Plus Jakarta Sans', sans-serif;
  isolation: isolate;
}
.soy-map-marker {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  /* Let adjacent cities remain clickable even when their pulse rings overlap. */
  pointer-events: none;
}
.soy-map-marker .soy-pin { pointer-events: none; }
.soy-map-marker .soy-pin-dot { pointer-events: auto; }
.soy-map-marker:focus-visible { z-index: 1; }
.soy-map-marker:focus-visible {
  outline: 2px solid #7ccddd;
  outline-offset: 4px;
}
.on-map-canvas .maplibregl-ctrl-group {
  overflow: hidden;
  border: 1px solid rgba(124, 205, 221, .2);
  border-radius: 8px;
  background: rgba(10, 43, 64, .95);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
}
.on-map-canvas .maplibregl-ctrl-group button {
  width: 34px;
  height: 34px;
  border-color: rgba(124, 205, 221, .16);
}
.on-map-canvas .maplibregl-ctrl-group button:hover {
  background: rgba(124, 205, 221, .14);
}
.on-map-canvas .maplibregl-ctrl-icon { filter: invert(1); opacity: .8; }
.on-map-canvas .maplibregl-ctrl-attrib {
  max-width: calc(100% - 16px);
  padding: 2px 7px;
  border-radius: 5px 0 0 0;
  background: rgba(8, 22, 33, .94);
  color: #b4c5ce;
  font: 10px/1.6 'Inter', sans-serif;
}
.on-map-canvas .maplibregl-ctrl-attrib a { color: #a9dce5; }
.on-map-canvas .maplibregl-ctrl-attrib a:hover { text-decoration: underline; }
.on-map-canvas .maplibregl-ctrl-bottom-right { max-width: 100%; }
.soy-map-popup .maplibregl-popup-content {
  padding: 8px 12px;
  border: 1px solid rgba(124, 205, 221, .3);
  border-radius: 6px;
  background: rgba(10, 43, 64, .97);
  color: #e6f1f4;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .4);
  font: 700 11px/1.6 'Plus Jakarta Sans', sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.soy-map-popup.maplibregl-popup-anchor-bottom .maplibregl-popup-tip {
  border-top-color: #0a2b40;
}
.soy-map-popup-detail { display: block; font-size: 10px; font-weight: 500; color: #b6d0da; }
.soy-map-fallback {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px 24px 60px;
  background: rgba(9, 20, 30, .97);
  color: #dcebf0;
  text-align: center;
  font-size: 13px;
}
.soy-map-fallback p { color: #dcebf0; margin-bottom: 12px; }
.soy-map-fallback ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 14px; max-width: 650px; padding: 0; list-style: none; }
.soy-map-fallback button {
  margin-top: 16px;
  padding: 8px 16px;
  border: 1px solid #7ccddd;
  border-radius: 6px;
  background: transparent;
  color: #7ccddd;
  cursor: pointer;
}
.soy-map-noscript { padding: 12px; font-size: 13px; }
.soy-map-reduced-motion .soy-pin-ring { animation: none; opacity: .6; }
@media (max-width: 640px) {
  .on-map-canvas .maplibregl-ctrl-attrib { font-size: 9px; }
  .on-map-wrap .on-map-legend { bottom: 36px; left: 10px; }
  .soy-map-fallback { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .on-map-canvas .soy-pin-ring { animation: none; opacity: .6; }
}
