.game-page{min-height:100svh;color:var(--game-ink,#66696f);touch-action:none;place-items:center;display:grid;overflow:hidden}.game-shell{--game-bg:#e9eae9;--game-panel:#fffefa;--game-ink:#66696f;--game-muted:#a5a7ab;--game-accent:#e7653b;--game-accent-light:#f58450;--game-star:#f5b82f;isolation:isolate;width:min(100vw,520px,60svh);height:min(100svh,190vw,988px);min-height:min(100svh,620px);color:var(--game-ink);background:var(--game-bg);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;position:relative;overflow:hidden;box-shadow:0 9px #52545a29}.game-canvas{touch-action:none;cursor:grab;width:100%;height:100%;display:block;position:absolute;top:0;bottom:0;left:0;right:0}.game-canvas:active{cursor:grabbing}button{font-family:ui-rounded,Arial Rounded MT Bold,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.hud{z-index:3;padding:max(14px, env(safe-area-inset-top)) 15px max(14px, env(safe-area-inset-bottom));pointer-events:none;position:absolute;top:0;bottom:0;left:0;right:0}.hud-top{grid-template-columns:54px 1fr 88px;align-items:start;gap:7px;display:grid}.round-button,.small-control{cursor:pointer;pointer-events:auto;-webkit-tap-highlight-color:transparent;border:0}.round-button{width:50px;height:50px;color:var(--game-ink);border-radius:17px;place-items:center;font:950 22px/1 ui-rounded,Arial Rounded MT Bold,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:grid}.soft-button,.small-control{border:2px solid color-mix(in srgb, var(--game-muted) 24%, transparent);background:color-mix(in srgb, var(--game-panel) 78%, transparent);box-shadow:0 3px 0 color-mix(in srgb, var(--game-ink) 18%, transparent)}.round-button:active,.small-control:active{transform:translateY(2px)scale(.95)}.score-stack{color:color-mix(in srgb, var(--game-ink) 78%, var(--game-bg));justify-self:center;justify-items:center;margin-top:-2px;display:grid}.score-value{letter-spacing:-.06em;font:950 clamp(42px,11vw,62px)/.92 ui-rounded,Arial Rounded MT Bold,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.score-caption{color:var(--game-muted);letter-spacing:.18em;text-transform:uppercase;margin-top:7px;font:850 10px/1 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.hud-counters{justify-items:stretch;gap:4px;display:grid}.star-pill,.star-balance{border:2px solid color-mix(in srgb, var(--game-muted) 20%, transparent);color:var(--game-ink);background:color-mix(in srgb, var(--game-panel) 84%, transparent);box-shadow:0 3px 0 color-mix(in srgb, var(--game-ink) 15%, transparent);justify-content:center;align-items:center;gap:5px;font:950 16px/1 ui-rounded,Arial Rounded MT Bold,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:flex}.star-pill{border-radius:13px;min-height:32px}.star-pill span,.star-balance span{color:var(--game-star)}.best-mini{color:var(--game-muted);text-align:center;text-transform:uppercase;font:800 9px/1.1 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.best-mini strong{color:var(--game-ink);font-size:12px}.life-row{top:max(72px, calc(env(safe-area-inset-top) + 58px));border:2px solid color-mix(in srgb, var(--game-muted) 18%, transparent);background:color-mix(in srgb, var(--game-panel) 75%, transparent);border-radius:17px;gap:2px;padding:4px 6px;display:flex;position:absolute;left:14px}.life-ball{object-fit:contain;opacity:.18;filter:grayscale();width:25px;height:25px;transition:opacity .16s,filter .16s,transform .22s cubic-bezier(.2,1.7,.4,1);transform:scale(.78)}.life-ball.active{opacity:1;filter:none;transform:scale(1)}.wave-meter{top:max(82px, calc(env(safe-area-inset-top) + 68px));gap:5px;display:flex;position:absolute;left:50%;transform:translate(-50%)}.wave-meter span{background:color-mix(in srgb, var(--game-muted) 42%, transparent);border-radius:99px;width:14px;height:5px}.wave-meter span.filled{background:var(--game-star)}.tutorial-card{z-index:4;left:50%;bottom:max(46px, calc(env(safe-area-inset-bottom) + 34px));width:min(310px,100% - 54px);color:var(--game-ink);background:var(--game-panel);box-shadow:0 6px 0 color-mix(in srgb, var(--game-ink) 18%, transparent);pointer-events:none;border-radius:23px;grid-template-rows:auto auto;grid-template-columns:52px 1fr;align-items:center;column-gap:12px;padding:14px 18px;animation:.36s cubic-bezier(.2,1.35,.4,1) both tutorial-in;display:grid;position:absolute;transform:translate(-50%)}.tutorial-hand{color:#fff;background:var(--game-accent);border-radius:16px;grid-row:1/3;place-items:center;width:48px;height:48px;font:900 28px/1 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;animation:1.35s ease-in-out infinite hand-pull;display:grid}.tutorial-card strong{font:900 16px/1.2 ui-rounded,Arial Rounded MT Bold,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.tutorial-card small{color:var(--game-muted);margin-top:4px;font:700 11px/1.3 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.impact-toast{z-index:5;max-width:calc(100% - 44px);color:var(--game-accent);white-space:nowrap;pointer-events:none;text-shadow:0 3px 0 color-mix(in srgb,var(--game-ink) 14%,transparent),0 0 14px color-mix(in srgb,var(--game-star) 26%,transparent);letter-spacing:-.03em;font:950 clamp(20px,6vw,30px)/1 ui-rounded,Arial Rounded MT Bold,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;animation:.82s cubic-bezier(.16,1.25,.3,1) both impact-pop;position:absolute;top:24%;left:50%;transform:translate(-50%)}.menu-screen,.overlay,.loading-screen{z-index:10;position:absolute;top:0;bottom:0;left:0;right:0}.menu-screen{padding:max(17px, env(safe-area-inset-top)) 20px max(18px, env(safe-area-inset-bottom));background:color-mix(in srgb, var(--game-bg) 96%, transparent);overscroll-behavior:contain;flex-direction:column;justify-content:space-between;animation:.22s ease-out both screen-in;display:flex;overflow-y:auto}.menu-topline{justify-content:space-between;align-items:center;display:flex}.small-control{min-width:48px;height:44px;min-height:44px;color:var(--game-ink);border-radius:13px;font-weight:950}.star-balance{border-radius:14px;min-width:86px;height:39px;padding:0 12px;font-size:18px}.menu-brand{text-align:center;justify-items:center;margin-top:clamp(10px,4svh,38px);display:grid}.app-icon{border:5px solid var(--game-panel);object-fit:cover;width:clamp(112px,31vw,150px);height:clamp(112px,31vw,150px);box-shadow:0 8px 0 color-mix(in srgb, var(--game-ink) 23%, transparent);border-radius:12px;transform:rotate(-2deg)}.menu-brand h1{color:var(--game-accent);letter-spacing:-.055em;margin:23px 0 0;font:950 clamp(36px,11vw,58px)/.92 ui-rounded,Arial Rounded MT Bold,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.menu-brand p{color:var(--game-muted);margin:11px 0 0;font:800 13px/1.3 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.menu-actions{width:min(370px,100%);margin:0 auto}.play-button,.primary-button,.secondary-button,.reward-button{cursor:pointer;border:0;border-radius:19px;width:100%;min-height:58px;transition:transform .11s}.play-button,.primary-button{color:#fff;background:var(--game-accent);box-shadow:0 7px 0 color-mix(in srgb, var(--game-accent) 72%, #7f341f);font:950 20px/1 ui-rounded,Arial Rounded MT Bold,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.play-button{justify-content:center;align-items:center;gap:11px;min-height:68px;display:flex}.play-button span{font-size:16px}.play-button:active,.primary-button:active,.secondary-button:active,.reward-button:active,.menu-tile:active{transform:translateY(3px)scale(.985)}.menu-grid,.pause-nav{grid-template-columns:1fr 1fr;gap:10px;margin-top:15px;display:grid}.menu-tile,.pause-nav button{border:2px solid color-mix(in srgb, var(--game-muted) 22%, transparent);min-height:63px;color:var(--game-ink);background:var(--game-panel);box-shadow:0 5px 0 color-mix(in srgb, var(--game-ink) 16%, transparent);cursor:pointer;border-radius:18px;font:900 13px/1.15 ui-rounded,Arial Rounded MT Bold,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.menu-tile{justify-content:center;align-items:center;gap:8px;display:flex}.menu-tile span{color:var(--game-star);font-size:22px}.menu-tile:first-child span{color:var(--game-accent)}.menu-settings{grid-template-columns:1fr 1fr;gap:9px;display:grid}.menu-settings button{min-height:45px;color:var(--game-ink);background:color-mix(in srgb, var(--game-panel) 66%, transparent);cursor:pointer;border:0;border-radius:15px;justify-content:center;align-items:center;gap:8px;font:950 18px/1 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:flex}.menu-settings small{color:var(--game-muted);font:750 9px/1.15 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.overlay{background:color-mix(in srgb, var(--game-ink) 43%, transparent);overscroll-behavior:contain;place-items:start center;padding:20px;animation:.16s ease-out both overlay-in;display:grid;overflow-y:auto}.modal-card,.collection-card{border:3px solid color-mix(in srgb, var(--game-panel) 82%, #fff);width:min(370px,100%);color:var(--game-ink);background:var(--game-panel);box-shadow:0 9px 0 color-mix(in srgb, var(--game-ink) 27%, transparent);border-radius:31px;margin:auto 0;animation:.28s cubic-bezier(.2,1.25,.35,1) both modal-pop}.modal-card{text-align:center;padding:24px 22px 21px}.modal-card.compact{padding-top:20px}.pause-app-icon{object-fit:cover;width:76px;height:76px;box-shadow:0 5px 0 color-mix(in srgb, var(--game-ink) 20%, transparent);border-radius:24px}.modal-card h2{margin:14px 0 20px;font:950 31px/1 ui-rounded,Arial Rounded MT Bold,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.primary-button{margin-top:0;font-size:16px}.pause-nav button{min-height:50px}.plain-button{width:100%;min-height:43px;color:var(--game-ink);background:color-mix(in srgb, var(--game-muted) 13%, var(--game-panel));cursor:pointer;border:0;border-radius:14px;margin-top:14px;font:850 13px/1 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.pause-settings{grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;display:grid}.pause-settings button{border:2px solid color-mix(in srgb, var(--game-muted) 26%, transparent);min-height:41px;color:var(--game-muted);cursor:pointer;background:0 0;border-radius:13px;font:800 9px/1.2 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.panel-overlay{padding:max(14px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom))}.collection-card{overscroll-behavior:contain;touch-action:pan-y;max-height:100%;padding:17px;overflow-y:auto}.panel-header{grid-template-columns:44px 1fr auto;align-items:center;gap:8px;display:grid}.panel-header>button{width:42px;height:42px;color:var(--game-ink);background:color-mix(in srgb, var(--game-muted) 14%, var(--game-panel));cursor:pointer;border:0;border-radius:14px;font:950 30px/1 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.panel-header h2{text-align:left;margin:0;font:950 25px/1 ui-rounded,Arial Rounded MT Bold,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.panel-header .star-balance{min-width:70px;height:36px;font-size:15px}.tab-row{background:color-mix(in srgb, var(--game-muted) 13%, transparent);border-radius:15px;grid-template-columns:1fr 1fr;gap:7px;margin:16px 0 13px;padding:4px;display:grid}.tab-row button{min-height:39px;color:var(--game-muted);cursor:pointer;background:0 0;border:0;border-radius:12px;font:900 12px/1 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.tab-row button.active{color:#fff;background:var(--game-accent)}.cosmetic-grid{grid-template-columns:repeat(2,1fr);gap:9px;display:grid}.cosmetic-card{min-height:150px;color:var(--game-ink);background:color-mix(in srgb, var(--game-bg) 60%, var(--game-panel));cursor:pointer;border:3px solid #0000;border-radius:20px;align-content:center;justify-items:center;gap:5px;padding:10px 7px 9px;display:grid}.cosmetic-card.selected{border-color:var(--game-accent);background:color-mix(in srgb, var(--game-accent) 9%, var(--game-panel))}.cosmetic-card img{object-fit:contain;width:86px;height:86px}.cosmetic-card strong{max-width:100%;font:900 11px/1.15 ui-rounded,Arial Rounded MT Bold,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.cosmetic-card small{color:#7c5b19;background:color-mix(in srgb, var(--game-star) 38%, #fff);border-radius:9px;min-height:20px;padding:5px 9px;font:900 9px/1 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.cosmetic-card.selected small{color:#fff;background:var(--game-accent)}.theme-card{min-height:142px}.theme-preview{border:3px solid color-mix(in srgb, currentColor 25%, #fff);border-radius:15px;width:100%;height:78px;position:relative;overflow:hidden}.theme-preview:after{content:"";background:currentColor;border-radius:99px;height:9px;position:absolute;bottom:23%;left:12%;right:12%;transform:perspective(50px)rotateX(58deg)}.theme-preview i,.theme-preview b{background:color-mix(in srgb, currentColor 18%, transparent);border-radius:50%;display:block;position:absolute}.theme-preview i{width:53px;height:53px;top:-13px;right:-6px}.theme-preview b{width:38px;height:38px;bottom:-10px;left:8px}.motif-midnight i,.motif-midnight b{clip-path:polygon(50% 0,61% 36%,100% 38%,69% 59%,80% 100%,50% 74%,20% 100%,31% 59%,0 38%,39% 36%);background:#f4c252;border-radius:0;transform:scale(.35)}.panel-hint,.store-note{min-height:28px;color:var(--game-muted);text-align:center;margin:13px 2px 0;font:750 10px/1.35 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.shop-title{color:var(--game-muted);letter-spacing:.12em;text-transform:uppercase;margin:22px 0 12px;font:900 11px/1 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.product-list{gap:9px;display:grid}.product-list button{border:2px solid color-mix(in srgb, var(--game-muted) 20%, transparent);min-height:68px;color:var(--game-ink);background:color-mix(in srgb, var(--game-bg) 42%, var(--game-panel));text-align:left;cursor:pointer;border-radius:18px;grid-template-columns:46px 1fr auto;align-items:center;gap:10px;padding:8px 12px;display:grid}.product-list button:disabled{cursor:default;opacity:.67}.product-star{color:#8a6117;background:var(--game-star);border-radius:14px;place-items:center;width:42px;height:42px;font-size:25px;display:grid}.product-list button>span:nth-child(2){display:grid}.product-list strong{font:950 22px/1 ui-rounded,Arial Rounded MT Bold,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.product-list small{color:var(--game-muted);text-transform:uppercase;margin-top:3px;font:800 9px/1 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.product-price{color:#fff;background:var(--game-accent);white-space:nowrap;border-radius:11px;align-items:center;gap:4px;padding:8px 9px;font:900 10px/1 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:flex}.product-price img{object-fit:contain;width:17px;height:17px}.brand-lockup{color:var(--game-accent);align-items:center;gap:9px;font:950 14px/1 ui-rounded,Arial Rounded MT Bold,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:inline-flex}.brand-lockup img{object-fit:cover;border-radius:13px;width:42px;height:42px}.eyebrow{color:var(--game-muted);letter-spacing:.1em;text-transform:uppercase;margin:19px 0 2px;font:850 12px/1.2 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.result-score{color:var(--game-accent);letter-spacing:-.07em;font:950 clamp(72px,24vw,108px)/.9 ui-rounded,Arial Rounded MT Bold,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.result-best{color:var(--game-muted);margin:6px 0 20px;font:850 13px/1.2 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.reward-button{color:#76511b;background:var(--game-star);box-shadow:0 7px 0 color-mix(in srgb, var(--game-star) 68%, #9b6821);justify-content:center;align-items:center;gap:11px;display:flex}.reward-button span:last-child{justify-items:start;display:grid}.reward-button strong{font:950 15px/1.1 ui-rounded,Arial Rounded MT Bold,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.reward-button small{color:#896927;margin-top:3px;font:700 9px/1 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.play-badge{color:#fff;background:var(--game-accent);border-radius:11px;place-items:center;width:32px;height:32px;padding-left:2px;font-size:14px;display:grid}.secondary-button{color:#fff;background:var(--game-accent);box-shadow:0 7px 0 color-mix(in srgb, var(--game-accent) 68%, #7f341f);margin-top:14px;font:900 15px/1 ui-rounded,Arial Rounded MT Bold,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.reward-button:disabled,.secondary-button:disabled{opacity:.64;cursor:wait}.ad-message{min-height:15px;color:var(--game-accent);margin:12px 0 0;font:750 11px/1.3 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.loading-screen{z-index:20;color:var(--game-ink);background:var(--game-bg);place-content:center;justify-items:center;display:grid}.loading-ball-wrap{background:var(--game-panel);width:108px;height:108px;box-shadow:0 7px 0 color-mix(in srgb, var(--game-ink) 18%, transparent);border-radius:50%;place-items:center;display:grid}.loading-ball-wrap img{width:84px;height:84px;animation:.9s ease-in-out infinite loading-bounce}.loading-logo{color:var(--game-accent);letter-spacing:-.04em;margin-top:26px;font:950 clamp(28px,8vw,40px)/1 ui-rounded,Arial Rounded MT Bold,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.loading-screen p{color:var(--game-muted);margin:11px 0 17px;font:750 12px/1.3 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.loading-track{background:color-mix(in srgb, var(--game-muted) 38%, transparent);border-radius:99px;width:min(225px,65vw);height:8px;overflow:hidden}.loading-track span{border-radius:inherit;background:var(--game-accent);width:42%;height:100%;animation:1s ease-in-out infinite alternate loading-slide;display:block}@keyframes tutorial-in{0%{opacity:0;transform:translate(-50%,14px)scale(.93)}}@keyframes hand-pull{0%,25%,to{transform:translate(6px,-6px)}70%{transform:translate(-5px,7px)}}@keyframes impact-pop{0%{opacity:0;transform:translate(-50%,16px)scale(.58)rotate(-3deg)}28%{opacity:1;transform:translate(-50%)scale(1.08)rotate(1deg)}75%{opacity:1;transform:translate(-50%,-3px)}to{opacity:0;transform:translate(-50%,-18px)scale(.93)}}@keyframes overlay-in{0%{opacity:0}}@keyframes screen-in{0%{opacity:0;transform:scale(1.02)}}@keyframes modal-pop{0%{opacity:0;transform:translateY(16px)scale(.92)}}@keyframes loading-bounce{0%,to{transform:translateY(-7px)rotate(-7deg)}50%{transform:translateY(8px)rotate(9deg)}}@keyframes loading-slide{0%{transform:translate(-10%)}to{transform:translate(145%)}}@media (min-width:600px) and (min-height:680px){.game-shell{border:5px solid color-mix(in srgb, var(--game-panel) 78%, transparent);border-radius:34px}}@media (max-height:700px){.menu-brand{margin-top:0}.app-icon{border-radius:26px;width:92px;height:92px}.menu-brand h1{margin-top:14px;font-size:36px}.menu-brand p{margin-top:7px}.play-button{min-height:58px}.menu-tile{min-height:52px}.menu-settings button{min-height:38px}.collection-card{transform:scale(.96)}}@media (max-height:520px){.menu-screen{justify-content:flex-start;gap:12px}.menu-brand{text-align:left;grid-template-columns:72px 1fr;place-items:center start;column-gap:14px}.app-icon{border-width:3px;border-radius:21px;grid-row:1/3;width:72px;height:72px}.menu-brand h1{margin:0;font-size:30px}.menu-brand p{margin-top:5px}.modal-card{padding-top:16px;padding-bottom:16px}.pause-app-icon{border-radius:17px;width:54px;height:54px}.modal-card h2{margin:9px 0 13px;font-size:25px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important}}:root{--background:#d6d7d8;--foreground:#74767b;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body{overscroll-behavior:none;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;background:var(--background);min-height:100%;margin:0;overflow:hidden}body{color:var(--foreground);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;font-family:ui-rounded,Arial Rounded MT Bold,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}button,canvas{-webkit-tap-highlight-color:transparent}

.menu-screen{background:radial-gradient(circle at 50% 18%,rgba(255,255,255,.94) 0 14%,rgba(255,255,255,.35) 35%,transparent 58%),linear-gradient(180deg,color-mix(in srgb,var(--game-bg) 66%,#fff),var(--game-bg));padding:24px 22px 22px}
.menu-brand{margin-top:4px}
.menu-brand .app-icon,.pause-app-icon,.brand-lockup img{display:none!important}
.menu-brand:before,.modal-card.compact:before,.brand-lockup:before{content:"";color:#fff;background:linear-gradient(145deg,#ff713f 0%,#ff9f31 50%,#ffd34a 100%);border:4px solid rgba(255,255,255,.92);box-shadow:0 8px 0 rgba(163,79,29,.22),0 14px 30px rgba(241,116,46,.2);border-radius:31%;place-items:center;font:1000 38px/1 ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif;letter-spacing:-.12em;padding-right:.09em;display:grid}
.menu-brand:before{width:108px;height:108px;justify-self:center}
.menu-brand h1{color:#4e5562;text-shadow:0 3px 0 #fff;margin-top:17px}
.menu-brand p{color:#838b97;font-weight:850}
.play-button{color:#fff;background:linear-gradient(180deg,#35c9ff,#169fe9);box-shadow:0 8px 0 #0e78b9,0 13px 25px rgba(22,159,233,.2);border:2px solid rgba(255,255,255,.35);min-height:66px}
.play-button span{background:rgba(255,255,255,.2);border-radius:13px;place-items:center;width:34px;height:34px;display:grid}
.menu-grid{gap:12px}
.menu-tile{color:#fff!important;border:2px solid rgba(255,255,255,.36)!important;box-shadow:0 7px 0 rgba(84,57,35,.16)!important}
.menu-tile:first-child{background:linear-gradient(180deg,#ff8756,#f26743)!important}
.menu-tile:last-child{background:linear-gradient(180deg,#ffd65b,#f4a92f)!important;color:#6f4c16!important}
.menu-tile span{background:rgba(255,255,255,.24);border-radius:10px;padding:6px 8px}
.menu-settings button:first-child{background:linear-gradient(180deg,#7bdcc5,#4fc5aa);color:#fff;box-shadow:0 5px 0 #3a9d89}
.menu-settings button:last-child{background:linear-gradient(180deg,#aa91ef,#866ee0);color:#fff;box-shadow:0 5px 0 #6956b9}
.menu-settings small{color:inherit!important;opacity:.9}
.star-balance{background:linear-gradient(180deg,#ffe77a,#ffc73e)!important;color:#785316!important;border:2px solid rgba(255,255,255,.65);box-shadow:0 4px 0 rgba(164,112,25,.2)}
.small-control{background:#fff!important;color:#676f7d!important;box-shadow:0 4px 0 rgba(73,82,96,.12)}
.overlay{backdrop-filter:blur(5px)}
.modal-card,.collection-card{background:rgba(255,255,255,.965);border:3px solid rgba(255,255,255,.8);box-shadow:0 14px 0 rgba(70,74,82,.12),0 24px 55px rgba(62,69,80,.18)}
.modal-card.compact:before{width:70px;height:70px;border-radius:20px;font-size:25px;margin:0 auto 8px}
.primary-button{background:linear-gradient(180deg,#35c9ff,#159de7)!important;box-shadow:0 7px 0 #0d78b8!important;color:#fff!important}
.pause-nav button{color:#fff!important;background:linear-gradient(180deg,#ff8b55,#f06940)!important;box-shadow:0 6px 0 #bd4f31!important;border:0!important}
.pause-nav button:last-child{background:linear-gradient(180deg,#ffd75e,#f3ad31)!important;color:#714d14!important;box-shadow:0 6px 0 #c18726!important}
.modal-card .plain-button{color:#fff!important;background:linear-gradient(180deg,#9d88ec,#7863d4)!important;box-shadow:0 6px 0 #5d4bae!important;border:0!important;min-height:46px;margin-top:13px}
.pause-settings button{background:#edf0f5!important;border:0!important;color:#777f8c!important}
.round-button{background:rgba(255,255,255,.9)!important;box-shadow:0 4px 0 rgba(70,77,88,.16)!important}
.tab-row{background:#edf0f5!important}
.tab-row button.active{background:linear-gradient(180deg,#ff8753,#ef6740)!important}
.cosmetic-card{background:#f5f7fa;border-color:#e5e9ef;box-shadow:0 4px 0 rgba(83,91,102,.08)}
.cosmetic-card.selected{border-color:#ff7445;background:#fff3ec;box-shadow:0 5px 0 rgba(211,83,45,.13)}
.product-list button{background:#f5f7fa;border-color:#e3e8ef;box-shadow:0 4px 0 rgba(83,91,102,.08)}
.product-price{background:linear-gradient(180deg,#ff8753,#ef6740)!important}
.brand-lockup:before{width:42px;height:42px;border-radius:13px;border-width:2px;font-size:16px;box-shadow:0 4px 0 rgba(163,79,29,.18)}
.reward-button{background:linear-gradient(180deg,#ffe16c,#ffc641)!important;box-shadow:0 7px 0 #c99128!important}
.secondary-button{background:linear-gradient(180deg,#35c9ff,#159de7)!important;box-shadow:0 7px 0 #0d78b8!important}
.loading-logo{color:#f16a41!important}
@media(max-height:700px){.menu-brand:before{width:88px;height:88px;font-size:31px}.menu-brand h1{font-size:35px}}
@media(max-height:520px){.menu-brand:before{grid-row:1/3;width:70px;height:70px;border-radius:20px;font-size:25px}.modal-card.compact:before{width:54px;height:54px;font-size:20px}}
@media(max-width:599px){.game-shell{width:100vw;height:100svh;min-height:100svh;max-height:100svh;border-radius:0;box-shadow:none}}

.hud-top{grid-template-columns:56px minmax(112px,1fr) 94px;gap:8px}
.score-stack{position:relative;z-index:2;margin-top:-3px;min-width:112px}
.score-value{font-size:clamp(44px,11vw,60px);line-height:.9}
.score-caption{margin-top:5px;letter-spacing:.15em;font-size:10px;background:color-mix(in srgb,var(--game-bg) 88%,transparent);border-radius:8px;padding:2px 6px}
.wave-meter{top:max(106px,calc(env(safe-area-inset-top) + 96px));z-index:1;gap:6px}
.wave-meter span{width:15px;height:5px}
.life-row{top:max(74px,calc(env(safe-area-inset-top) + 62px))}

.menu-brand{position:relative;isolation:isolate}
.menu-brand:before{content:""!important;width:146px!important;height:82px!important;border-radius:50%!important;border:9px solid #ff7542!important;background:linear-gradient(145deg,#ffb33f 0 47%,#ff7b3f 48% 100%)!important;color:#fff!important;box-shadow:inset 0 0 0 3px rgba(255,255,255,.42),0 9px 0 rgba(179,74,35,.2),0 20px 38px rgba(239,111,50,.2)!important;font:1000 italic 52px/.9 ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif!important;letter-spacing:-.18em!important;padding:4px 13px 0 0!important;text-shadow:-3px 3px 0 #565d6a,0 2px 0 rgba(255,255,255,.3)!important;transform:rotate(-7deg)!important;display:grid!important;place-items:center!important}
.menu-brand:after{content:"";position:absolute;top:13px;left:calc(50% + 48px);width:24px;height:24px;border-radius:50%;z-index:3;background:radial-gradient(circle at 32% 28%,#ffd66c 0 16%,#ff8a29 17% 62%,#d95325 63% 100%);box-shadow:inset 0 0 0 2px rgba(77,49,48,.23),0 3px 0 rgba(112,54,28,.18);animation:logo-ball 2.8s ease-in-out infinite}
.modal-card.compact:before{content:""!important;width:76px!important;height:44px!important;border:5px solid #ff7542!important;border-radius:50%!important;background:linear-gradient(145deg,#ffb33f,#ff7b3f)!important;color:#fff!important;font:1000 italic 24px/.9 ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif!important;letter-spacing:-.16em!important;padding-right:5px!important;text-shadow:-2px 2px 0 #59606c!important;transform:rotate(-6deg)!important}
.brand-lockup:before{content:""!important;width:48px!important;height:30px!important;border:3px solid #ff7542!important;border-radius:50%!important;background:linear-gradient(145deg,#ffb33f,#ff7b3f)!important;color:#fff!important;font:1000 italic 15px/.9 ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif!important;letter-spacing:-.15em!important;padding-right:3px!important;text-shadow:-1px 1px 0 #59606c!important}

.play-button,.menu-tile,.menu-settings button,.small-control,.primary-button,.secondary-button,.reward-button,.pause-nav button,.plain-button{position:relative;overflow:hidden;transition:transform .14s cubic-bezier(.2,1.4,.3,1),filter .18s,box-shadow .18s}
.play-button{animation:play-breathe 2.8s ease-in-out infinite}
.play-button:after{content:"";position:absolute;inset:-60% auto -60% -34%;width:28%;transform:rotate(16deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent);animation:button-shine 3.6s ease-in-out infinite}
.play-button span{animation:play-icon 1.9s ease-in-out infinite}
.menu-tile:hover,.menu-settings button:hover,.small-control:hover{filter:brightness(1.045);transform:translateY(-2px)}
.menu-tile:first-child>span{font-size:0!important;width:36px;height:36px;padding:0!important;border-radius:50%!important;background:radial-gradient(circle at 31% 24%,#ffd774 0 12%,#ff8b2c 13% 66%,#e85a24 67% 100%)!important;box-shadow:inset 0 0 0 2px rgba(77,52,55,.28),0 3px 0 rgba(113,54,32,.17);position:relative}
.menu-tile:first-child>span:before,.menu-tile:first-child>span:after{content:"";position:absolute;background:#37445c;border-radius:9px;opacity:.82}
.menu-tile:first-child>span:before{width:3px;height:34px;left:17px;top:1px;transform:rotate(23deg)}
.menu-tile:first-child>span:after{height:3px;width:33px;left:1px;top:17px;transform:rotate(-12deg)}
.menu-tile:last-child>span{font-size:0!important;width:38px;height:32px;padding:0!important;border-radius:8px 8px 11px 11px!important;background:linear-gradient(180deg,#fff4a4,#ffc841)!important;box-shadow:inset 0 0 0 2px rgba(126,83,23,.16),0 3px 0 rgba(137,90,27,.16);position:relative}
.menu-tile:last-child>span:before{content:"";position:absolute;width:18px;height:9px;border:4px solid #fff4a4;border-bottom:0;border-radius:12px 12px 0 0;left:10px;top:-8px}
.menu-tile:last-child>span:after{content:"★";position:absolute;inset:4px 0 0;color:#f28a2b;font:900 20px/1 system-ui}

.shop-card{overflow:hidden;background:linear-gradient(180deg,#fff 0%,#fff9ed 100%)!important;border-color:#fff4d7!important}
.shop-card:before{content:"";position:absolute;inset:-90px -70px auto;height:190px;background:radial-gradient(circle at 50% 50%,rgba(255,207,70,.34),transparent 68%);pointer-events:none}
.shop-hero{position:relative;overflow:hidden;margin:4px 16px 14px;border-radius:22px;padding:16px 17px 15px;color:#fff;background:linear-gradient(135deg,#7657e8 0%,#a365e8 42%,#ff7a52 100%);box-shadow:0 7px 0 rgba(94,69,164,.16),0 13px 26px rgba(102,76,173,.18);display:grid;gap:4px}
.shop-hero:after{content:"";position:absolute;width:120px;height:120px;border:18px solid rgba(255,220,97,.2);border-radius:50%;right:-42px;top:-44px;transform:rotate(-18deg)}
.shop-hero-stars{letter-spacing:.18em;color:#ffe366;font-size:18px;text-shadow:0 2px 0 rgba(88,45,119,.18)}
.shop-hero strong{font:950 17px/1.1 ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif;max-width:230px}
.shop-hero small{opacity:.88;font:700 10px/1.35 system-ui,sans-serif;max-width:270px}
.shop-title{font-size:13px!important;letter-spacing:.12em;text-transform:uppercase;color:#9a7b68!important;margin:4px 18px 10px!important}
.product-list{gap:12px!important;padding:0 14px!important}
.product-list button{position:relative;overflow:visible!important;min-height:78px!important;border:2px solid rgba(255,255,255,.82)!important;border-radius:21px!important;padding:12px 12px 12px 13px!important;box-shadow:0 6px 0 rgba(79,69,98,.1),0 11px 23px rgba(90,74,111,.08)!important;transition:transform .14s cubic-bezier(.2,1.4,.3,1),filter .2s!important}
.product-list button:nth-child(1){background:linear-gradient(135deg,#e7f7ff,#ccecff)!important;color:#496b80!important}
.product-list button:nth-child(2){background:linear-gradient(135deg,#fff0d6,#ffd877)!important;color:#795128!important;border-color:#fff3bd!important;transform:scale(1.015)}
.product-list button:nth-child(3){background:linear-gradient(135deg,#f0eaff,#cfbfff)!important;color:#574d82!important}
.product-list button:not(:disabled):hover{transform:translateY(-2px) scale(1.018);filter:saturate(1.06)}
.product-list button:disabled{opacity:.82!important;filter:saturate(.78)!important}
.product-star{width:48px!important;height:48px!important;min-width:48px;border-radius:16px!important;background:radial-gradient(circle at 36% 28%,#fffbd7 0 13%,#ffe260 14% 56%,#f7ae2e 57% 100%)!important;color:#fff!important;text-shadow:0 2px 0 #c38322;box-shadow:inset 0 0 0 2px rgba(255,255,255,.6),0 4px 0 rgba(157,105,27,.14);font-size:27px!important;place-items:center;display:grid}
.product-list button>span:nth-of-type(2) strong{font-size:21px!important;letter-spacing:-.03em}
.product-list button>span:nth-of-type(2) small{font-size:10px!important;opacity:.74}
.product-price{border:2px solid rgba(255,255,255,.5)!important;background:linear-gradient(180deg,#ff8750,#f0613c)!important;color:#fff!important;box-shadow:0 3px 0 rgba(157,65,38,.15);min-width:84px;justify-content:center}
.product-ribbon{position:absolute;right:13px;top:-9px;z-index:3;border-radius:99px;padding:5px 9px;background:#6f56df;color:#fff;box-shadow:0 3px 0 rgba(72,51,153,.18);font:950 8px/1 ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif;letter-spacing:.07em}
.product-list button:nth-child(3) .product-ribbon{background:#ff6d4d;box-shadow:0 3px 0 rgba(164,69,48,.18)}
.store-note{margin:12px 16px 0!important;background:#fff4dc!important;border:1px solid #f5d9a5;border-radius:14px;padding:9px 10px!important;color:#96764b!important}
.store-trust{margin:10px 18px 0;color:#7d9b78;text-align:center;font:800 10px/1.2 system-ui,sans-serif}
.shop-card .panel-hint{margin-top:8px!important}

@keyframes logo-ball{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-7px) rotate(16deg)}}
@keyframes play-breathe{0%,100%{transform:translateY(0);filter:saturate(1)}50%{transform:translateY(-2px);filter:saturate(1.06)}}
@keyframes button-shine{0%,58%{left:-34%}78%,100%{left:118%}}
@keyframes play-icon{0%,100%{transform:translateX(0) scale(1)}50%{transform:translateX(2px) scale(1.08)}}
@media(max-height:700px){.menu-brand:before{width:126px!important;height:70px!important;font-size:44px!important}.menu-brand:after{top:11px;left:calc(50% + 40px);width:21px;height:21px}.shop-hero{padding:12px 14px;margin-bottom:10px}.product-list button{min-height:69px!important}}
@media(max-height:560px){.wave-meter{top:max(98px,calc(env(safe-area-inset-top) + 90px))}.shop-hero small{display:none}.product-list{gap:8px!important}.product-list button{min-height:61px!important;padding-top:8px!important;padding-bottom:8px!important}.product-star{width:42px!important;height:42px!important;min-width:42px}}
@media(prefers-reduced-motion:reduce){.play-button,.menu-brand:after{animation:none!important}.play-button:after{display:none}}

.wave-meter{top:max(112px,calc(env(safe-area-inset-top) + 102px))!important}
.menu-brand .app-icon{display:block!important;width:clamp(148px,42vw,176px)!important;height:auto!important;aspect-ratio:220/150;object-fit:contain!important;border:0!important;border-radius:0!important;box-shadow:none!important;filter:drop-shadow(0 9px 9px rgba(79,83,98,.16));transform:rotate(-1.2deg);animation:brand-float 3.8s ease-in-out infinite}
.menu-brand:before,.menu-brand:after{display:none!important}
.modal-card.compact:before,.brand-lockup:before{display:none!important}
.pause-app-icon{display:block!important;width:108px!important;height:74px!important;object-fit:contain!important;border-radius:0!important;box-shadow:none!important;filter:drop-shadow(0 6px 5px rgba(67,71,83,.16));margin:0 auto 1px!important}
.brand-lockup img{display:block!important;width:62px!important;height:43px!important;object-fit:contain!important;border-radius:0!important;filter:drop-shadow(0 4px 3px rgba(67,71,83,.14))}
.menu-brand h1{margin-top:10px!important}
.play-button{background:linear-gradient(135deg,var(--game-accent) 0%,color-mix(in srgb,var(--game-accent) 74%,#ffb242) 100%)!important;box-shadow:0 7px 0 color-mix(in srgb,var(--game-accent) 70%,#7e3629),0 14px 24px color-mix(in srgb,var(--game-accent) 20%,transparent)!important}
.menu-grid{gap:12px!important}
.menu-tile{min-height:68px!important;border-width:2px!important;box-shadow:0 5px 0 rgba(91,91,104,.11),0 10px 20px rgba(92,91,108,.06)!important}
.menu-tile:first-child{background:linear-gradient(145deg,#fff8ef,#ffe4d0)!important;border-color:#ffe1ca!important;animation:menu-card-drift 3.5s ease-in-out infinite}
.menu-tile:last-child{background:linear-gradient(145deg,#fffceb,#ffeaa6)!important;border-color:#ffebb0!important;animation:menu-card-drift 3.5s ease-in-out .55s infinite}
.menu-tile:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 0 36%,rgba(255,255,255,.48) 48%,transparent 60%);transform:translateX(-120%);transition:transform .5s ease}
.menu-tile:hover:before{transform:translateX(120%)}
.menu-tile:first-child>span,.menu-tile:last-child>span{transform:translateZ(0);transition:transform .22s cubic-bezier(.2,1.5,.3,1),filter .2s}
.menu-tile:hover>span{transform:translateY(-2px) rotate(-4deg) scale(1.06);filter:saturate(1.08)}
.menu-tile:last-child:hover>span{transform:translateY(-2px) rotate(4deg) scale(1.06)}
.menu-settings button:first-child{background:linear-gradient(145deg,#f3fff9,#dff7ec)!important}
.menu-settings button:last-child{background:linear-gradient(145deg,#f7f4ff,#e8e0ff)!important}
.menu-settings button:hover{box-shadow:0 4px 0 rgba(82,84,99,.08)}
.star-balance span{display:inline-block;animation:star-twinkle 2.4s ease-in-out infinite}

.shop-hero{background:linear-gradient(125deg,#634bd7 0%,#9b5be8 38%,#ff7656 76%,#ffb23d 100%)!important;box-shadow:0 7px 0 rgba(89,67,157,.16),0 16px 30px rgba(100,71,160,.16)!important}
.shop-hero:before{content:"";position:absolute;inset:-45% auto -45% -28%;width:23%;transform:rotate(18deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.32),transparent);animation:shop-glint 4.8s ease-in-out infinite}
.product-list button{isolation:isolate}
.product-list button:before{content:"";position:absolute;z-index:-1;inset:4px;border-radius:17px;background:linear-gradient(115deg,rgba(255,255,255,.25),transparent 38% 66%,rgba(255,255,255,.18));pointer-events:none}
.product-list button:nth-child(2){box-shadow:0 7px 0 rgba(150,102,30,.13),0 15px 28px rgba(154,113,45,.12)!important}
.product-list button:nth-child(2):not(:disabled):hover{transform:translateY(-2px) scale(1.035)!important}
.product-ribbon{padding:6px 10px!important;font-size:8.5px!important;box-shadow:0 3px 0 rgba(72,51,153,.18),0 7px 14px rgba(72,51,153,.12)!important}
.product-star{animation:pack-star 3.2s ease-in-out infinite}
.product-list button:nth-child(2) .product-star{animation-delay:.35s}
.product-list button:nth-child(3) .product-star{animation-delay:.7s}
.product-price{min-width:88px!important;font-size:11px!important}
.store-trust{background:#f0faee;border:1px solid #dbeed7;border-radius:12px;padding:7px 9px;margin:11px 18px 0!important}

@keyframes brand-float{0%,100%{transform:translateY(0) rotate(-1.2deg)}50%{transform:translateY(-4px) rotate(.5deg)}}
@keyframes menu-card-drift{0%,100%{transform:translateY(0)}50%{transform:translateY(-1.5px)}}
@keyframes star-twinkle{0%,100%{transform:scale(1) rotate(0);filter:brightness(1)}50%{transform:scale(1.12) rotate(7deg);filter:brightness(1.08)}}
@keyframes shop-glint{0%,64%{left:-28%}82%,100%{left:118%}}
@keyframes pack-star{0%,100%{transform:rotate(0) scale(1)}50%{transform:rotate(5deg) scale(1.045)}}
@media(max-height:700px){.menu-brand .app-icon{width:132px!important}.menu-brand h1{margin-top:4px!important}.menu-tile{min-height:61px!important}.pause-app-icon{width:94px!important;height:64px!important}}
@media(max-height:560px){.wave-meter{top:max(105px,calc(env(safe-area-inset-top) + 97px))!important}.menu-brand .app-icon{width:98px!important}.menu-brand h1{margin-top:2px!important}.menu-brand p{margin-top:5px!important}.menu-tile{min-height:55px!important}}
@media(prefers-reduced-motion:reduce){.menu-brand .app-icon,.menu-tile,.star-balance span,.product-star,.shop-hero:before{animation:none!important}}

.play-button{background:linear-gradient(135deg,#ff4e45 0%,#ff7a28 48%,#ffb21f 100%)!important;color:#fff!important;border-color:#ffb08c!important;box-shadow:0 7px 0 #bd4633,0 16px 30px rgba(255,92,49,.28)!important;text-shadow:0 2px 0 rgba(130,43,28,.2)}
.play-button:hover{filter:saturate(1.15) brightness(1.04)!important}
.menu-tile{color:#fff!important;text-shadow:0 1px 0 rgba(40,45,70,.12);border-color:rgba(255,255,255,.72)!important;box-shadow:0 6px 0 rgba(61,66,102,.16),0 14px 26px rgba(56,67,110,.14)!important}
.menu-tile:first-child{background:linear-gradient(145deg,#28d9ff 0%,#2d9cff 48%,#5e70ff 100%)!important;border-color:#9eeeff!important}
.menu-tile:last-child{background:linear-gradient(145deg,#ffd52f 0%,#ffab24 48%,#ff6c39 100%)!important;border-color:#ffe897!important}
.menu-tile:first-child>span{box-shadow:inset 0 0 0 2px rgba(255,255,255,.5),0 4px 0 rgba(32,76,137,.22)!important}
.menu-tile:last-child>span{background:linear-gradient(180deg,#fff6a0,#ffe04b)!important;box-shadow:inset 0 0 0 2px rgba(255,255,255,.5),0 4px 0 rgba(158,91,26,.2)!important}
.menu-settings button{color:#fff!important;border-color:rgba(255,255,255,.72)!important;text-shadow:0 1px 0 rgba(30,50,60,.12);box-shadow:0 5px 0 rgba(66,73,103,.14),0 10px 20px rgba(66,73,103,.1)!important}
.menu-settings button:first-child{background:linear-gradient(145deg,#35e7a2,#12bfc5)!important}
.menu-settings button:last-child{background:linear-gradient(145deg,#b45cff,#7157ff)!important}
.menu-settings button small{color:rgba(255,255,255,.9)!important}
.small-control{background:linear-gradient(145deg,#4f68ff,#994cff)!important;color:#fff!important;border-color:#bfc5ff!important;box-shadow:0 4px 0 rgba(66,48,147,.18)!important}
.star-balance{background:linear-gradient(145deg,#fff5a7,#ffd843)!important;border-color:#fff1a0!important;color:#765018!important;box-shadow:0 5px 0 rgba(151,101,26,.14),0 10px 22px rgba(174,121,35,.1)!important}
.shop-card{background:linear-gradient(180deg,#fff 0%,#fff7e9 55%,#fff0fb 100%)!important;border-color:#ffe5c2!important}
.shop-card:before{background:radial-gradient(circle at 50% 50%,rgba(255,203,48,.52),transparent 66%)!important}
.shop-hero{background:linear-gradient(125deg,#642dff 0%,#a92cff 28%,#ff347f 62%,#ff8a1e 100%)!important;box-shadow:0 8px 0 rgba(89,39,163,.2),0 18px 34px rgba(131,45,174,.25)!important;border:2px solid rgba(255,255,255,.28)}
.shop-hero-stars{color:#fff36a!important;font-size:21px!important;filter:drop-shadow(0 2px 0 rgba(105,50,97,.28))}
.shop-hero strong{font-size:18px!important;text-shadow:0 2px 0 rgba(83,36,109,.16)}
.shop-hero small{opacity:.96!important}
.shop-title{color:#844fb0!important;font-weight:950!important}
.product-list button{color:#fff!important;border-color:rgba(255,255,255,.88)!important;box-shadow:0 7px 0 rgba(64,55,97,.16),0 15px 28px rgba(73,58,111,.16)!important;text-shadow:0 1px 0 rgba(40,45,70,.12)}
.product-list button:nth-child(1){background:linear-gradient(135deg,#34d9ff 0%,#318cff 100%)!important;color:#fff!important}
.product-list button:nth-child(2){background:linear-gradient(135deg,#ffe13a 0%,#ff9e1f 60%,#ff7532 100%)!important;color:#fff!important;border-color:#fff08a!important}
.product-list button:nth-child(3){background:linear-gradient(135deg,#8a5cff 0%,#b742ff 52%,#ff4fc1 100%)!important;color:#fff!important}
.product-list button:disabled{opacity:.93!important;filter:saturate(.92)!important}
.product-list button>span:nth-of-type(2) small{opacity:.88!important}
.product-star{background:radial-gradient(circle at 34% 26%,#fffbd5 0 12%,#ffe44a 13% 55%,#ff9c20 56% 100%)!important;box-shadow:inset 0 0 0 2px rgba(255,255,255,.68),0 5px 0 rgba(124,73,28,.18),0 9px 18px rgba(128,70,32,.16)!important}
.product-price{background:linear-gradient(180deg,#ffffff,#fff3e7)!important;color:#7a4160!important;border-color:rgba(255,255,255,.9)!important;text-shadow:none!important;box-shadow:0 4px 0 rgba(93,54,80,.14)!important;font-weight:950!important}
.product-ribbon{background:linear-gradient(135deg,#5b36e8,#912fff)!important;border:1px solid rgba(255,255,255,.34);font-size:9px!important}
.product-list button:nth-child(3) .product-ribbon{background:linear-gradient(135deg,#ff3f83,#ff7138)!important}
.store-note{background:linear-gradient(135deg,#f4efff,#ffeefa)!important;border-color:#e6d4ff!important;color:#775b8d!important;font-weight:800!important}
.store-trust{background:linear-gradient(135deg,#e8fff3,#e3f7ff)!important;border-color:#c9efdb!important;color:#357b65!important;font-size:10.5px!important}
.pause-nav button:first-child{background:linear-gradient(145deg,#30d7ff,#4385ff)!important;color:#fff!important}
.pause-nav button:last-child{background:linear-gradient(145deg,#ffd739,#ff8a28)!important;color:#fff!important}
.primary-button{background:linear-gradient(135deg,#ff5549,#ff9425)!important;color:#fff!important;box-shadow:0 6px 0 #bd4d34!important}
.reward-button{background:linear-gradient(135deg,#6659ff,#b24cff)!important;color:#fff!important}
@media(prefers-reduced-motion:reduce){.product-star,.shop-hero-stars{animation:none!important}}

.product-copy{display:grid!important;min-width:0;align-content:center;justify-items:start;line-height:1}
.product-copy strong,.product-copy small{display:block;white-space:nowrap}

.hud-top{position:relative!important;grid-template-columns:56px 1fr 94px!important;min-height:72px}
.hud-top>.round-button{grid-column:1!important;justify-self:start}
.hud-counters{grid-column:3!important;justify-self:stretch}
.score-stack{position:absolute!important;top:-3px!important;left:50%!important;right:auto!important;margin:0!important;transform:translateX(-50%)!important;min-width:118px!important;justify-self:auto!important}
.wave-meter{left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:max-content}
.reward-button{min-height:72px!important;padding:9px 15px!important;background:linear-gradient(135deg,#ffb42f 0%,#ff8a32 42%,#ef623e 100%)!important;color:#fff!important;box-shadow:0 8px 0 #c94c32!important;border:2px solid rgba(255,255,255,.72)!important;justify-content:flex-start!important;gap:12px!important;text-align:left!important;isolation:isolate}
.reward-button:before{content:"";position:absolute;inset:2px 4px auto 4px;height:44%;border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.3),rgba(255,255,255,0));pointer-events:none;z-index:-1}
.reward-button:after{content:"";position:absolute;top:-70%;left:-35%;width:28%;height:230%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.38),transparent);transform:rotate(20deg);animation:reward-shine 2.9s ease-in-out infinite;pointer-events:none}
.reward-button .play-badge{flex:0 0 auto;width:44px;height:44px;border-radius:15px;background:#fff!important;color:#ef673f!important;box-shadow:0 4px 0 rgba(150,67,39,.2)!important;font-size:17px!important}
.reward-copy{min-width:0;display:grid!important;justify-items:start!important;align-content:center!important;gap:2px;flex:1}
.reward-copy strong{color:#fff!important;font-size:16px!important;line-height:1.08!important;text-shadow:0 2px 0 rgba(154,61,34,.18)}
.reward-copy small{color:rgba(255,255,255,.86)!important;margin:0!important;font-size:9.5px!important;letter-spacing:.01em}
.reward-kicker{display:inline-grid!important;place-items:center;background:rgba(133,55,39,.18);border:1px solid rgba(255,255,255,.35);color:#fff6df;border-radius:999px;padding:3px 7px;margin-bottom:2px;font:950 8px/1 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;letter-spacing:.13em}
.reward-chevron{flex:0 0 auto;color:rgba(255,255,255,.9);font:900 29px/1 system-ui;margin-left:auto;margin-right:2px;text-shadow:0 2px 0 rgba(154,61,34,.18)}
@keyframes reward-shine{0%,58%,100%{left:-35%;opacity:0}66%{opacity:1}86%{left:118%;opacity:0}}
@media(prefers-reduced-motion:reduce){.reward-button:after{animation:none!important}}

.reward-button{gap:10px!important;padding-left:13px!important;padding-right:13px!important}
.reward-button .play-badge{width:42px!important;height:42px!important}
.reward-copy strong{font-size:14.5px!important;letter-spacing:-.015em;white-space:nowrap}
.reward-chevron{margin-right:0!important;font-size:27px!important}

.pause-nav-single{grid-template-columns:1fr!important}
.pause-nav-single button{color:#fff!important;background:linear-gradient(145deg,#f6b62e,#ef7b38)!important;border-color:#fff8!important;box-shadow:0 5px 0 #bd682e!important}
.revive-block{width:100%;display:grid;gap:10px;margin-top:2px}
.revive-left{justify-self:center;color:#8c6a28;background:#fff5cf;border:2px solid #f1d47e;border-radius:999px;padding:6px 12px;font:850 10px/1 ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif;letter-spacing:.025em}
.paid-revive-button{cursor:pointer;border:0;border-radius:19px;width:100%;min-height:58px;color:#714a17;background:linear-gradient(145deg,#ffe26a,#f8b72f);box-shadow:0 7px 0 #c78325;display:flex;align-items:center;justify-content:center;gap:12px;transition:transform .11s,filter .11s}
.paid-revive-button:active{transform:translateY(3px) scale(.985)}
.paid-revive-button:disabled{opacity:.52;cursor:default;filter:grayscale(.15)}
.paid-star{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:#fff8da;color:#f2ad1e;font-size:24px;box-shadow:inset 0 -2px 0 #e9c85b}
.paid-revive-copy{display:grid;justify-items:start;text-align:left}
.paid-revive-copy strong{font:950 15px/1.1 ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif}
.paid-revive-copy small{margin-top:4px;color:#906826;font:750 9px/1 system-ui,sans-serif}
.gameover-overlay .secondary-button{margin-top:12px}
@media (max-height:700px){.revive-block{gap:7px}.revive-left{padding:5px 10px}.reward-button,.paid-revive-button{min-height:52px}.result-best{margin-bottom:13px}.gameover-overlay .modal-card{padding-top:18px;padding-bottom:17px}}

.gameover-overlay .modal-card{padding:20px 20px 18px!important}
.gameover-overlay .brand-lockup{margin-bottom:2px}
.gameover-overlay .eyebrow{margin-top:13px!important}
.gameover-overlay .result-score{font-size:clamp(66px,22vw,96px)!important}
.gameover-overlay .result-best{margin:5px 0 13px!important}
.revive-block{width:100%;display:grid!important;gap:9px!important;margin:0!important}
.revive-left{justify-self:center!important;margin:0!important;padding:5px 11px!important;font-size:9px!important}
.revive-options{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13px;width:100%;padding:0 0 7px}
.revive-choice{position:relative!important;width:100%!important;min-width:0!important;min-height:68px!important;margin:0!important;padding:9px 8px!important;border:2px solid rgba(255,255,255,.78)!important;border-radius:18px!important;box-shadow:none!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;text-align:left!important;overflow:hidden!important}
.reward-button.revive-choice{background:linear-gradient(145deg,#ff8b38,#ed5c3d)!important;color:#fff!important}
.paid-revive-button.revive-choice{background:linear-gradient(145deg,#ffd955,#f3aa25)!important;color:#76501b!important}
.revive-choice:after,.revive-choice:before{display:none!important;content:none!important}
.revive-choice-icon{flex:0 0 auto;width:32px;height:32px;border-radius:11px;display:grid;place-items:center;background:rgba(255,255,255,.9);font:950 14px/1 system-ui,sans-serif}
.revive-video-option .revive-choice-icon{color:#ef673f}.revive-stars .revive-choice-icon{color:#efa91f;font-size:19px}
.revive-choice-copy{min-width:0;display:grid!important;justify-items:start!important;text-align:left!important}
.revive-choice-copy strong{font:950 14px/1.05 ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif!important;white-space:nowrap}
.revive-choice-copy small{margin-top:4px!important;color:inherit!important;opacity:.78;font:800 8px/1.05 system-ui,sans-serif!important;white-space:nowrap}
.revive-choice:active{transform:translateY(2px) scale(.985)!important}
.revive-choice:disabled{opacity:.48!important;filter:saturate(.7)!important;cursor:default!important}
.gameover-overlay .secondary-button{margin-top:11px!important;min-height:52px!important}

.menu-screen{background:linear-gradient(180deg,rgba(248,253,255,.7) 0%,rgba(248,253,255,.12) 38%,rgba(248,253,255,.46) 100%)!important;backdrop-filter:saturate(1.04) blur(1px)}
.theme-card{min-height:164px!important;align-content:start!important}
.theme-card strong{font-size:12px!important;margin-top:2px;text-align:center}
.theme-card.achievement-locked{background:linear-gradient(160deg,#fffaf0,#f4f0ff)!important;border-color:#eadcf8!important}
.theme-card.achievement-locked .theme-preview{filter:saturate(.76) brightness(.88)}
.theme-card.achievement-locked small{display:grid;place-items:center;min-height:35px;width:100%;padding:6px 7px!important;color:#6d568d!important;background:#eee5fb!important;white-space:normal;line-height:1.22!important;text-align:center}
.theme-lock-badge{z-index:3;position:absolute;top:7px;right:7px;width:31px;height:31px;display:grid;place-items:center;border-radius:11px;background:rgba(255,255,255,.94);box-shadow:0 3px 0 rgba(61,44,91,.18);font-style:normal;font-size:16px}

.stuck-rescue-card{z-index:8;position:absolute;left:50%;bottom:max(22px,calc(env(safe-area-inset-bottom) + 14px));width:min(364px,calc(100% - 28px));transform:translateX(-50%);padding:15px;border:2px solid rgba(255,255,255,.88);border-radius:24px;color:#525b6d;background:linear-gradient(145deg,rgba(255,255,255,.97),rgba(241,248,255,.96));box-shadow:0 8px 0 rgba(61,71,99,.18),0 18px 38px rgba(44,61,102,.17);animation:.32s cubic-bezier(.2,1.35,.35,1) both stuck-card-in;display:grid;gap:6px;pointer-events:auto}
.stuck-kicker{width:max-content;color:#fff;background:linear-gradient(135deg,#6e5cf5,#a454ea);border-radius:999px;padding:5px 9px;letter-spacing:.08em;font:950 9px/1 ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif}
.stuck-rescue-card>strong{font:950 18px/1.1 ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif}
.stuck-rescue-card>p{margin:0;color:#7a8395;font:750 11px/1.35 system-ui,sans-serif}
.stuck-actions{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:8px;margin-top:5px;display:grid}
.stuck-actions button{min-height:44px;border:0;border-radius:14px;cursor:pointer;font:900 10px/1.2 ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif}
.stuck-return{color:#fff;background:linear-gradient(135deg,#ff6748,#ff9b27);box-shadow:0 4px 0 #c45534}
.stuck-watch{color:#626d83;background:#e9eff8;box-shadow:0 4px 0 #cbd4e2}
.stuck-actions button:active{transform:translateY(2px)}

.achievement-overlay{z-index:17!important;background:radial-gradient(circle at 50% 28%,rgba(116,87,245,.28),rgba(31,36,67,.62) 68%)!important}
.achievement-card{isolation:isolate;position:relative;overflow:hidden;width:min(372px,100%);margin:auto 0;padding:19px 19px 17px;text-align:center;color:#50586b;background:linear-gradient(180deg,#fff 0%,#fffaf0 54%,#f7f3ff 100%);border:3px solid rgba(255,255,255,.9);border-radius:31px;box-shadow:0 10px 0 rgba(57,51,94,.24),0 28px 70px rgba(28,31,67,.3);animation:.44s cubic-bezier(.2,1.38,.3,1) both unlock-card-in}
.achievement-card:before{content:"";z-index:-1;position:absolute;inset:-80px -60px auto;height:190px;background:radial-gradient(circle,rgba(255,219,83,.4),transparent 68%)}
.unlock-kicker{display:inline-block;margin:0 0 10px;padding:6px 11px;color:#fff;background:linear-gradient(135deg,#704ff1,#b04cdf);border-radius:999px;box-shadow:0 4px 0 rgba(75,53,159,.2);letter-spacing:.12em;font:950 9px/1 ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif}
.unlock-theme-preview{position:relative;width:100%;height:154px;overflow:hidden;background-size:cover!important;background-position:center!important;border:4px solid #fff;border-radius:23px;box-shadow:0 7px 0 rgba(69,66,92,.15),0 15px 26px rgba(64,61,91,.12)}
.unlock-theme-preview:after{content:"";position:absolute;left:13%;right:13%;bottom:18%;height:9px;border-radius:99px;background:#f0774b;box-shadow:0 4px 0 rgba(107,63,55,.16);transform:perspective(60px) rotateX(58deg)}
.unlock-theme-preview>span{z-index:3;position:absolute;top:10px;right:10px;width:38px;height:38px;display:grid;place-items:center;border-radius:13px;background:#fff7c6;box-shadow:0 4px 0 rgba(120,88,26,.18);font-size:21px}
.achievement-card h2{margin:18px 0 4px;color:#614fe0;font:950 30px/1 ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif;letter-spacing:-.035em}
.unlock-theme-name{display:block;color:#424a5c;font:950 18px/1.15 ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif}
.unlock-reason{display:inline-block;margin:9px 0 0;padding:7px 10px;color:#796024;background:#fff0ae;border:1px solid #f2d76d;border-radius:12px;font:850 9px/1.25 system-ui,sans-serif}
.unlock-copy{margin:11px auto 14px;max-width:300px;color:#777f90;font:720 11px/1.4 system-ui,sans-serif}
.unlock-cta{min-height:54px!important}
.unlock-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.unlock-confetti i{--hue:calc(var(--unlock-i) * 29);position:absolute;top:-14px;left:calc(4% + var(--unlock-i) * 5.35%);width:7px;height:12px;border-radius:3px;background:hsl(var(--hue) 82% 60%);opacity:0;transform:rotate(calc(var(--unlock-i) * 23deg));animation:1.7s cubic-bezier(.2,.75,.3,1) calc(var(--unlock-i) * 38ms) both unlock-confetti-fall}
@keyframes stuck-card-in{from{opacity:0;transform:translate(-50%,25px) scale(.92)}to{opacity:1;transform:translate(-50%,0) scale(1)}}
@keyframes unlock-card-in{from{opacity:0;transform:translateY(22px) scale(.84) rotate(-1.5deg)}to{opacity:1;transform:none}}
@keyframes unlock-confetti-fall{0%{opacity:0;transform:translateY(-14px) rotate(0)}15%{opacity:1}100%{opacity:0;transform:translateY(390px) rotate(540deg)}}
@media(max-height:700px){.unlock-theme-preview{height:116px}.achievement-card{padding:14px 17px 13px}.achievement-card h2{margin-top:14px;font-size:25px}.unlock-copy{margin:8px auto 10px}.unlock-reason{margin-top:6px}.stuck-rescue-card{padding:12px}.stuck-rescue-card>p{display:none}}
@media(prefers-reduced-motion:reduce){.achievement-card,.stuck-rescue-card,.unlock-confetti i{animation:none!important}}
.gameover-overlay .plain-button{margin-top:10px!important;min-height:43px!important}
@media(max-width:330px){.revive-options{grid-template-columns:1fr;gap:8px}.revive-choice{min-height:54px!important}}
@media(max-height:700px){.gameover-overlay .modal-card{padding-top:14px!important;padding-bottom:14px!important}.gameover-overlay .brand-lockup{transform:scale(.9)}.gameover-overlay .eyebrow{margin-top:7px!important}.gameover-overlay .result-score{font-size:62px!important}.gameover-overlay .result-best{margin-bottom:9px!important}.revive-choice{min-height:58px!important}.gameover-overlay .secondary-button{min-height:47px!important;margin-top:9px!important}.gameover-overlay .plain-button{min-height:40px!important;margin-top:8px!important}}

:root{--ui-font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
html,body,.game-shell,.game-shell button,.game-shell input,.game-shell select,.game-shell textarea{font-family:var(--ui-font)!important}
.game-shell button,.game-shell strong,.menu-brand h1,.modal-card h2,.panel-header h2,.score-value,.result-score,.loading-logo{font-weight:900!important}
.score-caption,.best-mini,.panel-hint,.store-note,.shop-title,.product-list small,.eyebrow,.result-best,.ad-message,.tutorial-card small,.menu-settings small{font-family:var(--ui-font)!important;font-weight:800!important}
.score-caption{font-size:12px!important}.best-mini{font-size:12px!important}.panel-hint,.store-note{font-size:12px!important}.product-list small{font-size:11px!important}.shop-title{font-size:13px!important}.eyebrow{font-size:13px!important}.result-best{font-size:15px!important}.ad-message{font-size:12px!important}.tutorial-card small{font-size:12px!important}
.play-button{background:linear-gradient(135deg,var(--ui-play),color-mix(in srgb,var(--ui-play) 74%,#ffb34a))!important;color:var(--ui-play-text)!important;border-color:rgba(255,255,255,.7)!important;box-shadow:0 7px 0 color-mix(in srgb,var(--ui-play) 72%,#643b2f),0 13px 23px color-mix(in srgb,var(--ui-play) 22%,transparent)!important}
.menu-grid .menu-tile:first-child{background:linear-gradient(145deg,var(--ui-collection),color-mix(in srgb,var(--ui-collection) 76%,#84e9ff))!important;color:var(--ui-collection-text)!important}
.menu-grid .menu-tile:last-child{background:linear-gradient(145deg,var(--ui-shop),color-mix(in srgb,var(--ui-shop) 76%,#ffd761))!important;color:var(--ui-shop-text)!important}
.menu-settings button:first-child{background:linear-gradient(145deg,var(--ui-setting-a),color-mix(in srgb,var(--ui-setting-a) 75%,#75e6cf))!important;color:var(--ui-setting-a-text)!important}
.menu-settings button:last-child{background:linear-gradient(145deg,var(--ui-setting-b),color-mix(in srgb,var(--ui-setting-b) 75%,#a899ff))!important;color:var(--ui-setting-b-text)!important}
.menu-settings button small{color:inherit!important;opacity:.94!important;font-size:11px!important}
.pause-nav-single button{background:linear-gradient(145deg,var(--ui-shop),color-mix(in srgb,var(--ui-shop) 76%,#ffd761))!important;color:var(--ui-shop-text)!important;box-shadow:0 5px 0 color-mix(in srgb,var(--ui-shop) 70%,#77501f)!important}
.primary-button,.secondary-button{background:linear-gradient(135deg,var(--ui-play),color-mix(in srgb,var(--ui-play) 76%,#ffb14b))!important;color:var(--ui-play-text)!important;box-shadow:0 6px 0 color-mix(in srgb,var(--ui-play) 72%,#693d31)!important;font-size:16px!important}
.revive-left{font-family:var(--ui-font)!important;font-size:11px!important;font-weight:850!important}
.revive-options{gap:10px!important}
.revive-choice{min-height:72px!important;padding:10px 10px!important;gap:9px!important;box-shadow:0 5px 0 rgba(73,69,75,.12)!important}
.reward-button.revive-choice{background:linear-gradient(145deg,var(--ui-collection),color-mix(in srgb,var(--ui-collection) 76%,#78ddff))!important;color:var(--ui-collection-text)!important}
.paid-revive-button.revive-choice{background:linear-gradient(145deg,var(--ui-shop),color-mix(in srgb,var(--ui-shop) 75%,#ffe272))!important;color:var(--ui-shop-text)!important}
.revive-choice-icon{width:34px!important;height:34px!important;font-family:var(--ui-font)!important;font-size:16px!important;background:rgba(255,255,255,.93)!important}
.revive-choice-copy strong{font-family:var(--ui-font)!important;font-size:15px!important;line-height:1.08!important;font-weight:900!important;white-space:nowrap!important}
.revive-choice-copy small{font-family:var(--ui-font)!important;font-size:10px!important;line-height:1.1!important;font-weight:850!important;opacity:.9!important;margin-top:5px!important;white-space:nowrap!important}
.revive-video-option .revive-choice-icon{color:var(--ui-collection)!important}.revive-stars .revive-choice-icon{color:var(--ui-shop)!important}
.plain-button,.pause-settings button,.panel-header button,.tab-row button{font-family:var(--ui-font)!important;font-weight:850!important;font-size:14px!important}
.menu-tile{font-size:16px!important}.play-button{font-size:19px!important}.product-list strong{font-family:var(--ui-font)!important}.brand-lockup{font-family:var(--ui-font)!important}
@media(max-width:360px){.revive-options{grid-template-columns:1fr!important}.revive-choice{min-height:58px!important}.revive-choice-copy strong{font-size:15px!important}.revive-choice-copy small{font-size:10px!important}}
@media(max-height:700px) and (min-width:361px){.revive-choice{min-height:64px!important}.revive-choice-copy strong{font-size:14px!important}}

.revive-options{grid-template-columns:1fr!important;gap:9px!important}
.revive-choice{min-height:60px!important;justify-content:flex-start!important;padding-left:14px!important;padding-right:14px!important}
.revive-choice-copy strong{font-size:16px!important}.revive-choice-copy small{font-size:11px!important}
@media(max-height:650px){.revive-choice{min-height:54px!important}.revive-choice-copy strong{font-size:15px!important}.revive-choice-copy small{font-size:10px!important}}

.game-shell{
  --ui-gap:12px;
  --ui-control-h:54px;
  --ui-radius:18px;
  --ui-play-a:#ff5144;--ui-play-b:#ffac24;
  --ui-collection-a:#27d5ff;--ui-collection-b:#536fff;
  --ui-shop-a:#ffd62f;--ui-shop-b:#ff7139;
  --ui-sound-a:#35e6a2;--ui-sound-b:#13bec6;
  --ui-vibe-a:#b45cff;--ui-vibe-b:#7058ff;
  --ui-reward-a:#ff9540;--ui-reward-b:#ed5e42;
  --ui-deep:#b84a34;
}

.game-shell.theme-peach{--ui-play-a:#ff6550;--ui-play-b:#ff9b4b;--ui-collection-a:#ff79a7;--ui-collection-b:#b968ef;--ui-shop-a:#ffd34d;--ui-shop-b:#ff7650;--ui-sound-a:#50dcb4;--ui-sound-b:#2cb3a5;--ui-vibe-a:#ca70e8;--ui-vibe-b:#9369df;--ui-reward-a:#ff9b55;--ui-reward-b:#ed654f;--ui-deep:#b45545}
.game-shell.theme-sky{--ui-play-a:#ff7046;--ui-play-b:#ffb33a;--ui-collection-a:#36daf5;--ui-collection-b:#4f8de8;--ui-shop-a:#ffd83b;--ui-shop-b:#ff8837;--ui-sound-a:#39d7be;--ui-sound-b:#24a9b8;--ui-vibe-a:#7d82ef;--ui-vibe-b:#5d67d9;--ui-reward-a:#ff9d46;--ui-reward-b:#ee6a48;--ui-deep:#b4543c}
.game-shell.theme-mint{--ui-play-a:#ff684b;--ui-play-b:#f5a93a;--ui-collection-a:#4addbc;--ui-collection-b:#2da8a0;--ui-shop-a:#ffd13f;--ui-shop-b:#ef8b39;--ui-sound-a:#49dda0;--ui-sound-b:#20ad82;--ui-vibe-a:#9a77e8;--ui-vibe-b:#6d63d3;--ui-reward-a:#fa9947;--ui-reward-b:#e96f4b;--ui-deep:#a9543f}
.game-shell.theme-sunset{--ui-play-a:#ff584d;--ui-play-b:#f08a38;--ui-collection-a:#f06f9d;--ui-collection-b:#aa5ac4;--ui-shop-a:#ffd24b;--ui-shop-b:#ee7043;--ui-sound-a:#45cba4;--ui-sound-b:#268f89;--ui-vibe-a:#bc65b6;--ui-vibe-b:#765ca7;--ui-reward-a:#ef8748;--ui-reward-b:#d95b49;--ui-deep:#9f4946}
.game-shell.theme-midnight{--ui-play-a:#ff7042;--ui-play-b:#ffb62f;--ui-collection-a:#27d8f2;--ui-collection-b:#5576e9;--ui-shop-a:#ffd744;--ui-shop-b:#ff843f;--ui-sound-a:#32d6b3;--ui-sound-b:#1a9ba6;--ui-vibe-a:#9f6fff;--ui-vibe-b:#6859dc;--ui-reward-a:#ff9c47;--ui-reward-b:#ec6b49;--ui-deep:#a54a39}

.play-button,.primary-button,.secondary-button,.menu-tile,.menu-settings button,.pause-nav button,.plain-button,.reward-button.revive-choice,.paid-revive-button.revive-choice{color:#fff!important;text-shadow:0 1px 0 rgba(61,44,47,.16)!important}
.play-button,.primary-button{background:linear-gradient(135deg,var(--ui-play-a),var(--ui-play-b))!important;box-shadow:0 7px 0 color-mix(in srgb,var(--ui-deep) 88%,#4b2f32),0 15px 29px color-mix(in srgb,var(--ui-play-a) 25%,transparent)!important}
.menu-grid .menu-tile:first-child{background:linear-gradient(145deg,var(--ui-collection-a),var(--ui-collection-b))!important;border-color:color-mix(in srgb,var(--ui-collection-a) 44%,#fff)!important}
.menu-grid .menu-tile:last-child{background:linear-gradient(145deg,var(--ui-shop-a),var(--ui-shop-b))!important;border-color:color-mix(in srgb,var(--ui-shop-a) 52%,#fff)!important}
.menu-settings button:first-child{background:linear-gradient(145deg,var(--ui-sound-a),var(--ui-sound-b))!important}
.menu-settings button:last-child{background:linear-gradient(145deg,var(--ui-vibe-a),var(--ui-vibe-b))!important}
.menu-settings button small{color:rgba(255,255,255,.94)!important;opacity:1!important}

.play-button{animation:play-breathe 2.8s ease-in-out infinite!important}
.play-button:after{display:block!important}
.menu-grid .menu-tile:first-child{animation:menu-card-drift 3.5s ease-in-out infinite!important}
.menu-grid .menu-tile:last-child{animation:menu-card-drift 3.5s ease-in-out .55s infinite!important}
.menu-brand .app-icon{animation:brand-float 3.8s ease-in-out infinite!important}

.menu-grid,.menu-settings,.pause-settings,.revive-options,.product-list{gap:var(--ui-gap)!important}
.menu-grid{margin-top:var(--ui-gap)!important}
.pause-nav{gap:var(--ui-gap)!important}
.tab-row{gap:10px!important}

.pause-overlay .modal-card.compact>.primary-button,
.pause-overlay .pause-nav button,
.pause-overlay .modal-card.compact>.plain-button{
  width:100%!important;height:var(--ui-control-h)!important;min-height:var(--ui-control-h)!important;
  border-radius:var(--ui-radius)!important;margin:0!important;font-size:16px!important;font-weight:900!important;
}
.pause-overlay .modal-card.compact>.primary-button{margin-top:8px!important}
.pause-overlay .pause-nav{margin:var(--ui-gap) 0 0!important;grid-template-columns:1fr!important}
.pause-overlay .pause-nav button{background:linear-gradient(145deg,var(--ui-shop-a),var(--ui-shop-b))!important;box-shadow:0 6px 0 color-mix(in srgb,var(--ui-deep) 68%,#77501f)!important;border:0!important}
.pause-overlay .modal-card.compact>.plain-button{margin-top:var(--ui-gap)!important;background:linear-gradient(145deg,var(--ui-vibe-a),var(--ui-vibe-b))!important;box-shadow:0 6px 0 color-mix(in srgb,var(--ui-vibe-b) 72%,#493da0)!important;border:0!important}
.pause-overlay .pause-settings{margin-top:var(--ui-gap)!important;grid-template-columns:1fr 1fr!important}
.pause-overlay .pause-settings button{height:44px!important;min-height:44px!important;border-radius:15px!important;margin:0!important}

.gameover-overlay .modal-card{padding:20px 20px 18px!important}
.gameover-overlay .revive-block{gap:8px!important;margin:0 0 var(--ui-gap)!important}
.gameover-overlay .revive-left{margin:0!important;font-size:10px!important}
.gameover-overlay .revive-options{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;width:100%!important;padding:0!important}
.gameover-overlay .revive-choice{
  width:100%!important;height:58px!important;min-height:58px!important;margin:0!important;padding:8px 9px!important;
  border-radius:17px!important;border:2px solid rgba(255,255,255,.76)!important;box-shadow:0 5px 0 rgba(73,69,75,.12)!important;
  display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;overflow:hidden!important;
}
.gameover-overlay .reward-button.revive-choice{background:linear-gradient(135deg,var(--ui-reward-a),var(--ui-reward-b))!important}
.gameover-overlay .paid-revive-button.revive-choice{background:linear-gradient(135deg,var(--ui-shop-a),var(--ui-shop-b))!important}
.gameover-overlay .revive-choice-icon{width:30px!important;height:30px!important;border-radius:10px!important;background:rgba(255,255,255,.94)!important;flex:0 0 30px!important;font-size:14px!important}
.gameover-overlay .revive-video-option .revive-choice-icon{color:var(--ui-reward-b)!important}
.gameover-overlay .revive-stars .revive-choice-icon{color:#e8921f!important}
.gameover-overlay .revive-choice-copy{min-width:0!important;text-align:left!important;justify-items:start!important}
.gameover-overlay .revive-choice-copy strong{color:#fff!important;font-size:13px!important;line-height:1.05!important;font-weight:900!important;white-space:nowrap!important}
.gameover-overlay .revive-choice-copy small{color:rgba(255,255,255,.9)!important;font-size:9px!important;line-height:1!important;font-weight:850!important;margin-top:3px!important;white-space:nowrap!important}
.gameover-overlay .secondary-button,
.gameover-overlay .plain-button{
  width:100%!important;height:var(--ui-control-h)!important;min-height:var(--ui-control-h)!important;margin:0!important;
  border-radius:var(--ui-radius)!important;font-size:16px!important;font-weight:900!important;border:0!important;
}
.gameover-overlay .secondary-button{background:linear-gradient(145deg,var(--ui-collection-a),var(--ui-collection-b))!important;box-shadow:0 6px 0 color-mix(in srgb,var(--ui-collection-b) 75%,#2a5ba7)!important}
.gameover-overlay .plain-button{margin-top:var(--ui-gap)!important;background:linear-gradient(145deg,var(--ui-vibe-a),var(--ui-vibe-b))!important;box-shadow:0 6px 0 color-mix(in srgb,var(--ui-vibe-b) 75%,#493da0)!important}
.gameover-overlay .revive-block + .secondary-button{margin-top:0!important}
.gameover-overlay .result-best{margin-bottom:13px!important}

@media(max-width:310px){.gameover-overlay .revive-options{grid-template-columns:1fr!important}.gameover-overlay .revive-choice{height:52px!important;min-height:52px!important}}

.hud-sound-button{
  position:absolute;right:15px;top:max(74px,calc(env(safe-area-inset-top) + 66px));z-index:4;
  width:36px;height:36px;padding:0;border:0;border-radius:12px;color:var(--game-ink);pointer-events:auto;cursor:pointer;
  display:grid;place-items:center;font:950 18px/1 var(--ui-font);transition:transform .12s cubic-bezier(.2,1.4,.3,1),filter .16s;
}
.hud-sound-button:active{transform:translateY(2px) scale(.94)}
.hud-sound-button span{transform:translateY(-1px)}

.game-shell .shop-hero{background:linear-gradient(125deg,var(--ui-vibe-b) 0%,var(--ui-collection-b) 33%,var(--ui-play-a) 68%,var(--ui-shop-b) 100%)!important}
.game-shell .product-list button:nth-child(1){background:linear-gradient(135deg,var(--ui-collection-a),var(--ui-collection-b))!important;color:#fff!important}
.game-shell .product-list button:nth-child(2){background:linear-gradient(135deg,var(--ui-shop-a),var(--ui-shop-b))!important;color:#fff!important}
.game-shell .product-list button:nth-child(3){background:linear-gradient(135deg,var(--ui-vibe-b),var(--ui-play-a))!important;color:#fff!important}
.game-shell .product-list button .product-copy strong,.game-shell .product-list button .product-copy small{color:#fff!important}

.game-shell.theme-midnight .shop-card,.game-shell.theme-midnight .modal-card{background:linear-gradient(180deg,#344765,#293b59)!important;border-color:rgba(255,255,255,.12)!important;color:#f5ecd8!important}
.game-shell.theme-midnight .modal-card h2,.game-shell.theme-midnight .eyebrow,.game-shell.theme-midnight .result-best{color:#f5ecd8!important}
.game-shell.theme-midnight .revive-left{color:#f5ecd8!important;background:#405474!important;border-color:#5e7190!important}

@media(max-height:700px){
  .gameover-overlay .revive-choice{height:54px!important;min-height:54px!important}
  .gameover-overlay .secondary-button,.gameover-overlay .plain-button{height:50px!important;min-height:50px!important}
  .pause-overlay .modal-card.compact>.primary-button,.pause-overlay .pause-nav button,.pause-overlay .modal-card.compact>.plain-button{height:50px!important;min-height:50px!important}
}
@media(prefers-reduced-motion:reduce){.play-button,.menu-grid .menu-tile,.menu-brand .app-icon{animation:none!important}}
@media(prefers-reduced-motion:reduce){.play-button:after{display:none!important}}

.menu-settings,.pause-settings{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.menu-settings button,.pause-settings button{min-width:0!important;min-height:48px!important;height:auto!important;padding:8px 6px!important}
.menu-settings button small{font-family:var(--ui-font)!important;font-size:10px!important;line-height:1.12!important;font-weight:850!important;white-space:normal!important;text-wrap:balance}
.pause-settings button{font-family:var(--ui-font)!important;font-size:10.5px!important;line-height:1.12!important;font-weight:900!important;white-space:normal!important;text-wrap:balance}
.gameover-overlay .brand-lockup span{font-family:var(--ui-font)!important;font-size:19px!important;line-height:1!important;font-weight:950!important;letter-spacing:-.025em!important}
.gameover-overlay .revive-stars .revive-choice-copy small{font-family:var(--ui-font)!important;font-size:12px!important;line-height:1.05!important;font-weight:950!important;opacity:1!important;letter-spacing:.015em!important}
.small-control{min-width:62px!important;font-family:var(--ui-font)!important;font-weight:950!important;letter-spacing:.02em!important}
@media(max-width:360px){.menu-settings,.pause-settings{gap:9px!important}.menu-settings button small{font-size:9px!important}.pause-settings button{font-size:9.5px!important}.gameover-overlay .brand-lockup span{font-size:18px!important}}

:root{--ui-music-a:#45cfff;--ui-music-b:#5d79ee}
.game-shell.theme-peach{--ui-music-a:#58c9eb;--ui-music-b:#8a78df}
.game-shell.theme-sky{--ui-music-a:#45d4ee;--ui-music-b:#5787df}
.game-shell.theme-mint{--ui-music-a:#52d8bf;--ui-music-b:#5e83dc}
.game-shell.theme-sunset{--ui-music-a:#e37da5;--ui-music-b:#826dc3}
.game-shell.theme-midnight{--ui-music-a:#37cce8;--ui-music-b:#596ed4}
.menu-settings button:nth-child(2),.pause-settings button:nth-child(2){background:linear-gradient(145deg,var(--ui-music-a),var(--ui-music-b))!important;color:#fff!important;text-shadow:0 1px 0 rgba(40,50,80,.16)!important}
.menu-settings button:nth-child(3){background:linear-gradient(145deg,var(--ui-vibe-a),var(--ui-vibe-b))!important}
.pause-settings button:nth-child(1){background:linear-gradient(145deg,var(--ui-sound-a),var(--ui-sound-b))!important;color:#fff!important}
.pause-settings button:nth-child(3){background:linear-gradient(145deg,var(--ui-vibe-a),var(--ui-vibe-b))!important;color:#fff!important}
.pause-settings button{box-shadow:0 4px 0 rgba(66,73,103,.13)!important;border:1px solid rgba(255,255,255,.68)!important}
.gameover-overlay .brand-lockup span{font-size:20px!important}
.gameover-overlay .revive-stars .revive-choice-copy small{font-size:12.5px!important}
@media(max-width:360px){.gameover-overlay .brand-lockup span{font-size:19px!important}.gameover-overlay .revive-stars .revive-choice-copy small{font-size:12px!important}}

.game-shell,.game-shell *{font-family:var(--ui-font)!important}
.menu-settings button:nth-child(1),.menu-settings button:nth-child(2),.menu-settings button:nth-child(3),
.pause-settings button:nth-child(1),.pause-settings button:nth-child(2),.pause-settings button:nth-child(3){color:#fff!important}
.menu-settings button small{color:rgba(255,255,255,.96)!important}

.menu-screen .play-button,
.menu-screen .menu-tile,
.menu-screen .menu-settings button,
.pause-overlay .primary-button,
.pause-overlay .pause-nav button,
.gameover-overlay .secondary-button,
.gameover-overlay .plain-button,
.gameover-overlay .revive-choice {
  color:#fff!important;
  text-shadow:0 1px 0 rgba(62,42,44,.18)!important;
}
.menu-screen .menu-tile span,
.menu-screen .menu-settings button small,
.pause-overlay .pause-nav button,
.gameover-overlay .revive-choice-copy strong,
.gameover-overlay .revive-choice-copy small {
  color:inherit!important;
}

.pause-overlay .pause-settings{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
}
.pause-overlay .pause-settings button:nth-child(3){
  grid-column:1 / -1!important;
  justify-self:center!important;
  width:calc((100% - 12px)/2)!important;
}
@media(max-width:360px){
  .pause-overlay .pause-settings{gap:9px!important}
  .pause-overlay .pause-settings button:nth-child(3){width:calc((100% - 9px)/2)!important}
}

.menu-grid .collection-tile{background:linear-gradient(145deg,#28d9ff 0%,#2d9cff 48%,#5e70ff 100%)!important;border-color:#9eeeff!important;color:#fff!important}
.menu-grid .shop-tile{background:linear-gradient(145deg,#ffd52f 0%,#ffab24 48%,#ff6c39 100%)!important;border-color:#ffe897!important;color:#fff!important}
.menu-grid .leaderboard-tile{grid-column:1/-1;min-height:58px!important;background:linear-gradient(145deg,#9a7cff 0%,#6f75f3 47%,#4aa7ee 100%)!important;border-color:#c9c4ff!important;color:#fff!important;animation:menu-card-drift 3.7s ease-in-out 1s infinite!important}
.menu-grid .leaderboard-tile>span{width:40px!important;height:34px!important;padding:0!important;background:linear-gradient(180deg,#fff3a0,#ffc53c)!important;border-radius:10px 10px 13px 13px!important;box-shadow:inset 0 0 0 2px rgba(255,255,255,.55),0 4px 0 rgba(67,61,137,.2)!important;position:relative!important;overflow:visible!important}
.menu-grid .leaderboard-tile>span:before,.menu-grid .leaderboard-tile>span:after{content:""!important;position:absolute!important;top:5px!important;width:9px!important;height:15px!important;border:3px solid #ffd74e!important;background:transparent!important;border-radius:8px!important;opacity:1!important}
.menu-grid .leaderboard-tile>span:before{left:-7px!important;border-right:0!important}
.menu-grid .leaderboard-tile>span:after{right:-7px!important;border-left:0!important}
.menu-grid .leaderboard-tile>span i{position:absolute;left:16px;bottom:-7px;width:8px;height:9px;background:#ffb72d;border-radius:0 0 3px 3px}
.menu-grid .leaderboard-tile>span i:after{content:"";position:absolute;left:-5px;bottom:-4px;width:18px;height:5px;background:#ffd85b;border-radius:5px}

.lb-overlay{z-index:40;position:absolute;inset:0;background:rgba(75,77,96,.52);display:grid;place-items:center;padding:max(14px,env(safe-area-inset-top)) 14px max(14px,env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;animation:lb-overlay-in .18s ease-out both;pointer-events:auto}
.lb-panel,.lb-record-card{width:min(430px,100%);background:linear-gradient(180deg,#fffefb 0%,#f8f9ff 100%);border:3px solid rgba(255,255,255,.94);border-radius:30px;box-shadow:0 10px 0 rgba(73,76,105,.16),0 22px 52px rgba(66,69,98,.22);color:#626878;position:relative;overflow:hidden}
.lb-panel{padding:17px 16px 18px;margin:auto}
.lb-header{display:grid;grid-template-columns:48px 1fr auto;gap:11px;align-items:center;margin-bottom:13px}
.lb-back{width:44px;height:44px;border:0;border-radius:14px;background:linear-gradient(145deg,#ff8c58,#f06443);box-shadow:0 4px 0 #c94d35;color:#fff;font:950 31px/1 var(--ui-font);cursor:pointer}
.lb-back:active{transform:translateY(2px)}
.lb-header-copy{min-width:0}.lb-header-copy small{display:block;color:#9a86ea;font:900 9px/1 var(--ui-font);letter-spacing:.16em;text-transform:uppercase;margin-bottom:4px}.lb-header h2{margin:0;color:#5a6070;font:950 clamp(23px,6vw,31px)/1 var(--ui-font);letter-spacing:-.035em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lb-best-badge{align-self:center;padding:8px 10px;border-radius:12px;background:#fff3c4;color:#d98a24;border:2px solid #ffe18c;font:950 10px/1 var(--ui-font);box-shadow:0 3px 0 rgba(201,142,45,.13)}
.lb-podium{min-height:177px;display:grid;grid-template-columns:1fr 1.1fr 1fr;align-items:end;gap:8px;padding:9px 3px 6px;position:relative}
.lb-podium:before{content:"";position:absolute;left:5%;right:5%;bottom:0;height:63%;border-radius:28px 28px 18px 18px;background:linear-gradient(180deg,rgba(154,124,255,.075),rgba(56,196,255,.035));pointer-events:none}
.lb-podium-item{z-index:1;min-width:0;text-align:center;display:grid;justify-items:center;gap:4px;opacity:0;transform:translateY(16px) scale(.92);animation:lb-podium-in .46s cubic-bezier(.2,1.4,.3,1) var(--podium-delay) forwards}
.lb-podium-item.place-1{padding-bottom:20px}.lb-podium-item.place-2{padding-bottom:4px}.lb-podium-item.place-3{padding-bottom:0}
.lb-avatar{width:47px;height:47px;border-radius:50%;display:grid;place-items:center;position:relative;background:linear-gradient(145deg,#9f87ff,#5fa7ee);box-shadow:0 4px 0 rgba(74,78,112,.14);border:3px solid #fff;overflow:hidden;flex:0 0 auto}
.lb-podium-item.place-1 .lb-avatar{width:58px;height:58px;border-width:4px}
.lb-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .18s}.lb-avatar.has-image img{opacity:1}.lb-avatar-fallback{color:#fff;font:950 18px/1 var(--ui-font)}
.lb-podium-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#656a79;font:900 11px/1.15 var(--ui-font)}
.lb-podium-score{min-width:44px;padding:5px 8px;border-radius:10px;background:#fff;color:#656a79;border:1px solid #eceaf7;font:950 13px/1 var(--ui-font)}
.lb-trophy{width:38px;height:34px;position:relative;display:block;margin-bottom:1px;--cup:#ffd44e;--cup-dark:#e79b22}.lb-trophy-2{--cup:#dce5f0;--cup-dark:#9caaba}.lb-trophy-3{--cup:#e6a16c;--cup-dark:#b9673d}.lb-trophy-cup{position:absolute;left:8px;top:1px;width:22px;height:18px;background:linear-gradient(180deg,#fff2a1 0%,var(--cup) 32%,var(--cup-dark) 100%);border-radius:5px 5px 10px 10px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.42)}.lb-trophy-cup:before,.lb-trophy-cup:after{content:"";position:absolute;top:3px;width:8px;height:10px;border:3px solid var(--cup);border-radius:7px}.lb-trophy-cup:before{left:-7px;border-right:0}.lb-trophy-cup:after{right:-7px;border-left:0}.lb-trophy-stem{position:absolute;left:16px;top:18px;width:7px;height:8px;background:var(--cup-dark)}.lb-trophy-stem:after{content:"";position:absolute;left:-5px;bottom:-4px;width:17px;height:5px;background:var(--cup);border-radius:5px}.lb-trophy-number{position:absolute;inset:4px 0 auto;text-align:center;color:#9f6e24;font:950 10px/1 var(--ui-font);z-index:2}.lb-trophy-2 .lb-trophy-number{color:#718091}.lb-trophy-3 .lb-trophy-number{color:#8c4b32}
.lb-list{display:grid;gap:7px;margin-top:4px}.lb-list-title{color:#8f94a3;font:900 9px/1 var(--ui-font);letter-spacing:.14em;text-transform:uppercase;padding:2px 7px 1px}
.lb-row{height:52px;border-radius:17px;background:#fff;border:2px solid #eeedf6;display:grid;grid-template-columns:38px 42px minmax(0,1fr) auto;gap:8px;align-items:center;padding:4px 11px 4px 8px;box-shadow:0 3px 0 rgba(78,82,109,.07);position:relative;color:#666c7a}.lb-row.is-self{background:linear-gradient(145deg,#fff6cd,#ffecd0);border-color:#ffd978;box-shadow:0 4px 0 rgba(215,143,42,.14)}.lb-row .lb-avatar{width:36px;height:36px;border-width:2px}.lb-row-rank{color:#9a9eaa;font:950 12px/1 var(--ui-font);text-align:center}.lb-row.is-self .lb-row-rank{color:#e58a28}.lb-row-copy{min-width:0}.lb-row-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:900 13px/1.1 var(--ui-font);color:#626877}.lb-row-score{font:950 15px/1 var(--ui-font);color:#686d7c;min-width:34px;text-align:right}.lb-row.is-self .lb-row-score{color:#d97925}
.lb-user-separator{text-align:center;color:#b2afc0;font:900 13px/1 var(--ui-font);letter-spacing:.24em;padding:4px}.lb-your-place{margin-top:10px;display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-radius:16px;background:linear-gradient(145deg,#766ff1,#4aa7ee);color:#fff;box-shadow:0 5px 0 rgba(72,76,151,.18)}.lb-your-place span{font:850 12px/1 var(--ui-font)}.lb-your-place strong{font:950 20px/1 var(--ui-font)}
.lb-auth-card{margin-top:12px;border-radius:20px;padding:12px;background:linear-gradient(145deg,#f2efff,#e9f7ff);border:2px solid #ded9ff;display:grid;grid-template-columns:44px 1fr;gap:10px;align-items:center}.lb-auth-card>.lb-trophy{transform:scale(.92)}.lb-auth-copy strong{font:950 14px/1.1 var(--ui-font);color:#665eaf}.lb-auth-copy p{margin:5px 0 0;color:#7c8191;font:750 10.5px/1.35 var(--ui-font)}.lb-auth-actions{grid-column:1/-1;display:grid;grid-template-columns:1.25fr .75fr;gap:9px}.lb-auth-actions button{height:44px;border:0;border-radius:14px;font:900 12px/1 var(--ui-font);cursor:pointer}.lb-login{color:#fff;background:linear-gradient(145deg,#8e74f8,#5e7dec);box-shadow:0 4px 0 #4c5fc0}.lb-later{color:#777b88;background:#fff;border:2px solid #e5e4ed!important;box-shadow:0 3px 0 rgba(79,80,101,.09)}.lb-auth-actions button:active{transform:translateY(2px)}
.lb-empty,.lb-loading{min-height:310px;place-items:center;text-align:center}.lb-empty{display:grid;align-content:center;gap:14px}.lb-empty .lb-trophy{transform:scale(1.7);margin-bottom:18px}.lb-empty strong{color:#7a7f8d;font:950 16px/1.2 var(--ui-font)}.lb-loading{display:grid;align-content:center;gap:14px}.lb-loading-ball{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;color:#ff8b42;background:radial-gradient(circle at 32% 25%,#ffd56a 0 14%,#ff8a35 15% 67%,#df5732 68% 100%);font-size:0;animation:lb-ball-bounce .75s ease-in-out infinite}.lb-loading strong{font:900 13px/1.2 var(--ui-font);color:#7c8190}

.lb-record-overlay{background:rgba(69,71,94,.58)}.lb-record-card{padding:21px 17px 18px;text-align:center;max-width:390px;margin:auto;min-height:360px;display:flex;flex-direction:column;align-items:center}.lb-record-card:before{content:"";position:absolute;inset:0 0 auto;height:125px;background:radial-gradient(circle at 50% 0,rgba(255,211,74,.26),transparent 68%);pointer-events:none}.lb-record-skip{position:absolute;right:12px;top:12px;border:0;border-radius:12px;padding:8px 10px;background:#f0eff6;color:#8b8d99;font:850 10px/1 var(--ui-font);cursor:pointer;z-index:3}.lb-record-kicker{margin-top:5px;color:#f08b30;font:950 10px/1 var(--ui-font);letter-spacing:.16em;text-transform:uppercase;z-index:1}.lb-record-card h2{z-index:1;margin:7px 30px 2px;color:#5f6474;font:950 clamp(24px,7vw,34px)/.96 var(--ui-font);letter-spacing:-.045em}.lb-record-score{z-index:1;color:#f2763f;font:950 clamp(54px,16vw,78px)/.9 var(--ui-font);letter-spacing:-.06em;margin-top:7px}.lb-rank-box{z-index:1;display:inline-flex;align-items:baseline;gap:8px;margin-top:5px;padding:8px 13px;border-radius:15px;background:#f4f2ff;border:2px solid #e3ddff;color:#8b83bc}.lb-rank-box span{font:850 10px/1 var(--ui-font);text-transform:uppercase;letter-spacing:.08em}.lb-rank-box strong{font:950 24px/1 var(--ui-font);color:#6d64c7}.lb-rise-chip{z-index:1;margin-top:7px;padding:7px 12px;border-radius:99px;color:#fff;background:linear-gradient(145deg,#52c987,#31a876);box-shadow:0 3px 0 rgba(41,126,83,.18);font:950 11px/1 var(--ui-font);opacity:0;transform:scale(.7)}
.lb-race-list{width:100%;display:grid;gap:6px;margin-top:13px;position:relative}.lb-race-row{height:45px;grid-template-columns:35px 37px minmax(0,1fr) auto;padding:3px 10px 3px 7px;transition:none}.lb-race-row .lb-avatar{width:32px;height:32px}.lb-race-row:not(.is-self){opacity:.78}.lb-race-row.is-self{z-index:2;transform:translateY(var(--self-start,92px)) scale(.96);box-shadow:0 7px 0 rgba(215,143,42,.16),0 12px 23px rgba(221,142,42,.12)}.lb-record-overlay.variant-rocket .lb-race-row.is-self{--self-start:170px}.lb-record-overlay.variant-first .lb-race-row.is-self{--self-start:70px;opacity:0;transform:translateY(70px) scale(.72)}.lb-record-overlay.is-running .lb-race-row.is-self{animation:lb-self-climb var(--race-duration,1700ms) cubic-bezier(.15,.92,.22,1) .28s forwards}.lb-record-overlay.is-running .lb-race-row:not(.is-self){animation:lb-opponent-pass calc(var(--race-duration,1700ms)*.72) ease-out calc(.28s + var(--race-order)*38ms) both}.lb-record-overlay.is-running .lb-rise-chip{animation:lb-chip-pop .42s cubic-bezier(.2,1.5,.3,1) .72s forwards}.variant-rocket .lb-record-card:after{content:"";position:absolute;left:8%;right:8%;top:48%;height:80px;background:repeating-linear-gradient(90deg,transparent 0 18px,rgba(93,117,239,.08) 18px 21px);transform:skewY(-8deg);animation:lb-speed-lines .6s linear 3;pointer-events:none}.local-record{justify-content:center;min-height:300px}.local-record .lb-record-score{font-size:74px}.local-record p{color:#858995;font:800 12px/1.35 var(--ui-font);margin:12px 0 0}.local-record .lb-record-kicker{font-size:12px}
.lb-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}.lb-confetti i{--x:calc(12% + (var(--c-i) * 7%));position:absolute;top:42%;left:var(--x);width:7px;height:11px;border-radius:3px;background:hsl(calc(25 + var(--c-i)*26) 86% 61%);opacity:0;transform:translateY(0) rotate(calc(var(--c-i)*21deg))}.lb-record-overlay.is-running .lb-confetti i{animation:lb-confetti-pop 1.1s cubic-bezier(.15,.8,.3,1) calc(.18s + var(--c-i)*24ms) forwards}

@keyframes lb-overlay-in{from{opacity:0}to{opacity:1}}
@keyframes lb-podium-in{to{opacity:1;transform:none}}
@keyframes lb-ball-bounce{0%,100%{transform:translateY(-5px) rotate(-6deg)}50%{transform:translateY(6px) rotate(7deg)}}
@keyframes lb-self-climb{0%{transform:translateY(var(--self-start,92px)) scale(.96)}72%{transform:translateY(-5px) scale(1.035)}100%{transform:translateY(0) scale(1)}}
@keyframes lb-opponent-pass{0%{transform:translateY(-8px);opacity:.35}45%{opacity:.92}100%{transform:translateY(4px);opacity:.72}}
@keyframes lb-chip-pop{to{opacity:1;transform:scale(1)}}
@keyframes lb-speed-lines{from{transform:translateY(32px) skewY(-8deg);opacity:0}30%{opacity:1}to{transform:translateY(-65px) skewY(-8deg);opacity:0}}
@keyframes lb-confetti-pop{0%{opacity:0;transform:translateY(8px) scale(.4) rotate(0)}18%{opacity:1}100%{opacity:0;transform:translate(calc((var(--c-i) - 6)*6px),-150px) rotate(260deg)}}

@media(max-height:740px){.lb-panel{padding:13px 14px}.lb-podium{min-height:145px}.lb-podium-item.place-1{padding-bottom:12px}.lb-podium-item.place-1 .lb-avatar{width:52px;height:52px}.lb-row{height:47px}.lb-auth-copy p{font-size:9.5px}.lb-record-card{min-height:325px;padding-top:17px}.lb-race-row{height:42px}}
@media(max-width:360px){.lb-overlay{padding-left:9px;padding-right:9px}.lb-panel{border-radius:25px}.lb-header{grid-template-columns:43px 1fr auto;gap:7px}.lb-best-badge{font-size:8px;padding:7px}.lb-podium{gap:4px}.lb-podium-name{font-size:10px}.lb-row{grid-template-columns:33px 37px minmax(0,1fr) auto;gap:5px;padding-right:8px}.lb-row-name{font-size:12px}.lb-auth-card{grid-template-columns:39px 1fr}.lb-record-card{border-radius:25px}.lb-record-card h2{margin-left:20px;margin-right:20px}}
@media(prefers-reduced-motion:reduce){.lb-podium-item,.lb-loading-ball,.lb-race-row,.lb-confetti i,.lb-rise-chip,.variant-rocket .lb-record-card:after{animation:none!important;opacity:1!important;transform:none!important}}

.menu-grid .shop-tile>span{font-size:0!important;width:38px!important;height:32px!important;padding:0!important;border-radius:8px 8px 11px 11px!important;background:linear-gradient(180deg,#fff6a0,#ffe04b)!important;box-shadow:inset 0 0 0 2px rgba(255,255,255,.5),0 4px 0 rgba(158,91,26,.2)!important;position:relative!important}
.menu-grid .shop-tile>span:before{content:""!important;position:absolute!important;width:18px!important;height:9px!important;border:4px solid #fff4a4!important;border-bottom:0!important;border-radius:12px 12px 0 0!important;left:10px!important;top:-8px!important;background:transparent!important;opacity:1!important}
.menu-grid .shop-tile>span:after{content:"★"!important;position:absolute!important;inset:4px 0 0!important;color:#f28a2b!important;font:900 20px/1 system-ui!important;background:transparent!important;opacity:1!important}
.lb-no-rank{margin-top:12px;border-radius:18px;padding:12px 14px;background:linear-gradient(145deg,#fff7d9,#f0efff);border:2px solid #eee2b4;display:flex;align-items:center;gap:12px;color:#777b8a}.lb-no-rank .lb-trophy{flex:0 0 38px;transform:scale(.88)}.lb-no-rank strong{font:850 11px/1.35 var(--ui-font)}
@media(max-width:420px){.lb-header{grid-template-columns:48px 1fr!important}.lb-best-badge{display:none!important}.lb-header h2{font-size:26px!important}}
.lb-record-overlay.variant-first.is-running .lb-race-row.is-self{animation:lb-self-first var(--race-duration,1600ms) cubic-bezier(.15,.92,.22,1) .22s forwards!important}
@keyframes lb-self-first{0%{opacity:0;transform:translateY(70px) scale(.72)}28%{opacity:1}72%{opacity:1;transform:translateY(-5px) scale(1.04)}100%{opacity:1;transform:translateY(0) scale(1)}}

.game-page{height:100vh;min-height:100vh;height:100dvh;min-height:100dvh}
.game-shell{width:min(100vw,600px,60vh)!important;width:min(100vw,600px,60dvh)!important;height:100vh!important;height:100dvh!important;min-height:100vh!important;min-height:100dvh!important;max-height:none!important}
@media(max-width:599px){.game-shell{width:100vw!important}}

@media (hover:hover) and (pointer:fine){
  .game-shell{width:min(100vw,60vh)!important;width:min(100vw,60dvh)!important;height:min(100vh,200vw)!important;height:min(100dvh,200vw)!important;min-height:0!important}
}

.game-page{transition:background-color .24s ease}
.game-shell.theme-aurora-peaks .hud{--game-ink:#5f6570!important;--game-muted:#8b929d!important;--game-panel:#fff!important}
.game-shell.theme-aurora-peaks .score-value{text-shadow:none!important}
.hud .score-stack{padding:6px 12px;border-radius:16px;background:rgba(255,255,255,.82);box-shadow:0 4px 0 rgba(91,97,108,.1)}

.theme-preview,.unlock-theme-preview{background-color:var(--theme-color,#edf0f4)!important;background-image:var(--theme-image,none)!important;background-size:cover!important;background-position:center!important}
.theme-preview:before,.theme-preview:after,.unlock-theme-preview:after{display:none!important}
.theme-preview>i,.theme-preview>b,.unlock-theme-preview>i,.unlock-theme-preview>b{display:none!important}

.game-canvas{z-index:1;background:var(--game-bg)}

.menu-brand h1,.loading-logo{color:#fff!important;-webkit-text-stroke:0 transparent!important;font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans",Arial,sans-serif!important;letter-spacing:-.035em!important;text-shadow:0 3px 0 #26759a,0 6px 14px rgba(36,107,141,.18)}

.game-page{
  position:relative!important;
  isolation:isolate!important;
  background:var(--desktop-color,var(--game-bg,#72cff1))!important;
}
.game-page::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-color:var(--desktop-color,#72cff1);
  background-image:linear-gradient(90deg,rgba(255,255,255,.06),transparent 20%,transparent 80%,rgba(255,255,255,.06)),var(--desktop-bg,none);
  background-repeat:no-repeat,no-repeat;
  background-position:center,center;
  background-size:100% 100%,auto 100%;
  filter:saturate(.98) contrast(1.015);
}
.game-page::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(25,43,61,.12),transparent 18%,transparent 82%,rgba(25,43,61,.12)),radial-gradient(ellipse at center,transparent 45%,rgba(20,31,48,.08) 100%);
}
.game-shell{
  z-index:1!important;
  border-left:1px solid color-mix(in srgb,var(--game-panel) 58%,transparent)!important;
  border-right:1px solid color-mix(in srgb,var(--game-panel) 58%,transparent)!important;
  box-shadow:0 0 0 1px color-mix(in srgb,var(--game-ink) 8%,transparent),0 0 42px rgba(31,49,70,.22)!important;
}
@media(max-width:599px){
  .game-page::before,.game-page::after{display:none!important}
  .game-shell{border-left:0!important;border-right:0!important;box-shadow:none!important}
}

.game-shell.theme-pink-blossom{
  --ui-play-a:#ff4f8d;--ui-play-b:#ff8a72;
  --ui-collection-a:#d55fc0;--ui-collection-b:#9466df;
  --ui-shop-a:#ffd257;--ui-shop-b:#f39a43;
  --ui-sound-a:#55d7b1;--ui-sound-b:#25aa98;
  --ui-music-a:#62c8ef;--ui-music-b:#7e78dc;
  --ui-vibe-a:#bd74ef;--ui-vibe-b:#8b5bd2;
  --ui-reward-a:#ff8b54;--ui-reward-b:#ef4d86;
  --ui-deep:#ad3f69;
}
.game-shell.theme-aurora-peaks{
  --ui-play-a:#4fe4c4;--ui-play-b:#31bca8;
  --ui-collection-a:#5f93f2;--ui-collection-b:#665dd8;
  --ui-shop-a:#ffd96a;--ui-shop-b:#eea748;
  --ui-sound-a:#45dac0;--ui-sound-b:#239c9f;
  --ui-music-a:#5fa8f0;--ui-music-b:#6d61d6;
  --ui-vibe-a:#ab7cf1;--ui-vibe-b:#7258cc;
  --ui-reward-a:#f6c45d;--ui-reward-b:#ef7f59;
  --ui-deep:#245e72;
  --game-panel:#101d4d!important;
  --game-ink:#f1f7ff!important;
  --game-muted:#aabbe0!important;
}
.game-shell.theme-pink-blossom .menu-screen{
  background:linear-gradient(180deg,rgba(255,249,253,.9),rgba(255,231,245,.94))!important;
}
.game-shell.theme-aurora-peaks .menu-screen{
  background:linear-gradient(180deg,rgba(6,18,55,.9),rgba(12,25,70,.96))!important;
}
.game-shell.theme-pink-blossom .modal-card,
.game-shell.theme-pink-blossom .collection-card,
.game-shell.theme-pink-blossom .achievement-card{
  color:#663a5c!important;
  background:linear-gradient(180deg,#fffafd,#fff1f8)!important;
  border-color:rgba(255,255,255,.94)!important;
  box-shadow:0 10px 0 rgba(155,61,106,.16),0 24px 54px rgba(142,52,103,.2)!important;
}
.game-shell.theme-aurora-peaks .modal-card,
.game-shell.theme-aurora-peaks .collection-card,
.game-shell.theme-aurora-peaks .achievement-card{
  color:#f1f7ff!important;
  background:linear-gradient(180deg,rgba(20,36,88,.98),rgba(10,24,66,.99))!important;
  border-color:rgba(155,224,230,.22)!important;
  box-shadow:0 10px 0 rgba(2,8,31,.36),0 24px 58px rgba(1,7,30,.46)!important;
}
.game-shell.theme-aurora-peaks .modal-card h2,
.game-shell.theme-aurora-peaks .collection-card h2,
.game-shell.theme-aurora-peaks .achievement-card h2,
.game-shell.theme-aurora-peaks .result-best,
.game-shell.theme-aurora-peaks .eyebrow,
.game-shell.theme-aurora-peaks .panel-hint,
.game-shell.theme-aurora-peaks .unlock-copy,
.game-shell.theme-aurora-peaks .unlock-reason{
  color:#eaf5ff!important;
}
.game-shell.theme-aurora-peaks .panel-hint,
.game-shell.theme-aurora-peaks .unlock-copy,
.game-shell.theme-aurora-peaks .unlock-reason{opacity:.76!important}
.game-shell.theme-pink-blossom .hud .score-stack{
  background:rgba(255,247,252,.86)!important;
  box-shadow:0 4px 0 rgba(137,62,100,.11)!important;
}
.game-shell.theme-aurora-peaks .hud{
  --game-ink:#f1f7ff!important;
  --game-muted:#aabbe0!important;
  --game-panel:#101d4d!important;
}
.game-shell.theme-aurora-peaks .hud .score-stack{
  background:rgba(12,27,73,.78)!important;
  border:1px solid rgba(145,231,222,.15)!important;
  box-shadow:0 4px 0 rgba(1,8,33,.22)!important;
}
.game-shell.theme-aurora-peaks .score-value{color:#f4fbff!important;text-shadow:0 2px 10px rgba(82,228,199,.2)!important}
.game-shell.theme-aurora-peaks .soft-button,
.game-shell.theme-aurora-peaks .small-control,
.game-shell.theme-aurora-peaks .star-pill,
.game-shell.theme-aurora-peaks .star-balance,
.game-shell.theme-aurora-peaks .life-row{
  color:#f2f8ff!important;
  background:rgba(15,31,78,.82)!important;
  border-color:rgba(134,223,220,.19)!important;
  box-shadow:0 3px 0 rgba(2,8,31,.24)!important;
}
.game-shell.theme-aurora-peaks .best-mini,
.game-shell.theme-aurora-peaks .score-caption{color:#b4c6e7!important}
.game-shell.theme-pink-blossom .menu-brand h1{color:#fff!important;text-shadow:0 3px 0 #c53f78,0 6px 15px rgba(173,55,111,.22)!important}
.game-shell.theme-aurora-peaks .menu-brand h1{color:#f5ffff!important;text-shadow:0 3px 0 #278f93,0 6px 16px rgba(35,218,190,.22)!important}
.game-shell.theme-pink-blossom .menu-brand p{color:#93607e!important}
.game-shell.theme-aurora-peaks .menu-brand p{color:#afc0e4!important}

.impact-toast{
  --toast-scale:1;
  isolation:isolate!important;
  top:22%!important;
  max-width:calc(100% - 34px)!important;
  min-height:44px!important;
  padding:10px 18px 11px!important;
  color:transparent!important;
  background:linear-gradient(112deg,var(--toast-a,var(--game-accent)),var(--toast-c,var(--game-star)) 48%,var(--toast-b,var(--game-accent-light)))!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  filter:drop-shadow(0 3px 0 color-mix(in srgb,var(--game-ink) 19%,transparent)) drop-shadow(0 8px 15px color-mix(in srgb,var(--toast-a) 22%,transparent))!important;
  text-shadow:none!important;
  letter-spacing:-.025em!important;
  font-size:clamp(21px,6.4vw,31px)!important;
  animation:impact-pop-v17 1.02s cubic-bezier(.16,1.28,.3,1) both!important;
}
.impact-toast::before{
  content:"";
  position:absolute;
  z-index:-2;
  inset:2px -4px 0;
  border:2px solid color-mix(in srgb,var(--toast-c) 28%,rgba(255,255,255,.72));
  border-radius:18px;
  background:color-mix(in srgb,var(--game-panel) 88%,transparent);
  box-shadow:0 5px 0 color-mix(in srgb,var(--game-ink) 12%,transparent),0 12px 24px color-mix(in srgb,var(--toast-a) 12%,transparent);
  backdrop-filter:blur(5px);
}
.impact-toast::after{
  content:"";
  position:absolute;
  z-index:-1;
  inset:-16px -28px;
  opacity:.88;
  background:
    radial-gradient(circle at 7% 63%,var(--toast-a) 0 4px,transparent 4.8px),
    radial-gradient(circle at 18% 8%,var(--toast-c) 0 3px,transparent 3.8px),
    radial-gradient(circle at 91% 34%,var(--toast-b) 0 4.5px,transparent 5.3px),
    radial-gradient(circle at 80% 91%,var(--toast-c) 0 2.8px,transparent 3.6px);
  animation:toast-particles-v17 1.02s ease-out both;
}
.impact-toast.toast-tier-2{--toast-scale:1.045}
.impact-toast.toast-tier-3{--toast-scale:1.09}
.game-shell.theme-pink-blossom .impact-toast::before{background:rgba(255,247,252,.9)!important}
.game-shell.theme-aurora-peaks .impact-toast::before{background:rgba(11,27,72,.88)!important;border-color:rgba(128,238,217,.32)!important}
@keyframes impact-pop-v17{
  0%{opacity:0;transform:translate(-50%,18px) scale(.72) rotate(-2deg)}
  22%{opacity:1;transform:translate(-50%,-4px) scale(calc(var(--toast-scale) * 1.08)) rotate(1deg)}
  58%{opacity:1;transform:translate(-50%,0) scale(var(--toast-scale)) rotate(0)}
  100%{opacity:0;transform:translate(-50%,-24px) scale(calc(var(--toast-scale) * .96))}
}
@keyframes toast-particles-v17{
  0%{opacity:0;transform:scale(.55)}
  28%{opacity:1;transform:scale(1.08)}
  100%{opacity:0;transform:scale(1.38)}
}

.pause-overlay{place-items:center!important;padding:14px!important}
.pause-overlay .modal-card.compact{
  width:min(342px,100%)!important;
  padding:18px 18px 17px!important;
  max-height:calc(100dvh - 28px)!important;
  overflow:auto!important;
}
.pause-overlay .modal-card.compact>h2{margin:8px 0 12px!important;font-size:27px!important}
.pause-overlay .modal-card.compact>.primary-button,
.pause-overlay .modal-card.compact>.plain-button{height:52px!important;min-height:52px!important;border-radius:17px!important}
.pause-overlay .modal-card.compact>.plain-button{margin-top:12px!important;background:linear-gradient(145deg,var(--ui-collection-a),var(--ui-collection-b))!important;box-shadow:0 6px 0 color-mix(in srgb,var(--ui-collection-b) 72%,#36458e)!important}
.pause-overlay .pause-settings{margin-top:12px!important;gap:9px!important}
.pause-overlay .pause-settings button{min-height:42px!important;height:42px!important;padding:6px!important;font-size:9.5px!important}

.gameover-overlay{place-items:center!important;padding:12px!important}
.gameover-overlay .modal-card{
  width:min(372px,100%)!important;
  max-height:calc(100dvh - 24px)!important;
  overflow:auto!important;
  overscroll-behavior:contain!important;
  padding:16px 18px 15px!important;
}
.gameover-overlay .brand-lockup{margin-bottom:0!important}
.gameover-overlay .eyebrow{margin:9px 0 2px!important}
.gameover-overlay .result-score{font-size:clamp(56px,17vw,82px)!important;line-height:.9!important}
.gameover-overlay .result-best{margin:3px 0 9px!important}
.earned-stars-card{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  margin:0 0 10px;
  padding:9px 9px 9px 12px;
  border:2px solid color-mix(in srgb,var(--game-star) 38%,var(--game-panel));
  border-radius:18px;
  background:linear-gradient(135deg,color-mix(in srgb,var(--game-star) 15%,var(--game-panel)),color-mix(in srgb,var(--game-panel) 92%,transparent));
  box-shadow:0 4px 0 color-mix(in srgb,var(--game-ink) 10%,transparent);
}
.earned-stars-total{display:flex;align-items:center;gap:9px;text-align:left;min-width:0}
.earned-stars-total>span{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:13px;color:#fff;background:linear-gradient(145deg,#ffd85a,#f4a132);box-shadow:0 4px 0 rgba(172,104,25,.2);font-size:21px}
.earned-stars-total>div{display:grid;gap:1px;min-width:0}
.earned-stars-total small{color:var(--game-muted);font-size:9px!important;font-weight:900!important;text-transform:uppercase;letter-spacing:.08em}
.earned-stars-total strong{color:var(--game-ink);font-size:25px!important;line-height:1!important;letter-spacing:-.04em}
.earn-multiplier-button{
  min-width:112px;
  min-height:48px;
  border:0;
  border-radius:15px;
  padding:6px 9px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer;
  color:#fff;
  background:linear-gradient(135deg,var(--ui-reward-a),var(--ui-reward-b));
  box-shadow:0 5px 0 color-mix(in srgb,var(--ui-reward-b) 74%,#9c4934);
  text-shadow:0 1px 0 rgba(70,40,35,.18);
}
.earn-multiplier-button>span:last-child{display:grid;justify-items:start;gap:2px}
.earn-multiplier-button strong{font-size:18px!important;line-height:1!important;color:#fff!important}
.earn-multiplier-button small{font-size:8.5px!important;line-height:1!important;color:rgba(255,255,255,.92)!important;white-space:nowrap}
.earn-ad-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:10px;background:rgba(255,255,255,.94);color:var(--ui-reward-b);font-size:12px}
.earn-multiplier-button.claimed{background:linear-gradient(135deg,#4fd49e,#28a982);box-shadow:0 5px 0 #247e65}
.earn-multiplier-button.claimed .earn-ad-icon{color:#289b77}
.earn-multiplier-button:disabled{cursor:default;filter:saturate(.72);opacity:.88}
.game-shell.theme-aurora-peaks .earned-stars-card{background:linear-gradient(135deg,rgba(255,216,91,.12),rgba(18,35,85,.94));border-color:rgba(255,222,116,.28)}
.game-shell.theme-aurora-peaks .earned-stars-total strong{color:#f6fbff!important}
.game-shell.theme-aurora-peaks .earned-stars-total small{color:#b7c7e5!important}
.gameover-overlay .revive-left{margin:0 0 7px!important}
.gameover-overlay .revive-block{margin:0 0 10px!important}
.gameover-overlay .secondary-button,
.gameover-overlay .plain-button{height:50px!important;min-height:50px!important}
.gameover-overlay .plain-button{margin-top:9px!important}
@media(max-width:350px){
  .earned-stars-card{grid-template-columns:1fr!important}
  .earn-multiplier-button{width:100%!important}
}
@media(max-height:720px){
  .gameover-overlay .modal-card{padding:12px 15px 12px!important}
  .gameover-overlay .brand-lockup{display:none!important}
  .gameover-overlay .eyebrow{margin-top:0!important}
  .gameover-overlay .result-score{font-size:58px!important}
  .earned-stars-card{margin-bottom:8px!important;padding-top:7px!important;padding-bottom:7px!important}
  .gameover-overlay .revive-choice{height:50px!important;min-height:50px!important}
  .gameover-overlay .secondary-button,.gameover-overlay .plain-button{height:46px!important;min-height:46px!important}
}

.achievement-overlay{place-items:center!important;padding:14px!important;background:color-mix(in srgb,var(--game-ink) 46%,transparent)!important}
.achievement-card{
  width:min(360px,100%)!important;
  max-height:calc(100dvh - 28px)!important;
  overflow:auto!important;
  padding:17px 17px 15px!important;
  border-radius:27px!important;
  animation:unlock-card-v17 .34s cubic-bezier(.2,1.25,.3,1) both!important;
}
.achievement-card::before{inset:-65px -55px auto!important;height:150px!important;opacity:.55!important}
.unlock-kicker{margin:0 0 10px!important;font-size:10px!important;letter-spacing:.16em!important}
.unlock-theme-preview{height:150px!important;border-radius:20px!important;border-width:3px!important;box-shadow:0 6px 0 color-mix(in srgb,var(--game-ink) 12%,transparent),0 14px 28px color-mix(in srgb,var(--game-ink) 12%,transparent)!important}
.unlock-theme-preview>span{top:9px!important;right:9px!important;width:35px!important;height:35px!important;border-radius:12px!important;font-size:18px!important}
.unlock-ball-preview{
  width:142px;
  height:142px;
  margin:2px auto 0;
  display:grid;
  place-items:center;
  border-radius:42px;
  background:radial-gradient(circle at 42% 35%,rgba(255,255,255,.94),color-mix(in srgb,var(--game-bg) 35%,var(--game-panel)) 66%);
  border:3px solid rgba(255,255,255,.9);
  box-shadow:0 7px 0 color-mix(in srgb,var(--game-ink) 12%,transparent),0 16px 28px color-mix(in srgb,var(--game-ink) 13%,transparent);
}
.unlock-ball-preview img{width:118px;height:118px;object-fit:contain;filter:drop-shadow(0 7px 6px rgba(34,35,48,.17))}
.achievement-card h2{margin:14px 0 3px!important;font-size:27px!important;color:var(--game-accent)!important}
.unlock-theme-name{display:block;font-size:18px!important;color:var(--game-ink)!important}
.unlock-reason{margin:7px 0 0!important;font-size:9.5px!important;line-height:1.3!important}
.unlock-copy{margin:6px 0 12px!important;font-size:10px!important;line-height:1.35!important}
.achievement-card .unlock-cta{min-height:52px!important;height:52px!important;border-radius:17px!important}
.achievement-card>.plain-button{min-height:42px!important;height:42px!important;margin-top:9px!important;border-radius:14px!important;background:color-mix(in srgb,var(--game-panel) 72%,var(--game-bg))!important;color:var(--game-muted)!important;box-shadow:none!important;text-shadow:none!important}
.game-shell.theme-aurora-peaks .unlock-ball-preview{background:radial-gradient(circle at 42% 34%,rgba(124,236,217,.18),rgba(18,35,84,.96) 68%);border-color:rgba(145,229,221,.24)}
.game-shell.theme-aurora-peaks .unlock-theme-name{color:#f4fbff!important}
.game-shell.theme-aurora-peaks .achievement-card>.plain-button{background:rgba(35,55,107,.78)!important;color:#bdcae6!important}
@keyframes unlock-card-v17{from{opacity:0;transform:translateY(18px) scale(.92)}to{opacity:1;transform:none}}

.ball-card{position:relative!important}
.ball-card.achievement-locked{background:linear-gradient(180deg,#f4f5f8,#e9ebf0)!important;border-color:#d9dde5!important}
.ball-card.achievement-locked img{filter:saturate(.34) brightness(.82);opacity:.76}
.ball-lock-badge{
  position:absolute;
  top:7px;
  right:7px;
  z-index:2;
  display:grid;
  place-items:center;
  width:29px;
  height:29px;
  border-radius:10px;
  background:#fff3b9;
  box-shadow:0 3px 0 rgba(132,96,29,.15);
  font-style:normal;
  font-size:15px;
}
.ball-card.achievement-locked small,
.theme-card.achievement-locked small{white-space:normal!important;line-height:1.22!important;min-height:34px!important;display:grid!important;place-items:center!important;padding:5px 7px!important;text-wrap:balance}
.game-shell.theme-aurora-peaks .cosmetic-card{background:#182c67!important;border-color:#29437e!important;color:#eef6ff!important;box-shadow:0 4px 0 rgba(1,7,29,.22)!important}
.game-shell.theme-aurora-peaks .cosmetic-card.selected{background:#203b79!important;border-color:#55e5c5!important}
.game-shell.theme-aurora-peaks .cosmetic-card small{color:#f5e8a7!important;background:#334477!important}
.game-shell.theme-aurora-peaks .tab-row button{color:#c7d3ec!important;background:#1a2e67!important}
.game-shell.theme-aurora-peaks .tab-row button.active{color:#07194e!important;background:#64e4c7!important}
.game-shell.theme-aurora-peaks .panel-header button{color:#eff8ff!important;background:#20396f!important}
.game-shell.theme-pink-blossom .cosmetic-card.selected{border-color:#f34f8b!important;background:#fff0f7!important}

@media(prefers-reduced-motion:reduce){
  .impact-toast,.impact-toast::after,.achievement-card{animation:none!important}
}

.menu-screen .menu-grid .menu-tile,
.menu-screen .menu-grid .menu-tile *,
.menu-screen .menu-settings button,
.menu-screen .menu-settings button *{
  color:#fff!important;
  -webkit-text-fill-color:currentColor!important;
}
.menu-screen .menu-grid .menu-tile,
.menu-screen .menu-settings button{
  text-shadow:0 1px 0 rgba(39,42,64,.18)!important;
}

.achievement-card .unlock-reason{
  display:block!important;
  margin:10px auto 0!important;
  padding:0!important;
  max-width:296px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  color:#8a90a3!important;
  text-align:center!important;
  letter-spacing:.01em!important;
  font:850 11px/1.38 var(--ui-font)!important;
  opacity:1!important;
}
.achievement-card .unlock-copy{
  margin:10px auto 14px!important;
  color:#767f92!important;
  font:760 11px/1.42 var(--ui-font)!important;
}
.game-shell.theme-pink-blossom .achievement-card .unlock-reason{color:#9f6083!important}
.game-shell.theme-pink-blossom .achievement-card .unlock-copy{color:#8f6680!important}
.game-shell.theme-aurora-peaks .achievement-card .unlock-reason{color:#b9c9eb!important}
.game-shell.theme-aurora-peaks .achievement-card .unlock-copy{color:#d9e5fb!important}

.impact-toast{
  --toast-a:#ff6e64;
  --toast-b:#ffca5d;
  --toast-c:#ff7da7;
  --toast-text:#fff;
  color:var(--toast-text)!important;
  -webkit-text-fill-color:var(--toast-text)!important;
  background:none!important;
  -webkit-background-clip:initial!important;
  background-clip:border-box!important;
  text-shadow:0 2px 0 rgba(86,50,46,.24),0 10px 20px color-mix(in srgb,var(--toast-a) 28%,transparent)!important;
  filter:none!important;
}
.impact-toast::before{
  inset:-2px -8px -2px!important;
  border:2px solid rgba(255,255,255,.78)!important;
  border-radius:18px!important;
  background:linear-gradient(120deg,var(--toast-a),var(--toast-b) 56%,var(--toast-c))!important;
  box-shadow:0 5px 0 rgba(82,51,46,.14),0 14px 26px color-mix(in srgb,var(--toast-a) 24%,transparent)!important;
  backdrop-filter:none!important;
}
.impact-toast::after{
  inset:-12px -16px!important;
  opacity:.96!important;
}
.impact-toast.toast-tier-1{--toast-a:#ff714f;--toast-b:#ffd05b;--toast-c:#ff8d63}
.impact-toast.toast-tier-2{--toast-a:#ff5f73;--toast-b:#ffbf58;--toast-c:#ff7ec2}
.impact-toast.toast-tier-3{--toast-a:#ff5664;--toast-b:#ffb34c;--toast-c:#bf72ff}
.game-shell.theme-pink-blossom .impact-toast{--toast-a:#ff5c9c;--toast-b:#ffb65f;--toast-c:#bb7cff}
.game-shell.theme-pink-blossom .impact-toast.toast-tier-2{--toast-a:#ff538f;--toast-b:#ffc06a;--toast-c:#c77fff}
.game-shell.theme-pink-blossom .impact-toast.toast-tier-3{--toast-a:#ff4d84;--toast-b:#ffb356;--toast-c:#8f74ff}
.game-shell.theme-aurora-peaks .impact-toast{--toast-a:#49dfc7;--toast-b:#7bb8ff;--toast-c:#a279ff}
.game-shell.theme-aurora-peaks .impact-toast.toast-tier-2{--toast-a:#43dcc0;--toast-b:#6db7ff;--toast-c:#8e85ff}
.game-shell.theme-aurora-peaks .impact-toast.toast-tier-3{--toast-a:#38d5bc;--toast-b:#5ebcff;--toast-c:#6e8dff}

.menu-screen .menu-grid button.menu-tile{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:0 1px 0 rgba(36,43,66,.22)!important;
}
.menu-screen .menu-settings button,
.menu-screen .menu-settings button small{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

.game-shell.theme-sky-dream .achievement-card .unlock-reason{color:#47748c!important}
.game-shell.theme-sky-dream .achievement-card .unlock-copy{color:#60798a!important}
.game-shell.theme-gray-minimal .achievement-card .unlock-reason{color:#68717e!important}
.game-shell.theme-gray-minimal .achievement-card .unlock-copy{color:#737c89!important}
.game-shell.theme-pink-blossom .achievement-card .unlock-reason{color:#8f4e72!important}
.game-shell.theme-pink-blossom .achievement-card .unlock-copy{color:#855f78!important}
.game-shell.theme-aurora-peaks .achievement-card .unlock-reason{color:#c3d4f3!important}
.game-shell.theme-aurora-peaks .achievement-card .unlock-copy{color:#d8e6fb!important}

.impact-toast{--toast-shadow:rgba(55,55,79,.24)}
.impact-toast{
  text-shadow:0 2px 0 var(--toast-shadow),0 10px 20px color-mix(in srgb,var(--toast-a) 28%,transparent)!important;
}
.game-shell.theme-sky-dream .impact-toast{
  --toast-a:#229ed8;--toast-b:#55c8ee;--toast-c:#ff9a4a;--toast-shadow:rgba(23,83,117,.30)
}
.game-shell.theme-sky-dream .impact-toast.toast-tier-2{
  --toast-a:#198fd0;--toast-b:#4fc3ed;--toast-c:#ffad45
}
.game-shell.theme-sky-dream .impact-toast.toast-tier-3{
  --toast-a:#167fc3;--toast-b:#42b9e7;--toast-c:#ff8248
}
.game-shell.theme-gray-minimal .impact-toast{
  --toast-a:#697482;--toast-b:#909baa;--toast-c:#f08a52;--toast-shadow:rgba(47,52,61,.32)
}
.game-shell.theme-gray-minimal .impact-toast.toast-tier-2{
  --toast-a:#5d6877;--toast-b:#8895a5;--toast-c:#ef7b49
}
.game-shell.theme-gray-minimal .impact-toast.toast-tier-3{
  --toast-a:#515d6e;--toast-b:#7d8b9d;--toast-c:#e96e43
}
.game-shell.theme-pink-blossom .impact-toast{--toast-shadow:rgba(105,35,76,.30)}
.game-shell.theme-aurora-peaks .impact-toast{--toast-shadow:rgba(2,12,42,.46)}

.impact-toast{
  --toast-panel-a:#b74a4f;
  --toast-panel-b:#bd6c3c;
  --toast-panel-c:#7c50a5;
}
.game-shell.theme-sky-dream .impact-toast{
  --toast-panel-a:#187cab;--toast-panel-b:#2d99bd;--toast-panel-c:#c86434
}
.game-shell.theme-gray-minimal .impact-toast{
  --toast-panel-a:#586370;--toast-panel-b:#74808f;--toast-panel-c:#b95d3b
}
.game-shell.theme-pink-blossom .impact-toast{
  --toast-panel-a:#b93670;--toast-panel-b:#d65382;--toast-panel-c:#7652bd
}
.game-shell.theme-aurora-peaks .impact-toast{
  --toast-panel-a:#146c68;--toast-panel-b:#315ca8;--toast-panel-c:#5c4ca8
}
.game-shell.theme-sky-dream .impact-toast::before,
.game-shell.theme-gray-minimal .impact-toast::before,
.game-shell.theme-pink-blossom .impact-toast::before,
.game-shell.theme-aurora-peaks .impact-toast::before{
  background:linear-gradient(120deg,var(--toast-panel-a),var(--toast-panel-b) 56%,var(--toast-panel-c))!important;
  border-color:rgba(255,255,255,.82)!important;
  box-shadow:0 5px 0 rgba(42,47,72,.18),0 14px 26px color-mix(in srgb,var(--toast-a) 22%,transparent)!important;
}

.impact-toast{
  --toast-panel:rgba(255,255,255,.90);
  --toast-ink:#5c6671;
  --toast-sub:#7d8792;
  --toast-accent:#ef8151;
  --toast-shadow:rgba(70,77,87,.15);
  --toast-glow:rgba(239,129,81,.16);
  top:21.8%!important;
  min-width:156px!important;
  width:max-content!important;
  max-width:min(282px,calc(100% - 42px))!important;
  min-height:0!important;
  padding:9px 18px 10px 21px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:3px!important;
  white-space:normal!important;
  text-align:left!important;
  color:var(--toast-ink)!important;
  -webkit-text-fill-color:var(--toast-ink)!important;
  text-shadow:none!important;
  filter:none!important;
  letter-spacing:-.025em!important;
  font-family:var(--ui-font)!important;
  animation:impact-card-v21 1.32s cubic-bezier(.18,1.12,.32,1) both!important;
}
.impact-toast.is-single{align-items:center!important;text-align:center!important;padding-left:18px!important}
.impact-toast::before{
  content:""!important;
  position:absolute!important;
  z-index:-2!important;
  inset:0!important;
  border:0!important;
  border-left:5px solid var(--toast-accent)!important;
  border-radius:13px 19px 19px 13px!important;
  background:var(--toast-panel)!important;
  box-shadow:0 4px 0 var(--toast-shadow),0 11px 22px var(--toast-glow)!important;
  backdrop-filter:none!important;
}
.impact-toast::after{
  content:""!important;
  position:absolute!important;
  z-index:-1!important;
  left:19px!important;
  right:15px!important;
  top:auto!important;
  bottom:-3px!important;
  height:3px!important;
  opacity:.48!important;
  border-radius:999px!important;
  background:var(--toast-accent)!important;
  animation:none!important;
}
.impact-toast-line{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.impact-toast-line.primary{
  color:var(--toast-ink)!important;
  -webkit-text-fill-color:var(--toast-ink)!important;
  font:950 clamp(18px,5.25vw,25px)/1.02 var(--ui-font)!important;
  letter-spacing:-.035em!important;
}
.impact-toast-line.secondary{
  color:var(--toast-sub)!important;
  -webkit-text-fill-color:var(--toast-sub)!important;
  font:900 clamp(11px,3.15vw,14px)/1.08 var(--ui-font)!important;
  letter-spacing:.005em!important;
}
.impact-toast.toast-tier-2{--toast-accent:#f39b46}
.impact-toast.toast-tier-3{--toast-accent:#f36f55}
.game-shell.theme-sky-dream .impact-toast{
  --toast-panel:rgba(247,253,255,.91);--toast-ink:#47758d;--toast-sub:#6890a4;--toast-accent:#ff9744;--toast-shadow:rgba(66,119,145,.14);--toast-glow:rgba(51,163,209,.14)
}
.game-shell.theme-sky-dream .impact-toast.toast-tier-2{--toast-accent:#ffad3f}
.game-shell.theme-sky-dream .impact-toast.toast-tier-3{--toast-accent:#ff7d45}
.game-shell.theme-gray-minimal .impact-toast{
  --toast-panel:rgba(249,250,252,.92);--toast-ink:#626c78;--toast-sub:#858e98;--toast-accent:#df7d4e;--toast-shadow:rgba(73,79,88,.14);--toast-glow:rgba(103,113,127,.10)
}
.game-shell.theme-gray-minimal .impact-toast.toast-tier-2{--toast-accent:#ed8c47}
.game-shell.theme-gray-minimal .impact-toast.toast-tier-3{--toast-accent:#e46c49}
.game-shell.theme-pink-blossom .impact-toast{
  --toast-panel:rgba(255,247,252,.92);--toast-ink:#8b4f72;--toast-sub:#a46f8d;--toast-accent:#ee5f9d;--toast-shadow:rgba(145,66,107,.14);--toast-glow:rgba(236,89,153,.13)
}
.game-shell.theme-pink-blossom .impact-toast.toast-tier-2{--toast-accent:#f06a9c}
.game-shell.theme-pink-blossom .impact-toast.toast-tier-3{--toast-accent:#d85cae}
.game-shell.theme-aurora-peaks .impact-toast{
  --toast-panel:rgba(13,29,74,.88);--toast-ink:#f4fbff;--toast-sub:#b8cae8;--toast-accent:#59e0c7;--toast-shadow:rgba(1,8,31,.27);--toast-glow:rgba(72,217,192,.12)
}
.game-shell.theme-aurora-peaks .impact-toast.toast-tier-2{--toast-accent:#66d8ff}
.game-shell.theme-aurora-peaks .impact-toast.toast-tier-3{--toast-accent:#8c87ff}
@keyframes impact-card-v21{
  0%{opacity:0;transform:translate(-50%,11px) scale(.9)}
  18%{opacity:1;transform:translate(-50%,-2px) scale(1.025)}
  30%,78%{opacity:1;transform:translate(-50%,0) scale(1)}
  100%{opacity:0;transform:translate(-50%,-12px) scale(.97)}
}
@media(prefers-reduced-motion:reduce){.impact-toast{animation:none!important}}

.game-shell.theme-sky-dream .impact-toast::before,
.game-shell.theme-gray-minimal .impact-toast::before,
.game-shell.theme-pink-blossom .impact-toast::before,
.game-shell.theme-aurora-peaks .impact-toast::before{
  background:var(--toast-panel)!important;
  border:0!important;
  border-left:5px solid var(--toast-accent)!important;
  box-shadow:0 4px 0 var(--toast-shadow),0 11px 22px var(--toast-glow)!important;
}

.impact-toast{
  --combo-panel:rgba(255,255,255,.70);
  --combo-ink:#596571;
  --combo-sub:#7b8792;
  --combo-a:#ff8755;
  --combo-b:#ffc15d;
  --combo-edge:#ffab79;
  --combo-glow:rgba(255,126,76,.25);
  --combo-spark:#fff7df;
  --combo-spark-2:#ffd49a;
  --combo-spark-opacity:.52;
  --combo-rise:13px;

  top:21.2%!important;
  min-width:176px!important;
  width:max-content!important;
  max-width:min(308px,calc(100% - 30px))!important;
  min-height:0!important;
  padding:11px 19px 12px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  white-space:normal!important;
  text-align:center!important;
  color:var(--combo-ink)!important;
  -webkit-text-fill-color:var(--combo-ink)!important;
  font-family:var(--ui-font)!important;
  letter-spacing:-.02em!important;
  text-shadow:none!important;
  filter:none!important;

  
  border:2.5px solid transparent!important;
  border-radius:25px 18px 27px 20px / 19px 27px 20px 26px!important;
  background:
    radial-gradient(120% 150% at 16% 5%,rgba(255,255,255,.48) 0 12%,transparent 33%) padding-box,
    radial-gradient(120% 130% at 92% 92%,color-mix(in srgb,var(--combo-a) 13%,transparent) 0 13%,transparent 44%) padding-box,
    linear-gradient(180deg,color-mix(in srgb,var(--combo-panel) 92%,#fff),var(--combo-panel)) padding-box,
    linear-gradient(115deg,var(--combo-edge),var(--combo-b) 38%,rgba(255,255,255,.98) 53%,var(--combo-a) 72%,var(--combo-edge)) border-box!important;
  background-size:100% 100%,100% 100%,100% 100%,220% 220%!important;
  background-position:center,center,center,8% 50%!important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.12),
    0 0 15px var(--combo-glow),
    0 0 28px color-mix(in srgb,var(--combo-glow) 50%,transparent)!important;
  backdrop-filter:blur(8px) saturate(118%)!important;
  -webkit-backdrop-filter:blur(8px) saturate(118%)!important;
  overflow:visible!important;
  isolation:isolate!important;
  animation:
    combo-panel-v18 1.72s cubic-bezier(.17,.92,.26,1) both,
    combo-border-v18 .92s ease-in-out 0s 2 alternate!important;
}

.impact-toast::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  pointer-events:none!important;
  z-index:-1!important;
  inset:-7px!important;
  border:1.5px solid color-mix(in srgb,var(--combo-edge) 72%,transparent)!important;
  border-radius:30px 23px 32px 25px / 24px 32px 25px 31px!important;
  background:transparent!important;
  box-shadow:
    0 0 10px var(--combo-glow),
    inset 0 0 8px color-mix(in srgb,var(--combo-edge) 18%,transparent)!important;
  opacity:.72!important;
  transform-origin:center!important;
  animation:combo-halo-v18 1.72s ease-out both!important;
}

.impact-toast::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  pointer-events:none!important;
  z-index:-1!important;
  inset:-18px -19px!important;
  border:0!important;
  border-radius:36px!important;
  background:
    radial-gradient(circle at 8% 52%,var(--combo-spark) 0 2.4px,transparent 3px),
    radial-gradient(circle at 18% 13%,var(--combo-spark-2) 0 1.8px,transparent 2.4px),
    radial-gradient(circle at 37% 98%,var(--combo-spark) 0 1.6px,transparent 2.2px),
    radial-gradient(circle at 74% 6%,var(--combo-spark) 0 2px,transparent 2.6px),
    radial-gradient(circle at 91% 42%,var(--combo-spark-2) 0 2.2px,transparent 2.8px),
    radial-gradient(circle at 82% 87%,var(--combo-spark) 0 1.7px,transparent 2.3px)!important;
  opacity:var(--combo-spark-opacity)!important;
  animation:combo-sparks-v18 1.72s cubic-bezier(.18,.75,.25,1) both!important;
}

.impact-toast-line{
  position:relative!important;
  z-index:2!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.impact-toast-line.primary{
  color:var(--combo-ink)!important;
  -webkit-text-fill-color:var(--combo-ink)!important;
  font:960 clamp(18px,5.25vw,25px)/1.02 var(--ui-font)!important;
  letter-spacing:-.04em!important;
}
.impact-toast-line.secondary{
  color:var(--combo-sub)!important;
  -webkit-text-fill-color:var(--combo-sub)!important;
  font:900 clamp(11px,3.1vw,14px)/1.1 var(--ui-font)!important;
  letter-spacing:.005em!important;
}

.impact-toast.toast-tier-2{
  --combo-a:#ff9947;
  --combo-b:#ffd35e;
  --combo-edge:#ffc267;
  --combo-glow:rgba(255,162,60,.36);
  --combo-spark-opacity:.72;
  --combo-rise:17px;
  border-width:2.8px!important;
}
.impact-toast.toast-tier-2::before{
  inset:-9px!important;
  border-width:2px!important;
  box-shadow:0 0 15px var(--combo-glow),inset 0 0 10px color-mix(in srgb,var(--combo-edge) 24%,transparent)!important;
  opacity:.9!important;
}
.impact-toast.toast-tier-2::after{
  inset:-22px -24px!important;
  background:
    radial-gradient(circle at 5% 49%,var(--combo-spark) 0 2.7px,transparent 3.4px),
    radial-gradient(circle at 14% 15%,var(--combo-spark-2) 0 2.2px,transparent 2.9px),
    radial-gradient(circle at 29% 101%,var(--combo-spark) 0 1.9px,transparent 2.6px),
    radial-gradient(circle at 49% -2%,var(--combo-spark-2) 0 1.7px,transparent 2.4px),
    radial-gradient(circle at 72% 7%,var(--combo-spark) 0 2.3px,transparent 3px),
    radial-gradient(circle at 94% 39%,var(--combo-spark-2) 0 2.5px,transparent 3.2px),
    radial-gradient(circle at 84% 90%,var(--combo-spark) 0 2px,transparent 2.7px),
    radial-gradient(circle at 58% 104%,var(--combo-spark-2) 0 1.6px,transparent 2.3px)!important;
}

.impact-toast.toast-tier-3{
  --combo-a:#ff667a;
  --combo-b:#ffca54;
  --combo-edge:#ff9a75;
  --combo-glow:rgba(255,91,116,.44);
  --combo-spark:#fff8d0;
  --combo-spark-2:#ffc6a0;
  --combo-spark-opacity:.92;
  --combo-rise:22px;
  border-width:3px!important;
}
.impact-toast.toast-tier-3::before{
  inset:-11px!important;
  border-width:2.2px!important;
  box-shadow:0 0 18px var(--combo-glow),0 0 29px color-mix(in srgb,var(--combo-glow) 56%,transparent),inset 0 0 11px color-mix(in srgb,var(--combo-edge) 26%,transparent)!important;
  opacity:1!important;
}
.impact-toast.toast-tier-3::after{
  inset:-26px -29px!important;
  background:
    radial-gradient(circle at 3% 48%,var(--combo-spark) 0 3px,transparent 3.8px),
    radial-gradient(circle at 12% 16%,var(--combo-spark-2) 0 2.4px,transparent 3.1px),
    radial-gradient(circle at 21% 91%,var(--combo-spark) 0 2.1px,transparent 2.8px),
    radial-gradient(circle at 34% -1%,var(--combo-spark-2) 0 1.9px,transparent 2.6px),
    radial-gradient(circle at 48% 106%,var(--combo-spark) 0 1.8px,transparent 2.5px),
    radial-gradient(circle at 63% -3%,var(--combo-spark) 0 2.1px,transparent 2.8px),
    radial-gradient(circle at 78% 7%,var(--combo-spark-2) 0 2.5px,transparent 3.2px),
    radial-gradient(circle at 97% 37%,var(--combo-spark) 0 2.8px,transparent 3.5px),
    radial-gradient(circle at 91% 76%,var(--combo-spark-2) 0 2.2px,transparent 2.9px),
    radial-gradient(circle at 76% 101%,var(--combo-spark) 0 1.9px,transparent 2.6px)!important;
}

.game-shell.theme-sky-dream .impact-toast{
  --combo-panel:rgba(244,251,255,.70);--combo-ink:#3e728b;--combo-sub:#62899e;
  --combo-a:#ff9248;--combo-b:#ffd05e;--combo-edge:#ffbf79;--combo-glow:rgba(255,143,63,.30);
  --combo-spark-2:#ffd7a8;
}
.game-shell.theme-sky-dream .impact-toast.toast-tier-2{--combo-a:#ffad3f;--combo-b:#ffe062;--combo-edge:#ffd06a}
.game-shell.theme-sky-dream .impact-toast.toast-tier-3{--combo-a:#ff7458;--combo-b:#ffd056;--combo-edge:#ff9c79}

.game-shell.theme-gray-minimal .impact-toast{
  --combo-panel:rgba(248,250,252,.72);--combo-ink:#5d6874;--combo-sub:#7e8993;
  --combo-a:#dd7f50;--combo-b:#f0b867;--combo-edge:#eaa273;--combo-glow:rgba(205,118,78,.24);
  --combo-spark-2:#ebd0b9;
}
.game-shell.theme-gray-minimal .impact-toast.toast-tier-2{--combo-a:#e9934a;--combo-b:#f7c667;--combo-edge:#efad6e}
.game-shell.theme-gray-minimal .impact-toast.toast-tier-3{--combo-a:#e06e54;--combo-b:#f4b55c;--combo-edge:#e99171}

.game-shell.theme-pink-blossom .impact-toast{
  --combo-panel:rgba(255,240,249,.70);--combo-ink:#884b70;--combo-sub:#a16989;
  --combo-a:#ef5fa4;--combo-b:#ff9ac9;--combo-edge:#ff8bc2;--combo-glow:rgba(236,79,160,.32);
  --combo-spark:#fff4fb;--combo-spark-2:#ffc3df;
}
.game-shell.theme-pink-blossom .impact-toast.toast-tier-2{--combo-a:#f3769f;--combo-b:#ffc36f;--combo-edge:#ff91bb}
.game-shell.theme-pink-blossom .impact-toast.toast-tier-3{--combo-a:#d75eb7;--combo-b:#ff8fc8;--combo-edge:#ef79d2}

.game-shell.theme-aurora-peaks .impact-toast{
  --combo-panel:rgba(9,27,67,.58);--combo-ink:#f4fbff;--combo-sub:#bfd0ed;
  --combo-a:#4edcc3;--combo-b:#6ebfff;--combo-edge:#72ecd9;--combo-glow:rgba(66,221,196,.30);
  --combo-spark:#e9ffff;--combo-spark-2:#aeeeff;
}
.game-shell.theme-aurora-peaks .impact-toast.toast-tier-2{--combo-a:#55d8f5;--combo-b:#7cbfff;--combo-edge:#8be8ff}
.game-shell.theme-aurora-peaks .impact-toast.toast-tier-3{--combo-a:#8d82f2;--combo-b:#68d4ff;--combo-edge:#a49cff}

@keyframes combo-panel-v18{
  0%{opacity:0;transform:translate(-50%,15px) scale(.86) rotate(-2.3deg)}
  12%{opacity:1;transform:translate(-50%,-2px) scale(1.04) rotate(.45deg)}
  23%{opacity:1;transform:translate(-50%,0) scale(1) rotate(0)}
  42%{opacity:1;transform:translate(-50%,-1px) scale(1.012) rotate(-.2deg)}
  64%{opacity:1;transform:translate(-50%,0) scale(1) rotate(.15deg)}
  82%{opacity:1;transform:translate(-50%,-1px) scale(1.006) rotate(0)}
  100%{opacity:0;transform:translate(-50%,calc(var(--combo-rise) * -1)) scale(.985) rotate(.35deg)}
}
@keyframes combo-border-v18{
  from{background-position:center,center,center,8% 50%}
  to{background-position:center,center,center,92% 50%}
}
@keyframes combo-halo-v18{
  0%{opacity:0;transform:scale(.88)}
  14%{opacity:.9;transform:scale(1.025)}
  35%{opacity:.62;transform:scale(1)}
  62%{opacity:.82;transform:scale(1.016)}
  100%{opacity:0;transform:scale(1.075)}
}
@keyframes combo-sparks-v18{
  0%{opacity:0;transform:translateY(12px) scale(.78) rotate(-5deg)}
  14%{opacity:var(--combo-spark-opacity);transform:translateY(-1px) scale(1) rotate(0)}
  38%{opacity:calc(var(--combo-spark-opacity) * .76);transform:translateY(-7px) scale(1.08) rotate(2deg)}
  66%{opacity:calc(var(--combo-spark-opacity) * .9);transform:translateY(-12px) scale(1.14) rotate(-1deg)}
  100%{opacity:0;transform:translateY(calc(var(--combo-rise) * -1 - 8px)) scale(1.21) rotate(5deg)}
}
@media(prefers-reduced-motion:reduce){
  .impact-toast,.impact-toast::before,.impact-toast::after{animation:none!important}
}

.achievement-overlay{overflow-x:hidden!important}
.achievement-card{
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior-x:none!important;
  box-sizing:border-box!important;
}
.achievement-card .unlock-reason,
.achievement-card .unlock-copy,
.achievement-card .unlock-theme-name{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  text-overflow:clip!important;
}
.achievement-card .unlock-reason{
  padding-inline:4px!important;
  overflow:hidden!important;
}

.menu-grid .leaderboard-tile>.leaderboard-glyph{
  flex:0 0 auto!important;
  width:42px!important;
  height:42px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background-color:transparent!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23FFE16A' d='M17 7h30v11c0 12-5.7 21.6-15 25-9.3-3.4-15-13-15-25V7Z'/%3E%3Cpath fill='none' stroke='%23FFE16A' stroke-width='6' stroke-linecap='round' d='M17 14H8v5c0 9 5 15 13 17M47 14h9v5c0 9-5 15-13 17'/%3E%3Cpath fill='%23FFC340' d='M28 41h8v10h-8zM19 50h26v7H19z'/%3E%3Cpath fill='%23FFF7C7' d='M22 12h5v10c0 8 2.5 13.5 7.5 17-8-2.5-12.5-10-12.5-20V12Z'/%3E%3C/svg%3E")!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:contain!important;
  box-shadow:none!important;
  overflow:visible!important;
  color:transparent!important;
}
.menu-grid .leaderboard-tile>.leaderboard-glyph::before,
.menu-grid .leaderboard-tile>.leaderboard-glyph::after,
.menu-grid .leaderboard-tile>.leaderboard-glyph i,
.menu-grid .leaderboard-tile>.leaderboard-glyph i::after{content:none!important;display:none!important}

.game-shell button{box-sizing:border-box}
.menu-actions{padding-inline:2px!important}
.play-button{padding-inline:22px!important}
.menu-grid{gap:12px!important;margin-top:14px!important}
.menu-tile{padding:10px 14px!important;gap:10px!important}
.menu-settings{gap:10px!important;padding-inline:2px!important;margin-top:14px!important}
.menu-settings button{padding:7px 10px!important;gap:8px!important}

.pause-overlay .modal-card.compact{padding:19px 19px 18px!important}
.pause-overlay .modal-card.compact>.primary-button{padding-inline:18px!important}
.pause-overlay .modal-card.compact>.plain-button{margin-top:10px!important;padding-inline:16px!important}
.pause-settings{gap:10px!important;margin-top:12px!important}
.pause-settings button{padding:7px 8px!important}

.achievement-card{padding:18px 18px 16px!important}
.achievement-card .unlock-cta{margin-top:3px!important;padding-inline:18px!important}
.achievement-card>.plain-button{margin-top:10px!important;padding-inline:16px!important}

.gameover-overlay .modal-card{padding-inline:18px!important}
.gameover-overlay .revive-options{gap:10px!important;padding-bottom:8px!important}
.gameover-overlay .revive-choice{padding-inline:10px!important;gap:9px!important}
.gameover-overlay .secondary-button{padding-inline:18px!important}
.gameover-overlay .plain-button{margin-top:10px!important;padding-inline:16px!important}
.earned-stars-card{gap:11px!important}

.collection-card{padding:18px!important}
.panel-header{gap:10px!important}
.tab-row{gap:8px!important;margin:15px 0 13px!important}
.cosmetic-grid{gap:10px!important}
.cosmetic-card{padding:11px 8px 10px!important;gap:6px!important}
.product-list{gap:10px!important}
.product-list button{padding:9px 13px!important;gap:11px!important}
.stuck-actions{gap:10px!important;margin-top:7px!important}

.lb-panel{padding:18px 17px 19px!important}
.lb-header{gap:12px!important;margin-bottom:14px!important}

@media(max-width:350px){
  .menu-grid{gap:9px!important}
  .menu-tile{padding-inline:9px!important;gap:7px!important}
  .menu-settings{gap:8px!important}
  .impact-toast{max-width:calc(100% - 34px)!important}
}
@media(prefers-reduced-motion:reduce){.impact-toast{animation:none!important}}

.menu-grid .collection-tile>span{
  flex:0 0 40px!important;
  width:40px!important;
  height:40px!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  font-size:0!important;
  color:transparent!important;
  background-color:transparent!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='28' fill='%23ff8a31' stroke='%23ffd77a' stroke-width='3'/%3E%3Ccircle cx='22' cy='17' r='6' fill='%23ffd46a' opacity='.9'/%3E%3Cg fill='none' stroke='%2338465d' stroke-width='4.6' stroke-linecap='round'%3E%3Cpath d='M8 31c13-6 32-7 48 0'/%3E%3Cpath d='M9 38c15 4 34 4 46-1'/%3E%3Cpath d='M28 5c5 13 9 32 7 54'/%3E%3Cpath d='M15 51c8-10 21-24 35-37'/%3E%3C/g%3E%3C/svg%3E")!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:contain!important;
  box-shadow:0 4px 0 rgba(39,72,120,.22)!important;
  position:relative!important;
  overflow:visible!important;
}
.menu-grid .collection-tile>span::before,
.menu-grid .collection-tile>span::after{content:none!important;display:none!important}

.gameover-overlay .earn-multiplier-button{
  position:relative!important;
  top:-3px!important;
}
@media(max-width:350px){
  .gameover-overlay .earn-multiplier-button{top:-2px!important}
}

.menu-grid .collection-tile>.collection-ball-icon{
  display:block!important;
  flex:0 0 44px!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  object-fit:contain!important;
  object-position:center!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  filter:drop-shadow(0 3px 0 rgba(42,79,134,.22)) drop-shadow(0 6px 8px rgba(42,79,134,.18))!important;
  transform:rotate(-7deg) translateZ(0)!important;
  transition:transform .18s cubic-bezier(.2,1.5,.3,1),filter .18s ease!important;
  pointer-events:none!important;
}
.menu-grid .collection-tile:hover>.collection-ball-icon{
  transform:translateY(-2px) rotate(-10deg) scale(1.06)!important;
  filter:drop-shadow(0 3px 0 rgba(42,79,134,.24)) drop-shadow(0 7px 9px rgba(42,79,134,.20)) saturate(1.06)!important;
}
.menu-grid .collection-tile:active>.collection-ball-icon{
  transform:translateY(1px) rotate(-6deg) scale(.98)!important;
}
@media(max-width:390px){
  .menu-grid .collection-tile>.collection-ball-icon{flex-basis:40px!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}
}

.hud .score-stack{
  border:3px solid rgba(91,97,108,.10)!important;
  box-shadow:none!important;
}
.game-shell.theme-pink-blossom .hud .score-stack{
  border-color:rgba(137,62,100,.11)!important;
  box-shadow:none!important;
}
.game-shell.theme-aurora-peaks .hud .score-stack{
  border:3px solid rgba(1,8,33,.22)!important;
  box-shadow:none!important;
}

.stuck-rescue-card{
  bottom:max(18px,calc(env(safe-area-inset-bottom) + 12px))!important;
  width:min(274px,calc(100% - 34px))!important;
  padding:11px 12px 10px!important;
  border:1px solid rgba(255,255,255,.92)!important;
  border-radius:18px!important;
  color:#576074!important;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(244,248,253,.96))!important;
  box-shadow:0 10px 24px rgba(44,61,102,.12)!important;
  gap:4px!important;
}
.stuck-kicker{
  font-size:10px!important;
  letter-spacing:.08em!important;
}
.stuck-rescue-card>strong{
  font:950 16px/1.08 ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif!important;
}
.stuck-rescue-card>p{
  margin:0!important;
  color:#798296!important;
  font:700 10px/1.35 system-ui,sans-serif!important;
  max-width:24ch!important;
}
.stuck-actions{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:0!important;
  margin-top:6px!important;
}
.stuck-actions button{
  width:100%!important;
  min-height:40px!important;
  border-radius:12px!important;
  font:900 11px/1.15 ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif!important;
}
.stuck-return{
  color:#fff!important;
  background:linear-gradient(135deg,#ff6f4b,#ff9f2f)!important;
  box-shadow:0 3px 0 #ca5a39!important;
}
.stuck-watch{display:none!important}
@media(max-height:700px){
  .stuck-rescue-card{padding:10px 11px!important;width:min(272px,calc(100% - 32px))!important}
}

.menu-grid .collection-tile>.collection-glyph,
.menu-grid .collection-tile>span.collection-glyph{
  flex:0 0 40px!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  min-height:40px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  font-size:0!important;
  color:transparent!important;
  position:relative!important;
  display:block!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:rotate(-9deg) translateZ(0)!important;
  overflow:visible!important;
}
.menu-grid .collection-tile>.collection-glyph::before,
.menu-grid .collection-tile>span.collection-glyph::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  border-radius:50%!important;
  background:
    radial-gradient(circle at 31% 26%, rgba(255,244,190,.96) 0 14%, transparent 15%),
    radial-gradient(circle at 34% 30%, rgba(255,255,255,.72) 0 23%, transparent 24%),
    radial-gradient(circle at 64% 72%, rgba(230,74,36,.28) 0 24%, transparent 25%),
    linear-gradient(145deg,#ffba3f 0%,#ff8d2f 36%,#ff672d 66%,#ef5027 100%)!important;
  box-shadow:
    inset 0 0 0 2px rgba(255,238,179,.55),
    inset -5px -6px 9px rgba(199,61,31,.28),
    0 4px 0 rgba(44,82,131,.20)!important;
}
.menu-grid .collection-tile>.collection-glyph::after,
.menu-grid .collection-tile>span.collection-glyph::after{
  content:""!important;
  position:absolute!important;
  inset:-2px!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Cg fill='none' stroke='%23394765' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M5 20.8c9.2-4.2 24.6-4.7 34 0'/%3E%3Cpath d='M6.6 26.2c10 2.9 21.4 3.1 30.8-.3'/%3E%3Cpath d='M19 3.7c4.5 8.9 6.8 20.8 5.4 36.3'/%3E%3Cpath d='M8.7 34.8c6.7-7.1 16.6-15.6 26.7-24.8'/%3E%3C/g%3E%3Cg fill='%23ffe974'%3E%3Cpath d='M35.7 2.8 37 6l3.3 1.3L37 8.6l-1.3 3.3-1.3-3.3-3.2-1.3L34.4 6z'/%3E%3Cpath d='M5.4 8.8l.8 2.1 2.2.8-2.2.8-.8 2.1-.8-2.1-2.1-.8 2.1-.8z'/%3E%3C/g%3E%3C/svg%3E")!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:contain!important;
  filter:drop-shadow(0 1px 0 rgba(255,255,255,.16))!important;
}
.menu-grid .collection-tile:hover>.collection-glyph,
.menu-grid .collection-tile:hover>span.collection-glyph{
  transform:translateY(-2px) rotate(-11deg) scale(1.06)!important;
}
.menu-grid .collection-tile:active>.collection-glyph,
.menu-grid .collection-tile:active>span.collection-glyph{
  transform:translateY(1px) rotate(-7deg) scale(.98)!important;
}
.menu-grid .collection-tile>.collection-ball-icon{display:none!important}
@media(max-width:390px){
  .menu-grid .collection-tile>.collection-glyph,
  .menu-grid .collection-tile>span.collection-glyph{flex-basis:38px!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important}
}

.menu-grid .collection-tile>.collection-glyph::before,
.menu-grid .collection-tile>span.collection-glyph::before,
.menu-grid .collection-tile>.collection-glyph::after,
.menu-grid .collection-tile>span.collection-glyph::after{
  display:block!important;
}

.menu-grid .collection-tile>.collection-glyph,
.menu-grid .collection-tile>span.collection-glyph{
  display:none!important;
}
.menu-grid .collection-tile>.collection-ball-icon{
  display:block!important;
  flex:0 0 44px!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  object-fit:contain!important;
  object-position:center!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  image-rendering:auto!important;
  filter:drop-shadow(0 3px 0 rgba(42,79,134,.22)) drop-shadow(0 6px 8px rgba(42,79,134,.16)) saturate(1.02) contrast(1.02)!important;
  transform:rotate(-6deg) translateZ(0)!important;
  transition:transform .18s cubic-bezier(.2,1.5,.3,1),filter .18s ease!important;
  pointer-events:none!important;
}
.menu-grid .collection-tile:hover>.collection-ball-icon{
  transform:translateY(-2px) rotate(-8deg) scale(1.05)!important;
  filter:drop-shadow(0 3px 0 rgba(42,79,134,.24)) drop-shadow(0 7px 9px rgba(42,79,134,.18)) saturate(1.05)!important;
}
.menu-grid .collection-tile:active>.collection-ball-icon{
  transform:translateY(1px) rotate(-4deg) scale(.98)!important;
}
@media(max-width:390px){
  .menu-grid .collection-tile>.collection-ball-icon{flex-basis:40px!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}
}

.menu-grid .collection-tile>.collection-ball-icon,
.menu-grid .collection-tile>.collection-glyph{display:none!important}
.menu-grid .collection-tile>span:not(.leaderboard-glyph){
  display:block!important;
  flex:0 0 36px!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  min-height:36px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:50%!important;
  font-size:0!important;
  line-height:0!important;
  color:transparent!important;
  background-color:transparent!important;
  background-image:radial-gradient(circle at 31% 24%,#ffd774 0 12%,#ff8b2c 13% 66%,#e85a24 67% 100%)!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:100% 100%!important;
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.5),0 4px 0 rgba(32,76,137,.22)!important;
  position:relative!important;
  overflow:hidden!important;
  transform:translateZ(0)!important;
  transition:transform .22s cubic-bezier(.2,1.5,.3,1),filter .2s!important;
  pointer-events:none!important;
}
.menu-grid .collection-tile>span:not(.leaderboard-glyph)::before,
.menu-grid .collection-tile>span:not(.leaderboard-glyph)::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  background:#37445c!important;
  border-radius:9px!important;
  opacity:.82!important;
  transform-origin:50% 50%!important;
}
.menu-grid .collection-tile>span:not(.leaderboard-glyph)::before{
  width:3px!important;
  height:34px!important;
  left:17px!important;
  top:1px!important;
  transform:rotate(23deg)!important;
}
.menu-grid .collection-tile>span:not(.leaderboard-glyph)::after{
  height:3px!important;
  width:33px!important;
  left:1px!important;
  top:17px!important;
  transform:rotate(-12deg)!important;
}
.menu-grid .collection-tile:hover>span:not(.leaderboard-glyph){
  transform:translateY(-2px) rotate(-4deg) scale(1.06)!important;
  filter:saturate(1.08)!important;
}
.menu-grid .collection-tile:active>span:not(.leaderboard-glyph){
  transform:translateY(1px) scale(.98)!important;
}
@media(max-width:390px){
  .menu-grid .collection-tile>span:not(.leaderboard-glyph){
    flex-basis:36px!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important
  }
}

.game-shell.theme-sky-dream .impact-toast{
  --toast-panel:rgba(244,251,255,.72);
  --toast-ink:#44758d;
  --toast-sub:#6d92a5;
  --toast-accent:#ff9954;
  --toast-edge:#ffd089;
  --toast-glow:rgba(255,153,84,.32);
  --toast-glow-2:rgba(255,153,84,.18);
  --toast-particle:rgba(255,255,255,.96);
  --toast-particle-2:rgba(255,220,168,.96);
}
.game-shell.theme-sky-dream .impact-toast.toast-tier-2{
  --toast-accent:#ffb447;
  --toast-edge:#ffe079;
  --toast-glow:rgba(255,180,71,.36);
  --toast-glow-2:rgba(255,180,71,.2);
}
.game-shell.theme-sky-dream .impact-toast.toast-tier-3{
  --toast-accent:#ff7d5a;
  --toast-edge:#ffd686;
  --toast-glow:rgba(255,125,90,.44);
  --toast-glow-2:rgba(255,125,90,.24);
}

.game-shell.theme-gray-minimal .impact-toast{
  --toast-panel:rgba(249,250,252,.76);
  --toast-ink:#626c76;
  --toast-sub:#87919a;
  --toast-accent:#e48753;
  --toast-edge:#efbb8c;
  --toast-glow:rgba(228,135,83,.28);
  --toast-glow-2:rgba(228,135,83,.16);
  --toast-particle:rgba(255,250,243,.95);
  --toast-particle-2:rgba(238,210,176,.95);
}
.game-shell.theme-gray-minimal .impact-toast.toast-tier-2{
  --toast-accent:#ef9850;
  --toast-edge:#ffd17a;
  --toast-glow:rgba(239,152,80,.34);
  --toast-glow-2:rgba(239,152,80,.18);
}
.game-shell.theme-gray-minimal .impact-toast.toast-tier-3{
  --toast-accent:#e47158;
  --toast-edge:#f6c279;
  --toast-glow:rgba(228,113,88,.4);
  --toast-glow-2:rgba(228,113,88,.22);
}

.game-shell.theme-sky-dream .impact-toast{
  --toast-panel:rgba(243,251,255,.74);
  --toast-ink:#44758d;
  --toast-sub:#6d95aa;
  --toast-accent:#29aee8;
  --toast-edge:#89ddff;
  --toast-glow:rgba(41,174,232,.34);
  --toast-glow-2:rgba(41,174,232,.18);
  --toast-particle:rgba(255,255,255,.98);
  --toast-particle-2:rgba(166,232,255,.96);
  --combo-panel:rgba(243,251,255,.74);
  --combo-ink:#44758d;
  --combo-sub:#6d95aa;
  --combo-a:#29aee8;
  --combo-b:#89ddff;
  --combo-edge:#5bc8f4;
  --combo-glow:rgba(41,174,232,.28);
  --combo-spark:#ffffff;
  --combo-spark-2:#b4ebff;
}
.game-shell.theme-sky-dream .impact-toast.toast-tier-2{
  --toast-accent:#35bfa2;
  --toast-edge:#84ecd4;
  --toast-glow:rgba(53,191,162,.34);
  --toast-glow-2:rgba(53,191,162,.18);
  --combo-a:#35bfa2;
  --combo-b:#84ecd4;
  --combo-edge:#59d9bc;
  --combo-glow:rgba(53,191,162,.28);
  --combo-spark-2:#c9fff2;
}
.game-shell.theme-sky-dream .impact-toast.toast-tier-3{
  --toast-accent:#ff7048;
  --toast-edge:#ffb29a;
  --toast-glow:rgba(255,112,72,.38);
  --toast-glow-2:rgba(255,112,72,.22);
  --combo-a:#ff7048;
  --combo-b:#ffb29a;
  --combo-edge:#ff8b67;
  --combo-glow:rgba(255,112,72,.32);
  --combo-spark-2:#ffd5ca;
}

.game-shell.theme-gray-minimal .impact-toast{
  --toast-panel:rgba(249,250,252,.78);
  --toast-ink:#626c76;
  --toast-sub:#88919a;
  --toast-accent:#7e8b98;
  --toast-edge:#c5d0d8;
  --toast-glow:rgba(126,139,152,.24);
  --toast-glow-2:rgba(126,139,152,.14);
  --toast-particle:rgba(255,255,255,.98);
  --toast-particle-2:rgba(232,238,243,.95);
  --combo-panel:rgba(249,250,252,.78);
  --combo-ink:#626c76;
  --combo-sub:#88919a;
  --combo-a:#7e8b98;
  --combo-b:#c5d0d8;
  --combo-edge:#96a3b0;
  --combo-glow:rgba(126,139,152,.2);
  --combo-spark:#ffffff;
  --combo-spark-2:#ecf1f5;
}
.game-shell.theme-gray-minimal .impact-toast.toast-tier-2{
  --toast-accent:#6f7b88;
  --toast-edge:#b6c1cb;
  --toast-glow:rgba(111,123,136,.28);
  --toast-glow-2:rgba(111,123,136,.15);
  --combo-a:#6f7b88;
  --combo-b:#d7e0e7;
  --combo-edge:#8b98a5;
  --combo-glow:rgba(111,123,136,.22);
  --combo-spark-2:#f0f4f7;
}
.game-shell.theme-gray-minimal .impact-toast.toast-tier-3{
  --toast-accent:#f06d56;
  --toast-edge:#ffbaa8;
  --toast-glow:rgba(240,109,86,.34);
  --toast-glow-2:rgba(240,109,86,.2);
  --combo-a:#f06d56;
  --combo-b:#ffbaa8;
  --combo-edge:#ff927a;
  --combo-glow:rgba(240,109,86,.28);
  --combo-spark-2:#ffdcd4;
}

@media (min-width:780px) and (min-height:680px) and (pointer:fine){
  .game-shell .hud{padding:max(19px,env(safe-area-inset-top)) 21px max(18px,env(safe-area-inset-bottom))!important}
  .game-shell .hud-top{grid-template-columns:74px 1fr 126px!important;gap:10px!important;min-height:98px!important}
  .game-shell .round-button{width:68px!important;height:68px!important;border-radius:22px!important;font-size:30px!important}
  .game-shell .hud-sound-button{width:58px!important;height:58px!important;right:21px!important;top:max(108px,calc(env(safe-area-inset-top) + 98px))!important;border-radius:19px!important;font-size:25px!important}
  .game-shell .hud .score-stack{padding:8px 18px!important;border-radius:22px!important;min-width:118px!important}
  .game-shell .score-value{font-size:76px!important;line-height:.88!important}
  .game-shell .score-caption{font-size:13px!important;margin-top:9px!important;letter-spacing:.16em!important}
  .game-shell .star-pill{min-height:45px!important;border-radius:18px!important;font-size:22px!important;padding:0 10px!important}
  .game-shell .best-mini{font-size:12px!important;line-height:1.15!important;margin-top:5px!important}
  .game-shell .best-mini strong{font-size:17px!important}
  .game-shell .life-row{top:max(105px,calc(env(safe-area-inset-top) + 94px))!important;left:20px!important;padding:6px 8px!important;gap:3px!important;border-radius:22px!important}
  .game-shell .life-ball{width:34px!important;height:34px!important}
  .game-shell .wave-meter{top:max(126px,calc(env(safe-area-inset-top) + 114px))!important;gap:7px!important}
  .game-shell .wave-meter span{width:19px!important;height:7px!important}
  .game-shell .tutorial-card{width:min(390px,calc(100% - 64px))!important;grid-template-columns:68px 1fr!important;column-gap:16px!important;padding:19px 23px!important;border-radius:29px!important;bottom:max(58px,calc(env(safe-area-inset-bottom) + 42px))!important}
  .game-shell .tutorial-hand{width:64px!important;height:64px!important;border-radius:21px!important;font-size:37px!important}
  .game-shell .tutorial-card strong{font-size:21px!important}
  .game-shell .tutorial-card small{font-size:14px!important;margin-top:6px!important}
  .game-shell .impact-toast{font-size:clamp(27px,4vw,38px)!important;min-width:230px!important;padding:13px 22px 12px!important}

  .game-shell .menu-screen{padding:max(23px,env(safe-area-inset-top)) 27px max(25px,env(safe-area-inset-bottom))!important}
  .game-shell .small-control{min-width:62px!important;height:56px!important;min-height:56px!important;border-radius:18px!important;font-size:20px!important}
  .game-shell .star-balance{min-width:112px!important;height:50px!important;border-radius:19px!important;font-size:22px!important;padding:0 15px!important}
  .game-shell .menu-brand .app-icon{width:clamp(195px,38vw,225px)!important}
  .game-shell .menu-brand h1{font-size:clamp(48px,8vw,68px)!important;margin-top:13px!important}
  .game-shell .menu-brand p{font-size:17px!important;margin-top:12px!important}
  .game-shell .menu-actions{width:min(445px,100%)!important}
  .game-shell .play-button{min-height:86px!important;border-radius:25px!important;font-size:25px!important}
  .game-shell .menu-grid{gap:13px!important;margin-top:19px!important}
  .game-shell .menu-tile{min-height:82px!important;border-radius:23px!important;font-size:19px!important;gap:11px!important}
  .game-shell .menu-settings{gap:12px!important}
  .game-shell .menu-settings button{min-height:59px!important;border-radius:20px!important;font-size:23px!important}
  .game-shell .menu-settings small{font-size:11px!important}

  .game-shell .overlay{padding:28px!important}
  .game-shell .modal-card,.game-shell .collection-card,.game-shell .achievement-card{width:min(455px,100%)!important}
  .game-shell .collection-card{padding:24px!important}
  .game-shell .panel-header{min-height:54px!important}
  .game-shell .panel-header h2{font-size:25px!important}
  .game-shell .panel-header button{width:50px!important;height:50px!important;font-size:28px!important;border-radius:16px!important}
  .game-shell .tab-row button{min-height:48px!important;font-size:16px!important;border-radius:15px!important}
  .game-shell .cosmetic-grid{gap:13px!important}
  .game-shell .cosmetic-card{min-height:142px!important;border-radius:22px!important;padding:13px!important}
  .game-shell .cosmetic-card strong{font-size:16px!important}
  .game-shell .cosmetic-card small{font-size:11px!important;line-height:1.18!important}
  .game-shell .pause-overlay .modal-card.compact{width:min(430px,100%)!important;padding:27px!important}
  .game-shell .pause-overlay .modal-card.compact>h2{font-size:34px!important;margin:10px 0 16px!important}
  .game-shell .pause-overlay .modal-card.compact>.primary-button,.game-shell .pause-overlay .modal-card.compact>.plain-button{height:68px!important;min-height:68px!important;border-radius:21px!important;font-size:19px!important}
  .game-shell .pause-settings button{min-height:56px!important;font-size:14px!important}
  .game-shell .achievement-card{padding:27px!important;border-radius:28px!important}
  .game-shell .achievement-card h2{font-size:31px!important}
  .game-shell .unlock-theme-name{font-size:22px!important}
  .game-shell .unlock-reason,.game-shell .unlock-copy{font-size:14px!important;line-height:1.35!important}
  .game-shell .achievement-card .primary-button,.game-shell .achievement-card .plain-button{min-height:62px!important;font-size:18px!important}
  .game-shell .gameover-overlay .modal-card{width:min(440px,100%)!important;padding:26px!important}
  .game-shell .gameover-overlay .result-score{font-size:82px!important}
  .game-shell .gameover-overlay .result-best{font-size:16px!important}
  .game-shell .gameover-overlay .secondary-button,.game-shell .gameover-overlay .plain-button{min-height:58px!important;font-size:17px!important}
}

.game-shell .impact-toast{
  --event-accent:var(--combo-a,var(--game-accent));
  --event-edge:var(--combo-b,var(--game-accent-light));
  z-index:6!important;
  top:22.5%!important;
  left:50%!important;
  width:max-content!important;
  min-width:190px!important;
  max-width:min(330px,calc(100% - 52px))!important;
  min-height:58px!important;
  padding:12px 28px 12px 56px!important;
  border:2px solid color-mix(in srgb,var(--event-edge) 62%,rgba(255,255,255,.85))!important;
  border-radius:20px!important;
  color:var(--combo-ink,var(--game-ink))!important;
  background:
    linear-gradient(105deg,color-mix(in srgb,var(--event-accent) 13%,transparent),transparent 44%),
    color-mix(in srgb,var(--combo-panel,var(--game-panel)) 90%,transparent)!important;
  box-shadow:
    0 5px 0 color-mix(in srgb,var(--event-accent) 22%,rgba(40,55,80,.2)),
    0 14px 30px color-mix(in srgb,var(--event-accent) 24%,transparent),
    inset 0 1px 0 rgba(255,255,255,.72)!important;
  text-align:left!important;
  text-shadow:none!important;
  white-space:normal!important;
  overflow:visible!important;
  isolation:isolate!important;
  display:grid!important;
  align-content:center!important;
  gap:3px!important;
  transform-origin:50% 85%!important;
  animation:event-ribbon-in .46s cubic-bezier(.18,1.55,.28,1) both!important;
}
.game-shell .impact-toast::before{
  content:""!important;
  position:absolute!important;
  z-index:2!important;
  left:13px!important;
  top:50%!important;
  width:30px!important;
  height:30px!important;
  border:3px solid rgba(255,255,255,.92)!important;
  border-radius:50%!important;
  background:
    radial-gradient(circle at 35% 30%,rgba(255,255,255,.92) 0 8%,transparent 9%),
    conic-gradient(from 20deg,var(--event-edge),var(--event-accent),var(--event-edge))!important;
  box-shadow:0 3px 0 color-mix(in srgb,var(--event-accent) 42%,rgba(35,50,75,.28)),0 0 0 4px color-mix(in srgb,var(--event-accent) 14%,transparent)!important;
  opacity:1!important;
  transform:translateY(-50%) rotate(-10deg)!important;
  clip-path:none!important;
  animation:event-medal .52s cubic-bezier(.2,1.7,.3,1) both!important;
}
.game-shell .impact-toast::after{
  content:""!important;
  position:absolute!important;
  z-index:-1!important;
  inset:-7px -12px!important;
  border-radius:25px!important;
  background:
    radial-gradient(circle at 8% 10%,var(--combo-spark,#fff) 0 2px,transparent 2.5px),
    radial-gradient(circle at 94% 24%,var(--combo-spark-2,var(--event-edge)) 0 2px,transparent 2.5px),
    radial-gradient(circle at 88% 90%,var(--combo-spark,#fff) 0 1.5px,transparent 2px)!important;
  box-shadow:none!important;
  opacity:.92!important;
  transform:none!important;
  clip-path:none!important;
  animation:event-sparks .58s ease-out both!important;
}
.game-shell .impact-toast-line{
  position:relative!important;
  z-index:3!important;
  display:block!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.game-shell .impact-toast-line.primary{
  color:var(--combo-ink,var(--game-ink))!important;
  letter-spacing:.015em!important;
  font:950 clamp(17px,4.8vw,23px)/1.02 ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif!important;
}
.game-shell .impact-toast-line.secondary{
  color:var(--event-accent)!important;
  letter-spacing:.09em!important;
  text-transform:uppercase!important;
  font:900 clamp(10px,2.7vw,13px)/1.15 system-ui,sans-serif!important;
}
.game-shell .impact-toast.is-single{padding-left:56px!important;text-align:left!important}
.game-shell .impact-toast.toast-tier-2{filter:saturate(1.05)}
.game-shell .impact-toast.toast-tier-3{filter:saturate(1.12)}
@keyframes event-ribbon-in{
  0%{opacity:0;transform:translate(-50%,16px) scale(.78) rotate(-1.5deg)}
  62%{opacity:1;transform:translate(-50%,-2px) scale(1.035) rotate(.4deg)}
  100%{opacity:1;transform:translate(-50%,0) scale(1) rotate(0)}
}
@keyframes event-medal{0%{opacity:0;transform:translateY(-50%) scale(.3) rotate(-45deg)}100%{opacity:1;transform:translateY(-50%) scale(1) rotate(-10deg)}}
@keyframes event-sparks{0%{opacity:0;transform:scale(.65)}45%{opacity:1}100%{opacity:.92;transform:scale(1)}}

.game-shell .menu-settings{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:start!important;
  gap:9px!important;
  margin-top:12px!important;
}
.game-shell .menu-settings .volume-setting,
.game-shell .pause-settings .pause-volume-setting{min-width:0;display:grid;gap:6px}
.game-shell .menu-settings .setting-toggle{
  width:100%!important;
  min-width:0!important;
  min-height:48px!important;
  padding:7px 5px!important;
}
.game-shell .menu-settings .sound-setting .setting-toggle,
.game-shell .pause-settings .pause-volume-setting:first-child>button{
  color:#fff!important;
  background:linear-gradient(145deg,var(--ui-sound-a,#35d2aa),var(--ui-sound-b,#13adc6))!important;
}
.game-shell .menu-settings .music-setting .setting-toggle,
.game-shell .pause-settings .pause-volume-setting:nth-child(2)>button{
  color:#fff!important;
  background:linear-gradient(145deg,var(--ui-music-a,#5b9cf1),var(--ui-music-b,#7965e8))!important;
}
.game-shell .menu-settings>.vibration-toggle,
.game-shell .pause-settings>.vibration-toggle,
.game-shell .pause-settings>button:last-child{
  color:#fff!important;
  background:linear-gradient(145deg,var(--ui-vibe-a,#a85de9),var(--ui-vibe-b,#7357e8))!important;
}
.volume-control{
  --slider-accent:var(--game-accent);
  min-width:0;
  color:var(--game-muted);
  grid-template-columns:minmax(0,1fr) 31px;
  align-items:center;
  gap:4px 5px;
  display:grid;
}
.volume-control>span{
  grid-column:1/-1;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-align:left;
  font:800 8px/1 system-ui,sans-serif;
}
.volume-control input[type="range"]{
  -webkit-appearance:none;
  appearance:none;
  touch-action:pan-x;
  width:100%;
  height:15px;
  margin:0;
  padding:0;
  cursor:pointer;
  background:transparent;
}
.volume-control input[type="range"]::-webkit-slider-runnable-track{
  height:5px;
  border-radius:99px;
  background:linear-gradient(90deg,var(--slider-accent) 0 var(--volume),color-mix(in srgb,var(--game-muted) 26%,transparent) var(--volume) 100%);
}
.volume-control input[type="range"]::-moz-range-track{
  height:5px;
  border-radius:99px;
  background:linear-gradient(90deg,var(--slider-accent) 0 var(--volume),color-mix(in srgb,var(--game-muted) 26%,transparent) var(--volume) 100%);
}
.volume-control input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:15px;
  height:15px;
  margin-top:-5px;
  border:3px solid var(--game-panel);
  border-radius:50%;
  background:var(--slider-accent);
  box-shadow:0 2px 0 color-mix(in srgb,var(--game-ink) 22%,transparent);
}
.volume-control input[type="range"]::-moz-range-thumb{
  width:11px;
  height:11px;
  border:3px solid var(--game-panel);
  border-radius:50%;
  background:var(--slider-accent);
  box-shadow:0 2px 0 color-mix(in srgb,var(--game-ink) 22%,transparent);
}
.volume-control output{
  color:var(--game-muted);
  text-align:right;
  font:850 8px/1 system-ui,sans-serif;
}
.sound-setting .volume-control,.pause-volume-setting:first-child .volume-control{--slider-accent:var(--ui-sound-a,#2fc69f)}
.music-setting .volume-control,.pause-volume-setting:nth-child(2) .volume-control{--slider-accent:var(--ui-music-a,#668ee8)}
.game-shell .pause-settings{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:start!important;
  gap:8px!important;
}
.game-shell .pause-settings .pause-volume-setting>button,
.game-shell .pause-settings>button{
  width:100%!important;
  min-height:44px!important;
  padding:7px 5px!important;
}
.game-shell .pause-settings .volume-control{padding:0 2px}

.menu-return-button{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important}
.menu-home-glyph{position:relative;display:inline-block;width:26px;height:26px;border-radius:9px;background:color-mix(in srgb,var(--game-accent) 13%,var(--game-panel));flex:0 0 26px}
.menu-home-glyph i,.menu-home-glyph b{position:absolute;display:block;background:var(--game-accent)}
.menu-home-glyph i{width:13px;height:13px;left:6.5px;top:5px;border-radius:3px 2px 2px 2px;transform:rotate(45deg)}
.menu-home-glyph b{width:14px;height:11px;left:6px;bottom:5px;border-radius:2px}
.menu-home-glyph b::after{content:"";position:absolute;width:4px;height:7px;right:2px;bottom:0;border-radius:2px 2px 0 0;background:var(--game-panel)}

.shop-card .ad-free-list{padding:0 14px;display:grid;gap:10px}
.shop-card .ad-free-product{
  position:relative;
  width:100%;
  min-height:84px;
  color:#fff;
  text-align:left;
  border:2px solid rgba(255,255,255,.84);
  border-radius:21px;
  background:linear-gradient(135deg,#24b7b0 0%,#4a91df 52%,#7368e6 100%);
  box-shadow:0 7px 0 rgba(55,91,135,.18),0 14px 26px rgba(59,99,143,.16);
  grid-template-columns:49px minmax(0,1fr) auto;
  align-items:center;
  gap:11px;
  padding:11px 12px;
  cursor:pointer;
  display:grid;
}
.shop-card .ad-free-product:disabled{cursor:default;opacity:.9}
.shop-card .ad-free-product.owned{background:linear-gradient(135deg,#2ab89b,#4a9a83);opacity:1}
.ad-free-icon{position:relative;width:45px;height:45px;border-radius:15px;background:rgba(255,255,255,.18);box-shadow:inset 0 0 0 2px rgba(255,255,255,.36)}
.ad-free-icon i{position:absolute;inset:11px 8px;border:3px solid #fff;border-radius:5px}
.ad-free-icon b{position:absolute;width:4px;height:35px;left:21px;top:5px;border-radius:99px;background:#fff;box-shadow:0 0 0 2px rgba(61,112,155,.22);transform:rotate(42deg)}
.ad-free-copy{min-width:0;display:grid;gap:4px}
.ad-free-copy strong{font:950 14px/1.08 ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif}
.ad-free-copy small{max-width:240px;color:rgba(255,255,255,.86);font:700 9px/1.3 system-ui,sans-serif}
.ad-free-product .product-price{color:#3d5f68;background:#fff;text-shadow:none;max-width:92px;white-space:normal;text-align:center;justify-content:center}
.shop-card .shop-title{margin:16px 14px 10px!important}

@media (min-width:780px) and (min-height:680px) and (pointer:fine){
  .game-shell .wave-meter{top:max(160px,calc(env(safe-area-inset-top) + 148px))!important}
  .game-shell .impact-toast{top:22%!important;min-width:242px!important;max-width:360px!important;padding:14px 32px 14px 62px!important}
  .game-shell .impact-toast::before{left:16px!important;width:34px!important;height:34px!important}
  .game-shell .menu-settings .setting-toggle{min-height:59px!important}
  .game-shell .volume-control>span{font-size:9px}
  .game-shell .volume-control output{font-size:9px}
}
@media (max-width:370px){
  .game-shell .menu-settings{gap:6px!important}
  .game-shell .menu-settings .setting-toggle{padding-inline:3px!important}
  .game-shell .menu-settings small{font-size:8px!important}
  .volume-control{grid-template-columns:minmax(0,1fr) 27px;gap:3px}
  .ad-free-copy small{font-size:8px}
  .shop-card .ad-free-product{grid-template-columns:42px minmax(0,1fr);gap:9px}
  .ad-free-icon{width:40px;height:40px}
  .ad-free-product .product-price{grid-column:2;justify-self:start;margin-top:2px}
}
@media (max-height:620px){
  .game-shell .menu-settings{margin-top:8px!important}
  .game-shell .menu-settings .setting-toggle{min-height:41px!important}
  .game-shell .menu-settings .volume-control>span{display:none}
  .game-shell .pause-settings .pause-volume-setting>button,.game-shell .pause-settings>button{min-height:38px!important}
}
@media (prefers-reduced-motion:reduce){
  .game-shell .impact-toast,.game-shell .impact-toast::before,.game-shell .impact-toast::after{animation:none!important}
}

.game-shell .menu-settings{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-template-areas:"sound vibration music"!important;
  align-items:start!important;
  column-gap:10px!important;
  row-gap:0!important;
  margin-top:13px!important;
}
.game-shell .menu-settings .sound-setting{grid-area:sound}
.game-shell .menu-settings .music-setting{grid-area:music}
.game-shell .menu-settings>.vibration-toggle{grid-area:vibration}
.game-shell .menu-settings .setting-toggle,
.game-shell .pause-settings .pause-volume-setting>button,
.game-shell .pause-settings>button:last-child{
  box-sizing:border-box!important;
  width:100%!important;
  height:56px!important;
  min-height:56px!important;
  border-radius:18px!important;
  padding:7px 6px!important;
  align-items:center!important;
  justify-content:center!important;
}
.game-shell .menu-settings .setting-toggle{display:flex!important}
.game-shell .menu-settings .setting-toggle small{
  max-width:82px!important;
  font-size:9px!important;
  line-height:1.12!important;
}
.game-shell .menu-settings .volume-setting,
.game-shell .pause-settings .pause-volume-setting{
  min-width:0!important;
  display:grid!important;
  gap:7px!important;
}
.game-shell .menu-settings .volume-control>span{display:none!important}
.game-shell .volume-control{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  grid-template-columns:minmax(0,1fr) 33px!important;
  align-items:center!important;
  gap:7px!important;
  padding:0 3px!important;
}
.game-shell .volume-control input[type="range"]{
  width:100%!important;
  height:21px!important;
}
.game-shell .volume-control input[type="range"]::-webkit-slider-runnable-track{
  height:7px!important;
}
.game-shell .volume-control input[type="range"]::-moz-range-track{
  height:7px!important;
}
.game-shell .volume-control input[type="range"]::-webkit-slider-thumb{
  width:19px!important;
  height:19px!important;
  margin-top:-6px!important;
  border-width:3px!important;
  box-shadow:0 2px 0 color-mix(in srgb,var(--game-ink) 22%,transparent),0 0 0 3px color-mix(in srgb,var(--slider-accent) 15%,transparent)!important;
}
.game-shell .volume-control input[type="range"]::-moz-range-thumb{
  width:13px!important;
  height:13px!important;
  border-width:3px!important;
  box-shadow:0 2px 0 color-mix(in srgb,var(--game-ink) 22%,transparent),0 0 0 3px color-mix(in srgb,var(--slider-accent) 15%,transparent)!important;
}
.game-shell .volume-control output{
  min-width:33px!important;
  font-size:9px!important;
  line-height:1!important;
}
.game-shell .pause-settings{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-areas:"pause-sound pause-music" "pause-vibration pause-vibration"!important;
  align-items:start!important;
  gap:10px!important;
  margin-top:13px!important;
}
.game-shell .pause-settings .pause-volume-setting:first-child{grid-area:pause-sound}
.game-shell .pause-settings .pause-volume-setting:nth-child(2){grid-area:pause-music}
.game-shell .pause-settings>button:last-child{
  grid-area:pause-vibration!important;
  justify-self:center!important;
  width:calc((100% - 10px)/2)!important;
  margin-top:2px!important;
}
.game-shell .pause-settings .volume-control{padding:0 5px!important}

.game-shell .impact-toast{
  --event-accent:var(--toast-accent,var(--game-accent));
  --event-edge:var(--toast-edge,var(--game-accent-light));
  --event-panel:var(--toast-panel,color-mix(in srgb,var(--game-panel) 92%,transparent));
  --event-ink:var(--toast-ink,var(--game-ink));
  --event-sub:var(--toast-sub,var(--game-muted));
  --event-glow:var(--toast-glow,color-mix(in srgb,var(--event-accent) 25%,transparent));
  z-index:6!important;
  top:22.5%!important;
  left:50%!important;
  width:max-content!important;
  min-width:178px!important;
  max-width:min(318px,calc(100% - 54px))!important;
  min-height:54px!important;
  box-sizing:border-box!important;
  padding:11px 21px!important;
  border:2px solid color-mix(in srgb,var(--event-edge) 50%,rgba(255,255,255,.82))!important;
  border-radius:19px!important;
  color:var(--event-ink)!important;
  background:
    linear-gradient(135deg,color-mix(in srgb,var(--event-accent) 9%,transparent),transparent 52%),
    var(--event-panel)!important;
  box-shadow:
    0 5px 0 color-mix(in srgb,var(--event-accent) 18%,rgba(47,58,78,.16)),
    0 11px 24px color-mix(in srgb,var(--event-accent) 16%,transparent),
    0 0 24px var(--event-glow),
    inset 0 1px 0 rgba(255,255,255,.78)!important;
  -webkit-backdrop-filter:blur(8px) saturate(1.08)!important;
  backdrop-filter:blur(8px) saturate(1.08)!important;
  text-align:center!important;
  text-shadow:none!important;
  white-space:normal!important;
  overflow:visible!important;
  isolation:isolate!important;
  display:grid!important;
  align-content:center!important;
  justify-items:center!important;
  gap:4px!important;
  transform-origin:50% 75%!important;
  filter:none!important;
  animation:event-card-life 1.27s cubic-bezier(.2,.78,.24,1) both!important;
}
.game-shell .impact-toast::before{
  content:""!important;
  position:absolute!important;
  z-index:1!important;
  inset:0!important;
  width:auto!important;
  height:auto!important;
  border:0!important;
  border-radius:inherit!important;
  background:linear-gradient(112deg,transparent 0 34%,rgba(255,255,255,.62) 47%,transparent 61%)!important;
  box-shadow:none!important;
  opacity:0!important;
  clip-path:inset(0 round 17px)!important;
  transform:translateX(-115%)!important;
  animation:event-card-shine .82s ease-out .12s both!important;
}
.game-shell .impact-toast::after{
  content:""!important;
  position:absolute!important;
  z-index:-1!important;
  inset:-8px -12px!important;
  border-radius:25px!important;
  background:radial-gradient(ellipse at center,color-mix(in srgb,var(--event-accent) 38%,transparent),transparent 68%)!important;
  box-shadow:none!important;
  opacity:0!important;
  filter:blur(7px)!important;
  clip-path:none!important;
  transform:scale(.76)!important;
  animation:event-card-aura 1.22s ease-out both!important;
}
.game-shell .impact-toast-line{
  position:relative!important;
  z-index:2!important;
  display:block!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.game-shell .impact-toast-line.primary{
  color:var(--event-ink)!important;
  letter-spacing:.005em!important;
  font:950 clamp(17px,4.7vw,22px)/1.04 ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif!important;
}
.game-shell .impact-toast-line.secondary{
  color:var(--event-accent)!important;
  letter-spacing:.075em!important;
  text-transform:uppercase!important;
  font:900 clamp(10px,2.6vw,12px)/1.15 system-ui,sans-serif!important;
}
.game-shell .impact-toast.is-single{
  padding-left:21px!important;
  text-align:center!important;
}
.game-shell .impact-toast.toast-tier-2{
  box-shadow:
    0 5px 0 color-mix(in srgb,var(--event-accent) 22%,rgba(47,58,78,.16)),
    0 12px 26px color-mix(in srgb,var(--event-accent) 21%,transparent),
    0 0 29px color-mix(in srgb,var(--event-accent) 27%,transparent),
    inset 0 1px 0 rgba(255,255,255,.8)!important;
}
.game-shell .impact-toast.toast-tier-3{
  border-color:color-mix(in srgb,var(--event-edge) 68%,rgba(255,255,255,.8))!important;
  box-shadow:
    0 5px 0 color-mix(in srgb,var(--event-accent) 27%,rgba(47,58,78,.16)),
    0 13px 28px color-mix(in srgb,var(--event-accent) 25%,transparent),
    0 0 34px color-mix(in srgb,var(--event-accent) 34%,transparent),
    inset 0 1px 0 rgba(255,255,255,.82)!important;
}
.game-shell .impact-toast.toast-tier-2::after{animation:event-card-aura 1.22s ease-out both,event-aura-pulse .42s ease-in-out .2s 2 alternate!important}
.game-shell .impact-toast.toast-tier-3::after{animation:event-card-aura 1.22s ease-out both,event-aura-pulse .32s ease-in-out .16s 3 alternate!important}
.product-price-inner{display:inline-flex;align-items:center;justify-content:center;gap:4px}
@keyframes event-card-life{
  0%{opacity:0;transform:translate(-50%,11px) scale(.88)}
  18%{opacity:1;transform:translate(-50%,-2px) scale(1.035)}
  32%{opacity:1;transform:translate(-50%,0) scale(1)}
  76%{opacity:1;transform:translate(-50%,0) scale(1)}
  100%{opacity:0;transform:translate(-50%,-8px) scale(.97)}
}
@keyframes event-card-shine{
  0%{opacity:0;transform:translateX(-115%)}
  18%{opacity:.7}
  100%{opacity:0;transform:translateX(115%)}
}
@keyframes event-card-aura{
  0%{opacity:0;transform:scale(.72)}
  24%{opacity:.72;transform:scale(1.04)}
  78%{opacity:.44;transform:scale(1)}
  100%{opacity:0;transform:scale(.92)}
}
@keyframes event-aura-pulse{to{opacity:.9;transform:scale(1.08)}}

@media (min-width:780px) and (min-height:680px) and (pointer:fine){
  .game-shell .menu-settings .setting-toggle{height:60px!important;min-height:60px!important}
  .game-shell .impact-toast{min-width:208px!important;max-width:330px!important;padding:12px 25px!important}
}
@media (max-width:370px){
  .game-shell .menu-settings{column-gap:6px!important}
  .game-shell .menu-settings .setting-toggle{padding-inline:3px!important}
  .game-shell .menu-settings .setting-toggle small{font-size:7.5px!important}
  .game-shell .volume-control{grid-template-columns:minmax(0,1fr) 29px!important;gap:4px!important;padding-inline:1px!important}
  .game-shell .volume-control output{min-width:29px!important;font-size:8px!important}
  .game-shell .pause-settings{gap:7px!important}
  .game-shell .pause-settings>button:last-child{width:calc((100% - 7px)/2)!important}
}
@media (max-height:620px){
  .game-shell .menu-settings{margin-top:8px!important}
  .game-shell .menu-settings .setting-toggle,
  .game-shell .pause-settings .pause-volume-setting>button,
  .game-shell .pause-settings>button:last-child{height:45px!important;min-height:45px!important}
  .game-shell .volume-control input[type="range"]{height:18px!important}
}
@media (prefers-reduced-motion:reduce){
  .game-shell .impact-toast{animation:event-card-fade 1.2s ease both!important}
  .game-shell .impact-toast::before{animation:none!important}
  .game-shell .impact-toast::after{animation:none!important}
}
@keyframes event-card-fade{
  0%,100%{opacity:0;transform:translate(-50%,0)}
  18%,78%{opacity:1;transform:translate(-50%,0)}
}

.game-shell .panel-header>button,
.game-shell .lb-back{
  display:grid!important;
  place-items:center!important;
  padding:0 0 4px!important;
  line-height:.82!important;
}
.game-shell .volume-control{
  grid-template-columns:minmax(0,1fr)!important;
  gap:0!important;
  padding:0!important;
}
.game-shell .volume-control>span,
.game-shell .volume-control output{display:none!important}
.game-shell .volume-control input[type="range"]{
  display:block!important;
  width:100%!important;
  max-width:none!important;
}
.game-shell .menu-settings .setting-toggle small{
  max-width:84px!important;
  font-size:clamp(10px,2.7vw,11px)!important;
  line-height:1.12!important;
}
.game-shell .pause-settings .pause-volume-setting>button,
.game-shell .pause-settings>button:last-child{
  font-size:clamp(10.5px,2.7vw,12px)!important;
  line-height:1.12!important;
}

.game-shell .lb-header h2{font-size:clamp(20px,5vw,27px)!important}
.game-shell .lb-header-copy small{font-size:8px!important}
.game-shell .lb-best-badge{font-size:9px!important}
.game-shell .lb-podium-name{font-size:10px!important}
.game-shell .lb-podium-score{font-size:12px!important}
.game-shell .lb-list-title{font-size:8px!important}
.game-shell .lb-row-name{font-size:12px!important}
.game-shell .lb-row-score{font-size:14px!important}
.game-shell .lb-your-place span{font-size:10.5px!important}
.game-shell .lb-auth-copy strong{font-size:12.5px!important}
.game-shell .lb-auth-copy p{font-size:9.5px!important}
.game-shell .lb-auth-actions button{font-size:10.5px!important;padding-inline:7px!important}
.game-shell .lb-empty strong{font-size:14px!important}
.game-shell .lb-no-rank strong{font-size:10px!important}
.game-shell .lb-record-kicker,
.game-shell .lb-record-skip,
.game-shell .lb-rank-box span{font-size:9px!important}
.game-shell .lb-record-card h2{font-size:clamp(21px,6vw,30px)!important}
@media(max-width:370px){
  .game-shell .menu-settings .setting-toggle small{font-size:9.5px!important}
  .game-shell .volume-control{grid-template-columns:minmax(0,1fr)!important;gap:0!important;padding:0!important}
  .game-shell .pause-settings .pause-volume-setting>button,
  .game-shell .pause-settings>button:last-child{font-size:10.5px!important}
}
@media(prefers-reduced-motion:reduce){
  .game-shell .impact-toast-fx{display:none!important}
}

.game-shell .impact-toast-fx{
  position:absolute!important;
  z-index:1!important;
  inset:-19px -23px!important;
  display:block!important;
  pointer-events:none!important;
  overflow:visible!important;
}
.game-shell .toast-tier-0 .impact-toast-fx,
.game-shell .toast-tier-1 .impact-toast-fx{display:none!important}
.game-shell .impact-toast-fx i{
  position:absolute!important;
  left:var(--fx-left)!important;
  top:var(--fx-top)!important;
  display:block!important;
  width:var(--fx-size)!important;
  height:var(--fx-size)!important;
  border:1.5px solid rgba(255,255,255,.78)!important;
  border-radius:50%!important;
  background:var(--fx-color)!important;
  box-shadow:0 2px 0 color-mix(in srgb,var(--event-accent) 30%,rgba(63,69,82,.22)),0 0 11px color-mix(in srgb,var(--fx-color) 48%,transparent)!important;
  opacity:0;
  pointer-events:none!important;
  filter:none!important;
  transform-origin:center!important;
  will-change:transform,opacity!important;
  animation:combo-particle-flight var(--fx-time,.64s) cubic-bezier(.18,.72,.22,1) var(--fx-delay,0s) both!important;
}
.game-shell .impact-toast-fx i.fx-pill{width:calc(var(--fx-size) * 1.42)!important;height:calc(var(--fx-size) * .58)!important;border-radius:999px!important}
.game-shell .impact-toast-fx i.fx-diamond{border-radius:2px!important;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}
.game-shell .impact-toast-fx i.fx-ring{background:transparent!important;border:2px solid var(--fx-color)!important;box-shadow:0 0 7px color-mix(in srgb,var(--fx-color) 35%,transparent)!important}
.game-shell .impact-toast-fx i.fx-spark{border:0!important;border-radius:0!important;clip-path:polygon(42% 0,60% 34%,100% 44%,63% 60%,51% 100%,37% 64%,0 53%,34% 39%)}
@keyframes combo-particle-flight{
  0%{opacity:0;transform:translate3d(0,0,0) rotate(var(--fx-r0)) scale(.34)}
  18%{opacity:1;transform:translate3d(0,0,0) rotate(var(--fx-r0)) scale(1.08)}
  62%{opacity:.9;transform:translate3d(var(--fx-x1),var(--fx-y1),0) rotate(var(--fx-rm)) scale(.9)}
  100%{opacity:0;transform:translate3d(var(--fx-x2),var(--fx-y2),0) rotate(var(--fx-r1)) scale(.48)}
}
.game-shell .impact-toast::after{
  inset:-5px -8px!important;
  filter:blur(4px)!important;
  background:radial-gradient(ellipse at center,color-mix(in srgb,var(--event-accent) 27%,transparent),transparent 70%)!important;
}

.game-shell .panel-overlay>.collection-card:not(.shop-card){
  box-sizing:border-box!important;
  height:min(760px,calc(100dvh - 28px))!important;
  max-height:calc(100dvh - 28px)!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  transform:none!important;
}
.game-shell .panel-overlay>.collection-card:not(.shop-card) .panel-header,
.game-shell .panel-overlay>.collection-card:not(.shop-card) .tab-row,
.game-shell .panel-overlay>.collection-card:not(.shop-card) .panel-hint{flex:0 0 auto!important}
.game-shell .panel-overlay>.collection-card:not(.shop-card) .cosmetic-grid{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  align-content:start!important;
  padding:2px 3px 8px 1px!important;
  scrollbar-width:thin;
  scrollbar-color:color-mix(in srgb,var(--game-accent) 52%,transparent) transparent;
}

.game-shell .shop-card{
  position:relative!important;
  box-sizing:border-box!important;
  max-height:calc(100dvh - 24px)!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  animation:shop-panel-enter .52s cubic-bezier(.2,.82,.24,1) both!important;
}
.game-shell .shop-card .shop-hero{
  margin:3px 11px 10px!important;
  padding:11px 14px 10px!important;
  border-radius:19px!important;
  gap:2px!important;
}
.game-shell .shop-card .shop-hero-stars{font-size:17px!important;line-height:1!important}
.game-shell .shop-card .shop-hero strong{font-size:15px!important;line-height:1.08!important}
.game-shell .shop-card .shop-hero small{font-size:9px!important;line-height:1.25!important}
.game-shell .shop-card .shop-title{margin:11px 12px 8px!important}
.game-shell .shop-card .ad-free-list{padding-inline:11px!important}
.game-shell .shop-card .ad-free-product{min-height:72px!important;padding:8px 10px!important}
.game-shell .shop-card .product-list{gap:8px!important;padding-inline:1px!important}
.game-shell .shop-card .product-list button{min-height:64px!important;padding:8px 11px!important}
.game-shell .shop-card .ad-free-product,
.game-shell .shop-card .product-list button{
  --shop-delay:.04s;
  translate:0 0;
  animation:shop-product-enter .58s cubic-bezier(.16,.78,.2,1) var(--shop-delay) both,shop-product-breathe 4.8s ease-in-out calc(.78s + var(--shop-delay)) infinite!important;
}
.game-shell .shop-card .product-list button:nth-child(1){--shop-delay:.1s}
.game-shell .shop-card .product-list button:nth-child(2){--shop-delay:.17s}
.game-shell .shop-card .product-list button:nth-child(3){--shop-delay:.24s}
@keyframes shop-panel-enter{
  0%{opacity:0;transform:translateY(18px) scale(.965)}
  64%{opacity:1;transform:translateY(-1px) scale(1.004)}
  100%{opacity:1;transform:translateY(0) scale(1)}
}
@keyframes shop-product-enter{
  0%{opacity:0;transform:translateY(13px) scale(.97)}
  68%{opacity:1;transform:translateY(-1px) scale(1.006)}
  100%{opacity:1;transform:translateY(0) scale(1)}
}
@keyframes shop-product-breathe{
  0%,100%{translate:0 0}
  50%{translate:0 -1.5px}
}
.game-shell .shop-card .ad-free-icon{animation:shop-icon-float 3.9s ease-in-out .85s infinite}
@keyframes shop-icon-float{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-1.5px) rotate(-1.2deg)}}
.game-shell .shop-card .studio-credit{display:block;margin:7px auto 1px;color:var(--game-muted);font:800 8px/1 system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;opacity:.46;text-align:center;pointer-events:none;user-select:none}

.game-shell.theme-aurora-peaks{
  --game-bg:#1b1b24!important;--game-panel:#211a31!important;--game-ink:#f5f0ff!important;--game-muted:#b2a6c5!important;
  --ui-play-a:#e17059!important;--ui-play-b:#b95650!important;
  --ui-collection-a:#8067d2!important;--ui-collection-b:#5c477f!important;
  --ui-shop-a:#e5b657!important;--ui-shop-b:#b98238!important;
  --ui-sound-a:#70647d!important;--ui-sound-b:#504758!important;
  --ui-music-a:#9279d8!important;--ui-music-b:#674f9c!important;
  --ui-vibe-a:#a66fbd!important;--ui-vibe-b:#704b86!important;
  --ui-deep:#30283b!important;
}
.game-shell.theme-aurora-peaks .menu-screen{background:linear-gradient(180deg,rgba(27,27,36,.94),rgba(42,31,58,.97))!important}
.game-shell.theme-aurora-peaks .modal-card,
.game-shell.theme-aurora-peaks .collection-card,
.game-shell.theme-aurora-peaks .achievement-card{background:linear-gradient(180deg,#2a2139,#1d1b25)!important;border-color:rgba(190,169,226,.23)!important}
.game-shell.theme-aurora-peaks .hud{--game-panel:#211a31!important;--game-ink:#f5f0ff!important;--game-muted:#b2a6c5!important}
.game-shell.theme-aurora-peaks .hud .score-stack{background:rgba(31,27,39,.82)!important;border-color:rgba(176,151,218,.18)!important}
.game-shell.theme-aurora-peaks .score-value{color:#f7f1ff!important;text-shadow:0 2px 10px rgba(126,99,185,.22)!important}
.game-shell.theme-aurora-peaks .soft-button,
.game-shell.theme-aurora-peaks .small-control,
.game-shell.theme-aurora-peaks .star-pill,
.game-shell.theme-aurora-peaks .star-balance,
.game-shell.theme-aurora-peaks .life-row{background:rgba(35,29,46,.88)!important;border-color:rgba(185,161,222,.2)!important;color:#f7f1ff!important}
.game-shell.theme-aurora-peaks .cosmetic-card{background:#2a2237!important;border-color:#41334f!important;color:#f4edff!important}
.game-shell.theme-aurora-peaks .cosmetic-card.selected{background:#382b4c!important;border-color:#9176d7!important}
.game-shell.theme-aurora-peaks .cosmetic-card small{color:#f6df9f!important;background:#423651!important}
.game-shell.theme-aurora-peaks .tab-row button{color:#c9bdd8!important;background:#292132!important}
.game-shell.theme-aurora-peaks .tab-row button.active{color:#fff!important;background:#8067d2!important}
.game-shell.theme-aurora-peaks .panel-header button{color:#f5efff!important;background:#342a42!important}
.game-shell.theme-aurora-peaks .menu-brand h1{color:#f6efff!important;text-shadow:0 3px 0 #554273,0 6px 16px rgba(18,15,24,.36)!important}
.game-shell.theme-aurora-peaks .impact-toast{--toast-accent:#9279d8!important;--toast-edge:#bca8e4!important;--toast-glow:rgba(136,106,194,.28)!important}
.game-shell .theme-preview.motif-aurora-peaks{background-image:linear-gradient(rgba(29,29,38,.48),rgba(43,32,59,.5)),var(--theme-image,none)!important}

@media(max-width:430px),(max-height:760px){
  .game-shell .shop-card{padding:14px!important;max-height:calc(100dvh - 16px)!important}
  .game-shell .shop-card .shop-hero{margin-inline:5px!important;padding:8px 11px!important}
  .game-shell .shop-card .shop-hero small{display:none!important}
  .game-shell .shop-card .shop-title{margin:9px 7px 6px!important}
  .game-shell .shop-card .ad-free-list{padding-inline:5px!important}
  .game-shell .shop-card .ad-free-product{min-height:66px!important}
  .game-shell .shop-card .product-list button{min-height:59px!important;padding-block:6px!important}
  .game-shell .shop-card .store-trust,.game-shell .shop-card .panel-hint{margin-top:7px!important;margin-bottom:0!important}
}
@media(max-height:620px){
  .game-shell .panel-overlay>.collection-card:not(.shop-card){height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important;padding:13px!important}
  .game-shell .panel-overlay>.collection-card:not(.shop-card) .tab-row{margin-block:10px 8px!important}
}
@media(prefers-reduced-motion:reduce){
  .game-shell .shop-card,.game-shell .shop-card .ad-free-product,.game-shell .shop-card .product-list button,.game-shell .shop-card .ad-free-icon{animation:none!important;translate:none!important}
}

.game-shell,.game-shell *{-webkit-touch-callout:none!important;-webkit-user-select:none!important;user-select:none!important}
.game-shell img{-webkit-user-drag:none!important;user-drag:none!important}
.game-shell button,.game-shell input,.game-shell canvas{-webkit-tap-highlight-color:transparent!important}
.game-shell .game-canvas{touch-action:none!important}
.game-shell .menu-screen,
.game-shell .overlay,
.game-shell .collection-card,
.game-shell .shop-card,
.game-shell .lb-overlay,
.game-shell .cosmetic-grid{touch-action:pan-y!important;overscroll-behavior:contain!important}
.game-shell input[type="range"]{touch-action:none!important}

@media (min-width:780px) and (min-height:760px) and (pointer:fine){
  .game-shell{width:min(100vw,62vh)!important;width:min(100vw,62dvh)!important}
  .game-shell .hud{padding:max(20px,env(safe-area-inset-top)) 23px max(20px,env(safe-area-inset-bottom))!important}
  .game-shell .hud-top{grid-template-columns:78px 1fr 132px!important}
  .game-shell .round-button{width:72px!important;height:72px!important;border-radius:23px!important;font-size:32px!important}
  .game-shell .hud-sound-button{width:62px!important;height:62px!important;right:23px!important;border-radius:20px!important;font-size:27px!important}
  .game-shell .score-value{font-size:80px!important}
  .game-shell .score-caption{font-size:14px!important}
  .game-shell .star-pill{min-height:48px!important;font-size:23px!important}
  .game-shell .best-mini{font-size:13px!important}
  .game-shell .best-mini strong{font-size:18px!important}
  .game-shell .life-ball{width:36px!important;height:36px!important}

  .game-shell .menu-screen{padding-inline:29px!important}
  .game-shell .small-control{min-width:66px!important;height:59px!important;min-height:59px!important;font-size:21px!important}
  .game-shell .star-balance{min-width:118px!important;height:53px!important;font-size:23px!important}
  .game-shell .menu-brand .app-icon{width:clamp(204px,38vw,230px)!important}
  .game-shell .menu-brand h1{font-size:clamp(51px,8vw,72px)!important}
  .game-shell .menu-brand p{font-size:18px!important}
  .game-shell .menu-actions{width:min(462px,100%)!important}
  .game-shell .play-button{min-height:90px!important;font-size:27px!important}
  .game-shell .menu-tile{min-height:85px!important;font-size:20px!important}
  .game-shell .menu-settings .setting-toggle{height:63px!important;min-height:63px!important;font-size:24px!important}
  .game-shell .menu-settings .setting-toggle small{font-size:12px!important}

  .game-shell .modal-card,.game-shell .collection-card,.game-shell .achievement-card{width:min(470px,100%)!important}
  .game-shell .panel-header h2{font-size:28px!important}
  .game-shell .panel-header button{width:53px!important;height:53px!important;font-size:30px!important}
  .game-shell .tab-row button{min-height:51px!important;font-size:17px!important}
  .game-shell .cosmetic-card strong{font-size:17px!important}
  .game-shell .cosmetic-card small{font-size:12px!important}
  .game-shell .pause-overlay .modal-card.compact{width:min(450px,100%)!important;padding:29px!important}
  .game-shell .pause-overlay .modal-card.compact>h2{font-size:37px!important}
  .game-shell .pause-overlay .modal-card.compact>.primary-button,
  .game-shell .pause-overlay .modal-card.compact>.plain-button{height:72px!important;min-height:72px!important;font-size:20px!important}
  .game-shell .pause-settings button{min-height:59px!important;font-size:15px!important}
  .game-shell .gameover-overlay .result-score{font-size:86px!important}
  .game-shell .gameover-overlay .result-best{font-size:17px!important}
  .game-shell .impact-toast-line.primary{font-size:24px!important}
  .game-shell .impact-toast-line.secondary{font-size:13px!important}
  .game-shell .ad-free-copy strong{font-size:16px!important}
  .game-shell .ad-free-copy small{font-size:10px!important}
  .game-shell .product-list strong{font-size:24px!important}
  .game-shell .product-list small{font-size:10px!important}
}

/* Release v39: consistent store interaction, collection entrance, compact rescue and purchase thanks. */
@media (hover:hover) and (pointer:fine){
  .game-shell .shop-card .ad-free-product:not(:disabled):hover,
  .game-shell .shop-card .product-list button:not(:disabled):hover,
  .game-shell .shop-card .product-list button:nth-child(2):not(:disabled):hover{
    animation-play-state:paused!important;
    translate:0 -3px!important;
    transform:scale(1.018)!important;
    filter:saturate(1.06) brightness(1.025)!important;
  }
}

.game-shell .panel-overlay>.collection-card:not(.shop-card){
  animation:collection-panel-enter .5s cubic-bezier(.18,.82,.22,1) both!important;
}
.game-shell .panel-overlay>.collection-card:not(.shop-card) .cosmetic-card{
  animation:collection-card-enter .48s cubic-bezier(.18,.84,.23,1.08) var(--collection-delay,0s) both;
}
@keyframes collection-panel-enter{
  0%{opacity:0;translate:0 16px;scale:.975}
  68%{opacity:1;translate:0 -1px;scale:1.003}
  100%{opacity:1;translate:0 0;scale:1}
}
@keyframes collection-card-enter{
  0%{opacity:0;translate:0 13px;scale:.965}
  72%{opacity:1;translate:0 -1px;scale:1.006}
  100%{opacity:1;translate:0 0;scale:1}
}

.game-shell .stuck-rescue-card{
  width:min(330px,calc(100% - 30px))!important;
  padding:14px 15px 13px!important;
  border-radius:22px!important;
  grid-template-columns:44px minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:11px!important;
  row-gap:10px!important;
  text-align:left!important;
  box-shadow:0 7px 0 rgba(64,73,99,.13),0 18px 36px rgba(44,61,102,.16)!important;
  animation:stuck-minimal-in .38s cubic-bezier(.18,1.2,.25,1) both!important;
}
.game-shell .stuck-rescue-icon{
  width:44px;
  height:44px;
  border-radius:15px;
  display:grid;
  place-items:center;
  color:#fff;
  background:linear-gradient(145deg,var(--ui-play,#ff7550),var(--ui-shop,#ff9d2d));
  box-shadow:0 4px 0 color-mix(in srgb,var(--game-accent) 58%,#9b4c36),0 0 18px color-mix(in srgb,var(--game-star) 22%,transparent);
  font:950 25px/1 var(--ui-font,ui-rounded,system-ui);
  animation:stuck-icon-float 2.7s ease-in-out .45s infinite;
}
.game-shell .stuck-rescue-card>strong{
  font:950 19px/1.08 ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif!important;
  letter-spacing:-.02em;
}
.game-shell .stuck-rescue-card>p{display:none!important}
.game-shell .stuck-rescue-card .stuck-actions{
  grid-column:1/-1!important;
  margin-top:0!important;
}
.game-shell .stuck-rescue-card .stuck-return{
  min-height:47px!important;
  border-radius:15px!important;
  font:950 14px/1 ui-rounded,Arial Rounded MT Bold,system-ui,sans-serif!important;
  box-shadow:0 4px 0 color-mix(in srgb,var(--game-accent) 64%,#91442f)!important;
}
@keyframes stuck-minimal-in{
  0%{opacity:0;transform:translate(-50%,14px) scale(.965)}
  70%{opacity:1;transform:translate(-50%,-1px) scale(1.004)}
  100%{opacity:1;transform:translate(-50%,0) scale(1)}
}
@keyframes stuck-icon-float{0%,100%{translate:0 0;rotate:0deg}50%{translate:0 -2px;rotate:-4deg}}

.game-shell .purchase-thanks-overlay{
  z-index:55;
  position:absolute;
  inset:0;
  padding:18px;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:color-mix(in srgb,var(--game-ink) 48%,transparent);
  backdrop-filter:blur(4px);
  animation:purchase-thanks-overlay-in .24s ease-out both;
}
.game-shell .purchase-thanks-card{
  isolation:isolate;
  position:relative;
  width:min(360px,100%);
  padding:28px 23px 21px;
  overflow:hidden;
  border:3px solid color-mix(in srgb,var(--game-panel) 84%,#fff);
  border-radius:30px;
  text-align:center;
  color:var(--game-ink);
  background:linear-gradient(180deg,color-mix(in srgb,var(--game-panel) 96%,#fff),color-mix(in srgb,var(--game-panel) 91%,var(--game-bg)));
  box-shadow:0 10px 0 color-mix(in srgb,var(--game-ink) 22%,transparent),0 28px 58px color-mix(in srgb,var(--game-ink) 27%,transparent);
  animation:purchase-thanks-card-in .56s cubic-bezier(.17,1.25,.23,1) both,purchase-thanks-idle 4.2s ease-in-out .7s infinite;
}
.game-shell .purchase-thanks-card:before{
  content:"";
  z-index:-1;
  position:absolute;
  inset:-30% -10% 48%;
  background:radial-gradient(circle at 50% 55%,color-mix(in srgb,var(--game-star) 34%,transparent),transparent 68%);
  animation:purchase-thanks-glow 2.8s ease-in-out infinite;
}
.game-shell .purchase-thanks-halo{
  position:absolute;
  left:50%;
  top:49px;
  width:112px;
  height:112px;
  translate:-50% -50%;
  border-radius:50%;
  border:2px solid color-mix(in srgb,var(--game-star) 42%,transparent);
  box-shadow:0 0 28px color-mix(in srgb,var(--game-star) 25%,transparent);
  animation:purchase-halo-pulse 2.35s ease-in-out infinite;
}
.game-shell .purchase-thanks-icon{
  position:relative;
  z-index:2;
  width:72px;
  height:72px;
  margin:0 auto 15px;
  display:grid;
  place-items:center;
  border:4px solid rgba(255,255,255,.82);
  border-radius:24px;
  color:#fff;
  background:linear-gradient(145deg,var(--game-star),var(--game-accent));
  box-shadow:0 6px 0 color-mix(in srgb,var(--game-accent) 58%,#8f5630),0 0 24px color-mix(in srgb,var(--game-star) 34%,transparent);
  font:950 35px/1 var(--ui-font,ui-rounded,system-ui);
  animation:purchase-icon-celebrate .7s cubic-bezier(.17,1.45,.24,1) .18s both;
}
.game-shell .purchase-thanks-card h2{
  position:relative;
  z-index:2;
  margin:0;
  color:var(--game-accent);
  font:950 clamp(25px,7vw,32px)/1.03 var(--ui-font,ui-rounded,system-ui);
  letter-spacing:-.035em;
}
.game-shell .purchase-thanks-card p{
  position:relative;
  z-index:2;
  max-width:31ch;
  margin:11px auto 19px;
  color:var(--game-muted);
  font:800 12px/1.42 system-ui,sans-serif;
}
.game-shell .purchase-thanks-close{
  position:relative;
  z-index:3;
  min-height:53px!important;
  font-size:16px!important;
}
.game-shell .purchase-thanks-hearts{
  z-index:1;
  position:absolute;
  inset:0;
  pointer-events:none;
}
.game-shell .purchase-thanks-hearts i{
  position:absolute;
  left:50%;
  top:48%;
  color:color-mix(in srgb,var(--game-accent) 75%,#ff6f9f);
  opacity:0;
  font:900 17px/1 system-ui,sans-serif;
  text-shadow:0 0 10px color-mix(in srgb,var(--game-accent) 35%,transparent);
  animation:purchase-heart-rise 2.45s cubic-bezier(.22,.65,.24,1) var(--heart-delay,.55s) infinite;
}
.game-shell .purchase-thanks-hearts i:nth-child(1){--heart-x:-116px;--heart-drift:-11px;--heart-size:.72}
.game-shell .purchase-thanks-hearts i:nth-child(2){--heart-x:-86px;--heart-drift:16px;--heart-size:.95}
.game-shell .purchase-thanks-hearts i:nth-child(3){--heart-x:-59px;--heart-drift:-17px;--heart-size:.64}
.game-shell .purchase-thanks-hearts i:nth-child(4){--heart-x:-30px;--heart-drift:9px;--heart-size:.82}
.game-shell .purchase-thanks-hearts i:nth-child(5){--heart-x:-8px;--heart-drift:-14px;--heart-size:.68}
.game-shell .purchase-thanks-hearts i:nth-child(6){--heart-x:17px;--heart-drift:15px;--heart-size:.9}
.game-shell .purchase-thanks-hearts i:nth-child(7){--heart-x:45px;--heart-drift:-10px;--heart-size:.72}
.game-shell .purchase-thanks-hearts i:nth-child(8){--heart-x:72px;--heart-drift:17px;--heart-size:1}
.game-shell .purchase-thanks-hearts i:nth-child(9){--heart-x:98px;--heart-drift:-14px;--heart-size:.67}
.game-shell .purchase-thanks-hearts i:nth-child(10){--heart-x:121px;--heart-drift:10px;--heart-size:.84}
@keyframes purchase-thanks-overlay-in{from{opacity:0}to{opacity:1}}
@keyframes purchase-thanks-card-in{0%{opacity:0;translate:0 20px;scale:.93}68%{opacity:1;translate:0 -2px;scale:1.012}100%{opacity:1;translate:0 0;scale:1}}
@keyframes purchase-thanks-idle{0%,100%{translate:0 0}50%{translate:0 -2px}}
@keyframes purchase-thanks-glow{0%,100%{opacity:.62;scale:.94}50%{opacity:1;scale:1.05}}
@keyframes purchase-halo-pulse{0%,100%{opacity:.45;scale:.86}50%{opacity:.82;scale:1.05}}
@keyframes purchase-icon-celebrate{0%{opacity:0;scale:.55;rotate:-15deg}68%{opacity:1;scale:1.09;rotate:4deg}100%{opacity:1;scale:1;rotate:0}}
@keyframes purchase-heart-rise{0%,12%{opacity:0;transform:translate3d(var(--heart-x),34px,0) scale(.45) rotate(-8deg)}24%{opacity:.85}78%{opacity:.62}100%{opacity:0;transform:translate3d(calc(var(--heart-x) + var(--heart-drift)),-116px,0) scale(var(--heart-size)) rotate(18deg)}}

/* Leaderboard uses responsive account avatars from the SDK and keeps the fallback visible until load. */
.game-shell .lb-panel{
  width:min(500px,100%)!important;
  max-height:calc(100dvh - 24px);
  padding:20px 19px 21px!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  scrollbar-width:thin;
  scrollbar-color:rgba(123,108,222,.44) transparent;
  animation:lb-panel-open .5s cubic-bezier(.18,.86,.22,1.08) both;
}
.game-shell .lb-panel .lb-row:not(.lb-race-row){
  opacity:0;
  animation:lb-row-enter .4s cubic-bezier(.2,.8,.24,1) calc(.18s + var(--lb-row-order,0) * 42ms) both;
}
.game-shell .lb-podium:after{
  content:"";
  position:absolute;
  inset:8% -18% 5%;
  pointer-events:none;
  background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.55) 48%,transparent 61%);
  translate:-75% 0;
  animation:lb-podium-shine 4.8s ease-in-out 1.1s infinite;
}
.game-shell .lb-trophy{
  animation:lb-trophy-float 3.2s ease-in-out infinite;
}
.game-shell .lb-trophy-2{animation-delay:.35s}
.game-shell .lb-trophy-3{animation-delay:.7s}
.game-shell .lb-trophy:after{
  content:"";
  z-index:-1;
  position:absolute;
  inset:-8px;
  border-radius:50%;
  background:radial-gradient(circle,color-mix(in srgb,var(--cup) 36%,transparent),transparent 68%);
  opacity:.45;
  animation:lb-trophy-glow 2.4s ease-in-out infinite;
}
.game-shell .lb-avatar.has-image{
  box-shadow:0 4px 0 rgba(74,78,112,.14),0 0 15px rgba(117,104,222,.18);
}
@keyframes lb-panel-open{0%{opacity:0;translate:0 17px;scale:.965}70%{opacity:1;translate:0 -1px;scale:1.004}100%{opacity:1;translate:0 0;scale:1}}
@keyframes lb-row-enter{0%{opacity:0;translate:11px 0;scale:.985}100%{opacity:1;translate:0 0;scale:1}}
@keyframes lb-podium-shine{0%,62%{translate:-75% 0;opacity:0}72%{opacity:.75}88%,100%{translate:75% 0;opacity:0}}
@keyframes lb-trophy-float{0%,100%{translate:0 0;rotate:-1deg}50%{translate:0 -2px;rotate:1.5deg}}
@keyframes lb-trophy-glow{0%,100%{opacity:.3;scale:.84}50%{opacity:.68;scale:1.08}}

@media (min-width:780px) and (min-height:760px) and (pointer:fine){
  .game-shell .stuck-rescue-card{width:min(420px,calc(100% - 48px))!important;padding:20px 21px 18px!important;grid-template-columns:56px minmax(0,1fr)!important;column-gap:15px!important;border-radius:27px!important}
  .game-shell .stuck-rescue-icon{width:56px;height:56px;border-radius:18px;font-size:31px}
  .game-shell .stuck-rescue-card>strong{font-size:25px!important}
  .game-shell .stuck-rescue-card .stuck-return{min-height:59px!important;border-radius:18px!important;font-size:18px!important}
  .game-shell .purchase-thanks-card{width:min(420px,100%);padding:34px 30px 27px;border-radius:34px}
  .game-shell .purchase-thanks-icon{width:88px;height:88px;border-radius:28px;font-size:43px}
  .game-shell .purchase-thanks-card h2{font-size:36px}
  .game-shell .purchase-thanks-card p{font-size:15px}
  .game-shell .purchase-thanks-close{min-height:66px!important;font-size:20px!important}
  .game-shell .lb-panel{width:min(510px,100%)!important;padding:23px 22px 24px!important}
}

@media(max-height:700px){
  .game-shell .stuck-rescue-card{width:min(320px,calc(100% - 28px))!important;padding:11px 13px 10px!important;grid-template-columns:39px minmax(0,1fr)!important;row-gap:7px!important}
  .game-shell .stuck-rescue-icon{width:39px;height:39px;border-radius:13px;font-size:22px}
  .game-shell .stuck-rescue-card>strong{font-size:17px!important}
  .game-shell .stuck-rescue-card .stuck-return{min-height:42px!important}
  .game-shell .purchase-thanks-card{padding:20px 19px 17px}
  .game-shell .purchase-thanks-icon{width:60px;height:60px;margin-bottom:11px;font-size:30px}
  .game-shell .purchase-thanks-card p{margin-block:8px 13px}
}

@media(prefers-reduced-motion:reduce){
  .game-shell .panel-overlay>.collection-card:not(.shop-card),
  .game-shell .panel-overlay>.collection-card:not(.shop-card) .cosmetic-card,
  .game-shell .stuck-rescue-card,
  .game-shell .stuck-rescue-icon,
  .game-shell .purchase-thanks-overlay,
  .game-shell .purchase-thanks-card,
  .game-shell .purchase-thanks-card:before,
  .game-shell .purchase-thanks-halo,
  .game-shell .purchase-thanks-icon,
  .game-shell .purchase-thanks-hearts i,
  .game-shell .lb-panel,
  .game-shell .lb-panel .lb-row,
  .game-shell .lb-podium:after,
  .game-shell .lb-trophy,
  .game-shell .lb-trophy:after{animation:none!important;opacity:1!important;translate:none!important;scale:none!important;rotate:none!important}
}


/* v43 meta collection + in-game scrollbars */
.game-shell .panel-overlay>.collection-card.shop-card{
  box-sizing:border-box!important;
  height:min(760px,calc(100dvh - 28px))!important;
  max-height:calc(100dvh - 28px)!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
}
.game-shell .shop-card>.panel-header{flex:0 0 auto!important}
.game-shell .shop-scroll{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  padding:2px 7px 10px 1px!important;
  scrollbar-width:thin;
  scrollbar-color:color-mix(in srgb,var(--game-accent) 58%,transparent) transparent;
}
.game-shell .panel-overlay>.collection-card:not(.shop-card) .cosmetic-grid::-webkit-scrollbar,
.game-shell .shop-scroll::-webkit-scrollbar{width:9px}
.game-shell .panel-overlay>.collection-card:not(.shop-card) .cosmetic-grid::-webkit-scrollbar-track,
.game-shell .shop-scroll::-webkit-scrollbar-track{
  background:color-mix(in srgb,var(--game-muted) 12%,transparent);
  border-radius:999px;
  margin-block:5px;
}
.game-shell .panel-overlay>.collection-card:not(.shop-card) .cosmetic-grid::-webkit-scrollbar-thumb,
.game-shell .shop-scroll::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,var(--game-accent-light),var(--game-accent));
  border:2px solid color-mix(in srgb,var(--game-panel) 84%,transparent);
  border-radius:999px;
  min-height:38px;
}
.game-shell .tab-row .icon-tab{
  flex:0 0 54px!important;
  width:54px!important;
  min-width:54px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
}
.game-shell .achievement-tab-glyph{position:relative;display:block;width:25px;height:25px;color:currentColor}
.game-shell .achievement-tab-glyph::before{content:"";position:absolute;left:5px;top:3px;width:15px;height:11px;border:3px solid currentColor;border-top-width:2px;border-radius:4px 4px 9px 9px;box-sizing:border-box}
.game-shell .achievement-tab-glyph::after{content:"";position:absolute;left:6px;bottom:3px;width:13px;height:3px;border-radius:99px;background:currentColor;box-shadow:0 -5px 0 -1px currentColor}
.game-shell .achievement-grid{align-content:start!important}
.game-shell .achievement-item-card{position:relative!important;min-height:176px!important;align-content:start!important;justify-items:start!important;text-align:left!important;gap:8px!important;padding:12px!important;cursor:default!important;overflow:hidden!important}
.game-shell .achievement-item-card.completed{border-color:color-mix(in srgb,var(--game-star) 64%,var(--game-accent))!important;background:color-mix(in srgb,var(--game-star) 8%,var(--game-panel))!important}
.game-shell .achievement-item-card.completed::after{content:"✓";position:absolute;top:10px;right:10px;width:23px;height:23px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--game-accent);box-shadow:0 3px 0 color-mix(in srgb,var(--game-accent) 70%,#7f341f);font:950 12px/1 var(--ui-font,ui-rounded,system-ui)}
.game-shell .achievement-item-card>strong{width:100%;padding-right:20px;font-size:11px!important;line-height:1.2!important}
.game-shell .achievement-item-card>p{margin:0!important;color:var(--game-muted)!important;font:750 9.5px/1.35 var(--ui-font,ui-rounded,system-ui)!important;min-height:27px}
.game-shell .achievement-progress-line{margin-top:auto!important}
.game-shell .achievement-badge{width:66px;height:66px;border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#fff;box-shadow:inset 0 2px 0 rgba(255,255,255,.34),0 5px 0 rgba(67,76,96,.15)}
.game-shell .achievement-badge>b{font:950 23px/1 var(--ui-font,ui-rounded,system-ui)}
.game-shell .achievement-badge>small{min-height:0!important;padding:0!important;color:rgba(255,255,255,.95)!important;background:transparent!important;font-size:8px!important}
.game-shell .badge-reward{background:linear-gradient(180deg,#8492b6,#64718e)}
.game-shell .badge-sun{background:linear-gradient(180deg,#ffc95c,#ed9442)}
.game-shell .badge-sky{background:linear-gradient(180deg,#6cc8f6,#4a90d8)}
.game-shell .badge-mint{background:linear-gradient(180deg,#68dcc2,#34aa8f)}
.game-shell .badge-violet{background:linear-gradient(180deg,#ad96e7,#7867bf)}
.game-shell .badge-coral{background:linear-gradient(180deg,#ff9d7c,#e8715e)}
.game-shell .badge-peach{background:linear-gradient(180deg,#f7b37d,#dc8554)}
.game-shell .badge-gold{background:linear-gradient(180deg,#ffd76a,#e6a13a)}
.game-shell .badge-midnight{background:linear-gradient(180deg,#687cc4,#3d4d7e)}
.game-shell .badge-plum{background:linear-gradient(180deg,#b583df,#8060b1)}
.game-shell .badge-sunset{background:linear-gradient(180deg,#ff9877,#dc6c51)}
.game-shell .unlock-achievement-preview{width:116px;height:116px;margin:2px auto 12px;border-radius:33px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#fff;box-shadow:inset 0 2px 0 rgba(255,255,255,.35),0 7px 0 rgba(60,68,88,.16),0 18px 34px rgba(65,73,98,.15);animation:unlock-achievement-pop .52s cubic-bezier(.18,1.25,.25,1) both}
.game-shell .unlock-achievement-preview>span{font:950 34px/1 var(--ui-font,ui-rounded,system-ui)}
.game-shell .unlock-achievement-preview>strong{font:950 14px/1 var(--ui-font,ui-rounded,system-ui)}
@keyframes unlock-achievement-pop{0%{opacity:0;transform:translateY(10px) scale(.82) rotate(-3deg)}70%{opacity:1;transform:translateY(-2px) scale(1.035) rotate(.5deg)}100%{opacity:1;transform:translateY(0) scale(1) rotate(0)}}
.game-shell.theme-aurora-peaks .achievement-item-card.completed{background:color-mix(in srgb,#2a2237 90%,#8067d2)!important;border-color:#8067d2!important}
.game-shell.theme-aurora-peaks .achievement-item-card>p{color:#c9bdd8!important}
.game-shell.theme-aurora-peaks .shop-scroll::-webkit-scrollbar-track,.game-shell.theme-aurora-peaks .panel-overlay>.collection-card:not(.shop-card) .cosmetic-grid::-webkit-scrollbar-track{background:rgba(255,255,255,.07)}
@media(max-width:350px){.game-shell .achievement-item-card{min-height:168px!important;padding:10px!important}.game-shell .achievement-badge{width:60px;height:60px}.game-shell .tab-row .icon-tab{flex-basis:48px!important;width:48px!important;min-width:48px!important}}


/* v43b polish: shop layout + achievement visuals */
.game-shell .panel-overlay>.collection-card.shop-card{
  width:min(384px,100%)!important;
  height:min(760px,calc(100dvh - 24px))!important;
  max-height:calc(100dvh - 24px)!important;
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  overflow:hidden!important;
}
.game-shell .shop-card>.panel-header{min-height:0!important}
.game-shell .shop-scroll{
  display:block!important;
  height:100%!important;
  padding:6px 12px 12px 5px!important;
}
.game-shell .shop-card .shop-hero{margin:4px 4px 12px!important;padding:14px 16px 12px!important;border-radius:22px!important}
.game-shell .shop-card .shop-title{margin:12px 6px 8px!important}
.game-shell .shop-card .ad-free-list{padding-inline:4px!important}
.game-shell .shop-card .product-list{display:grid!important;gap:9px!important;padding-inline:4px!important}
.game-shell .shop-card .ad-free-product,.game-shell .shop-card .product-list button{width:100%!important;box-sizing:border-box!important}
.game-shell .shop-card .store-note,.game-shell .shop-card .store-trust,.game-shell .shop-card .panel-hint,.game-shell .shop-card .studio-credit{margin-inline:6px!important}

.game-shell .achievement-grid{grid-template-columns:1fr!important;gap:10px!important;padding-right:2px!important}
.game-shell .achievement-item-card{
  min-height:146px!important;
  display:grid!important;
  grid-template-columns:74px minmax(0,1fr)!important;
  grid-template-areas:"badge title"
                      "badge desc"
                      "badge progress"!important;
  gap:6px 11px!important;
  align-items:start!important;
  padding:13px 14px!important;
  border-radius:22px!important;
}
.game-shell .achievement-badge{
  grid-area:badge!important;
  align-self:center!important;
  justify-self:start!important;
  width:72px!important;
  height:72px!important;
  border-radius:24px!important;
  gap:4px!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.4),0 7px 0 rgba(67,76,96,.12),0 14px 24px rgba(67,76,96,.12)!important;
}
.game-shell .achievement-badge>b{font-size:27px!important; line-height:1!important}
.game-shell .achievement-badge>small{font-size:9px!important;line-height:1.1!important}
.game-shell .achievement-item-card>strong{grid-area:title!important;font-size:13px!important;line-height:1.18!important;padding-right:24px!important;overflow-wrap:anywhere!important}
.game-shell .achievement-item-card>p{grid-area:desc!important;font-size:10.5px!important;line-height:1.35!important;min-height:0!important;overflow-wrap:anywhere!important}
.game-shell .achievement-progress-line{grid-area:progress!important;display:block!important;margin-top:4px!important;font-size:10px!important;line-height:1.25!important;overflow-wrap:anywhere!important}
.game-shell .achievement-item-card.completed::after{top:12px!important;right:12px!important;width:24px!important;height:24px!important}
.game-shell .badge-reward{background:linear-gradient(180deg,#90a6ff,#6b75ca)!important}
.game-shell .badge-sun{background:linear-gradient(180deg,#ffd96d,#ff9d45)!important}
.game-shell .badge-sky{background:linear-gradient(180deg,#6ed8ff,#478df2)!important}
.game-shell .badge-mint{background:linear-gradient(180deg,#6ef1d1,#34b89d)!important}
.game-shell .badge-violet{background:linear-gradient(180deg,#c4a9ff,#8a68e9)!important}
.game-shell .badge-coral{background:linear-gradient(180deg,#ffb086,#f17163)!important}
.game-shell .badge-peach{background:linear-gradient(180deg,#ffc38e,#ef9158)!important}
.game-shell .badge-gold{background:linear-gradient(180deg,#ffe37e,#f0b048)!important}
.game-shell .badge-midnight{background:linear-gradient(180deg,#8097eb,#485ea0)!important}
.game-shell .badge-plum{background:linear-gradient(180deg,#d19df0,#8d61cf)!important}
.game-shell .badge-sunset{background:linear-gradient(180deg,#ffae73,#ef6b65)!important}

.achievement-overlay{padding:14px!important;overflow-y:auto!important}
.achievement-card{
  width:min(388px,100%)!important;
  max-height:calc(100dvh - 24px)!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  padding:18px 18px 16px!important;
  border-radius:32px!important;
}
.achievement-card::-webkit-scrollbar{width:8px}
.achievement-card::-webkit-scrollbar-thumb{background:rgba(110,94,167,.32);border-radius:999px}
.unlock-kicker{margin-bottom:12px!important}
.unlock-theme-preview,.unlock-ball-preview,.game-shell .unlock-achievement-preview{margin:2px auto 14px!important}
.unlock-theme-preview{height:140px!important;border-radius:24px!important}
.unlock-ball-preview{width:128px!important;height:128px!important;border-radius:32px!important;background:linear-gradient(180deg,#fdfdff,#f3f5ff)!important;box-shadow:inset 0 2px 0 rgba(255,255,255,.5),0 8px 0 rgba(67,76,96,.12),0 18px 30px rgba(67,76,96,.13)!important}
.unlock-ball-preview img{width:84px!important;height:84px!important}
.game-shell .unlock-achievement-preview{width:128px!important;height:128px!important;border-radius:36px!important;gap:9px!important}
.game-shell .unlock-achievement-preview>span{font-size:40px!important;line-height:1!important}
.game-shell .unlock-achievement-preview>strong{font-size:15px!important;line-height:1!important}
.achievement-card h2{margin:0 0 8px!important;font-size:31px!important;line-height:1!important}
.unlock-theme-name{display:block!important;margin:0 auto 10px!important;max-width:310px!important;font-size:20px!important;line-height:1.15!important;color:#40495c!important;overflow-wrap:anywhere!important}
.unlock-reason{display:block!important;margin:0 auto 10px!important;max-width:100%!important;padding:9px 12px!important;font-size:10.5px!important;line-height:1.35!important;border-radius:14px!important;overflow-wrap:anywhere!important}
.unlock-copy{margin:0 auto 14px!important;max-width:100%!important;font-size:12px!important;line-height:1.45!important;overflow-wrap:anywhere!important}
.achievement-card .primary-button,.achievement-card .plain-button{width:100%!important}
.achievement-card .plain-button{margin-top:9px!important}
@media (max-height:700px){
  .game-shell .achievement-grid{gap:8px!important}
  .game-shell .achievement-item-card{min-height:138px!important;padding:12px!important;grid-template-columns:68px minmax(0,1fr)!important}
  .game-shell .achievement-badge{width:66px!important;height:66px!important;border-radius:22px!important}
  .achievement-card{padding:16px!important}
  .unlock-theme-preview{height:124px!important}
  .unlock-ball-preview,.game-shell .unlock-achievement-preview{width:112px!important;height:112px!important}
  .achievement-card h2{font-size:27px!important}
  .unlock-theme-name{font-size:18px!important}
}


/* v45 achievements + shop runtime/layout polish */
:root{
  --ui-text-xs:11px;
  --ui-text-sm:13px;
  --ui-text-md:16px;
  --ui-text-lg:22px;
  --ui-text-xl:30px;
}
.game-shell .menu-actions{position:relative!important}
.game-shell .menu-achievement-shortcut{
  position:absolute!important;
  z-index:4!important;
  top:-34px!important;
  right:9px!important;
  width:72px!important;
  height:72px!important;
  padding:0!important;
  border:3px solid rgba(255,255,255,.9)!important;
  border-radius:23px!important;
  background:transparent!important;
  box-shadow:0 7px 0 rgba(92,73,47,.18),0 16px 26px rgba(65,73,95,.13)!important;
  transform:rotate(9deg)!important;
  cursor:pointer!important;
  transition:transform .2s cubic-bezier(.2,1.4,.3,1),filter .2s!important;
}
.game-shell .menu-achievement-shortcut:hover{transform:rotate(6deg) translateY(-3px) scale(1.04)!important;filter:saturate(1.06)}
.game-shell .menu-achievement-shortcut:active{transform:rotate(7deg) translateY(2px) scale(.98)!important}
.game-shell .menu-achievement-shortcut img{display:block;width:100%;height:100%;border-radius:20px;pointer-events:none}
.game-shell .achievement-menu-dot{position:absolute;right:-4px;top:-4px;width:16px;height:16px;border:3px solid #fff;border-radius:50%;background:#ff5d60;box-shadow:0 3px 0 rgba(132,48,48,.2)}

/* Dedicated achievement panel: no tiny tab, one readable vertical feed. */
.game-shell .panel-overlay>.collection-card:not(.shop-card){width:min(400px,100%)!important}
.game-shell .achievement-grid{grid-template-columns:1fr!important;gap:11px!important;padding:3px 4px 10px 1px!important}
.game-shell .achievement-item-card{
  position:relative!important;
  min-height:154px!important;
  display:grid!important;
  grid-template-columns:94px minmax(0,1fr)!important;
  grid-template-areas:"badge title" "badge desc" "badge footer" "track track"!important;
  gap:7px 13px!important;
  align-items:start!important;
  justify-items:stretch!important;
  text-align:left!important;
  padding:14px 15px 12px!important;
  border-radius:23px!important;
  overflow:visible!important;
  cursor:default!important;
}
.game-shell .achievement-item-card>strong{grid-area:title!important;padding:1px 26px 0 0!important;font:900 var(--ui-text-md)/1.2 var(--ui-font,system-ui)!important;overflow-wrap:anywhere}
.game-shell .achievement-item-card>p{grid-area:desc!important;margin:0!important;min-height:0!important;color:var(--game-muted)!important;font:750 var(--ui-text-sm)/1.38 var(--ui-font,system-ui)!important;overflow-wrap:anywhere}
.game-shell .achievement-badge{
  grid-area:badge!important;
  width:92px!important;
  height:92px!important;
  display:block!important;
  align-self:center!important;
  border:0!important;
  border-radius:28px!important;
  overflow:hidden!important;
  background:transparent!important;
  box-shadow:none!important;
}
.game-shell .achievement-icon-art{display:block;width:100%;height:100%;object-fit:contain}
.game-shell .achievement-card-footer{grid-area:footer!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-top:3px!important;font:850 var(--ui-text-sm)/1.2 var(--ui-font,system-ui)!important;color:var(--game-ink)!important}
.game-shell .achievement-reward-pill,.game-shell .achievement-cosmetic-pill{display:inline-flex!important;align-items:center!important;gap:4px!important;min-height:27px!important;padding:5px 9px!important;border-radius:999px!important;background:color-mix(in srgb,var(--game-star) 18%,var(--game-panel))!important;color:color-mix(in srgb,var(--game-ink) 88%,#6e5520)!important;white-space:nowrap!important;font-size:var(--ui-text-sm)!important}
.game-shell .achievement-reward-pill b{color:var(--game-star)!important;font-size:16px!important;line-height:1!important}
.game-shell .achievement-progress-track{grid-area:track!important;display:block!important;height:9px!important;margin-top:3px!important;overflow:hidden!important;border-radius:999px!important;background:color-mix(in srgb,var(--game-muted) 16%,transparent)!important;box-shadow:inset 0 1px 2px rgba(62,70,86,.08)!important}
.game-shell .achievement-progress-track>i{display:block!important;width:var(--achievement-progress)!important;height:100%!important;border-radius:inherit!important;background:linear-gradient(90deg,var(--game-accent-light),var(--game-accent))!important;transition:width .45s cubic-bezier(.2,.8,.2,1)!important}
.game-shell .achievement-item-card.completed{border-color:color-mix(in srgb,var(--game-star) 54%,var(--game-accent))!important;background:color-mix(in srgb,var(--game-star) 8%,var(--game-panel))!important}
.game-shell .achievement-item-card.completed::after{content:"✓";position:absolute;top:12px;right:12px;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--game-accent);box-shadow:0 3px 0 color-mix(in srgb,var(--game-accent) 70%,#7f341f);font:950 13px/1 var(--ui-font,system-ui)}

/* Popup uses the same few typography sizes as the rest of the game. */
.achievement-overlay{padding:14px!important;overflow-y:auto!important}
.achievement-card{width:min(390px,100%)!important;max-height:calc(100dvh - 24px)!important;overflow-y:auto!important;padding:19px!important}
.achievement-card h2{margin:0 0 9px!important;font:950 var(--ui-text-xl)/1 var(--ui-font,system-ui)!important}
.unlock-kicker{font-size:var(--ui-text-xs)!important}
.unlock-theme-name{font:900 var(--ui-text-lg)/1.18 var(--ui-font,system-ui)!important;max-width:330px!important;overflow-wrap:anywhere!important}
.unlock-reason{display:block!important;max-width:100%!important;margin:10px auto 0!important;padding:9px 12px!important;font:800 var(--ui-text-sm)/1.35 var(--ui-font,system-ui)!important;overflow-wrap:anywhere!important}
.unlock-copy{max-width:330px!important;margin:11px auto 14px!important;font:750 var(--ui-text-sm)/1.4 var(--ui-font,system-ui)!important;overflow-wrap:anywhere!important}
.game-shell .unlock-achievement-preview{width:142px!important;height:142px!important;margin:1px auto 14px!important;border-radius:36px!important;background:transparent!important;box-shadow:none!important}
.game-shell .unlock-achievement-preview img{display:block;width:100%;height:100%;object-fit:contain}
.achievement-card .primary-button,.achievement-card .plain-button{font-size:var(--ui-text-md)!important}

/* Shop: header fixed, only content scrolls; no browser-page scroll and no Fragment runtime crash. */
.game-shell .panel-overlay>.collection-card.shop-card{width:min(390px,100%)!important;height:min(760px,calc(100dvh - 24px))!important;max-height:calc(100dvh - 24px)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.game-shell .shop-card>.panel-header{flex:0 0 auto!important}
.game-shell .shop-scroll{flex:1 1 auto!important;min-height:0!important;display:block!important;overflow-x:hidden!important;overflow-y:auto!important;padding:5px 11px 13px 5px!important}
.game-shell .shop-card .shop-hero{margin:4px 3px 12px!important}
.game-shell .shop-card .shop-title{margin:12px 5px 8px!important}
.game-shell .shop-card .ad-free-list,.game-shell .shop-card .product-list{padding-inline:3px!important}
.game-shell .shop-card .ad-free-product,.game-shell .shop-card .product-list button{width:100%!important;box-sizing:border-box!important}

@media(max-width:350px){
  .game-shell .menu-achievement-shortcut{width:64px!important;height:64px!important;right:5px!important;top:-29px!important}
  .game-shell .achievement-item-card{grid-template-columns:82px minmax(0,1fr)!important;gap:6px 10px!important;padding:12px!important}
  .game-shell .achievement-badge{width:80px!important;height:80px!important;border-radius:24px!important}
  .game-shell .achievement-item-card>strong{font-size:15px!important}
  .game-shell .achievement-item-card>p,.game-shell .achievement-card-footer{font-size:12px!important}
}
@media(max-height:690px){
  .game-shell .achievement-item-card{min-height:142px!important}
  .game-shell .achievement-badge{width:82px!important;height:82px!important}
  .game-shell .achievement-item-card{grid-template-columns:84px minmax(0,1fr)!important}
  .game-shell .unlock-achievement-preview{width:118px!important;height:118px!important}
  .achievement-card h2{font-size:26px!important}
}

.game-shell .achievement-mini-trophy{position:relative;display:block;width:18px;height:18px;color:currentColor}
.game-shell .achievement-mini-trophy::before{content:"";position:absolute;left:4px;top:2px;width:10px;height:8px;border:2px solid currentColor;border-radius:3px 3px 7px 7px;box-sizing:border-box}
.game-shell .achievement-mini-trophy::after{content:"";position:absolute;left:5px;bottom:2px;width:8px;height:2px;border-radius:99px;background:currentColor;box-shadow:0 -4px 0 -1px currentColor}
.game-shell .unlock-theme-achievement-icon{position:absolute!important;z-index:4!important;left:12px!important;top:12px!important;width:46px!important;height:46px!important;border-radius:14px!important;box-shadow:0 4px 0 rgba(55,60,79,.15)!important}

/* v45 narrow-layout safeguards */
.game-shell .shop-card .shop-hero{overflow:clip!important;max-width:100%!important;box-sizing:border-box!important;contain:paint!important}
.game-shell .achievement-item-card,.game-shell .achievement-item-card>*{min-width:0!important}
.game-shell .achievement-card-footer{max-width:100%!important;flex-wrap:wrap!important}
.game-shell .achievement-reward-pill,.game-shell .achievement-cosmetic-pill{max-width:100%!important}
.game-shell .panel-header{box-sizing:border-box!important;max-width:100%!important}
@media(max-width:370px){
  .game-shell .panel-header{grid-template-columns:40px minmax(0,1fr) 62px!important;gap:5px!important}
  .game-shell .panel-header h2{font-size:22px!important;line-height:1!important;min-width:0!important;overflow-wrap:anywhere!important}
  .game-shell .panel-header .star-balance{min-width:0!important;width:62px!important;padding-inline:6px!important}
  .game-shell .achievement-item-card{grid-template-columns:78px minmax(0,1fr)!important;grid-template-areas:"badge title" "badge desc" "badge footer" "track track"!important;padding:12px 11px 11px!important;gap:6px 9px!important;overflow:clip!important}
  .game-shell .achievement-badge{width:76px!important;height:76px!important;border-radius:23px!important}
  .game-shell .achievement-card-footer{font-size:12px!important;gap:5px!important}
  .game-shell .achievement-reward-pill,.game-shell .achievement-cosmetic-pill{min-height:24px!important;padding:4px 7px!important;font-size:12px!important}
}


/* v46 final layout: achievement shortcut, two-column meta, stable cosmetic cards */
.game-shell .menu-actions{position:relative!important}
.game-shell .menu-achievement-shortcut{
  top:184px!important;
  right:-10px!important;
  width:64px!important;
  height:64px!important;
  border-radius:21px!important;
  transform:rotate(-9deg)!important;
  z-index:7!important;
}
.game-shell .menu-achievement-shortcut:hover{transform:rotate(-6deg) translateY(-2px) scale(1.04)!important}
.game-shell .menu-achievement-shortcut:active{transform:rotate(-8deg) translateY(2px) scale(.98)!important}
.game-shell .menu-achievement-shortcut img{border-radius:18px!important}

/* Achievements are deliberately two per row. */
.game-shell .achievement-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  align-content:start!important;
  padding:4px 3px 12px 1px!important;
}
.game-shell .achievement-item-card{
  min-width:0!important;
  min-height:258px!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:104px auto minmax(42px,auto) auto 9px!important;
  grid-template-areas:"badge" "title" "desc" "footer" "track"!important;
  align-items:start!important;
  justify-items:center!important;
  gap:7px!important;
  padding:12px 10px 11px!important;
  text-align:center!important;
  overflow:hidden!important;
  border-radius:22px!important;
}
.game-shell .achievement-badge{
  grid-area:badge!important;
  width:104px!important;
  height:104px!important;
  align-self:start!important;
  justify-self:center!important;
  border-radius:28px!important;
}
.game-shell .achievement-icon-art{width:104px!important;height:104px!important}
.game-shell .achievement-item-card>strong{
  grid-area:title!important;
  width:100%!important;
  padding:0 4px!important;
  text-align:center!important;
  font:900 var(--ui-text-md)/1.18 var(--ui-font,system-ui)!important;
  overflow-wrap:anywhere!important;
}
.game-shell .achievement-item-card>p{
  grid-area:desc!important;
  width:100%!important;
  margin:0!important;
  min-height:42px!important;
  text-align:center!important;
  font:750 var(--ui-text-sm)/1.3 var(--ui-font,system-ui)!important;
  overflow-wrap:anywhere!important;
}
.game-shell .achievement-card-footer{
  grid-area:footer!important;
  width:100%!important;
  min-height:29px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  flex-wrap:wrap!important;
  margin:0!important;
  font:850 var(--ui-text-sm)/1.15 var(--ui-font,system-ui)!important;
}
.game-shell .achievement-reward-pill,.game-shell .achievement-cosmetic-pill{
  min-height:27px!important;
  padding:5px 8px!important;
  font-size:var(--ui-text-sm)!important;
}
.game-shell .achievement-progress-track{grid-area:track!important;width:100%!important;margin:0!important}
.game-shell .achievement-item-card.completed::after{top:10px!important;right:10px!important}

/* Every ball/background card uses the same visual slots: art, title, status/price. */
.game-shell .cosmetic-grid:not(.achievement-grid) .cosmetic-card{
  position:relative!important;
  min-height:188px!important;
  height:188px!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:98px 46px 30px!important;
  align-items:center!important;
  justify-items:center!important;
  gap:3px!important;
  padding:8px 8px 7px!important;
  overflow:hidden!important;
}
.game-shell .cosmetic-grid:not(.achievement-grid) .ball-card>img{
  grid-row:1!important;
  align-self:center!important;
  width:88px!important;
  height:88px!important;
  object-fit:contain!important;
  margin:0!important;
}
.game-shell .cosmetic-grid:not(.achievement-grid) .theme-card>.theme-preview{
  grid-row:1!important;
  align-self:center!important;
  width:100%!important;
  height:92px!important;
  margin:0!important;
  border-radius:17px!important;
}
.game-shell .cosmetic-grid:not(.achievement-grid) .cosmetic-card>strong{
  grid-row:2!important;
  width:100%!important;
  min-height:46px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  margin:0!important;
  padding:0 3px!important;
  font:900 var(--ui-text-md)/1.15 var(--ui-font,system-ui)!important;
  overflow-wrap:anywhere!important;
}
.game-shell .cosmetic-grid:not(.achievement-grid) .cosmetic-card>small{
  grid-row:3!important;
  align-self:center!important;
  justify-self:center!important;
  width:auto!important;
  max-width:96%!important;
  min-width:64px!important;
  height:28px!important;
  min-height:28px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0 9px!important;
  border-radius:999px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font:850 var(--ui-text-sm)/1 var(--ui-font,system-ui)!important;
}
.game-shell .ball-lock-badge,.game-shell .theme-lock-badge{
  position:absolute!important;
  z-index:5!important;
  top:8px!important;
  right:8px!important;
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  min-height:30px!important;
  margin:0!important;
  padding:0!important;
  border-radius:10px!important;
}
.game-shell .achievement-mini-trophy{width:17px!important;height:17px!important}

@media (min-width:430px) and (min-height:800px){
  .game-shell .menu-achievement-shortcut{top:203px!important;right:-9px!important;width:68px!important;height:68px!important}
  .game-shell .achievement-item-card{min-height:266px!important}
}
@media (max-width:370px){
  .game-shell .menu-achievement-shortcut{top:166px!important;right:-6px!important;width:58px!important;height:58px!important}
  .game-shell .achievement-grid{gap:8px!important}
  .game-shell .achievement-item-card{min-height:244px!important;grid-template-rows:94px auto minmax(40px,auto) auto 8px!important;padding:10px 8px!important}
  .game-shell .achievement-badge,.game-shell .achievement-icon-art{width:94px!important;height:94px!important}
  .game-shell .achievement-item-card>strong{font-size:15px!important}
  .game-shell .achievement-item-card>p,.game-shell .achievement-card-footer{font-size:12px!important}
  .game-shell .cosmetic-grid:not(.achievement-grid) .cosmetic-card{height:182px!important;min-height:182px!important;grid-template-rows:94px 44px 28px!important}
  .game-shell .cosmetic-grid:not(.achievement-grid) .ball-card>img{width:84px!important;height:84px!important}
  .game-shell .cosmetic-grid:not(.achievement-grid) .cosmetic-card>strong{font-size:15px!important;min-height:44px!important}
  .game-shell .cosmetic-grid:not(.achievement-grid) .cosmetic-card>small{font-size:12px!important;height:27px!important;min-height:27px!important}
}


/* v46b: achievement shortcut anchored to leaderboard row */
.game-shell .menu-grid{position:relative!important}
.game-shell .menu-grid>.menu-achievement-shortcut{
  top:auto!important;
  right:-17px!important;
  bottom:37px!important;
  width:64px!important;
  height:64px!important;
  transform:rotate(-9deg)!important;
}
@media (min-width:430px) and (min-height:800px){
  .game-shell .menu-grid>.menu-achievement-shortcut{right:-20px!important;bottom:40px!important;width:68px!important;height:68px!important}
}
@media (max-width:370px){
  .game-shell .menu-grid>.menu-achievement-shortcut{right:-10px!important;bottom:34px!important;width:58px!important;height:58px!important}
}


/* v46c: two-column achievement cards with enough room for every localized label */
.game-shell .achievement-item-card{
  min-height:304px!important;
  grid-template-rows:104px minmax(38px,auto) minmax(60px,auto) auto 9px!important;
  overflow:hidden!important;
}
.game-shell .achievement-item-card>strong{min-height:38px!important;display:flex!important;align-items:center!important;justify-content:center!important}
.game-shell .achievement-item-card>p{min-height:60px!important;display:flex!important;align-items:flex-start!important;justify-content:center!important}
@media(max-width:370px){
  .game-shell .achievement-item-card{min-height:300px!important;grid-template-rows:94px minmax(36px,auto) minmax(64px,auto) auto 8px!important}
  .game-shell .achievement-item-card>strong{min-height:36px!important}
  .game-shell .achievement-item-card>p{min-height:64px!important}
}


/* v52 onboarding: bank-shot tutorial */
.game-shell .bank-tutorial-card{bottom:max(54px,calc(env(safe-area-inset-bottom) + 40px))!important;width:min(360px,calc(100% - 42px))!important;grid-template-columns:60px 1fr!important;padding:16px 19px!important;border:2px solid color-mix(in srgb,var(--game-star) 42%,transparent)!important;background:color-mix(in srgb,var(--game-panel) 95%,var(--game-star) 5%)!important;box-shadow:0 6px 0 color-mix(in srgb,var(--game-ink) 18%,transparent),0 12px 30px color-mix(in srgb,var(--game-ink) 10%,transparent)!important}
.game-shell .bank-tutorial-icon{grid-row:1/3;position:relative;width:56px;height:56px;border-radius:18px;background:linear-gradient(145deg,var(--game-star),color-mix(in srgb,var(--game-star) 72%,#ff8737));box-shadow:inset 0 2px 0 rgba(255,255,255,.42),0 4px 0 color-mix(in srgb,var(--game-star) 55%,#a86920)}
.game-shell .bank-tutorial-icon::before{content:"";position:absolute;top:9px;bottom:9px;width:5px;border-radius:99px;background:#fff;opacity:.95}
.game-shell .bank-tutorial-card.side-left .bank-tutorial-icon::before{left:9px}.game-shell .bank-tutorial-card.side-right .bank-tutorial-icon::before{right:9px}
.game-shell .bank-tutorial-icon::after{content:"";position:absolute;width:17px;height:17px;border-radius:50%;background:#ff7a3f;border:3px solid #fff;top:19px;box-shadow:0 3px 0 rgba(105,68,34,.18)}
.game-shell .bank-tutorial-card.side-left .bank-tutorial-icon::after{left:24px}.game-shell .bank-tutorial-card.side-right .bank-tutorial-icon::after{right:24px}
.game-shell .bank-tutorial-card strong{font-size:18px!important;line-height:1.12!important;color:var(--game-ink)!important}
.game-shell .bank-tutorial-card small{font-size:13px!important;line-height:1.32!important;color:var(--game-muted)!important}
@media(max-width:360px){.game-shell .bank-tutorial-card{width:calc(100% - 30px)!important;grid-template-columns:52px 1fr!important;column-gap:11px!important;padding:14px 15px!important}.game-shell .bank-tutorial-icon{width:50px;height:50px;border-radius:16px}.game-shell .bank-tutorial-card strong{font-size:16px!important}.game-shell .bank-tutorial-card small{font-size:12px!important}}


/* v53 tutorial polish */
.game-shell .tutorial-card{width:min(380px,calc(100% - 36px))!important;grid-template-columns:60px 1fr!important;column-gap:14px!important;padding:16px 18px!important;border-radius:26px!important;border:2px solid color-mix(in srgb,var(--game-panel) 84%,rgba(255,255,255,.78))!important;background:linear-gradient(180deg,color-mix(in srgb,var(--game-panel) 96%,white 4%) 0%,color-mix(in srgb,var(--game-panel) 90%,var(--game-star) 10%) 100%)!important;box-shadow:0 6px 0 color-mix(in srgb,var(--game-ink) 16%,transparent),0 14px 30px color-mix(in srgb,var(--game-ink) 10%,transparent)!important;backdrop-filter:blur(8px)}
.game-shell .tutorial-card-primary{bottom:max(62px,calc(env(safe-area-inset-bottom) + 48px))!important}
.game-shell .tutorial-copy{display:grid;align-content:center}
.game-shell .tutorial-chip{display:inline-flex;align-items:center;justify-content:center;width:max-content;min-height:22px;padding:0 10px;margin-bottom:6px;border-radius:999px;background:color-mix(in srgb,var(--game-accent) 16%,white);color:var(--game-accent);box-shadow:inset 0 1px 0 rgba(255,255,255,.7);font:900 10px/1 var(--ui-font)!important;letter-spacing:.08em}
.game-shell .tutorial-chip-bank{background:color-mix(in srgb,var(--game-star) 24%,white);color:#8a6117}
.game-shell .tutorial-hand{width:54px!important;height:54px!important;border-radius:18px!important;background:linear-gradient(145deg,var(--game-accent),color-mix(in srgb,var(--game-accent) 68%,#ff9b66))!important;box-shadow:inset 0 2px 0 rgba(255,255,255,.4),0 5px 0 color-mix(in srgb,var(--game-accent) 58%,#7f341f)!important;font-size:30px!important}
.game-shell .tutorial-card strong{font-size:18px!important;line-height:1.15!important;color:var(--game-ink)!important}
.game-shell .tutorial-card small{font-size:13px!important;line-height:1.34!important;color:color-mix(in srgb,var(--game-ink) 68%,var(--game-muted))!important;margin-top:4px!important}
.game-shell .bank-tutorial-card{bottom:max(68px,calc(env(safe-area-inset-bottom) + 52px))!important;width:min(382px,calc(100% - 34px))!important;background:linear-gradient(180deg,color-mix(in srgb,var(--game-panel) 96%,white 4%) 0%,color-mix(in srgb,var(--game-panel) 90%,var(--game-star) 10%) 100%)!important;border:2px solid color-mix(in srgb,var(--game-star) 48%,transparent)!important;box-shadow:0 6px 0 color-mix(in srgb,var(--game-ink) 18%,transparent),0 16px 34px color-mix(in srgb,var(--game-ink) 11%,transparent)!important}
.game-shell .bank-tutorial-icon{width:58px!important;height:58px!important;border-radius:20px!important;background:linear-gradient(145deg,var(--game-star),color-mix(in srgb,var(--game-star) 72%,#ff8737))!important;box-shadow:inset 0 2px 0 rgba(255,255,255,.42),0 5px 0 color-mix(in srgb,var(--game-star) 55%,#a86920)!important}
.game-shell .bank-tutorial-icon::before{width:6px!important;top:8px!important;bottom:8px!important}
.game-shell .bank-tutorial-icon::after{width:18px!important;height:18px!important;top:20px!important}
@media(max-width:380px){.game-shell .tutorial-card{width:calc(100% - 28px)!important;grid-template-columns:52px 1fr!important;column-gap:11px!important;padding:14px 14px!important}.game-shell .tutorial-hand,.game-shell .bank-tutorial-icon{width:50px!important;height:50px!important;border-radius:17px!important}.game-shell .tutorial-card strong{font-size:16px!important}.game-shell .tutorial-card small{font-size:12px!important}.game-shell .tutorial-chip{font-size:9px!important;padding:0 8px!important}}


/* v54 tutorial sizing pass */
.game-shell .tutorial-card{width:min(436px,calc(100% - 28px))!important;grid-template-columns:72px 1fr!important;column-gap:18px!important;padding:20px 22px!important;border-radius:28px!important;bottom:max(70px,calc(env(safe-area-inset-bottom) + 54px))!important}
.game-shell .tutorial-card-primary{bottom:max(72px,calc(env(safe-area-inset-bottom) + 56px))!important}
.game-shell .tutorial-hand{width:64px!important;height:64px!important;border-radius:21px!important;font-size:35px!important}
.game-shell .tutorial-chip{min-height:25px!important;padding:0 12px!important;margin-bottom:8px!important;font-size:11px!important}
.game-shell .tutorial-card strong{font-size:22px!important;line-height:1.12!important}
.game-shell .tutorial-card small{font-size:15px!important;line-height:1.36!important;margin-top:5px!important}
.game-shell .bank-tutorial-card{width:min(442px,calc(100% - 26px))!important;grid-template-columns:72px 1fr!important;column-gap:18px!important;padding:20px 22px!important;bottom:max(76px,calc(env(safe-area-inset-bottom) + 60px))!important}
.game-shell .bank-tutorial-icon{width:64px!important;height:64px!important;border-radius:22px!important}
.game-shell .bank-tutorial-icon::before{width:7px!important;top:9px!important;bottom:9px!important}.game-shell .bank-tutorial-icon::after{width:20px!important;height:20px!important;top:22px!important}
@media(max-width:420px){.game-shell .tutorial-card{width:calc(100% - 24px)!important;grid-template-columns:60px 1fr!important;column-gap:13px!important;padding:16px 16px!important}.game-shell .bank-tutorial-card{width:calc(100% - 24px)!important;grid-template-columns:60px 1fr!important;column-gap:13px!important;padding:16px 16px!important}.game-shell .tutorial-hand,.game-shell .bank-tutorial-icon{width:54px!important;height:54px!important;border-radius:18px!important}.game-shell .tutorial-card strong{font-size:18px!important}.game-shell .tutorial-card small{font-size:13px!important}.game-shell .tutorial-chip{font-size:10px!important;min-height:22px!important}}


/* v57 bank tutorial: minimal guide, keep the exact aim mark unobstructed */
@media (min-width: 560px){
  .game-shell .bank-tutorial-card{width:min(392px,calc(100% - 48px))!important;left:auto!important;transform:none!important;bottom:max(58px,calc(env(safe-area-inset-bottom) + 44px))!important}
  .game-shell .bank-tutorial-card.side-left{left:20px!important;right:auto!important}
  .game-shell .bank-tutorial-card.side-right{right:20px!important;left:auto!important}
}


/* v63: light-weight currency feedback and achievement affordance */
.game-shell .star-pill,
.game-shell .star-balance{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  color:#774d0d!important;
  border-color:rgba(255,241,164,.92)!important;
  background:linear-gradient(145deg,#fff8b8 0%,#ffe05a 56%,#ffc33e 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.82),0 4px 0 rgba(154,99,21,.16),0 9px 20px rgba(186,126,29,.12)!important;
}
.game-shell .star-pill::before,
.game-shell .star-balance::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:1px 1px auto;
  height:46%;
  border-radius:inherit;
  background:linear-gradient(180deg,rgba(255,255,255,.48),rgba(255,255,255,0));
  pointer-events:none;
}
.game-shell .star-pill::after,
.game-shell .star-balance::after{
  content:"";
  position:absolute;
  z-index:2;
  top:-45%;
  bottom:-45%;
  left:-26%;
  width:18%;
  opacity:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.7),transparent);
  transform:translateX(-180%) rotate(17deg);
  animation:currency-window-glint 4.6s ease-in-out infinite;
  pointer-events:none;
}
.game-shell .currency-star{
  position:relative;
  z-index:3;
  display:inline-block;
  color:#f5a915!important;
  font-family:Arial,sans-serif;
  font-size:1.12em;
  line-height:1;
  -webkit-text-stroke:.7px rgba(132,79,9,.28);
  text-shadow:0 1px 0 #fff4a2,0 0 8px rgba(255,185,34,.42);
  transform:rotate(-7deg);
  animation:currency-star-idle 2.8s ease-in-out infinite;
}
.game-shell .star-credit-feedback{
  animation:currency-credit-flash .62s cubic-bezier(.2,1.2,.3,1) both;
}
.game-shell .star-credit-feedback .currency-star{
  animation:currency-credit-star .62s cubic-bezier(.18,1.45,.3,1) both,currency-star-idle 2.8s .62s ease-in-out infinite;
}

.game-shell .earned-stars-card{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-color:rgba(245,186,44,.62)!important;
  background:linear-gradient(135deg,color-mix(in srgb,#fff4a2 34%,var(--game-panel)),color-mix(in srgb,#ffd45a 16%,var(--game-panel)))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 5px 0 rgba(154,99,21,.12),0 12px 26px rgba(221,154,37,.13)!important;
  animation:earned-stars-enter .52s cubic-bezier(.18,1.25,.3,1) both;
}
.game-shell .earned-stars-card::after{
  content:"";
  position:absolute;
  z-index:-1;
  width:96px;
  height:96px;
  top:-59px;
  left:14px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,211,74,.38),rgba(255,211,74,0) 70%);
  pointer-events:none;
}
.game-shell .earned-stars-total>span.earned-stars-icon{
  color:#fff8ca!important;
  background:linear-gradient(145deg,#ffd954,#ee9b20)!important;
  border:1px solid rgba(255,255,255,.72);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 4px 0 rgba(160,93,18,.2),0 0 14px rgba(255,190,38,.25)!important;
  text-shadow:0 1px 0 rgba(129,73,8,.22),0 0 7px rgba(255,250,192,.8);
  animation:earned-star-breathe 2.55s ease-in-out infinite;
}
.game-shell .earned-stars-total strong.earned-stars-value{
  color:#d08a16!important;
  background:linear-gradient(180deg,#f6bf35 0%,#c77612 100%);
  background-clip:text;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  filter:drop-shadow(0 1px 0 rgba(255,255,255,.72));
  font-variant-numeric:tabular-nums;
}
.game-shell .earned-stars-card.reward-ready .earn-multiplier-button{
  position:relative;
  overflow:hidden;
  animation:reward-invite 2.35s ease-in-out infinite;
}
.game-shell .earned-stars-card.reward-ready .earn-multiplier-button::after{
  content:"";
  position:absolute;
  top:-70%;
  bottom:-70%;
  left:-35%;
  width:22%;
  opacity:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.62),transparent);
  transform:rotate(18deg);
  animation:reward-invite-glint 2.8s ease-in-out infinite;
  pointer-events:none;
}
.game-shell .earned-stars-card.reward-collected{
  border-color:rgba(63,190,137,.48)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 5px 0 rgba(44,145,104,.11),0 0 22px rgba(63,190,137,.12)!important;
}

.game-shell .menu-achievement-shortcut.achievement-button-idle{
  isolation:isolate;
  overflow:visible!important;
  border-color:rgba(255,255,255,.98)!important;
  background:linear-gradient(145deg,#ffd55b,#ec774d)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.54),0 7px 0 rgba(117,71,37,.2),0 14px 28px rgba(122,82,43,.2),0 0 0 3px rgba(255,205,80,.16)!important;
  animation:achievement-shortcut-float 3.7s ease-in-out infinite;
}
.game-shell .menu-achievement-shortcut.achievement-button-idle::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:-7px;
  border-radius:29px;
  background:radial-gradient(circle,rgba(255,210,84,.38),rgba(255,181,68,0) 70%);
  opacity:.45;
  transform:scale(.94);
  animation:achievement-shortcut-halo 3.7s ease-in-out infinite;
  pointer-events:none;
}
.game-shell .menu-achievement-shortcut.achievement-button-idle img{
  position:relative;
  z-index:1;
  filter:drop-shadow(0 2px 2px rgba(91,51,31,.14));
}
.game-shell .menu-achievement-shortcut.achievement-button-idle .achievement-menu-dot{z-index:3}
@media(hover:hover){
  .game-shell .menu-achievement-shortcut.achievement-button-idle:hover{
    animation-play-state:paused;
    translate:0 -3px!important;
    filter:brightness(1.06) saturate(1.08) drop-shadow(0 0 9px rgba(255,193,65,.5))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.62),0 8px 0 rgba(117,71,37,.18),0 17px 32px rgba(122,82,43,.24),0 0 0 4px rgba(255,216,101,.25)!important;
  }
  .game-shell .earned-stars-card.reward-ready .earn-multiplier-button:hover{
    transform:translateY(-2px) scale(1.025);
    filter:brightness(1.04) saturate(1.06);
    box-shadow:0 7px 0 color-mix(in srgb,var(--ui-reward-b) 74%,#9c4934),0 12px 24px color-mix(in srgb,var(--ui-reward-b) 24%,transparent)!important;
  }
}
.game-shell .menu-achievement-shortcut.achievement-button-idle:active{
  animation-play-state:paused;
  translate:0 2px!important;
}

@keyframes currency-window-glint{
  0%,62%,100%{opacity:0;transform:translateX(-180%) rotate(17deg)}
  70%{opacity:.72}
  82%{opacity:0;transform:translateX(760%) rotate(17deg)}
}
@keyframes currency-star-idle{
  0%,100%{transform:rotate(-7deg) scale(1);filter:brightness(1)}
  50%{transform:rotate(1deg) scale(1.055);filter:brightness(1.08)}
}
@keyframes currency-credit-flash{
  0%{filter:brightness(1) drop-shadow(0 0 0 rgba(255,197,49,0))}
  42%{filter:brightness(1.1) drop-shadow(0 0 8px rgba(255,197,49,.58))}
  100%{filter:brightness(1) drop-shadow(0 0 0 rgba(255,197,49,0))}
}
@keyframes currency-credit-star{
  0%{transform:rotate(-12deg) scale(.82);filter:brightness(1)}
  48%{transform:rotate(7deg) scale(1.28);filter:brightness(1.25)}
  100%{transform:rotate(-7deg) scale(1);filter:brightness(1)}
}
@keyframes earned-stars-enter{
  0%{opacity:.25;transform:translateY(5px) scale(.97);filter:brightness(1)}
  58%{opacity:1;transform:translateY(-1px) scale(1.015);filter:brightness(1.08)}
  100%{opacity:1;transform:none;filter:brightness(1)}
}
@keyframes earned-star-breathe{
  0%,100%{transform:rotate(-4deg) scale(1);filter:brightness(1)}
  50%{transform:rotate(4deg) scale(1.075);filter:brightness(1.12)}
}
@keyframes reward-invite{
  0%,100%{translate:0 0;filter:brightness(1)}
  50%{translate:0 -2px;filter:brightness(1.055)}
}
@keyframes reward-invite-glint{
  0%,48%,100%{left:-35%;opacity:0}
  57%{opacity:.65}
  72%{left:118%;opacity:0}
}
@keyframes achievement-shortcut-float{
  0%,100%{translate:0 0;filter:brightness(1)}
  50%{translate:0 -3px;filter:brightness(1.045)}
}
@keyframes achievement-shortcut-halo{
  0%,100%{opacity:.3;transform:scale(.94)}
  50%{opacity:.62;transform:scale(1.06)}
}
@media(prefers-reduced-motion:reduce){
  .game-shell .star-pill::after,
  .game-shell .star-balance::after,
  .game-shell .currency-star,
  .game-shell .star-credit-feedback,
  .game-shell .star-credit-feedback .currency-star,
  .game-shell .earned-stars-card,
  .game-shell .earned-stars-total>span.earned-stars-icon,
  .game-shell .earned-stars-card.reward-ready .earn-multiplier-button,
  .game-shell .earned-stars-card.reward-ready .earn-multiplier-button::after,
  .game-shell .menu-achievement-shortcut.achievement-button-idle,
  .game-shell .menu-achievement-shortcut.achievement-button-idle::before{
    animation:none!important;
  }
  .game-shell .menu-achievement-shortcut.achievement-button-idle{translate:0 0!important}
}

/* Keep every interaction inside the game UI instead of invoking browser chrome. */
.game-page,.game-shell,.game-shell *{
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-touch-callout:none!important;
  -webkit-tap-highlight-color:transparent!important;
}
.game-shell img,.game-shell svg{
  -webkit-user-drag:none;
  user-drag:none;
  pointer-events:none;
}
.game-shell button,.game-shell input,.game-shell label{
  touch-action:manipulation;
}
.game-shell .game-canvas{
  touch-action:none;
}

/* v72: compact, dismissible bank-shot tutorial that never blocks the active hoop. */
.game-shell .tutorial-card.bank-tutorial-card,
.game-shell .tutorial-card.bank-tutorial-card.side-left,
.game-shell .tutorial-card.bank-tutorial-card.side-right{
  box-sizing:border-box!important;
  top:max(116px,calc(env(safe-area-inset-top) + 102px))!important;
  bottom:auto!important;
  left:50%!important;
  right:auto!important;
  width:min(320px,calc(100% - 28px))!important;
  min-height:0!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  grid-template-rows:auto!important;
  column-gap:10px!important;
  padding:11px 38px 11px 12px!important;
  border:1.5px solid color-mix(in srgb,var(--game-star) 42%,transparent)!important;
  border-radius:18px!important;
  background:color-mix(in srgb,var(--game-panel) 82%,transparent)!important;
  box-shadow:0 4px 0 color-mix(in srgb,var(--game-ink) 12%,transparent),0 9px 22px color-mix(in srgb,var(--game-ink) 8%,transparent)!important;
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  transform:translateX(-50%)!important;
}
.game-shell .bank-tutorial-card .tutorial-copy{
  min-width:0;
}
.game-shell .bank-tutorial-card .bank-tutorial-icon{
  grid-row:1!important;
  width:42px!important;
  height:42px!important;
  border-radius:13px!important;
  align-self:center;
}
.game-shell .bank-tutorial-card .bank-tutorial-icon::before{
  top:6px!important;
  bottom:6px!important;
  width:4px!important;
}
.game-shell .bank-tutorial-card .bank-tutorial-icon::after{
  top:13px!important;
  width:13px!important;
  height:13px!important;
  border-width:2px!important;
}
.game-shell .bank-tutorial-card.side-left .bank-tutorial-icon::after{left:18px!important}
.game-shell .bank-tutorial-card.side-right .bank-tutorial-icon::after{right:18px!important}
.game-shell .bank-tutorial-card .tutorial-chip{
  min-height:20px!important;
  margin-bottom:4px!important;
  padding:0 8px!important;
  font-size:10px!important;
}
.game-shell .bank-tutorial-card strong{
  font-size:18px!important;
  line-height:1.12!important;
}
.game-shell .bank-tutorial-card small{
  margin-top:4px!important;
  font-size:13px!important;
  line-height:1.3!important;
}
.game-shell .bank-tutorial-close{
  position:absolute;
  z-index:2;
  top:5px;
  right:5px;
  width:29px;
  height:29px;
  padding:0;
  border:0;
  border-radius:10px;
  color:color-mix(in srgb,var(--game-ink) 72%,var(--game-muted));
  background:color-mix(in srgb,var(--game-panel) 58%,transparent);
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--game-muted) 18%,transparent);
  cursor:pointer;
  pointer-events:auto;
  -webkit-appearance:none;
  appearance:none;
  font:800 20px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.game-shell .bank-tutorial-close:active{
  transform:scale(.92);
}
.bank-tutorial-card-dismissed .game-shell .bank-tutorial-card{
  display:none!important;
}
@media(max-width:350px),(max-height:620px){
  .game-shell .tutorial-card.bank-tutorial-card,
  .game-shell .tutorial-card.bank-tutorial-card.side-left,
  .game-shell .tutorial-card.bank-tutorial-card.side-right{
    top:max(96px,calc(env(safe-area-inset-top) + 84px))!important;
    width:min(282px,calc(100% - 24px))!important;
    grid-template-columns:36px minmax(0,1fr)!important;
    column-gap:8px!important;
    padding:8px 34px 8px 9px!important;
    border-radius:16px!important;
  }
  .game-shell .bank-tutorial-card .bank-tutorial-icon{
    width:36px!important;
    height:36px!important;
    border-radius:12px!important;
  }
  .game-shell .bank-tutorial-card .tutorial-chip{font-size:9.5px!important}
  .game-shell .bank-tutorial-card strong{font-size:17px!important}
  .game-shell .bank-tutorial-card small{font-size:12px!important}
}
@media(prefers-reduced-motion:reduce){
  .game-shell .bank-tutorial-card{animation:none!important}
}

/* v76: readable first-drag hint beside the fixed starting hoop. */
.game-shell .tutorial-card.tutorial-card-primary{
  box-sizing:border-box!important;
  left:auto!important;
  right:10px!important;
  bottom:max(86px,calc(env(safe-area-inset-bottom) + 72px))!important;
  width:min(224px,61%)!important;
  min-height:0!important;
  grid-template-columns:40px minmax(0,1fr)!important;
  grid-template-rows:auto!important;
  column-gap:9px!important;
  padding:10px 11px!important;
  border:1.5px solid color-mix(in srgb,var(--game-accent) 26%,transparent)!important;
  border-radius:17px!important;
  background:color-mix(in srgb,var(--game-panel) 80%,transparent)!important;
  box-shadow:0 4px 0 color-mix(in srgb,var(--game-ink) 11%,transparent),0 8px 20px color-mix(in srgb,var(--game-ink) 7%,transparent)!important;
  -webkit-backdrop-filter:blur(7px);
  backdrop-filter:blur(7px);
  transform:none!important;
}
.game-shell .tutorial-card-primary .tutorial-hand{
  grid-row:1!important;
  width:40px!important;
  height:40px!important;
  border-radius:12px!important;
  font-size:25px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.38),0 3px 0 color-mix(in srgb,var(--game-accent) 52%,#7f341f)!important;
}
.game-shell .tutorial-card-primary .tutorial-chip{
  min-height:20px!important;
  margin-bottom:4px!important;
  padding:0 8px!important;
  font-size:10px!important;
}
.game-shell .tutorial-card-primary strong{
  font-size:16px!important;
  line-height:1.12!important;
}
.game-shell .tutorial-card-primary small{
  margin-top:4px!important;
  font-size:12px!important;
  line-height:1.28!important;
}
@media(max-width:340px),(max-height:620px){
  .game-shell .tutorial-card.tutorial-card-primary{
    right:8px!important;
    bottom:max(72px,calc(env(safe-area-inset-bottom) + 58px))!important;
    width:min(212px,62%)!important;
    grid-template-columns:36px minmax(0,1fr)!important;
    column-gap:8px!important;
    padding:9px 10px!important;
  }
  .game-shell .tutorial-card-primary .tutorial-hand{
    width:36px!important;
    height:36px!important;
    border-radius:11px!important;
    font-size:23px!important;
  }
  .game-shell .tutorial-card-primary .tutorial-chip{font-size:9.5px!important}
  .game-shell .tutorial-card-primary strong{font-size:15px!important}
  .game-shell .tutorial-card-primary small{font-size:12px!important}
}

/* v77: desktop hints are 20% larger; phone sizing above stays unchanged. */
@media(min-width:700px) and (min-height:680px) and (hover:hover) and (pointer:fine){
  .game-shell .tutorial-card.tutorial-card-primary{
    right:10px!important;
    width:min(269px,66%)!important;
    grid-template-columns:48px minmax(0,1fr)!important;
    column-gap:11px!important;
    padding:12px 13px!important;
    border-radius:20px!important;
  }
  .game-shell .tutorial-card-primary .tutorial-hand{
    width:48px!important;
    height:48px!important;
    border-radius:14px!important;
    font-size:30px!important;
  }
  .game-shell .tutorial-card-primary .tutorial-chip{
    min-height:24px!important;
    padding:0 10px!important;
    font-size:12px!important;
  }
  .game-shell .tutorial-card-primary strong{font-size:19.2px!important}
  .game-shell .tutorial-card-primary small{font-size:14.4px!important}

  .game-shell .tutorial-card.bank-tutorial-card,
  .game-shell .tutorial-card.bank-tutorial-card.side-left,
  .game-shell .tutorial-card.bank-tutorial-card.side-right{
    width:min(384px,calc(100% - 28px))!important;
    grid-template-columns:50px minmax(0,1fr)!important;
    column-gap:12px!important;
    padding:13px 46px 13px 14px!important;
    border-radius:22px!important;
  }
  .game-shell .bank-tutorial-card .bank-tutorial-icon{
    width:50px!important;
    height:50px!important;
    border-radius:15px!important;
  }
  .game-shell .bank-tutorial-card .tutorial-chip{
    min-height:24px!important;
    padding:0 10px!important;
    font-size:12px!important;
  }
  .game-shell .bank-tutorial-card strong{font-size:21.6px!important}
  .game-shell .bank-tutorial-card small{font-size:15.6px!important}
  .game-shell .bank-tutorial-close{
    width:34px;
    height:34px;
    font-size:24px;
  }
}


/* v78: keep gameplay overlays compositor-friendly on touch devices. */
@media (pointer:coarse){
  .game-shell .tutorial-card.bank-tutorial-card{
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
}


/* v82: +~10% readable/touchable UI without changing the game viewport or widening cards. */
.game-shell{--ui-control-h:59px}
.game-shell .hud-top{grid-template-columns:59px 1fr 88px!important}
.game-shell .round-button{width:55px!important;height:55px!important;border-radius:19px!important}
.game-shell .hud-sound-button{width:40px!important;height:40px!important;border-radius:13px!important;right:15px!important}
.game-shell .star-pill{min-height:35px!important;padding-inline:7px!important}
.game-shell .life-row{padding:5px 7px!important;gap:3px!important}
.game-shell .life-ball{width:28px!important;height:28px!important}
.game-shell .wave-meter span{width:15.5px!important;height:5.5px!important}
.game-shell .small-control{height:48px!important;min-height:48px!important;padding-inline:11px!important}
.game-shell .star-balance{height:43px!important;min-height:43px!important;padding-inline:13px!important}
.game-shell .menu-brand .app-icon{width:clamp(163px,46vw,194px)!important}
.game-shell .play-button{min-height:75px!important}
.game-shell .menu-tile{min-height:75px!important}
.game-shell .menu-settings button{min-height:53px!important}
.game-shell .pause-overlay .modal-card.compact>.primary-button,
.game-shell .pause-overlay .modal-card.compact>.plain-button{height:57px!important;min-height:57px!important}
.game-shell .pause-settings button{min-height:46px!important;height:46px!important}
.game-shell .gameover-overlay .secondary-button,
.game-shell .gameover-overlay .plain-button{height:55px!important;min-height:55px!important}
.game-shell .gameover-overlay .revive-choice{height:64px!important;min-height:64px!important}
.game-shell .panel-header>button{min-width:48px!important;min-height:48px!important}
.game-shell .tab-row button{min-height:46px!important}
.game-shell .play-button,.game-shell .menu-tile,.game-shell .primary-button,.game-shell .secondary-button,
.game-shell .plain-button,.game-shell .reward-button,.game-shell .small-control,.game-shell .setting-toggle,
.game-shell .revive-choice{white-space:nowrap}

/* Rating reward affordance: deliberately small in layout, visually loud like a notification. */
.game-shell .menu-actions,.game-shell .gameover-overlay .modal-card{position:relative}
.game-shell .rating-shortcut{
  position:absolute;z-index:8;width:62px;height:62px;padding:0;border:3px solid rgba(255,255,255,.92);border-radius:21px;
  display:grid;place-items:center;cursor:pointer;color:#fff;background:linear-gradient(145deg,#ff5252 0%,#ff7b2e 58%,#ffb51f 100%);
  box-shadow:0 7px 0 rgba(168,65,43,.72),0 13px 28px rgba(255,91,48,.28),inset 0 2px 0 rgba(255,255,255,.38);
  transform:rotate(-9deg);animation:rating-notice-wiggle 1.85s ease-in-out infinite;overflow:visible!important;
}
.game-shell .rating-shortcut>span{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:rgba(255,255,255,.2);color:#fff;font:1000 27px/1 var(--ui-font)!important;text-shadow:0 2px 0 rgba(128,49,36,.24)}
.game-shell .rating-shortcut>small{position:absolute;right:-10px;bottom:-8px;min-width:51px;padding:6px 7px;border:2px solid #fff;border-radius:999px;background:linear-gradient(145deg,#ffe46b,#ffb923);color:#6e470d;font:950 10px/1 var(--ui-font)!important;white-space:nowrap;box-shadow:0 4px 0 rgba(145,91,18,.2);transform:rotate(8deg)}
.game-shell .rating-shortcut-menu{right:7px;top:-69px}
.game-shell .rating-shortcut-gameover{right:13px;top:13px}
.game-shell .rating-shortcut:active{animation:none;transform:rotate(-5deg) translateY(3px) scale(.95)}

.game-shell .rating-offer-overlay{position:absolute;z-index:40;inset:0;padding:18px;display:grid;place-items:center;background:color-mix(in srgb,var(--game-ink) 48%,transparent);backdrop-filter:blur(5px);animation:overlay-in .16s ease-out both}
.game-shell .rating-offer-card{position:relative;isolation:isolate;width:min(354px,100%);padding:28px 22px 21px;border:3px solid rgba(255,255,255,.88);border-radius:30px;text-align:center;color:var(--game-ink);background:linear-gradient(180deg,color-mix(in srgb,var(--game-panel) 96%,#fff7da 4%),color-mix(in srgb,var(--game-panel) 88%,#ffe18a 12%));box-shadow:0 11px 0 color-mix(in srgb,var(--game-ink) 16%,transparent),0 24px 52px color-mix(in srgb,var(--game-ink) 24%,transparent);overflow:hidden;animation:rating-card-pop .36s cubic-bezier(.2,1.35,.3,1) both}
.game-shell .rating-offer-glow{position:absolute;z-index:-1;width:230px;height:230px;left:50%;top:-134px;translate:-50% 0;border-radius:50%;background:radial-gradient(circle,rgba(255,213,65,.48),rgba(255,153,47,.12) 54%,transparent 70%);animation:rating-glow 2s ease-in-out infinite}
.game-shell .rating-offer-icon{display:grid;place-items:center;width:82px;height:82px;margin:0 auto 10px;border:4px solid #fff;border-radius:27px;color:#fff;background:linear-gradient(145deg,#ff5350,#ff8b2e);box-shadow:0 7px 0 #bd4d37,0 12px 22px rgba(255,91,46,.2);font:1000 47px/1 var(--ui-font)!important;transform:rotate(-7deg);animation:rating-icon-bob 1.7s ease-in-out infinite}
.game-shell .rating-offer-reward{display:inline-flex;align-items:center;justify-content:center;min-height:31px;padding:0 13px;margin-bottom:10px;border:2px solid rgba(255,255,255,.95);border-radius:999px;background:linear-gradient(145deg,#ffe66e,#ffbf2f);color:#71480f;box-shadow:0 4px 0 rgba(153,96,20,.18);font:950 14px/1 var(--ui-font)!important;white-space:nowrap}
.game-shell .rating-offer-card h2{margin:2px 0 8px;color:var(--game-ink);font:950 24px/1.05 var(--ui-font)!important;letter-spacing:-.025em}
.game-shell .rating-offer-card p{margin:0 auto 17px;max-width:285px;color:color-mix(in srgb,var(--game-ink) 72%,var(--game-muted));font:800 13px/1.38 var(--ui-font)!important}
.game-shell .rating-offer-actions{width:100%}.game-shell .rating-offer-action{min-height:58px!important;border-radius:18px!important;font-size:16px!important;white-space:nowrap!important}
.game-shell .rating-offer-later{width:100%!important;min-height:47px!important;margin-top:11px!important;border:0!important;border-radius:16px!important;color:#fff!important;background:linear-gradient(145deg,var(--ui-vibe-a),var(--ui-vibe-b))!important;box-shadow:0 5px 0 color-mix(in srgb,var(--ui-vibe-b) 72%,#493da0)!important;font-size:14px!important;white-space:nowrap!important}
.game-shell .rating-offer-card.is-success .rating-offer-icon{background:linear-gradient(145deg,#ffd95b,#f5a62f);box-shadow:0 7px 0 #b77824,0 12px 22px rgba(245,169,47,.22);transform:rotate(5deg)}
.game-shell .rating-offer-card.is-success .rating-offer-reward{background:linear-gradient(145deg,#9af0ca,#44c896);color:#17684d}
@keyframes rating-notice-wiggle{0%,65%,100%{transform:rotate(-9deg) translateY(0) scale(1)}72%{transform:rotate(-15deg) translateY(-4px) scale(1.06)}79%{transform:rotate(-4deg) translateY(0) scale(1.02)}86%{transform:rotate(-12deg) translateY(-2px) scale(1.04)}93%{transform:rotate(-9deg) translateY(0) scale(1)}}
@keyframes rating-card-pop{0%{opacity:0;transform:translateY(18px) scale(.88) rotate(-2deg)}72%{opacity:1;transform:translateY(-2px) scale(1.015) rotate(.4deg)}100%{opacity:1;transform:none}}
@keyframes rating-icon-bob{0%,100%{translate:0 0;rotate:-2deg}50%{translate:0 -4px;rotate:3deg}}
@keyframes rating-glow{0%,100%{opacity:.65;scale:.9}50%{opacity:1;scale:1.08}}

/* Keep compact/short devices safe above the platform's bottom sticky area. */
@media(max-height:700px){
  .game-shell{--ui-control-h:54px}
  .game-shell .menu-brand .app-icon{width:145px!important}
  .game-shell .play-button{min-height:64px!important}
  .game-shell .menu-tile{min-height:66px!important}
  .game-shell .menu-settings button{min-height:48px!important}
  .game-shell .gameover-overlay .revive-choice{height:58px!important;min-height:58px!important}
  .game-shell .gameover-overlay .secondary-button,.game-shell .gameover-overlay .plain-button{height:52px!important;min-height:52px!important}
  .game-shell .rating-shortcut{width:57px;height:57px;border-radius:19px}
  .game-shell .rating-shortcut-menu{top:-61px;right:5px}
  .game-shell .rating-offer-card{padding:20px 18px 17px;border-radius:25px}
  .game-shell .rating-offer-icon{width:68px;height:68px;border-radius:22px;font-size:39px!important;margin-bottom:8px}
  .game-shell .rating-offer-card h2{font-size:21px!important}
  .game-shell .rating-offer-card p{margin-bottom:13px;font-size:12px!important}
}
@media(max-width:350px){
  .game-shell .rating-shortcut{width:55px;height:55px}
  .game-shell .rating-shortcut>small{right:-7px;min-width:48px;padding-inline:6px}
  .game-shell .rating-offer-overlay{padding:12px}
}

/* Desktop receives the same ~10% control growth; text labels keep their previous font sizes. */
@media (min-width:780px) and (min-height:760px) and (pointer:fine){
  .game-shell{--ui-control-h:65px}
  .game-shell .hud-top{grid-template-columns:86px 1fr 145px!important}
  .game-shell .round-button{width:79px!important;height:79px!important;border-radius:25px!important}
  .game-shell .hud-sound-button{width:68px!important;height:68px!important;right:23px!important;border-radius:22px!important}
  .game-shell .score-value{font-size:88px!important}
  .game-shell .star-pill{min-height:53px!important}
  .game-shell .life-ball{width:40px!important;height:40px!important}
  .game-shell .small-control{height:65px!important;min-height:65px!important}
  .game-shell .star-balance{height:58px!important;min-height:58px!important}
  .game-shell .menu-brand .app-icon{width:clamp(224px,41vw,253px)!important}
  .game-shell .play-button{min-height:99px!important}
  .game-shell .menu-tile{min-height:94px!important}
  .game-shell .menu-settings .setting-toggle{height:69px!important;min-height:69px!important}
  .game-shell .panel-header button{width:58px!important;height:58px!important}
  .game-shell .tab-row button{min-height:56px!important}
  .game-shell .pause-overlay .modal-card.compact>.primary-button,
  .game-shell .pause-overlay .modal-card.compact>.plain-button{height:79px!important;min-height:79px!important}
  .game-shell .pause-settings button{min-height:65px!important;height:65px!important}
  .game-shell .gameover-overlay .secondary-button,.game-shell .gameover-overlay .plain-button{min-height:64px!important;height:64px!important}
  .game-shell .gameover-overlay .revive-choice{min-height:70px!important;height:70px!important}
  .game-shell .rating-shortcut{width:68px;height:68px}
  .game-shell .rating-shortcut-menu{top:-76px}
  .game-shell .rating-shortcut-gameover{right:15px;top:15px}
  .game-shell .rating-offer-card{width:min(386px,100%);padding:31px 25px 24px}
  .game-shell .rating-offer-icon{width:90px;height:90px;font-size:51px!important}
}
@media(prefers-reduced-motion:reduce){
  .game-shell .rating-shortcut,.game-shell .rating-offer-card,.game-shell .rating-offer-icon,.game-shell .rating-offer-glow{animation:none!important}
}

/* v82 narrow-phone fit: keep label fonts unchanged; reclaim space from decorative glyphs/padding. */
@media(max-width:380px){
  .game-shell .menu-grid{gap:8px!important}
  .game-shell .menu-tile{padding-inline:5px!important;gap:4px!important}
  .game-shell .menu-grid .collection-tile>span,
  .game-shell .menu-grid .collection-tile>.collection-glyph,
  .game-shell .menu-grid .collection-tile>span.collection-glyph{
    flex-basis:30px!important;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important
  }
  .game-shell .menu-grid .shop-tile>span{width:32px!important;height:28px!important}
}
@media(max-width:380px){
  .game-shell .gameover-overlay .revive-choice{padding-inline:6px!important;gap:5px!important}
  .game-shell .gameover-overlay .revive-choice-icon{width:24px!important;height:24px!important;flex-basis:24px!important;border-radius:8px!important}
}
@media(max-width:340px){
  .game-shell .menu-tile{padding-inline:4px!important;gap:3px!important}
  .game-shell .menu-grid .collection-tile>span,
  .game-shell .menu-grid .collection-tile>.collection-glyph,
  .game-shell .menu-grid .collection-tile>span.collection-glyph{
    flex-basis:24px!important;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important
  }
  .game-shell .gameover-overlay .revive-choice{padding-inline:3px!important;gap:3px!important}
  .game-shell .gameover-overlay .revive-choice-icon{width:20px!important;height:20px!important;flex-basis:20px!important;border-radius:7px!important;font-size:12px!important}
}

/* v84: main-menu settings removed; rating bonus uses a restrained gold shimmer. */
.game-shell .rating-bonus-badge,
.game-shell .rating-offer-reward,
.game-shell .rating-action-copy{
  align-items:center;
  justify-content:center;
  gap:2px;
}
.game-shell .rating-bonus-badge,
.game-shell .rating-action-copy{display:inline-flex}
.game-shell .rating-offer-reward{gap:3px}
.game-shell .rating-bonus-number{
  display:inline-block;
  font-weight:1000!important;
  letter-spacing:-.035em;
  color:#9a6508;
  background:linear-gradient(105deg,#9a6508 0%,#c88c20 38%,#fff0a6 49%,#c88c20 60%,#9a6508 100%);
  background-size:220% 100%;
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  filter:drop-shadow(0 1px 0 rgba(255,255,255,.38)) drop-shadow(0 1px 1px rgba(88,55,8,.18));
  animation:rating-bonus-shimmer 3.2s ease-in-out infinite;
}
.game-shell .rating-shortcut>small .rating-bonus-number{
  font-size:13px!important;
  line-height:.82!important;
}
.game-shell .rating-offer-reward .rating-bonus-number{
  font-size:18px!important;
  line-height:.9!important;
}
.game-shell .rating-offer-action .rating-bonus-number{
  font-size:20px!important;
  line-height:.8!important;
  color:#fff0a0;
  background-image:linear-gradient(105deg,#ffd765 0%,#ffe99a 38%,#fffbd9 49%,#ffe99a 60%,#ffd765 100%);
  filter:drop-shadow(0 1px 1px rgba(105,55,12,.25));
}
@keyframes rating-bonus-shimmer{
  0%,18%{background-position:135% 50%}
  72%,100%{background-position:-55% 50%}
}
@media(prefers-reduced-motion:reduce){
  .game-shell .rating-bonus-number{animation:none!important;background-position:50% 50%!important}
}


/* v86: center the main menu after removing its settings row; enlarge the rating reward shortcut. */
@media (min-height:521px){
  .game-shell .menu-screen{
    justify-content:center!important;
    gap:clamp(24px,4.2svh,42px)!important;
  }
  .game-shell .menu-topline{
    position:absolute!important;
    top:max(23px,env(safe-area-inset-top))!important;
    left:27px!important;
    right:27px!important;
    z-index:3;
  }
  .game-shell .menu-brand{
    margin-top:0!important;
  }
  .game-shell .menu-actions{
    margin:0 auto!important;
  }
}

.game-shell .rating-shortcut{
  width:76px!important;
  height:76px!important;
  border-radius:25px!important;
}
.game-shell .rating-shortcut>span{
  width:41px!important;
  height:41px!important;
  border-radius:14px!important;
  font-size:32px!important;
}
.game-shell .rating-shortcut>small{
  right:-12px!important;
  bottom:-10px!important;
  min-width:61px!important;
  padding:7px 9px!important;
  font-size:12px!important;
}
.game-shell .rating-shortcut-menu{
  top:-85px!important;
  right:6px!important;
}
.game-shell .rating-shortcut>small .rating-bonus-number{
  font-size:17px!important;
  line-height:.84!important;
}

@media(max-height:700px) and (min-height:521px){
  .game-shell .menu-screen{gap:20px!important}
  .game-shell .rating-shortcut{width:68px!important;height:68px!important;border-radius:22px!important}
  .game-shell .rating-shortcut>span{width:37px!important;height:37px!important;font-size:29px!important}
  .game-shell .rating-shortcut>small{right:-9px!important;bottom:-8px!important;min-width:56px!important;padding:6px 8px!important}
  .game-shell .rating-shortcut-menu{top:-75px!important;right:5px!important}
  .game-shell .rating-shortcut>small .rating-bonus-number{font-size:15px!important}
}

@media(max-width:350px) and (min-height:521px){
  .game-shell .rating-shortcut{width:66px!important;height:66px!important}
  .game-shell .rating-shortcut-menu{top:-73px!important;right:4px!important}
  .game-shell .rating-shortcut>small{min-width:55px!important;padding-inline:7px!important}
  .game-shell .rating-shortcut>small .rating-bonus-number{font-size:15px!important}
}

@media (min-width:780px) and (min-height:760px) and (pointer:fine){
  .game-shell .menu-topline{left:29px!important;right:29px!important}
  .game-shell .rating-shortcut{width:84px!important;height:84px!important;border-radius:27px!important}
  .game-shell .rating-shortcut>span{width:46px!important;height:46px!important;font-size:35px!important}
  .game-shell .rating-shortcut>small{min-width:68px!important;padding:8px 10px!important;font-size:13px!important}
  .game-shell .rating-shortcut-menu{top:-94px!important}
  .game-shell .rating-shortcut>small .rating-bonus-number{font-size:19px!important}
}


/* v87: make the 333 on the rating reward button crisp and high-contrast. */
.game-shell .rating-shortcut .rating-bonus-number,
.game-shell .rating-shortcut-gameover .rating-bonus-number{
  color:#8b5600!important;
  background:none!important;
  background-image:none!important;
  -webkit-background-clip:border-box!important;
  background-clip:border-box!important;
  -webkit-text-fill-color:currentColor!important;
  filter:none!important;
  text-shadow:0 1px 0 rgba(255,255,255,.42)!important;
  letter-spacing:-.03em!important;
}
.game-shell .rating-shortcut>small,
.game-shell .rating-shortcut-gameover>small{
  color:#7a4b00!important;
  box-shadow:0 4px 0 rgba(145,91,18,.22)!important;
}

/* v88: crisp two-tone gold shimmer everywhere the review bonus 333 is shown. */
.game-shell .rating-bonus-number{
  background:none!important;
  background-image:none!important;
  -webkit-background-clip:border-box!important;
  background-clip:border-box!important;
  -webkit-text-fill-color:currentColor!important;
  filter:none!important;
  font-weight:1000!important;
  letter-spacing:-.03em!important;
}

/* Yellow reward badges: dark, crisp gold for strong contrast. */
.game-shell .rating-shortcut .rating-bonus-number,
.game-shell .rating-shortcut-gameover .rating-bonus-number,
.game-shell .rating-offer-reward .rating-bonus-number{
  color:#7b4a00!important;
  text-shadow:0 1px 0 rgba(255,255,255,.48)!important;
  animation:rating-bonus-crisp-dark 2.8s ease-in-out infinite!important;
}

/* Main review action button: light gold that stays sharp on the orange/red button. */
.game-shell .rating-offer-action .rating-bonus-number{
  color:#ffe27a!important;
  text-shadow:0 1px 0 rgba(111,48,13,.62),0 -1px 0 rgba(255,255,255,.18)!important;
  animation:rating-bonus-crisp-light 2.8s ease-in-out infinite!important;
}

@keyframes rating-bonus-crisp-dark{
  0%,100%{color:#744300}
  46%{color:#a56600}
  58%{color:#c38412}
  70%{color:#a56600}
}
@keyframes rating-bonus-crisp-light{
  0%,100%{color:#ffd45d}
  46%{color:#ffe896}
  58%{color:#fff4bd}
  70%{color:#ffe896}
}
@media(prefers-reduced-motion:reduce){
  .game-shell .rating-shortcut .rating-bonus-number,
  .game-shell .rating-shortcut-gameover .rating-bonus-number,
  .game-shell .rating-offer-reward .rating-bonus-number,
  .game-shell .rating-offer-action .rating-bonus-number{animation:none!important}
}


/* v38: one non-repeating desktop scene; edge-cut art stays at the edges. */
.desktop-scenery{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
.game-page.has-desktop-scene::before{display:none!important}
@media(max-width:599px){.desktop-scenery{display:none}}

/* Readable bank-shot card. Coordinates come from the live safe-area layout. */
.game-shell .tutorial-card.bank-tutorial-card,
.game-shell .tutorial-card.bank-tutorial-card.side-left,
.game-shell .tutorial-card.bank-tutorial-card.side-right{
  top:var(--bank-y,150px)!important;left:var(--bank-x,12px)!important;
  right:auto!important;bottom:auto!important;transform:none!important;
  width:min(358px,calc(100% - 24px))!important;min-height:0!important;
  grid-template-columns:44px minmax(0,1fr)!important;gap:12px!important;
  padding:14px 36px 14px 14px!important;border-radius:21px!important;
  background:color-mix(in srgb,var(--game-panel) 96%,transparent)!important;
  border:2px solid color-mix(in srgb,var(--game-star) 55%,white)!important;
  box-shadow:0 5px 0 color-mix(in srgb,var(--game-ink) 13%,transparent),0 12px 26px rgba(48,69,87,.1)!important;
  animation:none!important;pointer-events:none!important;visibility:hidden;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
}
.game-shell .bank-tutorial-card .bank-tutorial-icon{width:44px!important;height:44px!important;border-radius:14px!important}
.game-shell .bank-tutorial-card .tutorial-chip{font-size:11px!important;line-height:1.25!important;min-height:23px!important;padding:4px 8px!important;margin-bottom:6px!important;white-space:normal!important}
.game-shell .bank-tutorial-card strong{font-size:20px!important;line-height:1.12!important}
.game-shell .bank-tutorial-card small{font-size:15px!important;line-height:1.35!important;margin-top:6px!important}
.game-shell .bank-tutorial-close{width:32px;height:32px;right:3px;top:3px;font-size:22px}
@media(min-width:700px) and (min-height:680px) and (pointer:fine){
 .game-shell .tutorial-card.bank-tutorial-card{width:min(408px,calc(100% - 32px))!important;padding:17px 42px 17px 17px!important;grid-template-columns:50px minmax(0,1fr)!important;gap:14px!important}
 .game-shell .bank-tutorial-card .bank-tutorial-icon{width:50px!important;height:50px!important}
 .game-shell .bank-tutorial-card .tutorial-chip{font-size:12px!important}
 .game-shell .bank-tutorial-card strong{font-size:24px!important}
 .game-shell .bank-tutorial-card small{font-size:18px!important}
}
@media(max-width:350px),(max-height:620px){
 .game-shell .tutorial-card.bank-tutorial-card{grid-template-columns:32px minmax(0,1fr)!important;gap:8px!important;padding:10px 32px 10px 10px!important}
 .game-shell .bank-tutorial-card .bank-tutorial-icon{width:32px!important;height:36px!important}
 .game-shell .bank-tutorial-card strong{font-size:18px!important}
 .game-shell .bank-tutorial-card small{font-size:14px!important}
 .game-shell .bank-tutorial-card .tutorial-chip{font-size:10px!important;margin-bottom:4px!important}
}
/* Compact phones use the full text width while retaining readable type. */
.game-shell .tutorial-card.bank-tutorial-card.bank-tutorial-compact{grid-template-columns:minmax(0,1fr)!important;gap:0!important;padding:10px 30px 10px 12px!important}
.game-shell .bank-tutorial-card.bank-tutorial-compact .bank-tutorial-icon{display:none!important}
.game-shell:has(.bank-tutorial-outside){overflow:visible!important}
.game-shell:has(.bank-tutorial-outside) .game-canvas{border-radius:inherit}
@media(min-width:700px) and (min-height:680px) and (pointer:fine){
 .game-shell .tutorial-card.bank-tutorial-card.side-left,.game-shell .tutorial-card.bank-tutorial-card.side-right{width:min(408px,calc(100% - 32px))!important}
}
.game-shell .bank-tutorial-card.bank-tutorial-compact .tutorial-chip{display:none!important}
.game-shell .bank-tutorial-card small{white-space:pre-line!important}

/* v39: larger reading text; the trajectory remains the only aiming guide. */
.game-shell .bank-tutorial-card small{font-size:16px!important;line-height:1.32!important}
@media(min-width:700px) and (min-height:680px) and (pointer:fine){
 .game-shell .bank-tutorial-card small{font-size:20px!important}
}
@media(max-width:350px),(max-height:620px){
 .game-shell .bank-tutorial-card small{font-size:15px!important}
}

/* The rating gift owns its layout; animated lava cannot cross text or buttons. */
.game-shell .rating-offer-overlay{position:fixed;inset:0;padding:16px;overflow-y:auto;overscroll-behavior:contain;z-index:80}
.game-shell .rating-offer-card{width:min(420px,100%);max-height:calc(100dvh - 32px);overflow:auto;padding:18px 24px 20px;display:flex;flex-direction:column;align-items:center;gap:8px}
.game-shell .rating-lava-gift{display:flex;flex-direction:column;align-items:center;flex:none;isolation:isolate;line-height:1.15;width:100%}
.game-shell .rating-lava-preview{display:block;width:190px;height:158px;max-width:100%;pointer-events:none}
.game-shell .rating-lava-gift small{color:#b86b2a;font-size:10px;font-weight:950;letter-spacing:.08em;margin:0 0 4px}
.game-shell .rating-lava-gift strong{font-size:20px;color:var(--game-ink);font-weight:950}
.game-shell .rating-offer-reward{flex:none;margin:0 auto!important;min-height:40px;padding:6px 17px}
.game-shell .rating-offer-card h2{font-size:23px!important;line-height:1.1!important;margin:2px 0 0;flex:none}
.game-shell .rating-offer-card p{font-size:15px!important;line-height:1.35!important;margin:0;max-width:350px;white-space:pre-line;flex:none}
.game-shell .rating-offer-actions{width:100%;margin-top:4px;flex:none}
.game-shell .rating-offer-action{width:100%;min-height:46px;flex:none}
.game-shell .rating-offer-later{min-height:34px}
.game-shell .ball-card[data-unlock-type=review]:not(.selected) small{font-size:12px;color:#b86428}
@media(max-height:740px){
 .game-shell .rating-lava-preview{width:144px;height:120px}
 .game-shell .rating-offer-card{padding:12px 18px 14px;gap:6px}
 .game-shell .rating-lava-gift strong{font-size:18px}
}
@media(max-width:350px){
 .game-shell .rating-offer-overlay{padding:10px}
 .game-shell .rating-offer-card{max-height:calc(100dvh - 20px);padding:10px 14px 12px;gap:6px}
 .game-shell .rating-lava-preview{width:120px;height:100px}
 .game-shell .rating-offer-card h2{font-size:20px!important}
 .game-shell .rating-offer-card p{font-size:14px!important}
 .game-shell .rating-lava-gift small{font-size:9px}
}
@media(max-height:520px) and (min-width:600px){
 .game-shell .rating-offer-card{width:min(590px,100%);display:grid;grid-template-columns:170px minmax(0,1fr);gap:7px 16px;padding:16px}
 .game-shell .rating-lava-gift{grid-column:1;grid-row:1 / span 4}
 .game-shell .rating-lava-preview{width:168px;height:140px}
 .game-shell .rating-offer-reward{grid-column:2;grid-row:1;min-height:32px;padding:4px 12px}
 .game-shell .rating-offer-card h2{grid-column:2;grid-row:2;font-size:20px!important}
 .game-shell .rating-offer-card p{grid-column:2;grid-row:3;font-size:14px!important}
 .game-shell .rating-offer-actions,.game-shell .rating-offer-card>.rating-offer-action{grid-column:2;grid-row:4;margin:0}
 .game-shell .rating-offer-action{min-height:40px}
 .game-shell .rating-offer-later{min-height:28px}
}

/* v39 correction: mobile rating shortcut stays clear of the menu title. */
@media (max-width:779px), (pointer:coarse){
  .game-shell .rating-shortcut-menu{
    width:62px!important;
    height:62px!important;
    right:-20px!important;
    top:-85px!important;
    border-radius:21px!important;
  }
  .game-shell .rating-shortcut-menu>span{
    width:34px!important;
    height:34px!important;
    border-radius:12px!important;
    font-size:27px!important;
  }
  .game-shell .rating-shortcut-menu>small{
    right:-8px!important;
    bottom:-8px!important;
    min-width:50px!important;
    padding:6px 7px!important;
    font-size:10px!important;
  }
  .game-shell .rating-shortcut-menu>small .rating-bonus-number{font-size:14px!important}
}
@media (max-width:350px), (max-height:700px) and (max-width:779px){
  .game-shell .rating-shortcut-menu{
    width:57px!important;
    height:57px!important;
    right:-16px!important;
    top:-75px!important;
  }
  .game-shell .rating-shortcut-menu>span{width:31px!important;height:31px!important;font-size:25px!important}
  .game-shell .rating-shortcut-menu>small{min-width:47px!important;padding:5px 6px!important}
  .game-shell .rating-shortcut-menu>small .rating-bonus-number{font-size:13px!important}
}

/* Superseded desktop sizing block removed in the readability pass below.
   Keeping a single desktop cascade avoids old high-specificity rules shrinking the new UI. */
/* Keep the mobile shortcut reward copy compact: "333★" is enough in this tiny badge. */
@media (max-width:779px), (pointer:coarse){
  .game-shell .rating-shortcut-menu .rating-bonus-prefix{display:none!important}
}

/* v39 desktop readability pass: enlarge the interface, not gameplay geometry.
   This block intentionally targets mouse/trackpad desktops at every viewport height.
   Panels scroll internally instead of shrinking text or clipping controls. */
@media (hover:hover) and (pointer:fine){
  .game-shell{
    --desktop-ui-xs:13px;
    --desktop-ui-sm:14px;
    --desktop-ui-md:16px;
    --desktop-ui-lg:18px;
    --desktop-ui-xl:22px;
  }

  /* In-game HUD: controls/counters only. Canvas, hoop and ball geometry are untouched. */
  .game-shell .hud{padding:max(18px,env(safe-area-inset-top)) 18px max(18px,env(safe-area-inset-bottom))!important}
  .game-shell .hud-top{grid-template-columns:68px minmax(0,1fr) 116px!important;gap:10px!important;min-height:84px!important}
  .game-shell .round-button{width:64px!important;height:64px!important;border-radius:21px!important;font-size:29px!important}
  .game-shell .score-value{font-size:76px!important;line-height:.9!important}
  .game-shell .score-caption{font-size:15px!important;line-height:1.1!important;margin-top:9px!important;letter-spacing:.14em!important}
  .game-shell .hud-counters{gap:6px!important}
  .game-shell .star-pill{min-height:45px!important;padding:0 10px!important;border-radius:15px!important;font-size:20px!important;gap:7px!important}
  .game-shell .best-mini{font-size:14px!important;line-height:1.18!important;margin-top:6px!important;letter-spacing:.04em!important}
  .game-shell .best-mini strong{font-size:20px!important;line-height:1!important}
  .game-shell .hud-sound-button{width:56px!important;height:56px!important;right:18px!important;top:max(98px,calc(env(safe-area-inset-top) + 88px))!important;border-radius:18px!important;font-size:25px!important}
  .game-shell .life-row{left:18px!important;top:max(98px,calc(env(safe-area-inset-top) + 88px))!important;padding:6px 8px!important;gap:4px!important;border-radius:19px!important}
  .game-shell .life-ball{width:34px!important;height:34px!important}
  .game-shell .wave-meter{top:max(111px,calc(env(safe-area-inset-top) + 101px))!important;gap:7px!important}
  .game-shell .wave-meter span{width:18px!important;height:7px!important}


  .game-shell .impact-toast{font-size:34px!important;line-height:1.04!important;max-width:calc(100% - 52px)!important}
  .game-shell .impact-toast.is-double{font-size:31px!important}

  /* Main menu. Large enough to read at normal desktop viewing distance. */
  .game-shell .menu-screen{padding:max(20px,env(safe-area-inset-top)) 24px max(22px,env(safe-area-inset-bottom))!important;overflow-y:auto!important}
  .game-shell .menu-topline{left:24px!important;right:24px!important;top:max(20px,env(safe-area-inset-top))!important}
  .game-shell .small-control{min-width:72px!important;height:58px!important;min-height:58px!important;padding:0 14px!important;border-radius:18px!important;font-size:18px!important;line-height:1.05!important}
  .game-shell .star-balance{height:54px!important;min-height:54px!important;min-width:102px!important;padding:0 15px!important;border-radius:17px!important;font-size:22px!important;gap:7px!important}
  .game-shell .menu-brand .app-icon{width:clamp(166px,25vh,220px)!important;height:auto!important}
  .game-shell .menu-brand h1{font-size:clamp(54px,7.4vh,72px)!important;line-height:.93!important;margin-top:15px!important}
  .game-shell .menu-brand p{font-size:18px!important;line-height:1.35!important;margin-top:11px!important}
  .game-shell .menu-actions{width:min(440px,100%)!important}
  .game-shell .play-button{min-height:84px!important;border-radius:23px!important;font-size:28px!important;gap:13px!important}
  .game-shell .play-button>span{font-size:22px!important}
  .game-shell .menu-grid{gap:13px!important;margin-top:15px!important}
  .game-shell .menu-tile{min-height:84px!important;padding:10px 13px!important;border-radius:21px!important;font-size:18px!important;line-height:1.16!important;gap:10px!important;white-space:normal!important}
  .game-shell .menu-grid .collection-tile>span,
  .game-shell .menu-grid .collection-tile>.collection-glyph,
  .game-shell .menu-grid .collection-tile>span.collection-glyph{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;flex-basis:40px!important}
  .game-shell .menu-grid .shop-tile>span{width:42px!important;height:36px!important;min-width:42px!important;min-height:36px!important}
  .game-shell .menu-grid .leaderboard-tile>span{width:45px!important;height:39px!important;min-width:45px!important;min-height:39px!important}
  .game-shell .menu-achievement-shortcut{width:62px!important;height:62px!important;min-width:62px!important;min-height:62px!important;border-radius:20px!important}
  .game-shell .menu-achievement-shortcut img{width:50px!important;height:50px!important}
  .game-shell .rating-shortcut-menu{width:78px!important;height:78px!important;right:5px!important;top:-88px!important;border-radius:26px!important}
  .game-shell .rating-shortcut-menu>span{width:43px!important;height:43px!important;border-radius:15px!important;font-size:33px!important}
  .game-shell .rating-shortcut-menu>small{min-width:68px!important;padding:8px 10px!important;font-size:15px!important}
  .game-shell .rating-shortcut-menu>small .rating-bonus-number{font-size:18px!important}

  /* Generic overlays: use nearly all available shell space and scroll internally. */
  .game-shell .overlay,
  .game-shell .panel-overlay,
  .game-shell .lb-overlay{overscroll-behavior:contain!important}
  .game-shell .panel-overlay{padding:10px!important;overflow:hidden!important}
  .game-shell .collection-card,
  .game-shell .shop-card,
  .game-shell .lb-panel,
  .game-shell .lb-record-card,
  .game-shell .pause-overlay .modal-card.compact,
  .game-shell .gameover-overlay .modal-card,
  .game-shell .achievement-card,
  .game-shell .purchase-thanks-card,
  .game-shell .rating-offer-card{box-sizing:border-box!important}

  /* Pause: two broad audio columns + a full-width vibration control. */
  .game-shell .pause-overlay{padding:12px!important;place-items:center!important;overflow:auto!important}
  .game-shell .pause-overlay .modal-card.compact{width:min(480px,100%)!important;max-height:calc(100dvh - 24px)!important;padding:24px!important;border-radius:30px!important;overflow-y:auto!important}
  .game-shell .pause-app-icon{width:92px!important;height:92px!important;border-radius:21px!important}
  .game-shell .pause-overlay .modal-card.compact>h2{font-size:36px!important;line-height:1!important;margin:13px 0 18px!important}
  .game-shell .pause-overlay .modal-card.compact>.primary-button,
  .game-shell .pause-overlay .modal-card.compact>.plain-button{height:66px!important;min-height:66px!important;border-radius:19px!important;font-size:18px!important;line-height:1.1!important}
  .game-shell .pause-overlay .modal-card.compact>.plain-button{margin-top:13px!important}
  .game-shell .pause-settings{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:14px!important;margin-top:17px!important}
  .game-shell .pause-settings .pause-volume-setting{min-width:0!important}
  .game-shell .pause-settings .pause-volume-setting>button,
  .game-shell .pause-settings>button{height:58px!important;min-height:58px!important;padding:8px 8px!important;border-radius:17px!important;font-size:16px!important;line-height:1.15!important;white-space:normal!important}
  .game-shell .pause-settings>button:last-child{grid-column:1/-1!important;width:100%!important;justify-self:stretch!important}
  .game-shell .volume-control{gap:7px!important;margin-top:8px!important}
  .game-shell .volume-control input[type="range"]{height:24px!important}
  .game-shell .volume-control input[type="range"]::-webkit-slider-runnable-track{height:8px!important}
  .game-shell .volume-control input[type="range"]::-moz-range-track{height:8px!important}
  .game-shell .volume-control input[type="range"]::-webkit-slider-thumb{width:24px!important;height:24px!important;margin-top:-8px!important}
  .game-shell .volume-control input[type="range"]::-moz-range-thumb{width:20px!important;height:20px!important}

  /* Collection and backgrounds. The explicit row budget prevents the Select chip from being clipped. */
  .game-shell .panel-overlay>.collection-card:not(.shop-card){width:min(540px,100%)!important;height:calc(100dvh - 20px)!important;max-height:calc(100dvh - 20px)!important;padding:19px!important;border-radius:31px!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
  .game-shell .panel-header{grid-template-columns:56px minmax(0,1fr) auto!important;gap:11px!important;align-items:center!important}
  .game-shell .panel-header>button{width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;border-radius:17px!important;font-size:36px!important}
  .game-shell .panel-header h2{font-size:29px!important;line-height:1!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important}
  .game-shell .panel-header .star-balance{width:auto!important;min-width:92px!important;height:50px!important;min-height:50px!important;padding:0 12px!important;font-size:19px!important}
  .game-shell .tab-row{gap:10px!important;margin:16px 0 14px!important;padding:4px!important;border-radius:18px!important}
  .game-shell .tab-row button{min-height:56px!important;border-radius:16px!important;font-size:18px!important;line-height:1.1!important}
  .game-shell .panel-overlay>.collection-card:not(.shop-card) .cosmetic-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;align-content:start!important;padding:3px 6px 24px 2px!important;scroll-padding-bottom:24px!important}
  .game-shell .cosmetic-grid:not(.achievement-grid) .cosmetic-card{box-sizing:border-box!important;height:auto!important;min-height:232px!important;padding:10px!important;grid-template-rows:102px minmax(58px,auto) minmax(40px,auto)!important;align-content:start!important;gap:5px!important;border-radius:22px!important;overflow:hidden!important}
  .game-shell .cosmetic-grid:not(.achievement-grid) .ball-card>img{width:96px!important;height:96px!important}
  .game-shell .cosmetic-grid:not(.achievement-grid) .theme-card>.theme-preview{height:100px!important;border-radius:18px!important}
  .game-shell .cosmetic-grid:not(.achievement-grid) .cosmetic-card>strong{min-height:58px!important;padding:0 4px!important;font-size:17px!important;line-height:1.18!important;white-space:normal!important;overflow:visible!important}
  .game-shell .cosmetic-grid:not(.achievement-grid) .cosmetic-card>small{box-sizing:border-box!important;height:auto!important;min-height:40px!important;max-width:100%!important;padding:7px 11px!important;border-radius:999px!important;font-size:15px!important;line-height:1.15!important;white-space:normal!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important;text-overflow:clip!important}
  .game-shell .ball-card[data-unlock-type=review]:not(.selected) small{font-size:15px!important}
  .game-shell .ball-lock-badge,.game-shell .theme-lock-badge{width:34px!important;height:34px!important;border-radius:11px!important;font-size:18px!important}
  .game-shell .panel-hint{min-height:0!important;margin-top:12px!important;font-size:15px!important;line-height:1.45!important}

  /* Achievement collection: larger art and minimum 14px descriptive text. */
  .game-shell .achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
  .game-shell .achievement-item-card{box-sizing:border-box!important;min-height:326px!important;padding:12px 10px!important;grid-template-rows:102px minmax(44px,auto) minmax(72px,auto) auto 10px!important;gap:6px!important;border-radius:22px!important}
  .game-shell .achievement-badge,.game-shell .achievement-icon-art{width:96px!important;height:96px!important}
  .game-shell .achievement-item-card>strong{min-height:44px!important;font-size:16px!important;line-height:1.18!important}
  .game-shell .achievement-item-card>p{min-height:72px!important;font-size:15px!important;line-height:1.42!important}
  .game-shell .achievement-card-footer{min-height:36px!important;font-size:15px!important;line-height:1.2!important;gap:7px!important}
  .game-shell .achievement-reward-pill,.game-shell .achievement-cosmetic-pill{min-height:30px!important;padding:5px 9px!important;font-size:14px!important}
  .game-shell .achievement-progress-track{height:10px!important}

  /* Shop: larger copy, prices and click targets. */
  .game-shell .panel-overlay>.collection-card.shop-card{width:min(550px,100%)!important;height:calc(100dvh - 20px)!important;max-height:calc(100dvh - 20px)!important;padding:19px!important;border-radius:31px!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
  .game-shell .shop-card .shop-scroll{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:8px 8px 24px 3px!important;scroll-padding-bottom:24px!important}
  .game-shell .shop-card .shop-hero{margin:5px 3px 15px!important;padding:16px 17px!important;border-radius:23px!important;gap:5px!important}
  .game-shell .shop-card .shop-hero-stars{font-size:22px!important}
  .game-shell .shop-card .shop-hero strong{font-size:21px!important;line-height:1.16!important;max-width:100%!important}
  .game-shell .shop-card .shop-hero small{font-size:15px!important;line-height:1.42!important}
  .game-shell .shop-card .shop-title{font-size:16px!important;line-height:1.2!important;margin:16px 6px 10px!important}
  .game-shell .shop-card .ad-free-list,.game-shell .shop-card .product-list{gap:12px!important;padding:0 3px!important}
  .game-shell .shop-card .ad-free-product{box-sizing:border-box!important;min-height:104px!important;padding:12px 13px!important;grid-template-columns:56px minmax(0,1fr) auto!important;gap:13px!important;border-radius:21px!important}
  .game-shell .shop-card .ad-free-icon{width:52px!important;height:52px!important;border-radius:17px!important}
  .game-shell .shop-card .ad-free-copy strong{font-size:18px!important;line-height:1.16!important}
  .game-shell .shop-card .ad-free-copy small{font-size:15px!important;line-height:1.42!important;white-space:normal!important;max-width:none!important}
  .game-shell .shop-card .product-list button{box-sizing:border-box!important;min-height:90px!important;padding:11px 13px!important;grid-template-columns:54px minmax(0,1fr) auto!important;gap:12px!important;border-radius:20px!important}
  .game-shell .shop-card .product-star{width:50px!important;height:50px!important;font-size:30px!important;border-radius:16px!important}
  .game-shell .shop-card .product-list strong{font-size:28px!important;line-height:1!important}
  .game-shell .shop-card .product-list small{font-size:15px!important;line-height:1.2!important;margin-top:5px!important}
  .game-shell .shop-card .product-price{font-size:16px!important;line-height:1.08!important;padding:10px 12px!important;border-radius:13px!important;white-space:nowrap!important}
  .game-shell .shop-card .product-price img{width:20px!important;height:20px!important}
  .game-shell .shop-card .product-ribbon{font-size:14px!important;line-height:1!important;padding:6px 9px!important}
  .game-shell .shop-card .store-note,.game-shell .shop-card .store-trust,.game-shell .shop-card .panel-hint{font-size:15px!important;line-height:1.45!important;margin-inline:6px!important}
  .game-shell .shop-card .studio-credit{font-size:14px!important;line-height:1.3!important;margin-top:10px!important}

  /* Leaderboard: avatars and row typography are deliberately much larger. */
  .game-shell .lb-overlay{padding:10px!important;overflow:hidden!important}
  .game-shell .lb-panel{width:min(590px,100%)!important;max-height:calc(100dvh - 20px)!important;padding:20px!important;border-radius:31px!important;overflow-y:auto!important;overflow-x:hidden!important}
  .game-shell .lb-header{grid-template-columns:58px minmax(0,1fr) auto!important;gap:13px!important;margin-bottom:16px!important}
  .game-shell .lb-back{width:56px!important;height:56px!important;border-radius:18px!important;font-size:38px!important}
  .game-shell .lb-header-copy small{font-size:15px!important;line-height:1.1!important;letter-spacing:.08em!important;margin-bottom:6px!important}
  .game-shell .lb-header h2{font-size:30px!important;line-height:1!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important}
  .game-shell .lb-best-badge{padding:11px 13px!important;border-radius:14px!important;font-size:15px!important;line-height:1!important}
  .game-shell .lb-podium{min-height:218px!important;gap:8px!important;padding:12px 3px 9px!important}
  .game-shell .lb-podium-item{gap:7px!important}
  .game-shell .lb-avatar{width:72px!important;height:72px!important;border-width:4px!important}
  .game-shell .lb-podium-item.place-1 .lb-avatar{width:88px!important;height:88px!important;border-width:5px!important}
  .game-shell .lb-avatar-fallback{font-size:25px!important}
  .game-shell .lb-podium-name{font-size:17px!important;line-height:1.18!important}
  .game-shell .lb-podium-score{min-width:54px!important;padding:7px 10px!important;border-radius:12px!important;font-size:17px!important}
  .game-shell .lb-trophy{margin:6px auto 5px!important;transform:scale(1.16)!important;transform-origin:center bottom!important}
  .game-shell .lb-list{gap:10px!important;margin-top:7px!important}
  .game-shell .lb-list-title{font-size:15px!important;line-height:1.1!important;letter-spacing:.08em!important;padding:6px 8px 4px!important}
  .game-shell .lb-row{box-sizing:border-box!important;height:78px!important;grid-template-columns:46px 62px minmax(0,1fr) auto!important;gap:10px!important;padding:8px 14px 8px 9px!important;border-radius:20px!important}
  .game-shell .lb-row .lb-avatar{width:56px!important;height:56px!important;border-width:3px!important}
  .game-shell .lb-row-rank{font-size:17px!important;line-height:1!important}
  .game-shell .lb-row-name{font-size:18px!important;line-height:1.16!important}
  .game-shell .lb-row-score{min-width:46px!important;font-size:20px!important;line-height:1!important}
  .game-shell .lb-user-separator{font-size:16px!important;padding:6px!important}
  .game-shell .lb-your-place{margin-top:13px!important;padding:14px 17px!important;border-radius:18px!important}
  .game-shell .lb-your-place span{font-size:16px!important;line-height:1.1!important}
  .game-shell .lb-your-place strong{font-size:26px!important;line-height:1!important}
  .game-shell .lb-no-rank{padding:14px 16px!important;gap:14px!important;border-radius:19px!important}
  .game-shell .lb-no-rank strong{font-size:16px!important;line-height:1.4!important}
  .game-shell .lb-auth-card{padding:15px!important;grid-template-columns:48px minmax(0,1fr)!important;gap:12px!important;border-radius:21px!important}
  .game-shell .lb-auth-copy strong{font-size:17px!important;line-height:1.18!important}
  .game-shell .lb-auth-copy p{font-size:15px!important;line-height:1.45!important;margin-top:7px!important}
  .game-shell .lb-auth-actions{gap:10px!important}
  .game-shell .lb-auth-actions button{height:54px!important;border-radius:16px!important;font-size:15px!important;line-height:1.1!important}
  .game-shell .lb-empty,.game-shell .lb-loading{min-height:330px!important;gap:18px!important}
  .game-shell .lb-empty strong,.game-shell .lb-loading strong{font-size:16px!important;line-height:1.3!important}
  .game-shell .lb-loading-ball{width:62px!important;height:62px!important}

  /* Record / rank animation screen uses the same readable leaderboard scale. */
  .game-shell .lb-record-overlay{padding:10px!important;overflow:hidden!important}
  .game-shell .lb-record-card{width:min(560px,100%)!important;max-width:none!important;max-height:calc(100dvh - 20px)!important;min-height:0!important;padding:23px 20px 21px!important;border-radius:31px!important;overflow-y:auto!important}
  .game-shell .lb-record-skip{right:14px!important;top:14px!important;min-height:44px!important;padding:10px 13px!important;border-radius:14px!important;font-size:15px!important}
  .game-shell .lb-record-kicker{font-size:15px!important;line-height:1.1!important;margin-top:6px!important}
  .game-shell .lb-record-card h2{font-size:30px!important;line-height:1!important;margin:9px 38px 3px!important}
  .game-shell .lb-record-score{font-size:76px!important;line-height:.9!important;margin-top:9px!important}
  .game-shell .lb-rank-box{gap:9px!important;margin-top:7px!important;padding:10px 15px!important;border-radius:16px!important}
  .game-shell .lb-rank-box span{font-size:15px!important;line-height:1!important}
  .game-shell .lb-rank-box strong{font-size:30px!important;line-height:1!important}
  .game-shell .lb-rise-chip{margin-top:9px!important;padding:10px 15px!important;font-size:15px!important}
  .game-shell .lb-race-list{gap:9px!important;margin-top:16px!important}
  .game-shell .lb-race-row{height:66px!important;grid-template-columns:42px 54px minmax(0,1fr) auto!important;padding:6px 12px 6px 8px!important}
  .game-shell .lb-race-row .lb-avatar{width:50px!important;height:50px!important}
  .game-shell .local-record p{font-size:16px!important;line-height:1.45!important}
  .game-shell .local-record .lb-record-kicker{font-size:14px!important}

  /* Game-over and ancillary dialogs. */
  .game-shell .gameover-overlay{padding:10px!important;place-items:center!important;overflow:auto!important}
  .game-shell .gameover-overlay .modal-card{width:min(500px,100%)!important;max-height:calc(100dvh - 20px)!important;padding:20px!important;border-radius:30px!important;overflow-y:auto!important}
  .game-shell .gameover-overlay .brand-lockup img{width:56px!important;height:56px!important}
  .game-shell .gameover-overlay .brand-lockup span{font-size:22px!important}
  .game-shell .gameover-overlay .eyebrow{font-size:14px!important;line-height:1.15!important;letter-spacing:.12em!important}
  .game-shell .gameover-overlay .result-score{font-size:80px!important;line-height:.88!important}
  .game-shell .gameover-overlay .result-best{font-size:18px!important;line-height:1.15!important}
  .game-shell .earned-stars-card{padding:11px 13px!important;border-radius:19px!important;gap:10px!important}
  .game-shell .earned-stars-total>span{width:46px!important;height:46px!important;flex-basis:46px!important;border-radius:15px!important;font-size:25px!important}
  .game-shell .earned-stars-total small{font-size:15px!important;line-height:1.1!important}
  .game-shell .earned-stars-total strong{font-size:30px!important}
  .game-shell .earn-multiplier-button{min-height:58px!important;padding:8px 11px!important;border-radius:17px!important;gap:9px!important}
  .game-shell .earn-multiplier-button strong{font-size:20px!important}
  .game-shell .earn-multiplier-button small{font-size:15px!important;line-height:1.1!important}
  .game-shell .earn-ad-icon{width:34px!important;height:34px!important;border-radius:11px!important;font-size:15px!important}
  .game-shell .revive-left{font-size:15px!important;line-height:1.2!important;margin-bottom:9px!important}
  .game-shell .revive-options{gap:11px!important}
  .game-shell .gameover-overlay .revive-choice{height:72px!important;min-height:72px!important;padding:10px 13px!important;gap:11px!important;border-radius:19px!important}
  .game-shell .revive-choice-icon{width:40px!important;height:40px!important;flex-basis:40px!important;border-radius:13px!important;font-size:19px!important}
  .game-shell .revive-choice-copy strong{font-size:18px!important;line-height:1.1!important}
  .game-shell .revive-choice-copy small{font-size:15px!important;line-height:1.12!important;margin-top:5px!important}
  .game-shell .gameover-overlay .secondary-button,.game-shell .gameover-overlay .plain-button{height:62px!important;min-height:62px!important;border-radius:18px!important;font-size:18px!important;line-height:1.1!important}
  .game-shell .ad-message{font-size:15px!important;line-height:1.4!important}

  .game-shell .stuck-rescue-card{width:min(370px,calc(100% - 24px))!important;padding:15px!important;grid-template-columns:52px minmax(0,1fr)!important;gap:10px 13px!important;border-radius:23px!important}
  .game-shell .stuck-rescue-icon{width:50px!important;height:50px!important;border-radius:16px!important;font-size:28px!important}
  .game-shell .stuck-rescue-card>strong{font-size:20px!important;line-height:1.15!important}
  .game-shell .stuck-rescue-card .stuck-return{min-height:54px!important;border-radius:17px!important;font-size:17px!important}

  /* First-run / bank hints are overlays, so make them readable without changing play physics. */
  .game-shell .tutorial-card:not(.bank-tutorial-card){width:min(380px,calc(100% - 34px))!important;grid-template-columns:62px minmax(0,1fr)!important;column-gap:15px!important;padding:17px 20px!important;border-radius:24px!important}
  .game-shell .tutorial-card:not(.bank-tutorial-card) .tutorial-hand{width:58px!important;height:58px!important;border-radius:18px!important;font-size:34px!important}
  .game-shell .tutorial-card:not(.bank-tutorial-card) .tutorial-chip{font-size:15px!important;line-height:1.15!important}
  .game-shell .tutorial-card:not(.bank-tutorial-card) strong{font-size:20px!important;line-height:1.18!important}
  .game-shell .tutorial-card:not(.bank-tutorial-card) small{font-size:15px!important;line-height:1.36!important}
  .game-shell .tutorial-card.bank-tutorial-card strong{font-size:23px!important}
  .game-shell .tutorial-card.bank-tutorial-card small{font-size:18px!important;line-height:1.36!important}
  .game-shell .tutorial-card.bank-tutorial-card .tutorial-chip{font-size:15px!important}
  .game-shell .bank-tutorial-close{width:36px!important;height:36px!important;font-size:25px!important}

  /* Unlock, purchase and rating dialogs: no sub-13px desktop copy. */
  .game-shell .achievement-card{width:min(430px,100%)!important;max-height:calc(100dvh - 24px)!important;padding:21px!important;border-radius:30px!important;overflow-y:auto!important}
  .game-shell .unlock-kicker{font-size:15px!important;line-height:1.1!important}
  .game-shell .achievement-card h2{font-size:30px!important;line-height:1.05!important}
  .game-shell .unlock-theme-name{font-size:20px!important;line-height:1.15!important}
  .game-shell .achievement-card .unlock-reason{font-size:16px!important;line-height:1.45!important;max-width:350px!important}
  .game-shell .achievement-card .unlock-copy{font-size:16px!important;line-height:1.45!important;max-width:350px!important}
  .game-shell .achievement-card .unlock-cta{height:60px!important;min-height:60px!important;font-size:18px!important}
  .game-shell .achievement-card>.plain-button{height:54px!important;min-height:54px!important;font-size:16px!important}

  .game-shell .purchase-thanks-overlay{padding:12px!important;overflow:auto!important}
  .game-shell .purchase-thanks-card{width:min(440px,100%)!important;max-height:calc(100dvh - 24px)!important;padding:28px 25px 23px!important;border-radius:31px!important;overflow-y:auto!important}
  .game-shell .purchase-thanks-card h2{font-size:34px!important;line-height:1.05!important}
  .game-shell .purchase-thanks-card p{font-size:16px!important;line-height:1.45!important;margin:12px auto 18px!important}
  .game-shell .purchase-thanks-card .primary-button{min-height:60px!important;font-size:18px!important}

  .game-shell .rating-offer-overlay{padding:12px!important;overflow:auto!important}
  .game-shell .rating-offer-card{width:min(440px,100%)!important;max-height:calc(100dvh - 24px)!important;padding:20px 23px 21px!important;gap:9px!important;overflow-y:auto!important}
  .game-shell .rating-lava-preview{width:190px!important;height:158px!important}
  .game-shell .rating-lava-gift small{font-size:15px!important;line-height:1.15!important}
  .game-shell .rating-lava-gift strong{font-size:21px!important;line-height:1.15!important}
  .game-shell .rating-offer-reward{min-height:43px!important;padding:7px 17px!important;font-size:16px!important}
  .game-shell .rating-offer-reward .rating-bonus-number{font-size:20px!important}
  .game-shell .rating-offer-card h2{font-size:28px!important;line-height:1.08!important}
  .game-shell .rating-offer-card p{font-size:16px!important;line-height:1.42!important;max-width:360px!important}
  .game-shell .rating-offer-action{min-height:60px!important;font-size:18px!important}
  .game-shell .rating-offer-later{min-height:52px!important;font-size:16px!important}

  .game-shell .loading-screen p{font-size:17px!important;line-height:1.35!important}
  .game-shell .loading-logo{font-size:32px!important;line-height:1!important}
}

/* Taller desktop canvases have enough physical room for one more accessibility step. */
@media (hover:hover) and (pointer:fine) and (min-height:760px){
  .game-shell .hud-top{grid-template-columns:82px minmax(0,1fr) 136px!important}
  .game-shell .round-button{width:76px!important;height:76px!important;border-radius:24px!important;font-size:33px!important}
  .game-shell .score-value{font-size:88px!important}
  .game-shell .score-caption{font-size:16px!important}
  .game-shell .star-pill{min-height:52px!important;font-size:22px!important}
  .game-shell .best-mini{font-size:15px!important}.game-shell .best-mini strong{font-size:22px!important}
  .game-shell .hud-sound-button{width:66px!important;height:66px!important;right:22px!important;top:max(112px,calc(env(safe-area-inset-top) + 102px))!important;font-size:28px!important}
  .game-shell .life-row{left:22px!important;top:max(112px,calc(env(safe-area-inset-top) + 102px))!important}
  .game-shell .life-ball{width:39px!important;height:39px!important}
  .game-shell .wave-meter{top:max(128px,calc(env(safe-area-inset-top) + 118px))!important}.game-shell .wave-meter span{width:21px!important;height:8px!important}

  .game-shell .small-control{height:64px!important;min-height:64px!important;font-size:20px!important}
  .game-shell .star-balance{height:58px!important;min-height:58px!important;font-size:23px!important}
  .game-shell .menu-brand .app-icon{width:clamp(205px,24vh,250px)!important}
  .game-shell .menu-brand p{font-size:19px!important}
  .game-shell .play-button{min-height:96px!important;font-size:30px!important}
  .game-shell .menu-tile{min-height:94px!important;font-size:20px!important}
  .game-shell .menu-achievement-shortcut{width:68px!important;height:68px!important}.game-shell .menu-achievement-shortcut img{width:55px!important;height:55px!important}
  .game-shell .rating-shortcut-menu{width:86px!important;height:86px!important;top:-97px!important}.game-shell .rating-shortcut-menu>span{width:47px!important;height:47px!important;font-size:36px!important}

  .game-shell .panel-overlay>.collection-card:not(.shop-card),
  .game-shell .panel-overlay>.collection-card.shop-card{padding:24px!important}
  .game-shell .panel-header{grid-template-columns:62px minmax(0,1fr) auto!important;gap:13px!important}
  .game-shell .panel-header>button{width:60px!important;height:60px!important;min-width:60px!important;min-height:60px!important;font-size:40px!important}
  .game-shell .panel-header h2{font-size:32px!important}.game-shell .panel-header .star-balance{height:55px!important;min-height:55px!important;font-size:21px!important}
  .game-shell .tab-row button{min-height:62px!important;font-size:19px!important}
  .game-shell .cosmetic-grid:not(.achievement-grid) .cosmetic-card{height:auto!important;min-height:256px!important;padding:12px!important;grid-template-rows:114px minmax(62px,auto) minmax(42px,auto)!important;align-content:start!important;gap:5px!important}
  .game-shell .cosmetic-grid:not(.achievement-grid) .ball-card>img{width:108px!important;height:108px!important}
  .game-shell .cosmetic-grid:not(.achievement-grid) .theme-card>.theme-preview{height:112px!important}
  .game-shell .cosmetic-grid:not(.achievement-grid) .cosmetic-card>strong{min-height:62px!important;font-size:19px!important}
  .game-shell .cosmetic-grid:not(.achievement-grid) .cosmetic-card>small{height:auto!important;min-height:42px!important;font-size:16px!important}
  .game-shell .panel-hint{font-size:15px!important}

  .game-shell .achievement-item-card{min-height:346px!important;grid-template-rows:110px minmax(48px,auto) minmax(80px,auto) auto 10px!important}
  .game-shell .achievement-badge,.game-shell .achievement-icon-art{width:104px!important;height:104px!important}
  .game-shell .achievement-item-card>strong{font-size:17px!important}.game-shell .achievement-item-card>p,.game-shell .achievement-card-footer{font-size:15px!important}

  .game-shell .shop-card .shop-hero strong{font-size:23px!important}.game-shell .shop-card .shop-hero small{font-size:15px!important}
  .game-shell .shop-card .shop-title{font-size:17px!important}
  .game-shell .shop-card .ad-free-product{min-height:112px!important}.game-shell .shop-card .ad-free-copy strong{font-size:20px!important}.game-shell .shop-card .ad-free-copy small{font-size:15px!important}
  .game-shell .shop-card .product-list button{min-height:98px!important}.game-shell .shop-card .product-star{width:56px!important;height:56px!important;font-size:33px!important}.game-shell .shop-card .product-list strong{font-size:30px!important}.game-shell .shop-card .product-list small{font-size:15px!important}.game-shell .shop-card .product-price{font-size:16px!important}
  .game-shell .shop-card .store-note,.game-shell .shop-card .store-trust,.game-shell .shop-card .panel-hint{font-size:15px!important}.game-shell .shop-card .studio-credit{font-size:13px!important}

  .game-shell .lb-panel{padding:24px!important}
  .game-shell .lb-podium{min-height:244px!important}.game-shell .lb-avatar{width:80px!important;height:80px!important}.game-shell .lb-podium-item.place-1 .lb-avatar{width:96px!important;height:96px!important}.game-shell .lb-podium-name{font-size:18px!important}.game-shell .lb-podium-score{font-size:19px!important}
  .game-shell .lb-row{height:84px!important;grid-template-columns:50px 68px minmax(0,1fr) auto!important}.game-shell .lb-row .lb-avatar{width:62px!important;height:62px!important}.game-shell .lb-row-rank{font-size:18px!important}.game-shell .lb-row-name{font-size:19px!important}.game-shell .lb-row-score{font-size:21px!important}
  .game-shell .lb-your-place span{font-size:17px!important}.game-shell .lb-your-place strong{font-size:28px!important}.game-shell .lb-auth-copy p{font-size:15px!important}
}

/* Short desktop windows stay readable by scrolling content, not by shrinking it. */
@media (hover:hover) and (pointer:fine) and (max-height:759px){
  .game-shell .menu-screen{justify-content:flex-start!important;gap:18px!important;padding-top:max(82px,calc(env(safe-area-inset-top) + 72px))!important}
  .game-shell .menu-brand .app-icon{width:142px!important}
  .game-shell .menu-brand h1{font-size:50px!important;margin-top:12px!important}
  .game-shell .menu-brand p{font-size:17px!important;margin-top:8px!important}
  .game-shell .menu-brand{margin-top:0!important}
  .game-shell .achievement-grid{grid-template-columns:1fr!important}
  .game-shell .achievement-item-card{min-height:260px!important;grid-template-columns:104px minmax(0,1fr)!important;grid-template-rows:auto auto auto 10px!important;grid-template-areas:"badge title" "badge desc" "footer footer" "progress progress"!important;align-items:center!important;text-align:left!important;padding:14px!important}
  .game-shell .achievement-item-card>strong{grid-area:title!important;justify-content:flex-start!important;text-align:left!important;min-height:0!important}
  .game-shell .achievement-item-card>p{grid-area:desc!important;justify-content:flex-start!important;text-align:left!important;min-height:0!important}
  .game-shell .achievement-card-footer{grid-area:footer!important;justify-content:space-between!important}
  .game-shell .achievement-progress-track{grid-area:progress!important}
  .game-shell .achievement-badge{grid-area:badge!important;justify-self:start!important;align-self:center!important}
}


/* v39 desktop readability follow-up: remove the last enlarged-UI collisions.
   These rules only affect fine-pointer desktop UI; gameplay geometry stays untouched. */
@media (hover:hover) and (pointer:fine){
  /* The wave progress sits below the score block instead of crossing the SCORE caption. */
  .game-shell .wave-meter{top:max(148px,calc(env(safe-area-inset-top) + 138px))!important}

  /* The review reward remains conspicuous, but occupies a reserved right-side pocket
     between the brand copy and Play rather than covering the title/tagline. */
  .game-shell .rating-shortcut-menu{
    width:68px!important;height:68px!important;right:-5px!important;top:-69px!important;border-radius:22px!important
  }
  .game-shell .rating-shortcut-menu>span{width:37px!important;height:37px!important;border-radius:13px!important;font-size:29px!important}
  .game-shell .rating-shortcut-menu>small{right:-8px!important;bottom:-7px!important;min-width:58px!important;padding:7px 8px!important;font-size:14px!important}
  .game-shell .rating-shortcut-menu>small .rating-bonus-number{font-size:17px!important}

  /* Small labels that were still inherited from old mobile-oriented rules. */
  .game-shell .lb-trophy-number{font-size:16px!important;line-height:1!important}
  .game-shell .achievement-badge>small{font-size:14px!important;line-height:1.08!important}
  .game-shell .achievement-mini-trophy{width:22px!important;height:22px!important}
  .game-shell .rating-shortcut-gameover>small{font-size:14px!important}
  .game-shell .rating-shortcut-gameover>small .rating-bonus-number{font-size:18px!important}
}

@media (hover:hover) and (pointer:fine) and (min-height:760px){
  /* Taller desktop layout uses a larger HUD, so give the score a little more clearance. */
  .game-shell .wave-meter{top:max(166px,calc(env(safe-area-inset-top) + 156px))!important}
  /* Do not let the generic tall-desktop rating rule grow back into the title. */
  .game-shell .rating-shortcut-menu{width:72px!important;height:72px!important;right:-7px!important;top:-73px!important}
  .game-shell .rating-shortcut-menu>span{width:39px!important;height:39px!important;font-size:31px!important}
}

/* On compact desktop embeds there is less horizontal breathing room.  Keep the reward
   inside the shell and slightly farther right, while preserving the readable 68px target. */
@media (hover:hover) and (pointer:fine) and (max-width:700px){
  .game-shell .rating-shortcut-menu{right:0!important}
}
