/* 游乐园 P4+ 新玩法 · 给布布挑个词（WordHuntGame）：
   答案不唯一：按词性/类别选词，选了立刻改变画面上的布布小熊装扮与动作，状态一路累积，结尾拼成完整故事句。 */
.whCard{display:grid;gap:14px}
.whForest{position:relative;min-height:228px;padding:18px;border-radius:20px;overflow:hidden;
  background:linear-gradient(180deg,#cfeafc 0%,#e9f7e8 58%,#b7dfa8 100%);
  border:2px solid rgba(255,255,255,.88);display:grid;place-items:center}
.whHill{position:absolute;left:-10%;right:-10%;bottom:-26px;height:78px;border-radius:50%;
  background:linear-gradient(180deg,#98d189,#7bbd6e);pointer-events:none}
.whBearWrap{position:relative;z-index:2;width:136px;height:152px;transition:transform .25s}
.whBearSvg{width:100%;height:100%;display:block;filter:drop-shadow(0 6px 10px rgba(60,95,55,.2))}
.whBearWrap.act-jumping .whBearSvg{animation:whJump .55s ease-in-out infinite alternate}
.whBearWrap.act-dancing .whBearSvg{animation:whDance .7s ease-in-out infinite alternate}
.whBearWrap.act-singing .whBearSvg{animation:whSing .8s ease-in-out infinite alternate}
.whBearWrap.act-sleeping .whBearSvg{animation:whSleep 2.2s ease-in-out infinite}
@keyframes whJump{from{transform:translateY(0)}to{transform:translateY(-18px) scale(1.03)}}
@keyframes whDance{0%{transform:rotate(-8deg) translateY(0)}50%{transform:rotate(0) translateY(-8px)}100%{transform:rotate(8deg) translateY(0)}}
@keyframes whSing{from{transform:scale(1)}to{transform:scale(1.05) translateY(-4px)}}
@keyframes whSleep{0%,100%{transform:scale(1)}50%{transform:scale(1.03,.97)}}
.whFx{position:absolute;top:14px;right:18px;z-index:3;font-size:26px;pointer-events:none;animation:whFloat 1.6s ease-in-out infinite alternate}
@keyframes whFloat{from{transform:translateY(0)}to{transform:translateY(-8px)}}

.whSpots{position:absolute;inset:12px;z-index:3;pointer-events:none}
.whWordBtn{pointer-events:auto;position:absolute;display:inline-flex;align-items:center;gap:6px;
  padding:8px 14px;border-radius:999px;border:2px solid #fff;
  background:rgba(255,253,246,.94);box-shadow:0 5px 14px rgba(55,88,52,.18);
  cursor:pointer;font:700 15px/1 "Fredoka","ZCOOL",sans-serif;color:#2f2419;transition:transform .15s,background .15s}
.whWordBtn:hover{transform:scale(1.08);background:#fff7e0}
.whWordBtn.picked{background:#e7f7ec;border-color:#4fa376;color:#1e623d}
.whWordBtn.wrong{border-color:#d95b4f;background:#fff0ee;animation:whShake .3s}
@keyframes whShake{0%,100%{transform:translateX(0)}30%{transform:translateX(-5px)}70%{transform:translateX(5px)}}

.whPrompt{display:grid;gap:8px;justify-items:center;text-align:center;padding:8px 12px}
.whAsk{font-size:13.5px;font-weight:700;color:#7a5b32;background:#fff4d8;padding:4px 12px;border-radius:999px}
.whSent{font:700 22px/1.4 "Fredoka","ZCOOL",sans-serif;color:#2e241b}
.whBlank{display:inline-block;min-width:86px;padding:2px 10px;margin:0 4px;border-bottom:3px solid #d4833b;
  color:#b65c1b;background:#fff8eb;border-radius:8px}
.whCn{font-size:13.5px;color:#756352}
.whStoryBox{padding:14px 18px;border-radius:16px;background:#fffaf0;border:2px solid #ebd7b8;text-align:center;display:grid;gap:8px}
.whStoryBox b{font-size:18px;color:#2f2419}
.whStoryBox span{font-size:13.5px;color:#756352}
@media (max-width:600px){
  .whForest{min-height:200px}
  .whWordBtn{padding:6px 10px;font-size:13.5px}
  .whSent{font-size:18px}
}
@media (prefers-reduced-motion:reduce){.whBearWrap.act-jumping .whBearSvg,.whBearWrap.act-dancing .whBearSvg,.whBearWrap.act-singing .whBearSvg,.whBearWrap.act-sleeping .whBearSvg,.whFx{animation:none}}
