@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/jelly/assets/nunito-cyrillic-ext-wght-normal-D4X5GqEv.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/jelly/assets/nunito-cyrillic-wght-normal-CY6AOgYE.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/jelly/assets/nunito-vietnamese-wght-normal-U01xdrZh.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/jelly/assets/nunito-latin-ext-wght-normal-CXYtwYOx.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/jelly/assets/nunito-latin-wght-normal-BzFMHfZw.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--ink:#3b1d5a;--ink-soft:#6c5a86;--pink:#ff5d9e;--pink-deep:#e2367d;--purple:#7b5cff;--purple-deep:#5a3ee0;--mint:#3fe0b5;--mint-deep:#1fb38a;--sun:#ffd23f;--sun-deep:#e8a900;--glass:#ffffffd1;--glass-strong:#fffffff0;--radius:26px;--shadow:0 18px 50px #5b348c38;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--ink);-webkit-font-smoothing:antialiased;background:#ffe6f2;font-family:Nunito Variable,Nunito,system-ui,-apple-system,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;min-height:100%;margin:0}body{overflow-x:hidden}button,input{font:inherit;color:inherit;min-width:0}button{cursor:pointer}button:disabled{cursor:not-allowed}:focus-visible{outline:3px solid var(--purple);outline-offset:3px}.topbar{z-index:2;justify-content:space-between;align-items:center;gap:16px;padding:18px clamp(16px,3vw,40px);display:flex;position:relative}.topbar-tools{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;min-width:0;display:flex}.topbar-tools .button{white-space:nowrap}.logo{-webkit-user-select:none;user-select:none;align-items:center;gap:12px;display:inline-flex}.logo-blob{background:radial-gradient(circle at 34% 30%,#ffd1e6 0 14%,#ff7ab4 45%,#e93c86 100%);border:3px solid #3b1d3a;border-radius:48% 52% 46% 54%/56% 56% 44% 44%;justify-content:center;align-items:center;gap:8px;width:54px;height:50px;animation:2.6s ease-in-out infinite wobble;display:flex;position:relative;box-shadow:inset -5px -6px #00000014}.logo-eye{background:#241431;border-radius:50%;width:9px;height:12px;margin-top:-4px;box-shadow:inset 2px -3px 0 -1px #fff}.logo-text{letter-spacing:-.5px;gap:8px;font-size:34px;font-weight:1000;line-height:1;display:flex}.logo-text span:first-child{color:var(--pink);-webkit-text-stroke:1.5px #fff;text-shadow:0 4px 0 var(--pink-deep), 0 8px 18px #e93c8659}.logo-text span:last-child{color:var(--purple);-webkit-text-stroke:1.5px #fff;text-shadow:0 4px 0 var(--purple-deep), 0 8px 18px #5a3ee059}.logo.small .logo-blob{width:40px;height:37px}.logo.small .logo-text{font-size:26px}@keyframes wobble{0%,to{transform:scale(1)rotate(-2deg)}30%{transform:scale(1.08,.92)rotate(2deg)}60%{transform:scale(.95,1.06)rotate(-1deg)}}.panel{background:var(--glass);-webkit-backdrop-filter:blur(14px)saturate(1.3);border-radius:var(--radius);box-shadow:var(--shadow);border:2px solid #ffffffe6;padding:clamp(18px,2.4vw,30px)}.panel h2{margin:0 0 14px;font-size:22px;font-weight:900}.button{--face:var(--pink);--edge:var(--pink-deep);--text:#fff;background:var(--face);min-height:50px;color:var(--text);box-shadow:0 6px 0 var(--edge), 0 12px 22px #3b1d5a2e;text-shadow:0 2px #0000001f;border:0;border-radius:18px;justify-content:center;align-items:center;gap:8px;padding:0 24px;font-size:18px;font-weight:900;transition:transform .12s,box-shadow .12s,filter .12s;display:inline-flex;position:relative;transform:translateY(0)}.button:hover:not(:disabled){filter:brightness(1.05);box-shadow:0 8px 0 var(--edge), 0 16px 26px #3b1d5a38;transform:translateY(-2px)scale(1.02)}.button:active:not(:disabled){box-shadow:0 1px 0 var(--edge), 0 4px 10px #3b1d5a2e;transform:translateY(5px)scale(.99)}.button:disabled{filter:grayscale(.6)opacity(.6)}.button.primary{--face:linear-gradient(180deg, #ff7cb2, var(--pink));--edge:var(--pink-deep)}.button.secondary{--face:linear-gradient(180deg, #9a83ff, var(--purple));--edge:var(--purple-deep)}.button.sunny{--face:linear-gradient(180deg, #ffe37a, var(--sun));--edge:var(--sun-deep);--text:var(--ink);text-shadow:none}.button.ghost{--face:#ffffffeb;--edge:#d9c9ec;--text:var(--ink);text-shadow:none}.button.big{width:100%;min-height:62px;font-size:21px}.button.small{min-height:40px;box-shadow:0 4px 0 var(--edge);border-radius:14px;padding:0 16px;font-size:15px}.icon-button{background:var(--glass-strong);width:44px;height:44px;color:var(--ink);border:0;border-radius:14px;justify-content:center;align-items:center;font-size:26px;font-weight:900;line-height:1;transition:transform .12s;display:inline-flex;box-shadow:0 4px #d9c9ec,0 8px 16px #3b1d5a24}.icon-button:hover{transform:translateY(-1px)scale(1.05)}.icon-button[aria-pressed=false]{color:#a493bd}.segmented{background:var(--glass-strong);border-radius:15px;padding:4px;display:inline-flex;box-shadow:0 4px #d9c9ec}.segmented button{color:var(--ink-soft);background:0 0;border:0;border-radius:11px;padding:7px 12px;font-size:14px;font-weight:900}.segmented button.active{background:var(--purple);color:#fff}.field{gap:6px;font-size:15px;font-weight:800;display:grid}.field input{height:52px;color:var(--ink);background:#fff;border:2.5px solid #ead9f7;border-radius:16px;padding:0 16px;font-size:18px;font-weight:800;transition:border-color .15s,box-shadow .15s}.field input:focus{border-color:var(--purple);outline:none;box-shadow:0 0 0 4px #7b5cff2e}.field input::placeholder{color:#bfaed6}.hint{color:var(--ink-soft);margin:0;font-size:14px;font-weight:700}.error{color:#b4234f;background:#ffe1ea;border-radius:14px;margin:0;padding:10px 14px;font-weight:800}.notice{z-index:50;box-shadow:var(--shadow);background:#fff;border-radius:18px;align-items:center;gap:12px;padding:12px 16px 12px 20px;font-weight:800;display:flex;position:fixed;top:16px;left:50%;transform:translate(-50%)}.notice button{background:#f3e8ff;border:0;border-radius:10px;width:30px;height:30px;font-weight:900}.stack{gap:14px;display:grid}.portrait{background:radial-gradient(circle at 50% 35%, #fff 0 30%, color-mix(in srgb, var(--tint) 30%, #fff) 70%);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex;overflow:hidden;box-shadow:inset 0 0 0 3px #ffffffe6,0 3px 8px #3b1d5a29}.portrait img{object-fit:cover;width:118%;height:118%;margin-top:6%}.portrait-fallback{background:var(--tint);border-radius:50%;width:64%;height:64%}.loading-screen{background:linear-gradient(#bfe6ff,#ffe1f0);justify-content:center;align-items:center;min-height:100%;font-size:26px;font-weight:900;animation:1.2s ease-in-out infinite pulse;display:flex}@keyframes pulse{50%{opacity:.6}}.restoring-session{text-align:center;background:linear-gradient(#bfe6ff,#ffe1f0);place-content:center;justify-items:center;gap:12px;min-height:100%;padding:24px;display:grid}.restoring-session h2{margin:6px 0 0;font-size:26px}.restoring-session p{max-width:420px;color:var(--ink-soft);margin:0 0 6px;font-weight:700}.restoring-spinner{border:6px solid #7b5cff33;border-top-color:var(--pink);border-radius:50%;width:54px;height:54px;animation:.9s linear infinite restoring-spin}@keyframes restoring-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.restoring-spinner{animation-duration:3s}}.restored-note{color:var(--ink);text-align:center;background:#ffd23f3d;border-radius:16px;margin:0;padding:10px 14px;font-weight:800}.overlay{z-index:30;-webkit-backdrop-filter:blur(6px);background:#3b1d5a59;justify-content:center;align-items:center;padding:18px;animation:.25s fade-in;display:flex;position:fixed;inset:0}@keyframes fade-in{0%{opacity:0}}@keyframes pop-in{0%{opacity:0;transform:scale(.6)}60%{opacity:1;transform:scale(1.06)}to{transform:scale(1)}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.graphics-button{position:relative}.graphics-badge{background:var(--ink);color:#fff;text-align:center;border-radius:8px;min-width:15px;height:15px;padding:0 3px;font-size:10px;font-weight:900;line-height:15px;position:absolute;bottom:3px;right:3px}.home,.room{background:linear-gradient(90deg,#fff0f8eb 0%,#fff0f88c 38%,#fff0f80d 70%),url(/jelly/images/menu-sky.webp) 50%/cover no-repeat fixed,#ffe6f2;min-height:100%}.connection{background:var(--glass-strong);white-space:nowrap;border-radius:999px;align-items:center;gap:8px;padding:8px 14px;font-size:13px;font-weight:900;display:inline-flex;box-shadow:0 4px #d9c9ec}.connection i{background:#f5b83d;border-radius:50%;width:10px;height:10px;animation:1.2s ease-in-out infinite pulse}.connection.online i{background:var(--mint-deep);animation:none}.connection.offline i{background:#ff5d7a;animation:none}.home-layout{grid-template-columns:minmax(320px,430px) minmax(360px,560px);align-items:start;gap:clamp(18px,3vw,40px);padding:4px clamp(16px,3vw,40px) 40px;display:grid}.home-panel{grid-template-columns:minmax(0,1fr);gap:14px;animation:.45s both pop-in;display:grid}.tagline{margin:0 0 4px;font-size:20px;font-weight:900;line-height:1.3}.invite-banner{background:linear-gradient(90deg,#fff1b8,#ffd8ec);border-radius:16px;padding:12px 16px;font-weight:900}.join-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.join-row input{letter-spacing:3px;text-transform:uppercase}.divider{background:repeating-linear-gradient(90deg,#ead9f7 0 10px,#0000 10px 18px);height:2px;margin:6px 0}.controls{background:#ffffffb3;border-radius:16px;padding:10px 14px;font-size:14px;font-weight:700}.controls summary{cursor:pointer;font-weight:900}.controls dl{grid-template-columns:auto 1fr;gap:6px 14px;margin:12px 0 8px;display:grid}.controls dt{color:var(--purple-deep);font-weight:900}.controls dd{margin:0}.controls p{color:var(--ink-soft);margin:0}.picker-panel{animation:.5s 80ms both pop-in}.preview{background:radial-gradient(at 50% 95%,#ff8fc259,#0000 60%),linear-gradient(#d8f0ff,#ffeef7);border-radius:22px;height:clamp(240px,32vh,330px);margin:-6px -6px 14px;position:relative;overflow:hidden}.preview-canvas{cursor:pointer;touch-action:manipulation;width:100%;height:100%;display:block}.preview-caption{pointer-events:none;gap:2px;display:grid;position:absolute;top:14px;left:16px}.preview-caption strong{font-size:24px;font-weight:1000}.preview-caption span{color:var(--pink-deep);transform-origin:0;font-size:13px;font-weight:800;animation:2s ease-in-out infinite wobble}.character-grid{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:10px;display:grid}.character-grid.compact{grid-template-columns:repeat(auto-fill,minmax(62px,1fr));gap:8px}.character-option{text-align:center;background:#ffffffbf;border:2.5px solid #0000;border-radius:18px;justify-items:center;gap:4px;padding:8px 4px 9px;font-size:12.5px;font-weight:800;line-height:1.15;transition:transform .15s,border-color .15s,background .15s;display:grid}.character-option span:last-child{overflow-wrap:anywhere;align-items:center;max-width:100%;min-height:2.3em;display:flex}.character-option:hover{background:#fff;transform:translateY(-3px)rotate(-1.5deg)}.character-option.selected{border-color:var(--pink);background:#fff;animation:.4s selected-bounce;box-shadow:0 6px #ffc0dc,0 10px 20px #e93c862e}@keyframes selected-bounce{40%{transform:scale(1.1,.9)}70%{transform:scale(.96,1.05)}}.check-row{color:var(--ink-soft);cursor:pointer;align-items:center;gap:10px;margin-top:-4px;font-size:14px;font-weight:800;display:flex}.check-row input{width:20px;height:20px;accent-color:var(--purple);flex-shrink:0}.room-browser{grid-column:1/-1;animation:.45s .1s both pop-in}.room-browser-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.room-browser-head h2{align-items:center;gap:10px;margin:0;display:flex}.count-bubble{background:var(--purple);color:#fff;text-align:center;min-width:32px;box-shadow:0 3px 0 var(--purple-deep);border-radius:999px;padding:3px 10px;font-size:15px}.room-browser-online{color:var(--ink-soft);font-size:14px;font-weight:800}.room-list{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px;max-height:440px;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.room-entry{background:#ffffffeb;border:2px solid #f1e3fb;border-radius:20px;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;animation:.3s both pop-in;display:grid}.room-entry[data-phase=race]{border-color:#ffd0e5}.level-thumb{border-radius:14px;justify-content:center;align-items:center;width:76px;height:52px;display:flex;overflow:hidden;box-shadow:inset 0 0 0 2px #ffffffb3}.room-entry-body{gap:3px;min-width:0;display:grid}.room-entry-host{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.room-entry-body>strong{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:16px;font-weight:900;line-height:1.2;display:-webkit-box;overflow:hidden}.room-entry-host{color:var(--ink-soft);font-size:13px;font-weight:800}.room-entry-meta{color:var(--ink-soft);flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:12px;font-weight:800;display:flex}.room-phase{color:#11795c;background:#d8fbef;border-radius:999px;padding:2px 9px}.room-phase.race{color:var(--pink-deep);background:#ffe0ee}.room-phase.results{color:#8a5a00;background:#fff3c4}.room-empty{color:var(--ink-soft);text-align:center;background:#ffffffb3;border:2px dashed #e7d5f6;border-radius:20px;margin:0;padding:18px;font-weight:800}@media (prefers-reduced-motion:reduce){.room-browser,.room-entry{animation:none}}@media (width<=860px){.home,.room{background:linear-gradient(#fff0f899,#fff0f8eb),url(/jelly/images/menu-sky-small.webp) 50%/cover no-repeat,#ffe6f2}.home-layout{grid-template-columns:minmax(0,1fr)}.picker-panel{order:-1}.logo-text{font-size:28px}}@media (width<=520px){.connection{gap:0;padding:8px 10px;font-size:0}}@media (width<=420px){.topbar{flex-wrap:wrap}.character-option{font-size:11.5px}.character-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.room-layout{grid-template-columns:minmax(340px,620px) minmax(320px,440px);align-items:start;gap:clamp(18px,3vw,36px);padding:4px clamp(16px,3vw,40px) 40px;display:grid}.room-main,.room-side{animation:.45s both pop-in}.room-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.eyebrow{letter-spacing:1px;text-transform:uppercase;color:var(--pink-deep);font-size:13px;font-weight:900}.room-heading h1{letter-spacing:1px;margin:2px 0 0;font-size:clamp(28px,3.4vw,40px);font-weight:1000}.invite-link{color:var(--ink-soft);white-space:nowrap;text-overflow:ellipsis;background:#ffffffd9;border:2px dashed #e2cdf5;border-radius:14px;margin:12px 0 22px;padding:10px 14px;font-size:14px;font-weight:800;overflow:hidden}.room-main h2 small{color:var(--ink-soft);font-size:15px}.player-list{grid-template-columns:repeat(auto-fill,minmax(min(250px,100%),1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.player-list li{background:#ffffffe6;border-radius:18px;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;min-width:0;padding:10px 12px;animation:.35s both pop-in;display:grid;box-shadow:0 4px #efe2fa}.player-list li>div:nth-child(2){min-width:0;display:grid}.player-list strong{white-space:nowrap;text-overflow:ellipsis;font-size:17px;font-weight:900;overflow:hidden}.player-list span{color:var(--ink-soft);font-size:13px;font-weight:700}.player-list li.me{outline:3px solid var(--pink)}.player-list li.offline{opacity:.6}.player-list .bot-slot{box-shadow:none;background:#ffffff80;border:2px dashed #e2cdf5}.bot-avatar{width:52px;height:52px;color:var(--purple);background:#f3e8ff;border-radius:50%;justify-content:center;align-items:center;font-size:20px;font-weight:1000;display:inline-flex}.player-list .bot-slot{grid-column:1/-1;grid-template-columns:auto 1fr}.player-list .bot-slot strong{white-space:normal}.badges{flex-direction:column;align-items:flex-end;gap:4px;display:flex}.badge{white-space:nowrap;border-radius:999px;padding:3px 9px;font-size:11.5px;font-weight:900}.badge.host{color:#8a5a00;background:#fff1b8}.badge.you{color:var(--pink-deep);background:#ffd8ec}.badge.away{color:#777;background:#eee}.last-results{margin-top:18px;font-weight:800}.last-results summary{cursor:pointer}.last-results ol{gap:6px;margin:10px 0 0;padding-left:24px;display:grid}.last-results li{display:list-item}.last-results .portrait{vertical-align:middle;margin-right:6px}.settings{gap:12px;margin-bottom:22px;display:grid}.setting{justify-content:space-between;align-items:center;gap:12px;font-weight:800;display:flex}.setting>strong{color:var(--purple-deep)}.stepper{align-items:center;gap:10px;display:inline-flex}.visibility-toggle{background:#f3e8ff;border-radius:14px;padding:3px;display:inline-flex}.visibility-toggle button{min-height:34px;color:var(--ink-soft);background:0 0;border:0;border-radius:11px;padding:0 12px;font-weight:900}.visibility-toggle button[aria-pressed=true]{background:var(--purple);color:#fff;box-shadow:0 3px 0 var(--purple-deep)}.visibility-badge{color:#11795c;letter-spacing:.5px;vertical-align:middle;background:#d8fbef;border-radius:999px;margin-left:8px;padding:2px 9px;font-size:11px;display:inline-block}.visibility-badge.private{color:var(--pink-deep);background:#ffe0ee}.stepper button{background:#f3e8ff;border:0;border-radius:12px;width:38px;height:38px;font-size:22px;font-weight:1000;box-shadow:0 3px #dcc6f5}.stepper button:disabled{opacity:.4}.stepper strong{text-align:center;min-width:28px;font-size:22px}.waiting{background:linear-gradient(90deg,#e9fff8,#f3e8ff);border-radius:18px;align-items:center;gap:12px;margin-bottom:20px;padding:16px;font-weight:900;display:flex}.waiting-dots{gap:5px;display:inline-flex}.waiting-dots i{background:var(--mint-deep);border-radius:50%;width:10px;height:10px;animation:1s ease-in-out infinite hop}.waiting-dots i:nth-child(2){background:var(--pink);animation-delay:.15s}.waiting-dots i:nth-child(3){background:var(--purple);animation-delay:.3s}@keyframes hop{50%{transform:translateY(-7px)scale(1.1,.9)}}.room-side .preview{height:220px}@media (width<=920px){.room-layout{grid-template-columns:minmax(0,1fr)}}.room-track{margin-top:22px}.room-track-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.room-track-head h2{margin:0}.level-card{text-align:left;width:100%;font:inherit;color:inherit;background:#fff;border:0;border-radius:20px;grid-template-rows:auto 1fr;padding:0;transition:transform .15s,box-shadow .15s;display:grid;overflow:hidden;box-shadow:0 5px #eadcf8}button.level-card{cursor:pointer}button.level-card:hover{transform:translateY(-2px)}button.level-card:focus-visible{outline:3px solid var(--purple);outline-offset:2px}.level-card.selected{box-shadow:0 0 0 3px var(--pink), 0 6px 0 #f3b6d4}.level-art{aspect-ratio:100/56;justify-content:center;align-items:center;display:flex;position:relative}.level-card.large .level-art{aspect-ratio:auto;height:clamp(120px,24vw,190px)}.track-map{width:88%;height:88%}.level-theme{text-overflow:ellipsis;max-width:calc(100% - 16px);color:var(--ink-soft);white-space:nowrap;background:#ffffffd9;border-radius:999px;padding:2px 9px;font-size:11px;font-weight:900;position:absolute;top:8px;left:8px;overflow:hidden}.level-info{gap:6px;min-width:0;padding:10px 12px 12px;display:grid}.level-name{overflow-wrap:anywhere;font-size:16px;font-weight:1000;line-height:1.15}.level-card.large .level-name{font-size:20px}.level-meta{color:var(--ink-soft);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;font-size:12.5px;font-weight:800;display:flex}.difficulty{align-items:center;gap:3px;display:inline-flex}.difficulty i{background:#eadcf8;border-radius:50%;width:9px;height:9px}.difficulty.d1 i.on{background:var(--mint-deep)}.difficulty.d2 i.on{background:#ffb02e}.difficulty.d3 i.on{background:var(--pink-deep)}.difficulty span{margin-left:4px}.level-chips{flex-wrap:wrap;gap:6px;display:flex}.chip{color:var(--purple-deep);background:#f3e8ff;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:800}.level-picker{gap:14px;min-height:0;display:grid}.level-filters{flex-wrap:wrap;gap:8px;display:flex}.chip-button{color:var(--purple-deep);font:inherit;cursor:pointer;background:#f3e8ff;border:0;border-radius:999px;padding:7px 14px;font-size:14px;font-weight:900;box-shadow:0 3px #dcc6f5}.chip-button.active{background:var(--purple);color:#fff;box-shadow:0 3px 0 var(--purple-deep)}.chip-button.random{color:#8a5a00;background:#fff1b8;margin-left:auto;box-shadow:0 3px #f0d77a}.level-grid{grid-template-columns:repeat(auto-fill,minmax(176px,1fr));grid-auto-rows:max-content;gap:14px;padding:4px 4px 10px;display:grid}.level-dialog{background:var(--glass-strong);border-radius:28px;grid-template-rows:auto 1fr;gap:12px;width:min(980px,100vw - 24px);max-height:calc(100dvh - 32px);padding:20px;animation:.25s pop-in;display:grid;box-shadow:0 18px 60px #3c1e5a59}.level-dialog .level-picker{grid-template-rows:auto 1fr;overflow:hidden}.level-dialog .level-grid{overscroll-behavior:contain;overflow-y:auto}.level-dialog-head{justify-content:space-between;align-items:center;display:flex}.level-dialog-head h2{margin:0;font-size:24px;font-weight:1000}.practice-lobby{min-height:100dvh}.practice-layout{grid-template-columns:minmax(0,1fr) minmax(280px,360px);align-items:start;gap:clamp(18px,3vw,36px);padding:4px clamp(16px,3vw,40px) 40px;display:grid}.practice-picker h1{margin:0 0 14px;font-size:clamp(24px,3vw,32px);font-weight:1000}.practice-summary{gap:14px;display:grid;position:sticky;top:16px}@media (width<=920px){.practice-layout{grid-template-columns:minmax(0,1fr)}.practice-summary{order:-1;position:static}}@media (width<=480px){.level-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.level-info{padding:8px 10px 10px}.level-name{font-size:14px}.chip-button.random{margin-left:0}}.race-screen{-webkit-user-select:none;user-select:none;touch-action:none;background:#bfe6ff;position:fixed;inset:0;overflow:hidden}.race-canvas{width:100%;height:100%;display:block;position:absolute;inset:0}.hud{pointer-events:none;padding:max(14px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));position:absolute;inset:0}.hud button{pointer-events:auto}.hud-place,.hud-timer,.hud-candies{background:var(--glass-strong);border-radius:20px;box-shadow:0 5px #d9c9ece6,0 10px 24px #3b1d5a2e}.hud-place{justify-items:center;padding:8px 18px 10px;display:grid;position:absolute;top:16px;left:18px}.hud-label{text-transform:uppercase;letter-spacing:1px;color:var(--ink-soft);font-size:12px;font-weight:900}.hud-place strong{color:var(--pink);-webkit-text-stroke:1.5px #fff;text-shadow:0 3px 0 var(--pink-deep);font-size:46px;font-weight:1000;line-height:1}.hud-place[data-place="1"] strong{color:var(--sun);text-shadow:0 3px 0 var(--sun-deep)}.hud-place small{color:var(--ink-soft);-webkit-text-stroke:0;text-shadow:none;font-size:22px}.hud-timer{font-variant-numeric:tabular-nums;padding:8px 20px;font-size:26px;font-weight:1000;position:absolute;top:16px;left:50%;transform:translate(-50%)}.hud-right{align-items:center;gap:10px;display:flex;position:absolute;top:16px;right:18px}.hud-candies{align-items:center;gap:8px;padding:6px 14px;font-size:22px;font-weight:1000;display:inline-flex}.hud-powers{gap:8px;display:grid;position:absolute;top:116px;left:18px}.power{background:var(--glass-strong);border-radius:999px;align-items:center;gap:8px;width:150px;padding:6px 10px;animation:.3s pop-in;display:flex;position:relative;box-shadow:0 4px #d9c9ece6}.power span{border-radius:999px;height:8px;transition:width .1s linear}.power.boost span{background:linear-gradient(90deg,#ffd23f,#ff8a4c)}.power.shield span{background:linear-gradient(90deg,#7fe8ff,#ff8fe0)}.hud-track{width:min(560px,70vw);height:30px;position:absolute;bottom:22px;left:50%;transform:translate(-50%)}.hud-track-line{background:repeating-linear-gradient(90deg,#fff 0 14px,#ffc0dc 14px 28px);border-radius:999px;height:8px;position:absolute;top:11px;left:0;right:0;box-shadow:0 3px #d9c9ece6,0 6px 16px #3b1d5a33}.hud-dot{border:2.5px solid #fff;border-radius:50%;width:16px;height:16px;margin-left:-8px;transition:left .1s linear;position:absolute;top:7px;box-shadow:0 2px 4px #3b1d5a4d}.hud-dot.self{border:3.5px solid var(--ink);z-index:2;width:26px;height:26px;margin-left:-13px;top:2px}.hud-finish{position:absolute;top:-2px;right:-14px}.hud-spectating{color:#fff;background:#3b1d5ab8;border-radius:999px;padding:8px 16px;font-weight:900;position:absolute;bottom:64px;left:50%;transform:translate(-50%)}.countdown{color:#fff;-webkit-text-stroke:4px var(--pink);text-shadow:0 8px 0 var(--pink-deep), 0 20px 40px #3b1d5a59;white-space:nowrap;font-size:clamp(90px,16vw,180px);font-weight:1000;animation:.9s both count-pop;position:absolute;top:38%;left:50%;transform:translate(-50%,-50%)}@keyframes count-pop{0%{opacity:0;transform:translate(-50%,-50%)scale(2.2)}25%{opacity:1;transform:translate(-50%,-50%)scale(.9,1.1)}45%{transform:translate(-50%,-50%)scale(1.06,.94)}to{opacity:.9;transform:translate(-50%,-50%)scale(1)}}.toasts{justify-items:center;gap:8px;display:grid;position:absolute;top:92px;left:50%;transform:translate(-50%)}.toast{color:#fff;white-space:nowrap;border-radius:999px;padding:8px 20px;font-size:22px;font-weight:1000;animation:1.7s both toast-in;box-shadow:0 5px #0000001f}.toast.good{background:linear-gradient(90deg,#ffb83f,#ff5d9e)}.toast.bad{background:linear-gradient(90deg,#7b5cff,#ff5d9e)}.toast.info{background:linear-gradient(90deg,#22c3a0,#5b7cff)}@keyframes toast-in{0%{opacity:0;transform:translateY(-14px)scale(.6)}15%{opacity:1;transform:translateY(0)scale(1.08)}25%,80%{opacity:1;transform:scale(1)}to{opacity:0;transform:translateY(-10px)}}.race-banner{color:#fff;white-space:nowrap;background:#3b1d5abf;border-radius:999px;padding:10px 20px;font-weight:900;position:absolute;top:92px;left:50%;transform:translate(-50%)}.race-banner.warning{background:linear-gradient(90deg,#ff6b8a,#ff9a4c);animation:1.2s ease-in-out infinite pulse}.spectator-switch{gap:220px;display:flex;position:absolute;bottom:62px;left:50%;transform:translate(-50%)}.pause-card,.results-card{background:var(--glass-strong);width:min(520px,100%);max-height:calc(100vh - 36px);box-shadow:var(--shadow);border-radius:30px;padding:26px;animation:.4s both pop-in;overflow:auto}.pause-card h2,.results-card h2{text-align:center;margin:0 0 18px;font-size:32px;font-weight:1000}.results-card{flex-direction:column;width:min(640px,100%);max-height:calc(100dvh - 36px);padding-bottom:20px;display:flex;overflow:hidden}.results-card h2{flex-shrink:0}.results-body{overscroll-behavior:contain;flex:auto;min-height:0;margin:0 -10px;padding:0 10px;overflow-y:auto}.results-table thead th{z-index:1;background:#fbf7ff;position:sticky;top:0}.results-card h2.winner{color:var(--sun-deep);text-shadow:0 3px #fff1b8}.podium{justify-content:center;align-items:flex-end;gap:12px;margin-bottom:18px;display:flex}.podium-step{justify-items:center;gap:6px;width:140px;animation:.5s both pop-in;display:grid}.podium-step.place-1{animation-delay:.15s}.podium-step.place-3{animation-delay:.3s}.podium-name{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:15px;font-weight:900;overflow:hidden}.podium-block{color:#fff;text-shadow:0 3px #00000026;border-radius:16px 16px 6px 6px;justify-content:center;align-items:center;width:100%;font-size:30px;font-weight:1000;display:flex}.place-1 .podium-block{background:linear-gradient(#ffe37a,#ffb81f);height:86px}.place-2 .podium-block{background:linear-gradient(#c9d6ff,#8ea4ff);height:62px}.place-3 .podium-block{background:linear-gradient(#ffc6a3,#ff9a6b);height:46px}.results-table{border-collapse:collapse;width:100%;font-size:15px;font-weight:800}.results-table th{text-transform:uppercase;letter-spacing:.6px;color:var(--ink-soft);text-align:left;padding:6px 8px;font-size:12px}.results-table td{font-variant-numeric:tabular-nums;border-top:2px solid #f3e8ff;padding:6px 8px}.results-table tr.mine td{background:#fff0f7}.results-racer{align-items:center;gap:8px;display:inline-flex}.results-racer em{color:var(--ink-soft);background:#f3e8ff;border-radius:999px;padding:1px 7px;font-size:11px;font-style:normal}.dnf{color:#b9a3d9}.results-note{text-align:center;color:var(--ink-soft);flex-shrink:0;margin:12px 0 0;font-weight:800}.results-actions{border-top:2px solid #f3e8ff;flex-wrap:wrap;flex-shrink:0;justify-content:center;gap:12px;margin-top:14px;padding:14px 0 6px;display:flex}@media (height<=900px){.pause-card h2,.results-card h2{margin-bottom:10px;font-size:27px}.podium{margin-bottom:10px}.podium .portrait{width:64px!important;height:64px!important}.podium-step.place-1 .portrait{width:78px!important;height:78px!important}.place-1 .podium-block{height:58px}.place-2 .podium-block{height:42px}.place-3 .podium-block{height:30px}.podium-block{font-size:24px}.results-table td{padding:4px 8px}.results-table .portrait{width:26px!important;height:26px!important}}@media (height<=640px){.podium{display:none}}.touch-controls{height:0;position:absolute;bottom:0;left:0;right:0}.touch-stick{left:max(22px, env(safe-area-inset-left));bottom:max(70px, env(safe-area-inset-bottom));touch-action:none;background:#ffffff59;border:3px solid #ffffffd9;border-radius:50%;justify-content:center;align-items:center;width:140px;height:140px;display:flex;position:absolute}.touch-knob{background:radial-gradient(circle at 35% 30%,#fff,#ffb3d5);border-radius:50%;width:62px;height:62px;box-shadow:0 6px 14px #3b1d5a4d}.touch-buttons{right:max(22px, env(safe-area-inset-right));bottom:max(70px, env(safe-area-inset-bottom));align-items:flex-end;gap:14px;display:flex;position:absolute}.touch-button{color:#fff;touch-action:none;border:0;border-radius:50%;width:92px;height:92px;font-size:14px;font-weight:1000;box-shadow:0 6px #0000002e}.touch-button.jump{background:linear-gradient(180deg, #ff7cb2, var(--pink));width:108px;height:108px}.touch-button.dive{background:linear-gradient(180deg, #9a83ff, var(--purple))}@media (width<=640px){.hud-place strong{font-size:34px}.hud-timer{font-size:19px;top:82px}.hud-candies{font-size:18px}.hud-powers{top:98px}.podium-step{width:96px}.results-table th:nth-child(5),.results-table td:nth-child(5){display:none}}.power.slowed{color:#2f7a1e;background:#dcffd0;justify-content:center;width:auto;font-weight:1000;box-shadow:0 4px #a8e597}.hud-item{background:var(--glass-strong);min-width:84px;font:inherit;color:var(--ink);pointer-events:auto;cursor:pointer;border:0;border-radius:22px;justify-items:center;gap:2px;padding:10px 10px 8px;display:grid;position:absolute;top:116px;left:18px;box-shadow:0 4px #d9c9ece6}.hud-item.ready{animation:1.2s ease-in-out infinite item-ready}.hud-item.empty{opacity:.55;cursor:default}.hud-item small{white-space:nowrap;font-size:11px;font-weight:900}.hud-item-gift{background:linear-gradient(90deg,#0000 42%,#ffd23f 42% 58%,#0000 58%),linear-gradient(#0000 42%,#ffd23f 42% 58%,#0000 58%),#c9b8ff;border-radius:8px;width:30px;height:30px}.hud-item+.hud-powers{top:196px}@keyframes item-ready{50%{transform:scale(1.07);box-shadow:0 4px #d9c9ece6,0 0 0 6px #a35bff40}}@media (width<=640px){.hud-item{min-width:70px;padding:8px;top:74px;left:auto;right:12px}.hud-item+.hud-powers{top:92px}}
