html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #87ceeb;
  font-family: system-ui, sans-serif;
}

canvas {
  display: block;
}

#crosshair {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  background: white;
  box-shadow: 0 0 0 1px black;
  pointer-events: none;
}

#hud {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.5);
  color: #ffe45c;
  font-weight: bold;
  text-align: center;
  white-space: pre-line;
  pointer-events: none;
}

#overlay {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  text-align: center;
  cursor: pointer;
}

#overlay h1 {
  font-size: 3rem;
  margin: 0 0 0.5rem;
}

#overlay p {
  font-size: 1.5rem;
  margin: 0.3rem;
}

#overlay .help {
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 1.5rem;
}
