:root{--bg:#131f24;--surface:#202f36;--surface-2:#293b43;--border:#37464f;--border-light:#293b43;--text:#f1f7fb;--text-h:var(--text);--text-soft:#b6c2ca;--muted:#a2b1bc;--red:#ff4b4b;--red-dark:#b82f35;--red-light:#f66;--green:#58cc02;--green-dark:#46a900;--blue:#1cb0f6;--blue-dark:#087db6;--orange:#ff9600;--yellow:#ffc800;--pink:#ce82ff;--pro:#5446ff;--pro-dark:#3824c7;--error-text:#ffabab;--success-text:#a7ec70;--success-bg:#243b2c;--button-ink:#10212c;--button-edge:#10171d;--overlay:#090f16c4;--shadow:0 12px 32px #0004;--radius-control:13px;--radius-panel:17px;--sans:"Nunito", "Segoe UI", sans-serif;--heading:"Nunito", "Segoe UI", sans-serif;--mono:ui-monospace, Consolas, monospace;--accent:var(--blue);--accent-bg:var(--surface-2);--accent-border:var(--blue);--code-bg:var(--surface-2);--social-bg:var(--surface-2);font:18px/145% var(--sans);letter-spacing:0;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{background:var(--bg);margin:0}#root{text-align:center;box-sizing:border-box;flex-direction:column;width:100%;max-width:100%;min-height:100svh;margin:0 auto;display:flex}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:900}h1{letter-spacing:-.02em;margin:32px 0;font-size:36px;line-height:1.2}h2{letter-spacing:-.01em;margin:0 0 8px;font-size:24px;line-height:1.25}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:1.4}::selection{color:var(--text);background:#365872}:where(button,input,select,textarea){font:inherit}:where(button,a,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--yellow);outline-offset:4px}:where(input,select,textarea){caret-color:var(--blue)}:where(button,a){-webkit-tap-highlight-color:transparent}:where(button:disabled){cursor:not-allowed}:is(.dashboard__cube-button,.dashboard-back.dashboard-back,.learning-drill__button,.cube-view__controls button,.case-view__toggle,.algset__progress-actions button,.account-controls a,.account-text-button,.solve-insights__close,.solve-insights__transport button,.races__chart-caption button){min-height:44px}:is(.account-controls a,.account-text-button){justify-content:center;align-items:center;display:inline-flex}:is(.solve-insights__close,.races__chart-caption button){min-width:44px}:where(.dashboard__cube-button,.learning-drill__button,.cube-view__controls button,.case-view__toggle){box-shadow:0 3px 0 var(--button-edge);transition:background .1s,transform .1s,box-shadow .1s}:where(.dashboard__cube-button,.learning-drill__button,.cube-view__controls button,.case-view__toggle):active:not(:disabled){box-shadow:0 1px 0 var(--button-edge);transform:translateY(2px)}:is(.dashboard__stat-value,.dashboard__graph-stat,.dashboard__streak-number,.learning-drill__stats,.subscription-plan__price,.races__table,.practice__table,.algset__algorithm){font-variant-numeric:tabular-nums}@media (width<=1024px){:root{font-size:16px}h1{margin:20px 0}h2{font-size:20px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}:is(button,a):active{transform:none!important}}@font-face{font-family:DM Sans;font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/dm-sans-latin-ext.woff2)format("woff2");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-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans;font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/dm-sans-latin.woff2)format("woff2");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}@font-face{font-family:Nunito;font-style:normal;font-weight:600 900;font-display:swap;src:url(/fonts/nunito-cyrillic-ext.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito;font-style:normal;font-weight:600 900;font-display:swap;src:url(/fonts/nunito-cyrillic.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Nunito;font-style:normal;font-weight:600 900;font-display:swap;src:url(/fonts/nunito-vietnamese.woff2)format("woff2");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;font-style:normal;font-weight:600 900;font-display:swap;src:url(/fonts/nunito-latin-ext.woff2)format("woff2");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-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito;font-style:normal;font-weight:600 900;font-display:swap;src:url(/fonts/nunito-latin.woff2)format("woff2");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}@font-face{font-family:Unbounded;font-style:normal;font-weight:600 800;font-display:swap;src:url(/fonts/unbounded-cyrillic-ext.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Unbounded;font-style:normal;font-weight:600 800;font-display:swap;src:url(/fonts/unbounded-cyrillic.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Unbounded;font-style:normal;font-weight:600 800;font-display:swap;src:url(/fonts/unbounded-vietnamese.woff2)format("woff2");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:Unbounded;font-style:normal;font-weight:600 800;font-display:swap;src:url(/fonts/unbounded-latin-ext.woff2)format("woff2");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-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Unbounded;font-style:normal;font-weight:600 800;font-display:swap;src:url(/fonts/unbounded-latin.woff2)format("woff2");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}.profile-background{width:100%;height:100%;display:block}.account-preview.account-preview--background{border:2px solid var(--border);border-radius:var(--radius-panel);align-items:flex-end;min-height:176px;padding:24px;position:relative;overflow:hidden}.account-preview--background>.profile-background{position:absolute;inset:0}.account-preview--background>span{z-index:1;position:relative}.account-preview--background>span:last-child{background:#131f24e6;border-radius:8px;padding:8px 12px}.account-background-link{margin:-12px 0 24px;font-size:12px;font-weight:800;display:inline-block}.achievements-intro{color:var(--text-soft);justify-content:space-between;align-items:center;gap:20px;font-size:14px;line-height:1.7;display:flex}.achievements-intro>span{color:var(--pink);flex-shrink:0;font-weight:900}.achievements-views{gap:12px;display:flex}.achievements-views>button{border:2px solid var(--border);border-radius:var(--radius-control);min-width:112px;min-height:46px;color:var(--text-soft);font:900 14px var(--heading);cursor:pointer;background:0 0;padding:10px 18px}.achievements-views>button:hover{background:var(--surface)}.achievements-views>button[aria-pressed=true]{background:var(--surface);color:var(--blue);border-color:#3b8fab}.achievements-empty,.achievements-error{color:var(--text-soft);margin-block:16px;font-size:13px;line-height:1.7}.achievements-error{color:var(--error-text)}.quest-paths{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.quest-path{border:2px solid var(--border);border-radius:var(--radius-panel);flex-direction:column;gap:22px;min-width:0;padding:22px;display:flex}.quest-path__heading{align-items:center;gap:12px;display:flex}.quest-path__heading>.illustrated-icon{flex-shrink:0;width:30px;height:30px}.quest-path__heading h2{font:900 17px/1.4 var(--heading);margin:0}.quest-path__heading span{color:var(--muted);font-size:11px}.quest-path__current{align-items:center;gap:16px;display:flex}.quest-path__current>div{flex:1;min-width:0}.quest-path__current h3{font:900 16px/1.4 var(--heading);margin:0 0 6px}.quest-path__current p{color:var(--text-soft);font-size:12px;line-height:1.5}.quest-progress{background:var(--border);border-radius:12px;height:20px;margin:14px 0 8px;position:relative;overflow:hidden}.quest-progress>span{border-radius:inherit;background:var(--blue);height:100%;display:block}.quest-progress.is-complete>span{background:var(--green)}.quest-progress>b{font:900 10px/20px var(--heading);text-align:center;color:var(--text);text-shadow:0 1px 2px #131f24;white-space:nowrap;position:absolute;inset:0}.quest-reward{color:var(--pink);font:800 11px/1.5 var(--heading);align-items:center;gap:5px;display:inline-flex}.quest-reward .shard,.quest-levels__reward .shard{width:12px;height:16px}.quest-levels{border-top:1px solid var(--border)}.quest-levels summary{cursor:pointer;min-height:44px;color:var(--blue);font:900 12px/1.5 var(--heading);padding:14px 0 0}.quest-levels ol{flex-direction:column;gap:14px;margin:16px 0 0;padding:0;list-style:none;display:flex}.quest-levels li{justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.quest-levels li>span:first-child{min-width:0}.quest-levels b{font-weight:900;display:block}.quest-levels small{color:var(--muted);margin-top:4px;line-height:1.5;display:block}.quest-levels li.is-earned b{color:var(--green)}.quest-levels__reward{color:var(--pink);flex-shrink:0;align-items:center;gap:4px;font-weight:900;display:inline-flex}.achievement-badge{--badge-color:#53c2f5;--badge-dark:#245679;flex:0 0 76px;place-items:start center;width:76px;height:92px;display:inline-grid;position:relative}.achievement-badge--purple{--badge-color:#b48aff;--badge-dark:#654891}.achievement-badge--yellow{--badge-color:#ffdc61;--badge-dark:#96722e}.achievement-badge--orange{--badge-color:#ffaf61;--badge-dark:#975c35}.achievement-badge--green{--badge-color:#a7e77a;--badge-dark:#4b7c37}.achievement-badge--red{--badge-color:#ff8e9d;--badge-dark:#934858}.achievement-badge__ribbon{background:var(--badge-dark);clip-path:polygon(0 0,100% 0,100% 100%,50% 80%,0 100%);width:48px;height:53px;position:absolute;bottom:0}.achievement-badge__face{border:4px solid var(--badge-color);background:var(--surface);width:72px;height:72px;box-shadow:0 4px 0 var(--badge-dark);border-radius:24px;place-items:center;display:grid;position:relative}.achievement-badge__face .illustrated-icon{width:36px;height:36px;color:var(--badge-color)}.achievement-badge__face b{border:3px solid var(--bg);background:var(--badge-color);width:25px;height:25px;color:var(--button-ink);font:900 10px var(--heading);border-radius:50%;place-items:center;display:grid;position:absolute;bottom:-10px;right:-9px}.achievement-badge.is-locked{filter:grayscale();opacity:.45}.achievements-section-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;display:flex}.achievements-section-heading h2{font:900 21px/1.4 var(--heading);margin:0}.achievements-section-heading a{font:900 12px var(--heading)}.achievements-filter{min-height:44px;color:var(--blue);cursor:pointer;font:900 12px/1.5 var(--heading);background:0 0;border:0;padding:8px 0}.badges-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.badge-card{text-align:center;border:2px solid var(--border);border-radius:var(--radius-panel);flex-direction:column;align-items:center;gap:10px;min-width:0;padding:22px 14px;display:flex}.badge-card h3{font:900 14px/1.4 var(--heading);overflow-wrap:anywhere;margin:6px 0 0}.badge-card p{color:var(--muted);font-size:11px;line-height:1.6}.badge-card__state{color:var(--muted);font:900 10px/1.5 var(--heading);margin-top:auto}.badge-card.is-earned .badge-card__state{color:var(--green)}.badge-card time{color:var(--muted);font-size:10px}.profile-badges{border-block:1px solid var(--border);margin:4px 0 24px;padding-block:20px}.profile-badges .badges-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.profile-badges .badge-card{padding:16px 8px}.profile-badges .badge-card h3{font-size:11px}.profile-badges .badge-card p,.profile-badges .badge-card time{display:none}.profile-badges .achievement-badge{flex-basis:64px;width:64px;height:80px;transform:scale(.8)}@media (width<=1100px){.quest-paths{grid-template-columns:1fr}.badges-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=700px){.achievements-intro{flex-direction:column;align-items:flex-start;gap:10px;font-size:13px}.quest-path{padding:20px 16px}.quest-path__current{gap:14px}.badges-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.achievements-section-heading h2{font-size:19px}}.profile-page .account-message{margin:0}.profile-overview{border:2px solid var(--border);border-radius:var(--radius-panel);overflow:hidden}.profile-page .account-preview{background:var(--surface);gap:20px;min-height:196px;margin:0;padding:32px;position:relative}.profile-page .account-preview.account-preview--background{border:0;border-radius:0;align-items:flex-end;min-height:236px}.profile-page .account-preview__avatar{border:5px solid var(--bg);width:88px;height:88px;font-size:28px}.profile-page .account-preview strong{font:900 27px/1.3 var(--heading)}.profile-page .profile-overview__name{min-width:0}.profile-page .profile-overview__name small{margin-bottom:5px;font-size:12px;font-weight:800;display:block}.profile-overview__footer{border-top:2px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:16px 24px;display:flex}.profile-overview__footer>span{color:var(--muted);font-size:12px;font-weight:800}.profile-page .account-background-link{margin:0}.profile-layout{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:start;gap:24px;display:grid}.profile-column{flex-direction:column;gap:24px;min-width:0;display:flex}.profile-page .profile-panel,.profile-page .profile-badges{border:2px solid var(--border);border-radius:var(--radius-panel);min-width:0;margin:0;padding:24px}.profile-page .profile-panel h2,.profile-page .profile-badges h2{font:900 21px/1.3 var(--heading);margin:0}.profile-panel__heading{margin-bottom:24px}.profile-panel__heading p,.profile-delete__heading p{color:var(--muted);margin:8px 0 0;font-size:13px;line-height:1.6}.profile-page .account-form{gap:24px}.profile-page .account-colors{gap:16px;padding:0 4px 4px}.profile-page .account-colors legend{margin-left:-4px;font-weight:800}.profile-page .account-colors input,.profile-page .account-colors span{width:36px;height:36px}.profile-page .account-colors label{margin:-4px;padding:4px}.profile-page .account-colors input{width:44px;height:44px;top:0;left:0}.profile-page .account-button{font-size:12px}.profile-page .profile-badges .achievements-section-heading{margin-bottom:20px}.profile-page .profile-badges .achievements-section-heading a{flex-shrink:0;align-items:center;min-height:44px;padding-block:10px;display:inline-flex}.profile-page .profile-badges .badge-card{background:var(--bg);border:0;padding:12px 4px}.profile-page .profile-badges .badge-card h3{font-size:12px}.profile-page .profile-badges .badges-grid{gap:8px}.profile-page .profile-badges .achievements-empty{margin:0}.profile-membership__heading{align-items:center;gap:14px;margin-bottom:16px;display:flex}.profile-membership__heading img{object-fit:contain;flex-shrink:0}.profile-page .account-subscription{border:0;margin:0;padding:0}.profile-page .account-subscription>h2{display:none}.profile-page .account-subscription p{margin:0 0 16px;font-size:13px;line-height:1.7}.profile-page .account-subscription .billing-portal-action+p{margin-block:12px 20px}.profile-page .account-upgrade{width:100%;margin:4px 0 0}.profile-page .profile-action{border:2px solid var(--border);border-radius:var(--radius-control);min-height:44px;box-shadow:0 3px 0 var(--border);color:var(--blue);font:900 12px/1.4 var(--heading);text-align:center;cursor:pointer;background:0 0;justify-content:center;align-items:center;gap:8px;padding:10px 14px;text-decoration:none;display:inline-flex}.profile-page .profile-action:hover:not(:disabled){background:var(--surface);text-decoration:none}.profile-page .profile-action:active:not(:disabled){box-shadow:0 1px 0 var(--border);transform:translateY(2px)}.profile-page .profile-action:disabled{opacity:.5;cursor:not-allowed}.profile-page .profile-action.account-text-button--danger{color:var(--error-text)}.profile-email>span,.profile-settings__row h3{font:800 13px/1.5 var(--heading)}.profile-page .account-email{color:var(--text-soft);margin:8px 0 0;font-size:13px}.profile-settings__row{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:20px;padding-top:20px;display:flex}.profile-settings__row h3{margin:0}.profile-settings__row p{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.6}.profile-delete__heading{justify-content:space-between;align-items:center;gap:24px;display:flex}.profile-delete__heading>.profile-action{flex-shrink:0}.profile-page .profile-delete h2{font-size:17px}.profile-delete__billing{border:1px solid var(--border);border-radius:var(--radius-control);color:var(--text-soft);margin:24px 0;padding:16px;font-size:13px;line-height:1.7}.profile-delete .account-form{max-width:520px;font-size:13px;line-height:1.7}@media (width<=1050px){.profile-layout{grid-template-columns:1fr}}@media (width<=700px){.profile-layout,.profile-column{gap:20px}.profile-page .account-preview{gap:14px;min-height:168px;padding:24px 20px}.profile-page .account-preview.account-preview--background{min-height:204px}.profile-page .account-preview__avatar{border-width:4px;width:68px;height:68px;font-size:22px}.profile-page .account-preview strong{font-size:22px}.profile-page .profile-overview__name small{font-size:11px}.profile-overview__footer{flex-wrap:wrap;gap:12px;padding:16px}.profile-page .profile-panel,.profile-page .profile-badges{padding:20px}.profile-page .profile-panel h2,.profile-page .profile-badges h2{font-size:19px}.profile-delete__heading{flex-direction:column;align-items:flex-start;gap:16px}.profile-page .profile-delete h2{font-size:17px}}.subscription-page{box-sizing:border-box;max-width:1280px;min-height:100svh;color:var(--text);margin:0 auto;padding:34px 40px 70px;font-family:Nunito,sans-serif}.subscription-page *,.subscription-page :before{box-sizing:border-box}.subscription-page__content{width:100%;max-width:940px;margin:0 auto}.subscription-plans__notice{border:1px solid var(--border);color:var(--text-soft);background:var(--surface);border-radius:12px;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin:0 0 26px;padding:12px 16px;font-size:13px;line-height:1.5;display:flex}.subscription-plans__notice span{color:var(--yellow);font-weight:800}.subscription-plans>[role=status]{color:var(--text-soft);line-height:1.6}.subscription-plans__grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:20px;display:grid}.subscription-plan{grid-template-rows:subgrid;border:2px solid var(--border);border-radius:var(--radius-panel);background:var(--bg);box-shadow:none;grid-row:span 5;row-gap:0;padding:24px;display:grid}.subscription-plan__top{justify-content:space-between;align-items:center;gap:10px;margin-bottom:28px;display:flex}.subscription-plan__mark{object-fit:contain;flex-shrink:0;width:48px;height:44px;display:block}.subscription-plan--selected{border-color:var(--blue)}.subscription-plan--pro{border-color:var(--pro)}.subscription-plan--pro .subscription-plan__badge{color:#c4b7ff;background:#2a254a}.subscription-plan--pro .account-button{background:var(--pro);border-color:var(--pro);box-shadow:0 4px 0 var(--pro-dark);color:#fff}.subscription-plan--pro .account-button:hover:not(:disabled){background:#6559ff}.subscription-plan--pro .account-button:active:not(:disabled){box-shadow:0 1px 0 var(--pro-dark)}.subscription-plan__badge{background:var(--surface-2);color:var(--text-soft);border-radius:7px;padding:6px 10px;font:800 12px Nunito,sans-serif}.subscription-plan h2{letter-spacing:-.03em;margin:0 0 20px;font:900 26px Nunito,sans-serif}.subscription-plan__price{letter-spacing:-.035em;margin:0 0 8px;font:900 clamp(26px,3.4vw,36px) Nunito,sans-serif}.subscription-plan__price span{letter-spacing:0;color:var(--text-soft);margin-left:8px;font:500 14px Nunito,sans-serif;display:inline-block}.subscription-plan__tax{color:var(--muted);margin:0 0 30px;font-size:12px;line-height:1.5}.subscription-plan>.account-button,.subscription-plan .billing-portal-action>.account-button{text-align:center;box-sizing:border-box;justify-content:center;align-items:center;min-height:52px;line-height:1.4;text-decoration:none;display:flex}.subscription-plan>.billing-portal-action{flex-direction:column;display:flex}.subscription-plan .billing-portal-action>.account-button{flex:1}.subscription-page__details{border-top:1px solid var(--border);text-align:center;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:40px;padding-top:28px;display:grid}.subscription-page__details strong{font:800 15px Nunito,sans-serif}.subscription-page__details p{color:var(--muted);margin:8px 0 0;font-size:12px;line-height:1.7}.subscription-page :is(a,button):focus-visible{outline:3px solid var(--blue);outline-offset:4px}@media (width<=900px){.subscription-plans__grid{grid-template-columns:1fr;gap:20px}}@media (width<=600px){.subscription-page{padding:22px 15px 45px}.subscription-plan{padding:26px}.subscription-plan__price{font-size:34px}.subscription-page__details{grid-template-columns:1fr;gap:22px}.subscription-page .dashboard__top-row{gap:8px}.subscription-page .account-controls{gap:10px}}.dashboard{box-sizing:border-box;background:var(--bg);width:100%;max-width:1280px;min-height:100vh;color:var(--text);flex-direction:column;gap:20px;margin:0 auto;padding:34px 40px 70px;font-family:Nunito,sans-serif;display:flex}.dashboard *{box-sizing:border-box}button{font-family:inherit}.dashboard__logo{align-items:center;gap:11px;padding-bottom:8px;display:flex}.dashboard__logo-mark{grid-template-rows:repeat(2,10px);grid-template-columns:repeat(2,10px);gap:3px;display:grid}.dashboard__logo-mark span{border-radius:3px;width:10px;height:10px;display:block}.dashboard__logo-text{letter-spacing:-.04em;font-family:Unbounded,sans-serif;font-size:19px;font-weight:700}.dashboard__profile{justify-content:flex-start;align-items:center;gap:14px;padding:4px 0;display:flex}.dashboard__avatar-wrap{width:96px;height:96px;position:relative}.dashboard__avatar{background:var(--pink);width:96px;height:96px;color:var(--button-ink);border-radius:50%;justify-content:center;align-items:center;font-family:Nunito,sans-serif;font-size:30px;font-weight:900;display:flex}.dashboard__avatar-status{border:3px solid var(--bg);background:var(--green);border-radius:50%;width:18px;height:18px;position:absolute;bottom:0;right:0}.dashboard__profile-text{flex-direction:column;gap:2px;display:flex}.dashboard__profile-name{font-family:Nunito,sans-serif;font-size:22px;font-weight:900;line-height:1}.dashboard__profile-title{color:var(--text-soft);font-size:13px;font-weight:600}.dashboard__cta-row{grid-template-columns:1fr;gap:10px;display:grid}.dashboard__cta{border-radius:var(--radius-control);cursor:pointer;letter-spacing:.035em;border:2px solid #0000;justify-content:center;align-items:center;gap:10px;min-height:57px;font-family:Nunito,sans-serif;font-size:14px;font-weight:900;transition:transform .1s,box-shadow .1s,background .1s;display:flex}.dashboard__cta:active:not(:disabled){box-shadow:none;transform:translateY(4px)}.dashboard__cta:disabled{opacity:.45;cursor:not-allowed;transform:none}.dashboard__play-note{color:var(--text-soft);text-align:center;margin:0;font-size:12px}.dashboard__cta--primary{background:var(--red);border-color:var(--red);color:var(--button-ink);box-shadow:0 4px 0 var(--red-dark);font-size:16px}.dashboard__cta--primary:hover:not(:disabled){background:var(--red-light);border-color:var(--red-light)}.dashboard__cta--secondary{background:var(--surface);border-color:var(--border);color:var(--text);box-shadow:0 4px 0 var(--button-edge)}.dashboard__cta--secondary:hover{background:var(--surface-2)}.dashboard__cta--secondary svg{color:var(--blue)}.dashboard__stats{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.dashboard__stat-card{background:var(--surface);border:2px solid var(--border);border-radius:var(--radius-panel);min-height:94px;box-shadow:none;padding:18px 21px}.dashboard__stat-label{color:var(--text-soft);margin-bottom:8px;font-size:13px;font-weight:700;display:block}.dashboard__stat-value{letter-spacing:-.04em;font-family:Nunito,sans-serif;font-size:30px;font-weight:900;line-height:1}.dashboard__stat-unit{color:var(--text-soft);margin-left:3px;font-family:Nunito,sans-serif;font-size:13px;font-weight:600}.dashboard__card{background:var(--bg);border:2px solid var(--border);border-radius:var(--radius-panel);box-shadow:none}.dashboard__graph-row{grid-template-columns:minmax(0,2.65fr) minmax(235px,1fr);gap:12px;display:grid}.dashboard__graph-card{flex-direction:column;min-height:310px;padding:22px;display:flex}.dashboard__graph-head{grid-template-columns:1.4fr 1fr 1fr 1fr;align-items:center;gap:14px;display:grid}.dashboard__graph-heading{text-align:left}.dashboard__graph-title{font-family:Nunito,sans-serif;font-size:18px;font-weight:800}.dashboard__graph-metric{border-left:2px solid var(--border);text-align:center;padding-left:14px}.dashboard__graph-stat{font-family:Nunito,sans-serif;font-size:18px;font-weight:900}.dashboard__graph-sub{color:var(--text-soft);margin-top:4px;font-size:12px;font-weight:600}.dashboard__chart-wrap{cursor:crosshair;-webkit-user-select:none;user-select:none;flex:1;min-height:190px;margin-top:15px;position:relative}.dashboard__chart-grid{pointer-events:none;flex-direction:column;justify-content:space-between;display:flex;position:absolute;inset:12px 0 0}.dashboard__chart-grid span{background:#ffffff0e;width:100%;height:1px}.dashboard__chart{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.dashboard__graph-tooltip{z-index:10;min-width:82px;color:var(--button-ink);box-shadow:var(--shadow);pointer-events:none;background:#fff;border-radius:9px;flex-direction:column;align-items:center;gap:2px;padding:8px 11px;display:flex;position:absolute}.dashboard__graph-tooltip--above{transform:translate(-50%,calc(-100% - 18px))}.dashboard__graph-tooltip--below{transform:translate(-50%,18px)}.dashboard__graph-tooltip:after{content:"";background:#fff;width:10px;height:10px;position:absolute;bottom:-5px;left:50%;transform:translate(-50%)rotate(45deg)}.dashboard__graph-tooltip--below:after{top:-5px;bottom:auto}.dashboard__graph-tooltip-label{color:#52616d;text-transform:uppercase;letter-spacing:.06em;font-size:9px;font-weight:800}.dashboard__graph-tooltip strong{font-family:Nunito,sans-serif;font-size:16px;font-weight:900}.dashboard__streak-card{flex-direction:column;justify-content:space-between;min-height:310px;padding:22px;display:flex}.dashboard__streak-heading{justify-content:center;align-items:baseline;gap:9px;display:flex}.dashboard__streak-number{color:var(--orange);letter-spacing:-.06em;font-family:Nunito,sans-serif;font-size:56px;font-weight:900;line-height:.8}.dashboard__streak-unit{color:var(--text-soft);letter-spacing:.04em;font-size:12px;font-weight:800}.dashboard__streak-longest{color:var(--text-soft);margin-top:10px;font-size:13px}.dashboard__streak-longest strong{color:var(--text)}.dashboard__streak-weekdays{color:var(--muted);text-align:center;grid-template-columns:repeat(7,1fr);margin-bottom:7px;font-size:10px;font-weight:800;display:grid}.dashboard__streak-days{grid-template-columns:repeat(7,1fr);gap:5px;display:grid}.dashboard__streak-pip{aspect-ratio:1;border:2px solid var(--border);background:0 0;border-radius:5px;width:100%}.dashboard__streak-pip.is-filled{border-color:var(--orange);background:var(--orange)}.dashboard__races{padding:0;overflow:hidden}.dashboard__races-header{border-bottom:2px solid var(--border);justify-content:space-between;align-items:center;min-height:58px;padding:0 20px;display:flex}.dashboard__races-title{font-family:Nunito,sans-serif;font-size:18px;font-weight:800}.dashboard__view-all{color:var(--blue);cursor:pointer;background:0 0;border:0;padding:0;font-family:Nunito,sans-serif;font-size:12px;font-weight:900}.dashboard__race-header{background:var(--bg);border-bottom:1px solid var(--border-light);grid-template-columns:minmax(180px,1fr) 82px 82px 72px 82px;align-items:center;min-height:35px;padding:0 20px;display:grid}.dashboard__race-header>div{color:var(--text-soft);justify-content:center;align-items:center;font-size:11px;font-weight:800;display:flex}.dashboard__race-header .dashboard__race-header-opponent{justify-content:flex-start}.dashboard__race-row{border-bottom:1px solid var(--border-light);grid-template-columns:minmax(180px,1fr) 82px 82px 72px 82px;align-items:center;min-height:78px;padding:0 20px;display:grid}.dashboard__race-row:last-child{border-bottom:0}.dashboard__race-left{align-items:center;gap:11px;min-width:0;display:flex}.dashboard__race-avatar{width:36px;height:36px;color:var(--button-ink);border-radius:9px;flex:0 0 36px;justify-content:center;align-items:center;font-family:Nunito,sans-serif;font-size:11px;font-weight:900;display:flex}.dashboard__race-name{color:var(--text);align-items:center;gap:7px;font-size:14px;font-weight:700;display:flex}.dashboard__race-vs{color:var(--muted);font-size:9px;font-weight:900}.dashboard__race-time{justify-content:center;align-items:center;display:flex}.dashboard__race-time-value{color:var(--text);font-family:Nunito,sans-serif;font-size:17px;font-weight:900;line-height:1}.dashboard__race-time-value--muted{color:var(--muted)}.dashboard__race-elo{color:var(--text-soft);justify-content:center;align-items:center;font-family:Nunito,sans-serif;font-size:16px;font-weight:900;display:flex}.dashboard__race-result{justify-content:center;align-items:center;font-family:Nunito,sans-serif;font-size:11px;font-weight:900;display:flex}@media (width<=850px){.dashboard{padding:30px 24px 55px}.dashboard__graph-row{grid-template-columns:1fr}}@media (width<=700px){.dashboard__cta-row,.dashboard__stats{grid-template-columns:1fr}.dashboard__graph-head{grid-template-columns:1fr 1fr}.dashboard__graph-metric{border-left:0;padding-left:0}.dashboard__race-header,.dashboard__race-row{grid-template-columns:minmax(130px,1fr) 65px 65px 60px 65px}}@media (width<=560px){.dashboard{gap:17px;padding:22px 15px 45px}.dashboard__logo-text{font-size:16px}.dashboard__profile{justify-content:flex-start}.dashboard__race-header,.dashboard__race-row{grid-template-columns:minmax(115px,1fr) 58px 58px 55px 58px;padding-left:14px;padding-right:14px}.dashboard__race-name{font-size:12px}.dashboard__race-time-value{font-size:14px}.dashboard__race-elo{font-size:13px}}@media (width<=430px){.dashboard__race-header,.dashboard__race-row{grid-template-columns:minmax(105px,1fr) 51px 51px 47px 52px}.dashboard__race-row{min-height:66px}.dashboard__race-avatar{flex-basis:30px;width:30px;height:30px}.dashboard__race-time-value{font-size:12px}.dashboard__race-header>div{font-size:9px}.dashboard__race-result{font-size:8px}}.dashboard__account-empty{color:var(--text-soft);text-align:center;padding:24px 16px;font-size:14px;line-height:1.6}.dashboard__preview-note{color:var(--text-soft);font-size:12px}.dashboard__chart-wrap>.dashboard__account-empty{z-index:1;place-items:center;display:grid;position:absolute;inset:0}.dashboard__hero{grid-template-columns:minmax(0,1fr) minmax(280px,1fr);align-items:stretch;gap:20px;display:grid}.dashboard__hero .dashboard__profile{flex:1;gap:clamp(16px,4cqi,28px);width:100%;min-width:0;padding:12px 0}.dashboard__profile-column{background:var(--surface);border:2px solid var(--border);border-radius:var(--radius-panel);flex-direction:column;justify-content:space-between;gap:20px;min-width:0;padding:20px;display:flex;container-type:inline-size}.dashboard__profile-text{flex:1;gap:10px;min-width:0}.dashboard__profile-name,.dashboard__profile-title{overflow-wrap:anywhere}.dashboard__hero .dashboard__profile-name{font-size:clamp(26px,7.5cqi,42px);line-height:1.12}.dashboard__hero .dashboard__profile-title{font-size:clamp(16px,4cqi,22px);line-height:1.4}.dashboard__hero .dashboard__avatar-wrap{aspect-ratio:1;flex-shrink:0;width:clamp(104px,30cqi,164px);height:auto}.dashboard__hero .dashboard__avatar{width:100%;height:100%;font-size:clamp(36px,10cqi,54px)}.dashboard__hero .dashboard__avatar-status{border:4px solid var(--surface);width:24px;height:24px;bottom:4%;right:4%}.dashboard__cube-panel{border:2px solid var(--border);border-radius:var(--radius-panel);background:var(--bg);padding:24px}.dashboard__cube-badge{background:var(--surface-2);color:var(--text-soft);border-radius:6px;padding:4px 9px;font-size:11px}.dashboard__cube{width:100%;max-width:260px;margin:8px auto 0;display:block}.dashboard__cube-caption{text-align:center;color:var(--text-soft);margin:0;font-size:12px;line-height:1.5}.dashboard__cube-badge--live{color:#8fe34a;background:#254724}.dashboard__stats{grid-template-columns:repeat(4,minmax(0,1fr))}@media (width<=700px){.dashboard__stats{grid-template-columns:repeat(2,minmax(0,1fr))}}.dashboard__cube-device{text-align:center;color:var(--text-soft);overflow-wrap:anywhere;margin:0 0 8px;font-size:12px}.dashboard__cube-controls{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:14px;display:flex}.dashboard__cube-panel .dashboard__cube-controls+.dashboard__cube-caption{margin-top:16px}.dashboard__cube-button{border:2px solid var(--border);border-radius:var(--radius-control);color:var(--blue);text-transform:uppercase;letter-spacing:.6px;cursor:pointer;background:0 0;padding:12px 20px;font:900 12px Nunito,sans-serif}.dashboard__cube-button:hover:not(:disabled){background:var(--surface)}.dashboard__cube-button:disabled{opacity:.5;cursor:not-allowed}.dashboard__cube-button--quiet{border-color:var(--border);color:var(--text-soft);background:0 0}.dashboard__cube-button:focus-visible,.dashboard__cube-help summary:focus-visible,.dashboard__cube-address input:focus-visible{outline:2px solid var(--yellow);outline-offset:4px}.dashboard__cube-help{color:var(--text-soft);margin-top:14px;font-size:12px;line-height:1.6}.dashboard__cube-help summary{cursor:pointer}.dashboard__cube-help p{margin:8px 0}.dashboard__cube-address{border:1px solid var(--border);border-radius:var(--radius-control);gap:10px;margin-top:14px;padding:14px;font-size:13px;display:grid}.dashboard__cube-address p{color:var(--text-soft);margin:0;line-height:1.5}.dashboard__cube-address code{overflow-wrap:anywhere}.dashboard__cube-address input{border:1px solid var(--border);background:var(--bg);width:100%;min-width:0;color:var(--text);border-radius:6px;padding:10px}@media (width<=700px){.dashboard__hero{grid-template-columns:1fr;gap:16px}}.home.dashboard{--home-gap:56px;--home-gutter:48px;max-width:none;padding:32px max(var(--home-gutter), calc((100% - 1120px) / 2 + var(--home-gutter))) 56px var(--home-gap);font-family:var(--heading);gap:0}.home__mobile-header{display:none}.home__layout{column-gap:var(--home-gap);grid-template:"main counters""main rail"1fr/minmax(0,1fr) 332px;align-items:start;row-gap:20px;display:grid}.home .home__main{flex-direction:column;grid-area:main;align-items:center;gap:0;min-width:0;padding-top:16px;display:flex}.home .home__cube-panel{background:0 0;border:0;border-radius:0;flex-direction:column;align-items:center;width:100%;max-width:400px;padding:4px 0 22px;display:flex}.home__cube-panel .dashboard__cube{max-width:380px;margin:0 auto}.home__cube-panel .cube-view__controls{margin:-8px 0 12px}.home__cube-panel .cube-view__controls span{font-size:11px}.home__cube-panel .cube-view__controls button{box-shadow:none;color:var(--muted);background:0 0;border-color:#0000}.home__cube-panel>.dashboard__cube-caption{max-width:310px;font:600 11px/1.6 var(--heading);order:3;margin:14px auto 0}.home__cube-panel .dashboard__cube-controls{gap:8px;margin:0}.home__cube-panel .dashboard__cube-button{border-color:var(--border);box-shadow:0 3px 0 var(--border);color:var(--blue);text-transform:uppercase;letter-spacing:.6px;background:0 0;padding:8px 18px;font-size:11px}.home__cube-panel>.dashboard__cube-help{text-align:center;order:4;align-self:stretch;width:100%;max-width:310px;margin:8px auto 0;font-size:11px}.home__cube-panel>.dashboard__cube-help p{text-align:left}.home__cube-panel .dashboard__cube-address{width:100%}.home__connection-help{max-width:310px;color:var(--muted);font:700 10px/1.6 var(--heading);text-align:center;order:4;margin-top:8px}.home__connection-help summary{cursor:pointer;padding:4px 8px}.home__connection-help .dashboard__cube-help{text-align:left;font-size:11px}.home__actions{flex-direction:column;gap:14px;width:100%;max-width:460px;display:flex}.home-button{border:2px solid var(--border);box-sizing:border-box;min-height:56px;color:var(--text);box-shadow:0 4px 0 var(--border);font:900 15px var(--heading);letter-spacing:1px;text-transform:uppercase;cursor:pointer;background:0 0;border-radius:13px;justify-content:center;align-items:center;gap:12px;padding:12px 20px;text-decoration:none;transition:transform .1s,box-shadow .1s,background .1s;display:flex}.home-button:hover:not(:disabled){background:var(--surface)}.home-button:active:not(:disabled){box-shadow:0 1px 0 var(--border);transform:translateY(3px)}.home-button .illustrated-icon{flex:0 0 24px;width:24px;height:24px}.home__action-arrow{margin-left:auto;font-size:21px;line-height:1}.home__actions .home-button>span:nth-child(2){margin-right:auto}.home-button--play{background:var(--red);border-color:var(--red);box-shadow:0 4px 0 var(--red-dark);color:#fff}.home-button--play:hover:not(:disabled){background:var(--red-light)}.home-button--play:active:not(:disabled){box-shadow:0 1px 0 var(--red-dark)}.home-button--play:disabled{color:#e7b1b4;background:#6e363b;border-color:#6e363b;box-shadow:0 4px #4b2b31}.home__play-note{color:var(--muted);text-align:center;margin:-3px 0 2px;font-size:11px;line-height:1.5}.home-button--practice{color:var(--blue)}.home-button--soon{color:#8a9da8;border-color:var(--border-light);box-shadow:0 4px 0 var(--border-light)}.home-button--soon .illustrated-icon{color:#647d8b}.home-button--soon small{letter-spacing:.8px;color:var(--muted);border:1px solid var(--border);border-radius:5px;padding:4px 7px;font-size:8px}.home a:not(.home-button,.home__counter),.home-card a:not(.home-button),.home-extra a:not(.brand,.home-button,.dashboard-back){color:var(--blue);text-decoration:none}.home__rail{flex-direction:column;grid-area:rail;gap:20px;display:flex}.home__counters{grid-area:counters;justify-content:space-around;align-items:center;gap:16px;min-height:42px;margin-bottom:4px;display:flex}.home__counter{border-radius:8px;align-items:center;gap:9px;padding:4px;font-weight:900;text-decoration:none;display:flex}.home__counter .illustrated-icon{width:28px;height:28px}.home__counter--streak,.home__counter .dashboard__streak-number{color:var(--orange);font:900 17px var(--heading)}.home__counter--shards{color:#bf7cff}.shard{object-fit:contain;flex-shrink:0;width:26px;height:30px;display:block}.home-card{border:2px solid var(--border);box-sizing:border-box;background:var(--bg);border-radius:17px;min-width:0;padding:22px 20px}.home-card h2{font:900 19px/1.3 var(--heading);letter-spacing:-.25px;margin:0}.pro-card{grid-template-columns:minmax(0,1fr) 112px;align-items:center;gap:18px 0;display:grid;overflow:hidden}.pro-card__badge{color:#b7a5ff;font:900 italic 12px var(--heading);letter-spacing:.5px;align-items:center;gap:5px;margin-bottom:16px;display:inline-flex}.pro-card__badge b{color:#131f24;background:#a58aff;border-radius:5px;padding:1px 6px;font-size:11px}.pro-card h2{max-width:160px;font-size:18px}.pro-card p{color:var(--text-soft);font:600 13px/1.7 var(--heading);margin-top:8px}.pro-card__milo{object-fit:contain;width:132px;height:142px;margin-left:-10px;transform:rotate(8deg)}.home-button--pro{background:var(--pro);border-color:var(--pro);min-height:48px;box-shadow:0 4px 0 var(--pro-dark);color:#fff;letter-spacing:.7px;grid-column:1/-1;font-size:12px}.home-button--pro:hover:not(:disabled){background:#6559ff}.home-button--pro:active{box-shadow:0 1px 0 var(--pro-dark)}.home-card__heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.home-card__heading>a{text-transform:uppercase;font:900 10px var(--heading);letter-spacing:.5px;white-space:nowrap;padding-block:10px}.daily-achievements__list{flex-direction:column;gap:28px;padding:28px 0 8px;display:flex}.daily-achievement{align-items:center;gap:14px;display:flex}.daily-achievement>.illustrated-icon{flex:0 0 36px;width:36px;height:36px}.daily-achievement__body{flex:1;min-width:0}.daily-achievement__label{font:800 13px/1.4 var(--heading);justify-content:space-between;gap:5px;margin-bottom:12px;display:flex}.daily-achievement__check{color:var(--green)}.daily-achievement__reward{color:#bf7cff;font:800 11px/1.4 var(--heading);align-items:center;gap:5px;margin-top:8px;display:flex}.daily-achievement__reward .shard{width:12px;height:16px}.daily-achievement__track{background:var(--border);border-radius:10px;height:16px;position:relative;overflow:hidden}.daily-achievement__track>span{border-radius:inherit;background:var(--blue);height:100%;display:block}.daily-achievement.is-complete .daily-achievement__track>span{background:var(--green)}.daily-achievement__track>b{color:var(--text);text-shadow:0 1px 2px #131f24;text-align:center;font:900 10px/16px var(--heading);position:absolute;inset:0}.daily-achievements__intro,.daily-achievements__error,.daily-achievements__loading{font:600 12px/1.7 var(--heading);color:var(--text-soft);margin-top:12px}.daily-achievements__error{color:var(--error-text)}.home__guest-note{width:100%;max-width:460px;color:var(--muted);text-align:center;margin-top:24px;font-size:12px;line-height:1.7}.home__guest-note a{font-weight:900}.home-extra{gap:24px;max-width:760px}.home-extra .daily-achievements{padding:28px}.home-extra .daily-achievements__list{gap:36px}.daily-achievement__action{font:900 13px var(--heading);flex-shrink:0;padding:12px}.shard-card{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;display:grid}.shard-card>.shard{width:46px;height:64px}.shard-card p{font:600 14px/1.7 var(--heading);color:var(--text-soft);margin-top:8px}.shard-card__balance{color:var(--pink);font:900 30px var(--heading);margin-left:auto}.shard-card__earn{font:900 13px var(--heading);margin-top:12px;display:inline-block}@media (width>=1550px){.home.dashboard{--home-gap:80px;padding-top:46px}.home .home__main{padding-top:30px}}@media (width<=1200px){.home.dashboard{--home-gap:30px;--home-gutter:30px;padding-top:28px;padding-bottom:48px}.home__layout{grid-template-columns:minmax(0,1fr) 300px}.home-card{padding:20px 18px}.daily-achievement__label{font-size:12px}}@media (width<=1050px){.home.dashboard{--home-gap:24px;--home-gutter:24px}.home__layout{grid-template-columns:minmax(0,1fr) 280px}.pro-card{grid-template-columns:minmax(0,1fr) 88px}.pro-card__milo{width:110px;margin-left:-15px}.pro-card h2{font-size:16px}.home-card h2{font-size:17px}}@media (width>=701px) and (width<=850px){.home__layout{grid-template:"counters""main""rail"/minmax(0,1fr);row-gap:24px}.home .home__main{padding-top:0}.home__counters,.home__rail{width:100%;max-width:460px;margin-inline:auto}.home__rail{margin-top:8px}}@media (width<=700px){.home.dashboard{padding:20px 20px 36px}.home__mobile-header{grid-area:brand;align-items:center;min-height:44px;display:flex}.home__layout{grid-template:"brand counters""main main""rail rail"/minmax(0,1fr) auto;gap:0 12px}.home .home__main{width:100%;padding-top:30px}.home__rail{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%;margin-top:32px;display:grid}.home__counters{justify-content:flex-end;gap:12px;min-height:44px;margin:0}.home__counter{box-sizing:border-box;font-variant-numeric:tabular-nums;justify-content:center;gap:5px;min-width:44px;min-height:44px;font-size:15px}.home__counter .illustrated-icon{flex-shrink:0;width:24px;height:24px}.home__counter .shard{width:22px;height:26px}.home__counter .dashboard__streak-number{font-variant-numeric:tabular-nums;font-size:15px}.home__rail .pro-card,.home__rail .daily-achievements{grid-column:1/-1}.pro-card{grid-template-columns:minmax(0,1fr) 120px}.pro-card__milo{width:140px;height:140px;margin-left:-15px}.pro-card h2{max-width:none;font-size:20px}.home-extra{padding:24px 20px}.shard-card{grid-template-columns:auto minmax(0,1fr);gap:14px}.shard-card__balance{overflow-wrap:anywhere;grid-column:2;margin-left:0}}.cube-view{width:100%;min-width:0}.cube-view>svg{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;width:100%;height:auto;display:block}.cube-view>svg:active{cursor:grabbing}.cube-view>svg:focus-visible,.cube-view button:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:12px}.cube-view__controls{justify-content:center;align-items:center;gap:12px;margin:5px 0 12px;display:flex}.cube-view__controls span{color:var(--muted);font-size:11px}.cube-view__controls button,.case-view__toggle{border:2px solid var(--border);color:var(--text-soft);cursor:pointer;background:0 0;border-radius:9px;padding:7px 12px;font:800 12px Nunito,sans-serif}.case-view{text-align:center;width:100%;max-width:250px}.case-view>svg{width:100%;height:auto;display:block}.case-view__toggle{margin:0 0 10px}.case-view .case-view__grip{color:var(--muted);margin:0 0 10px;font-size:11px;line-height:1.5}.win-streak{border:2px solid var(--border);border-radius:var(--radius-panel);min-width:0;padding:22px}.win-streak__heading{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.win-streak__heading>.illustrated-icon{flex-shrink:0;width:30px;height:30px}.win-streak .win-streak__heading h2{font:900 20px/1.4 var(--heading);margin:0}.win-streak__next{color:var(--pink);font:900 12px/1.5 var(--heading);align-items:center;gap:6px;margin-left:auto;display:inline-flex}.win-streak .shard{width:13px;height:20px}.win-streak__stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:18px 0;display:grid}.win-streak__stats>div{flex-wrap:wrap;align-items:baseline;gap:12px;display:flex}.win-streak__stats strong{font:900 32px/1.2 var(--heading);font-variant-numeric:tabular-nums;color:var(--orange)}.win-streak__stats>div:last-child strong{color:var(--text)}.win-streak__stats span{color:var(--muted);font:800 12px/1.5 var(--heading)}.win-streak__earned{color:var(--success-text);margin-bottom:14px;font-size:13px;line-height:1.6}.win-streak__error{color:var(--error-text);margin-bottom:14px;font-size:13px;line-height:1.6}.win-streak__bonuses{border-top:1px solid var(--border)}.win-streak__bonuses summary{cursor:pointer;min-height:44px;font:900 12px/1.5 var(--heading);color:var(--blue);padding-top:14px}.win-streak__bonuses ul{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0;padding:0;list-style:none;display:grid}.win-streak__bonuses li{border:1px solid var(--border);color:var(--text-soft);border-radius:10px;flex-direction:column;align-items:center;gap:8px;padding:12px 8px;font-size:12px;display:flex}.win-streak__bonuses b{color:var(--pink);align-items:center;gap:6px;font-size:16px;display:flex}.win-streak__bonuses p{color:var(--muted);font-size:12px;line-height:1.7}@media (width<=450px){.win-streak{padding:16px}.win-streak__heading{gap:8px}.win-streak .win-streak__heading h2{font-size:17px}.win-streak__next{font-size:11px}.win-streak__stats>div{flex-direction:column;gap:6px}.win-streak__bonuses ul{grid-template-columns:repeat(2,minmax(0,1fr))}}.brand{letter-spacing:-.04em;flex-shrink:0;align-items:center;gap:11px;font:900 22px Nunito,sans-serif;display:inline-flex;color:var(--text)!important;text-decoration:none!important}.brand__mark{object-fit:contain;flex-shrink:0;width:36px;height:36px;display:block}.brand:focus-visible{outline:2px solid var(--yellow);outline-offset:6px;border-radius:3px}.dashboard__top-row{justify-content:space-between;align-items:center;gap:16px;display:flex}.dashboard__top-row .account-controls{margin:0}@media (width<=560px){.brand{font-size:16px}.dashboard__top-row{gap:10px}}.account-page{background:var(--bg);min-height:100svh;color:var(--text);padding:34px 40px 70px;font-family:Nunito,sans-serif}.account-page *,.account-controls *{box-sizing:border-box}.account-page__top{justify-content:space-between;align-items:center;gap:16px;margin-bottom:8px;display:flex}.account-page__top .page-top-row{width:100%}.account-page a{color:var(--blue);text-decoration:none}.account-page a:hover{text-decoration:underline}.account-page__top>a:last-child{color:var(--text-soft);font-size:14px;font-weight:600}.account-page__brand{letter-spacing:-.04em;align-items:center;gap:11px;font-family:Unbounded,sans-serif;font-size:19px;font-weight:700;display:inline-flex;color:var(--text)!important}.account-page__mark{grid-template-columns:repeat(2,10px);gap:3px;display:grid}.account-page__mark i{border-radius:3px;width:10px;height:10px}.account-card{background:var(--bg);border:2px solid var(--border);border-radius:var(--radius-panel);width:100%;max-width:520px;box-shadow:none;text-align:left;margin:16px auto 0;padding:28px}.account-card__heading{align-items:center;gap:14px;margin-bottom:16px;display:flex}.account-card__heading img{object-fit:contain;flex-shrink:0}.account-card h1{color:var(--text);letter-spacing:-.03em;margin:0;font-family:Nunito,sans-serif;font-size:30px;font-weight:900;line-height:1.2}.account-card__subtitle{color:var(--text-soft);margin:0 0 26px;font-size:14px;line-height:1.6}.account-form{flex-direction:column;gap:20px;display:flex}.account-form label{flex-direction:column;gap:10px;font-size:14px;font-weight:800;display:flex}.account-form input:not([type=radio]){border:2px solid var(--border);border-radius:var(--radius-control);background:var(--surface);width:100%;min-width:0;color:var(--text);font:inherit;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;padding:13px 15px}.account-form input::placeholder{color:var(--muted)}.account-form small{color:var(--text-soft);font-size:12px;font-weight:400;line-height:1.5}.account-button{border:2px solid var(--border);border-radius:var(--radius-control);width:100%;min-height:56px;box-shadow:0 4px 0 var(--border);color:var(--blue);cursor:pointer;letter-spacing:.7px;text-transform:uppercase;background:0 0;padding:13px 20px;font-family:Nunito,sans-serif;font-size:13px;font-weight:900;transition:transform .1s,box-shadow .1s}.account-button:hover:not(:disabled){background:var(--surface)}.account-button:active:not(:disabled){box-shadow:0 1px 0 var(--border);transform:translateY(3px)}.account-button:disabled{opacity:.5;cursor:not-allowed}.account-button--google{color:var(--text);border-color:var(--border);box-shadow:0 4px 0 var(--border);background:0 0}.account-button--google:active:not(:disabled){box-shadow:0 1px 0 var(--border)}.account-divider{color:var(--text-soft);align-items:center;gap:12px;margin:24px 0;font-size:12px;display:flex}.account-divider:before,.account-divider:after{content:"";background:var(--border);flex:1;height:1px}.account-link{align-self:flex-end;font-size:13px}.account-footer{text-align:center;color:var(--text-soft);margin-top:26px;font-size:14px}.account-guest{text-align:center;margin-top:20px;font-size:13px;display:block;color:var(--text-soft)!important}.account-message{border:1px solid var(--border);border-radius:var(--radius-control);color:var(--text-soft);background:var(--bg);overflow-wrap:anywhere;margin:0 0 20px;padding:12px 14px;font-size:13px;line-height:1.6}.account-message--error{border-color:var(--red);color:var(--error-text)}.account-message--success{border-color:var(--green);color:var(--success-text)}.account-preview{align-items:center;gap:15px;margin:24px 0;display:flex}.account-preview__avatar{width:72px;height:72px;color:var(--button-ink);border-radius:50%;flex-shrink:0;place-items:center;font-family:Nunito,sans-serif;font-size:23px;font-weight:900;display:grid}.account-preview strong{overflow-wrap:anywhere;font-family:Nunito,sans-serif;font-size:19px;font-weight:900;display:block}.account-preview small{color:var(--text-soft)}.account-colors{border:0;flex-wrap:wrap;gap:12px;margin:0;padding:0;display:flex}.account-colors legend{margin-bottom:12px;font-size:14px;font-weight:600}.account-colors label{cursor:pointer;position:relative}.account-colors input{opacity:0;width:32px;height:32px;margin:0;position:absolute}.account-colors span{background:var(--avatar-color);border:3px solid #0000;border-radius:50%;width:32px;height:32px;display:block}.account-colors input:checked+span{outline:2px solid var(--text);outline-offset:3px}.account-colors input:focus-visible+span{outline:3px solid var(--blue);outline-offset:3px}.account-email{color:var(--text-soft);overflow-wrap:anywhere;margin-top:26px;font-size:12px}.account-subscription{border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin:24px 0;padding:20px 0}.account-subscription h2{margin:0 0 12px;font:800 18px Nunito,sans-serif}.account-subscription p{color:var(--text-soft);margin:10px 0 0;font-size:12px;line-height:1.6}.billing-portal-action .account-message{margin:12px 0 0}.account-actions{flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:14px;display:flex}.account-text-button{color:var(--blue);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:13px}.account-text-button:disabled{opacity:.5;cursor:not-allowed}.account-danger{border-top:1px solid var(--border);margin-top:26px;padding-top:20px}.account-danger p{margin-top:14px;font-size:13px;line-height:1.6}.account-text-button--danger{color:var(--red)}.account-button--danger{color:var(--button-ink);background:var(--red);border-color:var(--red);box-shadow:0 4px #ad2929}.account-button--danger:hover:not(:disabled){background:var(--red-light)}.account-button--danger:active:not(:disabled){box-shadow:0 1px 0 var(--red-dark)}.account-controls{justify-content:flex-end;align-items:center;gap:14px;font-family:Nunito,sans-serif;font-size:14px;font-weight:800;display:flex}.account-controls a{color:var(--text-soft);text-decoration:none}.account-controls a:hover{color:var(--text)}.account-controls__signup{border:2px solid var(--blue);border-radius:var(--radius-control);background:var(--surface);box-shadow:0 3px 0 var(--button-edge);padding:8px 14px;color:var(--blue)!important}.upgrade-button{border:2px solid var(--pro);border-radius:var(--radius-control);background:var(--pro);min-height:40px;box-shadow:0 4px 0 var(--pro-dark);justify-content:center;align-items:center;padding:12px 20px;font:900 14px Nunito,sans-serif;transition:transform .1s,box-shadow .1s;display:inline-flex;color:#fff!important;text-decoration:none!important}.upgrade-button:hover{background:#6559ff}.upgrade-button:active{box-shadow:0 1px 0 var(--pro-dark);transform:translateY(2px)}.upgrade-button:focus-visible{outline:3px solid var(--blue);outline-offset:4px}.account-upgrade{width:100%;margin:0 0 4px}.account-page :is(input,button,a):focus-visible,.account-controls a:focus-visible{outline:3px solid var(--blue);outline-offset:3px}@media (width<=600px){.account-page{padding:22px 15px 45px}.account-page__top{margin-bottom:32px}.account-page__brand{font-size:16px}.account-page__top>a:last-child{font-size:12px}.account-card{padding:24px 20px}.account-controls{font-size:13px}}.app-shell{text-align:left;grid-template-columns:264px minmax(0,1fr);min-height:100svh;display:grid}.app-sidebar{box-sizing:border-box;border-right:2px solid var(--border);background:var(--bg);z-index:5;flex-direction:column;height:100svh;padding:36px 16px 24px;display:flex;position:sticky;top:0;overflow-y:auto}.app-sidebar__brand{padding:0 12px 34px}.app-sidebar__brand .brand{font:900 32px var(--heading);letter-spacing:-1.5px;gap:10px;color:var(--text)!important}.app-sidebar__brand .brand__mark{width:44px;height:44px}.app-sidebar__nav{flex-direction:column;flex-shrink:0;gap:8px;display:flex}.app-sidebar__link{box-sizing:border-box;min-height:56px;color:var(--text);font:900 14px var(--heading);text-transform:uppercase;letter-spacing:.65px;border:2px solid #0000;border-radius:12px;align-items:center;gap:18px;padding:8px 14px;text-decoration:none;transition:background .12s,border-color .12s;display:flex}.app-sidebar__link:hover{background:var(--surface)}.app-sidebar__link.is-active{color:var(--blue);background:#202f36;border-color:#3b8fab}.app-sidebar__link .illustrated-icon{flex:0 0 32px}.app-sidebar__avatar{width:32px;height:32px;color:var(--button-ink);font:900 13px var(--heading);letter-spacing:0;border-radius:50%;flex:0 0 32px;place-items:center;display:grid}.app-shell__content{width:100%;min-width:0;max-width:1280px;margin:0 auto}.app-shell--home .app-shell__content{max-width:none}.app-shell .page-top-row,.app-shell .account-page__top{display:none}@media (width<=1150px){.app-shell{grid-template-columns:232px minmax(0,1fr)}.app-sidebar{padding-inline:12px}.app-sidebar__link{gap:12px;padding-inline:10px;font-size:12px}.app-sidebar__brand .brand{font-size:28px}}@media (width<=900px) and (width>=701px){.app-shell{grid-template-columns:96px minmax(0,1fr)}.app-sidebar{padding:28px 12px}.app-sidebar__brand{text-align:center;padding:0 0 28px}.app-sidebar__brand .brand>span:last-child,.app-sidebar__label{display:none}.app-sidebar__link{justify-content:center;padding:8px}.app-sidebar__link .illustrated-icon{width:32px}}@media (width<=700px){.app-shell{padding-bottom:82px;display:block}.app-sidebar{width:100%;height:74px;padding:5px 8px max(5px, env(safe-area-inset-bottom));border-right:0;border-top:2px solid var(--border);position:fixed;top:auto;bottom:0}.app-sidebar__brand{display:none}.app-sidebar__nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;display:grid}.app-sidebar__link{letter-spacing:.3px;flex-direction:column;justify-content:center;gap:1px;min-height:60px;padding:4px 0;font-size:9px}.app-sidebar__label{display:none}.app-sidebar__link .illustrated-icon{flex-basis:27px;width:27px;height:27px}.app-sidebar__avatar{flex-basis:27px;width:27px;height:27px;font-size:11px}.app-shell .page-top-row{justify-content:space-between;align-items:center;gap:16px;display:flex}.app-shell .account-page__top{display:flex}}.app-shell .app-page{box-sizing:border-box;background:var(--bg);width:100%;max-width:1120px;min-height:100svh;color:var(--text);font-family:var(--heading);text-align:left;flex-direction:column;gap:24px;margin:0 auto;padding:32px 48px 56px;display:flex}.app-page *,.app-page :before,.app-page :after{box-sizing:border-box}.app-page>.page-top-row{min-height:44px}.app-page .page-heading{align-items:center;gap:16px;min-width:0;margin:8px 0 12px;display:flex}.app-page .page-heading h1{font:900 32px/1.2 var(--heading);letter-spacing:-.7px;text-align:left;overflow-wrap:anywhere;margin:0}.page-heading__icon{border:2px solid var(--border);background:var(--bg);border-radius:16px;flex:0 0 56px;place-items:center;width:56px;height:56px;display:grid}.page-heading__icon>.illustrated-icon{width:36px;height:36px}.page-heading__icon>img{object-fit:contain}.app-page>.home-card{width:100%;max-width:680px;margin-inline:auto}.app-page .dashboard__cube-panel{min-width:0}.app-page .dashboard__cube-controls{gap:12px}.app-page .dashboard__cube-help summary{padding-block:6px}.app-page .dashboard__cube-help p{line-height:1.7}.app-page :is(.dashboard__cube-button,.algset__practice-button,.learning-drill__button,.case-view__toggle,.cube-view__controls button){box-shadow:0 4px 0 var(--border)}.app-page :is(.dashboard__cube-button,.algset__practice-button,.learning-drill__button,.case-view__toggle,.cube-view__controls button):active:not(:disabled){box-shadow:0 1px 0 var(--border);transform:translateY(3px)}.app-page :is(.practice__table,.races__table) tbody tr:hover{background:var(--surface)}.app-page .races__own-row{background:#202f36}@media (width<=1200px){.app-shell .app-page{padding:28px 30px 48px}}@media (width<=1050px){.app-shell .app-page{padding-inline:24px}}@media (width<=700px){.app-shell .app-page{gap:20px;padding:20px 20px 36px}.app-page .page-heading{gap:12px;margin:8px 0}.app-page .page-heading h1{font-size:27px}.page-heading__icon{border-radius:13px;flex-basis:48px;width:48px;height:48px}.page-heading__icon>.illustrated-icon{width:32px;height:32px}}.app-page.shop-page>.shard-card{max-width:none}.shop-message{border:2px solid var(--border);border-radius:var(--radius-control);color:var(--text-soft);padding:14px 16px;font-size:13px;line-height:1.6}.shop-message--error{color:var(--error-text)}.shop-message--success{color:var(--success-text);border-color:#477732}.shop-message .account-text-button{margin-top:8px}.shop-guest{color:var(--muted);font-size:12px;line-height:1.7}.shop-storefront{flex-direction:column;gap:24px;min-width:0;display:flex}.shop-section-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.shop-section-heading h2{font:900 21px/1.3 var(--heading);margin:0}.shop-section-heading p{color:var(--muted);margin-top:6px;font-size:13px}.shop-view-all{min-height:44px;color:var(--blue);font:900 12px/1.4 var(--heading);cursor:pointer;background:0 0;border:0;flex-shrink:0;padding:10px 4px}.shop-view-all:disabled{color:var(--muted)}.shop-categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.shop-category{border:2px solid var(--border);border-radius:var(--radius-control);min-height:80px;box-shadow:0 3px 0 var(--border);color:var(--text);font:900 13px/1.4 var(--heading);cursor:pointer;background:0 0;justify-content:center;align-items:center;gap:12px;padding:16px;display:flex}.shop-category:hover{background:var(--surface)}.shop-category:active{box-shadow:0 1px 0 var(--border);transform:translateY(2px)}.shop-category.is-selected{background:var(--surface);color:var(--blue);border-color:#3b8fab;box-shadow:0 3px #3b8fab}.shop-category .illustrated-icon{flex-shrink:0;width:34px;height:34px}.shop-filter-status{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.shop-section{flex-direction:column;gap:18px;margin-top:8px;display:flex}.shop-stock{border:1px solid var(--border);color:#8fdfff;font:900 12px/1.4 var(--heading);white-space:nowrap;border-radius:8px;padding:8px 10px}.shop-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.shop-section--freezes .shop-items{grid-template-columns:1fr}.shop-item{border:2px solid var(--border);border-radius:var(--radius-panel);flex-direction:column;min-width:0;display:flex;overflow:hidden}.shop-item__art{background:var(--surface);border-bottom:2px solid var(--border);place-items:center;height:160px;display:grid;position:relative;overflow:hidden}.shop-item__art>.illustrated-icon{width:78px;height:78px}.shop-item__art--freezes{background:#19343e}.shop-item__art--celebrations{background:#2a2640}.shop-item__preview-label{color:#cdb9ff;font:900 10px var(--heading);text-transform:uppercase;letter-spacing:.6px;border:1px solid #5b5279;border-radius:6px;padding:4px 8px;position:absolute;top:14px;right:14px}.shop-item__body{flex-direction:column;flex:1;gap:8px;padding:20px;display:flex}.shop-item__body h3{font:900 18px/1.4 var(--heading);margin:0}.shop-item__body>p{color:var(--text-soft);font-size:13px;line-height:1.7}.shop-item__body>.shop-item__note{color:var(--muted);font-size:11px}.shop-item__footer{justify-content:space-between;align-items:flex-start;gap:16px;margin-top:auto;padding-top:14px;display:flex}.shop-item__price{color:var(--pink);font:900 17px/44px var(--heading);font-variant-numeric:tabular-nums;align-items:center;gap:6px;display:inline-flex}.shop-item__price .shard{width:17px;height:24px}.shop-item__action{flex-direction:column;align-items:flex-end;gap:8px;min-width:0;display:flex}.shop-buy{border:2px solid var(--border);min-height:44px;box-shadow:0 3px 0 var(--border);color:var(--blue);font:900 12px/1.4 var(--heading);cursor:pointer;text-align:center;background:0 0;border-radius:10px;justify-content:center;align-items:center;padding:9px 16px;text-decoration:none;display:inline-flex}.shop-buy:hover:not(:disabled){background:var(--surface)}.shop-buy:active:not(:disabled){box-shadow:0 1px 0 var(--border);transform:translateY(2px)}.shop-buy:disabled{color:var(--muted)}.shop-buy.is-equipped{color:var(--green)}.shop-item__remaining{color:var(--muted);text-align:right;font-size:10px;line-height:1.5}.shop-item__soon{min-height:44px;font:900 12px var(--heading);color:#b9a8da;align-items:center;display:inline-flex}.shop-profile-preview{align-items:center;gap:10px;display:flex;position:absolute;bottom:18px;left:18px;right:18px}.shop-profile-preview>span{border:3px solid var(--bg);width:42px;height:42px;color:var(--button-ink);font:900 14px var(--heading);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.shop-profile-preview>b{color:var(--text);font:900 13px/1.4 var(--heading);overflow-wrap:anywhere;background:#131f24e6;border-radius:6px;min-width:0;padding:5px 8px}.shop-section--freezes .shop-item{grid-template-columns:160px minmax(0,1fr);display:grid}.shop-section--freezes .shop-item__art{border-bottom:0;border-right:2px solid var(--border);height:100%;min-height:220px}@media (width<=1050px){.shop-category{text-align:center;flex-direction:column;gap:8px;padding:14px 8px}}@media (width<=700px){.shop-page .shard-card{grid-template-columns:auto minmax(0,1fr) auto;gap:12px;padding:16px}.shop-page .shard-card>.shard{width:26px;height:36px}.shop-page .shard-card h2{font-size:17px}.shop-page .shard-card p{font-size:12px}.shop-page .shard-card__balance{grid-column:auto;margin-left:auto;font-size:26px}.shop-category{overflow-wrap:anywhere;padding:12px 6px;font-size:12px}.shop-categories{gap:8px}.shop-category .illustrated-icon{width:30px;height:30px}.shop-items{grid-template-columns:1fr;gap:16px}.shop-item__art{height:152px}.shop-item__body{padding:18px}.shop-section-heading h2{font-size:19px}.shop-section--freezes .shop-item{grid-template-columns:1fr}.shop-section--freezes .shop-item__art{border-right:0;border-bottom:2px solid var(--border);height:128px;min-height:0}}
