:root{color-scheme:dark;--bg:#090e1c;--panel:#121a2d;--panel2:#172039;--line:#28324c;--text:#f3f6fe;--muted:#9ca9c6;--violet:#9670ff;--blue:#55aaf7;--green:#34d3a1;--red:#ff6c7f;--yellow:#f7ca67;font:15px/1.55 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 15% -20%,#26254e 0,transparent 40%),var(--bg);color:var(--text);min-height:100vh}button,input,select{font:inherit}button{cursor:pointer;color:inherit}input,select{background:#0c1428;border:1px solid var(--line);color:var(--text);padding:12px 13px;border-radius:10px;min-width:0;width:100%;outline:0}input:focus,select:focus{border-color:#9173fc;box-shadow:0 0 0 3px #9575f525}select{color-scheme:dark}button:focus-visible,a:focus-visible{outline:3px solid var(--violet);outline-offset:2px}a{color:#93b7ff;text-decoration:none}a:hover{text-decoration:underline}h1,h2,p{margin:0}h1{font-size:27px;letter-spacing:-.035em}h1 span{color:#b697ff}h2{font-size:18px;letter-spacing:-.02em}p{margin:6px 0 12px}.hidden{display:none!important}.small,small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.12em;color:#8a96b7}.shell{min-height:100vh;display:flex}.sidebar{width:246px;flex-shrink:0;padding:25px 16px;display:flex;flex-direction:column;background:#0c1223;border-right:1px solid var(--line);position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;margin:0 8px 35px}.brand b{display:block;font-size:19px;letter-spacing:-.035em}.brand small{display:block;color:var(--muted)}.mark{background:linear-gradient(135deg,#8f65ff,#dd70ff);height:39px;width:39px;border-radius:12px;display:grid;place-items:center;color:white;font-weight:900;font-size:23px;box-shadow:0 10px 30px #985af64a}nav{display:grid;gap:5px}nav button{border:1px solid transparent;border-radius:10px;padding:11px 13px;background:transparent;text-align:left;color:#b5bfd8;font-weight:600;display:flex;gap:12px}nav button:hover{background:#1b2340}nav button.selected{background:#292348;color:#fff;border-color:#514682}.sidebar-foot{margin-top:auto;font-size:12px;color:var(--muted);padding:10px}.sidebar-foot small{display:block;padding-left:19px}.online-dot{display:inline-block;height:8px;width:8px;background:var(--green);border-radius:50%;margin-right:7px}.main{width:100%;min-width:0;max-width:1640px;margin:0 auto;padding:30px 38px 55px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:28px}.top-actions{display:flex;gap:10px;align-items:center}.quiet,.btn{border:1px solid var(--line);border-radius:10px;padding:10px 13px;background:#182137;text-decoration:none;display:inline-block;font-size:13px;font-weight:700;color:var(--text)}.quiet:hover,.btn:hover{background:#293653;text-decoration:none}.primary{border:0;border-radius:10px;background:linear-gradient(135deg,#8865f6,#6a56db);color:white;padding:12px 18px;font-weight:800;box-shadow:0 8px 24px #7658c02a}.primary:hover{filter:brightness(1.1)}.wide{width:100%}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:18px}.stats article,.panel{border:1px solid var(--line);border-radius:16px;background:linear-gradient(160deg,#161e32,#10182a);padding:22px;min-width:0}.stats article{display:flex;flex-direction:column;align-items:start;min-height:160px}.stats article span,.stats article small{color:var(--muted)}.stats article strong{font-size:34px;font-variant-numeric:tabular-nums;letter-spacing:-.04em}.stat-icon{font-size:18px;margin-bottom:6px}.violet{color:var(--violet)}.green{color:var(--green)}.blue{color:var(--blue)}.amber{color:var(--yellow)}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.panel{margin-bottom:18px}.twocol .panel{margin-bottom:0}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:18px}.panel-heading p{color:var(--muted);font-size:13px}.form{display:grid;gap:11px}.form label,.modal label{font-size:12px;color:#bbc6e0;font-weight:700}.inline{display:grid;grid-template-columns:1fr 1fr;gap:8px}.service{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:12px 0}.service div:nth-child(2){flex:1}.service small{display:block;color:var(--muted)}.service-icon{width:39px;height:39px;border-radius:11px;display:grid;place-items:center;font-weight:900}.service-icon.twitch{background:#2e254f;color:#b99aff}.service-icon.youtube{background:#49212d;color:#ff8596}.status{font-size:12px;border-radius:50px;padding:3px 10px;font-weight:700}.status.green{background:#143d37;color:#51e7b9}.status.gray{background:#263146;color:#a9b3c7}.status.orange{background:#4b391f;color:#ffcd77}.status.red{background:#522533;color:#ffa1b0}.quota{padding:16px 0 0}.between{display:flex;justify-content:space-between;align-items:center;gap:12px}.quota small{color:var(--muted)}.progress{height:8px;border-radius:50px;background:#2a3450;margin:11px 0}.progress>div{height:100%;width:0%;background:linear-gradient(90deg,#41c2ff,#9c7aff);border-radius:50px}.toolbar{display:flex;gap:10px;margin-bottom:14px}.toolbar input{flex:1}.toolbar select{width:auto;min-width:160px}.batch{display:flex;align-items:center;gap:7px;background:#111a2e;padding:11px;border-radius:10px;margin-bottom:12px;flex-wrap:wrap}.batch span{color:var(--muted);margin-right:auto;font-size:12px}.batch button{padding:7px 10px}.channel-list,.result-list{display:grid;gap:9px}.channel-card,.result-card{border:1px solid var(--line);border-radius:11px;padding:13px 15px;background:#131d30;display:flex;gap:12px;align-items:center}.channel-card .body,.result-card .body{flex:1;min-width:0}.channel-card b,.result-card b{font-size:14px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.channel-card small,.result-card small{color:var(--muted);display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.channel-card .controls{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.channel-card .controls select{width:150px;padding:8px}.channel-card .controls button{padding:7px 10px}.check{width:17px;height:17px;accent-color:#9173fc}.pill{font-size:10px;font-weight:800;padding:5px 9px;border-radius:7px;background:#2a3250;color:#bbbcf4}.pill.tw{background:#30254e;color:#d3b7ff}.pill.yt{background:#47232b;color:#ffb0bd}.empty{padding:28px;color:var(--muted);text-align:center;border:1px dashed var(--line);border-radius:10px}.result-card .buttons{display:flex;gap:8px;flex-wrap:wrap}.btn-sm{padding:7px 10px;font-size:12px}.error{color:var(--red);font-size:13px;margin-top:8px}.notice{padding:13px;border-radius:11px;background:#30281e;color:#f5dcad;font-size:12px;margin-top:16px}.divider{height:1px;background:var(--line);margin:16px 0}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{max-width:420px;width:100%;background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:35px;display:grid;gap:14px}.login-card h1{font-size:32px}.login-card p{color:var(--muted)}.login-card label{font-size:13px;color:#cad3e8}.login-card .mark{height:46px;width:46px}.toast{position:fixed;right:25px;top:20px;z-index:200;background:#1f3050;border:1px solid #5c72a2;padding:13px 18px;border-radius:12px;max-width:min(90vw,440px);box-shadow:0 15px 35px #0009}.toast.bad{background:#42242d;border-color:#a25566}.modal{position:fixed;inset:0;z-index:100;background:#010612d9;display:grid;place-items:center;padding:20px}.modal-card{width:min(510px,100%);border:1px solid var(--line);border-radius:19px;background:#172036;padding:28px;display:grid;gap:12px;max-height:90vh;overflow:auto}.icon-btn{border:0;background:transparent;font-size:27px}.device{margin-top:16px;padding:17px;border:1px solid var(--line);border-radius:12px;display:grid;gap:10px}.device strong{font-size:26px;letter-spacing:.15em}.device small{color:var(--muted)}@media(max-width:1150px){.stats{grid-template-columns:repeat(2,1fr)}.main{padding:26px}.sidebar{width:210px}}@media(max-width:790px){.shell{display:block}.sidebar{position:sticky;z-index:50;top:0;width:100%;height:auto;padding:10px;display:flex;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid var(--line);gap:10px}.brand{margin:0}.brand small,.sidebar-foot{display:none}.brand b{font-size:14px}.brand .mark{width:32px;height:32px;font-size:17px}.sidebar nav{display:flex;overflow:auto;gap:2px;flex:1;min-width:0}.sidebar nav button{padding:7px 9px;font-size:13px;white-space:nowrap}.sidebar nav button span{display:none}.main{padding:22px 14px}.topbar{align-items:flex-start}.topbar h1{font-size:25px}.top-actions{flex-wrap:wrap;justify-content:flex-end}.top-actions #sync{display:none}.twocol{grid-template-columns:1fr}.stats{gap:9px}.stats article,.panel{padding:15px}.stats article{min-height:124px}.stats article strong{font-size:28px}.channel-card{flex-wrap:wrap}.channel-card .controls{width:100%;justify-content:flex-start;padding-left:25px}.result-card{flex-wrap:wrap}.result-card .buttons{width:100%}.toolbar{flex-wrap:wrap}.toolbar input,.toolbar select{width:100%}.panel-heading{flex-wrap:wrap}.inline{grid-template-columns:1fr}}
