:root {
  color-scheme: dark;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

#scene {
  display: block;
  width: 100vw;
  height: 100vh;
  touch-action: none; /* let us own pointer gestures */
}

#hint {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 10;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(18, 18, 22, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  line-height: 1.45;
  pointer-events: none;
}

#hint strong {
  font-size: 13px;
  letter-spacing: 0.02em;
}

#hint span {
  color: rgba(255, 255, 255, 0.55);
}

#hint kbd {
  background: rgba(255, 255, 255, 0.12);
  padding: 1px 5px;
  border-radius: 3px;
  font-family: ui-monospace, monospace;
  font-size: 10px;
}

/* The control panel UI is owned + styled by the Ghost Panel tool
   (ghost-panel/dist) — it injects its own scoped CSS, so nothing is
   needed here. */
