.maze-game{color:#344c4b}.maze-game button{font:inherit;cursor:pointer;touch-action:manipulation;min-height:46px}.maze-game button:disabled{opacity:.45;cursor:default}.maze-game :focus-visible{outline-offset:4px;outline:3px solid #c08c40}.maze-game .math-toolbar>div{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.maze-game .mz-three{grid-template-columns:repeat(3,minmax(0,1fr))}.mz-preview>svg{width:100%;height:auto;margin:5px 0 20px;transform:rotate(-1deg)}.mz-preview h2{font:700 40px var(--font-caveat),cursive;margin:15px 0}.mz-preview p,.mz-preview li{font-size:20px;line-height:1.5}.mz-preview ol{padding-left:24px}.mz-preview li{padding-bottom:12px}.mz-preview details{font-size:18px;line-height:1.5}.mz-preview summary{cursor:pointer;min-height:44px}.mz-rule{background:#eee8d6;border-left:3px solid #b09058;padding:12px 17px}.mz-note{color:#5b6f62;margin:8px 0;font-size:16px;line-height:1.45}.mz-themes button{text-align:left;align-items:center;gap:10px;display:flex}.mz-themes svg{flex:none;width:42px;height:42px}.mz-axi{background:#e9eedc;border:1px dashed #8ca17d;border-radius:13px;align-items:center;gap:12px;margin:12px 0;padding:9px 14px;font-size:17px;line-height:1.35;display:flex}.mz-axi img{flex:none;width:44px;height:44px}.mz-axi p{margin:0}.mz-match-head{justify-content:space-between;align-items:center;gap:20px;margin:18px 0;display:flex}.mz-match-head h1{font:700 43px/1.1 var(--font-caveat),cursive;margin:0 0 6px}.mz-match-head p{margin:0;font-size:17px}.mz-timer{text-align:center;background:#fffaf0;border:1px solid #a7ae95;border-radius:12px;flex:none;padding:8px 20px}.mz-timer small{font-size:14px;display:block}.mz-timer strong{font:34px/1.2 var(--font-neucha);font-variant-numeric:tabular-nums}.mz-objective{text-align:center;margin:12px 0 18px;font-size:19px}.mz-boards{align-items:start;gap:24px;display:grid}.mz-boards.duel{grid-template-columns:repeat(2,minmax(0,1fr))}.mz-boards.solo{max-width:660px;margin:auto}.mz-board{background:#fffdf5;border:2px solid #85a4b4;border-radius:18px 24px 16px 21px;min-width:0;padding:14px;box-shadow:4px 5px #315d8012}.mz-team-1{border-color:#c28e60}.mz-board>header{justify-content:space-between;align-items:center;gap:10px;display:flex}.mz-board h2{font:700 31px/1.1 var(--font-caveat);color:#315d80;margin:0}.mz-team-1 h2{color:#a26032}.mz-board header>span{text-align:right;font-size:25px}.mz-board header small{font-size:12px;line-height:1;display:block}.mz-progress{justify-content:space-between;align-items:center;gap:15px;margin:10px 0;font-size:14px;display:flex}.mz-progress progress{accent-color:#779662;flex:1;min-width:0;height:9px}.mz-map-wrap{max-width:560px;margin:auto}.mz-map{touch-action:none;-webkit-user-select:none;user-select:none;cursor:crosshair;width:100%;height:auto;display:block}.mz-legend{color:#596e58;flex-wrap:wrap;justify-content:space-between;gap:5px;margin-top:8px;font-size:13px;display:flex}.mz-feedback{background:#f1eddf;border-radius:8px;min-height:59px;margin:10px 0;padding:9px 12px;font-size:17px;line-height:1.35}.mz-controls{grid-template-rows:52px 52px;grid-template-columns:repeat(3,60px) minmax(80px,1fr);gap:7px;max-width:420px;margin:auto;display:grid}.mz-controls button{text-align:center;color:#304d52;background:#f7f0df;border:1px solid #9aa98a;border-radius:11px;justify-content:center;align-items:center;display:flex;box-shadow:0 3px #89977933}.mz-controls button:active:not(:disabled){box-shadow:none;background:#dae6cf;transform:translateY(2px)}.mz-dir{font-size:29px!important}.mz-up{grid-area:1/2}.mz-left{grid-area:2/1}.mz-down{grid-area:2/2}.mz-right{grid-area:2/3}.mz-hint{grid-area:1/4/3;margin-left:5px;font-size:17px!important}.mz-key-hint{text-align:center;color:#62735e;margin:12px 0 0;font-size:13px;line-height:1.35}.mz-bottom-rule{text-align:center;max-width:850px;margin:22px auto}.mz-result{text-align:center;background:#fffaf0;border:2px solid #9dac88;border-radius:20px;max-width:900px;margin:25px auto;padding:24px}.mz-result>svg{width:300px;max-width:100%;height:auto}.mz-result h1{font:700 46px/1.1 var(--font-caveat);margin:16px 0 26px}.mz-result p{font-size:18px}.mz-scores{flex-wrap:wrap;gap:18px;display:flex}.mz-scores>div{background:#eaf0df;border-radius:14px;flex:1;min-width:180px;padding:18px}.mz-scores h2{font-size:29px}.mz-scores strong{color:#315d80;font-size:38px}.mz-result-actions{flex-wrap:wrap;justify-content:center;gap:14px;margin:25px 0;display:flex}.mz-result-actions>button,.mz-pause button{border:1px solid #8ca184;border-radius:10px;padding:10px 24px}.mz-pause{z-index:1100;background:#263c45a8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.mz-pause>div{text-align:center;background:#fff8e9;border:2px solid #839979;border-radius:21px;max-width:510px;padding:28px}.mz-pause img{width:70px}.mz-pause h2{font:700 39px var(--font-caveat);margin:14px 0}.mz-pause p{font-size:20px}.mz-pause button{margin:6px}.maze-game:fullscreen{background:#faf6e9;max-width:none;height:100dvh;padding:18px 3vw 30px;overflow:auto!important}@media (min-width:1500px){.mz-map-wrap{max-width:630px}.mz-boards.solo{max-width:710px}.mz-controls{grid-template-rows:60px 60px;grid-template-columns:repeat(3,76px) minmax(90px,1fr)}}@media (max-width:1100px){.maze-game .math-toolbar>span{display:none}.mz-board{padding:10px}.mz-controls{grid-template-columns:repeat(3,52px) minmax(68px,1fr)}}@media (max-width:760px){.maze-game{margin-inline:0;padding:18px 10px}.maze-game .math-toolbar{flex-wrap:wrap}.maze-game .math-toolbar>div{justify-content:flex-start;gap:5px}.maze-game .math-toolbar button{padding:8px;font-size:14px}.maze-game .math-setup{grid-template-columns:1fr;gap:24px}.maze-game .math-heading h1{font-size:47px}.maze-game .math-choices button{padding:9px 6px;font-size:16px}.maze-game .math-choices button[aria-pressed=true]{padding:8px 5px}.mz-themes svg{width:33px;height:33px}.mz-boards.duel{grid-template-columns:minmax(0,1fr);gap:22px}.mz-match-head{gap:8px}.mz-match-head h1{font-size:31px}.mz-match-head p{font-size:14px}.mz-timer{padding:7px 9px}.mz-timer strong{font-size:27px}.mz-timer small{font-size:11px}.mz-axi{padding:8px;font-size:15px}.mz-objective{font-size:17px}.mz-result{padding:20px 12px}.mz-result h1{font-size:38px}.mz-board h2{font-size:28px}.mz-controls{grid-template-columns:repeat(3,minmax(42px,1fr)) minmax(75px,1.5fr)}.mz-legend,.mz-key-hint{font-size:12px}.maze-game:fullscreen{padding:12px 10px 25px}}@media (min-width:761px){.maze-game:fullscreen .mz-match-head{margin:10px 0}.maze-game:fullscreen .mz-match-head h1{font-size:34px}.maze-game:fullscreen .mz-axi{margin:8px 0;padding:6px 12px}.maze-game:fullscreen .mz-axi img{width:34px;height:34px}.maze-game:fullscreen .mz-objective{margin:6px 0 10px;font-size:16px}.maze-game:fullscreen .mz-map-wrap{max-width:min(100%,max(250px,100dvh - 600px))}.maze-game:fullscreen .mz-controls{grid-template-rows:50px;grid-template-columns:repeat(4,minmax(44px,1fr)) minmax(80px,1.5fr);max-width:460px}.maze-game:fullscreen .mz-dir,.maze-game:fullscreen .mz-hint{grid-area:auto;margin:0}.maze-game:fullscreen .mz-feedback{min-height:42px;margin:6px 0;padding:6px 10px;font-size:15px}.maze-game:fullscreen .mz-key-hint{margin-top:6px;font-size:12px}.maze-game:fullscreen .mz-bottom-rule{margin:10px auto;font-size:14px}}@media (prefers-reduced-motion:reduce){.maze-game *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.mz-map-wrap{border:1px solid #607b7033;border-radius:18px;overflow:hidden;box-shadow:0 8px 28px #294c5015}.mz-map{background:#edf2e2}.mz-board{border:1px solid #a9bab0;border-radius:22px;box-shadow:0 8px 30px #294c500a}.mz-stop{transition:opacity .3s}.mz-stop.current>circle:first-child{stroke:#dfaa43;stroke-width:3px;fill:#fff2c8}.mz-hint-glow{animation:1.5s ease-in-out infinite mz-glow}.mz-player{filter:drop-shadow(0 2px 2px #183c4528)}.mz-player[data-moving=true] .mz-exhaust{transform-origin:32px 44px;animation:.22s ease-in-out infinite alternate mz-thrust}.mz-player[data-moving=true] .mz-wake{animation:.8s ease-in-out infinite mz-glow}.mz-water{opacity:.45;animation:4s ease-in-out infinite mz-water}.mz-preview>.mz-cover{border-radius:20px;transform:none;box-shadow:0 8px 26px #36514618}@keyframes mz-thrust{to{transform:scaleY(.7)}}@keyframes mz-glow{50%{opacity:.45}}@keyframes mz-water{50%{opacity:.8;transform:translate(3px)}}@media (min-width:900px){.maze-game.mz-single{max-width:none}.mz-single .mz-boards.solo{width:100%;max-width:none;margin:0}.mz-single .mz-board{grid-template-rows:auto auto 1fr auto auto auto;grid-template-columns:minmax(0,1fr) 250px;align-items:start;gap:12px 24px;padding:18px;display:grid}.mz-single .mz-map-wrap{background:#e9efdf;grid-area:1/1/7;place-items:center;width:100%;height:min(900px,100dvh - 220px);min-height:350px;display:grid;max-width:none!important}.mz-single .mz-map{object-fit:contain;width:100%;max-width:100%;height:100%}.mz-single .mz-board>header,.mz-single .mz-progress,.mz-single .mz-legend,.mz-single .mz-feedback,.mz-single .mz-controls,.mz-single .mz-key-hint{grid-column:2;margin:0}.mz-single .mz-board>header{grid-row:1}.mz-single .mz-progress{grid-row:2}.mz-single .mz-legend{grid-row:3;align-self:start;gap:10px;line-height:1.5;display:grid}.mz-single .mz-feedback{background:#edf2e3;grid-row:4;min-height:80px;padding:16px;font-size:18px}.maze-game.mz-single .mz-controls{grid-row:5;grid-template-rows:56px 56px 46px;grid-template-columns:repeat(3,1fr);gap:8px;width:100%;max-width:none}.maze-game.mz-single .mz-up{grid-area:1/2}.maze-game.mz-single .mz-left{grid-area:2/1}.maze-game.mz-single .mz-down{grid-area:2/2}.maze-game.mz-single .mz-right{grid-area:2/3}.maze-game.mz-single .mz-hint{grid-area:3/1/auto/4;margin:0}.mz-single .mz-key-hint{grid-row:6}.mz-single>.mz-axi,.mz-single>.mz-objective,.mz-single>.mz-bottom-rule{display:none}.maze-game.mz-single:fullscreen{height:100dvh;padding:12px 24px;overflow:auto!important}.maze-game.mz-single:fullscreen .mz-map-wrap{height:calc(100dvh - 205px);min-height:300px}.maze-game.mz-single:fullscreen .mz-match-head{margin:8px 0}.maze-game.mz-single:fullscreen .mz-match-head h1{font-size:30px}.maze-game.mz-single:fullscreen .mz-timer{align-items:center;gap:12px;padding:5px 16px;display:flex}.maze-game.mz-single:fullscreen .mz-board{gap:10px 24px;padding:12px}}@media (max-width:899px){.mz-boards.solo{max-width:none}.mz-boards.solo .mz-map-wrap{max-width:none!important}.mz-single>.mz-axi,.mz-single>.mz-objective{display:none}.mz-single .mz-board{padding:8px}.mz-single .mz-match-head{margin:8px 0}.mz-single .mz-legend{display:none}}@media (prefers-reduced-motion:reduce){.maze-game *{transition:none!important;animation:none!important}}.mz-field-mission{display:none}.mz-single .mz-field-mission{background:#edf2e3;border-radius:16px;padding:18px;font-size:18px;display:block}.mz-field-mission img{width:64px;height:64px}.mz-field-mission p{margin:10px 0 0}
