/* ml-engine.css — MapLibre chrome for the locator, matching immersive.css's Leaflet
   rules (zoom buttons, attribution, tooltip, bloom, spotlight). Loads after it. */
.im-map .maplibregl-canvas{outline:0}
.im-map .maplibregl-ctrl-bottom-right .maplibregl-ctrl-group{margin:0 18px 22px 0}
.im-map .maplibregl-ctrl-group{border:0;box-shadow:var(--shadow-md);border-radius:12px;overflow:hidden;background:var(--glass-strong);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.im-map .maplibregl-ctrl-group button{width:38px;height:38px;background-color:transparent}
.im-map .maplibregl-ctrl-group button+button{border-top:1px solid var(--line)}
.im-map .maplibregl-ctrl-group button:hover{background-color:#fff}
.im-map .maplibregl-ctrl-bottom-left .maplibregl-ctrl{margin:0}
.im-map .maplibregl-ctrl-attrib{background:rgba(255,255,255,.7);font-family:var(--font);font-size:10px;color:var(--ink-400);border-radius:0 8px 0 0;padding:1px 6px}
.im-map .maplibregl-ctrl-attrib a{color:var(--ink-500)}

/* pins: the marker element is positioned by MapLibre's transform, so motion goes on .im-pin inside it */
.im-map .ml-pin,.im-map .ml-cl{cursor:pointer}
.im-map .ml-pin:focus-visible{outline:0}
.im-map .ml-pin:focus-visible .im-pin svg path{stroke:var(--accent)}
.im-map .ml-cl:focus-visible .im-cl{outline:3px solid var(--accent);outline-offset:2px}
.im-map.im-intro .ml-pin .im-pin{animation:im-drop .7s var(--ease) both}

/* hover tooltip */
.ml-tippop{pointer-events:none;z-index:20}
.ml-tippop .maplibregl-popup-content{background:var(--navy-900);color:#fff;border-radius:9px;padding:6px 11px;font:700 12.5px/1.3 var(--font);box-shadow:var(--shadow-md);white-space:nowrap}
.ml-tippop.maplibregl-popup-anchor-bottom .maplibregl-popup-tip{border-top-color:var(--navy-900)}

/* on-map bloom (concept B) */
.im-bloompop .maplibregl-popup-content{background:transparent;box-shadow:none;padding:0;border-radius:20px;width:282px}
.im-bloompop.maplibregl-popup-anchor-bottom .maplibregl-popup-tip{border-top-color:#fff}

/* spotlight (concept B) */
.im-map.is-spotlight .maplibregl-canvas{filter:saturate(.4) brightness(.6);transition:filter .35s}

/* a search's results: numbered pins, and the place the search was made for */
.im-map .im-pin__n{position:absolute;left:0;right:0;top:6px;text-align:center;color:#fff;font:800 13.5px/1.2 var(--font);pointer-events:none}
.im-map .ml-pin.is-num{z-index:3}
.im-map .ml-pin.is-num .im-pin.is-selected svg path{fill:var(--accent-700)}
.im-map .ml-here{display:flex;flex-direction:column;align-items:center;pointer-events:none;z-index:2}
.im-map .ml-here i{width:18px;height:18px;border-radius:50%;background:#fff;border:5px solid var(--navy-900);outline:6px solid rgba(14,34,56,.14)}
.im-map .ml-here span{position:absolute;top:24px;white-space:nowrap;background:#fff;color:var(--navy-900);font:700 12px/1.3 var(--font);padding:2px 8px;border-radius:999px;border:1px solid var(--line-strong)}
.im-map .ml-here.is-above span{top:auto;bottom:24px}
