/**
 * Critical CSS: above-the-fold splash shown from first paint until Angular replaces <app-root> content.
 * Hardcoded colors mirror app-spinner tokens ($color-background-main-contrast / $color-background-subtle-weak)
 * because theme CSS variables are not available before bootstrap.
 * @see https://web.dev/articles/extract-critical-css
 */
.app-splash {
  align-items: center;
  background-color: #06232c;
  color: #f2f3f3;
  display: flex;
  flex-direction: column;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  gap: 8px;
  inset: 0;
  justify-content: center;
  position: fixed;
  z-index: 100000;
}

.app-splash .app-splash-label {
  clip: rect(0, 0, 0, 0);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.app-splash-logo {
  aspect-ratio: 168 / 48;
  width: clamp(180px, 40vw, 320px);
}
