/* Strictly scoped to the City Guide map; no other map or module changes. */
body.city-guide-map-view [hidden]{display:none!important}
body.city-guide-map-view .cgm-full-map{height:72vh;min-height:620px}
body.city-guide-map-view .city-guide-map-frame{isolation:isolate}
body.city-guide-map-view .city-guide-map-back,body.city-guide-map-view .city-guide-map-menu{z-index:700;top:18px}
body.city-guide-map-view .city-guide-map-category-menu{z-index:800;top:80px}
body.city-guide-map-view .city-guide-map-category-menu button{display:block;min-height:44px;text-align:left}
body.city-guide-map-view .leaflet-container{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body.city-guide-map-view .leaflet-control-zoom{margin:0 14px 30px 0;box-shadow:0 3px 12px #0002;border:1px solid #dde0e5;border-radius:12px;overflow:hidden}
body.city-guide-map-view .leaflet-control-zoom a{width:44px;height:44px;line-height:44px;font-size:25px;background:white}
body.city-guide-map-view .leaflet-control-attribution{max-width:100%;font-size:9px;background:#ffffffdd}
body.city-guide-map-view .cgm-photo-marker{background:none;border:0;box-sizing:border-box}
body.city-guide-map-view .cgm-thumbnail{position:relative;display:grid;place-items:center;width:64px!important;height:64px!important;box-sizing:border-box;border:3px solid #fff;border-radius:14px;overflow:hidden;background:#f3f4f6;box-shadow:0 3px 10px rgba(0,0,0,.18)}
body.city-guide-map-view .cgm-thumbnail svg{width:28px;height:28px;color:#7b829b}
body.city-guide-map-view .cgm-thumbnail img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover;object-position:center;border:0;border-radius:0;box-sizing:border-box}
body.city-guide-map-view .cgm-photo-marker.is-selected .cgm-thumbnail{border-color:#ff6b2c;box-shadow:0 0 0 2px white,0 4px 16px #0003}
body.city-guide-map-view .cgm-photo-marker:focus-visible{outline:3px solid #ff6b2c;outline-offset:4px;border-radius:14px}
body.city-guide-map-view .cgm-cluster{border:3px solid white;border-radius:50%;background:#ff853b;color:white;box-shadow:0 3px 10px rgba(0,0,0,.18);display:grid;place-items:center;box-sizing:border-box;font-size:18px;font-weight:700;font-family:inherit}
body.city-guide-map-view .cgm-cluster span{display:block;line-height:1;color:white}
body.city-guide-map-view .cgm-cluster:focus-visible{outline:3px solid #19233b;outline-offset:3px}
body.city-guide-map-view .cgm-popup .leaflet-popup-content-wrapper{border-radius:16px;padding:0;box-shadow:0 4px 18px #14203022;background:white}
body.city-guide-map-view .cgm-popup .leaflet-popup-content{margin:0;width:min(304px,calc(100vw - 56px))!important;max-width:min(304px,calc(100vw - 56px));line-height:1.3}
body.city-guide-map-view .cgm-popup .leaflet-popup-close-button{width:24px;height:24px;line-height:24px;color:#6f7588;right:2px;top:0;font-size:18px}
body.city-guide-map-view .cgm-info-card{display:grid;grid-template-columns:56px minmax(0,1fr);gap:10px;align-items:center;padding:12px 23px 12px 12px;min-height:80px;color:#191b33;text-decoration:none;box-sizing:border-box}
body.city-guide-map-view .cgm-popup-photo{position:relative;display:grid;place-items:center;flex:none;width:56px!important;height:56px!important;min-width:56px;border-radius:11px;background:#f3f4f6;overflow:hidden}
body.city-guide-map-view .cgm-popup-photo img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;object-position:center}
body.city-guide-map-view .cgm-popup-photo svg{width:25px;height:25px;color:#7b829b}
body.city-guide-map-view .cgm-info-copy{min-width:0;display:grid;gap:4px}
body.city-guide-map-view .cgm-info-copy strong{font-size:15px;line-height:19px;font-weight:700;color:#191b33;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
body.city-guide-map-view .cgm-info-copy small{font-size:12px;font-weight:500;line-height:16px;color:#7b829b;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
body.city-guide-map-view .cgm-info-copy em{font-size:12px;font-weight:650;font-style:normal;color:#ff6b2c;line-height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.city-guide-map-view .cgm-result{position:relative;display:block;min-height:0;aspect-ratio: .85;grid-template-columns:none;padding:0;border-radius:20px;isolation:isolate;background:#263445;overflow:hidden;}
body.city-guide-map-view .cgm-result-photo{position:absolute;inset:0;width:100%;height:100%;border-radius:0;display:grid;place-items:center;overflow:hidden;background:#263445;}
body.city-guide-map-view .cgm-result-photo img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none;object-fit:cover;border-radius:0;}
body.city-guide-map-view .cgm-result-photo svg{width:44px;height:44px;color:#b7c1d0;}
body.city-guide-map-view .cgm-result:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 45%,rgba(3,13,19,.82));pointer-events:none;}
body.city-guide-map-view .cgm-result>div{position:absolute;bottom:0;left:0;right:0;z-index:1;padding:16px 12px;}
body.city-guide-map-view .cgm-result strong{color:white;font-size:16px;line-height:1.2;margin:0;font-weight:750;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-shadow:0 1px 6px #0004;}
body.city-guide-map-view .cgm-result>div>span{display:none;}
body.city-guide-map-view .cgm-map-error{position:absolute;top:82px;left:12px;right:12px;z-index:650;background:#fff9ed;border:1px solid #f3d8b0;padding:10px 12px;border-radius:12px;color:#714d1b;font-size:12px;line-height:18px}
body.city-guide-map-view .cgm-more{display:block;margin:16px auto;min-height:44px;padding:10px 18px;border:1px solid #ece8f2;border-radius:12px;background:white;color:#191b33;font:600 14px Inter,system-ui,sans-serif;cursor:pointer}
body.city-guide-map-view [data-cgm-count]{font-size:13px;color:#7b829b}
body.city-guide-map-view .maplibregl-canvas-container{pointer-events:none}
@media(prefers-reduced-motion:reduce){body.city-guide-map-view .leaflet-zoom-animated,body.city-guide-map-view .leaflet-marker-icon,body.city-guide-map-view .leaflet-marker-shadow{transition:none!important;animation:none!important}}
