:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#fff9e7;--cream:#fff3d6;--ink:#442c16;background:#1f7f86;font:16px/1.35 Georgia,Times New Roman,serif}*{box-sizing:border-box}body{margin:0}button,summary{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible,summary:focus-visible,#world:focus-visible{outline-offset:4px;outline:3px solid #fff4b1}#game{isolation:isolate;height:100dvh;min-height:100svh;position:relative;overflow:hidden}#world{touch-action:none;position:absolute;inset:0}#world canvas{width:100%;height:100%;display:block}.heading{z-index:3;position:absolute;top:clamp(12px,1.9vw,36px);left:clamp(17px,2.4vw,46px)}.heading summary{list-style:none;display:inline-block}.heading summary::-webkit-details-marker{display:none}.wordmark{letter-spacing:-.034em;color:#fffbe9;text-shadow:0 2px 1px #433119,0 4px 11px #211c11a1;font:700 clamp(36px,3vw,62px)/.88 Georgia,serif}.wordmark-wave{fill:#3fc2c8;filter:drop-shadow(0 2px 3px #123c35aa);width:clamp(110px,8.8vw,176px);height:auto;margin:3px 0 0 6%;display:block}.challenge-menu{-webkit-backdrop-filter:blur(12px);background:#153b37c2;border:1px solid #f4e3ba83;border-radius:14px;width:min(288px,75vw);margin-top:8px;padding:12px 14px 14px;box-shadow:0 5px 20px #1d251960}.challenge-picker{color:#efecd7;justify-content:space-between;align-items:center;display:flex}.challenge-picker button,#reset{color:inherit;background:#fff9db19;border:1px solid #eedbbb5c;border-radius:9px;padding:2px 8px}.challenge-picker button:disabled{opacity:.45}.challenge-menu p{color:#d7e7dc;margin:12px 0 0;font:500 13px/1.45 system-ui,sans-serif}#reset{margin-top:12px}.objective{z-index:2;-webkit-backdrop-filter:blur(12px)saturate(1.35);color:#fbf1d8;text-shadow:0 1px 2px #102b28;background:linear-gradient(160deg,#1f4d4bb3,#123a3aad 62%,#0f3434b8);border:1.5px solid #cfeee24d;border-radius:1.05em;width:clamp(238px,22.7vw,400px);padding:.2em 1.05em;font-size:clamp(14px,1.3vw,23px);position:absolute;top:clamp(18px,4.25vh,56px);right:clamp(14px,1.5vw,36px);box-shadow:inset 0 0 0 1px #0a2a2a66,inset 0 1px #d6f2e633,0 10px 28px #08242d59}.creature{align-items:center;gap:.72em;min-height:2.72em;display:flex;position:relative}.creature+.creature{border-top:1px solid #cfe4cf40}.creature strong{letter-spacing:-.005em;white-space:nowrap;font-weight:500;line-height:1.12}.creature-icon{object-fit:contain;filter:drop-shadow(0 2px 2px #0b2523);flex:none;width:2em;height:2em;display:block}.creature output{color:#0000;opacity:0;width:1.05em;height:1.05em;text-shadow:none;border:1.5px solid #0f3837;border-radius:50%;place-items:center;font:800 .62em/1 system-ui,sans-serif;transition:opacity .25s,transform .35s cubic-bezier(.3,1.6,.5,1);display:grid;position:absolute;bottom:.26em;left:1.55em;transform:scale(.4)}.creature[data-state=good] output,.creature[data-state=miss] output{opacity:1;transform:none}.creature[data-state=good] output{color:#0b3a22;background:#8fe0a0}.creature[data-state=miss] output{color:#5a3306;background:#ffc773}.creature[data-state=good] output:before{content:"✓"}.creature[data-state=miss] output:before{content:"!"}.briefing{z-index:2;color:#eaf3e6;text-shadow:0 1px 2px #0d2a28;-webkit-backdrop-filter:blur(12px)saturate(1.3);background:linear-gradient(160deg,#1b454399,#10393985);border:1px solid #cfeee240;border-radius:.95em;width:clamp(238px,22.7vw,400px);padding:.55em .95em .6em;font-size:clamp(12px,.9vw,16px);position:absolute;top:calc(clamp(18px,4.25vh,56px) + clamp(124px,14.2vh,190px));right:clamp(14px,1.5vw,36px)}.challenge-heading{position:relative}#shell-mark{object-fit:contain;filter:brightness(1.67)saturate(1.21)drop-shadow(0 2px 3px #0a2523b0);pointer-events:none;width:36px;height:36px;position:absolute;top:-2px;right:-2px}#chapter{color:#a9e2d3;letter-spacing:.08em;text-transform:uppercase;font:650 .74em/1.25 system-ui,sans-serif}.challenge-heading h1{letter-spacing:-.02em;margin:1px 0 0;padding-right:36px;font-size:1.5em;font-weight:600;line-height:1.05}.challenge-hint,.status{color:#f7e5bc;margin:.5em 0 0;font:500 .9em/1.4 system-ui,sans-serif}.challenge-hint{border-top:1px solid #d9e5c130;padding-top:.5em}.status{color:#bfe8de}.status:empty{display:none}.controls{left:50%;bottom:max(clamp(52px, 7vh, 84px), env(safe-area-inset-bottom));z-index:2;white-space:nowrap;align-items:center;gap:clamp(8px,1.45vw,28px);display:flex;position:absolute;transform:translate(-50%)}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.controls button{white-space:nowrap;border-radius:4em;justify-content:center;align-items:center;gap:.43em;transition:transform .12s,filter .15s,background .15s;display:inline-flex}.tool{min-width:5.5em;height:2.04em;color:var(--ink);text-shadow:0 1px #ffeed8;background:linear-gradient(#f4e6cf,#e5d1b6 82%,#d9c09d);border:2px solid #fff0d0;padding:0 .78em;font-size:clamp(19px,1.66vw,34px);font-weight:500;box-shadow:inset 0 -2px 2px #9469425e,0 3px #8d6a4b,0 7px 10px #3c281c66}.tool:hover:enabled{background:linear-gradient(#fff3de,#efdabb);transform:translateY(-1px)}.tool:active:enabled{transform:translateY(2px);box-shadow:inset 0 -2px 2px #9469425e,0 1px #8d6a4b,0 3px 6px #3c281c66}.tool svg{fill:none;stroke:currentColor;stroke-width:2.9px;stroke-linecap:round;stroke-linejoin:round;width:.98em;height:.98em}.tool svg .solid{fill:currentColor;stroke:none}.tool:disabled{color:#7c6044;filter:saturate(.72)brightness(.97)}.release{color:#fffbe9;text-shadow:0 2px #8f4d05;background:linear-gradient(#ffc445,#ed9d16 43%,#c9790b 65%,#b06403 100%);border:3px solid #ffd56d;min-width:8.6em;height:2em;padding:0 .66em;font-size:clamp(22px,2.07vw,42px);font-weight:500;box-shadow:inset 0 1px 3px #ffef9d,inset 0 -2px 4px #fbab3e,0 3px #a85b07,0 8px 14px #48260eb0,0 0 26px #ffb73c40}.release svg{fill:none;stroke:#fff0ab;stroke-width:3.5px;stroke-linecap:round;width:1.31em;height:1em}.release:hover:enabled{filter:brightness(1.1);transform:translateY(-1px)}.release:active:enabled{transform:translateY(2px)}.release:disabled{filter:saturate(.7)}.release[data-busy=true] svg{animation:1.1s ease-in-out infinite bob}@keyframes bob{50%{transform:translateY(-3px)}}.tip{z-index:1;left:50%;bottom:max(clamp(8px, 1.2vh, 14px), env(safe-area-inset-bottom));color:#f4ecd8;letter-spacing:.01em;white-space:nowrap;text-shadow:0 1px 2px #0d2a28;pointer-events:none;-webkit-backdrop-filter:blur(10px)saturate(1.3);background:linear-gradient(160deg,#1b4543c7,#103939bd);border:1px solid #cfeee240;border-radius:99em;align-items:center;gap:1.15em;margin:0;padding:.38em 1.05em;font:500 clamp(12px,.95vw,16px)/1.2 system-ui,sans-serif;display:flex;position:absolute;transform:translate(-50%);box-shadow:0 4px 14px #0a201f40}.tip-item{align-items:center;gap:.4em;display:inline-flex}.tip-item b{color:#ffd27a;font-weight:700}.tip .mouse{fill:none;stroke:currentColor;stroke-width:1.6px;width:1.05em;height:1.45em}.tip .mouse .press{fill:#f2b542;stroke:none}.tip.touch .mouse{display:none}.sound-panel{z-index:3;right:clamp(14px,1.5vw,36px);bottom:max(clamp(14px, 4.6vh, 58px), env(safe-area-inset-bottom));flex-direction:column;align-items:flex-end;gap:10px;display:flex;position:absolute}.sound-menu{color:#fbf1d8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:linear-gradient(160deg,#1f4d4bc4,#123a3abf 62%,#0f3434c8);border:1.5px solid #bfe4d34f;border-radius:14px;gap:10px;width:220px;padding:12px 14px;font:500 14px/1.2 system-ui,sans-serif;display:grid;box-shadow:0 10px 28px #08242d59}.sound-menu[hidden]{display:none}.volume{grid-template-columns:1fr auto;align-items:center;gap:6px 8px;display:grid}.volume output{font-variant-numeric:tabular-nums;color:#bfe8de;font-size:13px}.volume input{accent-color:#f0b23a;grid-column:1/-1;width:100%}.mute-toggle{color:inherit;background:#fff9db19;border:1px solid #eedbbb5c;border-radius:9px;padding:5px 8px;font:600 13px system-ui,sans-serif}.mute-toggle[aria-pressed=true]{color:#3b2408;background:#f0b23a;border-color:#f0b23a}.sound{aspect-ratio:1;width:clamp(40px,3vw,54px);color:var(--ink);background:linear-gradient(#f4e6cf,#e5d1b6 82%,#d9c09d);border:2px solid #fff0d0;border-radius:50%;place-items:center;padding:0;display:grid;position:relative;box-shadow:inset 0 -2px 2px #9469425e,0 3px #8d6a4b,0 7px 10px #3c281c66}.sound svg{fill:none;stroke:currentColor;stroke-width:2.2px;stroke-linecap:round;width:52%;height:52%}.sound svg .solid{fill:currentColor;stroke:none}.sound .mute,.sound[data-muted=true] .wave{display:none}.sound[data-muted=true] .mute{display:inline}#game.ready #world{animation:1.4s cubic-bezier(.2,.7,.2,1) both shore-in}#game.ready .heading{animation:.9s cubic-bezier(.2,.8,.2,1) .45s both drop-in}#game.ready .objective,#game.ready .briefing{animation:.9s cubic-bezier(.2,.8,.2,1) .6s both slide-in}#game.ready .briefing{animation-delay:.72s}#game.ready .controls{animation:.9s cubic-bezier(.2,.8,.2,1) .8s both rise-in}#game.ready .tip,#game.ready .sound-panel{animation:.8s 1.05s both fade-in}@keyframes shore-in{0%{opacity:0;filter:blur(6px);transform:scale(1.035)}to{opacity:1;filter:none;transform:none}}@keyframes drop-in{0%{opacity:0;transform:translateY(-18px)}to{opacity:1;transform:none}}@keyframes slide-in{0%{opacity:0;transform:translate(26px)}to{opacity:1;transform:none}}@keyframes rise-in{0%{opacity:0;transform:translate(-50%,22px)}to{opacity:1;transform:translate(-50%)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){#game.ready *{animation-duration:10ms!important;animation-delay:0s!important}}@media (width<=699px),(aspect-ratio<=6/5){.objective{width:min(268px,100% - 26px);font-size:clamp(13px,3.3vw,18px);top:74px;right:13px}.briefing{width:min(268px,100% - 26px);font-size:clamp(11px,2.7vw,14px);top:172px;right:13px}.controls{width:min(430px,100% - 18px);bottom:max(46px, env(safe-area-inset-bottom));flex-wrap:wrap;justify-content:center;gap:7px}.tip{bottom:max(8px, env(safe-area-inset-bottom));gap:.9em;padding:.32em .85em;font-size:12px}.tool{min-width:0;height:42px;padding:0 11px;font-size:clamp(14px,3.5vw,20px)}.release{border-width:2px;flex:1 0 100%;min-width:0;height:46px;margin-left:0;padding:0 9px;font-size:clamp(18px,4vw,26px)}.controls button{gap:.32em}.sound-panel{flex-direction:column-reverse;top:14px;bottom:auto;right:13px}.sound{width:38px}}@media (width<=699px) and (height<=680px){.objective{top:56px}.briefing{top:148px}.wordmark{font-size:32px}.controls{bottom:max(42px,env(safe-area-inset-bottom))}}@media (width<=340px){.tool,.release{gap:3px;padding-inline:5px}.controls{gap:4px}}@media (prefers-reduced-motion:reduce){.release[data-busy=true] svg{animation:none}}
