@font-face{font-family:AnimalDisplay;src:url('./assets/display-800.woff2') format('woff2');font-weight:800;font-display:swap}@font-face{font-family:AnimalBody;src:url('./assets/body-700.woff2') format('woff2');font-weight:700;font-display:swap}
:root{--purple:#7042ba;--purple-dark:#49257c;--ink:#3d2b53;--mint:#bde5c9;--sun:#ffd16b;--wood:#c28b4d;font-family:AnimalBody,'Trebuchet MS',sans-serif;color:var(--ink);font-synthesis:none;background:#bde5c9}*{box-sizing:border-box}body{margin:0;min-width:256px}button{font:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;min-height:44px;border:0;color:inherit;transition:transform .12s,background .12s}button:disabled{cursor:default}button:focus-visible,input:focus-visible+label{outline:3px solid #51268e;outline-offset:4px}button:not(:disabled):active{transform:translateY(3px)}[hidden]{display:none!important}h1,h2,p{margin:0}img{max-width:100%;user-select:none}svg{display:block;flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app{position:relative;isolation:isolate;min-height:100svh;background:#bde5c9 url('./assets/garden-world.webp') center/cover;overflow:hidden}.topbar{position:absolute;top:0;left:0;right:0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 23px;pointer-events:none}.topbar>*{pointer-events:auto}.brand{font-family:AnimalDisplay,sans-serif;font-size:25px;line-height:1.1;color:#fff8db;text-shadow:0 2px 0 #654297,1px 0 #654297,-1px 0 #654297}.brand span{color:#ffd16b}.app[data-screen=welcome] .brand{visibility:hidden}.tools{display:flex;align-items:center;gap:9px;margin-left:auto}.tool-button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:47px;border:3px solid #fff3c7;border-bottom:5px solid #b99b5b;border-radius:16px;background:#fff3cc;box-shadow:0 3px 0 #48433120;padding:8px 13px;font-size:13px}.tool-button svg{width:24px;height:24px;fill:none;stroke:#78529c;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.tool-button b{color:var(--purple);font-size:12px;margin-left:4px}.sound-button{width:49px;padding:8px}.sound-mute{display:none}#soundButton[aria-pressed=false] .sound-mute{display:block}#soundButton[aria-pressed=false] .sound-waves{display:none}.welcome{height:100svh;min-height:620px;position:relative;overflow:hidden}.welcome h1{text-align:center;position:relative;z-index:2;font-family:AnimalDisplay,sans-serif;font-size:clamp(60px,8vw,88px);font-weight:800;line-height:.99;letter-spacing:-2px;padding-top:72px;color:#fff6c8;text-shadow:0 5px 0 #77509c,3px 0 0 #77509c,-3px 0 0 #77509c,0 -2px 0 #77509c,0 9px 18px #50417738}.welcome h1 span{display:block;color:#ffd16b}.title-friends{position:absolute;left:50%;transform:translateX(-50%);bottom:212px;height:clamp(190px,calc(100svh - 440px),340px);width:min(880px,95%);display:flex;align-items:flex-end;justify-content:center;filter:drop-shadow(0 10px 5px #2d764423)}.title-friends img{width:34%;height:91%;object-fit:contain;object-position:bottom}.title-friends .friend-cat{width:38%;height:100%;margin-left:-25px;margin-right:-25px;z-index:1}.title-friends .friend-rabbit{transform:rotate(6deg)}.title-friends .friend-fox{transform:rotate(-5deg)}.start-dock{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);width:min(480px,calc(100% - 32px));background:linear-gradient(#f9df9f,#ecc982);border:7px solid #d3a363;border-top-color:#fff0bc;border-bottom-color:#af7c43;border-radius:24px;box-shadow:0 7px 0 #98683a50,0 13px 25px #3c603a30;padding:11px 15px 14px}.mode-picker{padding:0;border:0;margin:0 0 14px;min-width:0}#modeOptions{display:flex;gap:9px}.mode-option{position:relative;min-width:0;flex:1}.mode-option input{position:absolute;opacity:0;width:1px;height:1px}.mode-option label{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:83px;border:3px solid #cfb384;border-bottom-width:5px;border-radius:14px;background:#fffae8;cursor:pointer;font-size:12px;line-height:1.25;padding:5px}.mode-option label img{width:32px;height:32px;object-fit:contain}.mode-option label>span{font-size:10px;color:#69566e;margin-top:2px}.mode-option input:checked+label{background:#e0f2cf;border-color:#77aa6a;box-shadow:0 0 0 2px #f9f5d1;transform:translateY(-3px)}.primary{display:flex;align-items:center;justify-content:center;background:linear-gradient(#9561da,#7644bc);border:3px solid #e4c8fc;border-bottom:6px solid var(--purple-dark);border-radius:16px;box-shadow:0 4px 0 #72522a2b;font-family:AnimalDisplay,sans-serif;font-size:25px;font-weight:800;line-height:1.1;color:white;min-height:58px;padding:11px 24px}.primary:hover{background:linear-gradient(#a473e1,#8250c9)}.primary:disabled{background:#d0c4c0;border-color:#e9dece;border-bottom-color:#b3a393;color:#716563;box-shadow:none}.start-button{width:210px;margin:auto;font-size:29px;min-height:58px}.play{min-height:100svh;padding:82px 30px 28px;max-width:1120px;margin:auto}.round-bar{display:flex;align-items:center;gap:12px;font-size:13px;position:relative;z-index:2}.menu-button{background:#fff2c4;border:2px solid #fff9df;border-bottom:4px solid #bb9b59;border-radius:12px;padding:7px 17px;box-shadow:0 3px 0 #4e693522;font-size:12px}.round-bar p{margin-left:auto;background:#fff9deed;border:2px solid #fff9e8;padding:7px 12px;border-radius:20px;font-size:12px}.round-bar>span{background:var(--purple);color:#fff;padding:8px 13px;border:2px solid #d5b7f4;border-radius:12px;font-size:14px;font-variant-numeric:tabular-nums}.progress{display:flex;align-items:center;justify-content:center;gap:12px;margin:5px 0 24px;height:26px}.progress span{display:block;width:18px;height:18px;transform:rotate(45deg);border:3px solid #ece1b7;background:#a1bba1;border-radius:5px;box-shadow:2px 2px 0 #677f6550}.progress .current{background:#bd8af5;border-color:#f5ddff;box-shadow:0 0 0 2px #9362c8,2px 2px 0 #67468c55}.progress .done{background:#ffd16b;border-color:#fff0ad;box-shadow:2px 2px 0 #ad7a3b88}.play-layout{display:grid;grid-template-columns:1fr 1.1fr;align-items:center;gap:28px}.animal-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;min-width:0;isolation:isolate}.clue{position:relative;background:#fffbe3;border:3px solid #dbc38d;border-radius:23px;box-shadow:0 4px 0 #61834b24;padding:13px 20px;font-size:17px;line-height:1.4;text-align:center;max-width:370px;margin:0 0 17px}.clue:after{content:'';position:absolute;left:calc(50% - 10px);bottom:-11px;width:17px;height:17px;transform:rotate(45deg);background:#fffbe3;border-bottom:3px solid #dbc38d;border-right:3px solid #dbc38d}.animal-image{height:300px;width:320px;object-fit:contain;filter:drop-shadow(0 11px 4px #39773e20);position:relative;z-index:1}.ground{width:65%;height:24px;background:#4c905b28;border-radius:50%;position:absolute;bottom:58px;z-index:-1;filter:blur(2px)}.listen-button{display:flex;align-items:center;justify-content:center;gap:9px;border:3px solid #eaffef;border-bottom:5px solid #5c9c84;border-radius:24px;background:#c4eddd;padding:8px 18px;min-height:47px;font-size:13px;color:#2d6657;box-shadow:0 3px 0 #426b3b22;margin-top:10px}.listen-button svg{height:23px;width:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.listen-button:disabled{opacity:.6}.speech-notice{font-size:11px;background:#fff3cb;border-radius:10px;line-height:1.4;text-align:center;padding:7px 10px;margin-top:9px;max-width:300px}.spelling-panel{min-width:0;border:9px solid #d3a363;border-top-color:#ffedb3;border-bottom-color:#a9753c;border-radius:27px;background:linear-gradient(125deg,#fbe6b5,#edcd8a);box-shadow:0 8px 0 #956b3b55,0 17px 24px #376d3e20;padding:21px 24px 22px}.panel-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.panel-top h2{font-family:AnimalDisplay,sans-serif;font-size:27px;line-height:1.05;letter-spacing:-.4px;color:#795034}.word-length{font-size:11px;background:#fff7da;border-radius:20px;padding:5px 8px;color:#8a643c;white-space:nowrap}.slots{display:flex;justify-content:center;align-items:center;gap:7px;margin:0 0 23px;min-height:62px}.slot{position:relative;background:#ad814a77;border:2px solid #ae8955;border-top:5px solid #987144;border-radius:13px;color:#643b98;width:clamp(34px,5.1vw,58px);height:62px;max-width:62px;min-width:0;flex:1;font-family:AnimalDisplay,sans-serif;font-size:35px;line-height:1;box-shadow:inset 0 3px 6px #65462133}.slot.filled{background:linear-gradient(#fffcdf,#fff0c6);border:2px solid #fff8df;border-bottom:6px solid #c6a56c;box-shadow:0 3px 0 #85663733}.slot.wrong{background:#ffe0be;border:3px solid #b76c36;border-bottom-width:6px}.slot.correct{background:#d3efb7;border-color:#84bc6a;border-bottom-color:#57964e;color:#286449}.slot:disabled{opacity:1}.rack-wrap{background:#81572a2b;border:2px solid #c19c5f;border-top:5px solid #b28a50;border-radius:16px;padding:13px 9px 17px;box-shadow:inset 0 3px 6px #65471f18}.rack{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:9px;min-height:58px}.tile{background:linear-gradient(#fff0ae,#f7cf67);border:2px solid #fff8d4;border-bottom:6px solid #c6953a;border-radius:13px;box-shadow:0 4px 0 #89572833;font-family:AnimalDisplay,sans-serif;font-weight:800;font-size:32px;line-height:1;width:53px;height:58px;flex:0 0 53px;color:#73501f}.tile:nth-child(3n+2){background:linear-gradient(#d6f6ef,#9fdbca);border-color:#e9fff6;border-bottom-color:#62a692;color:#2c665b}.tile:nth-child(3n){background:linear-gradient(#ffdbe8,#edaac6);border-color:#ffedf5;border-bottom-color:#bb7697;color:#7f3e68}.tile:disabled{opacity:.25;box-shadow:none;transform:translateY(3px)}.help-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:15px}.secondary{background:#fff0cb;border:2px solid #fff8df;border-bottom:4px solid #b49a6d;border-radius:12px;min-height:44px;padding:8px 17px;font-size:13px;font-weight:700;color:#79552e;box-shadow:0 2px 0 #70502114}.secondary:hover{background:#fff7e4}.secondary:disabled{opacity:.5;box-shadow:none}.feedback{font-size:13px;line-height:1.4;min-height:58px;display:flex;align-items:center;justify-content:center;text-align:center;padding:10px 0;color:#785637}.feedback.success{color:#2e6b3f;font-weight:700}.feedback.retry{color:#934b23}.check-button{width:100%;min-height:57px}.animal-stage.celebrate .animal-image{animation:animal-pop .5s cubic-bezier(.2,.8,.3,1.3)}.complete{min-height:100svh;padding:88px 25px 30px;display:grid;place-items:center}.reward-board{width:min(790px,100%);text-align:center;border:9px solid #d3a363;border-top-color:#ffecb3;border-bottom-color:#a9753c;border-radius:28px;background:linear-gradient(#fff7d9,#f8e7b5);box-shadow:0 8px 0 #835b3855;padding:22px 25px 25px}.trophy{width:80px;height:80px;margin:0 auto 8px;filter:drop-shadow(0 4px 0 #6e5a2530)}.reward-board h2{font-family:AnimalDisplay,sans-serif;font-size:44px;line-height:1.1;color:#7443ad}.round-stickers{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:25px auto}.sticker{background:#fffcdf;border:3px solid #e7c989;border-bottom:5px solid #c5a46a;padding:8px 5px;border-radius:18px;min-width:0;box-shadow:0 3px 0 #8b673b16}.sticker img{width:100%;height:100px;object-fit:contain}.sticker b{display:block;font-size:12px;text-transform:capitalize;margin-top:4px}.round-summary{font-size:14px;color:#6c573a}.complete-actions{display:flex;justify-content:center;align-items:center;gap:13px;margin-top:21px}.complete-actions .secondary{min-height:57px}.saved-notice{font-size:11px;line-height:1.5;text-align:center;color:#877052;margin-top:15px}dialog{width:min(690px,calc(100% - 26px));max-height:calc(100svh - 32px);border:8px solid #d3a363;border-top-color:#ffedb3;border-bottom-color:#a9753c;border-radius:25px;padding:20px;background:#fff6da;color:var(--ink);box-shadow:0 20px 70px #244b4b66}dialog::backdrop{background:#284c4566;backdrop-filter:blur(5px)}.book-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.book-header h2{font-family:AnimalDisplay,sans-serif;font-size:34px;color:var(--purple);line-height:1.1}.book-header+p{font-size:13px;line-height:1.5;color:#80603d}.book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}.book-grid .locked img{filter:brightness(.12);opacity:.17}.book-grid .locked{background:#e7dfc9;border-color:#d4c4a2;box-shadow:none}.book-grid .locked b{color:#9e8b6d}.noscript{padding:20px;text-align:center;background:#fff7da}.screen h2[tabindex="-1"]:focus{outline:none}
@keyframes animal-pop{0%,100%{transform:scale(1)}45%{transform:scale(1.08) rotate(-3deg)}}
@media(min-width:900px) and (min-height:850px){.play{padding-top:96px}.progress{margin-bottom:35px}.animal-image{height:360px;width:380px}.spelling-panel{padding:30px}.play-layout{gap:35px}}
@media(max-width:850px){.play{padding:76px 18px 24px}.brand{font-size:22px}.play-layout{gap:17px;grid-template-columns:.9fr 1.1fr}.spelling-panel{padding:17px 15px;border-width:7px}.panel-top{gap:5px}.panel-top h2{font-size:24px}.word-length{font-size:9px;padding:5px 6px}.slots{gap:5px}.slot{font-size:29px;height:55px}.rack{gap:6px}.tile{flex-basis:43px;width:43px;height:53px;font-size:29px}.animal-image{width:260px;height:260px}.clue{font-size:14px;padding:10px 15px}.ground{bottom:56px}.primary{font-size:22px}.feedback{font-size:12px}}
@media(max-width:650px){.topbar{padding:11px 12px;gap:8px}.brand{font-size:20px;max-width:125px;line-height:.95}.brand span{display:block}.tools{gap:6px}.tool-button{padding:6px 10px;min-height:44px;font-size:11px;border-radius:13px;gap:5px}.tool-button svg{width:21px;height:21px}.tool-button b{font-size:10px;margin-left:3px}.sound-button{width:44px;padding:6px}.welcome{min-height:620px}.welcome h1{font-size:clamp(53px,12vw,74px);padding-top:85px;letter-spacing:-1px}.title-friends{width:95%;height:clamp(190px,calc(100svh - 435px),330px);bottom:214px}.title-friends .friend-cat{margin-left:-15px;margin-right:-15px;width:39%}.start-dock{width:min(390px,calc(100% - 24px));padding:10px 11px 13px;bottom:18px;border-width:6px}.mode-picker{margin-bottom:12px}#modeOptions{gap:7px}.mode-option label{font-size:11px;padding:5px 2px;min-height:82px}.mode-option label>span{font-size:9px}.start-button{font-size:28px;min-height:54px;width:190px}.play{padding:70px 10px 20px}.round-bar{font-size:11px;gap:7px}.round-bar p{font-size:10px;padding:6px 9px}.round-bar>span{font-size:12px;padding:7px 10px}.menu-button{padding:6px 13px;font-size:11px;min-height:44px}.progress{height:20px;margin:4px 0 13px;gap:10px}.progress span{height:15px;width:15px;border-width:2px}.play-layout{grid-template-columns:1fr;gap:14px}.animal-stage{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(0,1fr);gap:8px 12px;align-items:center;max-width:490px;width:100%;margin:auto;min-height:157px;padding:0 5px}.animal-image{grid-column:1;grid-row:1/3;width:155px;height:157px;justify-self:center}.clue{grid-column:2;grid-row:1;font-size:12px;padding:10px 12px;border-radius:17px;margin:0;align-self:end}.clue:after{left:-8px;bottom:14px;width:12px;height:12px;transform:rotate(135deg);border-width:2px}.listen-button{grid-column:2;grid-row:2;font-size:11px;padding:7px 10px;min-height:44px;margin:0;justify-self:center;align-self:start;gap:5px}.listen-button svg{width:19px;height:19px}.speech-notice{grid-column:1/-1;grid-row:3;margin:0;max-width:100%;font-size:10px}.ground{bottom:8px;left:0;width:45%;height:14px}.spelling-panel{width:min(500px,100%);margin:auto;padding:13px 16px 15px;border-width:6px;border-bottom-width:9px;border-radius:21px}.panel-top{margin-bottom:14px}.panel-top h2{font-size:24px}.word-length{font-size:10px}.slots{gap:5px;margin-bottom:16px;min-height:54px}.slot{height:53px;font-size:31px;max-width:57px}.rack-wrap{padding:10px 7px 13px;border-radius:13px;border-top-width:4px}.rack{gap:7px;min-height:51px}.tile{height:51px;width:45px;flex-basis:45px;font-size:29px;border-radius:11px;border-bottom-width:5px}.help-actions{margin-top:11px}.secondary{font-size:12px;padding:7px 14px;min-height:44px}.feedback{min-height:51px;padding:9px 0;font-size:12px}.check-button{min-height:53px;font-size:23px;border-radius:14px}.complete{padding:77px 14px 22px}.reward-board{padding:18px 15px 21px;border-width:6px;border-bottom-width:9px;border-radius:23px}.trophy{width:65px;height:65px}.reward-board h2{font-size:34px}.round-stickers{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:19px 0}.sticker img{height:85px}.sticker b{font-size:12px}.round-summary{font-size:12px}.complete-actions{flex-direction:column;gap:11px;margin-top:18px}.complete-actions>*{width:100%}.saved-notice{font-size:10px;margin-top:12px}.book-header h2{font-size:27px}.book-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.book-grid .sticker img{height:77px}dialog{padding:17px 13px;border-width:6px}.book-header+p{font-size:12px}}
@media(max-width:350px){.topbar{padding:10px 9px}.brand{font-size:17px;max-width:90px}.tool-button{font-size:10px;padding:6px 8px;gap:4px}.tool-button b{font-size:9px}.tool-button svg{width:19px;height:19px}.tools{gap:4px}.sound-button{width:44px}.welcome h1{font-size:53px;padding-top:90px}.start-dock{width:calc(100% - 18px);padding-left:8px;padding-right:8px}.mode-option label{font-size:10px}.mode-option label>span{font-size:9px}.play{padding:69px 6px 17px}.animal-stage{grid-template-columns:105px minmax(0,1fr);gap:7px 8px;min-height:142px;padding:0}.animal-image{height:142px;width:113px}.clue{font-size:11px;padding:9px 10px;border-width:2px}.listen-button{font-size:10px;padding:7px 8px}.spelling-panel{padding:12px 10px 13px;border-width:5px;border-bottom-width:8px}.panel-top h2{font-size:22px}.word-length{font-size:9px}.slots{gap:2px;margin-bottom:15px;min-height:50px}.slot{height:50px;min-height:44px;font-size:28px}.rack{gap:5px}.tile{flex-basis:44px;width:44px;min-height:48px;height:49px;font-size:28px}.rack[data-length="6"]{display:grid;grid-template-columns:repeat(3,48px);gap:8px}.rack[data-length="6"] .tile{width:48px}.rack-wrap{padding:10px 5px 13px}.feedback{font-size:11px;min-height:49px}.sticker img{height:70px}.sticker b{font-size:10px}.reward-board h2{font-size:29px}}
@media(max-height:650px) and (min-width:651px){.play{padding-top:69px}.progress{margin-bottom:12px}.animal-image{height:245px;width:260px}.clue{font-size:14px;padding:9px 15px}.spelling-panel{padding:14px 18px}.panel-top{margin-bottom:13px}.slots{margin-bottom:16px}.feedback{min-height:49px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:650px){.animal-image{--animal-scale:1.35;transform:scale(var(--animal-scale))}.animal-stage.celebrate .animal-image{animation:animal-pop-mobile .5s cubic-bezier(.2,.8,.3,1.3)}}
@keyframes animal-pop-mobile{0%,100%{transform:scale(var(--animal-scale))}45%{transform:scale(calc(var(--animal-scale) + .08)) rotate(-3deg)}}
@media(prefers-reduced-motion:reduce){.animal-stage.celebrate .animal-image{animation:none!important}}

@media(max-width:650px){.app{background-image:url('./assets/garden-world-portrait.webp')}}
