/* =====================================================================
   hotspots-360 — css/hotspots.css: los PUNTOS DE INTERÉS del visor aéreo (pareja de js/hotspots.js).

   Qué cubre (catalogo.json manda: claves, clases y estados son su contrato)
     0. variables --hs-* (heredan de --g3-* del tema y de --av-* de css/aereo.css; el valor v4 solo de reserva)
     1. base común de todos los rótulos .aereo-rotulo.hs: pastilla, tallo, punto, botones, foco, toque de 44 px
     2. los 12 presets: pastilla · estirada · tarjeta · anillo · foco · horizonte · numerada · cifra ·
        banderola · etiqueta-3d · audio · video-miniatura
     3. módulos: pin (marcador icono/svg/foto/abanico/lottie), destacado (un amarillo), piel oscura, salto
     4. la tarjeta desplegada (.hs-tarjeta) y los botones .hs-btn (el visor no carga ui-golf360.css)
     5. la hoja de ficha dentro del visor (.hs-velo + .hs-hoja[role=dialog]) con sus medios
     6. HUD (brújula de lugares), cinta (título con letras vivas) y chip «Animación»
     7. móvil (el mismo corte que MQ_MOVIL), tótem y alto contraste
     8. SIN ANIMACIÓN: prefers-reduced-motion y el interruptor «Animación» (.aereo-visor[data-animacion="0"])
   Reglas (comun.prohibido): nunca se transforma .aereo-rotulo ni el .psv-marker (PSV escribe su transform y cachea
   su tamaño); solo se anima transform, opacity y clip-path (este, solo en entradas y despliegues); el ancho de la
   pastilla no cambia después de creada; ningún texto baja de .9 de opacidad; sin desenfoque dentro de la esfera.
   Sin este fichero (o sin js/hotspots.js) el visor es el de siempre.
   ===================================================================== */

