/* Local miniature controls and centered hover facts; map geometry stays intact. */
.thumbnail-scale-setting{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 10px}
.thumbnail-scale-setting output{font-size:12px;color:#555;font-variant-numeric:tabular-nums}
#thumbnail-scale{
 --thumbnail-track:#e6e6e9;--thumbnail-fill:var(--blue,#087cf1);--thumbnail-thumb-size:16px;--thumbnail-thumb-shadow:0 1px 4px #0005;
 grid-column:1/-1;width:100%;height:24px;margin:0;padding:0;border:0;border-radius:6px;
 -webkit-appearance:none;appearance:none;background:none;cursor:pointer;
}
#thumbnail-scale:focus-visible{outline:2px solid #111;outline-offset:2px}
#thumbnail-scale::-webkit-slider-runnable-track{
 height:6px;border:0;border-radius:999px;
 background:linear-gradient(to right,var(--thumbnail-fill) var(--thumbnail-progress,37.5%),var(--thumbnail-track) var(--thumbnail-progress,37.5%));
}
#thumbnail-scale::-moz-range-track{height:6px;border:0;border-radius:999px;background:var(--thumbnail-track)}
#thumbnail-scale::-moz-range-progress{height:6px;border:0;border-radius:999px;background:var(--thumbnail-fill)}
#thumbnail-scale::-webkit-slider-thumb{
 -webkit-appearance:none;appearance:none;width:var(--thumbnail-thumb-size);height:var(--thumbnail-thumb-size);margin-top:-5px;
 border:0;border-radius:50%;background:#fff;box-shadow:var(--thumbnail-thumb-shadow);
}
#thumbnail-scale::-moz-range-thumb{
 width:var(--thumbnail-thumb-size);height:var(--thumbnail-thumb-size);border:0;border-radius:50%;background:#fff;box-shadow:var(--thumbnail-thumb-shadow);
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 #thumbnail-scale::-webkit-slider-thumb{transition:scale .2s ease}
 #thumbnail-scale::-webkit-slider-thumb:hover{scale:1.06}
 #thumbnail-scale::-moz-range-thumb{transition:scale .2s ease}
 #thumbnail-scale::-moz-range-thumb:hover{scale:1.06}
}
.leaflet-container .marker-info-label>.marker-title{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0}
.marker-idle-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.marker-idle-rating,.marker-rating-compact{display:inline-flex;align-items:center;justify-content:center;gap:3px;flex:0 0 auto;white-space:nowrap}
.marker-idle-rating .emoji{font-size:11px}
.marker-rating-star{display:inline-block;color:#111;font-family:inherit;font-weight:600;font-size:1.1em;line-height:1}
.leaflet-container .is-selected .marker-idle-rating .marker-rating-star{color:#fff}
.marker-rating-value{display:inline-flex;align-items:center;gap:3px;vertical-align:middle}
.leaflet-container .marker-info-label .marker-info-tags{display:flex;flex-direction:column;align-items:center;gap:6px;width:var(--map-description-width,224px);max-height:min(260px,calc(100dvh - 160px));overflow:auto;overscroll-behavior:contain}
.marker-hover-ratings,.marker-hover-times,.marker-hover-prices,.marker-hover-extra{display:flex;flex-direction:column;align-items:center;gap:6px;width:100%;margin:0;padding:0;border:0;background:none;box-shadow:none}
.marker-info-label .marker-info-tag{display:inline-flex;align-items:center;justify-content:center;gap:5px;max-width:100%;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:inherit;font:inherit;line-height:1.4;text-align:center;white-space:normal;overflow-wrap:anywhere}
.marker-info-tag>.emoji{flex:0 0 auto;font-size:12px;line-height:1.4}
.marker-fact-sticker>.emoji{font-size:14px}
.leaflet-container[data-marker-hover-mode=photo] .marker-fact-sticker{--atlas-sticker-gap:5px;--atlas-sticker-paper:transparent;filter:none}
.leaflet-container[data-marker-hover-mode=photo] .marker-fact-sticker>.atlas-sticker-copy{padding:0;background:none;color:inherit;line-height:1.4}
.leaflet-container[data-marker-hover-mode=photo] .marker-fact-sticker>.atlas-sticker-copy{-webkit-text-stroke:0;paint-order:normal}
.leaflet-container[data-marker-hover-mode=photo] .marker-fact-sticker>.emoji{filter:none}
.marker-info-tag>span:not(.emoji){min-width:0}
.marker-info-label .marker-description-text{width:auto}
.marker-info-label .marker-description-tag{align-items:flex-start}
.leaflet-container[data-marker-hover-mode=photo] .is-preview .marker-info-label>.marker-title{justify-content:flex-start;text-align:left}
.leaflet-container[data-marker-hover-mode=photo] .is-preview .marker-info-label .marker-info-tags,
.leaflet-container[data-marker-hover-mode=photo] .is-preview .marker-hover-ratings,
.leaflet-container[data-marker-hover-mode=photo] .is-preview .marker-hover-times,
.leaflet-container[data-marker-hover-mode=photo] .is-preview .marker-hover-prices,
.leaflet-container[data-marker-hover-mode=photo] .is-preview .marker-hover-extra{align-items:flex-start;text-align:left}
.leaflet-container[data-marker-hover-mode=photo] .is-preview .marker-info-label .marker-info-tag{justify-content:flex-start;text-align:left}
.leaflet-container[data-marker-hover-mode=photo] .marker-hover-ratings{flex-direction:row;flex-wrap:nowrap;align-items:center}
.leaflet-container[data-marker-hover-mode=photo] .marker-hover-ratings .marker-rating-tag{flex:0 0 auto;white-space:nowrap}
.leaflet-container .marker-info-label:not(.has-marker-hover-content)>.marker-description{display:none}
.photo-marker.is-preview .marker-idle-rating,.photo-cluster.is-preview .marker-idle-rating{display:none}
.leaflet-container .is-preview .marker-idle-name{display:block;white-space:normal;overflow:visible;text-overflow:clip}
.leaflet-container :is(.photo-marker,.photo-cluster):not(.is-preview) .marker-preview-name,
.leaflet-container .is-preview .marker-title>.marker-idle-price{display:none}
.leaflet-container[data-marker-idle-names=false] .photo-marker:not(.is-preview) .marker-idle-name,
.leaflet-container[data-marker-idle-names=false] .photo-cluster:not(.is-preview) .marker-idle-name,
.leaflet-container[data-marker-idle-rating=false] .marker-idle-rating,
.leaflet-container[data-marker-idle-category=false] .photo-marker:not(.is-preview) .pin-badge,
.leaflet-container[data-marker-idle-category=false] .photo-cluster:not(.is-preview) .marker-category-badge,
.leaflet-container[data-marker-hover-rating=false] .marker-hover-ratings,
.leaflet-container[data-marker-hover-time=false] .marker-hover-times,
.leaflet-container[data-marker-hover-time=false] .marker-hover-prices,
.leaflet-container[data-marker-hover-time=false] .marker-hover-extra,
.leaflet-container[data-marker-hover-description=false] .marker-description-tag{display:none}
.leaflet-container.is-map-overview[data-marker-idle-rating=true] .photo-marker.has-marker-rating:not(.is-preview):not(.is-label-obscured):not(.is-label-crowded)>.photo-pin>.pin-label{visibility:visible;opacity:1;pointer-events:auto}
.leaflet-container[data-marker-idle-names=false] .photo-marker:not(.is-preview):not(.has-marker-rating)>.photo-pin>.pin-label,
.leaflet-container[data-marker-idle-names=false] .photo-cluster:not(.is-preview)>.photo-stack>.cluster-label,
.leaflet-container[data-marker-idle-names=false][data-marker-idle-rating=false] .photo-marker:not(.is-preview)>.photo-pin>.pin-label{display:none}
.cluster-stickers>.marker-category-badge{position:static;flex:0 0 auto;width:22px;height:22px;background:none;border:0;box-shadow:none}
/* Keep the text preview score in the title and let the facts wrap below it. */
.leaflet-container[data-marker-hover-mode=text] .is-preview>:is(.photo-pin,.photo-stack){
 width:calc(100% + var(--text-photo-growth,0px));height:calc(100% + var(--text-photo-growth,0px));
 left:calc(-.5 * var(--text-photo-growth,0px));top:calc(-.5 * var(--text-photo-growth,0px));transform:none;
}
.leaflet-container[data-marker-hover-mode=text] .photo-marker.is-preview:not(.is-fanned-photo)>.photo-pin{top:calc(-1 * var(--text-photo-growth,0px))}
.leaflet-container[data-marker-hover-mode=text] .photo-marker.is-preview.is-photo-below:not(.is-fanned-photo)>.photo-pin{top:0}
.leaflet-container[data-marker-hover-mode=text] .photo-marker.is-preview:not(:is(.is-fanned-photo,.is-photo-below,.is-preview-up))>.photo-pin>.pin-label{top:calc(100% + 16px + var(--map-photo-lift,0px))}
.leaflet-container[data-marker-hover-mode=text] .is-preview>.photo-pin>.pin-label,
.leaflet-container[data-marker-hover-mode=text] .is-preview>.photo-stack>.cluster-label{border:0;background:#fff;color:#171717}
.leaflet-container[data-marker-hover-mode=text] .is-preview.is-selected>.photo-pin>.pin-label,
.leaflet-container[data-marker-hover-mode=text] .is-preview>.photo-pin.is-selected>.pin-label,
.leaflet-container[data-marker-hover-mode=text] .is-preview.is-selected>.photo-stack>.cluster-label{box-shadow:0 0 0 2px var(--blue,#087cf1),0 7px 28px #00000024}
.leaflet-container[data-marker-hover-mode=text] .is-preview .marker-info-label>.marker-description{color:#171717}
.marker-title>.marker-hover-ratings{display:none}
.leaflet-container[data-marker-hover-mode=text] .is-preview .marker-info-label>.marker-title{align-items:baseline}
.leaflet-container[data-marker-hover-mode=text] .is-preview .marker-title>.marker-idle-name{overflow-wrap:anywhere}
.leaflet-container[data-marker-hover-mode=text][data-marker-hover-rating=true] .is-preview .marker-title>.marker-hover-ratings{display:inline-flex;flex:0 0 auto;width:auto}
.leaflet-container[data-marker-hover-mode=text] .marker-title .marker-rating-tag{white-space:nowrap;line-height:inherit}
.leaflet-container[data-marker-hover-mode=text] .marker-info-label .atlas-sticker{--atlas-sticker-gap:5px;--atlas-sticker-paper:transparent;filter:none;isolation:auto}
.leaflet-container[data-marker-hover-mode=text] .marker-info-label .atlas-sticker-copy{color:inherit;line-height:inherit;text-shadow:none;-webkit-text-stroke:0}
.marker-hover-summary{display:block;width:100%;margin:0;padding:0;border:0;background:none;text-align:center}
.leaflet-container[data-marker-hover-mode=text] .is-preview .marker-hover-summary{font-size:calc(12px * var(--atlas-thumbnail-scale,1));line-height:1.7em;text-shadow:none}
.leaflet-container[data-marker-hover-mode=text][data-marker-hover-time=true] .marker-hover-summary>.marker-hover-times,
.leaflet-container[data-marker-hover-mode=text][data-marker-hover-time=true] .marker-hover-summary>.marker-hover-prices{display:contents}
.leaflet-container[data-marker-hover-mode=text] .marker-hover-summary .marker-info-tag{display:inline;max-width:none;white-space:normal;text-align:inherit;line-height:inherit}
.leaflet-container[data-marker-hover-mode=text] .marker-hover-summary .atlas-sticker{margin:1px 2px}
.leaflet-container[data-marker-hover-mode=text] .marker-time-tag .marker-fact-sticker{align-items:flex-start}
.leaflet-container[data-marker-hover-mode=text] .marker-time-tag .marker-fact-sticker>.emoji{line-height:inherit}
.leaflet-container[data-marker-hover-mode=text][data-marker-hover-description=true] .is-preview .marker-description-tag{display:block;width:100%;text-align:center}
