*{box-sizing:border-box}html,body,#mazi-game{width:100%;height:100%;margin:0;overflow:hidden;background:#01040d;color:#fff;font-family:Inter,Arial,sans-serif}button{font:inherit;color:inherit;cursor:pointer}.mx{--gold:#ffd879;--cyan:#61e8d0;position:relative;width:100%;height:100%;min-height:560px;overflow:hidden;background:#01040d}.mx-bg{position:absolute;inset:-5%;background:linear-gradient(110deg,#01040df4 0 20%,#021128a8 55%,#01040de8),url('/mazi-max/compound.webp') center/cover;filter:hue-rotate(155deg) saturate(.9) brightness(.48) contrast(1.3);animation:worldDrift 16s ease-in-out infinite alternate}.mx-atmosphere{position:absolute;inset:0;background:radial-gradient(circle at 72% 40%,#17d8c022,transparent 22%),radial-gradient(circle at 13% 62%,#7d54ff26,transparent 30%),linear-gradient(180deg,#02061722,#01040de8);animation:atmosphere 4s ease-in-out infinite alternate}.mx-glyphs{position:absolute;inset:8% 3%;opacity:.17;background:linear-gradient(90deg,transparent 49.7%,#55f7d5 49.8% 50.2%,transparent 50.3%),radial-gradient(circle at 50% 50%,transparent 0 31%,#55f7d5 31.2% 31.5%,transparent 31.7%);mask-image:linear-gradient(transparent,#000 35%,#000 70%,transparent)}.mx-top{position:absolute;z-index:30;top:0;left:0;right:0;height:54px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 16px;border-bottom:1px solid #6b83a966;background:#01040dcc;backdrop-filter:blur(16px)}.mx-top>button:last-child{justify-self:end}.mx-top button{border:1px solid #6b83a9;border-radius:2px;background:#081126;padding:8px 14px;font-size:.65rem;font-weight:900;letter-spacing:.1em}.mx-brand{text-align:center}.mx-brand span,.mx-brand b{display:block}.mx-brand span{font-size:.42rem;letter-spacing:.3em;color:#6ae3d1}.mx-brand b{font:900 1.2rem Georgia,serif;letter-spacing:.2em;color:#ffe4a0}.mx-stage{position:absolute;z-index:5;inset:54px 0 90px;display:grid;grid-template-columns:minmax(190px,270px) minmax(690px,1000px);align-items:center;justify-content:center;gap:clamp(18px,4vw,70px);padding:16px 24px}.mx-legend{align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:18px 0}.mx-legend>span{font-size:.55rem;font-weight:900;letter-spacing:.28em;color:var(--cyan)}.mx-legend h1{margin:10px 0 18px;font:900 clamp(2rem,4vw,4.1rem)/.88 Georgia,serif;letter-spacing:-.04em;color:#fff5cd;text-shadow:0 8px 25px #000}.mx-room-lights{display:flex;gap:7px}.mx-room-lights i{width:34px;height:5px;background:#31456c;box-shadow:0 0 12px #4cf4d255}.mx-room-lights i:first-child{background:#e8a951}.mx-room-lights i:nth-child(2){background:#6d65ef}.mx-room-lights i:last-child{background:#4ce0c5}.mx-legend p{max-width:230px;margin:24px 0 0;padding:12px 0;border-top:1px solid #7c91b855;color:#bac9df;font:italic 800 .78rem/1.45 Georgia,serif}.mx-game{position:relative;width:100%;height:min(100%,820px);display:grid;grid-template-rows:46px minmax(340px,1fr) 82px;filter:drop-shadow(0 30px 45px #000e)}.mx-status{display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:0 18px;border-left:3px solid var(--cyan);background:linear-gradient(90deg,#07162bf2,#081029d8);box-shadow:inset 0 -1px #61799c66}.mx-status>div:last-child{text-align:right}.mx-status span,.mx-status small{display:block;font-size:.45rem;font-weight:900;letter-spacing:.16em;color:#6fe6d4}.mx-status b{display:block;margin-top:3px;font-size:.72rem;color:#fff0bd}.mx-vault{position:relative;padding:8px;background:#030713cc;border:1px solid #59759d;box-shadow:inset 0 0 50px #000,0 0 0 5px #020712,0 0 45px #169f9a33}.mx-vault:before{content:"";position:absolute;z-index:5;inset:-1px;pointer-events:none;background:linear-gradient(90deg,var(--cyan),transparent 14% 86%,var(--cyan)) top/100% 2px no-repeat,linear-gradient(90deg,#8166ff,transparent 20% 80%,#8166ff) bottom/100% 2px no-repeat}.mx-reels{height:100%;display:grid;grid-template-columns:repeat(5,1fr);gap:3px;padding:3px;background:#01030a;overflow:hidden}.mx-reel{position:relative;display:grid;grid-template-rows:repeat(4,1fr);gap:3px;overflow:hidden;background:linear-gradient(#071427,#020510)}.mx-cell{position:relative;min-height:0;border:1px solid #344d6c;border-radius:1px;background-image:url('/mazi-max/symbols-atlas-v2.webp'),radial-gradient(circle at 50% 43%,#0b3140,#020610 74%);background-size:400% 200%,100%;background-repeat:no-repeat;box-shadow:inset 0 0 22px #000c;transform:translateZ(0)}.s-crown{background-position:0 0,0}.s-staff{background-position:33.333% 0,0}.s-cap{background-position:66.666% 0,0}.s-beads{background-position:100% 0,0}.s-shells{background-position:0 100%,0}.s-kola{background-position:33.333% 100%,0}.s-wild{background-position:66.666% 100%,0}.s-scatter{background-position:100% 100%,0}.mx-cell:after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 36%,#ffffff36 49%,transparent 62%);transform:translateX(-140%)}.mx-cell.win{z-index:2;border-color:#fff0a4;animation:winPulse .65s ease-in-out infinite alternate;box-shadow:inset 0 0 17px #fff4ae,0 0 20px #ffd34f}.mx-cell.win:after{animation:sheen 1.1s ease-in-out infinite}.mx-cell.feature{z-index:4}.mx-cell[data-multi]:before{content:attr(data-multi);position:absolute;z-index:5;left:50%;bottom:5%;transform:translateX(-50%);padding:3px 9px;border:1px solid #fff0a6;border-radius:99px;background:#735116;color:#fff5c2;font-size:.72rem;font-weight:1000}.mx-track{position:absolute;inset:0 0 auto;height:900%;display:grid;grid-template-rows:repeat(36,1fr);will-change:transform}.mx.spinning .mx-reel{box-shadow:inset 0 25px 24px #000e,inset 0 -25px 24px #000e}.mx-reel.landed{animation:land .18s ease}.mx-console{display:grid;grid-template-columns:1fr 1.2fr 100px 1.25fr 1.45fr 80px;align-items:center;gap:5px;padding:7px 8px;background:#030817ee;border-top:1px solid #516d95;backdrop-filter:blur(14px)}.mx-meter{height:62px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#061425;border-left:2px solid #45d5c0}.mx-meter span,.mx-bet>span{font-size:.42rem;font-weight:900;letter-spacing:.12em;color:#77a8bd}.mx-meter b{margin-top:4px;color:#fff0b8;font-size:.95rem}.mx-bet{height:62px;display:grid;grid-template-columns:31px 1fr 31px;align-items:center;gap:4px;padding:0 7px;background:#061425;text-align:center}.mx-bet button{height:31px;border:1px solid #587493;background:#0b1d34;font-weight:1000}.mx-bet span b{display:block;margin-top:4px;color:#fff0b8;font-size:.9rem}.mx-spin{width:92px;height:62px;border:1px solid #85f5e0;background:linear-gradient(135deg,#1da88f,#07564b);font:1000 .85rem Georgia,serif;letter-spacing:.08em;box-shadow:0 0 22px #29d9bc44,inset 0 1px #ffffff66}.mx-buy{height:62px;border:1px solid #d6b259;background:linear-gradient(135deg,#6e4e13,#221802);font-weight:1000}.mx-buy span,.mx-buy small{display:block}.mx-buy small{margin-top:4px;color:#ffe297;font-size:.42rem}.mx-auto{height:46px;border:1px solid #758cb0;background:#111c3a;font-size:.65rem;font-weight:900}.mx-auto b{display:block;margin-top:2px}.mx-console button:active,.mx-lab button:active{transform:translateY(2px)}button:disabled{opacity:.42;cursor:not-allowed}.mx-event-stage{position:absolute;z-index:18;inset:0;display:grid;place-items:center;pointer-events:none;opacity:0}.mx-event-stage i{position:absolute;width:36%;aspect-ratio:1;border:2px solid var(--cyan);transform:rotate(45deg);box-shadow:0 0 45px #4ce4cd}.mx-event-stage strong{position:relative;padding:10px 16px;background:#020714e8;border-block:1px solid var(--cyan);color:#fff0b2;font:900 clamp(.85rem,2vw,1.3rem) Georgia,serif;letter-spacing:.08em}.event-expanding_wild .mx-event-stage,.event-roaming_staff .mx-event-stage,.event-shrine_power .mx-event-stage,.event-treasury_lock .mx-event-stage{animation:eventStage 1.75s ease both}.event-expanding_wild .mx-cell.feature{animation:wildRise 1.55s cubic-bezier(.1,.7,.1,1);box-shadow:inset 0 0 28px #fff5b9,0 0 35px #ffc94f}.event-roaming_staff .mx-cell.feature{animation:staffSweep .75s ease-in-out 2;box-shadow:inset 0 0 22px #b5f9ff,0 0 28px #55dfff}.event-shrine_power .mx-vault{animation:shrinePulse .55s ease-in-out 3}.event-shrine_power .mx-cell.feature{animation:ancestorRise 1.5s ease;box-shadow:inset 0 0 20px #d4b9ff,0 0 32px #886aff}.event-treasury_lock .mx-cell.feature{animation:coinSlam 1.4s cubic-bezier(.15,.8,.15,1);box-shadow:inset 0 0 25px #fff1a0,0 0 42px #ffc64d}.mx-lab{position:absolute;z-index:38;left:0;right:0;bottom:0;height:90px;display:grid;grid-template-columns:130px 1fr;align-items:center;gap:10px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#01040df8;border-top:1px solid #60799e;box-shadow:0 -12px 35px #000}.mx-lab-title span,.mx-lab-title b{display:block}.mx-lab-title span{font-size:.42rem;letter-spacing:.16em;color:#64e4d1}.mx-lab-title b{margin-top:4px;font:900 .85rem Georgia,serif;color:#ffe0a0}.mx-lab-buttons{display:grid;grid-template-columns:repeat(7,minmax(82px,1fr));gap:4px}.mx-lab button{height:32px;padding:0 5px;border:1px solid #385778;background:#08162b;color:#d8ecff;font-size:.42rem;font-weight:900}.mx-lab button[data-force]{border-color:#b58a37;background:#38270a;color:#ffe1a0}.mx-lab button[data-win]{border-color:#4d8d83;background:#07342e}.mx-toast{position:fixed;z-index:200;left:50%;top:62px;transform:translate(-50%,-20px);padding:10px 16px;border:1px solid #61e8d0;background:#06172c;opacity:0;transition:.2s}.mx-toast.show{transform:translate(-50%,0);opacity:1}.mx-modal,.mx-cinema,.mx-win{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:16px;background:radial-gradient(circle,#10254be8,#01040dfb 70%);backdrop-filter:blur(8px)}.hidden{display:none!important}.mx-card{width:min(880px,96vw);max-height:94vh;overflow:auto;padding:30px;border:1px solid #70ddcf;background:linear-gradient(145deg,#0a2241,#020714 70%);text-align:center;box-shadow:0 25px 80px #000}.mx-card>span{font-size:.55rem;letter-spacing:.2em;color:#65e5d2}.mx-card h2{margin:7px 0 12px;font:1000 clamp(1.5rem,4vw,2.8rem) Georgia,serif;color:#fff0b0}.mx-card p{color:#c8d6e8}.mx-rooms{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px}.mx-room{padding:0 0 15px;overflow:hidden;border:1px solid #6981a4;background:#061126;text-align:left}.mx-room i{display:block;width:100%;aspect-ratio:1.25;background:url('/mazi-max/ui-atlas.webp') 0 100%/400% 200%}.mx-room.shrine i{background-position:33.333% 100%}.mx-room.treasury i{background-position:66.666% 100%}.mx-room b,.mx-room small{display:block;padding:0 12px}.mx-room b{margin-top:10px;color:#ffe09b}.mx-room small{margin-top:5px;color:#adc1d9}.mx-card-actions{display:flex;justify-content:center;gap:8px;margin-top:20px}.mx-card-actions button{min-height:44px;padding:0 22px;border:1px solid #70ddcf;background:#086252;font-weight:900}.mx-cinema{overflow:hidden}.mx-cinema-bg{position:absolute;inset:-8%;background:linear-gradient(#04122ec2,#01040df0),url('/mazi-max/compound.webp') center/cover;filter:hue-rotate(150deg) saturate(.9);animation:cinemaZoom 3.5s ease both}.mx-cinema-gates{position:absolute;z-index:2;top:0;bottom:0;width:51%;background:linear-gradient(90deg,#07142d,#102a4d);border:2px solid #8872d6;box-shadow:inset 0 0 80px #000}.mx-cinema-gates.left{left:0;animation:gateLeft 2.6s .35s ease both}.mx-cinema-gates.right{right:0;animation:gateRight 2.6s .35s ease both}.mx-cinema-chief{position:absolute;z-index:3;left:50%;bottom:-8%;width:min(48vw,620px);height:88vh;transform:translateX(-50%);background:url('/mazi-max/mazi-max.webp') center bottom/contain no-repeat;filter:drop-shadow(0 25px 35px #000);animation:cinemaChief 1.6s .55s ease both}.mx-cinema-copy{position:relative;z-index:5;margin-top:auto;margin-bottom:6vh;text-align:center;text-shadow:0 6px 18px #000}.mx-cinema-copy span{color:#67efd9;font-size:.66rem;font-weight:1000;letter-spacing:.3em}.mx-cinema-copy h2{margin:6px 0;font:1000 clamp(2.2rem,8vw,7rem)/.88 Georgia,serif;color:#fff0ad}.mx-cinema-copy p{font-weight:850}.mx-cinema.leave{animation:fade .5s ease both}.mx-win{overflow:hidden;background:radial-gradient(circle,#14385b,#01030b 72%)}.mx-win:before,.mx-win:after{content:"";position:absolute;inset:-30%;background:repeating-conic-gradient(from 0deg,#ffe49022 0 5deg,transparent 5deg 13deg);animation:spinRing 16s linear infinite}.mx-win:after{inset:12%;border:2px solid #ffe18a;border-radius:50%;background:none;box-shadow:0 0 70px #ffd76b66;animation:winRing 1.8s ease-in-out infinite alternate}.mx-win-rays{position:absolute;width:70vmin;height:70vmin;border:18px double #6ef5df;border-radius:50%;opacity:.35;animation:winRing 1.2s ease-in-out infinite alternate}.mx-win-chief{position:absolute;left:4%;bottom:-12%;width:40vw;height:95vh;background:url('/mazi-max/mazi-max.webp') center bottom/contain no-repeat;filter:drop-shadow(0 25px 35px #000);animation:winChief 1s cubic-bezier(.15,.85,.16,1) both}.mx-win-copy{position:relative;z-index:4;margin-left:25%;text-align:center}.mx-win-copy span,.mx-win-copy b,.mx-win-copy small,.mx-win-copy em{display:block}.mx-win-copy span{font:1000 clamp(2rem,6vw,5.2rem) Georgia,serif;color:#ffe392;text-shadow:0 0 30px #ffc83d}.mx-win-copy b{font-size:clamp(3rem,10vw,8rem);color:#fff}.mx-win-copy small{color:#62f0d7;font-size:clamp(1rem,2vw,1.5rem);font-weight:900}.mx-win-copy em{margin-top:16px;color:#aebed4;font-size:.6rem;font-style:normal;letter-spacing:.18em}.mx-win.tier-harvest{background:radial-gradient(circle,#5c420e,#080501 72%)}.mx-win.tier-treasure{background:radial-gradient(circle,#69270d,#090201 72%)}.mx-win.tier-ancestral{background:radial-gradient(circle,#3c216f,#05020e 72%)}.mx-win.tier-max{background:radial-gradient(circle,#115c4c,#010806 72%)}
@keyframes worldDrift{to{transform:scale(1.045) translateX(1%)}}@keyframes atmosphere{to{filter:brightness(1.4);opacity:.75}}@keyframes winPulse{to{transform:scale(.95);filter:brightness(1.3)}}@keyframes sheen{to{transform:translateX(140%)}}@keyframes land{50%{transform:translateY(4px)}}@keyframes eventStage{0%{opacity:0;transform:scale(.65)}18%,75%{opacity:1;transform:none}to{opacity:0;transform:scale(1.08)}}@keyframes wildRise{0%{transform:scaleY(.05);filter:brightness(3)}55%{transform:scaleY(1.1)}to{transform:none}}@keyframes staffSweep{0%{filter:brightness(.6);transform:translateX(-7%)}50%{filter:brightness(2);transform:translateX(7%)}to{transform:none}}@keyframes shrinePulse{50%{filter:drop-shadow(0 0 35px #8d6eff);transform:scale(1.012)}}@keyframes ancestorRise{0%{transform:translateY(25%);opacity:.2}50%{transform:translateY(-5%);filter:brightness(2)}to{transform:none}}@keyframes coinSlam{0%{transform:scale(2.4) rotate(-18deg);opacity:0}55%{transform:scale(.9) rotate(2deg)}75%{transform:scale(1.08)}to{transform:none}}@keyframes cinemaZoom{from{transform:scale(1.2);filter:hue-rotate(150deg) blur(5px)}to{transform:scale(1);filter:hue-rotate(150deg)}}@keyframes gateLeft{to{transform:translateX(-105%) rotateY(20deg)}}@keyframes gateRight{to{transform:translateX(105%) rotateY(-20deg)}}@keyframes cinemaChief{from{opacity:0;transform:translate(-50%,15%) scale(.85)}to{opacity:1;transform:translate(-50%,0)}}@keyframes fade{to{opacity:0;transform:scale(1.03)}}@keyframes spinRing{to{transform:rotate(360deg)}}@keyframes winRing{to{transform:scale(1.08);opacity:.65}}@keyframes winChief{from{opacity:0;transform:translateX(-18%) scale(.85)}to{opacity:1;transform:none}}
@media(max-width:1060px){.mx-stage{grid-template-columns:1fr}.mx-legend{display:none}.mx-game{width:min(940px,100%);margin:auto}}
@media(max-width:720px){.mx{min-height:500px}.mx-top{height:42px;padding:0 5px}.mx-top button{padding:6px 8px;font-size:.48rem}.mx-brand span{display:none}.mx-brand b{font-size:.95rem}.mx-stage{inset:42px 0 154px;padding:3px}.mx-game{height:100%;grid-template-rows:36px minmax(0,1fr) 100px}.mx-status{padding:0 8px}.mx-status span,.mx-status small{font-size:.32rem}.mx-status b{font-size:.54rem}.mx-vault{padding:3px}.mx-reels{gap:2px;padding:2px}.mx-reel{gap:2px}.mx-cell{border-color:#263e5d}.mx-console{height:100px;grid-template-columns:1fr 68px 1fr;grid-template-rows:48px 48px;padding:2px;gap:2px}.mx-meter,.mx-bet,.mx-buy{height:46px}.mx-meter span,.mx-bet>span{font-size:.31rem}.mx-meter b,.mx-bet span b{font-size:.68rem}.mx-bet{grid-column:1;grid-row:2;grid-template-columns:25px 1fr 25px;padding:0 3px}.mx-bet button{height:24px}.mx-spin{grid-column:2;grid-row:1;width:64px;height:58px;font-size:.62rem}.mx-auto{grid-column:2;grid-row:2;width:52px;height:36px;justify-self:center;font-size:.5rem}.mx-console>.mx-meter:first-child{grid-column:1;grid-row:1}.mx-console>.mx-meter:nth-of-type(3){grid-column:3;grid-row:1}.mx-buy{grid-column:3;grid-row:2;font-size:.46rem}.mx-buy small{font-size:.29rem}.mx-lab{height:154px;display:block;padding:5px 4px calc(5px + env(safe-area-inset-bottom))}.mx-lab-title{display:flex;justify-content:center;gap:6px;margin-bottom:4px}.mx-lab-title span,.mx-lab-title b{margin:0;font-size:.38rem}.mx-lab-buttons{grid-template-columns:repeat(3,1fr);gap:3px}.mx-lab button{height:25px;font-size:.34rem;padding:0 2px}.mx-event-stage strong{font-size:.64rem;padding:7px}.mx-rooms{grid-template-columns:1fr}.mx-room{display:grid;grid-template-columns:34% 66%;padding:0}.mx-room i{height:100%;aspect-ratio:auto}.mx-cinema-chief{width:94vw;height:73vh}.mx-cinema-copy{padding:0 12px}.mx-win-chief{left:-18%;width:80vw;height:72vh;opacity:.7}.mx-win-copy{margin-left:0}.mx-win-copy span{font-size:1.7rem}.mx-win-copy b{font-size:3rem}}
@media(orientation:landscape) and (max-height:620px){.mx-top{height:34px}.mx-stage{inset:34px 0 66px}.mx-game{grid-template-rows:32px minmax(0,1fr) 66px}.mx-console{height:66px;grid-template-columns:1fr 1.1fr 76px 1.1fr 1.3fr 58px;grid-template-rows:1fr}.mx-meter,.mx-bet,.mx-buy{height:54px}.mx-spin{grid-column:3;grid-row:1;width:70px;height:54px}.mx-auto{grid-column:6;grid-row:1;width:52px;height:38px}.mx-console>.mx-meter:first-child{grid-column:1;grid-row:1}.mx-bet{grid-column:2;grid-row:1}.mx-console>.mx-meter:nth-of-type(3){grid-column:4;grid-row:1}.mx-buy{grid-column:5;grid-row:1}.mx-lab{height:66px;display:grid;grid-template-columns:105px 1fr}.mx-lab-title{display:block;margin:0}.mx-lab-buttons{grid-template-columns:repeat(7,minmax(70px,1fr))}.mx-lab button{height:25px}.mx-win-chief{height:95vh}}

/* The private tester sits below a full-height game instead of crushing it. */
html,body,#mazi-game{height:auto;min-height:100%;overflow-x:hidden;overflow-y:auto}.mx{height:auto;min-height:100svh;overflow:visible}.mx-bg,.mx-atmosphere,.mx-glyphs{position:fixed}.mx-top{position:fixed}.mx-stage{position:relative;inset:auto;min-height:calc(100svh - 54px);height:calc(100svh - 54px);margin-top:54px}.mx-lab{position:relative;left:auto;right:auto;bottom:auto;height:auto;min-height:108px;padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.mx-lab-buttons{grid-template-columns:repeat(7,minmax(105px,1fr))}.mx-lab button,.mx-top button,.mx-bet button,.mx-buy,.mx-auto{border-radius:12px;background-image:linear-gradient(155deg,#ffffff12,transparent 48%),linear-gradient(180deg,#102848,#061126);box-shadow:inset 0 1px #ffffff3d,0 5px 12px #0008}.mx-lab button{height:38px;border-width:1px;font-size:.5rem}.mx-lab button[data-force]{background-image:linear-gradient(155deg,#fff5b429,transparent 48%),linear-gradient(180deg,#684412,#271704)}.mx-lab button[data-win]{background-image:linear-gradient(155deg,#9effe933,transparent 48%),linear-gradient(180deg,#0a594e,#04211e)}.mx-spin{border-radius:16px;clip-path:polygon(10px 0,calc(100% - 10px) 0,100% 10px,100% calc(100% - 10px),calc(100% - 10px) 100%,10px 100%,0 calc(100% - 10px),0 10px)}.mx-meter,.mx-bet{border-radius:12px}.mx-logo{width:230px;height:52px;filter:drop-shadow(0 3px 7px #000);overflow:hidden}.mx-logo span,.mx-logo b{position:absolute;clip:rect(0 0 0 0);clip-path:inset(50%);width:1px;height:1px;overflow:hidden}

.mx-win-gate{position:absolute;z-index:2;top:0;bottom:0;width:51%;background:linear-gradient(90deg,#071126ee,#16325aee),url('/mazi-max/compound.webp') center/cover;border:3px solid #b18d43;box-shadow:inset 0 0 90px #000}.mx-win-gate.left{left:0;transform-origin:left center;animation:maxGateLeft 2.2s .7s cubic-bezier(.65,0,.2,1) both}.mx-win-gate.right{right:0;transform-origin:right center;animation:maxGateRight 2.2s .7s cubic-bezier(.65,0,.2,1) both}.mx-win-vault{position:absolute;z-index:3;left:50%;top:48%;width:min(54vmin,520px);aspect-ratio:1;transform:translate(-50%,-50%) scale(.1) rotate(-18deg);border-radius:50%;background-image:url('/mazi-max/symbols-atlas-v2.webp');background-size:400% 200%;background-position:100% 100%;background-repeat:no-repeat;filter:drop-shadow(0 0 45px #ffd05f);opacity:0}.mx-coin-rain{position:absolute;z-index:4;inset:0;overflow:hidden;pointer-events:none}.mx-coin-rain i{position:absolute;top:-12%;width:clamp(12px,2.4vw,34px);aspect-ratio:1;border:2px solid #fff1a5;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff6b7,#e7a82a 45%,#673506 75%);box-shadow:0 0 12px #ffc84a;opacity:0}.mx-coin-rain i:nth-child(4n+1){left:8%;animation-delay:2.6s}.mx-coin-rain i:nth-child(4n+2){left:34%;animation-delay:2.85s}.mx-coin-rain i:nth-child(4n+3){left:63%;animation-delay:2.7s}.mx-coin-rain i:nth-child(4n){left:88%;animation-delay:3s}.mx-coin-rain i:nth-child(3n){margin-left:8%;width:20px}.mx-coin-rain i:nth-child(5n){margin-left:-13%;width:28px}.mx-win-copy{opacity:0;animation:maxCopy 1s 3.2s cubic-bezier(.2,.8,.2,1) forwards}.mx-win-chief{opacity:0;animation:maxChief 1.1s 2.8s cubic-bezier(.15,.85,.16,1) forwards}.tier-max .mx-win-vault{animation:maxVault 2.6s 1.25s cubic-bezier(.12,.8,.18,1) both}.tier-max .mx-coin-rain i{animation-name:coinFall;animation-duration:2.8s;animation-timing-function:linear;animation-iteration-count:infinite}.tier-max .mx-win-rays{animation:maxShockwave 1.25s 2.25s ease-out both,spinRing 14s 3.5s linear infinite}.tier-max .mx-win-copy span{animation:maxTitle .85s 3.35s ease-out both}.tier-royal .mx-win-gate,.tier-harvest .mx-win-gate,.tier-treasure .mx-win-gate,.tier-ancestral .mx-win-gate{display:none}.tier-royal .mx-win-vault,.tier-harvest .mx-win-vault,.tier-treasure .mx-win-vault,.tier-ancestral .mx-win-vault{display:none}.tier-royal .mx-coin-rain i,.tier-harvest .mx-coin-rain i,.tier-treasure .mx-coin-rain i,.tier-ancestral .mx-coin-rain i{animation:coinFall 3s linear infinite}.tier-royal .mx-win-copy,.tier-harvest .mx-win-copy,.tier-treasure .mx-win-copy,.tier-ancestral .mx-win-copy{animation-delay:.35s}.tier-royal .mx-win-chief,.tier-harvest .mx-win-chief,.tier-treasure .mx-win-chief,.tier-ancestral .mx-win-chief{animation-delay:.15s}
@keyframes maxGateLeft{0%,18%{transform:none}42%{transform:translateX(4%);filter:brightness(1.7)}to{transform:translateX(-106%) rotateY(24deg)}}@keyframes maxGateRight{0%,18%{transform:none}42%{transform:translateX(-4%);filter:brightness(1.7)}to{transform:translateX(106%) rotateY(-24deg)}}@keyframes maxVault{0%{opacity:0;transform:translate(-50%,-50%) scale(.1) rotate(-18deg)}32%{opacity:1;transform:translate(-50%,-50%) scale(1.18) rotate(4deg)}52%{transform:translate(-50%,-50%) scale(.95)}70%{opacity:1;transform:translate(-50%,-50%) scale(1.04)}to{opacity:0;transform:translate(-50%,-50%) scale(2.1);filter:brightness(3) blur(8px)}}@keyframes coinFall{0%{opacity:0;transform:translateY(-8vh) rotateY(0) rotateX(0)}12%{opacity:1}to{opacity:.85;transform:translateY(120vh) rotateY(900deg) rotateX(540deg)}}@keyframes maxShockwave{0%{opacity:0;transform:scale(.15)}35%{opacity:1}to{opacity:.3;transform:scale(1.25)}}@keyframes maxCopy{from{opacity:0;transform:scale(.5) translateY(30px)}to{opacity:1;transform:none}}@keyframes maxChief{from{opacity:0;transform:translateX(-18%) scale(.78)}to{opacity:1;transform:none}}@keyframes maxTitle{from{opacity:0;letter-spacing:.35em;transform:scale(2.2)}to{opacity:1;letter-spacing:normal;transform:none}}

@media(max-width:720px){.mx-stage{position:relative;inset:auto;height:calc(100svh - 42px);min-height:calc(100svh - 42px);margin-top:42px;padding:4px 3px 8px}.mx-game{height:100%;grid-template-rows:38px minmax(0,1fr) 106px}.mx-lab{height:auto;min-height:220px;display:block;padding:10px 7px calc(12px + env(safe-area-inset-bottom))}.mx-lab-buttons{grid-template-columns:repeat(3,1fr);gap:6px}.mx-lab button{height:36px;border-radius:10px;font-size:.43rem}.mx-logo{width:165px;height:40px;background-size:230% auto;background-position:82% 73%}.mx-console{height:106px}.mx-win-gate{width:52%}.mx-win-vault{width:88vmin}.mx-win-chief{left:-22%;width:82vw}.mx-win-copy{padding:0 10px}}
@media(orientation:landscape) and (max-height:620px){.mx-stage{position:relative;inset:auto;height:calc(100svh - 34px);min-height:calc(100svh - 34px);margin-top:34px}.mx-lab{height:auto;min-height:108px;display:grid;grid-template-columns:105px 1fr}.mx-lab-buttons{grid-template-columns:repeat(7,minmax(80px,1fr))}.mx-lab button{height:34px}}

/* MAZI-MAX ceremonial cabinet and controls */
.mx-game{isolation:isolate;padding:10px 12px 12px;border:1px solid #e7bd5f;border-radius:26px;background:linear-gradient(135deg,#ffeab7 0 2px,transparent 2px),linear-gradient(225deg,#ffeab7 0 2px,transparent 2px),linear-gradient(145deg,#5c3510,#140b05 12%,#071a20 42%,#02070d 70%,#54300d);box-shadow:0 0 0 4px #291608,0 0 0 6px #d59a36,0 0 0 10px #100704,inset 0 0 0 2px #ffe5a0,inset 0 0 42px #000,0 30px 70px #000d,0 0 38px #21d8bd33}
.mx-game:before,.mx-game:after{content:"";position:absolute;z-index:20;top:50%;width:25px;height:72%;transform:translateY(-50%);pointer-events:none;border:1px solid #f2ca6a;background:linear-gradient(90deg,#251005,#b87921 25%,#ffe09a 48%,#75400f 72%,#160905);box-shadow:inset 0 0 9px #fff5bd88,0 0 0 4px #190b04,0 0 20px #000}
.mx-game:before{left:-13px;border-radius:18px 4px 4px 18px}.mx-game:after{right:-13px;border-radius:4px 18px 18px 4px}
.mx-status{position:relative;z-index:23;margin:0 8px -1px;border:1px solid #d9ab49;border-radius:14px 14px 4px 4px;background:radial-gradient(circle at 50% -100%,#49e6c633,transparent 60%),linear-gradient(180deg,#153b38,#071916 55%,#030a09);box-shadow:inset 0 1px #fff0ab88,inset 0 -8px 18px #0009,0 4px 14px #000}
.mx-vault{z-index:22;margin:0 5px;padding:8px;border:2px solid #e0ae4b;border-radius:16px;background:linear-gradient(145deg,#6c4318,#160d05 3%,#020914 9% 91%,#1b1006 97%,#8f5d1f);box-shadow:inset 0 0 0 3px #311b08,inset 0 0 0 5px #e2b65a,inset 0 0 55px #000,0 0 22px #000}
.mx-vault:before{inset:5px;border:1px solid #56ead2;border-radius:10px;background:linear-gradient(90deg,#ffe094,transparent 12% 88%,#ffe094) top/100% 2px no-repeat,linear-gradient(90deg,#38dfc8,transparent 17% 83%,#38dfc8) bottom/100% 2px no-repeat;box-shadow:inset 0 0 18px #2ce4c824}
.mx-console{position:relative;z-index:23;margin:-1px 8px 0;grid-template-columns:1fr 1.2fr 104px 1.25fr 1.45fr 82px;gap:10px;padding:10px 12px;border:1px solid #d8a847;border-radius:4px 4px 18px 18px;background:linear-gradient(180deg,#1a3f36,#071711 35%,#020807);box-shadow:inset 0 1px #ffe6a070,inset 0 -14px 24px #000b,0 -5px 18px #000}
.mx-meter,.mx-bet,.mx-buy,.mx-auto,.mx-spin{position:relative;overflow:hidden;border-radius:16px!important}
.mx-meter{border:1px solid #a57c35;border-left:4px solid #e9bd58;background:radial-gradient(circle at 50% 0,#25d4b424,transparent 58%),linear-gradient(180deg,#14362f,#06130f);box-shadow:inset 0 1px #ffe6a059,inset 0 -10px 16px #0008}
.mx-bet{border:1px solid #a57c35;background:radial-gradient(circle at 50% 0,#f0bd4f22,transparent 60%),linear-gradient(180deg,#17382f,#06130f);box-shadow:inset 0 1px #ffe6a059,inset 0 -10px 16px #0008}
.mx-bet button{border:1px solid #e2b655;border-radius:50%!important;background:radial-gradient(circle at 38% 30%,#ffe59b,#a96618 48%,#3a1d06 76%)!important;color:#160b03;font-size:1.05rem;box-shadow:inset 0 1px #fff6c7,0 2px 7px #000!important}
.mx-spin{width:96px;height:66px;border:2px solid #ffe49a!important;border-radius:50%!important;clip-path:none!important;background:radial-gradient(circle at 40% 28%,#60f5cf,#15977e 38%,#064b40 67%,#021b18)!important;color:#fff6c9;text-shadow:0 2px 4px #000;font:1000 .88rem Georgia,serif;box-shadow:0 0 0 4px #4b2c0d,0 0 0 6px #d9a948,0 0 24px #2ff0cc88,inset 0 3px 5px #d8fff6,inset 0 -10px 16px #002f28!important}
.mx-spin:after{content:"◆";display:block;margin-top:2px;color:#ffe49a;font-size:.52rem}
.mx-buy{border:1px solid #f1ca70!important;background:radial-gradient(circle at 50% 0,#fff0b74a,transparent 48%),linear-gradient(135deg,#835018,#3b2009 55%,#160a03)!important;color:#fff1bd;text-shadow:0 2px 3px #000;box-shadow:inset 0 1px #fff4bd99,inset 0 -12px 18px #0008,0 4px 10px #0009!important}
.mx-buy:before{content:"✦";position:absolute;left:10px;top:50%;transform:translateY(-50%);color:#ffe49a;font-size:1rem}.mx-buy small{color:#63ecd4}
.mx-auto{border:1px solid #b58e48!important;background:radial-gradient(circle at 50% 0,#dcae5040,transparent 58%),linear-gradient(180deg,#21463b,#07140f)!important;color:#ffe4a0;box-shadow:inset 0 1px #fff2ae70,inset 0 -10px 16px #0009,0 4px 10px #0008!important}
.mx-console button:hover{filter:brightness(1.16);transform:translateY(-1px)}
.mx-lab{padding:20px;gap:18px;border-top:2px solid #d5a649;background:linear-gradient(180deg,#122a25,#030b09 30%,#010403);box-shadow:inset 0 1px #ffe6a070,0 -12px 35px #000}
.mx-lab-buttons{grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px}
.mx-lab button{min-height:52px;height:auto;padding:10px 14px;border:1px solid #a47d39;border-radius:14px;background-image:radial-gradient(circle at 50% 0,#5cebd32b,transparent 60%),linear-gradient(180deg,#183c33,#071611);color:#f9e6b2;font-size:.68rem;line-height:1.15;letter-spacing:.05em;box-shadow:inset 0 1px #fff0ad61,inset 0 -10px 16px #0007,0 5px 12px #0009}
.mx-lab button[data-force]{border-color:#e0ae4d;background-image:radial-gradient(circle at 50% 0,#fff2ac4a,transparent 58%),linear-gradient(180deg,#714518,#261205)}
.mx-lab button[data-win]{border-color:#60dac4;background-image:radial-gradient(circle at 50% 0,#87ffea4a,transparent 58%),linear-gradient(180deg,#116b5a,#05251f)}
@media(max-width:720px){.mx-game{padding:6px 7px 8px;border-radius:18px}.mx-game:before,.mx-game:after{width:15px}.mx-game:before{left:-7px}.mx-game:after{right:-7px}.mx-status{margin:0 4px}.mx-vault{margin:0 2px;padding:5px}.mx-console{height:112px;margin:-1px 4px 0;grid-template-columns:1fr 76px 1fr;grid-template-rows:54px 52px;gap:6px;padding:5px 6px}.mx-meter,.mx-bet,.mx-buy{height:48px}.mx-spin{grid-column:2;grid-row:1;width:68px;height:68px;font-size:.68rem}.mx-auto{grid-column:2;grid-row:2;width:62px;height:42px}.mx-buy{font-size:.48rem}.mx-buy:before{display:none}.mx-lab{display:block;min-height:0;padding:18px 14px calc(20px + env(safe-area-inset-bottom))}.mx-lab-title{margin-bottom:12px}.mx-lab-buttons{grid-template-columns:1fr;gap:12px}.mx-lab button{width:100%;min-height:56px;font-size:.72rem;border-radius:16px}}

.mx-vault:after{content:"";position:absolute;z-index:16;inset:-10px;pointer-events:none;border:58px solid transparent;border-width:58px 46px 48px;border-image:url('/mazi-max/cabinet-frame-hd-v2.webp') 205 170 155 170 / 58px 46px 48px / 0 stretch;filter:drop-shadow(0 8px 10px #000c)}
.mx-vault{padding:48px 38px 36px}
.mx-vault:before{z-index:17;inset:-3.2% -1.7%;border:0;border-radius:18px;background:linear-gradient(90deg,transparent 0 35%,#fff4ba 48%,#50efd5 54%,transparent 67%) top left/38% 2px no-repeat,linear-gradient(180deg,transparent 0 35%,#fff4ba 48%,#50efd5 54%,transparent 67%) top right/2px 38% no-repeat,linear-gradient(270deg,transparent 0 35%,#fff4ba 48%,#50efd5 54%,transparent 67%) bottom right/38% 2px no-repeat,linear-gradient(0deg,transparent 0 35%,#fff4ba 48%,#50efd5 54%,transparent 67%) bottom left/2px 38% no-repeat;filter:drop-shadow(0 0 6px #4ff0d8);animation:fortuneCircuit 4.8s linear infinite}
.mx-reels{position:relative;z-index:2;border-radius:8px}
.event-expanding_wild .mx-event-stage,.event-roaming_staff .mx-event-stage,.event-shrine_power .mx-event-stage,.event-treasury_lock .mx-event-stage{animation:eventStageLong 2.5s ease both}
.event-roaming_staff .mx-event-stage i{left:-16%;top:15%;width:16%;height:70%;aspect-ratio:auto;border:0;background:url('/mazi-max/symbols-atlas-v2.webp') 33.333% 0/400% 200% no-repeat;box-shadow:none;transform:none;animation:roamingStaffTravel 2.45s cubic-bezier(.2,.72,.18,1) both}
.event-roaming_staff .mx-cell.feature:before{content:"";position:absolute;z-index:8;inset:0;border:1px solid #fff0a0;background:url('/mazi-max/symbols-atlas-v2.webp') 66.666% 100%/400% 200% no-repeat,radial-gradient(circle,#1f725f,#020b0a 72%);opacity:0;animation:staffConvert .58s ease both}
.event-roaming_staff .mx-reel:nth-child(1) .mx-cell.feature:before{animation-delay:.35s}.event-roaming_staff .mx-reel:nth-child(2) .mx-cell.feature:before{animation-delay:.68s}.event-roaming_staff .mx-reel:nth-child(3) .mx-cell.feature:before{animation-delay:1.01s}.event-roaming_staff .mx-reel:nth-child(4) .mx-cell.feature:before{animation-delay:1.34s}.event-roaming_staff .mx-reel:nth-child(5) .mx-cell.feature:before{animation-delay:1.67s}
@keyframes eventStageLong{0%{opacity:0;transform:scale(.9)}10%,78%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.04)}}
@keyframes roamingStaffTravel{0%{left:-18%;opacity:0;transform:rotate(-13deg) scale(.82)}8%{opacity:1}82%{opacity:1}100%{left:102%;opacity:0;transform:rotate(14deg) scale(1.08)}}
@keyframes staffConvert{0%{opacity:0;transform:scale(.68) rotateY(80deg);filter:brightness(2)}55%{opacity:1;transform:scale(1.12) rotateY(0);filter:brightness(1.7)}100%{opacity:1;transform:scale(1);filter:brightness(1)}}
@keyframes fortuneCircuit{0%{background-position:-38% 0,100% -38%,138% 100%,0 138%;opacity:.55}25%{background-position:62% 0,100% -38%,138% 100%,0 138%;opacity:.92}50%{background-position:100% 0,100% 62%,138% 100%,0 138%;opacity:.62}75%{background-position:100% 0,100% 100%,38% 100%,0 138%;opacity:.95}100%{background-position:100% 0,100% 100%,-38% 100%,0 -38%;opacity:.55}}
.mx[class*="event-"] .mx-vault:before{animation-duration:1.65s;filter:drop-shadow(0 0 10px #fff0a0) drop-shadow(0 0 16px #41eed3)}
@media(max-width:720px){.mx-logo{width:138px;height:34px;background-size:230% auto}.mx-vault{padding:38px 25px 29px}.mx-vault:after{inset:-6px;border-width:44px 29px 34px;border-image-slice:205 170 155 170;border-image-width:44px 29px 34px}.mx-vault:before{inset:-2.4% -1.2%}.mx-reels{border-radius:5px}}

/* Integrated title plaque: live text, no thumbnail crop */
.mx-logo{position:relative;width:auto;height:44px;min-width:250px;padding:5px 42px 4px;border:1px solid #d6a641;border-radius:6px 6px 16px 16px;background:radial-gradient(circle at 50% -30%,#ffdf7a66,transparent 58%),linear-gradient(180deg,#6f2b14,#240903 58%,#090302);box-shadow:inset 0 1px #ffe8a1,inset 0 -7px 13px #000b,0 4px 12px #000;clip-path:polygon(8% 0,92% 0,100% 22%,94% 100%,6% 100%,0 22%)}
.mx-logo:before,.mx-logo:after{content:"◆";position:absolute;top:50%;transform:translateY(-50%);color:#48e4ca;font-size:.62rem;text-shadow:0 0 8px #48e4ca}.mx-logo:before{left:20px}.mx-logo:after{right:20px}
.mx-logo span{display:none!important}.mx-logo b{position:static!important;display:block!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;clip-path:none!important;background:linear-gradient(180deg,#fff4b8,#f5b940 48%,#8b3f08 78%,#ffe285);-webkit-background-clip:text;background-clip:text;color:transparent;font:1000 1.55rem/.95 Georgia,serif;letter-spacing:.08em;text-shadow:0 2px 0 #3b0d03,0 4px 8px #000}
@media(max-width:720px){.mx-logo{width:auto;height:34px;min-width:168px;padding:4px 27px 3px}.mx-logo b{font-size:1.05rem}.mx-logo:before{left:13px}.mx-logo:after{right:13px}}

/* Tiered win cinematics */
.mx-win{isolation:isolate;padding:0;background-color:#020503;background-image:linear-gradient(180deg,#02050433,#020504e8),url('/mazi-max/compound.webp');background-size:cover;background-position:center;backdrop-filter:blur(3px);animation:winSceneIn .42s ease-out both}
.mx-win:before{z-index:0;inset:-35%;background:repeating-conic-gradient(from 0deg,#ffe9a329 0 4deg,transparent 4deg 12deg);animation:spinRing 18s linear infinite,winRayReveal .8s ease-out both}
.mx-win:after{z-index:1;inset:50%;border:3px solid #ffe89b;border-radius:50%;background:transparent;box-shadow:0 0 45px #fff2a8,0 0 110px #ffd24e;animation:winShockwave 1.35s .22s ease-out both}
.mx-win-rays{z-index:2;width:76vmin;height:76vmin;border:3px solid #71f5da;border-radius:50%;box-shadow:inset 0 0 40px #52e9cf55,0 0 50px #52e9cf66;opacity:.7;animation:winOrbit 8s linear infinite}
.mx-win-chief{z-index:4;left:3%;bottom:-8%;width:min(46vw,640px);height:93vh;opacity:1;background-position:center bottom;filter:drop-shadow(0 25px 30px #000) drop-shadow(0 0 22px #ffd15b55);animation:chiefEntrance .95s .2s cubic-bezier(.12,.8,.18,1) both,chiefCelebrate 1.8s 1.2s ease-in-out infinite alternate}
.mx-win-copy{z-index:8;width:min(58vw,780px);margin-left:29%;padding:clamp(20px,3vw,42px) clamp(24px,4vw,68px);border:2px solid #eac261;border-radius:26px;background:radial-gradient(circle at 50% 0,#ffeaa02b,transparent 48%),linear-gradient(155deg,#122f2aee,#07100eee 58%,#2f1708ee);box-shadow:inset 0 1px #fff1b8,inset 0 -20px 30px #000a,0 0 0 6px #2c1708,0 0 0 8px #bd8735,0 24px 65px #000d;text-align:center;opacity:1;clip-path:polygon(6% 0,94% 0,100% 15%,97% 88%,88% 100%,12% 100%,3% 88%,0 15%);animation:winPlaqueSlam .78s .38s cubic-bezier(.14,.82,.16,1) both}
.mx-win-copy:before,.mx-win-copy:after{content:'◆';position:absolute;top:50%;transform:translateY(-50%);color:#58efd4;text-shadow:0 0 12px #58efd4;font-size:clamp(.75rem,1.5vw,1.2rem)}.mx-win-copy:before{left:4%}.mx-win-copy:after{right:4%}
.mx-win-copy span{font:1000 clamp(2.2rem,5.6vw,5.6rem)/.88 Georgia,serif;letter-spacing:.015em;color:#fff0a8;text-shadow:0 3px 0 #6d2d08,0 7px 16px #000,0 0 28px #ffc43b;animation:winTitleSlam .65s .78s cubic-bezier(.16,.9,.18,1) both}
.mx-win-copy b{margin-top:12px;font:1000 clamp(3.2rem,8.7vw,8.5rem)/.9 Georgia,serif;color:#fff;text-shadow:0 4px 0 #9a5308,0 0 18px #ffe8a0,0 0 48px #ffb62d;animation:amountIgnite .85s 1s ease-out both}
.mx-win-copy small{margin-top:12px;color:#72f3db;font-size:clamp(1rem,2vw,1.55rem);font-weight:1000;letter-spacing:.1em;text-shadow:0 0 13px #46e9ce}
.mx-win-copy em{margin-top:20px;color:#fff0c2;font-size:.72rem;font-weight:900;letter-spacing:.2em;animation:tapPulse .9s 1.6s ease-in-out infinite alternate}
.mx-coin-rain{z-index:7}.mx-coin-rain i{opacity:0;animation:coinFall 2.6s linear infinite!important}.mx-coin-rain i:nth-child(2n){animation-duration:3.1s!important}.mx-coin-rain i:nth-child(3n){animation-duration:2.15s!important}
.tier-royal{--tier:#56d8ff}.tier-royal .mx-win-copy{border-color:#88dbff;background:radial-gradient(circle at 50% 0,#8bdfff42,transparent 48%),linear-gradient(155deg,#12364cee,#06111bee 62%,#231607ee)}
.tier-harvest{--tier:#8cff92}.tier-harvest .mx-win-copy{border-color:#b9e978;background:radial-gradient(circle at 50% 0,#d8ff8540,transparent 48%),linear-gradient(155deg,#24471dee,#09150aee 62%,#302006ee)}
.tier-treasure{--tier:#ff9a51}.tier-treasure .mx-win-copy{border-color:#ffbf67;background:radial-gradient(circle at 50% 0,#ff8f433d,transparent 48%),linear-gradient(155deg,#5b210fee,#160805ee 62%,#321704ee)}
.tier-ancestral{--tier:#be8cff}.tier-ancestral .mx-win-copy{border-color:#cda2ff;background:radial-gradient(circle at 50% 0,#bd86ff47,transparent 48%),linear-gradient(155deg,#301b55ee,#0d081aee 62%,#241207ee)}.tier-ancestral .mx-win-rays{border-color:#cb9dff;box-shadow:inset 0 0 48px #9a5dff66,0 0 68px #9a5dff88}
.tier-max{--tier:#ffdc63;background-image:linear-gradient(180deg,#03100c55,#010403e8),url('/mazi-max/compound.webp')}.tier-max .mx-win-copy{width:min(62vw,860px);border-color:#fff0a0;background:radial-gradient(circle at 50% 0,#fff0a65c,transparent 45%),linear-gradient(155deg,#1c5948f2,#071912f4 58%,#542109f2);animation:maxPlaqueReveal .9s 2.45s cubic-bezier(.12,.84,.18,1) both}.tier-max .mx-win-copy span{font-size:clamp(2.6rem,6.5vw,6.6rem);animation:maxTitleClimax .9s 2.75s cubic-bezier(.12,.88,.16,1) both}.tier-max .mx-win-copy b{animation:maxAmountClimax 1s 3s ease-out both}.tier-max .mx-win-chief{animation:maxChiefArrival 1.1s 2.05s cubic-bezier(.12,.84,.16,1) both,chiefCelebrate 1.3s 3.2s ease-in-out infinite alternate}.tier-max .mx-win-vault{z-index:6}.tier-max .mx-win-gate{z-index:5}
.event-max-trigger .mx-event-stage{animation:maxTrigger 1.55s ease both}.event-max-trigger .mx-vault{animation:maxCabinetCharge 1.55s ease both}.event-max-trigger .mx-event-stage i{width:52%;border-color:#ffe68b;box-shadow:0 0 45px #ffd34d,0 0 90px #50ead2}.event-max-trigger .mx-event-stage strong{font-size:clamp(1.1rem,3vw,2.3rem);border-color:#ffe68b;color:#fff4b1;text-shadow:0 0 18px #ffc52f}
@keyframes winSceneIn{from{opacity:0;filter:brightness(3);transform:scale(1.08)}to{opacity:1;filter:none;transform:none}}@keyframes winRayReveal{from{opacity:0;transform:scale(.5) rotate(-25deg)}to{opacity:1}}@keyframes winShockwave{0%{inset:50%;opacity:0}30%{opacity:1}to{inset:4%;opacity:0}}@keyframes winOrbit{to{transform:rotate(360deg)}}@keyframes chiefEntrance{from{opacity:0;transform:translateX(-24%) scale(.7)}to{opacity:1;transform:none}}@keyframes chiefCelebrate{to{transform:translateY(-1.5%) scale(1.02);filter:drop-shadow(0 25px 30px #000) drop-shadow(0 0 35px #ffd15b99)}}@keyframes winPlaqueSlam{from{opacity:0;transform:translateY(-18%) scale(.45) rotateX(30deg)}65%{opacity:1;transform:translateY(2%) scale(1.06)}to{opacity:1;transform:none}}@keyframes winTitleSlam{from{opacity:0;transform:scale(2.4);letter-spacing:.22em}to{opacity:1;transform:none}}@keyframes amountIgnite{from{opacity:0;transform:scale(.55);filter:brightness(3)}55%{opacity:1;transform:scale(1.12)}to{opacity:1;transform:none}}@keyframes tapPulse{to{opacity:.48}}@keyframes maxPlaqueReveal{from{opacity:0;transform:scale(.25) rotate(-4deg);filter:brightness(4)}65%{opacity:1;transform:scale(1.08) rotate(1deg)}to{opacity:1;transform:none;filter:none}}@keyframes maxTitleClimax{from{opacity:0;transform:scale(3);letter-spacing:.28em;filter:brightness(4)}to{opacity:1;transform:none;letter-spacing:.015em;filter:none}}@keyframes maxAmountClimax{from{opacity:0;transform:scale(.35);filter:brightness(4)}60%{opacity:1;transform:scale(1.16)}to{opacity:1;transform:none;filter:none}}@keyframes maxChiefArrival{from{opacity:0;transform:translate(-25%,18%) scale(.62)}to{opacity:1;transform:none}}@keyframes maxTrigger{0%{opacity:0;transform:scale(.4)}18%,76%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.35)}}@keyframes maxCabinetCharge{0%,100%{filter:none}45%{filter:brightness(1.9) drop-shadow(0 0 35px #ffd85e);transform:scale(1.012)}}
@media(max-width:720px){.mx-win-copy{position:absolute;top:12%;left:5%;width:90%;margin:0;padding:20px 24px 18px;border-radius:20px}.mx-win-copy span{font-size:clamp(1.75rem,8vw,2.7rem)}.mx-win-copy b{font-size:clamp(2.7rem,13vw,4.6rem)}.mx-win-copy small{font-size:.9rem}.mx-win-copy em{margin-top:12px;font-size:.56rem}.mx-win-chief{left:50%;bottom:-9%;width:94vw;height:65vh;transform:translateX(-50%);background-position:center bottom;opacity:.82;animation:mobileChiefEntrance .95s .2s cubic-bezier(.12,.8,.18,1) both,mobileChiefCelebrate 1.8s 1.2s ease-in-out infinite alternate}.tier-max .mx-win-copy{top:10%;left:3%;width:94%}.tier-max .mx-win-chief{left:50%;width:100vw;height:68vh;animation:mobileMaxChief 1.1s 2.05s cubic-bezier(.12,.84,.16,1) both,mobileChiefCelebrate 1.3s 3.2s ease-in-out infinite alternate}.mx-win-rays{width:92vmin;height:92vmin}.mx-win-gate{width:51%}.mx-win-vault{width:74vmin}.mx-coin-rain i{width:clamp(11px,5vw,24px)}}
@keyframes mobileChiefEntrance{from{opacity:0;transform:translate(-50%,18%) scale(.7)}to{opacity:.82;transform:translateX(-50%)}}@keyframes mobileChiefCelebrate{to{transform:translate(-50%,-1.5%) scale(1.02);filter:drop-shadow(0 25px 30px #000) drop-shadow(0 0 35px #ffd15b99)}}@keyframes mobileMaxChief{from{opacity:0;transform:translate(-50%,22%) scale(.6)}to{opacity:.86;transform:translateX(-50%)}}

/* Reel performance, correctly proportioned mobile cabinet and themed multiplier coins */
.mx-track{transform:translate3d(0,0,0);backface-visibility:hidden;contain:layout paint}.mx-track .mx-cell{backface-visibility:hidden;contain:strict}.mx-cell[data-multi]:before{left:auto;right:5%;bottom:5%;width:clamp(27px,30%,42px);aspect-ratio:1;padding:0;display:grid;place-items:center;transform:none;border:2px solid #ffe7a0;border-radius:50%;background:radial-gradient(circle at 35% 28%,#fff5bb 0 8%,#e8a92f 26%,#8a430b 62%,#2b1203 78%);color:#fff8cf;font:1000 clamp(.52rem,1.4vw,.78rem)/1 Georgia,serif;text-shadow:0 1px 2px #3a1200,0 0 5px #fff0a0;box-shadow:inset 0 0 0 2px #6f350a,inset 0 0 9px #fff0a066,0 2px 6px #000c,0 0 8px #ffc74866}
@media(max-width:720px){html,body,#mazi-game{min-height:100%;height:auto;overflow-x:hidden;overflow-y:auto}.mx{min-height:100svh;height:auto}.mx-stage{height:auto;min-height:0;align-items:start;padding:6px 4px 14px}.mx-game{height:auto;grid-template-rows:38px auto 128px}.mx-vault{min-height:0}.mx-reels{width:100%;height:auto;aspect-ratio:5/4}.mx-console{height:128px;grid-template-columns:minmax(0,1fr) 78px minmax(0,1fr);grid-template-rows:56px 50px;gap:8px;padding:7px 8px}.mx-meter,.mx-bet,.mx-buy{width:100%;height:50px;min-width:0}.mx-spin{width:72px;height:72px;align-self:start}.mx-auto{width:66px;height:44px;align-self:center}.mx-bet{grid-template-columns:28px minmax(0,1fr) 28px;padding:0 5px}.mx-bet button{width:28px;height:28px}.mx-buy{padding:3px 5px;line-height:1.05}.mx-buy span{font-size:.48rem}.mx-buy small{font-size:.34rem}.mx-cell[data-multi]:before{right:4%;bottom:4%;width:29%;min-width:22px;max-width:32px;font-size:clamp(.48rem,2.4vw,.65rem)}}
@media(max-width:720px){.mx-win-copy,.tier-max .mx-win-copy{top:auto;bottom:4%;left:4%;width:92%;margin:0;padding:15px 22px 14px;border-radius:18px}.mx-win-copy span,.tier-max .mx-win-copy span{font-size:clamp(1.45rem,7vw,2.35rem)}.mx-win-copy b{margin-top:7px;font-size:clamp(2.35rem,11vw,3.9rem)}.mx-win-copy small{margin-top:7px;font-size:.78rem}.mx-win-copy em{margin-top:8px}.mx-win-chief,.tier-max .mx-win-chief{left:50%;bottom:22%;width:92vw;height:68vh;background-position:center bottom;opacity:.94}.mx-win-rays{top:7%;width:82vmin;height:82vmin}.tier-max .mx-win-chief{height:70vh}}
.mx-console{grid-template-columns:1fr 1.15fr 100px 1.2fr 1.35fr 66px 66px}.mx-turbo{height:46px;border:1px solid #59d9c3!important;border-radius:16px;background:radial-gradient(circle at 50% 0,#79f5dd44,transparent 58%),linear-gradient(180deg,#176454,#06251f)!important;color:#fff0ad;font-size:.62rem;font-weight:1000;box-shadow:inset 0 1px #e4fff9a3,inset 0 -10px 16px #0009,0 4px 10px #0008!important}.mx-turbo b{display:block;margin-top:2px;color:#6dffe5}.mx.spinning .mx-turbo{box-shadow:inset 0 1px #e4fff9a3,inset 0 -10px 16px #0009,0 0 16px #4ff0d899!important}
@media(max-width:720px){.mx-game{grid-template-rows:38px auto 160px}.mx-console{height:160px;grid-template-columns:minmax(0,1fr) 100px minmax(0,1fr);grid-template-rows:84px 52px;gap:10px 8px;padding:7px 8px}.mx-spin{align-self:center;justify-self:center;width:72px;height:72px}.mx-auto,.mx-turbo{grid-row:2;width:46px;height:46px;padding:0 2px;font-size:.5rem;align-self:center}.mx-auto{grid-column:2;justify-self:start}.mx-turbo{grid-column:2;justify-self:end}.mx-turbo b{font-size:.56rem}}

@media(max-width:380px){.mx-bet{grid-template-columns:28px minmax(0,1fr) 28px;grid-template-rows:16px 28px;gap:0;padding:2px 5px}.mx-bet>span{grid-column:1/-1;grid-row:1}.mx-bet span b{display:inline;margin:0 0 0 3px;font-size:.65rem}.mx-bet #down{grid-column:1;grid-row:2}.mx-bet #up{grid-column:3;grid-row:2}}

/* One control console: readable meters, central spin medallion, independent speed controls. */
.mx-console .mx-meter span,.mx-console .mx-bet>span{font-size:10px;letter-spacing:.08em;color:#d9c999}
.mx-console .mx-meter b,.mx-console .mx-bet span b{font-size:16px;color:#fff1bf}
.mx-console .mx-auto,.mx-console .mx-turbo{border:2px solid #d7ad53!important;background:linear-gradient(180deg,#255949,#12382d 48%,#061c16)!important;color:#fff0bd;font-size:12px;letter-spacing:.06em}
.mx-logo b{color:#ffe09a;text-shadow:0 2px 0 #652507,0 4px 8px #000}
.mx-top{background:linear-gradient(180deg,#17392e,#061b14);border-bottom-color:#bf9442}.mx-top button{min-height:30px;border:1px solid #c8a25a;border-radius:18px;background:linear-gradient(180deg,#255949,#082219);color:#ffe9b2;font-size:11px;letter-spacing:.06em}
.mx-top>button:first-child{justify-self:start}.mx-console .mx-buy:before{display:none}
@media(max-width:720px){
  .mx-game{grid-template-rows:38px auto 214px}
  .mx-console{height:214px;padding:8px;gap:10px;grid-template-columns:minmax(0,1fr) 46px 46px minmax(0,1fr);grid-template-rows:40px 88px 44px;grid-template-areas:'win win balance balance' 'bet spin spin buy' 'autoplay autoplay turbo turbo'}
  .mx-console>.mx-meter:first-child{grid-area:win}.mx-console>.mx-meter:nth-of-type(3){grid-area:balance}
  .mx-console .mx-meter{height:40px;border:0!important;border-bottom:1px solid #b7924f!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;flex-direction:column;gap:3px}
  .mx-console .mx-meter b{margin:0;font-size:16px}.mx-console .mx-meter span{font-size:9px;max-width:100%;white-space:nowrap;text-align:center}
  .mx-console .mx-spin{grid-area:spin;justify-self:center;align-self:center;width:76px;height:76px;font-size:15px}
  .mx-console .mx-bet{grid-area:bet;height:80px;width:100%;padding:6px;grid-template-columns:28px 1fr 28px;grid-template-rows:36px 28px;gap:3px 0;border:1px solid #c69a48!important;border-radius:14px!important}
  .mx-console .mx-bet>span{grid-column:1/-1;grid-row:1;font-size:10px}.mx-console .mx-bet span b{display:block;margin-top:3px;font-size:15px}
  .mx-console .mx-bet #down{grid-column:1;grid-row:2}.mx-console .mx-bet #up{grid-column:3;grid-row:2}
  .mx-console .mx-buy{grid-area:buy;height:80px;width:100%;padding:6px;border:2px solid #d7ad53!important;border-radius:14px!important;background:linear-gradient(160deg,#9d681d,#58350a 48%,#241204)!important}
  .mx-console .mx-buy span{font-size:clamp(9px,2.8vw,11px);line-height:1.2;letter-spacing:0}.mx-console .mx-buy small{font-size:8px;line-height:1.2;margin-top:6px;color:#ffe4a1}
  .mx-console .mx-auto{grid-area:autoplay}.mx-console .mx-turbo{grid-area:turbo}
  .mx-console .mx-auto,.mx-console .mx-turbo{width:100%;height:44px;justify-self:stretch;align-self:center;border-radius:22px!important;font-size:12px}
  .mx-console .mx-auto b,.mx-console .mx-turbo b{display:inline;margin-left:8px;font-size:13px;color:#fff0bd}
  .mx-top{grid-template-columns:auto minmax(0,1fr) auto;gap:4px}.mx-top button{white-space:nowrap;font-size:10px;padding:5px 8px}.mx-top .mx-logo{min-width:0;padding-inline:20px}.mx-top .mx-logo b{font-size:clamp(13px,4.3vw,17px)}
}

@media(max-width:720px){.mx-modal .mx-card{width:100%;max-height:calc(100svh - 36px);overflow-y:auto}.mx-modal .mx-room i{width:min(22vw,96px)}.mx-modal .mx-room b{font-size:11px}.mx-modal .mx-room small{font-size:10px}}

@media(orientation:landscape) and (max-height:620px){
  .mx-stage{height:calc(100svh - 34px);min-height:0;margin-top:34px;padding:8px 18px 12px}
  .mx-game{width:min(760px,100%);height:100%;grid-template-columns:minmax(0,1fr) clamp(190px,28vw,220px);grid-template-rows:30px minmax(0,1fr);grid-template-areas:'status console' 'vault console';gap:8px 12px}
  .mx-status{grid-area:status;margin:0;padding:0 8px}.mx-vault{grid-area:vault;margin:0;padding:26px 20px 22px;min-height:0}.mx-reels{height:100%;aspect-ratio:auto}
  .mx-vault:after{border-image-width:32px 24px 28px;border-width:32px 24px 28px}
  .mx-console{grid-area:console;margin:0;height:100%;padding:8px;grid-template-columns:1fr 1fr;grid-template-rows:40px 90px 66px 40px;grid-template-areas:'win balance' 'spin spin' 'bet buy' 'autoplay turbo';gap:8px;align-content:center}
  .mx-console>.mx-meter:first-child{grid-area:win}.mx-console>.mx-meter:nth-of-type(3){grid-area:balance}
  .mx-console .mx-meter{height:40px;width:100%;min-width:0;flex-direction:column;gap:3px;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
  .mx-console .mx-meter span{font-size:8px;white-space:normal;text-align:center}.mx-console .mx-meter b{font-size:13px;margin:0}
  .mx-console .mx-spin{grid-area:spin;width:76px;height:76px;align-self:center;justify-self:center;font-size:14px}
  .mx-console .mx-bet{grid-area:bet;width:100%;height:66px;padding:4px;grid-template-columns:28px 1fr 28px;grid-template-rows:24px 28px;gap:3px 0}
  .mx-console .mx-bet>span{grid-column:1/-1;grid-row:1;font-size:9px}.mx-console .mx-bet span b{display:inline;font-size:13px;margin-left:3px}.mx-console .mx-bet #down{grid-column:1;grid-row:2}.mx-console .mx-bet #up{grid-column:3;grid-row:2}.mx-console .mx-bet button{width:28px;height:28px}
  .mx-console .mx-buy{grid-area:buy;width:100%;height:66px;padding:4px}.mx-console .mx-buy span{font-size:10px;line-height:1.2}.mx-console .mx-buy small{font-size:8px}
  .mx-console .mx-auto{grid-area:autoplay}.mx-console .mx-turbo{grid-area:turbo}.mx-console .mx-auto,.mx-console .mx-turbo{width:100%;height:40px;align-self:center;justify-self:stretch;font-size:10px}.mx-console .mx-auto b,.mx-console .mx-turbo b{display:inline;font-size:11px;margin-left:3px}
}
.mx-modal .mx-card{max-height:calc(100svh - 32px);overflow-y:auto}

/* Winning symbols keep their landed geometry throughout the celebration. */
.mx-cell{background-image:radial-gradient(circle at 50% 43%,#0b3140,#020610 74%);background-size:100%;background-position:center}.mx-symbol{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:hidden;pointer-events:none}
@keyframes winPulse{to{filter:brightness(1.3)}}
.mx-event-stage strong{position:absolute;bottom:calc(100% + 6px);left:0;right:0;max-width:100%;padding:3px 6px;background:#09251f;border-color:#cfab57;font-size:10px;text-align:center}

/* Golden Compound dialogs and chamber emblems */
.mx-modal{background:linear-gradient(180deg,#02080599,#020503eb),url('/mazi-max/compound.webp') center/cover;backdrop-filter:blur(6px)}.mx-card{position:relative;width:min(900px,96vw);padding:38px 42px 34px;border:2px solid #e7bd61;border-radius:28px;background:radial-gradient(circle at 50% -10%,#63e8ce30,transparent 42%),linear-gradient(155deg,#173e34f5,#07130ff7 57%,#351807f5);box-shadow:0 0 0 5px #2d1708,0 0 0 7px #c89136,inset 0 1px #fff0b8,inset 0 -22px 35px #000a,0 30px 80px #000e;overflow:visible}.mx-card:before,.mx-card:after{content:'◆';position:absolute;top:50%;transform:translateY(-50%);color:#62efd6;font-size:1.1rem;text-shadow:0 0 14px #62efd6}.mx-card:before{left:15px}.mx-card:after{right:15px}.mx-card>span{color:#6ff0d8;font-weight:900}.mx-card h2{color:#fff0ae;text-shadow:0 3px 0 #5b2506,0 7px 18px #000}.mx-card p{font-size:1rem;line-height:1.55;color:#f0e4c3}.mx-rooms{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:26px}.mx-room{display:grid;justify-items:center;align-content:start;min-width:0;padding:8px 8px 18px;border:0;background:transparent;text-align:center;overflow:visible}.mx-room i{width:min(100%,190px);aspect-ratio:1;height:auto;border:3px solid #edca74;border-radius:50%;background-color:#0b241e;background-size:400% 200%;box-shadow:0 0 0 5px #3b210c,0 0 0 7px #c8953d,inset 0 0 24px #000b,0 12px 26px #000a;transition:transform .2s ease,filter .2s ease}.mx-room:hover i,.mx-room:focus-visible i{transform:translateY(-5px) scale(1.04);filter:brightness(1.16)}.mx-room:focus-visible{outline:2px solid #72f2dc;outline-offset:5px}.mx-room b,.mx-room small{padding:0}.mx-room b{margin-top:18px;color:#ffe39a;font:1000 clamp(.8rem,1.7vw,1.2rem)/1 Georgia,serif;letter-spacing:.06em}.mx-room small{margin-top:8px;color:#8ff1df;font-size:.75rem;font-weight:800;line-height:1.3}.mx-card-actions button{min-height:50px;border:2px solid #e5bd60;border-radius:14px;background:radial-gradient(circle at 50% 0,#71f2d944,transparent 62%),linear-gradient(180deg,#1b5749,#09231d);color:#fff0b0;box-shadow:inset 0 1px #ecfff9a6,inset 0 -10px 16px #0008,0 6px 14px #0009}
@media(max-width:720px){.mx-modal{padding:10px}.mx-card{width:96vw;max-height:94svh;padding:24px 15px 20px;border-radius:20px}.mx-card:before,.mx-card:after{display:none}.mx-card h2{font-size:clamp(1.25rem,6vw,1.8rem);margin:6px 0 9px}.mx-card p{font-size:.88rem;margin:8px 7px}.mx-rooms{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:18px}.mx-room{display:grid;grid-template-columns:1fr;padding:4px 2px 10px}.mx-room i{width:min(25vw,104px);height:auto;aspect-ratio:1}.mx-room b{margin-top:12px;font-size:clamp(.58rem,2.8vw,.78rem);line-height:1.08}.mx-room small{margin-top:6px;font-size:clamp(.5rem,2.25vw,.64rem);line-height:1.22}.mx-card-actions{margin-top:14px}.mx-card-actions button{min-height:46px;padding:0 16px}}

/* The compound and its host remain visible in the base game. */
.mx-bg{inset:0;background:linear-gradient(180deg,#06161012,#06161020 65%,#03120b66),url('/mazi-max/compound.webp') center/cover no-repeat;filter:none;animation:compoundBreathe 18s ease-in-out infinite alternate}
.mx-atmosphere{background:radial-gradient(ellipse at 8% 30%,#ffd06b24,transparent 45%);animation:atmosphere 6s ease-in-out infinite alternate;pointer-events:none}
.mx-glyphs{display:none}
.mx-stage{grid-template-columns:minmax(220px,340px) minmax(0,1000px);gap:clamp(24px,3vw,58px);padding:26px 34px}
.mx-legend{display:flex;position:relative;min-width:0;justify-content:center;align-items:center;padding:0;align-self:stretch}
.mx-resident{width:100%;max-height:calc(100svh - 210px);aspect-ratio:2/3;filter:drop-shadow(0 18px 16px #0008);transform-origin:50% 95%;animation:residentBreathe 5s ease-in-out infinite}
.mx-resident img{display:block;width:100%;height:100%;object-fit:contain}
.mx-legend-copy{width:100%;padding:14px 12px;text-align:center;background:linear-gradient(90deg,transparent,#071c15d9 15% 85%,transparent);text-shadow:0 2px 5px #000}
.mx-legend-copy>span{font-size:12px;letter-spacing:.16em;color:#ffe3a0;font-weight:900}
.mx-legend .mx-legend-copy p{max-width:none;margin:8px 0 0;padding:0;border:0;font-size:15px;color:#fff2ce;line-height:1.4}
@keyframes compoundBreathe{to{transform:scale(1.025)}}
@keyframes residentBreathe{50%{transform:translateY(-3px) rotate(.35deg)}}
@media(max-width:1100px) and (min-width:721px) and (min-height:621px){.mx-stage{grid-template-columns:170px minmax(0,1fr);gap:18px;padding:22px}.mx-legend-copy>span{font-size:10px}.mx-legend .mx-legend-copy p{font-size:13px}.mx-console{gap:5px;padding-inline:6px;grid-template-columns:1fr 1.1fr 80px 1.1fr 1.2fr 54px 54px}.mx-spin{width:72px}.mx-buy{font-size:11px}}
@media(max-width:720px){.mx-stage{display:flex;flex-direction:column;gap:0;padding:0 10px 16px}.mx-legend{align-self:stretch;height:150px;min-height:150px;display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;padding:0 14px;overflow:hidden}.mx-resident{height:164px;width:110px;max-height:none;align-self:start}.mx-legend-copy{padding:12px 8px}.mx-legend-copy>span{font-size:10px}.mx-legend .mx-legend-copy p{font-size:13px}.mx-bg{background-position:42% center}.mx-game{width:100%;flex:none}}
@media(orientation:landscape) and (max-height:620px){.mx-stage{display:grid;grid-template-columns:110px minmax(0,760px);gap:12px;padding:8px 18px 12px}.mx-legend{display:flex;height:auto;min-height:0;padding:0;overflow:visible}.mx-resident{width:110px;height:190px;max-height:calc(100svh - 130px)}.mx-legend-copy{padding:7px 3px}.mx-legend-copy>span{font-size:9px}.mx-legend .mx-legend-copy p{font-size:11px}.mx-game{min-width:0}}
@media(prefers-reduced-motion:reduce){.mx-bg,.mx-atmosphere,.mx-resident{animation:none}}

.mx-bonus-total{display:block;margin:18px 0 10px;color:#ffe49b;font:900 clamp(2rem,8vw,4rem)/1.1 Georgia,serif;overflow-wrap:anywhere}

/* Keep celebrations framed and readable instead of filling the browser. */
.mx-cinema,.mx-win{inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(850px,94vw);height:min(580px,88svh);padding:20px;border:2px solid #e5bd60;border-radius:24px;overflow:hidden;box-shadow:0 0 0 100vmax #0009,0 18px 70px #000c}
.mx-cinema-chief{height:82%;width:46%;left:26%;bottom:0}
.mx-cinema-copy{position:absolute;left:47%;right:4%;top:30%;margin:0;text-align:center}
.mx-cinema-copy h2{font-size:clamp(1.5rem,3.5vw,3rem);line-height:1.05}
.mx-cinema-copy p{font-size:14px;line-height:1.4}
.mx-win-chief,.tier-max .mx-win-chief{left:0;bottom:0;width:43%;height:94%;transform:none}
.mx-win-copy,.tier-max .mx-win-copy{position:absolute;left:43%;right:3%;top:50%;bottom:auto;transform:translateY(-50%);width:auto;margin:0;padding:22px 20px;clip-path:none;animation:none}
.mx-win-copy span,.tier-max .mx-win-copy span{font-size:clamp(1.5rem,3vw,2.8rem)}
.mx-win-copy b{font-size:clamp(2rem,4.5vw,4rem)}
.mx-win-rays{width:480px;height:480px;max-width:85%;max-height:85%}
.mx-win-vault{width:70%;max-height:80%}
.mx-modal .mx-card{width:min(620px,94vw);padding:24px 26px}
.mx-card h2{font-size:clamp(1.4rem,3vw,2.2rem)}
.mx-rooms{gap:18px}.mx-room i{width:min(100%,140px)}
@media(max-width:720px){
 .mx-cinema,.mx-win{width:94vw;height:min(520px,84svh);padding:14px;border-radius:18px}
 .mx-cinema-chief{left:50%;width:65%;height:65%;bottom:29%}
 .mx-cinema-copy{left:5%;right:5%;top:auto;bottom:5%}
 .mx-cinema-copy h2{font-size:1.65rem}.mx-cinema-copy p{font-size:12px}
 .mx-win-chief,.tier-max .mx-win-chief{left:50%;bottom:29%;width:70%;height:67%;transform:translateX(-50%);animation:none;opacity:1}
 .mx-win-copy,.tier-max .mx-win-copy{left:5%;right:5%;top:auto;bottom:4%;width:auto;transform:none;padding:14px 12px}
 .mx-win-copy span,.tier-max .mx-win-copy span{font-size:1.4rem}.mx-win-copy b{font-size:2.3rem}.mx-win-copy small{font-size:12px}
 .mx-modal .mx-card{padding:22px 18px}.mx-rooms{gap:14px}
}
@media(orientation:landscape) and (max-height:620px){.mx-cinema,.mx-win{height:88svh}.mx-cinema-copy{top:20%}.mx-win-copy b{font-size:2.2rem}.mx-win-copy span,.tier-max .mx-win-copy span{font-size:1.6rem}}

.mx-event-stage i{display:none}.mx-cinema.leave{animation:panelFade .55s ease both}@keyframes panelFade{to{opacity:0}}

.mx-vault>.mx-win:not(.tier-max){position:absolute;inset:0;width:100%;height:100%;max-height:none;transform:none;border:0;border-radius:0;box-shadow:none;z-index:25;padding:10px;container-type:size}
.mx-vault>.mx-win:not(.tier-max) .mx-win-chief{left:0;bottom:0;width:42%;height:90%;transform:none;animation:none}
.mx-vault>.mx-win:not(.tier-max) .mx-win-copy{left:41%;right:3%;top:50%;bottom:auto;transform:translateY(-50%);padding:clamp(8px,3cqw,24px);border-radius:14px}
.mx-vault>.mx-win:not(.tier-max) .mx-win-copy span{font-size:clamp(14px,4.5cqw,36px)}
.mx-vault>.mx-win:not(.tier-max) .mx-win-copy b{font-size:clamp(22px,7cqw,58px)}
.mx-vault>.mx-win:not(.tier-max) .mx-win-copy small{font-size:clamp(10px,2.5cqw,18px)}
.mx-vault>.mx-win:not(.tier-max) .mx-win-copy em{font-size:clamp(8px,1.6cqw,12px)}
.mx-win.tier-max{position:fixed;inset:0;width:100%;height:100svh;max-height:none;transform:none;border:0;border-radius:0;box-shadow:none}
.mx-win.tier-max .mx-win-chief{width:43%;height:94%;left:0;bottom:0;transform:none}
.mx-win.tier-max .mx-win-copy{left:43%;right:5%;width:auto;top:50%;bottom:auto;transform:translateY(-50%)}
@media(max-width:720px){.mx-win.tier-max .mx-win-chief{width:90%;height:67%;left:50%;bottom:28%;transform:translateX(-50%)}.mx-win.tier-max .mx-win-copy{left:5%;right:5%;top:auto;bottom:5%;transform:none}}

/* Center the entrance as a panel in a viewport-sized grid, without transform offsets. */
.mx-cinema{position:fixed;inset:0;width:100%;height:100svh;transform:none;padding:16px;display:grid;place-items:center;border:0;border-radius:0;background:#0008;box-shadow:none;overflow:hidden}
.mx-cinema-panel{position:relative;width:min(850px,100%);height:min(580px,calc(100svh - 32px));margin:auto;border:2px solid #e5bd60;border-radius:24px;overflow:hidden;background:#061b14;box-shadow:0 18px 70px #000c}
.mx-modal{inset:0;width:100%;height:100svh;display:grid;place-items:center;transform:none}.mx-modal .mx-card{justify-self:center;align-self:center;margin:0}
@media(max-width:720px){.mx-cinema-panel{height:min(520px,calc(100svh - 32px));border-radius:18px}}

.mx-expansion{position:absolute;inset:0;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse,#956c1a,#11291b 70%);border:2px solid #ffe393;box-shadow:inset 0 0 25px #ffd65b88;pointer-events:none;overflow:hidden}.mx-expansion img{width:100%;height:100%;object-fit:cover;object-position:50% 0}.mx-expansion b{position:absolute;bottom:3%;color:#fff0b0;font:900 clamp(15px,3vw,36px) Georgia,serif;text-shadow:0 2px 4px #000}

/* Locked values have their own caption space, not a coin covering the artwork. */
.mx-cell{container-type:inline-size}
.mx-cell[data-multi] .mx-symbol{height:78%}
.mx-cell[data-multi]:before{left:50%;right:auto;bottom:3%;transform:translateX(-50%);width:auto;max-width:90%;height:19%;min-height:12px;aspect-ratio:auto;padding:0 5px;display:flex;align-items:center;justify-content:center;border:1px solid #eac36b;border-radius:5px;background:linear-gradient(#765019,#2c1905);color:#fff2bd;font:900 clamp(8px,17cqw,14px)/1 Arial,sans-serif;text-shadow:0 1px 2px #000;box-shadow:inset 0 1px #ffebb766,0 1px 3px #000a;white-space:nowrap;overflow:hidden}
