#app-splash {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  background: #f6f6f8;
  opacity: 1;
  transition: opacity 0.22s ease;
}

html.app-splash-active #app-splash {
  display: flex;
}

html.app-splash-active #root {
  visibility: hidden;
}

#app-splash.app-splash--hiding {
  opacity: 0;
  pointer-events: none;
}

.app-splash__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
}

.app-splash__logo {
  display: block;
  width: min(200px, 62vw);
  height: auto;
  animation: app-splash-logo 1.8s ease-in-out infinite;
}

.app-splash__spinner {
  width: 2rem;
  height: 2rem;
  border: 3px solid rgba(198, 5, 60, 0.14);
  border-top-color: #c6053c;
  border-radius: 50%;
  animation: app-splash-spin 0.75s linear infinite;
}

.app-splash__label {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(17, 24, 39, 0.55);
}

@keyframes app-splash-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes app-splash-logo {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.92;
    transform: translateY(2px);
  }
}

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