/* Atalaya usa el sistema de RE NET (el de renet-app, estilo "Starlink"): oscuro primero, casi negro,
   vidrio esmerilado, bordes finos, números grandes y livianos, color solo para el estado y el azul
   para las acciones. Outfit para todo, JetBrains Mono para horas y números, Syncopate solo para la marca.
   Celular: barra arriba + pestañas abajo. Desde 900 px: barra lateral fina. Las cámaras mandan:
   el video ocupa todo lo que puede y lo demás se queda quieto alrededor. */
@font-face { font-family: 'Outfit'; font-weight: 300 800; font-display: swap; src: url('/static/outfit.woff2') format('woff2'); }
@font-face { font-family: 'Syncopate'; font-weight: 700; font-display: swap; src: url('/static/syncopate.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400 700; font-display: swap; src: url('/static/jetbrains-mono.woff2') format('woff2'); }

:root {
  --bg: #05070a;
  --fondo-brillo: rgb(47 110 165 / .28);
  --panel: #0e1217;
  --surface: rgb(255 255 255 / .05);
  --surface-2: rgb(255 255 255 / .08);
  --text: #f4f6f8;
  --muted: #a0a9b6;
  --border: rgb(255 255 255 / .12);
  --primary: #2f6ea5;
  --on-primary: #ffffff;
  --primary-texto: #7ab8ee;
  --primary-soft: rgb(122 184 238 / .15);
  --ok: #3ddc97;
  --ok-soft: rgb(61 220 151 / .13);
  --warn: #fbbf24;
  --warn-soft: rgb(251 191 36 / .13);
  --danger: #ff7a7a;
  --danger-soft: rgb(255 122 122 / .13);
  --barra: rgb(10 13 18 / .78);
  --vidrio: saturate(150%) blur(20px);
  --sombra: none;
  --estrella: rgb(255 255 255 / .75);
  --pantalla: #000;              /* fondo del video: negro en los dos temas */
  --sobre-video: #fff;           /* texto encima del video */
  --velo-video: rgb(0 0 0 / .55);
  --font: 'Outfit', system-ui, sans-serif;
  --font-marca: 'Syncopate', 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #e9edf3;
    --fondo-brillo: rgb(47 110 165 / .16);
    --panel: #ffffff;
    --surface: rgb(255 255 255 / .72);
    --surface-2: rgb(15 23 42 / .055);
    --text: #0b1220;
    --muted: #4a566a;
    --border: rgb(15 23 42 / .13);
    --primary-texto: #1d5b94;
    --primary-soft: rgb(47 110 165 / .11);
    --ok: #0b7a4b;
    --ok-soft: rgb(11 122 75 / .11);
    --warn: #8a5200;
    --warn-soft: rgb(194 120 0 / .12);
    --danger: #c42b2b;
    --danger-soft: rgb(196 43 43 / .1);
    --barra: rgb(255 255 255 / .82);
    --vidrio: saturate(160%) blur(20px);
    --sombra: 0 1px 2px rgb(15 23 42 / .05), 0 8px 24px rgb(15 23 42 / .05);
    --estrella: transparent;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #e9edf3; --fondo-brillo: rgb(47 110 165 / .16); --panel: #ffffff; --surface: rgb(255 255 255 / .72);
  --surface-2: rgb(15 23 42 / .055); --text: #0b1220; --muted: #4a566a; --border: rgb(15 23 42 / .13);
  --primary-texto: #1d5b94; --primary-soft: rgb(47 110 165 / .11); --ok: #0b7a4b; --ok-soft: rgb(11 122 75 / .11);
  --warn: #8a5200; --warn-soft: rgb(194 120 0 / .12); --danger: #c42b2b; --danger-soft: rgb(196 43 43 / .1);
  --barra: rgb(255 255 255 / .82); --vidrio: saturate(160%) blur(20px);
  --sombra: 0 1px 2px rgb(15 23 42 / .05), 0 8px 24px rgb(15 23 42 / .05); --estrella: transparent;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { background: var(--bg); }
body {
  background: radial-gradient(900px 520px at 50% -8%, var(--fondo-brillo), transparent 70%) no-repeat, var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font: 15px/22px var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  min-height: 100vh;
}
[hidden] { display: none !important; }
h1, h2, p { margin: 0; }
button, select, input { font: inherit; color: inherit; }
a { color: var(--primary-texto); }
:focus-visible { outline: 2px solid var(--primary-texto); outline-offset: 2px; }
.icono { width: 24px; height: 24px; flex: none; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.suave { color: var(--muted); }
.etiqueta { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Marco: barra superior + pestañas (celular) / lateral (escritorio) ---------- */
.superior {
  position: sticky; top: 0; z-index: 4; display: flex; align-items: center; gap: 12px; min-height: 60px;
  padding: calc(6px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 6px max(16px, env(safe-area-inset-left, 0px));
  background: var(--barra); border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: var(--vidrio); backdrop-filter: var(--vidrio);
}
.superior h1 { flex: 1; min-width: 0; font-size: 20px; line-height: 26px; font-weight: 300; letter-spacing: .02em; }
.logo { display: inline-block; flex: none; line-height: 0; }
.logo img { width: 100%; height: 100%; border-radius: 22%; display: block; }
.logo.chico { width: 32px; height: 32px; }
.logo-claro { display: none !important; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .logo-claro { display: block !important; }
  :root:not([data-theme="dark"]) .logo-oscuro { display: none !important; }
}
:root[data-theme="light"] .logo-claro { display: block !important; }
:root[data-theme="light"] .logo-oscuro { display: none !important; }
.marca { font-family: var(--font-marca); font-weight: 700; font-size: 13px; letter-spacing: .14em; }

.inferior {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: flex;
  padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  background: var(--barra); border-top: 1px solid var(--border);
  -webkit-backdrop-filter: var(--vidrio); backdrop-filter: var(--vidrio);
}
.destino {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; position: relative;
  color: var(--muted); text-decoration: none; font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: .04em;
  transition: color .18s, background .18s;
}
.inferior .destino { flex: 1; min-height: 64px; }
.destino[aria-current="page"] { color: var(--text); }
.destino[aria-current="page"] .icono { color: var(--primary-texto); }
.inferior .destino[aria-current="page"]::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 28px; height: 2px; margin-left: -14px; border-radius: 0 0 2px 2px;
  background: var(--primary-texto); box-shadow: 0 4px 14px var(--primary-texto);
}
.lateral { display: none; }
.boton-icono {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 12px;
  border: 0; background: transparent; color: var(--muted); border-radius: 999px; cursor: pointer; text-decoration: none;
  transition: background .18s, color .18s, transform .12s;
}
.boton-icono:hover { background: var(--surface-2); color: var(--text); }
.boton-icono:active { transform: scale(.94); }

.contenido {
  display: grid; gap: 20px; align-content: start; max-width: 1600px; margin: 0 auto;
  padding-block: 16px calc(64px + env(safe-area-inset-bottom, 0px) + 24px);
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}

@media (min-width: 900px) {
  .lateral {
    display: flex; flex-direction: column; gap: 28px; position: fixed; inset: 0 auto 0 0; width: 208px; z-index: 5;
    background: var(--barra); border-right: 1px solid var(--border); padding: 28px 16px;
    -webkit-backdrop-filter: var(--vidrio); backdrop-filter: var(--vidrio);
  }
  .lateral-marca { display: flex; align-items: center; gap: 12px; padding: 0 8px; }
  .destinos { display: grid; gap: 4px; }
  .lateral .destino {
    flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 48px; padding: 0 14px; border-radius: 999px;
    font-size: 15px; font-weight: 400; letter-spacing: .01em;
  }
  .lateral .destino:hover { background: var(--surface-2); color: var(--text); }
  .destinos .destino[aria-current="page"] { background: var(--primary-soft); color: var(--primary-texto); }
  .lateral-pie { margin-top: auto; display: grid; gap: 4px; }
  .lateral-usuario { padding: 0 14px 8px; font-size: 13px; line-height: 18px; color: var(--muted); overflow-wrap: anywhere; }
  .inferior, .superior .logo, .superior .salir { display: none; }
  .marco { margin-left: 208px; }
  .superior { position: static; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none;
    max-width: 1600px; margin: 0 auto; padding: 28px 32px 0; }
  .superior h1 { font-size: 34px; line-height: 40px; letter-spacing: -.01em; }
  .contenido { padding: 24px 32px 40px; }
}

/* ---------- Controles ---------- */
.segmentado { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.segmentado button {
  min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted);
  font-size: 13px; font-weight: 500; letter-spacing: .02em; cursor: pointer; transition: background .18s, color .18s;
}
.segmentado button[aria-pressed="true"] { background: var(--primary-soft); color: var(--primary-texto); }
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 20px;
  border-radius: 999px; border: 1px solid transparent; background: var(--primary); color: var(--on-primary);
  font-weight: 500; letter-spacing: .02em; cursor: pointer; text-decoration: none; transition: filter .18s, background .18s, transform .12s;
}
.boton:hover { filter: brightness(1.12); }
.boton:active { transform: scale(.97); }
.boton.secundario { background: var(--surface); color: var(--text); border-color: var(--border); -webkit-backdrop-filter: var(--vidrio); backdrop-filter: var(--vidrio); }
.boton.secundario:hover { background: var(--surface-2); filter: none; }
.boton .icono { width: 20px; height: 20px; }
select, input[type="date"], input[type="time"] {
  min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  transition: border-color .18s; font-variant-numeric: tabular-nums;
}
select:hover, input:hover { border-color: var(--muted); }

/* ---------- Pastillas de estado (siempre con texto) ---------- */
.pastilla {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .04em;
  border-radius: 999px; padding: 4px 10px 4px 8px; white-space: nowrap;
}
.punto { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }

/* ---------- En vivo ---------- */
.sitio { display: grid; gap: 12px; }
.sitio-cabecera { display: flex; align-items: baseline; gap: 10px; }
.mosaico { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); }
.camara {
  position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  background: var(--pantalla); aspect-ratio: 16 / 9; max-width: 100%; cursor: pointer; text-align: left; box-shadow: var(--sombra);
  transition: border-color .18s, transform .12s;
}
.camara:hover { border-color: var(--primary-texto); }
.camara:active { transform: scale(.99); }
camara-video { display: block; width: 100%; height: 100%; }
camara-video video { width: 100%; height: 100%; display: block; object-fit: contain; background: var(--pantalla); }
.camara-pie {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
  padding: 28px 14px 12px; pointer-events: none; color: var(--sobre-video);
  background: linear-gradient(transparent, var(--velo-video));
}
.camara-nombre { font-size: 15px; line-height: 20px; font-weight: 400; letter-spacing: .01em; text-shadow: 0 1px 2px var(--velo-video); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.camara-estado { position: absolute; top: 10px; left: 10px; pointer-events: none; }
.camara-estado .pastilla { background: var(--velo-video); color: var(--sobre-video); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.camara-estado .vivo .punto { background: #3ddc97; box-shadow: 0 0 8px #3ddc97; }
.camara-estado .conectando .punto { background: #fbbf24; animation: late 1.2s ease-in-out infinite; }
.camara-estado .caida .punto { background: #ff7a7a; }
@keyframes late { 50% { opacity: .3; } }
.camara-aviso {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 4px; text-align: center; padding: 16px;
  color: var(--sobre-video); pointer-events: none;
}
.camara-aviso strong { font-weight: 400; font-size: 16px; }
.camara-aviso span { font-size: 13px; opacity: .7; }

/* Visor: una cámara a pantalla completa */
.visor {
  position: fixed; inset: 0; z-index: 20; display: grid; grid-template-rows: auto 1fr; background: var(--pantalla); color: var(--sobre-video);
}
.visor-barra {
  display: flex; align-items: center; gap: 8px; min-height: 60px;
  padding: calc(8px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 8px max(16px, env(safe-area-inset-left, 0px));
}
.visor-barra h2 { flex: 1; min-width: 0; font-size: 18px; line-height: 24px; font-weight: 300; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.visor-barra .boton-icono { color: var(--sobre-video); }
.visor-barra .boton-icono:hover { background: rgb(255 255 255 / .12); }
.visor .marco-video { position: relative; min-height: 0; overflow: hidden; padding-bottom: env(safe-area-inset-bottom, 0px); }
.visor .lienzo { position: absolute; inset: 0; }
.visor .lienzo camara-video { position: absolute; inset: 0; }
.visor .lienzo camara-video.precarga { opacity: 0; pointer-events: none; }
.visor .marco-video.ampliado { cursor: grab; }
.visor .marco-video.ampliado:active { cursor: grabbing; }
.nivel-zoom { font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; background: rgb(255 255 255 / .12); }
.solo-ancho { display: none; }
@media (min-width: 700px) { .solo-ancho { display: inline; } }

/* Mando PTZ: cruz de vidrio abajo a la derecha, encima del video. */
.ptz {
  position: fixed; z-index: 21; display: flex; align-items: center; gap: 12px;
  right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}
.ptz button {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgb(255 255 255 / .22);
  border-radius: 50%; background: rgb(10 13 18 / .55); color: #fff; cursor: pointer; touch-action: none;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .15s, transform .1s;
}
.ptz button:active { background: rgb(47 110 165 / .85); transform: scale(.94); }
.ptz-cruz { display: grid; grid-template-columns: repeat(3, 48px); grid-template-rows: repeat(3, 48px); gap: 2px; }
.ptz-cruz .arriba { grid-area: 1 / 2; }
.ptz-cruz .izquierda { grid-area: 2 / 1; }
.ptz-cruz .derecha { grid-area: 2 / 3; }
.ptz-cruz .abajo { grid-area: 3 / 2; }
.ptz-zoom { display: grid; gap: 8px; }
.visor .camara-estado { top: 12px; left: max(12px, env(safe-area-inset-left, 0px)); }

/* ---------- Grabaciones ---------- */
.tarjeta {
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--sombra); padding: 20px; min-width: 0;
  -webkit-backdrop-filter: var(--vidrio); backdrop-filter: var(--vidrio);
}
.filtros { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filtros select { flex: 1 1 240px; min-width: 0; }
.dia { display: inline-flex; align-items: center; gap: 4px; }
.dia input { width: 170px; }
.linea-cabecera { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-bottom: 14px; }
.resumen-dia { font-size: 14px; color: var(--muted); }
.linea {
  position: relative; height: 56px; border-radius: 14px; background: var(--surface-2); cursor: pointer; overflow: hidden; touch-action: pan-y;
}
.linea .hora-guia { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--border); }
.tramo { position: absolute; top: 12px; bottom: 12px; background: var(--ok); opacity: .7; border-radius: 3px; }
.linea:hover .tramo { opacity: .85; }
.cabezal { position: absolute; top: 4px; bottom: 4px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--primary-texto); box-shadow: 0 0 12px var(--primary-texto); }
.horas { position: relative; height: 20px; margin-top: 6px; font-size: 11px; color: var(--muted); }
.horas span { position: absolute; transform: translateX(-50%); }
.horas span:first-child { transform: none; }
.horas span:last-child { transform: translateX(-100%); }
.reproduccion { display: grid; gap: 12px; }
.pantalla-grabacion { position: relative; border-radius: 18px; overflow: hidden; background: var(--pantalla); aspect-ratio: 16 / 9; max-width: 100%; max-height: 72vh; border: 1px solid var(--border); }
/* Celular: la hora arriba y los cuatro saltos en una fila pareja; escritorio: todo en una línea. */
.mandos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; gap: 8px; }
.mandos .boton { padding: 8px 6px; font-size: 14px; white-space: nowrap; }
.mandos .hora-actual { grid-column: 1 / -1; font-size: 28px; line-height: 32px; font-weight: 300; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
@media (min-width: 700px) {
  .mandos { display: flex; }
  .mandos .hora-actual { margin-right: auto; }
  .mandos .boton { padding: 8px 18px; }
}
.mandos .hora-actual small { font-size: 14px; color: var(--muted); margin-left: 8px; letter-spacing: .02em; }
.aviso { display: flex; gap: 10px; align-items: center; border-radius: 16px; padding: 12px 16px; font-size: 14px; line-height: 20px; background: var(--primary-soft); }
.aviso.mal { background: var(--danger-soft); color: var(--danger); }

/* ---------- Ajustes ---------- */
.intro { max-width: 70ch; }
.chica { font-size: 13px; line-height: 18px; }
.pastilla.bien { background: var(--ok-soft); color: var(--ok); }
.pastilla.mal { background: var(--danger-soft); color: var(--danger); }
.pastilla.neutra { background: var(--surface-2); color: var(--muted); }
.grabador { display: grid; gap: 14px; }
.grabador-cabecera { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 16px; }
.grabador-titulo { display: grid; gap: 2px; min-width: 0; }
.grabador-titulo h2 { font-size: 20px; line-height: 26px; font-weight: 300; }
.credenciales { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); align-items: end; }
.credenciales label { display: grid; gap: 6px; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.credenciales input, .nombre-camara {
  min-height: 44px; padding: 8px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface);
  font: inherit; color: var(--text); text-transform: none; letter-spacing: normal; min-width: 0; width: 100%;
}
.credenciales input::placeholder { color: var(--muted); opacity: .8; }
.credenciales input:focus, .nombre-camara:focus { border-color: var(--primary-texto); outline: none; }
.lista-camaras { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--border); }
.fila-camara { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.canal { color: var(--muted); font-size: 13px; text-align: right; }
.interruptor { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); cursor: pointer; min-height: 44px; }
.interruptor input { width: 20px; height: 20px; accent-color: var(--primary); }
.acciones-fila { display: flex; justify-content: flex-end; }
p.aviso { margin: 0; }

/* ---------- Entrar ---------- */
.cielo {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1.6px 1.6px at 12% 18%, var(--estrella), transparent),
    radial-gradient(1.6px 1.6px at 78% 12%, var(--estrella), transparent),
    radial-gradient(2.2px 2.2px at 34% 42%, var(--estrella), transparent),
    radial-gradient(1.6px 1.6px at 90% 38%, var(--estrella), transparent),
    radial-gradient(1.6px 1.6px at 8% 66%, var(--estrella), transparent),
    radial-gradient(2.2px 2.2px at 62% 74%, var(--estrella), transparent),
    radial-gradient(1.6px 1.6px at 46% 90%, var(--estrella), transparent),
    radial-gradient(1.6px 1.6px at 22% 84%, var(--estrella), transparent),
    radial-gradient(70% 45% at 50% 108%, rgb(47 110 165 / .45), transparent 70%),
    radial-gradient(60% 40% at 50% -5%, var(--fondo-brillo), transparent 70%);
}
.ingreso {
  position: relative; z-index: 1; max-width: 420px; min-height: 100vh; margin: 0 auto; display: grid; align-content: center; gap: 18px; text-align: center;
  padding-block: 48px 32px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.logo.grande { width: 96px; height: 96px; margin: 0 auto 6px; box-shadow: 0 0 56px rgb(47 110 165 / .45); border-radius: 22%; }
.ingreso h1 { font-family: var(--font-marca); font-size: 26px; line-height: 34px; font-weight: 700; letter-spacing: .14em; color: var(--primary-texto); }
.ingreso .bajada { font-size: 16px; line-height: 24px; font-weight: 300; color: var(--muted); max-width: 320px; margin: 0 auto 10px; text-wrap: balance; }
/* Google: blanco con la G de colores en los dos temas (su guía de marca). */
.boton-google {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 56px; padding: 12px 20px;
  border-radius: 999px; border: 1px solid #dadce0; background: #fff; color: #1f1f1f; font-size: 16px; font-weight: 500;
  text-decoration: none; box-shadow: 0 1px 3px rgba(0, 0, 0, .18); transition: box-shadow .18s, transform .12s;
}
.boton-google:hover { box-shadow: 0 2px 8px rgba(0, 0, 0, .28); }
.boton-google:active { transform: scale(.98); }
.boton-google svg { width: 22px; height: 22px; }
.ingreso .pie { font-size: 13px; color: var(--muted); }

/* Solo se mueve: si la animación no corre, todo queda visible igual. */
@keyframes entra { from { transform: translateY(8px); } }
.contenido > * { animation: entra .45s cubic-bezier(.2, .7, .2, 1) backwards; }
.contenido > :nth-child(2) { animation-delay: .05s; }
.contenido > :nth-child(n+3) { animation-delay: .1s; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
