* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #7ec8ff 0%, #dff3ff 55%, #eef7ff 100%);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.game-shell {
  width: min(100vw, 980px);
  padding: 10px;
}
.hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  margin-bottom: 8px;
}
.brand { font-weight: 700; letter-spacing: 0.2px; }
.audio-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.audio-controls label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}
.audio-controls input[type="range"] {
  width: 72px;
}
#muteBtn {
  border: 0;
  border-radius: 8px;
  background: #1f2937;
  color: #fff;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 12px;
}
canvas {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 2px solid rgba(0,0,0,0.2);
  background: #80d0ff;
  touch-action: none;
}
.help {
  margin-top: 8px;
  font-size: 14px;
  color: #243b53;
  text-align: center;
}
.touch-controls {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  justify-content: center;
}
.touch-controls button {
  font-size: 18px;
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  background: #111827;
  color: #fff;
}
@media (min-width: 900px) {
  .touch-controls { display: none; }
}
