/* Spaceverse Catálogo — sistema visual
   Idea: la sala de cine a oscuras (petróleo) y la marquesina encendida (ámbar).
   Una sola familia, Archivo, en dos anchos: estrecho de cartel para títulos y
   notas, normal para leer. */

@font-face {
  font-family: "Archivo";
  src: url("/static/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  /* color */
  --sala: #101c22;          /* fondo */
  --butaca: #182a32;        /* superficies */
  --telon: #24404b;         /* bordes, superficies elevadas */
  --telon-claro: #35596a;
  --pantalla: #f1eadb;      /* texto */
  --niebla: #a3b6bb;        /* texto secundario (7,6:1 sobre --sala) */
  --marquesina: #f5b83d;    /* acento: seleccionar, enviar */
  --marquesina-fuerte: #ffd071;
  --estante: #7ed0b6;       /* «ya la tienes» */
  --alerta: #f39a80;        /* errores */
  --nota-baja: #e58a6b;
  --nota-media: #f0b14a;
  --nota-buena: #bcd45c;
  --nota-alta: #5fd3a0;
  --velo: rgba(8, 15, 18, .72);

  /* tipografía: escala 14 / 16 / 20 / 28 / 44 */
  --t-xs: .875rem;
  --t-s: 1rem;
  --t-m: 1.250rem;
  --t-l: 1.750rem;
  --t-xl: 2.750rem;

  /* espacio: escala de 4 */
  --e1: 4px; --e2: 8px; --e3: 12px; --e4: 16px; --e5: 24px; --e6: 32px; --e7: 48px;

  --radio: 10px;
  --radio-chico: 6px;
  --toque: 44px;
  --ancho: 1180px;
  --pestanas: 60px;
  --abajo: env(safe-area-inset-bottom, 0px);
  --arriba: env(safe-area-inset-top, 0px);
  --rapido: 160ms;
  --suave: 260ms;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sala);
  color: var(--pantalla);
  font-family: "Archivo", "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: var(--t-s);
  line-height: 1.450;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--marquesina-fuerte); }
img { display: block; max-width: 100%; }

:focus-visible { outline: 2px solid var(--marquesina-fuerte); outline-offset: 2px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icono {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.800;
  stroke-linecap: round; stroke-linejoin: round;
}
.icono-grande { width: 44px; height: 44px; color: var(--marquesina); }
.solo-lectores {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ── Botones y campos ─────────────────────────────────────────── */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--e2);
  min-height: var(--toque); padding: 0 var(--e5);
  border: 1px solid var(--telon-claro); border-radius: var(--radio);
  background: var(--butaca); color: var(--pantalla);
  font-weight: 600;
  transition: background var(--rapido), border-color var(--rapido), transform var(--rapido);
}
.boton:hover { background: var(--telon); }
.boton:active { transform: scale(.98); }
.boton[disabled] { opacity: .5; cursor: default; }
.boton-principal {
  background: var(--marquesina); border-color: var(--marquesina); color: var(--sala);
}
.boton-principal:hover { background: var(--marquesina-fuerte); border-color: var(--marquesina-fuerte); }
.boton-ancho { width: 100%; }
.boton-icono {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--e2);
  min-width: var(--toque); min-height: var(--toque); padding: 0 var(--e3);
  border: 0; border-radius: var(--radio); background: transparent; color: var(--pantalla);
  font-weight: 500;
  transition: background var(--rapido);
}
.boton-icono:hover { background: var(--butaca); }

