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

canvas {
  display: block;
}

#crosshair {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 24px;
  text-shadow: 0 0 3px #000;
  pointer-events: none;
}

#help {
  position: fixed;
  top: 12px;
  left: 12px;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  text-shadow: 0 0 4px #000;
  pointer-events: none;
}

#blockbar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  pointer-events: none;
}

#hp {
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  color: #ff4d4d;
  font-size: 22px;
  text-shadow: 0 0 4px #000;
  pointer-events: none;
}

.slot {
  border: 2px solid #222;
  color: #fff;
  padding: 6px 8px;
  font-size: 13px;
  text-shadow: 0 0 3px #000;
  opacity: 0.85;
}

.slot.active {
  border-color: #fff;
  opacity: 1;
  transform: scale(1.1);
}

#start {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
