:root{--ink:#572553;--cream:#fff5e7;--rose:#ff53a5;--pink-dark:#d63279;--gold:#ffe44b;--purple:#65308c;--blue:#3dbaf2;--nav-h:86px;--board-size:400px}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;height:100%;font-family:ui-rounded,"Arial Rounded MT Bold","Trebuchet MS",system-ui,sans-serif;color:var(--ink);background:#e9bcdb;overscroll-behavior:none}body{display:flex;justify-content:center;background:radial-gradient(ellipse at 50% 25%,#fbe2ef,#b99bcd)}button,input{font:inherit}button{border:0;cursor:pointer;color:inherit;touch-action:manipulation}button:disabled{cursor:default;opacity:.5}button:focus-visible,input:focus-visible{outline:3px solid #28bafa;outline-offset:3px}button img{pointer-events:none}h1,h2,p{margin:0}h2{font-size:19px;font-weight:900}.hidden{display:none!important}.app-shell{position:relative;width:100%;max-width:520px;height:100vh;height:100dvh;overflow:hidden;box-shadow:0 0 80px #451b5944;isolation:isolate}.scene{position:absolute;inset:0;z-index:-2;background:var(--scene-url,url('assets/world-sugar.webp')) center/cover no-repeat;transition:background-image .4s}.scene:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#ffffff08 10%,#ffe7f33b 74%,#df77a955)}.screen{height:100%;display:none;position:relative;flex-direction:column;gap:10px;padding:calc(10px + env(safe-area-inset-top)) 14px calc(14px + env(safe-area-inset-bottom));overflow-y:auto;scrollbar-width:thin;scrollbar-color:#e0a1c7 transparent}.screen.active{display:flex;animation:screenIn .28s ease-out}.screen.with-nav{padding-bottom:calc(var(--nav-h) + 15px + env(safe-area-inset-bottom))}@keyframes screenIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
.topbar,.top-actions{display:flex;align-items:center;justify-content:space-between;gap:6px}.topbar{min-height:47px;flex:none}.pill{display:flex;align-items:center;gap:3px;padding:3px 7px 3px 2px;border:3px solid #fff;border-radius:26px;background:linear-gradient(#fffef2,#ffedee);box-shadow:inset 0 -3px 0 #eaa9c4,0 4px 9px #4d234632;font-weight:900;min-height:39px}.pill img{width:33px;height:33px;object-fit:contain;filter:drop-shadow(0 2px 2px #7a355a30)}.pill b{font-size:17px}.pill small{font-size:10px;line-height:1}.plus{display:grid;place-items:center;border-radius:50%;background:linear-gradient(#82ec44,#20b342);border:2px solid #fff;color:#fff;width:23px;height:23px;font-size:23px;text-shadow:0 1px #246d23;margin-left:3px}.round{display:grid;place-items:center;flex:none;width:43px;height:43px;padding:3px;border-radius:50%;background:linear-gradient(#89def9,#3b8ee9);border:3px solid #fff;box-shadow:inset 0 -3px 0 #3166b7,0 4px 9px #4c245347;color:#fff;font-size:33px;font-weight:900;line-height:1}.round img{width:100%;height:100%;object-fit:contain}.round.mini{width:35px;height:35px;font-size:27px}.small-logo{height:56px;width:120px;object-fit:contain;filter:drop-shadow(0 2px 2px #80406750)}
.icing{position:relative;border:3px solid #fff;border-radius:26px;background:linear-gradient(160deg,#fff9ef,#ffe5ec);box-shadow:inset 0 0 0 2px #ffd6d1,inset 0 -6px 0 #efbfc97d,0 7px 14px #66355630}.ribbon{position:relative;margin:-4px -7px 10px;padding:13px 6px;text-align:center;border:3px solid #fff;border-radius:22px;background:linear-gradient(#ff7db7 0,#fb4c9d 50%,#e62c80);box-shadow:inset 0 3px 0 #ffbee2,inset 0 -4px 0 #c92770,0 6px 10px #8a335140;color:#fff;font-size:27px;font-weight:1000;text-shadow:0 2px 1px #bd256d}.ribbon:before,.ribbon:after{content:"✦";position:absolute;top:50%;transform:translateY(-50%);font-size:17px;color:#ffe991;text-shadow:0 2px #bf713b}.ribbon:before{left:13px}.ribbon:after{right:13px}.primary,.secondary{position:relative;border:3px solid #fff;border-radius:21px;box-shadow:inset 0 3px 0 #ffffff44,inset 0 -5px 0 #07852c50,0 6px 12px #73305e30;padding:12px 14px;color:#fff;font-weight:1000;min-height:48px;font-size:17px;text-shadow:0 2px 1px #177734;background:linear-gradient(#a0f760,#49e03b 42%,#1ebb31)}.secondary{background:linear-gradient(#82e4ff,#38b6f3 48%,#3184e0);text-shadow:0 2px #2668a2;box-shadow:inset 0 3px 0 #ffffff44,inset 0 -5px 0 #1b5a9844,0 6px 12px #73305e30}.big{min-height:60px;font-size:23px;width:90%;margin:0 auto}.primary:before,.secondary:before{content:"";position:absolute;top:4px;left:8px;right:8px;height:33%;border-radius:14px;background:linear-gradient(#ffffff33,transparent);pointer-events:none}
button:not(.tile),.booster-option{transition:transform .13s,filter .13s,box-shadow .13s;background-origin:border-box}button:not(.tile):active,button.pressed{transform:translateY(3px) scale(.965);filter:brightness(.90) saturate(1.15)}button.clicked{animation:clickGlow .36s ease-out}button:disabled:active{transform:none;filter:none}@keyframes clickGlow{25%{filter:brightness(1.20);box-shadow:0 0 0 3px #ffe66d99,0 0 20px #fff3a57d}}@media(hover:hover){button:not(.tile):not(:disabled):hover{filter:brightness(1.065)}}
.home-hero{position:relative;height:clamp(204px,29dvh,294px);min-height:204px;flex:none}.home-logo{position:absolute;width:68%;height:60%;left:16%;top:-3%;object-fit:contain;filter:drop-shadow(0 5px 3px #843e6744)}.home-mascot{position:absolute;width:42%;height:75%;left:-3%;bottom:-5%;object-fit:contain;filter:drop-shadow(0 9px 5px #843e6744)}.hero-play{position:absolute;right:0;bottom:4px;width:60%;text-align:center;display:grid;gap:7px}.hero-play>small{font-weight:900;font-size:12px;color:#6b2555;text-shadow:0 1px #fff}.play-button{display:flex;align-items:center;justify-content:center;gap:9px;font-size:35px;border:5px solid #fff7dd;border-radius:27px;min-height:84px;box-shadow:inset 0 4px #daff8e,inset 0 -8px #16872155,0 5px 0 #d7b77e,0 12px 18px #70275645}.play-triangle{font-size:26px}.next-level{font-size:11px;font-weight:900;border-radius:20px;background:#fff7edec;padding:5px 7px;width:max-content;max-width:100%;margin:auto;box-shadow:0 2px 7px #8c3b6c24}.mascot-bob{animation:bob 3.6s ease-in-out infinite}@keyframes bob{50%{transform:translateY(-5px) rotate(-1deg)}}
.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.feature-card{position:relative;border:4px solid #fff2d0;min-height:110px;padding:10px 7px;border-radius:25px;display:flex;align-items:center;gap:3px;box-shadow:inset 0 0 0 2px #ffd557,inset 0 -5px #561b7740,0 6px 10px #66235133;color:#fff;font-weight:900}.purple{background:linear-gradient(140deg,#cb88ff,#9748e9 55%,#662bc2)}.gold{background:linear-gradient(140deg,#fff89c,#ffd442 55%,#ff942f);color:#883344}.blue{background:linear-gradient(140deg,#8aedff,#2cc7f8 55%,#2c8ddb)}.pink{background:linear-gradient(140deg,#ffb3d8,#ff6cad 55%,#e43582)}.feature-card img{width:48%;max-width:80px;height:82px;object-fit:contain;filter:drop-shadow(0 5px 3px #5d184133)}.feature-card div{display:grid;gap:6px;text-align:left}.feature-card b{font-size:17px;line-height:1.1;text-shadow:0 2px #64265399}.feature-card.gold b{text-shadow:0 1px #fff8}.feature-card small{font-size:10px;line-height:1.2}.notification{position:absolute;right:6px;top:-10px;width:26px;height:26px;border:2px solid #fff;border-radius:50%;display:grid;place-items:center;background:#f63179;color:#fff;box-shadow:0 3px 4px #76204555;font-size:14px}.season{padding:9px 12px;flex:none}.season-heading{display:flex;align-items:center;gap:5px;margin-bottom:5px}.season-heading img{width:44px;height:46px;object-fit:contain}.season-heading>div{flex:1;display:grid;gap:3px}.season-heading b{font-size:16px}.season-heading small{font-size:10px}.season-heading>span{font-weight:900;font-size:13px}.season-bar{height:14px;border-radius:20px;background:#714267;overflow:hidden;border:2px solid #fff}.season-bar>div{height:100%;border-radius:20px;background:linear-gradient(90deg,#ffd335,#ff9571);transition:width .5s;min-width:0}.utility-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.utility-card{border:4px solid #fff3d9;border-radius:24px;min-height:99px;display:grid;place-items:center;padding:5px;box-shadow:inset 0 -5px #6b24452c,0 6px 10px #66235133;color:#fff;font-weight:900;gap:2px}.utility-card img{width:61px;height:61px;object-fit:contain;filter:drop-shadow(0 4px 2px #50274c35)}.utility-card b{font-size:14px;text-shadow:0 2px #6d2355}.creator{font-size:9px;text-align:center;font-weight:800;color:#703361;text-shadow:0 1px #fff;margin-top:auto}
.bottom-nav{display:flex;position:absolute;bottom:calc(7px + env(safe-area-inset-bottom));left:9px;right:9px;height:var(--nav-h);z-index:30;padding:4px;gap:3px;border-radius:29px}.bottom-nav button{flex:1;min-width:0;border-radius:21px;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3px 0;gap:3px}.bottom-nav button img{width:40px;height:43px;object-fit:contain;filter:drop-shadow(0 3px 2px #a8525544);transition:transform .15s}.bottom-nav button span{font-size:10px;font-weight:1000;white-space:nowrap}.bottom-nav button[aria-current]{background:linear-gradient(#ffffdb,#ffeca0);box-shadow:inset 0 0 0 2px #fff,0 0 9px #ffe54c99}.bottom-nav button[aria-current] img{transform:translateY(-2px)}
.map-screen{overflow:hidden}.world-selector{display:flex;align-items:center;gap:8px;padding:6px 9px;flex:none}.world-selector>div{flex:1;text-align:center;display:grid;gap:4px}.world-selector b{font-size:19px}.world-selector small{font-size:10px}.map-scroller{flex:1;overflow:auto;min-height:0;scrollbar-width:none;border-radius:24px;position:relative}.map-world{position:relative;min-height:1100px;width:100%;overflow:hidden;background:linear-gradient(#ffffff05,#ffa4d511)}.map-road{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.level-node{position:absolute;transform:translate(-50%,-50%);width:77px;height:77px;padding:0;background:transparent;filter:drop-shadow(0 7px 3px #814e5b50);border-radius:50%;z-index:2;font-weight:1000}.node-face{position:absolute;inset:0;background:url('assets/ui/level-medallion.svg') center/contain no-repeat;display:flex;align-items:center;justify-content:center;font-size:30px;color:#fff;text-shadow:0 3px #96295f;transition:filter .15s}.level-node.done .node-face{filter:hue-rotate(175deg)}.level-node.locked .node-face{filter:saturate(.25) brightness(.88)}.level-node.locked .node-face>span{font-size:23px;transform:translateY(7px)}.node-lock{position:absolute;top:8px;width:21px;height:23px;background:url('assets/ui/lock.svg') center/contain no-repeat}.node-stars{position:absolute;bottom:-6px;left:0;width:100%;font-size:15px;letter-spacing:1px;color:#ffe735;text-shadow:0 2px #995526}.level-node.current:before{content:"";position:absolute;inset:-7px;border:3px solid #ffed7a;border-radius:50%;box-shadow:0 0 17px #fffb6e;animation:nodeGlow 2s ease-in-out infinite}.level-node.boss-node:after{content:"";position:absolute;top:-20px;left:24px;width:31px;height:32px;background:url('assets/boosters/boss.webp') center/contain no-repeat;filter:drop-shadow(0 2px 2px #5d1943)}.level-node.selected-map .node-face{box-shadow:0 0 0 3px #fff3b7,0 0 22px #ffe56a;border-radius:50%}.level-node:active{transform:translate(-50%,-47%) scale(.94)!important}@keyframes nodeGlow{50%{opacity:.6;transform:scale(1.08)}}.map-footer{display:flex;align-items:center;justify-content:space-between;padding:9px 12px;flex:none;gap:6px}.map-footer>div{display:grid;gap:3px}.map-footer b{font-size:21px}.map-footer small{font-size:10px}.eyebrow{font-size:9px;letter-spacing:.45px;font-weight:1000;color:#8c4373}.map-footer .primary{min-height:50px;padding:9px 13px;font-size:15px}
.prelevel-screen{gap:12px}.start-panel{padding:10px 14px 14px;flex:none}.pre-level-meta{display:flex;align-items:center;justify-content:center;gap:10px;margin:3px 0 13px;font-size:12px;font-weight:900}.difficulty-badge{background:#eee0ff;border-radius:20px;color:#703d9d;padding:4px 10px}.start-panel>h2{text-align:center;margin:0 0 10px;font-size:15px}.goals-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.goals-preview>div{display:grid;grid-template-columns:1fr;justify-items:center;align-content:center;gap:3px;min-height:91px;padding:8px 3px;border:2px solid #fff;border-radius:18px;background:linear-gradient(#fffdf6,#ffedee);box-shadow:0 3px 6px #9a496023}.goals-preview img{width:40px;height:42px;object-fit:contain;filter:drop-shadow(0 3px 2px #61325728)}.goals-preview b{font-size:20px}.goals-preview small{font-size:10px;font-weight:800}.tip{margin-top:11px;font-size:11px;text-align:center;font-weight:750;line-height:1.5;background:#fffdf1;border:1px solid #efc7ca;border-radius:16px;padding:8px 10px}.boss-preview{display:flex;align-items:center;gap:7px;margin-top:10px;padding:9px 7px;background:linear-gradient(#813b9b,#5c2b79);border:2px solid #b077d8;border-radius:18px;color:#fff}.boss-preview img{width:54px;height:56px;object-fit:contain;flex:none}.boss-preview b{font-size:12px}.boss-preview p{font-size:11px;line-height:1.45;margin:4px 0}.boss-preview .text-button{color:#ffed8c;font-size:10px;text-align:left;padding:2px 0}.booster-select{padding:11px 12px;flex:none}.section-heading{display:flex;justify-content:space-between;align-items:center}.section-heading h2{font-size:18px}.info-button{width:25px;height:25px;border:2px solid #fff;border-radius:50%;background:#d684db;color:#fff;font-weight:900}.booster-note{font-size:10px;line-height:1.5;margin:6px 0 9px}.booster-options{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.booster-option{cursor:pointer;position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;background:linear-gradient(#f9fdff,#dfecff);border:2px solid #fff;border-radius:18px;padding:8px 4px;box-shadow:0 3px 5px #59345420;text-align:center}.booster-option input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.booster-option img{width:43px;height:48px;object-fit:contain}.booster-option b{font-size:13px}.booster-option small{font-size:9px;line-height:1.4;min-height:26px}.booster-option>span{font-size:9px;font-weight:900;color:#735287}.booster-option em{font-size:10px;border-radius:13px;background:#fff;padding:3px 9px;font-style:normal;font-weight:900}.booster-option:has(input:checked){background:linear-gradient(#fff6aa,#ffd578);border-color:#ffcf45;box-shadow:0 0 0 2px #fff,0 0 12px #ffd95a}.booster-option:has(input:checked) em{color:#188046}.booster-option:has(input:checked) em:before{content:"✓ "}.booster-select>.text-button{font-size:9px;width:100%;text-align:center;margin-top:8px}.text-button{background:transparent;padding:7px 4px;font-size:13px;font-weight:900;color:#87477b}.danger{color:#c14b6d}.subtle{color:#866b86;font-size:11px;line-height:1.4;text-align:center}
.game-screen{padding-left:10px;padding-right:10px;overflow:hidden;gap:8px;align-items:stretch}.game-topbar{display:flex;align-items:center;gap:6px;flex:none;min-height:40px}.game-topbar>div{display:grid;gap:2px;flex:1;padding-left:3px}.game-topbar>div b{font-size:18px;color:#fff;text-shadow:0 2px 1px #61355e}.game-topbar>div small{font-size:9px;font-weight:900;color:#713f71;text-shadow:0 1px #fff}.game-score{background:#fff7edec;border:2px solid #fff;border-radius:15px;font-size:9px;font-weight:900;text-align:center;padding:4px 8px}.game-score b{display:block;font-size:14px}.game-header{display:flex;gap:7px;flex:none;min-height:83px}.goal-panel{flex:1;min-width:0;padding:9px 7px 7px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border-radius:23px}.goal-panel .eyebrow{font-size:9px;line-height:1.2;text-align:center}.goalbox{display:flex;gap:5px;align-items:center;justify-content:center;flex-wrap:nowrap;width:100%}.goalbox>span{display:flex;align-items:center;gap:2px;font-size:12px;font-weight:1000}.goalbox img{width:25px;height:27px;object-fit:contain;filter:drop-shadow(0 3px 2px #73305922)}.goalbox span.done{opacity:.5}.goalbox span.goal-pop{animation:goalPop .6s}@keyframes goalPop{40%{transform:scale(1.25);filter:brightness(1.3)}}.moves{flex:none;width:70px;border:3px solid #fff;border-radius:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:linear-gradient(#ff7fbd,#eb3d8e);box-shadow:inset 0 -4px #b22b7550,0 5px 10px #5c28562b;color:#fff}.moves small{font-size:11px;font-weight:900}.moves b{font-size:31px;font-weight:1000;line-height:1;text-shadow:0 2px #ac2f70}.moves.low{animation:lowMoves 1s infinite}@keyframes lowMoves{50%{filter:brightness(1.15);box-shadow:0 0 10px #ff99be}}
.boss-hud{display:flex;align-items:center;gap:5px;padding:5px 8px;background:linear-gradient(#793895,#532774);border:2px solid #dab6ed;border-radius:19px;color:#fff;flex:none;box-shadow:0 4px 7px #3d1b5940;min-height:45px;text-align:left}.boss-hud>img{width:37px;height:37px;object-fit:contain}.boss-hud>div{flex:1;min-width:0}.boss-hud>div>span{font-weight:900;font-size:11px;display:flex;justify-content:space-between;gap:4px}.boss-hud small{font-size:8px;font-weight:800;color:#ffe3a5}.boss-hud>b{font-size:17px;min-width:21px;text-align:center}.boss-bar{margin-top:5px;height:9px;overflow:hidden;background:#2d183e;border-radius:10px}.boss-bar>div{height:100%;background:linear-gradient(90deg,#ffe569,#ff649d);border-radius:10px;transition:width .3s}.score-challenge{background:#fff8ed;border:2px solid #fff;border-radius:14px;flex:none;font-weight:900;padding:3px;text-align:center;font-size:10px}.score-challenge.done{background:#cfffbb}
.rush-hud{display:flex;align-items:center;gap:7px;flex:none;width:100%;padding:7px 10px;background:linear-gradient(150deg,#693ba6,#422568);border:3px solid #ffedbc;border-radius:21px;box-shadow:inset 0 0 0 1px #9a6be4,0 5px 9px #68315440;color:#fff;text-align:left;min-height:61px}.rush-hud>img{width:41px;height:41px;object-fit:contain;filter:drop-shadow(0 0 7px #ff9bed99)}.rush-hud>div{flex:1;min-width:0}.energy-heading{display:flex;align-items:center;gap:6px;margin-bottom:6px}.energy-heading>b{font-size:11px;letter-spacing:.3px}.energy-heading>small{font-size:8px;color:#fff1a9;margin-left:auto;white-space:nowrap}.energy-heading>span{font-size:11px;font-weight:1000;min-width:30px;text-align:right}.rush-track{position:relative;height:15px;overflow:hidden;background:#281738;border:2px solid #bda3e6;border-radius:18px;box-shadow:inset 0 2px 5px #0005}.rush-track>div{height:100%;width:0;border-radius:18px;background:linear-gradient(90deg,#38daff 0,#91ffff 25%,#f7e351 62%,#ff70c3 100%);transition:width .3s ease-out;box-shadow:0 0 12px #e0f76b}.rush-track>div:after{content:"";display:block;height:100%;width:100%;background:repeating-linear-gradient(110deg,#ffffff44 0 7px,transparent 8px 19px);animation:energyShine 1.6s linear infinite}.energy-info{border:1px solid #d8b2ff;color:#eacfff;border-radius:50%;width:16px;height:16px;display:grid;place-items:center;font-size:10px}@keyframes energyShine{to{background-position:35px 0}}.rush-hud.charging{animation:energyCharge .4s ease-out}.rush-hud.ready{animation:energyReady .6s ease-in-out infinite alternate}@keyframes energyCharge{40%{filter:brightness(1.15);box-shadow:0 0 15px #fff06a99}}@keyframes energyReady{to{filter:brightness(1.15);box-shadow:0 0 19px #ffef6899}}
.board-stage{position:relative;margin:auto;flex:none;width:var(--board-size);height:var(--board-size);max-width:100%;}.board{width:100%;height:100%;display:grid;grid-template-columns:repeat(8,1fr);grid-template-rows:repeat(8,1fr);gap:3px;padding:7px;border:6px solid #fff0d8;border-radius:25px;background:linear-gradient(145deg,var(--board-top,#6a426d),var(--board-bottom,#382949));box-shadow:inset 0 0 0 2px #ffbce3,0 4px 0 #d6a291,0 11px 16px #38143845;touch-action:none;user-select:none}.tile{position:relative;min-width:0;min-height:0;border-radius:9px;background:radial-gradient(circle at 32% 22%,var(--tile-top,#7a607c),var(--tile-bottom,#4b3e60));padding:0;box-shadow:inset 0 0 5px #28203a99;overflow:visible;touch-action:none;outline-offset:-1px}.tile.selected,.tile.pc-cursor{outline:2px solid #6cefff;z-index:3}.tile.drag-origin{outline:3px solid #ffe07b;filter:brightness(1.2)}.piece{position:absolute;inset:1%;background:center/contain no-repeat;filter:drop-shadow(0 3px 2px #120f3c50);pointer-events:none}.p0{background-image:url('assets/pieces/heart.webp')}.p1{background-image:url('assets/pieces/star.webp')}.p2{background-image:url('assets/pieces/drop.webp')}.p3{background-image:url('assets/pieces/leaf.webp')}.p4{background-image:url('assets/pieces/berry.webp')}.p5{background-image:url('assets/pieces/orange.webp')}.p7,.piece.bomb{background-image:url('assets/pieces/spark_core.webp')}.piece.stripeH{background-image:url('assets/pieces/stripe_h.webp');clip-path:inset(0 0 15%);inset:2% 0 -12%}.piece.stripeV{background-image:url('assets/pieces/stripe_v.webp')}.piece.wrapped{background-image:url('assets/pieces/wrapped.webp')}.piece.nova{background-image:url('assets/pieces/nova.webp')}.piece.special{filter:drop-shadow(0 0 4px #fff) drop-shadow(0 0 4px #efbaf3)}.piece.bomb,.piece.nova{animation:specialGlow 2.5s ease-in-out infinite}@keyframes specialGlow{50%{filter:brightness(1.15) drop-shadow(0 0 6px #ffe36f)}}.blocker{position:absolute;inset:0;background:url('assets/pieces/chocolate.webp') center/contain no-repeat;pointer-events:none}.blocker.crate{background-image:url('assets/pieces/crate.webp')}.blocker span{display:none}.ice{position:absolute;inset:0;background:url('assets/pieces/ice.webp') center/contain no-repeat;opacity:.65;pointer-events:none}.ice2{opacity:.85}.piece.pop{animation:assetPop .23s ease-in forwards}.piece.fall{animation:assetFall .28s cubic-bezier(.12,.82,.24,1.2)}.piece.swap-slide{animation:swapSlide .17s cubic-bezier(.2,.9,.24,1.18)}.tile.shake{animation:tileShake .25s}.piece.hint,.hint-tile{animation:hintGlow .75s ease-in-out 3}.board.juice-kick{animation:boardKick .3s ease-out}.boss-attack .board{animation:tileShake .35s}.board.rush-mode{box-shadow:inset 0 0 0 2px #fff67c,0 0 18px #fff46199}@keyframes assetPop{40%{transform:scale(1.18)}100%{transform:scale(1.5) rotate(9deg);opacity:0;filter:brightness(1.8)}}@keyframes assetFall{from{transform:translateY(calc(-1 * var(--fall,45px))) scale(.9);opacity:.2}75%{transform:translateY(2px);opacity:1}to{transform:none}}@keyframes swapSlide{from{transform:translate(var(--sx),var(--sy))}70%{transform:scale(1.06)}to{transform:none}}@keyframes tileShake{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}@keyframes hintGlow{50%{filter:brightness(1.35) drop-shadow(0 0 7px #ffef56);box-shadow:0 0 0 2px #ffe657;border-radius:9px}}@keyframes boardKick{40%{transform:translateY(-2px) scale(1.008)}to{transform:none}}
.booster-bar{flex:none;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:7px;border-radius:22px;margin-top:auto}.booster{position:relative;display:grid;place-items:center;gap:2px;padding:4px 2px 6px;min-height:76px;border:2px solid #fff;border-radius:16px;background:linear-gradient(#fffdf8,#ffdae9);box-shadow:inset 0 -3px #e8accc44}.booster img{width:40px;height:43px;object-fit:contain;filter:drop-shadow(0 3px 2px #6f2b6930)}.booster b{font-size:10px}.booster>span{position:absolute;right:3px;top:3px;width:18px;height:18px;background:#ff4c9f;border:2px solid #fff;border-radius:50%;color:#fff;font-size:10px;font-weight:900;display:grid;place-items:center}.booster.active{border-color:#ffd645;box-shadow:0 0 0 2px #fff,0 0 12px #ffe248;background:linear-gradient(#fff7ae,#ffd381)}.hint-button{background:linear-gradient(#a2f87c,#59dd3c);color:#fff;text-shadow:0 1px #397f23}.booster-instruction{font-size:11px;font-weight:900;text-align:center;background:#fff8d9;border:2px solid #fff;border-radius:12px;padding:5px;flex:none}.gesture-tip{flex:none;text-align:center;font-size:9px;font-weight:800;text-shadow:0 1px #fff}
.combo-banner{position:absolute;left:6%;right:6%;top:31%;z-index:12;pointer-events:none;text-align:center;opacity:0;border:3px solid #fff4da;border-radius:27px;background:linear-gradient(#fff2a3,#ffce54 60%,#ff994e);box-shadow:inset 0 3px 0 #fff8,0 7px 0 #cc713b70,0 12px 22px #67184f55;font-size:clamp(17px,5vw,26px);font-weight:1000;padding:16px 7px;color:#9a285e;text-shadow:0 2px #fff1b2;line-height:1.2;transform:scale(.6) translateY(15px)}.combo-banner.show{animation:comboCelebrate 2.35s ease-in-out forwards}@keyframes comboCelebrate{0%{opacity:0;transform:scale(.55) rotate(-5deg)}13%{opacity:1;transform:scale(1.07) rotate(2deg)}23%{transform:scale(1) rotate(-1deg)}45%{transform:translateY(-3px)}78%{opacity:1;transform:translateY(0) scale(1)}100%{opacity:0;transform:translateY(-35px) scale(1.06)}}.rush-overlay{position:absolute;inset:24% 1% auto;z-index:15;display:flex;flex-direction:column;gap:10px;align-items:center;pointer-events:none;padding:23px 7px;border:4px solid #fff;border-radius:30px;background:radial-gradient(ellipse at 50% 0,#f5dc90,#ff73c8 62%,#9851d5);box-shadow:0 0 0 5px #fff37b99,0 0 40px #ffed8599,0 15px 20px #781a6055;color:#fff;text-shadow:0 3px #a32d77;font-weight:1000;opacity:0}.rush-overlay span{font-size:clamp(26px,8vw,40px)}.rush-overlay small{font-size:12px}.rush-overlay.show{animation:rushCelebrate 2.6s ease-in-out forwards}@keyframes rushCelebrate{0%{opacity:0;transform:scale(.4) rotate(-6deg)}15%{opacity:1;transform:scale(1.03) rotate(2deg)}30%{transform:scale(1)}85%{opacity:1;transform:translateY(-3px)}100%{opacity:0;transform:scale(1.07) translateY(-20px)}}
.fx-layer{position:absolute;inset:0;z-index:45;overflow:hidden;pointer-events:none}.spark{position:absolute;width:6px;height:6px;border-radius:50%;background:#fff0ad;box-shadow:0 0 6px #fff,0 0 10px #ff7ce1;animation:sparkFly .7s ease-out forwards}.spark.special{background:#ffe757}.spark.create{background:#78f5ff}.spark.ice{background:#c8fdff}.spark.crate{background:#ffbf75}.spark.choc{background:#c78755}@keyframes sparkFly{to{transform:translate(var(--dx),var(--dy)) scale(.12);opacity:0}}.floating-score{position:absolute;color:#fff9c7;text-shadow:0 2px #884169,0 0 3px #884169;font-weight:1000;font-size:16px;white-space:nowrap;animation:scoreFloat 1.45s ease-out forwards}.floating-score.big{font-size:23px}@keyframes scoreFloat{0%{transform:translate(-50%,0) scale(.7);opacity:0}15%{opacity:1;transform:translate(-50%,-6px) scale(1.05)}65%{opacity:1}100%{transform:translate(-50%,-50px) scale(.95);opacity:0}}.goal-fly{position:absolute;width:27px;height:27px;object-fit:contain;z-index:2;animation:goalFly .58s ease-in-out forwards;filter:drop-shadow(0 2px 3px #64275844)}@keyframes goalFly{0%{transform:scale(1.08)}100%{transform:translate(var(--gx),var(--gy)) scale(.6);opacity:.2}}.screen-flash{position:absolute;inset:0;background:radial-gradient(ellipse,#fff66b3c,transparent 68%);animation:flash .45s ease-out forwards}.screen-flash.boss{background:radial-gradient(ellipse,#79e6ff50,transparent 68%)}@keyframes flash{from{opacity:0}30%{opacity:.65}to{opacity:0}}.confetti{position:absolute;top:-10px;width:8px;height:12px;border-radius:2px;animation:confettiFall 2.8s ease-in forwards}@keyframes confettiFall{to{transform:translate(var(--cx,0px),calc(100dvh + 30px)) rotate(580deg);opacity:.2}}
.result-screen{gap:3px;padding-top:5px}.result-hero{position:relative;height:clamp(120px,20dvh,194px);flex:none}.result-logo{position:absolute;right:7%;width:60%;height:90%;object-fit:contain}.result-hero>#resultMascot{position:absolute;left:3%;bottom:-10px;width:38%;height:95%;object-fit:contain;filter:drop-shadow(0 6px 3px #6a305a50)}.result-card{padding:12px 16px 14px;text-align:center}.result-card .ribbon{font-size:24px}.stars{font-size:54px;line-height:1.05;letter-spacing:4px;color:#ffd43b;text-shadow:0 2px #dd891f,0 4px #af602a;animation:starsIn 1.2s cubic-bezier(.2,.9,.4,1.4)}@keyframes starsIn{from{transform:scale(.4);opacity:0}to{transform:none;opacity:1}}.result-level-label{font-size:15px;font-weight:900;margin:8px auto}.result-score-panel{border:3px solid #fff;border-radius:22px;background:linear-gradient(#ffe0ed,#ffbad4);padding:10px;display:grid;gap:3px;box-shadow:inset 0 0 0 1px #ed90bd,0 4px 10px #74335726}.result-score-panel>small{font-size:9px;font-weight:1000;letter-spacing:1px}.result-score-panel>b{font-size:42px;color:#d9277c;font-weight:1000}.result-score-panel>span{font-size:10px}.reward-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:11px 0}.reward-row>div{display:grid;grid-template-columns:48px 1fr;grid-template-rows:auto auto;align-items:center;justify-content:center;column-gap:3px;border:3px solid #fff;border-radius:20px;padding:9px 5px;background:#fff9ef;box-shadow:0 3px 8px #96516422}.reward-row img{width:48px;height:54px;object-fit:contain;grid-row:1/3}.reward-row b{font-size:20px}.reward-row small{font-size:9px}.result-season{font-size:11px;font-weight:900;display:grid;grid-template-columns:1fr auto;gap:7px;text-align:left;background:#fffaf1;border:2px solid #fff;border-radius:16px;padding:10px}.result-season .season-bar{grid-column:1/-1}.result-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.result-actions button{font-size:17px;min-height:57px}
.modal{position:absolute;inset:0;background:#31174191;backdrop-filter:blur(5px);z-index:70;display:flex;align-items:center;justify-content:center;padding:18px;animation:modalIn .18s ease-out}.modal-card{width:100%;max-height:95%;overflow-y:auto;padding:20px 17px;display:flex;flex-direction:column;gap:12px;text-align:center;scrollbar-width:thin}.modal-card h2{font-size:24px;color:#823669}.modal-card p{font-size:12px;line-height:1.55;font-weight:750}.modal-card>.primary,.modal-card>.secondary{width:100%;flex:none}.modal-hero-icon{display:block;width:72px;height:75px;object-fit:contain;margin:-7px auto -4px}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:6px;text-align:left;font-size:13px;font-weight:900;border-bottom:1px solid #e6c7d9;padding:7px 0}.setting-row input[type=checkbox]{appearance:none;width:36px;height:23px;border-radius:17px;background:#d8bad2;position:relative;flex:none;cursor:pointer;transition:background .15s}.setting-row input[type=checkbox]:before{content:"";position:absolute;top:3px;left:3px;width:17px;height:17px;background:#fff;border-radius:50%;transition:left .15s;box-shadow:0 2px 4px #7a3b5550}.setting-row input:checked{background:#54ce6a}.setting-row input:checked:before{left:16px}.volume-row{display:grid;grid-template-columns:1fr auto;gap:6px}.volume-row input{grid-column:1/-1;width:100%;accent-color:#d851a7}.volume-row b{font-size:11px}.settings-tabs{display:flex;justify-content:space-between;align-items:center;font-size:11px}.settings-tabs>span{border-radius:16px;background:#ffe1ef;padding:5px 11px;font-weight:900}.settings-tabs .text-button{font-size:11px}.shop-balance{display:flex;align-items:center;justify-content:center;gap:6px;background:#fff8eb;border:2px solid #fff;border-radius:17px;padding:5px;font-size:12px}.shop-balance img{width:34px;height:38px;object-fit:contain}.shop-balance b{font-size:24px}.shop-item{display:flex;gap:7px;align-items:center;text-align:left;padding:10px 7px;border:3px solid #fff;border-radius:19px;background:linear-gradient(#fff6c9,#ffd8d9);box-shadow:0 4px 7px #8f485a22}.shop-item img{width:45px;height:48px;object-fit:contain}.shop-item>span{flex:1;display:grid;gap:4px}.shop-item b{font-size:14px}.shop-item small{font-size:9px;line-height:1.35}.shop-item strong{font-size:16px;text-align:center;background:#fff8d8;border-radius:13px;padding:5px 8px;color:#985335;line-height:1}.inventory-summary{font-size:11px;font-weight:900;padding:7px;background:#fff8ee;border-radius:13px}.event-stat{display:flex;justify-content:space-between;background:#fff8ee;border:2px solid #fff;border-radius:16px;padding:10px;font-size:12px;font-weight:900}.event-rewards{display:grid;gap:6px}.event-reward{display:flex;align-items:center;justify-content:space-between;gap:6px;text-align:left;background:#fff8e8;border:2px solid #fff;border-radius:15px;padding:7px;font-size:11px}.event-reward>span{display:grid;gap:3px}.event-reward .primary{min-height:33px;font-size:11px;padding:5px 9px;border-width:2px;border-radius:14px}.friend-form{text-align:left;display:grid;gap:5px}.friend-form>label{font-size:11px;font-weight:900}.friend-form>div{display:flex;gap:6px}.friend-form input{min-width:0;flex:1;border:2px solid #f5b6d2;border-radius:15px;background:#fff;padding:9px;color:var(--ink);font-size:13px}.friend-form .primary{font-size:12px;padding:8px 10px;min-height:42px}.friend-row,.record-row{display:flex;align-items:center;gap:7px;background:#fff9ed;border:2px solid #fff;border-radius:14px;padding:9px;font-size:12px}.friend-row>span{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#dfb9ee;font-weight:900}.friend-row>b{flex:1;text-align:left;overflow-wrap:anywhere}.friend-row button{background:#ffe4ef;border-radius:10px;padding:5px;font-size:10px}.friends-list,.records-list{display:grid;gap:6px;max-height:260px;overflow:auto}.empty-state{padding:17px 7px;background:#fff8f1;border:2px dashed #e6b4d5;border-radius:15px;font-size:12px;line-height:1.55}.record-row>b{flex:1;text-align:left}.record-row>small{font-size:11px;color:#de981a}.record-row>strong{font-size:13px}.team-progress{padding:15px;background:#fff8ed;border-radius:18px;font-size:13px;display:grid;gap:9px}.info-body{display:grid;gap:10px;text-align:left;font-size:13px;line-height:1.6;font-weight:750}.info-body p{font-size:13px}.info-body .info-highlight{background:#ffedb5;border:2px solid #fff;border-radius:15px;padding:9px}.info-booster{display:flex;align-items:center;gap:7px}.info-booster img{width:44px;height:49px;object-fit:contain}.tutorial-mascot{width:100px;height:110px;object-fit:contain;margin:-10px auto -3px}.tutorial-skip{position:absolute;right:14px;top:8px;font-size:11px}.tutorial-visual{display:flex;align-items:center;justify-content:center;gap:7px;border-radius:22px;background:#ecd9f6;padding:12px;color:#87448e;font-size:26px;font-weight:900}.tutorial-visual img{width:42px;height:43px;object-fit:contain}.tutorial-dots{display:flex;justify-content:center;gap:5px}.tutorial-dots i{width:7px;height:7px;border-radius:50%;background:#cdb3d1}.tutorial-dots .active{background:#f44598;width:20px;border-radius:8px}.toast{position:absolute;left:20px;right:20px;bottom:calc(102px + env(safe-area-inset-bottom));z-index:100;text-align:center;border:2px solid #fff;border-radius:20px;background:#633276f2;color:#fff;font-weight:900;font-size:12px;line-height:1.4;padding:12px 13px;box-shadow:0 7px 15px #35174c55;opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:none}@keyframes modalIn{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}
.hero-play>small{display:none}.feature-card img{width:38%;height:76px}.feature-card b{font-size:16px}.feature-card>div{min-width:0}.feature-card small{font-size:9px}
@media(min-width:650px){.app-shell{width:min(520px,calc(100dvh * .64))}}@media(max-height:740px){:root{--nav-h:73px}.screen{gap:7px;padding-top:7px}.home-hero{height:24dvh;min-height:168px}.feature-card{min-height:89px}.feature-card img{height:60px}.feature-card b{font-size:15px}.utility-card{min-height:81px}.utility-card img{height:48px;width:48px}.season{padding:6px 10px}.season-heading img{height:37px}.bottom-nav button img{height:35px;width:33px}.prelevel-screen .start-panel{padding:8px 11px 10px}.ribbon{padding:10px;font-size:24px}.pre-level-meta{margin-bottom:7px}.goals-preview>div{min-height:78px;padding:5px}.goals-preview img{height:33px;width:33px}.goals-preview b{font-size:17px}.booster-select{padding:9px}.booster-option{padding:6px 2px}.booster-option img{height:36px;width:36px}.boss-preview img{width:40px;height:44px}.game-screen{gap:5px}.game-header{min-height:72px}.rush-hud{min-height:53px;padding:5px 8px}.rush-hud>img{width:32px;height:32px}.booster{min-height:66px}.booster img{width:34px;height:34px}.result-hero{height:18dvh;min-height:95px}.result-score-panel>b{font-size:36px}.result-card .ribbon{font-size:21px}.reward-row{margin:9px 0}.result-actions{margin-top:10px}.stars{font-size:44px}}
@media(max-width:360px){.screen{padding-left:9px;padding-right:9px}.pill b{font-size:14px}.pill small{font-size:8px}.pill img{width:28px;height:30px}.feature-card b{font-size:14px}.feature-card img{width:43%}.energy-heading>b{font-size:9px}.energy-heading>small{font-size:7px}.goalbox{gap:3px}.goalbox img{width:21px;height:23px}.moves{width:61px}.bottom-nav button span{font-size:8px}.ribbon{font-size:23px}.booster-option small{font-size:8px}.game-topbar>div b{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.combo-banner.show,.rush-overlay.show{opacity:1;transform:none}}.app-shell.reduced-fx .mascot-bob{animation:none}.app-shell.reduced-fx .combo-banner.show{animation:none;opacity:1;transform:none}

/* v24: readable candy typography, fixed start action and a full-width playfield. */
@font-face{font-family:'Baloo 2';src:url('assets/fonts/Baloo2.woff') format('woff');font-weight:400 800;font-display:swap}
@font-face{font-family:'Nunito';src:url('assets/fonts/Nunito.woff') format('woff');font-weight:200 1000;font-display:swap}
html,body{font-family:'Nunito',system-ui,sans-serif;font-weight:700}
h1,h2,.ribbon,.primary,.secondary,.world-selector b,.level-node,.moves b,.game-topbar>div b,.combo-banner,.rush-overlay,.result-score-panel>b,.feature-card b,.utility-card b{font-family:'Baloo 2','Nunito',sans-serif;font-weight:800;line-height:1.12}
.round{padding:0;display:flex;align-items:center;justify-content:center}
.round .chevron{width:26px;height:26px;display:block;flex:none;fill:none;stroke:currentColor;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
.round.mini .chevron{width:23px;height:23px}
.round>img{width:85%;height:85%}
.creator{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;flex:none;margin-top:auto;line-height:1.1;min-height:44px}
.creator-kicker{font-size:8px;letter-spacing:2px;font-weight:900;color:#752958;text-shadow:0 1px #fff}
.creator-name{font-family:'Baloo 2',sans-serif;font-size:23px;font-weight:800;font-style:italic;letter-spacing:.2px;color:#fff4af;-webkit-text-stroke:.35px #633378;text-shadow:0 1px #9137a2,0 2px #68257c,0 3px #68257c,0 4px #381e70,0 5px 7px #ff54ac80;transform:rotate(-2deg)}
.creator-name>span{color:#e5fcff;text-shadow:0 1px #277bbb,0 2px #2550a4,0 3px #2550a4,0 4px #3c2573,0 5px 7px #fff4}
.creator-version{font-size:8px;font-weight:900;color:#663368;text-shadow:0 1px #fff;margin-top:3px}
.prelevel-screen{overflow:hidden;gap:8px;padding-top:8px;padding-bottom:calc(10px + env(safe-area-inset-bottom))}
.prelevel-screen>.topbar{min-height:46px}
.prelevel-screen .small-logo{height:48px}
.prelevel-body{min-height:0;flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:10px;scrollbar-width:thin;padding:3px 1px 9px}
.start-footer{flex:none;padding:2px 4px 0;position:relative;z-index:2}
.start-footer>.primary{width:100%;min-height:57px;margin:0;font-size:26px;border-radius:24px}
.start-panel{padding:8px 10px 10px}
.start-panel .ribbon{margin:-3px -3px 7px;padding:9px 6px;font-size:27px}
.pre-level-meta{font-size:13px;margin:2px 0 7px;gap:8px}
.start-panel>h2{font-size:15px;margin-bottom:7px}
.goals-preview{grid-template-columns:repeat(var(--goal-count,3),minmax(0,1fr));gap:5px}
.goals-preview>div{min-width:0;min-height:82px;padding:5px 2px;gap:1px;border-radius:15px}
.goals-preview img{width:35px;height:35px;max-width:95%}
.goals-preview b{font-family:'Baloo 2',sans-serif;font-size:21px;line-height:1.15;white-space:nowrap;max-width:100%}
.goals-preview small{font-size:11px;line-height:1.2}
.goals-preview #preScore{font-size:16px}
.tip{font-size:12px;margin-top:8px;padding:6px 8px;line-height:1.3}
.boss-preview{margin-top:7px;padding:6px 8px;gap:7px;border-radius:16px}
.boss-preview>img{width:41px;height:44px}
.boss-preview b{font-size:13px}
.boss-preview p{font-size:12px;line-height:1.25;margin:3px 0}
.boss-preview .text-button{font-size:12px;padding:0}
.booster-select{padding:9px 10px}
.section-heading h2{font-size:21px}
.booster-note{font-size:12px;line-height:1.3;margin:5px 0 7px}
.booster-option{padding:6px 3px;gap:3px;border-radius:16px}
.booster-option img{width:36px;height:38px}
.booster-option b{font-family:'Baloo 2',sans-serif;font-size:16px;line-height:1}
.booster-option small{font-size:11px;line-height:1.25;min-height:28px}
.booster-option>span{font-size:11px}
.booster-option em{font-size:12px;padding:3px 7px}
.booster-select>.text-button{font-size:11px;margin-top:5px;padding:5px 1px;line-height:1.3}
.game-screen{padding:calc(6px + env(safe-area-inset-top)) 4px calc(7px + env(safe-area-inset-bottom));gap:5px}
.game-topbar{min-height:34px;padding:0 4px}
.game-topbar>div b{font-size:21px}
.game-topbar>div small{font-size:10px}
.game-score{font-size:10px;padding:3px 7px;line-height:1.1}
.game-score b{font-family:'Baloo 2',sans-serif;font-size:17px;line-height:1.12}
.game-header{min-height:65px;gap:5px;margin:0 3px}
.goal-panel{padding:5px 4px;border-radius:19px;gap:4px}
.goal-panel .eyebrow{font-size:10px;letter-spacing:.25px}
.goalbox{gap:5px}
.goalbox>span{font-size:14px;gap:1px}
.goalbox img{width:28px;height:29px}
.moves{width:62px;border-radius:20px;gap:1px}
.moves small{font-size:12px}
.moves b{font-size:34px}
.rush-hud{min-height:49px;padding:4px 7px;gap:5px;border-radius:18px;margin:0 3px;width:calc(100% - 6px)}
.rush-hud>img{width:34px;height:35px}
.energy-heading{margin-bottom:4px;gap:4px}
.energy-heading>b{font-family:'Baloo 2',sans-serif;font-size:14px;letter-spacing:0}
.energy-heading>small{font-size:10px}
.energy-heading>span{font-size:12px}
.rush-track{height:13px}
.boss-hud{min-height:35px;padding:3px 7px;margin:0 3px;border-radius:15px;gap:5px}
.boss-hud>img{width:28px;height:29px}
.boss-hud>div>span{font-size:12px;align-items:center}
.boss-hud small{font-size:10px}
.boss-hud>b{font-family:'Baloo 2',sans-serif;font-size:20px}
.boss-bar{height:6px;margin-top:2px}
.score-challenge{font-size:11px;padding:2px;margin:0 3px}
.play-notice{position:relative;flex:none;height:29px;margin:0 7px;pointer-events:none;z-index:12}
.combo-banner{position:absolute;inset:0;left:0;right:0;top:0;display:flex;align-items:center;justify-content:center;padding:1px 7px;border:1px solid #fff6;border-radius:13px;background:linear-gradient(100deg,#fff8cf99,#ffc452a6,#ffb69ca0);box-shadow:0 2px 7px #68325722;color:#803370;text-shadow:0 1px #fff9;font-size:18px;line-height:1;transform:none;font-weight:800;opacity:0}
.combo-banner.show{animation:noticePop 1.75s ease-out forwards}
.rush-overlay{position:absolute;inset:0;padding:0 5px;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:9px;border:1px solid #ffefadbb;border-radius:13px;background:linear-gradient(100deg,#ffd970aa,#ff81c2aa,#b87ce8bb);box-shadow:0 1px 8px #d65aa444;color:#fff;opacity:0;text-shadow:0 1px #8a3174;font-weight:800}
.rush-overlay span{font-size:17px;line-height:1}
.rush-overlay small{font-size:11px;line-height:1}
.rush-overlay.show{animation:noticePop 1.75s ease-out forwards}
@keyframes noticePop{0%{opacity:0;transform:translateY(7px) scale(.96)}12%{opacity:1;transform:translateY(0) scale(1.02)}22%{transform:scale(1)}78%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-6px)}}
.board-stage{margin:auto;max-width:100%}
.board{gap:2px;padding:4px;border-width:4px;border-radius:20px;box-shadow:inset 0 0 0 1px #ffbce3,0 3px 0 #d6a291,0 8px 13px #3814383b}
.tile{border-radius:8px}
.piece{inset:0;filter:drop-shadow(0 2px 1px #120f3c40)}
.booster-bar{margin:0 3px;padding:4px;gap:5px;border-radius:19px}
.booster{min-height:61px;padding:3px 2px;gap:1px;border-radius:13px}
.booster img{width:34px;height:35px}
.booster b{font-family:'Baloo 2',sans-serif;font-size:13px;line-height:1.1}
.booster>span{width:19px;height:19px;font-size:11px;right:2px;top:2px}
.booster-instruction{position:absolute;left:12px;right:12px;bottom:calc(85px + env(safe-area-inset-bottom));z-index:20;font-size:12px;padding:7px;background:#fff5cced;box-shadow:0 3px 8px #68325730}
.gesture-tip{display:block;font-size:14px;line-height:1.35;font-weight:900;margin-top:2px;padding:5px 8px;border-radius:11px;background:#4a255d;color:#fff9dd;border:1px solid #ffd677;text-shadow:0 1px 1px #24112f;box-shadow:0 2px 0 #2d173f33}
.modal-card p{font-size:14px;line-height:1.4}
.modal-card h2{font-size:27px}
@media(max-height:680px){
 :root{--nav-h:64px}
 .home-screen,.screen.with-nav{gap:5px;padding-top:6px;padding-bottom:calc(var(--nav-h) + 11px + env(safe-area-inset-bottom))}
 #homeScreen>.topbar{min-height:39px}
 .home-hero{height:20dvh;min-height:124px}
 .home-logo{height:72%;top:-5%}
 .home-mascot{height:93%;width:40%}
 .play-button{min-height:67px;font-size:31px;border-width:4px}
 .hero-play{gap:5px;width:61%}
 .next-level{padding:3px 7px;font-size:10px}
 .feature-card{min-height:72px;padding:7px 5px;border-radius:21px}
 .feature-card img{height:51px}
 .feature-card b{font-size:16px}
 .season{padding:4px 9px}
 .season-heading{margin-bottom:3px}
 .season-heading img{height:31px;width:34px}
 .season-heading b{font-size:14px}
 .season-bar{height:11px}
 .utility-card{min-height:64px;border-radius:19px;padding:3px}
 .utility-card img{height:38px;width:41px}
 .utility-card b{font-size:14px}
 .creator{min-height:35px}
 .creator-name{font-size:20px}
 .creator-kicker,.creator-version{font-size:7px}
 .bottom-nav{border-radius:24px}
 .bottom-nav button img{width:31px;height:32px}
 .bottom-nav button span{font-size:10px}
 .prelevel-screen{gap:5px;padding:6px 9px calc(7px + env(safe-area-inset-bottom))}
 .prelevel-screen>.topbar{min-height:39px}
 .prelevel-screen .small-logo{height:42px}
 .prelevel-body{gap:7px;padding-bottom:5px}
 .start-panel{padding:7px 9px}
 .start-panel .ribbon{padding:7px 5px;font-size:24px;margin-bottom:5px}
 .pre-level-meta{margin-bottom:5px;font-size:12px}
 .start-panel>h2{margin-bottom:5px;font-size:14px}
 .goals-preview>div{min-height:72px;padding:4px 2px}
 .goals-preview img{width:29px;height:29px}
 .goals-preview b{font-size:19px}
 .tip{margin-top:6px;font-size:11px;padding:5px 6px}
 .boss-preview{padding:5px;gap:5px;margin-top:6px}
 .boss-preview img{height:36px;width:33px}
 .boss-preview b,.boss-preview p,.boss-preview .text-button{font-size:11px}
 .booster-select{padding:7px 8px}
 .section-heading h2{font-size:19px}
 .booster-note{font-size:11px;margin:4px 0 6px}
 .booster-option{padding:5px 2px;gap:2px}
 .booster-option img{width:29px;height:31px}
 .booster-option b{font-size:15px}
 .booster-option small{font-size:10px;min-height:25px}
 .booster-option>span{font-size:10px}
 .booster-option em{font-size:11px;padding:2px 6px}
 .booster-select>.text-button{font-size:10px;margin-top:4px;padding:4px 0}
 .start-footer>.primary{min-height:51px;font-size:24px}
 .game-screen{gap:4px;padding-top:calc(4px + env(safe-area-inset-top));padding-bottom:calc(4px + env(safe-area-inset-bottom))}
 .game-header{min-height:56px}
 .goalbox img{width:25px;height:26px}
 .goal-panel .eyebrow{font-size:9px}
 .moves b{font-size:30px}
 .rush-hud{min-height:43px;padding:3px 6px}
 .rush-hud>img{width:29px;height:30px}
 .energy-heading>b{font-size:13px}
 .energy-heading>small{font-size:9px}
 .boss-hud{min-height:32px}
 .boss-hud small{font-size:9px}
 .play-notice{height:25px}
 .combo-banner{font-size:17px}
 .rush-overlay span{font-size:15px}
 .rush-overlay small{font-size:10px}
 .booster{min-height:55px}
 .booster img{width:28px;height:29px}
 .booster b{font-size:12px}
}
@media(max-width:360px){.game-topbar>div b{font-size:20px}.game-screen{padding-left:4px;padding-right:4px}.goals-preview small{font-size:10px}.energy-heading>b{font-size:12px}.energy-heading>small{font-size:9px}.goalbox{gap:4px}.goalbox>span{font-size:13px}.boss-hud>div>span{font-size:11px}.boss-hud small{font-size:8px}}
@media(max-height:590px){.gesture-tip{font-size:12px;padding:3px 5px}.game-topbar>div small{display:none}.prelevel-body{gap:6px}.tip{display:none}.boss-preview p{display:none}.creator-version{display:none}.creator{min-height:29px}.home-hero{min-height:111px}.feature-card{min-height:66px}.season-heading small{display:none}.season{padding:3px 7px}}
.online-button{min-height:30px;flex:none;display:flex;align-items:center;justify-content:center;gap:7px;border:2px solid #fff9;border-radius:16px;padding:3px 10px;background:linear-gradient(#fff6efd6,#ffe4f2da);font-size:12px;box-shadow:0 3px 6px #753d7520}
.online-button>b{font-family:'Baloo 2',sans-serif;font-size:14px;line-height:1}
.online-button>span:last-child{font-size:10px;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.connection-dot{width:8px;height:8px;border-radius:50%;background:#a47aa9;box-shadow:0 0 0 2px #fff8}
.online-button.connected .connection-dot{background:#28b96c;box-shadow:0 0 7px #63e1a588,0 0 0 2px #fff8}
.online-button.connecting .connection-dot{background:#f0ba38;animation:nodeGlow 1s infinite}
.online-owner{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:7px 9px;border-radius:15px;background:#efd9f3;border:2px solid #fff;font-size:12px}
.my-player-code{display:block;font-size:15px;letter-spacing:.5px}
.friend-form>label{font-size:13px}
.friend-form input{font-size:14px}
.friend-form small{font-size:12px;line-height:1.3;text-align:left}
.friend-form .primary,.friend-form .secondary{font-size:14px;padding:8px 9px;min-height:41px}
.friends-list,.records-list{max-height:300px}
.friend-row,.record-row{font-size:14px;gap:7px}
.friend-row>.friend-copy{flex:1;min-width:0;display:grid;gap:3px;text-align:left}
.friend-copy>b{font-size:14px;overflow-wrap:anywhere}
.friend-copy>small{font-size:11px;color:#876886}
.friend-row button{font-size:12px;padding:6px 8px;min-height:32px}
.friend-row .life-send{background:linear-gradient(#fff0f5,#ffd1e5);color:#b52671;font-weight:900}
.friend-row .friend-remove{width:26px;min-height:26px;padding:1px;font-size:19px;background:transparent;opacity:.65}
.friend-avatar{width:31px;height:31px;flex:none;border:2px solid #fff;border-radius:50%;display:grid;place-items:center;background:linear-gradient(#e7c2fa,#c794df);font-family:'Baloo 2',sans-serif;font-weight:800}
.friend-avatar.online{border-color:#6dcf88}
.request-heading{font-family:'Baloo 2',sans-serif;font-size:17px;line-height:1;text-align:left;margin:4px}
.friend-row.pending{background:#fff3dc}
#teamForms{display:grid;gap:13px}
.team-progress{padding:11px;font-size:14px}
.team-progress>b{font-family:'Baloo 2',sans-serif;font-size:22px}
.team-progress .team-code{display:flex;justify-content:center;align-items:center;gap:8px;font-size:13px}
.team-code>button{font-size:12px;background:#ecd7f4;border:2px solid #fff;border-radius:12px;padding:5px 8px}
.team-progress small{font-size:12px;line-height:1.4}
.record-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:4px;border-radius:19px;background:#e8d5ef;border:2px solid #fff}
.record-tabs>button{background:transparent;border-radius:13px;padding:8px 2px;font-family:'Baloo 2',sans-serif;font-weight:800;font-size:14px}
.record-tabs>button.active{background:linear-gradient(#fff6c0,#ffe28c);box-shadow:0 2px 4px #825a7f33}
.record-row.mine{background:#fff0b7;border-color:#fff3cd}
.record-row .rank{font-family:'Baloo 2',sans-serif;color:#bc7b25;font-size:20px;min-width:21px}
.record-row .rank-name{flex:1;min-width:0;text-align:left;display:grid;gap:2px}
.rank-name>b{overflow-wrap:anywhere}
.rank-name>small{font-size:11px}
.record-row>strong{font-family:'Baloo 2',sans-serif;font-size:17px}
.cloud-state{border-radius:15px;border:2px solid #fff;background:#ecd9f3;padding:9px;font-size:13px;line-height:1.35}
.cloud-state.ready{background:#d8f3dd;color:#297443}
.profile-code{display:grid;gap:5px;padding:11px;border:2px solid #fff;border-radius:18px;background:#ffedc6;font-size:13px}
.profile-code>b{font-family:'Baloo 2',sans-serif;font-size:25px;letter-spacing:1px}
.profile-code>.secondary{font-size:15px;min-height:41px;padding:7px}
.recovery-box{background:#fff3e9;border:2px solid #fff;border-radius:18px;padding:10px;display:grid;gap:8px;text-align:left}
.recovery-box>b{font-family:'Baloo 2',sans-serif;font-size:18px}
.recovery-box p{font-size:12px;line-height:1.35}
.recovery-box>div{display:flex;gap:4px}
.recovery-box input{min-width:0;width:100%;border:2px solid #d9b4da;border-radius:12px;background:#fff;padding:7px 8px;font-size:13px;color:var(--ink)}
.recovery-box>.secondary{font-size:14px;padding:8px;min-height:42px}
#recoverForm{border-top:1px solid #e8c4d8;padding-top:9px}
@media(max-height:680px){.online-button{min-height:27px;padding:2px 8px}.online-button>b{font-size:13px}}
@media(max-height:590px){.game-screen{gap:3px}.game-topbar{min-height:30px}.game-topbar>.round{height:30px;width:30px}.game-topbar>div b{font-size:19px}.game-score b{font-size:15px}.game-header{min-height:48px}.goal-panel{padding:3px;gap:2px}.goalbox img{width:24px;height:25px}.moves small{font-size:10px}.moves b{font-size:27px}.rush-hud{min-height:38px;padding:3px 5px}.rush-hud>img{width:25px;height:26px}.energy-heading{margin-bottom:2px}.energy-heading>b{font-size:12px}.rush-track{height:11px}.boss-hud{min-height:28px}.boss-hud>img{width:24px;height:24px}.boss-hud>b{font-size:18px}.play-notice{height:22px}.combo-banner{font-size:16px}.booster{min-height:48px}.booster img{width:25px;height:26px}.booster-bar{padding:3px}.score-challenge{font-size:10px;padding:1px}}
@media(max-height:740px){.prelevel-screen .boss-preview p{display:none}}
@media(max-height:590px){.prelevel-screen .start-panel .ribbon{padding:5px;font-size:23px}.prelevel-screen .goals-preview>div{min-height:64px}.prelevel-screen .booster-option small{display:none}.prelevel-screen .booster-option{gap:1px;padding:4px 2px}.prelevel-screen .booster-option img{width:25px;height:26px}.prelevel-screen .booster-option b{font-size:14px}.prelevel-screen .booster-option>span{font-size:9px;line-height:1.1}.prelevel-screen .booster-option em{font-size:10px;line-height:1.1;padding:1px 5px}.prelevel-screen .booster-select>.text-button{margin-top:3px;padding:2px 0}}

/* v26: centered vector controls and a legible, distinct mint world label. */
.plus{line-height:1;padding:0;flex-shrink:0}
.plus svg{width:16px;height:16px;display:block;fill:none;stroke:#fff;stroke-width:3.4;stroke-linecap:round}
.home-return.round{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;padding:2px;width:43px;border-radius:14px}
.home-return svg{width:19px;height:19px;fill:none;stroke:#fff;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.home-return span{font-family:'Nunito',sans-serif;font-size:7px;font-weight:900;line-height:9px;white-space:nowrap;color:#fff;text-shadow:0 1px 2px #276198}
.game-topbar{gap:5px}.game-topbar>.home-return{width:36px;min-width:36px}
.game-topbar>div small#gameWorldName{display:block;color:#d9fff0;font-weight:900;font-size:11px;line-height:14px;letter-spacing:.1px;text-shadow:0 1px 1px #174b65,1px 0 1px #174b65,-1px 0 1px #174b65,0 0 4px #24e5bd,0 0 9px #18bfae}
.result-links{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}.result-links .text-button{font-size:12px}
.share-link{display:block;text-decoration:none;text-align:center;cursor:pointer}
.install-help{padding:12px;border:2px solid #fff;border-radius:18px;background:#e5f7f1;text-align:left;line-height:1.55;font-size:12px}.install-help b{font-size:16px;color:#246453}.install-help p{margin:5px 0}.install-help small{display:block;font-size:11px}
@media(max-width:360px){.game-topbar{gap:3px}.game-topbar>div b{font-size:19px}.game-topbar>div small#gameWorldName{font-size:9px;line-height:12px}.game-score{min-width:35px;font-size:9px}}

.game-topbar .home-return span{display:none}
.boot-scene{position:absolute;inset:0;z-index:130;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:25px;background:radial-gradient(ellipse at 50% 35%,#ddfff4 0%,#75ddec 44%,#52a7ed 100%);transition:opacity .32s,transform .32s;overflow:hidden;color:#245c77}
.boot-scene:before{content:"";position:absolute;inset:-60%;background:repeating-conic-gradient(from 15deg,#ffffff16 0deg 13deg,transparent 13deg 29deg);animation:bootRays 18s linear infinite;pointer-events:none}
.boot-logo{width:73%;height:31%;object-fit:contain;z-index:1;filter:drop-shadow(0 12px 8px #2866a22b);animation:bootLogo .85s cubic-bezier(.2,.8,.3,1) both}
.boot-orbit{position:relative;width:94px;height:94px;display:grid;place-items:center;border-radius:50%;border:2px solid #ffffff77;box-shadow:0 0 0 13px #ffffff17,0 0 45px #fff8;background:#ffffff28}
.boot-orbit>img{width:76px;height:76px;object-fit:contain;animation:bootCandy 1.5s ease-in-out infinite}
.boot-orbit>i{position:absolute;inset:-12px;border:2px solid transparent;border-top-color:#fff7de;border-radius:50%;animation:bootRays 2.1s linear infinite}
.boot-orbit>i:nth-of-type(2){inset:-23px;border-top-color:#ffcc6e;animation-duration:3s;animation-direction:reverse}
.boot-orbit>i:nth-of-type(3){inset:-5px;border-top-color:#fff;animation-duration:1.3s}
.boot-caption{z-index:1;font-family:'Baloo 2',sans-serif;font-size:18px;font-weight:800;text-shadow:0 1px #fffb}
.boot-signature{position:absolute;bottom:calc(23px + env(safe-area-inset-bottom));font-weight:900;letter-spacing:2px;font-size:12px;color:#fafff5;text-shadow:0 2px 5px #176cb899}
.boot-skip{position:absolute;right:15px;top:calc(15px + env(safe-area-inset-top));z-index:2;border:1px solid #fff8;border-radius:20px;padding:8px 13px;font-size:14px;font-weight:900;background:#ffffff40;min-height:40px}
.boot-scene.leaving{opacity:0;transform:scale(1.05);pointer-events:none}
.opening .home-logo{animation:homeLogoEntrance .75s cubic-bezier(.2,.8,.3,1) both}
.opening .hero-play{animation:homePlayEntrance .65s .1s cubic-bezier(.2,.8,.3,1) both}
@keyframes bootRays{to{transform:rotate(360deg)}}
@keyframes bootLogo{from{opacity:0;transform:translateY(-26px) scale(.75)}60%{opacity:1;transform:translateY(3px) scale(1.04)}to{transform:none}}
@keyframes bootCandy{50%{transform:scale(1.1) rotate(9deg)}}
@keyframes homeLogoEntrance{from{opacity:0;transform:translateY(-16px) scale(.92)}65%{opacity:1;transform:translateY(2px) scale(1.025)}to{transform:none}}
@keyframes homePlayEntrance{from{opacity:0;transform:translateY(18px) scale(.93)}to{opacity:1;transform:none}}
.account-entry{gap:7px;justify-content:flex-start;padding:3px 10px}
.account-entry>b{font-size:15px;white-space:nowrap}
.account-entry .account-status{font-size:10px;min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}
.account-entry>.account-arrow{font-family:'Baloo 2',sans-serif;font-size:23px;line-height:1;max-width:none;margin-left:auto}
.account-card{gap:12px;text-align:left}
.account-heading{display:flex;align-items:center;gap:10px;text-align:left;padding-right:23px}
.account-close{position:sticky;top:0;align-self:flex-end;display:grid;place-items:center;flex:none;width:30px;height:30px;margin-bottom:-42px;z-index:4;border:2px solid #fff;border-radius:50%;background:linear-gradient(#f6ceef,#bd72c5);color:#fff;font-size:25px;line-height:1;box-shadow:0 3px 5px #86487b30}
.account-heading>img{width:57px;height:65px;object-fit:contain;flex:none;filter:drop-shadow(0 4px 4px #a873ac35)}
.account-heading h2{font-size:27px;color:#753175;line-height:1.15}
.account-heading p{font-size:13px;line-height:1.4;margin-top:3px}
.account-tabs{display:grid;grid-template-columns:1fr 1fr;padding:4px;border:2px solid #fff;border-radius:19px;background:#dfc8e9;gap:4px}
.account-tabs>button{min-height:42px;border-radius:14px;background:transparent;font-family:'Baloo 2',sans-serif;font-size:18px;font-weight:800;color:#81587e;transition:background .15s,color .15s,transform .15s}
.account-tabs>button[aria-selected=true]{color:#733870;background:linear-gradient(#fff9ee,#ffe5eb);box-shadow:0 3px 5px #92518c23,inset 0 -2px #ecb6d0}
.account-panel{display:grid;gap:12px}
.account-card .friend-form{margin:0;gap:6px}
.account-card .friend-form label{font-size:15px;font-weight:900}
.account-card .friend-form input{font-size:16px;min-height:44px}
.account-card .friend-form small{font-size:12px;line-height:1.4}
.account-card .friend-form .primary{min-height:44px;font-size:17px}
.account-saved{font-size:13px;font-weight:900;border-radius:13px;padding:9px;background:#ddf6dc;border:1px solid #b5dfa9;color:#3f7749}
.account-card .recovery-box p{font-size:13px;line-height:1.4}
.recovery-actions>.secondary{flex:1;font-size:13px;min-height:42px;padding:6px 5px}
.account-card .profile-code{padding:9px;text-align:center;background:linear-gradient(135deg,#e8f6ff,#f0e1ff)}
.account-card .profile-code>span{font-size:12px}
.account-card .profile-code>b{font-size:24px;color:#5374a3}
.account-return{display:grid;gap:5px;text-align:center;padding:12px 5px;background:#fff8ed;border-radius:18px;border:2px solid #fff}
.account-return>img{height:77px;width:90px;object-fit:contain;margin:auto}
.account-return>b{font-family:'Baloo 2',sans-serif;font-size:23px;color:#8b4782}
.account-return>p{font-size:13px;line-height:1.4}
.account-card #recoverForm{border:0;padding:0}
.combo-banner.reward-callout{font-size:24px;color:#863b82;background:linear-gradient(100deg,#fff6cb88,#ffda8788,#ffe4b988);text-shadow:0 1px #fff,0 2px 3px #6c34602b;letter-spacing:.2px}
@media(max-width:360px){.account-entry>b{font-size:13px}.account-entry .account-status{font-size:9px}.account-card{padding:13px;gap:9px}.account-heading h2{font-size:24px}.account-heading>img{width:43px;height:52px}}
@media(prefers-reduced-motion:reduce){.boot-scene:before,.boot-orbit>img,.boot-orbit>i{animation:none}.boot-scene{transition:none}}
.reduced-fx .boot-scene:before,.reduced-fx .boot-orbit>img,.reduced-fx .boot-orbit>i{animation:none}
