.gx-maze{position:relative;isolation:isolate;max-width:840px;margin:22px auto;font:600 14px/1.45 system-ui,sans-serif;color:#eaf3dd;text-align:left;scroll-margin-top:100px}.gx-maze *{box-sizing:border-box}.gx-maze [hidden]{display:none!important}.gx-maze button,.gx-maze select{font:inherit;text-transform:none;letter-spacing:normal;margin:0;color:#f6f2d8}.gx-maze button{cursor:pointer;border:1px solid #8ba591;border-radius:7px;min-height:44px;padding:8px 10px;background:linear-gradient(145deg,#385d50,#153c39);touch-action:manipulation;line-height:1.3}.gx-maze button:hover{background:#426e5b}.gx-maze button:disabled{cursor:default;opacity:.45}.gx-maze button:focus-visible,.gx-maze select:focus-visible,.gx-maze canvas:focus-visible{outline:3px solid #ffe39a;outline-offset:2px}.gx-maze p{margin:0;padding:0}.gx-maze .mz-shell{position:relative;padding:14px;background:linear-gradient(135deg,#21483f,#102a30 70%,#314934);border:2px solid #a2ad81;border-radius:14px;box-shadow:0 8px 24px #12322b55;overflow:hidden}.gx-maze .mz-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.gx-maze .mz-brand{min-width:0}.gx-maze .mz-brand small{display:block;font-size:8px;letter-spacing:.12em;color:#b9cfaa;white-space:nowrap}.gx-maze .mz-brand strong{display:block;font:900 28px/1.15 Georgia,serif;color:#ffe3a2;white-space:nowrap;text-shadow:0 2px #0a1719}.gx-maze .mz-tools{display:flex;gap:5px;flex-shrink:0}.gx-maze .mz-tools button{font-size:11px;min-width:44px;padding:6px}.gx-maze .mz-hud{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:9px}.gx-maze .mz-hud>div{min-width:0;background:#08272bbd;border:1px solid #72927b;border-radius:6px;padding:7px 10px}.gx-maze .mz-hud span{display:block;font-size:10px;color:#bfd1b4}.gx-maze .mz-hud strong{display:block;font-size:24px;line-height:1.25;color:#ffe1a0;font-weight:900;font-variant-numeric:tabular-nums}.gx-maze .mz-hud .is-urgent{color:#ffa49c}.gx-maze .mz-stage{position:relative;height:470px;min-height:0;border:1px solid #93a58a;border-radius:9px;overflow:hidden;background:#091f26}.gx-maze .mz-play{display:flex;flex-direction:column;height:100%;min-height:0;padding:8px;gap:6px}.gx-maze .mz-mission{display:flex;justify-content:space-between;gap:6px;font-size:11px;color:#bfcdb0;flex-shrink:0}.gx-maze .mz-mission strong{color:#ffe29e}.gx-maze .mz-mission .is-ready{color:#a4efd0}.gx-maze .mz-world{position:relative;flex:1;min-height:0;border-radius:5px;overflow:hidden;border:1px solid #b4b77a66}.gx-maze .mz-canvas{display:block;width:100%;height:100%;touch-action:none;outline:none}.gx-maze .mz-message{font-size:12px;color:#ffe8ad;min-height:18px;text-align:center;font-weight:800;flex-shrink:0}.gx-maze .mz-controls{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:10px}.gx-maze .mz-pad{display:grid;grid-template-columns:repeat(3,50px);grid-template-rows:repeat(2,47px);gap:5px;flex-shrink:0}.gx-maze .mz-pad button{font-size:22px;padding:0;min-height:44px;min-width:44px;box-shadow:0 3px #081b20;user-select:none;touch-action:none}.gx-maze .mz-pad button[data-dir="0"]{grid-column:2}.gx-maze .mz-pad button[data-dir="3"]{grid-column:1;grid-row:2}.gx-maze .mz-pad button[data-dir="2"]{grid-column:2;grid-row:2}.gx-maze .mz-pad button[data-dir="1"]{grid-column:3;grid-row:2}.gx-maze .mz-inventory{display:grid;grid-template-columns:1fr 1fr;gap:6px;max-width:330px;flex:1}.gx-maze .mz-inventory button{font-size:12px;min-width:0;font-weight:800;padding:6px}.gx-maze .mz-inventory button[data-act="view"]{grid-column:1/-1}.gx-maze .mz-footer{display:flex;justify-content:space-between;gap:8px;margin-top:9px;font-size:10px;color:#bed1b9;min-height:15px}.gx-maze .mz-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.gx-maze .mz-panel{position:absolute;inset:10px;z-index:5;display:flex;flex-direction:column;justify-content:center;gap:12px;padding:clamp(14px,3vw,25px);overflow:auto;overscroll-behavior:contain;background:linear-gradient(145deg,#305548fc,#112e37fc 75%,#3c4e35fc);border:1px solid #c2bb8d;border-radius:8px;box-shadow:0 6px 24px #0007}.gx-maze .mz-panel>*{flex-shrink:0}.gx-maze .mz-eyebrow{text-align:center;font-size:10px;letter-spacing:.15em;color:#ccdbb3}.gx-maze h2.mz-title{font:900 25px/1.3 system-ui,sans-serif;color:#fff0bc!important;text-align:center;background:none!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important}.gx-maze .mz-title:before,.gx-maze .mz-title:after{content:none!important;display:none!important}.gx-maze .mz-note{text-align:center;color:#d5e0c4;font-size:12px}.gx-maze .mz-modes{display:grid;gap:7px}.gx-maze .mz-modes button{display:flex;justify-content:space-between;align-items:center;text-align:left;gap:8px;min-height:46px}.gx-maze .mz-modes strong{font-size:15px;white-space:nowrap}.gx-maze .mz-modes span{font-size:11px;color:#d7e1c9}.gx-maze .mz-modes button[aria-pressed=true]{border-color:#ffe2a0;background:#526b4a;box-shadow:inset 3px 0 #ffdb88}.gx-maze .mz-difficulty{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.gx-maze select{background:#163c3a;border:1px solid #a8bb94;padding:7px 10px;min-height:44px;width:65%;border-radius:6px}.gx-maze .mz-primary{font-size:17px;font-weight:900;min-height:47px;background:linear-gradient(#ffe6a6,#cba150);color:#263d35;border-color:#fff2bf;box-shadow:0 3px #745b30}.gx-maze .mz-primary:hover{background:#ffdf9c;color:#21342e}.gx-maze .mz-secondary{font-size:12px;min-height:44px}.gx-maze .mz-equipment{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.gx-maze .mz-equipment button{min-width:0;min-height:135px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:8px 4px}.gx-maze .mz-equipment b{font-size:32px;color:#ffdda0;line-height:1}.gx-maze .mz-equipment strong{font-size:13px;white-space:normal}.gx-maze .mz-equipment span{font-size:10px;color:#dce1c8;line-height:1.5}.gx-maze .mz-points{display:flex;flex-direction:column;align-items:center;color:#ffe0a0;gap:2px}.gx-maze .mz-points strong{font-size:clamp(35px,8vw,55px);font-variant-numeric:tabular-nums;font-weight:950;line-height:1.1}.gx-maze .mz-points span{font-size:12px;letter-spacing:.12em}.gx-maze .mz-result-stats{display:grid;grid-template-columns:1fr 1fr;gap:7px}.gx-maze .mz-result-stats>div{min-width:0;background:#092b31bb;border:1px solid #819c80;border-radius:6px;padding:8px 10px;display:flex;flex-direction:column;gap:2px}.gx-maze .mz-result-stats span{font-size:10px;color:#cdd9bd}.gx-maze .mz-result-stats strong{font-size:20px;color:#fff0cf}.gx-maze .mz-record-note{text-align:center;font-size:11px;color:#ffe0a0}.gx-maze .mz-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.gx-maze .mz-actions button{font-size:13px}
.gx-maze .mz-shell:fullscreen,.gx-maze .mz-expanded{width:100vw;height:100dvh;max-width:none;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:5px;padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));border:0;border-radius:0;background:#102d2f}.gx-maze .mz-expanded{position:fixed;inset:0;z-index:2147483000}.gx-maze .mz-shell:fullscreen .mz-head,.gx-maze .mz-expanded .mz-head,.gx-maze .mz-shell:fullscreen .mz-hud,.gx-maze .mz-expanded .mz-hud,.gx-maze .mz-shell:fullscreen .mz-controls,.gx-maze .mz-expanded .mz-controls,.gx-maze .mz-shell:fullscreen .mz-footer,.gx-maze .mz-expanded .mz-footer{margin:0}.gx-maze .mz-shell:fullscreen .mz-stage,.gx-maze .mz-expanded .mz-stage{height:auto;min-height:0!important}.gx-maze .mz-shell:fullscreen .mz-panel,.gx-maze .mz-expanded .mz-panel{inset:6px;max-width:620px;height:max-content;max-height:calc(100% - 12px);margin:auto;padding:12px;gap:10px}.gx-maze.mz-portal{position:fixed;inset:0;z-index:2147483000;width:100vw;height:100dvh;max-width:none;margin:0;isolation:isolate}
@media(max-width:480px){.gx-maze .mz-shell{padding:9px;border-radius:10px}.gx-maze .mz-brand strong{font-size:22px}.gx-maze .mz-brand small{font-size:6px;letter-spacing:0}.gx-maze .mz-tools{gap:3px}.gx-maze .mz-tools button{font-size:9px;padding:4px;min-width:44px;min-height:44px}.gx-maze .mz-hud{gap:4px}.gx-maze .mz-hud>div{padding:6px}.gx-maze .mz-hud span{font-size:9px}.gx-maze .mz-hud strong{font-size:21px}.gx-maze .mz-stage{height:430px}.gx-maze .mz-play{padding:6px}.gx-maze .mz-controls{gap:9px}.gx-maze .mz-pad{grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:4px}.gx-maze .mz-inventory{grid-template-columns:1fr;gap:4px}.gx-maze .mz-inventory button{font-size:10px}.gx-maze .mz-inventory button[data-act="view"]{grid-column:auto}.gx-maze .mz-panel{padding:14px;gap:10px}.gx-maze .mz-modes button{display:block;min-height:48px}.gx-maze .mz-modes strong{font-size:14px}.gx-maze .mz-modes span{display:block;font-size:10px;margin-top:2px}.gx-maze h2.mz-title{font-size:22px}.gx-maze .mz-equipment strong{font-size:11px}.gx-maze .mz-equipment span{font-size:9px}.gx-maze .mz-footer{font-size:9px}}
@media(max-width:359px){.gx-maze .mz-brand strong{font-size:18px}.gx-maze .mz-brand small{font-size:5px}.gx-maze .mz-head{gap:4px}.gx-maze .mz-hud strong{font-size:18px}.gx-maze .mz-result-stats>div{padding:6px}.gx-maze .mz-result-stats strong{font-size:16px}.gx-maze .mz-record-note{font-size:10px}.gx-maze h2.mz-title{font-size:20px}}
@media(max-height:500px) and (orientation:landscape){.gx-maze .mz-shell:fullscreen,.gx-maze .mz-expanded{grid-template-columns:minmax(180px,.65fr) minmax(0,1.35fr);grid-template-rows:auto auto minmax(0,1fr) auto;gap:5px}.gx-maze .mz-shell:fullscreen .mz-head,.gx-maze .mz-expanded .mz-head{grid-column:1;display:block}.gx-maze .mz-shell:fullscreen .mz-brand small,.gx-maze .mz-expanded .mz-brand small{display:none}.gx-maze .mz-shell:fullscreen .mz-brand strong,.gx-maze .mz-expanded .mz-brand strong{font-size:20px}.gx-maze .mz-shell:fullscreen .mz-tools,.gx-maze .mz-expanded .mz-tools{margin-top:4px}.gx-maze .mz-shell:fullscreen .mz-hud,.gx-maze .mz-expanded .mz-hud{grid-column:1;grid-row:2;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.gx-maze .mz-shell:fullscreen .mz-hud>div,.gx-maze .mz-expanded .mz-hud>div{padding:3px}.gx-maze .mz-shell:fullscreen .mz-hud strong,.gx-maze .mz-expanded .mz-hud strong{font-size:14px}.gx-maze .mz-shell:fullscreen .mz-hud span,.gx-maze .mz-expanded .mz-hud span{font-size:8px}.gx-maze .mz-shell:fullscreen .mz-stage,.gx-maze .mz-expanded .mz-stage{grid-column:2;grid-row:1/-1}.gx-maze .mz-shell:fullscreen .mz-controls,.gx-maze .mz-expanded .mz-controls{grid-column:1;grid-row:3;display:grid;justify-content:start;align-content:center;gap:6px}.gx-maze .mz-shell:fullscreen .mz-inventory,.gx-maze .mz-expanded .mz-inventory{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;max-width:190px}.gx-maze .mz-shell:fullscreen .mz-inventory button,.gx-maze .mz-expanded .mz-inventory button{font-size:8px;padding:3px;min-height:44px}.gx-maze .mz-shell:fullscreen .mz-inventory button[data-act="view"],.gx-maze .mz-expanded .mz-inventory button[data-act="view"]{grid-column:auto}.gx-maze .mz-shell:fullscreen .mz-pad,.gx-maze .mz-expanded .mz-pad{grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:3px;justify-content:center}.gx-maze .mz-shell:fullscreen .mz-footer,.gx-maze .mz-expanded .mz-footer{grid-column:1;grid-row:4;font-size:8px}.gx-maze .mz-shell:fullscreen .mz-message,.gx-maze .mz-expanded .mz-message{display:none}.gx-maze .mz-shell:fullscreen .mz-stage:has(.mz-panel:not([hidden])),.gx-maze .mz-expanded .mz-stage:has(.mz-panel:not([hidden])){position:static}.gx-maze .mz-shell:fullscreen .mz-panel,.gx-maze .mz-expanded .mz-panel{inset:8px;max-width:520px;max-height:calc(100% - 16px);padding:12px;gap:7px}.gx-maze .mz-shell:fullscreen .mz-eyebrow,.gx-maze .mz-expanded .mz-eyebrow,.gx-maze .mz-shell:fullscreen .mz-note,.gx-maze .mz-expanded .mz-note{display:none}.gx-maze .mz-shell:fullscreen h2.mz-title,.gx-maze .mz-expanded h2.mz-title{font-size:19px}.gx-maze .mz-shell:fullscreen .mz-modes,.gx-maze .mz-expanded .mz-modes{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.gx-maze .mz-shell:fullscreen .mz-modes button,.gx-maze .mz-expanded .mz-modes button{display:block;text-align:center;min-height:44px;padding:6px}.gx-maze .mz-shell:fullscreen .mz-modes span,.gx-maze .mz-expanded .mz-modes span{display:none}.gx-maze .mz-shell:fullscreen .mz-equipment button,.gx-maze .mz-expanded .mz-equipment button{min-height:105px;gap:7px}.gx-maze .mz-shell:fullscreen .mz-equipment b,.gx-maze .mz-expanded .mz-equipment b{font-size:24px}.gx-maze .mz-shell:fullscreen .mz-points strong,.gx-maze .mz-expanded .mz-points strong{font-size:30px}.gx-maze .mz-shell:fullscreen .mz-result-stats>div,.gx-maze .mz-expanded .mz-result-stats>div{padding:4px 7px}.gx-maze .mz-shell:fullscreen .mz-result-stats strong,.gx-maze .mz-expanded .mz-result-stats strong{font-size:15px}.gx-maze .mz-shell:fullscreen .mz-record-note,.gx-maze .mz-expanded .mz-record-note{font-size:10px}}
@media(prefers-reduced-motion:reduce){.gx-maze *{animation:none!important;transition:none!important}}

.gx-maze .mz-panel-back{display:none}
@media(max-height:500px) and (orientation:landscape){.gx-maze .mz-shell:fullscreen .mz-panel-back,.gx-maze .mz-expanded .mz-panel-back{display:block;position:absolute;top:7px;right:7px;min-width:44px;min-height:44px;padding:5px;font-size:11px;z-index:2}.gx-maze .mz-shell:fullscreen .mz-title,.gx-maze .mz-expanded .mz-title{padding-inline:48px!important;min-height:44px;display:flex;align-items:center;justify-content:center}}
