/* Ladeanzeige beim Kaltstart (#161): eigene Datei, weil die CSP Inline-Styles verbietet. */
#splash {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  text-align: center;
  font-family: system-ui, sans-serif;
  color: #1c2733;
  background: #fff;
}
#splash p {
  margin: 0;
}
#splash [hidden] {
  display: none;
}
.splash-spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 0.25rem solid #d5dce3;
  border-top-color: #2f6f9f;
  border-radius: 50%;
  animation: splash-spin 1s linear infinite;
}
@keyframes splash-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .splash-spinner {
    animation: none;
  }
}
@media (prefers-color-scheme: dark) {
  #splash {
    color: #e6edf3;
    background: #12181f;
  }
  #splash a {
    color: #8cc4ee;
  }
}
