#app-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  background: #fff;
  color: #334155;
  font: 500 15px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
  transition: opacity 180ms ease;
  animation: app-loader-failsafe 0s linear 6s forwards;
}
#app-loader.app-loader--ready {
  opacity: 0;
  pointer-events: none;
  animation: none;
}
.app-loader__spinner {
  width: 42px;
  height: 42px;
  box-sizing: border-box;
  border: 4px solid #fbcfe8;
  border-top-color: #ec4899;
  border-radius: 50%;
  animation: app-loader-spin 700ms linear infinite;
}
@keyframes app-loader-spin {
  to { transform: rotate(360deg); }
}
@keyframes app-loader-failsafe {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .app-loader__spinner { animation-duration: 1400ms; }
}
