/* =========================================================================
   Trivia Spider-Man: Un Nuevo Día · estilo «Spidey Tracker»
   Paleta de la película: rojo del traje, azul del traje, amarillo del título.
   Solo se animan transform y opacity (fluido en equipos modestos).
   ========================================================================= */

@font-face { font-family: 'Anton'; src: url('../fuentes/anton-400.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Barlow C'; src: url('../fuentes/barlow-c-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow C'; src: url('../fuentes/barlow-c-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow C'; src: url('../fuentes/barlow-c-800i.woff2') format('woff2'); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Silkscreen'; src: url('../fuentes/silkscreen-400.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Silkscreen'; src: url('../fuentes/silkscreen-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Press Start 2P'; src: url('../fuentes/press-start-400.woff2') format('woff2'); font-display: swap; }

:root {
  --rojo: #E3182D;
  --rojo-2: #B3101F;
  --rojo-osc: #6E0A16;
  --azul: #1F5BFF;
  --azul-2: #3D7BFF;
  --azul-claro: #7FB2FF;
  --azul-osc: #0A1640;
  --noche: #050A1C;
  --noche-2: #0B1433;
  --oro: #FFC62B;
  --blanco: #F4F7FF;
  --texto-2: #B4C3EE;
  --borde: rgba(110, 165, 255, .28);
  --vidrio: rgba(7, 14, 40, .9);
  --f-titulo: 'Anton', 'Impact', 'Arial Narrow Bold', sans-serif;
  --f-texto: 'Barlow C', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --f-pixel: 'Silkscreen', 'Courier New', monospace;
  --seg: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --hud-h: clamp(48px, 7.4vh, 64px);
  --top: calc(var(--hud-h) + var(--seg));
  --curva: cubic-bezier(.2, .8, .2, 1);
  --rebote: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: var(--noche); color: var(--blanco); overflow: hidden; }
body {
  font-family: var(--f-texto); font-weight: 500; font-size: 16px; line-height: 1.25;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none; touch-action: manipulation; overscroll-behavior: none;
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:focus { outline: none; }
button:focus-visible, input:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
b { font-weight: 700; }

.app { position: fixed; inset: 0; overflow: hidden; isolation: isolate; }
.pixel { font-family: var(--f-pixel); text-transform: uppercase; letter-spacing: .06em; }
.nw { white-space: nowrap; }

/* ---------- Fondo ---------- */
.fondo { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, #0E1D52 0%, var(--noche) 65%); }
.fondo__imagen { position: absolute; inset: -6%; background-size: cover; background-position: center; opacity: 0; transition: opacity .8s ease; transform: scale(1.05); }
.fondo__imagen.visible { opacity: .42; }
/* Mapa y radar: canvas chiquitos (168 y 128 px) que el navegador estira y gira; casi no usan memoria */
.fondo__mapa { position: absolute; left: 50%; top: 50%; width: 170vmax; height: 170vmax; margin: -85vmax 0 0 -85vmax; display: block; opacity: .5;
  image-rendering: pixelated; image-rendering: crisp-edges; will-change: transform; animation: mapa-paseo 70s ease-in-out infinite alternate; transition: opacity .6s; }
.fondo__radar { position: absolute; left: 50%; top: 50%; width: 160vmax; height: 160vmax; margin: -80vmax 0 0 -80vmax; display: block; opacity: .9;
  will-change: transform; animation: girar 7s linear infinite; }
/* Líneas de pantalla y bordes oscurecidos en una sola capa */
.fondo__lineas { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px), radial-gradient(130% 95% at 50% 45%, transparent 45%, rgba(2, 4, 14, .85) 100%); }
.app[data-pantalla="portada"] .fondo__mapa, .app[data-pantalla="resultado"] .fondo__mapa, .app[data-pantalla="participaste"] .fondo__mapa { opacity: .28; }
.app.mapa-zoom .fondo__mapa { animation: none; transform: scale(1.5) rotate(-6deg); transition: transform 1.6s var(--curva), opacity .6s; }

@keyframes girar { to { transform: rotate(360deg); } }
@keyframes mapa-paseo { 0% { transform: translate(-3%, -2%) scale(1); } 100% { transform: translate(3%, 2%) scale(1.08); } }

/* ---------- Barra superior (HUD) ---------- */
.hud { position: absolute; z-index: 20; left: 0; right: 0; top: 0; height: var(--top); padding: var(--seg) calc(10px + var(--sar)) 0 calc(12px + var(--sal));
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px;
  background: linear-gradient(180deg, rgba(3, 6, 20, .92), rgba(3, 6, 20, .55) 70%, rgba(3, 6, 20, 0));
  transition: opacity .4s, transform .4s var(--curva); }
.app[data-pantalla="arranque"] .hud { opacity: 0; transform: translateY(-100%); pointer-events: none; }
.hud__marca { height: clamp(18px, 3.1vh, 26px); width: auto; justify-self: start; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.hud__centro { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
.hud__tracker { display: flex; align-items: center; gap: 6px; font-family: var(--f-pixel); font-size: clamp(9px, 1.5vh, 12px); letter-spacing: .12em; text-transform: uppercase; color: var(--azul-claro); white-space: nowrap; }
.hud__progreso { list-style: none; display: none; gap: 4px; }
.app.en-juego .hud__progreso { display: flex; }
.hud__progreso li { width: clamp(14px, 4vw, 30px); height: 6px; background: rgba(127, 178, 255, .22); clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%); transition: background .3s; }
.hud__progreso li.actual { background: var(--blanco); animation: parpadeo 1s steps(2) infinite; }
.hud__progreso li.bien { background: var(--azul-2); }
.hud__progreso li.mal { background: var(--rojo); }
.hud__botones { display: flex; gap: 4px; justify-self: end; }
.boton-hud { width: 48px; height: calc(var(--hud-h) - 6px); max-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 10px; transition: transform .12s, background .2s; }
.boton-hud:active { transform: scale(.9); background: rgba(127, 178, 255, .14); }
.boton-hud svg { width: 22px; height: 22px; fill: none; stroke: var(--blanco); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.boton-hud svg path:first-child { fill: var(--blanco); }
.boton-hud#btnMenu svg path:first-child { fill: none; }
.boton-hud__leyenda { font-family: var(--f-pixel); font-size: 8px; letter-spacing: .04em; text-transform: uppercase; color: var(--texto-2); line-height: 1; }
.ico-sonido .tache { display: none; stroke: var(--rojo); }
.app.silencio .ico-sonido .onda { display: none; }
.app.silencio .ico-sonido .tache { display: inline; }

.punto-vivo { width: 7px; height: 7px; border-radius: 50%; background: var(--rojo); box-shadow: 0 0 8px var(--rojo); flex: none; animation: parpadeo 1.1s steps(2) infinite; display: inline-block; }
@keyframes parpadeo { 50% { opacity: .25; } }

/* ---------- Pie de página legal (siempre visible) ---------- */
.pie-legal { position: absolute; left: 0; right: 0; bottom: 0; z-index: 45; pointer-events: none;
  padding: 5px calc(12px + var(--sar)) calc(5px + var(--sab)) calc(12px + var(--sal));
  font-family: var(--f-texto); font-weight: 500; font-size: clamp(9px, 1.25vh, 11px); line-height: 1.3; letter-spacing: .01em; text-align: center; text-wrap: balance;
  color: rgba(180, 195, 238, .8); background: linear-gradient(180deg, rgba(3, 6, 20, .84), rgba(3, 6, 20, .97)); border-top: 1px solid rgba(110, 165, 255, .16); }

/* ---------- Pantallas ---------- */
/* El alto del pie (--pie) lo mide trivia.js; las pantallas terminan arriba de él y el pie ya cubre la zona segura de abajo */
.pantallas { position: absolute; inset: 0 0 var(--pie, 30px) 0; z-index: 5; --sab: 0px; }
.pantalla { position: absolute; left: 0; right: 0; top: var(--top); bottom: 0; padding: 0 calc(14px + var(--sar)) calc(12px + var(--sab)) calc(14px + var(--sal));
  display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; pointer-events: none;
  transform: scale(1.03); transition: opacity .38s ease, transform .5s var(--curva), visibility 0s .4s; }
.pantalla.activa { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .38s ease, transform .5s var(--curva), visibility 0s; }
.pantalla.saliendo { transform: scale(.97); }
.pantalla--arranque, .pantalla--portada { top: 0; padding-top: var(--seg); }

/* ---------- Componentes comunes ---------- */
.etiqueta-pixel { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; padding: 6px 10px 5px; font-family: var(--f-pixel); font-size: clamp(9px, 1.5vh, 12px); letter-spacing: .1em; text-transform: uppercase;
  color: var(--blanco); background: rgba(227, 24, 45, .2); border: 1px solid rgba(227, 24, 45, .65); border-radius: 4px; }
.etiqueta-pixel--roja { background: rgba(227, 24, 45, .3); }

.boton { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; padding: 10px 18px; border-radius: 12px;
  font-family: var(--f-texto); font-weight: 700; font-size: clamp(17px, 2.5vh, 21px); letter-spacing: .02em; text-transform: uppercase; transition: transform .12s, filter .2s, background .2s; }
.boton:active { transform: scale(.96); }
.boton--rojo { background: linear-gradient(180deg, #FF3247, var(--rojo) 55%, var(--rojo-2)); box-shadow: 0 6px 0 var(--rojo-osc), 0 10px 26px rgba(227, 24, 45, .38); }
.boton--rojo:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--rojo-osc), 0 6px 14px rgba(227, 24, 45, .3); }
.boton--contorno { background: rgba(10, 22, 64, .7); border: 1.5px solid var(--borde); color: var(--blanco); }
.boton--peligro { background: rgba(110, 10, 22, .55); border: 1.5px solid rgba(227, 24, 45, .7); }
.boton--chico { min-height: 44px; font-size: 16px; background: rgba(10, 22, 64, .7); border: 1.5px solid var(--borde); }
.boton--chico[aria-pressed="false"] { color: var(--texto-2); border-style: dashed; }
.boton--grande { min-height: 56px; font-size: clamp(19px, 2.8vh, 24px); }

.tarjeta { position: relative; width: min(100%, 520px); max-height: 100%; display: flex; flex-direction: column; gap: clamp(8px, 1.6vh, 14px); padding: clamp(16px, 3vh, 28px) clamp(16px, 4vw, 28px);
  background: var(--vidrio); border: 1px solid var(--borde); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06); }
.tarjeta::before, .tarjeta::after { content: ''; position: absolute; width: 22px; height: 22px; border: 3px solid var(--rojo); pointer-events: none; }
.tarjeta::before { left: -2px; top: -2px; border-right: 0; border-bottom: 0; border-top-left-radius: 18px; }
.tarjeta::after { right: -2px; bottom: -2px; border-left: 0; border-top: 0; border-bottom-right-radius: 18px; }
.tarjeta__titulo { font-family: var(--f-titulo); font-weight: 400; font-size: clamp(26px, 4.4vh, 40px); line-height: 1.02; text-transform: uppercase; letter-spacing: .01em; }
.tarjeta__texto { color: var(--texto-2); font-size: clamp(16px, 2.3vh, 19px); }
.pantalla.activa .tarjeta { animation: entra-tarjeta .55s var(--curva) both; }
@keyframes entra-tarjeta { from { opacity: 0; transform: translateY(26px) scale(.97); } }

/* ---------- Radar grande (arranque y rastreo) ---------- */
.radar-grande { position: relative; width: min(56vmin, 300px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle, rgba(31, 91, 255, .14), rgba(5, 10, 28, .85) 70%); border: 2px solid rgba(127, 178, 255, .45); box-shadow: 0 0 40px rgba(31, 91, 255, .35), inset 0 0 30px rgba(31, 91, 255, .3); }
.radar-grande--xl { width: min(62vmin, 380px); }
.radar-grande__barrido { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg 270deg, rgba(127, 178, 255, .1) 300deg, rgba(127, 178, 255, .55) 360deg); animation: girar 2.2s linear infinite; will-change: transform; }
.radar-grande__anillos { position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, transparent 0 24%, rgba(127, 178, 255, .3) 24.5% 25%, transparent 25.5% 49%, rgba(127, 178, 255, .3) 49.5% 50%, transparent 50.5% 74%, rgba(127, 178, 255, .3) 74.5% 75%, transparent 75.5%),
    linear-gradient(rgba(127, 178, 255, .25), rgba(127, 178, 255, .25)) center / 1px 100% no-repeat, linear-gradient(rgba(127, 178, 255, .25), rgba(127, 178, 255, .25)) center / 100% 1px no-repeat; }
.radar-grande__pin { position: absolute; left: 50%; top: 50%; width: 26%; aspect-ratio: 13/14; transform: translate(-50%, -50%); filter: drop-shadow(0 0 10px rgba(227, 24, 45, .8)); animation: latido 1.2s ease-in-out infinite; }
.radar-grande__pin svg, .pin-caida svg, .ubicacion__pin svg { width: 100%; height: 100%; display: block; }
@keyframes latido { 50% { transform: translate(-50%, -50%) scale(1.1); } }

.barra-carga { width: min(70vw, 320px); height: 10px; padding: 2px; border: 1.5px solid rgba(127, 178, 255, .5); border-radius: 3px; }
.barra-carga--ancha { width: min(78vw, 420px); }
.barra-carga__relleno { height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); transition: transform .3s ease-out;
  background: repeating-linear-gradient(90deg, var(--rojo) 0 8px, transparent 8px 10px); }

/* ---------- 0. Arranque ---------- */
.arranque, .rastreo { display: flex; flex-direction: column; align-items: center; gap: clamp(12px, 2.6vh, 22px); text-align: center; }
.arranque__titulo { font-size: clamp(18px, 3.4vh, 28px); letter-spacing: .14em; color: var(--blanco); }
.arranque__estado, .rastreo__estado { font-size: clamp(10px, 1.6vh, 13px); color: var(--azul-claro); min-height: 1.3em; }

/* Texto con falla de señal */
.glitch-texto { position: relative; }
.glitch-texto::before, .glitch-texto::after { content: attr(data-texto); position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.glitch-texto::before { color: var(--rojo); transform: translate(-2px, 0); clip-path: inset(0 0 60% 0); animation: glitch-a 2.6s steps(1) infinite; mix-blend-mode: screen; }
.glitch-texto::after { color: var(--azul-2); transform: translate(2px, 0); clip-path: inset(55% 0 0 0); animation: glitch-b 2.6s steps(1) infinite; mix-blend-mode: screen; }
@keyframes glitch-a { 0%, 86%, 100% { transform: translate(0); opacity: 0; } 88% { transform: translate(-4px, -1px); opacity: 1; } 92% { transform: translate(3px, 1px); opacity: 1; } 95% { opacity: 0; } }
@keyframes glitch-b { 0%, 86%, 100% { transform: translate(0); opacity: 0; } 89% { transform: translate(4px, 1px); opacity: 1; } 93% { transform: translate(-3px, 0); opacity: 1; } 96% { opacity: 0; } }

/* ---------- 1. Portada ---------- */
.pantalla--portada { padding: 0; align-items: stretch; }
.portada__arte { position: absolute; left: 0; right: 0; top: 0; height: 74%; overflow: hidden; }
.portada__arte img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform-origin: 40% 30%; }
.pantalla--portada.activa .portada__arte img { animation: ken-burns 22s ease-in-out infinite alternate; }
@keyframes ken-burns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1%, 1%); } }
.portada__degradado { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(5, 10, 28, .55) 0%, rgba(5, 10, 28, 0) 18%, rgba(5, 10, 28, 0) 34%, rgba(5, 10, 28, .78) 54%, var(--noche) 70%),
  linear-gradient(0deg, rgba(227, 24, 45, .18), transparent 40%); }