.campo { display: grid; gap: var(--e1); }
.campo-nombre { font-size: var(--t-xs); color: var(--niebla); }
input[type="text"], input[type="password"], input[type="number"], select {
  width: 100%; min-height: var(--toque); padding: 0 var(--e3);
  border: 1px solid var(--telon-claro); border-radius: var(--radio);
  background: var(--sala); color: var(--pantalla);
}
select { appearance: none; padding-right: var(--e6);
  background-image: linear-gradient(45deg, transparent 50%, var(--niebla) 50%),
                    linear-gradient(135deg, var(--niebla) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat; }
input:focus-visible, select:focus-visible { outline-offset: 0; border-color: var(--marquesina); }
.mensaje-error { color: var(--alerta); font-size: var(--t-xs); }

.cuenta {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  display: inline-grid; place-items: center;
  background: var(--marquesina); color: var(--sala);
  font-size: var(--t-xs); font-weight: 700; font-stretch: 75%;
}

/* ── Acceso ───────────────────────────────────────────────────── */
.acceso {
  min-height: 100dvh; display: grid; align-items: end;
  padding: calc(var(--e6) + var(--arriba)) var(--e5) calc(var(--e6) + var(--abajo));
  /* la marquesina: una hilera de bombillas arriba */
  background:
    radial-gradient(circle at 12px 12px, var(--marquesina) 0 4px, transparent 5px) 0 var(--arriba) / 28px 24px repeat-x,
    var(--sala);
}
.acceso-caja { width: 100%; max-width: 400px; margin: 0 auto; display: grid; gap: var(--e4); }
.acceso-titulo {
  font-size: clamp(var(--t-xl), 15vw, 4.500rem); line-height: .920;
  font-weight: 800; font-stretch: 62%; letter-spacing: -.010em;
}
.acceso-lema { color: var(--niebla); margin-bottom: var(--e4); }
.acceso-separador { color: var(--niebla); font-size: var(--t-xs); text-align: center; }
#form-acceso { display: grid; gap: var(--e4); }

/* ── Estructura de la app ─────────────────────────────────────── */
.app { min-height: 100dvh; padding-bottom: calc(var(--pestanas) + var(--abajo) + var(--e4)); }
.app.con-seleccion { padding-bottom: calc(var(--pestanas) + var(--abajo) + 84px); }
.pantalla { max-width: var(--ancho); margin: 0 auto; }

.cabecera {
  position: sticky; top: 0; z-index: 5;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--e2);
  padding: calc(var(--e3) + var(--arriba)) var(--e4) var(--e3);
  background: var(--sala);
  border-bottom: 1px solid var(--butaca);
}
.cabecera-fila { display: flex; align-items: center; gap: var(--e2); min-width: 0; }
.cabecera-simple { display: flex; align-items: center; justify-content: space-between; }
.titulo-pantalla { font-size: var(--t-l); font-weight: 800; font-stretch: 68%; }

.buscador {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--e2);
  min-height: var(--toque); padding: 0 var(--e3);
  border: 1px solid var(--telon-claro); border-radius: var(--radio); background: var(--butaca);
}
.buscador:focus-within { border-color: var(--marquesina); }
.buscador .icono { color: var(--niebla); }
.buscador input {
  flex: 1; min-width: 0; height: 42px; border: 0; outline: 0; background: transparent;
}
.buscador input::placeholder { color: var(--niebla); }
.boton-filtros { flex: none; border: 1px solid var(--telon-claro); background: var(--butaca); }

.chips-activos { display: flex; gap: var(--e2); overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips-activos::-webkit-scrollbar { display: none; }
.chip-activo {
  flex: none; display: inline-flex; align-items: center; gap: var(--e1);
  min-height: 32px; padding: 0 var(--e2) 0 var(--e3);
  border: 1px solid var(--telon-claro); border-radius: 16px; background: transparent;
  color: var(--pantalla); font-size: var(--t-xs); white-space: nowrap;
}
.chip-activo .icono { width: 16px; height: 16px; color: var(--niebla); }
.chip-activo.es-exclusion { border-color: var(--alerta); }

.cabecera-resumen { justify-content: space-between; }
.resumen { min-width: 0; color: var(--niebla); font-size: var(--t-xs); }
.orden { flex: none; }
.orden select {
  min-height: 36px; width: auto; border: 0; background-color: transparent;
  font-size: var(--t-xs); font-weight: 600; padding-left: var(--e2);
}

.franja {
  display: flex; align-items: center; gap: var(--e2);
  margin: var(--e3) var(--e4) 0; padding: var(--e3);
  border-radius: var(--radio); font-size: var(--t-xs);
}
.franja-aviso { background: var(--butaca); border: 1px solid var(--alerta); color: var(--pantalla); }
.franja-aviso .icono { color: var(--alerta); }

/* ── Rejilla de carátulas ─────────────────────────────────────── */
.rejilla {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--e4) var(--e2); padding: var(--e4) var(--e4) 0;
}
@media (min-width: 560px) { .rejilla { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: var(--e5) var(--e3); } }
@media (min-width: 900px) { .rejilla { grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); } }

