@keyframes equipment-gain-pop{0%{transform:scale(.4) rotate(-22deg)}45%{transform:scale(1.22) rotate(-10deg)}75%{transform:scale(.98) rotate(2deg)}to{transform:scale(1) rotate(-8deg)}}@keyframes equipment-gain-flash{25%{background:#fff0b1;box-shadow:0 0 0 7px #ffc24755}to{box-shadow:0 0 0 15px #ffc24700}}@keyframes equipment-flow{to{stroke-dashoffset:-18}}:root{color-scheme:light;background:#fff;--ink:#0b0b0c;--paper:#fff;--smoke:#f4f4f2;--muted:#6c6c69;--hairline:#0b0b0c26;--red:#f54254;--red-deep:#c8273a;--gold:#ffc247;--sun:#ffe176;--ui:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;--impact:Impact,"Arial Black",sans-serif;--lift:3px 3px 0 var(--ink);--lift-hover:4px 4px 0 var(--ink);--lift-pressed:1px 1px 0 var(--ink)}*{box-sizing:border-box}body,html{width:100%;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;touch-action:pan-x pan-y}body{position:fixed;inset:0}#game{display:block;width:100vw;height:100vh;height:100dvh;outline:0;touch-action:none;cursor:crosshair;-webkit-tap-highlight-color:transparent;contain:strict}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.kill-counter{position:fixed;top:max(16px,env(safe-area-inset-top));left:max(16px,env(safe-area-inset-left));z-index:6;display:flex;align-items:baseline;gap:7px;padding:3px 8px;border-left:2px solid #f54254;background:#ffffffe6;color:#0b0b0c;pointer-events:none;font:900 italic 22px/1.1 Impact,"Arial Black",sans-serif;font-variant-numeric:tabular-nums}.kill-counter-label,.untouchable-tag{font:700 9px/1 ui-sans-serif,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase}.level-chapter[hidden],body[data-boot=loading] .kill-counter,body[data-mode=menu] .kill-counter{display:none}.untouchable-tag{display:none;align-self:center;margin-left:4px;padding:2px 6px;background:#0b0b0c;color:#fff;font:800 9px/1 ui-sans-serif,system-ui,sans-serif;letter-spacing:.1em}body[data-untouchable=true] .untouchable-tag{display:inline-block}.level-chapter{position:fixed;z-index:6;top:max(64px,calc(env(safe-area-inset-top) + 48px),14dvh);left:50%;transform:translateX(-50%);width:min(760px,calc(100vw - 48px));padding:12px 16px;text-align:center;color:#171715;pointer-events:none;text-shadow:0 1px 3px #fff,0 0 12px #fff,0 0 24px #fff}.level-chapter h2{margin:0;font:400 clamp(21px,3.1vw,36px)/1.25 Georgia,"Times New Roman",serif;text-wrap:balance}@media (max-height:500px){.level-chapter{top:max(48px,calc(env(safe-area-inset-top) + 36px));padding:6px 12px}.level-chapter h2{font-size:clamp(19px,3vw,27px)}}.debug-levels,.view-sliders{position:fixed;gap:4px;border:1px solid #111;background:#fff}.view-sliders{left:max(16px,env(safe-area-inset-left,0));bottom:max(14px,env(safe-area-inset-bottom,0));z-index:6;display:none;align-items:center;padding:5px 7px;border-radius:7px;color:#111;font-family:ui-sans-serif,system-ui,sans-serif}.view-sliders label{display:flex;align-items:center;gap:4px;font-size:9px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;display:grid;grid-template-columns:34px 84px 4.6em}.view-sliders input[type=range]{width:84px;height:12px;margin:0;accent-color:#111;cursor:pointer}.view-sliders output{min-width:4.6em;font-variant-numeric:tabular-nums;letter-spacing:0}.view-sliders.is-debug{display:flex;flex-direction:column;align-items:stretch}.debug-levels[hidden]{display:none}.debug-levels{z-index:10;left:50%;transform:translateX(-50%);bottom:max(8px,env(safe-area-inset-bottom));display:flex;width:max-content;max-width:calc(100vw - 24px);overflow-x:auto;padding:5px;border-radius:8px;font:600 11px ui-sans-serif,system-ui,sans-serif}.debug-levels button{flex-shrink:0;padding:7px 10px;border:0;border-radius:4px;background:0 0;color:#111;font:inherit;cursor:pointer;touch-action:manipulation}.debug-levels button:hover{background:#eee}.debug-levels button[aria-pressed=true]{background:#111;color:#fff}.debug-levels button:focus-visible{outline:2px solid var(--red);outline-offset:-2px}body.has-debug-levels .move-loadout{bottom:max(62px,calc(env(safe-area-inset-bottom) + 54px))}body.has-debug-levels .view-sliders{bottom:max(116px,calc(env(safe-area-inset-bottom) + 108px))}body.has-debug-levels .loot-tools{bottom:max(62px,calc(env(safe-area-inset-bottom) + 54px))}body.has-debug-levels .loot-toast{bottom:116px}body.has-debug-levels[data-touch=true] .debug-levels{bottom:max(142px,calc(env(safe-area-inset-bottom) + 134px))}body.has-debug-levels[data-touch=true] .view-sliders{bottom:max(194px,calc(env(safe-area-inset-bottom) + 186px))}@media (max-width:740px){.view-sliders.is-debug{flex-direction:column;align-items:stretch;gap:3px}.view-sliders input[type=range]{width:72px}.view-sliders label{grid-template-columns:34px 72px 4.6em}}.page-tools[hidden]{display:none}.page-tools{position:fixed;top:max(16px,env(safe-area-inset-top,0));right:max(18px,env(safe-area-inset-right,0));z-index:6;display:flex;gap:8px;max-width:calc(100vw - 36px);flex-wrap:wrap;justify-content:flex-end}.page-tools a,.page-tools button{width:36px;height:36px;display:grid;place-items:center;border:2px solid var(--ink);border-radius:6px;background:var(--paper);color:var(--ink);box-shadow:var(--lift);text-decoration:none;padding:0;cursor:pointer;touch-action:manipulation;transition:transform .08s,box-shadow .08s,background-color .12s}.page-tools a:hover,.page-tools button:not(:disabled):hover{background:var(--sun);transform:translate(-1px,-1px);box-shadow:var(--lift-hover)}.page-tools a:active,.page-tools button:not(:disabled):active{transform:translate(2px,2px);box-shadow:var(--lift-pressed)}.page-tools a:focus-visible,.page-tools button:focus-visible{outline:0;box-shadow:0 0 0 2px var(--paper),0 0 0 4px var(--ink)}.page-tools button[aria-pressed=true]{background:var(--ink);color:var(--paper)}.page-tools button:disabled{opacity:.35;cursor:default;box-shadow:none}.page-tools svg{width:18px;height:18px;display:block}.page-tools [hidden]{display:none!important}.limb-stretch-controls{display:flex;gap:4px}.page-tools [data-limb-stretch]{align-content:center;gap:1px;touch-action:none;user-select:none}.page-tools [data-limb-stretch] kbd{font:700 14px ui-monospace,monospace;line-height:15px}.page-tools [data-limb-stretch] span{font:8px system-ui,sans-serif;line-height:9px}.page-tools [data-limb-stretch].is-held{background:var(--ink);color:var(--paper);transform:translate(2px,2px);box-shadow:var(--lift-pressed)}.delay-control{position:relative}.delay-buttons{display:flex}.page-tools #delay-button{border-radius:6px 0 0 6px}.page-tools #delay-options{width:20px;border-left:0;border-radius:0 6px 6px 0}.page-tools #delay-options svg{width:12px;height:12px}.delay-settings{position:absolute;top:48px;right:0;width:220px;max-width:calc(100vw - 36px);box-sizing:border-box;padding:16px;border:2px solid var(--ink);border-radius:8px;background:var(--paper);color:var(--ink);box-shadow:5px 5px 0 var(--ink);font:12px ui-sans-serif,system-ui,sans-serif}.delay-settings label{display:flex;justify-content:space-between;align-items:center;gap:12px}.delay-settings output{font-variant-numeric:tabular-nums;font-weight:600}.delay-settings input{display:block;width:100%;margin:10px 0 18px;accent-color:var(--red);cursor:pointer}.delay-settings p{margin:0;color:#666;font-size:11px}.delay-settings input:focus-visible{outline:3px solid var(--red);outline-offset:3px}.icon-definitions{position:absolute;pointer-events:none}body[data-boot=loading] .loot-tools,body[data-boot=loading] .move-loadout{visibility:hidden;pointer-events:none}body[data-boot=loading] #game{visibility:hidden}.move-loadout{position:fixed;z-index:7;bottom:max(18px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;gap:16px;font-family:var(--ui);color:var(--ink)}.move-bank-slots{display:flex;gap:6px}.move-slot{position:relative;width:44px;height:44px;border:2px solid var(--ink);border-radius:6px;background:var(--paper);color:inherit;cursor:pointer;text-align:left;padding:0;box-shadow:var(--lift);transition:transform .08s,box-shadow .08s,background-color .12s}.move-slot:hover{background:var(--sun);transform:translate(-1px,-1px);box-shadow:var(--lift-hover)}.move-slot:active{transform:translate(2px,2px);box-shadow:var(--lift-pressed)}#move-picker-close:focus-visible,.move-choice:focus-visible,.move-slot:focus-visible{outline:0;box-shadow:0 0 0 2px var(--paper),0 0 0 4px var(--ink)}.move-slot-preview{display:block;width:100%;height:100%;pointer-events:none}.move-slot-edit{position:absolute;right:50%;top:50%;transform:translate(50%,-50%);color:var(--ink);font:700 15px/1 var(--ui)}.move-slot:not(.is-empty) .move-slot-edit{display:none}.move-slot.is-empty{border:2px dashed #0b0b0c66;background:#ffffffcc;box-shadow:none;color:#0b0b0c80}.move-slot.is-empty:hover{border-color:var(--ink);border-style:solid;color:var(--ink)}.move-bank+.move-bank{position:relative}.move-bank+.move-bank::before{content:"";position:absolute;left:-9px;top:12px;bottom:9px;width:3px;background:var(--red);transform:skewX(-18deg)}.move-picker{width:min(480px,calc(100vw - 32px));max-height:80dvh;padding:22px 24px 24px;border:2px solid var(--ink);border-radius:10px;background:var(--paper);color:var(--ink);font-family:var(--ui);box-shadow:7px 7px 0 var(--ink)}.move-picker::backdrop{background:#ffffffa6;backdrop-filter:blur(3px)}.move-picker header{display:flex;justify-content:space-between;align-items:center;gap:20px}.move-picker-eyebrow{color:var(--red-deep);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.15em}.move-picker h2{margin:4px 0 0;font:900 italic 30px/1 var(--impact);letter-spacing:-.02em;text-transform:uppercase}#move-picker-close{display:grid;place-items:center;border:2px solid var(--ink);border-radius:6px;background:var(--paper);color:var(--ink);width:32px;height:32px;padding:0;font:700 13px/1 var(--ui);cursor:pointer;box-shadow:2px 2px 0 var(--ink)}#move-picker-close:hover{background:var(--sun)}#move-picker-close:active{transform:translate(2px,2px);box-shadow:none}.move-picker p{font-size:12px;line-height:1.6;color:var(--muted);margin:14px 0 18px}.move-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 4px 4px 0}.move-choice{display:flex;flex-direction:row;align-items:center;gap:10px;text-align:left;border:2px solid var(--ink);border-radius:7px;padding:11px;background:var(--paper);color:var(--ink);font-size:12px;font-weight:700;cursor:pointer;box-shadow:var(--lift);transition:transform .08s,box-shadow .08s,background-color .12s}.move-choice-preview{display:block;width:56px;height:64px;flex:0 0 56px}.move-choice-text{display:flex;flex-direction:column;gap:5px}.move-choice small{font-size:10px;font-weight:500;color:var(--muted)}.move-choice:hover{background:#fff8db;transform:translate(-1px,-1px);box-shadow:var(--lift-hover)}.move-choice:active{transform:translate(2px,2px);box-shadow:var(--lift-pressed)}.move-choice[aria-pressed=true]{background:var(--sun)}.move-choice[aria-pressed=true] small{color:var(--ink)}@media (max-width:620px){.move-loadout{gap:12px;bottom:max(10px,env(safe-area-inset-bottom))}.move-bank-slots{gap:4px}.move-slot{width:clamp(28px,8vw,40px);height:clamp(28px,8vw,40px)}.move-choices{grid-template-columns:1fr}.view-sliders.is-debug{bottom:85px}}@media (prefers-reduced-motion:reduce){.loot-tools>button,.move-choice,.move-slot,.page-tools a,.page-tools button,.store-item,.store-provider{transition:none}}body[data-mode=menu] :is(.move-loadout,.loot-tools,.debug-levels,.view-sliders,.page-tools,.scene-take-tools,.loot-toast,.level-chapter){display:none}.scene-title{position:fixed;z-index:5;top:max(24px,7dvh,env(safe-area-inset-top));left:50%;transform:translateX(-50%);margin:0;max-width:calc(100vw - 40px);color:#0b0b0c;font:900 italic clamp(42px,min(9vw,12dvh),112px)/1.05 Impact,"Arial Black",sans-serif;letter-spacing:-.035em;white-space:nowrap;text-align:center;text-shadow:2px 3px 0#e9efdf;pointer-events:none;padding:0 .16em}.scene-title::after{content:"";display:block;width:clamp(32px,5vw,56px);height:4px;margin:12px auto 0;background:#f54254;transform:skewX(-22deg)}body:not([data-mode=menu]) .start-title{display:none}@media (max-height:500px){.scene-title{top:max(16px,5dvh,env(safe-area-inset-top));font-size:clamp(30px,10dvh,48px)}.scene-title::after{height:3px;margin-top:8px}}.pause-screen{position:fixed;inset:0;z-index:11;background:rgb(255 255 255/.6);opacity:0;visibility:hidden;pointer-events:none;transition:opacity 180ms ease,visibility 180ms}body[data-mode=paused] .pause-screen{opacity:1;visibility:visible}body[data-mode=paused] .scene-take-tools{opacity:.4}@media (prefers-reduced-motion:reduce){.pause-screen{transition:none}}.intro-controls{position:fixed;z-index:5;pointer-events:none;top:25%;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 32px);text-align:center;color:var(--ink);font-family:var(--ui)}body:not([data-mode=menu]) .intro-controls{display:none}.keyboard-guide{display:flex;align-items:flex-end;justify-content:center;gap:24px}.keyboard-guide kbd{display:grid;place-items:center;width:32px;height:30px;border:2px solid var(--ink);border-radius:5px;background:var(--paper);color:var(--ink);font:800 11px var(--ui);box-shadow:0 3px 0 var(--ink)}.keyboard-guide .wide-key{width:54px}.guide-movement{display:flex;flex-direction:column;align-items:center;gap:9px}.wasd-keys{display:grid;grid-template-columns:repeat(3,32px);gap:4px}.wasd-keys .key-w{grid-column:2}.wasd-keys kbd:nth-child(2){grid-column:1}.guide-action>span,.guide-movement>span,.rotate-screen>span{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.guide-action{display:flex;flex-direction:column;align-items:center;gap:9px;font-size:11px}.rotate-screen[hidden],.touch-controller,.touch-pause,body[data-controller=true] .touch-controller,body[data-touch=true] .intro-controls{display:none}.rotate-screen{position:fixed;inset:0;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;background:var(--paper);color:var(--ink);text-align:center;font-family:var(--ui)}.rotate-screen svg{width:100px;height:74px;margin-bottom:24px;color:var(--red)}.rotate-screen h2{margin:0;font:900 italic 30px/1.1 var(--impact);letter-spacing:-.02em;text-transform:uppercase;text-shadow:2px 2px 0 var(--sun)}.rotate-screen p{margin:12px 0 30px;font-size:14px;color:var(--muted)}.rotate-screen>span{font-size:9px;letter-spacing:.18em;color:var(--red-deep)}body[data-touch=true][data-mode=playing] .touch-controller{display:block}body[data-touch=true]:is([data-mode=playing],[data-mode=paused]) .touch-pause,body[data-touch=true][data-mode=lost] .touch-pause[data-home]{display:block;position:fixed;z-index:8;background:var(--paper);color:var(--ink);box-shadow:var(--lift);font:800 11px var(--ui);letter-spacing:.06em;text-transform:uppercase}.touch-actions button.is-held,body[data-touch=true] .touch-pause:active{transform:translate(2px,2px);box-shadow:var(--lift-pressed)}.touch-controller{position:fixed;inset:0;z-index:8;pointer-events:none;user-select:none;-webkit-user-select:none;font-family:var(--ui)}.movement-pad,.touch-actions button{pointer-events:auto;touch-action:none}.movement-pad{position:absolute;left:max(20px,env(safe-area-inset-left));bottom:max(12px,env(safe-area-inset-bottom));width:112px;height:112px;background:#0b0b0c1f;clip-path:polygon(34%0,66%0,66% 34%,100% 34%,100% 66%,66% 66%,66% 100%,34% 100%,34% 66%,0 66%,0 34%,34% 34%)}.movement-pad.is-held{background:#0b0b0c38}.pad-arrow{position:absolute;z-index:1;color:var(--ink);font-size:15px;font-weight:700;line-height:1}.pad-up{top:9px;left:49px}.pad-down{bottom:9px;left:49px}.pad-left{top:47px;left:9px}.pad-right{top:47px;right:9px}.touch-actions{position:absolute;right:max(20px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));display:flex;gap:8px}.touch-actions button{position:relative;width:48px;height:48px;display:grid;align-content:center;justify-items:center;gap:1px;padding:0;border:2px solid var(--ink);border-radius:50%;background:var(--paper);color:var(--ink);box-shadow:var(--lift);-webkit-tap-highlight-color:transparent}#store-button,.touch-actions .touch-punch{background:var(--red);color:var(--paper)}.touch-actions .touch-kick{background:var(--ink);color:var(--paper)}.touch-actions .touch-jump{background:var(--gold)}.touch-actions b{font:900 italic 17px/1 var(--impact)}.touch-actions span{font-size:7px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.touch-actions button.is-held{filter:brightness(.9)}body[data-touch=true] .move-loadout{gap:10px;bottom:max(12px,env(safe-area-inset-bottom))}body[data-touch=true] .move-slot{width:28px;height:28px}body[data-touch=true] .move-bank-slots{gap:3px}@media (max-width:620px){.keyboard-guide{gap:16px}.keyboard-guide kbd{width:26px;height:26px}.wasd-keys{grid-template-columns:repeat(3,26px);gap:3px}.keyboard-guide .wide-key{width:42px}.guide-action{font-size:10px}body[data-touch=true] .move-slot{width:24px;height:24px}}@media (max-height:440px){.intro-controls{top:24%}.keyboard-guide kbd{height:25px}.guide-action{gap:5px}}.touch-pause:focus-visible{outline:0;box-shadow:0 0 0 2px var(--paper),0 0 0 4px var(--ink)}@media (max-width:700px) and (orientation:landscape){body[data-touch=true] .move-loadout{bottom:76px}}@media (max-width:780px) and (orientation:landscape){body[data-touch=true] .move-loadout{bottom:76px}}.loot-tools{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:9;display:flex;gap:10px;font-family:var(--ui)}.loot-tools>button{position:relative;display:grid;place-items:center;width:44px;height:44px;padding:10px;border:2px solid var(--ink);border-radius:8px;background:var(--paper);color:var(--ink);box-shadow:var(--lift);cursor:pointer;touch-action:manipulation;transition:transform .08s,box-shadow .08s,background-color .12s}.loot-tools svg{width:23px;height:23px}.loot-tools>button:hover{background:var(--sun);transform:translate(-1px,-1px);box-shadow:var(--lift-hover)}.loot-tools>button:active{transform:translate(2px,2px);box-shadow:var(--lift-pressed)}#store-button:hover,.store-item:hover .store-item-action[data-state=get]{background:var(--red-deep)}#store-button[hidden],.equipment-gain[hidden],.loot-toast[hidden]{display:none}.equipment-gain{position:absolute;right:calc(100% - 12px);bottom:calc(100% - 10px);min-width:32px;height:30px;padding:0 4px;box-sizing:border-box;white-space:nowrap;z-index:2;display:grid;place-items:center;isolation:isolate;opacity:0;pointer-events:none;color:#ffe176;font:900 italic 24px/1 Impact,"Arial Black",sans-serif;letter-spacing:-2px;-webkit-text-stroke:1.5px #14130f;paint-order:stroke fill;text-shadow:2px 3px 0#14130f;transform:rotate(-8deg)}.equipment-gain::before{content:"";position:absolute;inset:2px;z-index:-1;background:#ff953f;clip-path:polygon(50%0,59% 21%,79% 7%,77% 31%,100% 29%,84% 49%,100% 67%,76% 68%,81% 94%,58% 81%,47% 100%,39% 79%,16% 93%,22% 68%,0 64%,18% 47%,0 28%,25% 29%,23% 5%,43% 21%);filter:drop-shadow(1px 2px 0#14130f)}#equipment-button.has-gain .equipment-gain{opacity:1;animation:equipment-gain-pop .45s cubic-bezier(.2,.8,.25,1) both}#equipment-button.has-gain{animation:equipment-gain-flash .45s ease-out}@media (prefers-reduced-motion:reduce){#equipment-button.has-gain{animation:none}#equipment-button.has-gain .equipment-gain{animation:none;transform:none}}.loot-modal,.loot-toast{border:2px solid var(--ink);background:var(--paper);color:var(--ink)}.loot-toast{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:76px;z-index:10;max-width:min(340px,calc(100vw - 40px));padding:9px 14px;border-radius:6px;box-shadow:var(--lift);font:700 12px/1.45 var(--ui);pointer-events:none}.loot-modal{padding:18px;border-radius:10px;box-shadow:7px 7px 0 var(--ink);font-family:var(--ui);max-height:90dvh;overscroll-behavior:contain}.loot-modal::backdrop{background:#ffffffa6;backdrop-filter:blur(3px)}.loot-modal header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.loot-modal h2{margin:0;font:900 italic 28px/1 var(--impact);letter-spacing:-.01em;text-transform:uppercase}.loot-modal h2::after{content:"";display:block;width:26px;height:3px;margin-top:5px;background:var(--red);transform:skewX(-22deg)}.loot-header-actions{display:flex;align-items:center;gap:7px}.loot-close,.loot-options summary{display:grid;place-items:center;width:28px;height:28px;padding:0;border:2px solid var(--ink);border-radius:6px;background:var(--paper);color:var(--ink);box-shadow:2px 2px 0 var(--ink);font:700 13px/1 var(--ui);cursor:pointer}.loot-close:hover,.loot-options summary:hover{background:var(--sun)}.loot-close:active,.loot-options summary:active{transform:translate(2px,2px);box-shadow:none}.loot-options summary{list-style:none}.loot-options summary::-webkit-details-marker{display:none}.loot-options summary svg{width:17px;height:17px;fill:var(--paper);stroke:currentColor;stroke-width:1.8}.loot-options{position:relative}.loot-options[open] summary,.store-item:hover .store-item-action[data-state=owned]{background:var(--sun)}.loot-settings{position:absolute;right:0;top:36px;z-index:5;width:235px;padding:15px;border:2px solid var(--ink);border-radius:8px;box-shadow:4px 4px 0 var(--ink);background:var(--paper);font:600 11px var(--ui)}.loot-settings>label{display:block;margin-bottom:10px}.loot-rate-controls,.loot-rate-number{display:flex;align-items:center;gap:10px}.loot-rate-controls>input{min-width:40px;flex:1;accent-color:var(--red)}.loot-rate-number{gap:3px}.loot-rate-number input{width:55px;padding:5px 3px;border:2px solid var(--ink);border-radius:5px;background:var(--paper);color:var(--ink);font:600 11px var(--ui)}.loot-settings>button{width:100%;margin-top:12px;border:2px solid var(--ink);border-radius:6px;background:var(--ink);color:var(--paper);padding:8px;font:800 11px var(--ui);letter-spacing:.06em;text-transform:uppercase;cursor:pointer}.loot-settings>button:hover{background:var(--red)}.loot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:4px;max-height:60dvh;overflow:auto;padding:2px}.loot-grid:empty::before{content:"";display:block;width:46px;aspect-ratio:1;border:2px dashed #0b0b0c40;border-radius:4px}.loot-card{position:relative;display:grid;place-items:center;aspect-ratio:1;min-width:0;padding:2px;border:2px solid #0b0b0c1f;border-radius:5px;background:var(--smoke);color:#0b0b0c66;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}.loot-card:hover{border-color:var(--ink);background:#fff8db}.loot-card>svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.3;fill:none;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.loot-thumbnail{display:block;width:100%;height:100%;min-height:0;object-fit:contain;pointer-events:none}.loot-card.is-dragging{opacity:.3}.loot-drag-ghost{position:fixed;inset:auto;margin:0;padding:2px;width:50px;height:50px;z-index:100;border:2px solid var(--ink);border-radius:5px;background:#fffffff0;box-shadow:var(--lift);pointer-events:none;overflow:hidden}.loot-drag-ghost::backdrop{background:0 0;pointer-events:none}.loot-equipment{position:fixed;width:min(390px,calc(100vw - 24px));padding:14px;overflow:hidden}.equipment-stage{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) 42px;height:min(390px,calc(90dvh - 86px));min-height:0;align-items:stretch}.equipment-column{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:9px;padding:12px 0;overflow-y:auto;scrollbar-width:none}.equipment-slot{width:40px;height:40px;aspect-ratio:1;flex-shrink:0;overflow:visible}.equipment-slot.is-equipped,.equipment-slot.is-equipped:hover{background:var(--sun);border-color:var(--ink)}.equipment-slot:hover{border-color:var(--ink);background:#fff8db}.equipment-slot.is-chest,.equipment-slot.is-hand{margin-top:auto}#equipment-character{position:relative;z-index:1;display:block;width:100%;height:100%;min-width:0;min-height:0;align-self:center;color:var(--ink);--walker-bg:#fff;cursor:grab;touch-action:none;user-select:none;outline:0}#equipment-character:active{cursor:grabbing}#equipment-character:focus-visible{outline:3px solid var(--red);outline-offset:2px}#equipment-connectors{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;overflow:visible}#equipment-connectors path{fill:none;stroke:#0b0b0c;stroke-width:1;opacity:.28;vector-effect:non-scaling-stroke}#equipment-connectors circle{fill:var(--ink);opacity:.45}#equipment-connectors path.is-active{stroke:var(--red);stroke-width:1.8;stroke-dasharray:4 5;opacity:1;animation:equipment-flow .7s linear infinite}#equipment-connectors circle.is-active{fill:var(--red);opacity:1}.equipment-highlight{pointer-events:none;opacity:.65;filter:drop-shadow(0 0 3px var(--red))}.equipment-highlight path{stroke:var(--red);stroke-width:1;stroke-linejoin:round}.equipment-selection{position:absolute;z-index:3;left:62px;right:62px;bottom:20px;padding:10px;border:2px solid var(--ink);border-radius:8px;background:#fffffff5;box-shadow:4px 4px 0 var(--ink)}.equipment-selection[hidden],body[data-boss=true] .move-bank[aria-label=Kicks],body[data-boss=true] .move-bank[aria-label=Punches]{display:none}.equipment-selection h3{margin:0 0 8px;color:var(--ink);font:800 10px var(--ui);letter-spacing:.08em;text-transform:uppercase}.equipment-selection .loot-grid{grid-template-columns:repeat(auto-fill,minmax(36px,1fr));max-height:100px}.equipment-selection .loot-card{width:100%;height:auto}@media (prefers-reduced-motion:reduce){#equipment-connectors path.is-active{animation:none}}.loot-modal button:focus-visible,.loot-modal input:focus-visible,.loot-options summary:focus-visible{outline:3px solid var(--red);outline-offset:3px}.loot-tools>button:focus-visible{outline:0;box-shadow:0 0 0 2px var(--paper),0 0 0 4px var(--ink)}body[data-touch=true] .loot-tools{bottom:max(76px,calc(env(safe-area-inset-bottom) + 70px))}@media (max-width:900px){body:not([data-touch=true]) .loot-tools{bottom:76px}body:not([data-touch=true]) .loot-toast{bottom:132px}}@media (max-width:360px){.loot-equipment{padding:10px}.equipment-selection{left:54px;right:54px}.equipment-stage{grid-template-columns:38px minmax(0,1fr) 38px}.equipment-slot{width:36px;height:36px}}@media (max-height:500px){.loot-modal{max-height:94dvh}.equipment-stage{height:calc(94dvh - 76px)}.equipment-column{gap:6px;padding:0}.equipment-selection{bottom:12px}.equipment-selection .loot-grid{max-height:72px}}.loot-store{box-sizing:border-box;width:min(700px,calc(100vw - 20px));padding:16px 14px 12px 16px;overflow:hidden}.loot-store header{align-items:flex-start;margin-bottom:14px;gap:10px}.loot-store h2{min-width:0}.store-account{display:flex;align-items:center;gap:10px;min-width:0;font:600 11px/1.2 var(--ui);color:var(--muted)}#store-user{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 9px;border:2px solid var(--ink);border-radius:999px;color:var(--ink)}#store-user:empty{display:none}#store-restore,#store-signout{padding:3px 0;border:0;background:0 0;color:var(--ink);font:inherit;text-decoration:underline;text-underline-offset:2px;cursor:pointer;white-space:nowrap}#store-restore:hover,#store-signout:hover{color:var(--red-deep)}#store-restore[hidden]{display:none}#store-restore:disabled{opacity:.5;cursor:default}#store-restore:focus-visible,#store-signout:focus-visible{outline:3px solid var(--red);outline-offset:2px;border-radius:2px}.store-layout{display:grid;grid-template-columns:118px minmax(0,1fr);gap:12px;align-items:start}.store-categories{display:flex;flex-direction:column;gap:4px;max-height:min(460px,calc(86dvh - 110px));overflow:auto;padding:2px 6px 6px 2px;scrollbar-width:thin;scrollbar-color:var(--ink) transparent}.store-categories button{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:32px;padding:6px 9px;border:2px solid transparent;border-radius:6px;background:0 0;color:var(--ink);font:800 11px/1.2 var(--ui);letter-spacing:.05em;text-transform:uppercase;text-align:left;cursor:pointer;transition:background-color .12s}.store-categories button:hover{background:var(--smoke)}.store-categories button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--paper);box-shadow:3px 3px 0 var(--red)}.store-categories button:focus-visible{outline:3px solid var(--red);outline-offset:1px}.store-count{font-size:10px;font-weight:700;opacity:.55;font-variant-numeric:tabular-nums}.store-categories button[aria-pressed=true] .store-count{opacity:.8}.store-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:12px;align-content:start;max-height:min(460px,calc(86dvh - 110px));overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--ink) transparent;padding:2px 8px 8px 2px}.store-item{--burst:#e7e7e3;--rarity-ink:#55554f;--burst-turn:-5deg;position:relative;min-width:0;display:grid;grid-template-rows:84px auto 24px;gap:5px;align-items:center;padding:6px 7px 7px;border:2px solid var(--ink);border-radius:8px;background:var(--paper);color:var(--ink);text-align:left;cursor:pointer;touch-action:manipulation;box-shadow:var(--lift);transition:transform .08s,box-shadow .08s,background-color .12s}.store-item[data-rarity=rare]{--burst:#bfe0ff;--rarity-ink:#2a6fc4}.store-item[data-rarity=epic]{--burst:#e2cbff;--rarity-ink:#7c3fd0}.store-item[data-rarity=legendary]{--burst:var(--sun);--rarity-ink:#c27600}.store-item:nth-child(3n+2){--burst-turn:5deg}.store-item:nth-child(3n){--burst-turn:-1deg}.store-item:hover{transform:translate(-1px,-1px);box-shadow:var(--lift-hover)}.store-item:active{transform:translate(2px,2px);box-shadow:var(--lift-pressed)}.store-item:focus-visible{outline:0;box-shadow:0 0 0 2px var(--paper),0 0 0 4px var(--ink)}.store-item[aria-pressed=true]{background:#fff8db}.store-item:disabled{opacity:.6;cursor:wait;transform:none}.store-item-art{position:relative;display:block;min-width:0;width:100%;height:100%;isolation:isolate;overflow:hidden;border-radius:4px}.store-item-art::after,.store-item-art::before{content:"";position:absolute;inset:10px 8px;clip-path:polygon(50%0,59% 21%,79% 7%,77% 31%,100% 29%,84% 49%,100% 67%,76% 68%,81% 94%,58% 81%,47% 100%,39% 79%,16% 93%,22% 68%,0 64%,18% 47%,0 28%,25% 29%,23% 5%,43% 21%);transform:rotate(var(--burst-turn));pointer-events:none}.store-item-art::before{background:var(--rarity-ink);opacity:.4;translate:3px 3px;z-index:0}.store-item-art::after{background:var(--burst);z-index:1}.store-item .loot-thumbnail{position:relative;z-index:2;width:100%;height:100%;transition:transform .15s ease-out}.store-item:hover .loot-thumbnail{transform:scale(1.06) rotate(-2deg)}.store-item-rarity{position:absolute;z-index:3;top:0;left:0;padding:2px 5px 2px 4px;border-radius:3px;background:var(--rarity-ink);color:var(--paper);font:800 8px/1.2 var(--ui);letter-spacing:.08em;text-transform:uppercase}.store-item[data-rarity=common] .store-item-rarity{background:var(--paper);color:var(--muted);box-shadow:inset 0 0 0 1px #0b0b0c33}.store-item-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font:700 11px/1.25 var(--ui);align-self:start}.store-item-meta{display:flex;align-items:center;justify-content:space-between;gap:4px;font:700 10px/1 var(--ui);color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}.store-item-action{display:inline-flex;align-items:center;gap:3px;padding:4px 8px 3px;border:2px solid var(--ink);border-radius:5px;background:var(--red);color:var(--paper);font:900 italic 12px/1 var(--impact);letter-spacing:.03em;text-transform:uppercase}.store-item-action[data-state=owned]{background:var(--paper);color:var(--ink)}.store-item-action[data-state=equipped]{background:var(--ink);color:var(--paper)}.store-item[data-state=equipped] .store-item-price{display:none}.store-item[data-state=equipped] .store-item-action{flex:1;justify-content:center}.store-item-action[data-state=equipped]::before{content:"✓";font:800 10px/1 var(--ui);font-style:normal}@media (prefers-reduced-motion:reduce){.store-item .loot-thumbnail{transition:none}.store-item:active,.store-item:hover,.store-item:hover .loot-thumbnail{transform:none}}.store-status{min-height:13px;margin:10px 0 0;color:var(--ink);font:600 11px/1.35 var(--ui)}.store-status:empty{display:none}.store-empty{grid-column:1/-1;margin:8px;color:var(--muted);font:600 12px var(--ui)}.game-privacy{position:fixed;right:12px;bottom:9px;z-index:3;color:var(--muted);font:400 10px/1.35 var(--ui)}.game-home{position:fixed;z-index:6;left:max(16px,env(safe-area-inset-left));bottom:max(12px,env(safe-area-inset-bottom));padding:3px 8px;background:#ffffffe6;color:var(--ink);text-decoration:none;font:900 italic 15px/1.1 Impact,"Arial Black",sans-serif}.game-home:focus-visible,.game-home:hover{color:#f54254;outline:0}body[data-boot=loading] .game-home,body[data-mode=menu] .game-home,body[data-touch=true] .game-home{display:none}body:not([data-mode=menu]) .game-privacy{display:none}.store-signin{box-sizing:border-box;width:min(380px,calc(100vw - 24px));max-height:94dvh;padding:30px 28px 22px;border:0;border-radius:16px;background:#fff;color:#1f1f1f;box-shadow:0 1px 3px #0000001f,0 24px 64px #0000003d;font-family:var(--ui);text-align:center;overscroll-behavior:contain}.store-signin::backdrop{background:#0b0b0c73;backdrop-filter:blur(2px)}.store-signin-close{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:0 0;color:#5f6368;font:400 16px/1 var(--ui);cursor:pointer}.store-signin-close:hover{background:#f1f3f4;color:#1f1f1f}.store-signin-close:focus-visible{outline:2px solid #0b57d0;outline-offset:1px}.store-signin-brand{display:inline-block;color:var(--ink);font:900 italic 24px/1 var(--impact);letter-spacing:-.02em}.store-signin-brand::after{content:"";display:block;width:22px;height:3px;margin:6px auto 0;background:var(--red);transform:skewX(-22deg)}.store-signin h2{margin:18px 0 8px;font:500 22px/1.3 var(--ui);letter-spacing:0;text-transform:none;color:#1f1f1f}.store-signin h2::after{content:none}.store-signin-help{margin:0 0 24px;font:400 14px/1.45 var(--ui);color:#5f6368;text-wrap:pretty}.store-signin-help strong{color:#1f1f1f;font-weight:600}.store-providers{display:flex;flex-direction:column;gap:10px}.store-provider{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:44px;padding:0 48px;border:1px solid;border-radius:22px;font:500 14px/20px var(--ui);letter-spacing:.01em;white-space:nowrap;cursor:pointer;transition:background-color .15s,box-shadow .15s}.store-provider:focus-visible{outline:2px solid #0b57d0;outline-offset:2px}.store-provider-logo{position:absolute;left:16px;top:50%;width:20px;height:20px;transform:translateY(-50%);background:center/contain no-repeat}.store-provider[data-provider=google]{border-color:#747775;background:#fff;color:#1f1f1f;font-family:Roboto,"Google Sans",Arial,sans-serif}.store-provider[data-provider=google]:hover{background:#f7f8f8;box-shadow:0 1px 2px #3c40434d,0 1px 3px 1px #3c404326}.store-provider[data-provider=google]:active{background:#ececec}.store-provider[data-provider=google] .store-provider-logo{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E")}.store-provider[data-provider=apple]{border-color:#000;background:#000;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif}.store-provider[data-provider=apple]:hover{background:#262626}.store-provider[data-provider=apple] .store-provider-logo{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701'/%3E%3C/svg%3E")}.store-provider[data-provider=microsoft]{border-color:#8c8c8c;background:#fff;color:#5e5e5e;font-family:"Segoe UI",var(--ui);font-weight:600}.store-provider[data-provider=microsoft]:hover{background:#f5f5f5;color:#1f1f1f}.store-provider[data-provider=microsoft] .store-provider-logo{width:19px;height:19px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21'%3E%3Cpath fill='%23f25022' d='M0 0h10v10H0z'/%3E%3Cpath fill='%237fba00' d='M11 0h10v10H11z'/%3E%3Cpath fill='%2300a4ef' d='M0 11h10v10H0z'/%3E%3Cpath fill='%23ffb900' d='M11 11h10v10H11z'/%3E%3C/svg%3E")}.store-provider[data-provider=github]{border-color:#24292f;background:#24292f;color:#fff}.store-provider[data-provider=github]:hover{background:#32383f}.store-provider[data-provider=github] .store-provider-logo{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z'/%3E%3C/svg%3E")}.store-signin .store-status{margin:14px 0 0;color:#5f6368;font:400 13px/1.4 var(--ui)}.store-signin-legal{margin:22px 0 0;color:#5f6368;font:400 12px/1.5 var(--ui)}.auth-complete a,.store-signin-legal a{color:#1f1f1f;text-decoration:underline;text-underline-offset:2px}.auth-complete a:focus-visible,.store-signin-legal a:focus-visible{outline:2px solid #0b57d0;outline-offset:2px;border-radius:2px}.auth-complete{display:grid;place-content:center;min-height:100%;margin:0;padding:24px;background:#f6f6f4;color:#1f1f1f;font:400 14px/1.45 var(--ui);text-align:center}.auth-complete-card{width:min(340px,calc(100vw - 48px));padding:30px 26px 24px;border-radius:16px;background:#fff;box-shadow:0 1px 3px #0000001f,0 12px 36px #0000001f}.auth-complete-card .store-signin-brand{margin-bottom:18px}.auth-complete p{margin:0 0 14px;font-size:15px}.auth-complete a{font-size:13px}@media (max-width:480px){.loot-store{padding:12px 10px 10px 12px}.store-layout{grid-template-columns:96px minmax(0,1fr);gap:6px}.store-categories{padding-right:3px}.store-categories button{font-size:10px;letter-spacing:.02em;padding:8px 5px;min-height:38px}.store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding-right:5px}.store-item{padding:5px;grid-template-rows:70px auto 22px}.store-item-action{padding:3px 6px 2px;font-size:11px}#store-user{max-width:90px}.store-signin{padding:28px 20px 20px}}@media (max-height:500px){.loot-store header{margin-bottom:8px}.loot-store h2{font-size:24px}.store-signin{padding:18px 24px 14px}.store-signin-brand{display:none}.store-signin h2{margin:0 0 4px;font-size:19px}.store-signin-help{margin-bottom:14px}.store-providers{gap:8px}.store-provider{height:40px}.store-signin-legal{margin-top:12px}}.mode-select{position:fixed;z-index:5;left:50%;bottom:max(13dvh,calc(env(safe-area-inset-bottom) + 40px));transform:translateX(-50%);display:flex;gap:clamp(14px,2.4vw,26px)}.mode-select[hidden],body:not([data-mode=menu]) .mode-select,body[data-boot=loading] .mode-select{display:none}.mode-card{display:grid;justify-items:start;gap:5px;min-width:clamp(150px,17vw,210px);padding:12px 18px 13px;border:2.5px solid var(--ink);border-radius:0;background:var(--paper);color:var(--ink);box-shadow:5px 5px 0 var(--ink);text-decoration:none;text-align:left;cursor:pointer;transform:rotate(-2deg);transition:transform .08s,box-shadow .08s;font:inherit}.mode-card:nth-child(2){transform:rotate(1.5deg)}.mode-card[hidden],body[data-touch=true] .mode-card kbd{display:none}.mode-untouchable{background:#0b0b0c;color:#fff;box-shadow:5px 5px 0#f54254}.mode-untouchable b{font-size:clamp(22px,2.8vw,34px)}.mode-untouchable kbd{border-color:#fff;box-shadow:0 2px 0#fff}.mode-untouchable:focus-visible,.mode-untouchable:hover{box-shadow:7px 7px 0#f54254}.mode-untouchable:focus-visible{background:#2a2a2c}.mode-card b{font:900 italic clamp(34px,4.2vw,50px)/.9 Impact,"Arial Black",sans-serif;letter-spacing:-.02em}.mode-brawl b{color:var(--red,#f54254)}.mode-card kbd{margin-top:3px;padding:2px 5px;border:1.5px solid var(--ink);border-radius:4px;font:800 9px/1 var(--ui);letter-spacing:.06em;text-transform:uppercase;box-shadow:0 2px 0 var(--ink)}.mode-card:focus-visible,.mode-card:hover{transform:rotate(0) translate(-2px,-2px);box-shadow:7px 7px 0 var(--ink);outline:0}.mode-card:focus-visible{background:#ffe176}.mode-card:active{transform:rotate(0) translate(3px,3px);box-shadow:2px 2px 0 var(--ink)}@media (max-height:500px){.mode-select{bottom:max(14px,env(safe-area-inset-bottom))}.mode-card{padding:8px 14px 9px;min-width:130px}.mode-card b{font-size:30px}.mode-card kbd{display:none}}@media (min-aspect-ratio:5/4){body[data-mode=menu] .start-title{left:83.3%;top:max(28px,13dvh,env(safe-area-inset-top));font-size:clamp(34px,min(6.2vw,13dvh),100px)}body[data-mode=menu] .intro-controls{left:83.3%;top:max(120px,37dvh);width:30vw;max-width:30vw}body[data-mode=menu] .intro-controls .keyboard-guide{flex-wrap:wrap;row-gap:14px;column-gap:clamp(10px,1.4vw,22px)}body[data-mode=menu] .mode-select{left:83.3%;bottom:max(12dvh,calc(env(safe-area-inset-bottom) + 24px));flex-direction:column;align-items:stretch;gap:clamp(12px,2.2dvh,20px)}body[data-mode=menu] .mode-card{min-width:clamp(150px,22vw,250px)}}@media (min-aspect-ratio:5/4) and (min-height:501px){body[data-mode=menu]:has(.mode-untouchable:not([hidden])) .intro-controls{top:max(110px,30dvh)}body[data-mode=menu] .mode-select:has(.mode-untouchable:not([hidden])){gap:clamp(8px,1.6dvh,16px);bottom:max(7dvh,calc(env(safe-area-inset-bottom) + 24px))}.mode-select:has(.mode-untouchable:not([hidden])) .mode-card{padding:1.2dvh 18px 1.4dvh}.mode-select:has(.mode-untouchable:not([hidden])) .mode-card b{font-size:clamp(26px,5.6dvh,46px)}.mode-select .mode-untouchable{grid-auto-flow:column;align-items:center;justify-content:space-between}.mode-select .mode-untouchable b{font-size:clamp(18px,3.4dvh,30px)}.mode-select .mode-untouchable kbd{margin-top:0}}@media (min-aspect-ratio:5/4) and (max-height:500px){body[data-mode=menu] .mode-select{bottom:max(18px,env(safe-area-inset-bottom))}}html[data-platform=ios] body .loot-tools{top:max(16px,env(safe-area-inset-top));bottom:auto}html[data-platform=ios] body .loot-toast{top:calc(max(16px,env(safe-area-inset-top)) + 58px);bottom:auto}.touch-pause[data-home] svg{display:inline-block;width:14px;height:14px;margin:-3px 6px 0 0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.pause-hint,body[data-touch=true] .touch-actions b,body[data-touch=true] kbd,html[data-platform=ios] body .move-loadout{display:none}body[data-touch=true] .pause-hint{display:block;position:fixed;left:50%;bottom:max(28px,14dvh);transform:translateX(-50%);margin:0;color:var(--ink);font:800 13px var(--ui);letter-spacing:.1em;text-transform:uppercase}.story-layer{position:fixed;left:0;top:0;width:100vw;height:100vh;display:block;pointer-events:none}body[data-boot=loading] .story-layer{visibility:hidden}body[data-touch=true]:is([data-mode=playing],[data-mode=paused]) .touch-pause,body[data-touch=true][data-mode=lost] .touch-pause[data-home]{top:max(16px,env(safe-area-inset-top));left:max(16px,env(safe-area-inset-left));width:40px;height:40px;padding:0;display:grid;place-items:center;border:1.5px solid var(--ink);border-radius:50%;background:#ffffffd9;box-shadow:none}body[data-touch=true] .touch-pause svg{display:block;width:20px;height:20px;margin:0;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}body[data-touch=true] .touch-pause:active{transform:scale(.92);box-shadow:none}body[data-touch=true] .kill-counter{top:max(16px,env(safe-area-inset-top));left:calc(max(16px,env(safe-area-inset-left)) + 50px);height:40px;align-items:center}body[data-touch=true] .loot-tools{top:max(16px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));bottom:auto;gap:8px}body[data-touch=true] .loot-tools>button{width:40px;height:40px;padding:8px}body[data-touch=true] .loot-tools svg{width:21px;height:21px}body[data-touch=true] .loot-toast{top:calc(max(16px,env(safe-area-inset-top)) + 52px);bottom:auto}body[data-touch=true] .movement-pad{width:150px;height:150px;clip-path:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M35 2h30v33h33v30H65v33H35V65H2V35h33z' fill='none' stroke='%230b0b0c' stroke-width='2.4' stroke-linejoin='round'/%3E%3C/svg%3E")center/100% 100%no-repeat}body[data-touch=true] .movement-pad.is-held{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M35 2h30v33h33v30H65v33H35V65H2V35h33z' fill='%230b0b0c' fill-opacity='.12' stroke='%230b0b0c' stroke-width='2.4' stroke-linejoin='round'/%3E%3C/svg%3E")}body[data-touch=true] .pad-down,body[data-touch=true] .pad-up{top:9%;left:50%;transform:translateX(-50%)}body[data-touch=true] .pad-down{top:auto;bottom:9%}body[data-touch=true] .pad-left{top:50%;left:9%;transform:translateY(-50%)}body[data-touch=true] .pad-right{top:50%;right:9%;transform:translateY(-50%)}body[data-touch=true] .touch-actions{display:grid;grid-template-columns:auto auto;grid-template-areas:". jump""kick punch";gap:12px;align-items:end}body[data-touch=true] .touch-actions span{font:900 italic 15px/1 var(--impact);letter-spacing:.02em}body[data-touch=true] .touch-actions .touch-punch{grid-area:punch}body[data-touch=true] .touch-actions .touch-kick{grid-area:kick}body[data-touch=true] .touch-actions .touch-jump{grid-area:jump}body[data-touch=true] .touch-actions button{width:60px;height:60px}body[data-touch=true] .touch-actions b{font-size:21px}@media (max-height:520px){body[data-touch=true]:is([data-mode=playing],[data-mode=paused]) .touch-pause,body[data-touch=true][data-mode=lost] .touch-pause[data-home]{top:max(10px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));width:32px;height:32px}body[data-touch=true] .touch-pause svg{width:17px;height:17px}body[data-touch=true] .kill-counter{top:max(10px,env(safe-area-inset-top));left:calc(max(12px,env(safe-area-inset-left)) + 40px);height:32px;padding:0 8px;font-size:18px}body[data-touch=true] .loot-tools{top:max(10px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right))}body[data-touch=true] .loot-tools>button{width:32px;height:32px;padding:6px;border-radius:6px}body[data-touch=true] .loot-tools svg{width:18px;height:18px}body[data-touch=true] .loot-toast{top:calc(max(10px,env(safe-area-inset-top)) + 42px)}body[data-touch=true] .level-chapter{top:calc(max(10px,env(safe-area-inset-top)) + 34px);padding:4px 12px}body[data-touch=true] .level-chapter h2{font-size:clamp(15px,2.3vw,19px)}body[data-touch=true] .movement-pad{width:140px;height:140px}body[data-touch=true] .touch-actions button{width:66px;height:66px}body[data-touch=true] .touch-actions b{font-size:23px}}.made-by{position:fixed;right:max(14px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom));z-index:7;display:block;width:52px;height:42px;line-height:0;opacity:.92;transition:transform .15s,opacity .15s;-webkit-tap-highlight-color:transparent}.made-by:focus-visible,.made-by:hover{opacity:1;transform:scale(1.06);outline:0}body[data-boot=loading] .made-by,body[data-touch=true]:not([data-mode=menu]) .made-by,html[data-platform=ios] .made-by{display:none}html:not([data-platform=ios]) .game-privacy{right:calc(max(14px,env(safe-area-inset-right)) + 64px)}html:not([data-platform=ios]) body:not([data-touch=true]) .loot-tools{right:calc(max(20px,env(safe-area-inset-right)) + 64px)}@media (min-aspect-ratio:5/4) and (max-height:500px){html:not([data-platform=ios]) body[data-mode=menu] .mode-select{left:calc(83.3% - 36px)}html:not([data-platform=ios]) .game-privacy{right:max(14px,env(safe-area-inset-right));bottom:calc(max(10px,env(safe-area-inset-bottom)) + 48px)}}.app-store-badge{position:fixed;z-index:6;top:max(22px,calc(env(safe-area-inset-top) + 12px));left:max(26px,calc(env(safe-area-inset-left) + 14px));display:flex;align-items:center;gap:11px;padding:9px 20px 10px 14px;border:2.5px solid var(--ink);background:var(--ink);color:var(--paper);box-shadow:5px 5px 0 var(--red);text-decoration:none;transform:rotate(-3deg);transition:transform .08s,box-shadow .08s;-webkit-tap-highlight-color:transparent}.app-store-badge svg{flex:none;margin-top:-3px}.app-store-badge span{display:grid;gap:3px}.app-store-badge small{font:800 10px/1 var(--ui);letter-spacing:.16em;text-transform:uppercase;color:var(--sun)}.app-store-badge b{font:900 italic clamp(24px,2.6vw,34px)/.9 var(--impact);letter-spacing:-.01em}.app-store-new{position:absolute;top:-11px;right:-14px;padding:4px 6px 3px;border:2px solid var(--ink);border-radius:3px;background:var(--sun);color:var(--ink);font:900 italic 11px/1 var(--impact);letter-spacing:.04em;transform:rotate(9deg);box-shadow:2px 2px 0 var(--ink)}.app-store-badge:focus-visible,.app-store-badge:hover{transform:rotate(0) translate(-2px,-2px);box-shadow:7px 7px 0 var(--red);outline:0}.app-store-badge:active{transform:rotate(0) translate(3px,3px);box-shadow:2px 2px 0 var(--red)}body:not([data-mode=menu]) .app-store-badge,body[data-boot=loading] .app-store-badge,html[data-platform=ios] .app-store-badge{display:none}@media (max-aspect-ratio:5/4){.app-store-badge{top:auto;left:50%;bottom:max(26px,calc(env(safe-area-inset-bottom) + 14px));transform:translateX(-50%) rotate(-2deg)}.app-store-badge:focus-visible,.app-store-badge:hover{transform:translateX(-50%) translate(-2px,-2px)}.app-store-badge:active{transform:translateX(-50%) translate(3px,3px)}}@media (max-aspect-ratio:5/4) and (max-height:620px){.app-store-badge{display:none}}@media (min-aspect-ratio:5/4) and (max-height:500px){.app-store-badge{top:max(12px,env(safe-area-inset-top));left:max(16px,calc(env(safe-area-inset-left) + 8px));padding:6px 14px 7px 10px;gap:8px}.app-store-badge svg{width:22px;height:22px}.app-store-badge b{font-size:19px}}