@font-face{font-family:"Press Start 2P";font-style:normal;font-display:swap;font-weight:400;src:url(./press-start-2p-latin-400-normal-_wFEWmAB.woff2)format("woff2"),url(./press-start-2p-latin-400-normal-KLytu4cr.woff)format("woff")}@font-face{font-family:"Press Start 2P";font-style:normal;font-display:swap;font-weight:400;src:url(./press-start-2p-latin-ext-400-normal-DpfYvR5A.woff2)format("woff2"),url(./press-start-2p-latin-ext-400-normal-DBgyq7ky.woff)format("woff")}@font-face{font-family:"Press Start 2P";font-style:normal;font-display:swap;font-weight:400;src:url(./press-start-2p-greek-400-normal-DQfalijU.woff2)format("woff2"),url(./press-start-2p-greek-400-normal-BR_lG5n9.woff)format("woff")}:root{--px:"Press Start 2P", "Courier New", monospace;--panel:#c6c6c6;--panel-dark:#555;--panel-light:#fff;--slot:#8b8b8b;--ink:#2a2a2a;--green:#5ca836;--gold:#f5c542}*{box-sizing:border-box}html,body{height:100%;font-family:var(--px);color:#fff;-webkit-font-smoothing:none;-webkit-user-select:none;user-select:none;background:#000;margin:0;overflow:hidden}#app{position:fixed;inset:0}#game{width:100%;height:100%;image-rendering:pixelated;display:block;position:absolute;inset:0}#ui{pointer-events:none;position:absolute;inset:0}#ui>*{pointer-events:auto}.hidden{display:none!important}img.px,canvas.px{image-rendering:pixelated;image-rendering:crisp-edges}.btn{font:12px/1 var(--px);color:#fff;cursor:pointer;text-shadow:2px 2px #333;text-align:center;background:#6f6f6f;border:3px solid #000;min-width:220px;padding:12px 14px;box-shadow:inset 3px 3px #a9a9a9,inset -3px -3px #3b3b3b}.btn:hover:not(:disabled){background:#7a8bd0;box-shadow:inset 3px 3px #b5c1f2,inset -3px -3px #3d4a85}.btn:disabled{color:#999;cursor:default}.btn.small{min-width:0;padding:8px 10px;font-size:10px}.btn.green{background:#4e8f2c;box-shadow:inset 3px 3px #86c85d,inset -3px -3px #2c5a15}.btn.green:hover:not(:disabled){background:#5fae37}.btn.red{background:#9b3a3a;box-shadow:inset 3px 3px #d57878,inset -3px -3px #5e1e1e}.panel{background:var(--panel);color:var(--ink);box-shadow:inset 4px 4px 0 var(--panel-light), inset -4px -4px 0 var(--panel-dark);border:4px solid #000;padding:14px}.panel h2{color:#3a3a3a;margin:0 0 12px;font-size:14px;font-weight:400}.screen{flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex;position:absolute;inset:0}.dim{background:#0000008c}#title{background:linear-gradient(#0a143200 0%,#00000073 100%);gap:14px}.logo{filter:drop-shadow(6px 6px #0000008c);gap:10px;margin-bottom:8px;display:flex}.logo canvas{width:62px;height:86px;image-rendering:pixelated}.subtitle{color:#ffe27a;text-shadow:2px 2px #4a3b00;text-align:center;margin-bottom:12px;font-size:11px;animation:2s ease-in-out infinite pulse}@keyframes pulse{0%,to{transform:scale(1)rotate(-2deg)}50%{transform:scale(1.06)rotate(-2deg)}}.menu{flex-direction:column;align-items:center;gap:10px;display:flex}.row{align-items:center;gap:10px;display:flex}.footer{text-align:center;color:#ddd;text-shadow:1px 1px #000;font-size:8px;position:absolute;bottom:10px;left:0;right:0}.check{cursor:pointer;text-shadow:2px 2px #222;align-items:center;gap:8px;font-size:10px;display:flex}.check input{accent-color:#5ca836;width:16px;height:16px}#crosshair{pointer-events:none;mix-blend-mode:difference;width:22px;height:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}#crosshair:before,#crosshair:after{content:"";background:#fff;position:absolute}#crosshair:before{width:2px;height:18px;top:2px;left:10px}#crosshair:after{width:18px;height:2px;top:10px;left:2px}#hud{position:absolute;inset:0;pointer-events:none!important}#hud *{pointer-events:none}#hotbar{background:#00000059;border:3px solid #000;gap:0;padding:3px;display:flex;position:absolute;bottom:10px;left:50%;transform:translate(-50%)}.hslot{background:#3c3c3c8c;border:3px solid #555;width:52px;height:52px;position:relative}.hslot.sel{z-index:1;background:#9696968c;border-color:#fff;box-shadow:0 0 0 2px #000}.hslot .key{color:#ddd;text-shadow:1px 1px #000;font-size:7px;position:absolute;top:1px;left:3px}.item-img{width:100%;height:100%;image-rendering:pixelated;display:block}.cnt{color:#fff;text-shadow:2px 2px #222;font-size:9px;position:absolute;bottom:1px;right:2px}.dur{background:#222;height:3px;position:absolute;bottom:3px;left:4px;right:4px}.dur>i{background:#6fe35c;height:100%;display:block}#bars{justify-content:space-between;align-items:flex-end;width:min(520px,94vw);display:flex;position:absolute;bottom:78px;left:50%;transform:translate(-50%)}#hearts{gap:1px;display:flex}#hearts canvas{width:22px;height:22px;image-rendering:pixelated}#hearts.low{animation:.3s infinite shake}@keyframes shake{0%,to{transform:translateY(0)}50%{transform:translateY(-2px)}}#res{background:#00000073;border:3px solid #000;grid-template-columns:auto auto;align-items:center;gap:4px 10px;padding:6px;font-size:9px;display:grid;position:absolute;top:8px;right:8px}#res .rr{display:contents}#res .rr img{width:18px;height:18px;image-rendering:pixelated}#res .rr span{text-align:right;text-shadow:1px 1px #000}#info{text-shadow:1px 1px #000;background:#00000040;padding:4px 6px;font-size:9px;line-height:1.6;position:absolute;top:8px;left:8px}#itemname{text-align:center;text-shadow:2px 2px #000;font-size:11px;transition:opacity .4s;position:absolute;bottom:118px;left:0;right:0}#weapon-hud{text-shadow:1px 1px #000;text-align:right;font-size:9px;line-height:1.6;position:absolute;bottom:106px;right:14px}#toast{text-align:center;text-shadow:2px 2px #000;pointer-events:none;font-size:13px;position:absolute;top:18%;left:0;right:0}#bossbar{text-align:center;text-shadow:2px 2px #000;width:min(560px,90vw);font-size:10px;position:absolute;top:40px;left:50%;transform:translate(-50%)}#bossbar .bar{background:#331a44;border:3px solid #000;height:14px;margin-top:4px}#bossbar .bar>i{background:linear-gradient(#e86bff,#9a2ed0);height:100%;display:block}#damage{opacity:0;pointer-events:none;background:radial-gradient(#f000 40%,#dc0000a6 100%);transition:opacity .35s;position:absolute;inset:0}#water{pointer-events:none;background:#1e46c859;position:absolute;inset:0}#help{width:min(640px,94vw);font-size:10px;line-height:1.9;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}#help table{border-collapse:collapse;width:100%}#help td{padding:2px 6px}#help td:first-child{color:#8a2be2;white-space:nowrap}#loading{text-align:center;background:#1a2b14;gap:16px;font-size:12px}.progress{background:#243a1b;border:3px solid #000;width:min(380px,80vw);height:18px}.progress>i{background:#5ca836;width:0;height:100%;display:block}.slotgrid{gap:3px;display:grid}.slot{background:var(--slot);cursor:pointer;border:3px solid #fff;border-color:#373737 #fff #fff #373737;width:52px;height:52px;position:relative}.slot:hover{background:#a8a8d0}.slot.sel{outline:3px solid #f5c542}.tabs{z-index:1;gap:4px;margin-bottom:-4px;display:flex;position:relative}.tab{font:9px var(--px);color:#222;cursor:pointer;background:#8b8b8b;border:3px solid #000;border-bottom:none;padding:8px 10px 10px}.tab.on{background:var(--panel)}.cursor-item{z-index:100;width:44px;height:44px;position:fixed;transform:translate(-50%,-50%);pointer-events:none!important}.tooltip{z-index:101;white-space:pre-wrap;background:#100010f2;border:2px solid #3a0b66;max-width:300px;padding:6px 8px;font-size:9px;line-height:1.7;position:fixed;pointer-events:none!important}.tooltip b{color:#ffe27a;font-weight:400}.tooltip i{color:#9fd8ff;font-style:normal}.list{flex-direction:column;gap:4px;max-height:56vh;padding-right:6px;display:flex;overflow-y:auto}.offer{color:#111;background:#a6a6a6;border:3px solid #fff;border-color:#373737 #fff #fff #373737;align-items:center;gap:10px;min-width:0;padding:6px;font-size:9px;display:flex}.offer .ico{flex:none;width:40px;height:40px}.offer .txt{flex:1;min-width:0;line-height:1.6}.offer .cost{flex-wrap:wrap;gap:6px;margin-top:3px;display:flex}.offer .cost span{color:#fff;background:#333;align-items:center;gap:2px;padding:2px 4px;display:inline-flex}.offer .cost span.no{color:#f77}.offer .cost img{width:14px;height:14px;image-rendering:pixelated}.offer.cant{opacity:.8}.two{flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:16px;display:flex}.desc{color:#222;max-width:260px;font-size:9px;line-height:1.8}.grid-creative{grid-template-columns:repeat(9,52px);gap:3px;max-height:40vh;display:grid;overflow-y:auto}.opt{color:#222;justify-content:space-between;align-items:center;gap:14px;margin:6px 0;font-size:10px;display:flex}.opt input[type=range]{accent-color:#5ca836;width:200px}.keys{grid-template-columns:1fr 1fr;gap:6px 18px;display:grid}.keybtn{min-width:110px;font:9px var(--px);color:#fff;cursor:pointer;background:#555;border:2px solid #000;padding:6px}.keybtn.wait{background:#b8860b}.scroll{max-height:70vh;padding-right:8px;overflow-y:auto}html,body{overscroll-behavior:none;touch-action:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}#touch{pointer-events:none;position:absolute;inset:0}#touch.hidden{display:none}.tc-zone{pointer-events:auto;touch-action:none;position:absolute;inset:0}.tc-joy,.tc-knob{pointer-events:none;border-radius:50%;position:fixed;transform:translate(-50%,-50%)}.tc-joy{background:#ffffff1f;border:3px solid #ffffff73;width:124px;height:124px}.tc-knob{background:#ffffff8c;border:3px solid #00000080;width:54px;height:54px}.tc-btn{pointer-events:auto;text-align:center;font:9px/1.2 var(--px);color:#fff;text-shadow:2px 2px #000;-webkit-user-select:none;user-select:none;touch-action:none;background:#28282880;border:3px solid #ffffff8c;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute}.tc-btn.on{background:#78a0ffb3}.tc-btn.lit{background:#5ca836bf}.tc-btn.attack{right:calc(18px + env(safe-area-inset-right));bottom:calc(86px + env(safe-area-inset-bottom));background:#aa32328c;width:92px;height:92px;font-size:10px}.tc-btn.use{right:calc(124px + env(safe-area-inset-right));bottom:calc(70px + env(safe-area-inset-bottom));width:74px;height:74px}.tc-btn.jump{right:calc(30px + env(safe-area-inset-right));bottom:calc(190px + env(safe-area-inset-bottom));width:74px;height:74px}.tc-btn.crouch{left:calc(18px + env(safe-area-inset-left));bottom:calc(14px + env(safe-area-inset-bottom));width:58px;height:58px;font-size:8px}.tc-btn.sprint{left:calc(86px + env(safe-area-inset-left));bottom:calc(14px + env(safe-area-inset-bottom));width:58px;height:58px;font-size:8px}.tc-btn.act-f{right:calc(134px + env(safe-area-inset-right));bottom:calc(160px + env(safe-area-inset-bottom));width:50px;height:50px}.tc-btn.act-r{right:calc(194px + env(safe-area-inset-right));bottom:calc(130px + env(safe-area-inset-bottom));width:44px;height:44px}.tc-btn.top{top:calc(8px + env(safe-area-inset-top));border-radius:6px;width:52px;height:34px;font-size:8px}.tc-btn.t1{left:calc(50% - 90px)}.tc-btn.t2{left:calc(50% - 26px)}.tc-btn.t3{left:calc(50% + 38px)}body.mobile .hslot{border-width:2px;width:40px;height:40px}body.mobile .hslot .key{display:none}body.mobile #hotbar{bottom:calc(6px + env(safe-area-inset-bottom));padding:2px}body.mobile #hotbar,body.mobile #hotbar .hslot{pointer-events:auto!important}body.mobile #bars{bottom:calc(54px + env(safe-area-inset-bottom));width:min(360px,60vw)}body.mobile #hearts canvas{width:16px;height:16px}body.mobile #res{gap:2px 6px;padding:4px;font-size:7px;top:8px;right:8px}body.mobile #res .rr img{width:12px;height:12px}body.mobile #itemname{font-size:9px;bottom:86px}body.mobile #weapon-hud{display:none}body.mobile #info{font-size:7px;top:48px}body.mobile #crosshair{opacity:.8}body.mobile #bossbar{top:50px}body.mobile #toast{font-size:10px;top:22%}body.mobile .slot{width:42px;height:42px}body.mobile .slotgrid{gap:2px;grid-template-columns:repeat(9,42px)!important}body.mobile .grid-creative{grid-template-columns:repeat(9,42px);max-height:26vh}body.mobile .panel{padding:8px}body.mobile .panel h2{margin-bottom:6px;font-size:11px}body.mobile .screen>div:not(.panel):not(.menu):not(.logo){max-height:98vh;overflow-y:auto}body.mobile .list{max-height:34vh}body.mobile .desc{font-size:8px}body.mobile .offer{padding:4px;font-size:8px}body.mobile .offer .ico{width:32px;height:32px}body.mobile .logo canvas{width:34px;height:48px}body.mobile .btn{min-width:190px;padding:9px 10px;font-size:10px}body.mobile .btn.small{min-width:0}body.mobile .scroll{max-height:62vh}body.mobile .tooltip{display:none}body.mobile #help{max-height:92vh;font-size:8px;line-height:1.6;overflow-y:auto}body.mobile .keys{grid-template-columns:1fr}body.mobile .opt input[type=range]{width:130px}@media (orientation:portrait){body.mobile:after{content:"Tournez votre téléphone en mode paysage pour jouer";z-index:999;text-align:center;font:12px/2 var(--px);color:#ffe27a;background:#000000e0;justify-content:center;align-items:center;padding:30px;display:flex;position:fixed;inset:0}}
