.mz-hub,.mz-play{box-sizing:border-box;height:100%;color:#293f37;font-family:Hama,sans-serif}.maze-view .gb-workspace{display:block!important}.maze-view #goose-rail{display:none!important}.maze-view #surface{height:100%;width:100%}.mz-hub{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:radial-gradient(ellipse at 50% 10%,#fffbed,#e5ecd7);border-radius:16px}.mz-hub h1,.mz-play h2{margin:0}.mz-cards{display:flex;gap:16px;width:min(90%,680px)}.mz-cards button{flex:1;min-width:0;background:#fffaf0;border:2px solid #bcba95;border-radius:20px;overflow:hidden;padding:0 0 18px;box-shadow:0 5px 0 #a4ad87;color:#354e40;font:inherit}.mz-cards b,.mz-cards small{display:block;margin-top:9px}.mz-cards b{font-size:23px}.mz-cover{position:relative;display:block;height:clamp(125px,22vh,205px);overflow:hidden}.mz-cover.defense{background:#bfd6a0 url(../assets/defense-field-v72.webp) center/cover}.mz-cover.maze{background:#344e46}.mz-cover svg{width:100%;height:100%}.mz-cover img{position:absolute;bottom:5%;left:32%;width:36%;height:74%;object-fit:contain}.mz-paper{background:linear-gradient(125deg,#fff2c9,#ecd5a5);color:#564c36;border:1px solid #c5ac77;box-shadow:0 3px 0 #c1a47066;border-radius:4px 12px 7px 10px;padding:12px}.mz-paper.mission{max-width:460px;width:88%;box-sizing:border-box;padding:24px;text-align:center}.mission img{display:block;height:95px;margin:0 auto 10px}.mission small,.mz-play header small{font-size:12px}.mission p{line-height:1.6}.mz-play{display:flex;flex-direction:column;background:#f5f2e3;border:1px solid #c2c6aa;border-radius:15px;overflow:hidden}.mz-play header{display:flex;align-items:center;justify-content:space-between;padding:8px 16px;background:#faf7e8}.mz-play h2{font-size:21px}.mz-play header button,.mz-pad button{border:1px solid #a8b39e;background:#fffcef;color:#385b48;font:inherit;border-radius:12px;min-height:44px;padding:6px 12px}.mz-layout{display:flex;align-items:stretch;justify-content:center;min-height:0;flex:1;gap:0}.mz-mapbox{min-height:0;min-width:0;flex:1;background:#34483e;display:flex;justify-content:center;align-items:center;overflow:hidden}.mz-board{width:100%;height:100%;max-height:100%;touch-action:none}.mz-goose{transition:x .11s ease-out,y .11s ease-out;filter:drop-shadow(0 2px 1px #2a30276b)}.mz-layout aside{width:min(35%,310px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:12px}.mz-layout .mz-paper{display:flex;align-items:center;justify-content:center;gap:9px;min-height:64px;text-align:center;width:100%;box-sizing:border-box}.mz-paper svg{width:50px;height:50px}.mz-paper b,.mz-paper small{display:block}.mz-paper b{font-size:20px}.mz-paper small{font-size:10px}.mz-pad{display:grid;grid-template-columns:repeat(3,50px);grid-template-rows:repeat(2,46px);gap:3px;touch-action:none}.mz-pad button{padding:0;font-size:22px;user-select:none;touch-action:none;box-shadow:0 2px 0 #adb894}.mz-pad button:active{background:#d9e8c8;transform:translateY(2px)}.mz-pad [data-dir=up]{grid-column:2}.mz-pad [data-dir=left]{grid-column:1}.mz-layout p{margin:0;font-size:13px;text-align:center;min-height:2.5em}#mz-slots{font-size:22px;letter-spacing:.06em;color:#67512b;font-weight:bold}@media(max-width:640px){.mz-layout{flex-direction:column}.mz-layout aside{display:grid;grid-template-columns:1fr 151px;grid-template-rows:auto auto auto;gap:3px 8px;width:100%;box-sizing:border-box;padding:6px 8px}.mz-layout .mz-paper{grid-column:1;grid-row:1;min-height:42px;padding:3px;font-size:12px}.mz-paper svg{width:35px;height:35px}.mz-paper b{font-size:15px}.mz-pad{grid-column:2;grid-row:1/4;grid-template-columns:repeat(3,48px);grid-template-rows:repeat(2,48px)}#mz-slots{grid-column:1;text-align:center;font-size:16px}.mz-layout p{grid-column:1;font-size:11px;min-height:1.4em}.mz-cards{gap:8px;width:95%}.mz-cards b{font-size:18px}.mz-cards small{font-size:11px}.mz-play header{padding:5px 10px}.mz-play h2{font-size:17px}}

.mz-v2 .mz-mapbox{position:relative;background:linear-gradient(125deg,#e5f0db,#f3f5e5);isolation:isolate}
.mz-v2 .mz-board{max-width:720px}
.mz-v2 header{gap:10px}.mz-v2 header div{margin-right:auto}
#mz-gp{font-size:14px;font-weight:bold;border-radius:18px;background:#fff0a8;color:#74521d;padding:5px 9px}
#mz-modal:not(:empty){position:absolute;inset:0;z-index:2;display:grid;place-items:center;background:#465e4d42;padding:12px}
.mz-note{width:min(90%,340px);box-sizing:border-box;text-align:center;background:linear-gradient(140deg,#fff6d7,#efddae);border:1px solid #bea577;border-radius:7px 14px 8px 15px;padding:clamp(12px,3vh,24px);box-shadow:0 7px 26px #45513d38;color:#514631}
.mz-note small{color:#80643a;letter-spacing:.14em}.mz-note h2{margin:7px 0;font-size:22px}.mz-note p{font:600 clamp(16px,2.4vh,22px)/1.4 Hama,sans-serif;min-height:0;margin:8px 0 14px}
.mz-v2 .mz-pad button{background:#fcffed;border:2px solid #9ba988;box-shadow:0 4px 0 #879a79;color:#274e3d}
.mz-v2 .mz-pad button:active{background:#cfe4b8}
.mz-v2 aside{background:#f8f7e9}.mz-v2 #mz-clue{min-height:44px}
@media(max-width:760px),(pointer:coarse) and (orientation:portrait){
 .mz-v2 .mz-layout{flex-direction:column}.mz-v2 .mz-layout aside{flex:none;display:grid;grid-template-columns:minmax(0,1fr) 158px;grid-template-rows:auto auto auto;align-items:center;gap:3px 8px;width:100%;box-sizing:border-box;padding:8px}
 .mz-v2 #mz-clue{grid-column:1;grid-row:1;padding:4px;min-height:36px;font-size:13px}.mz-v2 #mz-slots{grid-column:1;grid-row:2;text-align:center;font-size:17px}.mz-v2 #mz-msg{grid-column:1;grid-row:3;font-size:11px;min-height:1em}
 .mz-v2 .mz-pad{grid-column:2;grid-row:1/4;grid-template-columns:repeat(3,50px);grid-template-rows:repeat(2,48px);gap:3px}
}
.mz-seal{display:block;width:60px;height:40px;margin:0 auto 4px}

.mz-hints{display:grid;grid-template-columns:54px 1fr;align-items:center;gap:12px;text-align:left}
.mz-hints .mz-drawing{width:54px;height:62px;object-fit:contain;display:block}
.mz-hints ul{margin:0;padding-left:17px;list-style:disc;font:500 15px/1.55 Hama,sans-serif;color:#443c30}
.mz-hints li::marker{color:#9c743d}
.mz-v2 #mz-clue{border:1px solid #ceb381;display:block;padding:12px}
.mz-note{animation:mz-paper-in .38s ease-out both}
.mz-note .mz-hints{margin:15px 0 18px}.mz-note h2{font-size:23px}
.mz-v2 .mz-mapbox{animation:mz-enter .65s ease-out both}
.mz-mapbox.mz-depart{animation:mz-leave .8s ease-in forwards}
.mz-spin{transform-box:fill-box;transform-origin:center;animation:mz-spin 1.65s ease-in-out infinite;filter:drop-shadow(0 0 2px #ffe393)}
#mz-pit,#mz-startle{visibility:hidden}
.mz-falling #mz-pit,.mz-falling #mz-startle{visibility:visible}
.mz-falling #mz-pit .mz-left,.mz-falling #mz-pit .mz-right{transform-box:fill-box;animation:mz-trap .28s .13s ease-in forwards;transform-origin:left}
.mz-falling #mz-pit .mz-right{transform-origin:right}
.mz-falling #mz-walker{transform-box:fill-box;transform-origin:50% 82%;animation:mz-plunge 1.17s both}
.mz-falling #mz-startle{animation:mz-flash .68s both}
.mz-falling .mz-shadow{opacity:0}
@keyframes mz-trap{to{transform:scaleX(.04);opacity:.3}}
@keyframes mz-flash{0%{opacity:0}12%,72%{opacity:1}100%{opacity:0}}
@keyframes mz-plunge{0%{transform:translateY(0)}16%{transform:translateY(-7px) rotate(-9deg)}32%{transform:translateY(-7px) rotate(7deg)}46%{transform:translateY(-3px) rotate(-5deg)}77%{transform:translateY(2px) rotate(14deg) scale(.55);opacity:1}92%,100%{transform:translateY(5px) rotate(23deg) scale(.08);opacity:0}}
@keyframes mz-spin{0%,100%{transform:translateY(0) scaleX(1)}25%{transform:translateY(-2px) scaleX(.16)}50%{transform:translateY(-3px) scaleX(1)}75%{transform:translateY(-2px) scaleX(.16)}}
@keyframes mz-paper-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes mz-enter{from{opacity:.1}to{opacity:1}}
@keyframes mz-leave{65%{opacity:1}to{opacity:.05}}
@media(max-width:760px),(pointer:coarse) and (orientation:portrait){
 .mz-v2 .mz-layout aside{grid-template-columns:151px minmax(0,1fr);gap:3px 6px;padding:5px 7px}
 .mz-v2 .mz-pad{grid-column:1;grid-row:1/4;grid-template-columns:repeat(3,47px);grid-template-rows:repeat(2,45px)}
 .mz-v2 #mz-clue{grid-column:2;grid-row:1;padding:4px 5px}
 .mz-v2 #mz-slots,.mz-v2 #mz-msg{grid-column:2}
 #mz-clue .mz-hints{grid-template-columns:30px auto;gap:3px}
 #mz-clue .mz-drawing{width:30px;height:37px}
 #mz-clue ul{padding-left:11px;font-size:clamp(10px,2.85vw,14px);line-height:1.28}
}
@media(prefers-reduced-motion:reduce){.mz-spin,.mz-note,.mz-v2 .mz-mapbox{animation:none}.mz-falling #mz-walker{animation-duration:.4s}}
#mz-shocked,#mz-cracks{display:none}
.mz-falling #mz-facing{display:none}.mz-falling #mz-shocked{display:block}
.mz-creaking #mz-cracks{display:block;stroke-dasharray:50;animation:mz-crack 1s both}
@keyframes mz-crack{0%,52%{stroke-dashoffset:50;opacity:0}100%{stroke-dashoffset:0;opacity:1}}
.mz-taken{animation:mz-pick .36s forwards;transform-box:fill-box;transform-origin:center}
@keyframes mz-pick{to{opacity:0}}
#mz-switch{animation:mz-beacon 1.4s ease-in-out infinite alternate}
@keyframes mz-beacon{to{filter:drop-shadow(0 0 4px #fff29a);opacity:.74}}
#mz-switch.pressed{animation:none;transform:translateY(4px)}
.mz-v2 #mz-clue{padding:0;background:transparent;border:0;box-shadow:none}
#mz-clue:empty{visibility:hidden}.reserved{visibility:hidden}
.mz-poster{position:relative;box-sizing:border-box;color:#563a26;background:radial-gradient(ellipse at 4% 2%,#b8894c70,transparent 36%),radial-gradient(ellipse at 93% 91%,#b48a5399,transparent 35%),repeating-linear-gradient(3deg,#ffffff08 0 2px,#75491408 3px 4px),#ebd39f;border:3px double #ac8758;outline:1px solid #ccad76;outline-offset:-8px;padding:15px 18px 20px;border-radius:8px 3px 14px 3px;box-shadow:0 4px 9px #46332739;text-align:center}
.mz-poster small{letter-spacing:.21em;font:700 9px Georgia,serif;color:#80603a}
.mz-poster h2{margin:5px 0 10px;font-size:20px}
.mz-poster .mz-hints{text-align:left}.mz-poster .mz-drawing{mix-blend-mode:multiply}
.mz-poster i{position:absolute;bottom:0;right:12px;font-size:20px;color:#946c44}
#mz-modal .mz-poster{width:min(72vw,290px)}
#mz-modal:has(>.mz-poster){background:transparent;pointer-events:none}
@media(max-width:760px),(pointer:coarse) and (orientation:portrait){
 #mz-clue .mz-poster{padding:7px 7px 8px;outline-offset:-4px}
 #mz-clue .mz-poster h2{font-size:12px;margin:1px 0 3px}
 #mz-clue .mz-poster small,#mz-clue .mz-poster i{display:none}
}
#mz-nightfall{opacity:0;transition:opacity 1s;pointer-events:none}.mz-dark #mz-nightfall{opacity:1}
.mz-glow{animation:mz-lantern 1s ease-in-out infinite alternate}.mz-wind{animation:mz-breeze 1.3s ease-in-out infinite alternate}
#mz-fx{position:absolute;inset:0;pointer-events:none;overflow:hidden;display:grid;place-items:center}
.mz-burst{position:absolute;left:50%;top:48%;font:bold clamp(18px,3vw,33px) Hama,sans-serif;text-shadow:0 2px 0 #754913,0 0 5px #fff;color:#ffe17a;animation:mz-burst .85s ease-out both}
.mz-burst::before,.mz-burst::after{content:'✦';position:absolute;font-size:.56em;left:-.9em;top:0}.mz-burst::after{left:auto;right:-1em;top:.6em}
.mz-burst.rune{color:#d5ffef;text-shadow:0 2px 0 #42675f}.mz-burst.wind{color:#d5edff}.mz-burst.gateway{font-size:55px}
.mz-splinter{transform-box:fill-box;transform-origin:center;animation:mz-break .46s ease-in forwards}
.mz-unlock #mz-iron-gate path:last-child{animation:mz-bars .62s ease-in forwards}
@keyframes mz-bars{to{transform:translateY(-25px);opacity:0}}
@keyframes mz-break{25%{transform:rotate(-8deg)}60%{transform:translateY(-4px) rotate(14deg)}to{transform:translateY(10px) rotate(-23deg) scale(.6);opacity:0}}
@keyframes mz-burst{0%{transform:translate(-50%,0) scale(.6);opacity:0}17%{opacity:1;transform:translate(-50%,-12px) scale(1.08)}to{transform:translate(-50%,-50px);opacity:0}}
@keyframes mz-lantern{to{opacity:.8;transform:scale(1.18)}}@keyframes mz-breeze{to{transform:translateX(3px);opacity:.67}}
@media(prefers-reduced-motion:reduce){.mz-glow,.mz-wind{animation:none}}
.mz-look,.mz-cast{display:none}
[data-look="rear"] .mz-look-rear,[data-look="profile"] .mz-look-profile,[data-look="front"] .mz-look-front,.mz-casting .mz-cast{display:inline}
.mz-casting #mz-walker{visibility:hidden}
#mz-strike path{stroke-dasharray:100;animation:mz-zap .9s both}
@keyframes mz-zap{0%{stroke-dashoffset:100;opacity:.2}54%{stroke-dashoffset:0;opacity:1}80%{opacity:.9}to{stroke-dashoffset:0;opacity:0}}
.mz-lock{position:relative;box-sizing:border-box;min-width:min(82%,285px);padding:18px;background:linear-gradient(145deg,#334b53,#182c37);border:4px double #e3c17e;border-radius:18px;box-shadow:0 9px 32px #172c3b60;text-align:center;color:#ffe6aa;overflow:hidden}
.mz-lock-art{display:inline-grid;place-items:center;background:#fcf4d8;border:2px solid #c7a86e;border-radius:50%;width:74px;height:74px}.mz-lock-art .mz-drawing{width:48px;height:54px;object-fit:contain;mix-blend-mode:multiply}
.mz-password{display:flex;gap:5px;justify-content:center;margin:14px 0 8px}.mz-password b{display:grid;place-items:center;width:34px;height:40px;background:#10202a;border:1px solid #768880;border-radius:6px;color:#9ba59c;font-size:24px}.mz-password .lit{color:#ffe2a0;text-shadow:0 0 8px #faca6f}
.mz-lock.accepted{box-shadow:0 0 30px #ffe598}.mz-lock.accepted span{color:#fff1ac}
#mz-modal.mz-door-open{animation:mz-lock-open .95s ease-in forwards}
@keyframes mz-lock-open{25%{background:#fff3c89c}to{opacity:0;transform:scale(1.12)}}
#mz-actions{display:flex;justify-content:center;gap:6px;flex-wrap:wrap}
#mz-actions:empty{display:none}
#mz-actions button{background:#ffe6a1;border:2px solid #9c7847;border-radius:50%;width:66px;height:66px;color:#4d3921;font:600 12px Hama,sans-serif;box-shadow:0 3px 0 #a3814e;touch-action:manipulation}
#mz-actions button b{display:block;font-size:23px}
#mz-actions button:disabled{filter:grayscale(.8);opacity:.54;box-shadow:none}
#mz-actions button:not(:disabled){outline:3px solid #ffdd7990}
.mz-flames{transform-box:fill-box;transform-origin:center bottom;animation:mz-flicker .38s ease-in-out infinite alternate}
@keyframes mz-flicker{to{transform:scale(.91,1.14) rotate(4deg)}}

.mz-planks{transform:scaleY(0);transform-origin:center;transition:transform .65s steps(4)}
.built .mz-planks{transform:scaleY(1)}
.mz-handle{transition:transform .28s;transform-origin:0 6px}.pulled .mz-handle{transform:rotate(53deg)}
.mz-nozzle{transform:translate(11px,2px) rotate(55deg) scale(.66)}
.mz-foam{fill:#efffff;stroke:#b6e8ea;animation:mz-jet .4s linear both}
@keyframes mz-jet{from{transform:translateX(13px) scale(.4)}to{transform:translateX(var(--reach,38px)) scale(1.35);opacity:0}}
.mz-swing{animation:mz-swing .5s both}
@keyframes mz-swing{0%{transform:rotate(-80deg) translate(16px,-8px)}55%{transform:rotate(-94deg) translate(19px,-8px)}75%,100%{transform:rotate(18deg) translate(24px,-4px)}}
.shattered{animation:mz-break .42s .32s both;transform-box:fill-box;transform-origin:center}
.quenched{animation:mz-quench .65s .12s forwards;transform-box:fill-box;transform-origin:center bottom}
@keyframes mz-quench{to{transform:scale(1.12,.12);opacity:0}}
.mz-fracture{stroke-dasharray:45;animation:mz-crack .18s both}.mz-chip{animation:mz-chip .43s ease-in forwards}
@keyframes mz-chip{to{transform:translate(3px,11px) rotate(28deg);opacity:0}}
.mz-creaking #mz-cracks{display:none}
@media(max-width:760px),(pointer:coarse){
 .mz-v2 .mz-layout{display:flex;flex-direction:column;min-height:0}
 .mz-v2 .mz-mapbox{flex:1;min-height:0;border-bottom:3px solid #789279}
 .mz-v2 .mz-board{display:block;height:100%;width:100%}
 .mz-v2 .mz-layout aside{--ring:clamp(110px,29vw,138px);width:100%;flex:none;display:grid;grid-template-areas:"hint hint" "slots slots" "pad actions" "msg msg";grid-template-columns:auto 1fr;grid-template-rows:auto auto auto auto;gap:2px 10px;padding:4px max(16px,env(safe-area-inset-right)) 8px max(18px,env(safe-area-inset-left));background:#f7f4e4}
 .mz-v2 .mz-layout #mz-clue{grid-area:hint;width:min(100%,265px);min-height:0;justify-self:center;padding:0}
 .mz-v2 #mz-clue:empty{display:none}
 .mz-v2 #mz-clue .mz-poster{padding:3px 8px}.mz-v2 #mz-clue .mz-poster :is(h2,small,i){display:none}
 .mz-v2 #mz-clue .mz-hints{display:flex;align-items:center;justify-content:center;gap:10px}.mz-v2 #mz-clue .mz-drawing{width:43px;height:43px}.mz-v2 #mz-clue ul{font-size:11px}
 .mz-v2 .mz-layout #mz-actions{grid-area:actions;justify-self:end;justify-content:flex-end}
 .mz-v2 .mz-layout #mz-slots{grid-area:slots;text-align:center;font-size:16px}
 .mz-v2 .mz-layout #mz-msg{grid-area:msg;text-align:center;min-height:18px;font-size:12px}
 .mz-v2 .mz-layout .mz-pad{pointer-events:auto;position:relative;grid-area:pad;justify-self:start;height:var(--ring);width:var(--ring);display:block;border:3px solid #718a72;border-radius:50%;box-sizing:border-box;background:radial-gradient(circle,#d6e4c4 0 20%,#eff3dc 21% 57%,#d7e4c5 88%);box-shadow:0 4px 0 #667b67,0 6px 12px #41524132;touch-action:none}
 .mz-v2 .mz-layout .mz-pad button{position:absolute;display:grid;place-items:center;font-size:22px;min-height:0;height:33%;width:33%;background:transparent;border:0;box-shadow:none;color:#345843}
 .mz-v2 .mz-pad [data-dir=up]{left:33.5%;top:0}.mz-v2 .mz-pad [data-dir=down]{left:33.5%;bottom:0}.mz-v2 .mz-pad [data-dir=left]{left:0;top:33.5%}.mz-v2 .mz-pad [data-dir=right]{right:0;top:33.5%}
 .mz-v2 .mz-layout .mz-pad button{touch-action:none;padding:0}
}
.mz-v2,.mz-v2 .mz-layout,.mz-v2 .mz-mapbox{max-width:100%;box-sizing:border-box;min-width:0}
.mz-v2 .mz-mapbox{background:#e6efdb}
.mz-v2 .mz-board{display:block;min-width:0;max-width:100%;width:100%;height:100%}
.mz-hud{position:absolute;top:5px;left:50%;transform:translateX(-50%);z-index:1;width:min(88%,270px);display:flex;flex-direction:column;align-items:center;gap:3px;pointer-events:none}
.mz-v2 .mz-layout .mz-hud #mz-clue{width:100%;min-height:0;padding:0}
.mz-hud #mz-clue:empty{display:none}
.mz-hud #mz-clue .mz-poster{padding:4px 10px}.mz-hud #mz-clue :is(h2,small,i){display:none}
.mz-hud #mz-clue .mz-hints{display:flex;gap:10px;align-items:center;justify-content:center}
.mz-hud #mz-clue .mz-drawing{width:40px;height:42px}
.mz-hud #mz-clue ul{font-size:12px;line-height:1.25}
.mz-hud #mz-slots{background:#fff9dfed;border:1px solid #c7b582;border-radius:12px;padding:2px 12px}
.mz-v2 #mz-actions button{width:clamp(72px,20vw,84px);height:clamp(72px,20vw,84px);font-size:14px}
.mz-v2 #mz-actions button b{font-size:27px}
.mz-v2 .mz-layout .mz-pad{position:relative;display:block;width:clamp(120px,32vw,144px);height:clamp(120px,32vw,144px);border:2px solid #aaa6a0;border-radius:16px;background:linear-gradient(145deg,#dbd8cf,#bcbab5);box-shadow:inset 0 2px #eeeae1,0 3px #94928c;touch-action:none;box-sizing:border-box}
.mz-pad::before{content:"";position:absolute;inset:32%;background:#373c43;border-radius:3px}
.mz-v2 .mz-layout .mz-pad button{position:absolute;display:grid;place-items:center;width:35%;height:35%;min-height:0;border:1px solid #282c31;border-radius:6px;color:#e5e2d2;background:linear-gradient(#53585d,#363c42);box-shadow:inset 0 2px #686d72,0 2px #20272b;font-size:19px;padding:0}
.mz-v2 .mz-pad [data-dir=up]{left:32.5%;top:0}.mz-v2 .mz-pad [data-dir=down]{left:32.5%;bottom:0}.mz-v2 .mz-pad [data-dir=left]{left:0;top:32.5%}.mz-v2 .mz-pad [data-dir=right]{right:0;top:32.5%}
.mz-v2 .mz-pad button:active{background:#282d32;box-shadow:inset 0 2px #1a1f22}
.mz-casting .mz-cast{display:inline;filter:drop-shadow(0 0 3px #ffde65)}.mz-casting #mz-walker{visibility:hidden}
.mz-hit #mz-facing,.mz-burned #mz-facing{display:none}.mz-hit #mz-shocked,.mz-burned #mz-shocked{display:block}
.mz-hit #mz-walker{animation:mz-bump .9s both;transform-origin:176px 161px}
.mz-burned #mz-walker{animation:mz-scorch 1.05s both}
@keyframes mz-bump{25%{transform:translateY(-8px) rotate(-16deg)}60%{transform:rotate(14deg)}to{opacity:0}}
@keyframes mz-scorch{20%,55%{filter:drop-shadow(0 -5px 3px #ff811e) brightness(1.25)}80%{filter:brightness(.45)}to{opacity:0}}
@media(max-width:760px),(pointer:coarse){
.mz-v2 .mz-layout aside{grid-template-areas:"pad actions" "msg msg";grid-template-rows:auto auto}
}

.mz-scorch-flame{visibility:hidden}.mz-burned .mz-scorch-flame{visibility:visible;animation:mz-quench .4s .7s forwards}
#mz-modal:not(:empty){z-index:4}
.mz-v2 .mz-mapbox{animation:none}
.mz-v2 #mz-actions button[aria-label="상호작용 대기"]{opacity:1;background:radial-gradient(circle at 40% 30%,#f5e8c5,#e1c99b);color:#827358;border:3px double #a98d61;box-shadow:inset 0 2px #fff6df,0 4px #a89069;filter:none}
#mz-object-chest .mz-lid{transform-origin:0 -3px;transition:transform .26s ease-out}
#mz-object-chest.opened .mz-lid{transform:translateY(-4px) scaleY(.38)}
#mz-chest-fx g{animation:mz-treasure .82s var(--delay) ease-out both}
@keyframes mz-treasure{0%{opacity:0;transform:translate(0,-4px) scale(.4)}18%{opacity:1}65%{transform:translate(var(--dx),-35px) scale(1.15);opacity:1}100%{transform:translate(var(--dx),-13px) scale(.65);opacity:0}}
.mz-lock{background:radial-gradient(ellipse at 50% 0%,#417479,#183440 70%);border:4px double #dfc398;outline:2px solid #2e5258;box-shadow:inset 0 0 0 4px #1c3942, inset 0 0 0 5px #78968c,0 10px 26px #0c263966}
.mz-lock-art{outline:2px dashed #c6b379;outline-offset:4px}
.mz-password b{border-color:#60827c;background:#19353e;color:#a4b6a7}
.mz-glint{transform-box:fill-box;transform-origin:center;animation:mz-twinkle 1.6s ease-in-out infinite}.opened .mz-glint{display:none}
@keyframes mz-twinkle{0%,100%{opacity:.25;transform:scale(.65)}55%{opacity:1;transform:scale(1.15)}}
.mz-speed #mz-walker{filter:drop-shadow(-3px 1px 2px #ffcf54)}
.mz-count{display:grid;place-items:center;padding:16px 36px;color:#ffeaac;background:#473453ed;border:3px double #efd589;border-radius:24px;box-shadow:0 7px 23px #33264066}.mz-count b{font:700 23px Hama,sans-serif}.mz-count strong{font:700 64px/1.1 Hama,sans-serif;animation:mz-count-pop .35s ease-out}
@keyframes mz-count-pop{from{transform:scale(1.3)}}
.mz-reunion{box-sizing:border-box;width:100%;height:100%;padding:clamp(8px,2vh,22px) 12px;display:flex;align-items:center;flex-direction:column;justify-content:safe center;overflow:auto;text-align:center;color:#344d48;background:radial-gradient(ellipse at 50% 23%,#fff9d7 10%,#e8efce 55%,#c1e2d8);font-family:Hama,sans-serif;border-radius:15px}
.mz-reunion h1{font-size:clamp(23px,4vw,35px);margin:0}.mz-reunion p{background:#fff1b7;border-radius:99px;padding:5px 16px;margin:5px}.mz-reunion h2{font-size:19px;margin:12px 0 7px}
.mz-toss{width:min(100%,420px);height:clamp(110px,24vh,190px);position:relative;isolation:isolate;flex:none}
.mz-airgoose{position:absolute;height:41%;bottom:14%;left:50%;z-index:1;transform:translateX(-50%);animation:mz-hoist 1.35s ease-in-out 3 both}
.mz-friends{position:absolute;bottom:0;width:100%;display:flex;justify-content:center;align-items:end}.mz-friend{width:16%;height:clamp(44px,8vh,76px);object-fit:contain;animation:mz-lift 1.35s ease-in-out 3}
@keyframes mz-hoist{0%,100%{transform:translate(-50%,0) rotate(0)}48%{transform:translate(-50%,-115%) rotate(-7deg)}}
@keyframes mz-lift{0%,100%{transform:translateY(0)}14%{transform:translateY(3px) scaleY(.93)}29%{transform:translateY(-7px) rotate(3deg)}}
.mz-confetti{position:absolute;inset:0;overflow:hidden}.mz-confetti i{position:absolute;left:calc(var(--i)*5.7%);width:5px;height:9px;background:#f7b849;animation:mz-fete 1.6s calc(var(--i)*-.11s) 3 both}.mz-confetti i:nth-child(3n){background:#6fbaaa}.mz-confetti i:nth-child(3n+1){background:#ee967e}
@keyframes mz-fete{from{top:-5%;transform:rotate(0)}to{top:98%;opacity:0;transform:rotate(160deg)}}
.mz-recap{display:flex;justify-content:center;gap:4px;width:min(100%,520px)}.mz-recap button{flex:1;min-width:0;padding:6px 1px;border:1px solid #d1bf91;border-radius:11px;background:#fffae7;color:#385149;animation:mz-card-in .3s calc(.25s + var(--i)*.10s) both}.mz-recap img{width:100%;height:clamp(34px,6vh,56px);object-fit:contain}.mz-recap b{display:block;font:600 clamp(12px,3.2vw,17px) Hama,sans-serif}.mz-reunion footer{margin-top:13px}
@keyframes mz-card-in{from{opacity:0;transform:translateY(8px)}}
@media(prefers-reduced-motion:reduce){.mz-glint,.mz-reunion *{animation:none!important}}

.mz-top-clues{position:absolute;inset:6px 6px auto;z-index:2;pointer-events:none}
.mz-top-clues #mz-gp{position:absolute;left:50%;top:0;transform:translateX(-50%);display:flex;align-items:center;gap:4px;padding:2px 7px 2px 2px;font:700 12px/1.2 Hama,sans-serif;color:#62491d;border:1px solid #b99a53;background:#fff5cde8;box-shadow:0 2px 3px #5d4d3026}
.mz-top-clues #mz-gp::before{content:"";width:21px;height:21px;border-radius:50%;box-shadow:inset 0 0 0 1px #b37b25;background:#ffda64 url(../assets/crisp-coin-face.webp) center/85% no-repeat}
#mz-clue-picture,#mz-clue-notes{position:absolute;top:2px;box-sizing:border-box;border:1px solid #c1a174;border-radius:5px;background:linear-gradient(145deg,#fff3d5f0,#efd6a6ed);box-shadow:0 2px 4px #51443226;transform-origin:top left}
#mz-clue-picture:empty,#mz-clue-notes:empty{display:none}
#mz-clue-picture{left:1%;padding:3px;width:clamp(36px,11%,48px);aspect-ratio:1}
#mz-clue-picture img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
#mz-clue-notes{right:1%;width:clamp(100px,35%,162px);padding:4px 5px}
#mz-clue-notes ul{margin:0;padding-left:11px;font:500 clamp(10px,2.65vw,12px)/1.25 Hama,sans-serif;color:#483826}
.mz-mapbox>#mz-slots{position:absolute;bottom:5px;left:50%;transform:translateX(-50%);z-index:1;background:#fffae8e8;border:1px solid #c7b582;border-radius:12px;padding:2px 10px;pointer-events:none;white-space:nowrap}
.mz-mapbox>#mz-slots:empty{display:none}
.mz-read-letter rect{fill:#d7e9cc;stroke:#598060}.mz-trap-letter rect{fill:#f8c49e;stroke:#a75736}
#mz-switch.pressed{transform:rotate(-3deg)}
.mz-v2 .mz-layout .mz-pad{background:linear-gradient(150deg,#fff2a6,#ffd650 75%);border-color:#d19b2c;box-shadow:inset 0 2px #fff8c9,0 3px #ac7e2c}
.mz-pad::before{background:#c9931d}
.mz-v2 .mz-layout .mz-pad button{color:#674a19;background:linear-gradient(#ffdf53,#ffcc28);border-color:#c59426;box-shadow:inset 0 2px #fff19a,0 2px #a67a21}
.mz-v2 .mz-layout .mz-pad button:active{background:#f2bb27}
#mz-actions button:disabled img{width:85%;height:85%;object-fit:contain;opacity:.76}
#mz-fly{display:none}.mz-jumping #mz-walker{visibility:hidden}.mz-jumping #mz-fly{display:inline;filter:drop-shadow(0 2px 2px #66574444)}
.mz-fortune{width:min(100%,430px);height:clamp(150px,27vh,245px);position:relative;display:grid;place-items:center;isolation:isolate}
.mz-rich-goose{height:99%;width:auto;filter:drop-shadow(0 3px 3px #816a383b)}
.mz-chain,.mz-shades{transform-box:fill-box;transform-origin:center;animation:mz-dress .6s .35s backwards}.mz-shades{animation-delay:1.03s}
@keyframes mz-dress{0%{transform:translateY(-40px) scale(1.12);opacity:0}80%{transform:translateY(2px)}}
.mz-fortune i{position:absolute;left:18%;top:32%;width:7px;aspect-ratio:1;border-radius:50%;color:#d18e38;box-shadow:0 -24px,17px -17px,24px 0,17px 17px,0 24px,-17px 17px,-24px 0,-17px -17px;animation:mz-boom 1.2s .1s 3 both}.mz-fortune i:nth-child(2){left:80%;top:20%;color:#4ba9a1;animation-delay:.48s}.mz-fortune i:nth-child(3){left:71%;top:65%;color:#e79577;animation-delay:.84s}
@keyframes mz-boom{0%{opacity:0;transform:translateY(12px) scale(.05)}16%{opacity:1}to{opacity:0;transform:translateY(0) scale(1.45)}}
@media(prefers-reduced-motion:reduce){.mz-fortune *{animation:none!important}}
#mz-seconds{position:absolute;bottom:7px;right:8px;padding:2px 6px;border-radius:9px;background:#fff1d4d9;color:#73542b;font:600 11px Hama,sans-serif}#mz-seconds:empty{display:none}
#mz-riding-raft{display:none}.mz-sailing #mz-riding-raft{display:inline}
.mz-fuse{animation:mz-fuse .45s infinite alternate}.mz-blast{animation:mz-quake .48s both}
@keyframes mz-fuse{to{filter:drop-shadow(0 0 5px #f24023) brightness(1.35)}}@keyframes mz-quake{20%,60%{transform:translateX(-3px);filter:brightness(1.65)}40%,80%{transform:translateX(3px)}}
.mz-loot{position:absolute;bottom:2%;width:92%;max-height:40%}
.mz-bonus-board .mz-spin{filter:none}
.mz-sailing #mz-object-raft,.mz-sailing #mz-object-dock{opacity:0}
.mz-faint #mz-facing,.mz-faint-stars{display:none}
.mz-faint #mz-shocked,.mz-faint .mz-faint-stars{display:block}
.mz-faint #mz-walker{transform-origin:176px 166px;animation:mz-faint 1.15s both}
@keyframes mz-faint{0%{transform:translateY(0)}20%{transform:translateY(-7px) rotate(-9deg)}60%,100%{transform:translateY(1px) rotate(78deg)}}
.mz-mapbox>#mz-slots{z-index:4;display:flex;gap:4px;bottom:auto;top:36px;line-height:1.1}
.mz-letter-slot{display:inline-grid;place-items:center;width:13px;height:18px;border-bottom:2px solid #765b36}
#mz-trail{display:none}.mz-speed #mz-trail{display:block}
.mz-fuse .mz-ember{animation:mz-ember .19s alternate infinite}
@keyframes mz-ember{to{opacity:.4}}
#mz-seconds:not(:empty){z-index:4;font-size:22px;color:#a03d25}

.mz-lit-bomb .mz-wick{stroke-dasharray:1 1;animation:mz-wick-burn 3s linear forwards}
.mz-lit-bomb .mz-ember{animation:mz-wick-tip 3s linear forwards}
@keyframes mz-wick-burn{to{stroke-dashoffset:1}}
@keyframes mz-wick-tip{to{transform:translate(-6px,9px)}}
.mz-stage-hud{position:absolute;left:50%;top:0;transform:translateX(-50%);display:flex;align-items:center;gap:3px}
.mz-stage{font:700 10px Hama,sans-serif;color:#51482e;background:#fff5d8;border:1px solid #c8af78;border-radius:9px;padding:3px 5px}
.mz-stage-hud #mz-gp{position:static;transform:none;white-space:nowrap}
.mz-trap-letter rect{fill:#da4944;stroke:#8b2928}.mz-trap-letter text{fill:#fff}
#mz-chest-fx g{animation:mz-coin-spray 1.15s var(--delay) both}
@keyframes mz-coin-spray{0%{opacity:0;transform:translateY(-6px) scale(.5)}12%{opacity:1}49%{transform:translate(var(--dx),-64px) scale(1.25);animation-timing-function:ease-in}85%{opacity:1;transform:translate(var(--dx),-7px) scale(.9)}100%{opacity:0;transform:translate(var(--dx),-15px) scale(.6)}}
.mz-rich-goose{overflow:visible;position:relative;z-index:1}
.mz-fortune{flex:none}
.mz-fortune>.mz-rich-goose{position:absolute;inset:0;width:100%;height:100%;max-height:100%;overflow:hidden}

#mz-actions [data-tool="boost"]{touch-action:none}

.mz-blast-zone rect{fill:#ff463b;stroke:#b6302e;stroke-width:1.5;animation:mz-danger-pulse .55s ease-in-out infinite alternate}
@keyframes mz-danger-pulse{from{fill-opacity:.18}to{fill-opacity:.69}}
@media(prefers-reduced-motion:reduce){.mz-blast-zone rect{animation:none;fill-opacity:.4}}

#mz-object-booster{animation:mz-boost-beacon 1s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
@keyframes mz-boost-beacon{0%,100%{opacity:.72;transform:scale(.95)}55%{opacity:1;transform:scale(1.12);filter:drop-shadow(0 0 3px #ffdb56)}}
.mz-sticky .mz-shadow{fill:#69b63a;opacity:.8}
@media(prefers-reduced-motion:reduce){#mz-object-booster{animation:none;filter:drop-shadow(0 0 2px #ffd84f)}}

/* 30% larger action circles; labels wrap within the inscribed safe area. */
.mz-v2 #mz-actions button{width:clamp(93.6px,26vw,109.2px);height:clamp(93.6px,26vw,109.2px);flex-shrink:0;box-sizing:border-box;padding:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;line-height:1.15;overflow:hidden}
.mz-v2 #mz-actions button b{font-size:30px;line-height:1}
.mz-tool-label{display:block;width:100%;max-width:78px;text-align:center;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;font-size:13px;line-height:1.2}
.mz-v2 #mz-actions button[aria-label="상호작용 대기"]{padding:5px}
