html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  font-family: Arial, sans-serif;
  background: var(--o-background);
  color: var(--o-text);
}

.O {
  position: fixed;
  inset: 0;
  overflow: hidden;
  /* odb_dave: a virgin O starts in black, not at Lone Peak (Pat, 2026-10-25). */
  background: #000;
}

.O-canvasLayer {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: auto;
}

.O-canvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.O-hud,
.O-miniHUD {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 20;
  display: flex;
  gap: 8px;
  align-items: center;
}

.O-hud {
  pointer-events: auto;
}

.O-miniHUD {
  pointer-events: none;
}

.O-miniHUD[hidden] {
  display: none !important;
}

.O-miniHUD button,
.O-miniHUD input,
.O-miniHUD select,
.O-miniHUD textarea,
.O-miniHUD .O-status {
  pointer-events: auto;
}

.O-hud button,
.O-miniHUD button {
  padding: 8px 10px;
  border: 0;
  border-radius: 5px;
  background: color-mix(in srgb, var(--o-button-background) 92%, transparent);
  color: var(--o-button-text);
  font-size: 12px;
  cursor: pointer;
}

.O-status {
  min-width: 130px;
  padding: 7px 9px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--o-surface) 70%, transparent);
  color: var(--o-text-muted);
  font-size: 12px;
}

/*
 * Browser bootstrap presentation.
 *
 * This exists before O can instantiate its LoadingSpinner UPO. Once O exists,
 * LoadingSpinner adopts this DOM presentation and owns its loading/ready state.
 */
#O-loadingPresentation {
  position: fixed;
  inset: 0;
  z-index: 10000;
  visibility: visible;
  background: #000;
  opacity: 1;
  pointer-events: auto;
  transition: none;
  will-change: opacity;
}

#O-loadingPresentation.O-loadingPresentation-ready {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 300ms ease,
    visibility 0s linear 300ms;
  will-change: auto;
}

