* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  height: 100%; background: #0d0d12; overflow: hidden;
  font-family: system-ui, sans-serif; touch-action: none;
}
#game-wrap {
  position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
}
#game {
  image-rendering: auto;
  width: 100%; height: 100%;
  max-width: 100vw; max-height: 100vh;
  object-fit: contain;
  background: #000;
}
#touch-controls {
  position: fixed; inset: 0; pointer-events: none;
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 24px;
}
#touch-controls.hidden { display: none; }
#touch-controls button {
  pointer-events: auto; width: 72px; height: 72px; margin: 0 8px;
  border-radius: 50%; border: 3px solid #c9a24b; background: rgba(28,26,20,0.7);
  color: #f6e7c1; font-size: 28px; user-select: none;
}
.pad-left { display: flex; }
.pad-right { display: flex; align-items: flex-end; }
