@font-face{font-family:GuideGrotesk;src:url('/fonts/space-grotesk-variable.woff2') format('woff2');font-display:swap}
:root{--guide-sand:#e8dcc7;--guide-oat:#d4b895;--guide-sage:#8b9d83;--guide-moss:#606c38;--guide-clay:#b08b6e;--guide-terracotta:#c66b3d;--guide-ink:#293126;--guide-paper:#f6ecd9;--guides-shell-clearance:max(7rem,calc(6rem + env(safe-area-inset-top)))}
body[data-route="guias"]{margin:0;background:var(--guide-sand);color:var(--guide-ink);font-family:GuideGrotesk,system-ui,sans-serif}
[data-guides-public]{box-sizing:border-box} [data-guides-public] *,[data-guides-public] *::before,[data-guides-public] *::after{box-sizing:inherit}
[data-guides-public] a{color:var(--guide-moss);text-underline-offset:.2em}[data-guides-public] button,[data-guides-public] input{font:inherit}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:1000;left:1rem;top:-5rem;background:var(--guide-ink);color:var(--guide-sand);padding:.8rem 1rem;border-radius:0 0 18px 18px}.skip-link:focus{top:0}
.guides-map-page{position:relative;width:100%;height:100svh;min-height:32rem;overflow:hidden;background:var(--guide-sage)}
.guides-map{position:absolute;inset:0;z-index:1}.guides-map-page .leaflet-control-zoom{margin-top:calc(var(--guides-shell-clearance) + 4.75rem)!important}.guides-search{position:absolute;z-index:500;top:var(--guides-shell-clearance);left:50%;width:min(42rem,calc(100% - 2rem));transform:translateX(-50%) rotate(-.7deg)}
.guides-map-page .leaflet-bottom.leaflet-right{right:.25rem;bottom:.25rem}.guides-map-page .leaflet-control-attribution{margin:0!important;max-width:min(13.5rem,calc(100vw - 2rem));padding:.14rem .32rem!important;border:1px solid color-mix(in srgb,var(--guide-ink),transparent 48%);border-radius:999px;background:color-mix(in srgb,var(--guide-paper),transparent 24%)!important;box-shadow:2px 2px 0 color-mix(in srgb,#00ffcc,transparent 48%);color:color-mix(in srgb,var(--guide-ink),transparent 24%)!important;font:800 clamp(.42rem,1.1vw,.55rem)/1.1 var(--font-mono,monospace)!important;letter-spacing:.01em;text-align:right}.guides-map-page .leaflet-control-attribution a{color:inherit!important;text-decoration:none}.guides-map-page .leaflet-control-attribution span{color:var(--guide-ink)}.guides-map-page .maplibregl-ctrl-attrib,.guides-map-page .maplibregl-ctrl-logo{display:none!important}
.guides-search::before{content:"BUSCAR GUÍA PARA DARLE A LA PATA";position:absolute;z-index:2;left:1.35rem;top:-.78rem;padding:.22rem .55rem;border:2px solid var(--guide-ink);border-radius:999px;background:linear-gradient(135deg,#dfff00 0 70%,#00ffcc 70% 100%);color:var(--guide-ink);box-shadow:3px 3px 0 #ff006e;font-size:.68rem;font-weight:900;letter-spacing:.08em}.guides-search::after{content:"⌕";position:absolute;z-index:2;right:1.05rem;top:2rem;width:2rem;height:2rem;display:grid;place-items:center;border:2px solid var(--guide-ink);border-radius:50%;background:#dfff00;color:var(--guide-ink);box-shadow:3px 3px 0 #00ffcc;transform:translateY(-50%) rotate(8deg);font-size:1.35rem;font-weight:900;pointer-events:none}
.guides-search input{width:100%;min-height:4rem;border:3px solid var(--guide-ink);border-radius:18px 28px 18px 28px;padding:1.05rem 4rem .9rem 1.25rem;background:linear-gradient(135deg,#dfff00 0 1rem,color-mix(in srgb,var(--guide-paper),white 9%) 1rem 100%);color:var(--guide-ink);box-shadow:7px 7px 0 #ff006e,-4px -4px 0 #00ffcc,0 16px 36px color-mix(in srgb,var(--guide-ink),transparent 78%);outline:none;font-weight:800;letter-spacing:-.015em}.guides-search input::placeholder{color:color-mix(in srgb,var(--guide-ink),transparent 34%);font-weight:700}.guides-search input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}.guides-search input:focus{border-color:var(--guide-ink);outline:3px solid #00ffcc;outline-offset:4px;box-shadow:7px 7px 0 #ff006e,-4px -4px 0 #00ffcc,0 0 0 7px color-mix(in srgb,#dfff00,transparent 54%),0 16px 36px color-mix(in srgb,var(--guide-ink),transparent 78%)}
.guides-search ul{max-height:min(56vh,25rem);overflow:auto;margin:.8rem 0 0;padding:.45rem;list-style:none;border:3px solid var(--guide-ink);border-radius:20px;background:color-mix(in srgb,var(--guide-paper),white 8%);box-shadow:7px 7px 0 #ff006e,-3px -3px 0 #00ffcc,0 16px 42px color-mix(in srgb,var(--guide-ink),transparent 72%)}.guides-search li{display:flex;justify-content:space-between;gap:1rem;padding:.85rem 1rem;border-radius:14px;cursor:pointer;font-weight:800}.guides-search li[aria-selected="true"],.guides-search li:hover{background:linear-gradient(135deg,#dfff00 0 72%,#00ffcc 72% 100%);box-shadow:inset 0 0 0 2px var(--guide-ink)}.guides-search li span{color:color-mix(in srgb,var(--guide-ink),transparent 25%);font-weight:700}.guides-search .guide-flag{font-size:1.25em;line-height:1;margin-right:.1rem}
.guides-search.is-filled::after{display:none}
.guides-search .guide-search-clear{position:absolute;z-index:3;right:1.05rem;top:2rem;width:2rem;height:2rem;display:grid;place-items:center;border:2px solid var(--guide-ink);border-radius:50%;background:linear-gradient(135deg,#ff006e 0 50%,#dfff00 50% 100%);color:var(--guide-ink);box-shadow:3px 3px 0 #00ffcc;transform:translateY(-50%) rotate(8deg);font-size:1.05rem;font-weight:900;cursor:pointer;animation:guide-clear-pop .45s cubic-bezier(.34,1.56,.64,1)}
.guides-search .guide-search-clear:hover,.guides-search .guide-search-clear:focus-visible{background:#ff006e;transform:translateY(-50%) rotate(200deg) scale(1.15)}
.guides-search .guide-search-clear:focus-visible{outline:3px solid #00ffcc;outline-offset:3px}
.guides-search .guide-search-clear.is-spinning{animation:guide-clear-spin .8s cubic-bezier(.34,1.56,.64,1)}
@keyframes guide-clear-pop{from{transform:translateY(-50%) rotate(200deg) scale(0)}to{transform:translateY(-50%) rotate(8deg) scale(1)}}
@keyframes guide-clear-spin{0%{transform:translateY(-50%) rotate(8deg) scale(1)}35%{transform:translateY(-50%) rotate(392deg) scale(1.5)}70%{transform:translateY(-50%) rotate(752deg) scale(.92)}100%{transform:translateY(-50%) rotate(728deg) scale(1)}}
@media(max-width:760px){.guides-search .guide-search-clear{right:.75rem;top:1.775rem;width:1.75rem;height:1.75rem;font-size:.95rem}}
body[data-route="guias"] .guide-reader-tools .guides-search .guide-search-clear{right:.7rem;width:1.65rem;height:1.65rem;font-size:.95rem}
body[data-route="guias"] .guide-reader-tools .guides-search .guide-search-clear.is-spinning{animation:guide-clear-spin .8s cubic-bezier(.34,1.56,.64,1)}
@media(max-width:760px){body[data-route="guias"] .guide-reader-tools .guides-search .guide-search-clear{right:.48rem;width:1.45rem;height:1.45rem;font-size:.85rem}}
.guides-selection{position:absolute;z-index:450;left:1rem;bottom:max(1rem,env(safe-area-inset-bottom));width:min(22rem,calc(100% - 2rem));padding:1rem 1.1rem;border-radius:24px;background:var(--guide-paper);box-shadow:0 18px 48px color-mix(in srgb,var(--guide-ink),transparent 70%)}.guides-selection p{margin:0;color:var(--guide-moss);font-size:.85rem}.guides-selection h2{margin:.15rem 0 .75rem;font-size:clamp(1.35rem,4vw,2rem)}.guides-selection a{display:inline-flex;min-height:44px;align-items:center;padding:.65rem 1rem;border-radius:18px;background:var(--guide-moss);color:var(--guide-paper);text-decoration:none;font-weight:700}
.guides-list-fallback{position:relative;z-index:2;margin:6rem auto 2rem;width:min(50rem,calc(100% - 2rem));max-height:calc(100svh - 8rem);overflow:auto;padding:1rem;border-radius:24px;background:var(--guide-paper)}.guides-list-fallback ul{display:grid;gap:.5rem;padding:0;list-style:none}.guides-list-fallback a{display:block;min-height:44px;padding:.7rem;border-radius:14px;background:var(--guide-sand)}
.guide-cluster-wrap,.guide-pin-wrap{background:transparent;border:0}.guide-cluster{display:grid;width:50px;height:50px;place-items:center;border:3px solid var(--guide-ink);border-radius:16px;background:#dfff00;color:var(--guide-ink);font-weight:900;box-shadow:5px 5px 0 #ff006e,-3px -3px 0 #00ffcc,0 8px 18px color-mix(in srgb,var(--guide-ink),transparent 58%);transform:rotate(-3deg)}.guide-pin-wrap{filter:drop-shadow(0 9px 13px color-mix(in srgb,var(--guide-ink),transparent 56%))}.guide-pin{position:relative;display:grid;width:54px;height:60px;place-items:center;transform:rotate(-8deg);border:3px solid var(--guide-ink);border-radius:52% 48% 48% 52%/55% 54% 46% 45%;background:linear-gradient(135deg,#dfff00 0 58%,#00ffcc 58% 100%);box-shadow:6px 6px 0 #ff006e,-3px -3px 0 #00ffcc;transition:transform .18s ease,filter .18s ease}.guide-pin::before{content:"";position:absolute;inset:7px 8px 8px;border:2px solid var(--guide-ink);border-radius:inherit;background:color-mix(in srgb,var(--guide-paper),transparent 8%)}.guide-pin::after{content:"";position:absolute;left:50%;bottom:-9px;width:18px;height:18px;border-right:3px solid var(--guide-ink);border-bottom:3px solid var(--guide-ink);background:#dfff00;box-shadow:4px 4px 0 #ff006e;transform:translateX(-50%) rotate(45deg);z-index:-1}.guide-pin-foot{position:relative;z-index:1;width:38px;height:34px;color:#ff006e;overflow:visible;transform:rotate(-13deg) translateY(1px);filter:drop-shadow(1.5px 1.5px 0 var(--guide-ink)) drop-shadow(-1px -1px 0 var(--guide-ink))}.guide-pin-foot path:first-child{fill:currentColor;stroke:var(--guide-ink);stroke-width:1.8;stroke-linejoin:round}.guide-pin-foot path:last-child{fill:none;stroke:#dfff00;stroke-width:2.2;stroke-linecap:round}.leaflet-marker-icon:hover .guide-pin,.leaflet-marker-icon:focus .guide-pin{transform:rotate(-4deg) scale(1.13);filter:saturate(1.12)}
.guide-reader,.guide-place,.guide-state{width:min(76rem,100%);margin:0 auto;padding:var(--guides-shell-clearance) clamp(1rem,4vw,4rem) clamp(1rem,4vw,4rem);font-size:clamp(1.08rem,1.2vw,1.25rem);line-height:1.68}.guide-hero{padding:clamp(1.25rem,5vw,4.5rem);border-radius:32px;background:var(--guide-moss);color:var(--guide-paper)}.guide-hero a{color:inherit}.guide-hero>p{margin:.4rem 0}.guide-hero h1{margin:.1em 0;font-size:clamp(2.7rem,9vw,6.7rem);line-height:.92;letter-spacing:-.055em}.guide-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;margin-top:1.2rem}.guide-actions button,.guide-place-card button{min-height:44px;padding:.65rem .9rem;border:1px solid currentColor;border-radius:18px;background:transparent;color:inherit;cursor:pointer}
.guide-pdf-button{position:relative;display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;gap:.38rem;padding:.45rem .7rem!important;border-color:color-mix(in srgb,currentColor,transparent 42%)!important;font-size:.86rem;font-weight:700}.guide-pdf-button:hover,.guide-pdf-button:focus-visible{background:color-mix(in srgb,var(--guide-paper),transparent 84%)}.guide-pdf-button:focus-visible{outline:3px solid var(--guide-paper);outline-offset:2px}.guide-pdf-button:disabled{cursor:wait;opacity:.75}.guide-pdf-icon{font-size:1.15em}.guide-pdf-label>span:last-child{display:none}.guide-pdf-status{flex-basis:100%;min-height:1.2em;font-size:.82rem}.guide-pdf-spinner{width:.9rem;height:.9rem;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:guide-pdf-spin .8s linear infinite}@keyframes guide-pdf-spin{to{transform:rotate(1turn)}}
@media(min-width:560px){.guide-pdf-label>span:first-child{display:none}.guide-pdf-label>span:last-child{display:inline}}
.guide-index{position:sticky;z-index:10;top:calc(var(--guides-shell-clearance) + .5rem);margin:1rem 0;padding:.7rem;border:1px solid color-mix(in srgb,var(--guide-moss),transparent 65%);border-radius:22px;background:color-mix(in srgb,var(--guide-sand),transparent 5%);backdrop-filter:blur(12px)}.guide-index>button{display:none}.guide-index ol{display:flex;gap:.4rem;margin:0;padding:0;overflow:auto;list-style:none}.guide-index a{display:flex;gap:.35rem;white-space:nowrap;padding:.55rem .7rem;border-radius:14px;text-decoration:none}.guide-index a:hover,.guide-index a:focus{background:var(--guide-oat)}.guide-index span{font-variant-numeric:tabular-nums;color:var(--guide-terracotta)}
.guide-chapter{scroll-margin-top:7rem;margin:clamp(2.5rem,7vw,6rem) 0}.guide-chapter>header{display:grid;grid-template-columns:auto 1fr;align-items:end;gap:1rem;border-bottom:2px solid var(--guide-moss)}.guide-chapter>header>span{font-size:clamp(2.8rem,7vw,6rem);line-height:.8;color:var(--guide-terracotta)}.guide-chapter h2{margin:.2rem 0;font-size:clamp(1.7rem,4vw,3.25rem);line-height:1}.guide-chapter p,.guide-chapter ul,.guide-chapter ol{max-width:72ch}.guide-index-return{display:inline-block;margin-top:1rem;font-size:.9rem}
.guide-place-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:1rem;margin-top:1.5rem}.guide-place-card{padding:1.1rem;border-radius:24px;background:var(--guide-oat)}.guide-place-card h3{margin:.15rem 0;font-size:1.35rem}.guide-place-card>div{display:flex;flex-wrap:wrap;gap:.55rem;align-items:center}.guide-place-card a,.guide-place-card button{display:inline-flex;align-items:center;min-height:44px;padding:.6rem .75rem;border-radius:16px}.guide-place-card>a:first-child{font-weight:700}.guide-table-wrap{max-width:100%;overflow:auto}.guide-table-wrap table{width:100%;border-collapse:collapse}.guide-table-wrap th,.guide-table-wrap td{padding:.7rem;border-bottom:1px solid var(--guide-sage);text-align:left}
.guide-place article,.guide-state{margin-top:8vh;padding:clamp(1.5rem,6vw,5rem);border-radius:32px;background:var(--guide-paper)}.guide-place h1,.guide-state h1{font-size:clamp(2.5rem,8vw,6rem);line-height:.95}.guide-maps-link{display:inline-flex;min-height:44px;align-items:center;padding:.7rem 1rem;border-radius:18px;background:var(--guide-moss);color:var(--guide-paper)!important;text-decoration:none}
.guide-place-kicker{margin:0 0 1rem;color:var(--guide-moss);font-weight:700;letter-spacing:.035em}.guide-place-summary{max-width:42rem;margin:1.25rem 0 0;font-size:clamp(1.1rem,1.6vw,1.35rem)}.guide-place-links{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.5rem}.guide-website-link{display:inline-flex;min-height:44px;align-items:center;padding:.7rem 1rem;border:1px solid var(--guide-moss);border-radius:18px;color:var(--guide-moss)!important;text-decoration:none}.guide-place-context{margin:2.25rem 0 0;padding-top:1.25rem;border-top:1px solid var(--guide-sage);font-size:.95em}
.guide-reader footer{margin-top:5rem;padding-top:1rem;border-top:1px solid var(--guide-sage);font-size:.9rem}
.guide-reader>section[aria-label="Otras guías del país"] a{display:inline-flex;align-items:center;min-height:44px;padding:.45rem .35rem}
@media(max-width:768px){.guide-index>button{display:block;width:100%;min-height:44px;border:0;background:transparent;text-align:left;font-weight:700}.guide-index ol{display:none;flex-direction:column;max-height:55vh}.guide-index.is-open ol{display:flex}.guide-chapter>header{grid-template-columns:3.2rem 1fr}.guide-chapter>header>span{font-size:2.4rem}.guide-table-wrap table,.guide-table-wrap thead,.guide-table-wrap tbody,.guide-table-wrap tr,.guide-table-wrap td{display:block}.guide-table-wrap thead{position:absolute;clip:rect(0 0 0 0)}.guide-table-wrap tr{margin:.7rem 0;padding:.7rem;border-radius:18px;background:var(--guide-oat)}.guide-table-wrap td{border:0}.guides-search{top:calc(var(--guides-shell-clearance) + .4rem);width:calc(100% - 1.7rem);transform:translateX(-50%)}.guides-search::before{left:1rem;top:-.64rem;font-size:.58rem}.guides-search::after{right:.75rem;top:1.775rem;width:1.75rem;height:1.75rem;font-size:1.1rem}.guides-search input{min-height:3.55rem;border-radius:16px 24px 16px 24px;padding-left:1rem;padding-right:3.45rem;font-size:.98rem}.guides-search ul{max-height:38vh}.guides-selection{left:50%;transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){[data-guides-public] *,[data-guides-public] *::before,[data-guides-public] *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}.guide-pdf-spinner{border-right-color:currentColor}}
@media(forced-colors:active){.guide-cluster,.guide-pin{forced-color-adjust:auto}.guides-search input,.guide-place-card{border:1px solid CanvasText}}
body[data-route="guias"] .app-header .brand{max-width:min(21rem,calc(100vw - 8.5rem));min-height:3.25rem;padding:.38rem .75rem .38rem .45rem;gap:.45rem;border-width:3px;box-shadow:5px 5px 0 var(--pink);transform:rotate(-.75deg)}
body[data-route="guias"] .app-header .brand-mark-stage{width:2.75rem;height:2.75rem}
body[data-route="guias"] .app-header .brand-copy strong,body[data-route="mapa"] .app-header .brand-copy strong{font-size:clamp(1.05rem,2.2vw,1.55rem);line-height:.86;letter-spacing:-.052em;text-shadow:1.5px 0 var(--pink),-1.5px 0 var(--cyan)}
body[data-route="guias"] .app-header .brand-copy small,body[data-route="mapa"] .app-header .brand-copy small{margin-top:.22rem;font-size:clamp(.36rem,.62vw,.47rem);line-height:1.05;letter-spacing:.025em}
@media(max-width:760px){body[data-route="guias"]{--guides-shell-clearance:max(5.25rem,calc(4.75rem + env(safe-area-inset-top)))}body[data-route="guias"] .app-header .brand,body[data-route="mapa"] .app-header .brand{max-width:min(13.75rem,calc(100vw - 7.5rem));min-height:2.75rem;padding:.28rem .55rem .28rem .32rem;gap:.32rem;box-shadow:4px 4px 0 var(--pink)}body[data-route="guias"] .app-header .brand-mark-stage,body[data-route="mapa"] .app-header .brand-mark-stage{width:2rem;height:2.35rem}body[data-route="guias"] .app-header .brand-copy strong,body[data-route="mapa"] .app-header .brand-copy strong{font-size:clamp(.82rem,4vw,1rem);line-height:.88;word-spacing:.04em;text-shadow:1px 0 var(--pink),-1px 0 var(--cyan)}body[data-route="guias"] .app-header .brand-copy small,body[data-route="mapa"] .app-header .brand-copy small{display:none}.guides-map-page .leaflet-control-zoom{margin-top:calc(var(--guides-shell-clearance) + 4.25rem)!important}}
@media(max-width:350px){body[data-route="guias"] .app-header .brand{max-width:min(12rem,calc(100vw - 8.25rem));padding-right:.45rem}body[data-route="guias"] .app-header .brand-mark-stage{width:1.75rem;height:2.05rem}body[data-route="guias"] .app-header .brand-copy strong,body[data-route="mapa"] .app-header .brand-copy strong{font-size:.75rem}}
body[data-route="guias"] .guide-reader{width:min(82rem,100%);display:grid;grid-template-columns:minmax(13.5rem,17rem) minmax(0,1fr);grid-template-areas:"hero hero" "index content" "foot foot";gap:clamp(1.25rem,2.7vw,2.4rem);padding:calc(var(--guides-shell-clearance) + 1rem) clamp(1rem,3vw,3rem) clamp(2rem,4vw,4rem);background:linear-gradient(90deg,color-mix(in srgb,var(--guide-sand),white 5%) 0 18%,var(--guide-sand) 18% 100%);font-size:clamp(1.04rem,1.08vw,1.16rem)}
/* La portada ocupa una fila propia antes del índice y los capítulos. */
body[data-route="guias"] .guide-reader:has(> .guide-punto-foto){grid-template-areas:"hero hero" "cover cover" "index content" "foot foot"}
body[data-route="guias"] .guide-reader > .guide-punto-foto{grid-area:cover}
body[data-route="guias"] .guide-hero{grid-area:hero;position:relative;overflow:hidden;border:3px solid var(--guide-ink);border-radius:28px;background:linear-gradient(135deg,#dfff00 0 1.15rem,var(--guide-moss) 1.15rem 100%);box-shadow:9px 9px 0 #ff006e,-5px -5px 0 #00ffcc;color:var(--guide-paper);padding:clamp(1.3rem,3.2vw,3.3rem)}
body[data-route="guias"] .guide-hero::after{content:"";position:absolute;inset:auto -2rem -2.5rem auto;width:min(22rem,42vw);aspect-ratio:1;border:2px dashed color-mix(in srgb,var(--guide-paper),transparent 48%);border-radius:50%;transform:rotate(-10deg);opacity:.42;pointer-events:none}
.guide-back{display:none}
body[data-route="guias"] .guide-map-return{display:inline-flex;align-items:center;min-height:44px;padding:.56rem .8rem;border:2px solid currentColor;border-radius:999px;background:color-mix(in srgb,var(--guide-paper),transparent 86%);font-weight:900;text-decoration:none}
body[data-route="guias"] .guide-map-return::before{content:"←";margin-right:.38rem}
body[data-route="guias"] .guide-hero>p:first-of-type{display:inline-flex;margin:1rem 0 .25rem;padding:.22rem .55rem;border:2px solid var(--guide-paper);border-radius:999px;color:var(--guide-paper);font:900 .78rem/1 var(--font-mono,monospace);letter-spacing:.08em;text-transform:uppercase}
body[data-route="guias"] .guide-hero-country{align-items:center;gap:.42rem}
body[data-route="guias"] .guide-hero-country img{display:block;flex:none;width:24px;height:16px;border:1.5px solid var(--guide-paper);border-radius:3px;object-fit:cover;background:#fff}
body[data-route="guias"] .guide-hero h1{max-width:10ch;margin:.05em 0 .12em;font-size:clamp(4.3rem,13vw,9rem);line-height:.78;letter-spacing:-.075em;text-shadow:4px 0 #ff006e,-4px 0 #00ffcc}
body[data-route="guias"] .guide-hero>p:last-of-type{max-width:40rem;margin:.4rem 0 0;color:color-mix(in srgb,var(--guide-paper),transparent 12%);font-weight:800}
body[data-route="guias"] .guide-actions{position:relative;z-index:1;margin-top:1.35rem}
body[data-route="guias"] .guide-actions button,body[data-route="guias"] .guide-pdf-button{min-height:2.1rem;padding:.32rem .95rem;border:0!important;border-radius:999px;background:#293126;color:#f6ecd9;box-shadow:none;font-weight:700;font-size:.85rem;letter-spacing:.03em;transition:transform .2s,background .2s}
body[data-route="guias"] .guide-actions button:hover,body[data-route="guias"] .guide-actions button:focus-visible{transform:translateY(-1px);background:#1c211b}
body[data-route="guias"] .guide-actions button:focus-visible{outline:3px solid #dfff00;outline-offset:2px}
body[data-route="guias"] .guide-actions .guide-pdf-button{min-width:2.4rem;padding:.32rem .8rem!important}
body[data-route="guias"] .guide-index{grid-area:index;position:sticky;top:calc(var(--guides-shell-clearance) + .9rem);align-self:start;margin:0;padding:.7rem;border:3px solid var(--guide-ink);border-radius:0;background:var(--guide-paper);box-shadow:7px 7px 0 #ff006e,-3px -3px 0 #00ffcc;backdrop-filter:none;transform:rotate(-.45deg)}
body[data-route="guias"] .guide-index::before{content:"PISTAS DE LA GUÍA";display:inline-flex;margin:0 0 .55rem;padding:.22rem .45rem;border:2px solid var(--guide-ink);background:#dfff00;color:var(--guide-ink);box-shadow:3px 3px 0 #00ffcc;font:900 .68rem/1 var(--font-mono,monospace);letter-spacing:.08em}
body[data-route="guias"] .guide-index>button{display:none}
body[data-route="guias"] .guide-index ol{display:grid;grid-template-columns:1fr;gap:.42rem;margin:0;padding:0;overflow:visible;list-style:none}
body[data-route="guias"] .guide-index-track{display:contents}
@media(min-width:901px){body[data-route="guias"] .guide-index-track{display:block;grid-area:index;min-width:0}body[data-route="guias"] .guide-index{display:flex;flex-direction:column;max-height:calc(100svh - var(--guides-shell-clearance) - 1.9rem)}body[data-route="guias"] .guide-index::before{flex-shrink:0;align-self:flex-start}body[data-route="guias"] .guide-index ol{min-height:0;overflow-y:auto;overflow-x:hidden}}
body[data-route="guias"] .guide-index a{display:grid;grid-template-columns:2.05rem auto minmax(0,1fr);align-items:center;column-gap:.5rem;min-height:44px;padding:.52rem .6rem;border:2px solid transparent;border-bottom:2px solid color-mix(in srgb,var(--guide-ink),transparent 45%);border-radius:0;color:var(--guide-ink);text-decoration:none;white-space:normal;font-weight:900;line-height:1.08}
body[data-route="guias"] .guide-index a:hover,body[data-route="guias"] .guide-index a:focus-visible{border-color:var(--guide-ink);background:linear-gradient(135deg,#dfff00 0 72%,#00ffcc 72% 100%);box-shadow:3px 3px 0 #ff006e;outline:none;transform:translate(-1px,-1px)}
body[data-route="guias"] .guide-index span{display:grid;width:1.85rem;height:1.85rem;place-items:center;border:2px solid var(--guide-ink);border-radius:5px;background:#ff006e;color:var(--guide-paper);font:900 .7rem/1 var(--font-mono,monospace)}
body[data-route="guias"] #guide-content{grid-area:content;min-width:0}
body[data-route="guias"] .guide-chapter{scroll-margin-top:calc(var(--guides-shell-clearance) + 1.5rem);margin:0 0 clamp(2rem,5vw,4.5rem);padding:clamp(1.05rem,2.3vw,2rem);border-left:5px solid var(--guide-moss);background:linear-gradient(180deg,color-mix(in srgb,var(--guide-paper),transparent 34%),transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--guide-ink),transparent 86%)}
body[data-route="guias"] .guide-chapter>header{display:grid;grid-template-columns:clamp(3.2rem,6vw,5rem) minmax(0,1fr);align-items:end;gap:.85rem;margin-bottom:1.15rem;border-bottom:3px solid var(--guide-ink)}
body[data-route="guias"] .guide-chapter>header>span{display:grid;place-items:center;width:clamp(3.1rem,6vw,4.7rem);height:clamp(3.1rem,6vw,4.7rem);border:3px solid var(--guide-ink);border-radius:6px;background:#dfff00;color:var(--guide-ink);box-shadow:5px 5px 0 #ff006e;font-size:clamp(1.25rem,3vw,2rem);line-height:1}
body[data-route="guias"] .guide-chapter h2{margin:.1rem 0 .32rem;font-size:clamp(2.15rem,5vw,4.9rem);line-height:.9;letter-spacing:-.06em;color:var(--guide-ink)}
body[data-route="guias"] .guide-chapter h3,body[data-route="guias"] .guide-chapter h4{margin:1.5em 0 .45em;font-size:clamp(1.35rem,2.6vw,2rem);line-height:1;color:var(--guide-moss)}
body[data-route="guias"] .guide-chapter>header+h2{display:none}
body[data-route="guias"] .guide-chapter>h2{margin:1.35em 0 .55em;font-size:clamp(1.7rem,3vw,2.35rem);line-height:1;letter-spacing:-.035em;color:var(--guide-ink)}
body[data-route="guias"] .guide-chapter p,body[data-route="guias"] .guide-chapter ul,body[data-route="guias"] .guide-chapter ol{max-width:64ch;overflow-wrap:anywhere;word-break:break-word}
body[data-route="guias"] .guide-chapter a,body[data-route="guias"] .guide-chapter li{overflow-wrap:anywhere;word-break:break-word}
body[data-route="guias"] .guide-chapter li{margin:.55rem 0;padding-left:.2rem}
body[data-route="guias"] .guide-index-return{display:none}
body[data-route="guias"] .guide-place-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:.9rem}
body[data-route="guias"] .guide-place-card{border:2px solid var(--guide-ink);border-radius:0;background:var(--guide-paper);box-shadow:5px 5px 0 var(--guide-oat);padding:1rem}
body[data-route="guias"] .guide-place-card h3{font-size:clamp(1.35rem,2.5vw,1.75rem);line-height:1;color:var(--guide-ink)}
body[data-route="guias"] .guide-place-card a,body[data-route="guias"] .guide-place-card button{border:2px solid var(--guide-ink);border-radius:0;background:#dfff00;color:var(--guide-ink)!important;box-shadow:3px 3px 0 #00ffcc;font-weight:900;text-decoration:none}
body[data-route="guias"] .guide-place-card a.guide-report-gone,body[data-route="guias"] .guide-place-card a.guide-place-maps{display:inline-flex;width:fit-content;justify-self:start;min-height:auto;padding:.25rem .1rem;border:0;background:transparent;box-shadow:none;color:var(--guide-moss)!important;font-weight:700;font-size:.82rem;text-decoration:underline;text-underline-offset:2px}
body[data-route="guias"] .guide-reader footer{grid-area:foot;margin:0;padding:1rem;border-top:3px solid var(--guide-ink);font:800 .85rem/1.35 var(--font-mono,monospace);color:var(--guide-moss)}
@media(max-width:900px){body[data-route="guias"] .guide-reader{display:block;width:min(44rem,100%);padding:calc(var(--guides-shell-clearance) + .75rem) clamp(.85rem,4vw,1.25rem) 2rem;background:var(--guide-sand)}body[data-route="guias"] .guide-hero{padding:1.1rem 1rem 1.25rem;border-radius:20px;box-shadow:6px 6px 0 #ff006e,-3px -3px 0 #00ffcc}body[data-route="guias"] .guide-hero h1{font-size:clamp(3.2rem,18vw,5.2rem);text-shadow:3px 0 #ff006e,-3px 0 #00ffcc}body[data-route="guias"] .guide-index{z-index:620;top:calc(var(--guides-shell-clearance) + 3.15rem);margin:1rem 0 1.35rem;padding:.45rem;border-radius:0;transform:none}body[data-route="guias"] .guide-index::before{display:none}body[data-route="guias"] .guide-index>button{position:relative;display:flex;width:100%;min-height:44px;align-items:center;justify-content:center;padding:.35rem 3rem .35rem .65rem;border:2px solid var(--guide-ink);background:linear-gradient(135deg,#dfff00 0 70%,#00ffcc 70% 100%);color:var(--guide-ink);box-shadow:3px 3px 0 #ff006e;text-align:center;font-weight:950;letter-spacing:.04em;text-transform:uppercase}body[data-route="guias"] .guide-index>button::after{content:"↓";position:absolute;right:.55rem;display:grid;width:1.65rem;height:1.65rem;place-items:center;border:2px solid var(--guide-ink);border-radius:50%;background:var(--guide-paper)}body[data-route="guias"] .guide-index.is-open>button::after{content:"↑"}body[data-route="guias"] .guide-index ol{display:none;grid-template-columns:1fr;gap:.38rem;max-height:min(58svh,28rem);margin:.55rem 0 0;padding:.1rem;overflow-y:auto;overflow-x:hidden}body[data-route="guias"] .guide-index.is-open ol{display:grid}body[data-route="guias"] .guide-index a{min-height:48px;padding:.58rem .62rem;font-size:.98rem}body[data-route="guias"] .guide-chapter{scroll-margin-top:calc(var(--guides-shell-clearance) + 5.6rem);margin-bottom:2.2rem;padding:1rem .35rem 1rem .85rem;border-left-width:4px;background:transparent;box-shadow:none}body[data-route="guias"] .guide-chapter>header{grid-template-columns:3.1rem minmax(0,1fr);gap:.65rem;margin-bottom:.9rem}body[data-route="guias"] .guide-chapter>header>span{width:2.8rem;height:2.8rem;font-size:1.05rem;box-shadow:4px 4px 0 #ff006e}body[data-route="guias"] .guide-chapter h2{font-size:clamp(2.15rem,12vw,3.45rem);line-height:.92}body[data-route="guias"] .guide-chapter>h2{font-size:clamp(1.55rem,7vw,2.25rem);line-height:1.02;letter-spacing:-.035em}body[data-route="guias"] .guide-chapter p,body[data-route="guias"] .guide-chapter li{font-size:1.02rem;line-height:1.62}body[data-route="guias"] .guide-place-card>div{display:grid;grid-template-columns:1fr;align-items:stretch}body[data-route="guias"] .guide-place-card a,body[data-route="guias"] .guide-place-card button{justify-content:center;width:100%;min-height:48px}}

body[data-route="guias"] .guide-reader-tools{position:fixed;z-index:1500;top:calc(var(--guides-shell-clearance) - .1rem);left:50%;width:min(64rem,calc(100vw - 2rem - env(safe-area-inset-left) - env(safe-area-inset-right)));display:grid;grid-template-columns:auto minmax(16rem,34rem);align-items:start;justify-content:center;gap:.7rem;transform:translateX(-50%);pointer-events:none}
body[data-route="guias"] .guide-reader-tools>*{pointer-events:auto}
body[data-route="guias"] .guide-reader-tools .guide-map-return{display:inline-flex;align-items:center;justify-content:center;min-height:3.15rem;padding:.62rem .9rem;border:3px solid var(--guide-ink);border-radius:0;background:linear-gradient(135deg,#dfff00 0 72%,#00ffcc 72% 100%);color:var(--guide-ink);box-shadow:5px 5px 0 #ff006e;text-decoration:none;text-transform:uppercase;font:950 .78rem/1 var(--font-mono,monospace);letter-spacing:.04em;white-space:nowrap;transform:rotate(-1.2deg)}
body[data-route="guias"] .guide-reader-tools .guide-map-return::before{content:"←";margin-right:.4rem;font-size:1rem}
body[data-route="guias"] .guide-reader-tools .guides-search{position:relative;z-index:1;top:auto;left:auto;width:100%;transform:rotate(-.45deg)}
body[data-route="guias"] .guide-reader-tools .guides-search::before{left:.8rem;top:-.6rem;font-size:.56rem;box-shadow:2px 2px 0 #ff006e}
body[data-route="guias"] .guide-reader-tools .guides-search::after{right:.7rem;width:1.65rem;height:1.65rem;font-size:1.05rem;box-shadow:2px 2px 0 #00ffcc}
body[data-route="guias"] .guide-reader-tools .guides-search input{min-height:3.15rem;border-width:3px;border-radius:0;padding:.76rem 3rem .68rem .95rem;background:linear-gradient(135deg,#dfff00 0 .72rem,color-mix(in srgb,var(--guide-paper),white 10%) .72rem 100%);box-shadow:5px 5px 0 #ff006e,-3px -3px 0 #00ffcc,0 10px 22px color-mix(in srgb,var(--guide-ink),transparent 82%);font-size:.98rem}
body[data-route="guias"] .guide-reader-tools .guides-search ul{position:absolute;right:0;left:0;max-height:min(46vh,20rem);box-shadow:5px 5px 0 #ff006e,-3px -3px 0 #00ffcc,0 14px 30px color-mix(in srgb,var(--guide-ink),transparent 72%)}
body[data-route="guias"] .guide-reader,body[data-route="guias"] .guide-place{padding-top:calc(var(--guides-shell-clearance) + 6rem)}
body[data-route="guias"] .guide-index{top:calc(var(--guides-shell-clearance) + 5.25rem)}
body[data-route="guias"] .guide-chapter{scroll-margin-top:calc(var(--guides-shell-clearance) + 6.2rem)}
@media(max-width:700px){
/* Movil: fila superior logo + flecha + menu; el indice, pegado debajo,
   ocupa todo el ancho y acompana el scroll. Nada tapa el texto. */
body[data-route="guias"] .app-header{position:fixed;top:0;left:0;right:0;width:auto;display:flex;align-items:center;gap:.55rem;padding:calc(.4rem + env(safe-area-inset-top)) .6rem .4rem;border-radius:0;box-shadow:0 3px 0 color-mix(in srgb,var(--guide-ink),transparent 82%);background:var(--guide-sand);border-bottom:2px solid var(--guide-ink)}
body[data-route="guias"] .app-header .menu-toggle{margin-left:auto;position:relative;right:auto;width:2.9rem;height:2.9rem;border-width:2px;box-shadow:3px 3px 0 var(--cyan)}
body[data-route="guias"] .app-header .guide-back{display:inline-flex;min-height:44px;width:auto;align-items:center;justify-content:center;gap:.3rem;padding:.35rem .65rem;border:2px solid var(--guide-ink);border-radius:999px;background:linear-gradient(135deg,#dfff00 0 72%,#00ffcc 72% 100%);box-shadow:3px 3px 0 #ff006e;color:var(--guide-ink);font:950 .72rem/1 var(--font-mono,monospace);letter-spacing:.04em;text-transform:uppercase;text-decoration:none;white-space:nowrap}
body[data-route="guias"] .guide-reader-tools{display:none}
body[data-route="guias"] .guide-reader,body[data-route="guias"] .guide-place{padding-top:calc(4.4rem + env(safe-area-inset-top))!important}
body[data-route="guias"] .guide-index{position:sticky;top:calc(4.15rem + env(safe-area-inset-top));left:0;right:0;width:100%;margin:0 0 .8rem;padding:0 .45rem;border-radius:0;border-left:0;border-right:0;z-index:60}
body[data-route="guias"] .guide-index>button{padding:.35rem 3rem}
body[data-route="guias"] .guide-chapter{scroll-margin-top:calc(7.6rem + env(safe-area-inset-top))!important}
}
/* Preserve the original fullscreen map. Discovery stays accessible without
   adding a second, unbounded page below it. Keyboard focus reveals its panel. */
.guides-index-intro{max-width:72rem;margin:0 auto;padding:1rem}
.guides-index-intro h1{font-size:clamp(2rem,6vw,4rem);line-height:1.05;margin:0 0 1rem;overflow-wrap:anywhere}
.guides-index-intro p{max-width:60ch;line-height:1.5}
body[data-route="guias"] .guides-map-page>.guides-index-intro,
body[data-route="guias"] .guides-map-page>.guides-list-fallback,
body[data-route="guias"] .guides-map-page>footer{display:block;position:absolute;width:1px;height:1px;min-height:0;max-height:none;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;color:var(--guide-ink)}
body[data-route="guias"] .guides-map-page>.guides-list-fallback:focus-within,
body[data-route="guias"] .guides-map-page>footer:focus-within{inset:calc(var(--guides-shell-clearance) + 4rem) 1rem auto;z-index:1501;width:calc(100% - 2rem);height:auto;max-height:calc(100svh - var(--guides-shell-clearance) - 6rem);margin:0;padding:1rem;overflow:auto;clip:auto;clip-path:none;white-space:normal;background:var(--guide-paper);border:2px solid var(--guide-ink);border-radius:14px}
.guides-directory-country>ul{grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr))}
.guides-directory a,.guides-country-page a,.guide-reader>nav a{display:inline-flex;align-items:center;min-height:44px;min-width:44px;padding:.6rem;overflow-wrap:anywhere;color:var(--guide-ink)}
.guides-directory a:focus-visible,.guides-country-page a:focus-visible,.guide-reader>nav a:focus-visible{outline:3px solid var(--guide-ink);outline-offset:3px}
.guides-country-page{max-width:72rem;margin:0 auto;padding:calc(var(--guides-shell-clearance) + 1rem) 1rem max(8rem,calc(6rem + env(safe-area-inset-bottom)));overflow-wrap:anywhere}
.guides-map-page>footer{max-width:72rem;margin:1rem auto;padding:1rem}
.guides-map-page>footer a{display:inline-flex;align-items:center;min-height:44px;min-width:44px;padding:.6rem;color:var(--guide-ink)}
@media(prefers-reduced-motion:reduce){.guides-country-page *,.guides-index-intro *{scroll-behavior:auto;transition:none}}
@media(max-width:360px){body[data-route="guias"] .guide-reader-tools{gap:.32rem}body[data-route="guias"] .guide-reader-tools .guide-map-return{max-width:6rem;padding-inline:.38rem;font-size:.62rem}body[data-route="guias"] .guide-reader-tools .guides-search input{font-size:.82rem}}


@media(max-width:360px){body[data-route="guias"] .guide-reader-tools .guide-map-return{max-width:none;padding-inline:.5rem;font-size:.64rem}}

/* === Lectura profesional: datos, jerarquía y ritmo === */
body[data-route="guias"] .guide-chapter p{line-height:1.72;max-width:70ch}
body[data-route="guias"] .guide-chapter h3{display:flex;align-items:baseline;gap:.6rem;margin-top:2.2em;padding:.55rem .9rem;border-radius:12px 4px 10px 5px;background:#e9f5f1;color:var(--guide-moss);font-size:clamp(1.15rem,2.2vw,1.5rem)}
body[data-route="guias"] .guide-chapter h3::before{content:"";flex:none;width:.55rem;height:.55rem;border-radius:50%;background:#ff006e;transform:translateY(-.1rem)}
body[data-route="guias"] .guide-chapter ul{display:grid;gap:.55rem;margin:1.1em 0;padding:0;list-style:none;max-width:72ch}
body[data-route="guias"] .guide-chapter ul>li{position:relative;padding:.6rem .85rem .6rem 2rem;border:1px solid #dfe8e2;border-radius:12px 5px 10px 5px;background:#fdfcf8}
body[data-route="guias"] .guide-chapter ul>li::before{content:"→";position:absolute;left:.7rem;top:.55rem;color:#ff006e;font-weight:700}
body[data-route="guias"] .guide-chapter ul>li>strong:first-child{color:var(--guide-moss)}
body[data-route="guias"] .guide-chapter ul ul{margin:.45rem 0 0;gap:.35rem}
body[data-route="guias"] .guide-chapter ul ul>li{padding:.4rem .6rem .4rem 1.6rem;font-size:.93em}
body[data-route="guias"] .guide-chapter ul ul>li::before{content:"·";left:.6rem;color:var(--guide-sage)}
body[data-route="guias"] .guide-chapter ol{padding-left:1.4rem}
body[data-route="guias"] .guide-chapter strong{color:var(--guide-moss)}
body[data-route="guias"] .guide-chapter a{text-decoration-thickness:1.5px;text-underline-offset:2.5px}
body[data-route="guias"] .guide-chapter h2{margin-top:1.6em}
body[data-route="guias"] .guide-chapter>.guide-block-gap,body[data-route="guias"] .guide-chapter h2:first-of-type{margin-top:.2em}

/* === Marca: dibujo solo en las páginas de guía (el mapa de /guias conserva el logo completo) === */
body[data-route="guias"]:has(.guide-reader) .app-header .brand-copy{display:none}
body[data-route="guias"]:has(.guide-reader) .app-header .brand{max-width:none;min-height:3.1rem;padding:.32rem .65rem .32rem .35rem;gap:0;box-shadow:4px 4px 0 var(--pink)}
body[data-route="guias"]:has(.guide-reader) .app-header .brand-mark-stage{width:2.6rem;height:2.6rem}
body[data-route="guias"] .app-header .brand-symbol{width:2.6rem;height:2.6rem}
@media(max-width:760px){body[data-route="guias"] .app-header .brand{max-width:none;min-height:2.7rem;padding:.25rem .5rem .25rem .3rem}body[data-route="guias"] .app-header .brand-mark-stage{width:2.1rem;height:2.1rem}body[data-route="guias"] .app-header .brand-symbol{width:2.1rem;height:2.1rem}}

/* Buscador del lector más pegado a la cabecera; el mapa se posiciona aparte. */
body[data-route="guias"] .guide-reader-tools .guides-search{top:.55rem}
/* En móvil se oculta: el mapa con las píldoras ya es la navegación */
@media(max-width:760px){body[data-route="guias"] .guide-reader-tools .guides-search{display:none}}

/* En guías, la fila superior es solo: logo, buscador y menú */
body[data-route="guias"] .app-header .header-search{display:none}

/* Mini-mapa de la guía y apertura como lámina cartográfica inmersiva */
.guide-map-frame{height:300px;margin-top:1.2rem;position:relative;z-index:0;border:3px solid var(--guide-ink);border-radius:20px;background:var(--guide-sand);box-shadow:5px 5px 0 #ff006e;overflow:hidden;transform-origin:top left;isolation:isolate}
.guide-hero-map{height:100%;width:100%;position:relative;z-index:0;background:var(--guide-sand)}
.guide-hero-map .leaflet-container{height:100%;width:100%;font:inherit}
.guide-hero-map .leaflet-popup-content-wrapper{border-radius:14px;color:var(--guide-ink)}
.guide-hero-map .leaflet-popup a{display:inline-block;margin-top:.25rem;font-weight:700}
.guide-map-marker-wrap,.guide-map-cluster-wrap{display:grid!important;width:48px!important;height:48px!important;place-items:center;overflow:visible!important;border:0!important;background:transparent!important}
.guide-map-marker{
  position:relative;
  display:grid;
  width:34px;
  height:34px;
  place-items:center;
  padding:5px;
  border:2px solid var(--guide-ink);
  border-radius:50%;
  background:color-mix(in srgb,var(--marker-accent),white 20%);
  color:var(--guide-ink);
  box-shadow:2px 2px 0 #00ffcc,0 4px 9px color-mix(in srgb,var(--guide-ink),transparent 78%);
  transform:translateY(-3px);
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}
.guide-map-marker::after{content:"";position:absolute;left:50%;bottom:-6px;width:5px;height:5px;border:2px solid var(--guide-ink);border-radius:50%;background:var(--marker-accent);transform:translateX(-50%)}
.guide-map-icon{position:relative;z-index:1;display:block;width:21px;height:21px;overflow:visible;color:currentColor;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.guide-map-cluster{
  display:grid;
  width:36px;
  height:36px;
  place-content:center;
  border:2px solid var(--guide-ink);
  border-radius:50%;
  background:#dfff00;
  color:var(--guide-ink);
  box-shadow:2px 2px 0 #00ffcc,0 4px 9px color-mix(in srgb,var(--guide-ink),transparent 78%);
}
.guide-map-cluster strong{font:950 13px/1 var(--font-mono,monospace);font-variant-numeric:tabular-nums}
.guide-map-frame .leaflet-marker-icon:hover .guide-map-marker,.guide-map-frame .leaflet-marker-icon:focus-visible .guide-map-marker,.guide-map-frame .leaflet-marker-icon[aria-expanded="true"] .guide-map-marker{background:color-mix(in srgb,var(--marker-accent),white 8%);transform:translateY(-6px);box-shadow:3px 3px 0 #ff006e,0 8px 14px color-mix(in srgb,var(--guide-ink),transparent 66%)}
.guide-map-frame .leaflet-marker-icon:active .guide-map-marker{transform:translateY(-3px) scale(.94)}
.guide-map-frame .leaflet-marker-icon:focus-visible{outline:3px solid #00ffcc!important;outline-offset:4px}.guide-map-frame .leaflet-marker-icon:focus:not(:focus-visible){outline:none}
.guide-map-popup{display:grid;gap:.4rem;min-width:13rem;color:var(--guide-ink)}.guide-map-popup>strong{font-size:1.05rem}.guide-map-popup>span{display:block}.guide-map-popup__chapter{padding:.3rem .4rem;border-left:3px solid #00ffcc;background:var(--guide-paper);font-size:.78rem;font-weight:750}.guide-map-popup nav{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.3rem}.guide-map-popup nav a{display:inline-flex;min-height:44px;align-items:center;padding:.45rem .6rem;border:2px solid currentColor;border-radius:8px;background:#dfff00;text-decoration:none}.guide-map-popup--cluster ul{display:grid;gap:.45rem;max-height:16rem;margin:.4rem 0 0;padding:0;overflow:auto;list-style:none}.guide-map-popup--cluster li{display:grid;grid-template-columns:26px minmax(8rem,1fr);gap:.45rem;align-items:start;padding:.5rem;border-top:1px solid color-mix(in srgb,var(--guide-ink),transparent 72%)}.guide-map-popup--cluster li .guide-map-icon{width:22px;height:22px}.guide-map-popup--cluster li span{display:grid}.guide-map-popup--cluster li small{font-size:.72rem}.guide-map-popup--cluster li nav{grid-column:1/-1}
.guide-map-frame.is-revealing-markers .leaflet-marker-pane .leaflet-marker-icon{animation:guide-map-marker-reveal .42s cubic-bezier(.34,1.56,.64,1) both}
@media(forced-colors:active){.guide-map-marker,.guide-map-cluster{border:2px solid CanvasText;background:Canvas;color:CanvasText;box-shadow:none}}
.guide-map-expand,.guide-map-close{font-family:var(--font-mono,monospace);font-weight:950;text-transform:uppercase;letter-spacing:.055em;color:var(--guide-ink);cursor:pointer;touch-action:manipulation}
.guide-actions .guide-map-expand{position:static;z-index:auto;display:inline-flex;min-height:44px;align-items:center;gap:.42rem;margin:0;padding:.45rem .8rem!important;border:2px solid var(--guide-paper)!important;background:#dfff00!important;color:var(--guide-ink)!important;box-shadow:3px 3px 0 #00ffcc}
.guide-actions .guide-map-expand svg{width:1.1rem;height:1.1rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.guide-map-expand:hover,.guide-map-expand:focus-visible{transform:translateY(-2px);box-shadow:4px 4px 0 #ff006e}
.guide-map-expand:focus-visible,.guide-map-close:focus-visible{outline:4px solid #fff;outline-offset:4px}
.guide-map-fullscreen-tools{position:absolute;z-index:1300;top:calc(1rem + env(safe-area-inset-top));left:calc(1rem + env(safe-area-inset-left));right:calc(1rem + env(safe-area-inset-right));display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;pointer-events:none}
.guide-map-fullscreen-tools[hidden]{display:none}
.guide-map-fullscreen-tools p{display:grid;gap:.15rem;margin:0;padding:.65rem .9rem;border:3px solid var(--guide-ink);background:color-mix(in srgb,var(--guide-paper),transparent 5%);box-shadow:6px 6px 0 #00ffcc;transform:rotate(-1deg);pointer-events:auto}
.guide-map-fullscreen-tools p span{font:950 .66rem/1 var(--font-mono,monospace);letter-spacing:.14em;text-transform:uppercase}
.guide-map-fullscreen-tools p strong{font-size:clamp(1.1rem,2.2vw,1.7rem);line-height:1;letter-spacing:-.025em;color:var(--guide-ink);text-shadow:none;background:linear-gradient(transparent 58%,#00ffcc 58% 88%,transparent 88%)}
.guide-map-close{display:inline-flex;align-items:center;gap:.5rem;min-height:48px;padding:.7rem 1rem;border:3px solid var(--guide-ink);border-radius:999px;background:linear-gradient(135deg,#dfff00 0 76%,#00ffcc 76%);box-shadow:6px 6px 0 #ff006e;pointer-events:auto;transform:rotate(1deg);transition:transform .18s ease}
.guide-map-close span{font-size:1.15rem}
.guide-map-close-label{font:inherit!important}.guide-map-close-label i{font-style:normal}
.guide-map-close:hover,.guide-map-close:focus-visible{transform:rotate(0) translateY(-2px) scale(1.025)}
.guide-map-vignette{display:none;position:absolute;z-index:1050;inset:0;pointer-events:none;box-shadow:inset 0 0 0 3px var(--guide-ink),inset 0 0 11vw color-mix(in srgb,var(--guide-ink),transparent 80%)}
.guide-map-transition{position:absolute;z-index:1250;inset:0;display:grid;place-items:center;overflow:hidden;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .16s ease,visibility .16s ease}
.guide-map-transition-burst{position:absolute;width:min(56vw,34rem);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#dfff00 0 12%,color-mix(in srgb,#00ffcc,transparent 12%) 13% 27%,color-mix(in srgb,#ff006e,transparent 28%) 28% 36%,transparent 37%);filter:blur(.2px);transform:scale(.2);opacity:.78}
.guide-map-transition-stamp{position:relative;display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;align-items:center;column-gap:.75rem;padding:.7rem 1rem;border:3px solid var(--guide-ink);background:linear-gradient(135deg,#dfff00 0 72%,#00ffcc 72%);color:var(--guide-ink);box-shadow:9px 9px 0 #ff006e,-6px -6px 0 var(--guide-paper);transform:scale(.15) rotate(-18deg);opacity:0}
.guide-map-transition-stamp img{grid-row:1/3;width:clamp(3.4rem,8vw,5.75rem);height:clamp(4.5rem,13vw,8rem);object-fit:contain}
.guide-map-transition-stamp strong{color:var(--guide-ink);font-size:clamp(1.15rem,3.3vw,2.4rem);line-height:.92;text-transform:uppercase;letter-spacing:-.035em}
.guide-map-transition-stamp small{justify-self:start;padding:.22rem .4rem;background:var(--guide-ink);color:var(--guide-paper);font:950 .62rem/1 var(--font-mono,monospace);letter-spacing:.12em;text-transform:uppercase}
.guide-map-frame.is-transitioning .guide-map-transition{opacity:1;visibility:visible}
.guide-map-frame.is-transitioning .leaflet-overlay-pane,.guide-map-frame.is-transitioning .leaflet-marker-pane,.guide-map-frame.is-transitioning .leaflet-popup-pane{opacity:0!important;transition:opacity .08s linear}
.guide-map-frame.is-transitioning .guide-map-close{pointer-events:none}
.guide-map-frame.is-closing-transition .guide-map-close{justify-content:center;width:52px;min-width:52px;padding:.45rem;border-radius:50%}
.guide-map-frame.is-closing-transition .guide-map-close-label{display:none}
.guide-map-frame.is-opening-transition .guide-map-transition-stamp{animation:guide-map-stamp-in 1.35s cubic-bezier(.22,1,.36,1) both}
.guide-map-frame.is-opening-transition .guide-map-transition-burst{animation:guide-map-burst 1.35s ease-out both}
.guide-map-frame.is-closing-transition .guide-map-transition-stamp{animation:guide-map-stamp-out .8s linear both}
.guide-map-frame.is-closing-transition .guide-map-transition-burst{animation:guide-map-burst-out .8s linear both}
.guide-map-frame.is-revealing-markers .leaflet-overlay-pane path{transform-box:fill-box;transform-origin:center;animation:guide-map-marker-reveal .5s cubic-bezier(.34,1.56,.64,1) both}
.guide-map-frame.is-revealing-markers .leaflet-overlay-pane path:nth-of-type(3n+1){animation-delay:.05s}.guide-map-frame.is-revealing-markers .leaflet-overlay-pane path:nth-of-type(3n+2){animation-delay:.11s}.guide-map-frame.is-revealing-markers .leaflet-overlay-pane path:nth-of-type(3n){animation-delay:.17s}
@keyframes guide-map-stamp-in{0%{opacity:0;transform:scale(.15) rotate(-18deg)}22%{opacity:1;transform:scale(1.12) rotate(3deg)}70%{opacity:1;transform:scale(1) rotate(-2deg)}100%{opacity:0;transform:scale(.92) rotate(0)}}
@keyframes guide-map-burst{0%{opacity:0;transform:scale(.12) rotate(0)}28%{opacity:.8;transform:scale(.85) rotate(30deg)}100%{opacity:0;transform:scale(1.5) rotate(95deg)}}
@keyframes guide-map-stamp-out{0%{opacity:0;transform:scale(.72) rotate(8deg)}12%,55%{opacity:1;transform:scale(1) rotate(-2deg)}100%{opacity:0;transform:scale(.35) rotate(-12deg)}}
@keyframes guide-map-burst-out{0%{opacity:0;transform:scale(.5)}18%,58%{opacity:.75;transform:scale(1)}100%{opacity:0;transform:scale(.25)}}
@keyframes guide-map-marker-reveal{0%{opacity:0;transform:scale(.1)}65%{opacity:1;transform:scale(1.2)}100%{opacity:1;transform:scale(1)}}
body.guide-map-is-open{overflow:hidden;overscroll-behavior:none}
.guide-map-frame.is-immersive{position:fixed;inset:0;width:100vw;height:100dvh;margin:0;border:0;border-radius:0;box-shadow:none;z-index:100000;overflow:hidden;background:var(--guide-ink)}
.guide-map-frame.is-immersive .guide-hero-map{position:absolute;inset:0;width:100%;height:100%}
.guide-map-frame.is-immersive .guide-map-vignette{display:block}
.guide-map-frame.is-immersive .leaflet-control-zoom{margin-top:calc(6.8rem + env(safe-area-inset-top))!important;margin-left:calc(.75rem + env(safe-area-inset-left))!important}
.guide-map-frame.is-immersive .leaflet-control-attribution{margin:0 calc(.5rem + env(safe-area-inset-right)) calc(.5rem + env(safe-area-inset-bottom)) 0!important}
@media(max-width:760px){.guide-map-frame{height:240px}.guide-actions .guide-map-expand{min-height:44px;padding:.5rem .68rem!important;font-size:.7rem}.guide-map-frame.is-immersive{height:100dvh}.guide-map-fullscreen-tools{align-items:flex-start;gap:.55rem}.guide-map-fullscreen-tools p{padding:.5rem .62rem;box-shadow:4px 4px 0 #00ffcc}.guide-map-fullscreen-tools p strong{max-width:38vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.12rem}.guide-map-close{min-height:44px;max-width:none;padding:.5rem .65rem;gap:.35rem;font-size:.62rem;white-space:nowrap;box-shadow:4px 4px 0 #ff006e}.guide-map-frame.is-immersive .leaflet-control-zoom{margin-top:calc(5.5rem + env(safe-area-inset-top))!important}.guide-map-frame.is-immersive .leaflet-control-attribution{max-width:54vw!important;margin-bottom:calc(.5rem + env(safe-area-inset-bottom))!important}}
@media(max-width:420px){.guide-map-fullscreen-tools p span{font-size:.54rem}}
@media(max-width:480px){.guide-map-close-label i{display:none}}
@media(max-width:760px){.guide-map-transition-stamp{column-gap:.45rem;padding:.45rem .62rem;box-shadow:6px 6px 0 #ff006e,-4px -4px 0 #00ffcc}.guide-map-transition-stamp img{width:3.2rem;height:4.5rem}.guide-map-transition-stamp strong{font-size:1.05rem}.guide-map-transition-stamp small{font-size:.5rem}.guide-map-transition-burst{width:88vw}}
@media(max-width:760px){.guide-map-frame.is-closing-transition .guide-map-close{width:44px;min-width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){.guide-map-frame,.guide-map-expand,.guide-map-close,.guide-map-transition{transition:none!important;animation:none!important}.guide-map-frame.is-immersive{transform:none!important}.guide-map-frame.is-transitioning .guide-map-transition{opacity:.92}.guide-map-frame.is-transitioning .guide-map-transition-stamp{opacity:1;transform:scale(.9) rotate(-1deg);animation:none}.guide-map-frame.is-transitioning .guide-map-transition-burst,.guide-map-frame.is-revealing-markers .leaflet-overlay-pane path,.guide-map-frame .leaflet-marker-pane .leaflet-marker-icon{animation:none!important}}

/* Regreso inmediato al principio durante la lectura */
.guide-scroll-top{position:fixed;right:calc(1.25rem + env(safe-area-inset-right));bottom:calc(1.25rem + env(safe-area-inset-bottom));z-index:1600;display:grid;place-items:center;width:64px;height:64px;padding:.3rem;border:3px solid var(--guide-ink);border-radius:50% 46% 52% 48%;background:linear-gradient(145deg,#dfff00 0 68%,#00ffcc 68%);color:var(--guide-ink);box-shadow:6px 6px 0 #ff006e,-2px -2px 0 var(--guide-paper);font-family:var(--font-mono,monospace);font-weight:950;text-transform:uppercase;cursor:pointer;touch-action:manipulation;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(18px) rotate(8deg) scale(.75);transition:opacity .2s ease,visibility .2s ease,transform .32s cubic-bezier(.34,1.56,.64,1),box-shadow .2s ease}
.guide-scroll-top span{display:block;font-size:1.6rem;line-height:.7}
.guide-scroll-top small{display:block;font:950 .58rem/1 var(--font-mono,monospace);letter-spacing:.04em}
.guide-scroll-top.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) rotate(-4deg) scale(1)}
.guide-scroll-top:hover,.guide-scroll-top:focus-visible{transform:translateY(-3px) rotate(0) scale(1.06);box-shadow:8px 8px 0 #ff006e,-3px -3px 0 #00ffcc}
.guide-scroll-top:focus-visible{outline:4px solid var(--guide-paper);outline-offset:4px}
body.guide-map-is-open .guide-scroll-top{opacity:0;visibility:hidden;pointer-events:none}
@media(max-width:760px){.guide-scroll-top{right:calc(.85rem + env(safe-area-inset-right));bottom:calc(.9rem + env(safe-area-inset-bottom));width:52px;height:52px;border-width:2px;box-shadow:4px 4px 0 #ff006e,-2px -2px 0 var(--guide-paper)}.guide-scroll-top span{font-size:1.3rem}.guide-scroll-top small{font-size:.5rem}}
@media(prefers-reduced-motion:reduce){.guide-scroll-top{transition:none!important}}

.guide-place-card button{min-height:2rem;padding:.3rem .85rem;border:0;border-radius:999px;background:#293126;color:#f6ecd9;font-size:.82rem;font-weight:700;letter-spacing:.02em;cursor:pointer;transition:transform .2s,background .2s}
.guide-place-card button:hover,.guide-place-card button:focus-visible{transform:translateY(-1px);background:#1c211b}

/* Puntos de color por capítulo: índice ↔ mini-mapa */
.guide-index .guide-index-dot{display:block;width:.8rem;height:.65rem;border:1.5px solid var(--guide-ink);border-radius:2px}
.guide-popup-dot{display:inline-block;width:.7em;height:.7em;border-radius:50%;border:1.5px solid var(--guide-ink);margin-right:.3rem;vertical-align:baseline}
.guide-index-dot[data-chapter="0"],.guide-popup-dot[data-chapter="0"]{background:#911eb4}
.guide-index-dot[data-chapter="1"],.guide-popup-dot[data-chapter="1"]{background:#42d4f4}
.guide-index-dot[data-chapter="2"],.guide-popup-dot[data-chapter="2"]{background:#f032e6}
.guide-index-dot[data-chapter="3"],.guide-popup-dot[data-chapter="3"]{background:#4363d8}
.guide-index-dot[data-chapter="4"],.guide-popup-dot[data-chapter="4"]{background:#f58231}
.guide-index-dot[data-chapter="5"],.guide-popup-dot[data-chapter="5"]{background:#ffe119}
.guide-index-dot[data-chapter="6"],.guide-popup-dot[data-chapter="6"]{background:#bfef45}
.guide-index-dot[data-chapter="7"],.guide-popup-dot[data-chapter="7"]{background:#fabed4}
.guide-index-dot[data-chapter="8"],.guide-popup-dot[data-chapter="8"]{background:#dcbeff}
.guide-index-dot[data-chapter="9"],.guide-popup-dot[data-chapter="9"]{background:#469990}
.guide-index-dot[data-chapter="10"],.guide-popup-dot[data-chapter="10"]{background:#e6beff}
.guide-index-dot[data-chapter="11"],.guide-popup-dot[data-chapter="11"]{background:#800000}

/* Pin minimalista de guía en el mapa */
.guide-pin--minimal{display:block;width:20px;height:20px;border-radius:50%;background:#ff006e;border:3px solid #fff;box-shadow:0 0 0 2px var(--guide-ink),3px 3px 6px color-mix(in srgb,var(--guide-ink),transparent 55%);transform:none}
.guide-pin-wrap:has(.guide-pin--minimal){filter:none}
.leaflet-marker-icon:hover .guide-pin--minimal,.leaflet-marker-icon:focus .guide-pin--minimal{transform:scale(1.3);transition:transform .15s}

/* Botón volver a la vista general (izquierda del buscador de guías) */
.guide-search-back{position:absolute;z-index:3;left:.8rem;top:2rem;transform:translateY(-50%);width:1.8rem;height:1.8rem;display:grid;place-items:center;border:2px solid var(--guide-ink);border-radius:50%;background:var(--guide-paper);color:var(--guide-ink);font-size:.95rem;font-weight:900;cursor:pointer;box-shadow:2px 2px 0 #00ffcc;animation:guide-clear-pop .45s cubic-bezier(.34,1.56,.64,1)}
.guide-search-back:hover,.guide-search-back:focus-visible{background:#293126;color:var(--guide-paper);transform:translateY(-50%) scale(1.1)}
.guide-search-back:focus-visible{outline:3px solid #00ffcc;outline-offset:2px}
.guides-search.has-back input{padding-left:3.2rem}
@media(max-width:760px){.guides-search .guide-search-back{left:.6rem;top:1.775rem;width:1.55rem;height:1.55rem;font-size:.85rem}.guides-search.has-back input{padding-left:2.8rem}}
body[data-route="guias"] .guide-reader-tools .guides-search .guide-search-back{left:.5rem;width:1.5rem;height:1.5rem;font-size:.85rem}

/* Pulso del cuadro de país al pinchar y cascada de puntos al llegar */
.guide-cluster.is-popping{animation:guide-cluster-pop .55s cubic-bezier(.34,1.56,.64,1)}
@keyframes guide-cluster-pop{45%{transform:scale(1.35) rotate(-5deg)}}
[data-guides-map][data-arrived="1"] .guide-pin--minimal{animation:guide-pin-pop .55s cubic-bezier(.34,1.56,.64,1)}
@keyframes guide-pin-pop{from{transform:scale(.2)}60%{transform:scale(1.3)}to{transform:scale(1)}}

/* Cascada al llegar a un país y pop-in de cuadros al cargar */
@media (prefers-reduced-motion: no-preference){
[data-guides-map][data-arrived="1"] .guide-pin--minimal{animation:guide-pin-pop .55s cubic-bezier(.34,1.56,.64,1) both;animation-delay:calc(var(--i,0)*70ms)}
[data-guides-map][data-intro="1"] .guide-cluster{animation:guide-cluster-pop .55s cubic-bezier(.34,1.56,.64,1) both;animation-delay:calc(var(--i,0)*90ms)}
}
/* Reveal de tarjetas de lugares al hacer scroll */
.guide-place-card.reveal-wait{opacity:0;transform:translateY(18px) rotate(-.6deg)}
.guide-place-card.reveal-wait.is-revealed{opacity:1;transform:none;transition:opacity .55s cubic-bezier(.22,1,.36,1),transform .55s cubic-bezier(.22,1,.36,1)}

/* Enlaces de mapas y webs dentro de las guías */
a.guide-enlace{display:inline-flex;align-items:center;gap:.28rem;padding:.1rem .55rem;margin:.05rem .12rem;border:1.5px solid var(--guide-ink);border-radius:999px;background:var(--guide-oat);color:var(--guide-ink);font-size:.82em;font-weight:700;text-decoration:none;white-space:nowrap;transition:transform .15s,background .15s}
a.guide-enlace:hover,a.guide-enlace:focus-visible{background:#dfff00;transform:translateY(-1px)}
a.guide-enlace--maps::before{content:"📍";font-size:.9em;line-height:1}

/* Foto de cada punto de interés */
.guide-punto-foto{width:fit-content;margin:.9rem auto 1.1rem;border:3px solid var(--guide-ink);border-radius:20px;overflow:hidden;background:var(--guide-oat);box-shadow:5px 5px 0 #ff006e;max-width:100%}
.guide-punto-foto img{display:block;width:auto;max-width:100%;height:auto;max-height:min(65svh,36rem);margin-inline:auto;object-fit:contain;object-position:center}
.guide-punto-foto figcaption{padding:.4rem .7rem;border-top:2px solid var(--guide-ink);background:var(--guide-paper);color:var(--guide-ink);font-size:.9rem;line-height:1.5;font-weight:700;overflow-wrap:anywhere}
.guide-punto-foto figcaption a{color:inherit}
@media(max-width:760px){.guide-punto-foto{box-shadow:3px 3px 0 #ff006e}.guide-punto-foto img{max-height:min(65svh,28rem)}}

/* === Vista general del mapa: una bandera discreta y pulsable por país === */
.guide-cluster-wrap{display:grid;place-items:center;overflow:visible!important}
.guide-cluster--flag.guide-cluster--country-anchor{position:relative;display:grid;width:44px;height:44px;min-width:44px;min-height:44px;place-items:center;padding:0;border:0;border-radius:8px;background:transparent;box-shadow:none;color:var(--guide-ink);transform:none;cursor:pointer;touch-action:manipulation}
@media(max-width:700px){.guide-cluster--flag.guide-cluster--country-anchor{width:34px;height:34px;min-width:34px;min-height:34px}}
.guide-cluster--country-anchor .guide-cluster-flag{display:block;width:29px;height:20px;border:1.5px solid var(--guide-ink);border-radius:3px;overflow:hidden;object-fit:cover;background:#fff;box-shadow:2px 2px 0 #ff006e,-1px -1px 0 #00ffcc;transition:transform .16s ease,box-shadow .16s ease}
.guide-country-code{display:grid;width:29px;height:20px;place-items:center;border:1.5px solid var(--guide-ink);border-radius:3px;background:var(--guide-paper);box-shadow:2px 2px 0 #ff006e;font:900 .62rem/1 var(--font-mono,monospace)}
.leaflet-marker-icon:hover .guide-cluster--country-anchor .guide-cluster-flag,.leaflet-marker-icon:focus .guide-cluster--country-anchor .guide-cluster-flag,.leaflet-marker-icon:focus-within .guide-cluster--country-anchor .guide-cluster-flag{transform:translateY(-1px) scale(1.08);box-shadow:3px 3px 0 #ff006e,-1px -1px 0 #00ffcc}
.leaflet-marker-icon:focus .guide-cluster--country-anchor,.leaflet-marker-icon:focus-within .guide-cluster--country-anchor{outline:2px solid var(--guide-ink);outline-offset:1px}
.leaflet-marker-icon:active .guide-cluster--country-anchor .guide-cluster-flag{transform:scale(.94)}
@media(forced-colors:active){.guide-cluster--country-anchor .guide-cluster-flag,.guide-country-code{border:1px solid CanvasText;background:Canvas}}
@media(max-width:760px),(hover:none) and (pointer:coarse){.guides-map-page .guides-search-toggle{width:7.4rem;min-width:7.4rem;min-height:46px;padding:.48rem .72rem;box-shadow:3px 3px 0 #ff006e,-2px 0 0 #00ffcc}}
@media(prefers-reduced-motion:reduce){.guide-cluster--country-anchor .guide-cluster-flag{transition:none}}

/* === Atlas editorial: arquitectura responsive final del lector de guías === */
:root{
--guide-header-height:4.75rem;
--guide-index-height:3rem;
--guide-sticky-offset:calc(var(--guide-header-height) + env(safe-area-inset-top));
--guide-content-gutter:clamp(1rem,3vw,2rem);
--guide-control-edge:max(.35rem,env(safe-area-inset-left));
}
body[data-route="guias"] .app-header{
position:fixed;top:0;left:0;right:0;width:auto;min-height:calc(var(--guide-header-height) + env(safe-area-inset-top));
padding:calc(.4rem + env(safe-area-inset-top)) calc(1rem + env(safe-area-inset-right)) .4rem calc(.6rem + env(safe-area-inset-left));
align-items:center;border-radius:0;border-bottom:2px solid var(--guide-ink);background:var(--guide-sand);box-shadow:0 3px 0 color-mix(in srgb,var(--guide-ink),transparent 82%);
}
@media(min-width:701px){body[data-route="guias"] .app-header .menu-toggle{right:calc(1rem + env(safe-area-inset-right))}}
body[data-route="guias"] .guide-reader,body[data-route="guias"] .guide-place{padding-top:calc(var(--guide-sticky-offset) + 1rem)}

body[data-route="guias"] .radio-thread{
position:fixed;left:calc(52px + max(.35rem,env(safe-area-inset-left)));bottom:max(.35rem,env(safe-area-inset-bottom));
width:52px;height:52px;min-height:52px;grid-template-columns:48px 48px minmax(0,1fr) 48px;overflow:hidden;z-index:1700;transform:none;transform-origin:left bottom;
}
body[data-route="guias"] .radio-thread:is(:hover,:focus-within,.is-playing){width:min(355px,calc(100vw - 1rem - 52px - env(safe-area-inset-left) - env(safe-area-inset-right)));height:52px;overflow:visible}
body[data-route="guias"] .radio-thread:not(:hover):not(:focus-within):not(.is-playing)::after{display:none}
body.guide-map-is-open[data-route="guias"] .radio-thread{opacity:0;visibility:hidden;pointer-events:none}

body[data-route="guias"] .guide-chapter p,
body[data-route="guias"] .guide-chapter>ul,
body[data-route="guias"] .guide-chapter>ol{width:100%;max-width:70ch;margin-inline:auto}
body[data-route="guias"] .guide-map-frame,
body[data-route="guias"] .guide-table-wrap,
body[data-route="guias"] .guide-place-card{width:100%}
body[data-route="guias"] .guide-place-grid{width:100%;max-width:none}

body[data-route="guias"] .guide-hero::after{display:none}
body[data-route="guias"] .guide-index span{
display:grid;width:2.2rem;height:1.8rem;place-items:center;border:2px solid var(--guide-ink);border-radius:5px;background:#ff006e;color:var(--guide-paper);font:900 .7rem/1 var(--font-mono,monospace)
}
body[data-route="guias"] .guide-chapter>header>span{
display:grid;width:3.3rem;height:2.65rem;place-items:center;border:3px solid var(--guide-ink);border-radius:6px;background:#dfff00;color:var(--guide-ink);box-shadow:4px 4px 0 #ff006e;font-size:1.2rem;line-height:1
}
body[data-route="guias"] .guide-chapter>header{grid-template-columns:3.3rem minmax(0,1fr);align-items:center}
.guide-index .guide-index-dot{display:block;width:.9rem;height:.65rem;border:1.5px solid var(--guide-ink);border-radius:2px}

.guide-index-scrim{display:none}

@media(min-width:901px){
body[data-route="guias"] .guide-hero{display:grid;grid-template-columns:minmax(16rem,.78fr) minmax(28rem,1.35fr);grid-template-rows:auto auto auto 1fr;column-gap:clamp(1.5rem,3vw,3rem);align-items:start;padding:clamp(1.5rem,3vw,3rem)}
body[data-route="guias"] .guide-hero .guide-hero-country{grid-column:1;grid-row:1;margin:0 0 .75rem}
body[data-route="guias"] .guide-hero h1{grid-column:1;grid-row:2;max-width:8ch;margin:.05em 0 .16em;font-size:clamp(4rem,7vw,7rem)}
body[data-route="guias"] .guide-hero>p:last-of-type{grid-column:1;grid-row:3;margin:.35rem 0 0}
body[data-route="guias"] .guide-hero .guide-actions{grid-column:1;grid-row:4;align-self:start;margin-top:1.25rem}
body[data-route="guias"] .guide-hero .guide-map-frame{grid-column:2;grid-row:1/5;align-self:stretch;height:auto;min-height:300px;margin:0}
body[data-route="guias"] .guide-hero>script{display:none}
}

@media(max-width:900px){
:root{--guide-header-height:4.35rem;--guide-index-height:2.85rem;--guide-content-gutter:clamp(1rem,4vw,2rem)}
body[data-route="guias"] .guide-reader{display:block;width:100%;max-width:none;padding:calc(var(--guide-sticky-offset) + var(--guide-index-height) + 1rem) var(--guide-content-gutter) 5.5rem;background:var(--guide-sand)}
body[data-route="guias"] .guide-hero{display:block;padding:clamp(1rem,3vw,1.5rem);border-radius:18px}
body[data-route="guias"] .guide-hero h1{font-size:clamp(3.2rem,14vw,5.6rem)}
body[data-route="guias"] .guide-map-frame{height:300px;margin-top:1.25rem}
body[data-route="guias"] .guide-index{position:sticky;z-index:1790;top:var(--guide-sticky-offset);left:0;right:0;width:100%;height:var(--guide-index-height);margin:0;padding:0 var(--guide-content-gutter);border:0;border-radius:0;transform:none;box-shadow:none;background:var(--guide-sand)}
body[data-route="guias"] .guide-index::before{display:none}
body[data-route="guias"] .guide-index>button{position:relative;display:flex;width:100%;height:var(--guide-index-height);min-height:44px;align-items:center;justify-content:center;padding:.3rem 3rem;border:2px solid var(--guide-ink);border-bottom:0;background:linear-gradient(135deg,#dfff00 0 72%,#00ffcc 72% 100%);color:var(--guide-ink);box-shadow:none;text-align:center;font-weight:950;letter-spacing:.05em;text-transform:uppercase}
body[data-route="guias"] .guide-index>button::after{content:"↓";position:absolute;right:.55rem;display:grid;width:1.7rem;height:1.45rem;place-items:center;border:2px solid var(--guide-ink);border-radius:4px;background:var(--guide-paper)}
body[data-route="guias"] .guide-index.is-open>button::after{content:"↑"}
body[data-route="guias"] .guide-index ol{position:absolute;top:100%;left:var(--guide-content-gutter);right:var(--guide-content-gutter);display:none;grid-template-columns:1fr;gap:.35rem;max-height:min(58svh,30rem);margin:0;padding:.65rem;overflow-y:auto;overflow-x:hidden;border:2px solid var(--guide-ink);background:var(--guide-paper);box-shadow:6px 6px 0 #ff006e;list-style:none}
body[data-route="guias"] .guide-index.is-open ol{display:grid}
body[data-route="guias"] .guide-index a{min-height:46px;padding:.5rem .6rem;font-size:.96rem}
body[data-route="guias"] .guide-index.is-open + .guide-index-scrim{position:fixed;inset:var(--guide-sticky-offset) 0 0;display:block;z-index:1780;background:color-mix(in srgb,var(--guide-ink),transparent 32%)}
body[data-route="guias"] .guide-chapter{scroll-margin-top:calc(var(--guide-sticky-offset) + var(--guide-index-height) + 1rem)}
}

@media(max-width:700px){
:root{--guide-header-height:4.15rem;--guide-content-gutter:1rem}
body[data-route="guias"] .guide-reader{padding-inline:var(--guide-content-gutter)}
body[data-route="guias"] .guide-hero{padding:1rem .9rem 1.1rem}
body[data-route="guias"] .guide-hero h1{font-size:clamp(3rem,17vw,4.8rem)}
body[data-route="guias"] .guide-map-frame{height:230px}
body[data-route="guias"] .guide-chapter{padding:1rem .25rem 1rem .75rem}
body[data-route="guias"] .guide-chapter h2{font-size:clamp(2rem,10vw,3.15rem)}
}

@media(min-width:901px) and (max-width:1366px) and (orientation:landscape) and (hover:none) and (pointer:coarse){
body[data-route="guias"] .app-header{top:0;left:0;right:0;background:var(--guide-sand)}
body[data-route="guias"] .guide-reader{display:block;width:100%;max-width:none;padding:calc(var(--guide-sticky-offset) + var(--guide-index-height) + 1rem) clamp(1rem,3vw,2rem) 5.5rem;background:var(--guide-sand)}
body[data-route="guias"] .guide-hero{display:grid;grid-template-columns:minmax(16rem,.78fr) minmax(28rem,1.35fr);grid-template-rows:auto auto auto 1fr}
body[data-route="guias"] .guide-hero .guide-map-frame{grid-column:2;grid-row:1/5}
body[data-route="guias"] .guide-index{position:sticky;z-index:1790;top:var(--guide-sticky-offset);left:0;right:0;width:100%;height:var(--guide-index-height);margin:0;padding:0 clamp(1rem,3vw,2rem);border:0;border-bottom:0;border-radius:0;transform:none;box-shadow:none;background:var(--guide-sand)}
body[data-route="guias"] .guide-index::before{display:none}
body[data-route="guias"] .guide-index>button{position:relative;display:flex;width:100%;min-height:44px;align-items:center;justify-content:center;padding:.35rem 3rem;border:2px solid var(--guide-ink);border-bottom:0;background:linear-gradient(135deg,#dfff00 0 72%,#00ffcc 72% 100%);color:var(--guide-ink);box-shadow:none;text-align:center;font-weight:950}
body[data-route="guias"] .guide-index>button::after{content:"↓";position:absolute;right:.55rem;width:1.7rem;height:1.45rem;border:2px solid var(--guide-ink);border-radius:4px;background:var(--guide-paper)}
body[data-route="guias"] .guide-index.is-open>button::after{content:"↑"}
body[data-route="guias"] .guide-index ol{position:absolute;top:100%;left:clamp(1rem,3vw,2rem);right:clamp(1rem,3vw,2rem);display:none;max-height:min(58svh,30rem);overflow-y:auto;background:var(--guide-paper)}
body[data-route="guias"] .guide-index.is-open ol{display:grid}
body[data-route="guias"] .guide-chapter{scroll-margin-top:calc(var(--guide-sticky-offset) + var(--guide-index-height) + 1rem)}
}

/* Banderas SVG del buscador de guías (sustituyen a los emojis, invisibles en Windows) */
.guides-search li{align-items:center}
.guides-search .guide-flag-img{flex:none;width:21px;height:14px;border:1.5px solid var(--guide-ink);border-radius:3px;object-fit:cover;background:#fff}

/* === Hilo musical de Sala London en /guias (mismo widget de la portada) === */
body[data-route="guias"] .radio-thread{left:calc(14px + var(--safe-left));bottom:calc(14px + var(--safe-bottom));z-index:1700}
body[data-route="guias"] .guides-selection{bottom:calc(max(1rem,env(safe-area-inset-bottom)) + 4.6rem)}
body[data-route="guias"] .guide-reader,body[data-route="guias"] .guide-place{padding-bottom:calc(clamp(1rem,4vw,4rem) + 4.6rem)}
@media(max-width:640px){body[data-route="guias"] .radio-thread{width:min(300px,calc(100vw - 76px));transform:scale(.9);transform-origin:left bottom}}

/* === Interstitial de transición al abrir una guía desde el mapa === */
.guide-interstitial{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;padding:2rem;background:color-mix(in srgb,var(--guide-paper),transparent 42%);cursor:pointer;overflow:hidden}
.guide-interstitial-barra{position:absolute;left:0;right:0;height:clamp(28px,7vh,64px);background:var(--guide-ink);z-index:2;transition:transform .55s cubic-bezier(.2,.8,.2,1)}
.guide-interstitial-barra--arriba{top:0;transform:translateY(-101%)}
.guide-interstitial-barra--abajo{bottom:0;transform:translateY(101%)}
.guide-interstitial.is-cine .guide-interstitial-barra--arriba,.guide-interstitial.is-cine .guide-interstitial-barra--abajo{transform:translateY(0)}
.guide-interstitial-rotulo{position:absolute;inset:0;z-index:1;pointer-events:none}
.guide-interstitial-rotulo-texto{position:absolute;left:0;top:0;display:grid;justify-items:center;gap:.55rem;will-change:transform,opacity;opacity:0}
.guide-interstitial.is-cine .guide-interstitial-rotulo-texto{animation:guide-rotulo-estampa .7s ease .3s forwards}
@keyframes guide-rotulo-estampa{0%{opacity:0}60%{opacity:1}100%{opacity:1}}
.guide-interstitial-rotulo-marca{display:inline-flex;align-items:center;gap:.45rem;font:900 .68rem/1 var(--font-mono,monospace);letter-spacing:.14em;text-transform:uppercase;color:var(--guide-ink);background:var(--guide-paper);border:2px solid var(--guide-ink);border-radius:999px;padding:.35rem .75rem;box-shadow:3px 3px 0 #ff006e}
.guide-interstitial-rotulo-nombre{font-size:clamp(2.6rem,11vw,6.5rem);font-weight:900;letter-spacing:-.045em;line-height:.95;text-transform:uppercase;color:var(--guide-ink);text-shadow:4px 0 #ff006e,-4px 0 #00ffcc,0 5px 26px color-mix(in srgb,var(--guide-paper),transparent 20%)}
.guide-interstitial.is-cine .guide-interstitial-rotulo-nombre{animation:guide-rotulo-glitch .7s ease .3s backwards}
@keyframes guide-rotulo-glitch{0%{text-shadow:22px 0 #ff006e,-22px 0 #00ffcc}100%{text-shadow:4px 0 #ff006e,-4px 0 #00ffcc}}
.guide-interstitial-rotulo-frase{font-style:italic;font-weight:800;color:var(--guide-moss);font-size:clamp(.95rem,2.6vw,1.3rem);text-shadow:0 2px 0 var(--guide-paper),0 0 14px var(--guide-paper),0 0 22px var(--guide-paper)}
.guide-interstitial.is-cine::before{content:'';position:absolute;inset:0;z-index:5;background:#fff;opacity:0;pointer-events:none;animation:guide-flash .3s ease .3s forwards}
@keyframes guide-flash{0%{opacity:.5}100%{opacity:0}}
.guide-interstitial-caja{display:grid;justify-items:center;gap:1.1rem;max-width:min(40rem,92vw);text-align:center;padding:clamp(1.5rem,5vw,3rem);border:3px solid var(--guide-ink);border-radius:28px;background:var(--guide-paper);box-shadow:9px 9px 0 #ff006e,-5px -5px 0 #00ffcc,0 18px 44px color-mix(in srgb,var(--guide-ink),transparent 70%);transform:translateY(26px) scale(.96) rotate(-1deg);opacity:0;z-index:3;transition:opacity .4s ease .12s,transform .62s cubic-bezier(.34,1.56,.64,1) .12s}
.guide-interstitial.is-tarjeta .guide-interstitial-caja{opacity:1;transform:translateY(0) scale(1) rotate(-1deg)}
.guide-interstitial-pata{width:clamp(3.4rem,9vw,4.4rem);height:auto;transform-origin:50% 88%;animation:guide-interstitial-paseo 1.1s ease-in-out infinite}
.guide-interstitial-titulo{margin:0;font-size:clamp(1.6rem,6vw,3.4rem);line-height:1;letter-spacing:-.04em;color:var(--guide-ink);text-shadow:3px 0 #ff006e,-3px 0 #00ffcc}
.guide-interstitial-frase{margin:0;font-style:italic;font-weight:800;color:var(--guide-moss);font-size:clamp(1rem,3vw,1.35rem)}
.guide-interstitial-pista{margin:.2rem 0 0;font:900 .72rem/1 var(--font-mono,monospace);letter-spacing:.08em;text-transform:uppercase;color:color-mix(in srgb,var(--guide-ink),transparent 35%)}
@keyframes guide-interstitial-paseo{0%,100%{transform:rotate(-8deg) translateY(0)}25%{transform:rotate(-3deg) translateY(-12px)}50%{transform:rotate(7deg) translateY(0)}75%{transform:rotate(2deg) translateY(-9px)}}
@media(prefers-reduced-motion:reduce){.guide-interstitial-pata{animation:none}.guide-interstitial{background:color-mix(in srgb,var(--guide-paper),white 4%)}.guide-interstitial-barra,.guide-interstitial-rotulo,.guide-interstitial.is-cine::before{display:none}.guide-interstitial-caja{transition:none;opacity:1;transform:rotate(-1deg)}}

/* Lista de guias (fallback sin JS): oculta por defecto, <noscript> la muestra */
.guides-list-fallback{display:none}

/* === Auditoria movil: sin scroll horizontal, toques comodos === */
a.guide-enlace{max-width:100%;overflow-wrap:anywhere}
@media(max-width:480px){a.guide-enlace{white-space:normal}}
@media(max-width:700px){body[data-route="guias"] .guide-actions button,body[data-route="guias"] .guide-place-card button{min-height:2.75rem}}

/* === Mapa de guias: buscador limpio, replegable bajo la chapa central === */
.guides-map-page .guides-search{display:block;top:calc(var(--guides-shell-clearance) - .6rem);width:min(31rem,calc(100vw - 1.5rem));z-index:1500;transform:translateX(-50%);transition:width .22s ease}
.guides-map-page .guides-search::before,.guides-map-page .guides-search::after{display:none}
.guides-search-toggle{display:inline-flex;min-width:7.1rem;min-height:44px;align-items:center;justify-content:center;gap:.42rem;padding:.52rem .85rem;border:2px solid var(--guide-ink);border-radius:0 0 14px 14px;background:var(--guide-paper);color:var(--guide-ink);box-shadow:3px 3px 0 #ff006e,-2px 0 0 #00ffcc;font:950 .72rem/1 var(--font-mono,monospace);letter-spacing:.09em;cursor:pointer;touch-action:manipulation;transition:transform .18s ease,background .18s ease}
.guides-search-toggle svg{width:1.05rem;height:1.05rem;stroke:currentColor;stroke-width:2.4;fill:none}
.guides-search-toggle:hover,.guides-search-toggle:focus-visible{background:#dfff00;transform:translateY(2px)}
.guides-search-toggle:focus-visible{outline:3px solid #00ffcc;outline-offset:3px}
.guides-map-page .guides-search.is-collapsed{width:max-content}
.guides-map-page .guides-search.is-collapsed>label,.guides-map-page .guides-search.is-collapsed>input,.guides-map-page .guides-search.is-collapsed>ul,.guides-map-page .guides-search.is-collapsed>.guide-search-clear{display:none!important}
.guides-map-page .guides-search.is-expanded>.guides-search-toggle{display:none}
.guides-map-page .guides-search.is-expanded input{display:block;min-height:48px;padding:.7rem 3.2rem .7rem 1rem;border:2px solid var(--guide-ink);border-radius:14px;background:var(--guide-paper);box-shadow:4px 4px 0 #ff006e,-2px -2px 0 #00ffcc;font-size:1rem;transition:box-shadow .18s ease}
.guides-map-page .guides-search.is-expanded input:focus{outline:3px solid #00ffcc;outline-offset:3px;box-shadow:4px 4px 0 #ff006e,-2px -2px 0 #00ffcc}
.guides-map-page .guides-search.is-expanded ul{max-height:min(46svh,22rem);margin:.55rem 0 0;padding:.3rem;border:2px solid var(--guide-ink);border-radius:12px;background:var(--guide-paper);box-shadow:4px 4px 0 #ff006e,-2px -2px 0 #00ffcc}
.guides-map-page .guides-search.is-expanded li{min-height:44px;padding:.68rem .75rem;border-radius:8px;font-size:.92rem}
.guides-map-page .guides-search .guide-search-clear{right:.65rem;top:24px;width:32px;height:32px;border-width:2px;box-shadow:2px 2px 0 #00ffcc;animation:none}
.guides-map-page .guides-search.has-back.is-expanded input{padding-left:3.15rem}
.guides-map-page .guides-search .guide-search-back[hidden]{display:none!important}
.guides-map-page .guides-search.is-collapsed .guide-search-back:not([hidden]){left:-3.15rem;top:22px;width:44px;height:44px;background:var(--guide-paper)}
@media(max-width:760px){.guides-map-page .guides-search{top:calc(var(--guides-shell-clearance) - .3rem);width:calc(100vw - 1.25rem)}.guides-map-page .guides-search.is-collapsed{width:max-content}.guides-map-page .guides-search.is-expanded input{min-height:48px;font-size:1rem}.guides-map-page .guides-search.is-expanded ul{max-height:40svh}.guides-map-page .guides-search .guide-search-clear{right:.6rem;top:24px;width:32px;height:32px}.guides-map-page .guides-search.is-collapsed .guide-search-back:not([hidden]){left:-3rem;top:22px;width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){.guides-map-page .guides-search,.guides-search-toggle{transition:none}}
.guides-badge{display:inline-flex;align-items:center;padding:.42rem .8rem;border:2px solid #293126;border-radius:999px;background:linear-gradient(135deg,#dfff00 0 72%,#00ffcc 72% 100%);box-shadow:3px 3px 0 #ff006e;color:#293126;font:950 .9rem/1 var(--font-mono,monospace);letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;z-index:5}
.app-header .guides-badge{position:absolute;left:calc(50% + 3.4rem);top:50%;transform:translate(-50%,-50%) rotate(-1.5deg);margin:0}
@media(min-width:701px){.app-header .guides-badge{left:calc(50% + 2.5rem);font-size:1.05rem;padding:.48rem 1rem}}
@media(max-width:700px){body:has(.guides-map-page) .app-header .guide-back{display:none}}

.app-header .guides-badge{margin-right:auto}

/* === Volver al mapa en la cabecera (escritorio); fuera la barra flotante === */
.guide-back--desktop{display:none}
@media(min-width:701px){
body[data-route="guias"] .app-header .guide-back--desktop{display:inline-flex;align-items:center;gap:.4rem;margin-right:4.4rem;min-height:2.6rem;padding:.35rem .8rem;border:2px solid #293126;border-radius:999px;background:linear-gradient(135deg,#dfff00 0 72%,#00ffcc 72% 100%);box-shadow:3px 3px 0 #ff006e;color:#293126;font:950 .78rem/1 var(--font-mono,monospace);letter-spacing:.04em;text-transform:uppercase;text-decoration:none;white-space:nowrap;transform:rotate(-1.2deg)}
body[data-route="guias"] .app-header .guide-back--desktop:hover{transform:rotate(0) translateY(-1px)}
body[data-route="guias"] .guide-reader-tools{display:none}
body[data-route="guias"] .guide-reader{padding-top:calc(var(--guides-shell-clearance) + .8rem)}
body[data-route="guias"] .guide-index{top:calc(var(--guides-shell-clearance) + .8rem)}
body[data-route="guias"] .guide-chapter{scroll-margin-top:calc(var(--guides-shell-clearance) + 1rem)}
}

/* En el propio mapa no hace falta «volver al mapa» */
body:has(.guides-map-page) .app-header .guide-back--desktop{display:none}

/* === Barra superior de seccion: chapa + acceso al cuaderno de viajes === */
.section-topbar{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;margin:.4rem 0 1.1rem}
.section-map-link{display:inline-flex;align-items:center;gap:.4rem;min-height:2.6rem;padding:.42rem .85rem;border:2px solid #293126;border-radius:999px;background:linear-gradient(135deg,#dfff00 0 72%,#00ffcc 72% 100%);box-shadow:3px 3px 0 #ff006e;color:#293126;font:950 .78rem/1 var(--font-mono,monospace);letter-spacing:.04em;text-transform:uppercase;text-decoration:none;white-space:nowrap;transform:rotate(-.8deg)}
.section-map-link::before{content:"⟶";font-size:1rem}
.section-map-link:hover,.section-map-link:focus-visible{transform:rotate(0) translateY(-1px)}

/* La chapa de seccion solo sobre el mapa en primer plano */
.view.is-background-map .section-topbar{display:none}
[data-view="mapa"] .section-topbar{position:absolute;top:calc(var(--guides-shell-clearance) + .6rem);left:50%;transform:translateX(-50%);z-index:30;margin:0}

/* Chapa VIAJES en la cabecera, centrada como Guías, solo en el cuaderno */
.guides-badge--viajes{display:none}
@media(max-width:700px){body[data-route="mapa"] .app-header .guides-badge--viajes{display:inline-flex;position:absolute;left:calc(50% + 3.4rem);top:50%;transform:translate(-50%,-50%) rotate(-1.5deg);margin:0}}
@media(min-width:701px){body[data-route="mapa"] .app-header .guides-badge--viajes{display:inline-flex;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-1.5deg);margin:0}}

/* Escritorio: logo del cuaderno identico al de Guías */
@media(min-width:761px){
body[data-route="mapa"] .app-header .brand{max-width:min(21rem,calc(100vw - 8.5rem));min-height:3.25rem;padding:.38rem .75rem .38rem .45rem;gap:.45rem;border-width:3px;box-shadow:5px 5px 0 var(--pink);transform:rotate(-.75deg)}
body[data-route="mapa"] .app-header .brand-mark-stage{width:2.75rem;height:2.75rem}
body[data-route="mapa"] .app-header .brand-copy small{display:block;margin-top:.22rem;font:700 8px/1.12 var(--font-mono);letter-spacing:.04em;white-space:nowrap}
}

/* Fix 2026-09-07 (rc150): la cabecera es pointer-events:none y .guide-back
   («Volver al mapa») nunca reactivaba pointer-events:auto: el clic de raton
   lo interceptaba <main>. Desktop y movil. El foco visible se anade para
   navegacion por teclado consistente. */
body[data-route="guias"] .app-header .guide-back{pointer-events:auto}
body[data-route="guias"] .app-header .guide-back:focus-visible{outline:3px solid #ff006e;outline-offset:2px}

/* Fix rc152: en movil, la variante desktop del volver hereda la regla .guide-back
   y desborda su texto sobre la barra de indice. Solo debe verse la flecha. */
@media(max-width:700px){body[data-route="guias"] .app-header .guide-back--desktop{display:none}}

/* Fix rc153: en movil, la chapa GUÍAS (posicion absoluta) se solapa con la
   flecha de volver y el menú en las páginas de lectura: no cabe
   (marca 220px + flecha 41px + menu 52px en 390px). En el mapa de guias la
   chapa sigue visible; en lectura y país es redundante. */
@media(max-width:700px){body[data-route="guias"]:has(.guide-reader,.guides-country-page) .app-header .guides-badge{display:none}}

/* Transición breve al volver desde una guía al mapa general. */
@keyframes dlp-guides-arrival{from{opacity:.18;transform:scale(1.035) translateY(9px);filter:saturate(.72)}to{opacity:1;transform:none;filter:none}}html.dlp-guides-arriving body{animation:dlp-guides-arrival .72s cubic-bezier(.22,.8,.24,1) both}

/* La arquitectura responsive final de lectura se declara al final del archivo. */

/* Cierre de cascada: estos contratos deben prevalecer sobre el legado rc. */
body[data-route="guias"] .guide-map-frame{width:100%}
body[data-route="guias"] .guide-table-wrap{width:100%}
body[data-route="guias"] .guide-place-card{width:100%}
body[data-route="guias"] .guide-index-scrim{position:fixed;inset:var(--guide-sticky-offset) 0 0;display:none;z-index:1780;background:color-mix(in srgb,var(--guide-ink),transparent 32%)}
body[data-route="guias"] .radio-thread{position:fixed;left:calc(52px + max(.35rem,env(safe-area-inset-left)));bottom:max(.35rem,env(safe-area-inset-bottom));width:52px;height:52px;min-height:52px;transform:none;overflow:hidden}
body[data-route="guias"] .radio-thread:is(:hover,:focus-within,.is-playing){width:min(355px,calc(100vw - 1rem - 52px - env(safe-area-inset-left) - env(safe-area-inset-right)));height:52px;transform:none;overflow:visible}
body[data-route="guias"] .guide-section-icon{display:block;width:1.55rem;height:1.55rem;color:var(--guide-ink);fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body[data-route="guias"] .guide-index a{grid-template-columns:2.2rem 1.55rem minmax(0,1fr)}
body[data-route="guias"] .guide-index a[aria-current="location"]{position:relative;isolation:isolate;padding-right:5.4rem;border:3px solid var(--guide-ink);background:linear-gradient(135deg,#dfff00 0 72%,#00ffcc 72% 100%);color:var(--guide-ink);box-shadow:inset 6px 0 0 #ff006e,5px 5px 0 #ff006e;font-weight:950}
body[data-route="guias"] .guide-index a[aria-current="location"]::after{content:"AHORA";position:absolute;right:.42rem;top:50%;padding:.28rem .4rem;border:2px solid var(--guide-ink);background:var(--guide-ink);color:#dfff00;font:950 .58rem/1 var(--font-mono,monospace);letter-spacing:.08em;transform:translateY(-50%) rotate(-2deg)}
body[data-route="guias"] .guide-index a[aria-current="location"]>span{background:var(--guide-ink);color:#dfff00;box-shadow:2px 2px 0 #ff006e}
body[data-route="guias"] .guide-index a[aria-current="location"]>.guide-section-icon{stroke-width:2.6}
body[data-route="guias"] .guide-index a.is-current-arrival{animation:guide-index-arrival .72s cubic-bezier(.2,.8,.2,1)}
@keyframes guide-index-arrival{0%{filter:brightness(1);box-shadow:inset 6px 0 0 #ff006e,5px 5px 0 #ff006e}38%{filter:brightness(1.12);box-shadow:inset 10px 0 0 #00ffcc,8px 8px 0 #ff006e}100%{filter:none;box-shadow:inset 6px 0 0 #ff006e,5px 5px 0 #ff006e}}
body[data-route="guias"] .guide-index>button .guide-index-current{position:absolute;left:.55rem;display:grid;width:2.05rem;height:1.65rem;place-items:center;border:2px solid var(--guide-ink);border-radius:4px;background:var(--guide-ink);color:#dfff00;box-shadow:2px 2px 0 #ff006e;font:950 .68rem/1 var(--font-mono,monospace);letter-spacing:0}
body[data-route="guias"] .guide-index>button .guide-index-current[hidden]{display:none}
body[data-route="guias"] .guide-chapter>header{grid-template-columns:3.3rem 1.65rem minmax(0,1fr)}
body[data-route="guias"] .guide-chapter>header>.guide-section-icon{width:1.65rem;height:1.65rem;color:var(--guide-moss)}
body[data-route="guias"] .guide-chapter{border-left:0;box-shadow:inset 5px 0 0 var(--guide-moss)}
body[data-route="guias"] .guide-hero-country{justify-self:start;width:auto;max-width:100%}
body[data-route="guias"] .guide-map-frame.is-immersive{position:fixed;inset:0;width:100vw;height:100dvh;margin:0;border:0;border-radius:0;box-shadow:none;transform:none;z-index:100000}

@media(max-width:900px){
body[data-route="guias"] .guide-reader{padding-top:calc(var(--guide-sticky-offset) + 1rem)}
body[data-route="guias"] .guide-index{top:var(--guide-sticky-offset)}
body[data-route="guias"] .guide-index.is-open + .guide-index-scrim{display:block}
body[data-route="guias"] .guide-chapter{padding-inline:clamp(.5rem,2vw,.85rem)}
}

@media(min-width:901px) and (max-width:1366px) and (orientation:landscape) and (hover:none) and (pointer:coarse){
body[data-route="guias"] .guide-reader{padding-top:calc(var(--guide-sticky-offset) + 1rem)}
body[data-route="guias"] .guide-index{top:var(--guide-sticky-offset)}
body[data-route="guias"] .guide-index.is-open + .guide-index-scrim{display:block}
}
@media(prefers-reduced-motion:reduce){body[data-route="guias"] .guide-index a.is-current-arrival{animation:none}}
@media(forced-colors:active){body[data-route="guias"] .guide-index a[aria-current="location"]{outline:3px solid Highlight;outline-offset:2px}body[data-route="guias"] .guide-index a[aria-current="location"]::after{forced-color-adjust:none}}

/* Identidad visual por capitulo: la misma placa cromatica en indice y mapa. */
body[data-route="guias"] .guide-index .guide-section-icon{
box-sizing:border-box;padding:.16rem;border:1.5px solid var(--guide-ink);border-radius:5px;background:var(--chapter-accent,var(--guide-paper));color:var(--guide-ink)
}

/* El titular se dimensiona contra su columna real, nunca contra el viewport. */
body[data-route="guias"] .guide-hero-copy{min-width:0;container-type:inline-size}
body[data-route="guias"] .guide-hero h1{max-inline-size:100%;min-width:0;overflow-wrap:anywhere;hyphens:auto}
body[data-route="guias"] .guide-hero-copy>p:last-of-type{max-width:40rem;margin:.4rem 0 0;color:color-mix(in srgb,var(--guide-paper),transparent 12%);font-weight:800}
@media(min-width:901px){
body[data-route="guias"] .guide-hero{grid-template-columns:minmax(0,.9fr) minmax(28rem,1.25fr);grid-template-rows:auto;column-gap:clamp(1.5rem,3vw,3rem)}
body[data-route="guias"] .guide-hero-copy{grid-column:1;grid-row:1;align-self:start}
body[data-route="guias"] .guide-hero .guide-map-frame{grid-column:2;grid-row:1;align-self:stretch;height:auto;min-height:300px;margin:0}
body[data-route="guias"] .guide-hero h1{margin:.05em 0 .16em;font-size:clamp(3.25rem,22cqi,7rem);line-height:.82;text-wrap:balance}
body[data-route="guias"] .guide-hero h1.guide-hero-title--long{font-size:clamp(3.1rem,17cqi,5.25rem)}
body[data-route="guias"] .guide-hero h1.guide-hero-title--compact{font-size:clamp(2.8rem,13cqi,4.5rem)}
}
@media(min-width:901px) and (max-width:1366px) and (orientation:landscape) and (hover:none) and (pointer:coarse){
body[data-route="guias"] .guide-hero{grid-template-columns:minmax(0,.9fr) minmax(28rem,1.25fr);grid-template-rows:auto}
body[data-route="guias"] .guide-hero .guide-map-frame{grid-column:2;grid-row:1}
}
@media(max-width:900px){
body[data-route="guias"] .guide-hero h1.guide-hero-title--long{font-size:clamp(2.5rem,16cqi,4.6rem)}
body[data-route="guias"] .guide-hero h1.guide-hero-title--compact{font-size:clamp(1.75rem,11cqi,3.8rem);line-height:.9}
}

/* Modo Pata: sesión activa (registrado) y destinos guardados en el mapa */
/* El fondo del logo NO cambia con la sesión: se ve igual que para los invitados. */
/* La barra de las páginas de guías se tiñe con la sesión. Se usa el mismo marcador que el
   proyecto ya usa para "hay sesión" (el formulario de cerrar sesión, oculto en el HTML de todas
   las páginas y destapado por el navegador al entrar): así la barra queda igual en la lista de
   guías y dentro de cada guía, sin tocar el HTML anónimo que se cachea. */
body[data-route="guias"]:has([data-menu-logout]:not([hidden])) .app-header{background:var(--cyan)}
body.is-pata-mode .app-header .guides-badge{background:var(--ink);color:var(--yellow);box-shadow:3px 3px 0 var(--pink);overflow:hidden}
body.is-pata-mode .app-header .guides-badge::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 32%,rgba(255,255,255,.8) 50%,transparent 68%);transform:translateX(-130%);animation:pata-shine 3.8s ease-in-out infinite;pointer-events:none}
@keyframes pata-shine{0%{transform:translateX(-130%)}60%,100%{transform:translateX(130%)}}
@media(prefers-reduced-motion:reduce){body.is-pata-mode .app-header .guides-badge::after{animation:none}}
.guide-pin--minimal.is-favorite{position:relative;width:28px;height:28px;background:#dfff00;box-shadow:0 0 0 3px #ff006e,0 0 0 5px #fffdf8,4px 4px 8px color-mix(in srgb,var(--guide-ink),transparent 55%)}
.guide-cluster.has-favorite{position:relative;box-shadow:5px 5px 0 #ff006e,-3px -3px 0 #00ffcc,0 0 0 3px #dfff00}
.guide-cluster--country-anchor.has-favorite{position:relative}
.guide-cluster--country-anchor.has-favorite .guide-cluster-flag{box-shadow:3px 3px 0 #ff006e,-1px -1px 0 #00ffcc,0 0 0 3px #dfff00}
.guide-fav-paw{position:absolute;right:-9px;top:-9px;z-index:2;display:grid;place-items:center;width:19px;height:19px;border:2px solid var(--guide-ink);border-radius:50%;background:#ff006e;color:#fff;font-size:10px;line-height:1;box-shadow:0 0 0 2px #fffdf8}
@media(prefers-reduced-motion:reduce){.guide-pin--minimal.is-favorite{transition:none}}
.guide-pin--minimal.is-favorite{animation:pata-pulse 1.8s ease-in-out infinite}
@keyframes pata-pulse{0%,100%{box-shadow:0 0 0 3px #ff006e,0 0 0 5px #fffdf8,4px 4px 8px rgba(23,23,19,.45)}50%{box-shadow:0 0 0 7px #ff006e,0 0 0 10px #fffdf8,4px 4px 8px rgba(23,23,19,.45)}}
.guide-cluster--country-anchor.has-favorite .guide-cluster-flag{animation:pata-pulse-flag 2s ease-in-out infinite}
@keyframes pata-pulse-flag{0%,100%{box-shadow:3px 3px 0 #ff006e,-1px -1px 0 #00ffcc,0 0 0 3px #dfff00}50%{box-shadow:3px 3px 0 #ff006e,-1px -1px 0 #00ffcc,0 0 0 6px #dfff00}}
@media(prefers-reduced-motion:reduce){.guide-pin--minimal.is-favorite,.guide-cluster--country-anchor.has-favorite .guide-cluster-flag{animation:none}}

/* Acciones personales de la guía: una zona propia para la sesión activa. */
body[data-route="guias"] .guide-actions{display:grid;justify-items:start;gap:.7rem}
body[data-route="guias"] .guide-actions-public,body[data-route="guias"] .guide-actions-member-controls{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem}
body[data-route="guias"] .guide-actions:has([data-guide-member]:not([hidden])) .guide-actions-public [data-share-url]{display:none}
body[data-route="guias"] .guide-actions-public [data-share-status]:empty{display:none}
body[data-route="guias"] .guide-actions-member{display:grid;gap:.5rem;width:min(100%,24rem);padding:.7rem .1rem .1rem;border-top:2px solid #00ffcc}
body[data-route="guias"] .guide-actions-member[hidden]{display:none!important}
body[data-route="guias"] .guide-actions-member-controls button{min-height:44px}
body[data-route="guias"] .guide-actions-member .guide-pdf-label>span{display:inline}
body[data-route="guias"] .guide-actions-member .guide-favorite[aria-pressed="false"]{border:2px solid var(--guide-ink)!important;background:#dfff00;color:var(--guide-ink);box-shadow:3px 3px 0 #ff006e}
body[data-route="guias"] .guide-actions-member .guide-favorite[aria-pressed="true"]{border:2px solid var(--guide-paper)!important;background:transparent;color:var(--guide-paper);text-decoration:underline;text-underline-offset:3px}
body[data-route="guias"] .guide-actions-member .guide-favorite:hover,body[data-route="guias"] .guide-actions-member .guide-favorite:focus-visible{background:var(--guide-paper);color:var(--guide-ink)}
body[data-route="guias"] .guide-actions-member [role="status"]{display:block;width:100%;color:var(--guide-paper);font-size:.78rem;font-weight:700;line-height:1.3}
body[data-route="guias"] .guide-actions-member [role="status"]:empty{display:none}

/* Descarga para usuarios registrados: selector compacto de formato. */
.guide-pdf-picker{position:relative}
body[data-route="guias"] .guide-actions .guide-pdf-picker>summary{display:flex;align-items:center;gap:.35rem;min-height:44px;cursor:pointer;list-style:none}
.guide-pdf-picker>summary::-webkit-details-marker{display:none}
.guide-pdf-picker>summary:focus-visible,.guide-pdf-options button:focus-visible{outline:3px solid #06cda4;outline-offset:3px}
.guide-pdf-picker>summary[aria-disabled="true"]{cursor:wait}
.guide-pdf-options{position:relative;margin-top:6px;width:190px;max-width:100%;padding:5px;border:2px solid #171713;background:#fffdf6;box-shadow:3px 3px 0 #06cda4}
body[data-route="guias"] .guide-actions .guide-pdf-options button{display:block;width:100%;min-height:52px;margin:0;padding:8px 10px;border-radius:0;background:#fffdf6;color:#171713;text-align:left;letter-spacing:0;font-size:.9rem}
body[data-route="guias"] .guide-actions .guide-pdf-options button+button{border-top:1px solid #b7bba6!important}
.guide-pdf-options button span{display:block;color:#405238;font-size:.75rem;font-weight:400;margin-top:2px}
body[data-route="guias"] .guide-actions .guide-pdf-options button:hover{background:#d7ff00;transform:none}
.guide-pdf-options,.guide-pdf-options button{box-sizing:border-box}

/* Archivo preparado: acciones explícitas sin abandonar la guía. */
.guide-pdf-ready{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;max-width:100%}
.guide-pdf-ready[hidden]{display:none}
body[data-route="guias"] .guide-actions .guide-pdf-ready a,body[data-route="guias"] .guide-actions .guide-pdf-ready button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 13px;box-sizing:border-box;border:1px solid #171713!important;border-radius:0;font-size:.85rem;font-weight:700;text-decoration:none;color:#171713;background:#d7ff00;letter-spacing:0}
body[data-route="guias"] .guide-actions .guide-pdf-ready button{background:#fffdf6}
.guide-pdf-ready-note{flex-basis:100%;font-size:.8rem;line-height:1.4;color:#f6ecd9}
.guide-pdf-ready a:focus-visible,.guide-pdf-ready button:focus-visible{outline:3px solid #06cda4;outline-offset:3px}

body[data-route="guias"] .guide-actions .guide-pdf-ready [hidden]{display:none!important}
.guide-save-place{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0 12px;max-width:100%}.guide-save-place button{min-height:44px;padding:9px 14px;border:2px solid var(--ink);color:var(--ink);background:var(--yellow);font:inherit;font-size:.9rem;font-weight:800;cursor:pointer}.guide-save-place button[aria-pressed="true"]{background:#e4efdc}.guide-save-place button:disabled{opacity:.6;cursor:wait}.guide-save-place button:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}.guide-save-place button[hidden]{display:none}.guide-save-place [data-place-save-status]{font-size:.85rem;overflow-wrap:anywhere}.guide-save-place:has(button[hidden]):not(:has([data-saved-place-link]:not([hidden]))){display:none}

/* Registered places: a single selector follows the map into fullscreen. */
.guide-map-saved-controls{position:absolute;z-index:850;left:12px;right:12px;bottom:24px;width:max-content;max-width:calc(100% - 24px);padding:6px 8px;background:var(--guide-sand,#fff9e8);border:2px solid var(--guide-ink,#293126);border-radius:10px;color:var(--guide-ink,#293126);box-shadow:2px 2px 0 #ff006e;pointer-events:auto}
.guide-map-saved-controls[hidden]{display:none}
.guide-map-saved-controls [role="group"]{display:flex;gap:6px}
.guide-map-saved-controls button{min-height:44px;padding:8px 12px;border:2px solid var(--guide-ink,#293126);border-radius:6px;background:transparent;color:inherit;font:inherit;font-size:.82rem;font-weight:800;cursor:pointer}
.guide-map-saved-controls button[aria-pressed="true"]{background:var(--guide-ink,#293126);color:var(--guide-sand,#fff9e8)}
.guide-map-saved-controls button:disabled{opacity:.65;cursor:wait}
.guide-map-saved-controls button:focus-visible{outline:3px solid #ff006e;outline-offset:2px}
.guide-map-saved-controls p{max-width:34ch;margin:4px 0 0;font-size:.72rem;line-height:1.35;font-weight:650;overflow-wrap:anywhere}
.guide-map-marker.is-saved,.guide-map-cluster.is-saved{outline:3px solid #ff006e;outline-offset:2px}
.guide-map-cluster{position:relative}
.guide-map-saved-badge{position:absolute;z-index:2;top:-12px;left:50%;transform:translateX(-50%);white-space:nowrap;padding:2px 5px;border:1px solid var(--guide-ink);border-radius:4px;background:#dfff00;color:var(--guide-ink);font:800 10px/1.2 var(--font-sans, sans-serif)}
.guide-map-frame.is-immersive .guide-map-saved-controls{left:calc(12px + env(safe-area-inset-left));right:auto;bottom:calc(30px + env(safe-area-inset-bottom));max-width:calc(100% - 24px)}
.guide-save-place button{border-radius:6px;box-shadow:3px 3px 0 var(--ink);font-weight:850}
.guide-save-place button[aria-pressed="true"]{background:#dfff00;border-style:double;border-width:3px;box-shadow:2px 2px 0 var(--ink)}
.guide-save-place button:not(:disabled):hover{background:#dfff00;transform:translateY(-1px)}
@media(max-width:420px){.guide-map-saved-controls{left:8px;right:8px;max-width:calc(100% - 16px);padding:5px 6px}.guide-map-saved-controls button{padding:7px 9px;font-size:.76rem}.guide-map-saved-controls p{font-size:.68rem;max-width:32ch}}
@media(forced-colors:active){.guide-map-marker.is-saved,.guide-map-cluster.is-saved{outline:3px solid Highlight}.guide-map-saved-badge,.guide-map-saved-controls{color:CanvasText;background:Canvas;border-color:CanvasText}.guide-map-saved-controls button[aria-pressed="true"]{color:HighlightText;background:Highlight}}
@media(prefers-reduced-motion:reduce){.guide-save-place button:hover{transform:none}}
/* The guide inset must not inherit the full-site map's header/footer offsets. */
.guide-map-frame:not(.is-immersive) .leaflet-control-zoom{margin-top:10px!important;margin-right:10px!important}
.guide-map-frame:not(.is-immersive) .leaflet-control-attribution{margin:0 4px 4px 0!important;max-width:calc(100% - 8px);font-size:8px!important}
.guide-map-frame.is-immersive .leaflet-control-zoom{margin-right:calc(.75rem + env(safe-area-inset-right))!important}
.guide-map-frame:not(.is-immersive) .leaflet-control-zoom a{width:44px!important;height:44px!important;line-height:44px!important}
/* Exact saved-visit anchors remain readable below the fixed header and index. */
.guide-reader .guide-chapter :is(h2,h3,h4)[id]{scroll-margin-top:calc(var(--guide-sticky-offset,5rem) + var(--guide-index-height,3rem) + 1rem)}

/* Keep place actions reachable above the filter in the compact map. */
.guide-map-frame:has(.leaflet-popup) :is(.guide-map-saved-controls,.leaflet-control-zoom){visibility:hidden}

.guide-map-frame .guide-map-popup{min-width:0;overflow-wrap:anywhere}
.guide-map-frame .guide-map-popup--cluster li{grid-template-columns:26px minmax(0,1fr)}

/* Voluntary location shares the existing compact map controls in both views. */
.guide-map-saved-controls [role="group"]{flex-wrap:wrap}
.guide-map-location-controls{margin-top:5px;padding-top:5px;border-top:1px solid currentColor}
.guide-map-location-controls [data-guide-location-toggle]{font-size:.76rem}
.guide-map-location-controls [data-guide-location-center]{font-size:.74rem}
.guide-map-location-controls p{max-width:32ch}
.guide-map-location-marker{background:transparent;border:0;pointer-events:none!important}
.guide-map-location-marker span{display:block;width:22px;height:22px;box-sizing:border-box;border:3px solid white;border-radius:50%;background:#006b91;box-shadow:0 0 0 2px #006b91}
.guide-map-location-accuracy{pointer-events:none!important}
@media(forced-colors:active){.guide-map-location-marker span{background:Highlight;border-color:Canvas;outline:2px solid Highlight}.guide-map-location-accuracy{stroke:Highlight;fill:Highlight}}

/* Registered controls sit below the inset, preserving its usable map area. */
body[data-route="guias"] .guide-map-frame:not(.is-immersive):has(.guide-map-saved-controls:not([hidden])){display:flex;flex-direction:column;height:auto!important;min-height:0;align-self:start}
body[data-route="guias"] .guide-map-frame:not(.is-immersive):has(.guide-map-saved-controls:not([hidden])) .guide-hero-map{position:relative;inset:auto;flex:0 0 300px;height:300px;min-height:300px;width:100%}
body[data-route="guias"] .guide-map-frame:not(.is-immersive) .guide-map-saved-controls{position:relative;inset:auto;flex:0 0 auto;box-sizing:border-box;width:100%;max-width:100%;padding:8px;border:0;border-top:2px solid var(--guide-ink,#293126);border-radius:0;box-shadow:none;visibility:visible}
body[data-route="guias"] .guide-map-frame .guide-map-location-controls>span{display:block;margin:0;font-family:inherit;font-size:.72rem;font-weight:650;line-height:1.35;color:inherit;letter-spacing:normal;text-transform:none}
body[data-route="guias"] .guide-map-frame .guide-map-location-controls>span[hidden]{display:none}
@media(max-width:760px){body[data-route="guias"] .guide-map-frame:not(.is-immersive):has(.guide-map-saved-controls:not([hidden])) .guide-hero-map{flex-basis:230px;height:230px;min-height:230px}body[data-route="guias"] .guide-map-frame .guide-map-location-controls>span{font-size:.68rem}}

/* A private, folding walking list sits below the map, never over its centre. */
body[data-route="guias"] .guide-map-frame .guide-walk{box-sizing:border-box;position:relative;flex:0 0 auto;width:100%;min-width:0;margin:0;border:0;border-top:2px solid var(--guide-ink,#293126);border-radius:0;background:var(--guide-sand,#fff9e8);color:var(--guide-ink,#293126);font-family:var(--font-sans,sans-serif);font-size:.85rem;line-height:1.4;text-align:left}
body[data-route="guias"] .guide-map-frame .guide-walk[hidden]{display:none}
body[data-route="guias"] .guide-map-frame .guide-walk summary{box-sizing:border-box;min-height:48px;padding:12px;font-weight:850;cursor:pointer;list-style:disclosure-closed}
body[data-route="guias"] .guide-map-frame .guide-walk[open] summary{list-style:disclosure-open;border-bottom:1px solid currentColor}
body[data-route="guias"] .guide-map-frame .guide-walk :is(p,h3,span,label,li){font-family:inherit;color:inherit;text-transform:none;letter-spacing:normal;text-shadow:none;max-width:100%;overflow-wrap:anywhere}
body[data-route="guias"] .guide-map-frame .guide-walk p{margin:6px 0;font-size:.82rem;line-height:1.45;font-weight:500}
body[data-route="guias"] .guide-map-frame .guide-walk h3{margin:12px 0 6px;font-size:1rem;line-height:1.25;font-weight:800}
body[data-route="guias"] .guide-map-frame .guide-walk span{display:inline;font-size:inherit;font-weight:inherit;line-height:inherit}
.guide-walk-body{padding:0 12px 12px;min-width:0}
.guide-walk-feedback:empty{display:none}
body[data-route="guias"] .guide-map-frame .guide-walk .guide-walk-feedback{padding:0 12px;font-weight:700}
.guide-walk-actions,.guide-walk-order{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
body[data-route="guias"] .guide-map-frame .guide-walk :is(button,a){display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;max-width:100%;padding:8px 10px;border:2px solid var(--guide-ink,#293126);border-radius:6px;background:var(--guide-paper,#fffdf6);color:inherit;font:750 .8rem/1.3 var(--font-sans,sans-serif);text-align:center;text-decoration:none;box-shadow:none;cursor:pointer}
body[data-route="guias"] .guide-map-frame .guide-walk button:disabled{opacity:.6;cursor:default}
body[data-route="guias"] .guide-map-frame .guide-walk :is(button,a,summary,input):focus-visible{outline:3px solid #006b91;outline-offset:2px}
body[data-route="guias"] .guide-map-frame .guide-walk :is(button,a):not(:disabled):hover{background:#dfff00}
body[data-route="guias"] .guide-map-frame .guide-walk label{display:flex;align-items:center;gap:8px;min-height:44px;font-size:.85rem;font-weight:650}
.guide-walk input[type="checkbox"]{flex:0 0 22px;width:22px;height:22px;margin:0;accent-color:#293126}
body[data-route="guias"] .guide-map-frame .guide-walk ol{margin:6px 0;padding-left:24px;list-style:decimal}
body[data-route="guias"] .guide-map-frame .guide-walk li{margin:6px 0;padding:0;border:0;box-shadow:none;background:transparent;font-size:.85rem}
.guide-walk-candidates{max-height:220px;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#293126 #fff9e8}
.guide-walk-marker{display:flex!important;align-items:center;justify-content:center;min-width:44px;min-height:44px;width:max-content!important;padding:0 5px;border:2px solid #293126;border-radius:8px;background:#fffdf6;color:#293126;font:850 14px/1 var(--font-sans,sans-serif);box-sizing:border-box}
.guide-walk-marker.is-current{background:#dfff00;border-width:3px}
.guide-walk-marker.is-completed{background:#e4efdc;border-style:dashed}
body[data-route="guias"] .guide-map-frame.is-immersive:has(.guide-walk:not([hidden])) .guide-walk{position:absolute;z-index:1000;left:0;right:0;bottom:0;max-height:40dvh;overflow-y:auto;overscroll-behavior:contain;padding-bottom:env(safe-area-inset-bottom);scrollbar-color:#293126 #fff9e8}
body[data-route="guias"] .guide-map-frame.is-immersive:has(.guide-walk:not([hidden])) .guide-hero-map{height:calc(100% - var(--guide-walk-height,48px));bottom:var(--guide-walk-height,48px)}
body[data-route="guias"] .guide-map-frame.is-immersive:has(.guide-walk:not([hidden])) .guide-map-saved-controls{bottom:calc(var(--guide-walk-height,48px) + 30px + env(safe-area-inset-bottom))}
@media(forced-colors:active){.guide-walk-marker{background:Canvas;color:CanvasText;border-color:CanvasText}.guide-walk-marker.is-current{background:Highlight;color:HighlightText}}

/* Map first: routine feedback stays accessible without taking screen space. */
body[data-route="guias"] .guide-map-frame .guide-map-saved-controls{display:flex;align-items:center;gap:6px;width:max-content;max-width:calc(100% - 16px);padding:4px;box-shadow:none}
body[data-route="guias"] .guide-map-frame .guide-map-location-controls{margin:0;padding:0;border:0}
body[data-route="guias"] .guide-map-frame .guide-map-saved-controls [role="group"]{flex-wrap:nowrap;gap:4px}
body[data-route="guias"] .guide-map-frame .guide-map-saved-controls button{padding:6px 8px;min-width:44px;min-height:44px;font-size:.75rem;white-space:nowrap}
body[data-route="guias"] .guide-map-frame .guide-map-location-controls button{display:inline-flex;align-items:center;justify-content:center;width:44px;padding:0}
body[data-route="guias"] .guide-map-frame :is([data-guide-map-saved-status],[data-guide-location-status],.guide-map-location-controls>span){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
body[data-route="guias"] .guide-map-frame .guide-map-location-controls[data-location-error="true"] [data-guide-location-status]:not([hidden]){position:absolute;bottom:calc(100% + 6px);left:0;width:100%;height:auto;box-sizing:border-box;margin:0;padding:8px;clip-path:none;white-space:normal;background:#fff9e8;border:1px solid #293126;font-size:.75rem}
body[data-route="guias"] .guide-map-frame:not(.is-immersive) .guide-map-saved-controls{width:100%;max-width:100%;justify-content:space-between}
body[data-route="guias"] .guide-map-frame.is-immersive:has(.guide-walk:not([hidden])) .guide-hero-map{height:100%;bottom:0}
body[data-route="guias"] .guide-map-frame.is-immersive:has(.guide-walk:not([hidden])) .guide-map-saved-controls{left:8px;right:auto;bottom:calc(20px + env(safe-area-inset-bottom));max-width:calc(100% - 16px)}
body[data-route="guias"] .guide-map-frame.is-immersive:has(.guide-walk:not([hidden])) .guide-walk{left:auto;right:8px;bottom:calc(80px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100% - 16px);max-height:60dvh;border:2px solid #293126;border-radius:6px;padding-bottom:0}
body[data-route="guias"] .guide-map-frame.is-immersive .guide-walk[open]{width:min(380px,calc(100% - 16px))}
body[data-route="guias"] .guide-map-frame.is-immersive .guide-walk summary{min-height:44px;padding:10px 12px}
body[data-route="guias"] .guide-map-frame.is-immersive .guide-walk:not([open])>.guide-walk-feedback{display:none}

body[data-route="guias"] .guide-map-frame .guide-map-saved-controls[hidden]{display:none}

/* Destination and place search uses native lists and independent actions. */
.guides-map-page .guides-search.is-collapsed>[data-guides-results]{display:none!important}
.guides-map-page .guides-search [data-guides-results]{box-sizing:border-box;max-height:min(65svh,34rem);overflow-y:auto;overscroll-behavior:contain;margin-top:10px;padding:10px;border:2px solid var(--guide-ink);border-radius:12px;background:var(--guide-paper);color:var(--guide-ink);box-shadow:4px 4px 0 #ff006e,-2px -2px 0 #00ffcc;scrollbar-color:var(--guide-ink) var(--guide-paper)}
.guides-map-page .guides-search [data-guides-results][hidden],.guides-search [data-search-places][hidden]{display:none}
.guides-map-page .guides-search [data-guides-results] section+section{margin-top:12px;padding-top:10px;border-top:1px solid var(--guide-ink)}
.guides-map-page .guides-search [data-guides-results] h2{margin:0 0 6px;font:850 .78rem/1.3 var(--font-sans,sans-serif);letter-spacing:.03em;text-transform:uppercase;color:inherit}
.guides-map-page .guides-search [data-guides-results] ul{max-height:none;overflow:visible;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;list-style:none}
.guides-map-page .guides-search [data-guides-results] li{display:block;min-height:0;margin:0;padding:7px 0;border:0;border-radius:0;cursor:default;font-size:.85rem;background:transparent;box-shadow:none}
.guides-map-page .guides-search [data-search-place-list] li+li{border-top:1px solid color-mix(in srgb,var(--guide-ink),transparent 75%)}
.guides-map-page .guides-search [data-guides-results] :is(button,a,select){box-sizing:border-box;min-height:44px;max-width:100%;padding:8px 10px;border:1px solid var(--guide-ink);border-radius:6px;background:var(--guide-paper);color:var(--guide-ink);font:750 .8rem/1.3 var(--font-sans,sans-serif);text-decoration:none;box-shadow:none;cursor:pointer;touch-action:manipulation}
.guides-map-page .guides-search [data-guide-option]{display:flex;align-items:center;gap:8px;width:100%;text-align:left;border-color:transparent!important}
.guides-map-page .guides-search [data-guide-option] span{margin-left:auto;font-size:.76rem;color:inherit;white-space:normal}
.guides-map-page .guides-search [data-guides-results] :is(button,a):hover{background:#dfff00}
.guides-map-page .guides-search [data-guides-results] :is(button,a,select):focus-visible{outline:3px solid #006b91;outline-offset:2px}
.guides-map-page .guides-search [data-guides-results] :is(button:disabled,[aria-disabled="true"],select:disabled){opacity:.65;cursor:default}
.guide-search-filters{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.guide-search-filters label{display:grid;flex:1 1 140px;gap:3px;min-width:0;font-size:.72rem;font-weight:750}
.guide-search-filters select{width:100%;min-width:0}
.guide-search-place-text{display:grid;gap:2px;min-width:0;overflow-wrap:anywhere}
.guide-search-place-text strong{font-size:.9rem;line-height:1.3}
.guides-search .guide-search-place-text span{font-size:.76rem;font-weight:550;color:inherit}
.guide-search-place-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.guides-search [data-search-place-status]{margin:8px 0;font-size:.76rem;line-height:1.4;color:inherit}
.guides-search [data-search-place-status]:empty{display:none}
.guides-search [data-search-more],.guides-search [data-search-retry],.guides-search [data-search-refresh-favorites]{margin:6px 4px 0 0}
.guides-map-page .guides-search .guide-search-clear,.guides-map-page .guides-search .guide-search-back{width:44px;height:44px;top:24px;border:0;box-shadow:none;background:var(--guide-paper)}
.guides-search .guide-search-clear svg,.guides-search .guide-search-back svg{width:20px;height:20px;stroke:currentColor;stroke-width:2;fill:none}
@media(max-width:390px){.guide-search-filters label{flex-basis:100px}.guides-map-page .guides-search [data-guides-results]{padding:8px;max-height:60svh}.guides-map-page .guides-search [data-guide-option]{padding-inline:4px}}

/* Private guide weather: native disclosure outside the map. */
body[data-route="guias"] [data-guide-weather][hidden]{display:none!important}
body[data-route="guias"] [data-guide-weather]{width:100%;max-width:34rem;margin:1rem 0 0;text-align:left;color:var(--guide-ink);font:500 .9rem/1.4 GuideGrotesk,system-ui,sans-serif}
body[data-route="guias"] .guide-weather-details{border:2px solid var(--guide-ink);border-radius:12px;background:var(--guide-paper);box-shadow:3px 3px 0 var(--guide-oat);overflow:hidden}
body[data-route="guias"] .guide-weather-summary{box-sizing:border-box;line-height:1.4;display:flex;align-items:center;justify-content:space-between;gap:.4rem;min-height:44px;max-height:52px;padding:.5rem .65rem;cursor:pointer;list-style:none;font-size:.9rem;font-weight:700}
body[data-route="guias"] .guide-weather-summary::-webkit-details-marker{display:none}
body[data-route="guias"] .guide-weather-summary:focus-visible,body[data-route="guias"] .guide-weather-retry:focus-visible{outline:3px solid var(--guide-ink);outline-offset:-4px}
body[data-route="guias"] .guide-weather-now{display:inline-flex;align-items:center;gap:.4rem;min-width:0}
body[data-route="guias"] .guide-weather-icon{font-size:1.15rem;line-height:1;flex-shrink:0}
body[data-route="guias"] .guide-weather-temperature{font-size:1.1rem;white-space:nowrap;font-variant-numeric:tabular-nums}
body[data-route="guias"] .guide-weather-expand{flex-shrink:0;white-space:nowrap;font-size:.8rem}
body[data-route="guias"] .guide-weather-expand::after{content:' ⌄'}
body[data-route="guias"] .guide-weather-details[open] .guide-weather-expand::after{content:' ⌃'}
body[data-route="guias"] .guide-weather-body{padding:0 .65rem .65rem;border-top:1px solid var(--guide-oat)}
body[data-route="guias"] .guide-weather-days{list-style:none;margin:0;padding:0}
body[data-route="guias"] .guide-weather-day{display:grid;grid-template-columns:1fr auto;gap:.2rem .5rem;padding:.65rem 0}
body[data-route="guias"] .guide-weather-day+.guide-weather-day{border-top:1px solid var(--guide-oat)}
body[data-route="guias"] .guide-weather-date{font-weight:700;grid-column:1}
body[data-route="guias"] .guide-weather-condition{display:flex;align-items:center;gap:.35rem;grid-column:1;font-size:.8rem;overflow-wrap:anywhere}
body[data-route="guias"] .guide-weather-values{display:flex;gap:.55rem;grid-column:2;grid-row:1;font-size:.8rem;white-space:nowrap;font-variant-numeric:tabular-nums}
body[data-route="guias"] .guide-weather-rain{grid-column:2;grid-row:2;font-size:.75rem;text-align:right}
body[data-route="guias"] .guide-weather-note{padding-top:.6rem;border-top:1px solid var(--guide-oat);font-size:.75rem;line-height:1.45}
body[data-route="guias"] .guide-weather-note p,body[data-route="guias"] .guide-weather-status{margin:.3rem 0}
body[data-route="guias"] .guide-weather-note a{color:var(--guide-ink);text-decoration:underline}
body[data-route="guias"] .guide-weather-status{padding:.65rem;font-size:.85rem}
body[data-route="guias"] .guide-weather-body .guide-weather-status{padding:.6rem 0}
body[data-route="guias"] .guide-weather-retry{min-height:44px;border:2px solid var(--guide-ink);border-radius:6px;padding:.4rem .75rem;background:var(--guide-paper);color:var(--guide-ink);font:700 .85rem GuideGrotesk,system-ui,sans-serif;cursor:pointer}
@media(max-width:360px){body[data-route="guias"] .guide-weather-summary{padding:.5rem;font-size:.85rem}body[data-route="guias"] .guide-weather-day{grid-template-columns:minmax(0,1fr) auto;column-gap:.3rem}body[data-route="guias"] .guide-weather-values{gap:.3rem;font-size:.75rem}body[data-route="guias"] .guide-weather-rain{font-size:.7rem}}
@media print{[data-guide-weather]{display:none!important}}

/* WOW W01: secondary reading text must remain readable on the sage paper. */
body[data-route="guias"] .guide-reader .guide-chapter strong,
body[data-route="guias"] .guide-reader .guide-chapter a:not(.guide-maps-link):not(.guide-website-link),
body[data-route="guias"] .guide-reader > section[aria-label="Otras guías del país"] a,
body[data-route="guias"] .guide-reader footer,
body[data-route="guias"] .guide-reader footer a {color:var(--guide-ink)}

/* WOW W06: nearby countries and route stops have one explicit selection. */
.guide-country-group {display:flex;align-items:center;justify-content:center;width:44px;height:44px;box-sizing:border-box;border:2px solid var(--ink);background:var(--yellow);color:var(--ink);font-weight:800}
.guide-country-choices {display:grid;gap:6px;min-width:180px;color:var(--ink)}
.guide-country-choices button {min-height:44px;padding:8px 12px;text-align:left;border:2px solid var(--ink);background:var(--paper);color:var(--ink);font:inherit;font-weight:700;cursor:pointer}
.guide-country-choices button:focus-visible {outline:3px solid var(--blue);outline-offset:2px}
.guide-map-frame .guide-walk-marker {width:48px!important;height:48px!important}
.guide-map-frame .guide-walk-marker span {font-size:1rem;line-height:1.1}

.guide-country-picker {box-sizing:border-box;width:min(420px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:20px;border:3px solid var(--ink);background:var(--paper);color:var(--ink);box-shadow:6px 6px 0 var(--pink);font-family:GuideGrotesk,system-ui,sans-serif;overflow:auto}
.guide-country-picker::backdrop {background:rgb(23 23 19 / .55)}
.guide-country-picker h2 {margin:0 0 16px;font-size:1.35rem;line-height:1.2}
.guide-country-picker .guide-country-choices {min-width:0}
.guide-country-picker button {box-sizing:border-box;width:100%;min-height:44px;overflow-wrap:anywhere}
.guide-country-picker-close {margin-top:16px;padding:8px 12px;border:2px solid var(--ink);background:var(--yellow);color:var(--ink);font:inherit;font-weight:700;cursor:pointer}
.guide-country-picker button:focus-visible {outline:3px solid var(--blue);outline-offset:3px;box-shadow:0 0 0 3px var(--paper)}
@media(forced-colors:active){.guide-country-picker button:focus-visible{outline-color:Highlight;box-shadow:none}}

/* Acceso directo al lugar que el registrado acaba de guardar. */
.guide-saved-place-link{display:inline-flex;align-items:center;min-height:44px;padding:9px 14px;border:2px solid var(--ink);border-radius:6px;background:var(--paper);color:var(--ink);font:inherit;font-size:.9rem;font-weight:850;text-underline-offset:3px;box-shadow:3px 3px 0 var(--ink)}
.guide-saved-place-link:hover{background:var(--yellow)}
.guide-saved-place-link:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.guide-saved-place-link[hidden]{display:none!important}

/* Keep long guide words and URLs inside the reading column when text grows. */
body[data-route="guias"] .guide-reader .guide-chapter{overflow-wrap:anywhere}
body[data-route="guias"] .guide-reader .guide-chapter ul{grid-template-columns:minmax(0,1fr)}
body[data-route="guias"] .guide-reader .guide-chapter a.guide-enlace{white-space:normal}

/* Share feedback remains beside the registered reader's place. */
.guide-place-card [data-share-status]:not([hidden]){flex-basis:100%;grid-column:1/-1;width:100%;font-size:.85rem;line-height:1.5;overflow-wrap:anywhere}
.guide-place-card [data-share-status][hidden]{display:none!important}
.guide-place-card [data-share-status]:not([hidden]):empty{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* Portada ilustrada de reserva (guias sin foto propia): ocupa TODO el ancho,
   igual que el resto de bloques de la guia. El tema (sierra/templado/norte) lo
   elige el renderizador por la latitud de la localidad. */
.guide-reader > .guide-punto-foto.guide-portada-reserva{width:100%;margin:.9rem 0 1.1rem}
.guide-reader > .guide-punto-foto.guide-portada-reserva > img{width:100%;max-width:none;max-height:none;height:auto;display:block;object-fit:cover}

/* Campamento base y distancias a pie (solo registrados). */
body[data-route="guias"] [data-guide-stay][hidden]{display:none!important}
body[data-route="guias"] .guide-stay{margin:.55rem 0 0;max-width:34rem;text-align:left;color:var(--guide-ink);font:700 .92rem/1.35 GuideGrotesk,system-ui,sans-serif}
body[data-route="guias"] .guide-stay-line{margin:0;padding:.4rem .6rem;border:2px solid var(--guide-ink);border-radius:10px;background:var(--guide-paper);box-shadow:3px 3px 0 var(--guide-oat)}
body[data-route="guias"] .guide-stay-controls{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.4rem}
body[data-route="guias"] .guide-stay-calc,body[data-route="guias"] .guide-stay-change,body[data-route="guias"] .guide-stay-route{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.4rem .7rem;border:2px solid var(--guide-ink);border-radius:10px;background:var(--guide-paper);color:var(--guide-ink);font:700 .82rem/1 GuideGrotesk,system-ui,sans-serif;text-decoration:none;cursor:pointer}
body[data-route="guias"] .guide-stay-route{background:var(--guide-ink);color:var(--guide-paper)}
body[data-route="guias"] .guide-stay-calc[hidden],body[data-route="guias"] .guide-stay-change[hidden],body[data-route="guias"] .guide-stay-route[hidden]{display:none!important}
body[data-route="guias"] .guide-stay-calc:focus-visible,body[data-route="guias"] .guide-stay-change:focus-visible,body[data-route="guias"] .guide-stay-route:focus-visible,body[data-route="guias"] .guide-stay-option:focus-visible,body[data-route="guias"] .guide-stay-remove:focus-visible,body[data-route="guias"] .guide-stay-close:focus-visible,body[data-route="guias"] .guide-stay-add:focus-visible{outline:3px solid var(--guide-cyan,#00d8b0);outline-offset:2px}
body[data-route="guias"] .guide-stay-status{display:block;margin-top:.35rem;font:500 .8rem/1.3 GuideMono,ui-monospace,monospace}
body[data-route="guias"] .guide-stay-status[data-tone="error"]{color:#a1121b;font-weight:700}
body[data-route="guias"] .guide-stay-status[hidden]{display:none}
body[data-route="guias"] .guide-stay-dialog{width:min(24rem,calc(100vw - 2rem));padding:1rem;border:2px solid var(--guide-ink);border-radius:14px;background:var(--guide-paper);color:var(--guide-ink);box-shadow:5px 5px 0 var(--guide-oat)}
body[data-route="guias"] .guide-stay-dialog::backdrop{background:rgba(23,23,19,.45)}
body[data-route="guias"] .guide-stay-options{display:grid;gap:.4rem}
body[data-route="guias"] .guide-stay-option,body[data-route="guias"] .guide-stay-remove,body[data-route="guias"] .guide-stay-add,body[data-route="guias"] .guide-stay-close{display:flex;align-items:center;justify-content:space-between;gap:.5rem;min-height:44px;padding:.5rem .6rem;border:2px solid var(--guide-ink);border-radius:10px;background:var(--guide-paper);color:var(--guide-ink);font:700 .85rem/1.2 GuideGrotesk,system-ui,sans-serif;text-align:left;text-decoration:none;cursor:pointer}
body[data-route="guias"] .guide-stay-option[aria-pressed="true"]{background:var(--guide-ink);color:var(--guide-paper)}
body[data-route="guias"] .guide-stay-remove{border-style:dashed;font-weight:500}
body[data-route="guias"] .guide-stay-close{margin-top:.5rem;justify-content:center}
body[data-route="guias"] .guide-place-walk{display:inline-block;margin:.3rem 0 0;padding:.15rem .45rem;border:1px solid var(--guide-ink);border-radius:999px;font:500 .74rem/1.2 GuideMono,ui-monospace,monospace;background:var(--guide-paper)}
body[data-route="guias"] .guide-place-walk[hidden]{display:none!important}

/* Guardar la guía para leerla sin datos (solo registrados). */
body[data-route="guias"] .guide-offline{margin:.55rem 0 0;max-width:34rem;text-align:left;color:var(--guide-ink);font:500 .85rem/1.35 GuideGrotesk,system-ui,sans-serif}
body[data-route="guias"] .guide-offline-row{display:flex;flex-wrap:wrap;gap:.4rem}
body[data-route="guias"] .guide-offline-button,body[data-route="guias"] .guide-offline-remove,body[data-route="guias"] .guide-offline-confirm,body[data-route="guias"] .guide-offline-cancel{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.4rem .7rem;border:2px solid var(--guide-ink);border-radius:10px;background:var(--guide-paper);color:var(--guide-ink);font:700 .82rem/1 GuideGrotesk,system-ui,sans-serif;cursor:pointer}
body[data-route="guias"] .guide-offline-remove{border-style:dashed;font-weight:500}
body[data-route="guias"] .guide-offline-confirm{background:var(--guide-ink);color:var(--guide-paper)}
body[data-route="guias"] .guide-offline-button[hidden],body[data-route="guias"] .guide-offline-remove[hidden]{display:none!important}
body[data-route="guias"] .guide-offline-button:focus-visible,body[data-route="guias"] .guide-offline-remove:focus-visible,body[data-route="guias"] .guide-offline-confirm:focus-visible,body[data-route="guias"] .guide-offline-cancel:focus-visible{outline:3px solid var(--guide-cyan,#00d8b0);outline-offset:2px}
body[data-route="guias"] .guide-offline-notice{margin:.35rem 0 0;font:700 .8rem/1.3 GuideMono,ui-monospace,monospace}
body[data-route="guias"] .guide-offline-status{display:block;margin-top:.3rem;font:500 .8rem/1.3 GuideMono,ui-monospace,monospace}
body[data-route="guias"] .guide-offline-status[data-tone="error"]{color:#a1121b;font-weight:700}
body[data-route="guias"] .guide-offline-status[hidden],body[data-route="guias"] .guide-offline-notice[hidden],body[data-route="guias"] .guide-offline-banner[hidden]{display:none}
body[data-route="guias"] .guide-offline-banner{margin:.35rem 0 0;padding:.4rem .55rem;border-left:4px solid var(--guide-ink);background:var(--guide-oat);font:700 .8rem/1.3 GuideMono,ui-monospace,monospace}
body[data-route="guias"] .guide-offline-dialog{width:min(26rem,calc(100vw - 2rem));padding:1rem;border:2px solid var(--guide-ink);border-radius:14px;background:var(--guide-paper);color:var(--guide-ink);box-shadow:5px 5px 0 var(--guide-oat)}
body[data-route="guias"] .guide-offline-dialog::backdrop{background:rgba(23,23,19,.45)}
body[data-route="guias"] .guide-offline-dialog p{margin:.4rem 0}
body[data-route="guias"] .guide-offline-check{display:flex;align-items:flex-start;gap:.5rem;margin:.6rem 0;min-height:44px;font-weight:700}
body[data-route="guias"] .guide-offline-check input{width:22px;height:22px;margin-top:.1rem;accent-color:var(--guide-ink)}
body[data-route="guias"] .guide-offline-hint{font:500 .78rem/1.35 GuideMono,ui-monospace,monospace;color:#3d3a31}
body[data-route="guias"] .guide-offline-dialog-actions{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.6rem}
body[data-route="guias"] .guide-offline-plano{display:block;width:100%;height:auto;border:2px solid var(--guide-ink);border-radius:12px;background:var(--guide-paper)}
body[data-route="guias"] .guide-offline-note{margin:.5rem 0 0;padding:.45rem .55rem;border-left:4px solid var(--guide-ink);background:var(--guide-oat);font:500 .82rem/1.4 GuideGrotesk,system-ui,sans-serif;white-space:pre-wrap}
body[data-route="guias"] .guide-actions-member .guide-offline-button,
body[data-route="guias"] .guide-actions-member .guide-offline-remove{min-height:44px;height:auto;line-height:1.1}
body[data-route="guias"] .guide-actions-member .guide-stay-calc,
body[data-route="guias"] .guide-actions-member .guide-stay-change{background:var(--guide-paper);color:var(--guide-ink)}
body[data-route="guias"] .guide-actions-member .guide-offline-remove{background:var(--guide-paper);color:var(--guide-ink)}
body[data-route="guias"] .guide-stay-add{display:inline-flex;align-items:center;min-height:44px;margin-top:.4rem;padding:.4rem .7rem;border:2px dashed var(--guide-ink);border-radius:10px;color:var(--guide-ink);font:700 .82rem/1 GuideGrotesk,system-ui,sans-serif;text-decoration:none;background:var(--guide-paper)}
body[data-route="guias"] .guide-stay-add[hidden]{display:none!important}
body[data-route="guias"] .guide-stay-add:focus-visible{outline:3px solid var(--guide-cyan,#00d8b0);outline-offset:2px}
body[data-route="guias"] .guide-stay-new-title{margin:0 0 .5rem;font-weight:700}
body[data-route="guias"] .guide-stay-dialog label{display:grid;gap:.25rem;margin:.4rem 0;font-weight:700}
body[data-route="guias"] .guide-stay-dialog input{min-height:44px;padding:.4rem .55rem;border:2px solid var(--guide-ink);border-radius:10px;background:#fffdf3;color:var(--guide-ink);font:400 .95rem/1.2 GuideGrotesk,system-ui,sans-serif}
body[data-route="guias"] .guide-stay-new-row{display:grid;gap:.4rem;margin:.5rem 0}
body[data-route="guias"] .guide-stay-new-actions{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.6rem}
body[data-route="guias"] .guide-stay-dialog button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.4rem .8rem;border:2px solid var(--guide-ink);border-radius:10px;background:var(--guide-paper);color:var(--guide-ink);font:700 .82rem/1 GuideGrotesk,system-ui,sans-serif;cursor:pointer}
body[data-route="guias"] .guide-stay-new-save{background:var(--guide-ink);color:var(--guide-paper)}

/* Página de país: cabecera editorial + directorio numerado (rediseño 19-10-2026). */
.guides-country-page{position:relative}
.guides-country-page > nav{margin:1rem 0 .2rem}

.country-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:1.5rem 2rem;align-items:center;padding:1.4rem 0 2rem;border-bottom:3px solid var(--guide-ink)}
.country-hero--plain{grid-template-columns:minmax(0,1fr)}
.country-kicker{margin:0 0 .5rem;font:700 .66rem/1 var(--guide-mono,ui-monospace,monospace);letter-spacing:.2em;text-transform:uppercase;color:var(--guide-ink)}
.country-kicker::before{content:"";display:inline-block;width:1.9rem;height:.5rem;margin-right:.5rem;background:var(--guide-pink,#ff006e);vertical-align:middle}
.country-title{margin:0;display:block}
.country-title-lead{display:block;margin-bottom:.35rem}
.country-title-name{display:block;font-size:clamp(2.8rem,7vw,5.6rem);line-height:.86;letter-spacing:-.045em;overflow-wrap:anywhere}
.country-lede{margin:.9rem 0 0;max-width:38ch;font-size:1rem;line-height:1.45}
.country-count{display:flex;align-items:center;gap:.6rem;margin:1.1rem 0 0;font:700 .72rem/1.25 var(--guide-mono,ui-monospace,monospace);text-transform:uppercase;letter-spacing:.06em}
.country-count strong{font-family:var(--guide-grotesk,"Space Grotesk",system-ui,sans-serif);font-size:2.6rem;line-height:.8;letter-spacing:-.05em;background:var(--guide-lime,#dfff00);border:2px solid var(--guide-ink);padding:.15rem .55rem .3rem;box-shadow:4px 4px 0 var(--guide-ink)}

.country-collage{position:relative;min-height:300px}
.country-shot{position:absolute;margin:0;background:#fffdf3;border:2px solid var(--guide-ink);padding:6px 6px 24px;box-shadow:6px 6px 0 rgba(23,23,19,.55)}
.country-shot img{display:block;width:100%;height:100%;object-fit:cover;border:1px solid var(--guide-ink)}
.country-shot figcaption{position:absolute;left:9px;bottom:6px;font:700 .6rem/1 var(--guide-mono,ui-monospace,monospace);letter-spacing:.12em;text-transform:uppercase}
.country-shot--1{position:relative;width:74%;height:260px;z-index:3;transform:rotate(-2.5deg)}
.country-shot--2{width:52%;height:150px;right:0;top:-14px;z-index:2;transform:rotate(4deg)}
.country-shot--3{width:46%;height:132px;right:6%;bottom:-18px;z-index:4;transform:rotate(-3deg)}
.country-stamp{position:absolute;left:-6px;bottom:-12px;z-index:5;background:var(--guide-pink,#ff006e);color:#fffdf3;border:2px solid var(--guide-ink);box-shadow:4px 4px 0 var(--guide-ink);padding:.45rem .6rem;font:700 .62rem/1.2 var(--guide-mono,ui-monospace,monospace);letter-spacing:.1em;text-transform:uppercase;text-align:center;transform:rotate(-6deg)}

.country-directory-block{margin:2.2rem 0 0}
.country-directory-title{margin:0 0 1rem;font-size:1.5rem;letter-spacing:-.02em}
.country-directory{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 2rem}
.country-entry{border-top:1.5px solid rgba(23,23,19,.35)}
.country-entry:nth-child(-n+2){border-top:2.5px solid var(--guide-ink)}
.country-entry a{display:grid;grid-template-columns:2.6rem minmax(0,1fr) auto;align-items:baseline;gap:.6rem;min-height:52px;padding:.65rem .5rem;color:var(--guide-ink);text-decoration:none;transition:background .15s ease,color .15s ease}
.country-entry-index{font:700 .72rem/1 var(--guide-mono,ui-monospace,monospace);letter-spacing:.05em;opacity:.7}
.country-entry-name{font-size:1.12rem;font-weight:700;letter-spacing:-.01em}
.country-entry-go{font-size:1rem;transition:transform .15s ease}
.country-entry a:hover,.country-entry a:focus-visible{background:var(--guide-lime,#dfff00)}
.country-entry a:hover .country-entry-go{transform:translateX(4px)}
.country-entry a:focus-visible{outline:3px solid var(--guide-ink);outline-offset:-3px}
.country-entry a:active{background:var(--guide-ink);color:var(--guide-paper)}

@media (max-width:860px){
  .country-hero{grid-template-columns:minmax(0,1fr);gap:2rem;padding:1rem 0 1.8rem}
  .country-collage{min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
  .country-shot{position:relative;width:auto;height:auto;inset:auto;transform:none}
  .country-shot img{height:120px}
  .country-shot--1{grid-column:1 / -1}
  .country-shot--1 img{height:180px}
  .country-stamp{display:none}
  .country-directory{grid-template-columns:minmax(0,1fr)}
  .country-entry:nth-child(-n+2){border-top:1.5px solid rgba(23,23,19,.35)}
  .country-entry:first-child{border-top:2.5px solid var(--guide-ink)}
}
@media (prefers-reduced-motion:reduce){
  .country-shot,.country-stamp{transform:none}
  .country-entry a{transition:none}
  .country-entry a:hover .country-entry-go{transform:none}
}

/* Guide tools: one quiet entry, four explained tasks. Kept in the reading flow. */
body[data-route="guias"] .guide-actions .guide-tools-toggle{display:inline-flex;align-items:center;gap:.55rem;min-height:44px;padding:.55rem .85rem;border:2px solid var(--guide-paper)!important;background:transparent;color:var(--guide-paper);border-radius:999px;font:700 .85rem/1.2 GuideGrotesk,system-ui,sans-serif;letter-spacing:0;text-transform:none}
body[data-route="guias"] .guide-actions .guide-tools-toggle[aria-expanded="true"]{background:var(--guide-paper);color:var(--guide-ink)}
body[data-route="guias"] .guide-actions .guide-map-expand{min-height:44px}
body[data-route="guias"] .guide-tools-panel{width:100%;max-width:34rem;margin-top:1rem;padding:1rem;border:2px solid var(--guide-ink);border-radius:14px;background:var(--guide-paper);color:var(--guide-ink);box-shadow:4px 4px 0 var(--guide-cyan,#00d8b0);text-align:left}
body[data-route="guias"] .guide-tools-panel[hidden]{display:none!important}
body[data-route="guias"] .guide-hero .guide-tools-panel h2{margin:0 0 .8rem;max-width:none;font:700 1.25rem/1.2 GuideGrotesk,system-ui,sans-serif;letter-spacing:-.025em;color:var(--guide-ink);text-shadow:none}
body[data-route="guias"] .guide-tools-panel .guide-actions-member{display:grid;width:100%;padding:0;border:0;gap:0}
body[data-route="guias"] .guide-tools-panel .guide-tool{min-width:0;margin:0;padding:.9rem 0;border-top:1px solid #b6b49b}
body[data-route="guias"] .guide-tools-panel .guide-tool:first-child{border-top:0;padding-top:0}
body[data-route="guias"] .guide-tools-panel .guide-tool:last-child{padding-bottom:0}
body[data-route="guias"] .guide-tools-panel h3{margin:0 0 .3rem;font:700 1rem/1.2 GuideGrotesk,system-ui,sans-serif;letter-spacing:-.015em;color:var(--guide-ink)}
body[data-route="guias"] .guide-tools-panel .guide-tool>p{margin:0 0 .65rem;font:400 .88rem/1.45 GuideGrotesk,system-ui,sans-serif;color:#414838}
body[data-route="guias"] .guide-tools-panel button,body[data-route="guias"] .guide-tools-panel .guide-stay-route{display:inline-flex;align-items:center;justify-content:center;gap:.3rem;min-width:44px;min-height:44px;max-width:100%;height:auto;margin:0;padding:.55rem .75rem;border:2px solid var(--guide-ink)!important;border-radius:8px;background:var(--guide-paper);color:var(--guide-ink);box-shadow:none;font:700 .85rem/1.25 GuideGrotesk,system-ui,sans-serif;letter-spacing:0;text-align:center;text-transform:none;text-decoration:none;white-space:normal;overflow-wrap:anywhere}
body[data-route="guias"] .guide-tools-panel button:hover,body[data-route="guias"] .guide-tools-panel .guide-stay-route:hover{background:#e8e0c0;transform:none}
body[data-route="guias"] .guide-tools-panel button:disabled{opacity:.65;cursor:wait}
body[data-route="guias"] .guide-tools-panel .guide-favorite[aria-pressed="false"],body[data-route="guias"] .guide-tools-panel .guide-offline-confirm,body[data-route="guias"] .guide-tools-panel .guide-stay-new-save{border:2px solid var(--guide-ink)!important;background:var(--guide-lime,#dfff00);color:var(--guide-ink);box-shadow:none}
body[data-route="guias"] .guide-tools-panel .guide-favorite[aria-pressed="true"]{border:2px solid var(--guide-ink)!important;background:var(--guide-ink);color:var(--guide-paper);box-shadow:none;text-decoration:none}
body[data-route="guias"] .guide-tools-panel [hidden]{display:none!important}
body[data-route="guias"] .guide-tools-panel :is(button,a,input,summary):focus-visible,body[data-route="guias"] .guide-tools-toggle:focus-visible{outline:3px solid #173fc4;outline-offset:3px}
body[data-route="guias"] .guide-tools-toggle:focus-visible{outline-color:var(--guide-paper)}
body[data-route="guias"] .guide-tools-panel :is(.guide-tool-status,.guide-offline-status,.guide-stay-status){display:block;margin:.5rem 0 0;color:var(--guide-ink);font:400 .8rem/1.45 GuideGrotesk,system-ui,sans-serif;overflow-wrap:anywhere}
body[data-route="guias"] .guide-tools-panel .guide-tool-status:empty{display:none}
body[data-route="guias"] .guide-tools-panel .guide-tools-session{font:400 .9rem/1.5 GuideGrotesk,system-ui,sans-serif}
body[data-route="guias"] .guide-tools-session a{display:inline-flex;align-items:center;min-height:44px;color:var(--guide-ink);font-weight:700;text-underline-offset:3px}
body[data-route="guias"] .guide-tools-panel :is(.guide-stay,.guide-offline){max-width:100%;margin:.5rem 0 0;color:var(--guide-ink)}
body[data-route="guias"] .guide-tools-panel .guide-stay-line{padding:0;border:0;border-radius:0;background:none;box-shadow:none;font-weight:700;line-height:1.5}
body[data-route="guias"] .guide-tools-panel .guide-stay-line:empty{display:none}
body[data-route="guias"] .guide-tools-panel .guide-stay-add{margin-top:.3rem}
body[data-route="guias"] .guide-tools-panel .guide-stay-controls{gap:.5rem}
body[data-route="guias"] .guide-tools-panel .guide-offline-row{gap:.5rem}
body[data-route="guias"] .guide-tools-panel .guide-offline-notice{font:700 .83rem/1.45 GuideGrotesk,system-ui,sans-serif}
body[data-route="guias"] .guide-tools-panel .guide-pdf-ready{margin-top:.55rem;gap:.5rem}
body[data-route="guias"] .guide-tools-panel .guide-pdf-ready-note{color:#414838;font:400 .8rem/1.45 GuideGrotesk,system-ui,sans-serif}
body[data-route="guias"] .guide-tools-panel dialog{max-width:calc(100vw - 2rem);max-height:calc(100dvh - 2rem);overflow:auto;padding:1rem;color:var(--guide-ink);text-align:left}
body[data-route="guias"] .guide-tools-panel dialog p{color:var(--guide-ink);font:400 .9rem/1.45 GuideGrotesk,system-ui,sans-serif}
body[data-route="guias"] .guide-tools-panel dialog input{max-width:100%;box-sizing:border-box}
@media(max-width:700px){body[data-route="guias"] .guide-tools-panel{padding:.85rem;margin-top:.8rem}body[data-route="guias"] .guide-actions-public{gap:.5rem}body[data-route="guias"] .guide-actions .guide-tools-toggle{padding:.5rem .7rem;font-size:.82rem}}
/* Explicit interaction colors beat the inherited generic action-button hover/focus. */
body[data-route="guias"] .guide-tools-panel button:focus-visible{background:#e8e0c0;color:var(--guide-ink);transform:none;outline:3px solid #173fc4;outline-offset:3px}
body[data-route="guias"] .guide-tools-panel .guide-favorite[aria-pressed="true"]:focus-visible{background:var(--guide-ink);color:var(--guide-paper)}
body[data-route="guias"] .guide-actions .guide-tools-toggle:hover,body[data-route="guias"] .guide-actions .guide-tools-toggle:focus-visible{background:var(--guide-paper);color:var(--guide-ink);transform:none;outline-color:var(--guide-paper)}
/* Guide tools: task drawer, outside the editorial layout. */
body[data-route="guias"] dialog.guide-tools-panel{position:fixed;inset:0 0 0 auto;width:min(27rem,100vw);max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0;border:2px solid var(--guide-ink);border-right:0;border-radius:0;background:var(--guide-paper);color:var(--guide-ink);box-shadow:-6px 0 0 #00d8b0;text-align:left;overflow:hidden;overscroll-behavior:contain}
body[data-route="guias"] dialog.guide-tools-panel[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}
body[data-route="guias"] dialog.guide-tools-panel::backdrop{background:rgb(22 31 22 / .34)}
body[data-route="guias"] .guide-tools-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:calc(1.25rem + env(safe-area-inset-top)) 1.25rem 1.15rem;border-bottom:2px solid var(--guide-ink);background:#dfff00}
body[data-route="guias"] .guide-hero .guide-tools-head h2{margin:0;font:700 1.65rem/1.1 GuideGrotesk,system-ui,sans-serif;letter-spacing:-.03em}
body[data-route="guias"] .guide-tools-head p{margin:.4rem 0 0;font:500 .9rem/1.3 GuideGrotesk,system-ui,sans-serif;color:var(--guide-ink);overflow-wrap:anywhere}
body[data-route="guias"] .guide-tools-panel .guide-tools-close{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:9px;background:var(--guide-paper);border-radius:8px}
body[data-route="guias"] .guide-tools-close svg{width:22px;height:22px}
body[data-route="guias"] .guide-tools-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:1.1rem 1.25rem max(1.5rem,env(safe-area-inset-bottom));scrollbar-color:var(--guide-moss) var(--guide-paper)}
body[data-route="guias"] .guide-tools-panel .guide-actions-member{display:block}
body[data-route="guias"] .guide-tools-intro{margin:0 0 .7rem;font:500 .92rem/1.45 GuideGrotesk,system-ui,sans-serif;color:#414838}
body[data-route="guias"] .guide-tools-panel .guide-tool-entry{display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:.8rem;width:100%;max-width:none;min-height:88px;margin:0;padding:1rem 0;border:0!important;border-bottom:1px solid #bbbca4!important;border-radius:0;background:transparent;color:var(--guide-ink);box-shadow:none;text-align:left;font:inherit;letter-spacing:0;text-transform:none;white-space:normal}
body[data-route="guias"] .guide-tools-panel .guide-tool-entry:hover{background:#e8e0c0;color:var(--guide-ink);transform:none}
body[data-route="guias"] .guide-tools-panel .guide-tool-entry:focus-visible{outline:3px solid #173fc4;outline-offset:2px;background:#e8e0c0;color:var(--guide-ink)}
body[data-route="guias"] .guide-tools-panel .guide-favorite.guide-tool-entry[aria-pressed="true"]{background:transparent;color:var(--guide-ink);border:0!important;border-bottom:1px solid #bbbca4!important;text-decoration:none}
body[data-route="guias"] .guide-tools-panel .guide-favorite.guide-tool-entry[aria-pressed="true"] .guide-tool-icon{background:var(--guide-ink);color:#dfff00}
body[data-route="guias"] .guide-tool-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#e8e0c0;color:var(--guide-ink)}
body[data-route="guias"] .guide-tool-icon svg{width:24px;height:24px}
body[data-route="guias"] .guide-tool-arrow svg{display:block;width:18px;height:18px}
body[data-route="guias"] .guide-tool-entry-copy{display:grid;gap:.28rem;min-width:0}
body[data-route="guias"] .guide-tool-entry-label{font:700 1rem/1.25 GuideGrotesk,system-ui,sans-serif}
body[data-route="guias"] .guide-tool-entry-hint{font:400 .83rem/1.4 GuideGrotesk,system-ui,sans-serif;color:#414838}
body[data-route="guias"] .guide-tools-panel .guide-tool-favorite{margin:0;padding:0;border:0}
body[data-route="guias"] .guide-tools-panel .guide-tool-favorite .guide-tool-status{margin:.35rem 0}
body[data-route="guias"] .guide-tools-panel .guide-tools-back{margin:0 0 1.3rem;padding:.55rem 0;border:0!important;border-radius:0;background:transparent;color:#414838;font:500 .88rem/1.4 GuideGrotesk,system-ui,sans-serif;text-align:left;justify-content:flex-start}
body[data-route="guias"] .guide-tools-panel [data-guide-tool-view]{padding:0;border:0}
body[data-route="guias"] .guide-tools-panel [data-guide-tool-view] h3{margin:0 0 .65rem;font:700 1.55rem/1.15 GuideGrotesk,system-ui,sans-serif;letter-spacing:-.025em}
body[data-route="guias"] .guide-tools-panel [data-guide-tool-view] h3:focus{outline:none}
body[data-route="guias"] .guide-tools-panel [data-guide-tool-view]>p{margin:0 0 1.25rem;font-size:.95rem;line-height:1.5}
body[data-route="guias"] .guide-tools-panel [data-guide-tool-view]>button{background:#dfff00}
body[data-route="guias"] .guide-tools-panel .guide-tools-session{padding:.2rem 0 .7rem}
body[data-route="guias"] .guide-tools-panel dialog::backdrop{background:rgb(22 31 22 / .18)}
body[data-route="guias"] .guide-tools-panel ::selection{background:#dfff00;color:var(--guide-ink)}
@media(max-width:700px){
 body[data-route="guias"] dialog.guide-tools-panel{inset:auto 0 0;width:100%;height:auto;max-height:86dvh;border:2px solid var(--guide-ink);border-bottom:0;border-radius:20px 20px 0 0;box-shadow:0 -5px 0 #00d8b0}
 body[data-route="guias"] .guide-tools-head{padding:1rem 1rem .85rem}
 body[data-route="guias"] .guide-hero .guide-tools-head h2{font-size:1.4rem}
 body[data-route="guias"] .guide-tools-body{padding:1rem 1rem max(1.3rem,env(safe-area-inset-bottom))}
 body[data-route="guias"] .guide-tools-panel .guide-tool-entry{min-height:82px;padding:.85rem 0;gap:.7rem}
}
body[data-route="guias"] .guide-tools-panel .guide-tools-menu .guide-favorite.guide-tool-entry[aria-pressed]{background:transparent!important;color:var(--guide-ink)!important;border:0!important;border-bottom:1px solid #bbbca4!important;box-shadow:none!important}
body[data-route="guias"] .guide-tools-panel .guide-tools-menu .guide-favorite.guide-tool-entry:hover,body[data-route="guias"] .guide-tools-panel .guide-tools-menu .guide-favorite.guide-tool-entry:focus-visible{background:#e8e0c0!important}
body[data-route="guias"] .guide-tools-panel .guide-tool-pdf:has(.guide-pdf-ready:not([hidden])) [data-guide-pdf]{display:none}
