:root {
  --bg: #000b0b;
  --aqua: #36f6f6;
}

html,
body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  overflow: hidden;
}

#app {
  position: fixed;
  inset: 0;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

/* Minimal prompt if iOS needs motion permission */
#motion {
  position: fixed;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  padding: 10px 12px;
  border: 1px solid rgba(54, 246, 246, 0.55);
  color: var(--aqua);
  background: rgba(0, 11, 11, 0.85);
  font: 14px/1.2 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  letter-spacing: 0.04em;
  display: none;
  cursor: pointer;
  user-select: none;
}

#motion:focus-visible {
  outline: 2px solid rgba(54, 246, 246, 0.7);
  outline-offset: 2px;
}

#gyro-debug {
  display: none;
  position: fixed;
  left: 8px;
  bottom: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(54, 246, 246, 0.4);
  background: rgba(0, 11, 11, 0.88);
  color: var(--aqua);
  font: 11px/1.45 ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
  white-space: pre;
  pointer-events: none;
  z-index: 10000;
  max-width: 260px;
  user-select: none;
}
