:root {
  --bg1: #e0e7ff; --bg2: #eef2ff;
  --accent: #4f46e5; --accent2: #3730a3; --accent-zacht: #e0e7ff;
}
.wr-zin {
  background: #fff; border-radius: 20px; box-shadow: var(--schaduw); padding: 14px 18px; text-align: center;
  font-family: var(--lees); font-size: 30px; line-height: 1.5;
}
.wr-zin .doel { background: #fde68a; border-radius: 8px; padding: 0 6px; font-weight: 700; box-shadow: 0 0 0 3px #f59e0b inset; }
.wr-vraag { text-align: center; font-weight: 900; color: var(--accent); margin: 8px 0 0; font-size: 17px; }
.wr-lucht {
  position: relative; height: 290px; margin-top: 8px; border-radius: 22px 22px 0 0; overflow: hidden;
  background: linear-gradient(180deg, #64748b 0%, #94a3b8 40%, #c7d2fe 100%);
}
.wr-wolk { position: absolute; top: -18px; font-size: 70px; opacity: .9; animation: drijf 9s ease-in-out infinite alternate; }
@keyframes drijf { to { transform: translateX(40px); } }
.wr-druppel { position: absolute; width: 2px; height: 16px; background: rgba(255,255,255,.55); border-radius: 2px; animation: regen 1s linear infinite; }
@keyframes regen { from { transform: translateY(-20px); } to { transform: translateY(310px); } }
.wr-woord {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, 0);
  background: #fff; border: 4px solid var(--accent); color: var(--ink); border-radius: 18px;
  padding: 8px 22px; font-family: var(--lees); font-weight: 700; font-size: 32px; white-space: nowrap;
  box-shadow: 0 6px 0 var(--accent2), 0 10px 20px rgba(0,0,0,.2); z-index: 3;
}
.wr-woord::before { content: "💧"; position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-size: 20px; }
.wr-woord.vlieg { transition: left .25s ease-in, top .25s ease-in, transform .25s; transform: translate(-50%, 0) scale(.6); }
.wr-grond { height: 10px; background: #475569; }
.wr-bakken { display: grid; gap: 8px; margin-top: 8px; }
.wr-bak {
  border-radius: 0 0 20px 20px; padding: 10px 6px 12px; text-align: center; color: #fff; font-weight: 900; font-size: 17px; line-height: 1.15;
  box-shadow: inset 0 -6px 0 rgba(0,0,0,.18), 0 4px 10px rgba(0,0,0,.12); min-height: 74px; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border-top: 6px solid rgba(255,255,255,.5);
}
.wr-bak .ic { font-size: 22px; }
.wr-bak .k { position: absolute; left: 8px; top: 4px; font-size: 12px; opacity: .8; }
.wr-bak:hover { filter: brightness(1.08); transform: translateY(-2px); }
.wr-bak.goed { outline: 5px solid #fde047; }
.wr-bak.fout { outline: 5px solid var(--fout); animation: schud .4s; }
.wr-bak.vang { animation: vang .35s; }
@keyframes vang { 50% { transform: scale(1.08); } }
.wr-zinvol { font-family: var(--lees); font-size: 21px; background: #f8fafc; border-radius: 12px; padding: 8px 12px; margin: 6px 0 4px; }
.wr-zinvol .doel { background: #fde68a; border-radius: 6px; padding: 0 4px; font-weight: 700; }
@media (max-width: 560px) {
  .wr-zin { font-size: 21px; padding: 10px 12px; }
  .wr-lucht { height: 230px; }
  .wr-woord { font-size: 25px; padding: 6px 16px; }
  .wr-bak { font-size: 13px; min-height: 64px; padding: 8px 3px; }
  .wr-bak .ic { font-size: 18px; }
  .wr-bakken { gap: 5px; }
}
.wr-bak span { overflow-wrap: anywhere; }
@media (max-width: 420px) { .wr-bak { font-size: 11.5px; } }
