:root{color-scheme:dark;--cream:#fff2d7;--muted:#afcfd3;--mint:#9ce5da;--gold:#ffe29a;--ink:#062331;--focus:#fff1a4;font-family:ui-rounded,'Avenir Next','Trebuchet MS',system-ui,sans-serif}
/* Suppress accidental double-tap zoom within play; keep page panning and pinch zoom. */
.reef{touch-action:manipulation}
*{box-sizing:border-box}body{margin:0;min-height:100svh;color:var(--cream);background:radial-gradient(ellipse at 50% 22%,#0b5264 0,#082e40 48%,#051c2b 90%)}button,a,summary{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{font:inherit;color:inherit;cursor:pointer;border:0}button:disabled{cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:5px}[hidden]{display:none!important}.topbar{max-width:1200px;margin:auto;padding:20px 26px 8px;display:flex;align-items:center;justify-content:space-between}.back{display:flex;gap:10px;align-items:center;color:var(--cream);font-weight:800;font-size:18px;min-height:48px;text-decoration:none;padding:0 10px;border-radius:14px}.back>span:first-child{font-size:27px}.tools{display:flex;gap:10px}.tool{width:48px;height:48px;background:#123f50;border:1px solid #548898;border-radius:16px;display:grid;place-items:center;box-shadow:0 5px 14px #001b2270}.tool:hover{background:#205565}.tool svg{width:25px;height:25px;fill:none;stroke:var(--cream);stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}#help svg{fill:var(--cream);stroke:none}.sound-waves{display:none}#sound[aria-pressed=true] .sound-waves{display:block}#sound[aria-pressed=true] .sound-slash{display:none}.sound-tool{width:auto;min-width:120px;padding:0 12px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:800;white-space:nowrap}.sound-tool svg{flex:0 0 23px;width:23px;height:23px}main{width:min(100% - 32px,1000px);margin:auto}.heading{text-align:center;margin:4px 0 22px}.eyebrow{font-size:10px;letter-spacing:.22em;font-weight:800;color:var(--mint);margin:8px 0}.heading h1{font-size:clamp(32px,4.6vw,54px);line-height:1.08;letter-spacing:-.04em;margin:0 0 10px;text-shadow:0 4px 15px #001c2180}.intro{font-size:17px;color:#d2e8e4;margin:0}.sound-hint{margin:9px 0 0;color:#a7cbd0;font-size:12px;line-height:1.4}.reef{position:relative;isolation:isolate;overflow:hidden;border:1px solid #4b8c97;border-radius:36px;background:linear-gradient(#07627c,#0a3446 62%,#194755);box-shadow:inset 0 1px 0 #b6e4ec30,0 30px 70px #00171d90}.underwater-scene{position:relative;isolation:isolate;height:300px;overflow:hidden;background:radial-gradient(ellipse at 45% -20%,#61d9ed55,transparent 58%)}.reef-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center bottom;filter:saturate(.42) brightness(.76);transition:filter .7s ease;z-index:-2}.reef[data-cleaned="1"] .reef-art{filter:saturate(.7) brightness(.87)}.reef[data-cleaned="2"] .reef-art{filter:saturate(.93) brightness(.98)}.reef[data-cleaned="3"] .reef-art{filter:saturate(1.15) brightness(1.08)}.sun-rays{position:absolute;inset:-30% -10% 0;z-index:-1;pointer-events:none;opacity:.34;background:conic-gradient(from 140deg at 50% -4%,transparent 0deg,#9be9ee30 10deg,transparent 17deg,transparent 28deg,#b8fbff30 31deg,transparent 37deg,transparent 52deg,#b3f5ff30 56deg,transparent 62deg)}.bubbles{position:absolute;inset:0;pointer-events:none;z-index:-1}.bubbles i{position:absolute;width:12px;height:12px;left:9%;top:48%;border:1px solid #97d8e973;border-radius:50%;box-shadow:inset 2px 2px 3px #cff8ff20;animation:bubble 7s ease-in-out infinite alternate}.bubbles i:nth-child(2){left:36%;top:14%;width:7px;height:7px;animation-delay:-2s}.bubbles i:nth-child(3){left:68%;top:42%;width:9px;height:9px;animation-delay:-4s}.bubbles i:nth-child(4){left:92%;top:26%;width:15px;height:15px;animation-delay:-1s}.bubbles i:nth-child(5){left:55%;top:70%;width:8px;height:8px;animation-delay:-3s}.litter-field{position:absolute;inset:46px 22% 8px 14%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:16px}.litter{position:relative;grid-row:1;display:flex;align-items:center;justify-content:center;flex-direction:column;min-width:0;width:100%;max-width:155px;min-height:168px;justify-self:center;padding:9px 8px 12px;border-radius:27px;background:radial-gradient(ellipse,#0d4a6060,#04324719 70%);transition:background .2s,transform .2s,box-shadow .2s}.litter-art{display:flex;align-items:center;justify-content:center;width:100%;height:123px}.litter-art img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 12px 7px #00273680);transition:transform .2s}.litter-name{font-size:15px;font-weight:850;line-height:1.2;color:#f3f0d9;background:#073447d9;padding:6px 12px;border:1px solid #75b2bd55;border-radius:20px}.litter:not(:disabled):hover .litter-art img{transform:translateY(-4px) rotate(-3deg)}.litter:not(:disabled):active{transform:translateY(2px)}.litter[aria-pressed=true]{background:radial-gradient(ellipse,#c4efed30,#10536928 70%);box-shadow:inset 0 0 0 3px #ffe6a5,0 0 27px #ffd47532}.selection-mark{position:absolute;right:11px;top:8px;font-size:21px;color:var(--gold);opacity:0}.litter[aria-pressed=true] .selection-mark{opacity:1}.turtle{position:absolute;right:2%;top:5px;width:142px;height:130px;background:transparent;border-radius:50%;padding:0;filter:drop-shadow(0 10px 7px #001d3260);z-index:1}.turtle img{width:100%;height:100%;object-fit:contain;animation:float 5s ease-in-out infinite alternate}.turtle:not(:disabled):hover{filter:drop-shadow(0 0 13px #9ee8c070)}.turtle-sparkle{position:absolute;top:3%;left:13%;font-size:26px;color:#ffe9a5;opacity:0}.reef[data-stage=complete] .turtle-sparkle{opacity:1}.turtle.hello img{animation:hello .65s ease-in-out,float 5s .65s ease-in-out infinite alternate}.fish{position:absolute;width:40px;height:22px;border-radius:60% 45% 45% 60%;background:#ffc273;box-shadow:inset 0 -5px 0 #d37f4b55;opacity:0;transform:translateX(-16px);transition:opacity .7s,transform .7s;z-index:-1}.fish::before{content:"";position:absolute;left:-13px;top:2px;border-style:solid;border-width:9px 14px 9px 0;border-color:transparent #f3a46c transparent transparent}.fish::after{content:"";position:absolute;right:7px;top:6px;width:4px;height:4px;border-radius:50%;background:#173f48}.fish-one{left:21%;top:24%}.fish-two{left:62%;top:61%;width:31px;height:18px;background:#c5a2e7;transform:scaleX(-1) translateX(-16px)}.fish-two::before{border-right-color:#b28bd6;border-width:7px 12px 7px 0}.fish-three{left:44%;top:12%;width:33px;height:18px;background:#f3d993}.fish-three::before{border-right-color:#ddc274;border-width:7px 12px 7px 0}.reef[data-cleaned="1"] .fish-one,.reef[data-cleaned="2"] :is(.fish-one,.fish-two),.reef[data-cleaned="3"] .fish{opacity:.85;transform:translateX(0)}.reef[data-cleaned="2"] .fish-two,.reef[data-cleaned="3"] .fish-two{transform:scaleX(-1)}.guide-row{position:relative;display:flex;gap:16px;align-items:center;min-height:89px;margin:0 22px;padding:13px 16px 13px 105px;border-radius:23px;border:1px solid #6caba866;background:#082e3df0;box-shadow:0 7px 20px #06232f55;z-index:2}.glee-bubble{position:absolute;width:88px;height:88px;left:4px;bottom:5px;border:1px solid #a0e0e850;border-radius:50%;background:radial-gradient(ellipse at 35% 25%,#9de5ee18,#4aa0b106);box-shadow:inset 0 0 9px #b8f7ff16}.glee{position:absolute;width:83px;height:auto;bottom:-2px;left:1px;filter:drop-shadow(0 5px 5px #001c2d88)}.instruction-wrap{flex:1;min-width:0}.instruction-wrap h2{font-size:24px;letter-spacing:-.025em;line-height:1.15;margin:0 0 5px;font-weight:850}.instruction-wrap p{font-size:15px;line-height:1.4;color:#c3dbda;margin:0}.replay{display:flex;gap:8px;align-items:center;justify-content:center;min-height:48px;padding:10px 16px;border-radius:14px;background:#ffe09a;color:#25434a;font-size:15px;font-weight:850;box-shadow:0 4px 0 #8a713e}.replay:hover{background:#ffebbb}.replay:active{transform:translateY(2px);box-shadow:0 2px 0 #8a713e}.replay>span:first-child{font-size:25px}.bins{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;max-width:670px;margin:20px auto 0;padding:5px 18px 24px;position:relative}.bins::before{content:"";position:absolute;inset:58% -30vw -20px;z-index:-1;background:linear-gradient(#648e8c88,#547b7f);border-top:2px solid #a2c7bb33}.bin{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:end;min-height:160px;border-radius:24px 24px 19px 19px;padding:23px 10px 12px;color:#304a53;background:linear-gradient(100deg,#d8b67e,#f7dfb0 47%,#d7bb8a);box-shadow:inset 0 2px 2px #fff6cf80,inset -8px 0 12px #77644322,0 9px 10px #002b3a55;transition:transform .18s,box-shadow .2s}.bin-rim{position:absolute;left:8%;right:8%;top:7px;height:25px;border-radius:50% 50% 35% 35%;background:#213c45;box-shadow:inset 0 5px 5px #001e2c,0 3px 2px #fff5cf66}.bin-icon{width:49px;height:57px;fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;margin:4px 0 6px}.bin-name{font-size:20px;line-height:1.2;font-weight:900;letter-spacing:.02em}.plastic-bin{color:#e4f8fb;background:linear-gradient(100deg,#33789a,#55a7c5 47%,#327c9c)}.metal-bin{color:#ffe6d5;background:linear-gradient(100deg,#c45048,#ee7566 47%,#ba4742)}.plastic-bin .bin-rim{box-shadow:inset 0 5px 5px #001e2c,0 3px 2px #a0edff80}.metal-bin .bin-rim{box-shadow:inset 0 5px 5px #001e2c,0 3px 2px #ffd2b480}.bin:not(:disabled):hover{transform:translateY(-3px);box-shadow:inset 0 2px 2px #fff6cf80,0 0 0 2px #d8f1e980,0 12px 16px #002b3a55}.bin:not(:disabled):active{transform:translateY(2px)}.bin:disabled{opacity:.86}.bin.filled{opacity:1}.bin-check{position:absolute;right:9px;top:38px;width:25px;height:25px;background:#fff3c9;color:#265957;border-radius:50%;display:grid;place-items:center;font-size:18px;font-weight:900;opacity:0}.bin.filled .bin-check{opacity:1;animation:arrive .4s ease}.bin.try-again{outline:3px dashed #ffe6a5;outline-offset:5px}.demo-target{outline:3px dashed #ffe9a5!important;outline-offset:5px!important;filter:drop-shadow(0 0 12px #ffe9a54d)}.demo-banner{display:flex;gap:18px;align-items:center;justify-content:center;min-height:52px;margin:12px 18px -5px;color:#d2e9df;font-size:14px;font-weight:700}.demo-banner button{display:flex;gap:12px;align-items:center;min-height:44px;padding:10px 16px;background:#1c5964;border:1px solid #85c6c0;border-radius:14px;font-size:14px;font-weight:850}.demo-banner button:hover{background:#2a7380}footer{max-width:900px;margin:24px auto 20px;padding:0 22px;text-align:center;font-size:12px;color:#a6c3c6}.footer-line{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;line-height:1.5}footer details{max-width:680px;margin:4px auto 0;line-height:1.55}footer summary{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;min-height:44px;min-width:100px;color:#c4dcd9;text-decoration:underline;text-underline-offset:4px}footer details p{text-align:start;font-size:13px;padding:0 10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.noscript{text-align:center;margin:20px}img{user-select:none;-webkit-user-drag:none}.reef,.tool,.demo-banner button{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-user-drag:none}:is(.reef,.tool,.demo-banner button) :is(input,textarea,select,[contenteditable]:not([contenteditable=false])),:is(.reef,.tool,.demo-banner button) [contenteditable]:not([contenteditable=false]) *{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default;-webkit-user-drag:auto}
@keyframes bubble{to{transform:translate(4px,-15px);opacity:.4}}@keyframes float{to{transform:translate(-5px,8px) rotate(3deg)}}@keyframes hello{25%{transform:rotate(-8deg)}70%{transform:rotate(7deg)}}@keyframes arrive{from{opacity:0;transform:scale(.7)}to{opacity:1;transform:scale(1)}}
@media(max-width:620px){.topbar{padding:10px 14px 4px}.back{font-size:16px;padding:0 4px;gap:8px}.tools{gap:8px}.tool{width:46px;height:46px;border-radius:15px}.sound-tool{width:auto;min-width:112px;padding:0 10px;gap:6px;font-size:12px}.sound-tool svg{flex-basis:21px;width:21px;height:21px}main{width:calc(100% - 20px)}.heading{margin:10px 0 19px}.eyebrow{font-size:8px;margin:7px 0 8px}.heading h1{font-size:34px;margin-bottom:8px}.intro{font-size:14px}.sound-hint{font-size:11px;margin-top:8px}.reef{border-radius:26px}.underwater-scene{height:231px}.reef-art{object-position:48% bottom}.litter-field{inset:53px 10px 4px;gap:8px}.litter{min-height:137px;max-width:120px;border-radius:21px;padding:7px 4px 10px}.litter-art{height:97px}.litter-name{font-size:12px;padding:5px 10px}.selection-mark{top:6px;right:7px;font-size:17px}.turtle{width:96px;height:82px;top:2px;right:8px}.turtle-sparkle{font-size:21px}.fish-one{left:13%;top:20%;width:27px;height:16px}.fish-one::before{border-width:6px 10px 6px 0;left:-9px}.fish-one::after{top:4px;right:5px;width:3px;height:3px}.fish-two{left:71%;top:74%}.fish-three{left:42%;top:10%;width:27px;height:15px}.guide-row{gap:8px;margin:0 10px;min-height:90px;padding:12px 10px 12px 71px;border-radius:18px;flex-wrap:wrap}.glee-bubble{width:61px;height:63px;left:3px;bottom:12px}.glee{width:59px;left:0;bottom:-1px}.instruction-wrap{flex-basis:100%}.instruction-wrap h2{font-size:19px;line-height:1.2;margin-bottom:4px}.instruction-wrap p{font-size:13px;line-height:1.4}.replay{min-height:44px;font-size:13px;padding:7px 12px}.replay>span:first-child{font-size:22px}.bins{gap:12px;margin-top:15px;padding:5px 14px 19px}.bin{min-height:132px;border-radius:19px 19px 15px 15px;padding:23px 5px 11px}.bin-rim{height:20px;left:9%;right:9%;top:6px}.bin-icon{height:45px;width:42px;stroke-width:4;margin-bottom:7px}.bin-name{font-size:15px;letter-spacing:0}.bin-check{right:4px;top:30px;width:20px;height:20px;font-size:14px}.demo-banner{font-size:12px;gap:10px;justify-content:space-between;margin:12px 15px -1px}.demo-banner button{font-size:12px;gap:8px;padding:9px 12px}footer{font-size:10px;margin:20px auto 10px;padding:0 14px}.footer-line{gap:5px 8px}footer details p{font-size:12px}}
@media(max-width:350px){.heading h1{font-size:30px}.heading{margin-bottom:15px}.underwater-scene{height:219px}.litter-field{gap:5px;inset-inline:8px}.litter{min-height:126px}.litter-art{height:87px}.litter-name{font-size:11px;padding-inline:8px}.guide-row{padding-left:62px}.glee-bubble{width:54px;height:56px}.glee{width:52px}.instruction-wrap h2{font-size:17px}.instruction-wrap p{font-size:12px}.bins{gap:9px;padding-inline:11px}.bin{min-height:123px}.bin-name{font-size:14px}.bin-icon{width:36px;height:41px}.turtle{width:88px;height:75px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.bubbles i{opacity:.5}.turtle.hello{filter:drop-shadow(0 0 12px #ffe3a466)}}
