/* A bright playground, with large controls and calm reading surfaces. */
.play-guide{display:flex;align-items:center;justify-content:center;gap:12px;background:#f2ebff;border-radius:22px;padding:9px 15px;font-size:20px;font-weight:800;margin:14px 0}.play-guide img{width:66px;height:66px;flex-shrink:0}.star-path{display:flex;justify-content:center;gap:14px;font-size:36px;color:#b6a1d3;margin:15px 0}.star-path .now{color:#985bd4;background:#f3e9ff;border-radius:50%;outline:3px dashed #bd95e3}.star-path span{width:49px;height:49px;display:grid;place-items:center}.object{position:relative;min-width:64px;min-height:64px}.count-badge{position:absolute;right:-7px;top:-10px;background:#5c3893;color:white;border:3px solid white;border-radius:50%;font-size:20px;min-width:31px;padding:1px 5px}.count-help{font-weight:800;color:#623d90;min-height:25px;margin:12px 0}.balloon{min-width:68px;min-height:72px;border:3px solid #e1c8fa!important}.balloon.popped{background:#f0edf5!important;opacity:.45}.answers button.correct:disabled{opacity:1;transform:scale(1.06)}#next{display:block;min-width:240px;margin:22px auto 4px;font-size:24px}#next[hidden]{display:none}.answers:has([data-answer="left"]){display:grid;grid-template-columns:1fr 1fr;align-items:stretch}.answers [data-answer="left"],.answers [data-answer="right"]{width:100%;min-width:0}.answers .objects{font-size:32px;word-break:break-all;line-height:1.6;margin:4px auto}.card p{font-size:16px}@media(max-width:700px){.play-guide{font-size:16px;gap:5px;padding:6px}.play-guide img{width:50px;height:50px}.star-path{gap:9px}.answers .objects{font-size:24px}.answers:has([data-answer="left"]){gap:10px}}
body{background:radial-gradient(circle at 10% 20%,#fff 0 3px,transparent 4px),radial-gradient(circle at 85% 60%,#fff 0 5px,transparent 6px),linear-gradient(145deg,#def8ff,#eee2ff 50%,#fff2d8);background-size:65px 65px,110px 110px,100% 100%;min-height:100vh;color:#382267}
header{max-width:1240px;background:#ffffffdf;border:3px solid white;border-radius:0 0 30px 30px;box-shadow:0 7px 0 #8151c51c;padding:18px 26px}.brand{font-size:27px;color:#6532bc}.brand span{color:#d52e79}header button{background:#ffdf55;border:3px solid white;box-shadow:0 5px 0 #ddb02d}#voice{background:#cff7fb;box-shadow:0 5px 0 #73cbd5}main{max-width:1180px;padding-top:28px}button{transition:transform .16s,box-shadow .16s}button:hover{transform:translateY(-4px)}button:active{transform:translateY(2px)}
.hero{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(120deg,#7540d8,#a448df 60%,#d650ae);border:5px solid #fff;border-radius:38px;padding:35px 42px;box-shadow:0 10px 0 #a180d14d,0 18px 45px #6236ab20;color:white;grid-template-columns:1.2fr 1fr}.hero:before{content:'';position:absolute;width:480px;height:480px;border:42px solid #ffffff0c;border-radius:50%;right:-180px;top:-210px;z-index:-1}.hero:after{content:'✦';position:absolute;right:25px;bottom:5px;font-size:90px;color:#ffd957}.hero .tag{display:inline-block;background:#fff2;padding:9px 13px;border-radius:30px;color:#fff6c5;letter-spacing:1px}.hero h1{font-size:clamp(38px,5.2vw,63px);text-shadow:0 4px 0 #4b268440;letter-spacing:-1.5px}.hero h1 em{color:#ffe266}.hero p{color:#fff;line-height:1.65;font-size:17px;max-width:420px}.primary{background:linear-gradient(#ffe96b,#ffcd42);color:#583717;box-shadow:0 6px 0 #d69b2d;border:3px solid #fff3a3;font-size:19px;padding:17px 25px}
.number-art{min-height:275px;gap:8px;padding-top:150px;align-items:flex-end}.number-art span{font-size:55px;padding:5px 18px;border:4px solid white;border-radius:22px;position:relative;z-index:2;box-shadow:0 7px 0 #45267c40}.number-art span:nth-child(2){margin-top:0;background:#9ceccf;color:#187657}.number-art span:nth-child(3){background:#ffb4d3;color:#a52860}.mascot{position:absolute;width:225px;height:225px;top:-4px;left:50%;transform:translateX(-50%);filter:drop-shadow(0 9px 0 #47257c30)}.spark{position:absolute;font-size:30px;color:#ffe76e;top:35px;left:12px;animation:twinkle 3s ease-in-out infinite}.spark.right{left:auto;right:4px;top:95px;animation-delay:1s}
.section-line{margin-top:35px}.section-line h2{font-size:28px;color:#5d3196}.tabs button{background:#fff;border:3px solid white;box-shadow:0 4px 0 #b7a1d3;color:#654490}.tabs .selected{background:#7945cf;color:white;box-shadow:0 5px 0 #4b2591;border-color:#b891f0}.grid{gap:22px}.card{position:relative;overflow:hidden;--accent:#cf4884;--pale:#fff0f7;background:var(--pale);border:4px solid white;border-radius:28px;padding:23px;min-height:245px;box-shadow:0 7px 0 color-mix(in srgb,var(--accent) 45%,white),0 10px 24px #47345d12}.card:nth-child(2){--accent:#e39820;--pale:#fff5d4}.card:nth-child(3){--accent:#5489d5;--pale:#eaf4ff}.card:nth-child(4){--accent:#9859d6;--pale:#f4eaff}.card:nth-child(5){--accent:#36a988;--pale:#dff8ef}.card:nth-child(6){--accent:#dc7749;--pale:#fff0e6}.card:nth-child(7){--accent:#4ca5c8;--pale:#e5f7ff}.card:after{content:'✦';font-size:65px;color:var(--accent);opacity:.12;position:absolute;right:15px;top:10px}.card .icon{width:76px;height:76px;display:grid;place-items:center;background:white;border-radius:24px;box-shadow:0 5px 0 #00000009;font-size:47px;margin-bottom:17px;transform:rotate(-6deg)}.card:nth-child(even) .icon{transform:rotate(6deg)}.card h3{color:#422f67;font-size:23px}.card p{color:#645677}.card small{display:inline-block;background:var(--accent);color:white;padding:9px 15px;border-radius:14px;font-size:14px;font-weight:800;margin-top:18px}.card:hover .icon{transform:rotate(0deg) scale(1.07)}
.activity{position:relative;border:5px solid white;background:linear-gradient(#fff,#fffafb);border-radius:35px;box-shadow:0 10px 0 #bea4dd60,0 16px 40px #7042a71a;padding:28px 35px}.activity .tag{color:#7c49bc;font-size:13px}.activity h1{color:#6634a5;line-height:1.2}.progress{height:15px;background:#efe8fa;border:2px solid #e5d6f8}.progress span{background:linear-gradient(90deg,#ffbd50,#ff79ad,#a476ee);border-radius:10px;transition:width .3s}.equation{background:#f4edff;border:3px dashed #ceb0f3;border-radius:25px;padding:18px;color:#7342af}.answers button{font-size:40px;min-width:100px;min-height:90px;border:4px solid white;background:#e9dcff;color:#60339a;box-shadow:0 6px 0 #b196dc}.answers button:nth-child(2){background:#ffe49d;color:#905313;box-shadow:0 6px 0 #dfbd6b}.answers button:nth-child(3){background:#bdeede;color:#246f59;box-shadow:0 6px 0 #7bbda8}.answers button.wrong{background:#ffe0da;color:#854536;box-shadow:0 6px 0 #dea598}.answers button.correct{background:#9eebbd;color:#1b5836;box-shadow:0 6px 0 #51aa77;outline:4px solid #d3ffe2}.objects button{border:3px solid #fff;background:#fff0be;box-shadow:0 4px 0 #e3c780;border-radius:18px}.objects button.counted{background:#b1f0c6;box-shadow:0 4px 0 #6eb589}.message{color:#267047}.explore button{font-size:32px;border:3px solid white;box-shadow:0 5px 0 #baa0db}.explore button:nth-child(3n){background:#ffdf8a;color:#835212;box-shadow:0 5px 0 #d5b164}.explore button:nth-child(3n+2){background:#bceede;color:#2a705b;box-shadow:0 5px 0 #85c6b1}.hint{color:#654b82;background:#ffffff90;border-radius:14px;padding:12px}footer{color:#604b7d}.celebration{position:fixed;inset:0;pointer-events:none;z-index:100;overflow:hidden}.celebration i{position:absolute;left:var(--x);top:-35px;font-style:normal;font-size:var(--size);animation:confetti-fall 1.8s ease-in var(--delay) both}.badge{animation:happy-pop .45s ease-out}.activity.win{border-color:#ffdf70;background:linear-gradient(#fffef1,#fff)}
@keyframes confetti-fall{to{transform:translateY(105vh) rotate(300deg);opacity:0}}@keyframes twinkle{50%{transform:scale(1.2) rotate(15deg)}}@keyframes happy-pop{from{transform:scale(.6)}70%{transform:scale(1.1)}to{transform:scale(1)}}
@media(max-width:700px){header{padding:12px;border-radius:0 0 22px 22px}.brand{font-size:18px}.hero{grid-template-columns:1fr;padding:25px;gap:10px}.hero h1{font-size:42px}.hero p{font-size:16px}.number-art{min-height:225px;padding-top:130px;justify-content:center}.mascot{width:185px;height:185px}.number-art span{font-size:42px}.grid{gap:14px}.card{padding:16px;min-height:255px}.card h3{font-size:20px}.card .icon{width:64px;height:64px;font-size:39px}.card small{font-size:13px;padding:8px 10px}.activity{padding:22px 14px}.activity h1{font-size:29px}.answers button{min-width:76px;font-size:34px;padding:14px}.section-line h2{font-size:25px}}
@media(max-width:390px){.grid{grid-template-columns:1fr}.brand{font-size:15px}.tabs button{font-size:13px}.hero h1{font-size:36px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.celebration{display:none}button:hover{transform:none}}
