body{font-family:-apple-system,Helvetica,Arial,sans-serif;background:#0f1115;color:#e6e6e6;margin:0;padding:24px}h1{font-size:20px;font-weight:600;margin:0 0 4px}.sub{color:#8a8f98;font-size:13px;margin-bottom:24px}.grid{display:grid;grid-template-columns:320px 1fr;gap:20px}.stack>*{width:100%}.table-wrap{overflow-x:auto}.table-wrap table{min-width:720px}.row-clickable{cursor:pointer}.row-clickable:hover{background:#1c2028}.card{background:#171a21;border:1px solid #262a33;border-radius:10px;padding:16px;margin-bottom:16px}.card h2{font-size:14px;text-transform:uppercase;letter-spacing:.04em;color:#8a8f98;margin:0 0 12px}.node{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid #21242c;font-size:13px}.node:last-child{border-bottom:none}.dot{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:8px}.dot.on{background:#3ecf8e}.dot.off{background:#5a5f6b}.dot.unknown{background:transparent;border:1px solid #5a5f6b}.lang-switcher{width:auto;padding:6px 8px;font-size:12px}.lang-menu{position:relative;display:inline-block}.lang-menu img{border-radius:2px;flex:none}.lang-menu-button{display:inline-flex;align-items:center;gap:6px;cursor:pointer}.lang-menu-list{position:absolute;right:0;top:100%;margin:4px 0 0;padding:4px 0;list-style:none;background:#0f1115;border:1px solid #333844;border-radius:6px;z-index:100;min-width:150px}.lang-menu-list button{display:flex;align-items:center;gap:8px;border:none;border-radius:0;padding:6px 12px;text-align:left;cursor:pointer;color:#8a8f98}.lang-menu-list button:hover{background:#1a1d24;color:#e6e6e6}.lang-menu-list button.active{color:#e6e6e6;font-weight:600}select,input,button{background:#0f1115;color:#e6e6e6;border:1px solid #333844;border-radius:6px;padding:8px;font-size:13px;width:100%;box-sizing:border-box}label{display:block;font-size:12px;color:#8a8f98;margin:10px 0 4px}button.primary{background:#3d6bff;border-color:#3d6bff;color:#fff;margin-top:16px;cursor:pointer;font-weight:600}button.primary:hover{background:#2f56d6}button.primary:disabled{opacity:.5;cursor:default}table{width:100%;border-collapse:collapse;font-size:12px}th,td{text-align:left;padding:6px 8px;border-bottom:1px solid #21242c}th{color:#8a8f98;font-weight:500}.modal-scroll-body th{position:sticky;top:0;background:#171a21;z-index:1}.gain-pos{color:#3ecf8e}.gain-neg{color:#ff6b6b}.pill{display:inline-block;padding:2px 8px;border-radius:12px;background:#21242c;font-size:11px}.pill.danger{background:#3a1d1d;color:#ff6b6b}#log{font-size:11px;color:#6b7280;max-height:120px;overflow-y:auto;white-space:pre-wrap}.paramsgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}.paramname{font-size:11px;color:#8a8f98;margin-bottom:2px}.gridrow{margin-bottom:10px}.gridrow-head{display:flex;align-items:center;gap:6px;margin:0 0 4px}.gridrow-head input[type=checkbox]{width:auto}.gridrow-inputs{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px 12px;margin-bottom:8px}.form-row .sub{margin-bottom:0;align-self:center}.auth-card{max-width:340px;margin:80px auto}.error{color:#ff6b6b;font-size:12px;margin-top:10px}.switch-mode{margin-top:14px;font-size:12px;color:#8a8f98;text-align:center}.link-button{background:none;border:none;color:#3d6bff;width:auto;padding:0;font-size:12px;cursor:pointer}.link-button:hover{text-decoration:underline}.link-button.danger{color:#ff6b6b}.link-button:disabled{color:#5a5f6b;cursor:default;text-decoration:none}input[type=date]::-webkit-calendar-picker-indicator{filter:invert(1);cursor:pointer}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.topbar .account{display:flex;align-items:center;gap:12px;font-size:12px;color:#8a8f98}.topbar button.link-button{color:#ff6b6b;font-size:12px}.topnav{display:flex;gap:4px;margin-bottom:20px;border-bottom:1px solid #262a33;padding-bottom:0}.navtab{width:auto;background:none;border:none;border-bottom:2px solid transparent;border-radius:0;color:#8a8f98;padding:10px 14px;font-size:13px;cursor:pointer}.navtab:hover{color:#e6e6e6}.navtab.active{color:#e6e6e6;border-bottom-color:#3d6bff}.ranking-scroll{max-height:440px;overflow-y:auto}.ranking-scroll th,.scroll-box th{position:sticky;top:0;background:#171a21;z-index:1}.ranking-scroll,.modal-scroll-body,.scroll-box,#log{overscroll-behavior:contain}.help{max-width:920px;margin-left:auto;margin-right:auto;line-height:1.6;font-size:14px}.help h3{margin:24px 0 8px;font-size:15px}.help-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}.help .help-tile{text-align:left;background:#1c2028;border:1px solid #262a33;border-radius:12px;padding:16px;cursor:pointer;transition:border-color .15s,transform .15s;font-size:14px}.help .help-tile:hover{border-color:#3d6bff;transform:translateY(-2px)}.help-tile-art{background:#0f1115;border-radius:8px;padding:12px;margin-bottom:12px}.help-tile-art svg{display:block;width:100%;height:90px}.help-hero svg{display:block;width:100%;height:auto}.help-tile-title{font-weight:600;font-size:15px;margin-bottom:4px}.help-tile-blurb{color:#8a8f98;font-size:13px;line-height:1.5}.help .help-back{width:auto;background:transparent;border:none;color:#8a8f98;padding:0;margin-bottom:12px;cursor:pointer}.help .help-back:hover{color:#e6e6e6}.help-hero{background:#0f1115;border-radius:12px;padding:20px 24px;margin-bottom:20px}.help-hero svg{max-height:200px;margin:0 auto}.help-page-title{font-size:22px;margin-bottom:12px}.help-legend{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12px;color:#8a8f98;margin:4px 0 16px}.help-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}.help-steps,.help-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 16px}.help-step,.help-fact{background:#1c2028;border:1px solid #262a33;border-radius:10px;padding:14px;font-size:13px}.help-step{display:flex;gap:12px;align-items:flex-start}.help-step svg{flex:none}.help-pager{display:flex;justify-content:space-between;gap:12px;margin-top:28px;padding-top:16px;border-top:1px solid #262a33}.help-pager button{width:auto;cursor:pointer}.help-pager button:hover{border-color:#3d6bff}@media (max-width: 640px){.help-steps,.help-facts{grid-template-columns:1fr}}.article-editor .article-langs{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.article-editor .article-langs button.active{border-color:#8ab4f8;color:#8ab4f8}.article-paper{max-width:820px;margin:12px auto 0;background:#0f1218;border:1px solid #2a2f3a;border-radius:10px;padding:28px 32px}.article-title-input{width:100%;font-size:30px;font-weight:700;background:transparent;border:none;color:#e8eaed;outline:none;padding:4px 0}.article-subtitle-input{width:100%;font-size:18px;background:transparent;border:none;color:#aab2c0;outline:none;resize:vertical;margin-top:6px;font-family:inherit}.article-cover{display:flex;flex-direction:column;gap:8px;margin:16px 0;padding:12px;border:1px dashed #2a2f3a;border-radius:8px}.article-cover img{max-width:100%;max-height:260px;object-fit:cover;border-radius:6px}.article-toolbar{position:sticky;top:0;z-index:2;display:flex;flex-wrap:wrap;gap:4px;padding:6px;background:#14171d;border:1px solid #2a2f3a;border-radius:8px;margin:8px 0 12px}.article-toolbar button{padding:4px 10px;font-size:13px}.article-toolbar button.active{background:#1c2533;color:#8ab4f8;border-color:#8ab4f8}.article-toolbar-sep{width:1px;background:#2a2f3a;margin:2px 4px}.article-body-editor .ProseMirror{min-height:320px;outline:none;font-size:17px;line-height:1.7;color:#d6dae0}.article-body-editor .ProseMirror h2{font-size:24px;margin:1.4em 0 .5em;color:#e8eaed}.article-body-editor .ProseMirror h3{font-size:19px;margin:1.2em 0 .4em;color:#e8eaed}.article-body-editor .ProseMirror p{margin:0 0 1em}.article-body-editor .ProseMirror blockquote{border-left:3px solid #8ab4f8;margin:1em 0;padding:2px 16px;color:#aab2c0}.article-body-editor .ProseMirror a{color:#8ab4f8;text-decoration:underline}.article-body-editor .ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:#5a6270;float:left;height:0;pointer-events:none}.article-figure{margin:1.4em 0;position:relative}.article-figure img{display:block;width:100%;border-radius:6px}.article-figure.wide{margin-left:-32px;margin-right:-32px}.article-figure.wide img{border-radius:0}.article-figure.selected img{outline:2px solid #8ab4f8}.article-figure-tools{display:flex;gap:4px;margin-bottom:4px;align-items:center}.article-figure-tools button{padding:2px 8px;font-size:12px}.article-figure-tools button.active{color:#8ab4f8;border-color:#8ab4f8}.article-figure-handle{cursor:grab;padding:0 6px;color:#8a93a3;-webkit-user-select:none;user-select:none}.article-figure-caption{width:100%;margin-top:6px;text-align:center;background:transparent;border:none;border-bottom:1px dashed #2a2f3a;color:#aab2c0;font-size:14px;outline:none}.article-figure figcaption{text-align:center;color:#aab2c0;font-size:14px;margin-top:6px}.image-library-bar{display:flex;gap:8px;align-items:center;margin-top:12px}.image-library-bar input[type=search]{flex:1;min-width:0}.image-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;margin-top:12px}.image-library-item{display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid #2a2f3a;border-radius:8px;background:#141821}.image-library-item input,.image-library-item textarea{width:100%;box-sizing:border-box;font-size:13px}.image-library-item textarea{resize:vertical}.image-library-thumb{padding:0;border:none;background:#0b0e14;border-radius:6px;overflow:hidden;cursor:pointer;aspect-ratio:16 / 9;display:flex;align-items:center;justify-content:center}.image-library-thumb img{max-width:100%;max-height:100%;object-fit:contain;display:block}.image-library-thumb:hover{outline:2px solid #0161ef}.image-library-meta{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:12px}.image-library-meta .sub{margin:0;overflow:hidden;text-overflow:ellipsis}
