*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#101f31;color:#f4eee3;font-family:system-ui,"Microsoft YaHei",sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;font:inherit}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #f4c46a;outline-offset:3px}[hidden]{display:none!important}
/* Instant gameplay buttons still own their gestures; overlays can scroll. */
#arcade .ski-touch-controls button{touch-action:none}.arcade-overlay,.ski-shop-panel{touch-action:manipulation;overscroll-behavior:contain}
#arcade{height:100dvh;height:100svh;display:flex;flex-direction:column;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.arcade-bar{height:64px;flex:none;padding:0 25px;display:flex;align-items:center;gap:23px;border-bottom:1px solid #ffffff1a;background:#101c2de8}.arcade-bar>strong{font-size:19px;letter-spacing:.08em}.arcade-home{font-size:13px;text-decoration:none;color:#c3d5df}.arcade-score{display:flex;align-items:center;gap:30px;margin-left:auto;font-size:13px;color:#bbd0dd}.arcade-score b{font-size:22px;color:#f6ce84;margin-left:9px;font-variant-numeric:tabular-nums}.arcade-bar button{background:transparent;border:1px solid #ffffff35;border-radius:7px;color:#d4e7ee;min-height:36px;padding:0 12px;font-size:12px}.arcade-bar button:disabled{opacity:.35}
.arcade-stage{position:relative;flex:1;min-height:0;overflow:hidden}#arcade-canvas{display:block;width:100%;height:100%;touch-action:none}.arcade-overlay{position:absolute;inset:0;z-index:3;display:grid;place-items:center;padding:20px;overflow:auto;background:#0b172ba6;backdrop-filter:blur(8px)}.arcade-panel{width:min(490px,100%);padding:32px 38px;background:#172a3cef;border:1px solid #9ac5cd50;border-radius:18px;text-align:center;box-shadow:0 25px 100px #0005}.arcade-panel h1{font-size:42px;letter-spacing:.06em;margin:8px 0 18px}.arcade-panel h2{font-size:27px;margin:9px 0 17px}.arcade-panel p{font-size:14px;line-height:1.85;color:#c2d1dc;margin:15px 0}.arcade-panel .arcade-eyebrow{font-size:11px;letter-spacing:.2em;color:#b6e4d2}.arcade-facts{font-size:12px;color:#f2cc8e;margin:20px 0}.arcade-primary,.arcade-secondary{display:block;width:100%;min-height:46px;border:0;border-radius:8px;font-weight:650;background:#b6e4d2;color:#18332e;margin:14px 0}.arcade-secondary{background:#ffffff12;color:#e1e9eb;border:1px solid #ffffff25}.arcade-panel .arcade-controls{font-size:11px;color:#93adbd}.arcade-panel small{font-size:11px;color:#b5c2cf}.arcade-panel>a{display:inline-block;font-size:12px;margin:10px}.arcade-result-score b{font-size:52px;display:block;color:#f4cf86;font-variant-numeric:tabular-nums}.arcade-result-score span{font-size:11px;color:#aabfcb}.arcade-panel .df-score-form{margin-top:13px}.arcade-panel .df-score-status{margin:6px 0}#arcade-tip{position:absolute;left:50%;top:14px;transform:translateX(-50%);padding:9px 20px;border-radius:20px;background:#101f31e8;color:#f0dfb5;font-size:13px;pointer-events:none;opacity:0;transition:opacity .2s;z-index:2}#arcade-tip.visible{opacity:1}.ski-touch-controls{position:absolute;bottom:18px;right:25px;display:flex;gap:12px;z-index:1}.ski-touch-controls button{height:54px;min-width:95px;background:#152f4590;color:#fff;border:1px solid #d8f0ff77;backdrop-filter:blur(8px);border-radius:12px;touch-action:none;font-size:15px}.ski-touch-controls button:active{background:#e8c88bcc;color:#102331}
#df-online-gate{position:fixed;inset:0;z-index:30000;display:grid;place-items:center;background:#101f31;text-align:center;font-size:15px}.ski-page .arcade-bar{background:#132c43}.ski-page .arcade-panel{background:#15324bef}
@media(max-height:500px){.arcade-bar{height:49px;padding:0 14px;gap:14px}.arcade-bar>strong{font-size:15px}.arcade-home{font-size:11px}.arcade-score{gap:14px;font-size:11px}.arcade-score b{font-size:18px}.arcade-bar button{min-height:32px;padding:0 9px;font-size:11px}.arcade-panel{padding:16px 28px;width:min(600px,90%)}.arcade-panel h1{font-size:29px;margin:3px 0 8px}.arcade-panel h2{font-size:23px;margin:5px 0}.arcade-panel p{font-size:12px;margin:8px 0;line-height:1.6}.arcade-panel .arcade-eyebrow{font-size:9px}.arcade-facts{font-size:11px;margin:8px 0}.arcade-primary,.arcade-secondary{min-height:40px;margin:10px 0}.arcade-panel .arcade-controls{margin:6px 0;font-size:10px}.arcade-result-score b{font-size:34px}.arcade-panel>a{margin:5px}.ski-touch-controls{bottom:13px;right:18px}.ski-touch-controls button{height:47px;min-width:83px;font-size:13px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.arcade-page{background:radial-gradient(ellipse at 50% 30%,#314b58,#07121e 75%)}.arcade-page #arcade{width:100%;margin:0 auto;box-shadow:0 0 90px #0008;background:#142b34}@media(max-width:700px){.arcade-bar{height:82px;padding:10px 16px;display:grid;grid-template-columns:auto 1fr auto auto;gap:7px 12px}.arcade-bar>strong{font-size:18px}.arcade-home{font-size:11px}.arcade-score{grid-row:2;grid-column:1/-1;display:flex;justify-content:space-between;width:100%;gap:12px}.arcade-score b{font-size:21px}.arcade-score span{font-size:11px}.arcade-bar button{font-size:11px;min-height:31px;padding:0 10px}}.arcade-stage{isolation:isolate}#arcade-canvas,#arcade-fallback{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}#arcade-fallback[hidden],#arcade-canvas[hidden]{display:none!important}.arcade-live-hud{position:absolute;z-index:1;top:15px;left:15px;right:15px;display:flex;justify-content:space-between;gap:10px;pointer-events:none;font:11px/1.6 system-ui;color:#e0e9da}.arcade-live-hud span{padding:7px 12px;border:1px solid #ffffff20;border-radius:20px;background:#102b32a0;backdrop-filter:blur(6px)}.arcade-live-hud #arcade-render-note:empty{display:none}.arcade-panel{padding:26px 24px;width:min(430px,100%);border-radius:18px;background:#132c39ed}.arcade-panel h1{font-size:36px}.arcade-panel h2{font-size:25px}.arcade-overlay{padding:18px;background:#0b172b77}.arcade-controls{line-height:1.75}.arcade-panel .arcade-primary{min-height:48px}.arcade-panel .df-score-row{flex-wrap:wrap}.arcade-panel .df-score-row input{min-width:120px}.match3-touch-controls{position:absolute;z-index:1;bottom:24px;left:20px;right:20px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#bbd3c9;font-size:11px}.match3-touch-controls button{min-height:45px;padding:0 22px;border:1px solid #c3e8c869;background:#254337dc;color:#d9efdb;border-radius:10px}.ski-touch-controls{right:25px;bottom:max(22px,env(safe-area-inset-bottom))}@media(max-width:700px){.ski-touch-controls{left:18px;right:18px;justify-content:space-between}}.ski-touch-controls button{min-width:108px;height:58px;border-radius:16px;font-size:15px;background:#183c52ad}.ski-page .arcade-panel{background:#15324beb}.ski-page .arcade-live-hud{color:#e9f2f5}.arcade-panel small{display:block;margin-top:10px}#arcade-tip{top:70px;max-width:90%;width:max-content;text-align:center;white-space:normal;font-size:12px}.arcade-overlay:not([hidden])~.ski-touch-controls,.arcade-overlay:not([hidden])~.match3-touch-controls{visibility:hidden}
@media(max-width:420px){.arcade-bar{padding-inline:12px;gap:6px 9px}.arcade-bar>strong{font-size:16px}.arcade-score span{font-size:10px}.arcade-panel h1{font-size:32px}.arcade-panel h2{font-size:24px}.arcade-panel p{font-size:12px}.arcade-facts{font-size:11px}.arcade-panel .arcade-controls{font-size:10px}.arcade-panel{padding:22px 21px}.arcade-home{font-size:10px}}
@media(max-height:500px){#resultScreen .arcade-panel{display:grid;grid-template-columns:1fr 1fr;column-gap:20px;width:min(730px,96%);padding:12px 22px}#resultScreen .arcade-eyebrow,#resultScreen h2,#resultScreen .df-score-form{grid-column:1/-1}#resultScreen .arcade-eyebrow{margin:2px 0}#resultScreen h2{font-size:21px;margin:2px 0 5px}#resultScreen .arcade-result-score{align-self:center}#resultScreen .arcade-result-score b{font-size:30px}#resultScreen #arcade-result-detail{align-self:center;font-size:11px;margin:3px 0}#resultScreen .df-score-form{padding-top:8px;margin-top:4px}#resultScreen .df-score-form label{margin-bottom:4px}#resultScreen .df-score-row input,#resultScreen .df-score-row button{padding:6px 10px;min-height:34px}#resultScreen .df-score-status{margin:2px 0;min-height:14px}}

.arcade-bar>strong{white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis}
@media(max-width:360px){.arcade-bar{padding-inline:10px;gap:6px}.arcade-home{font-size:9px}.arcade-bar>strong{font-size:14px}.arcade-bar button{padding-inline:7px;font-size:10px}.arcade-score span{font-size:9px}.arcade-panel{padding:20px 16px}.ski-touch-controls button{min-width:98px}}

.ski-page .arcade-bar{gap:16px}.ski-page #ski-shop-open{color:#ffdda0;border-color:#d6b87365;white-space:nowrap}
.ski-shop-overlay{z-index:5;background:#0c223bb0}.ski-shop-panel{width:min(860px,100%);max-height:100%;overflow:auto;padding:28px;border:1px solid #86b6c861;border-radius:22px;background:linear-gradient(145deg,#17394ef5,#102739f7);box-shadow:0 25px 100px #0006;text-align:left;scrollbar-color:#587c90 #17354a}
.ski-shop-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.ski-shop-heading .arcade-eyebrow{font-size:10px;letter-spacing:.15em;color:#a9e1d2;margin:0 0 8px}.ski-shop-heading h2{font-size:25px;margin:0;line-height:1.5}.ski-shop-heading>button{width:40px;height:40px;flex:none;border:1px solid #ffffff30;border-radius:50%;background:#ffffff08;color:#d9eaf0;font-size:25px}
.ski-shop-balance{display:flex;justify-content:space-between;gap:15px;margin:22px 0 18px;padding:14px 17px;border-radius:12px;background:#061c2c70;color:#c4d5de;font-size:12px}.ski-shop-balance b{color:#f9d07f;font-size:24px;margin-left:9px;font-variant-numeric:tabular-nums}.ski-shop-balance>span+span b{font-size:17px;color:#d5ecea}
.ski-shop-tabs{display:flex;gap:8px;margin-bottom:18px}.ski-shop-tabs button{flex:1;min-height:43px;border:1px solid #adcdd230;border-radius:9px;background:transparent;color:#a9c6d5;font-size:13px;white-space:nowrap}.ski-shop-tabs button[aria-pressed=true]{background:#b6e4d2;border-color:#b6e4d2;color:#173f3a;font-weight:650}
.ski-shop-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.ski-shop-item{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:18px;border-radius:14px;background:#ffffff06;border:1px solid #c5e0e429}.ski-shop-item.is-equipped{border-color:#b6e4d2;background:#417f7225}.ski-item-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:13px;background:radial-gradient(circle at 35% 25%,#8acfc650,#19465e);color:#f7d38e;font-size:32px;margin-bottom:13px}.ski-shop-item h3{font-size:15px;line-height:1.6;margin:0 0 8px}.ski-shop-item p{font-size:11px;color:#a7c6d4;line-height:1.7;margin:0 0 15px;min-height:38px}.ski-item-price{font-size:13px;color:#f6d58f;margin-top:auto;margin-bottom:10px}.ski-shop-item button{width:100%;min-height:42px;padding:8px;border:1px solid #b6e4d277;border-radius:8px;background:#b6e4d2;color:#15392f;font-size:12px;font-weight:600}.ski-shop-item button:disabled{background:#ffffff06;color:#8baaba;border-color:#ffffff15;cursor:default}.ski-shop-item.is-equipped button{color:#b6e4d2}.ski-vehicle-remove{grid-column:1/-1;background:transparent;border:1px solid #adcdd230;color:#bad8e0;min-height:38px;border-radius:8px;font-size:12px}
#ski-shop-status{min-height:21px;color:#f8d99b;font-size:12px;line-height:1.7;margin:15px 0 5px}.ski-shop-note{font-size:11px;color:#9bbccc;line-height:1.85;margin:10px 0 18px}.ski-shop-panel .arcade-primary{margin:0;max-width:340px;margin-left:auto}#ski-save-status{font-size:11px;color:#b6e4d2}
@media(min-width:701px){.ski-page #arcade{max-width:none}.ski-page .arcade-stage{width:100%}}
@media(max-width:700px){.ski-page .arcade-bar{grid-template-columns:auto minmax(0,1fr) auto auto auto;gap:7px}.ski-page .arcade-bar>strong{font-size:16px;letter-spacing:0}.ski-page .arcade-bar button{padding:0 8px}.ski-shop-panel{padding:20px 16px;border-radius:17px}.ski-shop-heading h2{font-size:20px}.ski-shop-balance{margin:17px 0 14px;padding:12px}.ski-shop-balance b{font-size:21px}.ski-shop-tabs{gap:5px}.ski-shop-tabs button{font-size:11px;min-height:41px}.ski-shop-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ski-shop-item{padding:14px 12px}.ski-shop-item h3{font-size:13px}.ski-shop-item p{font-size:10px}.ski-shop-panel .arcade-primary{max-width:none}.ski-page .arcade-home{font-size:10px}}
@media(max-width:360px){.ski-page .arcade-bar>strong{font-size:13px}.ski-page .arcade-bar{gap:5px}.ski-page .arcade-bar button{font-size:9px;padding-inline:6px}.ski-shop-heading h2{font-size:18px}.ski-shop-balance{font-size:10px}}

/* Garden controls float over the scene, so the board owns the whole viewport. */
.match3-page{background:#153f38;color:#fff7e3}.match3-page #arcade{position:relative;width:100%;max-width:none;height:100dvh;height:100svh;padding:0;background:#183e35}.match3-page .arcade-stage{flex:1;width:100%;height:100%;min-height:0}
.match3-game-hud{position:absolute;z-index:2;top:calc(env(safe-area-inset-top) + 8px);left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));width:min(600px,calc(100% - 24px));margin-inline:auto;pointer-events:none;color:#fff7dd;font-variant-numeric:tabular-nums}
.match3-toolbar{display:grid;grid-template-columns:44px minmax(0,1fr) repeat(3,44px);gap:6px;align-items:center;height:44px}
.match3-game-title{font-size:clamp(18px,4vw,24px);letter-spacing:.07em;text-align:center;white-space:nowrap;text-shadow:0 2px 0 #214c36,0 4px 11px #123b24;line-height:1.3;filter:drop-shadow(0 0 10px #203d2380)}
.match3-jewel-control{width:44px;height:44px;min-height:44px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:0;pointer-events:auto;touch-action:manipulation;padding:1px 0 3px;border:1px solid #f5d78f;border-radius:15px;background:radial-gradient(ellipse at 32% 12%,#9bbb65,#3e8051 42%,#16533e 90%);box-shadow:inset 0 2px 0 #fff3b95c,inset 0 -2px 0 #093b2b8a,0 3px 0 #173e29,0 6px 12px #07372455;color:#fff1c8;text-decoration:none;font-size:8px;font-weight:700;line-height:1.05;text-shadow:0 1px 2px #163c30}
.match3-jewel-control .match3-control-icon{font-size:23px;line-height:24px;font-weight:500}.match3-jewel-control .match3-pause-icon{font-size:21px;letter-spacing:-3px;padding-right:3px}.match3-home{font-size:31px;line-height:1;padding-bottom:6px}.match3-jewel-control:active{transform:translateY(2px);box-shadow:inset 0 1px 0 #fff3b95c,0 1px 0 #173e29,0 3px 8px #07372455}.match3-jewel-control:disabled{opacity:.48;cursor:default}.match3-jewel-control[aria-pressed=false]{background:linear-gradient(150deg,#6e8874,#284a42);color:#d0dbc7;border-color:#a9b89a}
.match3-scoreboard{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1.65fr) minmax(0,.65fr);gap:7px;margin-top:9px;height:50px;pointer-events:none}.match3-scoreboard>div{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;padding:4px 6px;border:1px solid #e8d08bba;border-radius:16px;background:linear-gradient(160deg,#356b46eb,#144833ed);box-shadow:inset 0 1px 0 #fff3b94d,inset 0 -3px 0 #063b2980,0 4px 12px #102e2b50;text-shadow:0 1px 2px #103222}
.match3-scoreboard>div::before{content:"";position:absolute;inset:3px;border-radius:12px;border:1px solid #d8ebbd25;pointer-events:none}.match3-scoreboard span{font-size:9px;letter-spacing:.05em;color:#d9e5c5;line-height:1.3}.match3-scoreboard b{font-size:23px;line-height:1.1;color:#fff2b5;font-weight:750}.match3-steps-gem>div{display:flex;align-items:baseline;gap:4px;line-height:1}.match3-steps-gem small{color:#e6eacb;font-size:9px}
.match3-page .match3-touch-controls{z-index:2;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:calc(env(safe-area-inset-bottom) + 8px);width:min(600px,calc(100% - 24px));margin-inline:auto;display:flex;align-items:center;justify-content:flex-end;gap:12px;pointer-events:none}


.match3-page #arcade-tip{z-index:2;top:calc(env(safe-area-inset-top) + 124px);padding:8px 15px;max-width:86%;background:#123f34ee;border:1px solid #efd88b99;box-shadow:0 4px 16px #092c3860;color:#fff2ca;border-radius:16px;font-size:11px}
.match3-page .arcade-overlay{z-index:3;background:#092e3366;backdrop-filter:blur(9px);padding:calc(env(safe-area-inset-top) + 16px) max(15px,env(safe-area-inset-right)) calc(env(safe-area-inset-bottom) + 16px) max(15px,env(safe-area-inset-left))}
.match3-page .arcade-panel{position:relative;width:min(460px,100%);max-height:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c6ce8b #164d38;padding:25px 25px;background:radial-gradient(ellipse at 50% 0,#447355f7,#1b4c3ff7 48%,#103c35f7);border:1px solid #e7cf93cc;border-radius:26px;box-shadow:inset 0 1px 0 #fff1bd77,inset 0 0 0 5px #d8ca8122,0 25px 100px #0005}
.match3-page .arcade-panel h1{font-size:35px;color:#fff3d4;text-shadow:0 3px 0 #28533f,0 0 24px #ffd87a30}.match3-page .arcade-panel h2{color:#fff0bb;font-size:25px}.match3-page .arcade-panel p{color:#d7e9d6;font-size:13px;line-height:1.75}.match3-page .arcade-panel small{color:#bed8be;line-height:1.7;font-size:10px}.match3-page .arcade-panel .arcade-eyebrow{color:#f4d78b;font-size:10px}.match3-page .arcade-panel .arcade-facts{padding:10px 8px;border-block:1px solid #e8d49b35;line-height:1.8;margin:16px 0;font-size:11px}
.match3-page .arcade-panel .arcade-primary{min-height:48px;background:linear-gradient(145deg,#fff0b7,#e8bc5b);color:#244c36;border:1px solid #fff1bf;border-radius:15px;box-shadow:inset 0 2px 0 #fff9d2,0 5px 0 #9b7837,0 8px 22px #081f2d50;font-size:15px;letter-spacing:.04em}.match3-page .arcade-panel .arcade-primary:active{transform:translateY(2px);box-shadow:inset 0 1px 0 #fff9d2,0 3px 0 #9b7837}.match3-page .arcade-panel .arcade-secondary{min-height:44px;border-radius:13px;border-color:#d9edbd3b;background:#102f2640;color:#dce8cd}.match3-page .arcade-panel button:disabled{opacity:.5;cursor:default}.match3-page .arcade-panel .arcade-controls{font-size:10px;line-height:1.8}
.match3-page .match3-level-overlay{z-index:4;background:radial-gradient(ellipse at 50% 35%,#2d6b5260,#06292d99)}.match3-clear-stars{font-size:48px;letter-spacing:14px;padding-left:14px;margin:12px 0;color:#ffe48b;line-height:1.25;text-shadow:0 3px 0 #b6812a,0 0 22px #ffc45e80}.match3-page .match3-stage-score{margin:16px 0 20px;font-size:13px}.match3-stage-score b{display:inline-block;font-size:28px;font-variant-numeric:tabular-nums;color:#fff1ab;margin:0 5px}.match3-campaign-totals{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:12px;padding:16px 10px;border-block:1px solid #f5dc9b40;background:#0b332d55}.match3-campaign-totals span{font-size:12px;color:#c4dbc0}.match3-campaign-totals b{display:block;margin-top:6px;color:#ffe6a2;font-size:27px;font-variant-numeric:tabular-nums}
@media(min-width:701px){.match3-game-hud,.match3-page .match3-touch-controls{width:min(600px,calc(100% - 32px))}.match3-game-title{font-size:24px}.match3-scoreboard{height:54px}.match3-scoreboard span{font-size:10px}.match3-scoreboard b{font-size:25px}}
@media(max-width:360px),(max-height:650px){.match3-game-hud{top:calc(env(safe-area-inset-top) + 8px)}.match3-toolbar{height:44px;grid-template-columns:44px minmax(0,1fr) repeat(3,44px);gap:5px}.match3-jewel-control{width:44px;height:44px;min-height:44px;border-radius:13px;font-size:8px}.match3-jewel-control .match3-control-icon{font-size:21px;line-height:21px}.match3-home{font-size:28px}.match3-game-title{font-size:17px;letter-spacing:.02em}.match3-scoreboard{height:44px;margin-top:7px;gap:6px}.match3-scoreboard>div{border-radius:14px}.match3-scoreboard b{font-size:21px}.match3-scoreboard span{font-size:8px}.match3-page .match3-touch-controls{bottom:calc(env(safe-area-inset-bottom) + 10px);gap:8px}.match3-page .match3-touch-controls button{height:48px;min-height:48px;min-width:109px;padding:0 11px;gap:6px;border-radius:16px}.match3-page #arcade-tip{top:calc(env(safe-area-inset-top) + 112px)}.match3-page .arcade-panel{padding:20px 18px}.match3-page .arcade-panel h1{font-size:29px;margin:7px 0 12px}.match3-page .arcade-panel h2{font-size:23px}.match3-page .arcade-panel p{font-size:12px;margin:11px 0;line-height:1.65}.match3-page .arcade-panel .arcade-eyebrow{font-size:9px}.match3-page .arcade-panel .arcade-facts{font-size:10px;margin:11px 0;padding:8px 0}.match3-page .arcade-panel .arcade-controls{font-size:9px}.match3-clear-stars{font-size:37px;margin:8px 0}.match3-campaign-totals{padding:12px 8px}.match3-campaign-totals b{font-size:23px}}
@media(max-height:540px){.match3-page .match3-level-overlay .arcade-panel{padding:15px 20px;width:min(470px,96%)}.match3-level-overlay .arcade-eyebrow{margin:2px}.match3-level-overlay h2{margin:6px}.match3-clear-stars{font-size:30px;margin:5px 0}.match3-page .match3-stage-score{margin:5px}.match3-campaign-totals{padding:8px}.match3-campaign-totals b{display:inline;font-size:20px}.match3-page #match3-level-description{margin:6px 0}.match3-level-overlay .arcade-primary,.match3-level-overlay .arcade-secondary{min-height:40px;margin:9px 0}.match3-level-overlay small{font-size:10px}}

/* Score targets and earned stars stay inside the same jade HUD. */
.match3-score-gem>.match3-run-progress{display:block;margin-top:1px;white-space:nowrap;font-size:8px;line-height:1.1;color:#dfebc5}.match3-score-gem>.match3-run-progress b{font-size:9px;line-height:1;color:#ffe7a2}.match3-score-gem>#arcade-score{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.match3-level-heading{width:100%;display:flex;justify-content:space-between;align-items:center;gap:4px;padding-inline:3px;line-height:1.2}.match3-level-heading>strong{font-size:12px;white-space:nowrap;color:#fff4cf}.match3-scoreboard .match3-stage-stars{display:flex;gap:2px;white-space:nowrap;line-height:1.1}.match3-scoreboard .match3-stage-stars>span{font-size:13px;letter-spacing:0;color:#d6ddbd;opacity:.35;text-shadow:0 1px 1px #143b2d}.match3-scoreboard .match3-stage-stars>span.is-earned{color:#ffe28b;opacity:1;text-shadow:0 0 6px #ffd56580,0 1px 0 #a57722}
.match3-target-score{white-space:nowrap;display:flex;align-items:baseline;justify-content:center;gap:3px;margin-top:1px;line-height:1.1}.match3-scoreboard .match3-target-score>b{font-size:17px;line-height:1.1;color:#fff3ba}.match3-scoreboard .match3-target-score>span{font-size:10px;line-height:1.1;color:#d8e8cb;letter-spacing:0}.match3-star-progress{position:relative;flex:none;width:90%;height:3px;margin-top:3px;overflow:visible;border-radius:4px;background:#092e2680;box-shadow:inset 0 1px 0 #041e2544}.match3-star-progress>span{position:absolute;inset:0;transform:scaleX(0);transform-origin:left center;transition:transform .2s ease-out;border-radius:4px;background:linear-gradient(90deg,#f3d36a,#fff1b0);box-shadow:0 0 5px #f5da9170}.match3-star-progress>i{position:absolute;top:-1px;width:2px;height:5px;border-radius:2px;background:#f5edc482}.match3-star-progress>i:nth-of-type(1){left:58.8%}.match3-star-progress>i:nth-of-type(2){left:79.4%}.match3-page .match3-clear-stars{display:flex;justify-content:center;gap:14px;padding-left:0;letter-spacing:0}.match3-clear-stars>span{color:#9dae80;opacity:.35;text-shadow:0 2px 0 #123d2d}.match3-clear-stars>span.is-earned{color:#ffe48b;opacity:1;text-shadow:0 3px 0 #b6812a,0 0 22px #ffc45e80}.match3-page .match3-stage-score>small{display:block;margin-top:0;font-size:11px;color:#bed8ba}.match3-page .match3-campaign-totals{gap:7px;padding-inline:8px}.match3-campaign-totals span{font-size:10px}.match3-campaign-totals b{font-size:24px}
@media(max-width:360px),(max-height:650px){.match3-scoreboard>div{padding:3px 4px}.match3-score-gem>#arcade-score{font-size:18px;line-height:1.05}.match3-score-gem>.match3-run-progress{font-size:7px}.match3-score-gem>.match3-run-progress b{font-size:8px}.match3-level-heading{gap:2px;padding-inline:1px}.match3-level-heading>strong{font-size:10px}.match3-scoreboard .match3-stage-stars{gap:1px}.match3-scoreboard .match3-stage-stars>span{font-size:11px}.match3-scoreboard .match3-target-score>b{font-size:15px}.match3-scoreboard .match3-target-score>span{font-size:9px}.match3-star-progress{height:2px;margin-top:2px}.match3-star-progress>i{height:4px}.match3-campaign-totals b{font-size:20px}}



/* Star shop uses the same in-scene controls and pauses both game clocks. */
.match3-toolbar{grid-template-columns:44px minmax(0,1fr) repeat(4,44px)}.match3-page .match3-save-status{font-size:10px;color:#ffe3a2;line-height:1.65;min-height:0;margin:9px 0}.match3-save-status:empty{display:none}
.match3-page .match3-star-shop-overlay{z-index:5;background:radial-gradient(ellipse at 50% 20%,#2d695a99,#092b36b8)}.match3-page .match3-shop-panel{width:min(560px,100%);padding:24px}.match3-shop-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left}.match3-shop-heading .arcade-eyebrow{margin:0 0 4px;font-size:9px;letter-spacing:.08em}.match3-shop-heading h2{font-size:27px;margin:0}.match3-shop-heading>.match3-jewel-control{flex:none;font-size:29px;line-height:1;padding-bottom:3px}.match3-shop-wallet{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:13px 15px;margin:18px 0 14px;border-radius:15px;background:#0a342cb3;border:1px solid #dfcd8b4f;color:#d7e8bf;font-size:11px}.match3-shop-wallet b{display:inline-block;margin-inline:4px;color:#ffe69b;font-size:25px;font-variant-numeric:tabular-nums}.match3-shop-wallet>span+span b{font-size:17px}
.match3-shop-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.match3-shop-item{display:flex;flex-direction:column;align-items:center;min-width:0;padding:16px 13px 13px;border:1px solid #dfd49c64;border-radius:19px;background:linear-gradient(150deg,#61905c35,#063a2d70);box-shadow:inset 0 1px 0 #fff3b93b}.match3-item-icon{display:grid;place-items:center;width:53px;height:53px;border-radius:16px;border:1px solid #edd98c70;background:radial-gradient(circle at 30% 10%,#93b666,#3b7851 65%,#17573e);box-shadow:inset 0 2px 0 #fff3ae44,0 3px 0 #1c5032;color:#ffe49d;font-size:33px;text-shadow:0 0 13px #ffe48860}.match3-shop-item h3{font-size:16px;color:#fff0bd;margin:12px 0 5px}.match3-page .match3-shop-item p{font-size:11px;line-height:1.7;margin:4px 0 12px;min-height:55px;color:#c5dcbc}.match3-item-stock{font-size:11px;line-height:1.6;color:#d6e5bd;margin-top:auto;margin-bottom:10px}.match3-item-stock b{font-size:17px;color:#ffe59b;margin-inline:3px}.match3-shop-item button{width:100%;min-height:44px;padding:8px 5px;border:1px solid #ffe8aa;border-radius:12px;color:#35532b;background:linear-gradient(145deg,#ffeeb1,#e8bd63);font-size:12px;font-weight:700;box-shadow:inset 0 1px 0 #fff8d4,0 3px 0 #947138}.match3-shop-item .match3-use-item{margin-top:10px;color:#e4f1cb;background:linear-gradient(150deg,#3d754d,#174b38);border-color:#d8d79b80;box-shadow:inset 0 1px 0 #fff8d426,0 3px 0 #103b2a}.match3-shop-item button:disabled{filter:saturate(.4);box-shadow:none}.match3-shop-panel .arcade-primary{margin-bottom:5px}.match3-page .match3-shop-panel #match3-shop-status{padding:7px 9px;border-radius:10px;background:#0e352c66;border:1px solid #dfd49c33}
@media(max-width:360px){.match3-toolbar{gap:4px;grid-template-columns:44px minmax(0,1fr) repeat(4,44px)}.match3-game-title{font-size:14px;letter-spacing:0}.match3-page .match3-shop-panel{padding:17px 14px}.match3-shop-heading h2{font-size:23px}.match3-shop-wallet{padding:10px;margin:13px 0 12px;font-size:10px}.match3-shop-wallet b{font-size:22px}.match3-shop-items{gap:9px}.match3-shop-item{padding:12px 8px 10px;border-radius:15px}.match3-item-icon{width:45px;height:45px;font-size:29px;border-radius:13px}.match3-shop-item h3{font-size:14px;margin-top:10px}.match3-page .match3-shop-item p{font-size:10px;min-height:52px;margin-bottom:9px}.match3-shop-item button{font-size:10px}.match3-item-stock{font-size:10px}.match3-shop-heading .arcade-eyebrow{font-size:8px}.match3-page .match3-shop-panel #match3-shop-status{font-size:9px}.match3-page .match3-shop-panel .arcade-primary{font-size:13px}}
@media(min-width:361px) and (max-height:650px){.match3-toolbar{grid-template-columns:44px minmax(0,1fr) repeat(4,44px)}}

@media(max-height:650px){.match3-page .match3-shop-panel{padding:15px 14px}.match3-shop-heading h2{font-size:23px}.match3-shop-heading .arcade-eyebrow{font-size:8px}.match3-shop-wallet{padding:7px 10px;margin:11px 0 12px}.match3-shop-wallet b{font-size:21px}.match3-shop-item{padding:11px 9px 10px}.match3-item-icon{width:36px;height:36px;border-radius:12px;font-size:26px}.match3-shop-item h3{margin:8px 0 7px;font-size:14px}.match3-page .match3-shop-item p{display:none}.match3-item-stock{margin-bottom:9px;font-size:10px}.match3-shop-item .match3-use-item{margin-top:8px}.match3-page .match3-shop-panel #match3-shop-status{margin:10px 0 7px;font-size:9px;line-height:1.5}.match3-shop-panel .arcade-primary{margin-top:12px}}

/* High-resolution jade controls use one shared raster atlas. */
.match3-toolbar .match3-jewel-control{position:relative;padding:0;overflow:visible;background:none;border:0;box-shadow:none;filter:drop-shadow(0 3px 2px #082d2b75)}.match3-toolbar .match3-jewel-control:active{transform:translateY(2px) scale(.96);box-shadow:none}.match3-toolbar .match3-jewel-control[aria-pressed=false]{background:none;border:0}.match3-toolbar .match3-jewel-control:disabled{opacity:.5;filter:drop-shadow(0 2px 2px #082d2b55) saturate(.65)}
.match3-ui-icon{display:block;width:44px;height:44px;flex:none;background-image:var(--match3-ui-image,none);background-repeat:no-repeat;background-size:var(--match3-icon-atlas-size);background-position:var(--match3-icon-position);image-rendering:auto;pointer-events:none}
/* The 1536 × 1024 atlas has uneven gutters. Each square crop includes 2px alpha padding. */
.match3-ui-icon[data-ui-sprite=home]{--match3-icon-atlas-size:163.246377px 108.830918px;--match3-icon-position:-8.077295px -4.995169px}
.match3-ui-icon[data-ui-sprite=shop]{--match3-icon-atlas-size:162.853012px 108.568675px;--match3-icon-position:-58.949398px -4.930120px}
.match3-ui-icon[data-ui-sprite=soundOn]{--match3-icon-atlas-size:162.853012px 108.568675px;--match3-icon-position:-109.840964px -4.930120px}
.match3-ui-icon[data-ui-sprite=soundOff]{--match3-icon-atlas-size:163.246377px 108.830918px;--match3-icon-position:-8.077295px -55.797101px}
.match3-ui-icon[data-ui-sprite=fullscreen]{--match3-icon-atlas-size:162.853012px 108.568675px;--match3-icon-position:-58.949398px -55.609639px}
.match3-ui-icon[data-ui-sprite=pause]{--match3-icon-atlas-size:162.461538px 108.307692px;--match3-icon-position:-109.576923px -55.423077px}
.match3-control-label{position:absolute!important;width:1px;height:1px;padding:0!important;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.match3-page .match3-touch-controls{justify-content:flex-end}.match3-status-compat{display:none!important}

/* A transparent jade magnifier belongs to the garden, with compact counters. */
.match3-page .match3-touch-controls #match3-hint{position:relative;flex:none;pointer-events:auto;display:block;width:84px;height:84px;min-width:84px;min-height:84px;padding:0;border:0;border-radius:50%;background:none;box-shadow:none;touch-action:manipulation;isolation:isolate;cursor:pointer;-webkit-user-select:none;user-select:none}
.match3-hint-art{position:absolute;inset:0;display:block;background:var(--match3-hint-image,none) center/contain no-repeat;filter:drop-shadow(0 3px 3px #07332380);transition:transform .15s ease,filter .15s ease;pointer-events:none}
.match3-page #match3-hint-count{position:absolute;z-index:1;top:2px;right:0;display:grid;place-items:center;min-width:25px;height:25px;padding:0 5px;border:1px solid #ffe8a0;border-radius:50%;background:radial-gradient(circle at 35% 20%,#74a96b,#286044 70%);box-shadow:inset 0 1px 0 #fffac586,0 2px 2px #173c2b;line-height:1;font-size:16px;font-weight:800;color:#fff5c7;text-shadow:0 1px 1px #20452e}
.match3-page .match3-touch-controls #match3-inventory-note{position:absolute;bottom:0;left:0;z-index:1;padding:3px 6px;max-width:88px;border:1px solid #e9d385b3;border-radius:12px;background:#245a40e8;box-shadow:0 2px 4px #0a382a70;color:#fff1bc;font-size:9px;font-weight:700;line-height:1.1;letter-spacing:0;white-space:nowrap}
.match3-page #match3-hint:active .match3-hint-art{transform:scale(.94) rotate(-3deg)}.match3-page #match3-hint:disabled{cursor:default}.match3-page #match3-hint:disabled .match3-hint-art{filter:saturate(.72) brightness(.93) drop-shadow(0 3px 3px #07332360)}.match3-page #match3-hint[data-exhausted=true] .match3-hint-art{filter:saturate(.4) brightness(.85) drop-shadow(0 3px 3px #07332360)}
@media(max-width:360px),(max-height:650px){.match3-page .match3-touch-controls #match3-hint{width:76px;height:76px;min-width:76px;min-height:76px}.match3-page #match3-hint-count{min-width:23px;height:23px;font-size:15px}.match3-level-heading>strong{font-size:9px;letter-spacing:-.1px}}
