/* ===============================================================
   SELENE-7 · RETO 2 · ASPECTO
   Interfaz de película de ciencia ficción: líneas finas, esquinas de
   encuadre, rótulos muy espaciados, lecturas monoespaciadas y un DSKY
   con dígitos de 7 segmentos y luces de aviso del Apolo.
   =============================================================== */
:root {
  --fondo: #010409;
  --panel: rgba(5, 12, 21, .84);
  --linea: rgba(126, 206, 255, .13);
  --linea-2: rgba(126, 206, 255, .28);
  --linea-3: rgba(126, 206, 255, .6);
  --texto: #d7ecff;
  --texto-2: #9bb6cc;
  --tenue: #5a768c;
  --cian: #62dcff;
  --cian-2: #b8f2ff;
  --verde: #4dffa0;
  --ambar: #ffb13d;
  --rojo: #ff4d4d;
  --f-titulo: "Michroma", "Bahnschrift", "Segoe UI", sans-serif;
  --f-ui: "Barlow Semi Condensed", "Bahnschrift SemiCondensed", "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", Consolas, "Cascadia Mono", monospace;
  --f-seg: "DSEG7 Classic", "JetBrains Mono", monospace;
  --sans: var(--f-ui);
  --mono: var(--f-mono);
  --esq: 12px;
  --suave: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; color: var(--texto); font-family: var(--f-ui); font-variant-ligatures: none; overflow: hidden; -webkit-font-smoothing: antialiased; }
body {
  background:
    radial-gradient(1100px 620px at 12% -12%, rgba(38, 110, 185, .17), transparent 62%),
    radial-gradient(900px 520px at 108% 112%, rgba(26, 86, 150, .14), transparent 60%),
    radial-gradient(rgba(140, 205, 255, .075) 1px, transparent 1.3px) 0 0 / 24px 24px,
    var(--fondo);
}
.oculto { display: none !important; }
button { touch-action: none; font: inherit; }
::selection { background: rgba(98, 220, 255, .3); }

#app { display: grid; grid-template-rows: 60px 1fr; height: 100vh; transition: filter .8s; }

/* ---------- Piezas comunes ---------- */
/* Esquinas de encuadre: ocho trazos finos en las cuatro esquinas */
.marco {
  --c: var(--linea-3);
  background-image:
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)),
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)),
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)),
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c));
  background-size: var(--esq) 1px, 1px var(--esq);
  background-position: left top, left top, right top, right top, left bottom, left bottom, right bottom, right bottom;
  background-repeat: no-repeat;
  background-origin: border-box;
}
.mini { font: 500 9.5px/1 var(--f-ui); letter-spacing: .28em; color: var(--tenue); white-space: nowrap; }
.mini sub, .caja-cod sub { font-size: .8em; vertical-align: -.15em; letter-spacing: 0; }
.idx { display: inline-block; padding: 3px 5px 2px; border-radius: 1px; background: var(--cian); color: #021018; font: 600 9.5px/1 var(--f-mono); letter-spacing: .04em; }
.punto { display: inline-block; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--cian); box-shadow: 0 0 8px var(--cian); }
.punto.vivo { animation: vivo 2.4s ease-in-out infinite; }
@keyframes vivo { 50% { opacity: .2; } }
@keyframes latido { 50% { opacity: .45; } }
@keyframes subir { from { opacity: 0; transform: translateY(10px); } }
@keyframes girar { to { transform: rotate(360deg); } }

.btn {
  font: 600 13px/1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; border-radius: 2px; padding: 11px 18px; cursor: pointer;
  border: 1px solid var(--linea-2); background: rgba(98, 220, 255, .05); color: var(--texto); user-select: none;
  transition: transform .08s, filter .15s, background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { filter: brightness(1.2); border-color: var(--linea-3); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .4; cursor: default; }
.btn:focus-visible, .tecla:focus-visible { outline: 1px solid var(--cian); outline-offset: 2px; }

/* ---------- Barra superior ---------- */
#barra {
  position: relative; display: flex; align-items: center; gap: 30px; padding: 0 20px;
  background: linear-gradient(rgba(8, 18, 30, .92), rgba(4, 10, 18, .7));
  border-bottom: 1px solid var(--linea);
}
/* Destello que recorre el borde inferior */
#barra::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; opacity: .7;
  background: linear-gradient(90deg, transparent, var(--cian), transparent) no-repeat;
  background-size: 28% 100%; animation: recorrer 8s linear infinite;
}
@keyframes recorrer { from { background-position: -40% 0; } to { background-position: 140% 0; } }

