:root{--ink:#354f47;--muted:#748078;--paper:#fffaf0;--green:#527863;--yellow:#f8cc62;--line:#ece8dc;--round:26px;--app-height:100dvh;color-scheme:light;font-family:ui-rounded,'Trebuchet MS','Hiragino Maru Gothic ProN','Yu Gothic',system-ui,sans-serif;font-synthesis:none}*{box-sizing:border-box}html{margin:0;background:var(--paper);-webkit-text-size-adjust:100%;touch-action:pan-y}body{margin:0;color:var(--ink);min-height:100vh;overscroll-behavior:none}button,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}img,svg{-webkit-user-drag:none}button:focus-visible,a:focus-visible{outline:4px solid #456eb5;outline-offset:5px}button:disabled{cursor:default}button svg,.round-button svg,.setting-symbol svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}h1,h2,p{margin:0}button{border:0}button:active,.round-button:active{transform:translateY(2px)}[hidden]{display:none!important}.site-wrap{width:min(1040px,100% - 64px);margin:auto;position:relative}.garden-bg{position:fixed;inset:0;z-index:-1;background:radial-gradient(ellipse at 8% 20%,#ffeec4 0,transparent 31%),radial-gradient(ellipse at 95% 80%,#e8f2e1 0,transparent 28%);pointer-events:none}.site-header{display:flex;align-items:center;justify-content:space-between;min-height:96px;gap:14px;padding-top:env(safe-area-inset-top)}.brand{display:flex;align-items:center;gap:12px;font-weight:900;font-size:15px;letter-spacing:2.4px;line-height:1.2}.brand>img{border-radius:16px;box-shadow:0 3px 0 #e7bc59}.brand-garden{display:block;font-size:17px;letter-spacing:1.2px}.round-button{display:inline-flex;align-items:center;justify-content:center;background:#fffdf7;width:50px;height:50px;border-radius:18px;box-shadow:0 3px 0 #e8e3d4;flex:none;border:1px solid #f0ecdf}.round-button>span{display:flex}.intro{position:relative;padding:28px 0 31px}.eyebrow{font-size:11px;letter-spacing:2.1px;font-weight:800;color:#a18d58}.intro h1{font-size:clamp(30px,4.2vw,48px);line-height:1.15;letter-spacing:-1.8px;margin-top:10px;font-weight:900}.intro p{color:var(--muted);font-size:16px;line-height:1.6;margin-top:10px}.rainbow{position:absolute;right:7px;bottom:25px;width:100px;height:62px;border:14px solid #f4b7a4;border-bottom:0;border-radius:100px 100px 0 0;transform:rotate(8deg)}.rainbow:before{content:'';position:absolute;inset:0;border:12px solid #f6d37c;border-bottom:0;border-radius:100px 100px 0 0}.rainbow:after{content:'';position:absolute;left:12px;top:12px;right:12px;bottom:0;border:10px solid #a6cbb2;border-bottom:0;border-radius:100px 100px 0 0}.game-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.game-card{position:relative;background:#fffdf8;border:3px solid #fffdf8;border-radius:var(--round);box-shadow:0 7px 0 #e8e5d9,0 12px 28px #6e695408;overflow:hidden;transition:transform .16s,box-shadow .16s;display:block;min-width:0}.game-card:hover{transform:translateY(-3px);box-shadow:0 9px 0 #e3e2d5,0 13px 24px #63735314}.game-card:active{transform:translateY(3px);box-shadow:0 3px 0 #e8e5d9}.card-art{position:relative;overflow:hidden;aspect-ratio:500/250;border-radius:21px 21px 12px 12px;background:#e5f3f0}.card-art img{display:block;width:100%;height:100%;object-fit:cover}.card-badge{position:absolute;top:14px;left:14px;font-weight:900;letter-spacing:1px;font-size:9px;border-radius:8px;background:#fffdf6e8;padding:7px 10px;color:#556b64}.card-copy{padding:20px 78px 23px 23px;position:relative}.card-copy h2{font-size:24px;font-weight:900;letter-spacing:-.5px}.card-copy p{color:var(--muted);font-size:13px;line-height:1.5;margin-top:6px}.play-dot{position:absolute;right:20px;top:25px;background:#e5f2ed;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;box-shadow:0 3px 0 #c8dfd4;color:#557c68}.play-dot svg{width:20px;height:20px}.lilac .play-dot{background:#edebfa;box-shadow:0 3px 0 #d4ceeb;color:#87779d}.peach .play-dot{background:#ffe9bc;box-shadow:0 3px 0 #edcc86;color:#91743c}.site-footer{text-align:center;padding:30px 0 25px;color:#7c887a;display:flex;align-items:center;flex-direction:column;gap:5px}.site-footer p{font-size:12px}.site-footer small{font-size:9px;letter-spacing:1.4px;opacity:.7;margin-top:8px}.tiny-flower{color:#cda052;font-size:26px}.notice{padding:28px;background:#fff5cb;line-height:1.6;border-radius:18px}.settings-wrap{max-width:670px}.settings-page .site-header h1{font-size:25px;letter-spacing:-.5px}.settings-main{padding:18px 0}.settings-lead{font-size:18px;color:#6d7e70;margin-bottom:26px;line-height:1.6}.settings-card{background:#fffefa;border-radius:25px;padding:0 24px;border:1px solid #eee7d7;box-shadow:0 5px 0 #ece7d9}.setting-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:16px;padding:29px 0;border-bottom:1px solid #eee9de}.setting-item:last-child{border-bottom:0}.setting-symbol{width:42px;height:42px;border-radius:14px;background:#f7ebcf;display:grid;place-items:center;color:#96804e}.setting-item h2{font-size:17px}.setting-item p{font-size:12px;color:#6c7c71;line-height:1.6;margin-top:7px;max-width:270px}.toggle{display:flex;align-items:center;justify-content:space-between;gap:9px;background:#e7e9e2;border-radius:22px;padding:7px 9px;min-width:83px;min-height:45px;font-size:11px;font-weight:800}.toggle i{width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 2px 2px #0001}.toggle[aria-checked=true]{background:#88b59a;color:#fff}.language-item{grid-template-rows:auto auto}.language-buttons{grid-column:2/4;display:flex;gap:8px;flex-wrap:wrap}.language-buttons button{min-height:46px;border-radius:13px;border:2px solid #ece9df;padding:0 20px;background:#fff}.language-buttons button[aria-pressed=true]{border-color:#658b73;background:#edf5e8}.parent-note,.save-note{font-size:12px;line-height:1.8;color:#7c8170;margin:20px 9px}.save-note{color:#608268;margin-top:10px}.primary-button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:56px;background:#577e68;color:#fff;border-radius:17px;box-shadow:0 5px 0 #395c48;font-size:18px;font-weight:800}.primary-button>span{display:inline-flex;align-items:center}.primary-button svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:2.5}.done-button{max-width:330px;margin:26px auto 0}.player-page{height:100vh;height:var(--app-height);min-height:0;overflow:hidden;touch-action:none;background:#edf8f8}.player-page .player-wrap{width:min(100%,1000px);height:100%;margin:auto;display:flex;flex-direction:column;padding:0 max(16px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));position:relative}.play-header{height:78px;flex:none;display:flex;align-items:center;gap:14px;padding-top:env(safe-area-inset-top)}.play-header h1{font-size:24px;flex:1;line-height:1.2;letter-spacing:-.7px}.play-tools{display:flex;gap:10px}.play-main{flex:1;min-height:0;display:flex;flex-direction:column;position:relative}.play-info{display:flex;flex-direction:column;align-items:center;gap:12px;padding:7px 0 12px;flex:none;min-height:74px}.play-info p{font-size:15px;color:#6a8580;line-height:1.5;text-align:center}.progress-dots{display:flex;align-items:center;justify-content:center;gap:9px;height:17px}.progress-dots i{width:13px;height:13px;background:#fff9;border:2px solid #b0c8bf;border-radius:50%;display:block}.progress-dots i.filled{background:#ebc35e;border-color:#d9af4b}.play-stage{width:100%;max-width:850px;flex:1;min-height:0;margin:0 auto;position:relative;touch-action:none;user-select:none;-webkit-user-select:none}.game-bubbles{background:linear-gradient(#edfaff,#dfefed)}.bubble-grid{height:100%;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,minmax(0,1fr));align-items:center;justify-items:center;gap:18px;padding:10px 30px 24px}.bubble-slot{display:flex;align-items:center;justify-content:center;width:100%;height:100%;max-height:210px}.bubble{aspect-ratio:1;max-height:100%;width:min(100%,180px);border-radius:50%;position:relative;padding:0;background:radial-gradient(circle at 34% 27%,#fff .5%,#ffffff88 12%,#b6eaf13a 47%,#83c7df9e 69%,#dec9eb 87%,#fff 100%);border:3px solid #fff;box-shadow:inset 0 0 18px #ffffffb3,0 10px 15px #8cadc626;animation:bob 3.8s ease-in-out infinite;animation-delay:var(--phase,0s);color:#52728b;display:block;min-width:0}.bubble:before{content:'';position:absolute;top:15%;left:13%;width:27%;height:13%;border-radius:100%;background:#fff;transform:rotate(-46deg);opacity:.93}.bubble:after{content:'';position:absolute;right:15%;bottom:15%;width:13%;height:7%;border-radius:50%;background:#fff9;transform:rotate(-46deg)}.bubble.pink{background:radial-gradient(circle at 34% 27%,#fff,#ffeff080 45%,#eca6c09e 77%,#c1d7ef)}.bubble.gold{background:radial-gradient(circle at 34% 27%,#fff,#fff1c080 45%,#edce7e99 77%,#f1d8cf)}.bubble.green{background:radial-gradient(circle at 34% 27%,#fff,#d4f4dc80 45%,#9bd5bf99 77%,#c1dbea)}.bubble svg{position:absolute;inset:26%;width:48%;height:48%;fill:none;stroke:currentColor;stroke-width:3.5;stroke-linecap:round}.bubble-pop-art{width:min(85%,150px);max-height:95%;object-fit:contain;animation:appear .35s cubic-bezier(.2,.9,.2,1.25)}.bubble-slot.open{background:radial-gradient(ellipse at center,#fff9 0,transparent 67%);border-radius:50%}.bubble:disabled{display:none}.round-result{position:absolute;z-index:5;bottom:18px;left:50%;transform:translateX(-50%);background:#fffdf6f7;border:3px solid #fff;padding:18px 28px;border-radius:25px;box-shadow:0 10px 30px #56776429;display:flex;align-items:center;gap:23px;max-width:calc(100% - 10px);white-space:nowrap}.round-result strong{font-size:29px;color:#b78627;letter-spacing:.8px;text-shadow:0 2px #ffedb5}.again-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:55px;padding:10px 18px;border-radius:17px;background:#597f69;color:#fff;box-shadow:0 4px 0 #375641;font-weight:900}.again-button svg{width:25px;height:25px;fill:currentColor;stroke:none}.again-button>span{display:flex}.game-peek{background:linear-gradient(#edeefa 0%,#efeff9 63%,#dceedd 63%)}.door-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;height:100%;gap:27px;padding:14px 15px 65px}.little-house{width:100%;position:relative;padding-top:46%;}.house-roof{position:absolute;top:0;left:-7%;width:114%;height:40%;background:var(--door,#b0c5e5);clip-path:polygon(50% 0,100% 86%,96% 100%,4% 100%,0 86%);filter:drop-shadow(0 5px 0 #0001);border-radius:10px}.house-body{position:relative;background:#fffdf4;border-radius:9px 9px 23px 23px;padding:12%;box-shadow:0 9px 0 #cdcdbb55}.door{display:block;position:relative;width:100%;aspect-ratio:.76;padding:0;border-radius:15px;perspective:600px;background:#c8bb9f;box-shadow:inset 0 3px 12px #80775833;overflow:visible;touch-action:none}.door>img{position:absolute;top:50%;left:6%;width:88%;height:auto;transform:translateY(-50%);max-height:90%;object-fit:contain;border-radius:16px}.door-front{position:absolute;inset:0;background:linear-gradient(135deg,#ffffff33,transparent),var(--door,#acc2df);border:3px solid #fff7;box-shadow:0 5px 0 #0001;border-radius:15px;transform-origin:0 50%;transition:transform .38s,opacity .38s;display:flex;align-items:center;justify-content:center;backface-visibility:hidden}.door-front:before{content:'';position:absolute;top:11%;left:20%;right:20%;height:24%;border-radius:8px;background:#fff5;border:2px solid #fff6}.door-front:after{content:'';position:absolute;right:10%;top:59%;width:12%;aspect-ratio:1;border-radius:50%;background:#fff0ae;box-shadow:0 2px 1px #9c885944}.door.open .door-front{transform:rotateY(-105deg);opacity:0;pointer-events:none}.door.open img{animation:peek .4s ease-out}.house-flower{position:absolute;font-size:35px;bottom:-22px;color:#d89dad;left:-10px;pointer-events:none}.game-shapes{background:linear-gradient(#fff6e6,#faf1db)}.shape-layout{height:100%;display:flex;flex-direction:column;justify-content:center;gap:35px;padding:22px 5px 65px}.shape-board{background:linear-gradient(135deg,#efd2a0,#e3b984);padding:30px;border:6px solid #f4d8aa;border-radius:35px;box-shadow:0 9px 0 #c79e72,0 14px 18px #9e896513;display:flex;gap:30px;align-items:center;justify-content:center}.shape-target{padding:0;background:none;width:30%;max-width:170px;aspect-ratio:1;position:relative;min-width:0;touch-action:none}.shape-target svg{width:100%;height:100%;stroke-width:4px;stroke-linejoin:round;fill:#b18a64;stroke:#a17e5b}.shape-target.placed svg{stroke:var(--outline);fill:var(--shape);filter:drop-shadow(0 4px 0 #98765744)}.shape-target:not(.placed) svg .shape-face{display:none}.shape-target.target-hover{outline:4px dashed #728963;outline-offset:7px;border-radius:16px}.shape-target:not(.placed):active{transform:none}.shape-tray{display:flex;gap:30px;justify-content:center;align-items:center;padding:15px 25px;min-height:150px}.shape-piece{width:29%;max-width:144px;aspect-ratio:1;position:relative;background:#fff8;border:3px solid transparent;border-radius:23px;padding:9px;touch-action:none}.shape-piece svg{width:100%;height:100%;stroke:var(--outline);fill:var(--shape);stroke-width:3px;stroke-linejoin:round;filter:drop-shadow(0 4px 0 #a7916444)}.shape-piece[aria-pressed=true]{background:#fffdf3;border:3px solid #779c85;box-shadow:0 0 0 4px #fff8}.shape-piece[disabled]{visibility:hidden}.shape-face{stroke:#735e50;stroke-width:2;fill:none}.shape-face circle{stroke:none;fill:#735e50}.shape-ghost{position:fixed;z-index:20;width:100px;height:100px;pointer-events:none;opacity:.82;transform:translate(-50%,-50%);filter:drop-shadow(0 6px 7px #0002)}.shape-ghost svg{width:100%;height:100%;fill:var(--shape);stroke:var(--outline);stroke-width:3;stroke-linejoin:round}.soft-bounce{animation:soft-bounce .3s}.fx{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:15}.fx-piece{position:absolute;left:var(--x);top:var(--y);width:11px;height:11px;background:var(--c);border-radius:3px;animation:burst .65s ease-out forwards;will-change:transform;clip-path:polygon(50% 0,62% 34%,98% 38%,72% 61%,80% 96%,50% 76%,20% 96%,28% 61%,2% 38%,38% 34%)}.legacy-player .play-header{height:64px}.legacy-player .play-info,.legacy-player #restart,.legacy-player #settings-link{display:none}.legacy-player .play-stage{max-width:none;min-height:0;height:100%;display:flex;flex:1}.legacy-player .player-wrap{width:100%;padding-bottom:0}.legacy-frame{width:100%;height:100%;border:0;display:block;flex:1;background:var(--paper)}.legacy-player .play-main{padding:0}.legacy-player .round-button{width:44px;height:44px;border-radius:15px}.load-card{align-self:center;margin:auto;max-width:560px;padding:26px;line-height:1.8;background:#fffdf4;border-radius:25px;border:2px solid #eee4d0}.load-card h2{font-size:22px;margin:0 0 16px}.load-card p{color:#6d7e70}.load-card a{display:block;margin-top:20px}.load-card button{margin-top:15px;padding:15px 22px;border-radius:15px;background:#54745c;color:#fff}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes appear{from{transform:scale(.4);opacity:.2}to{transform:scale(1);opacity:1}}@keyframes peek{from{transform:translateY(-43%) scale(.8)}to{transform:translateY(-50%) scale(1)}}@keyframes burst{from{opacity:1;transform:translate(-50%,-50%) scale(1)}to{opacity:0;transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) rotate(var(--rot)) scale(.5)}}@keyframes soft-bounce{50%{transform:scale(.93)}}
html[data-motion=light] *,html[data-motion=light] *::before,html[data-motion=light] *::after{animation:none!important;transition:none!important}body.paused *,body.paused *::before,body.paused *::after{animation-play-state:paused!important}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:650px){.site-wrap{width:calc(100% - 30px)}.site-header{min-height:77px}.brand{gap:9px;font-size:12px;letter-spacing:2px}.brand img{width:41px;height:41px;border-radius:13px}.brand-garden{font-size:14px}.round-button{width:46px;height:46px;border-radius:15px}.intro{padding:18px 2px 26px}.intro h1{font-size:32px;letter-spacing:-1.2px;max-width:290px}.intro p{font-size:13px;margin-top:7px}.eyebrow{font-size:8px;letter-spacing:1.7px}.rainbow{width:56px;height:36px;border-width:9px;right:4px;bottom:30px}.rainbow:before{border-width:7px}.rainbow:after{left:7px;top:7px;right:7px;border-width:6px}.game-list{gap:17px 13px}.game-card{border-radius:22px;border-width:2px;box-shadow:0 5px 0 #e8e5d9}.card-art{aspect-ratio:1.22;border-radius:18px 18px 9px 9px}.card-art img{object-fit:cover;object-position:center}.card-badge{font-size:7px;letter-spacing:.7px;top:9px;left:9px;padding:5px 7px}.card-copy{padding:12px 10px 14px;min-height:89px}.card-copy h2{font-size:18px;letter-spacing:-.7px;line-height:1.25;padding-right:27px}.card-copy p{font-size:10px;line-height:1.45;margin-top:6px;padding-right:20px}.play-dot{right:9px;top:12px;width:26px;height:26px}.play-dot svg{width:13px;height:13px}.site-footer{padding:25px 0 20px}.site-footer p{font-size:10px}.tiny-flower{font-size:22px}.site-footer small{font-size:8px}.settings-main{padding:14px 0}.settings-lead{font-size:15px;margin:0 5px 20px}.settings-card{padding:0 17px}.setting-item{grid-template-columns:34px minmax(0,1fr) auto;gap:10px;padding:22px 0}.setting-symbol{width:34px;height:34px;border-radius:11px}.setting-symbol svg{width:22px;height:22px}.setting-item h2{font-size:15px}.setting-item p{font-size:11px;line-height:1.5}.toggle{min-width:71px;gap:6px;font-size:10px;padding:7px}.language-buttons{grid-column:1/4;margin-top:4px;justify-content:center}.language-buttons button{min-width:110px}.play-header{height:73px;gap:10px}.play-header h1{font-size:21px}.play-tools{gap:7px}.play-tools .round-button{width:43px;height:43px}.play-header>.round-button{width:45px;height:45px}.play-info{min-height:67px;padding:5px 0 11px;gap:10px}.play-info p{font-size:13px}.player-page .player-wrap{padding-left:max(13px,env(safe-area-inset-left));padding-right:max(13px,env(safe-area-inset-right))}.bubble-grid{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(3,minmax(0,1fr));gap:15px;padding:12px 15px 28px}.bubble{max-height:145px;width:auto;height:min(100%,145px);max-width:100%;min-height:55px;aspect-ratio:1}.bubble-slot{max-height:170px}.bubble-pop-art{width:auto;height:80%;max-width:85%;max-height:130px}.round-result{padding:13px 18px;gap:18px;bottom:12px;border-radius:21px}.round-result strong{font-size:25px}.again-button{min-height:50px;padding:10px 14px;font-size:14px}.door-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));padding:16px 18px 28px;gap:12px 35px;max-width:400px;margin:auto;height:100%}.little-house{max-width:140px;margin:0 auto;padding-top:35%;width:100%;}.little-house:last-child{grid-column:1/3;width:42%;padding-top:16%}.house-roof{height:35%}.house-body{padding:10%;border-radius:8px 8px 19px 19px}.door{aspect-ratio:.9;max-height:155px}.door-front{border-radius:12px}.door-front:after{width:13%}.house-flower{font-size:25px;bottom:-16px}.shape-layout{gap:28px;padding:12px 0 68px}.shape-board{gap:14px;padding:21px 13px;border-radius:27px;border-width:5px}.shape-tray{gap:14px;padding:15px 7px;min-height:100px}.shape-piece{border-radius:18px;padding:5px}.shape-target{width:32%;max-width:115px}.shape-piece{width:31%;max-width:110px}.legacy-player .play-header{height:59px}.legacy-player .play-header h1{font-size:18px}.parent-note,.save-note{font-size:11px}.legacy-player .player-wrap{padding-left:0;padding-right:0}.legacy-player .play-header{padding-left:13px;padding-right:13px}}
@media(max-width:359px){.site-wrap{width:calc(100% - 24px)}.intro h1{font-size:29px}.rainbow{display:none}.card-copy h2{font-size:16px}.card-copy p{font-size:9px}.card-badge{font-size:6px}.card-art{aspect-ratio:1.23}.card-copy{min-height:91px}.game-list{gap:15px 11px}.play-header h1{font-size:18px}.play-tools .round-button{width:39px;height:42px}.door-grid{gap:12px 25px}.round-result{gap:10px;padding:12px}.round-result strong{font-size:21px}.shape-board{padding:16px 10px;gap:10px}}
@media(max-height:650px) and (orientation:portrait){.play-header{height:63px}.play-info{min-height:58px;padding:3px 0 8px;gap:7px}.bubble-grid{gap:9px;padding:7px 12px 16px}.bubble{height:min(100%,110px);max-height:110px}.door-grid{padding:8px 30px 25px;gap:8px 35px}.little-house{max-width:110px}.little-house:last-child{width:40%}.door{aspect-ratio:1}.shape-layout{gap:18px;padding-bottom:50px}.shape-board{padding-top:17px;padding-bottom:17px}.shape-tray{padding-top:12px;padding-bottom:8px;min-height:80px}.round-result{bottom:4px}}
@media(max-height:510px) and (orientation:landscape){.player-page .player-wrap{width:min(100%,940px);padding-bottom:4px}.play-header{height:57px}.play-header h1{font-size:20px}.play-header .round-button{width:42px;height:42px}.play-info{min-height:37px;padding:0 0 4px;flex-direction:row;justify-content:center;gap:20px}.play-info p{font-size:12px}.progress-dots i{width:10px;height:10px}.bubble-grid{grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,minmax(0,1fr));gap:5px 24px;padding:4px 100px 13px}.bubble{height:min(100%,105px);width:auto;max-height:105px}.bubble-pop-art{height:88%;width:auto;max-height:90px}.door-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:1fr;padding:6px 75px 33px;gap:35px}.little-house,.little-house:last-child{grid-column:auto;max-width:135px;width:100%;padding-top:37%}.door{aspect-ratio:1.1}.house-roof{height:37%}.shape-layout{flex-direction:row;align-items:center;gap:32px;padding:10px 30px 24px}.shape-board{width:58%;padding:20px 14px;gap:14px;border-radius:24px}.shape-tray{width:42%;gap:13px;padding:7px;min-height:0}.shape-piece{padding:5px}.shape-target{width:31%}.round-result{bottom:5px;padding:10px 18px;gap:20px}.round-result strong{font-size:22px}.again-button{min-height:43px}.legacy-player .play-header{height:51px}}
@media(min-width:651px) and (max-height:760px){.intro{padding:8px 0 22px}.intro h1{font-size:39px}.card-art{aspect-ratio:2.35}.card-copy{padding-top:15px;padding-bottom:17px}.card-copy h2{font-size:21px}.game-list{gap:20px}.site-header{min-height:79px}.site-wrap{max-width:900px}}
/* PLAY GARDEN 2.0: scalable level layouts and predictable, stationary targets. */
.player-page .play-header{height:72px;gap:10px}.play-header h1{font-size:clamp(16px,3.9vw,24px);min-width:0}.play-tools{gap:7px}.play-header .round-button{width:44px;height:44px;min-width:44px}.help-question{font-size:27px;font-weight:900}.level-status{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:52px;flex:none}.level-status .round-button{width:44px;height:44px;min-width:44px}.level-pill{display:flex;align-items:center;gap:8px;border:2px solid #bcd8ca;border-radius:14px;min-height:44px;padding:8px 12px;background:#fffdf7;font-size:13px;font-weight:900;white-space:nowrap}.level-pill span{font-size:20px;color:#719c87}.goal-banner{display:flex;align-items:center;justify-content:center;gap:12px;min-height:66px;flex:none;padding:4px 6px 8px}.goal-banner p{font-size:14px;line-height:1.4;text-align:center;max-width:255px}.goal-banner #target-picture{display:flex;align-items:center;flex-shrink:0}.goal-banner img{width:54px;height:54px;object-fit:contain}.goal-banner .target-bubble{width:50px;height:50px;min-height:50px;max-height:50px;animation:none;border-width:2px;pointer-events:none}.bubble b{font-size:clamp(32px,7vw,48px);color:#586b79;line-height:1;position:relative;z-index:1}.target-bubble b{font-size:24px}.play-feedback{flex:none;min-height:32px;text-align:center;line-height:28px;font-weight:900;font-size:17px;color:#608879;padding-top:4px}.play-stage{container-type:size;overflow:visible}.bubble{animation:none}.bubble-grid{--cols:2;--rows:3;grid-template-columns:repeat(var(--cols),minmax(0,1fr));grid-template-rows:repeat(var(--rows),minmax(0,1fr));height:100%;gap:16px;padding:10px 15px 18px}.bubble-grid[data-count='1']{--cols:1;--rows:1}.bubble-grid[data-count='2']{--cols:2;--rows:1}.bubble-grid:is([data-count='3'],[data-count='4']){--cols:2;--rows:2}.bubble-slot{height:100%;width:100%;max-height:none;position:relative}.bubble-grid .bubble{width:min(180px,calc((100cqw - 60px) / var(--cols)),calc((100cqh - 64px) / var(--rows)));height:auto;max-height:none;min-height:44px;aspect-ratio:1}.bubble-pop-art{display:flex;align-items:center;justify-content:center;width:min(160px,calc((100cqw - 60px) / var(--cols)));height:min(90%,165px);max-height:95%;max-width:95%}.bubble-pop-art img{width:100%;height:100%;object-fit:contain}.door-grid{--cols:2;--rows:3;grid-template-columns:repeat(var(--cols),minmax(0,1fr));grid-template-rows:repeat(var(--rows),minmax(0,1fr));height:100%;max-width:none;gap:12px 20px;padding:8px 15px 20px;align-items:center;justify-items:center}.door-grid[data-count='1']{--cols:1;--rows:1}.door-grid[data-count='2']{--cols:2;--rows:1}.door-grid:is([data-count='3'],[data-count='4']){--cols:2;--rows:2}.door-grid .little-house,.door-grid .little-house:last-child{grid-column:auto;width:min(185px,calc((100cqh - 50px) / var(--rows) * .70),calc((100cqw - 44px) / var(--cols)));max-width:100%;aspect-ratio:.70;height:auto;padding-top:0;display:flex;align-items:stretch;justify-content:flex-end;flex-direction:column;margin:0}.door-grid .house-roof{height:28%}.door-grid .house-body{height:75%;padding:10%;border-radius:8px 8px 20px 20px}.door-grid .door{height:100%;aspect-ratio:auto;max-height:none;width:100%}.door-grid .house-flower{bottom:-14px;font-size:25px}.shape-layout{--cols:3;--rows:1;display:grid;grid-template-columns:1fr;grid-template-rows:1fr 1fr;gap:20px;height:100%;padding:10px 4px 15px;align-items:stretch}.shape-layout[data-count='1']{--cols:1}.shape-layout[data-count='2']{--cols:2}.shape-layout:is([data-count='4'],[data-count='5']){--cols:3;--rows:2}.shape-layout .shape-board,.shape-layout .shape-tray{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));grid-template-rows:repeat(var(--rows),minmax(0,1fr));justify-items:center;align-items:center;gap:12px;padding:14px;min-height:0;width:100%}.shape-layout .shape-board{border-width:5px;border-radius:26px}.shape-layout .shape-piece,.shape-layout .shape-target{width:min(145px,calc((100cqw - 70px) / var(--cols)),calc((100cqh - 114px) / (2 * var(--rows))));height:auto;aspect-ratio:1;max-width:100%;min-width:38px;padding:0;margin:0}.shape-layout .shape-piece{padding:5px}.shape-target:not(.placed) svg{stroke:var(--shape);fill:#b18a6455;stroke-dasharray:5 4}.shape-target.placed svg{stroke-dasharray:none}.shape-target.target-hover{outline:3px solid #6a9e83;outline-offset:4px}.little-layout{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:20px}.little-board{width:min(370px,calc(100cqw - 18px),calc(100cqh - 92px));aspect-ratio:1;background:#acd4ca;border:7px solid #acd4ca;border-radius:20px;display:grid;grid-template-columns:repeat(4,1fr);gap:5px;box-shadow:0 6px 0 #8ab5aa}.little-cell{padding:1px;min-width:0;border-radius:10px;background:#f5fcf1;aspect-ratio:1;position:relative;touch-action:none}.little-art{display:block;width:100%;height:100%;background-image:url('assets/blocks-atlas.png');background-size:600% 600%;pointer-events:none}.little-cell.little-preview{background:#c5f5cc;outline:3px solid #558d60;outline-offset:-3px}.little-cell.little-invalid{background:#fbe0ce;outline:2px dashed #c78f60;outline-offset:-3px}.little-hand{display:flex;align-items:center;justify-content:center;gap:2px;min-height:55px;padding:6px 14px;border-radius:17px;border:2px solid #99c5b7;background:#fffdf6;box-shadow:0 3px 0 #aed0c0}.little-hand>span{width:44px;height:44px;display:block}.game-little{background:linear-gradient(#e9f8fc,#e6f2df)}
.sheet-backdrop{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom));background:#304f4da6;touch-action:none}.garden-sheet{position:relative;width:min(430px,100%);max-height:calc(var(--app-height) - 32px);overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;background:#fffdf4;border:4px solid #fff;border-radius:30px;box-shadow:0 8px 0 #9cae92,0 18px 50px #283d3c44;padding:26px 24px 20px;text-align:center;scrollbar-width:thin}.sheet-close{position:absolute;right:9px;top:8px;width:44px;height:44px;border-radius:15px;background:#eff1df;color:#638170;font-size:28px;touch-action:pan-y}.sheet-eyebrow{font-size:9px;letter-spacing:2px;color:#7f997f;font-weight:900}.garden-sheet h2{font-size:30px;font-weight:900;color:#487663;line-height:1.15;margin:12px 0 20px;letter-spacing:-.5px;padding:0 16px}.sheet-actions{display:flex;flex-direction:column;gap:12px;margin-top:20px}.sheet-actions button{min-height:52px;touch-action:pan-y;font-weight:900;font-size:16px;line-height:1.2}.sheet-secondary{border:2px solid #c4d8c2;border-radius:16px;background:#f1f6e6;color:#5d7e64;padding:12px;box-shadow:0 3px 0 #dce5d2}.sheet-version{display:block;font-size:9px;letter-spacing:1px;color:#6b826e;margin-top:22px}.sheet-note{font-size:13px;line-height:1.6;color:#74836d}.guide-steps{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:4px 0 20px}.guide-steps>div{display:flex;align-items:center;flex-direction:column;gap:8px}.guide-art{display:grid;place-items:center;width:100%;height:98px;border-radius:19px;background:#edf4e8;overflow:hidden}.guide-art>img{width:100%;height:100%;object-fit:contain}.guide-art>img[src*='covers']{object-fit:cover}.guide-steps b{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#f8d36d;color:#766c31;font-size:15px}.guide-steps p{font-size:13px;line-height:1.45}.guide-shape{display:block;width:78px;height:78px}.guide-shape svg{width:100%;height:100%;fill:#eb969a;stroke:#f8cbc5;stroke-width:4}.guide-hole svg{fill:#dfd7bd;stroke:#bb9895;stroke-width:4;stroke-dasharray:6 4}.guide-little{display:block;width:78px;height:78px}.guide-nice{color:#bc9148;font-weight:900;font-size:21px}.reward-medal{position:relative;width:130px;height:130px;border-radius:50%;background:#fff0b0;margin:0 auto 18px;box-shadow:0 4px 0 #edd78d;border:5px solid #ffe2a1}.reward-medal img{width:100%;height:100%;object-fit:contain}.reward-medal span{position:absolute;right:-10px;bottom:-8px;font-size:54px;color:#edb735;text-shadow:0 2px white}.result-level{font-size:18px;font-weight:900;color:#6f875c;margin-bottom:10px}.mini-level-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px 10px;margin-top:18px}.mini-level{min-height:63px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;border-radius:17px;border:2px solid #bfd5b9;box-shadow:0 3px 0 #bbd0b3;background:#f8fbea;font-size:22px;font-weight:900;touch-action:pan-y}.mini-level small{font-size:12px;color:#8bac82}.mini-level.current{outline:3px solid #509b87;outline-offset:2px}.mini-level.completed{background:#fff0ab;border-color:#edd086;box-shadow:0 3px 0 #d7c084}.mini-level.completed small{color:#ba8f37}.mini-level:disabled{background:#eeefe7;color:#9eab9b;border-color:#e2e6da;box-shadow:0 3px 0 #e1e6d8}.storage-warning{font-size:12px;padding:9px;margin-top:8px;background:#fff0c9;border-radius:10px;color:#806627}.progress-dots{gap:6px}.progress-dots i{width:14px;height:14px;flex-shrink:0}
@media(min-width:680px){.bubble-grid,.door-grid{--cols:3;--rows:2}.bubble-grid[data-count='3'],.door-grid[data-count='3']{--cols:3;--rows:1}}
@media(max-height:650px){.player-page .play-header{height:60px;min-height:60px}.level-status{min-height:48px}.goal-banner{min-height:53px;gap:8px}.goal-banner img{width:44px;height:44px}.goal-banner .target-bubble{width:42px;height:42px;min-height:42px}.play-feedback{min-height:28px;font-size:14px;line-height:24px}.bubble-grid{gap:10px;padding:5px 8px 10px}.door-grid{gap:8px 16px;padding:5px 6px 17px}.shape-layout{padding:4px 0 8px;gap:12px}.shape-layout .shape-board,.shape-layout .shape-tray{padding:9px;gap:9px}.shape-layout .shape-piece,.shape-layout .shape-target{width:min(125px,calc((100cqw - 56px)/var(--cols)),calc((100cqh - 85px)/(2 * var(--rows))))}.garden-sheet{padding:20px 20px 15px}.garden-sheet h2{font-size:26px;margin:11px 0 15px}.guide-art{height:84px}.reward-medal{width:105px;height:105px}.little-board{width:min(360px,calc(100cqw - 18px),calc(100cqh - 82px))}.little-layout{gap:15px}}
@media(max-height:510px) and (orientation:landscape){.player-page .play-header{height:55px;min-height:55px}.level-status{position:absolute;right:0;top:-51px;min-height:44px;width:230px}.play-header{padding-right:247px}.play-header .play-tools{gap:6px}.play-header h1{font-size:16px}.level-status .progress-dots{gap:4px}.level-status .progress-dots i{width:10px;height:10px}.goal-banner{min-height:46px;padding:0}.goal-banner p{font-size:12px;max-width:none}.play-feedback{min-height:22px;line-height:20px;padding-top:0}.bubble-grid,.door-grid{--cols:3;--rows:2;padding:4px 30px 12px}.bubble-grid[data-count='3'],.door-grid[data-count='3']{--cols:3;--rows:1}.shape-layout{grid-template-columns:1fr 1fr;grid-template-rows:1fr;gap:22px;padding:4px 12px 12px}.shape-layout .shape-piece,.shape-layout .shape-target{width:min(130px,calc((100cqw - 140px)/(2 * var(--cols))),calc((100cqh - 50px)/var(--rows)))}.little-layout{flex-direction:row;gap:40px}.little-board{width:min(350px,calc(100cqh - 12px),calc(100cqw - 200px))}.little-hand>span{width:38px;height:38px}.little-hand{min-height:53px}.guide-art{height:72px}}
@media(max-width:359px){.player-page .player-wrap{padding-left:10px;padding-right:10px}.play-header{gap:8px}.play-header h1{font-size:17px}.play-tools{gap:5px}.level-pill{font-size:12px;padding:8px;gap:5px}.progress-dots{gap:5px}.progress-dots i{width:12px;height:12px}.goal-banner p{font-size:12px}.mini-level-grid{gap:11px 8px}.mini-level{min-height:55px}}

.shape-piece svg,.shape-target svg{pointer-events:none}

.contact-entry{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;margin:4px 0 12px;padding:8px 14px;border:1px solid #9bb5a9;border-radius:14px;color:#496b61;background:#fffdf5;text-align:center;line-height:1.4;font-size:14px;font-weight:700;text-decoration:none;touch-action:pan-y}.contact-entry:focus-visible{outline:3px solid #4e8278;outline-offset:3px}