/* ── 0. Variables ──────────────────────────────────────────────────────── */
.aereo-visor, .hs, .hs-hoja, .hs-velo, .hs-hud {
    --hs-esc: var(--av-esc, 1);
    --hs-oscuro-rgb: var(--g3-velo-rgb, 7,61,53);
    --hs-franja: rgba(var(--hs-oscuro-rgb), .88);          /* blanco encima: ≥ 8:1 incluso con nube blanca detrás */
    --hs-oscuro: var(--g3-marca-oscura, #073D35);
    --hs-marca: var(--g3-marca, #0A6355);
    --hs-destello: var(--g3-destello, #FFCC00);            /* un solo amarillo por pantalla, con tinta encima */
    --hs-tinta: var(--g3-texto, #1A1A1A);
    --hs-suave: var(--g3-texto-suave, #55634D);
    --hs-tinte: var(--g3-tinte, #E2F2EE);
    --hs-tinte-hover: var(--g3-tinte-hover, #D3EBE5);
    --hs-linea: var(--g3-linea, #DCEBE7);
    --hs-acento: var(--g3-acento-fondo, var(--g3-acento, #0A6355));
    --hs-foco: var(--g3-foco, var(--av-azul, #6D28D9));
    --hs-fuente: var(--g3-fuente-titulo, var(--av-fuente, system-ui, sans-serif));
    --hs-fuente-cifra: var(--hs-fuente);
    --hs-entra: cubic-bezier(.2,.9,.3,1.2);
    --hs-sale: cubic-bezier(.2,.8,.2,1);
    --hs-sombra: 0 1px 2px rgba(var(--hs-oscuro-rgb), .22), 0 4px 14px -2px rgba(var(--hs-oscuro-rgb), .34);
    --hs-sombra-alta: 0 2px 4px rgba(var(--hs-oscuro-rgb), .2), 0 12px 28px -6px rgba(var(--hs-oscuro-rgb), .5);
    --hs-sombra-tarjeta: 0 24px 48px -12px rgba(var(--hs-oscuro-rgb), .55), 0 6px 14px rgba(var(--hs-oscuro-rgb), .22);
    --hs-color: #52525B;
}
/* Las tarjetas, la hoja y las pastillas son SIEMPRE claras (van sobre la foto): en el modo oscuro del tema la tinta no se invierte */
html[data-theme="dark"] .aereo-visor, html[data-theme="dark"] .hs, html[data-theme="dark"] .hs-hoja {
    --hs-tinta: #14231a; --hs-suave: #4f5f55; --hs-tinte: #e2f2ee; --hs-tinte-hover: #d3ebe5; --hs-linea: #dcebe7;
    --hs-marca: #0a6355;
}
/* Color del tipo de lugar (los mismos que js/hotspots-mapa.js; todos ≥ 4,5:1 sobre blanco) */
.hs[data-tipo="p"] { --hs-color: #B45309; }
.hs[data-tipo="z"] { --hs-color: #0E7490; }
.hs[data-tipo="u"] { --hs-color: #475569; }
.hs[data-tipo="r"] { --hs-color: #15803D; }
.hs[data-tipo="m"] { --hs-color: #7C3AED; }
.hs[data-tipo="s"] { --hs-color: #1D4ED8; }
.hs[data-tipo="n"] { --hs-color: #047857; }
.hs[data-tipo="o"] { --hs-color: #52525B; }

/* ── 1. Base común ─────────────────────────────────────────────────────── */
/* El .aereo-rotulo es la caja que PSV coloca: solo se le da contexto para lo que va encima (tarjeta, luz, línea) */
.aereo-visor .aereo-rotulo.hs { position: relative; }
.aereo-visor .aereo-rotulo.hs .aereo-rotulo-pastilla {
    position: relative; margin: 0; border: 0;
    gap: calc(7px * var(--hs-esc));
    background: #fff; color: var(--hs-tinta);
    font: 700 calc(13px * var(--hs-esc))/1 var(--hs-fuente);
    letter-spacing: -.005em;
    box-shadow: var(--hs-sombra);
    transition: transform 200ms var(--hs-sale);
}
.aereo-visor .aereo-rotulo.hs .aereo-rotulo-pastilla b { font-weight: 700; }
/* La distancia: cifras tabulares y ancho reservado (no baila mientras cuenta); en el color del tipo */
.aereo-visor .aereo-rotulo.hs .hs-dist {
    display: inline-block; min-width: calc(var(--ch, 4) * .6em); text-align: left;
    font: 650 calc(12px * var(--hs-esc))/1 var(--hs-fuente); font-style: normal; font-variant-numeric: tabular-nums;
    color: var(--hs-color);
}
/* La sombra fuerte del centrado vive en ::after y solo cambia su opacidad (box-shadow nunca se anima) */
.aereo-visor .aereo-rotulo.hs .aereo-rotulo-pastilla::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    box-shadow: var(--hs-sombra-alta); opacity: 0; transition: opacity 200ms var(--hs-sale);
}
.aereo-visor .aereo-rotulo.hs.is-centro .aereo-rotulo-pastilla::after { opacity: 1; }
.aereo-visor .aereo-rotulo.hs.is-centro .aereo-rotulo-pastilla { transform: translateY(-2px); }
/* Tallo y punto: el color del tipo; --hs-d (cercanía al centro) atenúa tallo y punto, nunca el texto */
.aereo-visor .aereo-rotulo.hs .aereo-rotulo-tallo { position: relative; transform-origin: 50% 100%; }
.aereo-visor .aereo-rotulo.hs .aereo-rotulo-punto { position: relative; background: var(--hs-color); }
.aereo-visor .aereo-rotulo.hs .aereo-rotulo-tallo,
.aereo-visor .aereo-rotulo.hs .aereo-rotulo-punto:not(.hs-pin):not(.hs-diana):not(.hs-ventana) {
    opacity: calc(.55 + .45 * var(--hs-d, 1));
}
.aereo-visor .aereo-rotulo.hs .aereo-rotulo-punto::after {         /* halo del centrado y anillo de llegada */
    content: ""; position: absolute; inset: -5px; border-radius: 50%; pointer-events: none;
    box-shadow: 0 0 0 2.5px rgba(255,255,255,.85), 0 0 10px 2px rgba(255,255,255,.45);
    opacity: 0; transition: opacity 200ms var(--hs-sale);
}
.aereo-visor .aereo-rotulo.hs.is-centro .aereo-rotulo-punto:not(.hs-pin):not(.hs-ventana):not(.hs-diana)::after { opacity: 1; }
/* Tallo que llegaría a su punto por debajo de otra pastilla (L1R2-10): se corta 4 px antes de ella y acaba en un punto blanco;
   la altura que pierde pasa a margen, así la caja medida (y el sitio de la pastilla) no cambia. El punto real queda tapado. */
.aereo-visor .aereo-rotulo.hs.hs-tallo-corto .aereo-rotulo-tallo { height: calc(var(--tallo, 24px) - var(--hs-corte, 0px)); margin-bottom: var(--hs-corte, 0px); }
.aereo-visor .aereo-rotulo.hs.hs-tallo-corto .aereo-rotulo-tallo::after {
    content: ""; position: absolute; left: 50%; bottom: -3px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%;
    background: #fff; box-shadow: 0 0 0 1px rgba(var(--hs-oscuro-rgb), .3);
}
.aereo-visor .aereo-rotulo.hs.hs-tallo-corto .aereo-rotulo-punto:not(.hs-pin):not(.hs-diana):not(.hs-ventana) { visibility: hidden; }
/* Lo que sustituye al punto (pin, diana, ventana) se ve también en zonas y pueblos (aereo.css esconde su punto) */
.aereo-visor .aereo-rotulo.hs .hs-pin,
.aereo-visor .aereo-rotulo.hs .hs-diana,
.aereo-visor .aereo-rotulo.hs .hs-ventana { visibility: inherit; }

/* Controles dentro de la esfera: el .psv-marker no recibe el dedo; los botones sí */
.aereo-visor .aereo-rotulo.hs button {
    -webkit-appearance: none; appearance: none; font-family: inherit; cursor: pointer;
    pointer-events: auto; touch-action: none; -webkit-tap-highlight-color: transparent;
}
.aereo-visor .aereo-rotulo.hs button.aereo-rotulo-pastilla { padding-top: 0; padding-bottom: 0; }
/* 28 px visibles, 44 de toque */
.aereo-visor .aereo-rotulo.hs button.aereo-rotulo-pastilla::before {
    content: ""; position: absolute; inset: -8px -4px; border-radius: 99px;
}
.aereo-visor .aereo-rotulo.hs button.aereo-rotulo-pastilla:active { transform: scale(.94); transition-duration: 60ms; }
@media (hover: hover) {
    .aereo-visor .aereo-rotulo.hs button.aereo-rotulo-pastilla:hover::after { opacity: 1; }
    .aereo-visor .aereo-rotulo.hs button.aereo-rotulo-pastilla:hover { transform: translateY(-2px); }
}
/* Foco visible sobre cualquier foto: aro del tema entre blancos */
.aereo-visor .aereo-rotulo.hs button:focus { outline: none; }
.aereo-visor .aereo-rotulo.hs button:focus-visible {
    outline: 3px solid var(--hs-foco); outline-offset: 2px; box-shadow: 0 0 0 2px #fff, 0 0 0 7px #fff;
}
/* «Nombres» apagado: los que hacen algo al tocarlos siguen (son acciones, como los de interior 3D) */
.aereo-visor[data-nombres="0"] .aereo-rotulo.hs[data-accion]:not(.is-oculto),
.aereo-visor[data-nombres="0"] .aereo-rotulo.hs[data-estilo="tarjeta"]:not(.is-oculto) { visibility: visible; }

/* Entrada en espera: el rótulo nace invisible hasta el fotograma en que la escena le pone .is-vivo */
.aereo-visor .aereo-rotulo.hs.is-espera > * { opacity: 0; }

/* ── 2. Presets ────────────────────────────────────────────────────────── */

/* 2.1 pastilla — Pastilla viva: el punto rebota, el tallo sube, la pastilla se abre y el nombre se recoge */
.aereo-visor .aereo-rotulo.hs.is-vivo .aereo-rotulo-punto { animation: hs-pop 180ms var(--hs-entra) both; animation-delay: calc(var(--hs-i, 0) * 70ms); }
.aereo-visor .aereo-rotulo.hs.is-vivo .aereo-rotulo-tallo { animation: hs-tallo 220ms var(--hs-sale) both; animation-delay: calc(var(--hs-i, 0) * 70ms + 120ms); }
.aereo-visor .aereo-rotulo.hs.is-vivo .aereo-rotulo-pastilla { animation: hs-abre 260ms var(--hs-sale) both; animation-delay: calc(var(--hs-i, 0) * 70ms + 260ms); }
.aereo-visor .aereo-rotulo.hs.is-vivo .aereo-rotulo-pastilla > b { animation: hs-recoge 320ms var(--hs-sale) both; animation-delay: calc(var(--hs-i, 0) * 70ms + 260ms); }
@keyframes hs-pop { 0% { transform: scale(0); } 70% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes hs-tallo { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes hs-abre {
    from { clip-path: inset(0 50% 0 50% round 99px); opacity: 0; }
    to { clip-path: inset(-14px -14px -18px -14px round 99px); opacity: 1; }
}
@keyframes hs-recoge { from { transform: scaleX(1.18); } to { transform: scaleX(1); } }

/* 2.2 estirada — Letras que se estiran: franja oscura, mayúsculas espaciadas, filete que se extiende */
.aereo-visor .aereo-rotulo.hs .hs-estirada {
    height: calc(26px * var(--hs-esc)); padding: 0 calc(13px * var(--hs-esc));
    border-radius: 6px; background: var(--hs-franja); color: #fff;
    font: 800 calc(12.5px * var(--hs-esc))/1 var(--hs-fuente);
    text-transform: uppercase; letter-spacing: .16em;
    box-shadow: 0 6px 16px -6px rgba(var(--hs-oscuro-rgb), .6);
}
.aereo-visor .aereo-rotulo.hs .hs-estirada > b { margin-right: -.16em; transform-origin: 50% 100%; }   /* el tracking no descentra */
.aereo-visor .aereo-rotulo.hs .hs-filete {
    position: absolute; left: -12px; right: -12px; bottom: -6px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0), #fff 22%, #fff 78%, rgba(255,255,255,0));
    box-shadow: 0 1px 3px rgba(0,0,0,.35);
    transition: transform 200ms var(--hs-sale), opacity 200ms linear; opacity: .85;
}
.aereo-visor .aereo-rotulo.hs.is-centro .hs-filete { transform: scaleX(1.6); opacity: 1; }
.aereo-visor .aereo-rotulo.hs.is-centro .hs-estirada { transform: none; }
.aereo-visor .aereo-rotulo.hs.is-centro .hs-estirada > b { transform: translateY(-2px); transition: transform 200ms var(--hs-sale); }
.aereo-visor .aereo-rotulo.hs[data-estilo="estirada"] .aereo-rotulo-punto { background: #fff; box-shadow: 0 0 0 2px var(--hs-oscuro), 0 1px 4px rgba(0,0,0,.4); }
.aereo-visor .aereo-rotulo.hs.is-vivo .hs-estirada { animation: hs-aparece 200ms linear both; animation-delay: calc(var(--hs-i, 0) * 70ms + 160ms); }
.aereo-visor .aereo-rotulo.hs.is-vivo .hs-estirada > b { animation: hs-goma 560ms cubic-bezier(.2,.9,.3,1.3) both; animation-delay: calc(var(--hs-i, 0) * 70ms + 160ms); }
.aereo-visor .aereo-rotulo.hs.is-vivo .hs-filete { animation: hs-filete 420ms var(--hs-sale) both; animation-delay: calc(var(--hs-i, 0) * 70ms + 250ms); }
@keyframes hs-aparece { from { opacity: 0; } to { opacity: 1; } }
@keyframes hs-goma { 0% { transform: scaleX(1.6); opacity: 0; } 60% { transform: scaleX(.96); opacity: 1; } 100% { transform: scaleX(1); opacity: 1; } }
@keyframes hs-filete { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* 2.3 tarjeta — en reposo, pastilla con icono y «+» (el cuerpo desplegado está en el apartado 4) */
.aereo-visor .aereo-rotulo.hs .hs-tarjeta-btn { padding: 0 calc(5px * var(--hs-esc)) 0 calc(4px * var(--hs-esc)); gap: calc(7px * var(--hs-esc)); }
.aereo-visor .aereo-rotulo.hs .hs-ico {
    display: grid; place-items: center; flex: none;
    width: calc(21px * var(--hs-esc)); height: calc(21px * var(--hs-esc)); border-radius: 50%;
    background: var(--hs-color); color: #fff;
}
.aereo-visor .aereo-rotulo.hs .hs-ico svg { width: 62%; height: 62%; }
.aereo-visor .aereo-rotulo.hs .hs-mas {
    display: grid; place-items: center; flex: none;
    width: calc(19px * var(--hs-esc)); height: calc(19px * var(--hs-esc)); border-radius: 50%;
    background: var(--hs-tinte); color: var(--hs-marca);
    transition: transform 260ms var(--hs-entra), background-color 160ms linear, color 160ms linear;
}
.aereo-visor .aereo-rotulo.hs .hs-mas svg { width: 62%; height: 62%; stroke-width: 3; }
.aereo-visor .aereo-rotulo.hs.is-abierto .hs-mas { transform: rotate(45deg); background: var(--hs-marca); color: #fff; }
.aereo-visor .aereo-rotulo.hs.is-abierto .hs-tarjeta-btn { box-shadow: 0 0 0 2px var(--hs-marca), var(--hs-sombra-alta); }
.aereo-visor .aereo-rotulo.hs.is-centro:not(.is-abierto) .hs-mas { background: var(--hs-marca); color: #fff; }
.aereo-visor .aereo-rotulo.hs.is-vivo .hs-ico { animation: hs-pop 240ms var(--hs-entra) both; animation-delay: calc(var(--hs-i, 0) * 70ms + 380ms); }

/* 2.4 anillo — Diana de radar: el nombre está plegado y sale al centrar, tocar o enfocar */
.aereo-visor .aereo-rotulo.hs .hs-anillo-nombre {
    clip-path: inset(100% 0 0 0); opacity: 0;
    transition: clip-path 220ms var(--hs-sale), opacity 220ms var(--hs-sale);
}
.aereo-visor .aereo-rotulo.hs.is-centro .hs-anillo-nombre,
.aereo-visor .aereo-rotulo.hs.is-abierto .hs-anillo-nombre,
.aereo-visor .aereo-rotulo.hs:focus-within .hs-anillo-nombre { clip-path: inset(-14px -14px -18px -14px); opacity: 1; }
.aereo-visor .aereo-rotulo.hs[data-estilo="anillo"].is-vivo .hs-anillo-nombre { animation: none; }
/* En reposo el tallo es una antena corta al 60 % que crece hasta el nombre cuando este se despliega */
.aereo-visor .aereo-rotulo.hs[data-estilo="anillo"] .aereo-rotulo-tallo { opacity: .6; transform: scaleY(.3); transition: opacity 220ms linear, transform 220ms var(--hs-sale); }
.aereo-visor .aereo-rotulo.hs[data-estilo="anillo"].is-vivo .aereo-rotulo-tallo { animation: none; }
.aereo-visor .aereo-rotulo.hs[data-estilo="anillo"].is-centro .aereo-rotulo-tallo,
.aereo-visor .aereo-rotulo.hs[data-estilo="anillo"].is-abierto .aereo-rotulo-tallo,
.aereo-visor .aereo-rotulo.hs[data-estilo="anillo"]:focus-within .aereo-rotulo-tallo { opacity: 1; transform: none; }
@media (hover: hover) {
    .aereo-visor .aereo-rotulo.hs[data-estilo="anillo"]:hover .hs-anillo-nombre { clip-path: inset(-14px -14px -18px -14px); opacity: 1; }
    .aereo-visor .aereo-rotulo.hs[data-estilo="anillo"]:hover .aereo-rotulo-tallo { opacity: 1; transform: none; }
}
/* La diana sustituye al punto: 44×44 transparente con el ancla en su centro y un punto visible de 12 px */
.aereo-visor .aereo-rotulo.hs .hs-diana {
    display: grid; place-items: center; width: calc(44px * var(--hs-esc)); height: calc(44px * var(--hs-esc));
    margin: calc(-18px * var(--hs-esc)) auto calc(-22px * var(--hs-esc)); padding: 0; border: 0; border-radius: 50%;
    background: transparent; box-shadow: none;
}
.aereo-visor .aereo-rotulo.hs .hs-diana > i {
    position: relative; z-index: 1; display: block; width: 12px; height: 12px; border-radius: 50%;
    background: var(--hs-color); box-shadow: 0 0 0 2.5px #fff, 0 0 0 4px rgba(var(--hs-oscuro-rgb), .3), 0 2px 6px rgba(0,0,0,.4);
    transition: transform 200ms var(--hs-entra);
}
.aereo-visor .aereo-rotulo.hs.is-centro .hs-diana > i,
.aereo-visor .aereo-rotulo.hs.is-abierto .hs-diana > i { transform: scale(1.25); }
.aereo-visor .aereo-rotulo.hs .hs-diana::before,
.aereo-visor .aereo-rotulo.hs .hs-diana::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
    border: 2px solid #fff; box-shadow: 0 0 0 1px var(--hs-color); opacity: 0; pointer-events: none;
}
/* halo fijo: el de los que no laten, el de los que ya han latido y el de la versión quieta */
.aereo-visor .aereo-rotulo.hs .hs-diana::before { opacity: .55; transform: scale(1.7); border-width: 1.5px; }
/* Solo laten los tres más cercanos (.hs-eco, que pone la escena) y solo 3 veces: al llegar a la toma y al centrarlos
   (data-latido alterna entre dos @keyframes iguales para relanzar sin reflow). Nada en bucle: en reposo el hilo duerme (R2-11).
   Al acabar, el ::before vuelve a su halo con un fundido (hs-onda-halo va primero en la lista: mientras late, manda la onda). */
.aereo-visor .aereo-rotulo.hs.hs-eco .hs-diana::before { animation: hs-onda-halo 500ms ease-out 7.2s backwards, hs-onda-a 2.4s ease-out 3; }
.aereo-visor .aereo-rotulo.hs.hs-eco .hs-diana::after { animation: hs-onda-a 2.4s ease-out 1.2s 3; }
.aereo-visor .aereo-rotulo.hs.hs-eco[data-latido="2"] .hs-diana::before { animation-name: hs-onda-halo-b, hs-onda-b; }
.aereo-visor .aereo-rotulo.hs.hs-eco[data-latido="2"] .hs-diana::after { animation-name: hs-onda-b; }
@keyframes hs-onda-a { 0% { transform: scale(1); opacity: .85; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes hs-onda-b { 0% { transform: scale(1); opacity: .85; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes hs-onda-halo { from { transform: scale(1.7); opacity: 0; } }
@keyframes hs-onda-halo-b { from { transform: scale(1.7); opacity: 0; } }

/* 2.5 foco — Foco de luz: luz suave, tallo encendido como un haz y línea punteada al centrar */
.aereo-visor .aereo-rotulo.hs[data-estilo="foco"] .hs-haz { background: rgba(255,255,255,.75); }
.aereo-visor .aereo-rotulo.hs .hs-haz::after {
    content: ""; position: absolute; inset: 0; background: #fff; border-radius: 2px;
    box-shadow: 0 0 6px 1px rgba(255,255,255,.9);
    transform: scaleY(0); transform-origin: 50% 100%; transition: transform 420ms var(--hs-sale);
}
.aereo-visor .aereo-rotulo.hs.is-centro .hs-haz::after { transform: scaleY(1); transition-duration: 280ms; }
.aereo-visor .aereo-rotulo.hs .hs-luz {
    position: absolute; left: 50%; bottom: 0; width: 160px; height: 160px; margin: 0 0 -80px -80px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.30), rgba(255,255,255,.12) 38%, rgba(255,255,255,0) 70%);
    opacity: 0; transform: scale(.6); pointer-events: none;
    transition: opacity 560ms var(--hs-sale), transform 560ms var(--hs-sale);
}
.aereo-visor .aereo-rotulo.hs.is-centro .hs-luz { opacity: 1; transform: scale(1); transition-duration: 360ms; }
.aereo-visor .aereo-rotulo.hs .hs-horizonte {
    position: absolute; left: 50%; bottom: -1px; width: 140px; height: 2px; margin-left: -70px; pointer-events: none;
    background: repeating-linear-gradient(90deg, #fff 0 6px, rgba(255,255,255,0) 6px 12px);
    filter: drop-shadow(0 0 1px rgba(0,0,0,.7));
    opacity: 0; transform: scaleX(0); transition: transform 560ms var(--hs-sale), opacity 560ms linear;
}
.aereo-visor .aereo-rotulo.hs.is-centro .hs-horizonte { opacity: 1; transform: scaleX(1); transition: transform 420ms var(--hs-sale) 120ms, opacity 200ms linear 120ms; }

/* 2.6 horizonte — Línea que se extiende: para lo que es ancho (playa, pueblo, sierra) */
.aereo-visor .aereo-rotulo.hs .hs-tallo-mudo { background: transparent; box-shadow: none; }
.aereo-visor .aereo-rotulo.hs .hs-sin-punto { visibility: hidden; }
.aereo-visor .aereo-rotulo.hs .hs-linea {
    position: absolute; left: 50%; bottom: -1px; width: var(--hs-largo, 150px); height: 2px;
    margin-left: calc(var(--hs-largo, 150px) / -2); border-radius: 2px; pointer-events: none;
    background: #fff; box-shadow: 0 0 0 .75px rgba(var(--hs-oscuro-rgb), .55), 0 1px 4px rgba(0,0,0,.35);
}
.aereo-visor .aereo-rotulo.hs .hs-linea::before,
.aereo-visor .aereo-rotulo.hs .hs-linea::after {
    content: ""; position: absolute; bottom: -3px; width: 3px; height: 9px; border-radius: 2px;
    background: #fff; box-shadow: 0 0 0 .75px rgba(var(--hs-oscuro-rgb), .55);
    transition: background-color 200ms linear;
}
.aereo-visor .aereo-rotulo.hs .hs-linea::before { left: -1px; }
.aereo-visor .aereo-rotulo.hs .hs-linea::after { right: -1px; }
.aereo-visor .aereo-rotulo.hs.is-centro .hs-linea::before,
.aereo-visor .aereo-rotulo.hs.is-centro .hs-linea::after { background: var(--hs-color); box-shadow: 0 0 0 1.5px #fff; }
/* un pequeño tallo pintado DENTRO del tallo mudo: une el nombre con la línea sin cambiar la caja medida */
.aereo-visor .aereo-rotulo.hs .hs-tallo-mudo::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: rgba(255,255,255,.9); border-radius: 2px;
}
.aereo-visor .aereo-rotulo.hs[data-variante="oscura"] .hs-horizonte-nombre { background: var(--hs-franja); color: #fff; }
.aereo-visor .aereo-rotulo.hs[data-variante="oscura"] .hs-horizonte-nombre .hs-dist { color: rgba(255,255,255,.92); }
.aereo-visor .aereo-rotulo.hs.is-vivo .hs-linea { animation: hs-filete 420ms var(--hs-sale) both; animation-delay: calc(var(--hs-i, 0) * 70ms); }
.aereo-visor .aereo-rotulo.hs.is-vivo .hs-horizonte-nombre { animation: hs-emerge 320ms var(--hs-sale) both; animation-delay: calc(var(--hs-i, 0) * 70ms + 160ms); }
@keyframes hs-emerge {
    from { clip-path: inset(100% -14px -18px -14px round 99px); transform: translateY(6px); opacity: 0; }
    to { clip-path: inset(-14px -14px -18px -14px round 99px); transform: none; opacity: 1; }
}

/* 2.7 numerada — Paradas de ruta: disco con el número (acento del tema), nombre y «3 de 9 · 1,2 km» */
.aereo-visor .aereo-rotulo.hs .hs-parada { padding-left: calc(3px * var(--hs-esc)); gap: calc(7px * var(--hs-esc)); }
.aereo-visor .aereo-rotulo.hs .hs-num {
    display: grid; place-items: center; flex: none; overflow: hidden;
    width: calc(22px * var(--hs-esc)); height: calc(22px * var(--hs-esc)); border-radius: 50%;
    background: var(--hs-acento); color: #fff; box-shadow: inset 0 -2px 0 rgba(0,0,0,.16);
}
.aereo-visor .aereo-rotulo.hs .hs-num b { display: block; max-width: none; font: 800 calc(12.5px * var(--hs-esc))/1 var(--hs-fuente); font-variant-numeric: tabular-nums; color: #fff; }
.aereo-visor .aereo-rotulo.hs .hs-parada .hs-dist { color: var(--hs-suave); font-weight: 600; }
.aereo-visor .aereo-rotulo.hs[data-estilo="numerada"] .aereo-rotulo-punto { background: var(--hs-acento); }
.aereo-visor .aereo-rotulo.hs[data-estilo="numerada"].is-vivo .aereo-rotulo-pastilla { animation-delay: calc(var(--hs-i, 0) * 90ms + 120ms); }
.aereo-visor .aereo-rotulo.hs.is-vivo .hs-num { animation: hs-disco 240ms var(--hs-entra) both; animation-delay: calc(var(--hs-i, 0) * 90ms + 200ms); }
.aereo-visor .aereo-rotulo.hs.is-vivo .hs-num b { animation: hs-rodillo 220ms var(--hs-sale) both; animation-delay: calc(var(--hs-i, 0) * 90ms + 300ms); }
.aereo-visor .aereo-rotulo.hs.is-vivo .hs-parada-nombre { animation: hs-desde-izq 260ms var(--hs-sale) both; animation-delay: calc(var(--hs-i, 0) * 90ms + 340ms); }
@keyframes hs-disco { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes hs-rodillo { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes hs-desde-izq { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(-4px -4px -4px 0); } }

/* 2.8 cifra — Dato que cuenta: la cifra manda, la unidad entra al final, el nombre al lado */
.aereo-visor .aereo-rotulo.hs .hs-cifra { padding: 0 calc(12px * var(--hs-esc)) 0 calc(11px * var(--hs-esc)); gap: calc(4px * var(--hs-esc)); transform-origin: 50% 100%; }
.aereo-visor .aereo-rotulo.hs .hs-cifra-num {
    display: inline-block; min-width: calc(var(--ch, 4) * 1ch); text-align: right;
    font: 800 calc(18px * var(--hs-esc))/1 var(--hs-fuente-cifra); font-style: normal; font-variant-numeric: tabular-nums;
    letter-spacing: -.02em; color: var(--hs-tinta);
}
.aereo-visor .aereo-rotulo.hs .hs-cifra small { font: 700 calc(12px * var(--hs-esc))/1 var(--hs-fuente); color: var(--hs-tinta); }
.aereo-visor .aereo-rotulo.hs .hs-cifra > b {
    margin-left: calc(4px * var(--hs-esc)); padding-left: calc(8px * var(--hs-esc)); border-left: 1px solid rgba(var(--hs-oscuro-rgb), .2);
    font: 700 calc(12.5px * var(--hs-esc))/1 var(--hs-fuente); font-variant-caps: all-small-caps; letter-spacing: .03em; color: var(--hs-suave);
}
.aereo-visor .aereo-rotulo.hs.is-centro .hs-cifra { transform: scale(1.1); }
.aereo-visor .aereo-rotulo.hs.is-vivo .hs-cifra small { animation: hs-unidad 180ms var(--hs-sale) both; animation-delay: calc(var(--hs-i, 0) * 70ms + 1080ms); }
@keyframes hs-unidad { from { transform: translateX(-4px); opacity: 0; } to { transform: none; opacity: 1; } }

/* 2.9 banderola — Banderín de patrimonio con chip de época, colgado de un mástil */
.aereo-visor .aereo-rotulo.hs .hs-banderola {
    padding: 0 calc(22px * var(--hs-esc)) 0 calc(11px * var(--hs-esc)); border-radius: 6px 0 0 6px;
    background: var(--hs-oscuro); color: #fff;
    clip-path: polygon(0 0, 100% 0, calc(100% - 11px) 50%, 100% 100%, 0 100%);
    box-shadow: none;
}
.aereo-visor .aereo-rotulo.hs .hs-banderola::after { display: none; }
.aereo-visor .aereo-rotulo.hs .hs-epoca {
    display: inline-block; padding: 3px 6px; border-radius: 4px;
    background: var(--hs-tinte); color: var(--hs-oscuro);
    font: 800 calc(10.5px * var(--hs-esc))/1 var(--hs-fuente); font-style: normal; letter-spacing: .04em;
}
.aereo-visor .aereo-rotulo.hs[data-amarillo="1"] .hs-epoca { background: var(--hs-destello); color: #1A1A1A; }
.aereo-visor .aereo-rotulo.hs .hs-mastil { width: 3px; background: var(--hs-oscuro); box-shadow: 0 0 0 1px rgba(255,255,255,.75); }
.aereo-visor .aereo-rotulo.hs .hs-base {
    width: 14px; height: 5px; margin: 0 auto -2.5px; border-radius: 3px;
    background: var(--hs-oscuro); box-shadow: 0 0 0 1px rgba(255,255,255,.75), 0 1px 3px rgba(0,0,0,.4);
}
.aereo-visor .aereo-rotulo.hs.is-centro .hs-banderola { transform: translateY(-2px); }
.aereo-visor .aereo-rotulo.hs.is-vivo .hs-banderola { animation: hs-banderin 320ms var(--hs-sale) both; animation-delay: calc(var(--hs-i, 0) * 70ms + 260ms); }
@keyframes hs-banderin {
    from { clip-path: polygon(0 0, 0 0, 0 50%, 0 100%, 0 100%); }
    to { clip-path: polygon(0 0, 100% 0, calc(100% - 11px) 50%, 100% 100%, 0 100%); }
}

/* 2.10 etiqueta-3d — Etiqueta tumbada: se inclina con la mirada (tope 26°), como un cartel en el suelo */
.aereo-visor .aereo-rotulo.hs .hs-3d {
    transform: perspective(600px) rotateX(clamp(-26deg, calc(var(--hs-vista-pitch, 0) * -0.7deg), 26deg));
    transform-origin: 50% 100%;
    box-shadow: 0 10px 18px -6px rgba(var(--hs-oscuro-rgb), .45), 0 1px 2px rgba(var(--hs-oscuro-rgb), .25);
    transition: none;
}
.aereo-visor .aereo-rotulo.hs.is-centro .hs-3d { transform: perspective(600px) rotateX(clamp(-26deg, calc(var(--hs-vista-pitch, 0) * -0.7deg), 26deg)); }
@media (min-width: 1024px) and (hover: hover) {
    .aereo-visor .aereo-rotulo.hs .hs-3d,
    .aereo-visor .aereo-rotulo.hs.is-centro .hs-3d {
        transform: perspective(600px) rotateX(clamp(-26deg, calc(var(--hs-vista-pitch, 0) * -0.7deg), 26deg)) rotateY(clamp(-20deg, calc(var(--hs-rel, 0) * -0.5deg), 20deg));
    }
}

/* 2.11 audio — Punto que habla: franja oscura, altavoz con aro de progreso, tiempo y barras que laten */
.aereo-visor .aereo-rotulo.hs .hs-audio { padding: 0 calc(11px * var(--hs-esc)) 0 calc(3px * var(--hs-esc)); background: var(--hs-franja); color: #fff; }
.aereo-visor .aereo-rotulo.hs .hs-audio b { color: #fff; }
.aereo-visor .aereo-rotulo.hs .hs-altavoz,
.hs-hoja .hs-altavoz {
    position: relative; display: grid; place-items: center; flex: none;
    width: calc(22px * var(--hs-esc)); height: calc(22px * var(--hs-esc)); border-radius: 50%;
    background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28);
}
.aereo-visor .aereo-rotulo.hs .hs-altavoz > svg:not(.hs-aro),
.hs-hoja .hs-altavoz > svg:not(.hs-aro) { width: 58%; height: 58%; }
.hs-aro { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; pointer-events: none; }
.hs-aro circle {
    fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round;
    stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--hs-prog, 0) * 100);
}
.aereo-visor .aereo-rotulo.hs .hs-tiempo {
    display: inline-block; min-width: calc(var(--ch, 4) * .62em); text-align: left;
    font: 650 calc(12px * var(--hs-esc))/1 var(--hs-fuente); font-style: normal; font-variant-numeric: tabular-nums;
    color: rgba(255,255,255,.92);
}
.hs-barras { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; flex: none; }
.hs-barras i { display: block; width: 3px; height: 100%; border-radius: 2px; background: currentColor; transform: scaleY(.3); transform-origin: 50% 100%; opacity: .7; }
.hs-barras i:nth-child(2) { transform: scaleY(.55); }
.hs-barras i:nth-child(3) { transform: scaleY(.4); }
.is-sonando .hs-barras i { opacity: 1; animation: hs-late .8s ease-in-out infinite alternate; }
.is-sonando .hs-barras i:nth-child(2) { animation-delay: -.3s; animation-duration: .7s; }
.is-sonando .hs-barras i:nth-child(3) { animation-delay: -.55s; animation-duration: .9s; }
.is-sonando .hs-barras i:nth-child(4) { animation-delay: -.15s; animation-duration: .75s; }
@keyframes hs-late { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
/* (aereo.css pinta de violeta todo <i> de la pastilla: las barras son blancas aquí) */
.aereo-visor .aereo-rotulo.hs .hs-barras { color: #fff; }
.aereo-visor .aereo-rotulo.hs .hs-barras i { color: inherit; }
.aereo-visor .aereo-rotulo.hs[data-estilo="audio"] .aereo-rotulo-punto { background: #fff; box-shadow: 0 0 0 2px var(--hs-oscuro), 0 1px 4px rgba(0,0,0,.4); }
.aereo-visor .aereo-rotulo.hs.is-sonando .hs-audio { box-shadow: 0 0 0 2px #fff, var(--hs-sombra-alta); }
.aereo-visor .aereo-rotulo.hs .hs-audio--leer .hs-tiempo { min-width: 0; }

/* 2.12 video-miniatura — Ventana de vídeo: el punto es una ventanita redonda que se mueve al centrarla */
.aereo-visor .aereo-rotulo.hs .hs-ventana {
    position: relative; display: block; overflow: hidden;
    width: calc(48px * var(--hs-esc)); height: calc(48px * var(--hs-esc));
    margin: calc(-20px * var(--hs-esc)) auto calc(-24px * var(--hs-esc)); padding: 0;
    border: 2px solid #fff; border-radius: 50%; background: var(--hs-oscuro);
    box-shadow: 0 0 0 1px rgba(var(--hs-oscuro-rgb), .4), 0 6px 16px -4px rgba(0,0,0,.55);
    transition: transform 220ms var(--hs-entra);
}
.aereo-visor .aereo-rotulo.hs .hs-ventana::after { display: none; }
.aereo-visor .aereo-rotulo.hs .hs-poster,
.aereo-visor .aereo-rotulo.hs .hs-ventana-video {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.aereo-visor .aereo-rotulo.hs .hs-poster { transition: opacity 300ms linear; }
.aereo-visor .aereo-rotulo.hs .hs-play {
    position: absolute; left: 50%; top: 50%; display: grid; place-items: center;
    width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
    background: rgba(var(--hs-oscuro-rgb), .72); color: #fff; box-shadow: 0 0 0 1.5px rgba(255,255,255,.8);
    transition: opacity 200ms linear;
}
.aereo-visor .aereo-rotulo.hs .hs-play svg { width: 10px; height: 10px; margin-left: 1px; }
.aereo-visor .aereo-rotulo.hs.is-reproduciendo .hs-poster,
.aereo-visor .aereo-rotulo.hs.is-reproduciendo .hs-play { opacity: 0; }
.aereo-visor .aereo-rotulo.hs.is-centro .hs-ventana { transform: scale(1.18); }

/* ── 3. Módulos sobre cualquier preset ─────────────────────────────────── */

/* 3.1 pin — el punto se cambia por un icono, un SVG, una foto redonda, un abanico o una animación */
.aereo-visor .aereo-rotulo.hs .hs-pin {
    position: relative; display: grid; place-items: center;
    width: calc(36px * var(--hs-esc)); height: calc(36px * var(--hs-esc));
    margin: calc(-14px * var(--hs-esc)) auto calc(-18px * var(--hs-esc)); padding: 0;
    border: 2px solid #fff; border-radius: 50%;
    background: var(--hs-color); color: #fff;
    box-shadow: 0 0 0 1px rgba(var(--hs-oscuro-rgb), .35), 0 6px 14px -4px rgba(0,0,0,.5);
    transition: transform 220ms var(--hs-entra);
}
.aereo-visor .aereo-rotulo.hs button.hs-pin::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; }
.aereo-visor .aereo-rotulo.hs .hs-pin::after { display: none; }
.aereo-visor .aereo-rotulo.hs .hs-pin > img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.aereo-visor .aereo-rotulo.hs .hs-pin-ico { display: grid; place-items: center; width: 100%; height: 100%; }
.aereo-visor .aereo-rotulo.hs .hs-pin-ico svg { width: 56%; height: 56%; }
.aereo-visor .aereo-rotulo.hs .hs-pin[data-pin="svg"] { background: #fff; }
.aereo-visor .aereo-rotulo.hs .hs-pin[data-pin="svg"] > img { object-fit: contain; }
.aereo-visor .aereo-rotulo.hs .hs-pin[data-pin="foto"] { background: var(--hs-tinte); }
.aereo-visor .aereo-rotulo.hs .hs-pin[data-pin="abanico"] { background: transparent; border: 0; box-shadow: none; overflow: visible; }
.aereo-visor .aereo-rotulo.hs .hs-pin[data-pin="abanico"] > img {
    position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 6px;
    border: 2px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,.4); transition: transform 240ms var(--hs-entra);
}
.aereo-visor .aereo-rotulo.hs .hs-abanico-0 { transform: rotate(-8deg) translateX(-4px); }
.aereo-visor .aereo-rotulo.hs .hs-abanico-2 { transform: rotate(8deg) translateX(4px); }
.aereo-visor .aereo-rotulo.hs.is-centro .hs-abanico-0 { transform: rotate(-14deg) translateX(-11px); }
.aereo-visor .aereo-rotulo.hs.is-centro .hs-abanico-2 { transform: rotate(14deg) translateX(11px); }
.aereo-visor .aereo-rotulo.hs .hs-pin-lottie { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: var(--hs-oscuro); }
.aereo-visor .aereo-rotulo.hs .hs-pin-lottie > img,
.aereo-visor .aereo-rotulo.hs .hs-pin-lottie > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.aereo-visor .aereo-rotulo.hs .hs-pin.is-lottie .hs-pin-poster { opacity: 0; }
.aereo-visor .aereo-rotulo.hs.is-centro .hs-pin { transform: scale(1.15); }
.aereo-visor .aereo-rotulo.hs.is-centro .hs-pin[data-pin="foto"] { transform: scale(1.5); }
.aereo-visor .aereo-rotulo.hs.is-vivo .hs-pin { animation: hs-pop 260ms var(--hs-entra) both; animation-delay: calc(var(--hs-i, 0) * 70ms); }

/* 3.2 destacado — el golpe amarillo: chasquido, un barrido de luz y un halo, una sola vez */
.aereo-visor .aereo-rotulo.hs[data-amarillo="1"] .aereo-rotulo-pastilla:not(.hs-banderola) { background: var(--hs-destello); color: #1A1A1A; }
.aereo-visor .aereo-rotulo.hs[data-amarillo="1"] .aereo-rotulo-pastilla:not(.hs-banderola) b,
.aereo-visor .aereo-rotulo.hs[data-amarillo="1"] .aereo-rotulo-pastilla:not(.hs-banderola) .hs-dist,
.aereo-visor .aereo-rotulo.hs[data-amarillo="1"] .hs-cifra-num,
.aereo-visor .aereo-rotulo.hs[data-amarillo="1"] .hs-cifra small { color: #1A1A1A; }
.aereo-visor .aereo-rotulo.hs[data-amarillo="1"] .hs-cifra > b { color: #3a3a2a; border-left-color: rgba(26,26,26,.25); }
.aereo-visor .aereo-rotulo.hs[data-amarillo="1"] .aereo-rotulo-punto:not(.hs-pin) { background: var(--hs-destello); box-shadow: 0 0 0 2px #1A1A1A, 0 1px 4px rgba(0,0,0,.4); }
/* el ::after de la pastilla pasa a ser el barrido: una ventana de luz que cruza la pastilla (clip-path) */
.aereo-visor .aereo-rotulo.hs[data-amarillo="1"] .aereo-rotulo-pastilla:not(.hs-banderola)::after {
    box-shadow: none; background: rgba(255,255,255,.7); opacity: 0; clip-path: inset(0 100% 0 -20%);
}
.aereo-visor .aereo-rotulo.hs[data-amarillo="1"].is-centro .aereo-rotulo-pastilla:not(.hs-banderola) {
    box-shadow: 0 0 0 3px rgba(26,26,26,.85), var(--hs-sombra-alta);
}
.aereo-visor .aereo-rotulo.hs[data-amarillo="1"].is-vivo .aereo-rotulo-pastilla:not(.hs-banderola) {
    animation: hs-chasquido 420ms var(--hs-entra) both; animation-delay: calc(var(--hs-i, 0) * 70ms + 200ms);
}
.aereo-visor .aereo-rotulo.hs[data-amarillo="1"].is-vivo .aereo-rotulo-pastilla:not(.hs-banderola)::after {
    animation: hs-barrido 700ms ease-in-out both; animation-delay: calc(var(--hs-i, 0) * 70ms + 500ms);
}
.aereo-visor .aereo-rotulo.hs[data-amarillo="1"].is-vivo .aereo-rotulo-punto::after {
    box-shadow: 0 0 0 3px var(--hs-destello); animation: hs-halo 900ms ease-out both; animation-delay: calc(var(--hs-i, 0) * 70ms + 700ms);
}
@keyframes hs-chasquido { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes hs-barrido {
    0% { clip-path: inset(0 100% 0 -20%); opacity: 1; }
    100% { clip-path: inset(0 -20% 0 100%); opacity: 1; }
}
@keyframes hs-halo { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }

/* 3.3 piel oscura — franja verde noche del tema con letra blanca (cielos blancos, arena, puerto) */
.aereo-visor .aereo-rotulo.hs[data-piel="oscura"] .aereo-rotulo-pastilla:not(.hs-banderola) { background: var(--hs-franja); color: #fff; }
.aereo-visor .aereo-rotulo.hs[data-piel="oscura"] .aereo-rotulo-pastilla b { color: #fff; }
.aereo-visor .aereo-rotulo.hs[data-piel="oscura"] .hs-dist,
.aereo-visor .aereo-rotulo.hs[data-piel="oscura"] .hs-parada .hs-dist { color: rgba(255,255,255,.92); }
.aereo-visor .aereo-rotulo.hs[data-piel="oscura"] .hs-cifra-num,
.aereo-visor .aereo-rotulo.hs[data-piel="oscura"] .hs-cifra small { color: #fff; }
.aereo-visor .aereo-rotulo.hs[data-piel="oscura"] .hs-cifra > b { color: rgba(255,255,255,.92); border-left-color: rgba(255,255,255,.3); }
.aereo-visor .aereo-rotulo.hs[data-piel="oscura"] .hs-mas { background: rgba(255,255,255,.16); color: #fff; }

/* 3.4 salto — al llegar, el punto emite un anillo una vez */
.aereo-visor .aereo-rotulo.hs .aereo-rotulo-punto.hs-llega::after { animation: hs-halo 700ms ease-out both; opacity: 1; }

/* ── 4. Tarjeta desplegada (un único cuerpo compartido, primer hijo del rótulo abierto) ── */
.aereo-visor .aereo-rotulo.hs .hs-tarjeta {
    position: absolute; z-index: 2; left: 50%; bottom: calc(100% + 10px);
    width: calc(272px * var(--hs-esc)); margin-left: calc(-136px * var(--hs-esc));
    box-sizing: border-box; border-radius: 18px; background: #fff; color: var(--hs-tinta);
    box-shadow: var(--hs-sombra-tarjeta), 0 0 0 1px rgba(var(--hs-oscuro-rgb), .06);
    text-align: left; white-space: normal; line-height: 1.4; font: 500 calc(13.5px * var(--hs-esc))/1.4 var(--av-fuente, var(--hs-fuente));
    pointer-events: auto; cursor: default; touch-action: pan-y;
    transform-origin: 50% 100%;
}
/* el piquito que apunta a la pastilla */
.aereo-visor .aereo-rotulo.hs .hs-tarjeta::after {
    content: ""; position: absolute; left: 50%; bottom: -6px; width: 14px; height: 14px; margin-left: -7px;
    background: #fff; border-radius: 0 0 3px 0; transform: rotate(45deg);
    box-shadow: 3px 3px 6px -2px rgba(var(--hs-oscuro-rgb), .2);
}
.aereo-visor .aereo-rotulo.hs[data-lado="der"] .hs-tarjeta { margin-left: calc(-40px * var(--hs-esc)); transform-origin: 40px 100%; }
.aereo-visor .aereo-rotulo.hs[data-lado="der"] .hs-tarjeta::after { left: calc(40px * var(--hs-esc)); }
.aereo-visor .aereo-rotulo.hs[data-lado="izq"] .hs-tarjeta { margin-left: calc((-272px + 40px) * var(--hs-esc)); transform-origin: calc(100% - 40px) 100%; }
.aereo-visor .aereo-rotulo.hs[data-lado="izq"] .hs-tarjeta::after { left: auto; right: calc(40px * var(--hs-esc)); margin: 0 -7px 0 0; }
/* colgando bajo el punto cuando el lugar queda en lo alto de la vista */
.aereo-visor .aereo-rotulo.hs[data-abajo="1"] .hs-tarjeta { bottom: auto; top: calc(100% + 14px); transform-origin: 50% 0; }
.aereo-visor .aereo-rotulo.hs[data-abajo="1"] .hs-tarjeta::after { bottom: auto; top: -6px; border-radius: 3px 0 0 0; box-shadow: none; }
.aereo-visor .aereo-rotulo.hs .hs-tarjeta * { box-sizing: border-box; }

.aereo-visor .aereo-rotulo.hs .hs-portada {
    position: relative; margin: 0; overflow: hidden; aspect-ratio: 2 / 1;
    border-radius: 18px 18px 0 0; background: var(--hs-tinte);
}
.aereo-visor .aereo-rotulo.hs .hs-portada > img,
.aereo-visor .aereo-rotulo.hs .hs-portada-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.aereo-visor .aereo-rotulo.hs .hs-portada::before {           /* degradado inferior: el aspa y el chip se leen sobre cualquier foto */
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 34%, rgba(0,0,0,0) 62%, rgba(0,0,0,.32) 100%);
}
.aereo-visor .aereo-rotulo.hs .hs-portada.is-rota > img { visibility: hidden; }
.aereo-visor .aereo-rotulo.hs .hs-portada--svg > img { object-fit: contain; padding: 10px; }
.aereo-visor .aereo-rotulo.hs .hs-portada--svg::before { display: none; }
.aereo-visor .aereo-rotulo.hs .hs-portada-video { opacity: 0; transition: opacity 300ms linear; }
.aereo-visor .aereo-rotulo.hs .hs-portada.is-reproduciendo .hs-portada-video { opacity: 1; }
/* Toda la portada de vídeo es un botón: abre el vídeo grande en la hoja. Quieta (móvil, sin animación, ahorro de datos): disco de «reproducir» */
.aereo-visor .aereo-rotulo.hs .hs-ver-video {
    position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0;
    background: transparent; touch-action: none;
}
.aereo-visor .aereo-rotulo.hs .hs-ver-video:focus-visible { outline: 3px solid #fff; outline-offset: -5px; box-shadow: none; }
.aereo-visor .aereo-rotulo.hs .hs-portada--video:not(.is-reproduciendo) .hs-ver-video::after {
    content: ""; position: absolute; z-index: 2; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
    background: rgba(var(--hs-oscuro-rgb), .7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3C/svg%3E") 55% 50% / 20px no-repeat;
    box-shadow: 0 0 0 2px rgba(255,255,255,.85);
}
.aereo-visor .aereo-rotulo.hs .hs-portada .hs-lottie-caja { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; }
.aereo-visor .aereo-rotulo.hs .hs-portada.is-lottie > img { opacity: 0; }
.aereo-visor .aereo-rotulo.hs .hs-chip-fotos {
    position: absolute; z-index: 2; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 9px; border-radius: 99px; background: rgba(var(--hs-oscuro-rgb), .82); color: #fff;
    font: 700 11.5px/1 var(--hs-fuente);
}
.aereo-visor .aereo-rotulo.hs .hs-chip-fotos svg { width: 13px; height: 13px; }
.aereo-visor .aereo-rotulo.hs .hs-pausa {
    position: absolute; z-index: 3; right: 10px; bottom: 10px; display: grid; place-items: center;
    width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(var(--hs-oscuro-rgb), .78); color: #fff; box-shadow: 0 0 0 1.5px rgba(255,255,255,.7);
}
.aereo-visor .aereo-rotulo.hs .hs-pausa::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; }
.aereo-visor .aereo-rotulo.hs .hs-pausa svg { width: 15px; height: 15px; }

.aereo-visor .aereo-rotulo.hs .hs-tarjeta-txt { padding: calc(12px * var(--hs-esc)) calc(16px * var(--hs-esc)) calc(15px * var(--hs-esc)); }
.aereo-visor .aereo-rotulo.hs .hs-tarjeta--compacta .hs-tarjeta-txt { padding-right: calc(50px * var(--hs-esc)); }
.hs-etiqueta {
    display: inline-flex; align-items: center; gap: 7px; max-width: 100%;
    font: 800 calc(10.5px * var(--hs-esc))/1 var(--hs-fuente); letter-spacing: .08em; text-transform: uppercase; color: var(--hs-suave);
}
.hs-etiqueta-ico {
    display: grid; place-items: center; flex: none; width: calc(22px * var(--hs-esc)); height: calc(22px * var(--hs-esc)); border-radius: 50%;
    background: var(--hs-c, var(--hs-marca)); color: #fff;
}
.hs-etiqueta-ico svg { width: 60%; height: 60%; }
.aereo-visor .aereo-rotulo.hs .hs-tarjeta h3 {
    margin: calc(8px * var(--hs-esc)) 0 calc(4px * var(--hs-esc));
    font: 800 calc(18px * var(--hs-esc))/1.2 var(--hs-fuente); letter-spacing: -.012em; color: var(--hs-tinta);
}
/* el título recibe el foco al abrir (para el lector de pantalla y para que Tab siga desde ahí); no es un control: sin aro */
.aereo-visor .aereo-rotulo.hs .hs-tarjeta h3:focus { outline: none; }
.aereo-visor .aereo-rotulo.hs .hs-frase { margin: 0; font: 500 calc(13.5px * var(--hs-esc))/1.45 var(--av-fuente, var(--hs-fuente)); color: var(--hs-suave); }
.aereo-visor .aereo-rotulo.hs .hs-datos { display: flex; flex-wrap: wrap; gap: 6px; margin: calc(10px * var(--hs-esc)) 0 0; }
.aereo-visor .aereo-rotulo.hs .hs-datos > span {
    display: inline-flex; align-items: baseline; gap: 6px; min-width: 0;
    padding: 6px 10px; border-radius: 99px; background: var(--hs-tinte);
}
.aereo-visor .aereo-rotulo.hs .hs-datos small { font: 700 calc(10px * var(--hs-esc))/1 var(--hs-fuente); letter-spacing: .06em; text-transform: uppercase; color: var(--hs-suave); }
.aereo-visor .aereo-rotulo.hs .hs-datos b { font: 800 calc(13.5px * var(--hs-esc))/1 var(--hs-fuente); color: var(--hs-tinta); font-variant-numeric: tabular-nums; }
.aereo-visor .aereo-rotulo.hs .hs-acciones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: calc(12px * var(--hs-esc)); }
.aereo-visor .aereo-rotulo.hs .hs-acciones .hs-btn--prim { flex: 1 1 100%; }
.aereo-visor .aereo-rotulo.hs .hs-acciones .hs-btn--sec { flex: 1 1 0; min-width: 0; }
/* Con botón principal, una sola fila: [ Ver ficha ][◎][🔊][⋯] (las secundarias, redondas; su nombre sigue ahí para el lector) */
.aereo-visor .aereo-rotulo.hs .hs-acciones:has(> .hs-btn--prim) { flex-wrap: nowrap; }
.aereo-visor .aereo-rotulo.hs .hs-acciones:has(> .hs-btn--prim) .hs-btn--prim { flex: 1 1 auto; min-width: 0; }
.aereo-visor .aereo-rotulo.hs .hs-acciones:has(> .hs-btn--prim) .hs-btn--sec { flex: none; width: calc(44px * var(--hs-esc)); padding: 0; border-radius: 50%; }
.aereo-visor .aereo-rotulo.hs .hs-acciones:has(> .hs-btn--prim) .hs-btn--sec span {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* Botones de la tarjeta y de la hoja (anatomía del kit .g3-, con los colores del tema) */
.hs-btn {
    -webkit-appearance: none; appearance: none; box-sizing: border-box; position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: calc(44px * var(--hs-esc, 1)); padding: 0 calc(16px * var(--hs-esc, 1)); margin: 0;
    border: 0; border-radius: var(--g3-radio-boton, 14px);
    font: 700 calc(14px * var(--hs-esc, 1))/1.1 var(--hs-fuente); text-decoration: none; white-space: nowrap;
    cursor: pointer; pointer-events: auto; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
    transition: transform 120ms var(--hs-sale), background-color 160ms linear;
}
.hs-btn svg { width: 18px; height: 18px; flex: none; }
.hs-btn span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hs-btn--prim { background: var(--hs-marca); color: #fff; box-shadow: inset 0 -3px 0 rgba(0,0,0,.18); }
.hs-btn--sec { background: var(--hs-tinte); color: var(--hs-marca); padding: 0 calc(12px * var(--hs-esc, 1)); font-size: calc(13px * var(--hs-esc, 1)); }
@media (hover: hover) {
    .hs-btn--prim:hover { background: var(--hs-oscuro); }
    .hs-btn--sec:hover { background: var(--hs-tinte-hover); }
}
.hs-btn:active { transform: scale(.97); }
.hs-btn:focus { outline: none; }
.hs-btn:focus-visible { outline: 3px solid var(--hs-foco); outline-offset: 2px; }
.hs-btn.is-sonando { background: var(--hs-marca); color: #fff; }
/* Aspa: 34 px a la vista, 44 de toque */
.hs-x {
    -webkit-appearance: none; appearance: none; position: absolute; z-index: 4; top: 10px; right: 10px;
    display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.94); color: var(--hs-tinta); cursor: pointer; pointer-events: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.hs-x::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; }
.hs-x svg { width: 16px; height: 16px; stroke-width: 2.6; }
.hs-x:focus { outline: none; }
.hs-x:focus-visible { outline: 3px solid var(--hs-foco); outline-offset: 2px; }
.hs-tarjeta--compacta .hs-x { background: var(--hs-tinte); box-shadow: none; }

/* Apertura: la tarjeta crece desde la pastilla, la foto se revela desde abajo y el texto entra escalonado */
.aereo-visor .aereo-rotulo.hs.is-abierto .hs-tarjeta { animation: hs-tarjeta 280ms cubic-bezier(.2,.9,.3,1.15) both; }
.aereo-visor .aereo-rotulo.hs.is-abierto .hs-portada > img { animation: hs-revela 420ms var(--hs-sale) both; animation-delay: 60ms; }
.aereo-visor .aereo-rotulo.hs.is-abierto .hs-tarjeta-txt > * { animation: hs-sube 260ms var(--hs-sale) both; animation-delay: 80ms; }
.aereo-visor .aereo-rotulo.hs.is-abierto .hs-tarjeta-txt > .hs-frase { animation-delay: 140ms; }
.aereo-visor .aereo-rotulo.hs.is-abierto .hs-tarjeta-txt > .hs-datos { animation-delay: 170ms; }
.aereo-visor .aereo-rotulo.hs.is-abierto .hs-tarjeta-txt > .hs-acciones { animation-delay: 200ms; }
@keyframes hs-tarjeta { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
/* Con una tarjeta abierta, los demás rótulos dan un paso atrás (L1-08): pastilla sin sombra y un poco más pequeña, tallo y
   punto apagados. El texto se queda en .9 (comun.prohibido: ningún conjunto con texto por debajo de .9); la abierta va
   por delante (su .psv-marker sube a z 70 en js/hotspots.js). El estado lo pone hotspots.js en la raíz (.hs-con-tarjeta,
   como .hs-con-hoja) y la abierta es la única .is-abierto: sin :has(), que costaba estilo en cada recálculo de la esfera (R2-10). */
.aereo-visor.hs-con-tarjeta .aereo-visor-esfera .aereo-rotulo:not(.is-abierto) .aereo-rotulo-pastilla { opacity: .9; transform: scale(.94); box-shadow: none; }
.aereo-visor.hs-con-tarjeta .aereo-visor-esfera .aereo-rotulo:not(.is-abierto) .aereo-rotulo-pastilla::after { opacity: 0; }
.aereo-visor.hs-con-tarjeta .aereo-visor-esfera .aereo-rotulo:not(.is-abierto) .aereo-rotulo-tallo,
.aereo-visor.hs-con-tarjeta .aereo-visor-esfera .aereo-rotulo:not(.is-abierto) .aereo-rotulo-punto,
.aereo-visor.hs-con-tarjeta .aereo-visor-esfera .aereo-rotulo.hs:not(.is-abierto) .aereo-rotulo-punto:not(.hs-pin):not(.hs-diana):not(.hs-ventana) { opacity: .3; }
/* En móvil (MQ_MOVIL) una tarjeta abierta (solo por la API: el toque abre la hoja) no queda bajo la cabecera del marco:
   la cabecera se aparta mientras está abierta, como la botonera con la hoja (L1R2-02) */
@media (max-width: 700px), (max-height: 480px) {
    .aereo-visor.hs-con-tarjeta .aereo-visor-cab { opacity: 0; visibility: hidden; pointer-events: none; }
}
@media ((max-width: 700px) or (max-height: 480px)) and (prefers-reduced-motion: no-preference) {
    .aereo-visor.hs-con-tarjeta:not([data-animacion="0"]) .aereo-visor-cab { transition: opacity 160ms linear, visibility 0s linear 160ms; }
}
@keyframes hs-revela { from { clip-path: circle(0 at 50% 100%); } to { clip-path: circle(141% at 50% 100%); } }
@keyframes hs-sube { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Con el mapa en «amplio», el rótulo que toca su caja se apaga en vez de salir partido por el borde (L1R3-04; lo decide
   js/hotspots.js por proyección, sin medir). Fuera también del Tab y del lector: lo que tapa el mapa no se puede usar. */
.aereo-visor .aereo-rotulo.hs-bajo-mapa { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 120ms linear, visibility 0s linear 120ms; }
.aereo-visor[data-animacion="0"] .aereo-rotulo.hs-bajo-mapa { transition: none; }
@media (prefers-reduced-motion: reduce) { .aereo-visor:not([data-animacion="1"]) .aereo-rotulo.hs-bajo-mapa { transition: none; } }

/* ── 5. Hoja de ficha dentro del visor ─────────────────────────────────── */
.hs-velo {
    position: absolute; inset: 0; z-index: 54;
    background: linear-gradient(90deg, rgba(var(--hs-oscuro-rgb), 0) 30%, rgba(var(--hs-oscuro-rgb), .42) 70%);
    animation: hs-aparece 280ms linear both;
}
.hs-hoja {
    position: absolute; z-index: 55;
    top: calc(var(--av-borde, 14px) + var(--av-seg-t, 0px)); right: calc(var(--av-borde, 14px) + var(--av-seg-r, 0px));
    bottom: calc(var(--av-borde, 14px) + var(--av-seg-b, 0px));
    width: min(calc(380px * var(--hs-esc)), calc(100% - 2 * var(--av-borde, 14px)));
    display: flex; flex-direction: column; overflow: hidden; box-sizing: border-box;
    border-radius: var(--g3-radio-hoja, 22px); background: #fff; color: var(--hs-tinta);
    box-shadow: 0 30px 60px -12px rgba(var(--hs-oscuro-rgb), .6), 0 0 0 1px rgba(var(--hs-oscuro-rgb), .08);
    font: 500 calc(14.5px * var(--hs-esc))/1.5 var(--av-fuente, var(--hs-fuente));
    animation: hs-hoja-lado 320ms var(--hs-sale) both;
    touch-action: pan-y;
}
.hs-hoja * { box-sizing: border-box; }
@keyframes hs-hoja-lado { from { transform: translateX(calc(100% + 24px)); } to { transform: none; } }
@keyframes hs-hoja-abajo { from { transform: translateY(100%); } to { transform: none; } }
.hs-hoja__cab { position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: 0; }
.hs-hoja__asa { display: none; }
.hs-hoja__cuerpo { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 28px; scrollbar-width: thin; }
/* El texto que sigue bajo el pie se desvanece en vez de cortarse en seco: avisa de que hay más (L1-09). El relleno de 28 px
   deja que lo último suba por encima del degradado al llegar al final. */
.hs-hoja__cuerpo { -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }
.hs-hoja__portada { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--hs-tinte); }
.hs-hoja__portada img { display: block; width: 100%; height: 100%; object-fit: cover; animation: hs-cortina 420ms var(--hs-sale) both; animation-delay: 80ms; }
.hs-hoja__portada .hs-medio__video { width: 100%; height: 100%; border-radius: 0; aspect-ratio: auto; }
.hs-hoja__portada--svg img { object-fit: contain; padding: 14px; }
@keyframes hs-cortina { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
.hs-hoja__encabezado { padding: calc(18px * var(--hs-esc)) calc(20px * var(--hs-esc)) calc(4px * var(--hs-esc)); padding-right: calc(56px * var(--hs-esc)); }
.hs-hoja__portada ~ .hs-hoja__encabezado { padding-right: calc(20px * var(--hs-esc)); }
.hs-hoja__tit {
    margin: calc(9px * var(--hs-esc)) 0 calc(4px * var(--hs-esc));
    font: 800 calc(23px * var(--hs-esc))/1.15 var(--hs-fuente); letter-spacing: -.018em; color: var(--hs-tinta);
}
.hs-hoja__tit:focus { outline: none; }
.hs-hoja__linea { margin: 0; font: 600 calc(13px * var(--hs-esc))/1.35 var(--hs-fuente); color: var(--hs-suave); font-variant-numeric: tabular-nums; }
.hs-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin: calc(14px * var(--hs-esc)) calc(20px * var(--hs-esc)) 0; }
.hs-stat { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 11px; border-radius: 14px; background: var(--hs-tinte); min-width: 0; }
.hs-stat b { font: 800 calc(18px * var(--hs-esc))/1.05 var(--hs-fuente); color: var(--hs-tinta); font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-stat span { font: 700 calc(10.5px * var(--hs-esc))/1.15 var(--hs-fuente); text-transform: uppercase; letter-spacing: .06em; color: var(--hs-suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-hoja__texto { margin: calc(14px * var(--hs-esc)) calc(20px * var(--hs-esc)) 0; color: var(--hs-tinta); text-wrap: pretty; }
/* Medios, en el orden del punto */
.hs-medio { margin: calc(16px * var(--hs-esc)) calc(20px * var(--hs-esc)) 0; }
.hs-medio > img, .hs-medio__video { display: block; width: 100%; border-radius: 14px; background: #0d140b; }
.hs-medio > img { aspect-ratio: 16 / 9; object-fit: cover; background: var(--hs-tinte); }
.hs-medio__video { aspect-ratio: 16 / 9; object-fit: cover; }
.hs-medio__pie { margin: 7px 2px 0; font: 600 calc(12.5px * var(--hs-esc))/1.35 var(--hs-fuente); color: var(--hs-suave); }
.hs-medio__svg { display: block; width: 100%; max-height: 260px; object-fit: contain; padding: 10px; border-radius: 14px; background: var(--hs-tinte); }
.hs-tira { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: thin; }
.hs-tira figure { flex: 0 0 72%; margin: 0; scroll-snap-align: start; }
.hs-tira img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--hs-tinte); }
.hs-tira figcaption { margin-top: 5px; font: 600 12px/1.3 var(--hs-fuente); color: var(--hs-suave); }
/* audio: fila con botón redondo de 48 px, título, tiempo y barras */
.hs-medio__audio {
    display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 16px;
    background: var(--hs-oscuro); color: #fff;
}
.hs-audio-btn {
    -webkit-appearance: none; appearance: none; position: relative; flex: none; display: grid; place-items: center;
    width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.12); color: #fff; cursor: pointer;
}
.hs-audio-btn .hs-altavoz { width: 40px; height: 40px; background: var(--hs-marca); }
.hs-audio-btn:focus { outline: none; }
.hs-audio-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.hs-medio__audio-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hs-medio__audio-info b { font: 700 calc(14px * var(--hs-esc))/1.25 var(--hs-fuente); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-medio__audio-info .hs-tiempo { font: 600 calc(12.5px * var(--hs-esc))/1 var(--hs-fuente); font-style: normal; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.88); }
.hs-medio__audio .hs-barras { height: 18px; gap: 3px; color: var(--hs-destello); }
.hs-medio__audio .hs-barras i { width: 4px; }
/* Lottie: póster mientras llega la animación (solo a la vista y nunca sin animación) */
.hs-medio__lottie { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: radial-gradient(circle at 50% 45%, #fff 0, var(--hs-tinte) 70%); }
.hs-medio__lottie .hs-lottie-poster, .hs-medio__lottie .hs-lottie-caja { position: absolute; inset: 12%; width: 76%; height: 76%; }
.hs-medio__lottie .hs-lottie-poster { object-fit: contain; transition: opacity 200ms linear; }
.hs-medio__lottie.is-lista .hs-lottie-poster { opacity: 0; }
/* Vista 360: nada se carga hasta pulsar */
.hs-medio__embed {
    position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden;
    background: linear-gradient(160deg, var(--hs-marca), var(--hs-oscuro));
}
.hs-medio__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hs-medio__embed .hs-cargar { background: #fff; color: var(--hs-oscuro); }
/* Transcripción («Leer») */
.hs-leer { margin: calc(16px * var(--hs-esc)) calc(20px * var(--hs-esc)) 0; border-radius: 14px; background: var(--hs-tinte); }
.hs-leer__sum {
    display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; cursor: pointer; list-style: none;
    font: 700 calc(13.5px * var(--hs-esc))/1.2 var(--hs-fuente); color: var(--hs-marca);
}
.hs-leer__sum::-webkit-details-marker { display: none; }
.hs-leer__sum::after { content: ""; margin-left: auto; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); transition: transform 200ms var(--hs-sale); }
.hs-leer[open] .hs-leer__sum::after { transform: rotate(-135deg) translateY(-2px); }
.hs-leer__sum svg { width: 18px; height: 18px; }
.hs-leer__sum:focus { outline: none; }
.hs-leer__sum:focus-visible { outline: 3px solid var(--hs-foco); outline-offset: 2px; border-radius: 14px; }
.hs-leer p { margin: 0; padding: 0 14px 14px; color: var(--hs-tinta); white-space: pre-line; }
/* Pie con las acciones: siempre a la vista */
.hs-hoja__pie {
    flex: none; display: flex; flex-wrap: wrap; gap: 8px;
    padding: 12px calc(20px * var(--hs-esc)) calc(14px + var(--av-seg-b0, 0px));
    border-top: 1px solid var(--hs-linea); background: #fff;
}
.hs-hoja__pie .hs-btn--prim { flex: 1 1 100%; }
.hs-hoja__pie .hs-btn--sec { flex: 1 1 0; min-width: max-content; }
.hs-hoja .hs-hoja__x { top: 12px; right: 12px; }
/* Entrada escalonada del contenido */
.hs-hoja .hs-hoja__encabezado, .hs-hoja .hs-stats, .hs-hoja .hs-hoja__texto { animation: hs-sube 300ms var(--hs-sale) both; animation-delay: 120ms; }
.hs-hoja .hs-stats { animation-delay: 170ms; }
.hs-hoja .hs-hoja__texto { animation-delay: 210ms; }
/* Con la hoja abierta, la brújula de lugares se aparta */
.aereo-visor .hs-con-hoja .hs-hud, .hs-con-hoja .hs-hud { visibility: hidden; }
/* …y en escritorio también la botonera de la derecha, que quedaba debajo de la hoja y asomaba cortada por su borde (L1-09).
   La hoja es modal (el foco no sale de ella): nada se pierde. */
@media (min-width: 701px) and (min-height: 481px) {
    .aereo-visor.hs-con-hoja .aereo-visor-herr { opacity: 0; visibility: hidden; pointer-events: none; }
}
@media (min-width: 701px) and (min-height: 481px) and (prefers-reduced-motion: no-preference) {
    .aereo-visor.hs-con-hoja:not([data-animacion="0"]) .aereo-visor-herr { transition: opacity 160ms linear, visibility 0s linear 160ms; }
}

/* ── 6. HUD, cinta y chip «Animación» ──────────────────────────────────── */
/* Brújula de lugares: arco fino sobre la píldora ‹ ›; las marcas las coloca el JS con transform (en aereo:vista) */
.hs-hud {
    position: absolute; z-index: 6; left: 0; right: 0;
    bottom: calc(var(--av-borde, 14px) + var(--av-seg-b, 0px) + var(--av-ctl, 44px) + 18px);
    width: min(calc(340px * var(--hs-esc)), calc(100% - 2 * var(--av-ctl, 44px) - 2 * var(--av-borde, 14px)));
    height: calc(64px * var(--hs-esc)); margin: 0 auto;
    pointer-events: none; font-family: var(--hs-fuente);
}
.hs-hud[hidden], .hs-hud[data-sin-rumbo="1"],
.aereo-visor[data-nombres="0"] .hs-hud { display: none; }
/* Con el mapa en «amplio» el HUD sigue siendo la lista de lugares del teclado (A11Y-R2-01: las fichas del mapa no tienen foco).
   En escritorio se aparta a la derecha del mapa ampliado (el mismo ancho que le da aereo.css: max(46 %, 300 px));
   en móvil no cabe: queda invisible y sin toques, pero en el orden de Tab, y aparece encima del mapa en cuanto entra el foco. */
@media (min-width: 701px) and (min-height: 481px) {
    .hs-hud[data-mini="amplio"] {
        left: calc(var(--av-borde, 14px) + var(--av-seg-l, 0px) + max(.46 * (100% - 2 * var(--av-borde, 14px) - var(--av-seg-l, 0px) - var(--av-seg-r, 0px)), 300px) + 8px);
        right: calc(var(--av-ctl, 44px) + var(--av-borde, 14px) + var(--av-seg-r, 0px) + 8px);
        width: auto; max-width: calc(340px * var(--hs-esc));
    }
}
.hs-hud[data-mini="amplio"]:focus-within { z-index: 7; }           /* por encima del mapa (.aereo-mini, z 6) */
.hs-hud::before {                                      /* el arco (SVG de fondo, sin nodo propio) sobre una sombra suave que se lee en cielo blanco y en arena */
    content: ""; position: absolute; left: -12%; right: -12%; top: 22px; bottom: -14px; pointer-events: none;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 16' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='b' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='0'/%3E%3Cstop offset='.14' stop-color='%23fff' stop-opacity='.85'/%3E%3Cstop offset='.86' stop-color='%23fff' stop-opacity='.85'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient id='s' x1='0' x2='1'%3E%3Cstop offset='0' stop-opacity='0'/%3E%3Cstop offset='.14' stop-opacity='.5'/%3E%3Cstop offset='.86' stop-opacity='.5'/%3E%3Cstop offset='1' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 15A50 12 0 0 1 100 15' fill='none' stroke='url(%23s)' stroke-width='3' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 14A50 12 0 0 1 100 14' fill='none' stroke='url(%23b)' stroke-width='2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center 17px / calc(100% / 1.24) 16px no-repeat,
        radial-gradient(50% 60% at 50% 45%, rgba(var(--hs-oscuro-rgb), .38), rgba(var(--hs-oscuro-rgb), 0));
}
.hs-hud::after {                                       /* la muesca del centro: «aquí miras» */
    content: ""; position: absolute; left: 50%; top: 31px; width: 0; height: 0; margin-left: -6px; pointer-events: none;
    border: 6px solid transparent; border-top: 7px solid #fff; border-bottom: 0;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,.5));
}
.hs-hud-marca {
    -webkit-appearance: none; appearance: none; position: absolute; left: calc(50% - 22px); top: 24px;
    width: 44px; height: 44px; padding: 0; margin: 0; border: 0; background: transparent;
    display: grid; place-items: center; cursor: pointer; pointer-events: auto; touch-action: manipulation;
    color: var(--hs-tinta); -webkit-tap-highlight-color: transparent;
    transition: transform 140ms linear, opacity 140ms linear;
}
.hs-hud-marca > i {
    display: grid; place-items: center; width: 4px; height: 14px; border-radius: 3px;
    background: var(--hs-c, #fff); box-shadow: 0 0 0 1.5px #fff, 0 1px 4px rgba(0,0,0,.55);
    transition: transform 160ms var(--hs-entra);
}
.hs-hud-marca--num > i { width: 20px; height: 20px; border-radius: 50%; background: var(--hs-acento); font: 800 11px/1 var(--hs-fuente); font-style: normal; color: #fff; }
.hs-hud-marca.is-centro > i { transform: scaleY(1.45); background: #fff; box-shadow: 0 0 0 2px var(--hs-c, #fff), 0 1px 6px rgba(0,0,0,.6); }
.hs-hud-marca--num.is-centro > i { transform: scale(1.2); background: var(--hs-acento); box-shadow: 0 0 0 2px #fff, 0 1px 6px rgba(0,0,0,.6); }
.hs-hud-marca.is-junta { opacity: 0; pointer-events: none; }
/* Una marca agrupada o fuera del arco que recibe el foco (← →) se ve mientras lo tiene: la vista ya va hacia ella (A11Y-02) */
.hs-hud-marca.is-junta:focus-visible { opacity: 1; z-index: 3; }
.hs-hud-marca[data-n]::after {
    content: attr(data-n); position: absolute; left: 50%; top: 32px; transform: translateX(-50%);
    padding: 2px 5px; border-radius: 99px; background: rgba(var(--hs-oscuro-rgb), .85); color: #fff;
    font: 800 10px/1 var(--hs-fuente); pointer-events: none;
}
.hs-hud-nombre {
    position: absolute; left: 50%; bottom: 34px; display: inline-flex; align-items: baseline; gap: 6px;
    padding: 6px 11px; border-radius: 99px; background: #fff; color: var(--hs-tinta);
    box-shadow: var(--hs-sombra); white-space: nowrap; transform: translateX(-50%);
    clip-path: inset(100% 0 0 0 round 99px); opacity: 0; transition: clip-path 200ms var(--hs-sale), opacity 200ms linear;
    pointer-events: none; font: 700 calc(12.5px * var(--hs-esc))/1 var(--hs-fuente);
}
/* La distancia viaja en data-d (un nodo menos por marca: presupuesto del catálogo) */
.hs-hud-nombre[data-d]::after { content: attr(data-d); font: 650 calc(11.5px * var(--hs-esc))/1 var(--hs-fuente); color: var(--hs-c, var(--hs-suave)); font-variant-numeric: tabular-nums; filter: brightness(.85); }
.hs-hud-marca.is-centro .hs-hud-nombre,
.hs-hud-marca:focus-visible .hs-hud-nombre { clip-path: inset(-6px round 99px); opacity: 1; }
.hs-hud-marca.is-resaltado > i { box-shadow: 0 0 0 2px #fff, 0 0 0 6px rgba(255,255,255,.45), 0 1px 6px rgba(0,0,0,.6); }
.hs-hud-marca:focus { outline: none; }
/* Aro del tema entre dos blancos, como el de los botones de la esfera: se ve sobre prado, cielo o mar (A11Y-03) */
.hs-hud-marca:focus-visible { outline: 3px solid var(--hs-foco); outline-offset: -5px; border-radius: 50%; box-shadow: inset 0 0 0 7px #fff; }
@media (hover: hover) { .hs-hud-marca:hover .hs-hud-nombre { clip-path: inset(-6px round 99px); opacity: 1; } .hs-hud-marca:hover { z-index: 2; } }
.hs-hud-marca.is-centro { z-index: 1; }
/* «‹ Villanueva» y «Bufones +1 ›»: lo que queda fuera del arco por cada lado (el protagonista y cuántos más), en el ::before
   y el ::after de un único span (presupuesto P9). Se pueden tocar: giran la vista hacia allí (L1-07). 26 px a la vista y
   44 de toque (borde transparente de 9 px que también recibe el dedo). Fuera del arco para no tapar la marca de su borde
   (en el móvil no hay sitio: van dentro y solo con la cuenta, §7). */
.hs-hud-fuera { position: absolute; left: 0; right: 0; top: 24px; height: 0; pointer-events: none; }
.hs-hud-fuera[data-izq]::before, .hs-hud-fuera[data-der]::after {
    position: absolute; top: 0; box-sizing: border-box; padding: 6px 10px; border: 9px solid transparent; border-width: 9px 4px;
    border-radius: 99px; background: rgba(var(--hs-oscuro-rgb), .86); background-clip: padding-box; color: #fff; white-space: nowrap;
    font: 700 calc(12px * var(--hs-esc))/1 var(--hs-fuente); font-variant-numeric: tabular-nums;
    pointer-events: auto; cursor: pointer;
}
.hs-hud-fuera[data-izq]::before { content: attr(data-izq); right: calc(100% + 2px); }
.hs-hud-fuera[data-der]::after { content: attr(data-der); left: calc(100% + 2px); }
@media (hover: hover) { .hs-hud-fuera[data-izq]:hover::before, .hs-hud-fuera[data-der]:hover::after { background-color: rgba(var(--hs-oscuro-rgb), .97); } }

/* Cinta: el título de la toma entra con las letras estiradas que se recogen (fuera de la esfera: aquí sí vale letter-spacing) */
.aereo-visor-titulo.hs-cinta { animation: hs-cinta 700ms var(--hs-sale) both; }
.aereo-visor-titulo.hs-cinta ~ * { animation: hs-sube 420ms var(--hs-sale) both; animation-delay: 120ms; }
.aereo-visor-titulo.hs-cinta ~ * ~ * { animation-delay: 240ms; }
@keyframes hs-cinta {
    0% { letter-spacing: .4em; clip-path: inset(0 0 100% 0); opacity: 0; }
    60% { opacity: 1; }
    100% { letter-spacing: -.005em; clip-path: inset(0 -1em -.3em 0); opacity: 1; }
}

/* Chip «Animación» (L1-12): un ajuste secundario, no compite con «Nombres». Encendido (lo normal) = blanco, como cualquier
   control; apagado = aro violeta y el icono tachado (js/hotspots.js lo cambia), que es lo que conviene ver. Nunca relleno violeta. */
.aereo-visor .hs-chip-animacion svg { width: calc(var(--av-ctl, 44px) * .42); height: calc(var(--av-ctl, 44px) * .42); }
.aereo-visor .hs-chip-animacion[aria-pressed] { background: #fff; color: var(--av-verde, var(--hs-marca)); }
.aereo-visor .hs-chip-animacion[aria-pressed="false"] { color: var(--av-azul, #6D28D9); box-shadow: inset 0 0 0 2px var(--av-azul, #6D28D9), var(--av-sombra-foto, 0 2px 8px rgba(0,0,0,.25)); }
@media (hover: hover) { .aereo-visor .hs-chip-animacion[aria-pressed]:hover { background: var(--av-tinte-hover, var(--hs-tinte-hover)); } }
/* Entre el corte del móvil y 1240 px, el chip con texto (136 px) empujaba la botonera bajo la píldora ‹ 24 / 40 › (a 1100 px se
   pisaban 60 px; sin el kit, nada): ahí queda solo el icono, como «Nombres» en el móvil; el nombre sigue en aria-label y title. */
@media (min-width: 701px) and (max-width: 1239px) and (min-height: 481px) {
    .aereo-visor .hs-chip-animacion { width: var(--av-ctl, 44px); padding: 0; }
    .aereo-visor .hs-chip-animacion .aereo-nombres-txt { display: none; }
}
/* …y por debajo de 1080 px el chip todavía añade 52 px: «Nombres» se queda también en icono (su nombre va en aria-label, como en
   el móvil), así la botonera con el kit es más estrecha que sin él y no llega a la píldora antes que la del visor solo. */
@media (min-width: 701px) and (max-width: 1079px) and (min-height: 481px) {
    .aereo-visor .aereo-visor-herr.hs-con-chip .aereo-nombres { width: var(--av-ctl, 44px); padding: 0; }
    .aereo-visor .aereo-visor-herr.hs-con-chip .aereo-nombres-txt { display: none; }
}

/* ── 7. Móvil (el corte de MQ_MOVIL), tótem y alto contraste ───────────── */
@media (max-width: 700px), (max-height: 480px) {
    .aereo-visor .aereo-rotulo.hs .aereo-rotulo-pastilla { font-size: 12px; }
    .aereo-visor .aereo-rotulo.hs .hs-estirada { font-size: 11.5px; letter-spacing: .14em; }
    /* La hoja sube desde abajo, donde llega el pulgar, y se cierra arrastrando su asa */
    .hs-hoja.hs-hoja--abajo, .hs-hoja {
        top: auto; left: 0; right: 0; bottom: 0; width: auto; height: min(74%, 640px);
        border-radius: 22px 22px 0 0; animation-name: hs-hoja-abajo;
    }
    .hs-velo { background: rgba(var(--hs-oscuro-rgb), .42); }
    .hs-hoja__cab { position: relative; z-index: 3; height: 22px; flex: none; display: grid; place-items: center; touch-action: none; cursor: grab; }
    .hs-hoja__asa { display: block; width: 40px; height: 5px; border-radius: 3px; background: rgba(var(--hs-oscuro-rgb), .22); }
    .hs-hoja .hs-hoja__x { top: 14px; }
    .hs-hoja__portada { margin: 0 12px; border-radius: 14px; }
    .hs-hud { width: min(300px, calc(100% - 2 * var(--av-ctl, 44px) - 2 * var(--av-borde, 12px) - 16px)); }
    .hs-hud-fuera[data-izq]::before { right: auto; left: 0; }
    .hs-hud-fuera[data-der]::after { left: auto; right: 0; }      /* el dibujo queda 4 px dentro: ya no roza «Nombres» (L1-03) */
    /* Con el mapa en «mini» (abajo a la izquierda), el arco se aparta a su derecha en vez de pintarse encima (L1-03) */
    .hs-hud[data-mini="mini"] {
        left: calc(var(--av-borde, 12px) + var(--av-seg-l, 0px) + var(--av-mini, 150px) + 8px);
        right: calc(var(--av-ctl, 44px) + var(--av-borde, 12px) + var(--av-seg-r, 0px) + 8px);
        width: auto; margin: 0;
    }
    /* «Animación» en la columna del móvil: 40 px de dibujo (un disco en ::after) y 44 de toque (el botón entero), sin relleno */
    .aereo-visor .hs-chip-animacion[aria-pressed] { position: relative; isolation: isolate; background: transparent; box-shadow: none; }
    .aereo-visor .hs-chip-animacion::after { content: ""; position: absolute; z-index: -1; inset: 2px; border-radius: 50%; background: #fff; box-shadow: var(--av-sombra-foto, 0 2px 8px rgba(0,0,0,.25)); }
    .aereo-visor .hs-chip-animacion[aria-pressed="false"]::after { box-shadow: inset 0 0 0 2px var(--av-azul, #6D28D9), var(--av-sombra-foto, 0 2px 8px rgba(0,0,0,.25)); }
    .aereo-visor .hs-chip-animacion svg { width: 17px; height: 17px; }
    /* Mapa en «amplio» en el móvil: el arco no cabe; invisible y sin toques hasta que entra el foco (A11Y-R2-01) */
    .hs-hud[data-mini="amplio"]:not(:focus-within) { opacity: 0; }
    .hs-hud[data-mini="amplio"]:not(:focus-within) * { pointer-events: none; }
    /* Con la tira de miniaturas abierta no hay sitio para la brújula */
    .aereo-visor-hoja[data-tira="1"] .hs-hud { display: none; }
}
/* Móvil en horizontal (844×390, A11Y-R3-02): con la hoja a 74 % y la portada 16:9 a todo el ancho (≈460 px) solo se veía el
   cielo de la portada y el pie en dos filas; el título enfocado quedaba fuera de la vista. Aquí la hoja ocupa casi todo el alto
   (es modal: detrás no hay nada que usar), la portada es una franja baja y el pie va en una sola fila. */
@media (max-height: 480px) and (orientation: landscape) {
    .hs-hoja.hs-hoja--abajo, .hs-hoja { height: calc(100% - 24px); }
    .hs-hoja__portada { aspect-ratio: auto; height: min(38vh, 140px); }
    .hs-hoja__pie { flex-wrap: nowrap; padding-top: 10px; padding-bottom: calc(10px + var(--av-seg-b0, 0px)); }
    .hs-hoja__pie .hs-btn--prim { flex: 1 1 auto; }
    .hs-hoja__pie .hs-btn--sec { flex: 0 1 auto; min-width: 0; }
}
/* …y si a la derecha del mapa no quedan 180 px (12 + 150 + 8 + 180 + 64 = 414), el arco no cabe: invisible hasta que entra el
   foco del teclado, y entonces centrado y encima del mapa (A11Y-R2-01; antes display:none lo sacaba del Tab) */
@media (max-width: 413px) {
    .hs-hud[data-mini="mini"]:focus-within {
        left: 0; right: 0; margin: 0 auto; z-index: 7;
        width: min(300px, calc(100% - 2 * var(--av-ctl, 44px) - 2 * var(--av-borde, 12px) - 16px));
    }
    .hs-hud[data-mini="mini"]:not(:focus-within) { opacity: 0; }
    .hs-hud[data-mini="mini"]:not(:focus-within) * { pointer-events: none; }
}
html[data-kiosco="1"] .aereo-visor .aereo-rotulo.hs .hs-tarjeta { width: calc(272px * 1.06 * var(--hs-esc)); margin-left: calc(-144px * var(--hs-esc)); }
html[data-kiosco="1"] .aereo-visor .aereo-rotulo.hs .hs-diana { width: 64px; height: 64px; margin: -28px auto -32px; }
html[data-kiosco="1"] .aereo-visor .aereo-rotulo.hs .hs-pin { width: 48px; height: 48px; margin: -20px auto -24px; }
html[data-kiosco="1"] .aereo-visor .aereo-rotulo.hs .hs-ventana { width: 64px; height: 64px; margin: -28px auto -32px; }
html[data-kiosco="1"] .aereo-visor .aereo-rotulo.hs button.aereo-rotulo-pastilla::before { inset: -14px -8px; }
html[data-kiosco="1"] .aereo-visor .aereo-rotulo.hs button.aereo-rotulo-pastilla:active { transform: scale(.9); }
html[data-kiosco="1"] .hs-hud-marca { width: 64px; height: 64px; left: calc(50% - 32px); top: 14px; }
html[data-kiosco="1"] .hs-hud { height: 84px; width: min(360px, calc(100% - 2 * var(--av-ctl, 72px) - 2 * var(--av-borde, 24px))); }
html[data-kiosco="1"] .hs-hud::before { background-position: center 23px, 0 0; }
html[data-kiosco="1"] .hs-hud::after { top: 37px; }
/* La diana del tótem enseña siempre el nombre de los tres más cercanos (nadie «centra» a conciencia) */
html[data-kiosco="1"] .aereo-visor .aereo-rotulo.hs.hs-eco .hs-anillo-nombre { clip-path: inset(-14px -14px -18px -14px); opacity: 1; }
html[data-kiosco="1"] .aereo-visor .aereo-rotulo.hs.hs-eco[data-estilo="anillo"] .aereo-rotulo-tallo { opacity: 1; transform: none; }

@media (forced-colors: active) {
    .aereo-visor .aereo-rotulo.hs .aereo-rotulo-pastilla, .hs-tarjeta, .hs-hoja, .hs-btn, .hs-hud-nombre, .hs-hud-fuera::before, .hs-hud-fuera::after { border: 1px solid CanvasText; }
    .aereo-visor .aereo-rotulo.hs button:focus-visible, .hs-btn:focus-visible, .hs-hud-marca:focus-visible { outline: 3px solid Highlight; }
    .hs-hud-marca > i, .aereo-visor .aereo-rotulo.hs .aereo-rotulo-punto { forced-color-adjust: none; background: CanvasText; }
    .aereo-visor .aereo-rotulo.hs .hs-anillo-nombre { clip-path: none; opacity: 1; }
}

/* ── 8. SIN ANIMACIÓN ──────────────────────────────────────────────────── */
/* «Animación» apagado (el chip del marco) o reducir movimiento del sistema (salvo que la persona lo haya vuelto a encender):
   animation: none y transition: none (nunca duraciones de 0 ms: una animación de 0 ms con fill sigue en getAnimations()).
   Lo que es dato sigue: posición en el HUD, --hs-d, is-centro, tiempo del audio, apertura de la tarjeta (al instante). */
.aereo-visor[data-animacion="0"] .hs, .aereo-visor[data-animacion="0"] .hs *,
.aereo-visor[data-animacion="0"] .hs::before, .aereo-visor[data-animacion="0"] .hs::after,
.aereo-visor[data-animacion="0"] .hs *::before, .aereo-visor[data-animacion="0"] .hs *::after,
.aereo-visor[data-animacion="0"] .hs-hud, .aereo-visor[data-animacion="0"] .hs-hud *,
.aereo-visor[data-animacion="0"] .hs-hud *::before, .aereo-visor[data-animacion="0"] .hs-hud *::after,
.aereo-visor[data-animacion="0"] .hs-hoja, .aereo-visor[data-animacion="0"] .hs-hoja *,
.aereo-visor[data-animacion="0"] .hs-hoja *::before, .aereo-visor[data-animacion="0"] .hs-hoja *::after,
.aereo-visor[data-animacion="0"] .hs-velo,
.aereo-visor[data-animacion="0"] .aereo-visor-titulo, .aereo-visor[data-animacion="0"] .aereo-visor-titulo ~ * {
    animation: none !important; transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
    .aereo-visor:not([data-animacion="1"]) .hs, .aereo-visor:not([data-animacion="1"]) .hs *,
    .aereo-visor:not([data-animacion="1"]) .hs::before, .aereo-visor:not([data-animacion="1"]) .hs::after,
    .aereo-visor:not([data-animacion="1"]) .hs *::before, .aereo-visor:not([data-animacion="1"]) .hs *::after,
    .aereo-visor:not([data-animacion="1"]) .hs-hud, .aereo-visor:not([data-animacion="1"]) .hs-hud *,
    .aereo-visor:not([data-animacion="1"]) .hs-hud *::before, .aereo-visor:not([data-animacion="1"]) .hs-hud *::after,
    .aereo-visor:not([data-animacion="1"]) .hs-hoja, .aereo-visor:not([data-animacion="1"]) .hs-hoja *,
    .aereo-visor:not([data-animacion="1"]) .hs-hoja *::before, .aereo-visor:not([data-animacion="1"]) .hs-hoja *::after,
    .aereo-visor:not([data-animacion="1"]) .hs-velo,
    .aereo-visor:not([data-animacion="1"]) .aereo-visor-titulo, .aereo-visor:not([data-animacion="1"]) .aereo-visor-titulo ~ * {
        animation: none !important; transition: none !important;
    }
}
/* El chip «Animación» para TODO lo que se mueve solo, también lo de aereo.css: el halo de las flechas y el de los rótulos de
   interior 3D (A11Y-06; prefers-reduced-motion ya los paraba en aereo.css) */
.aereo-visor[data-animacion="0"] .aereo-flecha-disco::after,
.aereo-visor[data-animacion="0"] .aereo-rotulo-tour::after { animation: none; }
/* Versión quieta de cada preset (comun.sinAnimacion) */
.aereo-visor[data-animacion="0"] .aereo-rotulo.hs.hs-eco .hs-anillo-nombre { clip-path: inset(-14px -14px -18px -14px); opacity: 1; }
.aereo-visor[data-animacion="0"] .aereo-rotulo.hs.hs-eco[data-estilo="anillo"] .aereo-rotulo-tallo { opacity: 1; transform: none; }
.aereo-visor[data-animacion="0"] .aereo-rotulo.hs .hs-luz,
.aereo-visor[data-animacion="0"] .aereo-rotulo.hs .hs-haz::after { display: none; }
.aereo-visor[data-animacion="0"] .aereo-rotulo.hs .hs-3d { transform: perspective(600px) rotateX(clamp(-26deg, calc(var(--hs-pitch, 0) * -0.6deg), 26deg)); }
.aereo-visor[data-animacion="0"] .aereo-rotulo.hs .hs-barras { visibility: hidden; }
.aereo-visor[data-animacion="0"] .aereo-rotulo.hs .hs-abanico-0 { transform: rotate(-10deg) translateX(-10px); }
.aereo-visor[data-animacion="0"] .aereo-rotulo.hs .hs-abanico-2 { transform: rotate(10deg) translateX(10px); }
.aereo-visor[data-animacion="0"] .aereo-rotulo.hs.is-centro .hs-cifra { transform: none; }
@media (prefers-reduced-motion: reduce) {
    .aereo-visor:not([data-animacion="1"]) .aereo-rotulo.hs.hs-eco .hs-anillo-nombre { clip-path: inset(-14px -14px -18px -14px); opacity: 1; }
    .aereo-visor:not([data-animacion="1"]) .aereo-rotulo.hs.hs-eco[data-estilo="anillo"] .aereo-rotulo-tallo { opacity: 1; transform: none; }
    .aereo-visor:not([data-animacion="1"]) .aereo-rotulo.hs .hs-luz,
    .aereo-visor:not([data-animacion="1"]) .aereo-rotulo.hs .hs-haz::after { display: none; }
    .aereo-visor:not([data-animacion="1"]) .aereo-rotulo.hs .hs-3d { transform: perspective(600px) rotateX(clamp(-26deg, calc(var(--hs-pitch, 0) * -0.6deg), 26deg)); }
    .aereo-visor:not([data-animacion="1"]) .aereo-rotulo.hs .hs-barras { visibility: hidden; }
    .aereo-visor:not([data-animacion="1"]) .aereo-rotulo.hs.is-centro .hs-cifra { transform: none; }
}

/* Iconos de la biblioteca Santuario («s:<id>», css/iconos.css) dentro de los discos de color de la pastilla-tarjeta, el pin y
   la etiqueta de la hoja: a 12-14 px el trazo de serie (1,25 en 24) se queda en medio píxel, así que aquí engorda un poco
   (sigue más fino que «sistema»), y el oro focal pasa al color del texto: #C19434 sobre los colores de tipo no llega a 3:1. */
.aereo-rotulo.hs .hs-ico, .aereo-rotulo.hs .hs-pin-ico, .hs-etiqueta-ico {
    --ico-trazo-santuario: 2.1; --ico-detalle-santuario: 1.7; --ico-grosor-focal-santuario: 2.8;
    --ico-focal: currentColor; --ico-focal-sistema: currentColor;
}
.aereo-rotulo.hs .hs-ico svg.ico, .aereo-rotulo.hs .hs-pin-ico svg.ico, .hs-etiqueta-ico svg.ico { display: block; }
