.breakout-game {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100%;
  font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.08), transparent 55%), #0f172a;
  padding: 24px 0;
  box-sizing: border-box;
}

.breakout-wrapper {
  position: relative;
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 20px;
}

.breakout-canvas {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.92));
  border-radius: 16px;
  width: min(92vw, 520px);
  aspect-ratio: 13 / 19;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.16);
  image-rendering: pixelated;
  touch-action: none;
}

.breakout-hud {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 24px;
  padding: 8px 18px;
  background: rgba(15, 23, 42, 0.78);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
  color: #e2e8f0;
  pointer-events: none;
}
.breakout-hud span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.breakout-message {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: clamp(18px, 3vw, 28px);
  letter-spacing: 0.08em;
  color: rgba(226, 232, 240, 0.9);
  text-align: center;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.breakout-message.hidden {
  opacity: 0;
}

.breakout-message small {
  display: block;
  font-weight: 400;
  font-size: 13px;
  opacity: 0.7;
  margin-top: 6px;
}

.breakout-mute {
  position: absolute;
  top: 20px;
  right: 24px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.78);
  color: #e2e8f0;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.breakout-mute:hover {
  background: rgba(30, 41, 59, 0.85);
  transform: translateY(-1px);
}

.breakout-mute:active {
  transform: translateY(0);
}
