:root{font-family:ui-rounded,system-ui,sans-serif;color:#264d50;background:#264d50;font-synthesis:none}*{box-sizing:border-box}html,body,#app{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none;touch-action:manipulation;user-select:none;-webkit-user-select:none}#app{position:relative;display:grid;place-items:center;background:radial-gradient(ellipse at center,#568f8b,#264d50)}#scene,#controls{position:absolute;width:min(100vw,177.7778vh);height:min(100vh,56.25vw)}canvas{display:block;width:100%;height:100%;touch-action:none}#controls{pointer-events:none}button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:none;pointer-events:auto;border:0}button:focus-visible{outline:5px solid #fff;outline-offset:5px}.main-button{position:absolute;display:grid;place-items:center;transform:translate(-50%,-50%);width:clamp(112px,11.6vw,220px);height:clamp(112px,11.6vw,220px);border-radius:50%;background:#ffcc62;box-shadow:0 9px #b97a37,0 17px 28px #4a332e33,inset 0 0 0 9px #fff4d3;color:#824f39;animation:breathe 2s ease-in-out infinite}.main-button svg{width:49%;height:49%;fill:currentColor}.main-button:active{filter:brightness(1.08)}#play{left:50%;top:54%}#again{left:64%;top:54%;background:#ffcf67}button[hidden]{display:none!important}.tool-target{position:absolute;transform:translate(-50%,-50%);width:max(96px,9.2%);height:max(96px,16.4%);background:transparent;border-radius:45%;color:transparent}.tool-target:disabled{pointer-events:none}.gear{position:absolute;right:max(4px,1.3%);top:0;width:96px;height:96px;display:grid;place-items:center;border-radius:50%;background:transparent;color:#fffae6a6;opacity:.8}.gear svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.7}.gear .hold-ring{position:absolute;width:64px;height:64px;transform:rotate(-90deg)}.hold-ring circle{stroke:#ffe49c;stroke-width:4;stroke-dasharray:176;stroke-dashoffset:calc(176 * (1 - var(--hold,0)));transition:stroke-dashoffset .06s linear}.adult-backdrop{position:fixed;inset:0;background:#123d49aa;backdrop-filter:blur(10px);display:grid;place-items:center;z-index:10;pointer-events:auto;padding:16px}.adult-backdrop[hidden]{display:none}.adult-card{touch-action:pan-y;position:relative;width:min(660px,95vw);max-height:95vh;overflow:auto;background:#fff8e8;border-radius:32px;padding:32px;color:#294e52;box-shadow:0 20px 80px #173e4955}.adult-card h1{font-size:24px;min-height:64px;margin:0 96px 20px 0}.adult-card p{font-size:14px;line-height:1.6;margin:24px 0 0}.adult-card button{min-height:96px;border-radius:22px;padding:18px 24px;color:#294e52;background:#e3efe5}.adult-card .close{position:absolute;right:12px;top:12px;width:96px;font-size:36px;background:transparent}.settings-row{display:flex;align-items:center;justify-content:space-between;width:100%;margin:12px 0;gap:12px;text-align:left;font-size:19px}.toggle{min-width:64px;height:36px;border-radius:22px;background:#578b78;padding:5px}.toggle:after{content:"";display:block;width:26px;height:26px;border-radius:50%;background:#fff;transform:translate(28px)}[aria-checked=false] .toggle{background:#b2b9af}[aria-checked=false] .toggle:after{transform:translate(0)}.adult-card .restart{background:#f9d486;width:100%;font-size:19px}#orientation{display:none;position:fixed;inset:0;z-index:30;background:radial-gradient(ellipse at center,#4e8f8e,#264d50);align-items:center;justify-content:center}#orientation svg{width:min(70vw,330px);fill:none;stroke:#ffe6a6;stroke-width:8;stroke-linecap:round;stroke-linejoin:round}#orientation .tablet rect:first-child{fill:#eaf5e5}#orientation .tablet rect:nth-child(2){fill:#7bb3aa;stroke-width:3}#orientation .tablet{transform-origin:110px 110px;animation:turn 3s ease-in-out infinite}.load-error{color:#fff4d3;max-width:440px;padding:30px;text-align:center}@media(orientation:portrait){#orientation{display:flex}}@media(max-height:500px){.adult-card{padding:18px 26px}.adult-card h1{margin-bottom:4px}.adult-card p{margin-top:10px}.settings-row{margin:6px 0}.adult-card button{min-height:96px}.gear{right:0;top:-6px}}@keyframes breathe{50%{transform:translate(-50%,-50%) scale(1.045)}}@keyframes turn{0%,20%{transform:rotate(0)}55%,85%{transform:rotate(-90deg)}to{transform:rotate(0)}}@media(prefers-reduced-motion:reduce){.main-button,#orientation .tablet{animation:none}}#home-tiles{position:absolute;inset:0;pointer-events:none}#home-tiles[hidden],#loading[hidden]{display:none}.game-tile{position:absolute;top:52%;transform:translate(-50%,-50%);width:max(220px,26%);height:max(220px,48%);border:12px solid #fff4d3;border-radius:48px;background:#f2d9a2;box-shadow:0 12px #987a4c,0 20px 35px #294c4733;overflow:hidden;animation:breathe 3s ease-in-out infinite}.bath-tile{left:25%;background:radial-gradient(ellipse,#e8f4de,#afd6c3)}.wash-tile{left:56%;background:radial-gradient(ellipse,#fce9b7,#e5c384);animation-delay:.5s}.game-tile img{position:absolute;width:100%;height:94%;object-fit:contain;left:0;bottom:-6%;pointer-events:none}.game-tile .tile-tool{width:38%;height:75%;left:59%;bottom:-5%;transform:rotate(22deg)}.game-tile .tile-mud{width:28%;height:30%;left:36%;bottom:31%}#home{position:absolute;left:4px;top:0;width:96px;height:96px;border-radius:50%;background:transparent;color:#775a3d;display:grid;place-items:center}#home svg{width:48px;height:48px;fill:#fff7df;stroke:currentColor;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}.truck-target{position:absolute;transform:translate(-50%,-50%);width:max(96px,19%);height:max(96px,20%);background:transparent;border-radius:40%}#loading{position:absolute;inset:0;display:grid;place-items:center;background:#315b4a88;pointer-events:none}.loading-puppy{position:relative;width:240px;height:240px;animation:puppy-hop .6s ease-in-out infinite alternate}.loading-puppy img{width:100%;height:100%;object-fit:contain}@keyframes puppy-hop{to{transform:translateY(-20px) rotate(3deg)}}@media(max-height:500px){.game-tile{border-width:8px;border-radius:32px}.bath-tile{left:23%}.wash-tile{left:55%}}@media(prefers-reduced-motion:reduce){.game-tile,.loading-puppy,.loading-puppy img,.loading-dots b{animation:none}}#home-tiles .game-tile{width:max(220px,24%);height:max(220px,44%)}#home-tiles .bath-tile{left:18%}#home-tiles .wash-tile{left:47%}.arena-tile{left:76%;background:radial-gradient(ellipse at top,#d8ecea,#e4ce9a);animation-delay:1s}.arena-tile img{transform:rotate(-17deg);bottom:7%;height:87%}.tile-sand{position:absolute;bottom:-18%;left:13%;width:90%;height:60%;border-radius:50% 50% 0 0;transform:rotate(-16deg);background:#c9a271;box-shadow:inset 0 18px #e5be7e}@media(max-height:500px){#home-tiles .bath-tile{left:16.7%}#home-tiles .wash-tile{left:50%}#home-tiles .arena-tile{left:83.3%}}.loading-puppy img{transform-origin:50% 90%;animation:puppy-tilt 1.2s ease-in-out infinite}.loading-dots{position:absolute;left:50%;bottom:-34px;transform:translate(-50%);display:flex;gap:14px}.loading-dots b{width:18px;height:18px;border-radius:50%;background:#ffcf5c;box-shadow:0 0 10px #ffd96f99;animation:pip-bounce 1.05s ease-in-out infinite}.loading-dots b:nth-child(2){animation-delay:.18s}.loading-dots b:nth-child(3){animation-delay:.36s}@keyframes puppy-tilt{0%,to{transform:rotate(-4deg)}50%{transform:rotate(4deg)}}@keyframes pip-bounce{0%,60%,to{transform:translateY(0);opacity:.55}30%{transform:translateY(-12px);opacity:1}}@media(prefers-reduced-motion:reduce){.loading-puppy img,.loading-dots b{animation:none}}#home-tiles .game-tile{width:max(220px,22%);height:max(220px,43%)}#home-tiles .bath-tile{left:12.5%}#home-tiles .wash-tile{left:37.5%}#home-tiles .arena-tile{left:62.5%}#home-tiles .snack-tile{left:87.5%;background:radial-gradient(ellipse at top,#fff0c8,#e8c780);animation-delay:1.5s}.snack-tile>img:first-of-type{height:110%;width:77%;left:4%;bottom:-17%}.snack-tile .tile-counter{position:absolute;z-index:1;bottom:0;left:0;width:100%;height:25%;background:#c79958;border-top:12px solid #efcb89}.snack-tile .tile-apple{z-index:2;width:29%;height:31%;left:46%;bottom:28%;transform:rotate(12deg)}.snack-tile .tile-coin{z-index:2;width:28%;height:29%;left:67%;bottom:2%}@media(max-width:900px)and (min-height:620px){#home-tiles .game-tile{height:220px;width:220px}#home-tiles .bath-tile,#home-tiles .arena-tile{left:29%}#home-tiles .wash-tile,#home-tiles .snack-tile{left:71%}#home-tiles .bath-tile,#home-tiles .wash-tile{top:27%}#home-tiles .arena-tile,#home-tiles .snack-tile{top:76%}}#home-tiles .game-tile{width:max(220px,23%);height:max(220px,39%);top:32%;animation:none}#home-tiles .bath-tile{left:23%}#home-tiles .wash-tile{left:50%}#home-tiles .arena-tile{left:77%}#home-tiles .snack-tile{left:36.5%;top:76%}#home-tiles .dots-tile{left:63.5%;top:76%;background:#fff4d9}.dots-tile img{width:100%;height:100%;bottom:0;object-fit:contain}@media(max-width:760px){#home-tiles{overflow:auto;pointer-events:auto}#home-tiles .game-tile{width:220px;height:220px;top:50%;transform:translateY(-50%)}#home-tiles .bath-tile{left:16px}#home-tiles .wash-tile{left:256px}#home-tiles .arena-tile{left:496px}#home-tiles .snack-tile{left:736px}#home-tiles .dots-tile{left:976px}}#home-tiles .snack-tile{left:23%}#home-tiles .dots-tile{left:50%}#home-tiles .music-tile{left:77%;top:76%;background:#fff4d9}.music-tile>img{height:98%;bottom:6%;width:80%;left:10%}.tile-xylophone{position:absolute;left:3%;right:3%;top:62%;height:36%;display:flex;gap:2%;transform:rotate(-6deg);background:linear-gradient(transparent 24%,#213b52 25%,#213b52 36%,transparent 37%,transparent 68%,#213b52 69%,#213b52 81%,transparent 82%)}.tile-xylophone i{flex:1;border-radius:5px;height:100%;background:#e8524a;box-shadow:inset 2px 2px #ffffff60,0 3px #21395155}.tile-xylophone i:nth-child(2){height:96%;background:#f39a3d}.tile-xylophone i:nth-child(3){height:92%;background:#f5cf47}.tile-xylophone i:nth-child(4){height:88%;background:#6fbf5b}.tile-xylophone i:nth-child(5){height:84%;background:#3fb7a8}.tile-xylophone i:nth-child(6){height:80%;background:#4a8fd9}.tile-xylophone i:nth-child(7){height:76%;background:#8a6fd1}.tile-xylophone i:nth-child(8){height:72%;background:#e877b0}@media(max-width:760px){#home-tiles .snack-tile{left:736px}#home-tiles .dots-tile{left:976px}#home-tiles .music-tile{left:1216px;top:50%}}#parent-sections section{margin-top:32px;border-top:1px solid #b8c8ba;padding-top:18px}#parent-sections h2{font-size:21px;line-height:1.35}#parent-sections dl{margin:0}#parent-sections dl>div{display:flex;justify-content:space-between;gap:20px;padding:12px 0}#parent-sections dt{flex:1}#parent-sections dd{font-variant-numeric:tabular-nums;margin:0;font-weight:700}#parent-sections a{display:flex;align-items:center;min-height:96px;padding:16px 8px;color:#264d50;text-underline-offset:4px;overflow-wrap:anywhere;touch-action:pan-y}#parent-sections a:focus-visible{outline:3px solid #264d50;outline-offset:2px}.adult-card button:focus-visible{outline:3px solid #264d50;outline-offset:2px}#clear-progress{width:100%;margin-top:18px}#clear-confirm button{margin:12px 12px 0 0;min-width:96px}.adult-card [hidden]{display:none!important}#home-tiles{overflow:visible;pointer-events:none}#home-tiles .game-tile{width:max(96px,22%);height:max(96px,39%);top:33%;transform:translate(-50%,-50%);border-width:clamp(6px,1vw,12px);border-radius:clamp(18px,3vw,40px)}#home-tiles .bath-tile{left:14%}#home-tiles .wash-tile{left:38%}#home-tiles .arena-tile{left:62%}#home-tiles .snack-tile{left:86%;top:33%}#home-tiles .dots-tile{left:26%;top:76%}#home-tiles .music-tile{left:50%;top:76%}#home-tiles .trace-tile{left:74%;top:76%;background:radial-gradient(ellipse,#fff4d9,#ebd4a7)}.tile-easel{position:absolute;inset:2% 9% 0}.tile-easel svg{width:100%;height:100%}.trace-tile>img{width:45%;height:48%;left:59%;bottom:3%;transform:rotate(-8deg)}@media(max-height:500px){#home-tiles .game-tile{top:96px;height:max(96px,calc((100% - 116px)/2));transform:translate(-50%)}#home-tiles .dots-tile,#home-tiles .music-tile,#home-tiles .trace-tile{top:calc((100% + 96px)/2)}}#home-tiles .dots-tile{left:14%}#home-tiles .music-tile{left:38%}#home-tiles .trace-tile{left:62%}#home-tiles .hide-tile{left:86%;top:76%;background:radial-gradient(ellipse,#edf5c9,#aace89)}.hide-tile .tile-hide-peek{width:57%;height:30%;left:21%;bottom:58%;object-fit:contain}.hide-tile .tile-hide-bush{width:94%;height:70%;left:3%;bottom:0}@media(max-height:500px){#home-tiles .hide-tile{top:calc((100% + 96px)/2)}}#home-tiles .game-tile{width:max(96px,18%)}#home-tiles .bath-tile{left:10%}#home-tiles .wash-tile{left:30%}#home-tiles .arena-tile{left:50%}#home-tiles .snack-tile{left:70%}#home-tiles .dots-tile{left:90%;top:33%}#home-tiles .music-tile{left:20%}#home-tiles .trace-tile{left:40%}#home-tiles .hide-tile{left:60%}#home-tiles .buckle-tile{left:80%;top:76%;background:linear-gradient(145deg,#152844,#425b83 60%,#f2c566)}.buckle-tile>img{width:96%;height:86%;left:2%;bottom:6%}@media(max-height:500px){#home-tiles .dots-tile{top:96px}#home-tiles .music-tile,#home-tiles .trace-tile,#home-tiles .hide-tile,#home-tiles .buckle-tile{top:calc((100% + 96px)/2)}}#home-tiles .music-tile{left:10%}#home-tiles .trace-tile{left:30%}#home-tiles .hide-tile{left:50%}#home-tiles .buckle-tile{left:70%}#home-tiles .dress-tile{left:90%;top:76%;background:radial-gradient(ellipse at top,#fff0bf,#e6c483)}.dress-tile>img:first-child{width:94%;height:100%;left:-9%;bottom:0}.dress-tile .tile-dress-chip{width:38%;height:46%;left:61%;bottom:3%}@media(max-height:500px){#home-tiles .dress-tile{top:calc((100% + 96px)/2)}}.start-error{position:absolute;left:50%;bottom:3%;transform:translate(-50%);width:min(620px,90%);margin:0;padding:14px 22px;border-radius:22px;background:#264d50eb;color:#fff4d3;font-size:20px;line-height:1.3;text-align:center;pointer-events:none}.start-error[hidden],.home-stars{display:none}@media(orientation:landscape)and (max-aspect-ratio:3/2)and (min-height:600px){#home-tiles{position:fixed;inset:0;display:grid;--row:calc((100vh - 96px)/3);grid-template-columns:repeat(4,min(calc((100vw - 70px)/4),calc(var(--row) * 1.15)));grid-template-rows:repeat(3,var(--row));gap:10px 14px;padding:64px 0 12px;justify-content:center;align-content:start}#home-tiles .game-tile{position:relative;left:auto;top:auto;width:auto;height:auto;transform:none}#home-tiles .buckle-tile{grid-column:2}.home-screen .gear{position:fixed;top:0;right:4px;width:64px;height:64px}.home-stars{display:flex;position:absolute;left:14px;top:8px;height:48px;padding:0 16px;gap:6px;align-items:center;border-radius:24px;background:#fff9e6e8}.home-stars i{width:26px;height:26px;background:#d7ddd1;clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}.home-stars i.on{background:#e8b953}}#home-tiles{position:fixed;inset:64px 0 0;display:grid;grid-template-columns:repeat(4,minmax(96px,1fr));grid-template-rows:repeat(3,max(96px,calc((100dvh - 88px)/3)));gap:8px 12px;padding:0 12px 20px;overflow-y:auto;pointer-events:auto;align-content:start;touch-action:pan-y}#home-tiles .game-tile{position:relative;left:auto;top:auto;width:auto;height:auto;transform:none;grid-column:auto;touch-action:pan-y}.home-screen .gear{position:fixed;top:0;right:4px;width:64px;height:64px}.home-stars{position:fixed;display:flex;left:14px;top:8px;height:48px;padding:0 16px;gap:6px;align-items:center;border-radius:24px;background:#fff9e6e8}.home-stars i{width:26px;height:26px;background:#d7ddd1;clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}.home-stars i.on{background:#e8b953}.pairs-tile{background:#d5e4cc}.tile-pair{position:absolute;width:44%;height:76%;top:12%;left:4%;border-radius:12%;border:4px solid #e8bc64;background:#fff5dc;transform:rotate(-8deg)}.tile-pair+.tile-pair{left:51%;transform:rotate(8deg)}.tile-pair img{width:86%;height:86%;left:7%;bottom:7%}.sound-tile{background:#d8e9e5}.sound-tile>img{width:79%;height:83%;left:0;bottom:0}.tile-arcs{position:absolute;right:1%;top:3%;width:36%;height:55%}.age-buttons{display:flex;gap:12px}.adult-card .age-buttons button{flex:1;min-width:76px;font-size:22px;padding:16px 8px}.age-buttons [aria-pressed=true]{background:#ffd266;box-shadow:inset 0 0 0 3px #94733c}#home-tiles{grid-template-rows:repeat(4,max(96px,calc((100dvh - 88px)/3)))}.catch-tile{background:linear-gradient(#d5e8bb,#f1d797)}.catch-tile>img{height:83%;bottom:5%}.tile-track{position:absolute;left:0;right:0;bottom:8%;height:9%;border-top:5px solid #ae8251;border-bottom:5px solid #ae8251;background:repeating-linear-gradient(90deg,transparent 0 18px,#71818b 18px 28px)}.swim-tile{background:linear-gradient(#c2efdf,#64bac6)}.swim-tile>img{height:86%;bottom:5%;transform:rotate(7deg)}.tile-bubbles i{position:absolute;left:14%;top:15%;width:22%;aspect-ratio:1;border:3px solid #eafbf2;border-radius:50%;box-shadow:inset 3px 2px #fbe8c3aa}.tile-bubbles i:nth-child(2){left:70%;top:52%;width:17%}.tile-bubbles i:nth-child(3){left:16%;top:72%;width:12%}.tower-tile{background:#e9c384}.tile-boxes{position:absolute;inset:0}.tile-boxes img{width:37%;height:36%;left:11%;bottom:8%;object-fit:contain}.tile-boxes img:nth-child(2){bottom:36%;left:14%;width:31%;height:31%}.tile-boxes img:nth-child(3){bottom:60%;left:18%;width:24%;height:27%}.tower-tile .tile-rumble{width:80%;height:65%;left:48%;bottom:0;object-fit:contain}.map-tile{background:#d6deae}.map-tile>svg{position:absolute;width:88%;height:84%;top:1%;left:10%;filter:drop-shadow(0 0 6px #ffe6a1)}.map-tile>img{width:35%;height:52%;left:0;bottom:0}
