@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url("./media/inter-latin-400-ZFCF7WBR.woff2") format("woff2")}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url("./media/inter-latin-ext-400-H2BOJKIE.woff2") format("woff2");unicode-range:U+0100-024F,U+1E00-1EFF,U+0300-036F}@font-face{font-family:Inter;font-style:normal;font-weight:600 900;font-display:swap;src:url("./media/inter-latin-600-33UJBEZG.woff2") format("woff2")}@font-face{font-family:Inter;font-style:normal;font-weight:600 900;font-display:swap;src:url("./media/inter-latin-ext-600-RY2SHYDU.woff2") format("woff2");unicode-range:U+0100-024F,U+1E00-1EFF,U+0300-036F}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:400 500;font-display:swap;src:url("./media/jetbrains-mono-latin-400-XBSOWAWQ.woff2") format("woff2")}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:400 500;font-display:swap;src:url("./media/jetbrains-mono-latin-ext-400-MAO3VIIK.woff2") format("woff2");unicode-range:U+0100-024F,U+1E00-1EFF,U+0300-036F}.typing-session-header{display:flex;align-items:center;justify-content:space-between;margin:23px 0 18px}.typing-session-header h1{font-size:25px;margin:4px 0 2px;letter-spacing:-.8px}.typing-session-header p{margin:0;color:var(--muted);font-size:10px}.typing-clock{display:grid;justify-items:end;gap:1px}.typing-clock strong{font-size:28px;line-height:1;color:#c7ccff;font-variant-numeric:tabular-nums}.typing-clock span{font-size:10px;color:var(--warning)}.typing-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:14px;padding:0;background:#20222d}.typing-metrics>div{display:flex;align-items:center;gap:5px;padding:0 2px}.typing-metrics small{font-size:11px;color:var(--muted)}.typing-metrics b{font-size:13px;color:var(--success);font-variant-numeric:tabular-nums}.typing-code{min-height:208px;padding:23px 26px}.typing-code pre{font-size:16px!important;line-height:1.8}.typing-hint{margin-bottom:0}.typing-support-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,1fr);gap:14px;margin-top:14px}.typing-keyboard-card,.typing-tip{min-height:154px;padding:17px!important}.typing-tip .eyebrow{color:#9daaff}.typing-tip p{color:#d3d7e9;font-size:12px;line-height:1.7;margin:10px 0}.typing-tip>span{font-size:9px;color:var(--muted)}.virtual-keyboard{max-width:100%;gap:7px}.virtual-keyboard .key-row{gap:6px}.virtual-keyboard .key{height:32px;min-width:0;flex:1;border-radius:8px;font-size:11px;background:linear-gradient(180deg,#30354a,#252a3a);border-color:#536092;color:#e4e7f3;box-shadow:0 2px #181b28}.virtual-keyboard .key-number{background:linear-gradient(180deg,#494032,#35302a);border-color:#9f7f3d;color:#f3cf76}.virtual-keyboard .key-symbol{background:linear-gradient(180deg,#24423e,#1e3434);border-color:#398773;color:#83e1ba}.virtual-keyboard .key-next{background:linear-gradient(180deg,#2e986f,#247958);border-color:#6de0a9;color:#fff;box-shadow:0 0 12px #42d39155}.virtual-keyboard .key-space{flex:6;height:34px;background:linear-gradient(180deg,#563c77,#412d61);border-color:#9871c8;color:#e5cef9}.virtual-keyboard .key-enter{flex:1.3}.result-card{margin-top:13px}@media(max-width:1100px){.typing-support-grid{grid-template-columns:1fr}.typing-code{min-height:180px}}.typing-session-controls{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin:0 0 12px;animation:control-in .22s ease-out}.typing-active-label{color:var(--muted);font-size:13px}.typing-session-controls .button{font-size:13px;padding:10px 15px}.typing-metrics>div{padding:13px 15px;display:grid;gap:8px}.typing-metrics small{font-size:12px}.typing-metrics b{font-size:21px}.typing-code pre{font-size:16px;line-height:2.05}.typing-hint{font-size:12px}.typing-tip p{font-size:15px!important;line-height:1.7}.key{min-width:31px;height:31px;font-size:12px}@keyframes control-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.typing-session-controls{animation:none}}.nav-item.battle-nav:not(.active){border:1px solid #287b61;color:#5fd49a;background:#191f26}.nav-item.battle-nav:not(.active) svg{color:#5fd49a}.stats-layout-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(330px,1fr);gap:14px;align-items:start}.stats-column{display:grid;align-content:start;gap:14px}.stats-summary h3,.stats-heatmap h3,.stats-error-ranking h3{margin:0 0 12px}.stats-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.stats-summary-grid>div{min-height:68px;padding:10px;background:#282a39;border-radius:8px;display:flex;flex-direction:column;justify-content:space-between;gap:7px}.stats-summary-grid span{font-size:9px;line-height:1.35;color:var(--muted)}.stats-summary-grid strong{font-size:14px;color:#9eabff;white-space:nowrap}.stats-heatmap .muted{margin:0}.stats-error-ranking .error-ranking{gap:6px}.stats-error-ranking .error-ranking>div{display:grid;grid-template-columns:minmax(54px,.3fr) minmax(70px,1fr) 35px;align-items:center;gap:9px;border:0;padding:4px 0}.stats-error-ranking .error-ranking b{padding:5px 7px;border-radius:6px;background:#292c39;color:#e5e7f2;font-size:10px;text-align:center;overflow:hidden;text-overflow:ellipsis}.stats-error-ranking .error-ranking .progress-track{height:7px;background:#333645}.stats-error-ranking .error-ranking .progress-track span{background:linear-gradient(90deg,#7b8cff,#5fd49a)}.stats-error-ranking .error-ranking>div>span{font-size:10px;color:var(--text);text-align:right}.stats-chart .card-title-row{align-items:flex-start;gap:8px}.stats-chart .card-title-row h3{margin:0}.stats-chart .card-title-row .muted{font-size:8px;text-align:right}.stats-chart .chart-wrap{height:215px}.chart-legend{display:flex;gap:14px;color:var(--muted);font-size:9px;margin-top:5px}.chart-legend span{display:flex;align-items:center;gap:5px}.chart-legend i{display:inline-block;width:8px;height:8px;border-radius:50%}.legend-wpm{background:#7b8cff}.legend-accuracy{background:#5fd49a}.heat-row span.heat-wide{min-width:58px;padding:0 10px;font:11px Inter,sans-serif}.heatmap-legend{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:12px;color:var(--muted);font-size:10px}.heatmap-legend i{width:82px;height:9px;border-radius:99px;background:linear-gradient(90deg,#252733,#ff8a8a)}.settings-page-stack{display:grid;gap:14px;max-width:720px}.profile-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end}.profile-form label{display:grid;gap:6px;color:#d9dbea;font-size:11px}.profile-form input{background:#171821;border:1px solid #383b4b;border-radius:6px;color:var(--text);padding:9px 10px;font-size:10px}.profile-form .button{grid-column:1/-1;justify-self:start}@media(max-width:1100px){.stats-layout-grid{grid-template-columns:minmax(0,1fr)}.stats-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.startup-screen{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:14px;color:var(--muted)}.startup-screen .brand-mark{width:48px;height:48px;font:750 17px Inter,sans-serif;letter-spacing:-1px}.startup-screen p{font-size:14px}.public-content{min-height:100vh}.auth-page{--auth-bg:#14151c;--auth-panel:#191a23;--auth-input:#171821;--auth-border:#2b2e3d;--auth-border-strong:#383b4b;--auth-text:#e8e9f0;--auth-muted:#a9aec2;--auth-dim:#858ba5;--auth-accent:#4f61e8;--auth-accent-hover:#6877f2;--auth-link:#9ba8ff;--auth-violet:#aa91ff;--auth-code:#101117;width:100%;height:100dvh;min-height:620px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(430px,.92fr);padding:0;background:var(--auth-bg);color:var(--auth-text);color-scheme:dark;overflow:hidden}.auth-story{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;min-width:0;padding:clamp(26px,5vh,54px) clamp(30px,5.2vw,82px);background:radial-gradient(ellipse at 54% 48%,#4f61e81a,transparent 54%),#14151c;color:var(--auth-text);overflow:hidden;animation:auth-story-enter .55s cubic-bezier(.2,.8,.2,1) both}.auth-story:before{position:absolute;z-index:-1;right:-8%;top:-6%;content:"</>";color:#a8b1ff;font:800 clamp(180px,25vw,390px)/1 var(--mono);letter-spacing:-.16em;opacity:.035;transform:rotate(-10deg)}.auth-story:after{position:absolute;z-index:-1;right:9%;bottom:18%;width:210px;height:210px;border:1px solid #7b8cff36;border-radius:50%;content:"";box-shadow:0 0 0 24px #7b8cff0a,0 0 0 49px #7b8cff08;animation:auth-orbit 16s ease-in-out infinite alternate}.auth-story-brand{display:flex;align-items:center;gap:11px;color:var(--auth-text);font-size:18px;font-weight:750;letter-spacing:-.7px}.auth-story-brand>.brand-mark{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(145deg,#6978ff,#4f61e8);color:#fff;font:800 13px var(--mono);letter-spacing:-1px;box-shadow:0 5px 16px #4f61e84a;transform:rotate(-3deg)}.auth-story-brand>span:nth-child(2)>span{color:var(--auth-link)}.auth-story-brand small{margin-left:auto;color:#858ba5;font:700 8px var(--mono);letter-spacing:.8px}.auth-story-main{width:min(100%,680px);margin:auto 0;padding:34px 0}.story-kicker{margin:0 0 18px;color:#a8b1ff;font:700 9px var(--mono);letter-spacing:1.25px}.auth-story-main h2{max-width:740px;margin:0;color:var(--auth-text);font-size:clamp(42px,5.2vw,76px);font-weight:720;line-height:.97;letter-spacing:-.075em}.auth-story-main h2 em{color:var(--auth-violet);font-style:normal}.story-description{max-width:470px;margin:20px 0 23px;color:#b9bfd1;font-size:14px;line-height:1.7}.story-demo{max-width:540px;padding:13px 15px 10px;border:1px solid #ffffff1b;background:#101117bb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.story-demo-top,.story-demo-bottom{display:flex;align-items:center;justify-content:space-between;color:#858ba5;font:700 7px var(--mono);letter-spacing:.7px}.story-demo-code{display:flex;align-items:center;gap:14px;min-height:52px;margin:9px 0;border-top:1px solid #ffffff18;border-bottom:1px solid #ffffff18;font:14px var(--mono)}.story-demo-code>span{color:#7b8cff;font-size:9px}.story-demo-code code{color:#d8dcfa}.story-demo-code b{color:#c3e88d;font-weight:500}.story-demo-code i{width:2px;height:17px;margin-left:-12px;background:#9ba8ff;animation:auth-caret 1s steps(2,start) infinite}.story-demo-bottom span:nth-child(2){color:#a8b1ff}.story-demo-bottom span:last-child{color:#5fd49a}.story-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:600px;margin-top:24px}.story-benefits>div{display:flex;gap:8px;align-items:flex-start;border-top:1px solid #ffffff32;padding-top:9px}.story-benefits>div>span{color:#a8b1ff;font:700 8px var(--mono)}.story-benefits p{margin:0;color:#c7cada;font-size:9px;line-height:1.45}.auth-story-foot{display:flex;justify-content:space-between;border-top:1px solid #ffffff20;padding-top:11px;color:#858ba5;font:700 7px var(--mono);letter-spacing:.7px}.auth-form-side{min-width:0;min-height:0;display:grid;place-items:center;padding:clamp(30px,5vh,52px) clamp(34px,7vw,112px);overflow-y:auto;background:linear-gradient(145deg,#191a23,#171821);animation:auth-form-enter .55s cubic-bezier(.2,.8,.2,1) .08s both}.auth-form-wrap{width:min(100%,430px);margin:auto}.auth-form-context{display:flex;align-items:center;gap:8px;margin-bottom:30px;color:#858ba5;font:700 8px var(--mono);letter-spacing:1px}.auth-form-context>span:last-child{margin-left:auto;color:#9ba8ff;font-size:13px}.context-dot{width:7px;height:7px;border-radius:50%;background:#5fd49a;box-shadow:0 0 0 4px #5fd49a1c;animation:auth-dot-pulse 2.8s ease-in-out infinite}.auth-card{width:100%;padding:0;animation:auth-enter .32s cubic-bezier(.2,.8,.2,1)}.auth-card .eyebrow{margin:0;color:#a8b1ff;font-size:9px;letter-spacing:1.55px}.auth-card h1{margin:11px 0 7px;color:var(--auth-text);font-size:clamp(30px,3vw,38px);font-weight:720;line-height:1.1;letter-spacing:-1.8px}.auth-intro{margin:0;color:#b9bfd1;font-size:13px;line-height:1.55}.required-note{margin:21px 0 12px;color:#a9aec2;font-size:10px}.auth-card form{display:grid;gap:7px}.auth-card label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:5px;color:#dfe2f4;font-size:12px;font-weight:650}.required-marker{color:#858ba5;font-size:9px;font-weight:450}.auth-card input{width:100%;min-height:43px;background:#171821;border:1px solid #383b4b;border-radius:7px;color:#e8e9f0;padding:10px 12px;font-size:13px;transition:border-color .18s,box-shadow .18s,background .18s}.auth-card input:focus{border-color:#7b8cff;box-shadow:0 0 0 3px #7b8cff27;background:#1a1c27;outline:0}.field-hint{margin-top:-2px;color:#a9aec2;font-size:9px;line-height:1.4}.auth-submit{display:flex;width:100%;min-height:47px;justify-content:space-between;margin-top:10px;padding:0 15px;border:0;border-radius:9px;background:linear-gradient(110deg,#4f61e8,#7654d2);color:#fff;font-size:12px;font-weight:700;text-decoration:none;box-shadow:0 7px 18px #4f61e83d;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.auth-submit:hover{background:linear-gradient(110deg,#6877f2,#896be0);box-shadow:0 11px 25px #4f61e855;transform:translateY(-2px)}.auth-submit span{font-size:17px}.auth-submit:disabled{opacity:1;cursor:not-allowed;transform:none}.auth-error{margin:5px 0 0;padding:10px 12px;border:1px solid #ff8a8a55;border-radius:7px;background:#ff8a8a12;color:#faa;font-size:11px;line-height:1.45}.auth-switch{display:block;margin:16px 0 0;padding:0;border:0;background:none;color:#9ba8ff;font-size:11px;text-decoration:underline;text-decoration-color:#535a81;text-underline-offset:4px;cursor:pointer;transition:color .18s,transform .18s}.auth-switch:hover{color:#c1a9ff;transform:translate(2px)}.auth-form-foot{display:flex;justify-content:space-between;gap:16px;margin-top:28px;padding-top:12px;border-top:1px solid #2b2e3d;color:#858ba5;font:700 7px var(--mono);letter-spacing:.6px}.startup-screen .brand-mark{animation:mark-breathe 1.5s ease-in-out infinite}@keyframes auth-enter{0%{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes auth-story-enter{0%{opacity:0;transform:translate(-12px)}to{opacity:1;transform:translate(0)}}@keyframes auth-form-enter{0%{opacity:0;transform:translate(12px)}to{opacity:1;transform:translate(0)}}@keyframes auth-dot-pulse{50%{box-shadow:0 0 0 6px #5fd49a0b}}@keyframes auth-orbit{to{transform:translate(-18px,-11px) scale(1.06);border-color:#9ba8ff66}}@keyframes auth-caret{to{visibility:hidden}}@media(max-width:980px)and (min-width:821px){.auth-page{grid-template-columns:minmax(0,1fr) minmax(390px,.94fr)}.auth-story{padding-right:34px;padding-left:34px}.auth-story-main h2{font-size:clamp(42px,5vw,58px)}.auth-form-side{padding-right:40px;padding-left:40px}.story-benefits{gap:8px}}@media(max-width:820px){.auth-page{height:auto;min-height:100svh;grid-template-columns:1fr;overflow:visible}.auth-story{gap:16px;padding:18px 24px 17px}.auth-story-brand{font-size:15px}.auth-story-brand>.brand-mark{width:29px;height:29px}.auth-story-main{width:100%;margin:0;padding:8px 0 0}.story-kicker{margin-bottom:9px;font-size:7px}.auth-story-main h2{font-size:clamp(30px,7vw,43px);line-height:.98}.story-description{max-width:680px;margin:10px 0 0;font-size:11px;line-height:1.55}.story-demo,.story-benefits,.auth-story-foot{display:none}.auth-form-side{padding:27px 24px 28px}.auth-form-wrap{width:min(100%,460px)}.auth-form-context{margin-bottom:18px}.auth-card h1{font-size:30px}.required-note{margin:17px 0 9px}}@media(max-width:480px){.auth-story{padding:15px 19px 16px}.auth-form-side{padding:23px 20px 25px}.auth-form-context{margin-bottom:16px}.auth-card h1{font-size:28px}.auth-card input{min-height:42px}.auth-form-foot{margin-top:22px}}@media(max-height:690px)and (min-width:821px){.auth-page{height:auto;min-height:100vh;overflow-y:auto}.auth-story{min-height:690px}.auth-form-side{overflow-y:visible;padding-top:25px;padding-bottom:25px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}.app-shell .page-heading h1,.app-shell .typing-session-header h1{font-size:clamp(32px,3vw,40px);line-height:1.14;letter-spacing:-1.25px}.brand{color:inherit;text-decoration:none}.app-shell .page-heading p,.app-shell .typing-session-header p{font-size:15px;line-height:1.55}.app-shell .eyebrow{font-size:11px;letter-spacing:1.5px}.app-shell .card{padding:23px;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.app-shell .card h3{font-size:17px;line-height:1.35}.app-shell .muted,.app-shell .stat-foot{font-size:13px;line-height:1.45}.app-shell .stat-card>strong{font-size:32px}.app-shell .nav-item{font-size:14px;min-height:46px}.app-shell .side-label{font-size:11px}.app-shell .profile-copy strong{font-size:13px}.app-shell .profile-copy span{font-size:11px;line-height:1.35}.app-shell .button{font-size:13px;padding:11px 15px;transition:transform .18s ease,filter .18s ease,box-shadow .18s ease}.app-shell .button:active{transform:translateY(1px) scale(.985)}.app-shell .card:hover{border-color:#3a3f55;box-shadow:0 9px 27px #0002}.app-shell .lesson-card:hover,.app-shell .feature-card:hover{transform:translateY(-3px)}.app-shell .header-streak{font-size:13px;gap:9px}.app-shell .header-streak strong{font-size:13px}.streak-mark{width:24px;height:24px;display:grid;place-items:center;border-radius:7px;background:#e8c15a1e;color:var(--warning);font:700 12px var(--mono)}.app-shell .lesson-card h3{font-size:17px}.app-shell .lesson-card pre{font-size:12px;line-height:1.75}.app-shell .lesson-card-foot{font-size:12px}.app-shell .typing-code pre{font-size:17px;line-height:2.1}.app-shell .typing-hint{font-size:13px}.app-shell .typing-metrics small{font-size:12px}.app-shell .typing-metrics b{font-size:22px}.app-shell .battle-live h2{font-size:21px}.app-shell .battle-player-top{font-size:13px}.app-shell .battle-player-top span,.app-shell .battle-player-stats{font-size:12px}.app-shell .friend-row strong,.app-shell .friend-requests>strong{font-size:13px}.app-shell .friend-row small,.app-shell .friend-requests>div{font-size:11px}.app-shell .settings-form>label{font-size:13px}.app-shell .settings-form input:not([type=checkbox]):not([type=range]),.app-shell .settings-form select{font-size:13px;min-height:42px}.app-shell .activity-row,.app-shell .reference-activity .card-title-row a{font-size:12px}.app-shell .reference-next h2{font-size:20px}.app-shell .reference-next>p{font-size:14px}.app-shell .reference-path-row strong{font-size:13px}.app-shell .reference-path-row small{font-size:11px}.app-shell .reference-challenge h3{font-size:17px}.app-shell .reference-challenge p{font-size:13px;line-height:1.55}.app-shell .chart-card .muted{font-size:13px}@media(max-width:1000px){.app-shell .main-content{padding:32px 24px 48px}.app-shell .sidebar{width:200px}.app-shell .main-content{margin-left:200px}}@media(max-width:900px){body{min-width:320px}}@media(prefers-reduced-motion:reduce){.app-shell .card,.app-shell .button{transition:none}}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#e8e9f0;background:#14151c;font-synthesis:none;text-rendering:optimizeLegibility;--bg:#14151c;--sidebar:#191a23;--card:#1e2029;--border:#2b2e3d;--active:#272a3a;--accent:#4f61e8;--link:#7b8cff;--text:#e8e9f0;--muted:#a9aec2;--success:#5fd49a;--error:#ff8a8a;--warning:#e8c15a;--code:#101117;--mono:"JetBrains Mono",ui-monospace,monospace}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{color:inherit}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:220px;background:var(--sidebar);border-right:1px solid #222430;padding:28px 14px 16px;display:flex;flex-direction:column;z-index:2}.brand{height:42px;display:flex;align-items:center;gap:10px;padding-left:12px;font-weight:800;font-size:18px;letter-spacing:-.6px}.brand-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--accent);color:#fff}.brand-accent{color:var(--link)}.side-label{font-size:10px;font-weight:700;color:#777d94;letter-spacing:1.15px;margin:32px 12px 12px}.sidebar nav{display:grid;gap:5px}.nav-item{height:42px;border-radius:8px;padding:0 12px;display:flex;align-items:center;gap:11px;color:var(--muted);text-decoration:none;font-size:12px;font-weight:550;transition:background .15s,color .15s}.nav-item:hover{background:#222430;color:var(--text)}.nav-item.active{background:var(--active);color:#fff}.nav-item.active svg{color:#9ca8ff}.live-dot{width:7px;height:7px;background:#5fd49a;border-radius:50%;margin-left:auto;box-shadow:0 0 8px #5fd49a66}.sidebar-spacer{flex:1}.profile{border-top:1px solid #2b2d38;padding:16px 5px 3px;display:flex;align-items:center;gap:10px}.avatar{width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,#4f61e8,#a076db);display:grid;place-items:center;font-weight:700}.profile-copy{display:grid;gap:4px;min-width:0;flex:1}.profile-copy strong{font-size:11px}.profile-copy span{font-size:9px;color:var(--muted)}.icon-button{background:none;border:0;color:var(--muted);padding:4px;cursor:pointer}.main-content{margin-left:220px;padding:48px clamp(34px,5vw,80px) 60px;max-width:1600px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.15px;color:#858ba5}.page-heading h1,.typing-heading h1{font-size:29px;line-height:1.2;margin:8px 0;letter-spacing:-1.1px}.page-heading p,.typing-heading p{font-size:12px;color:var(--muted);margin:0}.header-streak{display:flex;align-items:center;gap:7px;background:var(--card);border:1px solid var(--border);padding:10px 13px;border-radius:10px;font-size:11px;color:var(--warning)}.header-streak strong{color:var(--text);font-size:10px}.welcome-row{display:flex;align-items:center;justify-content:space-between;margin:2px 0 15px}.welcome-row h2{font-size:16px;letter-spacing:-.3px;margin:0}.stat-pill{display:flex;gap:7px;align-items:center;background:#1e2029;padding:8px 11px;border-radius:9px;border:1px solid var(--border);font-size:11px}.stat-pill>span{color:var(--warning);display:flex}.stat-pill small{color:var(--muted)}.stat-pill b{color:var(--text)}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:16px}.card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:20px}.stat-card{min-height:137px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}.muted{color:var(--muted);font-size:10px}.stat-card>strong{font-size:26px;line-height:1;letter-spacing:-.8px}.stat-card>strong small{font-size:11px;font-weight:500;color:var(--muted);margin-left:5px}.stat-foot{font-size:9px;color:#858ba0}.stat-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:9px}.stat-icon.purple{color:#a8a4ff;background:#7971fa22}.stat-icon.green{color:var(--success);background:#5fd49a1d}.stat-icon.amber{color:var(--warning);background:#e8c15a1e}.dashboard-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:15px}.card-top,.next-footer,.card-title-row,.lesson-card-top,.lesson-card-foot,.lesson-toolbar{display:flex;align-items:center;justify-content:space-between}.next-card{padding:22px}.next-card h3,.card h3{font-size:14px;margin:7px 0;letter-spacing:-.3px}.next-card>p{font-size:10px;color:var(--muted);margin:4px 0 14px}.language-tag{font-size:9px;font-weight:600;color:#b2bbff;background:#4f61e81b;border:1px solid #4f61e838;border-radius:6px;padding:5px 8px}.lesson-preview{background:var(--code);border:1px solid #282b38;border-radius:8px;padding:15px 13px;min-height:76px;display:flex;align-items:center;margin-bottom:17px}.lesson-preview code{font:12px var(--mono);color:#d8dcfa}.next-footer{border-top:1px solid var(--border);padding-top:15px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:8px;padding:9px 12px;font-size:10px;font-weight:650;cursor:pointer;transition:transform .15s,filter .15s}.button:hover{filter:brightness(1.12);transform:translateY(-1px)}.button:focus-visible,.nav-item:focus-visible,.tab:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--link);outline-offset:2px}.button.primary{background:var(--accent);color:#fff}.button.secondary{background:#292c3c;border-color:#373b50;color:#dfe2f4}.stack{display:grid;gap:13px}.stack>.card{padding:18px}.card-title-row h3{margin:0}.path-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #2b2d38}.path-row:last-child{border-bottom:0;padding-bottom:0}.path-number{width:24px;height:24px;border:1px solid #44475a;border-radius:8px;display:grid;place-items:center;font-size:10px;color:var(--muted)}.path-number.path-current{background:#4f61e822;color:#b4bdff;border-color:#4f61e866}.path-row>div{display:grid;gap:3px;flex:1}.path-row strong{font-size:10px}.path-row small,.path-status{font-size:9px;color:var(--muted)}.challenge{display:flex;gap:12px;align-items:flex-start;padding:15px!important}.challenge-icon{background:#e8c15a22;color:var(--warning);width:29px;height:29px;border-radius:8px;display:grid;place-items:center}.challenge .eyebrow{margin:1px 0 5px}.challenge strong{font-size:10px}.challenge p{font-size:9px;color:var(--muted);margin:5px 0 0}.language-tabs,.filter-tabs{display:flex;align-items:center;gap:8px;margin:0 0 18px}.language-tabs .muted{margin-left:auto}.tab,.filter-tabs button{border:1px solid transparent;color:var(--muted);background:transparent;padding:8px 12px;border-radius:7px;font-size:10px;cursor:pointer}.tab.active,.filter-tabs button.selected{color:#fff;background:var(--active);border-color:#3a3e55}.lesson-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.lesson-grid>a{text-decoration:none;color:inherit}.lesson-card{height:100%;padding:18px;transition:transform .15s,border-color .15s}.lesson-card:hover{transform:translateY(-2px);border-color:#50577c}.lesson-card-top{margin-bottom:16px}.lesson-card .eyebrow{margin:0}.lesson-card h3{font-size:14px;margin:6px 0 12px}.lesson-card pre{font:10px/1.7 var(--mono);white-space:pre-wrap;color:#c9d0ff;background:var(--code);border-radius:7px;padding:11px;min-height:68px;max-height:100px;overflow:hidden}.lesson-card-foot{margin-top:12px;font-size:9px;color:var(--muted)}.empty-state{text-align:center;padding:45px 20px;color:var(--muted)}.empty-state>svg{color:#818bff}.empty-state h3{color:var(--text);margin:12px 0 5px}.empty-state p{font-size:11px}.empty-state code{font:11px var(--mono);color:var(--link)}.battle-panel{max-width:670px;margin:50px auto;text-align:center;padding:45px}.battle-swords{width:56px;height:56px;border-radius:17px;background:#4f61e822;color:#a9b3ff;display:grid;place-items:center;margin:0 auto 18px}.battle-panel h2{font-size:20px;margin:0 0 8px}.battle-panel>p{max-width:430px;margin:0 auto 22px;color:var(--muted);font-size:11px;line-height:1.7}.battle-panel .inline-note{margin:14px auto 0;color:var(--warning)}.battle-features{border-top:1px solid var(--border);margin-top:28px;padding-top:20px;display:flex;justify-content:center;gap:22px;color:var(--muted);font-size:9px}.battle-features span{display:flex;align-items:center;gap:6px}.battle-features svg{color:var(--link)}.filter-tabs{justify-content:flex-end}.settings-card{max-width:720px}.settings-card h3{margin:0 0 22px}.settings-card label{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--border);font-size:11px;color:#d9dbea}.settings-card select,.settings-card input[type=number]{background:#171821;border:1px solid #383b4b;border-radius:6px;color:var(--text);padding:8px 10px;font-size:10px;min-width:155px}.settings-card input[type=range]{accent-color:var(--accent)}.settings-card input[type=checkbox]{accent-color:var(--accent);width:16px;height:16px}.settings-card>.muted{margin:18px 0 0}.typing-heading{margin:25px 0 20px}.lesson-toolbar{max-width:100%;justify-content:flex-start;gap:20px}.back-link{display:flex;gap:6px;align-items:center;color:var(--muted);text-decoration:none;font-size:11px}.back-link:hover{color:#fff}.typing-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.typing-metrics .card{padding:12px 14px;display:grid;gap:8px}.typing-metrics small{font-size:8px;letter-spacing:.8px;color:var(--muted)}.typing-metrics b{font-size:18px}.typing-metrics i{font-style:normal;font-size:9px;color:var(--muted);margin-left:4px}.typing-card{padding:18px}.typing-code{padding:20px;background:var(--code);border:1px solid #2b2d3a;border-radius:8px;cursor:text;min-height:120px}.typing-code pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font:14px/1.9 var(--mono);color:#d9dcef}.char-done{color:#7883aa}.char-cursor{background:#5968e966;border-left:2px solid #99a4ff}.char-error{text-decoration:underline wavy var(--error);text-decoration-thickness:1px}.typing-capture{position:absolute;opacity:.01;width:1px;height:1px;left:-100px;top:0}.typing-hint{text-align:center;margin:12px 0 17px;color:var(--muted);font-size:9px}.virtual-keyboard{display:grid;gap:5px;max-width:510px;margin:0 auto}.key-row{display:flex;justify-content:center;gap:4px}.key{min-width:27px;height:27px;padding:0 6px;border:1px solid #3b3e4d;border-radius:5px;background:#22242e;color:#b9bed0;display:flex;align-items:center;justify-content:center;font:10px var(--mono)}.key-next{background:#4f61e84d;border-color:#8390ff;color:#fff;box-shadow:0 0 12px #4f61e833}.key-space{min-width:150px;gap:6px}.result-card{display:flex;align-items:center;gap:13px;margin-top:13px}.result-card>div:nth-child(2){flex:1}.result-card h3{margin:0 0 4px}.result-card p{margin:0;color:var(--muted);font-size:10px}.result-check{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#5fd49a22;color:var(--success)}@media(max-width:1100px){.main-content{padding-left:30px;padding-right:30px}.dashboard-grid{grid-template-columns:1fr}.sidebar{width:205px}.main-content{margin-left:205px}.battle-features{gap:10px}.lesson-grid{grid-template-columns:1fr}}.auth-backdrop{position:fixed;inset:0 0 0 220px;background:#101117cc;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:grid;place-items:center;z-index:5}.auth-card{width:min(400px,calc(100% - 30px));padding:28px}.auth-brand{padding:0;height:auto;margin-bottom:25px}.auth-card h2{font-size:20px;margin:0 0 7px}.auth-card>p{font-size:11px;color:var(--muted);margin:0 0 18px}.auth-card form{display:grid;gap:12px}.auth-card label{display:grid;gap:6px;color:#c7cada;font-size:10px}.auth-card input{background:#171821;border:1px solid #383b4b;border-radius:7px;color:var(--text);padding:10px 11px;font-size:11px}.auth-card form .button{margin-top:5px;padding:11px}.auth-switch{display:block;background:none;border:0;color:var(--link);font-size:10px;margin:18px auto 0;cursor:pointer}.auth-error{font-size:10px!important;color:var(--error)!important;margin:0!important}.battle-live{max-width:840px;margin:8px auto;padding:22px}.battle-live h2{font-size:16px;margin:6px 0}.battle-instruction{font-size:10px;color:var(--muted)}.battle-scoreboard{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.battle-player{background:#181a23;border:1px solid #2b2e3d;border-radius:9px;padding:12px}.battle-player-top,.battle-player-stats{display:flex;justify-content:space-between;gap:8px}.battle-player-top{font-size:10px}.battle-player-top span,.battle-player-stats{color:var(--muted);font-size:9px}.battle-player-stats{margin:9px 0}.battle-code{background:var(--code);border:1px solid #2b2d3a;border-radius:8px;padding:18px;margin-top:14px}.battle-code pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font:13px/1.9 var(--mono)}.battle-chat{display:flex;gap:12px;flex-wrap:wrap;padding:12px 0;color:var(--muted);font-size:10px}.quick-chat{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.quick-chat button{border:1px solid #383b4b;background:#252733;border-radius:7px;padding:6px 9px;color:#d5d8e7;font-size:9px;cursor:pointer}.quick-chat button:hover{border-color:var(--link)}.settings-actions{display:flex;gap:9px;margin-top:16px}.progress-track{height:5px;border-radius:8px;background:#2b2e3c;overflow:hidden}.progress-track span{display:block;height:100%;background:var(--link);border-radius:inherit;transition:width .25s}.chart-card{margin-bottom:14px}.chart-card h3{margin:0}.chart-wrap{height:245px;margin-top:14px}.chart-empty{height:190px;display:grid;place-items:center;color:var(--muted);font-size:11px}.stats-lower{margin-bottom:14px}.stats-lower .card h3{margin:0 0 6px}.heatmap{display:grid;gap:5px;margin-top:16px}.heat-row{display:flex;justify-content:center;gap:5px}.heat-row span{height:26px;min-width:25px;padding:0 5px;display:grid;place-items:center;background:#282a35;border:1px solid #383b48;border-radius:5px;font:10px var(--mono);color:#dfe1ed}.error-ranking{display:grid;gap:8px;margin-top:12px}.error-ranking>div{display:flex;justify-content:space-between;border-bottom:1px solid var(--border);padding:6px 0;font-size:10px}.error-ranking>div b{font:11px var(--mono);color:#ffd1d1}.error-ranking>div span{color:var(--muted)}.recommendation-card{margin-top:14px}.recommendation-card h3{margin:7px 0}.recommendation-card>p{font-size:11px;color:var(--muted);line-height:1.6}.recommendation-action{display:flex;justify-content:space-between;align-items:center;margin-top:12px}.challenge-link{display:inline-flex;gap:3px;align-items:center;margin-top:8px;color:var(--link);font-size:9px;text-decoration:none}.last-activity{padding:14px 16px!important}.last-activity strong{display:block;margin-top:7px;font-size:10px}.last-activity p{margin:5px 0 0;color:var(--muted);font-size:9px}.battle-history{margin-top:14px}.battle-history h3{margin:0 0 10px}.battle-history-list{display:grid}.battle-history-list>div{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid var(--border)}.battle-history-list>div:last-child{border-bottom:0}.battle-history-list span{display:grid;gap:4px}.battle-history-list b{font-size:10px}.battle-history-list small{font-size:9px;color:var(--muted)}.syntax-keyword{color:#c792ea}.syntax-string{color:#c3e88d}.syntax-number{color:#f78c6c}.syntax-operator{color:#89ddff}.syntax-punctuation{color:#b0bec5}.syntax-function{color:#82aaff}.syntax-builtin{color:#ffcb6b}.syntax-comment{color:#697098}.syntax-boolean,.syntax-constant{color:#f78c6c}.char-done{opacity:.74}.friends-layout{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.friends-layout>.card{padding:18px}.friends-layout h3{margin:0 0 12px}.friend-list{display:grid}.friend-row{display:flex;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid var(--border)}.friend-row>div{display:grid;gap:3px;flex:1}.friend-row strong{font-size:10px}.friend-row small{font-size:9px;color:var(--muted)}.friend-presence{width:8px;height:8px;border-radius:50%;background:#717587}.friend-presence.online{background:var(--success);box-shadow:0 0 8px #5fd49a77}.friend-request-form{display:flex;align-items:flex-end;gap:8px}.friend-request-form label{display:grid;gap:6px;flex:1;font-size:10px;color:#c7cada}.friend-request-form input{background:#171821;border:1px solid #383b4b;border-radius:7px;color:var(--text);padding:9px;font-size:10px}.friend-requests{display:grid;gap:8px;margin-top:15px}.friend-requests>strong{font-size:10px}.friend-requests>div{display:flex;align-items:center;gap:7px;font-size:9px}.friend-requests>div span{flex:1}.friend-requests button{background:#292c3c;border:1px solid #373b50;border-radius:6px;color:#dfe2f4;padding:5px 7px;font-size:9px;cursor:pointer}.friend-requests small{color:var(--muted)}.incoming-invite{display:flex;align-items:center;gap:10px;margin-top:12px}.incoming-invite div{flex:1}.incoming-invite strong{font-size:11px}.incoming-invite p{font-size:9px;color:var(--muted);margin:4px 0 0}@media(max-width:1100px){.friends-layout{grid-template-columns:1fr}}body{background:radial-gradient(ellipse at 78% 105%,rgba(79,97,232,.14),transparent 42%),radial-gradient(ellipse at 74% 0%,rgba(142,88,207,.14),transparent 45%),var(--bg)}.nav-item.battle-nav:not(.active){border-color:#4955b3;color:#a8b1ff;background:#1b1c29}.nav-item.battle-nav:not(.active) svg{color:#a8b1ff}.nav-item.active{background:linear-gradient(105deg,#383f88,#313870);box-shadow:0 4px 16px #22295d55}.card{background:linear-gradient(145deg,#212434fa,#1b1d28fa);box-shadow:0 5px 20px #00000014}.dashboard-primary,.dashboard-secondary{grid-template-columns:minmax(0,1.28fr) minmax(300px,.9fr);gap:14px}.dashboard-primary{margin-top:8px}.dashboard-secondary{margin-top:14px}.reference-next{min-height:208px;display:flex;flex-direction:column;justify-content:flex-start;padding:20px 22px}.reference-next h2{font-size:17px;line-height:1.4;letter-spacing:-.35px;margin:11px 0 13px}.reference-actions{display:flex;gap:8px;margin-bottom:14px}.reference-progress-label{display:flex;justify-content:space-between;margin-top:8px;color:var(--muted);font-size:9px}.reference-path{padding:16px!important}.reference-path>.card-title-row{margin-bottom:10px}.reference-path-row{display:flex;align-items:center;gap:10px;padding:8px 9px;margin-top:5px;border-radius:8px;color:#dce0ef}.reference-path-row>span{width:20px;height:20px;display:grid;place-items:center;border:1px solid #484c60;border-radius:50%;font-size:9px;color:var(--muted)}.reference-path-row>div{display:grid;gap:2px}.reference-path-row strong{font-size:10px}.reference-path-row small{font-size:8px;color:var(--muted)}.reference-path-row.current{background:linear-gradient(100deg,#39448d,#313976);box-shadow:0 4px 12px #242d6a55}.reference-path-row.current>span,.reference-path-row.completed>span{background:#4f61e8;border-color:#8290ff;color:#fff}.reference-path-row.completed{background:#2f7e5d2b}.reference-activity{padding:15px 18px!important}.reference-activity .card-title-row{margin-bottom:7px}.reference-activity .card-title-row h3{margin:0}.reference-activity .card-title-row a{display:inline-flex;align-items:center;gap:3px;color:var(--link);text-decoration:none;font-size:9px}.activity-row{display:flex;align-items:center;justify-content:space-between;padding:9px 1px;border-top:1px solid #2b2e3d;color:#d5d8e7;font-size:9px}.activity-row strong{font-size:9px;color:#c7ccdf}.activity-empty{padding:12px 0 5px;line-height:1.6}.reference-challenge{min-height:152px;padding:16px 18px!important;background:linear-gradient(125deg,#555ce2,#654ed2 65%,#7654d2);border-color:#7776f4;box-shadow:0 8px 24px #574fd344}.reference-challenge .eyebrow{color:#e0e1ff}.reference-challenge h3{font-size:13px;margin:6px 0}.reference-challenge p{max-width:310px;color:#e2e2ff;font-size:9px;line-height:1.5;margin:5px 0 10px}.reference-challenge .button{background:#fff;color:#353674;border-color:#eee;padding:7px 14px}.daily-goal{margin-top:10px}.daily-goal>div:first-child{display:flex;justify-content:space-between;font-size:8px;color:#eeedff;margin-bottom:5px}.daily-goal .progress-track{height:4px;background:#fff4}.daily-goal .progress-track span{background:#fff}@media(max-width:1100px){.dashboard-primary,.dashboard-secondary{grid-template-columns:minmax(0,1fr)}.reference-next{min-height:190px}}.settings-section{margin-bottom:14px}.settings-section h2{font-size:14px;margin:0 0 6px}.settings-section h3{font-size:12px}.settings-section>.muted,.settings-section>div>.muted{margin:0 0 16px}.settings-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:end}.settings-form>label{display:grid;gap:7px;color:#c7cada;font-size:10px}.settings-form input:not([type=checkbox]):not([type=range]),.settings-form select{width:100%;min-height:37px;background:#171821;border:1px solid #383b4b;border-radius:7px;color:var(--text);padding:8px 10px;font-size:11px}.settings-form input:focus-visible,.settings-form select:focus-visible{outline:2px solid var(--link);outline-offset:2px}.inline-setting{display:flex;align-items:center;gap:9px}.inline-setting input[type=range]{flex:1;accent-color:var(--link)}.inline-setting input[type=number]{width:110px!important}.inline-setting output,.inline-setting>span{color:var(--muted);font-size:10px}.toggle-setting{display:flex!important;align-items:center;min-height:36px}.toggle-setting input{accent-color:var(--accent);width:16px;height:16px}.settings-actions{display:flex;gap:8px;align-items:center;grid-column:1/-1}.danger-zone{border-top:1px solid var(--border);margin-top:21px;padding-top:16px}.danger-zone h3{margin:0 0 5px}.danger-zone>p{max-width:700px;color:var(--muted);font-size:10px;line-height:1.6}.button.danger{background:#812f3d;border:1px solid #a14755;color:#fff}.button.danger:hover{background:#963b49}.delete-confirm{max-width:600px;margin-top:12px}@media(max-width:900px){.settings-form{grid-template-columns:1fr}}