.marca { display: flex; align-items: center; gap: 13px; flex: 1; min-width: 0; user-select: none; }
.emblema { flex: none; width: 36px; height: 36px; overflow: visible; }
.em-aro { fill: none; stroke: var(--linea-3); stroke-width: .8; stroke-dasharray: 1.5 3.2; transform-box: fill-box; transform-origin: center; animation: girar 40s linear infinite; }
.em-luna { fill: rgba(98, 220, 255, .12); stroke: var(--cian); stroke-width: 1; }
.em-orbita { fill: none; stroke: var(--cian); stroke-width: .7; opacity: .5; }
.em-nave { fill: var(--cian-2); filter: drop-shadow(0 0 2px var(--cian)); }
.marca-txt { min-width: 0; }
.marca-txt b { display: block; font: 400 15px/1 var(--f-titulo); letter-spacing: .22em; color: var(--texto); }
.marca-txt span { display: block; margin-top: 7px; font: 500 10px/1 var(--f-ui); letter-spacing: .26em; color: var(--tenue); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.estado-mision { display: flex; gap: 10px; }
.chip { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 12px; border: 1px solid var(--linea-2); background: rgba(98, 220, 255, .04); font: 500 9.5px/1 var(--f-ui); letter-spacing: .26em; color: var(--tenue); white-space: nowrap; }
.chip b { font: 600 11.5px/1 var(--f-mono); letter-spacing: .08em; color: var(--texto); }
#chip-plataforma { border-color: rgba(255, 177, 61, .35); background: rgba(255, 177, 61, .04); }
#chip-plataforma .punto { background: var(--ambar); box-shadow: 0 0 8px var(--ambar); }
#chip-plataforma b { color: var(--ambar); }
#chip-plataforma.ok { border-color: rgba(77, 255, 160, .45); background: rgba(77, 255, 160, .07); }
#chip-plataforma.ok .punto { background: var(--verde); box-shadow: 0 0 8px var(--verde); animation: none; }
#chip-plataforma.ok b { color: var(--verde); }

.reloj { display: flex; flex-direction: column; gap: 6px; }
.reloj-val { font: 500 21px/1 var(--f-mono); letter-spacing: .03em; color: var(--texto); }
.reloj-val small { margin-right: 7px; font-size: 11px; letter-spacing: .1em; color: var(--cian); }

.o2 { position: relative; display: flex; flex-direction: column; gap: 7px; width: 250px; }
.o2-cab { display: flex; justify-content: space-between; align-items: flex-end; }
#o2-valor { font: 600 18px/1 var(--f-mono); color: var(--texto); }
/* Barra por segmentos: el fondo marca los huecos y el relleno usa la misma máscara */
.o2-barra { position: relative; height: 9px; background: repeating-linear-gradient(90deg, rgba(126, 206, 255, .13) 0 5px, transparent 5px 7px); }
#o2-relleno {
  height: 100%; width: 100%; background: var(--verde); filter: drop-shadow(0 0 4px rgba(77, 255, 160, .9));
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 5px, transparent 5px 7px); mask: repeating-linear-gradient(90deg, #000 0 5px, transparent 5px 7px);
  transition: width .6s var(--suave), background .6s;
}
#o2-relleno.medio { background: var(--ambar); filter: drop-shadow(0 0 4px rgba(255, 177, 61, .9)); }
#o2-relleno.bajo { background: var(--rojo); filter: drop-shadow(0 0 4px rgba(255, 77, 77, .9)); }
body.o2-critico .o2 { animation: latido 1s infinite; }
body.o2-critico #o2-valor { color: var(--rojo); }
.flotante { position: absolute; right: 0; top: 34px; font: 600 14px var(--f-mono); color: var(--rojo); text-shadow: 0 0 10px rgba(255, 77, 77, .6); animation: sube 1.8s forwards; pointer-events: none; }
@keyframes sube { to { transform: translateY(14px); opacity: 0; } }

/* ---------- Distribución y paneles ---------- */
main { display: grid; grid-template-columns: 1fr 372px; gap: 14px; padding: 14px; min-height: 0; }
.panel { position: relative; min-height: 0; background-color: var(--panel); border: 1px solid var(--linea); box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.panel-titulo {
  display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--linea);
  font: 500 11.5px/1 var(--f-ui); letter-spacing: .24em; color: #c3dcef; white-space: nowrap; overflow: hidden;
}
.panel-titulo .sep { color: var(--tenue); letter-spacing: 0; }
#optica-nombre { color: var(--cian); transition: color .4s; }
body.sextante #optica-nombre { color: var(--ambar); }
/* Regla de marcas finas que rellena el hueco del título */
.regla {
  flex: 1; min-width: 20px; height: 7px; opacity: .8;
  background:
    repeating-linear-gradient(90deg, var(--linea-2) 0 1px, transparent 1px 6px) left bottom / 100% 3px no-repeat,
    repeating-linear-gradient(90deg, var(--linea-3) 0 1px, transparent 1px 30px) left bottom / 100% 7px no-repeat;
}
.panel-estado { display: flex; align-items: center; gap: 7px; font: 500 10px/1 var(--f-mono); letter-spacing: .14em; color: var(--tenue); }
.etq { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font: 500 10px/1 var(--f-ui); letter-spacing: .26em; color: var(--tenue); white-space: nowrap; }
.etq .idx { background: none; color: var(--cian); border: 1px solid var(--linea-2); padding: 2px 4px 1px; font-size: 9px; }

/* ---------- Visor ---------- */
#visor-panel { display: flex; flex-direction: column; overflow: hidden; }
#visor { position: relative; flex: 1; min-height: 0; background: #000; overflow: hidden; }
#visor canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#capa { cursor: grab; }
#capa:active { cursor: grabbing; }
.mascara { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 130px rgba(0, 0, 0, .85); transition: background .6s; }
body.sextante .mascara { background: radial-gradient(circle at 50% 50%, transparent 0 41%, rgba(0, 0, 0, .55) 44%, #000 47%); }

/* Línea de barrido: cruza el cristal deprisa de vez en cuando, con una estela corta */
.barrido { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.barrido::before {
  content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 26px;
  background: linear-gradient(to bottom, transparent, rgba(150, 225, 255, .05));
  border-bottom: 1px solid rgba(170, 235, 255, .22);
  animation: barrido 15s cubic-bezier(.5, 0, .5, 1) infinite;
}
@keyframes barrido { 0%, 70% { transform: translateY(0); } 88%, 100% { transform: translateY(calc(100vh + 26px)); } }

/* Obturador: el iris se cierra y se abre al cambiar de óptica */
.obturador { position: absolute; left: 50%; top: 50%; width: 260vmax; height: 260vmax; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; opacity: 0; box-shadow: 0 0 0 260vmax #000, inset 0 0 50px 24px #000; }
#visor.cambio .obturador { animation: iris .5s cubic-bezier(.6, 0, .4, 1); }
@keyframes iris {
  0% { opacity: 1; width: 260vmax; height: 260vmax; }
  45%, 55% { opacity: 1; width: 0; height: 0; }
  100% { opacity: 1; width: 260vmax; height: 260vmax; }
}

/* Esquinas del cristal y muescas en el centro de cada lado */
.esquinas {
  position: absolute; inset: 10px; pointer-events: none; --c: rgba(160, 225, 255, .5);
  background-image:
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)),
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)),
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c));
  background-size: 26px 1px, 1px 26px, 26px 1px, 1px 26px, 26px 1px, 1px 26px, 26px 1px, 1px 26px, 1px 9px, 1px 9px, 9px 1px, 9px 1px;
  background-position: left top, left top, right top, right top, left bottom, left bottom, right bottom, right bottom, center top, center bottom, left center, right center;
  background-repeat: no-repeat;
}