.peli { position: relative; min-width: 0; }
.peli-abrir {
  display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left;
  border-radius: var(--radio-chico);
}
.peli-cartel {
  display: block; position: relative; aspect-ratio: 2 / 3; overflow: hidden;
  border-radius: var(--radio-chico); background: var(--butaca);
  outline: 0 solid var(--marquesina); transition: outline-width var(--rapido);
}
.peli-cartel img { width: 100%; height: 100%; object-fit: cover; }
.peli-sin-cartel {
  position: absolute; inset: 0; display: grid; place-items: center; padding: var(--e2);
  color: var(--niebla); font-size: var(--t-xs); font-stretch: 75%; font-weight: 600;
  text-align: center; overflow-wrap: anywhere;
}
.peli-titulo {
  margin-top: var(--e2); font-size: var(--t-xs); font-weight: 600; line-height: 1.250;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  overflow-wrap: anywhere;
}
.peli-anyo { display: block; color: var(--niebla); font-size: var(--t-xs); }

/* la nota: el cuadrado de color, como en las fichas de siempre */
.nota {
  display: inline-grid; place-items: center; min-width: 34px; height: 28px; padding: 0 4px;
  border-radius: 4px; color: var(--sala);
  font-weight: 800; font-stretch: 68%; font-size: var(--t-s); font-variant-numeric: tabular-nums;
}
.nota-baja { background: var(--nota-baja); }
.nota-media { background: var(--nota-media); }
.nota-buena { background: var(--nota-buena); }
.nota-alta { background: var(--nota-alta); }
.nota-vacia { background: var(--telon); color: var(--niebla); }
.peli-cartel .nota { position: absolute; left: 6px; bottom: 6px; box-shadow: 0 0 0 2px var(--velo); }

.peli-elegir {
  position: absolute; top: 0; right: 0; width: var(--toque); height: var(--toque);
  display: grid; place-items: center; border: 0; background: none; padding: 0;
}
.peli-elegir span {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  background: var(--velo); color: var(--pantalla); border: 1.500px solid var(--pantalla);
  transition: background var(--rapido), color var(--rapido), border-color var(--rapido);
}
.peli-elegir .icono { width: 18px; height: 18px; stroke-width: 2.400; }
.peli-elegir .i-hecho { display: none; }
.peli.elegida .peli-cartel { outline-width: 3px; }
.peli.elegida .peli-elegir span { background: var(--marquesina); border-color: var(--marquesina); color: var(--sala); }
.peli.elegida .i-mas { display: none; }
.peli.elegida .i-hecho { display: block; }

.peli-cinta {
  position: absolute; left: 0; right: 0; top: 0;
  display: flex; align-items: center; gap: var(--e1); padding: 5px 6px;
  font-size: var(--t-xs); font-weight: 700; font-stretch: 75%; line-height: 1.100;
}
.peli-cinta .icono { width: 16px; height: 16px; stroke-width: 2.200; }
.peli.tengo .peli-cinta { background: var(--estante); color: var(--sala); }
.peli.tengo .peli-cartel img { opacity: .42; }
.peli.pedida .peli-cinta { background: var(--sala); color: var(--marquesina-fuerte); border-bottom: 2px solid var(--marquesina); }

