@import "https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&display=swap";:root{--ink:#5b4a3f;--muted:#a08a5a;--yellow:#ffc83d;--yellow-dk:#e0a400;--pink:#ff8fab;--sky1:#fff3c4;--sky2:#fffaf0;--grass1:#cdeaa8;--grass2:#b6df8e;color:var(--ink);-webkit-tap-highlight-color:transparent;font-family:Fredoka,Arial Rounded MT Bold,ui-rounded,system-ui,sans-serif}*{box-sizing:border-box;margin:0}html,body,#root{height:100%}body{background:var(--sky1);overscroll-behavior:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:manipulation}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;background:0 0;border:0}.screen{width:100%;height:100dvh;padding:max(12px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));background:linear-gradient(var(--sky1) 0%, var(--sky2) 58%, var(--grass1) 58%, var(--grass2) 100%);flex-direction:column;align-items:center;display:flex;position:relative;overflow:hidden}.big-btn{background:#fff;border-radius:999px;justify-content:center;align-items:center;gap:10px;min-width:84px;min-height:84px;padding:0 28px;font-size:34px;font-weight:700;transition:transform .1s;display:inline-flex;box-shadow:0 7px #0000001c}.big-btn:active{transform:translateY(5px);box-shadow:0 2px #0000001c}.big-btn span{font-size:28px}.play-btn{background:var(--yellow);color:#fff;box-shadow:0 7px 0 var(--yellow-dk);text-shadow:0 2px #0002}.play-btn:active{box-shadow:0 2px 0 var(--yellow-dk)}.icon-btn{background:#fff;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;font-size:28px;display:flex;box-shadow:0 5px #0000001a}.icon-btn:active{transform:translateY(3px);box-shadow:0 2px #0000001a}.pip{cursor:pointer;overflow:visible}.pip .pip-body{transform-origin:60px 105px;animation:2.4s ease-in-out infinite bob}.pip .pip-eyes{transform-origin:60px 41px;animation:4s infinite blink}.pip-happy .pip-body,.pip-cheer .pip-body{animation:.5s ease-in-out infinite alternate hop}.pip-think .pip-body{animation:1.2s ease-in-out infinite alternate tilt}@keyframes bob{50%{transform:translateY(-4px)scaleY(1.02)}}@keyframes blink{0%,94%,to{transform:scaleY(1)}97%{transform:scaleY(.1)}}@keyframes hop{0%{transform:translateY(0)}to{transform:translateY(-14px)rotate(-3deg)}}@keyframes tilt{0%{transform:rotate(-6deg)}to{transform:rotate(6deg)}}.sun .sun-rays{transform-origin:50px 50px;animation:24s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.flower.grow{transform-origin:bottom;animation:1.2s cubic-bezier(.3,1.6,.5,1) both grow}@keyframes grow{0%{transform:scale(0)}}.confetti{pointer-events:none;z-index:50;position:fixed;top:45%;left:50%}.confetti i{width:12px;height:12px;animation:1.3s cubic-bezier(.15,.7,.4,1) forwards confetti;position:absolute}@keyframes confetti{0%{opacity:1;transform:translate(0)rotate(0)}80%{opacity:1}to{transform:translate(var(--x), calc(var(--y) + 160px)) rotate(var(--r));opacity:0}}.splash{cursor:pointer;justify-content:center;gap:18px}.splash-sun{opacity:.9;position:absolute;top:-40px;right:-40px}.splash-title{text-align:center;font-size:clamp(38px,9vw,72px);line-height:1.05}.splash-title span{color:var(--yellow-dk);display:block}.start-btn{background:var(--yellow);color:#fff;width:130px;height:130px;box-shadow:0 9px 0 var(--yellow-dk);padding:0;font-size:56px;animation:1.6s ease-in-out infinite pulse}@keyframes pulse{50%{transform:scale(1.08)}}.home-top{justify-content:space-between;align-items:flex-start;width:100%;display:flex}.hello{margin-top:8px;font-size:clamp(40px,9vw,64px)}.hello span{color:var(--yellow-dk)}.home-sun{margin:-6px -6px 0 0}.track-tabs{gap:14px;margin-top:4px;display:flex}.track-tab{background:#fff;border-radius:999px;padding:10px 34px;font-size:34px;font-weight:700;box-shadow:0 6px #0000001a}.track-tab.on{background:var(--pink);color:#fff;box-shadow:0 6px #e06b8a}.path{flex:1;grid-template-columns:repeat(3,1fr);align-content:center;gap:14px 8px;width:100%;max-width:980px;padding:8px 0;display:grid}@media (aspect-ratio>=1){.path{grid-template-columns:repeat(6,1fr)}}.stone-wrap{flex-direction:column;justify-content:flex-end;align-items:center;min-height:150px;display:flex}@media (aspect-ratio>=1){.stone-wrap.high{transform:translateY(-24px)}.stone-wrap.low{transform:translateY(24px)}}.stone{color:#fff;border-radius:50%;justify-content:center;align-items:center;width:clamp(70px,22vw,104px);height:clamp(70px,22vw,104px);font-size:clamp(30px,8vw,44px);font-weight:700;display:flex;position:relative;box-shadow:0 7px #0000001f}.stone.done{background:var(--yellow)}.stone.now{background:var(--pink);box-shadow:0 0 0 7px #fff, 0 0 0 12px var(--pink), 0 10px 20px #ff8fab88;animation:1.8s ease-in-out infinite pulse}.stone.open{background:#7cc0f0}.stone.lock{background:#ece4cf;font-size:26px}.stone-ring{pointer-events:none;background:conic-gradient(var(--yellow) var(--p), transparent 0);border-radius:50%;position:absolute;inset:-18px;-webkit-mask:radial-gradient(circle,#0000 62%,#000 63% 68%,#0000 69%);mask:radial-gradient(circle,#0000 62%,#000 63% 68%,#0000 69%)}.path.many{grid-template-columns:repeat(5,1fr);gap:6px 4px}.path.many .stone-wrap{min-height:clamp(104px,17dvh,200px)}.path.many .stone{width:clamp(54px,15vw,116px);height:clamp(54px,15vw,116px);font-size:clamp(22px,6vw,46px)}.path.many .stone.lock{font-size:clamp(16px,4vw,26px)}.path.many .stone-label{padding:2px 6px;font-size:clamp(11px,2.8vw,18px)}.path.many .pip{width:clamp(44px,12vw,78px);height:clamp(44px,12vw,78px)}@media (aspect-ratio>=1){.path.many .stone-wrap.high{transform:translateY(-10px)}.path.many .stone-wrap.low{transform:translateY(10px)}}.stone-label{text-align:center;white-space:nowrap;background:#fffc;border-radius:12px;margin-top:10px;padding:2px 10px;font-size:16px}.home-bottom{align-items:center;gap:16px;padding-bottom:6px;display:flex}.play-btn{min-width:200px}.garden-btn{gap:4px;padding:0 22px}.parent-gate{left:max(10px, env(safe-area-inset-left));bottom:max(10px, env(safe-area-inset-bottom));color:#0005;background:#fff6;border-radius:50%;width:44px;height:44px;font-size:22px;position:absolute}.parent-gate.holding{animation:2s linear forwards holding}@keyframes holding{to{background:var(--pink);color:#fff;transform:scale(1.3)}}.game-top{justify-content:space-between;align-items:center;gap:10px;width:100%;display:flex}.dots{gap:10px;display:flex}.dots i{border:3px solid var(--pink);background:#fff;border-radius:50%;width:20px;height:20px;transition:all .3s}.dots i.now{transform:scale(1.25)}.dots i.on{background:var(--pink)}.prompt{text-align:center;background:#fff;border-radius:30px;max-width:94%;margin-top:14px;padding:12px 26px;font-size:clamp(24px,6vw,38px);font-weight:600;box-shadow:0 6px #0000001a}.visual{flex-wrap:wrap;justify-content:center;align-items:center;margin-top:12px;display:flex}.visual.big{text-shadow:0 6px #0000000f;font-size:clamp(80px,22vw,150px);font-weight:700;line-height:1;animation:.5s cubic-bezier(.3,1.6,.5,1) pop}.visual.count{background:#fff8;border-radius:26px;gap:6px;max-width:560px;padding:8px 12px}.count-item{font-size:clamp(40px,10vw,62px);line-height:1.1;animation:.4s backwards pop;position:relative}.count-item.counted{transform:scale(1.1)}.count-item b{background:var(--pink);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;font-size:18px;display:flex;position:absolute;top:-6px;right:-6px}.visual.add{background:#fff8;border-radius:26px;gap:12px;padding:8px 18px;font-size:clamp(32px,8vw,48px)}.visual.add .op{color:var(--ink);font-size:1.3em;font-weight:700}.visual.add .q{color:var(--pink)}.visual.word{gap:8px}.word-letter{color:var(--ink);background:#fff;border-radius:22px;padding:6px 16px;font-size:clamp(64px,16vw,120px);font-weight:700;line-height:1;box-shadow:0 6px #0000001a}.word-letter:active{color:var(--pink);transform:translateY(4px)}.choices{flex-wrap:wrap;flex:1;justify-content:center;align-items:center;gap:clamp(12px,3vw,28px);width:100%;max-width:900px;padding-bottom:90px;display:flex}.choice{--size:clamp(110px, min(30vw, 30dvh), 260px);width:var(--size);height:var(--size);background:var(--c);color:#fff;font-weight:700;font-size:calc(var(--size) * .6);text-shadow:0 3px #0000001f;border-radius:34px;justify-content:center;align-items:center;line-height:1;transition:opacity .3s,transform .2s,box-shadow .2s;animation:.45s cubic-bezier(.3,1.6,.5,1) backwards pop;display:flex;box-shadow:0 9px #0000002a}.choices.n2 .choice{--size:clamp(130px, min(40vw, 34dvh), 290px)}.choices.n4 .choice{--size:clamp(100px, min(40vw, 24dvh), 220px)}.choice.emoji{font-size:calc(var(--size) * .58);text-shadow:none;background:#fff}.choice.group{--size:clamp(140px, min(42vw, 30dvh), 260px);background:#fff}.choice:active{transform:translateY(6px);box-shadow:0 3px #0000002a}.choice.wrong{opacity:.55;animation:.5s wiggle}.choice.fade{opacity:.25;transform:scale(.9)}.choice.right{box-shadow:0 0 0 8px #fff, 0 0 0 14px var(--yellow), 0 0 50px var(--yellow);animation:.6s bounce;transform:scale(1.15)}.choice.hint{animation:1s ease-in-out infinite glow}@keyframes pop{0%{transform:scale(0)}}@keyframes wiggle{20%,60%{transform:translate(-12px)rotate(-4deg)}40%,80%{transform:translate(12px)rotate(4deg)}}@keyframes bounce{40%{transform:scale(1.3)}70%{transform:scale(1.08)}to{transform:scale(1.15)}}@keyframes glow{0%,to{transform:scale(1);box-shadow:0 9px #0000002a}50%{box-shadow:0 0 0 8px #fff, 0 0 40px 10px var(--yellow);transform:scale(1.08)}}.group{flex-wrap:wrap;place-content:center;gap:2px;max-width:92%;font-size:34px;line-height:1.15;display:flex}.choice.group .group{font-size:calc(var(--size) * .2)}.visual .group{max-width:300px;font-size:clamp(34px,8vw,64px)}.game-pip{left:max(8px, env(safe-area-inset-left));bottom:max(4px, env(safe-area-inset-bottom));position:absolute}.pic{mix-blend-mode:multiply;pointer-events:none;-webkit-user-drag:none;display:block}.choice.emoji .pic{width:86%;height:86%}.group .pic{width:1.15em;height:1.15em}.count-item .pic{width:1.25em;height:1.25em}.visual.big .big-pic{width:clamp(120px,30vw,230px);height:auto}.visual.count,.visual.add{background:#ffffffd0}.reward{justify-content:center;gap:16px}.reward-title{color:var(--yellow-dk);text-shadow:0 4px #fff;font-size:clamp(44px,11vw,80px);animation:.6s cubic-bezier(.3,1.6,.5,1) pop}.reward-stage{align-items:flex-end;gap:10px;display:flex}.reward-sub{background:#fff;border-radius:20px;padding:6px 20px;font-size:26px}.reward-btns{gap:14px;margin-top:10px;display:flex}.garden-title{background:#fffc;border-radius:20px;padding:4px 18px;font-size:clamp(22px,5vw,34px)}.garden-sun{position:absolute;top:80px;right:20px}.bee{pointer-events:none;font-size:40px;position:absolute}.bee.b1{animation:9s ease-in-out infinite fly;top:22%}.bee.b2{animation:13s ease-in-out infinite reverse fly;top:34%}@keyframes fly{0%{left:-10%;transform:translateY(0)}25%{transform:translateY(-30px)}50%{left:105%;transform:translateY(10px)scaleX(-1)}75%{transform:translateY(-20px)scaleX(-1)}to{left:-10%;transform:translateY(0)}}.garden-bed{flex-wrap:wrap-reverse;place-content:flex-start center;gap:0 4px;padding:0 16px 110px;display:flex;position:absolute;inset:50% 0 0;overflow-y:auto}.garden-flower{transform-origin:bottom;margin-top:-40px}.garden-flower.wiggle{animation:.6s sway}@keyframes sway{25%{transform:rotate(-12deg)}75%{transform:rotate(12deg)}}.garden-empty{margin-top:30px;font-size:80px}.garden-pip{position:absolute;bottom:10px;left:12px}.parent{-webkit-user-select:text;user-select:text;background:#fbf7ee;align-items:stretch;gap:14px;overflow-y:auto}.parent-head{align-items:center;gap:14px;display:flex}.parent-head h1{font-size:30px}.card{background:#fff;border-radius:20px;flex-direction:column;gap:10px;padding:16px 18px;font-size:17px;font-weight:500;line-height:1.4;display:flex;box-shadow:0 2px 10px #0000000d}.card h2{font-size:22px}.muted{color:var(--muted);font-size:15px}.lvl-row{border-top:1px solid #f2ebdc;padding:6px 0}.lvl-head{flex-wrap:wrap;justify-content:space-between;gap:8px;margin-bottom:6px;display:flex}.chips{flex-wrap:wrap;gap:5px;display:flex}.chip{text-align:center;border-radius:8px;min-width:30px;padding:2px 7px;font-size:14px;font-weight:600;display:inline-block}.chip.c0{color:#b5aa95;background:#f1ede4}.chip.c1{color:#b84a6a;background:#ffd6e0}.chip.c2{color:#8a6400;background:#ffe9a6}.chip.c4{color:#3c7a22;background:#c8eab1}.row{justify-content:space-between;align-items:center;gap:12px;display:flex}.row select{max-width:60%;font:inherit;border:1px solid #ddd;border-radius:10px;padding:6px;font-size:15px}.row input[type=checkbox]{width:26px;height:26px;accent-color:var(--pink)}.pbtn{background:#f3eee2;border-radius:14px;align-self:flex-start;padding:10px 18px;font-size:17px;font-weight:600}.pbtn.primary{background:var(--yellow);color:#fff}.pbtn.danger{color:#b33;background:#ffe1e1}.say{background:#fffaf0;justify-content:flex-start;gap:14px}.say-sets{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.pill{background:#fff;border-radius:999px;padding:6px 14px;font-size:18px;font-weight:600;box-shadow:0 3px #0000001a}.pill.on{background:var(--yellow);color:#fff}.say-q{color:var(--muted);margin-top:10px;font-size:22px}.say-card{aspect-ratio:1;width:min(78vw,52dvh);color:var(--ink);box-shadow:0 10px 0 #0000001a, 0 0 0 6px var(--yellow);background:#fff;border-radius:40px;font-size:min(48vw,32dvh);font-weight:700;line-height:1}.say-hint{color:var(--muted);min-height:28px;font-size:20px}.say-btns{gap:16px;display:flex}.say-btn{color:#fff;border-radius:20px;flex-direction:column;align-items:center;min-width:150px;padding:14px 18px;font-size:30px;font-weight:700;line-height:1.1;display:flex}.say-btn span{font-size:15px;font-weight:600}.say-btn.yes{background:#6dbb55;box-shadow:0 6px #4e9a38}.say-btn.no{background:#e0a0a0;box-shadow:0 6px #c07d7d}@media (width>=700px) and (height>=600px){.hello{font-size:76px}.track-tab{padding:12px 46px;font-size:44px}.stone{width:136px;height:136px;font-size:56px}.stone-wrap{min-height:210px}.stone-label{font-size:21px}.big-btn{min-width:100px;min-height:100px;font-size:42px}.big-btn span{font-size:34px}.play-btn{min-width:260px}.icon-btn{width:72px;height:72px;font-size:34px}.dots i{width:26px;height:26px}.prompt{padding:14px 36px;font-size:46px}.visual.big{font-size:190px}.count-item{font-size:84px}.count-item b{width:36px;height:36px;font-size:22px}.word-letter{font-size:150px}.choice{border-radius:44px}.choices{padding-bottom:120px}.reward-title{font-size:96px}.reward-sub{font-size:32px}.garden-title{font-size:40px}.say-card{font-size:min(40vw,30dvh)}.parent{padding-left:max(40px,8vw);padding-right:max(40px,8vw)}.card{font-size:19px}}@media (prefers-reduced-motion:reduce){*,:before,:after{animation-duration:10ms!important;animation-iteration-count:1!important}}
