:root{--paper:#f8f7ed;--ink:#365c4e;--muted:#7c8d7c}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,summary:focus-visible{outline:4px solid #4f8071;outline-offset:5px}button:disabled{cursor:default}a{text-decoration:none;color:inherit}svg{display:block;width:100%;height:100%}.app{max-width:1080px;margin:auto;padding:18px 30px 24px}header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px}.home,.sound,.listen{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dce1cf;border-radius:18px;background:#fffdf3;min-height:52px;padding:10px 15px;font-size:13px}.icon{width:24px;height:24px;display:inline-block}.brand{font-size:17px;font-weight:700;letter-spacing:2px}.brand small{display:block;font-size:10px;color:var(--muted);font-weight:400;letter-spacing:2px;margin-top:5px;text-align:center}.heading{display:flex;justify-content:space-between;align-items:end;margin:24px 3px 18px;gap:20px}.eyebrow{font-size:10px;letter-spacing:2px;color:#8d9d81;margin:0 0 7px}h1{font-size:30px;letter-spacing:2px;margin:0;line-height:1.4}.little-note{font-size:12px;color:var(--muted);margin:0}.play-shell{background:#fffdf5;border:1px solid #dce4d2;border-radius:30px;padding:10px;box-shadow:0 9px 30px #40644406}.stage{position:relative;overflow:hidden;border-radius:22px;min-height:440px;background:#e9eddb;isolation:isolate}.stage:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 10% 0,#fff5d9 0,transparent 45%),radial-gradient(ellipse at 80% 20%,#dfebdf 0,transparent 40%);pointer-events:none}.game-world{position:relative;min-height:440px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 35px 20px;gap:22px}.visual-instruction{display:flex;align-items:center;gap:12px;background:#fffcf0e8;border:1px solid #fff;padding:8px 20px;border-radius:30px;min-height:54px;box-shadow:0 3px 10px #506e3a06}.visual-instruction .mini{width:38px;height:38px}.flow-arrow{font-size:25px;color:#b8aa80}.hint-hand{display:block;width:34px;height:38px;animation:hand-tap 2.4s ease-in-out infinite;pointer-events:none}.hint-hand svg{fill:#fff7e4;stroke:#9e906c;stroke-width:2;stroke-linejoin:round}.shape-board{display:flex;justify-content:space-around;gap:20px;width:min(650px,100%);background:#e3c7a5;border:8px solid #f4e1bd;border-radius:38px;padding:18px 20px;box-shadow:0 7px 0 #c8ad8c,0 13px 25px #7c674b15}.shape-slot{position:relative;border:0;background:transparent;padding:6px;width:140px;height:140px;border-radius:24px;transition:background .3s,transform .3s}.shape-slot .shape{filter:drop-shadow(0 3px 0 #a7907426)}.shape-slot:not(.filled) .shape{fill:#bea385;stroke:#ad9274;stroke-width:2}.shape-slot.target{background:#fff5db65;box-shadow:inset 0 0 0 3px #fffcde;animation:target-glow 2.6s ease-in-out infinite}.shape-slot.filled{animation:pop .4s ease-out}.shape-row{display:flex;justify-content:center;align-items:center;gap:35px;min-height:120px;width:100%}.shape-piece{position:relative;padding:10px;width:104px;height:104px;border:3px solid transparent;background:transparent;border-radius:26px;touch-action:none;user-select:none;-webkit-user-select:none;transition:background .25s}.shape-piece .shape{stroke:#ffffff8a;stroke-width:2;filter:drop-shadow(0 5px 0 #6c5b4420)}.shape-piece.selected{background:#fffaf0;box-shadow:0 4px 10px #5574500a;border-color:#98b18b}.shape-piece.placed{visibility:hidden}.shape-piece.dragging{z-index:5;transition:none;opacity:.9;pointer-events:none}.shape-piece svg{pointer-events:none}.garden-world{gap:9px;padding-top:21px}.garden-bed{display:flex;justify-content:space-between;align-items:flex-end;width:min(820px,100%);gap:12px;position:relative}.flower-pot{width:30%;height:284px;position:relative;background:none;border:0;border-radius:45px;padding:0;touch-action:manipulation;user-select:none}.flower-pot svg{overflow:visible;pointer-events:none}.flower-pot:not(:disabled){background:linear-gradient(0deg,#fffbec66,transparent 40%)}.flower-pot .tap-badge{position:absolute;bottom:15%;left:50%;width:44px;height:44px;margin-left:-22px;border-radius:50%;background:#fffdf0d9;box-shadow:0 4px 10px #87986b0c;padding:10px;animation:hand-tap 2.8s infinite}.flower-pot.bloomed .tap-badge{display:none}.flower-pot .growing{animation:sprout .7s cubic-bezier(.2,.8,.3,1.2);transform-origin:100px 225px}.flower-pot .bloom{animation:pop .6s ease-out}.flower-pot.watered .droplets{animation:rain .65s ease-out both}.droplets{opacity:0}.flower-pot.bloomed svg{animation:sway 5s ease-in-out infinite}.grass-edge{width:calc(100% + 40px);height:18px;margin-top:-24px;position:relative;background:#bccca8;border-radius:50% 50% 0 0;box-shadow:0 18px 0 18px #ccd7b4}.peek-world{gap:24px;padding-top:23px}.peek-row{display:flex;align-items:end;justify-content:space-around;gap:18px;width:min(820px,100%)}.peek-door{width:30%;height:263px;border:0;border-radius:100px 100px 24px 24px;background:none;position:relative;padding:0;touch-action:none;user-select:none}.peek-door .curtain{transform-origin:100px 40px;transition:transform .75s cubic-bezier(.2,.6,.3,1),opacity .5s}.peek-door.revealed .curtain{transform:translateY(-160px) scaleY(.05);opacity:0}.peek-door .friend{transition:transform .6s;transform:translateY(16px)}.peek-door.revealed .friend{transform:translateY(0);animation:friend-pop .7s ease-out}.peek-door .knob{animation:hand-tap 2.6s infinite;transform-origin:100px 185px}.peek-door.revealed .knob{display:none}.peek-door .peek-ears{animation:ears 4s ease-in-out infinite;transform-origin:100px 105px}.peek-door.revealed .peek-ears{display:none}.peek-door:nth-child(2) .knob,.peek-door:nth-child(2) .peek-ears{animation-delay:.8s}.peek-door:nth-child(3) .knob,.peek-door:nth-child(3) .peek-ears{animation-delay:1.6s}.controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 17px 10px;min-height:88px}.status-wrap{display:flex;align-items:center;gap:13px}.progress{display:flex;gap:6px}.progress i{width:13px;height:13px;border-radius:50%;background:#e4e7d6;border:2px solid #e4e7d6;transition:background .4s}.progress i.done{background:#93b28b;border-color:#93b28b}.status{font-size:16px;line-height:1.5;font-weight:600}.status small{display:block;font-size:11px;font-weight:400;color:#8d9780;margin-top:4px}.controls-right{display:flex;gap:9px;align-items:center}.replay{border:0;border-radius:17px;background:#597f65;color:#fffbea;min-height:54px;padding:10px 18px;display:flex;align-items:center;gap:8px;font-size:13px}.replay:active,.listen:active{transform:scale(.96)}.replay[hidden]{display:none}.intro-overlay{position:absolute;inset:0;background:#e9eedb99;backdrop-filter:blur(6px);z-index:10;display:grid;place-items:center;padding:20px}.intro-overlay[hidden]{display:none}.intro-card{padding:26px 40px 24px;background:#fffaf0;border:1px solid #fff;border-radius:30px;max-width:420px;box-shadow:0 10px 50px #35564110;text-align:center}.intro-art{width:130px;height:100px;margin:auto auto 16px}.intro-card h2{font-size:24px;letter-spacing:2px;margin:6px 0 8px}.intro-card p{font-size:12px;line-height:1.8;color:#89977d;margin:10px 0}.start{border:0;background:#5a8268;color:#fffcef;width:96px;height:76px;border-radius:26px;margin:8px auto 4px;display:grid;place-items:center;box-shadow:0 5px 0 #dce3c9}.start svg{width:30px;height:30px;fill:currentColor}.start:active{transform:translateY(3px);box-shadow:0 2px 0 #dce3c9}.start-note{font-size:10px!important;margin-bottom:0!important}.success-decoration{position:absolute;inset:0;pointer-events:none;z-index:4;overflow:hidden}.success-decoration span{position:absolute;font-size:24px;color:#d4b572;animation:confetti 1.6s ease-out both}.parent-note{font-size:11px;color:#89967f;line-height:1.9;margin:17px 10px 0;text-align:center}.parent-note summary{cursor:pointer;min-height:40px;display:flex;justify-content:center;align-items:center;gap:8px}.parent-note p{max-width:700px;margin:0 auto 10px}.privacy-link{font-size:10px;color:#91a085;text-align:center;margin:12px 0 0}.privacy-link a{padding:10px;display:inline-block}body[data-game=garden] .stage{background:#e0eddf}body[data-game=peekaboo] .stage{background:#eee3d0}.no-js{padding:30px;text-align:center;line-height:1.8}
@keyframes hand-tap{0%,35%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(5px) scale(.92)}65%{transform:translateY(0) scale(1)}}@keyframes target-glow{0%,100%{box-shadow:inset 0 0 0 3px #fff9df}50%{box-shadow:inset 0 0 0 6px #fff9df}}@keyframes pop{0%{transform:scale(.7)}65%{transform:scale(1.06)}100%{transform:scale(1)}}@keyframes sprout{from{transform:scaleY(.5)}to{transform:scaleY(1)}}@keyframes rain{0%{opacity:0;transform:translateY(-25px)}30%{opacity:1}100%{opacity:0;transform:translateY(45px)}}@keyframes sway{0%,100%{transform:rotate(-1.5deg)}50%{transform:rotate(1.5deg)}}@keyframes ears{0%,65%,100%{transform:translateY(0)}75%,85%{transform:translateY(-8px)}}@keyframes friend-pop{0%{transform:translateY(20px)}65%{transform:translateY(-7px)}100%{transform:translateY(0)}}@keyframes confetti{from{opacity:0;transform:translateY(30px) rotate(-20deg) scale(.6)}40%{opacity:1}to{opacity:0;transform:translateY(-90px) rotate(70deg) scale(1.2)}}
@media(max-width:760px){.app{padding:12px 18px 20px}.brand{font-size:14px;letter-spacing:1px}.brand small{font-size:9px}.home,.sound{min-height:50px;padding:9px 11px;font-size:11px}.heading{margin-top:20px}h1{font-size:25px}.little-note{font-size:10px}.game-world{padding:26px 18px 18px;min-height:420px;gap:24px}.stage{min-height:420px}.shape-board{padding:13px 10px;gap:8px;border-width:6px;border-radius:29px}.shape-slot{width:120px;height:120px;padding:10px}.shape-row{gap:22px}.shape-piece{width:95px;height:95px}.flower-pot{height:263px}.peek-door{height:243px}.controls{padding:15px 9px 7px}.status{font-size:14px}.progress{gap:4px}.progress i{width:10px;height:10px}.status-wrap{gap:9px}.listen{padding:9px;min-height:50px}.listen span:not(.icon){display:none}.replay{min-height:50px;padding:9px 14px;font-size:12px}.parent-note{font-size:10px}}
@media(max-width:460px){.app{padding:8px 10px 18px}header{gap:7px}.brand{font-size:12px}.brand small{font-size:8px}.home,.sound{border-radius:15px;padding:9px;gap:4px;font-size:10px}.icon{width:21px;height:21px}.heading{margin:18px 5px 14px;gap:10px}.eyebrow{font-size:8px;letter-spacing:1px}h1{font-size:23px}.little-note{max-width:95px;line-height:1.7;text-align:right}.play-shell{border-radius:24px;padding:7px}.stage{border-radius:18px;min-height:395px}.game-world{min-height:395px;padding:28px 11px 15px;gap:26px}.visual-instruction{padding:7px 15px;gap:9px;min-height:49px}.visual-instruction .mini{width:32px;height:32px}.shape-board{padding:15px 7px;gap:6px;border-width:5px;border-radius:25px}.shape-slot{height:88px;width:88px;padding:9px;border-radius:18px}.shape-row{gap:18px;min-height:105px}.shape-piece{height:85px;width:85px;border-radius:22px;padding:9px}.garden-world{gap:10px;padding:18px 7px 26px}.garden-bed{gap:7px}.flower-pot{width:32%;height:265px;display:flex;align-items:end}.flower-pot svg{height:240px}.flower-pot .tap-badge{bottom:8%;width:38px;height:38px;margin-left:-19px;padding:8px}.peek-world{padding:20px 5px 25px;gap:25px}.peek-row{gap:7px}.peek-door{height:260px;width:32%;display:flex;align-items:center}.peek-door svg{height:auto;max-height:260px}.controls{flex-wrap:wrap;gap:11px;padding:13px 6px 7px}.status-wrap{gap:8px;flex:1}.status{font-size:13px}.status small{font-size:9px;line-height:1.6}.controls-right{gap:6px}.replay{padding:8px 10px;font-size:11px}.replay .icon{width:18px;height:18px}.progress{display:none}.intro-card{padding:22px 24px;border-radius:25px}.intro-card h2{font-size:22px}.intro-card p{font-size:11px}.parent-note{margin-top:12px}.privacy-link{margin-top:5px}}
@media(max-height:520px) and (min-width:600px){.app{padding:6px 20px 10px;max-width:1000px}header{min-height:48px}.home,.sound{min-height:42px}.brand small{display:none}.heading{margin:7px 2px 8px;align-items:center}.eyebrow{display:none}h1{font-size:19px}.little-note{font-size:10px}.stage{min-height:210px}.game-world{min-height:210px;padding:12px 20px;gap:9px}.visual-instruction{position:absolute;left:15px;top:15px;flex-direction:column;padding:8px;border-radius:20px;gap:4px}.visual-instruction .flow-arrow{transform:rotate(90deg);font-size:17px}.visual-instruction .mini{width:24px;height:24px}.hint-hand{width:23px;height:27px}.shape-board{width:440px;padding:8px 20px;gap:14px;border-width:5px}.shape-slot{width:78px;height:78px;padding:5px;border-radius:15px}.shape-row{min-height:66px;gap:50px}.shape-piece{width:66px;height:66px;padding:5px;border-radius:17px}.garden-bed,.peek-row{width:580px}.flower-pot{height:195px;width:29%}.flower-pot .tap-badge{width:34px;height:34px;margin-left:-17px;padding:8px;bottom:15%}.grass-edge{display:none}.peek-door{height:190px}.controls{min-height:62px;padding:7px 10px 0}.listen,.replay{min-height:43px}.status{font-size:12px}.status small{font-size:9px}.parent-note{margin:6px 10px 0}.parent-note summary{min-height:28px}.privacy-link{display:none}.intro-card{padding:12px 32px}.intro-art{width:70px;height:55px;margin-bottom:6px}.intro-card h2{font-size:18px;margin:0}.intro-card p{margin:4px 0;font-size:10px}.start{width:80px;height:52px;border-radius:18px;margin:6px auto}.start svg{width:23px;height:23px}.start-note{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Only the playful ear hint shows before the curtain opens. */
.peek-door .friend{opacity:0}.peek-door.revealed .friend{opacity:1}
.listen{min-width:50px}.home,.sound,.listen,.replay{min-height:44px}