/* Brújula: hacia dónde queda el norte del cielo en la pantalla */
#brujula { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 1px; pointer-events: none; opacity: .9; }
#brujula svg { width: 62px; height: 62px; overflow: visible; }
#brujula > span { font: 500 8.5px/1 var(--f-ui); letter-spacing: .32em; color: var(--tenue); }
.b-aro { fill: rgba(2, 10, 18, .5); stroke: var(--linea-2); stroke-width: .8; }
#brujula-marcas line { stroke: rgba(160, 225, 255, .45); stroke-width: .7; }
#brujula-aguja { transition: opacity .3s; }
#brujula.polo #brujula-aguja { opacity: .15; }
.b-n { fill: var(--cian); filter: drop-shadow(0 0 3px var(--cian)); }
.b-s { fill: none; stroke: var(--tenue); stroke-width: .8; }
.b-letra { fill: var(--cian-2); font: 600 8px var(--f-ui); text-anchor: middle; }
.b-eje { fill: var(--texto); }

/* Rótulo de la constelación en la mira */
#foco-etq {
  position: absolute; left: 18px; top: 16px; padding: 8px 18px 9px 12px; pointer-events: none;
  border-left: 2px solid var(--cian); background: linear-gradient(90deg, rgba(5, 24, 40, .85), rgba(5, 24, 40, 0));
  opacity: 0; transform: translateX(-10px); transition: opacity .35s, transform .35s var(--suave);
}
#foco-etq.visible { opacity: 1; transform: none; }
.foco-cab { display: block; font: 500 9px/1 var(--f-ui); letter-spacing: .3em; color: var(--cian); opacity: .75; }
#foco-nombre { display: block; margin-top: 6px; font: 600 21px/1 var(--f-ui); letter-spacing: .22em; color: var(--cian-2); text-shadow: 0 0 16px rgba(98, 220, 255, .55); white-space: nowrap; }

#cargando { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, #04101c, #000 70%); }
.carga { width: min(380px, 80%); }
.carga-titulo { margin-bottom: 14px; font: 500 12px/1 var(--f-ui); letter-spacing: .42em; color: var(--cian); }
.carga-barra { height: 2px; background: var(--linea); overflow: hidden; }
.carga-barra i { display: block; width: 35%; height: 100%; background: var(--cian); box-shadow: 0 0 10px var(--cian); animation: cargar 1.3s var(--suave) infinite; }
@keyframes cargar { from { transform: translateX(-100%); } to { transform: translateX(300%); } }
.carga-log { margin-top: 14px; font: 400 10px/1.8 var(--f-mono); letter-spacing: .06em; color: var(--tenue); }

/* ---------- Consola de mandos ---------- */
#consola { display: flex; align-items: stretch; flex-wrap: wrap; row-gap: 12px; padding: 13px 18px 15px; border-top: 1px solid var(--linea); background: linear-gradient(rgba(7, 16, 27, .92), rgba(3, 8, 14, .96)); }
.bloque { display: flex; flex-direction: column; }
.bloque + .bloque { margin-left: 18px; padding-left: 18px; border-left: 1px solid var(--linea); }

#joy {
  position: relative; width: 124px; height: 124px; border-radius: 50%; cursor: grab; touch-action: none;
  background: radial-gradient(circle closest-side, rgba(98, 220, 255, .08), rgba(98, 220, 255, .02) 70%, transparent 71%);
  border: 1px solid var(--linea-2); transition: border-color .2s, box-shadow .2s;
}
/* Corona de marcas cada 10° */
#joy::before {
  content: ""; position: absolute; inset: 3px; border-radius: 50%;
  background: repeating-conic-gradient(rgba(150, 220, 255, .55) 0 .7deg, transparent .7deg 10deg);
  -webkit-mask: radial-gradient(circle closest-side, transparent 87%, #000 88%); mask: radial-gradient(circle closest-side, transparent 87%, #000 88%);
}
#joy::after { content: ""; position: absolute; inset: 27%; border-radius: 50%; border: 1px dashed var(--linea-2); }
.joy-marcas {
  position: absolute; inset: 12px; border-radius: 50%; opacity: .7; background:
    linear-gradient(transparent calc(50% - .5px), var(--linea-2) calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px)),
    linear-gradient(90deg, transparent calc(50% - .5px), var(--linea-2) calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px));
}
#joy-pomo {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 38% 32%, #2a4358, #0d1822 62%, #08111a);
  border: 1px solid rgba(160, 225, 255, .5);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .7), inset 0 0 0 5px rgba(0, 0, 0, .25), inset 0 0 0 6px rgba(126, 206, 255, .16);
  transition: box-shadow .2s, border-color .2s;
}
#joy-pomo::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--cian); box-shadow: 0 0 8px var(--cian); }
#joy.activo { border-color: var(--linea-3); box-shadow: 0 0 24px rgba(98, 220, 255, .14); }
#joy.activo #joy-pomo { border-color: var(--cian); box-shadow: 0 6px 16px rgba(0, 0, 0, .7), 0 0 18px rgba(98, 220, 255, .5); }