.portada__contenido { position: relative; z-index: 2; margin-top: auto; width: 100%; max-width: 560px; margin-left: auto; margin-right: auto;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(8px, 1.5vh, 14px);
  padding: 0 calc(18px + var(--sar)) calc(16px + var(--sab)) calc(18px + var(--sal)); }
.portada__contenido .etiqueta-pixel { align-self: center; }
.portada__logo { width: min(90%, 460px); height: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .7)); }
.portada__titular { font-family: var(--f-texto); font-weight: 800; font-style: italic; font-size: clamp(22px, 3.5vh, 32px); line-height: 1.05; text-transform: uppercase; text-shadow: 0 3px 12px rgba(0, 0, 0, .8); }
.portada__premio { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 14px; text-align: left; font-size: clamp(15px, 2.2vh, 18px); font-weight: 700; color: var(--blanco);
  background: linear-gradient(90deg, rgba(255, 198, 43, .18), rgba(255, 198, 43, .04)); border: 1px solid rgba(255, 198, 43, .45); border-radius: 12px; }
.portada__premio svg { width: 26px; height: 26px; flex: none; fill: var(--oro); }
.portada__datos { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.portada__datos li { font-family: var(--f-pixel); font-size: clamp(9px, 1.45vh, 11px); text-transform: uppercase; letter-spacing: .06em; color: var(--azul-claro); padding: 5px 8px 4px; border: 1px solid var(--borde); border-radius: 4px; background: rgba(10, 22, 64, .6); }

.boton-jugar { position: relative; width: 100%; min-height: clamp(62px, 9.5vh, 82px); border-radius: 16px; overflow: hidden; overflow: clip; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: linear-gradient(180deg, #FF3A4E 0%, var(--rojo) 50%, #A50E1E 100%); box-shadow: 0 7px 0 var(--rojo-osc), 0 0 0 3px rgba(255, 255, 255, .08) inset, 0 14px 34px rgba(227, 24, 45, .5);
  animation: pulso-jugar 1.8s ease-in-out infinite; transition: transform .12s, box-shadow .12s; }
.boton-jugar::before { content: ''; position: absolute; inset: 0; opacity: .22; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 120%, rgba(0, 0, 0, .9) 0deg 1deg, transparent 1deg 15deg),
              repeating-radial-gradient(circle at 50% 120%, transparent 0 22px, rgba(0, 0, 0, .9) 22px 23.5px); }
.boton-jugar__brillo { position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); animation: brillo 2.6s ease-in-out infinite; }
.boton-jugar__texto { position: relative; font-family: var(--f-titulo); font-size: clamp(32px, 5vh, 44px); line-height: 1; letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 3px 0 rgba(0, 0, 0, .3); }
.boton-jugar__sub { position: relative; font-family: var(--f-pixel); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.boton-jugar:active, .boton-jugar.presionado { transform: translateY(5px) scale(.98); box-shadow: 0 2px 0 var(--rojo-osc), 0 0 0 3px rgba(255, 255, 255, .15) inset, 0 6px 16px rgba(227, 24, 45, .4); }
.boton-jugar.presionado { animation: none; background: linear-gradient(180deg, #FF6474, #FF2A40 60%, #C21225); }
.boton-jugar.presionado .boton-jugar__sub { opacity: 1; }
@keyframes pulso-jugar { 50% { box-shadow: 0 7px 0 var(--rojo-osc), 0 0 0 3px rgba(255, 255, 255, .08) inset, 0 14px 50px rgba(227, 24, 45, .85); } }
@keyframes brillo { 0%, 55% { transform: translateX(0) skewX(-20deg); } 100% { transform: translateX(560%) skewX(-20deg); } }
.enlace-terminos { font-size: clamp(14px, 2vh, 16px); color: var(--texto-2); text-decoration: underline; text-underline-offset: 3px; padding: 6px 10px; min-height: 36px; }

/* entrada escalonada de la portada */
.pantalla--portada.activa .portada__contenido > * { animation: sube .7s var(--curva) both; }
.pantalla--portada.activa .portada__contenido > :nth-child(2) { animation-delay: .08s; }
.pantalla--portada.activa .portada__contenido > :nth-child(3) { animation-delay: .16s; }
.pantalla--portada.activa .portada__contenido > :nth-child(4) { animation-delay: .22s; }
.pantalla--portada.activa .portada__contenido > :nth-child(5) { animation-delay: .28s; }
.pantalla--portada.activa .portada__contenido > :nth-child(6) { animation-delay: .34s; }
.pantalla--portada.activa .portada__contenido > :nth-child(7) { animation-delay: .4s; }
@keyframes sube { from { opacity: 0; transform: translateY(22px); } }

/* ---------- 2. Registro ---------- */
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo__leyenda { font-family: var(--f-pixel); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--azul-claro); }
.campo input { width: 100%; min-height: 52px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--borde); background: rgba(3, 8, 26, .8); color: var(--blanco);
  font-family: var(--f-texto); font-weight: 700; font-size: 20px; -webkit-user-select: text; user-select: text; }
.campo input::placeholder { color: rgba(180, 195, 238, .45); }
.campo input:focus { outline: none; border-color: var(--azul-2); box-shadow: 0 0 0 3px rgba(61, 123, 255, .3); }
.campo__error { min-height: 1.2em; color: #FF7B88; font-weight: 700; font-size: 15px; }

/* ---------- 3. Instrucciones ---------- */
.pasos { list-style: none; display: flex; flex-direction: column; gap: clamp(8px, 1.4vh, 12px); }
.pasos li { display: flex; gap: 12px; align-items: flex-start; font-size: clamp(16px, 2.3vh, 19px); color: var(--texto-2); }
.pasos li b { color: var(--blanco); }
.pasos__num { flex: none; width: 30px; height: 30px; display: grid; place-items: center; font-family: var(--f-pixel); font-size: 14px; background: var(--rojo); border-radius: 6px; color: var(--blanco); box-shadow: 0 3px 0 var(--rojo-osc); }
.controles-ayuda { list-style: none; display: flex; flex-direction: column; gap: 8px; padding-top: clamp(6px, 1.2vh, 10px); border-top: 1px dashed var(--borde); }
.controles-ayuda li { display: flex; gap: 10px; align-items: center; font-size: clamp(14px, 2vh, 16px); color: var(--texto-2); }
.controles-ayuda li b { color: var(--blanco); }
.mini-boton { flex: none; min-width: 34px; height: 30px; padding: 0 6px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--borde); background: rgba(10, 22, 64, .8); }
.mini-boton svg { width: 18px; height: 18px; fill: none; stroke: var(--blanco); stroke-width: 2; stroke-linecap: round; }
.mini-boton svg.ico-sonido path:first-child { fill: var(--blanco); }
.mini-boton.tecla { font-family: var(--f-pixel); font-size: 10px; }
.solo-teclado { display: none !important; }
@media (hover: hover) and (pointer: fine) { .solo-teclado { display: flex !important; } }

/* ---------- 4. Rastreo ---------- */
.rastreo__titulo { font-family: var(--f-titulo); font-size: clamp(26px, 4.6vh, 40px); text-transform: uppercase; letter-spacing: .02em; }
.puntos-suspensivos::after { content: ''; animation: suspensivos 1.2s steps(4) infinite; }
@keyframes suspensivos { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }
.rastreo__blips { position: absolute; inset: 0; }
.rastreo__blips i { position: absolute; width: 4%; aspect-ratio: 1; background: var(--rojo); box-shadow: 0 0 10px var(--rojo); animation: blip 1.6s ease-out both; }
@keyframes blip { 0% { transform: scale(0); opacity: 0; } 15% { transform: scale(1.4); opacity: 1; } 100% { transform: scale(1); opacity: .2; } }

/* ---------- 5. Avistamiento (entre preguntas) ---------- */
.pantalla--avistamiento { padding-bottom: calc(16px + var(--sab)); }
.avistamiento { position: relative; display: flex; flex-direction: column; align-items: center; gap: clamp(8px, 1.8vh, 16px); text-align: center; width: 100%; }
.avistamiento__foto { position: relative; width: min(88vw, 620px, 150vh); aspect-ratio: 2.4 / 1; border-radius: 12px; overflow: hidden; border: 2px solid rgba(127, 178, 255, .6); box-shadow: 0 0 0 4px rgba(5, 10, 28, .8), 0 20px 50px rgba(0, 0, 0, .6); }
.avistamiento__foto img { width: 100%; height: 100%; object-fit: cover; }
.avistamiento__scan { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0 45%, rgba(127, 178, 255, .55) 50%, transparent 55%), repeating-linear-gradient(0deg, rgba(0, 0, 0, .3) 0 1px, transparent 1px 3px); background-size: 100% 220%, auto; animation: escaneo 1.1s linear infinite; }
@keyframes escaneo { from { background-position: 0 100%, 0 0; } to { background-position: 0 -120%, 0 0; } }
.pantalla--avistamiento.activa .avistamiento__foto { animation: revela-foto .55s var(--curva) both .1s; }
@keyframes revela-foto { from { transform: scale(1.04, .03); opacity: .4; } 55% { transform: scale(1.02, 1.06); opacity: 1; } to { transform: none; opacity: 1; } }
.avistamiento__mira { position: absolute; left: 50%; top: 0; width: min(88vw, 620px, 150vh); aspect-ratio: 2.4 / 1; transform: translateX(-50%); pointer-events: none; }
.pin-caida { position: absolute; left: 50%; top: 50%; width: clamp(24px, 4.6vh, 40px); aspect-ratio: 13/14; margin: calc(clamp(24px, 4.6vh, 40px) * -1.08) 0 0 calc(clamp(24px, 4.6vh, 40px) / -2); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .7)); opacity: 0; }
.pantalla--avistamiento.activa .pin-caida { animation: cae-pin .6s var(--rebote) both .45s; }
@keyframes cae-pin { from { opacity: 0; transform: translateY(-120px) scale(.6); } to { opacity: 1; transform: none; } }
.onda-pin { position: absolute; left: 50%; top: 50%; width: 30px; height: 12px; margin: -6px 0 0 -15px; border-radius: 50%; border: 2px solid var(--rojo); opacity: 0; }
.pantalla--avistamiento.activa .onda-pin { animation: onda 1s ease-out .95s 2; }
@keyframes onda { from { opacity: 1; transform: scale(.4); } to { opacity: 0; transform: scale(4); } }
.avistamiento__alerta { display: flex; align-items: center; gap: 8px; font-size: clamp(11px, 1.9vh, 15px); letter-spacing: .14em; color: var(--blanco); padding: 6px 12px 5px; background: rgba(227, 24, 45, .25); border: 1px solid var(--rojo); border-radius: 4px; }
.pantalla--avistamiento.activa .avistamiento__alerta { animation: sube .4s var(--curva) both .2s; }
.avistamiento__numero { font-family: var(--f-titulo); text-transform: uppercase; line-height: .9; display: flex; align-items: baseline; gap: 10px; }
.avistamiento__numero span { font-size: clamp(22px, 4vh, 34px); color: var(--texto-2); }
.avistamiento__numero b { font-weight: 400; font-size: clamp(64px, 13vh, 120px); color: var(--blanco); text-shadow: 4px 4px 0 var(--rojo), -3px -2px 0 var(--azul); }
.avistamiento__numero small { font-size: clamp(22px, 4vh, 34px); color: var(--texto-2); }
.pantalla--avistamiento.activa .avistamiento__numero b { animation: golpe .5s var(--rebote) both .3s; display: inline-block; }
@keyframes golpe { from { opacity: 0; transform: scale(2.2) rotate(-8deg); } }
.avistamiento__lugar { font-size: clamp(10px, 1.6vh, 13px); color: var(--azul-claro); min-height: 1.3em; }