.esqueleto .peli-cartel { animation: latir 1.400s ease-in-out infinite alternate; }
.esqueleto .peli-titulo { height: 14px; width: 80%; border-radius: 4px; background: var(--butaca); }
@keyframes latir { from { background: var(--butaca); } to { background: var(--telon); } }

.estado-lista { padding: var(--e7) var(--e5); display: grid; gap: var(--e3); justify-items: start; max-width: 520px; }
.estado-lista h2 { font-size: var(--t-l); font-weight: 800; font-stretch: 68%; line-height: 1.100; }
.estado-lista p { color: var(--niebla); }
.centinela { height: 1px; }

.fuera { margin-top: var(--e6); border-top: 1px solid var(--butaca); padding-top: var(--e5); }
.fuera-titulo { padding: 0 var(--e4); font-size: var(--t-m); font-weight: 800; font-stretch: 68%; }
.fuera-nota { padding: var(--e1) var(--e4) 0; color: var(--niebla); font-size: var(--t-xs); }

/* ── Barra de selección y pestañas ────────────────────────────── */
.barra-seleccion {
  position: fixed; left: 0; right: 0; z-index: 8;
  bottom: calc(var(--pestanas) + var(--abajo));
  display: flex; gap: var(--e2); align-items: center;
  padding: var(--e3) var(--e4);
  background: var(--butaca); border-top: 1px solid var(--telon);
  animation: subir var(--suave) ease-out;
}
.barra-seleccion .boton-principal { flex: 1; min-height: 48px; font-size: var(--t-s); }
@keyframes subir { from { transform: translateY(100%); } to { transform: none; } }

.pestanas {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9;
  display: grid; grid-template-columns: 1fr 1fr;
  height: calc(var(--pestanas) + var(--abajo)); padding-bottom: var(--abajo);
  background: var(--sala); border-top: 1px solid var(--telon);
}
.pestana {
  position: relative; display: flex; align-items: center; justify-content: center; gap: var(--e2);
  border: 0; background: none; color: var(--niebla); font-weight: 600; font-size: var(--t-xs);
}
.pestana[aria-current="page"] { color: var(--pantalla); }
.pestana[aria-current="page"]::before {
  content: ""; position: absolute; top: -1px; left: 25%; right: 25%; height: 3px;
  background: var(--marquesina); border-radius: 0 0 3px 3px;
}

