#site-splash {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem;
  box-sizing: border-box;
  background: #0B1018;
  color: #E7EDF5;
  font-family: system-ui, sans-serif;
  opacity: 1;
  transition: opacity 450ms ease;
}
#site-splash[hidden] { display: none; }
#site-splash.splash-leaving { opacity: 0; pointer-events: none; }
.splash-name { font: 500 clamp(1.4rem, 6vw, 3rem)/1.2 ui-monospace, monospace; white-space: nowrap; }
.splash-name span { visibility: hidden; }
.splash-name span[data-visible="true"] { visibility: visible; }
#splash-status { margin: 0; text-align: center; }
#splash-retry {
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  border: 1px solid #8EE3CF;
  border-radius: 0.4rem;
  background: #0B1018;
  color: #E7EDF5;
  font: inherit;
  cursor: pointer;
}
#site-splash :focus-visible { outline: 2px solid #8EE3CF; outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  #site-splash { transition: none; }
}
