/* Pantalla de carga de Mauri (logo + puntos). La crea assets/js/sesion-rapida.js antes de pintar la página. */
.mauri-splash {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(139, 123, 255, 0.22), transparent 70%),
    radial-gradient(50% 40% at 85% 0%, rgba(255, 138, 101, 0.14), transparent 70%),
    #0d0e12;
  color: #a3a8b5;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mauri-splash.oculto {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mauri-splash img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  animation: mauri-splash-latido 1.8s ease-in-out infinite;
}

.mauri-splash-puntos {
  display: flex;
  gap: 8px;
}

.mauri-splash-puntos span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8b7bff;
  animation: mauri-splash-punto 1.2s ease-in-out infinite;
}

.mauri-splash-puntos span:nth-child(2) { animation-delay: 0.15s; background: #a891ff; }
.mauri-splash-puntos span:nth-child(3) { animation-delay: 0.3s; background: #ff8a65; }

.mauri-splash-texto {
  margin: 0;
  font-size: 0.9rem;
  min-height: 1.2em;
}

@keyframes mauri-splash-punto {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
  40% { transform: translateY(-7px); opacity: 1; }
}

@keyframes mauri-splash-latido {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .mauri-splash img,
  .mauri-splash-puntos span { animation: none; opacity: 1; }
}