/* ---------- 6. Pregunta ---------- */
.pantalla--pregunta { align-items: stretch; padding-top: 6px; }
.juego { width: 100%; max-width: 640px; margin: 0 auto; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: clamp(8px, 1.4vh, 14px); }
.escena { position: relative; flex: 1 1 auto; min-height: 110px; max-height: min(50vh, 470px); }
.escena__marco { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; border: 1.5px solid rgba(127, 178, 255, .5); background: #000; box-shadow: 0 16px 40px rgba(0, 0, 0, .55); }
.escena__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--ox, 50%) var(--oy, 50%); transform-origin: var(--ox, 50%) var(--oy, 50%); will-change: transform; }
.pantalla--pregunta.activa .escena__img { animation: ken-burns-escena 16s linear both; }
@keyframes ken-burns-escena { from { transform: scale(1.04); } to { transform: scale(1.16); } }
.escena__lineas { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px), linear-gradient(180deg, rgba(5, 10, 28, .35), transparent 30%, transparent 70%, rgba(5, 10, 28, .55)); pointer-events: none; }
.escena__esquina { position: absolute; width: 18px; height: 18px; border: 2.5px solid var(--blanco); opacity: .9; }
.e1 { left: 8px; top: 8px; border-right: 0; border-bottom: 0; }
.e2 { right: 8px; top: 8px; border-left: 0; border-bottom: 0; }
.e3 { left: 8px; bottom: 8px; border-right: 0; border-top: 0; }
.e4 { right: 8px; bottom: 8px; border-left: 0; border-top: 0; }
.escena__rec { position: absolute; left: 32px; top: 11px; display: flex; align-items: center; gap: 6px; font-size: clamp(9px, 1.4vh, 11px); color: var(--blanco); text-shadow: 0 1px 3px #000; }
.escena__coords { position: absolute; right: 32px; bottom: 11px; font-size: clamp(8px, 1.25vh, 10px); color: var(--azul-claro); text-shadow: 0 1px 3px #000; }
.escena.glitch .escena__img { animation: glitch-img .45s steps(2) both; }
@keyframes glitch-img { 0% { transform: translate(-8px, 0) scale(1.1); filter: hue-rotate(80deg) saturate(2); } 25% { transform: translate(6px, 2px) scale(1.12); filter: none; } 50% { transform: translate(-4px, -2px) scale(1.1); filter: hue-rotate(-60deg) saturate(1.6); } 75% { transform: translate(3px, 0) scale(1.1); } 100% { transform: scale(1.1); filter: grayscale(.6) brightness(.7); } }
.escena.apagada .escena__img { filter: grayscale(.7) brightness(.6); }

/* Mira que localiza a Spider-Man */
.mira { position: absolute; left: var(--tx, 50%); top: var(--ty, 50%); width: 30%; aspect-ratio: 1; max-width: 46vh; transform: translate(-50%, -50%); opacity: 0; pointer-events: none; }
.mira i { position: absolute; width: 28%; height: 28%; border: 3px solid var(--oro); filter: drop-shadow(0 0 6px rgba(255, 198, 43, .9)); }
.mira i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.mira i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.mira i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.mira i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.escena.localizado .mira { animation: mira-fija .55s var(--curva) both; }
.escena.localizado .mira i { animation: mira-latido .5s ease-in-out .55s 3 alternate; }
@keyframes mira-fija { from { opacity: 0; transform: translate(-50%, -50%) scale(2.6) rotate(45deg); } 60% { opacity: 1; } to { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); } }
@keyframes mira-latido { to { border-color: var(--blanco); } }
.escena.localizado .escena__img { animation: acerca .9s var(--curva) both; }
@keyframes acerca { from { transform: scale(1.1); } to { transform: scale(1.34); } }

/* Sello de resultado sobre la escena */
.sello { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--f-titulo); font-size: clamp(22px, 5.4vw, 40px); line-height: 1; text-transform: uppercase; text-align: center; white-space: nowrap; padding: .18em .45em .14em; opacity: 0; pointer-events: none; }
.sello.bien { color: var(--oro); background: rgba(5, 10, 28, .78); border: 3px solid var(--oro); box-shadow: 0 0 24px rgba(255, 198, 43, .5); text-shadow: 3px 3px 0 var(--rojo); animation: sello .5s var(--rebote) both .15s; }
.sello.mal { color: var(--blanco); background: rgba(110, 10, 22, .88); border: 3px solid var(--rojo); box-shadow: 0 0 24px rgba(227, 24, 45, .55); animation: sello .45s var(--rebote) both .1s; }
@keyframes sello { from { opacity: 0; transform: translate(-50%, -50%) scale(2) rotate(-12deg); } to { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); } }

