html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: #0b1a3a;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
  overscroll-behavior: none;
}

#game {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#game canvas {
  display: block;
}

#touch-controls {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

#touch-controls.hidden {
  display: none;
}

.touch-btn {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 55px;
  border: 4px solid rgba(255, 255, 255, 0.7);
  background: rgba(120, 180, 255, 0.35);
  color: #fff;
  font-size: 44px;
  line-height: 1;
  font-weight: bold;
  pointer-events: auto;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.touch-btn:active {
  background: rgba(180, 220, 255, 0.6);
  transform: scale(0.95);
}

#btn-left {
  bottom: 30px;
  left: 30px;
}

#btn-right {
  bottom: 30px;
  left: 170px;
}

#btn-jump {
  bottom: 30px;
  right: 30px;
  width: 140px;
  height: 140px;
  border-radius: 70px;
  background: rgba(255, 200, 220, 0.45);
}
