*{box-sizing:border-box}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--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)}html,body,#root{overscroll-behavior:none;width:100%;height:100%;margin:0;overflow:hidden}body{color:#fff;background:#090b18;font-family:Inter,ui-sans-serif,system-ui,sans-serif}button{cursor:pointer}button:focus-visible{outline-offset:3px;outline:3px solid #ffe25d}.quest-title-button{color:#efffdc;letter-spacing:.06em;background:#1a3029;border:2px solid #d9ff89;min-width:190px;min-height:52px;padding:13px 20px;font:900 14px/1 ui-sans-serif,system-ui,sans-serif;box-shadow:4px 4px #5b9c68}.quest-title-button:hover{background:#294d37}.quest-select,.quest-play{color:#f8fcf5;background:radial-gradient(at 50% 0,#253a37,#111b25 52%,#090f18);width:100%;height:100%;overflow:hidden}.quest-select{padding:max(12px,var(--safe-top)) max(18px,var(--safe-right)) max(12px,var(--safe-bottom)) max(18px,var(--safe-left));background:linear-gradient(180deg,#06101a8c,#08101cc7),var(--quest-backdrop,none) center / cover no-repeat,#0b121c;flex-direction:column;gap:10px;display:flex}.quest-header,.quest-select-main,.quest-select-footer{width:min(100%,1200px);margin-inline:auto}.quest-header{border-bottom:1px solid #ffffff24;flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:55px;display:flex}.quest-header>div{flex:1}.quest-header>div>span,.quest-stage-count,.quest-kicker{color:#b9ff8c;letter-spacing:.1em;font:800 10px/1.1 ui-monospace,monospace}.quest-header h1{margin:3px 0 5px;font:italic 900 31px/.9 Impact,Arial Black,sans-serif}.quest-header h1 em{color:#cbff80;font-style:inherit}.quest-back{color:#fff;background:#101926;border:1px solid #ffffff39;flex:none;padding:9px;font:900 10px/1 ui-monospace,monospace}.quest-stage-count{color:#aebfc2;text-align:right}.quest-play[data-size] .quest-play-header,.quest-play[data-size] .quest-canvas-wrap,.quest-play[data-size] .quest-key-help,.quest-play[data-size] .quest-touch{max-width:min(calc(1280px * var(--quest-scale,1)),calc(100% * var(--quest-scale,1)))}.quest-play[data-size=medium]{--quest-scale:.8}.quest-play[data-size=small]{--quest-scale:.6}.quest-size{color:#fff;background:#101926;border:1px solid #ffffff39;flex:none;padding:9px;font:900 10px/1 ui-monospace,monospace}.quest-select-main{flex:1;grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr);gap:10px;min-height:0;display:grid}.quest-roster-panel,.quest-spotlight{background:linear-gradient(145deg,#263d3de3,#121d29e8);border:1px solid #7cae8d55;min-width:0;min-height:0;padding:10px;overflow:hidden}.quest-roster-panel{flex-direction:column;display:flex}.quest-panel-title{flex:none;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.quest-panel-title h2{margin:0;font:900 13px/1 system-ui,sans-serif}.quest-panel-title span{color:#b8c9c4;font:800 9px/1 ui-monospace,monospace}.quest-roster{flex:1;grid-template-rows:repeat(4,minmax(0,1fr));grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;min-height:0;display:grid}.quest-portrait{color:#fff;background:#111b27;border:1px solid #ffffff27;flex-direction:column;justify-content:flex-end;align-items:stretch;min-width:0;min-height:0;padding:0;display:flex;position:relative;overflow:hidden}.quest-portrait.selected{border:2px solid var(--quest-fighter);box-shadow:0 0 10px color-mix(in srgb,var(--quest-fighter),transparent 60%)}.quest-portrait-art{image-rendering:pixelated;background-color:#27383a;background-position:49.5% 0;background-repeat:no-repeat;background-size:200%;position:absolute;inset:0}.quest-portrait-name{z-index:1;color:#fff;text-align:center;text-shadow:0 1px 2px #000;overflow-wrap:anywhere;background:linear-gradient(#0000,#080c18 38%);width:100%;max-height:calc(2.1em + 3px);padding:2px 1px;font:900 clamp(8px,.8vw,10px)/1.05 system-ui,sans-serif;position:relative;overflow:hidden}.quest-spotlight{border-color:color-mix(in srgb,var(--quest-fighter),transparent 35%);flex-direction:column;gap:7px;display:flex}.quest-figure{background:radial-gradient(circle at 50% 55%,color-mix(in srgb,var(--quest-fighter),transparent 78%),transparent 65%),#15232c;flex:1;min-height:0;position:relative;overflow:hidden}.quest-figure>span{z-index:2;color:#dce8df;letter-spacing:.08em;font:800 9px/1 ui-monospace,monospace;position:absolute;top:8px;left:8px}.quest-hero-art{aspect-ratio:1;max-width:100%;height:100%;image-rendering:pixelated;filter:drop-shadow(0 8px #0006);background-position:0 0;background-repeat:no-repeat;background-size:100% 100%;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.quest-hero-art.spectral{clip-path:inset(0 7% 7% 0)}.quest-hero-run{z-index:1;aspect-ratio:1;object-fit:contain;object-position:bottom;filter:drop-shadow(0 8px #0006);opacity:0;max-width:100%;height:100%;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.quest-hero-run.ready{opacity:1}.quest-hero-run.ready+.quest-hero-art{opacity:0}.quest-hero-face{aspect-ratio:1;border:2px solid var(--quest-fighter);width:clamp(50px,7vw,92px);image-rendering:pixelated;background-color:#283742;background-position:53.78% 4.89%;background-repeat:no-repeat;background-size:325% 325%;border-radius:50%;position:absolute;top:9px;right:9px}.quest-hero-copy{flex:none;min-width:0}.quest-hero-copy h2{color:#fff;white-space:nowrap;text-overflow:ellipsis;margin:0;font:italic 900 clamp(25px,3vw,39px)/1 Impact,Arial Black,sans-serif;overflow:hidden}.quest-hero-copy h2.long{font-size:clamp(16px,2vw,27px)}.quest-hero-copy p{color:var(--quest-fighter);letter-spacing:.08em;margin:5px 0 8px;font:900 10px/1 ui-monospace,monospace}.quest-looks{gap:5px;display:flex}.quest-looks button{color:#e9f4ee;background:#0d1720;border:1px solid #ffffff35;flex:1;align-items:center;min-width:0;height:46px;padding:0;display:flex;overflow:hidden}.quest-looks button.selected{border:2px solid var(--quest-fighter);background:color-mix(in srgb,var(--quest-fighter),#12211d 78%)}.quest-looks button span{width:44px;height:44px;image-rendering:pixelated;background-position:0 0;background-size:100% 100%;flex:none}.quest-looks button b{text-align:center;flex:1;font:900 9px/1 ui-monospace,monospace}.quest-select-footer{flex:none;justify-content:space-between;align-items:center;gap:12px;display:flex}.quest-select-footer p{color:#c8d6d3;margin:0;font:700 12px/1.3 system-ui,sans-serif}.quest-primary{color:#101b16;letter-spacing:.035em;background:#c7ff7a;border:2px solid #102018;flex:none;min-height:44px;padding:11px 19px;font:950 13px/1 system-ui,sans-serif;box-shadow:4px 4px #4b9861}.quest-primary:hover{background:#e1ffac}.quest-play{padding:max(8px,var(--safe-top)) max(10px,var(--safe-right)) max(8px,var(--safe-bottom)) max(10px,var(--safe-left));flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.quest-play-header,.quest-canvas-wrap,.quest-key-help,.quest-touch{width:100%}.quest-play-header{flex:none;justify-content:space-between;align-items:center;gap:8px;min-height:36px;display:flex}.quest-level{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.quest-level span,.quest-health span{color:#c6e8bc;font:800 9px/1 ui-monospace,monospace}.quest-level strong{color:#fff;white-space:nowrap;text-overflow:ellipsis;font:900 13px/1 system-ui,sans-serif;overflow:hidden}.quest-health{flex:none;align-items:center;gap:6px;display:flex}.quest-health div{background:#461c31;border:1px solid #c0e5a8;width:clamp(65px,15vw,165px);height:10px;overflow:hidden}.quest-health i{background:#c7ff7a;height:100%;display:block}.quest-health b{color:#fff;min-width:26px;font:900 11px/1 ui-monospace,monospace}.quest-canvas-wrap{background:#101c2c;border:2px solid #9ebca1;flex:auto;min-height:0;position:relative;overflow:hidden;box-shadow:0 18px 60px #0008}.quest-canvas-wrap canvas{width:100%;height:100%;image-rendering:pixelated;display:block}.quest-key-help{color:#aebdb8;text-align:center;flex:none;font:700 10px/1.3 ui-monospace,monospace}.quest-key-help b{color:#f3fff0}@media (width>=900px) and (height<=520px){.quest-play-header,.quest-canvas-wrap,.quest-key-help,.quest-touch{width:100%}.quest-play{gap:4px}.quest-play-header{min-height:26px}.quest-canvas-wrap{aspect-ratio:auto;flex:auto;min-height:0}.quest-key-help{display:none}}.quest-touch{touch-action:none;flex:none;justify-content:space-between;align-items:flex-end;gap:6px;display:none}.quest-touch-move,.quest-touch-actions{align-items:flex-end;gap:5px;display:flex}.quest-control{color:#f4ffe6;touch-action:none;-webkit-user-select:none;user-select:none;background:#25383c;border:2px solid #b1c5bd;border-radius:10px;place-items:center;width:60px;height:56px;padding:4px;display:grid}.quest-control:active{background:#527b52}.quest-control strong{font:900 23px/1 system-ui,sans-serif}.quest-control span{text-transform:uppercase;font:800 7px/1 ui-monospace,monospace}.quest-overlay{z-index:30;padding:max(10px,var(--safe-top)) max(10px,var(--safe-right)) max(10px,var(--safe-bottom)) max(10px,var(--safe-left));background:#050b13d9;place-items:center;display:grid;position:fixed;inset:0}.quest-dialog{text-align:center;background:linear-gradient(145deg,#293e39,#101d28);border:2px solid #b9fa80;width:min(100%,550px);max-height:100%;padding:clamp(15px,3vw,26px);overflow:auto;box-shadow:8px 8px #15251b}.quest-briefing-overlay{background:linear-gradient(90deg,#060f16ed,#060f16cc 38%,#060f1640 68%,#060f161a),var(--quest-scene) right center / cover}@media (aspect-ratio>=6/5){.quest-briefing-overlay{justify-items:start;padding-left:max(24px,5vw)}}@media (aspect-ratio<=9/10){.quest-briefing-overlay{background:linear-gradient(180deg,#060f1626,#060f1673 45%,#060f16d9),var(--quest-scene) 84% center / cover;align-items:end}}.quest-victory-overlay{background:linear-gradient(180deg,#050b1300 30%,#050b13b3),var(--quest-scene) center / cover,#050b13;align-items:end}.quest-victory-overlay .quest-dialog{background:linear-gradient(145deg,#293e39e6,#101d28f0);margin-bottom:2vh}@media (aspect-ratio>=2){.quest-victory-overlay{background:linear-gradient(90deg,#050b1399,#050b1300 62%),var(--quest-scene) center 16% / cover,#050b13;place-items:center start;padding-left:max(20px,4vw)}.quest-victory-overlay .quest-dialog{width:min(100%,430px);margin-bottom:0}}.quest-briefing{border-color:var(--quest-accent);width:min(100%,540px);box-shadow:8px 8px 0 #08121a,0 0 60px color-mix(in srgb,var(--quest-accent),transparent 82%);background:linear-gradient(145deg,#1c3133f7,#101a29fa);padding:clamp(18px,4vw,38px);position:relative}.quest-briefing:before,.quest-briefing:after{content:"";pointer-events:none;width:20px;height:20px;position:absolute}.quest-briefing:before{border-top:2px solid var(--quest-accent);border-left:2px solid var(--quest-accent);top:6px;left:6px}.quest-briefing:after{border-right:2px solid var(--quest-accent);border-bottom:2px solid var(--quest-accent);bottom:6px;right:6px}.quest-briefing .quest-kicker{color:var(--quest-accent)}.quest-briefing h2{margin:12px 0 4px;font-size:clamp(30px,5vw,49px)}.quest-briefing .quest-chapter-place{letter-spacing:.16em;color:var(--quest-accent)!important;margin:0 0 14px!important;font:900 11px/1.2 ui-monospace,monospace!important}.quest-briefing .quest-chapter-story{max-width:370px;margin:0 auto 17px!important;font-size:14px!important;line-height:1.5!important}.quest-chapter-boss{border-block:1px solid #ffffff30;gap:5px;width:fit-content;margin:0 auto 20px;padding:9px 24px;display:grid}.quest-chapter-boss span{color:#c0d2ca;letter-spacing:.1em;font:800 9px/1 ui-monospace,monospace}.quest-chapter-boss strong{color:#fff;letter-spacing:.06em;font:900 14px/1 system-ui,sans-serif}.quest-chapter-boss small{color:#c3d6ca;letter-spacing:.05em;font:800 9px/1.2 ui-monospace,monospace}.quest-dialog h2{color:#fff;margin:6px 0;font:italic 900 clamp(24px,4vw,40px)/1 Impact,Arial Black,sans-serif}.quest-dialog>p:not(.quest-kicker){color:#d1ded5;margin:7px 0;font:700 13px/1.35 system-ui,sans-serif}.quest-secondary{color:#fff;background:#15252c;border:1px solid #a8bfb1;min-height:40px;margin-left:8px;padding:9px 12px;font:800 10px/1 ui-monospace,monospace}@media (aspect-ratio<=9/10){.quest-select{padding:max(7px,var(--safe-top)) max(9px,var(--safe-right)) max(7px,var(--safe-bottom)) max(9px,var(--safe-left));gap:6px}.quest-header{min-height:36px}.quest-header h1{margin:2px 0;font-size:22px}.quest-header>div>span{font-size:7px}.quest-stage-count{display:none}.quest-back{padding:7px;font-size:9px}.quest-select-main{grid-template-rows:minmax(100px,1fr) minmax(160px,1.35fr);grid-template-columns:1fr;gap:5px}.quest-spotlight{grid-row:1;grid-template-columns:minmax(0,.85fr) minmax(0,1fr);gap:5px;padding:5px;display:grid}.quest-roster-panel{grid-row:2;padding:5px}.quest-figure{min-height:0}.quest-figure>span{font-size:7px;top:5px;left:5px}.quest-hero-face{width:42px;top:4px;right:4px}.quest-hero-copy{flex-direction:column;justify-content:center;min-height:0;display:flex}.quest-hero-copy h2{font-size:22px}.quest-hero-copy h2.long{white-space:normal;overflow-wrap:anywhere;font-size:clamp(15px,4.5vw,19px);line-height:1.05}.quest-hero-copy p{margin:3px 0 6px;font-size:8px}.quest-looks{gap:3px}.quest-looks button{height:34px}.quest-looks button span{width:32px;height:32px}.quest-looks button b{font-size:7px}.quest-panel-title{margin-bottom:4px}.quest-panel-title h2{font-size:10px}.quest-panel-title span{font-size:8px}.quest-roster{gap:2px}.quest-portrait-name{padding:1px;font-size:7px}.quest-portrait-name.long{font-size:7px}.quest-portrait-name.extra-long{font-size:6.5px}.quest-select-footer{gap:5px}.quest-select-footer p{display:none}.quest-select-footer .quest-primary{width:100%;min-height:40px;padding:9px}.quest-play .quest-canvas-wrap{width:min(100%,calc((var(--quest-vh,100dvh) - 145px - var(--safe-top) - var(--safe-bottom)) * .8));aspect-ratio:4/5;flex:none}}@media (width>=1000px) and (height<=400px){.quest-roster{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(12,minmax(0,1fr))}.quest-select-main{grid-template-columns:minmax(0,1.75fr) minmax(0,.7fr)}.quest-select .quest-portrait-name{letter-spacing:-.02em;padding:1px 0;font-size:6.5px}.quest-portrait-art{aspect-ratio:1;background-position:0 0;background-size:100% 100%;height:100%;inset:0 auto 0 50%;transform:translate(-50%)}}@media (height<=480px) and (orientation:landscape){.title-actions{flex-wrap:nowrap;gap:6px}.title-actions .enter-button,.title-actions .title-bonus-button,.title-actions .quest-title-button{flex:1 1 0;min-width:0;min-height:38px;padding:8px 6px;font-size:11px}.quest-select{gap:4px;padding:5px 12px}.quest-header{min-height:32px}.quest-header h1{font-size:20px}.quest-header>div>span,.quest-stage-count{font-size:8px}.quest-select-main{gap:5px}.quest-roster-panel,.quest-spotlight{padding:5px}.quest-panel-title{margin-bottom:4px}.quest-panel-title h2{font-size:10px}.quest-roster{gap:2px}.quest-portrait-name{padding:1px;font-size:7px}.quest-portrait-name.long{font-size:7px}.quest-portrait-name.extra-long{font-size:6.5px}.quest-hero-copy h2{font-size:20px}.quest-hero-copy h2.long{font-size:12px}.quest-hero-copy p{margin:2px 0 4px;font-size:8px}.quest-looks button{height:30px}.quest-looks button span{width:28px;height:28px}.quest-looks button b{font-size:7px}.quest-select-footer .quest-primary{min-height:30px;padding:6px 12px;font-size:10px}.quest-select-footer p{font-size:9px}}@media (pointer:coarse),(width<=750px){.quest-play{justify-content:space-between}.quest-play-header,.quest-canvas-wrap,.quest-touch{width:min(100%,calc((var(--quest-vh,100dvh) - 110px - var(--safe-top) - var(--safe-bottom)) * 1.7778))}.quest-key-help{display:none}.quest-touch{display:flex}.quest-control{width:clamp(44px,13vw,60px);height:clamp(46px,13vw,56px)}.quest-control strong{font-size:20px}}@media (width<=360px){.quest-play-header{gap:4px}.quest-health span{display:none}.quest-health div{width:50px}.quest-level strong{font-size:11px}}@media (height<=480px) and (orientation:landscape) and (pointer:coarse),(height<=480px) and (orientation:landscape) and (width<=750px){.quest-play{padding:4px max(10px,var(--safe-right)) 4px max(10px,var(--safe-left));gap:4px}.quest-play-header{min-height:28px}.quest-play-header,.quest-canvas-wrap,.quest-touch{width:min(100%,calc((var(--quest-vh,100dvh) - 100px - var(--safe-top) - var(--safe-bottom)) * 1.7778))}.quest-control{width:52px;height:42px}.quest-control strong{font-size:18px}}@media (height<=420px){.quest-briefing{padding:12px 20px}.quest-briefing h2{margin:5px 0 3px}.quest-briefing .quest-chapter-place{margin-bottom:5px!important}.quest-briefing .quest-chapter-story{margin-bottom:5px!important;line-height:1.25!important}.quest-chapter-boss{gap:3px;margin-bottom:7px;padding:5px 16px}.quest-dialog{padding:10px 14px}.quest-dialog h2{font-size:24px}.quest-dialog>p:not(.quest-kicker){margin:4px 0;font-size:11px}.quest-dialog .quest-primary{min-height:32px;padding:6px 12px}}.quest-play[data-view=puzzle]{justify-content:center}.quest-play[data-view=puzzle] .quest-touch,.quest-play[data-view=puzzle] .quest-key-help{display:none}.quest-play[data-view=puzzle] .quest-play-header,.quest-play[data-view=puzzle] .quest-canvas-wrap{width:100%}.quest-play[data-view=puzzle] canvas{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}@media (aspect-ratio<=9/10){.quest-play[data-view=puzzle] .quest-play-header,.quest-play[data-view=puzzle] .quest-canvas-wrap{width:min(100%,calc((var(--quest-vh,100dvh) - 80px - var(--safe-top) - var(--safe-bottom)) * .8))}.quest-play[data-view=puzzle] .quest-canvas-wrap{aspect-ratio:4/5;flex:none}}.quest-sr{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.trial-roster{flex:1;grid-template-columns:repeat(8,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:4px;width:min(100%,1200px);min-height:0;margin-inline:auto;display:grid}.trial-roster .quest-portrait-art{aspect-ratio:1;background-position:0 0;background-size:100% 100%;height:100%;inset:0 auto 0 50%;transform:translate(-50%)}.trial-new{z-index:2;color:#101b16;white-space:nowrap;background:#c7ff7a;border-radius:3px;padding:2px 4px;font:900 8px/1 ui-monospace,monospace;position:absolute;top:3px;left:50%;transform:translate(-50%)}.trial-options{flex-wrap:wrap;flex:none;justify-content:space-between;align-items:center;gap:8px;width:min(100%,1200px);margin-inline:auto;display:flex}.trial-options>div{gap:5px;display:flex}.trial-options button{color:#e9f4ee;background:#0d1720;border:1px solid #ffffff45;min-height:34px;padding:6px 14px;font:900 10px/1 ui-monospace,monospace}.trial-options button.selected{background:#24382a;border:2px solid #c7ff7a}.trial-options label{color:#d6e6dc;letter-spacing:.06em;align-items:center;gap:8px;font:900 10px/1 ui-monospace,monospace;display:flex}.trial-options select{color:#fff;background:#0d1720;border:1px solid #ffffff45;min-height:34px;padding:5px 8px;font:800 12px/1 system-ui,sans-serif}.quest-canvas-wrap canvas{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.trial-result{background:#050b1366}.trial-result dl{justify-content:center;gap:20px;margin:12px 0 16px;display:flex}.trial-result dt{color:#b9ff8c;letter-spacing:.1em;font:800 9px/1 ui-monospace,monospace}.trial-result dd{color:#fff;margin:5px 0 0;font:900 18px/1 system-ui,sans-serif}@media (aspect-ratio<=9/10){.trial-roster{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.trial-new{padding:1px 2px;font-size:7px}}@media (width>=900px) and (height<=520px){.trial-roster{grid-template-columns:repeat(12,minmax(0,1fr))}.trial-options button,.trial-options select{min-height:28px}}@media (height<=480px) and (orientation:landscape){.trial-roster{grid-template-columns:repeat(12,minmax(0,1fr));gap:2px}.trial-options button,.trial-options select{min-height:26px}.trial-result dl{margin:6px 0 8px}}
