/* ExploreIndia map interaction + town-level detail upgrade. Scoped to maps/search only. */
.atlas-map{touch-action:none!important;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}
#atlas-tile-layer{pointer-events:none}
#atlas-tile-layer image{pointer-events:none}
/* Titles belong in compact cards rather than a giant text label attached to the geographic pin. */
.map-marker .pin-label,.ghost-marker text{display:none!important}
.map-marker .pin-hit{cursor:pointer}
.map-callout{max-width:min(340px,calc(100% - 20px))!important;overflow-wrap:anywhere;word-break:normal}
.map-callout h3{font-size:clamp(19px,2.2vw,28px)!important;line-height:1.14!important;overflow-wrap:anywhere;max-height:3.6em;overflow-y:auto}
.map-callout p{overflow-wrap:anywhere;max-height:7em;overflow-y:auto}
.search-results{max-height:min(66vh,440px);overflow-y:auto;overscroll-behavior:contain}
.search-result{min-width:0;align-items:center}
.search-result >span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}
.search-result strong{overflow-wrap:anywhere;line-height:1.3}
.search-result small{overflow-wrap:anywhere;line-height:1.35}
.map-attribution{position:absolute;z-index:12;bottom:4px;right:5px;font-size:9px;padding:2px 5px;background:#fffdf1de;color:#43534b;border-radius:5px;line-height:1.35;max-width:calc(100% - 20px)}
.map-attribution a{text-decoration:underline;color:inherit}
@media(max-width:750px){.map-callout{right:8px!important;bottom:43px!important;max-height:52%;overflow:auto}.map-callout h3{font-size:20px!important}.map-attribution{font-size:8px}}

.geosearch-pick{min-width:0;overflow-wrap:anywhere;gap:8px}
.geosearch-pick #geosearch-name{min-width:0;overflow-wrap:anywhere;line-height:1.3}
.geosearch-pick button{flex-shrink:0;white-space:normal}

/* Keep waypoint indicators and outlines from ballooning at street/town zoom. */
.draft-dot circle{vector-effect:non-scaling-stroke!important;stroke-width:1.5px!important}

/* Selected atlas entry visual treatment — shared by public atlas and editor. */
.map-marker .normal-place-dot{fill:#d16e4e;stroke:#fff7e9;stroke-width:1.4;vector-effect:non-scaling-stroke}
.map-marker .selected-place-halo{fill:#fff6d7;opacity:.94;stroke:#265b52;stroke-width:1.8;vector-effect:non-scaling-stroke}
.map-marker.is-selected .v3-pin-body{fill:#ad533d!important;stroke:#fff9e7!important;stroke-width:2.3!important;vector-effect:non-scaling-stroke}
.map-marker.is-selected .v3-pin-center{fill:#fff9e7!important}
.route-layer.has-selection .route-group:not(.is-selected){opacity:.56}
.route-group.is-selected .route-halo{stroke:#fff9e5!important;stroke-width:13!important;stroke-dasharray:none!important;opacity:.99}
.route-group.is-selected .route-stroke{stroke:#b04e38!important;stroke-width:6!important;stroke-dasharray:none!important;stroke-linecap:round;stroke-linejoin:round}
.route-group.is-selected.kind-trek .route-stroke{stroke:#157e70!important;stroke-dasharray:9 4!important}
.route-selected-endpoint{fill:#fff8dd;stroke:#27574c;stroke-width:2;vector-effect:non-scaling-stroke;pointer-events:none}
.route-selected-endpoint.is-end{fill:#e9a655}

/* A geographic search selection is a distinct gold pin, never a visited dot. */
.ghost-marker.selected-search-location .search-location-pin{fill:#bf8434!important;stroke:#fff7dc!important;stroke-width:2.3;vector-effect:non-scaling-stroke}
.ghost-marker.selected-search-location .search-location-center{fill:#fff8e6!important;stroke:none!important;stroke-dasharray:none!important}
