*{box-sizing:border-box}:root{font-family:Arial,Helvetica,sans-serif;color:#f5efdf;background:#17171d;font-synthesis:none;--cream: #f5edda;--muted: #a39ba8;--purple: #ba9be9;--line: #38333e;--mint: #86d7c6}body{margin:0;min-width:300px;background:radial-gradient(ellipse at 76% 24%,#30243788,transparent 53%),#17171d}button{font:inherit;color:inherit;cursor:pointer;border:1px solid var(--line);background:#24222b;border-radius:7px;min-height:46px;padding:12px 19px;transition:background .15s,transform .15s}button:hover{background:#36303f}button:focus-visible,button.focused{outline:3px solid #e1c7ff;outline-offset:4px;background:#3a2f49}button:disabled{cursor:default;opacity:.3}button.primary{background:var(--cream);color:#24212b;border-color:var(--cream);font-weight:800}button.primary:hover{background:#fff}button.primary:focus-visible{background:#fff;outline-color:var(--purple)}button.quiet{background:transparent}button.icon{width:46px;padding:9px;font-size:20px}.shell{max-width:1440px;margin:auto;padding:30px 56px 20px;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}header{display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;gap:11px;align-items:center;font-size:14px;letter-spacing:2px;font-weight:800}.brand img{width:34px;height:34px;image-rendering:pixelated}.brand small{font-size:10px;color:var(--muted);letter-spacing:1.5px;font-weight:400;display:block;margin-top:5px}.tools{display:flex;align-items:center;gap:10px}.tag{font:11px Courier New,monospace;letter-spacing:1px;color:var(--muted);border:1px solid var(--line);padding:8px 11px;border-radius:4px}.tag i{display:inline-block;background:var(--mint);width:6px;height:6px;margin-right:7px;border-radius:50%}.hero{flex:1;display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:30px;padding:46px 0 30px}.eyebrow{color:var(--purple);font:700 12px Courier New,monospace;letter-spacing:2px;text-transform:uppercase;display:flex;gap:12px;align-items:center}.eyebrow:before{content:"";display:inline-block;width:26px;height:2px;background:var(--purple)}h1{font-family:Arial Black,Arial,sans-serif;font-size:clamp(65px,8.7vw,122px);font-weight:950;letter-spacing:-7px;line-height:.87;margin:27px 0}h1 span{display:block;color:var(--purple)}.intro{max-width:380px;color:var(--muted);font-size:17px;line-height:1.7;margin-bottom:28px}.intro strong{color:var(--cream);font-weight:400}.actions{display:flex;gap:12px;flex-wrap:wrap}.actions button{min-width:156px;padding:17px 23px}.arrow{padding-left:26px}.resume{font:11px Courier New,monospace;color:#908797;margin:17px 0 0}.hero-art{position:relative;align-self:center;min-width:0}.hero-art canvas{display:block;width:100%;aspect-ratio:1/1;image-rendering:pixelated}.art-label{position:absolute;right:5%;top:4%;color:var(--muted);font:10px Courier New,monospace;letter-spacing:2px}.speech{position:absolute;right:4%;bottom:8%;font:12px Courier New,monospace;color:#d4badf;border-left:2px solid var(--purple);padding:8px 12px;background:#211d29}.features{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 0;gap:20px}.feature{display:flex;gap:15px;align-items:center}.feature b{font:700 26px Courier New,monospace;color:var(--purple)}.feature strong{display:block;font-size:13px;margin-bottom:6px}.feature small{font-size:11px;color:var(--muted)}footer{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:22px 0 0;font:10px Courier New,monospace;color:#89818e;letter-spacing:1px}.footer-link{font:inherit;border:0;min-height:24px;background:transparent;padding:0}.page{padding:36px 0;flex:1}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}h2{font-size:36px;letter-spacing:-1px;margin:10px 0}p.sub{color:var(--muted);line-height:1.7;margin:8px 0}.chapter-title{display:flex;align-items:center;gap:18px;margin:20px 0}.chapter-title h3{font-size:24px;margin:0}.chapter-title small{color:var(--muted)}.chapter-title .chapter-name{flex:1}.level-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.level-tile{text-align:left;position:relative;padding:18px;min-height:99px}.level-tile .num{font:700 24px Courier New,monospace;color:var(--purple)}.level-tile .title{display:block;font-size:11px;color:var(--muted);margin-top:9px}.level-tile .rating{position:absolute;right:14px;top:20px;font-size:11px;color:#e5bf81}.level-tile.current{border-color:var(--purple);background:#302738}.level-note{display:flex;align-items:center;justify-content:space-between;margin-top:20px;gap:16px;font-size:12px;color:var(--muted)}.panel{max-width:760px;margin:0 auto;border:1px solid var(--line);background:#211e28;border-radius:12px;padding:30px}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:19px 0;border-bottom:1px solid var(--line)}.settings-row:last-child{border-bottom:0}.settings-row strong{display:block;font-size:15px}.settings-row small{display:block;max-width:390px;color:var(--muted);line-height:1.6;margin-top:6px}.settings-row button{min-width:125px}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:26px 0}.help-card{background:#292431;border:1px solid var(--line);padding:20px;border-radius:8px}.help-card h3{margin:0 0 15px;color:var(--purple)}.help-card p{font-size:14px;color:var(--muted);line-height:1.8}.key{display:inline-block;min-width:24px;text-align:center;padding:3px 6px;border:1px solid #655b6d;border-radius:4px;font:12px Courier New,monospace;color:var(--cream)}.game-shell{padding-top:20px;padding-bottom:12px;justify-content:center}.game-shell header{margin-bottom:14px}.game-head{display:flex;gap:20px;align-items:center;justify-content:space-between}.game-title{flex:1}.game-title strong{display:block;font-size:18px;margin-top:5px}.game-title small{font:10px Courier New,monospace;color:var(--purple);letter-spacing:1.5px}.game-stats{display:flex;gap:24px;color:var(--muted);font:12px Courier New,monospace}.game-stats b{display:block;color:var(--cream);font-size:19px;margin-top:4px}.stage{position:relative;margin:16px auto 0;max-width:100%;width:min(100%,calc((100dvh - 178px)*1.77778));border:1px solid #504152;border-radius:8px;overflow:hidden;background:#191824}.stage canvas{width:100%;display:block;aspect-ratio:16/9;image-rendering:pixelated;touch-action:none}.game-bottom{display:flex;gap:18px;justify-content:space-between;align-items:center;color:var(--muted);font:11px Courier New,monospace;padding-top:14px}.cat-quote{color:#d3b2e6}.overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#12101add;padding:15px}.dialog{text-align:center;max-width:530px;padding:28px 40px;border:1px solid #695275;border-radius:10px;background:#24202e;box-shadow:0 12px #110f18}.dialog .actions{justify-content:center;margin-top:22px}.dialog h2{font-size:36px;margin:12px 0}.dialog p{font-size:14px;color:var(--muted);line-height:1.7}.dialog .stars{font-size:38px;color:#e8c686;letter-spacing:10px}.dialog .eyebrow{justify-content:center}.touch-controls{display:none;justify-content:space-between;position:fixed;bottom:max(12px,env(safe-area-inset-bottom));left:20px;right:20px;pointer-events:none;z-index:3}.touch-controls button{pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;width:66px;height:58px;font-size:25px;background:#322b43de;border:1px solid #9e85b9}.touch-controls .touch-directions{display:flex;gap:12px}.touch-controls button:last-child{width:86px}.touch-controls.hidden{display:none!important}#toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%);padding:14px 22px;border:1px solid var(--purple);border-radius:8px;background:#302638;color:var(--cream);font-size:13px;z-index:20;display:none;max-width:90vw}.assist-indicator{color:var(--mint)}@media(min-width:1700px){.shell{max-width:1650px;padding:40px 80px}.hero{gap:60px}h1{font-size:140px}.intro{font-size:21px}.feature strong{font-size:17px}.feature small{font-size:14px}.game-title strong{font-size:24px}.game-bottom,.game-stats{font-size:16px}.game-stats b{font-size:24px}button{font-size:18px;min-height:54px}}@media(max-width:900px){.shell{padding:22px 28px 16px}.hero{gap:4px;padding:40px 0 25px}h1{font-size:86px;letter-spacing:-5px}.intro{font-size:14px}.hero-art{margin-right:-12px}.tools .tag{display:none}.actions button{min-width:130px;padding:14px 17px}.feature{gap:10px}.feature b{font-size:22px}.feature small{font-size:10px}.game-shell{padding:12px 22px}.level-grid{gap:9px}.level-tile{padding:13px}.level-tile .title{font-size:10px}}@media(max-width:600px)and (orientation:portrait){.shell{padding:18px 22px}.brand{font-size:12px}.brand small{font-size:9px}.tools{gap:6px}.tools button{width:40px;min-height:40px}.hero{grid-template-columns:1fr;padding:38px 0 22px}.hero-copy{z-index:1}h1{font-size:92px;margin:25px 0;letter-spacing:-6px}.intro{font-size:15px;max-width:300px}.hero-art{margin:0;height:230px;overflow:hidden}.hero-art canvas{width:330px;margin:-50px auto 0}.art-label{top:7%;right:0}.speech{bottom:4%;right:0;font-size:10px}.features{padding:18px 0;gap:8px}.feature{display:block}.feature b{display:block;margin-bottom:8px}.feature strong{font-size:11px}.feature small{font-size:9px;line-height:1.4;display:block}footer{font-size:8px;padding-top:18px}.level-grid{grid-template-columns:repeat(4,1fr);gap:8px}.level-tile{min-height:74px;padding:12px}.level-tile .num{font-size:20px}.level-tile .title{display:none}.level-tile .rating{font-size:8px;position:static;display:block;margin-top:8px}h2{font-size:28px}.page{padding:24px 0}.chapter-title h3{font-size:18px}.chapter-title small{font-size:11px}.panel{padding:20px}.help-grid{grid-template-columns:1fr;gap:12px}.settings-row{gap:12px}.settings-row button{min-width:96px;padding:10px;font-size:12px}.game-shell{justify-content:flex-start;padding:14px 12px}.game-shell header .brand small{display:none}.game-head{gap:8px}.game-title strong{font-size:14px}.game-stats{gap:10px;font-size:9px}.game-stats b{font-size:15px}.stage{width:100%;margin-top:30px}.game-bottom{font-size:9px;gap:10px;line-height:1.6}.dialog{padding:12px 18px;max-width:90%}.dialog h2{font-size:23px;margin:5px 0}.dialog p{font-size:11px;margin:5px 0}.dialog .actions{margin-top:9px;gap:8px}.dialog .actions button{padding:8px 12px;min-height:36px;font-size:11px}.dialog .stars{font-size:24px}.dialog .eyebrow{font-size:9px}.game-shell .touch-controls{bottom:12vh}.game-shell:after{content:"Landscape gives Maaze more room for tricks.";text-align:center;font-size:11px;color:var(--muted);margin-top:25px}}@media(pointer:coarse){.game-shell .touch-controls{display:flex}.game-shell{padding-bottom:85px}.stage{width:min(100%,calc((100dvh - 235px)*1.77778))}}@media(max-height:540px)and (orientation:landscape){.shell{padding:12px 28px}.hero{padding:20px 0 15px;grid-template-columns:1.1fr 1fr}.eyebrow{font-size:10px}h1{font-size:70px;margin:18px 0;letter-spacing:-4px}.intro{font-size:12px;margin:12px 0;max-width:320px}.hero-art canvas{max-height:310px;aspect-ratio:1;width:auto;max-width:100%;margin:auto}.hero-art .speech{font-size:10px}.features,footer{display:none}.resume{font-size:9px;margin-top:11px}.game-shell{padding:5px 18px}.game-shell header{display:none}.game-head{position:absolute;left:22px;right:22px;top:8px;z-index:2}.game-head .game-title{display:none}.game-head .game-stats{font-size:9px;gap:12px}.game-head .game-stats b{font-size:12px;display:inline;padding-left:4px}.game-head button{min-height:32px;padding:5px 12px;font-size:12px}.stage{width:min(100%,calc((100dvh - 42px)*1.77778));margin:30px auto 0}.game-bottom{display:none}.touch-controls{bottom:12px;left:12px;right:12px}.touch-controls button{width:60px;height:48px;min-height:40px;background:#322b4399}.page{padding:12px 0}.page-heading{margin-bottom:8px}.page-heading h2{font-size:24px}.chapter-title{margin:10px 0}.chapter-title h3{font-size:18px}.level-grid{gap:6px;grid-template-columns:repeat(5,1fr)}.level-tile{min-height:48px;padding:8px}.level-tile .title{display:none}.level-tile .num{font-size:18px}.level-tile .rating{top:13px;font-size:9px}.level-note{margin-top:10px}.dialog{padding:16px 28px}.dialog h2{font-size:25px}.dialog p{font-size:12px}.dialog .actions{margin-top:12px}.dialog .actions button{padding:10px 14px;min-height:38px}.dialog .stars{font-size:25px}.panel{padding:16px 24px}.settings-row{padding:10px 0}}@media(min-width:901px)and (max-height:850px){.shell{padding:22px 44px 16px}.hero{padding:25px 0 18px}.hero-art canvas{height:min(500px,calc(100dvh - 260px));width:auto;max-width:100%;margin:auto}.features{padding:18px 0}footer{padding-top:16px}.game-shell{padding:12px 32px}.game-shell .stage{width:min(100%,calc((100dvh - 195px)*1.77778))}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media(max-width:600px)and (orientation:portrait){h1{font-size:clamp(64px,21vw,92px)}.game-title small{font-size:8px;letter-spacing:.6px}.game-head{flex-wrap:wrap}.game-title{flex-basis:100%}.game-head .game-stats{flex:1}.game-shell .stage{margin-top:18px}.hero-art canvas{width:min(330px,100%)}}@media(min-width:901px)and (max-height:850px){.level-page{padding:18px 0}.level-page .page-heading{margin-bottom:12px}.level-page h2{font-size:28px}.level-page .chapter-title{margin:12px 0}.level-page .level-tile{min-height:78px;padding:12px 16px}.level-page .level-tile .num{font-size:22px}.level-page .level-tile .title{margin-top:6px}.level-page .level-note{margin-top:15px}}@media(min-width:1700px){.level-tile .title,.eyebrow{font-size:15px}.level-note,.chapter-title small{font-size:16px}}@media(max-width:600px)and (orientation:portrait){.hero-art{height:290px}.hero-art canvas{margin:-25px auto 0}.hero-art .speech{bottom:3px}}.route-hud{display:flex;align-items:center;gap:18px;margin:12px auto 0;width:100%;color:var(--muted);font:10px Courier New,monospace;letter-spacing:.6px;min-height:18px}.route-readout{display:flex;align-items:center;gap:12px;flex:1;min-width:160px}.route-readout>span:first-child{white-space:nowrap}.route-meter{display:block;position:relative;height:5px;width:110px;max-width:25vw;background:#39303e;border-radius:3px;overflow:hidden}.route-meter i{display:block;height:100%;width:var(--explored, 0%);background:var(--purple);transition:width .2s}.pickup-status{white-space:nowrap;color:#c6bdcd}.gold-status{color:#9b8d6f}.gold-status.found,.gold-reward{color:#e8c686!important}.boss-label{color:#dfa2b1;font-weight:700;white-space:nowrap}.gold-badge{position:absolute;right:14px;bottom:12px;color:#f1ce78;font-size:17px}.boss-tile{border-bottom-color:#956474}.level-note{flex-wrap:wrap}.level-note>span:last-child{line-height:1.8}.gold-reward{font:12px Courier New,monospace!important}.dialog .gold-reward{margin:10px 0}.game-shell .stage{margin-top:8px;width:min(100%,calc((100dvh - 225px)*1.77778))}.overlay{z-index:5}.stage-quote{position:absolute;left:50%;top:12px;transform:translate(-50%);max-width:55%;padding:8px 12px;border:1px solid #75518b;border-radius:5px;background:#211b2bea;color:#ddc3ed;font:11px Courier New,monospace;line-height:1.5;text-align:center;pointer-events:none;opacity:0;transition:opacity .16s;z-index:1}.stage-quote.visible{opacity:1}.cat-quote{line-height:1.5;max-width:55%;text-align:right}.game-bottom>span:first-child{line-height:1.5}@media(min-width:1700px){.route-hud{font-size:14px;margin-top:16px;gap:24px}.route-meter{height:6px;width:160px}.stage-quote{font-size:14px;padding:10px 14px}.game-shell .stage{width:min(100%,calc((100dvh - 265px)*1.77778))}}@media(pointer:coarse){.game-shell .stage{width:min(100%,calc((100dvh - 265px)*1.77778))}}@media(max-width:600px)and (orientation:portrait){.route-hud{font-size:8px;gap:9px;flex-wrap:wrap;margin-top:12px}.route-readout{flex-basis:100%;gap:9px}.route-meter{flex:1;max-width:none}.game-shell .stage{width:100%;margin-top:8px}.stage-quote{font-size:8px;top:6px;padding:4px 6px;max-width:62%}.game-bottom{flex-direction:column;align-items:flex-start}.cat-quote{max-width:100%;text-align:left}.gold-badge{font-size:11px;right:7px;bottom:8px}.level-note{font-size:10px}}@media(max-height:540px)and (orientation:landscape){.route-hud{position:absolute;left:22px;right:22px;top:40px;width:auto;margin:0;gap:15px;font-size:8px;min-height:12px;z-index:2}.route-readout{flex:1;gap:8px}.route-meter{width:65px;height:3px}.game-shell .stage{width:min(100%,calc((100dvh - 76px)*1.77778));margin:62px auto 0}.stage-quote{font-size:9px;padding:5px 8px;top:7px}.gold-reward{font-size:10px!important}.dialog .gold-reward{margin:5px 0}}.site-links{display:flex;gap:10px;margin-left:auto}.site-links a{display:inline-flex;align-items:center;min-height:44px;padding:10px 13px;border:1px solid var(--line);border-radius:7px;color:var(--cream);font-size:12px;text-decoration:none;white-space:nowrap;background:#24222b}.site-links a:hover{background:#36303f}.site-links a:focus-visible{outline:3px solid #e1c7ff;outline-offset:4px;background:#3a2f49}.level-tile.locked{opacity:.48;background:#1b1922;border-color:#302b35}.level-tile.locked .num{color:#92869f}@media(max-width:900px){.shell>header.site-header{flex-wrap:wrap}.site-links{order:3;flex-basis:100%;margin:0}.site-links a{flex:1;justify-content:center}.shell>header .tools{margin-left:auto}}.site-links .bruuxer-link{gap:8px}.bruuxer-link img{width:30px;height:30px;object-fit:contain;flex-shrink:0}.ending-stage canvas{image-rendering:pixelated}.survivor-badge{color:#f2c15b;letter-spacing:2px}.certificate{position:relative;max-width:760px;margin:0 auto;padding:34px 44px 30px;text-align:center;color:#2d2433;background:#f5edda;border:3px double #8a6a3c;outline:8px solid #f5edda;outline-offset:-18px;border-radius:6px;box-shadow:0 18px 50px #0008;font-family:Georgia,Times New Roman,serif}.cert-issuer{font:11px Courier New,monospace;letter-spacing:2px;text-transform:uppercase;color:#8a6a3c}.certificate h2{font-size:38px;margin:12px 0 10px;letter-spacing:0;color:#3d2d51}.cert-body{font-size:17px;line-height:1.6;margin:0 0 16px}.cert-title small{display:block;font-size:12px;text-transform:uppercase;letter-spacing:2px;color:#7a6d80}.cert-title strong{display:block;font-size:28px;font-style:italic;color:#7b3d4f;margin-top:4px}.cert-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0 12px;padding:14px 0;border-top:1px solid #cdbb9a;border-bottom:1px solid #cdbb9a}.cert-stats b{display:block;font-size:26px;color:#3d2d51}.cert-stats span{display:block;font-size:13px;line-height:1.4;color:#5b4f60}.cert-lives{font-size:14px;font-style:italic;color:#5b4f60;margin:8px 0 0}.cert-foot{display:flex;justify-content:space-between;align-items:flex-end;margin-top:18px}.cert-sign{display:flex;flex-direction:column;align-items:flex-start;font-size:22px;font-style:italic;min-width:200px}.cert-sign .paw{font-size:26px;font-style:normal;opacity:.8}.cert-sign small{align-self:stretch;text-align:left;border-top:1px solid #8a6a3c;margin-top:2px;padding-top:3px;font-size:12px;color:#7a6d80}.cert-stamp{transform:rotate(-12deg);border:4px solid #c23b4e;color:#c23b4e;border-radius:8px;padding:6px 16px;font:900 24px/1.05 Arial,Helvetica,sans-serif;letter-spacing:3px;opacity:.85}.cert-actions{justify-content:center;margin-top:24px}@media(max-width:640px){.certificate{padding:26px 20px}.certificate h2{font-size:28px}.cert-stats{grid-template-columns:1fr}}
