@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fredoka:wght@400;500;600&display=swap');
.creative-cards{grid-template-columns:repeat(2,1fr)!important}.drawtools{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;margin:18px 0}.drawtools label{font-size:14px;display:flex;align-items:center;gap:8px}.drawtools input{max-width:110px;accent-color:#426840}.swatch{width:42px;height:42px;border:3px solid white;border-radius:50%;box-shadow:0 0 0 1px #dce5d6}.swatch[aria-pressed=true]{box-shadow:0 0 0 3px #426840;transform:scale(1.08)}#eraser[aria-pressed=true]{background:#e4edda}canvas{display:block;width:100%;height:auto;background:white;border:2px dashed #cad8be;border-radius:16px;touch-action:none}.piano{display:grid;grid-template-columns:repeat(8,1fr);gap:7px;margin:25px 0}.key{min-width:0;min-height:160px;background:var(--key);border:0;border-bottom:8px solid #0002;border-radius:12px;color:#263d32;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:20px;font-weight:700;font-size:16px;padding:15px 0}.key span{color:#fff9;font-size:22px}.key:active,.key.lit{transform:translateY(5px);filter:brightness(1.2);border-bottom-width:3px;outline:3px solid #426840}.note-scene{font-size:48px;padding:25px 0}.note-scene span{color:#819e60}.drawing.game-panel{max-width:850px}@media(max-width:480px){.creative-cards{grid-template-columns:1fr!important}.piano{gap:4px}.key{min-height:125px;font-size:12px;border-radius:8px}.note-scene{font-size:38px}.drawtools .back{font-size:13px}.drawing{padding-left:10px;padding-right:10px}}
:root{font-family:'DM Sans',system-ui,sans-serif;color:#243c32;background:#f7faf5;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid #365cc1;outline-offset:5px}button{color:inherit}button:disabled{cursor:default}a{color:inherit}.shell{max-width:1160px;margin:auto;padding:0 40px}header{height:112px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe8db}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;font-family:'Fredoka',sans-serif;font-size:27px;font-weight:500;line-height:1}.brandmark{background:#dfeccb;color:#416c37;border-radius:15px;font-size:38px;width:48px;height:48px;display:grid;place-items:center}.brand small{display:block;font:600 9px 'DM Sans',sans-serif;letter-spacing:1.8px;margin-top:9px}.header-actions{display:flex;gap:12px;align-items:center}.starbank{background:#fff4cf;padding:10px 17px;border:1px solid #f0e4b9;border-radius:30px}.icon-button{background:transparent;border:1px solid #dce5d6;border-radius:50%;width:43px;height:43px;font-size:20px}.welcome{display:grid;grid-template-columns:1fr 1fr;min-height:365px;align-items:center;gap:30px;margin:38px 0 45px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;color:#668061}h1,h2,h3{font-family:'Fredoka',system-ui,sans-serif;font-weight:500}h1{font-size:65px;letter-spacing:-2px;line-height:1.03;margin:19px 0}h1 em{font-style:normal;color:#648a46}.intro p{color:#6a7768;line-height:1.75;font-size:17px}.welcome-note{font-size:12px;color:#6c7e63;margin-top:23px;display:flex;align-items:center;gap:8px}.welcome-note span{color:#e0a253;font-size:22px}.forest{height:340px;position:relative;background:#e9f1dd;border-radius:48% 48% 28px 28px;overflow:hidden;isolation:isolate}.sun{position:absolute;right:44px;top:23px;color:#e9b95f;font-size:72px}.float{position:absolute;z-index:3}.alphabet{top:65px;left:35px;transform:rotate(-12deg);font:500 36px 'Fredoka';color:#688d50;background:#fffdf3;border:1px solid #dae3cb;border-radius:16px;padding:12px 15px;box-shadow:0 5px 0 #d6e1c7}.numbers{right:26px;top:139px;transform:rotate(10deg);font:500 26px 'Fredoka';color:#aa7853;background:#fff1d8;border-radius:14px;padding:13px;box-shadow:0 5px 0 #e1d9b9}.leaf{left:155px;top:29px;color:#87a770;font-size:30px}.hill{position:absolute;bottom:-80px;left:-20%;width:150%;height:220px;border-radius:50%;background:#b9d09d}.hill-front{background:#97b77b;bottom:-149px;left:-8%;transform:rotate(-12deg)}.tree{position:absolute;background:#8ca878;width:14px;height:115px;bottom:70px;border-radius:10px}.tree:before{content:'';position:absolute;width:95px;height:137px;border-radius:50%;background:#acc98d;left:-41px;top:-80px}.trunk-one{left:50px;transform:rotate(-9deg)}.trunk-two{right:50px;transform:scale(.7)}.fox{position:absolute;left:50%;bottom:50px;transform:translateX(-50%);width:168px;height:210px}.fox-body{background:#d88448;position:absolute;width:108px;height:115px;bottom:-5px;left:30px;border-radius:50% 50% 30% 30%;z-index:-1}.fox-body:after{content:'';position:absolute;background:#fff1d6;width:53px;height:80px;border-radius:50%;left:27px;top:24px}.fox-face{background:#e59553;position:absolute;top:35px;width:168px;height:130px;border-radius:42% 42% 48% 48%;overflow:hidden}.ear{position:absolute;background:#d88448;width:64px;height:83px;top:0;clip-path:polygon(0 0,100% 65%,10% 100%)}.ear.left{left:0;transform:rotate(-8deg)}.ear.right{right:0;transform:scaleX(-1) rotate(-8deg)}.ear:after{content:'';background:#713f35;position:absolute;inset:15px;clip-path:polygon(0 0,100% 65%,10% 100%)}.cheek{background:#fff3db;width:100px;height:80px;position:absolute;bottom:-3px;border-radius:50%}.cheek.left{left:-7px;transform:rotate(30deg)}.cheek.right{right:-7px;transform:rotate(-30deg)}.eye{position:absolute;width:10px;height:13px;background:#3c362c;top:59px;border-radius:50%;z-index:1}.eye.left{left:42px}.eye.right{right:42px}.nose{position:absolute;left:74px;top:92px;width:21px;height:15px;background:#3c362c;border-radius:50% 50% 70% 70%;z-index:2}.flower{position:absolute;color:#fff6d2;font-size:30px;bottom:37px}.f1{left:37px}.f2{right:42px;bottom:62px;color:#f5d29b}.f3{left:100px;bottom:15px;font-size:22px}.hello{position:absolute;bottom:17px;left:50%;transform:translateX(-50%) rotate(-3deg);background:#fffdf5;padding:11px 23px;border-radius:15px;white-space:nowrap;font:500 19px 'Fredoka';box-shadow:0 3px 0 #c7d7b4}.hello span{display:block;font:11px 'DM Sans';text-align:center;margin-top:3px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:27px}h2{font-size:32px;margin:8px 0 0}.little-label{font-size:12px;color:#7b8672}.subject-heading{display:flex;gap:10px;align-items:center;margin:26px 0 13px}.subject-heading h3{font-size:22px;margin:0}.subject-heading p{font-size:12px;color:#7a8774;margin:0 0 0 5px}.subject-icon{font-weight:700;font-size:12px;padding:7px;border-radius:8px}.math{background:#e7edcf;color:#75804a}.language{background:#eee4f5;color:#9473a9}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.activity{position:relative;text-align:left;border:1px solid var(--border);background:var(--bg);border-radius:22px;padding:23px 23px 20px;transition:transform .2s,box-shadow .2s;min-height:184px}.activity:hover{transform:translateY(-4px);box-shadow:0 8px 18px #3448280b}.card-icon{font:500 29px 'Fredoka';display:inline-flex;align-items:center;justify-content:center;height:51px;min-width:51px;background:#ffffffa6;border-radius:15px;padding:0 7px;margin-bottom:14px}.activity h3{font-size:23px;margin:0 0 6px}.activity p{font-size:13px;margin:0;color:#64715d;line-height:1.5}.card-tag{position:absolute;top:26px;right:21px;font-size:10px;letter-spacing:.6px;color:#66765e}.activity .play{position:absolute;right:21px;bottom:24px;background:#ffffffb5;border-radius:50%;width:29px;height:29px;display:grid;place-items:center;font-size:11px}footer{display:flex;justify-content:space-between;padding:33px 0;color:#7a8870;font-size:12px}footer button{font-size:12px;border:0;background:none;text-decoration:underline;color:#607956}dialog{border:1px solid #d5e0ce;border-radius:25px;padding:35px;max-width:490px;width:calc(100% - 30px);color:#243c32;line-height:1.7;background:#fcfdf8}dialog::backdrop{background:#16302570;backdrop-filter:blur(5px)}.close{float:right;background:transparent;border:0;font-size:23px;min-width:44px;min-height:44px}.muted{color:#71806a;font-size:14px}[hidden]{display:none!important}.game-top{display:flex;align-items:center;justify-content:space-between;margin:30px 0}.back,.listen{border:1px solid #dce5d6;background:#fff;border-radius:14px;padding:13px 18px;min-height:48px}.settings{display:flex;align-items:center;justify-content:center;gap:9px;margin:25px 0}.settings button{padding:12px 18px;border-radius:30px;border:1px solid #d8e1d1;background:#fff}.settings button.active{background:#426840;color:white;border-color:#426840}.game-panel{max-width:740px;margin:0 auto 50px;text-align:center;background:white;border:1px solid #e1e8db;border-radius:30px;padding:30px}.progress{display:flex;gap:8px;justify-content:center;margin-bottom:27px}.progress span{height:9px;width:50px;border-radius:10px;background:#eaf0e3}.progress span.done{background:#9eba70}.game-panel h1{font-size:32px;letter-spacing:-.6px;line-height:1.3;margin:12px 0}.puzzle{min-height:160px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;font:500 76px 'Fredoka';padding:15px}.puzzle.picture{font-size:100px}.puzzle.counting{font-size:40px;max-width:340px;margin:auto}.puzzle .unknown{color:#829b68}.answers{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:22px}.answer{background:#f0f5e7;border:2px solid #dde7d1;border-bottom:5px solid #ccdcb8;border-radius:18px;padding:23px 5px;min-height:85px;font:500 clamp(16px,3vw,35px) 'Fredoka';overflow-wrap:anywhere}.answer.correct{background:#d8edc2;border-color:#7fa854}.answer.retry{background:#fff0d7;border-color:#e2b96b}.feedback{min-height:38px;margin:22px 0 0;color:#54723c;font-weight:600}.primary{border:0;background:#426840;color:white;border-radius:17px;padding:17px 30px;font-weight:600;min-height:56px}.completion{padding:35px 10px}.completion .medal{font-size:90px}.completion p{line-height:1.7;color:#71806a}.confetti{position:fixed;pointer-events:none;inset:0;z-index:10;overflow:hidden}.confetti span{position:absolute;top:-40px;animation:fall 1.8s ease-in forwards;font-size:25px}@keyframes fall{to{transform:translateY(105vh) rotate(240deg)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media(min-width:1400px){.shell{max-width:1230px}.welcome{margin-top:45px}.forest{height:365px}.activity{min-height:195px}}@media(max-width:720px){.shell{padding:0 22px}header{height:88px}.brand{font-size:23px}.brand small{font-size:7px;letter-spacing:1.2px}.brandmark{width:40px;height:40px;font-size:32px}.header-actions{gap:7px}.icon-button{width:36px;height:36px;font-size:18px}.starbank{padding:8px 10px}.welcome{gap:12px;min-height:300px;margin:28px 0 32px}.forest{height:275px}.intro h1{font-size:48px}.intro p{font-size:14px}.eyebrow{font-size:9px;letter-spacing:1.4px}.welcome-note{font-size:10px}.fox{transform:translateX(-50%) scale(.8);bottom:26px}.alphabet{font-size:25px;left:15px;top:45px}.numbers{font-size:18px;right:10px;top:116px}.sun{right:20px;font-size:55px}.hello{padding:10px 15px;font-size:16px}.tree.trunk-one{left:20px}.activity{padding:18px;min-height:190px}.activity h3{font-size:21px}.card-tag{display:none}.activity .play{right:14px;bottom:16px}.activity p{padding-right:13px;font-size:12px}.cards{gap:11px}.card-icon{font-size:25px}.little-label{font-size:10px}.section-head h2{font-size:28px}}@media(max-width:480px){.shell{padding:0 18px}.brand small{display:none}.brand{font-size:22px;gap:7px}.header-actions{gap:6px}header{height:78px}.starbank{font-size:14px}.welcome{grid-template-columns:1fr;gap:24px;margin-top:30px}.intro{text-align:center}.intro h1{font-size:53px;line-height:1.05}.intro h1 br{display:none}.intro p{font-size:15px}.welcome-note{justify-content:center;font-size:11px;margin-top:13px}.forest{height:230px;max-width:370px;width:100%;margin:auto;border-radius:100px 100px 24px 24px}.fox{bottom:5px;transform:translateX(-50%) scale(.78)}.hello{bottom:12px}.sun{top:5px}.alphabet{top:30px;left:24px}.numbers{top:100px;right:20px}.leaf{top:12px;left:145px}.welcome .tree{bottom:37px}.cards{grid-template-columns:1fr;gap:12px}.activity{min-height:108px;padding:19px 57px 19px 89px}.card-icon{position:absolute;left:19px;top:25px;margin:0;height:52px;width:52px}.activity h3{font-size:22px;margin:3px 0 5px}.activity p{font-size:13px;padding:0}.activity .play{bottom:38px;right:17px}.subject-heading p{font-size:11px}.little-label{display:none}.subject-heading{margin-top:24px}.section-head{margin-bottom:20px}footer{gap:15px;font-size:11px;align-items:center}footer button{font-size:11px;white-space:nowrap}.game-panel{padding:22px 15px;border-radius:23px}.game-panel h1{font-size:26px}.answers{gap:8px}.answer{font-size:20px;padding:20px 3px}.answers.words{grid-template-columns:1fr}.answers.words .answer{min-height:60px;padding:15px;font-size:24px}.puzzle{font-size:62px;min-height:130px}.puzzle.picture{font-size:85px}.game-top{margin-top:20px;font-size:14px}.back,.listen{padding:11px 12px}.settings button{font-size:13px}.settings{margin:20px 0}}

#mathcards,#wordcards{grid-template-columns:repeat(2,1fr)}.letter-slots{font:500 clamp(24px,5vw,38px) 'Fredoka',sans-serif;letter-spacing:3px;color:#718a57;margin:0 0 22px;overflow-wrap:anywhere}.word-form{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.word-form label{width:100%;font-size:15px}.word-form input{width:min(100%,350px);min-height:58px;border:2px solid #cad8be;border-radius:15px;font:500 28px 'Fredoka',sans-serif;text-align:center;text-transform:uppercase;color:#243c32;background:#f7faf5}.word-form input:focus{outline:3px solid #9cba79;outline-offset:3px}.block-panel{max-width:640px;padding:20px 25px}.block-panel h1{font-size:28px;margin:7px}.block-stats{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px;margin:13px auto;max-width:320px}.block-stats b{display:block;font:500 24px 'Fredoka'}.block-stage{position:relative;width:min(100%,300px);margin:auto}.block-board{display:grid;grid-template-columns:repeat(10,1fr);gap:2px;padding:7px;background:#e5ecdf;border:2px solid #cad8be;border-radius:14px;aspect-ratio:10/16}.block-cell{background:#f8faf4;border-radius:3px;min-width:0}.block-cell.filled{box-shadow:inset 2px 2px 0 #ffffff50,inset -2px -3px 0 #00000013}.block-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f8fbf1ed;backdrop-filter:blur(3px);border-radius:14px;padding:18px}.block-overlay>span{font-size:50px}.block-overlay h2{font-size:25px}.block-overlay p{font-size:15px;line-height:1.6}.block-controls{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;max-width:400px;margin:14px auto 0}.block-controls button{grid-column:span 2;padding:12px 4px;min-height:50px;font-size:16px}.block-controls .block-drop{grid-column:span 3;font-size:14px}.block-controls button:disabled{opacity:.5}.block-panel .feedback{font-size:14px;margin-top:12px}.block-key-help{font-size:12px}.progress span{width:35px}@media(max-width:480px){#mathcards,#wordcards{grid-template-columns:1fr}.block-panel{padding:15px 12px}.block-stage{width:min(100%,240px)}.block-panel .eyebrow{font-size:8px}.block-controls{gap:6px}.block-panel .muted{display:none}.progress{gap:5px}.letter-slots{letter-spacing:1px}.word-form .primary{width:100%}}
.coloring-paper{position:relative}.coloring-paper .coloring-outline{position:absolute;inset:0;pointer-events:none;border-color:transparent;background:transparent}.coloring-chooser p{font-size:14px;color:#607956}.coloring-chooser button[aria-pressed=true]{background:#e4edda;border-color:#829b68}.coloring-chooser .drawtools{gap:8px}.coloring-chooser button{font-size:14px;padding:10px 13px}
.keyboard-slots{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;letter-spacing:0}.letter-box{min-width:27px;border-bottom:3px solid #b3c79a;line-height:1.4;padding:0 3px;color:#8aa376}.letter-box.filled{color:#355c43;border-color:#62854b}.letter-keyboard{width:100%;max-width:540px}.keyboard-row{display:flex;justify-content:center;gap:4px;margin:6px 0}.letter-key{flex:1;max-width:46px;min-width:0;height:49px;padding:0;border:1px solid #cddbbd;border-bottom:4px solid #b5c99e;border-radius:9px;background:#f0f5e7;color:#304d39;font:500 21px Fredoka,system-ui,sans-serif;touch-action:manipulation}.letter-key:active{transform:translateY(2px);border-bottom-width:2px;background:#dcebc9}.letter-key:disabled{opacity:.6}.keyboard-tools{display:flex;justify-content:flex-end;margin:10px 0}.keyboard-tools .back{padding:9px 19px}.keyboard-instruction{margin:0;font-size:14px;color:#607956;width:100%}.flying-letter{position:fixed;pointer-events:none;z-index:1000;font:500 26px Fredoka,system-ui,sans-serif;color:#426840}.word-form>.primary{width:100%;max-width:300px}@media(max-width:480px){.letter-key{font-size:17px;height:46px;border-radius:6px}.keyboard-row{gap:3px}.letter-box{min-width:21px;font-size:26px}.keyboard-slots{gap:4px}.word-form{gap:8px}.word-form .keyboard-tools{margin:6px 0}.game-panel:has(.letter-keyboard){padding:18px 10px}.game-panel:has(.letter-keyboard) .puzzle{min-height:105px;padding:5px;font-size:70px}.game-panel:has(.letter-keyboard) h1{font-size:23px}}

.paint-tools button[aria-pressed=true]{background:#426840;color:white;border-color:#426840}.paint-tools{gap:8px}.paint-tools .back{min-height:48px;padding:12px 18px}.drawing input:disabled{opacity:.4}.drawing #canvas{cursor:crosshair}.coloring-chooser .drawtools{max-width:650px;margin:12px auto 20px}@media(max-width:480px){.paint-tools .back{padding:10px 12px;font-size:14px}.coloring-chooser button{padding:10px 12px}.drawing h1{font-size:27px}}
#colors{display:grid;grid-template-columns:repeat(8,44px);gap:10px;width:max-content;max-width:100%;margin:20px auto;padding:4px}#colors .swatch{width:44px;height:44px}#colors .swatch[aria-label="Vit"]{border-color:#edf0e9}@media(max-width:480px){#colors{grid-template-columns:repeat(6,42px);gap:9px}#colors .swatch{width:42px;height:42px}}@media(max-width:350px){#colors{grid-template-columns:repeat(6,38px);gap:7px}#colors .swatch{width:38px;height:38px}}

.gallery-toolbar{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;background:#f0f5e7;border-radius:18px;padding:17px;margin:18px 0 24px}.gallery-toolbar .primary,.gallery-toolbar .back{min-height:48px;padding:12px 18px;font-size:15px}.gallery-status{flex-basis:100%;font-size:13px;line-height:1.5;margin:3px 0 0;color:#607956}.art-gallery{max-width:800px;padding:26px;max-height:90dvh;overflow-y:auto}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:20px 0}.gallery-card{padding:0 0 13px;background:#f7faf5;border:1px solid #d6e2ca;border-radius:16px;overflow:hidden;text-align:left;min-width:0}.gallery-card img{display:block;width:100%;aspect-ratio:1200/760;object-fit:contain;background:white;border-bottom:1px solid #e2eadc}.gallery-card strong,.gallery-card span{display:block;margin:8px 12px 0}.gallery-card strong{font:500 20px Fredoka,system-ui,sans-serif}.gallery-card span{font-size:12px;color:#71806a}.gallery-message{font-size:14px}.gallery-storage-note{font-size:12px;line-height:1.6;color:#71806a;border-top:1px solid #dfe8d8;padding-top:15px}@media(max-width:480px){.gallery-toolbar{padding:13px;gap:8px}.gallery-toolbar .primary,.gallery-toolbar .back{padding:12px 11px;font-size:14px}.gallery-status{font-size:12px}.art-gallery{padding:22px 16px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gallery-card strong{font-size:18px}}

.gallery-item{min-width:0;border:1px solid #d6e2ca;background:#f7faf5;border-radius:16px;overflow:hidden}.gallery-item .gallery-card{display:block;width:100%;border:0;border-radius:0}.gallery-remove{display:block;width:calc(100% - 24px);margin:0 12px 12px;min-height:44px;border:1px solid #e6c7bc;border-radius:10px;background:#fff2eb;color:#92543f;font-size:14px}.gallery-undo{margin:4px 0 10px}.gallery-delete-confirm img{display:block;max-width:260px;width:100%;margin:16px auto;background:white;border:1px solid #dce6d4;border-radius:14px}.gallery-delete-confirm h2{text-align:center}

.coloring-chooser .drawtools{max-width:760px}.coloring-chooser .picture-template{display:inline-flex;flex-direction:column;align-items:center;justify-content:space-between;gap:7px;width:145px;min-height:120px;padding:7px 7px 10px;white-space:normal;line-height:1.3}.picture-template img{width:100%;height:80px;object-fit:contain;background:white;border-radius:8px}.picture-template[aria-pressed=true]{box-shadow:0 0 0 2px #729052}@media(max-width:480px){.coloring-chooser .picture-template{width:calc(50% - 6px);font-size:13px}.picture-template img{height:85px}}
/* Allow scrolling while preventing pinch and double-tap page zoom. Drawing keeps its own pointer gestures. */
html,body,body *:not(canvas){touch-action:pan-x pan-y}