/* Panel de la pregunta */
.panel { position: relative; flex: 0 0 auto; display: flex; flex-direction: column; gap: clamp(8px, 1.5vh, 14px); min-height: 0; }
.panel__estado { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; }
.marcador { display: flex; flex-direction: column; gap: 2px; transition: opacity .3s; }
.marcador__etiqueta { font-size: 9px; color: var(--azul-claro); }
.marcador__valor { font-family: var(--f-titulo); font-weight: 400; font-size: clamp(22px, 3.4vh, 30px); line-height: 1; color: var(--blanco); display: inline-block; }
.marcador__valor.sube { animation: sube-marcador .45s var(--rebote); }
@keyframes sube-marcador { 40% { transform: scale(1.35); color: var(--oro); } }
.panel__lectura { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10px; color: var(--azul-claro); white-space: nowrap; transition: opacity .3s; }
.lectura__barra { width: 110px; height: 4px; background: rgba(127, 178, 255, .2); border-radius: 2px; overflow: hidden; }
.lectura__barra span { display: block; height: 100%; background: var(--azul-claro); transform-origin: left; transform: scaleX(0); }
.panel.leyendo .lectura__barra span { animation: llena var(--lectura, 2.6s) linear both; }
@keyframes llena { to { transform: scaleX(1); } }
.panel:not(.leyendo) .panel__lectura { opacity: 0; }

