@font-face{font-family:"Press Start 2P";font-style:normal;font-weight:400;font-display:swap;src:url(vendor/fonts/press-start-2p/press-start-2p-latin.woff2) format("woff2")}.game-title-text{font-size:44px}:root{--safe-top: env(safe-area-inset-top, 0px);--safe-right: env(safe-area-inset-right, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);--safe-left: env(safe-area-inset-left, 0px);--text-scale: 1;--focus-color: #ffd23f}*{box-sizing:border-box;touch-action:manipulation;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}html{height:100%;overflow:hidden}body{font-family:"Press Start 2P",cursive;width:100%;height:100%;margin:0px auto;font-size:calc(clamp(12px,min(4vw - 16px,6.667vh - 42.67px),24px) * var(--text-scale));background-color:#222323;color:#eee}[hidden]{display:none!important}html.solo .duo-only,html.solo .bugnote-open,html.solo .bugnote-result{display:none!important}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:focus-visible{outline:3px solid var(--focus-color)!important;outline-offset:3px}button:focus:not(:focus-visible){outline:none}button,.nes-btn{min-width:44px;min-height:44px;font-family:inherit;font-size:inherit}.nes-btn,.nes-btn:hover{color:#000}.nes-btn.is-success,.nes-btn.is-success:hover{color:#1f3d12}canvas{image-rendering:optimizeSpeed;image-rendering:crisp-edges;image-rendering:-moz-crisp-edges;image-rendering:-o-crisp-edges;image-rendering:-webkit-optimize-contrast;-ms-interpolation-mode:nearest-neighbor;image-rendering:pixelated}a{color:#e77}a:hover{color:#faa;text-decoration:none}.nes-container.is-rounded.is-dark{border-image-slice:9 9 9 9 fill;border-image-source:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAphgAAKYYBIuzfjAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAABgSURBVEiJY2AYBQQAIzGK/v///x+rZkZGgvqZSHURqYDmFrDgkkAOFikpZYJqcAXX0A8iFG8REyy4wLNndxGGIgXX0A+iUQsIApxlCTEpClfKQQbDOIiQwcgurkcBQQAARlMedugABy8AAAAASUVORK5CYII=);background-color:transparent;border-image-repeat:stretch}.nes-container.is-fake-rounded.is-dark::after{background:none}.screen{height:100%;width:100%;padding:var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);display:none;flex-direction:column;position:absolute;justify-content:center;align-items:center}.modal{position:absolute;top:0px;left:0px;bottom:0px;right:0px;width:100%;height:100%;background-color:#222323}#title{background-image:url(bg.png);background-size:cover;image-rendering:pixelated;animation:20s para infinite ease}@keyframes para{0%{background-position:0px 0%}50%{background-position:0px 80px}100%{background-position:0px 0px}}#plate{display:flex;animation:2s plate-fade;opacity:0}#plate>div{display:flex;justify-content:center;align-items:center;text-align:left;padding:40px;border-radius:5px}@keyframes plate-fade{0%{opacity:0}25%{opacity:0}50%{opacity:1}75%{opacity:1}100%{opacity:0}}#plate>div>*+*{margin-left:32px;margin-right:0px}@media(max-width:700px),(max-height:820px){#plate>div{flex-direction:column;text-align:center}#plate>div>*+*{margin-left:0px;margin-right:0px;margin-top:16px}}#game-title{margin-bottom:0px;width:900px;max-width:98%}@media(min-width:700px)and (max-height:820px){#game-title{width:900px;max-width:98%;max-height:35vh}}@media(max-height:600px){#game-title{width:500px}}.game-title-animation{animation:2s zoomInDown}html[data-crt] #plate,html[data-crt] .game-title-animation{animation:none}html[data-crt] .game-title-animation.lifted{animation:2s zoomInDown;position:fixed;inset:auto;margin:0px;padding:0px;border:0px;background:transparent;overflow:visible;pointer-events:none}@keyframes zoomInDown{0%{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}#options{text-align:center;justify-content:center;max-width:90%}#logo{width:96px;height:96px;image-rendering:pixelated}#menu{width:400px;max-width:100%;margin-bottom:64px;padding:32px}#menu ul{list-style:none;margin:0px;padding:0px}.menu-item{display:block;width:100%;min-height:44px;padding:0.5em 0.5em 0.5em 1.75em;position:relative;text-align:left;color:inherit;background:transparent;border:none;cursor:pointer}.menu-item:hover::before,.menu-item:focus-visible::before{content:">";position:absolute;left:0.25em}.modal{justify-content:flex-start;overflow-y:auto}.modal>:first-child{margin-top:auto}.modal>:last-child{margin-bottom:auto}.modal>*{max-width:90%;width:400px;margin:50px;text-align:center}@media(max-width:700px),(max-height:820px){.modal>*{margin:10px}}.screen-title{font-size:1em;font-weight:normal;line-height:inherit}.screen-title:focus:not(:focus-visible){outline:none}#instructions div>p{text-align:left}#settings div>p{text-align:left}.setting-toggle{display:flex;flex-wrap:wrap;gap:0.5em;justify-content:space-between;align-items:center;width:100%;min-height:44px}.setting-note{margin-top:1em;font-size:0.8em}.setting-stepper{display:flex;flex-wrap:wrap;gap:0.5em;justify-content:space-between;align-items:center;width:100%;margin-top:1em}.stepper-controls{display:flex;align-items:center;gap:0.5em;margin-left:auto}.stepper-btn{width:44px;height:44px;padding:0px;margin:0px}.stepper-controls .setting-state{min-width:4ch;text-align:center}.stepper-btn[aria-disabled=true]{opacity:0.4;cursor:default}#credits ul{list-style:"> ";padding-left:2em;text-align:left}#credits ul li{margin:0.5em 0px}#credits a{display:inline-flex;align-items:center;min-height:44px}.sprite{display:block;width:8px;height:8px;image-rendering:optimizeSpeed;image-rendering:crisp-edges;image-rendering:-moz-crisp-edges;image-rendering:-o-crisp-edges;image-rendering:-webkit-optimize-contrast;-ms-interpolation-mode:nearest-neighbor;image-rendering:pixelated;transform:scale(8);background-size:8px 8px;margin:80px auto}.free{position:absolute;transform:none}.ghost{margin:0px}.float-up{animation:float-up 2s linear forwards}@keyframes float-up{from{transform:scale(1) translate(0px,0px);opacity:1}to{transform:scale(3) translate(0px,-20px);opacity:0}}.hit-flash{position:absolute;width:8px;height:8px;pointer-events:none;background-color:var(--hit-flash, #fffeeb);opacity:0;animation:hit-flash 300ms steps(3,jump-none) var(--delay, 0ms) forwards}.hit-flash.on-player{--hit-flash: #eb564b}@keyframes hit-flash{from{opacity:0.85}to{opacity:0}}.hit-number{position:absolute;transform:translate(-50%,-100%);pointer-events:none;white-space:nowrap;font-size:4px;line-height:1;opacity:0;color:#fffeeb;text-shadow:1px 0 #222323,-1px 0 #222323,0 1px #222323,0 -1px #222323;animation:hit-number 800ms ease-out var(--delay, 0ms) forwards}.hit-number.on-player{color:#ff9166}.hit-number.is-miss{font-size:3px;color:#c2c2d1}@keyframes hit-number{from{transform:translate(-50%,-100%);opacity:1}70%{opacity:1}to{transform:translate(-50%,-260%);opacity:0}}.found-popup{position:absolute;display:flex;align-items:center;gap:1px;margin:0px;min-width:0px;min-height:0px;padding:0.5px 1px;transform:translate(-50%,-100%);white-space:nowrap;font:inherit;font-size:4px;line-height:1;color:#fffeeb;background:rgba(34,35,35,0.85);border:0.5px solid #fffeeb;cursor:pointer;opacity:0;animation:found-rise 1800ms ease-out var(--delay, 0ms) both}.found-popup img{width:6px;height:6px;image-rendering:pixelated}.found-popup.is-gold{color:#ffc825;pointer-events:none}@keyframes found-rise{from{transform:translate(-50%,-100%);opacity:1}75%{opacity:1}to{transform:translate(-50%,-300%);opacity:0}}.sleep-layer{position:absolute;left:0px;top:0px;pointer-events:none}.zzz{position:absolute;pointer-events:none}.zzz span{position:absolute;left:0px;bottom:0px;font-size:3px;line-height:1;color:#c2c2d1;text-shadow:1px 0 #222323,-1px 0 #222323,0 1px #222323,0 -1px #222323;opacity:0;animation:zzz-drift 2400ms ease-out infinite;animation-delay:var(--phase, 0ms)}.zzz span:nth-child(2){animation-delay:calc(var(--phase, 0ms) + 800ms)}.zzz span:nth-child(3){animation-delay:calc(var(--phase, 0ms) + 1600ms)}.zzz.on-player span{color:#fffeeb}@keyframes zzz-drift{from{transform:translate(0px,0px) scale(0.6);opacity:0}15%{opacity:1}75%{opacity:1}to{transform:translate(4px,-11px) scale(1.1);opacity:0}}#game.hurt::after{content:"";position:fixed;inset:0px;pointer-events:none;box-shadow:inset 0 0 40px 8px rgba(235,86,75,0.7);opacity:0;animation:hurt-pulse 350ms ease-out var(--hurt-delay, 0ms) forwards}@keyframes hurt-pulse{from{opacity:1}to{opacity:0}}.grow-fade{animation:grow-fade 2s linear}@keyframes grow-fade{from{transform:translate(0px,0px) scale(8);opacity:0.5}to{transform:translate(0px,0px) scale(16);opacity:0}}.title-btn{width:400px;max-width:90%;margin-top:12px}.build-footer{margin-top:16px;font-size:0.6em;opacity:0.75;text-align:center}.install-hint{box-sizing:border-box;max-width:100%;margin:12px 0 0;padding:0 16px;font-size:0.7em;line-height:1.5;text-align:center;white-space:normal}.nes-container .wide-btn{width:100%;margin-top:1em}.wide-btn{min-height:44px}#pairing .nes-container p,.status-box p{text-align:left;line-height:1.5}.pair-join{margin-top:2em;text-align:left}.pair-join label{display:block;margin-bottom:0.5em;line-height:1.5}#pair-join-code{width:100%;min-height:44px;user-select:text;-webkit-user-select:text;font-family:inherit;font-size:max(16px,1em);text-transform:uppercase;letter-spacing:0.2em}.screen-message:empty{display:none}.pair-code{font-size:1.5em;letter-spacing:0.3em;text-align:center!important}#win{background-image:url(img/coin-0.svg);background-size:20%;image-rendering:pixelated;animation:coin-spin 0.8s step-end infinite}@keyframes coin-spin{0%{background-image:url(img/coin-0.svg)}25%{background-image:url(img/coin-1.svg)}50%{background-image:url(img/coin-2.svg)}75%{background-image:url(img/coin-3.svg)}100%{background-image:url(img/coin-0.svg)}}#minimap{position:absolute;top:calc(8px + var(--safe-top));right:calc(8px + var(--safe-right));padding:2px;line-height:0;background-color:#222323;border:2px solid #606070;cursor:pointer}#minimap canvas{width:64px;height:100px}#minimap canvas,#bigmap-canvas{display:block;image-rendering:pixelated}#game:has(#minimap:not([hidden])) #message{left:calc(4px + var(--safe-left));max-width:calc(100% - 16px - 80px - var(--safe-left) - var(--safe-right))}#bigmap-canvas{margin:0px auto 16px auto;background-color:#222323;cursor:pointer}#message{position:absolute;top:calc(24px + var(--safe-top));flex-direction:column;max-width:calc(100% - 16px)}#message .hit{color:#EB564B}#message .miss{color:#FFB570}#dock{position:absolute;left:var(--safe-left);right:var(--safe-right);bottom:var(--safe-bottom);max-width:600px;margin:0px auto;padding:8px;display:flex;flex-direction:column;gap:8px;pointer-events:none}#dock-row{display:flex;justify-content:space-between;align-items:flex-end;gap:8px}#dock-buttons,#arrows,#hud,#inventory{pointer-events:auto}#dock-buttons{display:grid;grid-template-rows:repeat(3,auto);grid-auto-flow:column;gap:8px}#dock #aim-bar{margin:0px;padding:0.5em;pointer-events:auto;display:flex;flex-wrap:wrap;align-items:center;gap:8px}#dock.is-aiming #dock-buttons,#dock.is-aiming #disarm-bar,#dock.is-aiming #descend-btn,#dock.is-aiming #check-bar{display:none}#check-bar{pointer-events:auto;align-self:flex-start;display:flex;gap:8px}#descend-btn{pointer-events:auto;align-self:flex-start}#disarm-bar{pointer-events:auto;display:flex;flex-wrap:wrap;gap:8px}#dock #disarm-bar .dock-btn{font-size:0.8em}#aim-text{flex:1 1 12em;margin:0px;font-size:0.8em;line-height:1.4}.aim-buttons{display:flex;gap:8px}.aim-buttons .nes-btn{margin:0px;min-width:44px;min-height:44px;padding:4px 8px;font-size:0.8em}#aim-list-items,#kit-choice-list,#checks-list,#checks-answered-list{list-style:none;margin:0px 0px 1em 0px;padding:0px;max-height:60vh;overflow-y:auto}#aim-list-items li+li,#kit-choice-list li+li,#checks-list li+li,#checks-answered-list li+li{margin-top:8px}.aim-target-btn,.kit-btn,.check-btn{width:100%;min-height:44px;margin:0px;text-align:left}.kit-btn .kit-name,.kit-btn .kit-role,.kit-btn .kit-text,.check-btn .check-title,.check-btn .check-state{display:block}.nes-container.is-dark.check-btn{margin:0px;padding:0.6em 1em;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer}.checks-scroll{max-height:60vh;overflow-y:auto;margin-bottom:1em}#checks-list,#checks-answered-list{max-height:none;overflow-y:visible}#checks-answered-list{margin:8px 0px 0px 0px}#checks-answered summary{min-height:44px;display:flex;align-items:center;cursor:pointer}#checks-answered summary::-webkit-details-marker{display:none}#checks-answered summary::before{content:"+ ";white-space:pre}#checks-answered[open] summary::before{content:"- "}.check-btn .check-state{margin-top:0.4em;font-size:0.8em;opacity:0.8}.kit-btn .kit-role,.kit-btn .kit-text{margin-top:0.4em;font-size:0.8em;line-height:1.5}.aim-mark{position:absolute;width:8px;height:8px;box-sizing:border-box;pointer-events:none}.aim-mark.aim-dot{width:2px;height:2px;background-color:#fffeeb}.aim-mark.aim-area{background-color:rgba(255,145,102,0.35)}.aim-mark.aim-target{border:1px solid #ffc825}.aim-mark.aim-target.is-bad,.aim-mark.aim-blocker{border:1px dashed #eb564b}.aim-mark.aim-target.is-bad{background:linear-gradient(45deg,transparent 45%,#eb564b 45% 55%,transparent 55%)}.aim-fx{position:absolute;width:8px;height:8px;pointer-events:none;opacity:0;animation:aim-fx 260ms steps(3,jump-none) var(--delay, 0ms) forwards}.aim-fx-trail{width:4px;height:4px;background:radial-gradient(circle,var(--fx, #fffeeb) 0 1.5px,transparent 2px)}.aim-fx-trail.is-zap,.aim-fx-trail.is-throw{--fx: #ff9166}.aim-fx-burst{background-color:#ff9166;animation-duration:420ms}.aim-fx-blink{border:1px solid #8fd3ff;border-radius:50%;animation-duration:500ms}@keyframes aim-fx{from{opacity:0.9}to{opacity:0}}#dock .dock-btn,#arrows>button{margin:0px;padding:0.5em 1em;min-width:44px;min-height:44px;color:inherit;background-color:transparent;cursor:pointer}#hud{margin:0px;display:flex;flex-wrap:wrap;justify-content:space-evenly;gap:0.5em 1em;padding:1em}#hud .hud-omen{margin:-12px 0px;padding:0px;min-height:44px;border:none;font:inherit;color:inherit;background:transparent;text-decoration:underline dotted;text-underline-offset:3px;cursor:pointer}#inventory{position:absolute;bottom:100%;left:8px;margin:0px;max-width:calc(100% - 16px);max-height:60vh;overflow-y:auto}#inventory>p{margin:0px 0px 0.5em 0px}#inventory ul{list-style-type:none;margin:0px;padding:0px}#inventory .inventory-item{display:flex;align-items:center;width:100%;min-height:44px;margin:0.25em 0px;padding:0.25em;color:inherit;text-align:left;background:transparent;border:none;cursor:pointer}#inventory .sprite{transform:scale(3);display:inline-block;flex:none;margin:1em 2em 1em 1em}#inventory .item-icon{flex:none;width:24px;height:24px;margin:0px 1em 0px 0.25em;image-rendering:pixelated}#inventory .inventory-equipped{display:flex;align-items:center;min-height:44px;margin:0.25em 0px;padding:0.25em}#inventory .inventory-equipped .inventory-item{margin:0px;padding:0px}#item-card .item-card-head{display:flex;align-items:center;gap:0.75em}#item-card .item-icon{flex:none;width:32px;height:32px;image-rendering:pixelated}#item-card-detail{opacity:0.8}#inventory .inventory-item:disabled{cursor:default;opacity:0.6}#death-cause{margin-bottom:1em}#lose>#death-stone{margin-top:auto}#lose>.end-buttons{margin-bottom:auto}#death-stone{position:relative;width:min(280px,78%);min-height:12em;margin-bottom:26px;padding:3em 1em 1.4em;background:#7E7E8F;color:#222323;border:4px solid #606070;border-bottom:none;border-radius:50% 50% 0px 0px / 34% 34% 0px 0px;text-align:center;box-shadow:inset -8px 0px 0px rgba(34,35,35,0.18)}#death-stone::after{content:"";position:absolute;left:-18px;right:-18px;bottom:-22px;height:18px;background:#606070;border:4px solid #43434F}#death-stone p{margin:0px 0px 0.6em}#death-stone .tomb-opener,#death-stone .tomb-name{text-transform:uppercase}#death-stone .tomb-opener{font-size:0.75em}#death-stone .tomb-line{margin-bottom:0px;line-height:1.6}#death-stone .tomb-letter{text-shadow:0px 1px 0px #C2C2D1}#death-stone .tomb-letter.revealed{animation:carve 160ms ease-out}@keyframes carve{from{opacity:0;transform:scale(1.6)}to{opacity:1;transform:none}}#death-cost{margin:0px;color:#FFE478;line-height:1.6}#lose .end-buttons{display:flex;flex-direction:column;gap:8px}#lose .end-row{display:flex;gap:8px}#lose .end-row .end-btn{flex:1;min-width:0px;padding-left:4px;padding-right:4px;font-size:0.8em}#death-stats[open]{display:flex;flex-direction:column}#death-stats .death-stats-body{overflow-y:auto;text-align:left}#death-stats #last-moments ol{list-style-position:inside;padding-left:0px}#death-cause .death-card{display:flex;align-items:flex-start;gap:0.75em;text-align:left}#death-cause .death-icon{flex:none;width:32px;height:32px;image-rendering:pixelated}#death-cause .death-card p{margin:0px 0px 0.4em}#death-cause .death-rules,#death-cause .death-hp{opacity:0.8}#continue-lines .continue-line{margin:0px 0px 0.6em;color:#FFE478;line-height:1.6}.modal .end-btn{min-height:44px}#last-moments{margin:0px 0px 1em;text-align:left}#last-moments h3{margin:0px 0px 0.5em;font-size:1em;font-weight:normal;text-align:center}#last-moments ol{margin:0px;padding-left:2.4em;line-height:1.6}#dying-vignette{position:absolute;inset:0px;pointer-events:none;background:radial-gradient(ellipse at center,transparent 35%,rgba(10,10,11,0.9) 100%);opacity:0;transition:opacity 600ms ease-out}#game.dying #dying-vignette{opacity:1}#game.dying #dock-row,#game.dying #disarm-bar,#game.dying #check-bar,#game.dying #descend-btn,#game.dying #minimap{visibility:hidden}#death-banner{position:absolute;left:0px;right:0px;top:50%;transform:translateY(-50%);padding:1.2em 0px;background:linear-gradient(to right,transparent,rgba(10,10,11,0.85) 20%,rgba(10,10,11,0.85) 80%,transparent);color:#EB564B;font-size:2em;letter-spacing:0.3em;text-align:center;pointer-events:none;opacity:0;visibility:hidden}#game.banner #death-banner{visibility:visible;animation:death-banner 2400ms ease-in-out both}@keyframes death-banner{0%{opacity:0}38%{opacity:1}80%{opacity:1}100%{opacity:0}}#death-banner span{display:inline-block;animation:death-banner-grow 2400ms ease-out both}@keyframes death-banner-grow{from{transform:scale(0.92)}to{transform:none}}.crew-party{position:absolute;width:8px;height:8px;pointer-events:none;z-index:3}.crew-party .crew-sprite,.crew-sprite.stone-plop{margin:0px}.crew-party.walking-left .crew-sprite{transform:scaleX(-1)}.crew-party .crew-carried{animation:crew-bob 360ms steps(2) infinite}@keyframes crew-bob{from{margin-top:0px}to{margin-top:-1px}}.crew-sprite.stone-plop{z-index:2;animation:stone-plop 450ms cubic-bezier(0.3,0,0.5,1) both}@keyframes stone-plop{0%{transform:translateY(-6px)}55%{transform:none}75%{transform:translateY(-2px)}100%{transform:none}}.crew-sprite.wiping{animation:crew-wipe 300ms ease-in-out 3 alternate}@keyframes crew-wipe{from{rotate:-8deg}to{rotate:8deg}}.crew-sprite.glowing{filter:drop-shadow(0px 0px 2px #FFE478)}.crew-party.leaving{opacity:0;transition:opacity 500ms ease-out}.crew-particle{position:fixed;width:4px;height:4px;pointer-events:none;z-index:10;animation:crew-fling 600ms ease-out forwards}.crew-particle.dust{width:6px;height:6px;background:#C2C2D1;opacity:0.8}.crew-particle.sparkle{background:#FFE478;animation-duration:800ms}.crew-particle.chip{background:#7E7E8F;animation-duration:450ms}@keyframes crew-fling{from{transform:translate(0px,0px);opacity:1}to{transform:translate(var(--dx),var(--dy));opacity:0}}#game.frozen{animation:none}#lose.over-board{z-index:2;background-color:rgba(34,35,35,0.78)}#lose.over-board.growing #death-stone{animation:stone-grow 500ms ease-out both}@keyframes stone-grow{from{transform:scale(0.25);opacity:0}to{transform:none;opacity:1}}#lose .reveal-pending{visibility:hidden}#lose .end-buttons.revealed,#death-cost.revealed{animation:fade-in 300ms ease-out}#dock #inventory-close{display:block;margin:0.5em 0px 0px auto}#arrows{display:grid;grid-template-columns:repeat(3,60px);grid-template-rows:44px repeat(3,60px);grid-template-areas:".        .    fold" "upleft   up   upright" "left     skip right" "downleft down downright";gap:4px;font-size:16px;margin:0px;padding:8px}#arrows>button{padding:0px;width:60px;height:60px;display:flex;align-items:center;justify-content:center}#arrows>button>span{pointer-events:none}#btn-left{grid-area:left}#btn-right{grid-area:right}#btn-up{grid-area:up;transform:rotate(90deg)}#btn-down{grid-area:down;transform:rotate(90deg)}#btn-skip{grid-area:skip}#btn-up-left{grid-area:upleft}#btn-up-right{grid-area:upright}#btn-down-right{grid-area:downright}#btn-down-left{grid-area:downleft}#btn-up-left>span{transform:rotate(45deg)}#btn-up-right>span{transform:rotate(135deg)}#btn-down-right>span{transform:rotate(-135deg)}#btn-down-left>span{transform:rotate(-45deg)}#arrows>#dpad-fold{grid-area:fold;justify-self:end;width:44px;height:44px}#dpad-fold>span{transform:rotate(-90deg)}#dock #dpad-show{pointer-events:auto;padding:0px;width:44px;height:44px;display:flex;align-items:center;justify-content:center}#dpad-show>span{width:18px;height:18px;pointer-events:none;background:linear-gradient(currentColor,currentColor) center / 6px 100% no-repeat,linear-gradient(currentColor,currentColor) center / 100% 6px no-repeat}#game{touch-action:none}#canvas{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:none;transition:transform 0.5s ease-out 0s}#canvas:focus:not(:focus-visible){outline:none}.nes-container.is-dark.game-dialog{position:fixed;inset:0px;margin:auto;height:fit-content;max-height:calc(100% - 32px - var(--safe-top) - var(--safe-bottom));width:400px;max-width:calc(100% - 32px);color:#eee;font-family:inherit;font-size:inherit;text-align:center}#bugnote.game-dialog,#check-answer.game-dialog{margin:calc(16px + var(--safe-top)) auto auto auto}.game-dialog::backdrop{background-color:rgba(0,0,0,0.6)}#log-history[open]{display:flex;flex-direction:column}#log-history-list{flex:1 1 auto;min-height:44px;max-height:60vh;overflow-y:auto;margin:0px 0px 1em 0px;list-style:none;padding:0px 0.5em;text-align:left;line-height:1.5}#log-history-list li+li{margin-top:0.5em}#inspect-name{color:#fff}#inspect-rules{color:#fff;line-height:1.5}#inspect-text{line-height:1.5}#inspect-close{min-width:44px;min-height:44px}.dialog-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.dialog-buttons .nes-btn{min-width:44px;min-height:44px}#check-brief[open]{display:flex;flex-direction:column}#check-brief-body{flex:1 1 auto;min-height:44px;overflow-y:auto;margin:0px 0px 1em 0px;padding:0px 0.5em;text-align:left;line-height:1.5}#check-brief-body dt{margin-top:1em;text-decoration:underline}#check-brief-body dt:first-child{margin-top:0px}#check-brief-body dd{margin:0.3em 0px 0px 0px;font-size:0.8em}#check-brief-result:empty,#check-answer-result:empty,#bugnote-status:empty{display:none}#bugnote-text,#check-answer-note{display:block;box-sizing:border-box;width:100%;margin:0.5em 0px 1em 0px;padding:0.5em;font-family:inherit;font-size:max(16px,1em);line-height:1.5;color:#eee;background-color:#111;border:2px solid #eee;resize:vertical}.bugnote-result{padding:0.5em 1em;color:#eee;background-color:#212529;line-height:1.5}.bugnote-result:empty{display:none}.fade-in{animation:fade-in 0.8s;display:flex}@keyframes fade-in{from{opacity:0}to{opacity:1}}.hide{display:none}.show{display:flex}.fade-out{display:flex;opacity:1;animation:fade-out 3s forwards}@keyframes fade-out{from{opacity:1;display:flex}50%{opacity:1;display:flex}to{opacity:0;display:none}}#side-log,#dock #dock-bugnote{display:none}@media(min-width:900px)and (min-height:600px){#game{--side-w: clamp(240px, 22vw, 380px);--gap: 8px}#game.side-log-open #side-log,#dock #dock-bugnote{display:block}#side-log,#inventory{position:absolute;top:calc(var(--gap) + var(--safe-top));bottom:calc(var(--gap) + var(--safe-bottom));width:var(--side-w);margin:0px;overflow-y:auto;pointer-events:auto;touch-action:pan-y}#side-log{left:calc(var(--gap) + var(--safe-left))}#side-log,#inventory{font-size:0.8em}#side-log>p{margin:0px 0px 0.5em 0px}#inventory{display:block;position:fixed;left:auto;right:calc(var(--gap) + var(--safe-right));max-width:none;max-height:none}#dock #inventory-close,#dock #inventory-toggle{display:none}#dock{left:calc(var(--side-w) + 2 * var(--gap) + var(--safe-left));right:calc(var(--side-w) + 2 * var(--gap) + var(--safe-right));max-width:none;padding:0px 0px var(--gap) 0px}#minimap{top:calc(var(--gap) + var(--safe-top));right:calc(var(--side-w) + 2 * var(--gap) + var(--safe-right))}#dock-buttons{display:flex;flex-direction:row;flex-wrap:wrap}#message{left:50%;transform:translateX(-50%);max-width:calc(100% - 2 * var(--side-w) - 4 * var(--gap))}#game.side-log-open #message{display:none!important}#game:has(#minimap:not([hidden])) #message{left:50%;max-width:calc(100% - 2 * var(--side-w) - 4 * var(--gap) - 160px)}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:0.01ms!important;animation-delay:0s!important;animation-iteration-count:1!important;transition-duration:0.01ms!important;transition-delay:0s!important}.hit-number{animation:hit-number-still 700ms steps(1,end) forwards!important;animation-delay:var(--delay, 0ms)!important}.hit-flash{animation:hit-flash 300ms steps(1,end) forwards!important;animation-delay:var(--delay, 0ms)!important}.aim-fx{animation:aim-fx 300ms steps(1,end) forwards!important}.zzz span{animation:none!important;opacity:1}.zzz span:nth-child(2){transform:translate(1px,-4px)}.zzz span:nth-child(3){transform:translate(3px,-8px)}.found-popup{animation:hit-number-still 1800ms steps(1,end) both!important;animation-delay:var(--delay, 0ms)!important}#game.hurt::after{display:none}}@keyframes hit-number-still{from{opacity:1}to{opacity:0}}.crt-defs{position:absolute;width:0px;height:0px}.crt-depth{display:none}#crt-glass{display:none;position:fixed;inset:0px;width:100%;height:100%;max-width:none;max-height:none;margin:0px;padding:0px;border:0px;background:transparent;pointer-events:none;overflow:visible}html[data-crt]{background-color:#222323}html[data-crt] body{filter:url(#crt-filter)}html[data-crt] dialog[open]{filter:url(#crt-filter-soft)}html[data-crt] body:not(:has(#game.show)){filter:url(#crt-filter-soft)}html[data-crt] #canvas{transition:none}html[data-crt] #crt-glass{display:block;border-radius:28px;background:repeating-linear-gradient(to bottom,transparent 0px calc(2 * var(--crt-unit, 1px)),rgba(0,0,0,0.3) calc(2 * var(--crt-unit, 1px)) calc(3 * var(--crt-unit, 1px))),repeating-linear-gradient(to right,rgba(255,0,0,0.05) 0px var(--crt-unit, 1px),rgba(0,255,0,0.05) var(--crt-unit, 1px) calc(2 * var(--crt-unit, 1px)),rgba(0,0,255,0.05) calc(2 * var(--crt-unit, 1px)) calc(3 * var(--crt-unit, 1px)));box-shadow:0 0 0 60px #000,inset 0 0 90px 10px rgba(0,0,0,0.65)}html[data-crt-blur] .crt-depth{display:block;position:absolute;inset:0px;pointer-events:none}.crt-depth-soft{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);-webkit-mask-image:linear-gradient(to bottom,black 8%,transparent 42%,transparent 58%,black 90%),linear-gradient(to right,black 0%,transparent 24%,transparent 76%,black 100%);mask-image:linear-gradient(to bottom,black 8%,transparent 42%,transparent 58%,black 90%),linear-gradient(to right,black 0%,transparent 24%,transparent 76%,black 100%)}.crt-depth-strong{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);-webkit-mask-image:linear-gradient(to bottom,black 10%,transparent 34%,transparent 68%,black 92%),linear-gradient(to right,black 0%,transparent 13%,transparent 87%,black 100%);mask-image:linear-gradient(to bottom,black 10%,transparent 34%,transparent 68%,black 92%),linear-gradient(to right,black 0%,transparent 13%,transparent 87%,black 100%)}.setting-toggle:disabled{opacity:0.5}.light-layer{position:absolute;left:0px;top:0px;pointer-events:none;image-rendering:auto}.motion-layer{position:absolute;left:0px;top:0px;pointer-events:none;image-rendering:pixelated}.light-glow{mix-blend-mode:screen}.light-haze{filter:blur(1.5px)}.light-dusk{filter:blur(2px)}.light-dusk-far{filter:blur(4px)}#game{background-color:#0a0a0b}
