/* Colorfall gameplay polish: loaded globally but scoped to the two game shells. */
.match3-game-page .match3-game-shell{border:0!important;background:transparent!important;box-shadow:none!important}
.match3-game-page .match3-game-shell>header{padding:9px 11px!important;border:0!important;border-radius:15px!important;background:linear-gradient(105deg,#ec48991c,#8b5cf617 54%,#06b6d417)!important;box-shadow:none!important}
.match3-game-page .match3-game-shell>header .badge,.match3-game-page .m3j-level-badge{border:1px solid #f9a8d44d!important;background:linear-gradient(110deg,#ec48992e,#8b5cf62c)!important;color:#fdf2f8!important;box-shadow:inset 0 1px #fff2,0 5px 14px #0004!important}
.match3-game-page .match3-hud{gap:7px!important}
.match3-game-page .match3-hud{padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
.match3-game-page .match3-hud>div,.match3-game-page .match3-hud>button{position:relative;overflow:hidden;border:1px solid #ffffff42!important;background:#111429!important;box-shadow:inset 0 1px #ffffff38,0 6px 14px #0007!important}
.match3-game-page .match3-hud>div:before,.match3-game-page .match3-hud>button:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:var(--hud-accent,#c084fc);box-shadow:0 0 12px var(--hud-accent,#c084fc)}
.match3-game-page .match3-hud>div:nth-child(1){--hud-accent:#ffd236;background:linear-gradient(145deg,#74440b,#2f1b20 72%)!important}.match3-game-page .match3-hud>div:nth-child(2){--hud-accent:#38efff;background:linear-gradient(145deg,#07566a,#10264c 72%)!important}.match3-game-page .match3-hud>div:nth-child(3){--hud-accent:#ff63c3;background:linear-gradient(145deg,#76204f,#35183f 72%)!important}.match3-game-page .match3-hud>button{--hud-accent:#c084fc;background:linear-gradient(145deg,#6d3bd1,#3730a3 74%)!important}
.match3-game-page .match3-hud small{color:#cbd5e1!important}.match3-game-page .match3-hud strong{color:#fff!important;text-shadow:0 0 14px var(--hud-accent,#c084fc)}
.match3-game-page .match3-goals{border-color:#a855f766!important;background:radial-gradient(circle at 100% 0,#087d9966,transparent 38%),radial-gradient(circle at 0 100%,#a21caf52,transparent 42%),linear-gradient(135deg,#261442,#10233d)!important;box-shadow:inset 0 1px #ffffff30,0 10px 24px #0006!important}.match3-game-page .match3-goals header strong{color:#ffe45e!important;text-shadow:0 0 12px #f59e0b88}.match3-game-page .match3-goals>div>i{background:#070d20b8!important}.match3-game-page .match3-goals>div>i:after{background:linear-gradient(90deg,#ff2caf,#8b5cf6,#20e7ff)!important}
.match3-game-page .match3-goals{border:0!important;box-shadow:0 8px 20px #0005!important}
.match3-classic-game .match3-game-shell{isolation:isolate!important;border:1px solid #d946ef45!important;border-radius:30px!important;background:radial-gradient(circle at 4% 4%,#ff2caf26,transparent 26%),radial-gradient(circle at 96% 28%,#00d9f524,transparent 30%),linear-gradient(145deg,#25103c 0%,#11153a 48%,#071d31 100%)!important;box-shadow:inset 0 1px #ffffff35,inset 0 -2px #02061799,0 24px 65px #000a,0 0 34px #8b5cf625!important}
.match3-classic-game .m3c-play-nav{border:1px solid #ffffff26!important;background:linear-gradient(105deg,#c51b735c,#6d28d95c 54%,#0784a35c)!important;box-shadow:inset 0 1px #ffffff36,0 8px 18px #0004!important}
.match3-classic-game .m3c-play-nav h1{color:#fff!important;text-shadow:0 2px 12px #4c1d95}
.match3-classic-game .match3-hud>div,.match3-classic-game .match3-hud>button{border-width:1px!important;border-color:#ffffff4d!important;box-shadow:inset 0 2px #ffffff42,inset 0 -3px #0206174d,0 7px 16px #0006!important}
.match3-classic-game .match3-goals{border:1px solid #ffffff30!important;box-shadow:inset 0 1px #ffffff35,0 10px 24px #0006,0 0 22px #a855f728!important}
.match3-classic-game .match3-goals [data-match3-goal]{border-color:#ffffff22!important;background:#070d2085!important;box-shadow:inset 0 1px #ffffff12!important}
.match3-classic-game .match3-board-wrap{padding:7px!important;border:2px solid #ae65ff9c!important;border-radius:27px!important;background:linear-gradient(135deg,#e72b8947,#7038d95c 47%,#00b8d94a)!important;box-shadow:inset 0 2px #ffffff66,inset 0 -5px #02061782,0 9px 0 #35105d,0 20px 36px #000a,0 0 30px #22d3ee2e!important}
.match3-classic-game .match3-board{width:100%!important;border-radius:19px!important}
.match3-classic-game .match3-touch-hint{padding:8px 12px!important;border:1px solid #ffffff1f!important;border-radius:11px!important;background:#080d20d9!important;color:#dbeafe!important}
.match3-classic-game .game-pause-orb,.match3-classic-game .game-audio-docked{min-width:42px!important;width:42px!important;min-height:42px!important;height:42px!important;border-radius:13px!important}
.match3-classic-game .match3-hud,.match3-classic-game .match3-goals{width:100%!important;margin:0!important;border:1px solid #ffffff26!important;background:linear-gradient(155deg,#18264a,#17132f)!important;backdrop-filter:none!important}
.match3-classic-game .match3-hud{padding:8px!important;border-radius:20px 20px 12px 12px!important;box-shadow:inset 0 1px #ffffff2e!important}
.match3-classic-game .match3-goals{align-self:start!important;height:auto!important;min-height:0!important;padding:14px!important;border-radius:12px 12px 20px 20px!important;box-shadow:inset 0 1px #ffffff20!important}
.match3-classic-game .match3-hud>div{min-height:66px!important;border-color:#ffffff38!important;box-shadow:inset 0 1px #ffffff3d,0 5px 12px #0005!important}
.m3j-game .match3-board-wrap{border:2px solid color-mix(in srgb,var(--m3j-level-accent,#f472b6) 62%,#ffffff 18%)!important;background:linear-gradient(145deg,color-mix(in srgb,var(--m3j-level-accent,#f472b6) 32%,#27345a),#10172f 42%,#060b19 100%)!important;background-image:linear-gradient(145deg,color-mix(in srgb,var(--m3j-level-accent,#f472b6) 32%,#27345a),#10172f 42%,#060b19 100%)!important;box-shadow:inset 0 2px 1px #ffffff55,inset 0 -7px 12px #02061799,0 7px 0 color-mix(in srgb,var(--m3j-level-accent,#f472b6) 32%,#111827),0 16px 28px #0009,0 0 22px color-mix(in srgb,var(--m3j-level-accent,#f472b6) 26%,transparent)!important}
.m3j-game .match3-board-wrap:before{content:none!important;display:none!important;border:0!important;background:none!important;box-shadow:none!important}
.m3j-game .match3-board-wrap:after{content:none!important;display:none!important}
.m3j-game .m3j-objective-chips .m3j-objective-art{position:relative!important;isolation:isolate;display:block!important;width:34px!important;height:34px!important;min-width:34px!important;overflow:visible!important;margin:0!important;border:0!important;border-radius:9px!important;background-color:transparent!important;background-image:url('/assets/images/match3/m3j-objective-atlas-v1.png?v=1')!important;background-repeat:no-repeat!important;background-size:400% 300%!important;box-shadow:none!important;filter:drop-shadow(0 3px 4px #0009)!important;transform:none!important;pointer-events:none!important}
.m3j-game .m3j-objective-chips .objective-art-ice{background-position:0 0!important}.m3j-game .m3j-objective-chips .objective-art-wood{background-position:33.333% 0!important}.m3j-game .m3j-objective-chips .objective-art-concrete{background-position:66.667% 0!important}.m3j-game .m3j-objective-chips .objective-art-mold{background-position:100% 0!important}.m3j-game .m3j-objective-chips .objective-art-crystal{background-position:0 50%!important}.m3j-game .m3j-objective-chips .objective-art-chain{background-position:33.333% 50%!important}.m3j-game .m3j-objective-chips .objective-art-vine{background-position:66.667% 50%!important}.m3j-game .m3j-objective-chips .objective-art-prism{background-position:100% 50%!important}.m3j-game .m3j-objective-chips .objective-art-key{background-position:0 100%!important}.m3j-game .m3j-objective-chips .objective-art-shadow{background-position:33.333% 100%!important}.m3j-game .m3j-objective-chips .objective-art-core{background-position:66.667% 100%!important}
.m3j-objective-shadow-motion,.m3j-objective-core-motion{position:absolute;z-index:4;inset:0;display:block;pointer-events:none}.m3j-objective-shadow-motion{animation:m3j-objective-orbit 4.8s linear infinite}.m3j-objective-shadow-motion b{position:absolute;top:50%;left:50%;display:block;width:7px;height:7px;border:1px solid #fff;border-radius:40%;background:var(--objective-sigil,#a62cff);box-shadow:inset 0 1px #fff9,0 0 6px var(--objective-sigil,#a62cff);transform:translate(-50%,-50%) rotate(var(--orbit-angle,0deg)) translateY(-18px)}.m3j-objective-shadow-motion b:nth-child(2){--orbit-angle:120deg}.m3j-objective-shadow-motion b:nth-child(3){--orbit-angle:240deg}.m3j-objective-shadow-motion .gem-violet{--objective-sigil:#a62cff}.m3j-objective-shadow-motion .gem-cyan{--objective-sigil:#00d9f5}.m3j-objective-shadow-motion .gem-coral{--objective-sigil:#ff2858}.m3j-objective-shadow-motion .gem-gold{--objective-sigil:#ffb800}.m3j-objective-shadow-motion .gem-mint{--objective-sigil:#00dc69}.m3j-objective-shadow-motion .gem-pink{--objective-sigil:#ff2caf}
.m3j-objective-core-motion{animation:m3j-objective-core-turn 5.2s linear infinite}.m3j-objective-core-motion b{position:absolute;top:50%;left:50%;display:block;width:82%;height:34%;border:1px solid #fff9;border-radius:50%;box-shadow:0 0 5px #67e8f9;transform:translate(-50%,-50%) rotate(var(--core-ring,0deg))}.m3j-objective-core-motion b:nth-child(2){--core-ring:60deg}.m3j-objective-core-motion b:nth-child(3){--core-ring:120deg}@keyframes m3j-objective-orbit{to{transform:rotate(360deg)}}@keyframes m3j-objective-core-turn{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.m3j-objective-shadow-motion,.m3j-objective-core-motion{animation:none!important}}
.match3-game-page .m3j-hud-audio,.match3-game-page .game-audio-docked{border-color:#d8b4fe99!important;background:linear-gradient(145deg,#7c3aed,#4338ca)!important;color:#fff!important;box-shadow:inset 0 1px #ffffff66,0 7px 16px #312e81aa,0 0 14px #8b5cf655!important}
.match3-game-page .game-pause-orb{border-color:#67e8f999!important;background:linear-gradient(145deg,#0891b2,#2563eb)!important;color:#fff!important;box-shadow:inset 0 1px #ffffff66,0 7px 16px #07598599,0 0 13px #22d3ee44!important}
.match3-game-page .m3j-abandon-button,.match3-game-body .game-shell-controls [data-match3-abandon] .m3j-abandon-button{border-color:#f9a8d499!important;background:linear-gradient(145deg,#db2777,#9d174d)!important;color:#fff!important;box-shadow:inset 0 1px #ffffff55,0 7px 16px #83184388!important}
.match3-game-page .m3j-hud-audio:hover,.match3-game-page .game-audio-docked:hover,.match3-game-page .game-pause-orb:hover,.match3-game-page .m3j-abandon-button:hover{filter:brightness(1.12) saturate(1.08)!important}
.match3-game-page .match3-board{border-color:#22d3ee32!important;background:radial-gradient(circle at 50% 0,#8b5cf626,transparent 45%),linear-gradient(145deg,#11162e,#061522)!important;box-shadow:inset 0 0 45px #0008,inset 0 1px #ffffff13,0 18px 50px #0007,0 0 28px #06b6d417!important}
.match3-game-page .match3-board .match3-gem:not(.special):not(.m3j-obstacle)>i{border-color:#ffffff82!important;border-radius:26%!important;filter:saturate(1.28) brightness(1.045) contrast(1.025)!important;box-shadow:inset 0 6px 10px #ffffff59,inset 0 -8px 12px #02061752,0 4px 0 var(--m3-gem-rim,#4c1d95),0 8px 15px #0007,0 0 9px color-mix(in srgb,var(--m3-gem-rim,#8b5cf6) 32%,transparent)!important}
.match3-game-page .match3-board .gem-violet:not(.special):not(.m3j-obstacle)>i{background:linear-gradient(145deg,#dda1ff 0%,#a62cff 45%,#6500d8 100%)!important}
.match3-game-page .match3-board .gem-cyan:not(.special):not(.m3j-obstacle)>i{background:linear-gradient(145deg,#8cffff 0%,#00d9f5 45%,#0082a8 100%)!important}
.match3-game-page .match3-board .gem-coral:not(.special):not(.m3j-obstacle)>i{background:linear-gradient(145deg,#ffabb6 0%,#ff2858 45%,#bd003c 100%)!important}
.match3-game-page .match3-board .gem-gold:not(.special):not(.m3j-obstacle)>i{background:linear-gradient(145deg,#fff17a 0%,#ffb800 45%,#db6800 100%)!important}
.match3-game-page .match3-board .gem-mint:not(.special):not(.m3j-obstacle)>i{background:linear-gradient(145deg,#9affbd 0%,#00dc69 45%,#008d45 100%)!important}
.match3-game-page .match3-board .gem-pink:not(.special):not(.m3j-obstacle)>i{background:linear-gradient(145deg,#fface3 0%,#ff2caf 45%,#b5007d 100%)!important}
.match3-game-page .match3-board .match3-gem.special:not(.special-4).gem-violet{--special-base:radial-gradient(ellipse at 34% 12%,#ffffff82 0%,#ffffff2b 23%,transparent 48%),linear-gradient(145deg,#dda1ff 0%,#a62cff 45%,#6500d8 100%)!important}
.match3-game-page .match3-board .match3-gem.special:not(.special-4).gem-cyan{--special-base:radial-gradient(ellipse at 34% 12%,#ffffff8c 0%,#ffffff30 23%,transparent 48%),linear-gradient(145deg,#8cffff 0%,#00d9f5 45%,#0082a8 100%)!important}
.match3-game-page .match3-board .match3-gem.special:not(.special-4).gem-coral{--special-base:radial-gradient(ellipse at 34% 12%,#ffffff82 0%,#ffffff2b 23%,transparent 48%),linear-gradient(145deg,#ffabb6 0%,#ff2858 45%,#bd003c 100%)!important}
.match3-game-page .match3-board .match3-gem.special:not(.special-4).gem-gold{--special-base:radial-gradient(ellipse at 34% 12%,#ffffff94 0%,#ffffff35 23%,transparent 48%),linear-gradient(145deg,#fff17a 0%,#ffb800 45%,#db6800 100%)!important}
.match3-game-page .match3-board .match3-gem.special:not(.special-4).gem-mint{--special-base:radial-gradient(ellipse at 34% 12%,#ffffff82 0%,#ffffff2b 23%,transparent 48%),linear-gradient(145deg,#9affbd 0%,#00dc69 45%,#008d45 100%)!important}
.match3-game-page .match3-board .match3-gem.special:not(.special-4).gem-pink{--special-base:radial-gradient(ellipse at 34% 12%,#ffffff82 0%,#ffffff2b 23%,transparent 48%),linear-gradient(145deg,#fface3 0%,#ff2caf 45%,#b5007d 100%)!important}
.match3-game-page .match3-board .match3-gem.special:not(.special-4)>i{border-color:#ffffff73!important;filter:saturate(1.2) brightness(1.045)!important;box-shadow:inset 0 6px 9px #ffffff4a,inset 0 -8px 12px #0206174d,0 4px 0 var(--m3-gem-rim,#4c1d95),0 8px 14px #0007,0 0 10px color-mix(in srgb,var(--m3-gem-rim,#8b5cf6) 38%,transparent)!important}
.match3-game-page .match3-board .match3-gem:not(.special):not(.m3j-obstacle)>i:before{content:""!important;position:absolute!important;z-index:1!important;top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;display:block!important;width:72%!important;height:72%!important;box-sizing:border-box!important;border:1px solid #ffffff3d!important;border-radius:24%!important;background:linear-gradient(145deg,#ffffff10,#0206172b)!important;box-shadow:inset 0 3px 5px #02061745,inset 0 -2px 4px #ffffff20!important;transform:translate(-50%,-50%)!important;pointer-events:none!important}
.match3-game-page .match3-board .match3-gem:not(.special):not(.m3j-obstacle)>i:after{content:""!important;position:absolute!important;z-index:2!important;top:3%!important;right:7%!important;bottom:auto!important;left:7%!important;display:block!important;width:auto!important;height:43%!important;border-radius:25% 25% 45% 45%!important;background:linear-gradient(180deg,#ffffff45 0,#ffffff20 42%,transparent 100%)!important;filter:none!important;transform:none!important;pointer-events:none!important}
.match3-game-page .match3-board .match3-gem:not(.special):not(.m3j-obstacle)>i>span{z-index:4!important;inset:0!important;display:grid!important;place-items:center!important;font-size:clamp(15px,4.2vw,26px)!important;line-height:1!important;text-shadow:0 1px 2px #020617,0 0 7px #fff8!important;transform:none!important}
.match3-game-page .match3-gem.falling>i{animation:m3-colorfall-drop 250ms cubic-bezier(.2,.78,.3,1) both!important;animation-delay:var(--fall-delay,0ms)!important}.match3-game-page .match3-gem.clearing>i{animation:m3-colorfall-clear 190ms cubic-bezier(.35,0,.65,1) forwards!important;animation-delay:var(--clear-delay,0ms)!important}
@keyframes m3-colorfall-drop{0%{opacity:.7;transform:translate3d(var(--fall-x,0),var(--fall-y,var(--fall-offset)),0) scale(.96)}78%{opacity:1;transform:translate3d(0,3%,0) scale(1.015)}100%{opacity:1;transform:none}}
@keyframes m3-colorfall-clear{0%{opacity:1;transform:scale(1);filter:saturate(1.2) brightness(1)}48%{opacity:1;transform:scale(1.1);filter:saturate(1.35) brightness(1.55)}100%{opacity:0;transform:scale(.32);filter:brightness(1.8)}}
@media(max-width:680px){.match3-game-page .match3-game-shell>header{padding:7px 8px!important}.match3-classic-game{padding-inline:7px!important}.match3-classic-game .match3-game-shell{padding:9px!important;border-radius:22px!important}.match3-classic-game .match3-board-wrap{padding:5px!important;border-radius:21px!important;box-shadow:inset 0 1px #ffffff66,inset 0 -4px #02061782,0 6px 0 #35105d,0 13px 24px #0009,0 0 22px #22d3ee24!important}.match3-classic-game .match3-board{border-radius:15px!important}.match3-classic-game .match3-touch-hint{margin-top:14px!important}.match3-classic-game .match3-hud{padding:6px!important;border-radius:17px 17px 10px 10px!important}.match3-classic-game .match3-goals{padding:9px!important;border-radius:10px 10px 17px 17px!important}.match3-classic-game .match3-hud>div,.match3-classic-game .match3-hud>button{min-height:58px!important}.match3-classic-game .match3-hud>.m3j-hud-audio{min-width:46px!important}.match3-classic-game .game-pause-orb,.match3-classic-game .game-audio-docked{min-width:44px!important;width:44px!important;min-height:44px!important;height:44px!important}}
body.app-game-shell.match3-game-body .match3-classic-game .match3-hud{padding:6px!important;border:1px solid #ffffff2d!important;border-radius:17px 17px 10px 10px!important;background:linear-gradient(155deg,#18264a,#17132f)!important;box-shadow:inset 0 1px #ffffff2e!important}
body.app-game-shell.match3-game-body .match3-classic-game .match3-hud>div:nth-child(1){background:#9a570d!important;border-color:#ffd76d!important}body.app-game-shell.match3-game-body .match3-classic-game .match3-hud>div:nth-child(2){background:#087d98!important;border-color:#67e8f9!important}body.app-game-shell.match3-game-body .match3-classic-game .match3-hud>div:nth-child(3){background:#85205d!important;border-color:#ff8bd0!important}body.app-game-shell.match3-game-body .match3-classic-game .match3-hud>.m3j-hud-audio{background:linear-gradient(145deg,#6d38d0,#3746bc)!important;border-color:#c4b5fd!important;color:#fff!important}
body.app-game-shell.match3-game-body .match3-classic-game .match3-goals{height:auto!important;min-height:0!important;padding:9px!important;border:1px solid #ffffff2d!important;border-radius:10px 10px 17px 17px!important;background:radial-gradient(circle at 100% 0,#087d9966,transparent 38%),radial-gradient(circle at 0 100%,#a21caf52,transparent 42%),linear-gradient(135deg,#261442,#10233d)!important}
body.app-game-shell.match3-game-body .game-shell-controls .game-pause-orb{min-width:38px!important;width:38px!important;min-height:38px!important;height:38px!important;border:2px solid #8ff4ff!important;border-radius:12px!important;background:linear-gradient(145deg,#0891b2,#3155d5 58%,#6d28d9)!important;box-shadow:inset 0 2px #ffffff55,inset 0 -4px #08245d73,0 4px #06143f99,0 0 13px #22d3ee40!important;color:#fff!important}
@media(prefers-reduced-motion:reduce){.match3-game-page .match3-gem.falling>i,.match3-game-page .match3-gem.clearing>i{animation-duration:1ms!important;animation-delay:0ms!important}}

/* Objective colour pieces use the same compact footprint and alignment as
   the live Shadow Bond objective beside them. */
@media(min-width:700px){
 html body [data-match3-game].m3j-game .m3j-objective-chips>span.objective-color:has(>.m3j-board-piece){display:grid!important;flex:0 0 56px!important;width:56px!important;min-width:56px!important;max-width:56px!important;height:56px!important;min-height:56px!important;max-height:56px!important;padding:4px!important;grid-template-columns:1fr!important;grid-template-rows:1fr!important;place-items:center!important}
 html body [data-match3-game].m3j-game .m3j-objective-chips>span.objective-color>.m3j-board-piece,
 html body [data-match3-game].m3j-game .m3j-objective-chips>span.objective-color>.m3j-board-piece>.home-m3-cell{width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;max-width:48px!important;max-height:48px!important;margin:auto!important}
}
@media(max-width:699px){
 html body [data-match3-game].m3j-game .m3j-objective-chips>span.objective-color>.m3j-board-piece,
 html body [data-match3-game].m3j-game .m3j-objective-chips>span.objective-color>.m3j-board-piece>.home-m3-cell{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px!important;max-height:40px!important;margin:auto!important}
}

/* Classic Colorfall shares the Journey HUD language, without its power-up dock. */
.match3-classic-game .match3-hud{border:2px solid #c084fc85!important;background:#24143e!important;box-shadow:inset 0 2px #ffffff24,inset 0 -6px #0508183d,0 7px #03071257,0 14px 28px #0006!important}
.match3-classic-game .match3-hud>div:nth-child(1){background:#e51662!important;border-color:#ff8ab5!important}
.match3-classic-game .match3-hud>div:nth-child(2){background:#00a4c2!important;border-color:#79efff!important}
.match3-classic-game .match3-hud>div:nth-child(3){background:#842ed1!important;border-color:#d49aff!important}
.match3-classic-game .match3-hud>div{box-shadow:inset 0 2px #ffffff36,inset 0 -5px #05081830,0 5px #0307124f!important}
.match3-classic-game .match3-hud small{color:#fff!important;opacity:.84}.match3-classic-game .match3-hud strong{color:#fff!important;text-shadow:0 2px 3px #0007!important}
.match3-classic-game .match3-goals{border:2px solid #c084fc85!important;background:#24143e!important;box-shadow:inset 0 2px #ffffff20,inset 0 -6px #0508183d,0 7px #03071257!important}
.match3-classic-game .match3-goals [data-match3-goal]{border-color:#facc157a!important;background:#17294d!important;box-shadow:inset 0 2px #ffffff1c,inset 0 -4px #0307123d!important}
.match3-classic-game .match3-hud{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.match3-classic-game .match3-hud>div:before,.match3-classic-game .match3-hud>button:before{content:none!important;display:none!important}
.match3-classic-game .m3c-play-nav>a{display:inline-flex!important;height:42px!important;min-height:42px!important;margin-left:auto!important;padding:0 14px!important;align-items:center!important;justify-content:center!important;border:1px solid #f9a8d475!important;border-radius:13px!important;background:linear-gradient(145deg,#9d174d,#6d28d9)!important;box-shadow:inset 0 2px #ffffff38,inset 0 -4px #3b076455,0 5px #02061780!important;color:#fff!important;font-weight:850!important;text-decoration:none!important}
.match3-classic-game .m3c-play-nav>.game-audio-docked,.match3-classic-game .m3c-play-nav>.game-pause-orb{box-sizing:border-box!important;flex:0 0 42px!important;width:42px!important;min-width:42px!important;max-width:42px!important;height:42px!important;min-height:42px!important;max-height:42px!important;margin-left:7px!important;padding:0!important;border-radius:13px!important}
@media(max-width:680px){
 body.app-game-shell.match3-game-body .match3-classic-game .match3-hud{border:2px solid #c084fc85!important;background:#24143e!important;box-shadow:inset 0 2px #ffffff24,inset 0 -6px #0508183d,0 7px #03071257!important}
 body.app-game-shell.match3-game-body .match3-classic-game .match3-hud>div:nth-child(1){background:#e51662!important;border-color:#ff8ab5!important}
 body.app-game-shell.match3-game-body .match3-classic-game .match3-hud>div:nth-child(2){background:#00a4c2!important;border-color:#79efff!important}
 body.app-game-shell.match3-game-body .match3-classic-game .match3-hud>div:nth-child(3){background:#842ed1!important;border-color:#d49aff!important}
 body.app-game-shell.match3-game-body .match3-classic-game .match3-goals{border:2px solid #c084fc85!important;background:#24143e!important;box-shadow:inset 0 2px #ffffff20,inset 0 -6px #0508183d,0 7px #03071257!important}
 body.app-game-shell.match3-game-body .match3-classic-game .match3-goals [data-match3-goal]{border-color:#facc157a!important;background:#17294d!important;box-shadow:inset 0 2px #ffffff1c,inset 0 -4px #0307123d!important}
 body.app-game-shell.match3-game-body .match3-classic-game .match3-hud{position:relative!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.app-game-shell.match3-game-body .match3-classic-game .m3c-play-nav{position:relative!important}
 body.app-game-shell.match3-game-body .match3-classic-game .match3-hud>.m3j-hud-audio{position:absolute!important;z-index:5!important;top:-79px!important;right:58px!important;box-sizing:border-box!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;padding:0!important;border-radius:13px!important}
 body.app-game-shell.match3-game-body .match3-classic-game .m3c-play-nav>.game-pause-orb{width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;margin-left:6px!important}
 body.app-game-shell.match3-game-body .match3-classic-game .m3c-play-nav>a{position:absolute!important;top:50%!important;right:112px!important;width:auto!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0 10px!important;font-size:10px!important;transform:translateY(-50%)!important}
}

/* The guide-based Colour Core must occupy exactly one mobile objective slot. */
@media(max-width:699px){
 html body [data-match3-game].m3j-game .m3j-objective-chips{display:flex!important;flex-flow:row wrap!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;grid-template-columns:none!important}
 html body [data-match3-game].m3j-game .m3j-objective-chips>span{box-sizing:border-box!important;flex:0 0 46px!important;width:46px!important;min-width:46px!important;max-width:46px!important;height:48px!important;min-height:48px!important;max-height:48px!important;margin:0!important;padding:3px!important}
 html body [data-match3-game].m3j-game .m3j-objective-chips>span.objective-core.info-page{position:relative!important;display:grid!important;box-sizing:border-box!important;flex:0 0 46px!important;width:46px!important;min-width:46px!important;max-width:46px!important;height:48px!important;min-height:48px!important;max-height:48px!important;margin:0!important;padding:3px!important;grid-template-columns:1fr!important;grid-template-rows:1fr!important;place-items:center!important;overflow:visible!important}
 html body [data-match3-game].m3j-game .m3j-objective-chips>span.objective-core.info-page>.guide-real-gem{position:absolute!important;box-sizing:border-box!important;top:50%!important;left:50%!important;width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important;max-height:40px!important;margin:0!important;padding:0!important;transform:translate(-50%,-50%)!important}
 html body [data-match3-game].m3j-game .m3j-objective-chips>span.objective-core.info-page>.guide-real-gem>.match3-board,
 html body [data-match3-game].m3j-game .m3j-objective-chips>span.objective-core.info-page>.guide-real-gem>.match3-board>.match3-gem{box-sizing:border-box!important;width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important;max-height:40px!important;margin:0!important;padding:0!important}
}

@media(min-width:900px){.m3j-game .match3-hud{grid-template-columns:minmax(98px,1.45fr) minmax(54px,.76fr) minmax(54px,.76fr)!important}.match3-game-page .game-audio-docked{width:38px!important;height:34px!important;min-width:38px!important;min-height:34px!important;margin:0!important;padding:2px 5px!important;border:1px solid #d8b4fe99!important;border-radius:11px!important;background:linear-gradient(145deg,#7c3aed,#4338ca)!important;box-shadow:inset 0 1px #ffffff66,0 7px 16px #312e81aa,0 0 14px #8b5cf655!important}.match3-game-page .game-audio-docked small{display:none!important}.match3-game-page .game-audio-docked strong{font-size:15px!important}.m3j-play-nav [data-match3-abandon]:has(.game-audio-docked){grid-template-columns:38px 34px minmax(0,auto)!important}.m3c-play-nav>.game-audio-docked{margin-left:auto!important}.m3c-play-nav>.game-audio-docked+.game-pause-orb{margin-left:0!important}}

/* Desktop game cabinet: board, live HUD and objectives read as one game unit. */
@media(min-width:901px){
  .match3-game-page.m3j-game{width:min(100%,1160px)!important;max-width:1160px!important;padding-inline:22px!important}
  .m3j-game .match3-game-shell{isolation:isolate!important;grid-template-columns:minmax(0,650px) minmax(270px,300px)!important;grid-template-rows:auto auto 1fr auto!important;column-gap:16px!important;row-gap:10px!important;padding:18px 22px 22px 76px!important;border:1px solid #a855f74f!important;border-radius:32px!important;background:radial-gradient(circle at 12% 0,#ec48992b,transparent 31%),radial-gradient(circle at 96% 28%,#06b6d426,transparent 34%),linear-gradient(145deg,#211038,#09182d 58%,#07101f)!important;box-shadow:inset 0 1px #ffffff30,inset 0 -2px #020617aa,0 28px 75px #000b,0 0 40px #7c3aed24!important}
  .m3j-game .m3j-world-stage{opacity:.34!important;mix-blend-mode:screen!important}
  .m3j-game .m3j-play-nav{padding:11px 13px!important;border:0!important;border-bottom:1px solid #ffffff1f!important;border-radius:18px 18px 10px 10px!important;background:linear-gradient(90deg,#6b214f7d,#312e8170 54%,#0759856b)!important;box-shadow:inset 0 1px #ffffff2e!important}
  .m3j-game .match3-board-wrap{width:100%!important;max-width:650px!important;margin:0!important;border-radius:25px!important}
  .m3j-game .match3-board{border-color:#67e8f94d!important;border-radius:19px!important;box-shadow:inset 0 0 38px #0009,inset 0 1px #ffffff1c,0 10px 25px #0008!important}
  .m3j-game .match3-hud,.m3j-game .match3-goals{width:100%!important;margin:0!important;border:1px solid #ffffff26!important;background:linear-gradient(155deg,#18264a,#17132f)!important;backdrop-filter:none!important}
  .m3j-game .match3-hud{padding:8px!important;border-radius:20px 20px 12px 12px!important;box-shadow:inset 0 1px #ffffff2e!important}
  .m3j-game .match3-goals{align-self:stretch!important;padding:14px!important;border-radius:12px 12px 20px 20px!important;box-shadow:inset 0 1px #ffffff20!important}
  .m3j-game .match3-hud>div{min-height:66px!important;border-color:#ffffff38!important;box-shadow:inset 0 1px #ffffff3d,0 5px 12px #0005!important}
  .m3j-game .match3-touch-hint{margin:0!important;padding:7px 12px!important;border-radius:10px!important;background:#070d1fc7!important;color:#c7d2e7!important;text-align:center!important}
}