.reloj { position: relative; width: 50px; height: 50px; flex: none; display: grid; place-items: center; }
.reloj svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.reloj circle { fill: rgba(5, 10, 28, .75); stroke-width: 4; }
.reloj__fondo { stroke: rgba(127, 178, 255, .22); }
.reloj__arco { fill: none !important; stroke: var(--azul-2); stroke-linecap: round; stroke-dasharray: 132; stroke-dashoffset: 0; }
.reloj b { position: relative; font-family: var(--f-titulo); font-weight: 400; font-size: 21px; }
.reloj.corriendo .reloj__arco { animation: tiempo var(--tiempo, 15s) linear both; }
.reloj.urgente .reloj__arco { stroke: var(--rojo); }
.reloj.urgente b { color: #FF5A6B; animation: latido-reloj .5s ease-in-out infinite alternate; }
.reloj.detenido .reloj__arco { animation-play-state: paused; }
.app.pausado .reloj__arco, .app.pausado .escena__img, .app.pausado .lectura__barra span { animation-play-state: paused !important; }
@keyframes tiempo { to { stroke-dashoffset: 132; } }
@keyframes latido-reloj { to { transform: scale(1.18); } }

.pregunta { position: relative; z-index: 2; padding: 0 4%; font-family: var(--f-texto); font-weight: 700; font-size: clamp(22px, 5.6vw, 34px); line-height: 1.12; text-align: center; text-wrap: balance;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .7); transform-origin: 50% 50%; transition: transform .6s var(--curva); }
.panel.leyendo .pregunta { transform: translateY(var(--baja, 0px)) scale(var(--escala, 1.14)); transition: none; }
.pregunta .palabra { display: inline-block; opacity: 0; transform: translateY(.45em); animation: palabra .42s var(--curva) both; animation-delay: calc(var(--n) * 55ms + .1s); }
@keyframes palabra { to { opacity: 1; transform: none; } }

.opciones { display: flex; flex-direction: column; gap: clamp(8px, 1.3vh, 12px); margin-top: clamp(2px, 1vh, 10px); }
.opcion { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: clamp(54px, 8vh, 72px); padding: 8px 14px 8px 8px; text-align: left; border-radius: 14px;
  background: linear-gradient(90deg, rgba(14, 30, 86, .95), rgba(8, 17, 52, .92)); border: 1.5px solid rgba(110, 165, 255, .38); box-shadow: 0 5px 0 rgba(2, 6, 22, .9);
  font-weight: 700; font-size: clamp(18px, 4.6vw, 24px); line-height: 1.1; color: var(--blanco);
  opacity: 0; transform: translateY(26px); pointer-events: none; transition: transform .14s, background .25s, border-color .25s, opacity .3s; }
