*{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));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-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,#263d3d,#121d29);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:16.5% 0;background-repeat:no-repeat;background-size:400%;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:200% 200%;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.quest-hero-art.spectral{clip-path:inset(0 7% 7% 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:22% 2%;background-repeat:no-repeat;background-size:650% 650%;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:200% 200%;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:min(100%,calc((100dvh - 95px - var(--safe-top) - var(--safe-bottom)) * 1.7778),1280px)}.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{aspect-ratio:16/9;background:#101c2c;border:2px solid #9ebca1;flex:none;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}.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(110deg,#071217eb,#081323cc),var(--quest-scene) center / cover}.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-pattern{justify-content:center;gap:6px;margin:12px 0;display:flex}.quest-pattern span{color:#d2ff94;background:#111f27;border:1px solid #91c9a6;place-items:center;width:43px;height:43px;font:900 21px/1 system-ui,sans-serif;display:grid}.quest-puzzle-dialog{background:linear-gradient(145deg,#263f3b,#101c29);border-color:#d8ef9a}.quest-pattern span{align-content:center;gap:0;width:52px;height:52px}.quest-pattern span strong{font-size:20px}.quest-pattern span small{letter-spacing:.06em;font:900 7px/1 ui-monospace,monospace}.quest-pattern .bear{color:#ffb6a4;border-color:#ff9e90}.quest-pattern .missing{color:#fff2c4;border-style:dashed}.quest-dialog .quest-puzzle-legend{font:800 10px/1 ui-monospace,monospace!important}.quest-puzzle-options{flex-wrap:wrap;justify-content:center;gap:7px;margin:10px 0;display:flex}.quest-puzzle-options button{color:#fff;background:#10212a;border:1px solid #89a89a;min-width:62px;min-height:40px;padding:8px;font:900 12px/1 system-ui,sans-serif}.quest-puzzle-options button[aria-pressed=true]{background:#466b48;border:2px solid #c7ff7a}.quest-dialog .quest-feedback{min-height:18px;color:#d7fbbd!important;font-size:11px!important}.quest-dialog .quest-answer{color:#e8ffd6!important;font:900 11px/1.2 ui-monospace,monospace!important}.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((100dvh - 145px - var(--safe-top) - var(--safe-bottom)) * .8));aspect-ratio:4/5}}@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((100dvh - 110px - var(--safe-top) - var(--safe-bottom)) * 1.7778),1280px)}.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((100dvh - 100px - var(--safe-top) - var(--safe-bottom)) * 1.7778),1280px)}.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-pattern{margin:5px 0}.quest-pattern span{width:38px;height:38px}.quest-pattern span strong{font-size:15px}.quest-pattern span small{font-size:6px}.quest-puzzle-options{margin:5px 0}.quest-puzzle-options button{min-height:30px;padding:5px}.quest-dialog .quest-feedback{min-height:12px;margin:3px 0}.quest-dialog .quest-primary{min-height:32px;padding:6px 12px}}
