/* Shared by the initial HTML, the router fallback and session restoration. */
.app-splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  box-sizing: border-box;
  margin: 0;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgb(49 169 200 / 42%), transparent 36%),
    radial-gradient(circle at 84% 82%, rgb(207 30 104 / 32%), transparent 42%),
    linear-gradient(135deg, #21003b 0%, #49176b 52%, #7b45dc 100%);
  color: #fff;
}

.app-splash__logo {
  display: block;
  width: clamp(230px, 30vw, 340px);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 28px rgb(7 0 17 / 32%));
  visibility: hidden;
  animation: app-splash-breathe 1800ms ease-in-out infinite alternate;
}

.app-splash__logo--loaded {
  visibility: visible;
}

@keyframes app-splash-breathe {
  from {
    opacity: 0.85;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-splash__logo {
    animation: none;
  }
}