.panel.respondiendo .opcion { animation: entra-opcion .5s var(--rebote) both; animation-delay: calc(var(--i) * 90ms); pointer-events: auto; }
@keyframes entra-opcion { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: none; } }
.panel.respondiendo .opcion, .panel.resuelta .opcion { opacity: 1; transform: none; }
.panel.resuelta .opcion { pointer-events: none; animation: none; }
.opcion:active { transform: translateY(3px) scale(.985); box-shadow: 0 2px 0 rgba(2, 6, 22, .9); }
.opcion__letra { flex: none; width: 38px; height: 38px; display: grid; place-items: center; font-family: var(--f-pixel); font-size: 15px; background: var(--rojo); color: var(--blanco); border-radius: 8px; box-shadow: 0 3px 0 var(--rojo-osc); }
.opcion__texto { flex: 1; min-width: 0; }
.opcion__tecla { flex: none; display: none; font-family: var(--f-pixel); font-size: 10px; color: var(--texto-2); padding: 4px 6px; border: 1px solid var(--borde); border-radius: 4px; }
@media (hover: hover) and (pointer: fine) {
  .opcion__tecla { display: block; }
  .opcion:hover { border-color: var(--azul-claro); background: linear-gradient(90deg, rgba(24, 48, 128, .98), rgba(10, 22, 64, .95)); }
}
.opcion__marca { position: absolute; right: 12px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 800; opacity: 0; transform: scale(0); }
.opcion.correcta { background: linear-gradient(90deg, #2A6BFF, #1446D8); border-color: var(--blanco); box-shadow: 0 5px 0 #0A2A8C, 0 0 30px rgba(61, 123, 255, .75); }
.opcion.correcta .opcion__letra { background: var(--blanco); color: var(--azul); box-shadow: 0 3px 0 #8DB0FF; }
.opcion.correcta .opcion__marca { background: var(--oro); color: var(--noche); opacity: 1; transform: scale(1); transition: transform .4s var(--rebote) .05s, opacity .1s; }
.opcion.correcta .opcion__tecla, .opcion.incorrecta .opcion__tecla { visibility: hidden; }
.opcion.elegida.correcta { animation: celebra .5s var(--rebote); }
@keyframes celebra { 40% { transform: scale(1.04); } }
.opcion.incorrecta { background: linear-gradient(90deg, #8E0F1E, #5E0914); border-color: #FF5A6B; box-shadow: 0 5px 0 #3A050C; animation: sacude .45s ease; }
.opcion.incorrecta .opcion__letra { background: var(--blanco); color: var(--rojo); box-shadow: none; }
.opcion.incorrecta .opcion__marca { background: var(--blanco); color: var(--rojo); opacity: 1; transform: scale(1); transition: transform .3s var(--rebote); }
.opcion.apagada { opacity: .4 !important; }
@keyframes sacude { 15% { transform: translateX(-10px); } 30% { transform: translateX(9px); } 45% { transform: translateX(-7px); } 60% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.app.sacudida .juego { animation: sacude-pantalla .4s ease; }
@keyframes sacude-pantalla { 20% { transform: translate(-6px, 3px); } 40% { transform: translate(6px, -3px); } 60% { transform: translate(-4px, 2px); } 80% { transform: translate(3px, -1px); } }

.puntos-volando { position: absolute; inset: 0; pointer-events: none; z-index: 30; }
.puntos-volando span { position: absolute; left: 0; top: 0; font-family: var(--f-titulo); font-size: clamp(26px, 4.4vh, 40px); color: var(--oro); text-shadow: 3px 3px 0 var(--rojo), 0 0 18px rgba(255, 198, 43, .8); white-space: nowrap; }


/* ---------- 7. Ubicación encontrada ---------- */
.ubicacion { display: flex; flex-direction: column; align-items: center; gap: clamp(10px, 2.4vh, 22px); text-align: center; }
.ubicacion__espacio { position: relative; width: min(70vmin, 420px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 2px solid rgba(127, 178, 255, .5); box-shadow: 0 0 60px rgba(31, 91, 255, .35); }
.ubicacion__espacio canvas { width: 100%; height: 100%; image-rendering: pixelated; image-rendering: crisp-edges; transform: scale(3.4); transform-origin: 41% 57%; }
.pantalla--ubicacion.activa .ubicacion__espacio canvas { animation: aleja 2s var(--curva) both .1s; }
@keyframes aleja { to { transform: scale(1); } }
.ubicacion__pin { position: absolute; left: 41%; top: 57%; width: 11%; aspect-ratio: 13/14; margin: -12% 0 0 -5.5%; filter: drop-shadow(0 0 8px rgba(227, 24, 45, .9)); }
.pantalla--ubicacion.activa .ubicacion__pin { animation: viaja 1.5s var(--curva) both .9s; }
@keyframes viaja { 0% { transform: none; } 70% { transform: translate(340%, -250%) scale(.8); } 78% { transform: translate(330%, -255%) scale(.8); opacity: .2; } 84% { opacity: 1; } 90% { opacity: .3; } 100% { transform: translate(345%, -248%) scale(.9); opacity: 1; } }
.pantalla--ubicacion.activa .ubicacion__espacio { animation: falla-espacio .25s steps(2) 2s 2; }
@keyframes falla-espacio { 50% { transform: translate(4px, -2px); filter: hue-rotate(90deg) saturate(3); } }
.ubicacion__estado { font-size: clamp(10px, 1.6vh, 13px); color: var(--azul-claro); }
.ubicacion__encontrada { font-family: var(--f-pixel); font-weight: 700; font-size: clamp(16px, 3.4vh, 28px); letter-spacing: .1em; color: var(--oro); opacity: 0; }
.pantalla--ubicacion.activa .ubicacion__encontrada { animation: aparece-texto .35s steps(3) both 2.25s; }
@keyframes aparece-texto { from { opacity: 0; transform: scale(1.4); } to { opacity: 1; transform: none; } }

/* ---------- 8 y 9. Pantallas finales ---------- */
.pantalla--resultado, .pantalla--participaste { padding: 0; align-items: stretch; }
.final { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; }
.final__arte { position: absolute; left: 0; right: 0; top: 0; height: 46%; overflow: hidden; }
.final__arte img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }
.final__arte::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 10, 28, .2), rgba(5, 10, 28, .1) 40%, var(--noche) 100%), repeating-linear-gradient(0deg, rgba(0, 0, 0, .2) 0 1px, transparent 1px 3px); }
.final__contenido { position: relative; z-index: 2; margin-top: auto; width: 100%; max-width: 560px; margin-left: auto; margin-right: auto; display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: clamp(6px, 1.2vh, 12px); padding: 0 calc(18px + var(--sar)) calc(14px + var(--sab)) calc(18px + var(--sal)); }
.final__contenido .etiqueta-pixel { align-self: center; }
.final__logo { width: min(70%, 320px); height: auto; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .8)); }
.final__rango-pre { font-family: var(--f-pixel); font-size: 10px; color: var(--azul-claro); text-transform: uppercase; letter-spacing: .12em; }
.final__rango { font-family: var(--f-titulo); font-weight: 400; font-size: clamp(30px, 5vh, 46px); line-height: 1; text-transform: uppercase; color: var(--blanco); text-shadow: 3px 3px 0 var(--rojo), -2px -1px 0 var(--azul); }
.pantalla--resultado.activa .final__rango { animation: golpe .6s var(--rebote) both .2s; }
.mascaras { display: flex; gap: clamp(6px, 1.6vw, 12px); }
.mascaras svg { width: clamp(26px, 4.6vh, 40px); height: auto; aspect-ratio: 13/14; opacity: 0; transform: scale(0); }
.mascaras svg.vista { animation: aparece-mascara .45s var(--rebote) forwards; }
.mascaras svg.falla { filter: grayscale(1) brightness(.55); }
@keyframes aparece-mascara { to { opacity: 1; transform: none; } }
.final__puntos { display: flex; align-items: baseline; gap: 8px; font-family: var(--f-titulo); line-height: 1; }
.final__puntos b { font-weight: 400; font-size: clamp(46px, 8.4vh, 78px); color: var(--oro); text-shadow: 4px 4px 0 var(--rojo-2); }
.final__puntos span { font-size: clamp(18px, 3vh, 26px); color: var(--texto-2); text-transform: uppercase; }
.final__detalle { font-size: clamp(16px, 2.3vh, 19px); color: var(--texto-2); }
.final__detalle b { color: var(--blanco); }
.final__mensaje { font-size: clamp(16px, 2.3vh, 19px); color: var(--blanco); max-width: 440px; }
.guardado { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 30px; font-size: 15px; font-weight: 700; color: var(--texto-2); background: rgba(10, 22, 64, .7); border: 1px solid var(--borde); }
.guardado__icono { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--azul-claro); border-top-color: transparent; animation: girar .8s linear infinite; }
.guardado.ok { color: var(--blanco); border-color: rgba(61, 123, 255, .7); }
.guardado.ok .guardado__icono { animation: none; border: 0; background: var(--azul-2); position: relative; }
.guardado.ok .guardado__icono::after { content: ''; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid var(--blanco); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.guardado.error { color: #FF9AA5; border-color: var(--rojo); }
.guardado.error .guardado__icono { animation: none; border-color: var(--rojo); }
.final__botones { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.resumen { display: flex; gap: 10px; justify-content: center; width: 100%; }
.resumen div { flex: 1; max-width: 160px; padding: 10px 8px; border-radius: 12px; background: rgba(10, 22, 64, .75); border: 1px solid var(--borde); }
.resumen b { display: block; font-family: var(--f-titulo); font-weight: 400; font-size: clamp(22px, min(4.4vh, 8vw), 36px); color: var(--oro); line-height: 1; white-space: nowrap; }
.resumen span { font-family: var(--f-pixel); font-size: 9px; text-transform: uppercase; color: var(--azul-claro); }
.solo-demo { display: none; }
.app.demo .solo-demo { display: block; }

/* ---------- Botón del minijuego ---------- */
.boton--minijuego { background: linear-gradient(180deg, #3D7BFF, var(--azul) 55%, #1446D8); border: 1.5px solid var(--azul-claro); box-shadow: 0 6px 0 #0A2A8C, 0 10px 26px rgba(31, 91, 255, .4); }
.boton--minijuego:active { transform: translateY(4px); box-shadow: 0 2px 0 #0A2A8C, 0 6px 14px rgba(31, 91, 255, .35); }
.boton__icono { width: 22px; height: 24px; flex: none; animation: columpio 1.6s ease-in-out infinite; transform-origin: 50% -40%; }
.boton__icono svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .35)); }
@keyframes columpio { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(14deg); } }

/* ---------- 11. Minijuego Spidey Swing ---------- */
.pantalla--minijuego { padding-top: 6px; align-items: stretch; }
.app[data-pantalla="minijuego"] .fondo__radar { display: none; }
.app[data-pantalla="minijuego"] .fondo__mapa { animation-play-state: paused; opacity: .22; }
.mj { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; touch-action: none; cursor: pointer; }
.mj__pantalla { position: relative; flex: none; width: 100%; height: 60%; border-radius: 14px; overflow: hidden; background: var(--noche);
  border: 2px solid rgba(127, 178, 255, .55); box-shadow: 0 0 0 4px rgba(5, 10, 28, .85), 0 20px 50px rgba(0, 0, 0, .6), 0 0 44px rgba(31, 91, 255, .28); }
.mj__pantalla.sacudida { animation: sacude-pantalla .4s ease; }
.mj__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; image-rendering: pixelated; image-rendering: crisp-edges; }
.mj__lineas { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .2) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, .45)); }
.mj__pantalla .escena__esquina { border-color: rgba(244, 247, 255, .75); width: 14px; height: 14px; }
.mj__hud { position: absolute; inset: 0; pointer-events: none; }
.mj__puntos { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); font-family: 'Press Start 2P', var(--f-pixel); font-weight: 400; font-size: clamp(22px, 6vmin, 40px); color: var(--blanco);
  text-shadow: 3px 0 0 var(--noche), -3px 0 0 var(--noche), 0 3px 0 var(--noche), 0 -3px 0 var(--noche), 4px 4px 0 var(--rojo); }
.mj__puntos.sube { animation: sube-mj .22s steps(3); }
@keyframes sube-mj { 50% { transform: translateX(-50%) scale(1.3); color: var(--oro); } }
.mj__vel { position: absolute; top: 14px; left: 28px; font-size: clamp(9px, 1.6vmin, 12px); color: var(--azul-claro); text-shadow: 0 1px 2px #000; }
.mj__record { position: absolute; top: 14px; right: 28px; font-size: clamp(9px, 1.6vmin, 12px); color: var(--texto-2); text-shadow: 0 1px 2px #000; }
.mj__record b { color: var(--oro); font-weight: 400; }
.mj__aviso { position: absolute; left: 50%; top: 30%; transform: translate(-50%, -50%) scale(.8); white-space: nowrap; opacity: 0; transition: opacity .15s, transform .25s var(--rebote);
  font-family: 'Press Start 2P', var(--f-pixel); font-size: clamp(11px, 3vmin, 18px); line-height: 1.5; color: var(--oro); text-shadow: 2px 2px 0 var(--noche), -1px -1px 0 var(--noche); text-transform: uppercase; }
.mj__aviso.visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.mj__aviso.mal { color: #FF5A6B; }
.mj__aviso.hito { font-size: clamp(14px, 4.4vmin, 26px); text-shadow: 3px 3px 0 var(--rojo), -2px -2px 0 var(--noche); }
.mj:not(.jugando) .mj__aviso { opacity: 0; }

.mj__leyenda { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 10px; border-radius: 40px; font-weight: 700; font-size: clamp(16px, 2.4vh, 20px); text-transform: uppercase;
  background: linear-gradient(90deg, rgba(255, 198, 43, .25), rgba(255, 198, 43, .08)); border: 1.5px solid var(--oro); color: var(--blanco); pointer-events: none; transition: background .2s, border-color .2s, opacity .2s; }
.mj__leyenda b { color: var(--oro); }
.mj__leyenda.lanzar { background: linear-gradient(90deg, rgba(61, 123, 255, .35), rgba(61, 123, 255, .1)); border-color: var(--azul-claro); }
.mj__leyenda.lanzar b { color: var(--azul-claro); }
.mj__leyenda.oculta { opacity: 0; }
.mj__dedo { width: 28px; height: 28px; border-radius: 50%; background: var(--blanco); position: relative; flex: none; animation: toque-dedo 1s ease-in-out infinite; }
.mj__dedo::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--blanco); opacity: 0; animation: onda-dedo 1s ease-out infinite; }
@keyframes toque-dedo { 50% { transform: scale(.82); } }
@keyframes onda-dedo { 0% { opacity: .8; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.4); } }

