:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ink:#e2f1ec;--dim:#e2f1ecb3}*{box-sizing:border-box}html,body{overscroll-behavior:none;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;background:#05070f;height:100%;margin:0;overflow:hidden}body{text-transform:lowercase;color:var(--ink);-webkit-font-smoothing:none;font:14px/1.35 Pixelify Sans,ui-monospace,SF Mono,Menlo,Consolas,monospace}button,input,select{font:inherit;color:inherit;text-transform:inherit}#app canvas{width:100%;height:100%;image-rendering:pixelated;cursor:grab;display:block;position:fixed;inset:0}#app canvas:active{cursor:grabbing}#hud{pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:end;gap:16px;padding:20px 24px;display:grid;position:fixed;bottom:0;left:0;right:0}#hud>*{pointer-events:auto}.title{letter-spacing:.18em;font-size:14px}.dots{gap:10px;display:flex}.dot{border:2px solid var(--dim);cursor:pointer;background:0 0;width:10px;height:10px;padding:0}.dot.on{background:var(--ink);border-color:var(--ink)}.chips{justify-self:end;gap:6px;display:flex}.chips button{border:2px solid var(--dim);color:var(--dim);letter-spacing:.08em;cursor:pointer;background:0 0;padding:3px 8px}.chips button.on,.chips button:hover{color:var(--ink);border-color:var(--ink)}@media (width<=560px){#hud{grid-template-columns:1fr;justify-items:center;gap:10px}.chips{justify-self:center}}#app canvas{touch-action:none}#game-hud{padding:max(16px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;flex-direction:column;align-items:center;gap:10px;display:flex;position:fixed;inset:0}#game-hud button{pointer-events:auto;border:2px solid var(--dim);color:var(--dim);letter-spacing:.12em;cursor:pointer;touch-action:manipulation;background:#050c18c7;padding:4px 10px}#game-hud .kit{align-items:center;gap:8px;margin-left:12px;display:flex}#game-hud .cell{border:2px solid var(--dim);background:#050c18c7;width:72px;height:12px}#game-hud .cell b{background:#7fd0b0;height:100%;display:block}#game-hud .air{background:#050c18c7;border:2px solid #a0d8e0;width:72px;height:12px;display:none}#game-hud .air b{background:#a0d8e0;height:100%;display:block}#game-hud .air.low{border-color:#f08a7a;animation:.5s ease-in-out infinite breathe}#game-hud .pips{gap:4px;display:flex}#game-hud .pips u{background:#ffc040;width:10px;height:10px}#game-hud button.on,#game-hud button:hover{color:var(--ink);border-color:var(--ink)}.row{align-items:center;gap:8px;width:100%;display:flex}.grow{flex:1}.timeline{pointer-events:auto;align-items:center;gap:12px;width:100%;display:flex}.timeline .play{min-width:64px}.track{cursor:ew-resize;touch-action:none;flex:1;height:28px;position:relative}.track:before{content:"";border:2px solid var(--dim);background:#050c18c7;height:6px;position:absolute;top:11px;left:0;right:0}.fill{background:var(--ink);pointer-events:none;height:2px;position:absolute;top:13px;left:0}.head{background:var(--ink);pointer-events:none;width:6px;height:22px;margin-left:-3px;position:absolute;top:3px}.marks i{pointer-events:none;width:2px;height:16px;margin-left:-1px;position:absolute;top:6px}.marks .event{background:var(--dim)}.marks .edit{background:#ffc56b}.marks .bell{background:#fff6d8;width:4px;margin-left:-2px}.pips{gap:6px;display:flex}.pips i{border:2px solid var(--ink);background:#050c18c7;width:10px;height:10px}.pips i.on{background:#ffc56b;border-color:#ffc56b}.marks .lost{background:#d0504a;width:4px;margin-left:-2px}.clock{text-align:right;letter-spacing:.08em;white-space:nowrap;background:#050c18c7;min-width:92px;padding:2px 6px}#stick{border:2px solid var(--dim);opacity:0;pointer-events:none;border-radius:50%;width:92px;height:92px;position:fixed;top:-46px;left:-46px}#stick.on{opacity:1}#stick i{background:var(--ink);border-radius:50%;width:28px;height:28px;position:absolute;top:30px;left:30px}@media (pointer:coarse){body{font-size:13px}#game-hud button{min-width:64px;min-height:48px;padding:8px 14px}.track{height:44px}.track:before{top:19px}.fill{top:21px}.head{width:8px;height:28px;margin-left:-4px;top:8px}.marks i{height:20px;top:12px}.clock{min-width:0}}#veil{pointer-events:none;background:#0b0d1e;place-items:center;display:grid;position:fixed;inset:0}#veil i{opacity:0;background:#f08a7a;border-radius:50%;width:14px;height:14px;transition:opacity .4s}#veil.loading i{opacity:1;animation:1.4s ease-in-out infinite breathe}#veil{z-index:0}#card{z-index:2}@keyframes breathe{50%{opacity:.25}}#game-hud.off{display:none}#card{color:#3c3a52;-webkit-user-select:none;user-select:none;flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:24px;display:none;position:fixed;inset:0}#card.on{display:flex}#card[data-mode=menu]{color:var(--ink);background:#0b0d1eb8}#card[data-mode=title],#card[data-mode=end]:not(.lost){color:#fff0c8;text-shadow:0 2px #0b0d1e,0 0 12px #0b0d1e;background:linear-gradient(#0b0d1e00 58%,#0b0d1ecc 80%,#0b0d1ef0 100%);justify-content:flex-end;gap:12px;padding-bottom:max(5vh,24px)}#card[data-mode=end].lost{color:#fff0c8;background:#0b0d1e}#card.dive h1,#card.dive .row,#card.dive .keys{opacity:0;transition:opacity .45s}#card h1,#card .row,#card .tally,#card .keys{position:relative}#card[data-mode=title] h1{text-shadow:0 2px #0b0d1e}#card h1{text-align:center;letter-spacing:.5em;text-indent:.5em;margin:0;font-size:30px;font-weight:400}#card h1 small{letter-spacing:.42em;text-indent:.42em;opacity:.75;margin-top:10px;font-size:15px;display:block}#card[data-mode=title] .keys,#card[data-mode=title] [data-act=again],#card[data-mode=title] [data-act=view],#card:not([data-mode=end]) .tally,#card[data-mode=end] .keys,#card[data-mode=end] [data-act=go],#card[data-mode=end] [data-act=view]{display:none}#card .tally{letter-spacing:.12em;align-items:center;gap:14px;font-size:22px;display:flex}#card .falls{flex-wrap:wrap;gap:4px;max-width:200px;display:flex}#card .falls i{background:#d0506a;width:7px;height:7px}#card .keys{opacity:.6;letter-spacing:.08em;flex-wrap:wrap;justify-content:center;gap:6px 18px;display:flex}#card .keys b{border:1px solid;padding:1px 6px;font-weight:400}@media (pointer:coarse){#card .keys{display:none}}#card .row{gap:10px;width:auto}#card button{color:inherit;opacity:.55;letter-spacing:.14em;cursor:pointer;touch-action:manipulation;background:0 0;border:2px solid;min-height:40px;padding:8px 18px}#card button.on,#card button:hover{opacity:1}#card button.wait{pointer-events:none}html:has(#card){background:#fff0c8}html:has(#card) body{background:#fff0c8}#game-hud .thumb{display:none}@media (pointer:coarse){#game-hud [data-act=flash],#game-hud [data-act=jump],#game-hud [data-act=eat],#game-hud [data-act=hand]{display:none}#game-hud .thumb{right:max(14px, env(safe-area-inset-right));bottom:max(18px, env(safe-area-inset-bottom));pointer-events:none;width:216px;height:216px;display:block;position:fixed}#game-hud .thumb button{color:#e2f1eccc;pointer-events:auto;touch-action:none;-webkit-tap-highlight-color:transparent;background:#0b0d1e6b;border:2px solid #e2f1ec8c;border-radius:50%;place-items:center;width:62px;min-width:0;height:62px;min-height:0;padding:0;transition:transform 60ms,background .12s;display:grid;position:absolute}#game-hud .thumb svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;width:56%;height:56%}#game-hud .thumb [data-pad=jump]{background:conic-gradient(#7fd0b080 calc(var(--cell,1) * 360deg), #0b0d1e6b 0);width:92px;height:92px;bottom:0;right:0}#game-hud .thumb [data-pad=hand]{bottom:6px;right:104px}#game-hud .thumb [data-pad=creep]{bottom:84px;right:84px}#game-hud .thumb [data-pad=flash]{bottom:106px;right:6px}#game-hud .thumb button.down{background:#e2f1ec4d;transform:scale(.92)}#game-hud .thumb button.on{color:#ffc040;border-color:#ffc040}#game-hud .thumb button.held{color:#0b0d1e;background:#7fd0b08c;border-color:#e2f1ec}#game-hud .thumb [data-pad=flash]:not(.on),#game-hud .thumb [data-pad=hand]:not(.on){opacity:.45}#game-hud .thumb .left{justify-content:center;gap:3px;display:flex;position:absolute;top:-9px;left:0;right:0}#game-hud .thumb .left u{background:#ffc040;width:6px;height:6px}#stick{background:#0b0d1e33;border-color:#e2f1ec73;width:132px;height:132px;top:-66px;left:-66px}#stick.full{border-color:#e2f1ec}#stick i{background:#e2f1ecd9;width:40px;height:40px;top:44px;left:44px}#game-hud{flex-direction:column-reverse}#game-hud .row button[data-act=menu]{opacity:.8;min-width:0;min-height:36px;padding:4px 12px}}#game-hud .bays{gap:4px;margin-left:6px;display:flex}#game-hud .bays s{border:2px solid var(--dim);background:#050c18c7;width:9px;height:14px;text-decoration:none}#game-hud .bays s.held{background:#7fd0b0;border-color:#c8f0c0}#game-hud .bays s.in{background:#ffc040;border-color:#fff0c8}#card.lost[data-mode=end]{color:#6a6a88}#card.lost[data-mode=end] h1{opacity:.6}:root{--ui:1;--cream:#fff0c8;--ember:#ff8030;--night:#0b0d1e}#card,#game-hud,#options{zoom:var(--ui)}#card h1{letter-spacing:.28em;text-indent:.28em;font-size:clamp(40px,7vw,76px);font-weight:600;line-height:1}#card h1 .name{color:var(--cream);text-shadow:0 3px 0 var(--night), 0 0 18px #ffc04073, 0 0 46px #ff803040;animation:6s ease-in-out infinite glimmer;display:block}#card h1 small{letter-spacing:.6em;text-indent:.6em;color:#a0d8e0;opacity:.9;margin-top:14px;font-size:clamp(14px,1.8vw,19px);font-weight:400}@keyframes glimmer{50%{text-shadow:0 3px 0 var(--night), 0 0 26px #ffc04099, 0 0 64px #ff803059}}#card .menu{flex-direction:column;align-items:center;gap:4px;margin-top:6px;display:flex;position:relative}#card .menu button{min-width:220px;color:inherit;letter-spacing:.16em;opacity:.6;background:0 0;border:none;outline:none;padding:7px 26px;font-size:18px;position:relative}#card .menu button:before,#card .menu button:after{color:var(--ember);opacity:0;transition:opacity .12s;position:absolute;top:50%;transform:translateY(-50%)}#card .menu button:before{content:">";left:2px}#card .menu button:after{content:"<";right:2px}#card .menu button:hover,#card .menu button:focus-visible,#card .menu button:focus,#card .menu button:hover:before,#card .menu button:hover:after,#card .menu button:focus:before,#card .menu button:focus:after{opacity:1}#card .foot{right:max(14px, env(safe-area-inset-right));bottom:max(10px, env(safe-area-inset-bottom));letter-spacing:.12em;opacity:.35;font-size:11px;position:absolute}#card:not([data-mode=title]) .foot{display:none}#card.opts h1,#card.opts .menu,#card.opts .keys,#card.opts .tally{visibility:hidden}#meter{top:max(8px, env(safe-area-inset-top));right:max(10px, env(safe-area-inset-right));z-index:40;color:var(--cream);text-shadow:0 1px 0 var(--night);pointer-events:none;font-size:12px;position:fixed}#options{z-index:30;color:var(--cream);background:#05070f8c;place-items:center;padding:16px;display:none;position:fixed;inset:0}#options.on{display:grid}#options .sheet{width:min(620px,100%);height:min(704px,100vh - 32px);box-shadow:0 0 0 2px var(--night), 0 18px 60px #00000080;background:#0b0d1ef0;border:2px solid #3c3a52;flex-direction:column;gap:14px;padding:20px 22px;display:flex;overflow:hidden}#options h2{letter-spacing:.24em;margin:0 0 10px;font-size:26px;font-weight:600}#options .tabs{border-bottom:2px solid #3c3a52;flex-wrap:wrap;gap:4px;display:flex}#options button{font:inherit;color:inherit;cursor:pointer;letter-spacing:.08em;background:0 0;border:none}#options .tabs button{opacity:.55;border-bottom:2px solid #0000;margin-bottom:-2px;padding:6px 12px}#options .tabs button.on{opacity:1;border-bottom-color:var(--ember)}#options .page{flex-direction:column;flex:1;gap:11px;min-height:0;display:flex;overflow-y:auto}#options .row{grid-template-columns:minmax(120px,1fr) minmax(0,1.6fr) auto;align-items:center;gap:12px;display:grid}#options .row label i{opacity:.5;font-size:12px;font-style:normal}#options .row .pick{flex-wrap:wrap;grid-column:2/4;gap:4px;display:flex}#options .pick button,#options .row .act,#options footer button{opacity:.75;border:2px solid #3c3a52;padding:5px 12px}#options .pick button.on{opacity:1;border-color:var(--ember);color:var(--cream)}#options .row .act{grid-column:1/4;justify-self:start}#options .row .act.warn{color:#f08a7a;opacity:1;border-color:#d0506a}#options input[type=range]{width:100%;accent-color:var(--ember)}#options output{text-align:right;opacity:.8;min-width:52px}#options .row.keys{border-top:2px solid #3c3a52;grid-template-columns:auto 1fr auto 1fr;gap:6px 14px;padding-top:8px;font-size:13px}#options .row.keys span{opacity:.6}#options .row.keys b{font-weight:500}#options footer{justify-content:space-between;align-items:center;gap:12px;display:flex}#options footer .note{opacity:.6;font-size:12px}#options button:hover,#options button:focus-visible{opacity:1}@media (width<=520px){#options .row{grid-template-columns:1fr auto}#options .row input,#options .row .pick{grid-column:1/3}#options .row.keys{grid-template-columns:auto 1fr}}#game-hud [data-pad=creep] .sea{display:none}#game-hud.swim [data-pad=creep] .sea{display:block}#game-hud.swim [data-pad=creep] .land{display:none}#game-hud.swim [data-pad=creep]{border-color:#a0d8e0}#card .load{background:#fff0c81f;width:min(220px,50vw);height:4px;margin-top:4px;transition:opacity .6s,height .6s,margin .6s;position:relative}#card .load i{background:var(--cream);width:0;transition:width .3s linear;position:absolute;inset:0 auto 0 0;box-shadow:0 0 10px #ffc04080}#card:not([data-mode=title]) .load,#card.ready .load{opacity:0;height:0;margin-top:-12px}#card[data-mode=title] .menu{transition:opacity .7s .15s,transform .7s .15s}#card[data-mode=title]:not(.ready) .menu{opacity:0;pointer-events:none;transform:translateY(6px)}@media (width<=640px),(pointer:coarse) and (height<=520px){#options{place-items:stretch stretch;padding:0}#options .sheet{width:100%;height:100%;max-height:none;box-shadow:none;border:none;gap:0;padding:0;overflow:hidden}#options header{padding:max(14px, env(safe-area-inset-top)) 16px 0;border-bottom:2px solid #3c3a52}#options h2{margin-bottom:8px;font-size:22px}#options .tabs{scrollbar-width:none;border-bottom:none;flex-wrap:nowrap;margin:0 -16px;padding:0 10px;overflow-x:auto}#options .tabs::-webkit-scrollbar{display:none}#options .tabs button{flex:none;min-height:44px;padding:0 14px;font-size:15px}#options .page{-webkit-overflow-scrolling:touch;flex:1;gap:22px;min-height:0;padding:16px 16px 24px;overflow-y:auto}#options .row{grid-template-columns:1fr auto;grid-template-areas:"label value""control control";gap:10px 12px;font-size:15px}#options .row label{grid-area:label}#options .row output{grid-area:value}#options .row input[type=range]{grid-area:control;height:32px}#options .row .pick{flex-wrap:nowrap;grid-area:control/1/control/3}#options .pick button{flex:1;min-height:44px;padding:0 6px;font-size:14px}#options .row .act{grid-column:1/3;width:100%;min-height:48px;font-size:15px}#options .row.keys{grid-template-columns:auto 1fr;grid-template-areas:none;gap:10px 16px;font-size:14px}#options footer{padding:10px 16px max(12px, env(safe-area-inset-bottom));background:#0b0d1efa;border-top:2px solid #3c3a52;flex-direction:column;align-items:stretch;gap:6px}#options footer .note:empty{display:none}#options footer button{border-color:var(--ember);opacity:1;min-height:48px;font-size:16px}}@media (pointer:coarse){#options input[type=range]{appearance:none;background:0 0}#options input[type=range]::-webkit-slider-runnable-track{background:#3c3a52;height:6px}#options input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:var(--ember);border:3px solid var(--night);border-radius:50%;width:26px;height:26px;margin-top:-10px}#options input[type=range]::-moz-range-track{background:#3c3a52;height:6px}#options input[type=range]::-moz-range-thumb{background:var(--ember);border:3px solid var(--night);border-radius:50%;width:22px;height:22px}}#game-hud .fed{border:2px solid var(--dim);background:#050c18c7;width:52px;height:12px}#game-hud .fed b{background:#f08a7a;height:100%;display:block}#game-hud .fed.low{border-color:#f08a7a;animation:.7s ease-in-out infinite breathe}#game-hud:not(.food) [data-act=eat],#game-hud:not(.food) [data-pad=eat]{display:none!important}@media (pointer:coarse){#game-hud.food .thumb [data-pad=eat]{border-color:#f08a7a;width:54px;height:54px;display:grid;bottom:150px;right:150px}}#game-hud{--line:#161a3a;--track:#272a5a;image-rendering:pixelated}#game-hud .kit{align-items:center;gap:14px;margin-left:14px}#game-hud .cell,#game-hud .air,#game-hud .fed{background:var(--track);width:58px;height:10px;box-shadow:0 0 0 2px var(--line), 0 2px 0 2px #0b0d1e8c;border:0;margin-left:20px;position:relative}#game-hud .cell b,#game-hud .air b,#game-hud .fed b{transition:width .25s steps(6,end)}#game-hud .cell b{background:linear-gradient(#c8f0c0 0 3px,#7fd0b0 3px 7px,#3aa89a 7px)}#game-hud .fed b{background:linear-gradient(#f8c0a0 0 3px,#f08a7a 3px 7px,#d0506a 7px)}#game-hud .air b{background:linear-gradient(#e0f8f0 0 3px,#a0d8e0 3px 7px,#58a8c8 7px)}#game-hud .air.low b{background:linear-gradient(#f8c0a0 0 3px,#f08a7a 3px 7px,#d0506a 7px)}#game-hud .cell:after,#game-hud .air:after,#game-hud .fed:after{content:"";background:repeating-linear-gradient(90deg, transparent 0 8px, var(--line) 8px 10px);pointer-events:none;position:absolute;inset:0}#game-hud .cell:before,#game-hud .air:before,#game-hud .fed:before{content:"";width:14px;height:14px;filter:drop-shadow(2px 0 0 var(--line)) drop-shadow(-2px 0 0 var(--line)) drop-shadow(0 2px 0 var(--line)) drop-shadow(0 -2px 0 var(--line));background:50%/14px 14px no-repeat;position:absolute;top:-2px;left:-20px}#game-hud .cell:before{background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%207%207%27%20shape-rendering%3D%27crispEdges%27%3E%3Cpath%20fill%3D%27%237fd0b0%27%20d%3D%27M2%200h1v1h-1zM3%200h1v1h-1zM1%201h1v1h-1zM2%201h1v1h-1zM3%201h1v1h-1zM4%201h1v1h-1zM0%202h1v1h-1zM1%202h1v1h-1zM2%202h1v1h-1zM3%202h1v1h-1zM4%202h1v1h-1zM6%202h1v1h-1zM0%203h1v1h-1zM1%203h1v1h-1zM2%203h1v1h-1zM3%203h1v1h-1zM4%203h1v1h-1zM6%203h1v1h-1zM0%204h1v1h-1zM1%204h1v1h-1zM2%204h1v1h-1zM3%204h1v1h-1zM4%204h1v1h-1zM1%205h1v1h-1zM2%205h1v1h-1zM3%205h1v1h-1zM2%206h1v1h-1zM4%206h1v1h-1z%27/%3E%3C/svg%3E)}#game-hud .fed:before{background-image:url(data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%207%207%27%20shape-rendering=%27crispEdges%27%3E%3Cpath%20fill=%27%23ffc040%27%20d=%27M2%202h1v1h-1zM3%202h1v1h-1zM4%202h1v1h-1zM1%203h1v1h-1zM2%203h1v1h-1zM3%203h1v1h-1zM4%203h1v1h-1zM5%203h1v1h-1zM1%204h1v1h-1zM2%204h1v1h-1zM3%204h1v1h-1zM1%205h1v1h-1zM2%205h1v1h-1zM3%205h1v1h-1zM4%205h1v1h-1zM2%206h1v1h-1zM3%206h1v1h-1zM4%206h1v1h-1z%27/%3E%3Cpath%20fill=%27%23fff0c8%27%20d=%27M2%203h1v1h-1z%27/%3E%3Cpath%20fill=%27%233aa89a%27%20d=%27M3%200h1v1h-1zM4%200h1v1h-1zM3%201h1v1h-1z%27/%3E%3C/svg%3E)}#game-hud .air:before{background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%207%207%27%20shape-rendering%3D%27crispEdges%27%3E%3Cpath%20fill%3D%27%23a0d8e0%27%20d%3D%27M2%200h1v1h-1zM3%200h1v1h-1zM4%200h1v1h-1zM1%201h1v1h-1zM5%201h1v1h-1zM0%202h1v1h-1zM3%202h1v1h-1zM6%202h1v1h-1zM0%203h1v1h-1zM6%203h1v1h-1zM0%204h1v1h-1zM6%204h1v1h-1zM1%205h1v1h-1zM5%205h1v1h-1zM2%206h1v1h-1zM3%206h1v1h-1zM4%206h1v1h-1z%27/%3E%3C/svg%3E)}#game-hud .air.low,#game-hud .fed.low{border:0;animation:.6s steps(2,end) infinite hud-warn}@keyframes hud-warn{50%{box-shadow:0 0 0 2px #f08a7a,0 2px 0 2px #0b0d1e8c}}#game-hud .pips{filter:drop-shadow(2px 0 0 var(--line)) drop-shadow(-2px 0 0 var(--line)) drop-shadow(0 2px 0 var(--line)) drop-shadow(0 -2px 0 var(--line));gap:5px}#game-hud .pips u{clip-path:polygon(40% 0,60% 0,60% 40%,100% 40%,100% 60%,60% 60%,60% 100%,40% 100%,40% 60%,0 60%,0 40%,40% 40%);background:#ffc040;width:10px;height:10px}#game-hud .bays{gap:5px;margin-left:4px}#game-hud .bays s{background:var(--track);width:8px;height:12px;box-shadow:0 0 0 2px var(--line);border:0;margin-top:3px;position:relative}#game-hud .bays s:before{content:"";background:inherit;width:4px;height:3px;box-shadow:0 0 0 2px var(--line);position:absolute;top:-5px;left:2px}#game-hud .bays s.held{background:linear-gradient(#c8f0c0 0 4px,#7fd0b0 4px);border:0}#game-hud .bays s.in{background:linear-gradient(#fff0c8 0 4px,#ffc040 4px);border:0}#game-hud .row button{background:var(--line);color:#a0a8d0;letter-spacing:.14em;border:0;padding:5px 11px 4px;box-shadow:0 0 0 2px #3c3a52,0 3px 0 2px #0b0d1e99}#game-hud .row button+button{margin-left:10px}#game-hud .row button.on,#game-hud .row button:hover{color:#fff0c8;box-shadow:0 0 0 2px #fff0c8,0 3px 0 2px #0b0d1e99}#game-hud .row button:active{transform:translateY(2px);box-shadow:0 0 0 2px #fff0c8,0 1px 0 2px #0b0d1e99}@media (prefers-reduced-motion:reduce){#game-hud .air.low,#game-hud .fed.low{animation:none}}#options{background:#0b0d1eb8}#options .sheet{background:#161a3a;border:0;padding:22px 24px;box-shadow:0 0 0 2px #0b0d1e,0 0 0 4px #fff0c8,0 0 0 6px #0b0d1e,0 10px 0 6px #05070f99}#options h2{color:#fff0c8}#options .tabs{border-bottom:0;gap:8px;padding-bottom:12px;box-shadow:0 2px #3c3a52}#options .tabs button{opacity:1;color:#a0a8d0;background:#272a5a;border:0;margin:0;padding:5px 11px 4px;box-shadow:0 0 0 2px #3c3a52,0 3px 0 2px #0b0d1e}#options .tabs button.on{color:#161a3a;background:#ff8030;border:0;box-shadow:0 0 0 2px #fff0c8,0 3px 0 2px #0b0d1e}#options .pick{gap:8px}#options .pick button,#options .row .act,#options footer button{opacity:1;color:#a0a8d0;background:#272a5a;border:0;padding:5px 12px 4px;box-shadow:0 0 0 2px #3c3a52,0 3px 0 2px #0b0d1e}#options .pick button.on{color:#161a3a;background:#7fd0b0;border:0;box-shadow:0 0 0 2px #fff0c8,0 3px 0 2px #0b0d1e}#options .row .act.warn{color:#f08a7a;background:#272a5a;box-shadow:0 0 0 2px #d0506a,0 3px 0 2px #0b0d1e}#options button:hover,#options button:focus-visible{color:#fff0c8;outline:none}#options .pick button.on:hover,#options .tabs button.on:hover{color:#161a3a}#options button:active{transform:translateY(2px)}#options footer button{color:#161a3a;background:#ff8030;box-shadow:0 0 0 2px #fff0c8,0 3px 0 2px #0b0d1e}#options footer button:hover{color:#161a3a;background:#ffc040}#options input[type=range]{appearance:none;accent-color:auto;cursor:pointer;background:#272a5a;height:10px;box-shadow:0 0 0 2px #0b0d1e}#options input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:#7fd0b0;border-radius:0;width:12px;height:18px;box-shadow:0 0 0 2px #0b0d1e,inset 0 4px #c8f0c0}#options input[type=range]::-moz-range-thumb{background:#7fd0b0;border:2px solid #0b0d1e;border-radius:0;width:12px;height:18px}#options input[type=range]:focus-visible{outline-offset:3px;outline:2px solid #fff0c8}#options output{color:#c8f0c0;opacity:1}#options .row.keys{border-top:0;box-shadow:0 -2px #3c3a52}#card .keys b{color:#fff0c8;background:#272a5a;border:0;padding:1px 6px;box-shadow:0 0 0 2px #3c3a52,0 2px 0 2px #0b0d1e}@media (pointer:coarse){#game-hud .thumb button{color:#a0a8d0;background:#161a3adb;border:0;border-radius:12px;transition:transform 50ms step-end;box-shadow:0 0 0 2px #0b0d1e,0 0 0 4px #3c3a52,0 4px 0 4px #0b0d1e8c}#game-hud .thumb svg{stroke-width:2.5px;stroke-linecap:square;stroke-linejoin:miter;shape-rendering:crispedges}#game-hud .thumb [data-pad=jump]{color:#c8f0c0;background:linear-gradient(to top, #3aa89ae6 calc(var(--cell,1) * 100%), #161a3adb 0);border-radius:16px;box-shadow:0 0 0 2px #0b0d1e,0 0 0 4px #7fd0b0,0 4px 0 4px #0b0d1e8c}#game-hud .thumb button.down{background:#272a5af2;transform:translateY(3px);box-shadow:0 0 0 2px #0b0d1e,0 0 0 4px #fff0c8,0 1px 0 4px #0b0d1e8c}#game-hud .thumb button.on{color:#ffc040;border:0;box-shadow:0 0 0 2px #0b0d1e,0 0 0 4px #ffc040,0 4px 0 4px #0b0d1e8c}#game-hud .thumb button.held{color:#161a3a;background:#7fd0b0;border:0}#game-hud.food .thumb [data-pad=eat]{color:#f8c0a0;border:0;box-shadow:0 0 0 2px #0b0d1e,0 0 0 4px #f08a7a,0 4px 0 4px #0b0d1e8c}#game-hud .thumb .left{filter:drop-shadow(0 0 #0b0d1e);gap:3px;top:-12px}#game-hud .thumb .left u{width:7px;height:7px;box-shadow:0 0 0 2px #0b0d1e}#stick{background:#161a3a4d;border:0;border-radius:50%;box-shadow:0 0 0 2px #0b0d1eb3,0 0 0 4px #a0a8d080}#stick.full{box-shadow:0 0 0 2px #0b0d1eb3,0 0 0 4px #fff0c8}#game-hud .row{flex-wrap:wrap;row-gap:10px;width:100%}#game-hud .row button[data-act=menu]{opacity:1;flex:none}#game-hud .kit{flex-wrap:wrap;row-gap:10px;margin-left:10px}}#options,#options button,#options label,#options .row{letter-spacing:.04em;font-size:16px;font-weight:500}#options h2{letter-spacing:.18em;font-size:32px}#options .tabs button,#options .pick button,#options .row .act,#options footer button{color:#c8cef0;padding:6px 12px 5px;font-size:16px}#options .tabs button.on,#options .pick button.on,#options footer button{color:#161a3a}#options .row{color:#e0f8f0}#game-hud .row button{letter-spacing:.06em;color:#c8cef0;font-size:16px;font-weight:500}#card .menu button{letter-spacing:.1em;opacity:.85;text-shadow:0 2px 0 var(--night);font-size:20px;font-weight:500}#card .keys,#card .keys *{letter-spacing:.04em;font-size:16px}#card .keys{opacity:.95}#options .row label i,#options footer .note,#options .row.keys span{opacity:.75;font-size:16px}#meter{font-size:16px}#havens{z-index:30;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .25s,visibility 0s .25s;position:fixed;inset:0}#havens.on{opacity:1;visibility:visible;transition:opacity .25s}#havens:not(.on) button{pointer-events:none}#havens button{pointer-events:auto;cursor:pointer;background:#ffc040;border:0;width:18px;height:18px;padding:0;position:absolute;top:-9px;left:-9px;box-shadow:0 0 0 2px #0b0d1e,0 0 0 4px #fff0c8,0 0 14px 4px #ffc0408c}#havens button[hidden]{display:none}#havens button:hover{background:#fff0c8;box-shadow:0 0 0 2px #0b0d1e,0 0 0 6px #fff0c8,0 0 18px 8px #fff0c8b3}#havens button.here{background:#7fd0b0;box-shadow:0 0 0 2px #0b0d1e,0 0 0 4px #7fd0b0}body.travel #game-hud{visibility:hidden}body.travel canvas{cursor:grab}#struggle{z-index:30;background:#272a5a;width:150px;height:12px;margin-left:-75px;animation:.18s steps(2,end) infinite struggle-shake;position:fixed;bottom:22%;left:50%;box-shadow:0 0 0 2px #0b0d1e,0 0 0 4px #fff0c8,0 3px 0 4px #0b0d1e8c}#struggle[hidden]{display:none}#struggle i{background:repeating-linear-gradient(90deg,#ff8030 0 10px,#ffc040 10px 12px);width:0;height:100%;display:block}@keyframes struggle-shake{50%{translate:2px}}@media (prefers-reduced-motion:reduce){#struggle{animation:none}}#compass{right:max(16px, env(safe-area-inset-right));top:max(12px, env(safe-area-inset-top));z-index:30;pointer-events:none;width:96px;height:96px;image-rendering:pixelated;position:fixed}#compass[hidden]{display:none}@media (pointer:coarse){#game-hud .row button[data-act=menu]{color:#0000;background:var(--line) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' shape-rendering='crispEdges'%3E%3Cpath fill='%23fff0c8' d='M3 3h8v2H3zM3 6h8v2H3zM3 9h8v2H3z'/%3E%3C/svg%3E") center / 28px 28px no-repeat;width:42px;min-width:0;height:40px;min-height:0;image-rendering:pixelated;padding:0;font-size:0}#game-hud .kit{top:max(10px, env(safe-area-inset-top));right:max(12px, env(safe-area-inset-right));flex-flow:column;align-items:flex-end;gap:9px;margin:0;display:flex;position:fixed}#compass{left:calc(max(10px, env(safe-area-inset-left)) + 66px);right:auto;top:max(6px, env(safe-area-inset-top));width:56px;height:56px;margin-left:0}#game-hud .thumb [data-pad=jump]{bottom:0;right:0}#game-hud .thumb [data-pad=flash]{bottom:112px;right:6px}#game-hud .thumb [data-pad=creep]{bottom:104px;right:88px}#game-hud .thumb [data-pad=hand]{bottom:16px;right:112px}#game-hud.food .thumb [data-pad=eat]{bottom:88px;right:186px}}#game-hud .row button kbd{font:inherit;color:#0b0d1e;vertical-align:0;background:#e0e4f4;margin-left:9px;padding:1px 7px 2px;font-size:1em;line-height:1.15;display:inline-block}#game-hud .row button.on kbd{background:#ffc040}body.nogpu{background:#0b0d1e!important}html:has(body.nogpu){background:#0b0d1e!important}body.nogpu canvas,body.nogpu #card .menu,body.nogpu #card .keys,body.nogpu #card .load,body.nogpu #veil{display:none!important}#nogpu{text-align:center;color:#e0f8f0;letter-spacing:.08em;z-index:99;margin:0;font-size:20px;position:fixed;top:34%;left:0;right:0}#struggle b{width:24px;height:24px;image-rendering:pixelated;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' shape-rendering='crispEdges'%3E%3Cpath fill='%23fff0c8' d='M5 0h2v1h1v1h1v1H3V2h1V1h1zM5 12h2v-1h1v-1h1V9H3v1h1v1h1zM0 5v2h1v1h1v1h1V3H2v1H1v1zM12 5v2h-1v1h-1v1H9V3h1v1h1v1z'/%3E%3C/svg%3E") 50%/contain no-repeat;animation:.7s steps(2,end) infinite struggle-ask;position:absolute;top:-6px;left:-34px}#struggle.push b{filter:sepia()saturate(6)hue-rotate(-12deg);animation:none}@keyframes struggle-ask{50%{opacity:.25}}@media (prefers-reduced-motion:reduce){#struggle b{animation:none}}#credits{z-index:3;color:#fff0c8;text-align:center;text-shadow:0 2px #0b0d1e,0 0 12px #0b0d1e;-webkit-user-select:none;user-select:none;background:linear-gradient(#0b0d1ee6 0%,#0b0d1e73 45% 55%,#0b0d1ee6 100%);justify-content:center;display:none;position:fixed;inset:0;overflow:hidden}#credits.on{display:flex}#credits .reel{width:min(90vw,560px);animation:15s linear forwards credits-up;position:absolute;top:100%}@keyframes credits-up{to{transform:translateY(calc(-100vh - 100%))}}#credits h2{letter-spacing:.3em;text-indent:.3em;margin:0 0 22vh;font-size:clamp(34px,8vw,72px);font-weight:600}#credits dl{margin:0}#credits dt{letter-spacing:.25em;color:#7fd0b0;margin-top:9vh;font-size:clamp(12px,2.2vw,15px)}#credits dd{margin:10px 0 0;font-size:clamp(18px,3.6vw,26px)}#veil{z-index:5;pointer-events:none;opacity:0;background:radial-gradient(#080a1c00 34%,#080a1cd1 100%);transition:opacity 1.4s;position:fixed;inset:0}body.memory #veil{opacity:1}#game-hud.food.hungry .row [data-act=eat]{animation:.7s ease-in-out infinite breathe;box-shadow:0 0 0 2px #0b0d1e,0 0 0 5px #f08a7a}#game-hud .pips u.next,#game-hud .thumb .left u.next{background:linear-gradient(to top, #ffc040 var(--charge,0%), #4a5078 var(--charge,0%))}#game-hud .row [data-act=flash]:not(.on) kbd{background:linear-gradient(to right, #ffc040 var(--charge,0%), #8088a8 var(--charge,0%))}#game-hud .fed.full{animation:.45s steps(4,end) fed-full}@keyframes fed-full{0%,to{transform:none}25%{transform:translateY(-3px);box-shadow:0 0 0 2px #fff0c8,0 2px 0 2px #0b0d1e8c}50%{transform:translateY(1px)}75%{transform:translateY(-2px);box-shadow:0 0 0 2px #fff0c8,0 2px 0 2px #0b0d1e8c}}@media (prefers-reduced-motion:reduce){#game-hud .fed.full{animation:none}}#throw-way{pointer-events:none;z-index:3;filter:drop-shadow(2px 0 #0b0d1e)drop-shadow(-2px 0 #0b0d1e)drop-shadow(0 2px #0b0d1e)drop-shadow(0 -2px #0b0d1e);position:fixed;inset:0}#throw-way i{clip-path:polygon(20% 0,70% 10%,100% 45%,80% 100%,30% 85%,0 40%);background:#fff0c8;width:12px;height:12px;position:absolute;top:-6px;left:-6px}#throw-way i:nth-child(2n){clip-path:polygon(35% 0,100% 25%,85% 80%,40% 100%,0 65%,10% 20%);background:#ffc040}#throw-way i:last-child{clip-path:polygon(30% 0,75% 8%,100% 40%,88% 85%,45% 100%,8% 78%,0 30%);background:#ff8030;width:18px;height:18px;top:-9px;left:-9px}#mem-flash{z-index:7;pointer-events:none;background:#fff4e6;position:fixed;inset:0}#mem-window{z-index:4;pointer-events:none;width:100vw;height:100vh;image-rendering:pixelated;position:fixed;inset:0}#mem-dark{z-index:6;pointer-events:none;background:#0b0d1e;position:fixed;inset:0}
