.play-area{position:relative}.match-cheer{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);z-index:4;pointer-events:none;display:flex;gap:10px;align-items:center;background:#fff9e9f5;border:3px solid #f8cd62;box-shadow:0 8px 24px #75584b25;border-radius:24px;padding:14px 20px;color:#76567e;width:max-content;max-width:95%;text-align:center;animation:cheer-in 1.3s both}.match-cheer span{font-size:28px;color:#e6a82d}.match-cheer strong{font-size:20px;line-height:1.3}
.learn-cover{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;transform:rotate(-6deg);width:100%}.learn-cover svg{width:54%;margin:0 -5%}.learn-cover svg:nth-child(2){transform:rotate(15deg)}.learn-cover b{font:700 13px system-ui;color:#725181;background:#fff7de;border-radius:20px;padding:5px 10px}
.lesson-options{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.lesson-switch{display:flex;gap:4px;padding:4px;border-radius:18px;background:#eee5f6}.lesson-switch button{border:0;border-radius:14px;background:transparent;color:#705b7a;font:700 14px/1.4 'Be Vietnam Pro',system-ui;padding:12px;min-height:46px}.lesson-switch button[aria-pressed=true]{background:#fffdf4;color:#4b653a;box-shadow:0 2px 5px #6b4a6920}.learning-board .tile-face{display:flex;flex-direction:column;background:#fffdf4;gap:0;justify-content:center}.learning-board .tile-face svg{width:94%;height:74%;flex-shrink:1}.word-label{font:700 15px/1.2 'Be Vietnam Pro',system-ui;text-align:center;padding:0 3px 10px;color:#493d56;overflow-wrap:anywhere}.word-replay{border:2px solid #d1b9e8;background:#f4eafb;color:#664a81;border-radius:18px;font:700 15px/1.5 'Be Vietnam Pro',system-ui;padding:11px 15px;min-height:48px;touch-action:manipulation}.word-replay:disabled{opacity:.65}.learning-board .tile-back{background:#d6c1ee}.learning-board .tile-back:after{content:'★';background:#fff3ce;color:#aa76ce}
.animal-playground.solved>.speaker-button,.animal-playground.solved>.listen-label,.animal-playground.solved>.animal-options{display:none}.animal-reward{padding:8px 8px 12px;text-align:center}.animal-reward>strong{display:block;font-size:20px;line-height:1.4;color:#8c567c}.animal-star{position:relative;max-width:260px;margin:0 auto}.animal-star>svg{width:100%;height:190px;overflow:visible;animation:animal-dance 1.4s ease-in-out 2;transform-origin:50% 85%}.animal-reward p{font-size:21px;margin:0 0 12px}.animal-reward p b{color:#966092}.animal-notes{position:absolute;right:0;top:20px;color:#a277c2;font-size:30px;opacity:0}.talking-mouth{transform:scaleY(.12);opacity:0}.speaking .talking-mouth{opacity:1;animation:animal-talk .32s ease-in-out infinite alternate;transform-box:view-box}.speaking .animal-notes{opacity:1;animation:sing-notes .8s ease-in-out infinite alternate}.animal-playground.solved{background:radial-gradient(ellipse at 50% 40%,#ffedb9,#f7e8ef 70%)}
@keyframes cheer-in{0%{opacity:0;transform:translate(-50%,-50%) scale(.6)}18%,75%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-75%) scale(1.05)}}
@keyframes animal-dance{0%,100%{transform:rotate(0) translateY(0)}25%{transform:rotate(-6deg) translateY(-10px)}75%{transform:rotate(6deg) translateY(-10px)}}
@keyframes animal-talk{from{transform:scaleY(.2)}to{transform:scaleY(1)}}@keyframes sing-notes{to{transform:translateY(-12px) rotate(10deg)}}
@media(max-width:650px){.lesson-options{gap:8px}.lesson-switch button{font-size:14px;padding:10px}.lesson-options+.level-picks{padding:12px 0}.learning-board .memory-tile{aspect-ratio:auto;min-height:132px}.learning-board .tile-face svg{height:65%}.word-label{font-size:14px;padding-bottom:6px}.animal-reward>strong{font-size:19px}.animal-star>svg{height:160px}.animal-reward p{font-size:20px}.match-cheer{padding:12px}.match-cheer strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){.match-cheer,.animal-star>svg,.speaking .talking-mouth,.speaking .animal-notes{animation:none!important}.speaking .talking-mouth{transform:scaleY(.8)}.match-cheer{opacity:1}}
