html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #090b12;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

canvas {
  display: block;
}

#hud {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 10;
  max-width: min(520px, calc(100vw - 32px));
  padding: 14px 16px;
  border-radius: 14px;
  color: white;
  background: rgba(8, 10, 18, 0.68);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.28);
  line-height: 1.35;
}

#hud h1 {
  margin: 0 0 6px;
  font-size: 18px;
}

#hud p {
  margin: 6px 0;
  font-size: 13px;
}

#status {
  opacity: 0.85;
}

body.xr-active #hud {
  display: none;
}
