.cm-match{box-sizing:border-box;color:#f4f0ff;min-height:100dvh;padding:max(10px, env(safe-area-inset-top)) 12px max(8px, env(safe-area-inset-bottom));-webkit-tap-highlight-color:transparent;background:radial-gradient(at 50% -5%,#364475,#0000 55%),#0b1020;font-family:system-ui,sans-serif}.cm-match>header,.cm-match>aside,.cm-match>nav,.cm-match>section,.cm-match>footer{max-width:470px;margin-left:auto;margin-right:auto}.cm-match header{justify-content:space-between;align-items:center;gap:12px;height:32px;display:flex}.cm-match header a{color:#c4cee8;font-size:13px}.cm-match h1{letter-spacing:-.7px;margin:0;font-size:20px;font-weight:850}.cm-match header button{color:#e9d7b0;background:#2a3454;border:1px solid #94a5d044;border-radius:50%;width:28px;height:28px;font-weight:750}.cm-match button{cursor:pointer;touch-action:manipulation}.cm-match button:disabled{cursor:default;opacity:.4}.cm-match button:focus-visible,.cm-match a:focus-visible,.match-tutorial button:focus-visible{outline-offset:2px;outline:3px solid #ffdfa2}.match-wallet{justify-content:center;align-items:center;gap:20px;padding:8px 0 4px;font-size:13px;display:flex}.match-wallet>span{color:#b1bbd5;letter-spacing:1px;border:1px solid #69799b66;border-radius:4px;padding:2px 5px;font-size:9px}.match-wallet b{color:#e8efff;font-weight:650}.match-wallet b:last-child{color:#f5d397}.match-wallet small{font-size:11px;font-weight:400}.match-levels{gap:5px;padding:8px 0 10px;display:flex}.match-levels button{color:#d2d9ef;background:#1e2945;border:1px solid #64719855;border-radius:8px;flex:1;min-width:0;height:28px;font-size:12px}.match-levels button[aria-current]{color:#231d2c;background:linear-gradient(135deg,#ffe3a5,#be8d48);border-color:#ffe7ba;font-weight:800;box-shadow:0 0 14px #e2b67533}.match-stage{background:linear-gradient(145deg,#2b3558bd,#141b30);border:1px solid #7a88ad55;border-radius:20px;padding:12px;box-shadow:0 16px 44px #0005}.match-stats{justify-content:space-between;align-items:center;gap:8px;margin-bottom:7px;display:flex}.match-stats small{letter-spacing:1.5px;color:#aab6d5;font-size:9px;display:block}.match-stats h2{margin:3px 0 0;font-size:17px;font-weight:750;line-height:1.2}.match-moves{text-align:center;align-items:center;gap:6px;display:flex}.match-moves b{color:#ffe3aa;font-size:30px;line-height:1}.match-moves small{max-width:30px;font-size:8px}.match-goal{color:#cbd5ee;justify-content:space-between;gap:6px;font-size:11px;display:flex}.match-stage progress{accent-color:#55dfb1;border:0;width:100%;height:4px;margin:7px 0 10px;display:block}.match-board{isolation:isolate;aspect-ratio:1;touch-action:none;-webkit-user-select:none;user-select:none;background:#080e20;border:2px solid #0a1023;border-radius:12px;width:min(100%,100svh - 305px);max-width:420px;margin:auto;position:relative;overflow:hidden;box-shadow:0 0 0 1px #a0acd333,inset 0 2px 15px #0009}.match-sockets{grid-template-rows:repeat(7,1fr);grid-template-columns:repeat(7,1fr);gap:3px;padding:2px;display:grid;position:absolute;inset:0}.match-sockets span{background:linear-gradient(135deg,#26324b55,#121d37);border:1px solid #7d8cb718;border-radius:7px;transition:background .12s}.match-sockets .is-hit{background:#e8d48f66;box-shadow:inset 0 0 10px #ffe6ab66}.match-cell{z-index:1;-webkit-user-select:none;user-select:none;background:0 0;border:0;border-radius:7px;place-items:center;width:14.2857%;height:14.2857%;padding:2px;transition:left .22s cubic-bezier(.3,.7,.3,1),top .36s cubic-bezier(.32,.02,.3,1);display:grid;position:absolute;touch-action:none!important}.match-cell:disabled{opacity:1!important}.match-fall{place-items:center;width:100%;height:100%;display:grid}.match-gem{width:100%;height:100%;transform:translate(var(--drag-x,0), var(--drag-y,0));filter:drop-shadow(0 3px 2px #0009);place-items:center;transition:transform .14s;display:grid}.match-crystal{pointer-events:none;filter:saturate(1.16);width:92%;height:92%;overflow:visible}.match-piece-mark{filter:drop-shadow(0 1px 2px #170d41)}.match-cell.selected{z-index:3}.match-cell.selected .match-crystal{filter:drop-shadow(0 0 3px #ffe8b7)saturate(1.2)}.match-cell.selected:after{content:"";pointer-events:none;border:2px solid #ffedb0;border-radius:8px;position:absolute;inset:1px}.match-cell.reachable:after{content:"";pointer-events:none;border:1px solid #ffe7a7;border-radius:7px;position:absolute;inset:1px}.match-cell.hinted{outline-offset:-3px;outline:2px dashed #ffecac}.match-cell.is-dragging{z-index:10;transition:none}.match-cell.is-dragging .match-gem{transition:none}.match-cell i{color:#ffdd84;text-shadow:0 0 5px #000;pointer-events:none;font-size:21px;font-style:normal;position:absolute;bottom:-2px;right:0}.match-cell.vanishing .match-gem{animation:.34s ease-in forwards match-clear}.match-cell.newborn .match-fall{animation:.4s cubic-bezier(.3,.02,.3,1) both match-arrive}.match-direction-note{letter-spacing:14px;color:#ffe9b1;pointer-events:none;z-index:4;text-shadow:0 2px 5px #000;background:#151b3099;border-radius:8px;font-size:20px;position:absolute;bottom:0;left:50%;transform:translate(-50%)}@keyframes match-clear{0%{opacity:1;filter:brightness();transform:scale(1)}30%{opacity:1;filter:brightness(1.8)drop-shadow(0 0 8px #fff);transform:scale(1.16)}to{opacity:0;filter:brightness(2);transform:scale(.05)rotate(12deg)}}@keyframes match-arrive{0%{transform:translateY(calc(var(--drop-distance) * -100%));opacity:.8}85%{opacity:1;transform:translateY(3%)}to{opacity:1;transform:translateY(0)}}.match-message{text-align:center;color:#ccd6ed;justify-content:center;align-items:center;min-height:32px;margin:8px 0 5px;font-size:11px;line-height:1.35;display:flex}.match-actions{gap:7px;display:flex}.match-actions button{background:linear-gradient(145deg,#35446b,#293554);border:1px solid #9aadd147;border-radius:10px;flex:1;min-height:34px;padding:9px 6px;font-size:12px;font-weight:650;line-height:1.1}.match-actions button[aria-pressed=true]{background:#765a40;border-color:#ffda93}.match-restart{color:#aebbd7;background:0 0;border:0;margin:9px auto 0;padding:2px 5px;font-size:10px;line-height:1.2;display:block}.match-primary{color:#211b24;cursor:pointer;background:linear-gradient(135deg,#f9d997,#c5944e);border:1px solid #ffe7b988;border-radius:12px;width:100%;margin-top:12px;padding:12px 8px;font-size:14px;font-weight:750;display:block}.match-primary:disabled{opacity:.4;cursor:default}.match-footnote{text-align:center;color:#8c9ab9;padding-top:8px;font-size:9px;line-height:1.3}.match-tutorial{max-height:calc(100dvh - 24px);font-family:system-ui,sans-serif;overflow-y:auto;box-shadow:0 30px 100px #000a;color:#f7f1e7!important;background:radial-gradient(at 50% 0,#354470,#12192e 80%)!important;border:1px solid #8b91bf77!important;border-radius:24px!important;gap:12px!important;max-width:min(400px,100vw - 28px)!important;padding:24px!important}.match-tutorial>small{letter-spacing:3px;color:#e9c680;font-size:9px}.match-tutorial h2{letter-spacing:-.5px;font-size:24px;font-weight:800}.match-tutorial p{color:#d2daf0;font-size:13px;line-height:1.6}.match-tutorial-board{aspect-ratio:1;background:#0c1429;border:1px solid #8b99c54d;border-radius:14px;grid-template-columns:repeat(5,1fr);gap:3px;width:min(240px,48vw);margin:0 auto;padding:6px;display:grid}.match-tutorial-board>span{background:#293550;border-radius:5px;place-items:center;display:grid;position:relative}.match-tutorial-board svg{width:100%;height:100%}.match-tutorial-board .demo-origin{z-index:2;outline:2px solid #ffe7b0}.match-tutorial-board .demo-origin b{text-shadow:0 0 5px #000;color:#fff0c1;z-index:3;font-size:30px;position:absolute;top:10%;right:-20px}.match-tutorial-board.beat-1 .demo-hit{background:#be9b58aa;box-shadow:0 0 12px #ffde9377}.match-tutorial-board.beat-2 .demo-hit svg{animation:.65s both match-clear}.match-tutorial-board.beat-3 .demo-hit svg{animation:.65s both demo-refill}@keyframes demo-refill{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translateY(0)}}.match-tutorial .match-tutorial-pause{color:#9aaacb;margin:0;font-size:10px}.match-tutorial .match-primary{margin-top:0}.match-result-backdrop{z-index:50;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#070d1fcc;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.match-result{text-align:center;background:#202c49;border:1px solid #9ea7cc66;border-radius:24px;width:100%;max-width:360px;padding:28px}.match-result>span{color:#ffe5a1;font-size:50px}.match-result h2{font-size:24px;font-weight:800}.match-result p{color:#cbd5ed;font-size:13px;line-height:1.5}.match-result .match-restart{margin-top:18px;font-size:12px}@media (height<=640px){.cm-match{padding-top:5px}.match-wallet{padding-top:4px}.match-levels{padding:5px 0 7px}.match-stage{padding:9px}.match-stats h2{font-size:15px}.match-stats{margin-bottom:4px}.match-stats b{font-size:25px}.match-stage progress{margin:5px 0 7px}.match-message{min-height:28px;margin:5px 0}.match-board{width:min(100%,100svh - 275px)}.match-footnote{padding-top:5px;font-size:8px}}@media (prefers-reduced-motion:reduce){.match-cell,.match-gem,.match-sockets span{transition:none}.match-cell.vanishing .match-gem{opacity:0;animation:none}.match-cell.newborn .match-fall,.match-tutorial-board .demo-hit svg{animation:none!important}}.match-crystal.has-power{filter:drop-shadow(0 1px 1px #0009)saturate(1.25);width:96%;height:96%}.match-armor{pointer-events:none;display:block;position:absolute;inset:0}.match-armor>svg{fill:#86c8ff13;stroke:#b4e9ff;stroke-width:3px;filter:drop-shadow(0 0 2px #6ebdff);width:100%;height:100%;position:absolute;inset:0}.match-armor b{color:#eefaff;background:#182e50;border:1px solid #b4ddff99;border-radius:4px;padding:1px 3px;font-size:8px;line-height:1.2;position:absolute;bottom:0;right:-1px;box-shadow:0 1px 4px #0008}.match-cell.armor-hit:before{content:"";z-index:5;pointer-events:none;border:3px solid #a3e5ff;border-radius:12px;animation:.34s both armor-impact;position:absolute;inset:0}@keyframes armor-impact{0%{opacity:1;transform:scale(.85)}60%{opacity:1;transform:scale(1.13)}to{opacity:0;transform:scale(1)}}.match-gold-lock{z-index:6;pointer-events:none;filter:drop-shadow(0 0 5px #ffc83999);place-items:center;width:14.2857%;height:14.2857%;display:grid;position:absolute}.match-gold-lock>svg{filter:drop-shadow(0 2px 2px #000);width:85%;height:85%}.match-gold-lock>span{color:#fff5a3;text-shadow:0 0 5px #ffbc00;font-size:16px;line-height:1;position:absolute;top:0;right:1px}.match-gold-lock:after{content:"";border:1px solid #ffe085cc;border-radius:8px;animation:2s infinite alternate gold-glint;position:absolute;inset:3px;box-shadow:inset 0 0 9px #ffd85666}@keyframes gold-glint{to{box-shadow:inset 0 0 12px #fff5b899,0 0 7px #ffdf7255}}.match-spell-flash{z-index:7;pointer-events:none;background:radial-gradient(#ffeebd33,#0000 70%);animation:.34s both spell-flash;position:absolute;inset:0}.match-spell-flash.flash-board{background:radial-gradient(#f8deff99,#a973ed66,#0000);box-shadow:inset 0 0 40px #ffda8c}.match-spell-flash.flash-star{background:conic-gradient(from 22.5deg,#0000,#ffe29666,#0000 12.5%,#ffe29666 25%,#0000 37.5%,#ffe29666 50%,#0000 62.5%,#ffe29666 75%,#0000 87.5%,#ffe29666,#0000)}@keyframes spell-flash{0%{opacity:0;transform:scale(.3)}40%{opacity:1}to{opacity:0;transform:scale(1.2)}}.match-board.effect-fusion .has-power{animation:.6s both fusion-glow}@keyframes fusion-glow{0%,to{filter:drop-shadow(0 0 1px #ffd88e)}50%{filter:drop-shadow(0 0 9px #fff4b1)brightness(1.7)}}.match-tutorial-combos{background:#0b142b;border-radius:12px;justify-content:center;align-items:center;gap:12px;width:100%;padding:12px 20px;display:flex}.match-tutorial-combos>svg{width:58px;height:65px}.match-tutorial-topics{justify-content:center;gap:10px;display:flex}.match-tutorial-topics button{color:#d0d8f3;cursor:pointer;background:0 0;border:0;padding:4px;font-size:11px;text-decoration:underline}.match-tutorial-board .demo-gold{filter:drop-shadow(0 0 4px #ffd34d);position:absolute;inset:0}.match-tutorial-board .demo-hp{color:#d5efff;background:#23395d;border-radius:4px;padding:1px 3px;font-size:9px;position:absolute;bottom:0;right:0}.match-tutorial-rules{color:#ccd7ef;grid-template-columns:auto 1fr;gap:5px 12px;font-size:11px;display:grid}.match-tutorial-rules dt{color:#ffe3ab}.match-tutorial-rules dd{margin:0}@media (prefers-reduced-motion:reduce){.match-gold-lock:after,.match-board.effect-fusion .has-power,.match-cell.armor-hit:before,.match-spell-flash{animation:none}.match-spell-flash{display:none}.match-cell.armor-hit:before{opacity:.7}}html.cm-match-locked,body.cm-match-locked{height:100%;overscroll-behavior:none!important;overflow:hidden!important}body.cm-match-locked{width:100%;position:fixed;inset:0}.cm-match{overscroll-behavior:none;touch-action:none;width:100%;height:100dvh;min-height:0;padding:max(8px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));position:fixed;inset:0;overflow:hidden}.cm-match>.match-layout{grid-template:"top""board""details"minmax(0,1fr)"controls""footnote"/minmax(0,1fr);gap:6px;width:100%;max-width:none;height:100%;min-height:0;margin:0 auto;display:grid}.match-sidebar{display:contents}.match-topbar{grid-area:top;min-width:0}.match-details{grid-area:details;min-width:0}.match-controls{grid-area:controls;min-width:0}.match-footnote{grid-area:footnote}.match-layout .match-stage{width:100%;min-width:0;height:100%;min-height:0;box-shadow:none;background:0 0;border:0;border-radius:0;grid-area:board;place-items:center;max-width:none;margin:0;padding:0;display:grid;container-type:size}.match-layout .match-board{border-width:3px;border-radius:16px;width:min(100cqw,100cqh);max-width:none;height:min(100cqw,100cqh);margin:0;box-shadow:0 0 0 1px #a8b9df55,0 10px 40px #0006,inset 0 2px 15px #0009}.match-topbar header{height:28px}.match-wallet{gap:16px;padding:4px 0 0;font-size:12px}.match-wallet small{font-size:10px}.match-details .match-stats{margin-bottom:4px}.match-details .match-stats h2{font-size:15px}.match-details .match-moves b{font-size:28px}.match-details progress{accent-color:#55dfb1;border:0;width:100%;height:4px;margin:5px 0 0;display:block}.match-controls .match-levels{margin-bottom:5px;padding:0}.match-controls .match-levels button{height:25px}.match-controls .match-message{min-height:27px;margin:3px 0 5px}.match-controls .match-restart{margin-top:7px}.match-layout .match-footnote{padding:0;font-size:9px;line-height:1.2}.match-tutorial{touch-action:pan-y;overscroll-behavior:none;-webkit-overflow-scrolling:touch}@media (width>=700px),(orientation:landscape) and (width>=540px){.cm-match{padding:max(12px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left))}.cm-match>.match-layout{grid-template:"board sidebar"minmax(0,1fr)/minmax(0,1fr) clamp(188px,24vw,300px);gap:18px;max-width:1800px}.match-sidebar{background:radial-gradient(at 50% 0,#45506b66,#0000 70%),linear-gradient(155deg,#252e47eb,#11192df5);border:1px solid #b79b6655;border-radius:24px;flex-direction:column;grid-area:sidebar;justify-content:center;gap:20px;min-width:0;min-height:0;padding:clamp(14px,2vw,24px);display:flex;position:relative;box-shadow:0 14px 40px #0006,inset 0 1px #fff1}.match-sidebar:before,.match-sidebar:after{content:"";pointer-events:none;border-style:solid;border-color:#e1bf7f88;width:24px;height:24px;position:absolute}.match-sidebar:before{border-width:2px 0 0 2px;border-radius:17px 0 0;top:6px;left:6px}.match-sidebar:after{border-width:0 2px 2px 0;border-radius:0 0 17px;bottom:6px;right:6px}.match-topbar header{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) 30px;gap:5px 6px;height:auto;display:grid}.match-topbar header a{grid-area:1/1;font-size:11px}.match-topbar header h1{white-space:nowrap;grid-area:2/1;font-size:clamp(18px,2vw,24px)}.match-topbar header button{grid-area:1/2/span 2}.match-wallet{flex-wrap:wrap;justify-content:flex-start;gap:6px 12px;padding-top:14px;font-size:13px}.match-wallet>span{border:0;width:100%;padding:0}.match-wallet small{font-size:10px}.match-details .match-stats{margin-bottom:12px;display:block}.match-details .match-stats small{font-size:10px}.match-details .match-stats h2{margin-top:5px;font-size:clamp(17px,1.6vw,22px);line-height:1.2}.match-details .match-moves{justify-content:flex-start;gap:9px;margin-top:14px}.match-details .match-moves b{font-size:44px}.match-details .match-moves small{max-width:none;font-size:10px}.match-goal{font-size:13px;display:block}.match-goal>span{margin:5px 0;display:block}.match-details progress{height:6px;margin-top:10px}.match-controls .match-levels{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-bottom:12px;display:grid}.match-controls .match-levels button{height:30px;font-size:13px}.match-controls .match-message{text-align:left;justify-content:flex-start;min-height:46px;margin:0 0 12px;font-size:12px;line-height:1.5}.match-actions{flex-direction:column;gap:8px}.match-actions button{min-height:42px;padding:10px 8px;font-size:13px}.match-controls .match-restart{margin-top:14px;font-size:11px;line-height:1.5}.match-layout .match-footnote{color:#97a5c3;text-align:left;font-size:10px;line-height:1.5}.match-layout .match-board{border-width:5px;border-radius:22px}.match-sockets{gap:5px;padding:3px}.match-cell{padding:4px}}@media (width>=540px) and (orientation:landscape) and (height<=620px){.cm-match{padding-top:max(6px, env(safe-area-inset-top));padding-bottom:max(6px, env(safe-area-inset-bottom))}.cm-match>.match-layout{grid-template-columns:minmax(0,1fr) clamp(186px,28vw,248px);gap:12px}.match-sidebar{border-radius:18px;gap:9px;padding:12px 14px}.match-topbar header{flex-wrap:wrap;gap:4px;display:flex}.match-topbar header h1{order:1;font-size:17px}.match-topbar header a{order:0;font-size:10px}.match-topbar header button{order:2;width:24px;height:24px;margin-left:auto}.match-wallet{flex-wrap:nowrap;gap:0 8px;padding-top:5px;font-size:11px}.match-wallet>span{width:auto;font-size:8px}.match-wallet small{font-size:9px}.match-details .match-stats{align-items:center;margin-bottom:4px;display:flex}.match-details .match-stats h2{font-size:14px}.match-details .match-stats small{font-size:8px}.match-details .match-moves{gap:4px;margin:0}.match-details .match-moves b{font-size:27px}.match-details .match-moves small{max-width:27px;font-size:7px}.match-goal{font-size:9px;display:flex}.match-goal>span{margin:0}.match-details progress{height:4px;margin-top:5px}.match-controls .match-levels{gap:4px;margin-bottom:5px}.match-controls .match-levels button{height:22px;font-size:10px}.match-controls .match-message{min-height:29px;margin:0 0 5px;font-size:10px;line-height:1.3}.match-actions{flex-direction:row;gap:5px}.match-actions button{min-height:31px;padding:6px 3px;font-size:10px}.match-controls .match-restart{margin-top:6px;font-size:9px;line-height:1.2}.match-layout .match-footnote{font-size:8px;line-height:1.3}}@media (width<=539px) and (height<=650px){.cm-match>.match-layout{gap:4px}.match-topbar header{height:25px}.match-wallet{padding-top:2px;font-size:10px}.match-wallet small{font-size:9px}.match-details .match-stats h2{font-size:13px}.match-details .match-moves b{font-size:24px}.match-details .match-stats small{font-size:8px}.match-goal{font-size:9px}.match-controls .match-levels button{height:23px}.match-controls .match-message{min-height:25px;font-size:10px}.match-actions button{min-height:31px;padding:7px 4px;font-size:11px}.match-controls .match-restart{margin-top:5px;font-size:9px}.match-layout .match-footnote{font-size:8px}}.match-cell .match-armor,.match-tutorial-board .match-armor{pointer-events:none;filter:drop-shadow(0 3px 2px #07182fcc);z-index:4;width:62%;height:72%;position:absolute;inset:auto -2% -4% auto}.match-armor>svg{width:100%;height:100%;fill:unset;stroke:none;filter:none;position:static}.match-topbar h1{text-wrap:balance}.match-topbar header h1{white-space:normal;min-width:0;line-height:1.15}.match-topbar header h1 .match-brand{letter-spacing:.14em;text-transform:uppercase;color:#e5c58d;margin-bottom:4px;font-size:10px;display:block}@media (orientation:landscape) and (height<=620px){.match-topbar header h1{font-size:15px}.match-topbar header h1 .match-brand{margin-bottom:2px;font-size:8px}}.cm-projector .match-gem>svg{filter:saturate(1.35)contrast(1.3)drop-shadow(0 2px 2px #000)}.cm-projector .match-sockets>span{background:#050a16;border:2px solid #8293b0}.cm-projector .match-sidebar{color:#fff;background:#10192b}.cm-projector .match-sidebar small,.cm-projector .match-message,.cm-projector .match-footnote{color:#e9edf7}.match-projector-toggle{color:#f9e2ad;cursor:pointer;background:#1b2943;border:1px solid #677b9d;border-radius:7px;padding:4px 6px;font-size:10px}.match-projector-toggle[aria-pressed=true]{color:#101827;background:#ffe0a0;border-color:#fff3d4}.match-layout .match-wallet{flex-wrap:wrap}.match-lightning{z-index:9;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.match-lightning path{fill:none;stroke:#e7faff;stroke-width:5px;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 6px #4bbcff);stroke-dasharray:1000;stroke-dashoffset:1000px;animation:.85s ease-out both puzzle-bolt}.match-lightning circle{fill:#b5efff22;stroke:#c4f3ff;stroke-width:3px;transform-box:fill-box;transform-origin:50%;animation:.85s ease-out both puzzle-impact}.match-board:has(.match-lightning) .vanishing .match-gem{animation-delay:.48s}@keyframes puzzle-bolt{0%{stroke-dashoffset:1000px;opacity:0}20%,65%{stroke-dashoffset:0;opacity:1}to{stroke-dashoffset:0;opacity:0}}@keyframes puzzle-impact{0%,15%{opacity:0;transform:scale(.2)}35%,65%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.4)}}@media (prefers-reduced-motion:reduce){.match-lightning path,.match-lightning circle{stroke-dashoffset:0;animation:none}.match-board:has(.match-lightning) .vanishing .match-gem{animation-delay:0s}}.match-pages{color:#dae4f7;justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px;font-size:10px;display:flex}.match-pages button{background:#25304a;border:1px solid #65718c;border-radius:6px;min-width:32px;height:24px;font-size:20px;line-height:1}.match-pages button:disabled{opacity:.35}.match-ice,.match-mystery{z-index:3;pointer-events:none;position:absolute;inset:2%}.match-ice svg,.match-mystery svg{width:100%;height:100%}.match-ice svg{fill:#b6f3ff40;stroke:#cff9ff;stroke-width:2px;stroke-linejoin:round;filter:drop-shadow(0 0 3px #6bd5ff)}.match-ice svg path:last-child{fill:none;stroke-width:3px}.match-gem.is-mystery{visibility:hidden}.match-board:has(.match-lightning) .vanishing .match-gem{animation-duration:.34s}@media (orientation:landscape) and (height<=620px){.match-pages{margin-bottom:2px}.match-pages button{height:20px}}@media (width<=1100px) and (orientation:portrait){.mini-games-content .cm-match.crystal-game{touch-action:pan-y;height:auto;min-height:100%;padding:6px max(4px, env(safe-area-inset-right,0px)) max(10px, env(safe-area-inset-bottom,0px)) max(4px, env(safe-area-inset-left,0px));position:relative;inset:auto;overflow:visible}.crystal-game>.match-layout{grid-template-rows:auto auto auto auto;grid-template-areas:"top""board""details""controls";gap:6px;height:auto}.crystal-game .match-layout .match-stage{aspect-ratio:1;width:100%;height:auto;container-type:normal}.crystal-game .match-layout .match-board{aspect-ratio:1;width:100%;height:auto}.crystal-game .match-topbar,.crystal-game .match-details,.crystal-game .match-controls{padding-inline:6px}}.cm-match:is(.lg-game,.crystal-game){flex-direction:column;display:flex}.cm-match:is(.lg-game,.crystal-game)>.match-layout{flex:1;height:auto}@media (width<=1100px) and (orientation:portrait){.cm-match:is(.lg-game,.crystal-game)>.match-layout{flex:none;grid-template:"top""board""details""controls""footnote"/minmax(0,1fr);display:grid}.cm-match:is(.lg-game,.crystal-game) .match-sidebar{display:contents}.cm-match:is(.lg-game,.crystal-game) .match-sidebar:before,.cm-match:is(.lg-game,.crystal-game) .match-sidebar:after{display:none}.cm-match:is(.lg-game,.crystal-game) .match-topbar header{height:auto;min-height:36px;display:flex}.cm-match:is(.lg-game,.crystal-game) .match-topbar h1{white-space:normal}}.cm-match>.game-page-navigation{width:100%;max-width:none;margin:0}