.mj__capa { position: absolute; inset: -6px -14px; z-index: 3; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: clamp(8px, 1.8vh, 16px);
  padding: 14px 18px; background: radial-gradient(120% 90% at 50% 40%, rgba(5, 10, 28, .72), rgba(5, 10, 28, .94)); }
.mj__capa.activa { display: flex; animation: aparece-capa .25s ease both; }
.mj__capa .etiqueta-pixel { align-self: center; }
.mj__titulo { font-family: 'Press Start 2P', var(--f-pixel); font-weight: 400; font-size: clamp(24px, 7vmin, 46px); line-height: 1.25; color: var(--blanco);
  text-shadow: 4px 4px 0 var(--rojo), -2px -2px 0 var(--noche), 2px -2px 0 var(--noche), -2px 2px 0 var(--noche); }
.mj__titulo--fin { font-size: clamp(20px, 6vmin, 38px); }
.mj__sub, .mj__motivo { max-width: 460px; font-size: clamp(16px, 2.3vh, 19px); color: var(--texto-2); }
.mj__guia { list-style: none; display: flex; flex-direction: column; gap: clamp(6px, 1.2vh, 10px); max-width: 480px; text-align: left; }
.mj__guia li { display: flex; align-items: center; gap: 10px; font-size: clamp(15px, 2.1vh, 18px); color: var(--texto-2); }
.mj__guia li b { color: var(--blanco); }
.mj__ico { flex: none; min-width: 30px; height: 30px; padding: 0 4px; border-radius: 8px; display: grid; place-items: center; font-family: var(--f-pixel); font-size: 12px; color: var(--noche); border: 2px solid var(--noche); }
.mj__ico--soltar { background: var(--oro); }
.mj__ico--lanzar { background: var(--azul-claro); }
.mj__ico--tope { background: var(--rojo); color: var(--blanco); }
.mj__ico--punto { background: var(--blanco); }
.mj__empieza { font-size: clamp(11px, 1.8vh, 14px); color: var(--blanco); letter-spacing: .12em; animation: parpadeo 1s steps(2) infinite; }
.mj__cajas { display: flex; gap: 12px; }
.mj__cajas div { min-width: 120px; padding: 10px 14px; border-radius: 12px; background: rgba(10, 22, 64, .85); border: 1px solid var(--borde); }
.mj__cajas small { display: block; font-size: 10px; color: var(--azul-claro); }
.mj__cajas b { display: block; margin-top: 6px; font-family: 'Press Start 2P', var(--f-pixel); font-weight: 400; font-size: clamp(18px, 4vmin, 28px); color: var(--oro); }
.mj__nuevo { display: none; padding: 6px 10px; font-size: 12px; color: var(--noche); background: var(--oro); border: 2px solid var(--noche); }
.mj__nuevo.visible { display: inline-block; animation: golpe .5s var(--rebote) both; }
.mj__botones { display: flex; flex-direction: column; gap: 10px; width: min(100%, 380px); }
#ayudaCaja .mj__guia li { font-size: 16px; }

/* ---------- Capas: menú, términos, confirmar ---------- */
.capa { position: absolute; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; padding: calc(16px + var(--seg)) calc(16px + var(--sar)) calc(12px + var(--pie, 30px)) calc(16px + var(--sal));
  background: rgba(3, 6, 20, .94); animation: aparece-capa .25s ease both; }
@keyframes aparece-capa { from { opacity: 0; } }
.capa__caja { position: relative; width: min(100%, 420px); max-height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; background: var(--vidrio); border: 1px solid var(--borde); border-radius: 18px; box-shadow: 0 30px 70px rgba(0, 0, 0, .6); animation: entra-tarjeta .35s var(--curva) both; overflow: auto; }
.menu__pausa { display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--azul-claro); }
.menu__fila { display: flex; gap: 10px; }
.terminos { width: min(100%, 560px); overflow: hidden; }
.terminos__texto { flex: 1 1 auto; min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; gap: 12px; padding-right: 4px; font-size: 16px; color: var(--texto-2); -webkit-user-select: text; user-select: text; }
.terminos__texto h3 { font-family: var(--f-pixel); font-size: 11px; color: var(--blanco); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }
#ayudaCaja .pasos li, #ayudaCaja .controles-ayuda li { font-size: 16px; }

.aviso { position: absolute; z-index: 60; left: 50%; bottom: calc(14px + var(--pie, 30px)); transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 10px 16px; border-radius: 12px; max-width: calc(100% - 32px);
  background: var(--blanco); color: var(--noche); font-weight: 700; font-size: 16px; text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transition: opacity .25s, transform .35s var(--curva); }
.aviso.visible { opacity: 1; transform: translate(-50%, 0); }

.destello { position: absolute; inset: 0; z-index: 35; pointer-events: none; opacity: 0; display: none; }
.destello.bien, .destello.mal { display: block; }
.destello.bien { background: radial-gradient(circle at 50% 60%, rgba(127, 178, 255, .5), rgba(31, 91, 255, .15) 60%, transparent); animation: destello .6s ease-out; }
.destello.mal { background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(227, 24, 45, .55)); animation: destello .7s ease-out; }
@keyframes destello { from { opacity: 1; } to { opacity: 0; } }
.particulas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 50; pointer-events: none; display: none; }
.particulas.activas { display: block; }

/* =========================================================================
   Horizontal (celular girado, tableta horizontal y computadora)
   ========================================================================= */
@media (orientation: landscape) {
  :root { --hud-h: clamp(42px, 8.6vh, 64px); }

  /* Portada: arte de fondo y texto a la izquierda */
  .pantalla--portada { justify-content: flex-start; }
  .portada__arte { height: 100%; }
  .portada__arte img { object-position: 72% 30%; }
  .portada__degradado { background: linear-gradient(90deg, var(--noche) 0%, rgba(5, 10, 28, .92) 30%, rgba(5, 10, 28, .35) 58%, rgba(5, 10, 28, 0) 75%), linear-gradient(0deg, rgba(5, 10, 28, .7), transparent 35%); }
  .portada__contenido { margin: 0; max-width: none; width: min(560px, 52%); align-self: center; align-items: flex-start; text-align: left;
    padding: var(--top) 0 calc(10px + var(--sab)) calc(clamp(20px, 5vw, 80px) + var(--sal)); gap: clamp(6px, 1.7vh, 16px); }
  .portada__contenido .etiqueta-pixel { align-self: flex-start; }
  .portada__logo { width: min(100%, 52vh * 3.3, 520px); }
  .portada__titular { font-size: clamp(18px, 4.2vh, 34px); }
  .portada__premio { font-size: clamp(14px, 2.7vh, 18px); padding: clamp(5px, 1.2vh, 10px) 12px; }
  .portada__premio svg { width: clamp(20px, 4vh, 26px); height: clamp(20px, 4vh, 26px); }
  .portada__datos { justify-content: flex-start; }
  .boton-jugar { min-height: clamp(50px, 12vh, 84px); max-width: 420px; }
  .boton-jugar__texto { font-size: clamp(26px, 6vh, 44px); }
  .enlace-terminos { padding-left: 0; min-height: 36px; }

  /* Pregunta: escena a la izquierda, panel a la derecha */
  .juego { max-width: 1320px; flex-direction: row; gap: clamp(12px, 2.4vw, 32px); padding-bottom: 2px; }
  .escena { flex: 1 1 52%; max-height: none; min-height: 0; }
  .panel { flex: 1 1 48%; justify-content: flex-start; }
  .panel__estado { margin-bottom: auto; }
  .opciones { margin-top: clamp(4px, 2.4vh, 26px); margin-bottom: auto; }
  .pregunta { font-size: clamp(19px, 4.4vh + .4vw, 40px); text-align: left; padding: 0 4% 0 0; }
  .opcion { min-height: clamp(44px, 11vh, 76px); font-size: clamp(16px, 3.4vh + .3vw, 26px); }
  .opcion__letra { width: clamp(30px, 6.5vh, 40px); height: clamp(30px, 6.5vh, 40px); }
  .opciones { gap: clamp(6px, 1.6vh, 12px); }
  .panel__estado { min-height: 44px; }
  .sello { font-size: clamp(20px, 3vw, 44px); }

  /* Finales: arte a la izquierda */
  .final { flex-direction: row; }
  .final__arte { position: relative; flex: 1 1 50%; height: auto; }
  .final__arte::after { background: linear-gradient(90deg, transparent 50%, var(--noche)), repeating-linear-gradient(0deg, rgba(0, 0, 0, .2) 0 1px, transparent 1px 3px); }
  .final__contenido { flex: 1 1 50%; margin: 0; max-width: none; justify-content: center; padding: var(--top) calc(clamp(16px, 4vw, 60px) + var(--sar)) calc(10px + var(--sab)) clamp(12px, 3vw, 40px); }
  .final__contenido > * { max-width: 520px; }
  .final__botones { flex-direction: row; }
  .final__logo { width: min(70%, 34vh * 3.3); }

  .avistamiento__foto, .avistamiento__mira { width: min(70vw, 620px, 100vh); }
  .avistamiento__numero b { font-size: clamp(48px, 15vh, 120px); }

  .tarjeta.instrucciones { width: min(100%, 900px); display: grid; grid-template-columns: 1.1fr 1fr; column-gap: clamp(16px, 3vw, 36px); align-items: start; }
  .tarjeta.instrucciones > .etiqueta-pixel, .tarjeta.instrucciones > .tarjeta__titulo { grid-column: 1 / -1; }
  .tarjeta.instrucciones .pasos { grid-column: 1; grid-row: 3 / span 2; }
  .tarjeta.instrucciones .controles-ayuda { grid-column: 2; grid-row: 3; border-top: 0; padding-top: 0; }
  .tarjeta.instrucciones .boton { grid-column: 2; grid-row: 4; align-self: end; }
}

