/* Bubble Pop (Cleo's Studio, games for two, 2026-11-07): two sides, one shared jar. */
.bubbles { background: #4FA9C6; cursor: pointer; }
.bub-cv { position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none; }

/* each side's own color, a soft glow rising from the sand, so "this side is mine" reads without words */
.side-glow { position: absolute; bottom: 0; width: 50%; height: 34%; z-index: 2; pointer-events: none; }
.side-glow--a { left: 0; background: linear-gradient(0deg, rgba(247, 160, 190, .55), rgba(247, 160, 190, 0)); }
.side-glow--b { right: 0; background: linear-gradient(0deg, rgba(110, 210, 235, .55), rgba(110, 210, 235, 0)); }

/* a sea friend on each side cheers for its player */
.mascot { position: absolute; z-index: 4; bottom: max(10px, env(safe-area-inset-bottom)); width: clamp(70px, 15vmin, 190px); height: auto; pointer-events: none; filter: drop-shadow(0 6px 10px rgba(10, 50, 80, .3)); transform-origin: 50% 100%; }
.mascot--a { left: 4%; }
.mascot--b { right: 4%; }

.kbpop:focus-visible { position: absolute; left: 50%; top: 80px; transform: translateX(-50%); width: auto; height: auto; clip: auto; padding: 8px 16px; border-radius: 20px; background: #fff; outline: 3px solid var(--navy); z-index: 20; }

/* inside the kitchen wall's frame its hold-to-close button sits at the left edge, halfway down: the left friend moves in */
.room.in-frame .mascot--a { left: calc(4% + 70px); }
