:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#101315;--panel:#181d20;--panel-strong:#20272b;--text:#f0f4f2;--muted:#9eaaa5;--line:#2d3632;--green:#40c980;--amber:#d5a442;--red:#e06f6f;--blue:#63a4ff}*{box-sizing:border-box}html{background:var(--bg);min-height:100%}html:before{content:"";pointer-events:none;z-index:0;background-color:#0000;background-image:radial-gradient(circle,#40c98047 0 12%,#40c9801f 32%,#0000 62%),radial-gradient(circle,#d5a44252 0 13%,#d5a44224 34%,#0000 64%),radial-gradient(circle,#e06f6f42 0 12%,#e06f6f1f 32%,#0000 62%);background-position:8% 12%,82% 18%,48% 92%;background-repeat:no-repeat;background-size:46vmax 46vmax,44vmax 44vmax,48vmax 48vmax;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;animation:18s ease-in-out infinite pageShimmer;position:fixed;inset:0}body{color:var(--text);background:0 0;min-height:100vh;margin:0;font-family:Arial,Helvetica,sans-serif}body>*{z-index:1;position:relative}@keyframes pageShimmer{0%{background-position:8% 12%,82% 18%,48% 92%}33%{background-position:74% 24%,36% 78%,14% 48%}66%{background-position:42% 82%,88% 54%,78% 16%}to{background-position:8% 12%,82% 18%,48% 92%}}@media (prefers-reduced-motion:reduce){html:before,.skillTrack span,.challengeTrack span{animation:none}}a{color:inherit;text-decoration:none}button{border:1px solid var(--line);background:var(--panel-strong);color:var(--text);cursor:pointer;font:inherit;border-radius:6px;padding:.55rem .8rem}.topbar{border-bottom:1px solid var(--line);z-index:10;background:#101315f0;justify-content:space-between;align-items:center;height:60px;padding:0 1.5rem;display:flex;position:sticky;top:0}.brand{color:var(--green);font-weight:800}.nav{color:var(--muted);gap:1rem;font-size:.92rem;display:flex}.page{max-width:1180px;margin:0 auto;padding:2rem 1.5rem 4rem}.page.compact{max-width:980px}.problemsPage{max-width:1240px}.hero{grid-template-columns:minmax(0,.95fr) minmax(340px,1.05fr);align-items:stretch;gap:2rem;min-height:calc(100vh - 160px);display:grid}.hero h1,.section h1{margin:.2rem 0 1rem;font-size:3.2rem;line-height:1}.heroText{color:var(--muted);max-width:560px;font-size:1.08rem;line-height:1.7}.eyebrow{color:var(--green);letter-spacing:0;text-transform:uppercase;margin:0 0 .55rem;font-size:.78rem;font-weight:700}.primaryAction{background:var(--green);color:#09120e;border-radius:6px;margin-top:1rem;padding:.85rem 1rem;font-weight:800;display:inline-flex}.terminalPreview,.editorPane,.problemPane,.emptyState{background:var(--panel);border:1px solid var(--line);border-radius:8px}.terminalPreview{align-self:stretch;min-height:420px;overflow:hidden}.terminalBar{background:var(--panel-strong);border-bottom:1px solid var(--line);align-items:center;gap:.45rem;height:42px;padding:0 1rem;display:flex}.terminalBar span{background:var(--muted);border-radius:999px;width:10px;height:10px;display:block}pre{margin:0;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;line-height:1.6;overflow:auto}.terminalPreview pre,.editor{color:#d8f8e6;padding:1.2rem;font-size:.92rem}.codeEditor{min-height:320px;overflow:hidden}.codeEditor .cm-editor{background:#111719;height:100%;font-size:.92rem}.codeEditor .cm-scroller{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;line-height:1.6}.section{margin-top:2rem}.sectionHeader{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.sectionHeader h2,.sectionHeader h1{margin:0}.sectionHeader a{color:var(--blue)}.problemGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.problemCard,.problemRow{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:1rem;display:block}.problemCard h3,.problemRow h2{margin:.65rem 0 .45rem;font-size:1rem}.problemCard p,.problemRow p,.emptyState p,.problemTitle p,.statement p,.statement li{color:var(--muted);line-height:1.6}.difficulty{text-align:center;border-radius:999px;justify-content:center;min-width:64px;padding:.25rem .55rem;font-size:.75rem;font-weight:800;display:inline-flex}.difficulty.easy{color:var(--green);background:#40c9801f}.difficulty.medium{color:var(--amber);background:#d5a44224}.difficulty.hard{color:var(--red);background:#e06f6f24}.problemsHero{background:radial-gradient(circle at 68% 12%, #d5a44238, transparent 30%), linear-gradient(135deg, #40c98021, #e06f6f1a), var(--panel);border:1px solid var(--line);border-radius:8px;padding:1.35rem}.problemsIntro{color:var(--muted);max-width:680px;margin:.55rem 0 0;line-height:1.6}.problemSummaryGrid{grid-template-columns:repeat(5,minmax(0,1fr));gap:.85rem;margin-top:1.25rem;display:grid}.problemSummaryGrid div{border:1px solid var(--line);background:#111719;border-radius:8px;padding:.9rem}.problemSummaryGrid div:nth-child(4) span{color:var(--amber)}.problemSummaryGrid div:nth-child(5) span{color:var(--red)}.problemSummaryGrid span{color:var(--green);font-size:1.7rem;font-weight:800;display:block}.problemSummaryGrid p{color:var(--muted);margin:.35rem 0 0}.problemSummaryGrid div:nth-child(-n+2) p,.problemSummaryGrid div:nth-child(-n+2) span{color:var(--text)}.problemCatalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem;display:grid}.problemBrowser{background:var(--panel);border:1px solid var(--line);border-radius:8px;grid-template-columns:250px minmax(0,1fr);margin-top:1rem;display:grid;overflow:hidden}.problemBrowserHeader{background:var(--panel-strong);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:1rem;padding:1rem;display:flex}.problemBrowserHeader h2{margin:0;font-size:1.08rem}.difficultyFilter{border:1px solid var(--line);background:#111719;border-radius:6px;display:inline-flex;overflow:hidden}.difficultyFilter button{color:var(--muted);background:0 0;border:0;border-radius:0;min-width:84px}.difficultyFilter button+button{border-left:1px solid var(--line)}.difficultyFilter .activeDifficulty{background:var(--panel-strong);font-weight:800}.difficultyFilter button:first-child{color:var(--green)}.difficultyFilter button:nth-child(2){color:var(--amber)}.difficultyFilter button:nth-child(3){color:var(--red)}.difficultyFilter button:first-child:hover,.difficultyFilter button:first-child.activeDifficulty{background:#40c9801f}.difficultyFilter button:nth-child(2):hover,.difficultyFilter button:nth-child(2).activeDifficulty{background:#d5a44224}.difficultyFilter button:nth-child(3):hover,.difficultyFilter button:nth-child(3).activeDifficulty{background:#e06f6f24}.problemTypeRail{border-right:1px solid var(--line);background:#111719;min-width:0}.problemTypeList{padding:.55rem;display:grid}.problemTypeList button{color:var(--muted);text-align:left;background:0 0;border:0;border-radius:6px;grid-template-columns:minmax(0,1fr) auto;justify-content:stretch;align-items:center;gap:.65rem;padding:.65rem .7rem;display:grid}.problemTypeList button+button{margin-top:.15rem}.problemTypeList button:hover,.problemTypeList .activeProblemType{background:var(--panel-strong);color:var(--text)}.problemTypeList span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.problemTypeList strong{color:var(--text);font-size:.78rem}.problemResults{min-width:0}.problemTable{border:1px solid var(--line);border-radius:8px;overflow:hidden}.problemResults .problemTable{border:0;border-radius:0}.problemRow{border:0;border-bottom:1px solid var(--line);border-radius:0;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:1rem;padding:.9rem 1rem;display:grid}.problemRow:last-child{border-bottom:0}.problemRow.easy:hover,.submissionRow.easy:hover{background:#40c9800f}.problemRow.medium:hover,.submissionRow.medium:hover{background:#d5a44214}.problemRow.hard:hover,.submissionRow.hard:hover{background:#e06f6f14}.problemIndex{border:1px solid var(--line);color:var(--muted);background:#111719;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;font-size:.78rem;font-weight:800;display:inline-flex}.problemRowText{min-width:0}.problemRowText h3{margin:0 0 .25rem;font-size:.96rem}.problemRowText small{color:#d7ddd9;margin-top:.35rem;font-size:.78rem;display:block}.statPill{background:var(--panel-strong);border:1px solid var(--line);color:var(--muted);border-radius:999px;padding:.45rem .75rem}.workspace{grid-template-columns:minmax(360px,.88fr) minmax(420px,1.12fr);gap:1rem;min-height:calc(100vh - 60px);padding:1rem;display:grid}.problemWorkspace{--problem-accent:var(--green);--problem-tint:#40c9801f;background:radial-gradient(circle at 8% 10%, var(--problem-tint), transparent 30%), radial-gradient(circle at 92% 86%, var(--problem-tint), transparent 34%)}.problemWorkspace.easy{--problem-accent:var(--green);--problem-tint:#40c98029}.problemWorkspace.medium{--problem-accent:var(--amber);--problem-tint:#d5a44229}.problemWorkspace.hard{--problem-accent:var(--red);--problem-tint:#e06f6f29}.problemWorkspace .problemPane,.problemWorkspace .editorPane{border-color:var(--problem-accent);box-shadow:0 0 34px #0000003d}.problemWorkspace .problemTitle,.problemWorkspace .editorHeader,.problemWorkspace .resultsPanel{border-color:#f0f4f21a}.problemWorkspace .backLink,.problemWorkspace .statement h2,.problemWorkspace .resultsPanel h2{color:var(--problem-accent)}.problemPane,.editorPane{min-width:0;overflow:hidden}.problemPane{padding:1.2rem}.backLink{color:var(--blue);margin-bottom:1rem;font-size:.9rem;display:inline-flex}.problemTitle{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:1rem;padding-bottom:1rem;display:flex}.problemTitle h1{margin:0 0 .45rem;font-size:1.45rem}.statement h2,.resultsPanel h2,.emptyState h2{margin:1.4rem 0 .7rem;font-size:1rem}.example,.resultsPanel pre{border:1px solid var(--line);color:#d8f8e6;background:#111719;border-radius:6px;padding:.85rem}.editorPane{grid-template-rows:auto minmax(320px,1fr) auto;display:grid}.editorHeader{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:.7rem .8rem;display:flex}.editorActions{gap:.5rem;display:flex}.languageToggle{border:1px solid var(--line);background:#111719;border-radius:6px;display:inline-flex;overflow:hidden}.languageToggle button{color:var(--muted);background:0 0;border:0;border-radius:0;min-width:96px}.languageToggle button+button{border-left:1px solid var(--line)}.languageToggle .activeLanguage{background:var(--panel-strong);color:var(--text);font-weight:800}.submitButton{background:var(--green);color:#09120e;font-weight:800}.resultsPanel{border-top:1px solid var(--line);padding:.85rem}.resultsPanel h2{margin-top:0}.emptyState{margin-top:1rem;padding:1.2rem}.profilePage{max-width:1120px}.submissionsPage{max-width:1160px}.submissionsHero{background:radial-gradient(circle at 80% 18%, #63a4ff29, transparent 28%), linear-gradient(135deg, #40c9801f, #e06f6f14), var(--panel);border:1px solid var(--line);border-radius:8px;justify-content:space-between;align-items:center;gap:1rem;padding:1.35rem;display:flex}.submissionsIntro{color:var(--muted);max-width:680px;margin:0;line-height:1.6}.submissionStats{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-top:1rem;display:grid}.submissionStat,.submissionPanel{background:var(--panel);border:1px solid var(--line);border-radius:8px}.submissionStat{padding:1rem}.submissionStat span{color:var(--text);font-size:1.85rem;font-weight:800;display:block}.submissionStat p{color:var(--muted);margin:.35rem 0 0}.submissionGrid{grid-template-columns:minmax(0,1fr) 320px;gap:1rem;margin-top:1rem;display:grid}.submissionPanel{min-width:0;padding:1rem}.submissionPanel h2{margin:0;font-size:1.08rem}.submissionList{gap:.75rem;display:grid}.submissionRow{border:1px solid var(--line);background:#111719;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:flex-start;gap:.8rem;padding:.85rem;display:grid}.statusDot,.difficultyDot{background:var(--muted);border-radius:999px;width:10px;height:10px;margin-top:.35rem}.difficultyDot.easy{background:var(--green)}.difficultyDot.medium{background:var(--amber)}.difficultyDot.hard{background:var(--red)}.statusDot.accepted{background:var(--green)}.statusDot.wrong-answer,.statusDot.time-limit{background:var(--red)}.submissionMain{gap:.65rem;min-width:0;display:grid}.submissionMain h3{margin:0 0 .25rem;font-size:.98rem}.submissionMain small{color:var(--muted);line-height:1.55}.submissionMeta{flex-wrap:wrap;gap:.45rem;display:flex}.submissionMeta span{background:var(--panel);border:1px solid var(--line);color:var(--muted);border-radius:999px;padding:.35rem .55rem;font-size:.78rem}.submissionMeta .verdict{color:var(--text);font-weight:800}.verdict.accepted{color:var(--green);border-color:#40c9806b}.verdict.wrong-answer,.verdict.time-limit{color:var(--red);border-color:#e06f6f6b}.submissionSignals{align-content:start;gap:1rem;display:grid}.signalGroup{border:1px solid var(--line);background:#111719;border-radius:8px;gap:.75rem;padding:.85rem;display:grid}.signalGroup h3{margin:0;font-size:.95rem}.signalRows{gap:.5rem;display:grid}.signalRow{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.55rem;display:grid}.verdictSignalRow{grid-template-columns:auto minmax(0,1fr) auto}.signalRow p{color:var(--muted);margin:0}.signalRow strong{color:var(--text);font-size:.85rem}.signalRow .statusDot{margin:0}.profileHero{background:linear-gradient(135deg, #40c9801f, #f0f4f20f), var(--panel);border:1px solid var(--line);border-radius:8px;justify-content:space-between;align-items:flex-start;gap:1.5rem;padding:1.35rem;display:flex}.profileIntro{align-items:center;gap:1rem;display:flex}.avatar{background:linear-gradient(135deg, var(--green), var(--text));color:#07110e;border-radius:8px;flex:none;justify-content:center;align-items:center;width:86px;height:86px;font-size:1.7rem;font-weight:900;display:inline-flex}.profileBio{color:var(--muted);max-width:620px;margin:0;line-height:1.6}.profileActions{flex:none;gap:.6rem;display:flex}.profileStats{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-top:1rem;display:grid}.profileStats div{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:1rem}.profileStats span{color:var(--green);font-size:2rem;font-weight:800;display:block}.profileStats p{color:var(--muted);margin:.35rem 0 0}.profileStats small{color:var(--muted);margin-top:.55rem;font-size:.78rem;display:block}.profileGrid{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:1rem;margin-top:1rem;display:grid}.profilePanel{background:var(--panel);border:1px solid var(--line);border-radius:8px;min-width:0;padding:1rem}.profilePanel .sectionHeader{margin-bottom:1.2rem}.profilePanel h2{margin:0;font-size:1.1rem}.skillList{gap:1rem;display:grid}.skillRow>div:first-child{color:var(--muted);justify-content:space-between;align-items:center;margin-bottom:.45rem;font-size:.92rem;display:flex}.skillRow strong{color:var(--text)}.skillTrack{border:1px solid var(--line);background:#111719;border-radius:999px;height:10px;overflow:hidden}.skillTrack span,.challengeTrack span{background:linear-gradient(90deg, transparent 0%, #f0f4f2e6 46%, transparent 58%), linear-gradient(90deg, #40c98059, var(--green) 42%, var(--amber));background-size:180% 100%,100% 100%;height:100%;animation:7.5s linear infinite saberSweep;display:block;box-shadow:0 0 8px #40c980bf,0 0 16px #d5a44259}@keyframes saberSweep{0%{background-position:-120% 0,0 0}to{background-position:120% 0,0 0}}.challengeMix{gap:.75rem;margin-top:1.35rem;display:grid}.challengeRow{border:1px solid var(--line);background:#111719;border-radius:8px;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:.8rem;padding:.75rem;display:grid}.challengeRow strong{margin-bottom:.4rem;font-size:.9rem;display:block}.challengeTrack{background:var(--panel);border:1px solid var(--line);border-radius:999px;height:9px;overflow:hidden}.activityList{gap:.75rem;display:grid}.activityItem{border:1px solid var(--line);background:#111719;border-radius:8px;align-items:flex-start;gap:.8rem;padding:.85rem;display:flex}.activityItem:hover{background:#40c9800f}.activityItem h3{margin:0;font-size:.98rem}@media (max-width:820px){.topbar{align-items:flex-start;height:auto;padding:.9rem 1rem}.nav{flex-wrap:wrap;justify-content:flex-end}.hero,.workspace,.problemGrid,.problemSummaryGrid,.problemCatalog,.problemBrowser,.submissionStats,.submissionGrid,.profileStats,.profileGrid{grid-template-columns:1fr}.submissionsHero{flex-direction:column;align-items:stretch}.problemRow{grid-template-columns:36px minmax(0,1fr);align-items:flex-start}.problemBrowserHeader{flex-direction:column;align-items:flex-start}.difficultyFilter{width:100%}.difficultyFilter button{flex:1;min-width:0}.problemTypeRail{border-bottom:1px solid var(--line);border-right:0}.problemTypeList{gap:.45rem;padding:.6rem;display:flex;overflow-x:auto}.problemTypeList button{flex:none;min-width:180px}.problemTypeList button+button{margin-top:0}.problemRow .difficulty{grid-column:2;justify-self:flex-start}.profileHero,.profileIntro,.profileActions{flex-direction:column;align-items:stretch}.profileActions button{width:100%}.hero{min-height:auto}.hero h1,.section h1{font-size:2.4rem}.workspace{padding:.75rem}}
