html, body {
  margin: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: lightblue;
  font-family: sans-serif;
}
canvas {
  width: 100%;
  height: 100%;
  display: block;
}
#inventory {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,0.8);
  padding: 6px 12px;
  border-radius: 8px;
}
.block-btn {
  width: 30px;
  height: 30px;
  border: 2px solid #333;
  cursor: pointer;
}
.selected {
  border-color: red;
}
#selectedLabel {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 14px;
}
#crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: black;
  border-radius: 50%;
  pointer-events: none;
}
#mobileControls {
  position: absolute;
  bottom: 80px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#joystick {
  width: 80px;
  height: 80px;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
}
#jumpBtn, #placeBtn {
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  background: white;
  border: 2px solid #333;
}