/* ── Hojas (diálogos) ─────────────────────────────────────────── */
.hoja {
  width: 100%; max-width: 640px; height: 100dvh; max-height: 100dvh;
  margin: 0 auto; padding: 0; border: 0; background: var(--sala); color: var(--pantalla);
}
.hoja::backdrop { background: var(--velo); }
.hoja[open] { animation: entrar var(--suave) ease-out; }
@keyframes entrar { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.hoja-cuerpo { height: 100%; display: flex; flex-direction: column; }
.hoja-cabecera {
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(var(--e3) + var(--arriba)) var(--e3) var(--e3) var(--e4);
  border-bottom: 1px solid var(--butaca);
}
.hoja-cabecera h2 { font-size: var(--t-l); font-weight: 800; font-stretch: 68%; }
.hoja-contenido { flex: 1; overflow-y: auto; padding: var(--e4); display: grid; gap: var(--e5); align-content: start; }
.hoja-pie {
  display: flex; gap: var(--e2); padding: var(--e3) var(--e4) calc(var(--e3) + var(--abajo));
  background: var(--butaca); border-top: 1px solid var(--telon);
}
.hoja-pie .boton { flex: 1; }
.hoja-pie:empty { display: none; }
.hoja-corta { height: auto; margin-bottom: 0; border-radius: var(--radio) var(--radio) 0 0; }
.hoja-corta .hoja-contenido { gap: var(--e3); padding: var(--e5) var(--e4); }
.hoja-corta h2 { font-size: var(--t-l); font-weight: 800; font-stretch: 68%; line-height: 1.100; }
.hoja-corta p { color: var(--niebla); }
@media (min-width: 700px) {
  .hoja { height: min(880px, 92dvh); margin: auto; border-radius: var(--radio); }
  .hoja-corta { height: auto; border-radius: var(--radio); }
}

.grupo { border: 0; margin: 0; padding: 0; display: grid; gap: var(--e3); min-width: 0; }
.grupo legend { padding: 0; font-size: var(--t-m); font-weight: 700; font-stretch: 75%; margin-bottom: var(--e2); }
.ayuda { color: var(--niebla); font-size: var(--t-xs); margin-top: calc(var(--e2) * -1); }
.par { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e3); }
.chips { display: flex; flex-wrap: wrap; gap: var(--e2); }
.chip {
  min-height: 40px; padding: 0 var(--e3);
  border: 1px solid var(--telon-claro); border-radius: 20px; background: transparent;
  color: var(--pantalla); font-size: var(--t-xs); font-weight: 500;
  transition: background var(--rapido), border-color var(--rapido), color var(--rapido);
}
.chip[data-estado="si"] { background: var(--marquesina); border-color: var(--marquesina); color: var(--sala); font-weight: 700; }
.chip[data-estado="no"] { border-color: var(--alerta); color: var(--alerta); text-decoration: line-through; }
.chip[data-estado="no"]::before { content: "sin "; text-decoration: none; display: inline-block; }

.segmento { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--telon-claro); border-radius: var(--radio); overflow: hidden; }
.segmento label { position: relative; }
.segmento input { position: absolute; opacity: 0; inset: 0; }
.segmento span { display: grid; place-items: center; min-height: var(--toque); font-weight: 600; color: var(--niebla); }
.segmento input:checked + span { background: var(--telon); color: var(--pantalla); }
.segmento input:focus-visible + span { outline: 2px solid var(--marquesina-fuerte); outline-offset: -2px; }

.deslizador { display: flex; align-items: center; gap: var(--e4); }
.deslizador input { flex: 1; min-height: var(--toque); accent-color: var(--marquesina); }
.deslizador output { min-width: 96px; text-align: right; font-weight: 700; font-stretch: 75%; font-variant-numeric: tabular-nums; }

.interruptor { display: flex; align-items: center; gap: var(--e3); min-height: var(--toque); }
.interruptor input { position: absolute; opacity: 0; }
.interruptor-pista {
  flex: none; width: 48px; height: 28px; border-radius: 14px; background: var(--telon);
  position: relative; transition: background var(--rapido);
}
.interruptor-pista::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--pantalla); transition: transform var(--rapido);
}
.interruptor input:checked + .interruptor-pista { background: var(--estante); }
.interruptor input:checked + .interruptor-pista::after { transform: translateX(20px); }
.interruptor input:focus-visible + .interruptor-pista { outline: 2px solid var(--marquesina-fuerte); outline-offset: 2px; }

