/* Happy Bubbles — game-specific styles. Base UI: shared/css/game-base.css */

:root {
  --game-bg: linear-gradient(180deg, #b3e5fc 0%, #e1f5fe 60%, #c8e6c9 100%);
  --game-ink: #1f3b4d;
  --game-accent: #1565c0;
}

.play-field {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.bubbles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: pointer;
}

/* Non-blocking reward: the child can keep popping while it is shown (TZ 7.2). */
.celebration {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  min-width: min(90vw, 320px);
  padding: 20px 32px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  text-align: center;
  pointer-events: none;
  animation: game-pop-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 20;
}

.celebration-stars {
  font-size: 3rem;
}

.celebration-title {
  margin: 6px 0 4px;
  font-size: 1.8rem;
  font-weight: 800;
  color: #2e7d32;
}

.celebration-subtitle {
  margin: 0;
  font-size: 1.15rem;
  color: #455a64;
}
