*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden}body{background:#142a45;color:#fff;font-family:'Trebuchet MS',Arial,sans-serif}button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:focus-visible{outline:3px solid #fff;outline-offset:4px}button:active{filter:brightness(.95)}svg{display:block;flex-shrink:0}.sprite{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.app{display:grid;grid-template-columns:244px minmax(320px,780px);max-width:1024px;margin:auto;height:100dvh;box-shadow:0 0 80px #081d343b}.sidebar{height:100dvh;padding:26px 17px 18px;background:linear-gradient(#174b7b,#143956);border-right:3px solid #122e48;display:flex;flex-direction:column}.brand{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 0 30px}.brand>svg{width:43px;height:43px}.brand span{font-size:29px;font-weight:1000;line-height:.9;color:#ffe36e;text-shadow:0 3px #98582c;letter-spacing:-1px}.brand b{display:block;font-size:27px;color:white;text-shadow:0 3px #153952}.nav-label{font-size:13px;text-transform:uppercase;letter-spacing:1.5px;color:#b3cde4;margin:0 0 12px 8px}.worlds{display:grid;gap:6px;overflow-y:auto;scrollbar-width:thin}.world-link{display:flex;gap:11px;align-items:center;position:relative;width:100%;padding:7px;background:#0b2b4838;border:1px solid #83b4d224;border-radius:13px;text-align:left;color:#dceafa;box-shadow:0 2px #0d2e493b}.world-link:hover{background:#275a80}.world-link.active{background:#2a7aaf;border-color:#f8d374;box-shadow:0 2px #0d365a,inset 0 1px #ffffff40;color:#fff}.world-link i{width:39px;height:39px;background:var(--swatch) center 20%/cover;border-radius:9px;border:1px solid #fff8}.world-link span{font-size:12px;font-weight:bold}.world-link small{display:block;font-size:10px;color:#b6d5e9;margin-top:4px;font-weight:normal}.side-foot{margin-top:auto;padding:18px 8px 0;font-size:11px;color:#a2c1d8}.map-shell{position:relative;min-width:0;background:#87ae45}.topbar{position:absolute;z-index:6;inset:0 0 auto;height:78px;padding:10px 22px 14px;background:linear-gradient(#22a1ef,#1474ce 70%,#1764bb);display:flex;align-items:center;justify-content:space-between;gap:22px;border-bottom:3px solid #ffce60;box-shadow:0 4px #114881,0 7px 15px #18393c40}.topbar:before{content:'';position:absolute;left:0;right:0;top:0;height:3px;background:#71c9ff}.profile-avatar{position:relative;width:54px;height:54px;flex-shrink:0;border-radius:16px;background:#a5dce7;border:3px solid #ffdf7a;box-shadow:0 3px #165590,inset 0 2px #fff9}.profile-avatar svg{width:100%;height:100%;padding:1px}.profile-avatar span{position:absolute;bottom:-9px;left:50%;transform:translateX(-50%);background:linear-gradient(#b955dc,#7a31b4);border:2px solid #ffd36a;border-radius:7px;min-width:30px;text-align:center;font-size:11px;font-weight:bold;padding:1px 4px;box-shadow:0 2px #184876}.resource{display:flex;align-items:center;position:relative;background:linear-gradient(#fff4d0,#edcf8b);border:2px solid #ffdc75;border-radius:11px;color:#205083;min-width:100px;height:35px;padding:0 13px 0 29px;box-shadow:0 3px #0a58a0,inset 0 2px #fff9;gap:10px}.resource>svg{width:44px;height:44px;position:absolute;left:-22px;top:-6px;filter:drop-shadow(0 3px 0 #165ba13b)}.resource strong{font-size:22px;line-height:1;font-weight:1000}.resource span{font-size:11px;font-weight:1000;color:#59708a}.coins{min-width:112px;justify-content:center}.world-banner{position:absolute;left:50%;top:69px;transform:translateX(-50%);min-width:240px;height:38px;display:flex;align-items:center;justify-content:center;gap:12px;padding:0 15px;background:linear-gradient(#468fd9,#246bb8);border:2px solid #ffdb76;border-radius:4px 4px 18px 18px;box-shadow:0 3px #15508b;color:#fff}.world-banner>span{font-size:14px;font-weight:1000;text-shadow:0 2px #23529a}.world-banner small{font-size:10px;color:#d3e9ff;border-left:1px solid #ffffff42;padding-left:10px;white-space:nowrap}.world-banner>svg{width:12px;height:12px;transform:rotate(90deg);opacity:.8}.map-scroll{height:100dvh;overflow:auto;position:relative;scrollbar-width:thin;scrollbar-color:#efc872 #183d5c;overscroll-behavior:contain}.world-map{position:relative;width:100%;overflow:hidden}.world-art{position:absolute;inset:0;width:100%;height:100%;display:block}.level{position:absolute;z-index:2;width:59px;height:52px;transform:translate(-50%,-50%);border-radius:50%;border:3px solid #ffda70;background:linear-gradient(#c66be2,#813bb6);box-shadow:0 5px #61368e,0 7px 0 2px #c3954e,0 10px 10px #16223030,inset 0 3px #ffffff80;color:white;font-size:20px;font-weight:1000;text-shadow:0 2px #5f3185;transition:filter .15s,scale .15s}.level:hover{filter:brightness(1.15);scale:1.07}.level.done{background:linear-gradient(#86d89c,#439a76);box-shadow:0 5px #357c65,0 7px 0 2px #c3954e,0 10px 10px #16223030;text-shadow:0 2px #28644f}.level.current{background:linear-gradient(#ffe78a,#ffb92f);color:#744414;text-shadow:0 1px #fff2bc;box-shadow:0 5px #bc7227,0 7px 0 2px #ffedac,0 0 0 9px #fff8;animation:pulse 2.3s infinite}.level.current:before{content:'';position:absolute;top:-20px;left:50%;transform:translateX(-50%);border:8px solid transparent;border-top:10px solid #ffec9c;filter:drop-shadow(0 2px #bd8c2f)}.level.finale:after{content:'♛';position:absolute;left:16px;top:-30px;color:#ffdf70;font-size:28px;text-shadow:0 2px #986321}.level .stars{position:absolute;bottom:-18px;left:0;right:0;font-size:12px;letter-spacing:1px;color:#ffe185;text-shadow:0 1px #9b7337}.bottom-bar{position:absolute;z-index:6;bottom:0;left:0;right:0;height:82px;display:flex;justify-content:center;align-items:center;gap:clamp(4px,2vw,18px);padding:8px 14px max(6px,env(safe-area-inset-bottom));background:linear-gradient(#238ee3,#1461c0);border-top:3px solid #ffd16b;box-shadow:0 -3px #1a5597,0 -7px 17px #173b4d30}.bottom-bar:before{content:'';position:absolute;top:2px;left:0;right:0;height:1px;background:#92ccff}.footer-side{flex:1;max-width:73px;min-width:0;width:73px;min-height:58px;padding:3px;border:0;background:transparent;color:#fff;display:flex;flex-direction:column;gap:2px;align-items:center;justify-content:center;font-weight:bold;font-size:12px;text-shadow:0 2px #124f94}.footer-side svg{width:35px;height:35px;filter:drop-shadow(0 2px #124d9255)}#previous-world>svg,#next-world>svg{width:31px;padding:3px;color:#ffe48b}#previous-world>svg{transform:rotate(180deg)}.footer-side:disabled{opacity:.4;cursor:default}.jump-button{flex-shrink:0;height:70px;width:151px;margin-top:-19px;border:3px solid #ffda74;border-radius:18px;background:linear-gradient(#bd50df,#9131c1 55%,#7527ad);box-shadow:0 5px #5a218c,0 7px #114789,inset 0 3px #e397ef;display:flex;align-items:center;justify-content:center;gap:10px;color:#fff;text-shadow:0 2px #69238e}.jump-button>svg{width:43px;height:43px}.jump-button small{display:block;font-size:9px;letter-spacing:.9px;font-weight:bold;color:#f2c9ff;margin-bottom:1px}.jump-button b{display:block;font-size:29px;line-height:1.1}.world-picker{position:absolute;z-index:9;left:12px;right:12px;bottom:96px;margin:0 auto;max-width:440px;border:3px solid #ffd981;border-radius:21px;background:#1e6cb2;padding:14px;box-shadow:0 9px 0 #16457d,0 0 0 100vmax #102e5f70}.picker-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 13px}.picker-heading h2{font-size:20px;margin:0;text-shadow:0 2px #164d87}.small-close{border:2px solid #ffe08b;background:#e75c6b;color:white;border-radius:10px;width:33px;height:33px;padding:5px;box-shadow:0 2px #9d334f}.small-close svg{width:100%;height:100%}#world-tiles{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:60dvh;overflow:auto;padding:2px}.world-tile{height:76px;border:2px solid #d4e7c1;border-radius:12px;overflow:hidden;position:relative;background:var(--scene) center 40%/cover;color:white;display:flex;align-items:end;padding:7px;font-weight:bold;text-align:left;font-size:12px;text-shadow:0 2px #214b39}.world-tile:before{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#132d4bd9)}.world-tile span{position:relative}.world-tile.active{border:3px solid #ffe28a}.overlay{position:fixed;z-index:20;inset:0;background:#092748b8;backdrop-filter:blur(3px);display:grid;place-items:center;padding:28px 18px;overflow:auto}.dialog{position:relative;width:min(390px,100%);border:4px solid #ffd56b;border-radius:27px 27px 32px 32px;background:linear-gradient(#269be6,#206ac2 28%,#244d9d);box-shadow:0 5px 0 #bd861f,0 10px 0 #183f7b,0 18px 45px #061f4c66,inset 0 0 0 2px #91d7f77a;padding:0 18px 24px;animation:appear .18s ease-out}.close{position:absolute;z-index:2;right:-15px;top:-15px;width:44px;height:44px;padding:9px;background:linear-gradient(#ff7f77,#e74760);border:3px solid #ffe292;border-radius:50%;box-shadow:0 3px #a93454,inset 0 2px #ffb0a0;color:#fff}.close svg{width:100%;height:100%;filter:drop-shadow(0 2px #b9324c)}.dialog-head{position:relative;text-align:center;padding:34px 5px 18px}.dialog-crown{position:absolute;width:48px;height:43px;top:-19px;left:50%;transform:translateX(-50%);filter:drop-shadow(0 3px #754f2777)}.dialog-head h1{font-size:34px;letter-spacing:-.6px;margin:0;font-weight:1000;text-shadow:0 3px #165198,1px 0 #165198,-1px 0 #165198}.dialog-head p{font-size:14px;font-weight:bold;color:#d0edff;margin:7px 0 0;text-shadow:0 1px #2162ac}.record-card{background:#fff7e7;border:2px solid #ffda7b;border-radius:17px;padding:14px 13px 8px;color:#344d72;box-shadow:0 3px #163e7c60}.record-heading{display:flex;align-items:center;gap:8px;padding-bottom:13px}.record-heading>svg{width:30px;height:30px}.record-heading h2{font-size:17px;letter-spacing:-.4px;margin:0;flex:1}.record-heading>span{font-size:9px;font-weight:bold;color:#9b7737;border:1px solid #dfc892;border-radius:5px;padding:4px}.table-labels{display:flex;justify-content:space-between;align-items:center;color:#9d987f;font-size:10px;padding:0 3px 6px 36px;border-bottom:1px solid #e7dac0}.table-labels>span:last-child{display:flex;gap:3px;align-items:center}.table-labels svg{width:13px;height:13px}.rank-row{height:53px;display:grid;grid-template-columns:22px 36px 1fr auto;align-items:center;gap:8px;border-bottom:1px solid #e8ddc7;font-size:12px}.rank-row:last-child{border:0}.rank-row:first-child{background:linear-gradient(90deg,#ffe9a64d,transparent)}.place{font-size:13px;font-weight:bold;text-align:center;color:#9d947c}.place.medal{width:22px;height:25px;clip-path:polygon(0 0,100% 0,100% 76%,50% 100%,0 76%);padding-top:3px;color:#986817;background:linear-gradient(#ffe796,#eab843)}.rank-row:nth-child(2) .medal{color:#647d91;background:linear-gradient(#e6edf0,#bacbd5)}.rank-row:nth-child(3) .medal{color:#825435;background:linear-gradient(#efc69e,#cb956b)}.face{height:35px;width:35px;display:grid;place-items:center;background:var(--face);border-radius:10px;border:2px solid #ffffffb0;box-shadow:0 2px #b9a99044;overflow:hidden}.face svg{width:32px;height:32px}.rank-row b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rank-row time{font-size:14px;font-weight:bold;font-variant-numeric:tabular-nums;letter-spacing:-.2px;color:#294c77}.play{position:relative;width:100%;height:65px;margin:20px 0 0;border:3px solid #d6ff88;border-radius:17px;background:linear-gradient(#8aec38,#59cc20 35%,#31ac14);box-shadow:0 5px #217d19,0 0 0 3px #ffc84e,inset 0 3px #c2ff7d,inset 0 -3px #299b17;color:white;display:flex;align-items:center;justify-content:center;gap:14px;text-shadow:0 3px #287b20;font-weight:1000;font-size:29px}.play:before{content:'';position:absolute;top:6px;left:11px;right:11px;height:11px;border-radius:12px;background:linear-gradient(#ffffff55,#ffffff00)}.play svg{width:23px;height:23px;filter:drop-shadow(0 2px #287b20);opacity:.95}.play:active,.jump-button:active{translate:0 3px}.launch{text-align:center;padding:32px 0 0}.launch>svg{width:68px;height:60px;margin:auto}.launch h2{font-size:29px;margin:15px 0}.launch p{font-size:13px;color:#d8ecff;line-height:1.7}.secondary{border:2px solid #ffe08b;background:#428ad5;color:white;font-weight:bold;padding:12px 23px;border-radius:12px;box-shadow:0 3px #1b4988}@keyframes appear{from{opacity:0;transform:scale(.96) translateY(7px)}}@keyframes pulse{50%{box-shadow:0 5px #bc7227,0 7px 0 2px #ffedac,0 0 0 13px #fff4}}@container game (max-width:700px){.app{display:block}.sidebar{display:none}.topbar{height:76px;padding:9px 20px 12px;gap:32px}.resource{min-width:90px;height:33px;padding:0 10px 0 27px;gap:8px}.resource strong{font-size:21px}.resource>svg{width:42px;height:42px;left:-20px;top:-6px}.coins{min-width:91px}.profile-avatar{width:49px;height:49px}.world-banner{top:67px;height:34px;min-width:220px;gap:8px;padding:0 12px}.world-banner>span{font-size:12px}.world-banner small{font-size:9px;padding-left:8px}.world-banner>svg{width:10px;height:10px}.bottom-bar{height:77px;gap:6px}.jump-button{width:135px;height:66px;margin-top:-18px;gap:7px}.jump-button>svg{width:38px;height:38px}.jump-button b{font-size:27px}.footer-side{font-size:11px;width:61px}.footer-side svg{width:32px;height:32px}.level{width:51px;height:45px;font-size:17px}.level.current:before{top:-19px}.dialog{width:min(368px,100%)}.dialog-head h1{font-size:32px}.world-picker{bottom:91px}}@container game (max-width:360px){.topbar{gap:24px;padding-left:14px;padding-right:14px}.resource{min-width:82px;padding-left:23px;gap:5px}.coins{min-width:79px}.resource strong{font-size:19px}.resource span{font-size:9px}.bottom-bar{gap:4px}.overlay{padding:25px 16px}.dialog{padding-left:13px;padding-right:13px}.record-card{padding:12px 9px 6px}.rank-row{gap:6px;grid-template-columns:21px 32px 1fr auto}.rank-row time{font-size:12px}.record-heading h2{font-size:15px}.record-heading>span{font-size:8px}.record-heading>svg{width:26px;height:26px}.face{width:31px;height:31px}.face svg{width:29px;height:29px}}@media(max-height:650px){.overlay{padding-top:21px;padding-bottom:21px}.dialog-head{padding-top:27px;padding-bottom:12px}.dialog-head h1{font-size:28px}.dialog-head p{margin-top:4px;font-size:12px}.dialog-crown{width:40px;height:36px}.rank-row{height:43px}.record-heading{padding-bottom:8px}.record-card{padding-top:10px}.play{height:55px;margin-top:14px;font-size:25px}.dialog{padding-bottom:18px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}}
/* Illustrated candy-map theme. */
body{background:#203e1d;color:#fff7df;font-family:Georgia,'Times New Roman',serif}
.app{max-width:1120px;grid-template-columns:244px minmax(320px,876px);box-shadow:0 0 90px #071d16a0}
.sidebar{background:linear-gradient(155deg,#294f35ee,#162f28f5),url('assets/marmalade.png') center/cover;border-right:2px solid #b58c3e;padding-top:30px}
.brand{margin-bottom:32px}.brand span{color:#ffe49a;text-shadow:0 3px #6e421f}.brand b{text-shadow:0 3px #6e421f}
.nav-label{color:#e6d0a1;font-family:'Trebuchet MS',sans-serif}.worlds{gap:8px;scrollbar-color:#b79452 transparent;padding:3px 5px 8px 2px}
.world-link{padding:8px;border:1px solid #dbb66c40;border-radius:12px;background:#112a2390;color:#f7ebd2;box-shadow:0 3px 5px #081e2433}
.world-link:hover{background:#486246}.world-link.active{background:linear-gradient(125deg,#fff1cc,#e6c58b);border-color:#ffe5a1;color:#493b42;box-shadow:0 3px #95692d,inset 0 0 0 2px #fff5d390}
.world-link i{border:2px solid #edc66e;border-radius:8px;width:42px;height:42px}.world-link span{font-family:'Trebuchet MS',sans-serif;font-size:13px}.world-link small{color:#d5caa6;font-size:11px}.world-link.active small{color:#80664e}.side-foot{color:#d5c299;font-family:'Trebuchet MS',sans-serif}
.topbar{height:94px;padding:14px 30px 20px;background:linear-gradient(#243c2380,transparent);border:0;box-shadow:none;gap:38px}
.topbar:before{display:none}.profile-avatar{width:66px;height:66px;border:4px solid #ffd778;border-radius:22px;background:linear-gradient(#b45a91,#65375e);box-shadow:0 4px #946023,0 0 0 2px #a76a24,inset 0 0 0 3px #ffe5a2}
.profile-avatar svg{padding:3px}.profile-avatar span{font-family:Georgia,serif;background:linear-gradient(#ac548a,#6b305f);border-color:#ffe4a0;font-size:17px;min-width:40px;border-radius:9px;bottom:-13px;box-shadow:0 3px #825322}
.resource{height:48px;min-width:143px;padding:0 18px 0 34px;background:linear-gradient(#fff9df,#f5dfaf);border:3px solid #ecc16d;border-radius:25px;color:#42384b;box-shadow:0 4px #a66d26,inset 0 0 0 2px #fff7d7,0 6px 10px #24340d44}
.resource>svg{width:60px;height:60px;left:-28px;top:-8px;filter:drop-shadow(0 3px 1px #99512480)}.resource strong{font:900 32px Georgia,serif}.resource span{color:#514456;font-size:13px}.coins{min-width:145px}
.world-banner{top:100px;height:60px;min-width:310px;flex-wrap:wrap;column-gap:12px;row-gap:0;padding:7px 32px 8px;background:linear-gradient(#fff9df,#f2d59b);border:3px solid #f9d27b;border-radius:18px;box-shadow:0 4px #aa722c,inset 0 0 0 2px #fff8da,0 7px 15px #25350055;color:#42364a}
.world-banner:before,.world-banner:after{content:'◆';position:absolute;top:11px;color:#ffe18d;text-shadow:0 2px #713945;font-size:21px;background:linear-gradient(#aa477c,#713355);border:2px solid #e9b951;padding:4px 9px;z-index:-1}.world-banner:before{left:-29px;border-radius:10px 0 0 10px}.world-banner:after{right:-29px;border-radius:0 10px 10px 0}
.world-banner>span{width:100%;font-size:23px;line-height:1.1;text-shadow:0 1px #fff6d1}.world-banner small{font-size:14px;border:0;padding:0;color:#68516a;font-weight:bold}.world-banner>svg{width:10px;height:10px;color:#955575}
.map-scroll{scrollbar-color:#d9b76c #314d2c}.map-shell{background:#88ad29}
.level,.level.done,.level.finale{width:88px;height:82px;border:0;border-radius:0;background:url('assets/level-cream.svg') center/100% 100% no-repeat;box-shadow:none;color:#554653;text-shadow:0 2px #fff4d5;font:900 33px Georgia,serif;overflow:visible}
.level-number{position:relative;display:block;margin-top:-7px;pointer-events:none}.level:hover{filter:brightness(1.07);scale:1.06}
.level.current{width:116px;height:108px;background:url('assets/level-ruby.svg') center/100% 100% no-repeat;color:#fff1c4;box-shadow:none;text-shadow:0 3px #791a45;font-size:45px;animation:gem-glow 2.8s ease-in-out infinite}
.level.current:before{content:'⚑';top:-39px;left:65%;transform:rotate(12deg);border:0;color:#ffe296;font-size:49px;text-shadow:2px 2px #a06a22,-1px -1px #fff5b7;filter:drop-shadow(0 3px 2px #51351955)}
.level.finale:after{top:-23px;left:0;right:0;font-size:26px;color:#ffdb6f}.level .stars{bottom:0;left:11%;right:11%;padding:0 3px 2px;border:2px solid #ffda70;border-radius:12px;background:linear-gradient(#e6a22d,#995000);box-shadow:0 3px #714218,0 3px 5px #68491f66;color:#ffe788;font-size:19px;line-height:1;letter-spacing:1px;text-shadow:0 2px #a05c13}
.bottom-bar{height:100px;padding:12px 20px max(12px,env(safe-area-inset-bottom));gap:12px;background:linear-gradient(transparent,#24432280);border:0;box-shadow:none}.bottom-bar:before{display:none}
.footer-side{max-width:115px;width:auto;min-height:65px;gap:1px;border:3px solid #edbd63;border-radius:18px;background:linear-gradient(#fff8db,#efd099);box-shadow:0 4px #956022,inset 0 0 0 2px #fff1c3,0 7px 10px #263a2350;color:#4d3b50;font:900 15px Georgia,serif;text-shadow:0 1px #fff2d2}
.footer-side svg{width:31px;height:31px;filter:drop-shadow(0 2px #c19a5a70)}#previous-world>svg,#next-world>svg{width:27px;color:#95345f}.footer-side:disabled{opacity:.5;filter:saturate(.7)}
.jump-button{height:78px;width:176px;margin-top:-10px;gap:8px;border:4px solid #ffd36b;border-radius:23px;background:linear-gradient(145deg,#ee6998,#b42b60 50%,#7a1c49);box-shadow:0 5px #9d651f,inset 0 0 0 3px #ffb0bb,inset 0 -8px 15px #66153b60,0 8px 15px #233b254d;color:#fff2d0;text-shadow:0 2px #7e2248}.jump-button>svg{width:40px;height:40px}.jump-button small{font:900 12px Georgia,serif;color:#ffeac5;letter-spacing:1px}.jump-button b{font:900 31px Georgia,serif}
.world-picker{background:linear-gradient(#3b6043,#233f32);border-color:#edc677;box-shadow:0 6px #9e6d2a,0 0 0 100vmax #112d285e;bottom:112px}.world-tile{border-color:#d7b56a}.world-tile.active{border-color:#ffe7a0}.picker-heading h2{color:#fff0c9;text-shadow:0 2px #203b31}
.dialog{border-color:#ffd77d;background:linear-gradient(#b44978,#7b2e58 35%,#452b4b);box-shadow:0 5px #a46e28,0 10px #3f293c,0 18px 45px #162a2866,inset 0 0 0 2px #f7acaa80}.dialog-head h1,.dialog-head p{text-shadow:0 2px #6f264c}.dialog-head p{color:#f5d7b7}.record-card{background:#fff4d9;color:#514151}.rank-row time{color:#673f58}.play{background:linear-gradient(#a4cc48,#609c31 60%,#3f7929);border-color:#e7eb9b;text-shadow:0 2px #436629;box-shadow:0 5px #365a22,0 0 0 3px #ffc84e,inset 0 3px #dbed9c}.secondary{background:#9c3e6d;box-shadow:0 3px #5b284b}
@keyframes gem-glow{50%{filter:drop-shadow(0 0 10px #fff2a885)}}
@container game (max-width:700px){.app{display:block}.topbar{height:85px;padding:12px 23px 15px;gap:24px}.profile-avatar{width:57px;height:57px;border-radius:18px}.profile-avatar span{font-size:15px;min-width:35px}.resource{min-width:108px;height:40px;padding:0 12px 0 24px;border-width:2px}.resource strong{font-size:27px}.resource span{font-size:11px}.resource>svg{width:49px;height:49px;left:-24px;top:-6px}.coins{min-width:104px}.world-banner{top:91px;min-width:255px;height:55px;padding:6px 22px}.world-banner>span{font-size:20px}.world-banner small{font-size:12px}.world-banner:before,.world-banner:after{font-size:17px;top:10px;padding:3px 7px}.world-banner:before{left:-23px}.world-banner:after{right:-23px}.level,.level.done,.level.finale{width:73px;height:69px;font-size:28px}.level.current{width:96px;height:91px;font-size:38px}.level.current:before{font-size:42px;top:-32px}.level .stars{font-size:16px;bottom:-1px}.bottom-bar{height:96px;padding:10px 10px max(14px,env(safe-area-inset-bottom));gap:7px}.footer-side{min-height:60px;max-width:100px;font-size:12px;border-radius:14px;border-width:2px}.footer-side svg{width:27px;height:27px}#previous-world>svg,#next-world>svg{width:24px}.jump-button{width:125px;height:71px;border-width:3px;border-radius:18px;gap:4px}.jump-button>svg{width:30px;height:30px}.jump-button small{font-size:10px;letter-spacing:.3px}.jump-button b{font-size:28px}.world-picker{bottom:108px}}
@container game (max-width:380px){.topbar{padding-left:15px;padding-right:15px;gap:21px}.profile-avatar{width:50px;height:50px}.resource{min-width:94px;padding-left:21px;padding-right:8px;gap:5px}.resource strong{font-size:24px}.resource span{font-size:10px}.coins{min-width:89px}.resource>svg{width:44px;height:44px;top:-4px;left:-22px}.bottom-bar{gap:5px;padding-left:7px;padding-right:7px}.jump-button{width:111px;gap:2px}.jump-button>svg{width:26px;height:26px}.footer-side{font-size:11px}.world-banner{min-width:235px}}

/* Royal Smash uses a centered 3:4 game viewport with blue side gutters. */
body{background:#073bb8}
.app{display:block;container:game / inline-size;width:min(100%,75dvh);max-width:none;height:100dvh;box-shadow:none}
.sidebar{display:none}
