@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap');

* { box-sizing: border-box; }
html, body, #map { width: 100%; height: 100%; margin: 0; }
body { background: #dce5df; font-family: 'DM Sans', sans-serif; }
.leaflet-container { background: #dce5df; font-family: 'DM Sans', sans-serif; }
.leaflet-control-zoom { border: 0 !important; box-shadow: 0 4px 18px #101a2c2e !important; }
.leaflet-control-zoom a { width: 32px !important; height: 32px !important; color: #101a2c !important; border: 0 !important; background: #fffefa !important; line-height: 32px !important; }
.leaflet-control-zoom a:first-child { border-radius: 7px 7px 0 0 !important; border-bottom: 1px solid #d8dbe0 !important; }
.leaflet-control-zoom a:last-child { border-radius: 0 0 7px 7px !important; }
.leaflet-control-attribution { padding: 3px 6px !important; font-size: 9px !important; background: #fffefaeb !important; }
.video-marker { border: 0; background: transparent; }
.video-marker span { display: grid; width: 32px; height: 32px; place-items: center; border: 2px solid #fffefa; border-radius: 50% 50% 50% 5px; color: #fffefa; background: #ef6b52; box-shadow: 0 3px 12px #101a2c63; transform: rotate(-45deg); font-size: 14px; }
.video-marker b { transform: rotate(45deg); font-weight: 600; }
.leaflet-popup-content-wrapper { overflow: hidden; padding: 0; border-radius: 10px; box-shadow: 0 9px 35px #101a2c45; }
.leaflet-popup-content { width: 250px !important; margin: 0 !important; }
.leaflet-popup-tip { box-shadow: 3px 3px 9px #101a2c25; }
.video-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #dce5df; }
.video-card-body { padding: 12px 13px 13px; }
.video-card-place { margin: 0 0 5px; color: #758064; font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.video-card h2 { margin: 0 0 11px; color: #101a2c; font: 600 17px/1.12 Fraunces, serif; letter-spacing: -.35px; }
.video-card a { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border-radius: 5px; color: #101a2c; background: #c7e96c; font-size: 11px; font-weight: 700; text-decoration: none; }
.video-card-details { margin: -3px 0 12px; color: #4f5b6f; font-size: 12px; line-height: 1.42; }
.video-highlights { margin: 0 0 13px; padding: 9px 10px; border-radius: 6px; background: #edf1e4; }.video-highlights p { margin: 0 0 5px; color: #758064; font-size: 9px; font-weight: 700; letter-spacing: .75px; text-transform: uppercase; }.video-highlights ul { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; color: #35435a; font-size: 11px; line-height: 1.28; }.video-highlights li::first-letter { color: #ef6b52; }

body[data-design="mapa2"] { background: #111827; }
body[data-design="mapa2"] .leaflet-container { background: #111827; }
body[data-design="mapa2"] .leaflet-tile-pane { filter: brightness(.42) contrast(1.2) saturate(.55) hue-rotate(172deg); }
.video-marker.mapa2 span { width: 38px; height: 38px; border: 1px solid #fbbf24; border-radius: 50%; color: #111827; background: #fbbf24; box-shadow: 0 0 0 5px #fbbf2426, 0 4px 17px #000c; transform: none; }
.video-marker.mapa2 b { transform: none; }
body[data-design="mapa2"] .leaflet-control-zoom { box-shadow: 0 4px 18px #0009 !important; }
body[data-design="mapa2"] .leaflet-control-zoom a { color: #f9fafb !important; background: #1f2937 !important; }
body[data-design="mapa2"] .leaflet-control-zoom a:first-child { border-color: #ffffff20 !important; }
body[data-design="mapa2"] .leaflet-control-attribution { color: #aeb8c8; background: #111827d9 !important; }
.video-card.mapa2 { background: #172033; }
.video-card.mapa2 .video-card-body { padding: 15px; }
.video-card.mapa2 .video-card-place { color: #fbbf24; }
.video-card.mapa2 h2 { color: #f9fafb; }
.video-card.mapa2 a { border-radius: 999px; color: #111827; background: #fbbf24; }

body[data-design="mapa3"] { background: #e4dcc8; }
body[data-design="mapa3"] .leaflet-container { background: #e4dcc8; }
body[data-design="mapa3"] .leaflet-tile-pane { filter: sepia(.18) saturate(.8) contrast(1.05); }
.video-marker.mapa3 span { width: 34px; height: 34px; border: 3px solid #f5eddc; border-radius: 3px; color: #f5eddc; background: #395a43; box-shadow: 2px 3px 0 #1e3525, 0 4px 12px #1e352566; transform: rotate(45deg); }
.video-marker.mapa3 b { transform: rotate(-45deg); }
body[data-design="mapa3"] .leaflet-control-zoom { box-shadow: 2px 3px 0 #645d5050 !important; }
body[data-design="mapa3"] .leaflet-control-zoom a { color: #2d3e2b !important; background: #f5eddc !important; }
body[data-design="mapa3"] .leaflet-control-attribution { background: #f5eddce6 !important; }
.video-card.mapa3 { border: 2px solid #395a43; border-radius: 0; background: #f5eddc; }
.video-card.mapa3 .video-card-body { padding: 13px 14px 15px; }
.video-card.mapa3 .video-card-place { color: #395a43; }
.video-card.mapa3 h2 { color: #26392a; }
.video-card.mapa3 a { border-radius: 0; color: #f5eddc; background: #395a43; }

html:has(body[data-design="mapa1"]), body[data-design="mapa1"] { width: 100%; min-width: 100%; height: 100%; min-height: 100%; overflow: hidden; overscroll-behavior: none; }
body[data-design="mapa1"] #map { position: fixed !important; inset: 0 !important; display: block; width: 100vw !important; min-width: 100vw !important; height: 100vh !important; min-height: 100vh !important; height: 100svh !important; min-height: 100svh !important; height: 100dvh !important; min-height: 100dvh !important; margin: 0 !important; padding: 0 !important; touch-action: none; }
body[data-design="mapa1"] .leaflet-container, body[data-design="mapa1"] .leaflet-pane, body[data-design="mapa1"] .leaflet-map-pane { max-width: none; }
.mapa1-search { position: fixed; z-index: 1000; top: max(18px, calc(env(safe-area-inset-top) + 8px)); left: 50%; display: flex; align-items: center; width: min(470px, calc(100vw - 24px)); min-height: 52px; padding: 0 13px; transform: translateX(-50%); border: 1px solid #ffffffc7; border-radius: 9px; color: #4d596d; background: #fffefaf2; box-shadow: 0 9px 30px #101a2c2e; backdrop-filter: blur(10px); }
.mapa1-search span { padding: 0 8px 0 3px; font-size: 24px; line-height: 1; }.mapa1-search input { min-width: 0; flex: 1; border: 0; outline: 0; color: #101a2c; background: transparent; font: 500 14px 'DM Sans', sans-serif; }.mapa1-search input::placeholder { color: #778196; }.mapa1-search output { min-width: 35px; color: #758064; font-size: 10px; font-weight: 700; text-align: right; }.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.index-page { min-height: 100%; color: #101a2c; background: #f5f4ef; }
.version-index { width: min(760px, 100%); min-height: 100vh; margin: 0 auto; padding: clamp(42px, 10vw, 110px) 28px; }
.index-kicker { margin: 0 0 13px; color: #ef6b52; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.version-index h1 { max-width: 580px; margin: 0; font: 600 clamp(46px, 8vw, 76px)/.9 Fraunces, serif; letter-spacing: -3px; }
.index-intro { max-width: 410px; margin: 25px 0 46px; color: #66718a; font-size: 16px; line-height: 1.5; }
.version-list { display: grid; gap: 10px; }
.version-link { position: relative; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 13px; min-height: 94px; padding: 17px 19px; overflow: hidden; color: #101a2c; border: 1px solid #d8dbe0; border-radius: 10px; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.version-link:hover { box-shadow: 5px 6px 0 #101a2c; transform: translate(-3px, -3px); }
.version-link span { font-size: 11px; font-weight: 700; }.version-link strong { align-self: end; font: 600 23px/1 Fraunces, serif; letter-spacing: -.5px; }.version-link small { grid-column: 2; color: #5f6a80; font-size: 11px; }.version-link b { grid-column: 3; grid-row: 1 / span 2; font-size: 23px; font-weight: 400; }.version-one { background: #e4eee6; }.version-two { color: #f9fafb; border-color: #26324a; background: #182237; }.version-two small { color: #b4c0d2; }.version-three { border-color: #8b927d; background: #e5dbc2; }.version-three strong { color: #2b4a35; }
@media (max-width: 500px) { .version-index { padding: 58px 19px; }.version-index h1 { letter-spacing: -2px; }.version-link { grid-template-columns: 31px 1fr auto; padding: 15px; }.version-link strong { font-size: 20px; } }
@media (max-width: 500px) { body[data-design="mapa1"] .leaflet-control-zoom { margin: 0 14px max(16px, env(safe-area-inset-bottom)) 0 !important; } body[data-design="mapa1"] .leaflet-control-attribution { max-width: calc(100vw - 80px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
