.expressive{transform-origin:center bottom;animation:companion-breathe 4s ease-in-out infinite}.character-eye{transform-box:fill-box;transform-origin:center;animation:companion-blink 5s ease-in-out infinite}.character-arms,.character-wing{transform-box:fill-box;transform-origin:center;transition:transform .3s}.mood-wave .character-arms,.mood-happy .character-arms{animation:companion-wave .7s ease-in-out infinite}.mood-happy{animation:companion-hop .7s ease-in-out 3}.mood-speaking{animation:companion-talk .65s ease-in-out infinite}.mood-listening{animation:companion-listen 2.3s ease-in-out infinite}.mood-thinking{animation:companion-think 2s ease-in-out infinite}.mood-happy .character-wing,.mood-wave .character-wing{animation:companion-wave .6s ease-in-out infinite}.map-stop{z-index:3}.map-caption{z-index:4}.island-growth{position:absolute;inset:0;pointer-events:none;z-index:1}.world-build{position:absolute;width:49px;height:49px;transform:translate(-50%,-50%);filter:drop-shadow(0 3px 3px #31463035);animation:build-grow .55s ease-out}.world-build svg{width:100%;height:100%}.world-build.bloom{filter:hue-rotate(var(--hue)) drop-shadow(0 2px 3px #31463030)}.built-reward svg{width:72px;height:72px}.built-reward{width:112px;height:112px}.pair-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;max-width:600px;margin:22px auto}.pair-card{min-height:115px;padding:10px}.pair-card .answer-letter{font-size:51px}.pair-card.selected{border-color:#c2a463;background:#fff1cb;box-shadow:0 0 0 3px #f8ecd0}.pair-card.matched{border-color:#9ab484;background:#eaf1de}.pair-card.matched:after{content:'✓';position:absolute;top:7px;right:10px;font-size:13px;color:#72915e}.search-scene{position:relative;width:100%;max-width:700px;height:310px;margin:15px auto;border-radius:25px;overflow:hidden;background:radial-gradient(ellipse at 5% 95%,#a4c786 0 25%,transparent 26%),radial-gradient(ellipse at 88% 95%,#bbd29a 0 35%,transparent 36%),linear-gradient(#dfeee4 0 40%,#d0dcae 40% 100%)}.search-scene:before{content:'';position:absolute;top:20px;left:25%;width:80px;height:25px;border-radius:50%;background:#fffcf1;box-shadow:200px 10px 0 #fffcf1}.scene-object{position:absolute;width:107px;height:107px;min-height:0;border-radius:26px;padding:7px;transform:translate(-50%,-50%);background:#fff9e8c7;border:2px solid #fffcf0c9;box-shadow:0 3px 0 #526f4020}.scene-object .object-art{height:88px;width:88px}.scene-object:hover:not(:disabled){transform:translate(-50%,-50%) scale(1.03)}.scene-object:active:not(:disabled){transform:translate(-50%,-50%) scale(.97)}.sort-current{display:flex;align-items:center;justify-content:center;gap:20px}.sort-current>.object-art{width:112px;height:112px}.sort-dots{display:flex;gap:9px}.sort-dots span{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#e3e6d7;color:#c6ccb6;font-size:19px}.sort-dots .sorted{background:#94ad7f;color:#fffaf0;font-size:12px}.basket{position:relative;background:#f7efd9;border-color:#dfcba6;border-radius:25px 25px 35px 35px;min-height:170px}.basket:after{content:'';position:absolute;bottom:35px;left:14px;right:14px;height:16px;border-top:2px solid #dfcba6;border-bottom:2px solid #dfcba6;opacity:.7}.basket .object-art{height:90px;width:90px;margin-bottom:12px}.basket-name{font:900 17px Nunito;letter-spacing:.04em;color:#8d7653}.story-choice span{font:900 20px Nunito;margin-top:8px}.choice-note{text-align:center;font-size:12px;color:#8d907a;margin:20px auto;line-height:1.7}.story-path{display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;color:#9a875d;margin:15px auto 5px}.story-path svg{width:15px;height:15px;color:#c1a24e}.learning-summary{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin:14px 0 20px}.learning-summary span{font-size:10px;border-radius:12px;background:#f1f3e8;padding:10px 12px;color:#87907b}.learning-summary strong{display:block;font:800 12px Nunito;color:#57794f;margin-top:3px}.install-description{font-size:12px;color:#7c8775;line-height:1.7;margin-bottom:14px}.install-instructions{background:#f1f3e7;border-radius:16px;padding:17px;font-size:13px;line-height:1.9;color:#667959;margin:18px 0}.install-instructions ol{padding-left:20px;margin:0}.install-note{font-size:11px;line-height:1.8;color:#8b8d7a}.offline-confirm{display:flex;gap:10px;margin:18px 0;flex-wrap:wrap}#offline-status{color:#73915e;font-size:10px}.offline-error{color:#a58d66!important}
@keyframes companion-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}@keyframes companion-blink{0%,42%,46%,100%{transform:scaleY(1)}44%{transform:scaleY(.1)}}@keyframes companion-wave{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(5deg)}}@keyframes companion-hop{0%,100%{transform:translateY(0) rotate(0)}40%{transform:translateY(-8px) rotate(-3deg)}75%{transform:translateY(-3px) rotate(3deg)}}@keyframes companion-talk{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px) rotate(1deg)}}@keyframes companion-listen{0%,100%{transform:rotate(0)}40%{transform:rotate(-3deg)}}@keyframes companion-think{0%,100%{transform:rotate(0)}50%{transform:rotate(3deg)}}@keyframes build-grow{from{opacity:0;transform:translate(-50%,-50%) scale(.4)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@media(max-width:580px){.world-build{width:31px;height:34px}.pair-grid{gap:10px;grid-template-columns:repeat(2,1fr);margin:18px auto}.pair-card{min-height:86px}.pair-card .answer-letter{font-size:39px}.search-scene{height:280px;border-radius:20px}.scene-object{width:81px;height:83px;padding:5px;border-radius:20px}.scene-object .object-art{height:68px;width:68px}.basket{min-height:142px;padding:10px}.basket .object-art{height:77px;width:77px}.basket-name{font-size:13px}.baskets[data-count="3"]{grid-template-columns:repeat(3,1fr);gap:7px}.baskets[data-count="3"] .answer-card:last-child{grid-column:auto;width:auto}.baskets[data-count="3"] .object-art{width:65px;height:65px}.sort-current>.object-art{width:95px;height:95px}.story-choice span{font-size:16px}.story-choices .answer-card{min-height:170px}.choice-note{font-size:11px}.footer{flex-wrap:wrap;row-gap:9px}#offline-status{order:3;flex-basis:100%;font-size:9px}.story-path{font-size:10px}.built-reward svg{width:75px;height:75px}}
.reduce-motion *{animation:none!important;transition:none!important}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
