:root{color:#2c2240;background:#211437;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}button{font:inherit}.appShell{min-height:100svh;display:grid;place-items:center;padding:18px;background:radial-gradient(circle at 18% 16%,rgba(255,214,64,.38),transparent 26%),radial-gradient(circle at 82% 20%,rgba(31,199,255,.42),transparent 24%),linear-gradient(145deg,#ff4f8b,#8146df 48%,#19b7e9)}.phoneFrame{position:relative;width:min(100%,430px);height:min(100svh - 36px,860px);min-height:680px;overflow:hidden;border:5px solid rgba(255,255,255,.7);border-radius:32px;background:#fff4d8;box-shadow:0 30px 80px #26124e66,inset 0 0 0 2px #8841d238}.screen,.gameplayScreen{width:100%;height:100%}.screen{position:relative;display:flex;flex-direction:column;gap:18px;padding:calc(22px + env(safe-area-inset-top)) 18px calc(22px + env(safe-area-inset-bottom));overflow:hidden;background:radial-gradient(circle at 15% 12%,rgba(255,255,255,.6),transparent 18%),radial-gradient(circle at 84% 8%,rgba(255,215,76,.55),transparent 18%),linear-gradient(180deg,#90ecff,#9be967 48%,#ffe47c)}.screen:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background-image:radial-gradient(circle,rgba(255,255,255,.42) 0 4px,transparent 5px),radial-gradient(circle,rgba(255,116,171,.22) 0 6px,transparent 7px);background-position:12px 18px,58px 72px;background-size:78px 92px,118px 126px}.screen>*{position:relative;z-index:1}.launchScreen{justify-content:space-between;color:#fff;background:linear-gradient(180deg,#060c202e,#060c204d 45%,#060c20c7),url(/assets/tournament-splash-cartoon.png);background-position:center;background-size:cover}.launchScreen:before{background:radial-gradient(circle at 50% 34%,rgba(255,255,255,.28),transparent 26%),linear-gradient(180deg,#05091605,#05091657 60%,#050916db)}.launchScreen:after{content:"";position:absolute;inset:auto -24px 0;height:42%;pointer-events:none;background:radial-gradient(ellipse at 50% 98%,rgba(255,222,87,.38),transparent 46%),linear-gradient(180deg,transparent 0%,rgba(12,37,22,.34) 48%,rgba(7,18,12,.72) 100%);z-index:0}.launchPlayButton{width:100%;z-index:4;color:#fff;background:linear-gradient(180deg,#ffffff57,#ffe87247 52%,#16b2d642);box-shadow:inset 0 1px #ffffff94,0 1px #ffffff3d,0 14px 30px #00000042;border:1px solid rgba(255,255,255,.44);-webkit-backdrop-filter:blur(10px) saturate(1.25);backdrop-filter:blur(10px) saturate(1.25);text-shadow:0 2px 8px rgba(0,0,0,.52);animation:popIn .56s .56s cubic-bezier(.18,.9,.24,1.24) both}.launchContent{max-width:360px;padding-top:18px;animation:popIn .62s .18s cubic-bezier(.18,.9,.24,1.22) both;z-index:3}.launchContent h1{max-width:8.8ch;color:#fff;text-shadow:0 4px 0 rgba(6,18,42,.48),0 16px 32px rgba(0,0,0,.36)}.launchScreen .eyebrow{color:#fff174}.launchScreen .bodyCopy{color:#fffffff0;text-shadow:0 3px 16px rgba(0,0,0,.48)}.sagaShell{width:100%;height:100%;position:relative;display:flex;flex-direction:column;overflow:hidden;background:#0f2619}.sagaMapViewport{flex:1;min-height:0;position:relative;overflow:hidden}.sagaMapScroll{position:absolute;top:0;right:0;bottom:0;left:0;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}.sagaMapScroll::-webkit-scrollbar{display:none}.sagaMapCanvas{position:relative;width:100%;min-height:100%;overflow:hidden}.chapterTopBar{position:absolute;z-index:45;top:10px;left:10px;right:10px;min-height:64px;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 10px;border:1px solid;border-radius:16px;color:#fff;background:#06120cbd;box-shadow:0 12px 26px #00000047;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none}.chapterTopIcon{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;font-size:1.25rem;box-shadow:inset 0 2px #ffffff47,0 3px 10px #00000038}.chapterTopText{min-width:0;display:grid;gap:1px;text-align:left}.chapterTopText span,.chapterTopProgress span{font-size:.56rem;font-weight:1000;letter-spacing:0;line-height:1;text-transform:uppercase}.chapterTopText strong{overflow:hidden;color:#fff;font-size:.98rem;font-weight:1000;line-height:1.08;text-overflow:ellipsis;white-space:nowrap}.chapterTopText small{overflow:hidden;color:#ffffffa3;font-size:.68rem;font-weight:750;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.chapterTopProgress{min-width:56px;display:grid;gap:2px;text-align:right}.chapterTopProgress strong{color:#fbbf24;font-size:.84rem;font-weight:1000;line-height:1}.chapterTopProgress span{color:#ffffff85}.chapterTopProgress i{justify-self:end;width:100%;max-width:48px;height:3px;margin-top:3px;border-radius:999px;transition:width .28s ease}.chapterBackground,.pitchGrid,.pathSvg,.sagaNodePosition,.grassTuft,.mapCloud{position:absolute}.chapterBackground{left:0;width:100%;pointer-events:none}.pitchGrid{inset:0 auto auto 0;opacity:.04;pointer-events:none}.pitchGrid line{stroke:#fff;stroke-width:1}.pathSvg{inset:0 auto auto 0;pointer-events:none}.pathShadow,.pathTrack,.pathFill,.pathDash{fill:none;stroke-linecap:round;stroke-linejoin:round}.pathShadow{stroke:#0000004d;stroke-width:18}.pathTrack{stroke:#ffffff14;stroke-width:14}.pathTrackComplete{stroke:#ffffff40}.pathFill{stroke:#fbbf24;stroke-width:8;filter:drop-shadow(0 0 4px rgba(251,191,36,.6))}.pathDash{stroke:#ffffff26;stroke-width:6;stroke-dasharray:8 10}.grassTuft,.mapCloud{pointer-events:none}.grassTuft{opacity:.62;transform-origin:bottom center}.mapCloud{animation:cloudFloat 5.5s ease-in-out infinite}.sagaNodePosition{z-index:10;transform:translate(-50%,-50%)}.sagaLevelNode{width:88px;min-height:92px;display:flex;flex-direction:column;align-items:center;gap:2px;border:0;color:#fff;background:transparent;cursor:pointer;transition:transform .16s ease,filter .16s ease}.sagaLevelNode:active{transform:scale(.94)}.sagaLevelNodeLocked{cursor:default}.sagaLevelBubble{position:relative;width:60px;height:60px;display:grid;place-items:center;border:3px solid;border-radius:50%;overflow:hidden;background:#00000059;box-shadow:0 4px 12px #0000004d,inset 0 2px 4px #ffffff1a}.sagaLevelBubble:before{content:"";position:absolute;top:6px;left:8px;width:18px;height:10px;border-radius:50%;background:#ffffff61;transform:rotate(-20deg)}.sagaLevelNodeCurrent .sagaLevelBubble{width:68px;height:68px;border-width:4px;box-shadow:0 0 0 5px #fbbf243d,0 4px 18px #fbbf2473;animation:currentRing 1.4s ease-in-out infinite}.sagaLevelNodeBoss .sagaLevelBubble{width:72px;height:72px;box-shadow:0 4px 16px #f59e0b7a,0 2px 8px #0000004d}.sagaLevelNodeLocked .sagaLevelBubble{border-color:#ffffff26!important;color:#ffffff6b}.sagaLevelBubble small{position:absolute;bottom:6px;min-width:22px;padding:0 5px;border-radius:999px;color:#1a2e1a;background:#ffffffdb;font-size:.62rem;font-weight:1000;line-height:16px}.checkMark{color:#fffffff0;font-size:1.45rem;font-weight:1000}.bossStar{color:#1a2e1a;font-size:1.8rem;filter:drop-shadow(0 1px 0 rgba(255,255,255,.34))}.bounceArrow{width:24px;height:14px;display:block;clip-path:polygon(50% 100%,0 0,100% 0);background:#f5a623;filter:drop-shadow(0 2px 4px rgba(0,0,0,.35));animation:arrowBounce .85s ease-in-out infinite}.mechanicPill{padding:1px 7px;border-radius:999px;color:#fde68a;background:#0000006b;font-size:.62rem;font-weight:850;white-space:nowrap}.bottomNav{position:relative;z-index:50;display:flex;align-items:center;justify-content:space-around;padding:10px 8px calc(12px + env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,#0a1e0f00,#08140cf7 20%);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.bottomNavItem{position:relative;min-width:70px;display:flex;flex-direction:column;align-items:center;gap:3px;padding:4px 10px;border:0;color:#ffffff5c;background:transparent;font-weight:850;cursor:pointer;transition:transform .16s ease,color .16s ease}.bottomNavItemActive{color:#fbbf24}.bottomNavItemActive:before{content:"";position:absolute;top:-10px;left:50%;width:32px;height:3px;border-radius:0 0 4px 4px;background:#fbbf24;box-shadow:0 0 8px #fbbf24cc;transform:translate(-50%)}.bottomNavItem:active{transform:scale(.92)}.bottomNavItem span{font-size:.62rem}.tabPlaceholder{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:28px;text-align:center;background:radial-gradient(circle at 50% 30%,rgba(255,255,255,.08),transparent 30%),#0f2619}.tabPlaceholder div{width:72px;height:72px;display:grid;place-items:center;border-radius:20px;background:#ffffff14;font-size:2.1rem}.tabPlaceholder h2{color:#fff;font-size:1.45rem}.tabPlaceholder p{max-width:28ch;color:#ffffff75;font-size:.9rem;font-weight:750;line-height:1.4}.labTab{flex:1;min-height:0;display:flex;flex-direction:column;padding:20px 16px;background:radial-gradient(circle at 50% 30%,rgba(255,255,255,.06),transparent 30%),#0f2619;overflow-y:auto}.labHeader{text-align:center;margin-bottom:18px}.labHeader h2{color:#fff;font-size:1.35rem;margin:0 0 4px}.labHeader p{margin:0;color:#fff6;font-size:.82rem;font-weight:750}.labGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-bottom:8px}.labCard{display:flex;flex-direction:column;align-items:center;gap:4px;padding:14px 10px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:#ffffff0a;color:#fff;cursor:pointer;transition:background .16s ease,border-color .16s ease,transform .16s ease}.labCard:hover{background:#ffffff1a;border-color:#fbbf2459;transform:translateY(-1px)}.labCard:active{transform:scale(.97)}.labCardIcon{font-size:1.6rem}.labCardTitle{font-size:.78rem;font-weight:950}.labCardDesc{font-size:.66rem;color:#ffffff61;font-weight:700;text-align:center;line-height:1.3}.settingsTab{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;gap:16px;padding:28px;text-align:center;background:radial-gradient(circle at 50% 30%,rgba(255,255,255,.08),transparent 30%),#0f2619}.settingsSpacer{flex:1}.labToggle{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid rgba(255,255,255,.12);border-radius:10px;color:#ffffff73;font-size:.82rem;font-weight:750;cursor:pointer;transition:border-color .16s ease,color .16s ease;-webkit-user-select:none;user-select:none}.labToggle input[type=checkbox]{accent-color:#fbbf24}.labToggle:has(input:checked){border-color:#fbbf244d;color:#fbbf24cc}.settingsExitSmall{display:inline-flex;align-items:center;gap:6px;margin-top:auto;padding:8px 14px;border:1px solid rgba(255,255,255,.12);border-radius:10px;color:#fff6;background:transparent;font-size:.8rem;font-weight:750;cursor:pointer;transition:color .16s ease,border-color .16s ease}.settingsExitSmall:hover{color:#ff6b6bcc;border-color:#ff6b6b4d}.settingsExitSmall:active{transform:scale(.96)}.musicControl{width:min(100%,300px);display:grid;gap:10px;padding:12px;border:1px solid rgba(251,191,36,.28);border-radius:14px;color:#fff;background:#0000003d}.settingsPanel .musicControl{width:100%;border-color:#5c308024;color:#392452;background:#ffffff85}.musicControlHeader,.musicControlHeader span,.musicControlRow{display:flex;align-items:center}.musicControlHeader{justify-content:space-between;gap:10px;font-weight:950}.musicControlHeader span{gap:7px}.musicControlHeader strong{font-size:.78rem}.musicControlRow{gap:10px}.muteButton{width:38px;height:38px;flex:0 0 auto;display:grid;place-items:center;border:0;border-radius:12px;color:#392452;background:linear-gradient(180deg,#fff4b8,#fbbf24);cursor:pointer;box-shadow:inset 0 2px #ffffffbd,0 3px #b45309}.musicSlider{width:100%;min-width:0;accent-color:#fbbf24;cursor:pointer}.profilePage{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;color:#fff;background:radial-gradient(circle at 20% 4%,rgba(251,191,36,.12),transparent 32%),linear-gradient(180deg,#14331f,#0f2619)}.profileHero{display:grid;grid-template-columns:minmax(150px,1fr) minmax(0,1fr);align-items:end;gap:14px;padding:14px 18px 0;background:linear-gradient(180deg,rgba(0,0,0,.42) 0%,transparent 100%)}.profilePreview{position:relative;display:grid;place-items:center;min-height:176px;animation:characterPop .62s .1s cubic-bezier(.18,.9,.24,1.22) both}.profileGlow{position:absolute;bottom:10px;width:128px;height:24px;border-radius:50%;filter:blur(7px);animation:glowPop .58s .15s ease-out both}.profilePreview svg{position:relative;z-index:1;transform-origin:50% 88%;animation:characterIdle 4.2s .85s ease-in-out infinite}.profileIdentity{min-width:0;display:grid;align-content:end;gap:8px;padding-bottom:22px}.profileIdentity>*{animation:popIn .48s cubic-bezier(.18,.9,.24,1.2) both}.profileIdentity>*:nth-child(1){animation-delay:.21s}.profileIdentity>*:nth-child(2){animation-delay:.31s}.profileIdentity>*:nth-child(3){animation-delay:.41s}.profileNameButton,.profileNameInput{min-width:0;width:100%;color:#fff;font-size:1.22rem;font-weight:1000}.profileNameButton{display:inline-flex;align-items:center;gap:7px;border:0;padding:0;background:transparent;cursor:pointer}.profileNameButton span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profileNameButton svg{flex:0 0 auto;color:#ffffff7a}.profileNameInput{height:42px;border:2px solid #fbbf24;border-radius:10px;padding:4px 10px;outline:0;background:#ffffff1a}.profileRank{justify-self:start;padding:4px 10px;border:1px solid;border-radius:999px;background:#00000061;font-size:.64rem;font-weight:950;letter-spacing:0;text-transform:uppercase}.profileXp{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:7px;font-size:.7rem;font-weight:850}.profileXp span,.profileXp strong{color:#ffffff85}.profileXp div{height:7px;overflow:hidden;border-radius:999px;background:#ffffff1a}.profileXp i{display:block;height:100%;border-radius:inherit}.profileTabs{display:grid;grid-template-columns:1fr 1fr;margin:0 18px;border-bottom:2px solid rgba(255,255,255,.08)}.profileTab{border:0;border-bottom:2px solid transparent;padding:10px 0 11px;color:#fff6;background:transparent;font-size:.82rem;font-weight:950;letter-spacing:0;cursor:pointer;transform:translateY(2px);animation:tabPop .42s .5s ease-out both}.profileTabActive{border-bottom-color:#fbbf24;color:#fbbf24}.profileScroller{flex:1;min-height:0;overflow-y:auto;padding:18px 16px calc(18px + env(safe-area-inset-bottom));scrollbar-width:none}.profileScroller::-webkit-scrollbar{display:none}.profilePanelStack{display:grid;gap:14px}.profilePanelStack>*{animation:cardPop .46s cubic-bezier(.18,.9,.24,1.16) both}.profilePanelStack>*:nth-child(1){animation-delay:70ms}.profilePanelStack>*:nth-child(2){animation-delay:.13s}.profilePanelStack>*:nth-child(3){animation-delay:.19s}.profilePanelStack>*:nth-child(4){animation-delay:.25s}.profilePanelStack>*:nth-child(5){animation-delay:.31s}.profilePanelStack>*:nth-child(6){animation-delay:.37s}.profileCard,.rankCard,.statCard{border:1px solid rgba(255,255,255,.07);background:#00000047}.profileCard{display:grid;gap:12px;padding:14px;border-radius:16px}.profileCard h2,.profileSubLabel{margin:0;color:#ffffff6b;font-size:.64rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.profileSubLabel{margin-top:4px}.kitList{display:grid;gap:8px}.kitOption{min-height:48px;display:grid;grid-template-columns:auto minmax(0,1fr) 18px;align-items:center;gap:10px;border:2px solid rgba(255,255,255,.08);border-radius:12px;padding:8px 12px;color:#ffffffb8;background:#ffffff0a;text-align:left;cursor:pointer}.kitOptionSelected{border-color:#fbbf24;color:#fbbf24;background:#fbbf241f}.kitSwatches{display:flex;gap:3px}.kitSwatches i{width:20px;height:26px;border:1.5px solid rgba(255,255,255,.16);border-radius:4px 4px 6px 6px}.numberPicker,.chipGrid,.dotGrid,.accessoryGrid{display:flex;flex-wrap:wrap;gap:8px}.numberButton,.numberInput,.profileChip,.accessoryButton{border:2px solid rgba(255,255,255,.1);color:#ffffffa6;background:#ffffff0f;font-weight:900}.numberButton,.numberInput{width:40px;height:40px;border-radius:10px;text-align:center}.numberButton{cursor:pointer}.numberButtonSelected{border-color:#fbbf24;box-shadow:0 0 10px #fbbf2459}.numberInput{width:58px;outline:0}.colorDot{flex:0 0 auto;border:2px solid rgba(255,255,255,.18);border-radius:50%;box-shadow:0 2px 6px #0000004d;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.colorDotSelected{border:3px solid #fbbf24;box-shadow:0 0 12px #fbbf24b3;transform:scale(1.16)}.profileChip{min-height:34px;border-radius:999px;padding:6px 12px;cursor:pointer}.profileChipSelected{border-color:#f59e0b;color:#1a2e1a;background:#fbbf24}.accessoryButton{min-width:62px;min-height:64px;display:grid;justify-items:center;align-content:center;gap:4px;border-radius:12px;padding:8px;cursor:pointer}.accessoryButton span{font-size:1.15rem}.accessoryButton strong{font-size:.62rem}.accessoryButtonSelected{border-color:#fbbf24;color:#fbbf24;background:#fbbf2426}.rankCard{display:flex;align-items:center;gap:14px;padding:16px;border-radius:16px}.rankIcon{width:56px;height:56px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;color:#fff;box-shadow:0 4px 16px #fbbf2433}.rankCard span{color:#ffffff6b;font-size:.7rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.rankCard strong{display:block;margin-top:2px;color:#fff;font-size:1.35rem;font-weight:1000}.rankCard p,.statCard p,.achievement p{margin:0;color:#ffffff6b}.rankCard p{margin-top:2px;font-size:.76rem}.statsGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.statCard{display:grid;gap:3px;border-radius:14px;padding:14px}.statCard span{font-size:1.25rem}.statCard strong{color:#fff;font-size:1.5rem;font-weight:1000;line-height:1}.statCard p{font-size:.7rem;font-weight:750}.weekBars{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;align-items:end}.weekBars div{display:grid;justify-items:center;gap:5px}.weekBars span{width:100%;height:62px;display:flex;align-items:flex-end}.weekBars i{width:100%;min-height:4px;border-radius:4px 4px 2px 2px}.weekBars strong{color:#ffffff61;font-size:.62rem;font-weight:900}.achievementList{display:grid;gap:8px}.achievement{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 10px;border:1px solid rgba(255,255,255,.06);border-radius:12px;color:#ffffff47;background:#ffffff08}.achievementDone{border-color:#fbbf2440;color:#fbbf24;background:#fbbf2414}.achievement>span{font-size:1.25rem;opacity:.42;filter:grayscale(1)}.achievementDone>span{opacity:1;filter:none}.achievement strong{display:block;color:currentColor;font-size:.82rem;font-weight:950}.achievement p{overflow:hidden;font-size:.68rem;text-overflow:ellipsis;white-space:nowrap}.levelSheetOverlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:80;display:flex;align-items:flex-end;justify-content:center;background:#000000a6;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.levelSheet{width:100%;max-height:80%;overflow-y:auto;padding:18px 20px calc(26px + env(safe-area-inset-bottom));border:2px solid;border-bottom:0;border-radius:24px 24px 0 0;color:#fff;background:linear-gradient(180deg,#1a3a2a,#0f2619);box-shadow:0 -8px 40px #00000080;animation:sheetIn .26s ease-out both}.sheetHandle{width:40px;height:4px;margin:0 auto 20px;border-radius:999px;background:#fff3}.levelSheetHeader{display:grid;justify-items:center;gap:7px;margin-bottom:18px;text-align:center}.chapterChip,.mechanicTag{display:inline-flex;align-items:center;border:1px solid;border-radius:999px;font-size:.64rem;font-weight:900;letter-spacing:0;text-transform:uppercase}.chapterChip{padding:3px 12px}.mechanicTag{padding:3px 10px;border-color:#ffffff1f;color:#fde68a;background:#ffffff1a}.levelSheetHeader h2{margin:0;color:#fff;font-size:1.75rem;font-weight:1000}.levelSheetHeader p{color:#ffffffb3;font-weight:850}.bestScore{display:grid;justify-items:center;gap:8px;margin-bottom:18px}.bestScore>span,.sheetGoals>span{color:#ffffff75;font-size:.7rem;font-weight:900;letter-spacing:0;text-transform:uppercase}.bestScore .starRow svg{width:32px;height:32px}.sheetGoals{display:grid;gap:10px;margin-bottom:20px;padding:14px 16px;border-radius:16px;background:#0000004d}.sheetGoal{display:flex;align-items:center;gap:10px;color:#ffffff94;font-size:.84rem}.goalStar{color:#ffffff29;font-size:1.05rem}.goalStarEarned{color:#fbbf24;filter:drop-shadow(0 0 6px rgba(251,191,36,.75))}.lockedNotice{display:grid;justify-items:center;gap:8px;padding:14px;border:1px solid rgba(255,255,255,.1);border-radius:16px;color:#ffffff70;background:#ffffff0d;text-align:center;font-weight:850}.sheetPlayButton{width:100%;min-height:56px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:16px;color:#fff;box-shadow:0 4px 20px #22c55e61,0 2px #00000047;font-size:1rem;font-weight:1000;cursor:pointer;transition:transform .16s ease}.sheetPlayButton:active{transform:scale(.96)}.splashPlayer{position:absolute;display:grid;place-items:center;pointer-events:none;z-index:4;transform-origin:50% 92%}.splashPlayerLeft{left:2px;bottom:112px;width:204px;height:256px;animation:characterPop .62s .43s cubic-bezier(.18,.9,.24,1.22) both,splashPlayerSettle 5.2s 1.15s ease-in-out infinite}.splashPlayerRight{right:-8px;bottom:92px;width:166px;height:246px;animation:characterPop .62s .57s cubic-bezier(.18,.9,.24,1.22) both,splashPlayerSettle 5.6s 1.29s ease-in-out infinite}.splashPlayer img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 18px 18px rgba(0,0,0,.35))}.cheerBurst{position:absolute;display:inline-grid;place-items:center;min-width:62px;min-height:30px;border:1px solid rgba(255,255,255,.52);border-radius:8px;padding:5px 10px;color:#10233f;background:linear-gradient(180deg,#fffffff2,#ffda4aeb);box-shadow:0 12px 24px #0000003d;font-size:.72rem;font-weight:1000;letter-spacing:0;pointer-events:none;z-index:2;will-change:transform,opacity}.cheerBurstOne{right:20px;top:178px;--cheer-rotate: 9deg;animation:cheerEnter .52s .66s cubic-bezier(.18,.9,.24,1.24) both,cheerPop 5.8s 1.18s ease-in-out infinite}.cheerBurstTwo{left:18px;top:300px;color:#fff;background:linear-gradient(180deg,#12ba5df2,#0d67a6f0);--cheer-rotate: -8deg;animation:cheerEnter .52s .78s cubic-bezier(.18,.9,.24,1.24) both,cheerPop 6.2s 1.3s ease-in-out infinite}.cheerBurstThree{right:26px;top:352px;color:#fff;background:linear-gradient(180deg,#eb2a3ef5,#214bbef0);--cheer-rotate: 7deg;animation:cheerEnter .52s .9s cubic-bezier(.18,.9,.24,1.24) both,cheerPop 5.9s 1.42s ease-in-out infinite}.eyebrow{margin:0 0 12px;color:#ffe55f;font-size:.78rem;font-weight:950;letter-spacing:0;text-transform:uppercase;text-shadow:0 2px 0 rgba(108,42,130,.36)}h1,h2,p{margin:0}h1{max-width:10ch;font-size:3.35rem;line-height:.94;text-shadow:0 5px 0 rgba(86,38,157,.42)}h2{font-size:1.45rem;line-height:1.08}.bodyCopy{max-width:27ch;margin-top:16px;color:#ffffffe6;font-weight:750;line-height:1.45;text-shadow:0 2px 10px rgba(35,13,95,.26)}.primaryAction,.secondaryAction,.dangerAction,.textAction,.chapterButton,.levelNode,.iconButton{border:0;cursor:pointer}.primaryAction,.secondaryAction,.dangerAction{min-height:56px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:16px;font-weight:950;transition:transform .16s ease,filter .16s ease}.primaryAction{color:#642411;background:linear-gradient(180deg,#fff070,#ffbd2e 54%,#f27628);box-shadow:inset 0 4px #ffffff9e,0 9px #b84d1a,0 18px 28px #5a227840}.primaryAction.launchPlayButton{border:1px solid rgba(255,255,255,.48);color:#fff;background:linear-gradient(180deg,#ffffff42,#ffffff29 48%,#42d6ee33);box-shadow:inset 0 1px #ffffff94,0 1px #ffffff2e,0 14px 30px #0000003d;-webkit-backdrop-filter:blur(12px) saturate(1.2);backdrop-filter:blur(12px) saturate(1.2);text-shadow:0 2px 8px rgba(0,0,0,.58)}.secondaryAction{color:#392452;background:linear-gradient(180deg,#fff,#ffeef9);box-shadow:inset 0 3px #ffffffe6,0 7px #d5a9d9,0 14px 24px #3b1f762e}.dangerAction{color:#fff;background:linear-gradient(180deg,#ff6b6b,#ef4444 58%,#b91c1c);box-shadow:inset 0 3px #ffffff5c,0 7px #7f1d1d,0 14px 24px #7f1d1d40}.settingsExitButton{width:min(100%,300px)}.primaryAction:hover,.secondaryAction:hover,.dangerAction:hover,.iconButton:hover,.chapterButton:hover,.levelNode:not(:disabled):hover{transform:translateY(-2px);filter:saturate(1.08)}.primaryAction:active,.secondaryAction:active,.dangerAction:active,.iconButton:active,.chapterButton:active,.levelNode:not(:disabled):active{transform:translateY(3px) scale(.98)}.textAction{color:#5b2d8c;background:transparent;font-weight:950}.appHeader{display:grid;grid-template-columns:48px 1fr 48px;align-items:center;gap:10px}.appHeader div{min-width:0;text-align:center}.appHeader h2{overflow:hidden;color:#fff;font-size:1.35rem;font-weight:950;text-overflow:ellipsis;text-shadow:0 3px 0 rgba(91,40,148,.45);white-space:nowrap}.appHeader p{display:inline-flex;margin-top:6px;padding:4px 12px;border-radius:999px;color:#5a2b20;background:#ffed6fe6;font-size:.78rem;font-weight:950;box-shadow:inset 0 2px #ffffffa6}.iconButton{width:48px;height:48px;display:grid;place-items:center;border-radius:16px;color:#59317f;background:linear-gradient(180deg,#fff,#ffe7f8);box-shadow:inset 0 3px #ffffffe6,0 6px #c899d0,0 12px 24px #471b7a33;transition:transform .16s ease,filter .16s ease}.headerSpacer{width:48px}.mapLobbyScreen,.levelMapScreen{background:radial-gradient(circle at 12% 14%,rgba(255,255,255,.62),transparent 15%),radial-gradient(circle at 88% 16%,rgba(255,105,170,.38),transparent 18%),linear-gradient(180deg,#44c9ff,#82e86a 48%,#ffd75c)}.progressCrown{min-height:104px;display:flex;align-items:center;gap:16px;padding:18px;border-radius:22px;color:#6d3212;background:linear-gradient(180deg,#fff8aa,#ffc33c);box-shadow:inset 0 5px #ffffff9e,0 8px #da7a1f,0 18px 34px #56269d38;animation:riseIn .46s ease-out both}.progressCrown strong{display:block;font-size:2.2rem;font-weight:1000;line-height:.9}.progressCrown span{display:block;margin-top:4px;font-weight:950}.chapterList{display:grid;gap:14px;overflow:auto;padding:4px 0 12px}.chapterButton{min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;border-radius:22px;color:#fff;text-align:left;background:radial-gradient(circle at 88% 18%,rgba(255,255,255,.42),transparent 18%),linear-gradient(135deg,#ff5c9b,#8d4fe8 52%,#24c0ed);box-shadow:inset 0 4px #ffffff57,0 8px #5b2caa,0 18px 30px #4b238238;transition:transform .16s ease,filter .16s ease}.chapterButton strong{display:block;font-size:1.05rem;font-weight:1000}.chapterButton small{display:block;margin-top:7px;color:#ffffffdb;font-weight:850;line-height:1.25}.levelMap{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;gap:28px;overflow-y:auto;padding:28px 18px 54px;scrollbar-width:none}.levelMap::-webkit-scrollbar{display:none}.levelMap:before{content:"";position:absolute;top:58px;bottom:72px;left:50%;width:18px;border-radius:999px;background:linear-gradient(180deg,#fffc,#ffffff57),repeating-linear-gradient(180deg,#f7a23b 0,#f7a23b 26px,#ffcf56 26px,#ffcf56 52px);box-shadow:inset 0 0 0 4px #ffffff47,0 8px 18px #693a1b38;transform:translate(-50%)}.levelNode{position:relative;width:min(82%,304px);min-height:116px;display:flex;align-items:center;gap:14px;padding:14px;border-radius:24px;color:#3b2452;text-align:left;background:linear-gradient(180deg,#fff,#ffeaf7);box-shadow:inset 0 4px #ffffffe6,0 8px #c895d4,0 20px 30px #4b238238;transition:transform .17s ease,filter .17s ease,opacity .17s ease;animation:nodePop .38s ease-out both;animation-delay:calc(var(--node-index) * 60ms)}.levelNodeLeft{align-self:flex-start}.levelNodeRight{align-self:flex-end}.levelNode-current{background:linear-gradient(180deg,#fff68d,#ffbe31 62%,#ff8b39);color:#642411;animation:nodePop .38s ease-out both,currentPulse 1.45s ease-in-out .52s infinite}.levelNode-complete{background:linear-gradient(180deg,#eaffff,#70ddff);color:#244058;box-shadow:inset 0 4px #ffffffe6,0 8px #349fc0,0 20px 30px #4b238233}.levelNode-locked{cursor:not-allowed;opacity:.72;color:#70647c;background:linear-gradient(180deg,#f7f2ff,#d8cce4);box-shadow:inset 0 4px #ffffffb3,0 8px #9b85aa,0 18px 26px #4b238229}.levelBadge{flex:0 0 auto;width:62px;height:62px;display:grid;place-items:center;border:5px solid rgba(255,255,255,.86);border-radius:50%;color:#fff;background:radial-gradient(circle at 32% 26%,rgba(255,255,255,.68),transparent 20%),linear-gradient(160deg,#ff4f8b,#8d4fe8);box-shadow:inset -8px -10px #471b7a33,0 8px 16px #4d238a38;font-size:1.35rem;font-weight:1000}.levelNode-complete .levelBadge{background:radial-gradient(circle at 32% 26%,rgba(255,255,255,.68),transparent 20%),linear-gradient(160deg,#25c969,#1594d6)}.levelNode-current .levelBadge{background:radial-gradient(circle at 32% 26%,rgba(255,255,255,.7),transparent 20%),linear-gradient(160deg,#ff7f33,#ff3f7d)}.levelNode-locked .levelBadge{background:linear-gradient(160deg,#8d7f9c,#5f5372)}.levelInfo{min-width:0;display:block}.levelInfo strong{display:block;overflow-wrap:anywhere;font-size:1rem;font-weight:1000;line-height:1.12}.levelInfo small{display:block;margin-top:5px;color:#3c2852bd;font-size:.78rem;font-weight:850;line-height:1.25}.starRow{display:inline-flex;align-items:center;gap:2px;margin-top:7px;color:#ffb300;filter:drop-shadow(0 2px 0 rgba(122,74,18,.2))}.starPopIn{opacity:0;transform:scale(0) rotate(-30deg);animation:starPop .42s cubic-bezier(.34,1.56,.64,1) forwards}@keyframes starPop{0%{opacity:0;transform:scale(0) rotate(-30deg)}60%{opacity:1;transform:scale(1.35) rotate(5deg)}to{opacity:1;transform:scale(1) rotate(0)}}@keyframes rowSlideIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.gameplayScreen{position:relative;display:grid;place-items:center;background:#07120f}.pixiHost{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;touch-action:none}.pixiCanvas{max-width:100%;max-height:100%;display:block}.hudTop{position:absolute;top:calc(14px + env(safe-area-inset-top));left:12px;right:12px;display:grid;grid-template-columns:42px 42px;justify-content:space-between;align-items:center;gap:10px;pointer-events:none}.hudTop>*{pointer-events:auto}.hudTop .iconButton{width:42px;height:42px;border-radius:14px;border:1px solid rgba(255,255,255,.48);color:#fff;background:linear-gradient(180deg,#ffffff42,#ffffff29 48%,#42d6ee33);box-shadow:inset 0 1px #ffffff94,0 1px #ffffff2e,0 14px 30px #0000003d;-webkit-backdrop-filter:blur(12px) saturate(1.2);backdrop-filter:blur(12px) saturate(1.2);text-shadow:0 2px 8px rgba(0,0,0,.58)}.completeScreen{justify-content:space-between;color:#392452}.completeTopActions{display:flex;justify-content:space-between}.completeTopActions .iconButton{width:38px;height:38px;border-radius:12px;border:1px solid rgba(255,255,255,.48);color:#fff;background:linear-gradient(180deg,#ffffff42,#ffffff29 48%,#42d6ee33);box-shadow:inset 0 1px #ffffff94,0 1px #ffffff2e,0 14px 30px #0000002e;-webkit-backdrop-filter:blur(12px) saturate(1.2);backdrop-filter:blur(12px) saturate(1.2);text-shadow:0 2px 8px rgba(0,0,0,.58)}.completeHero{display:grid;justify-items:center;gap:12px;margin-top:-12px;padding:30px 18px;border-radius:26px;text-align:center;background:linear-gradient(180deg,#fff,#ffe7f8);box-shadow:inset 0 5px #ffffffe6,0 8px #c895d4,0 20px 34px #4b238233;animation:riseIn .46s ease-out both}.completeHero h2{font-size:1.9rem;font-weight:1000}.completeScreen .starRow svg{width:36px;height:36px}.objectiveList{display:grid;gap:10px}.objectiveRow{display:flex;justify-content:space-between;gap:12px;padding:14px 16px;border-radius:16px;color:#392452;background:#ffffffb8;box-shadow:inset 0 2px #ffffffc2;font-weight:950}.objectiveRow span:last-child{color:#0c9f66}.actionRow{display:grid;grid-template-columns:minmax(0,220px);justify-content:center;gap:12px}.overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:end center;padding:18px;background:#2d16559e;z-index:5;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.settingsPanel{width:100%;display:grid;gap:14px;padding:18px;border-radius:24px;color:#392452;background:linear-gradient(180deg,#fff,#ffe8f7);box-shadow:inset 0 4px #ffffffe6,0 8px #c895d4,0 24px 70px #29106f52;animation:sheetIn .26s ease-out both}.panelHeader{display:flex;align-items:center;justify-content:space-between;gap:16px}@keyframes bob{0%,to{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-14px) rotate(5deg)}}@keyframes popIn{0%{opacity:0;transform:translateY(18px) scale(.72)}64%{opacity:1;transform:translateY(-4px) scale(1.07)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes cardPop{0%{opacity:0;transform:translateY(16px) scale(.94)}70%{opacity:1;transform:translateY(-2px) scale(1.015)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes tabPop{0%{opacity:0;transform:translateY(12px) scale(.92)}to{opacity:1;transform:translateY(2px) scale(1)}}@keyframes characterPop{0%{opacity:0;transform:translateY(28px) scale(.58) rotate(-8deg)}62%{opacity:1;transform:translateY(-8px) scale(1.08) rotate(3deg)}to{opacity:1;transform:translateY(0) scale(1) rotate(0)}}@keyframes characterIdle{0%,to{transform:translateY(0) scale(1) rotate(-.3deg)}15%{transform:translateY(-2.5px) scale(1.01,.99) rotate(.3deg)}30%{transform:translateY(-1px) scale(.985,1.015) rotate(.5deg)}50%{transform:translateY(-2px) scale(1.01,.99) rotate(-.2deg)}65%{transform:translateY(-.5px) scale(.99,1.01) rotate(.4deg)}80%{transform:translateY(-1.8px) scale(1) rotate(0)}}@keyframes glowPop{0%{opacity:0;transform:scaleX(.3)}to{opacity:1;transform:scaleX(1)}}@keyframes splashPlayerSettle{0%,to{transform:translateY(0) rotate(-.4deg)}50%{transform:translateY(-2px) rotate(.5deg)}}@keyframes cheerEnter{0%{opacity:0;transform:translateY(16px) rotate(var(--cheer-rotate, 0deg)) scale(.42)}68%{opacity:1;transform:translateY(-5px) rotate(var(--cheer-rotate, 0deg)) scale(1.14)}to{opacity:1;transform:translateY(0) rotate(var(--cheer-rotate, 0deg)) scale(1)}}@keyframes cheerPop{0%,to{opacity:.9;transform:translateY(0) rotate(var(--cheer-rotate, 0deg)) scale(1)}45%{opacity:1;transform:translateY(-2px) rotate(var(--cheer-rotate, 0deg)) scale(1.02)}}@keyframes cloudFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}@keyframes currentRing{0%,to{box-shadow:0 0 0 5px #fbbf243d,0 4px 18px #fbbf2473}50%{box-shadow:0 0 0 9px #fbbf241f,0 4px 24px #fbbf249e}}@keyframes arrowBounce{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes riseIn{0%{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes nodePop{0%{opacity:0;transform:translateY(24px) scale(.86)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes currentPulse{0%,to{filter:saturate(1)}50%{filter:saturate(1.16) brightness(1.04)}}@keyframes sheetIn{0%{transform:translateY(24px)}to{transform:translateY(0)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:1ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:1ms!important}}@media(max-width:460px){.appShell{padding:0}.phoneFrame{width:100%;height:100svh;min-height:100svh;border:0;border-radius:0}h1{font-size:2.78rem}.levelNode{width:min(86%,310px)}}
