html { background: #f8fafc; color-scheme: light; }
html.dark { background: #0b1220; color-scheme: dark; }
.boot-status {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #64748b;
  font: 14px/1.5 system-ui, sans-serif;
}
.dark .boot-status { color: #b8c7de; }
.boot-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: boot-spin 1s linear infinite;
}
.boot-en, :lang(en) .boot-zh { display: none; }
:lang(en) .boot-en { display: inline; }
.docs-booting body { visibility: hidden; }
.docs-booting .layout { display: none; }
.docs-booting .boot-status { visibility: visible; }
.docs-booting .boot-status { position: fixed; inset: 0; z-index: 200; }
.boot-failed .boot-spinner { display: none; }
@keyframes boot-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .boot-spinner { animation: none; } }
