:root{font-family:ui-rounded,'Arial Rounded MT Bold','Trebuchet MS',system-ui,sans-serif;color:#184e5e;background:#eef8f8;font-synthesis:none;--orange:#fb8a43;--ink:#16475a;--teal:#087b91}*{box-sizing:border-box}body{margin:0}button,a,input,select{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;border:0;color:inherit;touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:4px solid #ffcc39;outline-offset:5px}button[hidden],[hidden]{display:none!important}a{color:inherit}.app{max-width:1660px;padding:0 24px;margin:auto}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;gap:8px;align-items:center;text-decoration:none;font-weight:900;letter-spacing:-2px;font-size:38px;line-height:.8}.brand-icon{width:55px;height:48px;transform:rotate(-7deg)}.brand-dot{color:var(--orange)}.brand small{display:block;letter-spacing:.8px;font-size:9px;color:#6e9b9a;font-weight:700;margin-top:11px}.world-switch{display:flex;gap:6px;background:#dfecec;border:1px solid #d1e4e3;padding:5px;border-radius:20px}.world-tab{display:flex;align-items:center;gap:10px;padding:9px 23px;border-radius:15px;background:none;font-weight:800;font-size:13px;color:#678e96;transition:background .15s,transform .15s}.world-tab.selected{background:white;color:#126881;box-shadow:0 3px 0 #bbd8db}.world-tab:hover{transform:translateY(-2px)}.world-tab>span{width:37px;height:32px}.top-actions{display:flex;gap:9px}.icon-button{width:43px;height:43px;border:1px solid #d4e3df;background:#ffffffa0;border-radius:15px;display:grid;place-items:center;flex-shrink:0}.icon-button>span{width:21px;height:21px}.icon-button:hover{background:#fff}.icon-button svg,.brand-icon svg{width:100%;height:100%}.page-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.game-frame{position:relative;margin-bottom:8px}.playground{height:calc(100dvh - 108px);min-height:565px;max-height:930px;position:relative;isolation:isolate;border-radius:26px;overflow:hidden;background:#09a7c3 url('./assets/ocean.webp') center center/cover no-repeat;box-shadow:0 6px 0 #bed9dc,0 14px 32px #13667c14;user-select:none;touch-action:manipulation}.playground.friends{background:#9ec96d url('./assets/meadow.webp') center center/cover no-repeat}.ocean-scenery,.garden-scenery{display:none}.scene-top{position:absolute;z-index:12;top:22px;left:25px;right:22px;display:flex;justify-content:space-between;align-items:flex-start;gap:15px;pointer-events:none}.scene-badge{color:white;display:flex;align-items:center;gap:12px;font-size:17px;letter-spacing:1px;font-weight:900;text-shadow:0 2px 5px #08566a7a;padding-top:8px}.scene-badge>span{width:30px;height:30px;display:block}.scene-badge svg{width:100%;height:100%}.scene-actions{display:flex;align-items:center;gap:12px;pointer-events:auto}.scene-control{width:43px;height:43px;display:grid;place-items:center;border-radius:15px;background:#ffffffd9;box-shadow:0 3px 0 #13748c30}.scene-control>span{width:15px;height:15px}.scene-control svg{width:100%;height:100%}.book-button{display:flex;align-items:center;gap:9px;background:#fff9e9;padding:9px 15px;border-radius:16px;box-shadow:0 4px 0 #bd9d6150;font-size:10px;text-align:left;font-weight:800;color:#9b7040;line-height:1.4}.book-button>span:first-child{width:36px;height:30px}.book-button svg{height:100%;width:100%}.book-button b{display:block;color:#c28d42;font-size:13px;letter-spacing:2px}.mode-tabs{position:absolute;left:19px;top:104px;z-index:11;display:flex;flex-direction:column;gap:12px}.mode-tab{width:83px;min-height:73px;padding:9px 5px 8px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;background:#ffffffc9;box-shadow:0 4px 0 #13677e28;border-radius:18px;font-size:10px;font-weight:800;color:#2b8291;border:2px solid #ffffff6b;transition:transform .15s,background .15s}.mode-tab>span{display:block;width:32px;height:29px}.mode-tab svg{width:100%;height:100%}.mode-tab:hover{transform:translateY(-3px);background:#fff}.mode-tab.active{background:#fff7d7;border-color:#ffca67;color:#9c6a24;box-shadow:0 4px 0 #cc984e79}.mode-number{display:none}.creatures{position:absolute;inset:96px 38px 170px 132px;z-index:4;pointer-events:none}.creature{position:absolute;left:var(--x);top:var(--y);width:var(--size);height:calc(var(--size) * .81);border:0;padding:0;background:none;cursor:pointer;border-radius:45%;z-index:2;pointer-events:auto;animation:swim var(--duration,8s) ease-in-out infinite alternate;animation-delay:var(--delay,0s);will-change:transform}.creature-inner{display:block;width:100%;height:100%;transform:scaleX(var(--dir,1));filter:drop-shadow(0 9px 5px #004a691f);transition:filter .2s}.painted-sprite{display:block;width:100%;height:100%;background-image:url('./assets/characters.webp');background-size:400% 300%;background-position:var(--sprite-x) var(--sprite-y);background-repeat:no-repeat;aspect-ratio:1.125;pointer-events:none}.creature:hover{animation-play-state:paused;z-index:5}.creature:hover .creature-inner{filter:drop-shadow(0 0 7px #fff9bbce) drop-shadow(0 6px 6px #06647c22)}.creature-label{position:absolute;left:50%;top:94%;transform:translateX(-50%);background:#fff9e6;color:#456375;font-size:12px;font-weight:800;padding:6px 15px;border-radius:22px;box-shadow:0 3px 0 #35879520;opacity:0;pointer-events:none;white-space:nowrap}.creature:hover .creature-label,.creature:focus-visible .creature-label,.creature.selected .creature-label{opacity:1}.creature.selected:after{content:'';position:absolute;inset:-1px;border:3px dashed #fff6b3;border-radius:50%;pointer-events:none;opacity:.8}.creature.fed .creature-label:after{content:' ♥';color:#f77b70}.creature.hungry-target:before{content:'';position:absolute;inset:5%;background:#fffcca26;border:3px dashed #fff6bc;border-radius:50%;pointer-events:none}.creature.fed .creature-inner{filter:drop-shadow(0 0 8px #ffffc160)}@keyframes swim{0%{transform:translate(-14px,2px) rotate(-2deg)}100%{transform:translate(24px,-13px) rotate(2deg)}}.still .creature,.is-dragging .creature{animation:none;will-change:auto}.friends .creatures{inset:110px 46px 165px 80px}.friends .creature{height:calc(var(--size) * .95);animation:none;will-change:auto}.friends .creature-inner{filter:drop-shadow(0 10px 4px #274d2c27)}.friends .creature.selected:after{inset:2% -5%;border-color:#fff3a9}.friends .scene-badge{text-shadow:0 2px 5px #476a3a8f}.friends .mode-tabs{top:104px}.friends .scene-caption{color:#417744}.count-bubble{position:absolute;top:-16px;left:50%;transform:translateX(-50%);display:flex;gap:7px;background:#fff9dc;padding:10px 14px;border-radius:25px;box-shadow:0 3px 0 #a4844d4a;min-width:58px;justify-content:center}.count-bubble>span{width:15px;height:15px;border-radius:50%;background:#dcd9b1;box-shadow:inset 0 2px 1px #c1bf9b}.count-bubble>span.fed{background:#fa9b4e;box-shadow:inset 0 1px 0 #ffc484}.count-bubble:after{content:'';position:absolute;bottom:-7px;left:42%;border-top:8px solid #fff9dc;border-left:7px solid transparent;border-right:7px solid transparent}.activity-panel{position:absolute;left:20px;bottom:23px;width:min(44%,540px);min-height:104px;z-index:13;border-radius:22px;background:#fffcedf5;box-shadow:0 6px 0 #226d7829;display:flex;align-items:center;gap:12px;padding:16px 18px;border:2px solid #ffffffaa}.guide-icon{width:64px;height:59px;flex-shrink:0;padding:6px;background:#ffebc9;border-radius:18px;transform:rotate(-6deg)}.guide-icon svg{width:100%;height:100%}.instruction{flex:1;min-width:0}.instruction-kicker{font-size:8px;font-weight:850;letter-spacing:1.3px;color:#cc9956;margin-bottom:5px}.instruction h2{font-size:18px;line-height:1.25;margin:0 0 5px;letter-spacing:-.3px;font-weight:900;color:#285c64}.instruction p{font-size:11px;line-height:1.5;margin:0;color:#79908b}.repeat-button{width:34px;height:34px;border-radius:50%;border:1px solid #e6e7d4;background:#fff9e3;color:#719282;position:absolute;right:12px;top:10px}.repeat-button>span{width:16px;height:16px}.instruction{padding-right:18px}.progress{position:absolute;bottom:11px;right:15px;display:flex;gap:4px}.progress-dot{width:10px;height:10px;border-radius:50%;background:#e1e5cd;border:1px solid #d5dcc0}.progress-dot.complete{background:#f5a247;border-color:#e39b3a}.primary-button,.secondary-button{font:inherit;display:flex;align-items:center;justify-content:center;gap:10px;padding:12px 18px;border-radius:14px;font-size:12px;font-weight:850;white-space:nowrap}.primary-button{background:#ffad4f;color:#704611;box-shadow:0 4px 0 #d48a37}.primary-button:hover{background:#ffc477;transform:translateY(-1px)}.secondary-button{background:#e8f0df;color:#5a7c62}.activity-panel .primary-button{position:absolute;left:100%;margin-left:15px;bottom:10px;min-height:60px;padding:15px 22px;font-size:14px}.tray{position:absolute;right:20px;bottom:23px;display:flex;gap:9px;padding:14px 13px 12px;min-height:108px;border-radius:23px;background:#fff8e5ed;border:2px solid #fff5d2;box-shadow:0 6px 0 #256d782c;z-index:12;align-items:center}.tray-label{position:absolute;left:0;right:0;top:-24px;color:#fffbe6;font-size:11px;font-weight:800;text-align:center;text-shadow:0 2px 5px #05546b;font-family:inherit}.tray-item{position:relative;width:83px;min-height:77px;border-radius:15px;background:#fffdfa;border:2px solid #e6d7ad;padding:5px 5px 7px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:10px;font-weight:850;color:#997249;touch-action:none;box-shadow:0 3px 0 #d8c697}.tray-item>svg,.tray-item>.painted-sprite{width:60px;height:48px;pointer-events:none}.tray-item.active{background:#ffe5a5;border-color:#edac41;box-shadow:0 3px 0 #d79c37;transform:translateY(-5px)}.tray-item:hover{background:#fff2d0;transform:translateY(-4px)}.tray-item:disabled{opacity:.65;cursor:default}.friends .tray-label{text-shadow:0 2px 4px #456e2f}.selection-bubble{position:absolute;z-index:10;top:15%;left:50%;transform:translateX(-50%);background:#fff9df;border:2px solid #fff;border-radius:25px;padding:12px 22px;font-size:16px;font-weight:850;color:#38767a;box-shadow:0 6px 0 #145f7620;pointer-events:none;max-width:78%;text-align:center}.selection-bubble:after{content:'';position:absolute;bottom:-12px;left:46%;border-top:13px solid #fff9df;border-left:12px solid transparent;border-right:12px solid transparent}.decorations{position:absolute;inset:0;pointer-events:none;z-index:3}.decoration{position:absolute;width:83px;height:83px;pointer-events:none;transform:translate(-50%,-75%);filter:drop-shadow(0 6px 4px #12576c2a)}.decoration svg{width:100%;height:100%}.scene-caption{position:absolute;left:23px;bottom:145px;font-size:11px;letter-spacing:.1px;color:#d9fbf2;text-shadow:0 1px 4px #086a7c;pointer-events:none}.bonus-layer{position:absolute;inset:0;z-index:3;pointer-events:none}.pop-bubble{position:absolute;border:2px solid #d2faffc4;background:radial-gradient(circle at 26% 23%,#fff 0%,#ddfdff88 7%,#ffffff08 18%,#4cc5e00d 66%,#c4f3ffae 92%);border-radius:50%;width:53px;height:53px;padding:0;box-shadow:inset -4px -4px 10px #c9faff35,0 5px 10px #047f9717;pointer-events:auto;transition:transform .15s}.pop-bubble:before{content:'';position:absolute;width:12px;height:6px;top:10px;left:10px;border-radius:50%;background:#fff8;transform:rotate(-30deg)}.pop-bubble:hover{transform:scale(1.13)}.shell-target{position:absolute;pointer-events:auto;background:none;border:0;width:77px;height:77px;filter:drop-shadow(0 0 5px #ffe8a76b);transition:transform .15s}.shell-target:hover{transform:scale(1.15) rotate(8deg)}.shell-target svg{width:100%;height:100%}.treasure-basket{position:absolute;right:27px;bottom:164px;pointer-events:none;border-radius:20px;padding:9px 17px;display:flex;gap:7px;align-items:center;background:#ffefb8e6;border:2px solid #ffe6a0;color:#9d6b30;box-shadow:0 4px 0 #845c3c2b;font-size:20px;font-weight:900}.treasure-basket>span{width:38px;height:35px;display:block}.treasure-basket svg{width:100%;height:100%}.action-layer,.effects{position:absolute;inset:0;z-index:15;pointer-events:none}.food-flight{position:absolute;width:78px;height:69px;top:0;left:0;filter:drop-shadow(0 6px 3px #004f5e26);will-change:transform;pointer-events:none}.food-flight>svg{width:100%;height:100%}.food-cursor{width:64px;height:57px;position:absolute;top:0;left:0;z-index:20;pointer-events:none;filter:drop-shadow(0 5px 4px #064a6a44)}.food-cursor svg{width:100%;height:100%}.effect-star{position:absolute;font-size:28px;color:#fff4a0;animation:celebrate 1s ease-out both;pointer-events:none;text-shadow:0 2px 3px #eaab406b}.heart-effect{color:#ff98a7;font-size:28px}.bubble-ring{position:absolute;border:3px solid #d6ffff;border-radius:50%;width:53px;height:53px;animation:pop-ring .4s ease-out both;pointer-events:none}@keyframes celebrate{0%{transform:translateY(0) scale(.4);opacity:0}25%{opacity:1}100%{transform:translateY(-70px) scale(1.3);opacity:0}}@keyframes pop-ring{to{transform:scale(1.8);opacity:0}}.creature.munch .creature-inner{animation:munch .55s ease both}.creature.wiggle{animation:wiggle .4s ease-in-out}.creature.wave .creature-inner{animation:wave .7s ease-in-out}@keyframes munch{0%,100%{transform:scaleX(var(--dir,1)) scale(1)}30%{transform:scaleX(var(--dir,1)) scale(1.1,.91)}60%{transform:scaleX(var(--dir,1)) scale(.96,1.07)}}@keyframes wiggle{0%,100%{translate:0}25%{translate:-6px}75%{translate:6px}}@keyframes wave{0%,100%{rotate:0deg}25%{rotate:-8deg}75%{rotate:8deg}}.footer{display:flex;justify-content:space-between;align-items:center;color:#88a6a2;font-size:9px;padding:14px 2px 15px;gap:10px}.footer-heart{color:#d4a56a;padding-right:5px}.footer button{background:none;border:0;text-decoration:underline;color:#4d938d;font-size:10px}.footer-note{font-size:8px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:850;color:#93a47b}.discovery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px}.discovery-card{padding:12px 8px;background:#edf7ef;border-radius:20px;text-align:center;border:2px solid #e0eddf;font-size:11px;font-weight:800}.discovery-card .painted-sprite{height:97px;width:100%;max-width:120px;margin:auto}.discovery-card.locked .painted-sprite{filter:brightness(0) opacity(.12)}.discovery-card.locked{color:#a2b6a8}.discovery-card>span:last-child{display:block;margin:7px 0 0}.book-complete{background:#fff0b5;border-color:#f3c763}dialog{width:min(570px,calc(100% - 30px));padding:28px;border:3px solid #fff;border-radius:28px;background:#fffcf0;color:#315d5e;box-shadow:0 20px 90px #073e5b55}dialog::backdrop{background:#073f5c80}dialog h2{font-size:27px;letter-spacing:-.8px;margin:10px 0}dialog p{font-size:13px;line-height:1.7;color:#819483}.dialog-header{display:flex;justify-content:space-between;gap:12px}.dialog-header>.icon-button{font-size:25px}.setting-row{display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid #e3e6cf;gap:10px;font-size:14px;font-weight:800}.setting-row small{display:block;margin-top:5px;color:#93a18b;font-size:11px;font-weight:400}.setting-row input{width:22px;height:22px;accent-color:#4c9c83}.setting-row select{padding:10px;border:1px solid #d6e2ca;border-radius:10px;background:white;color:#57725f;font:inherit;font-size:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:24px}.settings-note{font-size:10px!important}.break-art{width:150px;height:120px;margin:0 auto 20px}#break-dialog{text-align:center}#break-dialog .dialog-actions{justify-content:center}.reduced-motion .creature-inner,.reduced-motion .effect-star,.reduced-motion .bubble-ring{animation:none!important}.still .creature{transition:none}.noscript{text-align:center;padding:20px}button:disabled{cursor:default}.feeding-locked .creature{cursor:wait}@media(min-width:1500px){.app{padding:0 35px}.topbar{height:94px}.playground{height:calc(100dvh - 125px)}.creatures{inset:110px 65px 200px 150px}.creature{width:calc(var(--size) * 1.13);height:calc(var(--size) * .92)}.friends .creatures{inset:110px 80px 200px 80px}.friends .creature{height:calc(var(--size) * 1.05)}.activity-panel{width:510px;min-height:118px}.tray-item{width:97px;min-height:88px}.tray-item>.painted-sprite,.tray-item>svg{width:70px;height:58px}.tray{padding:14px 16px}.mode-tab{width:91px;min-height:84px;font-size:11px}.mode-tab>span{width:38px;height:34px}}@media(max-width:1150px){.app{padding:0 15px}.world-tab{padding:9px 17px}.creatures{inset:102px 20px 190px 110px}.creature{width:calc(var(--size) * .83);height:calc(var(--size) * .68)}.friends .creature{width:calc(var(--size) * .78);height:calc(var(--size) * .78)}.friends .creatures{inset:110px 25px 175px 55px}.mode-tabs{left:13px;gap:10px}.mode-tab{width:75px;min-height:68px}.activity-panel{width:44%;gap:9px;padding:13px;min-height:108px}.guide-icon{width:49px;height:47px;padding:3px}.instruction h2{font-size:16px}.instruction p{font-size:10px}.instruction-kicker{font-size:7px}.tray-item{width:70px;min-height:76px;font-size:9px}.tray-item>.painted-sprite,.tray-item>svg{width:50px;height:44px}.tray{gap:7px;right:16px;padding:12px 10px}.activity-panel .primary-button{left:auto;right:0;bottom:calc(100% + 15px);margin:0;min-height:50px}.scene-badge{font-size:15px}.friends .mode-tab{width:90px;font-size:11px}.scene-caption{bottom:146px}.book-button{padding:8px 12px}.book-button>span:first-child{width:30px;height:26px}}@media(max-height:730px) and (min-width:800px){.topbar{height:72px}.playground{height:calc(100dvh - 94px);min-height:520px}.mode-tabs{top:91px;gap:8px}.mode-tab{min-height:63px;width:73px}.mode-tab>span{width:27px;height:25px}.creatures{inset:80px 25px 150px 120px}.friends .creatures{inset:90px 25px 145px 55px}.creature{width:calc(var(--size) * .85);height:calc(var(--size) * .69)}.friends .creature{width:calc(var(--size) * .85);height:calc(var(--size) * .83)}.activity-panel{min-height:93px;bottom:18px}.tray{min-height:93px;bottom:18px;padding-top:9px;padding-bottom:9px}.tray-item{min-height:72px}.scene-caption{bottom:124px}.scene-top{top:17px}.friends .mode-tabs{top:85px}}@media(max-width:760px){.app{padding:0 10px}.topbar{height:auto;min-height:126px;flex-wrap:wrap;padding:15px 3px 11px;gap:12px}.brand{font-size:34px;order:0}.brand-icon{width:45px;height:39px}.brand small{font-size:8px}.top-actions{order:1}.top-actions .icon-button{width:36px;height:36px;border-radius:12px}.world-switch{order:2;flex:1 1 100%;justify-content:center;border-radius:17px;padding:4px}.world-tab{flex:1;justify-content:center;padding:7px 12px;font-size:12px;border-radius:13px}.world-tab>span{width:30px;height:26px}.playground{height:calc(100dvh - 151px);min-height:650px;border-radius:21px;background-position:50% center}.scene-top{top:14px;left:16px;right:13px}.scene-badge{font-size:12px;letter-spacing:.4px;gap:6px}.scene-badge>span{width:22px;height:22px}.book-button{padding:6px 9px;border-radius:12px;font-size:8px;gap:4px}.book-button>span:first-child{width:25px;height:23px}.book-button b{font-size:10px}.scene-actions{gap:6px}.scene-control{width:34px;height:34px;border-radius:12px}.mode-tabs{top:67px;left:13px;right:13px;flex-direction:row;justify-content:center;gap:8px}.mode-tab{width:auto;flex:1;min-height:65px;padding:7px 3px;border-radius:15px;font-size:9px}.mode-tab>span{width:27px;height:26px}.creatures{inset:148px 0 252px 0}.creature{width:calc(var(--size) * .58);height:calc(var(--size) * .49)}.creature[data-creature=clownfish]{left:7%;top:5%}.creature[data-creature=shark]{left:38%;top:4%}.creature[data-creature=yellowfish]{left:73%;top:28%}.creature[data-creature=bluefish]{left:36%;top:61%}.creature[data-creature=turtle]{left:62%;top:68%}.creature[data-creature=octopus]{left:6%;top:62%}.friends .creatures{inset:142px 10px 248px 10px}.friends .creature{width:calc(var(--size) * .63);height:calc(var(--size) * .6)}.friends .creature[data-creature=bunny]{left:7%;top:0}.friends .creature[data-creature=cow]{left:57%;top:0}.friends .creature[data-creature=elephant]{left:6%;top:56%}.friends .creature[data-creature=monkey]{left:57%;top:56%}.friends .mode-tabs{top:66px}.friends .mode-tab{flex:0 0 140px;min-height:59px}.activity-panel{left:12px;right:12px;bottom:14px;width:auto;min-height:91px;gap:10px;padding:12px;border-radius:18px}.instruction h2{font-size:16px}.instruction p{font-size:10px}.guide-icon{width:46px;height:46px}.instruction-kicker{font-size:7px}.tray{left:12px;right:12px;bottom:121px;justify-content:center;padding:9px;min-height:90px;border-radius:18px;gap:7px}.tray-item{width:68px;min-height:69px;border-radius:12px;font-size:9px}.tray-item>svg,.tray-item>.painted-sprite{width:48px;height:41px}.tray-label{font-size:10px;top:-22px}.activity-panel .primary-button{right:12px;bottom:calc(100% + 123px);min-height:45px;font-size:12px;padding:10px 16px}.scene-caption{display:none}.selection-bubble{top:23%;font-size:13px;padding:9px 16px}.creature-label{font-size:10px;padding:4px 9px}.count-bubble{top:-8px;padding:7px 10px;gap:5px}.count-bubble>span{height:11px;width:11px}.treasure-basket{bottom:238px;right:15px;font-size:16px;padding:5px 12px}.shell-target{width:61px;height:61px}.pop-bubble{width:43px;height:43px}.footer{font-size:8px;padding-top:12px}.footer-note{display:none}.discovery-card .painted-sprite{height:80px}dialog{padding:23px}.setting-row{font-size:13px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.creature{will-change:auto}}
