/* SEVILLA AYER Y HOY 6.2 — diseño despejado y agrupaciones de puntos.
   Los botones antiguos permanecen en DOM para preservar sus funciones pero no ocupan mapa. */
.v5-buttons, .atlas-open, .v4-quick-discover {display:none!important;}
.map-tools-trigger {position:absolute; z-index:510; left:19px; top:158px; width:64px; height:61px; padding:8px 4px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; background:#14293c; color:#f5dfb6; border:1px solid #c7a572; border-radius:15px; box-shadow:0 8px 26px #091c2d55; }
.map-tools-trigger .map-tools-symbol{font-size:27px; font-weight:700; line-height:25px}
.map-tools-trigger span:last-child{font-size:9px; font-weight:750; letter-spacing:.15px}
.map-tools-trigger[aria-expanded="true"]{background:#1c6b61;color:white;border-color:#1c6b61}
.map-tools-panel{position:absolute; z-index:535; left:20px; top:229px; width:min(352px,calc(100% - 40px)); max-height:min(69dvh,680px); display:flex; flex-direction:column; overflow:hidden; background:#fffefa; color:#223745; border:1px solid #ded6c8; border-radius:18px; box-shadow:0 18px 68px #0d20398c}
.map-tools-panel[hidden]{display:none!important}
.map-tools-head{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#14293c;color:white;padding:14px 15px}
.map-tools-head small{font-size:9px;letter-spacing:1.3px;color:#d8b981;font-weight:750}
.map-tools-head h2{font:700 22px Georgia,serif;margin:5px 0 0}
.map-tools-head button{border:1px solid #ffffff55;background:#ffffff15;color:white;font-size:22px;border-radius:50%;height:36px;width:36px;flex:none}
.map-tools-items{overflow-y:auto;overscroll-behavior:contain}
.map-tools-items>button{display:flex;align-items:center;text-align:left;width:100%;gap:12px;min-height:68px;padding:11px 14px;border:0;border-bottom:1px solid #ecebe5;background:#fffefa;color:#243b48}
.map-tools-items>button:active{background:#edf6f1}
.map-tools-items>button>span:nth-child(2){flex:1;min-width:0}
.map-tools-items strong{font-size:13px;font-weight:750;display:block;line-height:1.3}
.map-tools-items small{font-size:10px;color:#71818d;display:block;line-height:1.38;margin-top:4px}
.map-tools-items b{color:#a8a9a1;font-size:21px;font-weight:500}
.map-tools-icon{display:grid;place-items:center;flex-shrink:0;height:41px;width:41px;border-radius:12px;border:1px solid #ebddc5;background:#f7f0e4;color:#98744a;font-size:23px}
.map-tools-reset{background:#f5f3ed;color:#426660;font-size:12px;font-weight:700;padding:14px;border:0;border-top:1px solid #ebe4d9;flex:none}
/* Cluster pins replace visually crowded symbols without removing any place from the catalogue. */
.map-cluster{width:46px;height:46px;border-radius:50%;border:3px solid #fff;box-shadow:0 4px 16px #1026368c;background:#173b4c;color:white;display:grid;place-items:center;position:relative;font:800 14px 'DM Sans',sans-serif;}
.map-cluster::after{content:'';position:absolute;inset:-7px;border:2px solid #c4a2738f;border-radius:50%;pointer-events:none}
.map-cluster strong{font-size:14px}
.map-cluster-group:hover .map-cluster{background:#166f65}
/* Atlas and history panels are given the focus when visible. */
.map-panel:has(.atlas-panel:not([hidden])) .map-tools-trigger,
.map-panel:has(.v5-explorer:not([hidden])) .map-tools-trigger,
.workspace:has(.drawer:not([hidden])) .map-tools-trigger {display:none!important;}
@media(max-width:700px){
 .top-left{top:12px;left:12px;max-width:calc(100% - 95px);min-width:0;width:auto;padding:10px 12px;border-radius:11px;box-shadow:0 6px 21px #14273b36}
 .top-left .map-kicker{font-size:8px;letter-spacing:1.3px}
 .top-left .map-title{font-size:14px;margin-top:3px;line-height:1.2}
 .top-left .map-sub{display:none}
 .top-right{right:10px;top:12px;gap:8px}
 .round-action{height:43px;width:43px}
 .map-tools-trigger{top:85px;left:12px;width:60px;height:59px}
 .map-tools-panel{left:10px;top:150px;width:calc(100% - 20px);max-height:min(62dvh,510px)}
 .v5-explorer{top:auto;bottom:8px;max-height:min(69dvh,630px);width:calc(100% - 14px);left:7px;border-radius:18px;z-index:555}
 .bottom-left{display:none}
 .bottom-right{bottom:19px;right:10px}
 .map-photo-btn{padding:10px 12px;gap:7px;border-radius:11px;font-size:10px}
 .map-key{padding:6px}
}
@media(max-width:370px){.map-tools-panel{max-height:58dvh}.map-tools-items>button{min-height:60px;padding:9px}}

/* 6.2: never allow legacy horizontal controls to cover the map. */
.map-panel > .v5-buttons, .map-panel > .atlas-open, .map-panel > .v4-quick-discover { display:none !important; visibility:hidden !important; pointer-events:none !important; }