/* Celular en horizontal (poca altura) */
@media (orientation: landscape) and (max-height: 500px) {
  .pantalla { padding-bottom: calc(8px + var(--sab)); }
  .pantalla--pregunta { padding-top: 2px; }
  .boton-hud { width: 44px; }
  .boton-hud svg { width: 20px; height: 20px; }
  .hud__marca { height: clamp(15px, 4.4vh, 22px); }
  .portada__datos { display: none; }
  .portada__titular { display: none; }
  .tarjeta { gap: 6px; padding: 12px 16px; }
  .tarjeta__titulo { font-size: clamp(20px, 6vh, 30px); }
  .pasos { gap: 6px; }
  .pasos li { font-size: clamp(14px, 3.8vh, 17px); }
  .pasos__num { width: 24px; height: 24px; font-size: 11px; }
  .controles-ayuda li { font-size: clamp(13px, 3.4vh, 15px); }
  .controles-ayuda { gap: 5px; }
  .boton { min-height: 42px; font-size: 17px; }
  .boton--grande { min-height: 46px; }
  .reloj { width: 42px; height: 42px; }
  .reloj b { font-size: 18px; }
  .panel { gap: 6px; }
  .panel__estado { min-height: 40px; }
  .marcador__valor { font-size: 22px; }
  .opcion { box-shadow: 0 3px 0 rgba(2, 6, 22, .9); border-radius: 11px; padding: 4px 10px 4px 6px; }
  .final__rango-pre, .final__mensaje { display: none; }
  .final__contenido { gap: 5px; }
  .final__logo { display: none; }
  .mascaras svg { width: clamp(20px, 7vh, 32px); }
  .final__puntos b { font-size: clamp(36px, 12vh, 60px); }
  .guardado { padding: 3px 10px; font-size: 14px; }
  .avistamiento { gap: 6px; }
  .avistamiento__foto, .avistamiento__mira { width: min(60vw, 130vh); }
  .avistamiento__numero b { font-size: clamp(40px, 16vh, 80px); }
  .capa__caja { padding: 14px 16px; gap: 7px; }
  .capa .boton { min-height: 40px; }
  .registro .tarjeta__texto { display: none; }
  .mj__capa { gap: 6px; padding: 8px 14px; }
  .mj__sub { display: none; }
  .mj__guia { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; row-gap: 6px; max-width: 760px; }
  .mj__guia li { font-size: clamp(13px, 3.6vh, 16px); }
  .mj__guia .mj__guia-boton { grid-column: 1 / -1; }
  .mj__titulo { font-size: clamp(18px, 7vh, 32px); }
  .mj__botones { flex-direction: row; }
  .mj__cajas div { padding: 6px 12px; }
  .solo-amplio { display: none; }
  .final__botones .boton--rojo { flex: 0 0 auto; width: auto; padding-left: 26px; padding-right: 26px; }
  /* menú en dos columnas para que quepa con la opción de reiniciar el minijuego */
  .capa__caja.menu { display: grid; grid-template-columns: repeat(3, 1fr); width: min(100%, 660px); gap: 7px 10px; }
  .menu > .menu__fila { display: contents; }
  .menu > .menu__pausa, .menu > .tarjeta__titulo, .menu > #mGuardarSalir { grid-column: 1 / -1; }
  .capa .boton { font-size: 15px; }
  /* con el pie legal queda menos alto: radar, foto y globo más compactos */
  .radar-grande { width: min(36vh, 300px); }
  .radar-grande--xl { width: min(44vh, 380px); }
  .arranque, .rastreo { gap: 6px; }
  .rastreo__titulo { font-size: clamp(20px, 6.5vh, 32px); }
  .avistamiento__foto, .avistamiento__mira { width: min(46vw, 92vh); }
  .avistamiento__numero b { font-size: clamp(36px, 14vh, 72px); }
  .avistamiento__numero span, .avistamiento__numero small { font-size: clamp(16px, 5vh, 26px); }
  .ubicacion { gap: 6px; }
  .ubicacion__espacio { width: min(50vh, 420px); }
  .final__arte { flex-basis: 40%; }
  .final__contenido { flex-basis: 60%; }
  .final__rango { font-size: clamp(22px, 7.5vh, 40px); }
}
@media (orientation: landscape) {
  .mj__leyenda { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); z-index: 2; font-size: clamp(13px, 3.4vh, 18px); padding: 5px 14px 5px 8px; }
  .mj__dedo { width: 22px; height: 22px; }
}

/* Celular vertical bajito (iPhone SE con barras de Safari, Android 360x640) */
@media (orientation: portrait) and (max-height: 620px) {
  .portada__arte { height: 64%; }
  .portada__titular { font-size: 20px; }
  .portada__premio { padding: 7px 12px; font-size: 15px; }
  .boton-jugar { min-height: 58px; }
  .boton-jugar__texto { font-size: 30px; }
  .enlace-terminos { min-height: 36px; padding: 2px 10px; }
  .escena { max-height: 42vh; min-height: 96px; }
  .opcion { min-height: 50px; font-size: 18px; }
  .opcion__letra { width: 34px; height: 34px; }
  .pregunta { font-size: 21px; }
  .tarjeta { gap: 8px; padding: 16px 16px; }
  .pasos li { font-size: 15.5px; }
  .controles-ayuda li { font-size: 14px; }
  .final__arte { height: 38%; }
  .final__mensaje { font-size: 15px; }
  .final__logo { display: none; }
}

/* Tabletas y computadoras grandes */
@media (min-width: 740px) and (orientation: portrait) {
  .juego { max-width: 680px; }
  .escena { max-height: min(46vh, 560px); }
  .pregunta { font-size: clamp(26px, 4vw, 40px); }
  .opcion { min-height: 76px; font-size: 26px; }
  .portada__contenido { max-width: 620px; }
}
@media (min-width: 1100px) and (min-height: 700px) {
  .pantalla { padding-left: 40px; padding-right: 40px; padding-bottom: 28px; }
  .pantalla--portada, .pantalla--resultado, .pantalla--participaste { padding: 0; }
  .juego { gap: 40px; }
  .final__rango { font-size: clamp(40px, 6.4vh, 64px); }
  .final__puntos b { font-size: clamp(64px, 10vh, 104px); }
  .final__detalle, .final__mensaje { font-size: 20px; }
  .mascaras svg { width: 44px; }
  .mj__guia { max-width: 620px; }
  .mj__guia li { font-size: 20px; }
  .mj__sub, .mj__motivo { font-size: 22px; max-width: 620px; }
  .mj__titulo { font-size: 56px; }
  .mj__ico { min-width: 36px; height: 36px; font-size: 14px; }
  .mj__empieza { font-size: 16px; }
  .boton-hud { width: 54px; }
  .boton-hud__leyenda { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
