:root{color:#e7ece7;font-synthesis:none;background:#101310;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#101310;min-width:320px;min-height:100vh;margin:0}main{width:min(1180px,100% - 48px);margin:0 auto;padding:32px 0 48px}.splash{place-items:center;min-height:100vh;display:grid}.auth-shell{place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{background:#171a17;border:1px solid #303630;border-radius:10px;width:min(390px,100%);padding:36px}.brand-mark{color:#101310;background:#bde94f;border-radius:8px;place-items:center;width:42px;height:42px;font:700 25px Georgia,serif;display:grid}.auth-card h1{margin:20px 0 6px}.auth-card>p{color:#929b92;margin:0 0 28px;font-size:13px}label{color:#a8b1a8;gap:7px;font:600 11px ui-monospace,monospace;display:grid}input,.problem-form textarea{color:#e7ece7;background:#101310;border:1px solid #3b443b;border-radius:5px;outline:0;width:100%;font:13px/1.5 Inter,sans-serif}input{height:40px;padding:0 11px}input:focus,.problem-form textarea:focus{border-color:#8eae43;box-shadow:0 0 0 2px #bde94f18}.github-login{color:#101310;background:#e7ece7;border-radius:5px;justify-content:center;align-items:center;height:42px;font-size:13px;font-weight:700;text-decoration:none;display:flex}.github-login:hover{background:#fff}.auth-card .auth-note{text-align:center;margin:14px 0 0;line-height:1.6}.form-error,.global-error,.notice{color:#ed7668;background:#ed766810;border:1px solid #7e3c35;border-radius:5px;padding:10px 12px;font-size:12px}.topbar{border-bottom:1px solid #303630;justify-content:space-between;align-items:center;gap:24px;padding-bottom:24px;display:flex}.topbar nav{align-items:center;gap:9px;display:flex}.brand-button{color:#e7ece7;text-align:left;background:0 0;gap:3px;height:auto;padding:0;display:grid}.brand-button:hover:not(:disabled){background:0 0;transform:none}.brand-button strong{font-size:20px}.brand-button span{color:#737c73;text-transform:uppercase;letter-spacing:.12em;font:9px ui-monospace,monospace}.nav-button{color:#a8b1a8;background:0 0;border:1px solid #3b443b;height:30px;padding:0 9px;font-size:10px}.nav-button:hover:not(:disabled){background:#222722;transform:none}.username{color:#dbe2db;font:11px ui-monospace,monospace}.page{padding-top:32px}.page-title,.challenge-head{justify-content:space-between;align-items:end;gap:24px;margin-bottom:22px;display:flex}.page-title small,.challenge-head small{color:#bde94f;letter-spacing:.14em;font:600 9px ui-monospace,monospace}.page-title h1,.challenge-head h1{margin:5px 0 0;font-size:27px}.page-title>span{color:#737c73;font:11px ui-monospace,monospace}.problem-list{border:1px solid #303630;border-radius:8px;overflow:hidden}.problem-row{color:#e7ece7;text-align:left;background:#171a17;border-bottom:1px solid #303630;border-radius:0;grid-template-columns:42px minmax(0,1fr) auto 20px;align-items:center;gap:16px;width:100%;height:auto;min-height:78px;padding:14px 18px;display:grid}.problem-row:last-child{border-bottom:0}.problem-row:hover:not(:disabled){background:#1d211d;transform:none}.problem-number{color:#596259;font:12px ui-monospace,monospace}.problem-row strong{font-size:14px;display:block}.problem-row small{color:#7f897f;text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font:11px ui-monospace,monospace;display:block;overflow:hidden}.personal-best{color:#bde94f;font:11px ui-monospace,monospace}.back-button{color:#929b92;background:0 0;height:28px;margin-bottom:22px;padding:0;font-size:11px}.back-button:hover:not(:disabled){color:#e7ece7;background:0 0;transform:none}.challenge-head{align-items:center}.challenge-head p{color:#929b92;max-width:720px;margin:8px 0 0;font-size:13px}.best-badge{text-align:right;border:1px solid #3b443b;border-radius:6px;min-width:100px;padding:10px 13px}.best-badge strong{margin-left:8px;font:700 23px ui-monospace,monospace}.best-badge span{color:#737c73;font:9px ui-monospace,monospace;display:block}.topbar h1{letter-spacing:-.02em;margin:0;font-size:24px;line-height:1.2}.topbar p{color:#929b92;margin:6px 0 0;font-size:13px}.version{color:#a8b1a8;letter-spacing:.06em;text-transform:uppercase;border:1px solid #3b443b;border-radius:5px;flex:none;padding:6px 9px;font:500 10px ui-monospace,SFMono-Regular,Consolas,monospace}.workspace{grid-template-columns:minmax(0,3fr) minmax(300px,2fr);gap:16px;margin-top:24px;display:grid}.panel{background:#171a17;border:1px solid #303630;border-radius:8px;min-width:0;overflow:hidden}.panel-head{border-bottom:1px solid #303630;justify-content:space-between;align-items:center;gap:16px;height:44px;padding:0 14px;font:500 12px ui-monospace,SFMono-Regular,Consolas,monospace;display:flex}.dot{background:#bde94f;border-radius:50%;width:6px;height:6px;margin-right:8px;display:inline-block}.linked-dot{background:#72d6c9}.linked-file{margin:0 0 20px}.linked-file>p{color:#929b92;border-bottom:1px solid #303630;margin:0;padding:11px 14px;font-size:12px}.linked-source{color:#dbe2db;white-space:pre;tab-size:2;background:#131613;max-height:360px;margin:0;padding:16px;font:12px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;overflow:auto}.linked-source code{font:inherit}.meta{color:#7f897f;font:400 10px ui-monospace,SFMono-Regular,Consolas,monospace}.editor-meta{align-items:center;gap:10px;display:flex}.over-limit{color:#ed7668}.reset-button{color:#a8b1a8;background:0 0;border:1px solid #3d453d;border-radius:4px;height:26px;padding:0 8px;font:500 10px ui-monospace,SFMono-Regular,Consolas,monospace}.reset-button:hover:not(:disabled){background:#222722;transform:none}.editor-wrap{background:#131613;height:380px;padding:16px 0;display:flex;overflow:hidden}.line-numbers{color:#4f584f;-webkit-user-select:none;user-select:none;flex-direction:column;flex:none;align-items:flex-end;width:48px;height:100%;padding-right:14px;font:13px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;display:flex;overflow:hidden}.code-input{flex:1;min-width:0;height:100%;position:relative}.highlight-layer,.code-editor{white-space:pre;tab-size:2;background:0 0;border:0;width:100%;height:100%;margin:0;padding:0 16px 0 0;font:13px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;position:absolute;inset:0;overflow:auto}.highlight-layer{color:#dbe2db;pointer-events:none;scrollbar-width:none;-webkit-user-select:none;user-select:none}.highlight-layer::-webkit-scrollbar{display:none}.highlight-layer code{min-width:max-content;font:inherit;display:block}.code-editor{resize:none;color:#0000;caret-color:#bde94f;outline:none}.code-editor::selection{background:#bde94f30}.hljs-comment,.hljs-doctag{color:#6f7b70;font-style:italic}.hljs-keyword,.hljs-section{color:#bde94f}.hljs-built_in,.hljs-type{color:#72d6c9}.hljs-title,.hljs-theorem{color:#e8cc7e}.hljs-string{color:#dfa06c}.hljs-number,.hljs-literal{color:#bea0e5}.hljs-meta{color:#d887a4}.hljs-symbol{color:#929cec}.hljs-sorry{color:#ed7668;background:#ed766818;font-weight:700}.editor-footer{color:#737c73;justify-content:space-between;align-items:center;gap:16px;height:56px;padding:0 10px 0 14px;font:10px ui-monospace,SFMono-Regular,Consolas,monospace;display:flex}.editor-footer .reset-button{margin-right:auto}button{color:#101310;cursor:pointer;background:#bde94f;border:0;border-radius:5px;align-items:center;gap:12px;height:38px;padding:0 16px;font:700 12px Inter,ui-sans-serif,system-ui,sans-serif;transition:background .15s,transform .15s;display:inline-flex}button:hover:not(:disabled){background:#cef66b;transform:translateY(-1px)}button:disabled{opacity:.5;cursor:wait}.result-body{place-items:center;min-height:436px;padding:24px;display:grid}.empty-state{color:#737c73;text-align:center;font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace}.verdict{grid-template-columns:36px minmax(0,1fr);align-content:start;align-self:stretch;gap:14px;width:100%;padding-top:18px;display:grid}.verdict-icon{border:1px solid;border-radius:50%;place-items:center;width:34px;height:34px;font-size:17px;display:grid}.verdict.valid{color:#bde94f}.verdict.invalid,.verdict.timeout,.verdict.internal_error,.verdict.error{color:#ed7668}.verdict.queued,.verdict.processing{color:#e8cc7e}.verdict small{letter-spacing:.1em;font:500 10px ui-monospace,SFMono-Regular,Consolas,monospace}.verdict h2{color:#e7ece7;margin:5px 0 16px;font-size:18px}.score{color:#e7ece7;align-items:baseline;gap:8px;margin:0 0 12px;display:flex}.score-block{margin-bottom:18px}.ast-bar{background:#272c27;border-radius:3px;height:7px;display:flex;overflow:hidden}.ast-segment{min-width:2px}.identifiers{background:#72d6c9}.tokens{background:#e8cc7e}.ast-legend{color:#929b92;flex-wrap:wrap;gap:8px 14px;margin-top:9px;font:10px ui-monospace,SFMono-Regular,Consolas,monospace;display:flex}.ast-legend>span{align-items:center;gap:5px;display:inline-flex}.ast-legend i{border-radius:2px;width:7px;height:7px}.ast-legend b{color:#dbe2db;font-weight:600}.ast-map{color:#dbe2db;border-top:1px solid #303630;margin-top:16px;padding-top:14px}.ast-map summary{color:#cbd3cb;cursor:pointer;width:fit-content;font:600 11px ui-monospace,SFMono-Regular,Consolas,monospace}.ast-map>p{color:#7f897f;margin:8px 0 10px;font:10px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}.ast-map pre{color:#758075;white-space:pre-wrap;word-break:normal;background:#101310;border-radius:4px;max-height:220px;margin:0;padding:12px;font:11px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace;overflow:auto}.ast-leaf{color:inherit;background:0 0;border:1px solid;border-radius:3px;margin:0 1px;padding:1px 2px}.ast-leaf.name{color:#72d6c9;background:#72d6c914}.ast-leaf.token{color:#e8cc7e;background:#e8cc7e12}.score strong{letter-spacing:-.04em;font:700 32px/1 ui-monospace,SFMono-Regular,Consolas,monospace}.score span{color:#929b92;font:11px ui-monospace,SFMono-Regular,Consolas,monospace}.verdict pre{color:#b6beb6;white-space:pre-wrap;word-break:break-word;background:#101310;border-radius:4px;max-height:260px;margin:0;padding:12px;font:11px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;overflow:auto}.quiet{color:#7f897f;font:12px ui-monospace,SFMono-Regular,Consolas,monospace}.leaderboard{max-width:620px;margin-top:28px}.leaderboard h2,.admin-table h2{font-size:15px}.leaderboard>p,.admin-table>p{color:#737c73;font-size:12px}.leaderboard ol{border:1px solid #303630;border-radius:6px;margin:0;padding:0;list-style:none}.leaderboard li{border-bottom:1px solid #303630;grid-template-columns:30px 1fr auto;gap:10px;padding:10px 13px;font-size:12px;display:grid}.leaderboard li:last-child{border-bottom:0}.leaderboard li span{color:#596259}.leaderboard li b{color:#bde94f;font:600 11px ui-monospace,monospace}.admin-grid{grid-template-columns:240px minmax(0,1fr);gap:16px;display:grid}.admin-grid aside{flex-direction:column;gap:5px;display:flex}.admin-grid aside button{color:#dbe2db;text-align:left;background:#171a17;justify-content:space-between;height:auto;min-height:38px;padding:10px;display:flex}.admin-grid aside button.selected{outline:1px solid #bde94f}.admin-grid aside small{color:#737c73;font:9px ui-monospace,monospace}.problem-form{background:#171a17;border:1px solid #303630;border-radius:8px;gap:14px;padding:18px;display:grid}.problem-form textarea{resize:vertical;min-height:72px;padding:10px}.problem-form textarea.code-field{min-height:150px;font-family:ui-monospace,monospace}.problem-form .checkbox{grid-template-columns:auto 1fr;align-items:center;display:flex}.problem-form .checkbox input{width:16px;height:16px}.problem-form>button{width:fit-content}.notice{color:#bde94f;border-color:#53672c}.admin-table{margin-top:28px}.table-scroll{border:1px solid #303630;border-radius:6px;overflow:auto}table{border-collapse:collapse;width:100%;font:10px/1.4 ui-monospace,monospace}th,td{text-align:left;white-space:nowrap;border-bottom:1px solid #303630;padding:9px 11px}th{color:#737c73;background:#131613}td{color:#cbd3cb}.spinner,.large-spinner{border:2px solid #10131044;border-top-color:#101310;border-radius:50%;width:13px;height:13px;animation:.7s linear infinite spin;display:inline-block}.large-spinner{border-color:#bde94f #bde94f22 #bde94f22;width:30px;height:30px}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=800px){main{width:min(100% - 28px,640px);padding-top:22px}.topbar{align-items:flex-start}.workspace{grid-template-columns:1fr}.result-body{min-height:240px}.editor-meta .meta,.editor-footer>span{display:none}.problem-row{grid-template-columns:30px minmax(0,1fr) 16px}.personal-best{display:none}.admin-grid{grid-template-columns:1fr}.challenge-head{align-items:flex-start}}
