.pong-stage {
  position: relative;
  width: min(820px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #07151c;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025), 0 20px 50px rgba(0,0,0,.24);
}

#pongCanvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 38 / 23;
  touch-action: none;
}

.game-message {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  background: rgba(4, 13, 18, .66);
  backdrop-filter: blur(8px);
  transition: opacity .2s ease, visibility .2s ease;
}

.game-message.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.game-message h2 { margin-bottom: 8px; font-size: clamp(2rem, 5vw, 3.2rem); }
.game-message p { max-width: 500px; margin: 0; color: var(--muted); line-height: 1.65; }

.pong-touch-controls {
  display: none;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

@media (max-width: 800px) {
  .pong-touch-controls { display: flex; }
  .pong-touch-controls .touch-button { width: 74px; }
}
