:root {
  color-scheme: dark;
  background: #02030a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #000;
}

.stage-shell {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #000;
}

#rainbowStage {
  display: block;
  width: 100vw;
  height: auto;
  max-height: 100vh;
  aspect-ratio: 18 / 1;
  background: #000;
  image-rendering: auto;
}

.hud {
  position: fixed;
  left: 24px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(0, 0, 0, 0.36);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  pointer-events: none;
  white-space: nowrap;
}

.hud strong {
  font-size: 13px;
  letter-spacing: 0.08em;
}

.hud span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.56);
}

@media (max-width: 900px) {
  .hud {
    left: 12px;
    bottom: 12px;
    max-width: calc(100vw - 24px);
  }
}
