.map-page{height:100vh;height:100dvh;display:flex;flex-direction:column;min-height:450px}.map-page .mast{flex:none}.map-page .nav-inner{max-width:none;padding-inline:clamp(20px,3vw,50px)}.map-layout{flex:1;min-height:0;display:grid;grid-template-columns:clamp(270px,26vw,395px) 1fr}.map-info{padding:clamp(22px,3vw,52px) clamp(18px,2.6vw,40px);background:#191a19;overflow:auto;z-index:1}.map-page h1{font-size:clamp(44px,4vw,69px);letter-spacing:-.02em;line-height:.95;margin:16px 0 27px}.map-page h1 em{display:block}.route-note{border-left:3px solid #ef4c42;padding:2px 0 2px 13px;margin-bottom:22px}.route-note strong{display:block;font-size:15px}.route-note p,#location-status{color:#cfcec9;font-size:14px;line-height:1.5;margin-top:7px}.map-buttons{display:flex;flex-wrap:wrap;gap:8px}.map-buttons button{display:flex;align-items:center;justify-content:center;gap:7px;background:#242523;border:1px solid #5a5b56;color:#f8f7f2;padding:10px 12px;border-radius:4px;font-size:13px;min-height:44px}.map-buttons button:hover{border-color:#eee}.map-buttons .ic{width:16px;height:16px}.map-surface{position:relative;min-height:0;min-width:0}#mapa{height:100%;width:100%;background:#e5e2d7;isolation:isolate;outline-offset:-3px}.north{position:absolute;z-index:450;right:16px;top:17px;display:grid;justify-items:center;gap:3px;color:#202121;pointer-events:none;font:700 12px/1 Arial;background:#f8f7f0e6;padding:7px;border-radius:4px}.north svg{width:16px;height:18px}.leaflet-container{font-family:Arial,Helvetica,sans-serif}.leaflet-control-zoom a{color:#171918!important;background-color:#faf9f4!important}.leaflet-touch .leaflet-bar{border:1px solid #969b92}.leaflet-touch .leaflet-bar a{width:37px;height:38px;line-height:38px}.leaflet-container .leaflet-control-attribution{font-size:10px;color:#343a37;max-width:100%;background:#fffffff0}.leaflet-control-attribution a{color:#294e54}.leaflet-control-scale{margin-bottom:12px!important}.geo-name{background:none;border:none;pointer-events:none!important;display:flex;align-items:center;justify-content:center;white-space:nowrap}.geo-name span{font:500 11px/1.1 Arial;color:#494a44;text-shadow:1px 0 1px #f9f8ee,-1px 0 1px #f9f8ee,0 1px 1px #f9f8ee,0 -1px 1px #f9f8ee}.geo-name.place span{font-size:18px;font-weight:700;color:#3a3a35}.geo-name.water_name span{color:#37686c;font:italic 15px Georgia,serif}.geo-name.major span{font-weight:600}.user-position{stroke:#fff;stroke-width:3}.map-surface #map-error{position:absolute;z-index:600;left:50%;top:50%;transform:translate(-50%,-50%);background:white;color:#222;border-radius:4px;padding:15px;width:min(270px,80%);line-height:1.5}.leaflet-marker-icon{outline:none}#location-status:empty{display:none}
@media(max-width:700px){.map-layout{display:flex;flex-direction:column}.map-info{flex:none;padding:16px 20px}.map-page h1{font-size:clamp(31px,6.1vw,40px);margin:6px 0 12px}.map-page h1 em{display:inline}.map-info .eyebrow{font-size:9px}.route-note{margin-bottom:10px;padding-left:10px}.route-note strong{font-size:14px}.route-note p{font-size:13px;margin-top:3px}.map-buttons button{padding:6px 12px;min-height:38px}.map-surface{flex:1;min-height:180px}.map-page .nav-inner{height:57px}.map-page #location-status{font-size:12px}.leaflet-control-attribution{max-width:88vw!important}}
@media(max-height:520px) and (min-width:540px){.map-page{min-height:330px}.map-layout{display:grid;grid-template-columns:235px 1fr}.map-page .nav-inner{height:54px}.map-info{padding:14px}.map-page h1{font-size:32px;margin:8px 0 14px}.route-note strong,.route-note p{font-size:12px}}

.route-options:not([hidden]){display:flex;flex-wrap:wrap;gap:5px;margin-bottom:16px}
.route-options button{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #525450;border-radius:5px;padding:8px 9px;background:#242523;color:#f5f4ee;font-size:13px;min-height:40px}
.route-options button:hover,.route-options button[aria-pressed="true"]{background:#383b37;border-color:#deded4}
.route-options i{display:block;width:14px;height:4px;border-radius:2px;background:#70a2ff}
.route-options [data-stage="costa"] i{background:#57b89e}
.route-options [data-stage="vuelta"] i{background:repeating-linear-gradient(90deg,#ff7772 0 6px,transparent 6px 8px)}
#origin-key{margin:0 0 18px;color:#d9d9d2;font-size:12px;line-height:1.45}
#origin-key span{display:inline-block;width:10px;height:10px;border-radius:50%;background:#fb891e;border:1px solid #fff;margin-right:4px}
.origin-marker{background:#f68721;border:2.5px solid white;border-radius:50%;box-shadow:0 0 0 1.5px #994319,0 1px 4px #0005}
.direction-arrow{pointer-events:none!important;display:grid;place-items:center}
.direction-arrow span{display:block;width:15px;height:13px;background:var(--arrow);clip-path:polygon(0 0,100% 50%,0 100%,30% 50%);position:relative}
.direction-arrow span::after{content:'';position:absolute;inset:3px;background:#fff;clip-path:polygon(0 0,100% 50%,0 100%,30% 50%)}
@media(max-width:700px){.map-info{max-height:49dvh}.route-options:not([hidden]){margin-bottom:9px}.route-options button{min-height:34px;padding:6px 11px}.map-page #origin-key{font-size:11px;margin:0 0 9px}.map-page .route-note{margin-bottom:8px}}
@media(max-height:520px) and (min-width:540px){.map-info{max-height:none}}
.limit-marker{background:#fff;border:3px solid #136b58;border-radius:50%;box-shadow:0 0 0 1px white}
.leaflet-tooltip.limit-label{color:#fff;background:#175547;border:0;border-radius:4px;padding:2px 7px;font-size:11px;font-weight:700;box-shadow:none}
.leaflet-tooltip-top.limit-label::before{border-top-color:#175547}
