/* Shared by the pre-React HTML shell and the actual authentication loader. */
.hub-splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #2b211b;
  color: #fff7ef;
  font-family: "Instrument Sans", system-ui, sans-serif;
}
.hub-splash-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100vw, 56.29vh);
  width: min(100vw, 56.29dvh);
  aspect-ratio: 720 / 1279;
  background: #2b211b;
}
.hub-splash-fallback {
  position: absolute;
  inset: 10% 0 auto;
  text-align: center;
  font-weight: 700;
  font-size: clamp(1.5rem, 6vw, 3rem);
}
.hub-splash-art {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, transparent 77%, #2b211b 88%), url("/brand/hub-splash.webp");
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  /* Hide the painted-in spinner; the real status animation is separate. */
  clip-path: inset(0 0 12% 0);
}
.hub-splash-status {
  position: absolute;
  inset: auto 0 3% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  text-align: center;
}
.hub-splash-spinner {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 3px solid rgba(255, 247, 239, .30);
  border-top-color: #ff9472;
  animation: hub-splash-spin .85s linear infinite;
}
.hub-splash-label {
  font-size: .875rem;
  font-weight: 500;
  color: #fff7ef;
}
@keyframes hub-splash-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .hub-splash-spinner { animation: none; }
}
