.blasen { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.blasen__q { margin: 0 16px 10px; padding: 14px 16px; background: var(--card); border: 2.5px solid var(--edge); border-radius: 18px;
  box-shadow: 0 4px 0 var(--edge); font-size: 19px; font-weight: 800; line-height: 1.3; text-align: center; white-space: pre-line; }
.blasen__q.show { animation: popIn .3s ease-out; }
.blasen__sol { display: block; margin-top: 6px; font-size: 16px; color: var(--green-dark); }
.blasen__sea { position: relative; flex: 1; min-height: 0; overflow: hidden; border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, #bfeae4 0%, #6fcac0 55%, #2f9f96 100%); }
.blasen__sea::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(circle at 20% 70%, #fff 0 3px, transparent 4px), radial-gradient(circle at 76% 40%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 60% 85%, #fff 0 4px, transparent 5px), radial-gradient(circle at 35% 30%, #fff 0 2px, transparent 3px); }
.blasen__weed { position: absolute; bottom: -6px; width: 22px; height: 90px; border-radius: 14px 14px 0 0; background: #3daa5c; border: 2.5px solid #1f6b37;
  transform-origin: bottom center; animation: blasenWeed 3.4s ease-in-out infinite alternate; }
.blasen__weed.l { left: 14px; }
.blasen__weed.r { right: 18px; height: 64px; animation-delay: -1.7s; }
@keyframes blasenWeed { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }

.blasen .blase { position: absolute; top: 100%; left: calc(var(--x) - var(--size) / 2); width: var(--size); height: var(--size); padding: 0;
  border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  animation: blasenRise var(--dur) linear var(--delay) both; }
.blasen .blase > span { display: grid; place-items: center; width: 100%; height: 100%; padding: 12px; border-radius: 50%; box-sizing: border-box;
  background: radial-gradient(circle at 32% 28%, #fff 0 12%, rgba(255, 255, 255, .92) 13%, rgba(232, 250, 247, .9) 70%, rgba(190, 236, 230, .92) 100%);
  border: 3px solid #fff; box-shadow: inset -6px -8px 0 rgba(20, 160, 152, .18), 0 4px 10px rgba(14, 90, 85, .25);
  color: #14343a; font-family: var(--display); font-weight: 600; font-size: 17px; line-height: 1.12; text-align: center;
  overflow-wrap: anywhere; hyphens: auto; animation: blasenWob 1.8s ease-in-out infinite alternate; }
.blasen .blase.short > span { font-size: 21px; }
.blasen .blase.long > span { font-size: 14px; }
.blasen .blase.stop, .blasen .blase.stop > span { animation-play-state: paused; }
.blasen .blase.pop > span { animation: blasenPop .4s ease-out forwards; background: #d9f6df; border-color: #3daa5c; }
.blasen .blase.wrong > span { animation: blasenShake .4s; background: #fde3e0; border-color: #ef5a5a; }
.blasen .blase.right > span { animation: none; background: #d9f6df; border-color: #3daa5c; box-shadow: 0 0 0 5px rgba(61, 170, 92, .35); }
.blasen .blase:focus-visible > span { outline: 3px solid var(--orange); outline-offset: 3px; }
@keyframes blasenRise { to { transform: translateY(calc(-1 * var(--rise))); } }
@keyframes blasenWob { from { transform: translateX(var(--wob)); } to { transform: translateX(calc(-1 * var(--wob))); } }
@keyframes blasenPop { 40% { transform: scale(1.18); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
@keyframes blasenShake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }

@media (prefers-color-scheme: dark) {
  .blasen__sea { background: linear-gradient(180deg, #1f524d 0%, #123a37 55%, #0a2624 100%); }
  .blasen__sea::before { opacity: .22; }
  .blasen__weed { background: #2a7d42; border-color: #0d0805; }
}
@media (prefers-reduced-motion: reduce) {
  .blasen__weed, .blasen .blase > span, .blasen__q.show { animation: none; }
  .blasen .blase.pop > span { animation: none; opacity: .4; }
}