/* ── Ficha ────────────────────────────────────────────────────── */
.hoja-ficha .hoja-cuerpo { position: relative; }
.ficha-cerrar {
  position: absolute; z-index: 2; top: calc(var(--e2) + var(--arriba)); left: var(--e2);
  background: var(--velo); border-radius: 50%;
}
.ficha { flex: 1; overflow-y: auto; }
.ficha-fondo { position: relative; aspect-ratio: 16 / 9; background: var(--butaca); }
.ficha-fondo img { width: 100%; height: 100%; object-fit: cover; }
.ficha-fondo::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, var(--sala)); }
.ficha-texto { padding: 0 var(--e4) var(--e6); display: grid; gap: var(--e4); margin-top: calc(var(--e6) * -1); position: relative; }
.ficha-titulo { font-size: clamp(var(--t-l), 9vw, var(--t-xl)); line-height: .980; font-weight: 800; font-stretch: 64%; overflow-wrap: anywhere; }
.ficha-original { color: var(--niebla); }
.ficha-notas { display: flex; gap: var(--e5); }
.ficha-nota { display: flex; align-items: center; gap: var(--e2); }
.ficha-nota .nota { min-width: 48px; height: 40px; font-size: var(--t-m); }
.ficha-nota-fuente { font-weight: 700; font-size: var(--t-xs); }
.ficha-nota-votos { color: var(--niebla); font-size: var(--t-xs); }
.ficha-datos { display: flex; flex-wrap: wrap; gap: var(--e1) var(--e4); color: var(--niebla); font-size: var(--t-xs); }
.ficha-sinopsis { max-width: 62ch; }
.ficha-lista { display: grid; grid-template-columns: auto 1fr; gap: var(--e2) var(--e4); font-size: var(--t-xs); }
.ficha-lista dt { color: var(--niebla); }
.ficha-lista dd { margin: 0; }
.ficha-enlaces { display: flex; flex-wrap: wrap; gap: var(--e2); }
.ficha-enlaces a {
  display: inline-flex; align-items: center; gap: var(--e2); min-height: var(--toque); padding: 0 var(--e3);
  border: 1px solid var(--telon-claro); border-radius: var(--radio);
  color: var(--pantalla); text-decoration: none; font-size: var(--t-xs); font-weight: 600;
}
.ficha-enlaces a:hover { background: var(--butaca); }
.ficha-enlaces .icono { width: 18px; height: 18px; color: var(--niebla); }
.ficha-estado { display: flex; align-items: center; gap: var(--e2); font-weight: 600; flex: 1; min-height: var(--toque); }
.ficha-estado.es-tengo { color: var(--estante); }
.ficha-estado.es-pedida { color: var(--marquesina-fuerte); }
.ficha-cargando { padding: var(--e7) var(--e5); color: var(--niebla); }

/* ── Peticiones ───────────────────────────────────────────────── */
.lista-peticiones { padding: var(--e2) var(--e4) 0; }
.peticion {
  display: grid; grid-template-columns: 52px 1fr auto; gap: var(--e3); align-items: center;
  padding: var(--e3) 0; border-bottom: 1px solid var(--butaca);
}
.peticion-cartel { width: 52px; aspect-ratio: 2 / 3; border-radius: 4px; background: var(--butaca); overflow: hidden; }
.peticion-cartel img { width: 100%; height: 100%; object-fit: cover; }
.peticion-titulo { font-weight: 600; overflow-wrap: anywhere; line-height: 1.250; }
.peticion-estado { display: flex; align-items: center; gap: var(--e1); margin-top: var(--e1); font-size: var(--t-xs); font-weight: 700; }
.peticion-estado .icono { width: 16px; height: 16px; }
.peticion-detalle { color: var(--niebla); font-size: var(--t-xs); overflow-wrap: anywhere; }
.est-en_cola { color: var(--niebla); }
.est-procesando { color: var(--marquesina-fuerte); }
.est-seguimiento { color: var(--marquesina-fuerte); }
.est-hecha { color: var(--estante); }
.est-fallo { color: var(--alerta); }
.est-cancelada { color: var(--niebla); }
.ajustes-llave { padding: var(--e6) var(--e4) 0; }

/* ── Avisos breves ────────────────────────────────────────────── */
.avisos {
  position: fixed; z-index: 30; left: var(--e4); right: var(--e4);
  top: calc(var(--e3) + var(--arriba)); display: grid; gap: var(--e2); justify-items: center; pointer-events: none;
}
.aviso {
  max-width: 520px; padding: var(--e3) var(--e4); border-radius: var(--radio);
  background: var(--pantalla); color: var(--sala); font-size: var(--t-xs); font-weight: 600;
  animation: entrar var(--suave) ease-out;
}
.aviso.es-error { background: var(--alerta); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
}
