/* Shown while the portal loads (before the app mounts and replaces it). A file, not inline style: the portal's CSP blocks inline style. */
.boot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 100vh;
  background: #f5f5f5;
  color: #757575;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 14px;
}

.boot__spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #d0d0d0;
  border-top-color: #757575;
  border-radius: 50%;
  animation: boot-spin 0.8s linear infinite;
}

@keyframes boot-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .boot__spinner {
    animation: none;
  }
}

@media (prefers-color-scheme: dark) {
  .boot {
    background: #141414;
    color: #a0a0a0;
  }

  .boot__spinner {
    border-color: #3a3a3a;
    border-top-color: #a0a0a0;
  }
}
