@font-face{font-family:Nunito;src:url("assets/nunito.woff2") format("woff2");font-weight:500 1000;font-style:normal;font-display:swap}
:root{color-scheme:dark;--cream:#fff1d2;--gold:#e1b77b;--rose:#ffabc9;--ink:#231529;--board-size:clamp(330px,min(42.4vw,59.7svh),558px);--side-width:clamp(188px,16.8vw,242px);--right-width:clamp(182px,15.7vw,220px);--gap:clamp(18px,2.6vw,42px);font-family:Nunito,system-ui,sans-serif;color:var(--cream);font-weight:800}
*{box-sizing:border-box}body{min-width:300px;min-height:100svh;margin:0;background:#251a39}button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:3px solid #fff4ae;outline-offset:4px}button:disabled{cursor:default;opacity:.55}button:not(:disabled):active{translate:0 2px}button[hidden],*[hidden]{display:none!important}img{display:block}h1,h2,h3,p{margin:0}svg.icon{display:block;width:100%;height:100%;overflow:visible;pointer-events:none}.defs{position:absolute;height:0;width:0;overflow:hidden}
.festival-scene{position:fixed;inset:0;z-index:-4;background-image:linear-gradient(0deg,rgba(26,13,38,.53),rgba(27,14,39,.05) 40%,rgba(23,20,48,.23)),url("assets/festival.webp");background-position:center,center 54%;background-size:cover}
.festival-scene:after{content:"";position:absolute;inset:0;box-shadow:inset 0 -34px 84px #190e2670;background:radial-gradient(ellipse at 49% 42%,#30203b0a 42%,#190c2817 100%)}#petals{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:-1}.petal{position:absolute;left:var(--x);top:-18px;width:var(--s);height:calc(var(--s)*.54);border-radius:90% 10% 80% 30%;background:linear-gradient(35deg,#ee7baf,#ffe0e5);box-shadow:0 0 4px #ffc1e460;animation:drift var(--t) var(--d) linear infinite;opacity:.78}@keyframes drift{0%{transform:translate(0,-3vh) rotate(10deg)}40%{transform:translate(-54px,40vh) rotate(145deg)}75%{transform:translate(8px,76vh) rotate(250deg)}100%{transform:translate(-60px,105vh) rotate(420deg)}}
.topbar{height:76px;position:relative;z-index:2;background:linear-gradient(100deg,rgba(35,22,43,.98),rgba(36,24,47,.97) 50%,rgba(31,22,42,.98));box-shadow:0 3px 0 #26172a8f,0 6px 20px #170b2638;border-bottom:2px solid #a57569}.topbar:after{content:"";position:absolute;bottom:1px;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,#d0a28278,transparent)}
.topbar-inner{height:100%;max-width:1700px;margin:auto;padding:0 clamp(20px,3.8vw,64px);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px}.brand{justify-self:start;padding:0}.brand img{width:clamp(177px,15.1vw,232px);height:63px;object-fit:contain;filter:drop-shadow(0 3px 1px #100d17)}
.primary-nav{display:flex;align-items:center;gap:5px}.nav-item{display:flex;align-items:center;justify-content:center;gap:7px;position:relative;padding:9px 17px;border:1px solid transparent;border-radius:12px;color:#d5c4d4;font-weight:900;font-size:15px;text-shadow:0 1px 2px #28162d;transition:background .15s}.nav-item>span:first-child{width:26px;height:26px}.nav-item.active{color:#ffecc8;background:linear-gradient(#684250,#503448);border-color:#ad7773;box-shadow:inset 0 1px 0 #dba9953a,0 2px 2px #160d2280}.nav-item:hover:not(.active){background:#ffffff0e;color:white}.nav-item i{position:absolute;top:3px;right:6px;width:9px;height:9px;border-radius:50%;background:#f078a1;border:1px solid #ffd0dc}
.utilities{justify-self:end;display:flex;align-items:center;gap:9px}.coin-purse{display:flex;align-items:center;gap:6px;min-width:84px;height:36px;border-radius:30px;padding:0 13px 0 5px;background:linear-gradient(#33202e,#4c3440);border:1px solid #966c62;box-shadow:inset 0 1px 3px #100a1a,0 1px 1px #c48a711c;color:#ffe8a7;font-size:17px;font-weight:1000}.coin-purse img{width:31px;height:31px}.round-button{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;border:1px solid #8b6c78;background:linear-gradient(140deg,#584656,#3a2d42);box-shadow:inset 0 1px 0 #b39cac4d,0 2px 2px #120c1a55}.round-button span{width:22px;height:22px;display:block}.round-button:hover,.coin-purse:hover{filter:brightness(1.2)}
.stage{position:relative;max-width:1620px;min-height:calc(100svh - 76px);margin:0 auto;padding:clamp(12px,2.5svh,34px) 18px 18px;display:flex;flex-direction:column;align-items:center;justify-content:center}.stage-title{text-align:center;position:relative;margin:0 0 clamp(15px,2.35svh,26px);filter:drop-shadow(0 3px 3px #200d2bc2);isolation:isolate}.stage-title:before{content:"";position:absolute;z-index:-1;inset:-10px -50px -3px;background:radial-gradient(ellipse,#392039a3 10%,transparent 70%)}.level-eyebrow{display:flex;align-items:center;justify-content:center;gap:10px;color:#ffe0a1;font-size:12px;letter-spacing:2.8px;font-weight:1000;text-shadow:0 1px 3px #4d2343}.level-eyebrow i{display:block;position:relative;width:39px;height:1px;background:linear-gradient(90deg,transparent,#ffe0a5)}.level-eyebrow i:after{content:"";position:absolute;right:0;width:5px;height:5px;top:-2px;transform:rotate(45deg);background:#ffe0a5}.level-eyebrow i:last-child{transform:rotate(180deg)}
.stage-title h1{font-weight:1000;font-size:clamp(38px,5.9svh,60px);letter-spacing:-1.8px;line-height:1.1;color:#fff3d9;-webkit-text-stroke:1px #604044;paint-order:stroke fill;text-shadow:0 3px #693b4a,0 5px #2e1634,1px 4px 6px #351732}
.game-layout{display:grid;grid-template-columns:var(--side-width) var(--board-size) var(--right-width);gap:var(--gap);align-items:center;justify-content:center;position:relative;left:calc((var(--right-width) - var(--side-width)) / 2);width:max-content;max-width:100%}
.board-column{min-width:0;position:relative}.board-frame{position:relative;padding:6px;border-radius:20px;border:2px solid #4c3040;background:linear-gradient(145deg,#ffddad,#d6a278 5%,#a77569 32%,#ffe2b1 49%,#bb8d77 75%,#e6b48e);box-shadow:0 3px 0 1px #5d3948,0 6px 0 1px #38253a,0 14px 30px #190d3199,inset 0 0 0 1px #fff1bd,inset 0 0 0 3px #a56061}.frame-rim{background:#3a2441;padding:4px;border-radius:13px;box-shadow:0 0 0 1px #70424e,inset 0 1px 2px #26132f}.corner{position:absolute;width:33px;height:33px;z-index:2;pointer-events:none;filter:drop-shadow(0 1px 1px #432b35)}.tl{top:-2px;left:-2px}.tr{top:-2px;right:-2px;transform:scaleX(-1)}.br{bottom:-2px;right:-2px;transform:rotate(180deg)}.bl{bottom:-2px;left:-2px;transform:scaleY(-1)}.board-gem{position:absolute;top:-8px;left:50%;width:19px;height:19px;z-index:2;transform:translateX(-50%) rotate(45deg);background:linear-gradient(115deg,#ffdfa0,#c4946b);border:1px solid #734c46;border-radius:4px;box-shadow:0 1px 1px #331830}.board-gem i{position:absolute;inset:3px;border:1px solid #934b63;border-radius:2px;background:conic-gradient(from 5deg,#fe9ebb,#d65379,#a43869,#ffafc5,#ffddcf,#fe9ebb)}
.score-bar{display:flex;align-items:center;gap:10px;margin:14px 4px 0;padding:5px 15px 5px 10px;height:42px;border-radius:25px;background:linear-gradient(100deg,#35243ce8,#332239ef);border:1px solid #b6907c;box-shadow:inset 0 1px 0 #d6aaa23b,0 3px 3px #28172c75}.score-title{display:flex;align-items:center;gap:6px;color:#edd2b0;font-weight:900;font-size:14px}.score-title>span:first-child{width:26px;height:26px}.score-bar>strong{font-weight:1000;font-size:19px;color:#fff3d6;min-width:20px}.score-meter{height:9px;flex:1;position:relative;border:1px solid #8b6275;border-radius:20px;background:#281b32;box-shadow:inset 0 2px 2px #160c23;margin:0 6px 0 4px}.score-meter>div,.event-track>div,.challenge-progress>div{height:100%;background:linear-gradient(#ffb3c5,#e96999);border-radius:inherit;transition:width .4s}.score-meter i{position:absolute;left:var(--at);top:50%;transform:translate(-50%,-50%);width:19px;height:19px;background:url(assets/star.svg) center/contain no-repeat;filter:grayscale(.68) brightness(.76)}.score-meter i.earned{filter:none}
.event-rail{position:relative;display:flex;flex-direction:column;align-items:center;align-self:end;margin-bottom:16px}.mascot-wrap{width:100%;height:clamp(158px,min(23vw,31svh),292px);position:relative;z-index:1;pointer-events:none}.momo{height:calc(100% + 10px);width:115%;max-width:none;object-fit:contain;position:absolute;bottom:-10px;left:-8%;filter:drop-shadow(0 6px 4px #34162e88);transform:rotate(-3deg);transform-origin:55% 95%}.momo-glow{position:absolute;inset:14% -10% -7%;background:radial-gradient(ellipse,#ffb99156,transparent 68%)}.glint{position:absolute;clip-path:polygon(50% 0,59% 38%,100% 50%,60% 60%,50% 100%,39% 60%,0 50%,39% 40%);background:#ffe8ac;filter:drop-shadow(0 0 5px gold)}.g1{width:16px;height:23px;top:20%;left:5%}.g2{width:10px;height:14px;right:-1%;top:53%}.g3{width:8px;height:12px;top:10%;right:20%}
.event-card{width:100%;position:relative;z-index:2;border:2px solid #e0ad88;outline:2px solid #673e4e;border-radius:15px;background:linear-gradient(125deg,#6d354d,#482b42 65%,#44283e);box-shadow:0 5px 0 #573646,0 8px 18px #24112f7a,inset 0 0 0 3px #935664;overflow:hidden}.event-card:before{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-radial-gradient(ellipse at 100% 0%,transparent 0 11px,#ffb2ab10 12px 13px,transparent 14px 21px);mask-image:linear-gradient(220deg,#000,transparent 65%)}.event-ribbon{position:relative;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(90deg,#a34e67,#804258);border-bottom:1px solid #cf8c88;height:31px;padding:0 13px;color:#ffdee7}.event-ribbon b{font-size:10px;letter-spacing:1.55px;font-weight:1000;display:flex;align-items:center;gap:6px}.event-ribbon b i{width:6px;height:6px;border-radius:100%;background:#ffc6d7;box-shadow:0 0 6px #ffb7cf}.event-ribbon>span{display:flex;align-items:center;gap:4px;font-size:11px;letter-spacing:.4px}.event-ribbon [data-icon]{width:15px;height:15px}.event-card-content{position:relative;padding:12px 13px 14px;text-align:center}.event-card-content h2{font-weight:1000;font-size:clamp(20px,1.75vw,26px);letter-spacing:-.8px;line-height:1.15;color:#fff0d8;text-shadow:0 2px #542332}.event-card-content p{color:#ecc4cd;font-size:13px;margin:5px 0 8px}.event-progress{display:flex;align-items:center;width:95%;margin:0 auto 10px;position:relative}.event-progress img{width:32px;height:32px;position:relative;z-index:1;margin-right:-5px}.event-track{height:19px;flex:1;background:#27192b;border-radius:13px;border:1px solid #ae7c86;position:relative;overflow:hidden;box-shadow:inset 0 2px 3px #150f21}.event-track strong{position:absolute;inset:0;font-size:11px;line-height:17px;letter-spacing:.4px;text-shadow:0 1px 2px #2d1932}.candy-button,.gold-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:7px 16px;font-size:15px;font-weight:1000;border-radius:11px;background:linear-gradient(#ee9eaf,#da7396 49%,#c55b86);border:1px solid #ffc8bd;box-shadow:inset 0 0 0 2px #ec93a7,inset 0 2px 0 #ffe0d0,0 3px 0 #7a3d5f,0 4px 2px #382138;color:#fff5df;text-shadow:0 1px 2px #8d4667}.candy-button:hover,.gold-button:hover{filter:brightness(1.09)}.candy-button [data-icon]{width:22px;height:22px}.event-card .candy-button{width:100%;min-height:36px;padding:4px 8px}.gold-button{background:linear-gradient(#ffdc91,#ecc077 58%,#e2a75c);color:#523447;border-color:#ffebad;box-shadow:inset 0 0 0 2px #e9bc82,0 3px 0 #946550;text-shadow:none}
.status-rail{display:flex;flex-direction:column;gap:15px;margin-bottom:27px}.hud-panel{background:linear-gradient(135deg,rgba(65,44,67,.98),rgba(39,28,49,.98));border:2px solid #cb9f80;border-radius:17px;box-shadow:0 0 0 2px #583e4a,inset 0 0 0 3px #70505c,inset 0 0 18px #36263c,0 5px 0 #563c4a,0 7px 15px #1b102c6b;text-align:center;position:relative}.move-area{position:relative;overflow:hidden;border-radius:15px 15px 0 0;padding:15px 10px 8px;background:radial-gradient(ellipse at center bottom,#8e577268,transparent 72%)}.move-area:before{content:"";position:absolute;inset:0;opacity:.13;background:repeating-conic-gradient(at 50% 133%,#c692a0 0deg 5deg,transparent 5deg 16deg);mask-image:linear-gradient(0deg,#000,transparent 94%)}.ornament-label{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:1000;letter-spacing:1.6px;text-transform:uppercase;color:#e9c997}.ornament-label i{width:4px;height:4px;transform:rotate(45deg);background:#caa37e}.move-area>strong{display:block;position:relative;font-size:clamp(46px,7.25svh,72px);letter-spacing:-2px;font-weight:1000;line-height:1.05;color:#fff0ce;text-shadow:0 3px #855e58,0 5px #35213b}.seam{background:linear-gradient(to right,transparent,#af8374 22%,#b7947b 50%,#af8374 78%,transparent);height:1px;position:relative;margin:2px 12px}.seam i{position:absolute;left:50%;top:-3px;width:7px;height:7px;background:#e2bd91;transform:rotate(45deg);outline:3px solid #412e44}.goal-area{padding:11px 8px 16px}.goal-area h2{font-size:15px;font-weight:900;color:#f6ddc4}.goals{display:flex;justify-content:center;gap:17px;margin-top:8px}.goal-token{display:flex;align-items:center;flex-direction:column;position:relative;min-width:45px}.goal-token img{height:40px;width:40px;filter:drop-shadow(0 2px 2px #20132590)}.goal-token strong{font-size:17px;font-weight:1000;line-height:1.12;margin-top:3px}.goal-token.done{color:#b5f6bd}.booster-hud{padding:13px 10px 14px}.booster-hud .ornament-label{font-size:13px;letter-spacing:1.4px}.boosters{display:flex;justify-content:center;gap:6px;margin:12px 1px 1px}.booster{position:relative;padding:3px;width:30%;aspect-ratio:1;border:1.5px solid #a98687;border-radius:12px;background:linear-gradient(145deg,#70516b,#44344c);box-shadow:inset 0 0 0 2px #3b2b42,0 2px 1px #24162c}.booster img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 1px #27132d8c)}.booster b{position:absolute;right:-4px;bottom:-4px;display:grid;place-items:center;min-width:18px;height:18px;border:1.5px solid #e3d4a5;border-radius:100%;background:linear-gradient(#8cba80,#488b69);box-shadow:0 1px 2px #201e30;color:white;font-size:11px;font-weight:1000}.booster[aria-pressed=true]{outline:2px solid #ffdf9b;background:#9c6986}.booster:hover{filter:brightness(1.15)}
.hint-button{align-self:center;display:flex;align-items:center;justify-content:center;gap:9px;background:#332439ec;border:1px solid #aa8b8c;box-shadow:inset 0 1px 0 #f0c1ba33,0 2px 3px #25172e88;border-radius:22px;padding:7px 12px;font-size:14px;color:#f5e5d8}.hint-button [data-icon]{width:21px;height:21px}.hint-button kbd{font:900 11px Nunito,sans-serif;border:1px solid #957d8d;border-radius:4px;min-width:16px;color:#e8d2de}.hint-button:hover,.instruction-bar button:hover{filter:brightness(1.2)}
.instruction-bar{display:flex;align-items:center;gap:8px;justify-content:center;margin-top:clamp(14px,2.7svh,32px);background:linear-gradient(90deg,transparent,#2c1d34bc 12%,#2c1d34bc 88%,transparent);padding:4px 20px;font-size:13px;font-weight:800;color:#f1e0db;text-shadow:0 1px 2px #28192f}.instruction-bar>svg{width:20px;height:20px;color:#e5beab}.instruction-bar button{padding:0;width:19px;height:19px}.instruction-bar button span{display:block;width:100%;height:100%}
dialog{width:min(560px,calc(100% - 26px));max-height:calc(100svh - 42px);margin:auto;padding:0;border:2px solid #e2b288;border-radius:22px;color:var(--cream);background:linear-gradient(145deg,#4d344c,#2f233c 53%,#39253d);box-shadow:0 0 0 3px #633e53,0 12px 70px #0d071eac,inset 0 0 0 4px #73505f;overflow:auto;scrollbar-color:#af7b8f #392a40}dialog::backdrop{background:#180f26b0;backdrop-filter:blur(5px)}dialog.wide{width:min(760px,calc(100% - 26px))}.dialog-shell{position:relative;padding:30px 27px 26px;overflow:hidden}.dialog-shell:before{content:"";position:absolute;inset:0 0 auto;height:130px;background:radial-gradient(ellipse at 50% -35%,#b6717b66,transparent 70%);pointer-events:none}.dialog-close{position:absolute;z-index:2;right:13px;top:13px;width:30px;height:30px}.dialog-close span{width:16px;height:16px}#dialog-content{position:relative}.modal-title{font-size:31px;font-weight:1000;text-align:center;line-height:1.12;letter-spacing:-1px;margin:3px 22px 8px;text-shadow:0 2px #693d54}.modal-sub{font-size:14px;font-weight:700;text-align:center;color:#dfc7d6;line-height:1.5;margin:0 auto 18px}.modal-eyebrow{text-transform:uppercase;letter-spacing:2px;font-weight:1000;color:#edc998;text-align:center;font-size:11px;margin:3px 0 7px}.event-grid,.album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.challenge,.album-tile{min-width:0;position:relative;border:1px solid #95737e;border-radius:15px;background:linear-gradient(145deg,color-mix(in srgb,var(--theme) 18%,#432b42),#302437);overflow:hidden;text-align:center;box-shadow:inset 0 1px 0 #f0c5b333,0 3px 0 #281b30}.challenge{padding:6px 9px 13px;display:flex;flex-direction:column;align-items:center}.challenge:hover,.album-tile:hover{border-color:#f0c7aa;filter:brightness(1.06)}.sticker-art{object-fit:contain;filter:drop-shadow(0 4px 3px #160e2559)}.challenge .sticker-art{height:91px;width:100%;margin-bottom:3px}.challenge h3,.album-tile h3{font-size:16px;line-height:1.15;font-weight:1000;letter-spacing:-.3px}.challenge small{color:#dbc4cd;font-size:12px;margin:4px 0 8px}.challenge-progress{position:relative;width:90%;height:7px;overflow:hidden;border:1px solid #947483;border-radius:10px;background:#271b30}.challenge-progress>div{background:linear-gradient(var(--theme,#ffadbe),color-mix(in srgb,var(--theme,#ffadbe) 65%,#9e587a))}.challenge .reward{font-size:12px;display:flex;gap:3px;align-items:center;margin-top:6px;color:#f8dba7}.reward img{width:17px;height:17px}.claim-ready{border-color:#f0ca82}.featured-detail{text-align:center}.detail-sticker{width:150px;height:143px;margin:0 auto 6px;object-fit:contain;filter:drop-shadow(0 5px 4px #1b1329)}.detail-sticker-wrap{background:radial-gradient(ellipse closest-side,#b579875c,transparent)}.detail-meter{max-width:290px;margin:16px auto}.detail-meter .challenge-progress{width:100%;height:12px;margin:6px auto}.detail-meter strong{font-size:14px;color:#f2d8df}.reward-row{display:flex;align-items:center;justify-content:center;gap:7px;color:#ffe2a1;margin:10px 0 18px;font-size:15px}.reward-row img{width:25px;height:25px}.actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;margin-top:18px}.secondary-button{font:900 14px Nunito,sans-serif;color:#ead2db;text-decoration:underline;text-underline-offset:4px;padding:8px}.album-tile{padding:12px 5px}.album-tile img{width:100%;height:90px;object-fit:contain;margin-bottom:5px}.album-tile.unearned img{filter:grayscale(.66) brightness(.72);opacity:.85}.album-tile small{color:#d0b6c7;font-size:12px}.album-counter{display:inline-flex;justify-content:center;align-items:center;border:1px solid #b48385;border-radius:20px;padding:3px 12px;margin-left:5px;font-size:12px;color:#ffe2b2}.help-rows{display:grid;gap:10px}.help-row,.setting-row,.shop-row{display:flex;align-items:center;gap:13px;text-align:left;padding:10px 12px;background:#60425753;border:1px solid #8b68755c;border-radius:12px}.help-row img,.shop-row>img{width:40px;height:40px;object-fit:contain}.help-row p,.setting-row small,.shop-row p{font-size:13px;line-height:1.4;color:#dfc5d3;font-weight:700}.help-row strong,.setting-row strong,.shop-row strong{display:block;font-weight:1000;font-size:15px}.setting-list,.shop-list{display:grid;gap:10px;margin:16px 0}.setting-row>span,.shop-row>div{flex:1}.setting-row button{font-size:13px;font-weight:900;border:1px solid #c293a0;border-radius:14px;background:#80536d;min-width:52px;padding:4px 10px}.setting-row button[aria-pressed=true]{background:#587c6c;border-color:#a7c4a0}.wallet-count{display:flex;align-items:center;justify-content:center;gap:6px;background:#271b2d;width:max-content;padding:4px 15px;border:1px solid #987374;border-radius:20px;margin:10px auto}.wallet-count img{width:26px}.shop-row button{display:flex;align-items:center;gap:4px;border:1px solid #d9af86;border-radius:10px;background:linear-gradient(#856349,#664b46);color:#ffe2a7;padding:6px 9px}.shop-row button img{width:19px;height:19px}.result-stars{display:flex;justify-content:center;gap:3px;margin:2px 0 10px}.result-stars img{width:45px;height:45px;filter:drop-shadow(0 3px 2px #28172e)}.result-stars img:nth-child(2){width:58px;height:58px;margin-top:-10px}.result-stars .dim{filter:grayscale(.8) brightness(.6)}.result-stats{display:flex;justify-content:center;gap:10px}.result-stats>div{display:grid;justify-items:center;min-width:97px;padding:9px 16px;border:1px solid #936875;border-radius:13px;background:#281b305e}.result-stats small{color:#dac0d0}.result-stats strong{font-size:21px;color:#ffe3b1}.toast{position:fixed;left:50%;bottom:17px;z-index:15;transform:translate(-50%,18px);max-width:calc(100% - 28px);background:#33243cf5;border:1px solid #c18e9c;color:#fff0d8;font-size:14px;font-weight:900;box-shadow:0 4px 14px #150e246b;border-radius:14px;padding:9px 18px;text-align:center;opacity:0;transition:transform .18s,opacity .18s;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1500px){.game-layout{--gap:46px}}
@media(max-height:710px) and (min-width:831px){:root{--board-size:clamp(314px,min(40.8vw,59svh),430px)}.topbar{height:62px}.brand img{height:52px}.stage{min-height:calc(100svh - 62px);padding-top:10px;padding-bottom:9px}.stage-title{margin-bottom:13px}.stage-title h1{font-size:36px}.event-card-content{padding-top:9px;padding-bottom:11px}.mascot-wrap{height:26svh}.event-rail{margin-bottom:12px}.status-rail{gap:12px}.instruction-bar{margin-top:11px}.move-area{padding-top:10px}.goal-area{padding-bottom:11px}.event-card-content p{margin:3px 0}.score-bar{height:36px;margin-top:12px}}
@media(max-width:1000px) and (min-width:831px){:root{--side-width:174px;--right-width:165px;--gap:16px;--board-size:clamp(330px,min(44vw,59svh),460px)}.topbar-inner{padding:0 20px}.nav-item{padding:8px 11px}.event-card-content{padding-right:9px;padding-left:9px}.event-ribbon{padding:0 9px}.brand img{width:168px}.status-rail{gap:13px}.booster-hud{padding-left:7px;padding-right:7px}}
@media(max-width:830px){:root{--board-size:min(63vw,56svh,470px);--right-width:clamp(157px,23vw,198px);--gap:18px}.topbar{height:65px}.topbar-inner{padding:0 15px;gap:9px}.brand img{width:153px;height:50px}.nav-item{padding:8px 8px;gap:4px;font-size:13px}.nav-item>span:first-child{height:22px;width:22px}.utilities{gap:5px}.round-button{width:31px;height:31px}.coin-purse{min-width:68px;height:32px;padding-right:9px;font-size:15px}.coin-purse img{width:26px;height:26px}.stage{min-height:calc(100svh - 65px);padding:17px 14px}.stage-title{margin-bottom:16px}.game-layout{grid-template-columns:var(--board-size) var(--right-width);grid-template-rows:auto auto;left:0;row-gap:16px}.board-column{grid-column:1;grid-row:1}.status-rail{grid-column:2;grid-row:1;margin:0}.event-rail{grid-column:1/-1;grid-row:2;justify-self:center;width:min(100%,500px);margin:0;padding-left:55px}.mascot-wrap{position:absolute;left:-3px;bottom:-1px;height:100%;min-height:90px;width:90px;z-index:3}.momo{width:100%;height:100%;bottom:0;left:0}.event-card{border-radius:12px}.event-ribbon{height:22px;padding-left:25px}.event-card-content{display:grid;grid-template-columns:1fr auto;text-align:left;padding:8px 12px 9px 25px;gap:1px 9px}.event-card-content h2{font-size:18px}.event-card-content p{display:none}.event-progress{grid-column:1;grid-row:2;margin:0;width:100%;max-width:150px}.event-progress img{width:20px;height:20px}.event-track{height:14px}.event-track strong{line-height:12px;font-size:10px}.event-card .candy-button{grid-column:2;grid-row:1/3;align-self:center;min-height:30px;font-size:13px;width:auto;padding:4px 9px}.event-card .candy-button [data-icon]{width:16px;height:16px}.instruction-bar{margin-top:14px}.move-area>strong{font-size:48px}}
@media(max-width:610px){:root{--board-size:min(94vw,490px)}.topbar{height:58px}.topbar-inner{display:flex;justify-content:space-between;padding:0 10px;gap:3px}.brand img{width:clamp(110px,26vw,149px);height:46px}.primary-nav{gap:1px}.nav-item{width:42px;height:44px;flex-direction:column;gap:0;padding:3px 1px;border-radius:10px;font-size:9px;letter-spacing:.2px}.nav-item>span:first-child{width:23px;height:23px}.utilities{gap:4px}.sound-button{display:none}.coin-purse{min-width:50px;height:28px;font-size:12px;gap:2px;padding:0 5px 0 1px}.coin-purse img{width:24px;height:24px}.round-button{width:28px;height:28px}.round-button span{width:18px;height:18px}.stage{padding:13px 8px 15px;justify-content:flex-start;min-height:calc(100svh - 58px)}.stage-title{margin-bottom:10px}.level-eyebrow{font-size:10px;letter-spacing:1.6px}.stage-title h1{font-size:34px;letter-spacing:-1.2px}.game-layout{width:var(--board-size);max-width:100%;display:flex;flex-direction:column;gap:10px}.board-column,.status-rail{width:100%}.status-rail{order:-1;display:grid;grid-template-columns:1.16fr 1fr;gap:8px;align-items:stretch}.level-hud{display:flex;align-items:center;justify-content:space-evenly}.hud-panel{border-width:1px;border-radius:12px;box-shadow:inset 0 0 0 2px #74535e,0 2px 0 #513746}.move-area{padding:5px 6px;border-radius:10px}.move-area .ornament-label{font-size:9px;letter-spacing:.4px;gap:0}.move-area .ornament-label i{display:none}.move-area>strong{font-size:31px;line-height:1.1}.seam{width:1px;height:35px;background:linear-gradient(transparent,#b38a77,transparent);margin:0}.seam i{display:none}.goal-area{padding:4px 6px}.goal-area h2{font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#f2cfaa}.goals{gap:9px;margin-top:2px}.goal-token{min-width:0;flex-direction:row;gap:1px}.goal-token img{width:25px;height:26px}.goal-token strong{font-size:13px}.booster-hud{padding:4px 8px 7px}.booster-hud .ornament-label{font-size:9px;letter-spacing:1px}.boosters{margin:3px 1px 0;gap:8px}.booster{width:30px;height:30px;aspect-ratio:1;border-radius:8px;padding:1px}.booster b{height:13px;min-width:13px;font-size:8px;right:-4px;bottom:-3px}.hint-button{position:absolute;right:0;top:-45px;padding:5px 6px;gap:3px;font-size:0}.hint-button [data-icon]{width:18px;height:18px}.hint-button kbd{display:none}.board-frame{padding:5px;border-radius:15px}.frame-rim{padding:3px;border-radius:9px}.corner{width:26px;height:26px}.board-gem{width:15px;height:15px;top:-6px}.score-bar{height:34px;margin:9px 2px 0}.score-title{font-size:12px}.score-bar>strong{font-size:16px}.score-title>span:first-child{width:22px;height:22px}.score-meter i{width:16px;height:16px}.event-rail{margin-top:0;align-self:center;width:97%}.event-card-content h2{font-size:17px}.event-ribbon{height:20px}.event-card-content{padding:6px 9px 8px 21px}.event-card .candy-button{font-size:12px}.mascot-wrap{min-height:75px;width:73px;left:2px}.instruction-bar{font-size:11px;margin-top:9px;padding:4px 9px;gap:6px}.event-grid,.album-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dialog-shell{padding:23px 14px 19px}.modal-title{font-size:26px}.challenge .sticker-art,.album-tile img{height:73px}.challenge h3,.album-tile h3{font-size:14px}.modal-sub{font-size:13px}.challenge{padding:5px 5px 8px}.challenge small{font-size:11px}.detail-sticker{height:123px}.dialog-close{right:9px;top:9px}}
@media(max-width:365px){.nav-item{width:34px;font-size:8px}.brand img{width:95px}.topbar-inner{padding:0 6px}.goal-area{padding:3px}.goals{gap:3px}.event-card .candy-button [data-icon]{display:none}}
@media(prefers-reduced-motion:reduce){.petal{animation:none;display:none}*,*:before,*:after{scroll-behavior:auto!important}}
.calm .petal{display:none}.calm *{scroll-behavior:auto!important}
.event-track strong{text-align:center}
.actions .secondary-button{display:inline-flex;align-items:center;gap:6px;text-decoration:none}
.actions .secondary-button:hover{text-decoration:underline}
.actions .secondary-button [data-icon]{width:18px;height:18px}
.actions .gold-button [data-icon]{width:22px;height:22px}
.celebration{position:absolute;inset:-25px -18px -10px;pointer-events:none;overflow:hidden;z-index:3}
.celebration i{position:absolute;left:var(--left);top:-14px;width:10px;height:7px;border-radius:90% 20% 85% 20%;background:linear-gradient(135deg,#ffe0df,#ff91b7 62%,#da6997);animation:prize-rain 1.55s var(--delay) ease-in both}
.celebration i:nth-child(3n){width:11px;height:11px;border-radius:0;background:#ffda8d;clip-path:polygon(50% 0,60% 36%,100% 50%,61% 60%,50% 100%,40% 61%,0 50%,39% 38%)}
.celebration i:nth-child(4n){background:linear-gradient(#dbd2fa,#a98ac9)}
@keyframes prize-rain{0%{transform:translateY(-15px);opacity:0}12%{opacity:1}75%{opacity:1}100%{transform:translate(var(--sway),360px) rotate(var(--turn));opacity:0}}
@media(max-width:610px){.board-column{order:0}.event-rail{order:1}.nav-item{font-size:10px}.event-rail .event-track strong{text-align:center}}
@media(prefers-reduced-motion:reduce){.celebration{display:none}}

.audio-credits{margin:14px 0 4px;padding:10px 12px;border:1px solid #79566f;border-radius:12px;background:#2c2036;color:#e3cfdb;font-size:13px;line-height:1.5}.audio-credits summary{cursor:pointer;font-weight:800;color:#ffdbb4}.audio-credits[open] p{margin-top:8px}.audio-credits a{color:#ffe2ad;text-decoration:underline}.audio-credits summary:focus-visible,.audio-credits a:focus-visible{outline:2px solid #fff0b9;outline-offset:3px}
.in-plaza .petal{pointer-events:none}
body:not(.in-plaza)[data-atmosphere="still"] #petals{display:none}
body:not(.in-plaza)[data-atmosphere="snow"] .petal{width:calc(var(--s)*.53);height:calc(var(--s)*.53);border-radius:50%;background:radial-gradient(circle,#fff 12%,#e2f7fff0 46%,transparent 72%);box-shadow:none;opacity:.8}
body:not(.in-plaza)[data-atmosphere="leaves"] .petal{background:linear-gradient(31deg,#767b35,#c4a14d);box-shadow:none;opacity:.57}
body:not(.in-plaza)[data-atmosphere="stars"] .petal{width:calc(var(--s)*.37);height:calc(var(--s)*.37);border-radius:50%;background:#fff1b0;box-shadow:0 0 8px #ffda85;opacity:.64}