.flechas { display: grid; grid-template-columns: repeat(3, 36px); grid-template-rows: repeat(3, 36px); gap: 4px; }
.btn.flecha { display: flex; align-items: center; justify-content: center; padding: 0; background: rgba(98, 220, 255, .03); color: var(--cian); }
.flecha svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; }
.flecha.abajo svg { transform: rotate(180deg); }
.flecha.izquierda svg { transform: rotate(-90deg); }
.flecha.derecha svg { transform: rotate(90deg); }
.btn.flecha:active { background: rgba(98, 220, 255, .2); box-shadow: inset 0 0 12px rgba(98, 220, 255, .35); color: #fff; }
.flechas .centro { place-self: center; width: 5px; height: 5px; border: 1px solid var(--linea-3); transform: rotate(45deg); }

/* Lecturas de actitud: ceros a la izquierda atenuados y una escala con las líneas de la rejilla */
.lecturas { min-width: 182px; }
.lec { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 14px; margin-bottom: 7px; }
.lec > span { font: 500 9.5px/1 var(--f-ui); letter-spacing: .24em; color: var(--tenue); }
.lec b { font: 500 19px/1.1 var(--f-mono); color: var(--texto); text-align: right; white-space: nowrap; }
.lec b i { font-style: normal; color: var(--tenue); opacity: .5; }
.lec b small { margin-left: 1px; font-size: 12px; color: var(--cian); }
.lec-escala {
  grid-column: 1 / -1; position: relative; height: 5px; margin-top: 4px;
  background:
    repeating-linear-gradient(90deg, var(--linea-3) 0 1px, transparent 1px calc(100% / var(--n))) left bottom / calc(100% + 1px) 5px no-repeat,
    linear-gradient(var(--linea), var(--linea)) left bottom / 100% 1px no-repeat;
}
.lec-escala i { position: absolute; top: -3px; width: 2px; height: 10px; margin-left: -1px; background: var(--cian-2); box-shadow: 0 0 6px var(--cian); }

.optica { display: flex; flex-direction: column; border: 1px solid var(--linea-2); }
.btn.btn-opt { position: relative; border: none; border-radius: 0; background: transparent; padding: 9px 16px 9px 28px; text-align: left; opacity: .5; font-size: 12.5px; }
.btn-opt + .btn-opt { border-top: 1px solid var(--linea); }
.btn-opt::before { content: ""; position: absolute; left: 11px; top: 50%; width: 6px; height: 6px; margin-top: -4px; border: 1px solid currentColor; transform: rotate(45deg); }
.btn-opt small { display: block; margin-top: 4px; font: 400 11px/1 var(--f-ui); letter-spacing: .04em; text-transform: none; color: var(--texto-2); }
.btn.btn-opt.activo { opacity: 1; color: var(--cian-2); background: linear-gradient(90deg, rgba(98, 220, 255, .16), rgba(98, 220, 255, 0)); }
.btn-opt.activo::before { background: currentColor; box-shadow: 0 0 8px currentColor; }
#opt-sex.activo { color: #ffd896; background: linear-gradient(90deg, rgba(255, 177, 61, .16), rgba(255, 177, 61, 0)); }

/* MARCAR: bandas de peligro arriba y abajo, barra de cálculo al pulsar */
.btn.btn-marcar {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 128px; height: 100px; padding: 0; overflow: hidden;
  border: 1px solid rgba(255, 100, 100, .9); color: #fff0f0;
  background:
    repeating-linear-gradient(-45deg, rgba(255, 77, 77, .7) 0 5px, transparent 5px 10px) top / 100% 6px no-repeat,
    repeating-linear-gradient(-45deg, rgba(255, 77, 77, .7) 0 5px, transparent 5px 10px) bottom / 100% 6px no-repeat,
    radial-gradient(120% 90% at 50% 35%, rgba(255, 70, 70, .55), rgba(120, 12, 12, .6) 60%, rgba(40, 4, 4, .9));
  box-shadow: 0 0 26px rgba(255, 77, 77, .3), inset 0 0 26px rgba(255, 90, 90, .3);
}
.marcar-txt { font: 400 14px/1 var(--f-titulo); letter-spacing: .2em; margin-right: -.2em; text-shadow: 0 0 12px rgba(255, 120, 120, .7); }
.btn-marcar small { font: 500 8.5px/1 var(--f-ui); letter-spacing: .24em; color: rgba(255, 215, 215, .75); }
.marcar-carga { position: absolute; left: 0; bottom: 6px; height: 2px; width: 0; background: #fff; box-shadow: 0 0 10px #fff; }
.btn-marcar.calculando { animation: latido .3s infinite; }
.btn-marcar.calculando .marcar-carga { animation: cargar-marca .9s linear forwards; }
@keyframes cargar-marca { to { width: 100%; } }

/* ---------- DSKY ---------- */
#dsky { display: flex; flex-direction: column; }
.dsky-cuerpo { flex: 1; min-height: 0; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 11px; }
.dsky-luces { display: grid; grid-template-columns: 1fr 104px; gap: 8px; }
/* Luces de aviso como las del DSKY real: blancas y ámbar, apagadas casi negras */
.luces-aviso { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.luz {
  display: flex; align-items: center; justify-content: center; min-height: 30px; padding: 3px 4px; text-align: center;
  font: 600 8.5px/1.15 var(--f-ui); letter-spacing: .1em; border-radius: 2px;
  background: #0c1117; color: #3b4a58; border: 1px solid #1a242e; transition: background .15s, color .15s, box-shadow .15s;
}
.luz.on { background: #e4e8ea; color: #151a1e; border-color: #fff; box-shadow: 0 0 14px rgba(230, 240, 245, .35); }
.luz.ambar.on { background: var(--ambar); color: #2a1700; border-color: #ffd28a; box-shadow: 0 0 14px rgba(255, 177, 61, .5); }
.dsky-prog { display: grid; grid-template-rows: 1fr 1fr; gap: 4px; }
.luz-comp {
  display: flex; align-items: center; justify-content: center; padding: 3px 6px; text-align: center; border-radius: 2px;
  font: 600 8.5px/1.15 var(--f-ui); letter-spacing: .12em; background: #06120b; color: #2c5a3e; border: 1px solid #12261a; transition: background .1s, color .1s;
}
.luz-comp.on { background: var(--verde); color: #02200f; box-shadow: 0 0 16px var(--verde); }
.prog { display: flex; align-items: center; justify-content: space-between; padding: 0 8px; background: #020704; border: 1px solid #13261a; }
.prog span { font: 600 8.5px/1 var(--f-ui); letter-spacing: .22em; color: #3a8a5a; }
/* Dígitos de 7 segmentos con los segmentos apagados («88») detrás */
.seg, .reg-val { position: relative; z-index: 0; font-family: var(--f-seg); font-weight: 700; font-style: normal; color: var(--verde); text-shadow: 0 0 10px rgba(77, 255, 160, .7); }
.seg::before, .reg-val::before { content: "88"; position: absolute; right: 0; top: 0; z-index: -1; color: rgba(77, 255, 160, .07); text-shadow: none; }
.prog .seg { font-size: 20px; letter-spacing: 2px; }
.registro { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: #020704; border: 1px solid #13261a; overflow: hidden; }
/* Líneas de pantalla sobre los displays verdes */
.registro::after, .dsky-msg::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .28) 0 1px, transparent 1px 3px); }
.reg-etq { font: 600 10px/1.3 var(--f-ui); letter-spacing: .24em; color: #3a8a5a; }
.reg-val { font-size: 46px; line-height: 1; letter-spacing: 5px; }
.reg-val.apagado { color: rgba(77, 255, 160, .22); text-shadow: none; }
.dsky-msg {
  position: relative; min-height: 3.5em; padding: 9px 12px 9px 26px; background: #020704; border: 1px solid #13261a;
  font: 500 12px/1.5 var(--f-mono); color: #a4f7c9; transition: color .2s, border-color .2s, background .2s;
}
.dsky-msg::after { content: "›"; position: absolute; left: 11px; top: 8px; color: var(--verde); font-weight: 600; }
.dsky-msg.ok { color: var(--verde); }
.dsky-msg.mal { color: #ff8585; border-color: #4a1a1a; background: #0b0303; }
.dsky-msg.mal::after { color: var(--rojo); }
.dsky-msg.aviso { color: var(--ambar); }
.dsky-msg .cursor { display: inline-block; width: 7px; height: 12px; margin-left: 4px; vertical-align: -1px; background: currentColor; box-shadow: 0 0 6px currentColor; animation: cursor 1s steps(1) infinite; }
@keyframes cursor { 50% { opacity: 0; } }
#teclado { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tecla {
  padding: 11px 0; border-radius: 2px; cursor: pointer; font: 500 19px/1 var(--f-mono); color: var(--texto);
  background: linear-gradient(#111d29, #0a121b); border: 1px solid rgba(126, 206, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 2px 0 rgba(0, 0, 0, .6); transition: background .08s, color .08s, border-color .15s, transform .08s;
}
.tecla:hover { border-color: var(--linea-3); color: var(--cian-2); }
.tecla:active { transform: translateY(1px); background: rgba(98, 220, 255, .2); box-shadow: inset 0 0 16px rgba(98, 220, 255, .4); color: #fff; }
.tecla.larga { font: 600 12px/1 var(--f-ui); letter-spacing: .22em; }
.tecla[data-k="ENTR"] { border-color: rgba(77, 255, 160, .45); color: var(--verde); }
.tecla[data-k="CLR"] { border-color: rgba(255, 177, 61, .4); color: var(--ambar); }
.dsky-cuerpo > .etq { margin: 4px 0 0; }

/* Plan de vuelo: una fila por estrella */
#huecos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
#huecos li {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 8px auto auto 1fr auto auto; align-items: center; gap: 10px;
  padding: 8px 10px; border: 1px solid var(--linea); background: rgba(8, 18, 30, .5); font: 500 12px/1 var(--f-mono); color: var(--tenue);
}
#huecos .led { width: 6px; height: 6px; margin-left: 1px; border: 1px solid var(--tenue); transform: rotate(45deg); }
.h-nom { font: 500 11px/1 var(--f-ui); letter-spacing: .2em; color: var(--texto-2); }
.h-lider { height: 1px; border-bottom: 1px dotted var(--linea-2); }
#huecos li b { color: var(--texto); font-weight: 600; }
#huecos .est { font: 600 9px/1 var(--f-ui); letter-spacing: .22em; }
#huecos li.hecha { border-color: rgba(77, 255, 160, .35); color: var(--verde); background: linear-gradient(90deg, rgba(77, 255, 160, .13), rgba(77, 255, 160, .02)); }
#huecos li.hecha .led { background: var(--verde); border-color: var(--verde); box-shadow: 0 0 8px var(--verde); }
#huecos li.hecha .h-nom, #huecos li.hecha b { color: #c9ffe3; }
#huecos li.nueva::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(77, 255, 160, .45), transparent); transform: translateX(-100%); animation: barrer 1.1s var(--suave) forwards; }
@keyframes barrer { to { transform: translateX(100%); } }

/* ---------- Ventanas superpuestas ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: radial-gradient(ellipse at center, rgba(3, 11, 20, .7), rgba(1, 3, 7, .92)); backdrop-filter: blur(5px);
}
.caja { position: relative; width: 100%; max-width: 680px; padding: 24px 32px 28px; background-color: rgba(4, 12, 21, .94); border: 1px solid var(--linea-2); box-shadow: 0 30px 90px rgba(0, 0, 0, .65); }
.caja.marco { --esq: 18px; }
.overlay:not(.oculto) .caja { animation: caja-entra .55s var(--suave) both; }
.overlay:not(.oculto) .caja > * { animation: subir .6s var(--suave) both; }
.caja > :nth-child(2) { animation-delay: .12s !important; }
.caja > :nth-child(3) { animation-delay: .2s !important; }
.caja > :nth-child(4) { animation-delay: .28s !important; }
.caja > :nth-child(5) { animation-delay: .36s !important; }
.caja > :nth-child(6) { animation-delay: .44s !important; }
.caja > :nth-child(7) { animation-delay: .52s !important; }
.caja > :nth-child(8) { animation-delay: .6s !important; }
@keyframes caja-entra { from { opacity: 0; transform: scale(.975); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
.caja-cab { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 13px; margin-bottom: 18px; border-bottom: 1px solid var(--linea); font: 500 10.5px/1 var(--f-mono); letter-spacing: .16em; color: var(--cian); }
.caja-cab > span:first-child { display: flex; align-items: center; gap: 10px; }
.caja-cod { color: var(--tenue); white-space: nowrap; }
.caja-cab.ok { color: var(--verde); }
.caja-cab.ok .punto { background: var(--verde); box-shadow: 0 0 8px var(--verde); }
.caja-cab.mal { color: var(--rojo); }
.caja-cab.mal .punto { background: var(--rojo); box-shadow: 0 0 8px var(--rojo); }
.caja-sub { font: 500 11px/1 var(--f-ui); letter-spacing: .34em; color: var(--tenue); }
.caja h1 { margin: 12px 0 18px; font: 400 30px/1.2 var(--f-titulo); letter-spacing: .12em; color: var(--cian-2); text-shadow: 0 0 26px rgba(98, 220, 255, .35); }
.caja p { margin: 0 0 12px; font: 400 18px/1.55 var(--f-ui); color: var(--texto-2); }
.caja p b { font-weight: 600; color: var(--texto); }
.aviso-o2 { display: flex; align-items: center; gap: 12px; margin-top: 18px !important; font: 600 12px/1 var(--f-ui) !important; letter-spacing: .24em; text-transform: uppercase; color: var(--ambar) !important; }
.aviso-o2::before { content: "!"; display: grid; place-items: center; width: 20px; height: 18px; padding-top: 5px; background: var(--ambar); color: #1c1000; font: 700 10px/1 var(--f-mono); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.btn-ejecutar { background: rgba(77, 255, 160, .07); border-color: rgba(77, 255, 160, .6); color: #e3fff0; }
.btn-ejecutar.grande { position: relative; overflow: hidden; margin-top: 20px; padding: 16px 38px; font-size: 14px; letter-spacing: .34em; box-shadow: 0 0 24px rgba(77, 255, 160, .12), inset 0 0 18px rgba(77, 255, 160, .08); }
.btn-ejecutar.grande::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(180, 255, 215, .22), transparent); animation: brillo 3.2s ease-in-out infinite; }
.btn-ejecutar.grande::before { content: ""; position: absolute; inset: 0; opacity: 0; background: repeating-linear-gradient(-45deg, rgba(126, 206, 255, .08) 0 8px, transparent 8px 16px) 0 0 / 200% 100%; transition: opacity .3s; }
.btn-ejecutar.grande:disabled { border-color: var(--linea-2); color: var(--tenue); background: none; box-shadow: none; opacity: 1; }
.btn-ejecutar.grande:disabled::before { opacity: 1; animation: rayas 1.2s linear infinite; }
.btn-ejecutar.grande:disabled::after { display: none; }
@keyframes brillo { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes rayas { to { background-position: -45px 0; } }
.btn-sec { display: block; margin: 20px 0 0 auto; }

#radio { align-items: flex-end; padding-bottom: 56px; background: linear-gradient(transparent 40%, rgba(1, 4, 8, .75)); backdrop-filter: none; }
.caja-radio { max-width: 780px; --c: rgba(255, 177, 61, .75); border-color: rgba(255, 177, 61, .4); box-shadow: 0 0 50px rgba(255, 177, 61, .1), 0 30px 90px rgba(0, 0, 0, .65); }
.caja-radio .caja-cab { color: var(--ambar); border-color: rgba(255, 177, 61, .2); }
#radio-texto { min-height: 3em; font: 400 17px/1.6 var(--f-mono); color: #ffe7bd; }
.onda { display: inline-flex; gap: 2px; align-items: center; height: 16px; }
.onda i { width: 2px; height: 3px; background: var(--ambar); animation: onda .9s infinite ease-in-out; }
.onda i:nth-child(3n) { animation-delay: .15s; } .onda i:nth-child(3n+1) { animation-delay: .3s; }
.onda i:nth-child(4n) { animation-duration: .7s; } .onda i:nth-child(5n) { animation-duration: 1.1s; }
@keyframes onda { 0%, 100% { height: 3px; } 50% { height: 16px; } }

.caja-exito { --c: rgba(77, 255, 160, .75); border-color: rgba(77, 255, 160, .35); max-width: 720px; }
.caja-exito .caja-cab { border-color: rgba(77, 255, 160, .18); }
.caja-exito h1 { color: #c9ffe3; text-shadow: 0 0 26px rgba(77, 255, 160, .4); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.stats > div { padding: 12px 14px; border: 1px solid var(--linea); background: rgba(98, 220, 255, .03); }
.stats span { display: block; font: 500 9.5px/1 var(--f-ui); letter-spacing: .26em; color: var(--tenue); }
.stats b { display: block; margin-top: 10px; font: 500 26px/1 var(--f-mono); color: var(--texto); }
.modulo { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding: 10px 14px; border: 1px dashed var(--linea-2); }
.modulo span { font: 500 9.5px/1 var(--f-ui); letter-spacing: .26em; color: var(--cian); }
.modulo code { font: 500 14px var(--f-mono); color: var(--texto); }
.codigo-caja { position: relative; padding: 16px; text-align: center; border: 1px solid rgba(255, 177, 61, .45); background: radial-gradient(ellipse at center, rgba(255, 177, 61, .1), transparent 70%); }
.codigo-et { font: 500 10px/1 var(--f-ui); letter-spacing: .4em; color: var(--ambar); }
.codigo { display: flex; justify-content: center; gap: 16px; margin: 14px 0 12px; font: 700 54px/1 var(--f-seg); color: #fff3da; text-shadow: 0 0 18px var(--ambar), 0 0 3px #fff; }
.rodillo { position: relative; z-index: 0; }
.rodillo::before { content: "8"; position: absolute; left: 0; z-index: -1; color: rgba(255, 177, 61, .09); text-shadow: none; }
.rodillo:not(.fijo) { color: rgba(255, 220, 170, .45); text-shadow: none; }
.codigo-txt { font: 400 15px/1.4 var(--f-ui); color: #ffe2a8; }

.caja-mal { --c: rgba(255, 77, 77, .8); border-color: rgba(255, 77, 77, .5); text-align: center; overflow: hidden; }
.caja-mal::before, .caja-mal::after { content: ""; position: absolute; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--rojo) 0 8px, transparent 8px 16px); background-size: 200% 100%; animation: rayas 1s linear infinite; opacity: .8; }
.caja-mal::before { top: 0; } .caja-mal::after { bottom: 0; }
.caja-mal .caja-cab { border-color: rgba(255, 77, 77, .25); }
.caja-mal h1 { color: var(--rojo); text-shadow: 0 0 26px rgba(255, 77, 77, .6); animation: latido 1s infinite; }

/* ---------- Panel del director de juego ---------- */
#gm { position: fixed; top: 70px; right: 16px; z-index: 200; width: 380px; padding: 16px; background: rgba(18, 9, 28, .97); border: 1px solid rgba(190, 140, 255, .6); box-shadow: 0 20px 60px rgba(0, 0, 0, .6); font: 400 12px/1.4 var(--f-mono); color: var(--texto); }
.gm-cab { margin-bottom: 12px; font: 600 11px/1 var(--f-ui); letter-spacing: .26em; color: #d2a8ff; }
.gm-botones { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.gm-botones .btn { padding: 9px 8px; font-size: 11px; letter-spacing: .1em; border-color: rgba(190, 140, 255, .35); background: rgba(190, 140, 255, .06); }
.gm-sub { margin-bottom: 6px; color: var(--tenue); }
#gm-resultados { max-height: 160px; overflow: auto; margin: 0 0 12px; padding-left: 18px; }
#gm .btn-sec { margin: 0; border-color: rgba(190, 140, 255, .35); }

/* ---------- Destello ---------- */
#flash { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0; }
#flash.activo { animation: destello .7s; }
#flash.rojo { background: radial-gradient(transparent 30%, rgba(255, 30, 30, .5)); }
#flash.verde { background: radial-gradient(transparent 30%, rgba(61, 255, 138, .35)); }
@keyframes destello { 0% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- Pósits pegados por el visor ---------- */
/* Notas apaisadas, todas iguales, gastadas y borrosas. Al pulsar una se despega y se ve nítida. */
/* Capa propia por encima de los paneles (debajo de las ventanas superpuestas); posits.js coloca cada uno junto a su ancla */
#posits-capa { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 95; }
.posit {
  --papel: #fde66e; --giro: -6deg;
  position: absolute; width: 150px; padding: 0; border: none; background: none; cursor: pointer; pointer-events: auto; touch-action: manipulation;
  color: #1d2a6a; font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; text-align: left;
  opacity: .84; transform: rotate(var(--giro)); transition: transform .35s cubic-bezier(.3, 1.3, .5, 1), opacity .3s;
}
/* Sombra de las esquinas de abajo, que se levantan un poco del cristal */
.posit::before, .posit::after { content: ""; position: absolute; z-index: -1; bottom: 7px; width: 45%; height: 30%; box-shadow: 0 9px 9px rgba(0, 0, 0, .75); }
.posit::before { left: 6px; transform: rotate(-4deg); }
.posit::after { right: 6px; transform: rotate(4deg); }
.posit-papel {
  position: relative; display: block; height: 100px; overflow: hidden; border-radius: 1px 1px 3px 3px / 1px 1px 10px 10px;
  background:
    linear-gradient(rgba(0, 0, 0, .07), rgba(0, 0, 0, .02) 13px, transparent 14px),          /* franja del adhesivo */
    linear-gradient(to top, rgba(255, 255, 255, .22), transparent 22%),                      /* borde de abajo que se curva */
    linear-gradient(100deg, rgba(0, 0, 0, .05), transparent 30%, transparent 70%, rgba(0, 0, 0, .07)),
    var(--papel);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .25);
}
/* Trocito de celo arriba */
.posit-celo { position: absolute; left: 50%; top: -7px; z-index: 2; width: 44px; height: 15px; margin-left: -22px; background: rgba(235, 235, 220, .5); box-shadow: 0 0 1px rgba(0, 0, 0, .2); transform: rotate(-4deg); }
.posit-cont { display: flex; gap: 4px; align-items: center; height: 100%; padding: 11px 7px 4px; filter: blur(1.5px) contrast(.8); transition: filter .3s; }
.posit-ruido { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: .75; transition: opacity .3s;
  background: radial-gradient(ellipse 30% 40% at 78% 70%, rgba(120, 70, 20, .25), transparent 70%), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='r'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .25  0 0 0 0 .2  0 0 0 0 .1  0 0 0 1.1 -.35'/></filter><rect width='100%' height='100%' filter='url(%23r)'/></svg>"); }
.posit-dibujo { flex: 0 0 52%; }
.posit-dibujo svg { display: block; width: 100%; height: auto; }
.posit-datos { flex: 1; min-width: 0; }
.posit-num { display: block; font-size: 14px; font-weight: 700; line-height: 1.1; white-space: nowrap; }
.posit-txt { display: block; margin-top: 3px; font-size: 8.5px; line-height: 1.4; white-space: nowrap; }
.posit.instr svg { display: block; width: 100%; height: auto; }
.posit:hover { opacity: .95; transform: rotate(var(--giro)) scale(1.05); }
/* Despegado: nítido, grande y al frente */
.posit.visto { opacity: 1; z-index: 2; transform: rotate(0) scale(2.7); }
.posit.visto .posit-cont { filter: none; }
.posit.visto .posit-ruido { opacity: .2; }
/* Estrella ya marcada */
.posit.hecha { opacity: .5; }
.posit.hecha .posit-num { text-decoration: line-through 2px; }
.posit.hecha .posit-papel::after { content: "✔"; position: absolute; right: 8px; top: 0; font-size: 30px; color: #0b8a3a; font-family: var(--sans); }


/* ---------- Encendido ---------- */
/* Detrás de la intro la cabina está apagada; al empezar se enciende por partes */
body.apagado #app { filter: saturate(.2) brightness(.45); }
body.apagado #posits-capa { opacity: 0; }
body.encendiendo #posits-capa { animation: aparecer .7s .9s both; }
@keyframes aparecer { from { opacity: 0; } }
body.encendiendo #barra { animation: encender-barra .7s var(--suave) both; }
body.encendiendo .panel { animation: encender-panel .9s var(--suave) both; }
body.encendiendo #dsky { animation-delay: .15s; }
body.encendiendo #consola .bloque { animation: subir .6s var(--suave) both; }
body.encendiendo #consola .bloque:nth-child(1) { animation-delay: .45s; }
body.encendiendo #consola .bloque:nth-child(2) { animation-delay: .52s; }
body.encendiendo #consola .bloque:nth-child(3) { animation-delay: .59s; }
body.encendiendo #consola .bloque:nth-child(4) { animation-delay: .66s; }
body.encendiendo #consola .bloque:nth-child(5) { animation-delay: .73s; }
@keyframes encender-barra { from { opacity: 0; transform: translateY(-100%); } }
@keyframes encender-panel {
  0% { opacity: 0; clip-path: inset(49.5% 0 49.5% 0); }
  35% { opacity: 1; clip-path: inset(49.5% 0 49.5% 0); }
  40% { opacity: .4; }
  45% { opacity: 1; }
  100% { opacity: 1; clip-path: inset(0 0 0 0); }
}
/* Prueba de lámparas del DSKY al encender, como el V35 del Apolo */
#dsky.prueba .luz { background: #e4e8ea; color: #151a1e; border-color: #fff; }
#dsky.prueba .luz.ambar { background: var(--ambar); color: #2a1700; }
#dsky.prueba .luz-comp { background: var(--verde); color: #02200f; }
#dsky.prueba .seg::before, #dsky.prueba .reg-val::before { color: var(--verde); text-shadow: 0 0 10px rgba(77, 255, 160, .7); }

/* ---------- Pantallas bajas: el DSKY se compacta para dejar sitio al pósit de instrucciones ---------- */
@media (max-height: 860px) {
  .dsky-cuerpo { gap: 8px; padding: 12px; }
  .luz, .luz-comp { min-height: 24px; }
  .dsky-luces .prog .seg { font-size: 17px; }
  .registro { padding: 6px 14px; }
  .reg-val { font-size: 36px; }
  .dsky-msg { min-height: 3.2em; padding-top: 7px; padding-bottom: 7px; }
  .tecla { padding: 7px 0; font-size: 17px; }
  #huecos li { padding: 6px 10px; }
}

/* ---------- Pantallas medianas y estrechas ---------- */
@media (max-width: 1400px) {
  main { grid-template-columns: 1fr 352px; }
  .bloque + .bloque { margin-left: 13px; padding-left: 13px; }
  .lecturas { min-width: 168px; }
  .estado-mision .chip:last-child { display: none; }
}
@media (max-width: 1100px) {
  html, body { overflow: auto; }
  #app { height: auto; }
  main { grid-template-columns: 1fr; }
  #visor-panel { height: 88vh; }
  .marca-txt span, .estado-mision, .o2-sv { display: none; }
  .o2 { width: 150px; }
}

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