/**
 * Bubble Pop Stylesheet - Popyca Games
 *
 * Warm cream, slate, and terracotta visual aesthetic.
 * Responsive HTML5 Canvas board with aim line & shooter tray.
 */

:root {
  --bubble-board-bg: #ece5d8;
  --bubble-shooter-bg: #e2dbcd;

  --bubble-c1: #e26938; /* Terracotta / Red */
  --bubble-c2: #3b82f6; /* Azure Blue */
  --bubble-c3: #f59e0b; /* Golden Amber */
  --bubble-c4: #10b981; /* Emerald Green */
  --bubble-c5: #8b5cf6; /* Royal Violet */

  --bubble-stage-size: min(92vw, 440px);
}

@media (min-width: 600px) {
  :root {
    --bubble-stage-size: 440px;
  }
}

/* Stage Container */
.bubble-stage-container {
  width: 100%;
  max-width: 480px;
  background: var(--bubble-board-bg);
  border-radius: 14px;
  padding: 12px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.08), 0 6px 16px rgba(0, 0, 0, 0.05);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  touch-action: none;
}

/* Canvas Board Wrapper */
.bubble-canvas-wrapper {
  position: relative;
  width: var(--bubble-stage-size);
  height: calc(var(--bubble-stage-size) * 1.25);
  background: #fdfbf7;
  border: 2px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04);
}

#bubble-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Misses Warning Bar */
.misses-indicator-wrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-slate);
}

.misses-dots {
  display: flex;
  gap: 6px;
}

.miss-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbbeab;
  transition: all 0.2s ease;
}

.miss-dot.active {
  background: var(--color-primary);
  transform: scale(1.15);
  box-shadow: 0 1px 4px rgba(226, 105, 56, 0.4);
}

/* Shooter Controls Bar */
.shooter-controls-hint {
  font-size: 12px;
  color: var(--color-slate);
  margin-top: 8px;
  text-align: center;
}
