:root{color-scheme:dark;--bg:#0e0c13;--surface:#19161f;--line:#35303f;--muted:#b5afc0;--text:#f4f1f8;--green:#99e267;--purple:#a789ea;--red:#ff8296;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;letter-spacing:0}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit;color:inherit;letter-spacing:0}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer;min-height:44px;border:1px solid var(--line);border-radius:6px;background:var(--surface);padding:10px 15px;font-weight:600}button:hover:not(:disabled){border-color:var(--purple)}button:disabled{cursor:not-allowed;opacity:.5}button.primary{background:var(--green);color:#16230e;border-color:var(--green)}button.danger{color:var(--red)}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:6px;background:#100e16;padding:11px;min-height:44px}input[type=checkbox]{width:20px;min-height:20px;accent-color:var(--green)}label{display:grid;gap:7px}textarea{resize:vertical;min-height:98px}a{color:var(--purple);text-decoration:none}a:hover{text-decoration:underline}h1{font-size:28px;line-height:1.2;margin:0}h2{font-size:20px;margin:0}h3{font-size:16px;margin:0}p{line-height:1.5;margin:10px 0}small,.muted{color:var(--muted);font-size:14px}.st-shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh}.st-sidebar{padding:20px 16px;background:#14101c;border-right:1px solid var(--line)}.st-brand{display:flex;align-items:center;gap:9px;margin-bottom:30px;font-weight:750;font-size:21px}.st-brand img{width:60px;height:54px;object-fit:contain}.st-sidebar nav{display:grid;gap:6px}.st-sidebar nav button{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;text-align:left;color:var(--muted)}.st-sidebar nav button[aria-current=page]{background:#30233e;color:var(--text)}.st-sidebar footer{margin-top:35px;display:grid;gap:16px;padding:12px}.st-main{min-width:0;padding:0 32px 36px}.st-top{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line);margin-bottom:28px}.st-top .selectors{display:flex;gap:10px;min-width:0}.st-top select{width:auto;max-width:220px}.st-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:26px}.st-heading p{color:var(--muted);margin:7px 0 0}.st-status{display:flex;gap:8px;align-items:center;font-size:13px;color:var(--green);white-space:nowrap}.st-status.offline{color:var(--red)}.st-status i{width:7px;height:7px;border-radius:50%;background:currentColor}.st-columns{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:30px}.st-section{min-width:0;border-top:1px solid var(--line);padding:22px 0}.st-section:first-child{border-top:0;padding-top:0}.st-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.st-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.st-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #28232f;min-height:65px}.st-row>div{min-width:0}.st-row strong,.st-row small{display:block;overflow-wrap:anywhere}.st-row small{margin-top:3px}.st-player{display:flex;align-items:center;gap:12px}.st-position{display:grid;place-items:center;width:28px;flex:0 0 28px;color:var(--muted);font-variant-numeric:tabular-nums}.st-tag{display:inline-flex;align-items:center;padding:5px 8px;font-size:12px;background:#282032;border-radius:4px;color:#cab7ec;white-space:nowrap}.st-tag.green{background:#203121;color:var(--green)}.st-tag.yellow{background:#352c19;color:#efd17b}.st-icon{display:inline-grid;place-items:center;width:44px;height:44px;flex:0 0 44px;padding:0}.st-icon svg,button svg{width:18px;height:18px;flex-shrink:0}button svg{vertical-align:middle}.st-full{width:100%;margin-top:16px}.st-now{border-left:3px solid var(--green);padding-left:14px;margin-bottom:18px}.st-now p{font-weight:600}.st-queue-foot{display:flex;justify-content:space-between;margin-top:12px;font-size:13px;color:var(--muted)}.st-mode{display:flex;gap:6px}.st-mode button[aria-pressed=true]{background:#40314f;border-color:var(--purple)}.st-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 22px;margin-top:18px}.st-stat{padding:14px 0}.st-stat strong{display:block;font-size:30px;font-variant-numeric:tabular-nums;line-height:1.3;margin-top:4px}.st-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:20px 0 26px;border-bottom:1px solid var(--line);margin-bottom:26px}.st-chart{height:160px;display:flex;gap:4px;align-items:end;border-bottom:1px solid var(--line);padding-top:12px}.st-chart span{flex:1;background:var(--purple);min-width:3px;border-radius:2px 2px 0 0}.st-chart-axis{display:flex;justify-content:space-between;color:var(--muted);font-size:13px;margin:9px 0 24px}.st-empty{padding:30px 0;color:var(--muted)}.st-note{padding:12px 0;color:var(--muted);font-size:14px}.st-auth{max-width:430px;margin:50px auto;padding:0 22px}.st-auth img{width:110px;display:block;margin:auto}.st-auth form{display:grid;gap:16px;margin-top:24px}.st-auth h1{text-align:center;margin:15px 0}.st-tabs{display:flex;gap:8px;margin-top:20px}.st-tabs button{flex:1}.st-tabs button[aria-pressed=true]{border-color:var(--purple);background:#30233e}.st-error{color:var(--red);padding:12px 0}.st-toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#203121;color:var(--green);padding:12px 18px;border:1px solid #547744;border-radius:6px;max-width:calc(100% - 30px);z-index:50}.st-toast.error{background:#391d29;color:#ffc0cd;border-color:#7b3d52}dialog{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:8px;width:min(600px,calc(100% - 24px));max-height:88vh;padding:22px}dialog::backdrop{background:#0009}dialog header{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:18px}dialog form{display:grid;gap:16px}dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:10px}.st-permission{display:grid;grid-template-columns:1fr 160px;gap:14px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.st-response{display:flex;gap:8px;align-items:start;margin-bottom:8px}.st-response textarea{min-width:0}.st-pill-nav{display:flex;gap:8px;flex-wrap:wrap}.st-preview-banner{background:#2c233a;color:#dac7f9;padding:9px 18px;font-size:13px;text-align:center}.st-request{display:flex;gap:10px;max-width:600px}.st-request input{min-width:0}.st-audit-icon{color:var(--purple)}.st-mobile-menu{display:none}.st-connection{max-width:155px;text-align:right}.st-platform-name{text-transform:capitalize}.st-readonly{font-weight:400;color:var(--muted);font-size:13px}.st-list-button{border:0;border-bottom:1px solid var(--line);background:none;border-radius:0;width:100%;text-align:left;font-weight:400;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0}.st-library-row{display:flex;align-items:center;gap:12px}.st-library-row input{flex-shrink:0}.st-link-button{background:none;border:0;padding:0;min-height:44px;color:var(--purple)}
.st-sidebar nav .st-dashboard-link{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:10px 15px;border-radius:6px;color:var(--muted);font-weight:600;text-decoration:none}.st-dashboard-link svg{width:18px;height:18px;flex-shrink:0}.st-sidebar nav .st-dashboard-link:hover{background:var(--surface);color:var(--text)}.st-dashboard-link:focus-visible{outline:2px solid var(--purple);outline-offset:2px}
.st-list-button strong,.st-list-button small{display:block;overflow-wrap:anywhere}.st-list-button small{margin-top:5px}.st-list-button>div{min-width:0}
.st-access-heading{flex-wrap:wrap}.st-access-heading>div{min-width:0;flex:1 1 260px}.st-access-heading>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%;white-space:normal}.st-invite-context{overflow-wrap:anywhere}.st-invite-dialog header h2{overflow-wrap:anywhere}.st-invite-dialog footer{flex-wrap:wrap}.st-invite-dialog footer button{max-width:100%;white-space:normal}.st-invite-dialog input{min-width:0}.st-invite-dialog [role=status]{min-height:24px;overflow-wrap:anywhere}
@media(min-width:1500px){.st-main{max-width:1400px;width:100%;margin:auto}}
@media(max-width:1050px){.st-shell{grid-template-columns:180px minmax(0,1fr)}.st-main{padding:0 22px 30px}.st-columns{grid-template-columns:1fr;gap:20px}.st-brand{font-size:18px}.st-brand img{width:46px}}
@media(max-width:650px){.st-shell{display:block}.st-sidebar{padding:9px 16px;border-bottom:1px solid var(--line);border-right:0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}.st-brand{margin:0;font-size:20px}.st-brand img{width:60px;height:52px}.st-mobile-menu{display:grid}.st-sidebar nav{display:none;width:100%;padding-top:12px}.st-sidebar nav.open{display:grid}.st-sidebar footer{display:none}.st-main{padding:0 18px 28px}.st-top{padding:14px 0;margin-bottom:22px;gap:8px}.st-top select{max-width:155px;font-size:14px}.st-top .selectors{gap:6px}.st-status{font-size:12px;white-space:normal;text-align:right}.st-heading{align-items:start;gap:10px}h1{font-size:25px}h2{font-size:19px}.st-heading p{font-size:14px}.st-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;padding-top:0}.st-stat strong{font-size:28px}.st-permission{grid-template-columns:minmax(0,1fr) 130px}.st-request{flex-wrap:wrap}.st-request button{width:100%}.st-heading>.st-tag{max-width:110px;white-space:normal;text-align:center}.st-toolbar .st-mode{flex-wrap:wrap}}
@media(max-width:380px){.st-top{flex-wrap:wrap}.st-top .selectors{width:100%}.st-top .st-status{width:100%;justify-content:flex-end}.st-permission{grid-template-columns:minmax(0,1fr) 115px}.st-permission select{padding:8px}.st-section-head{flex-wrap:wrap}}

.ct-row { flex-wrap:wrap; gap:12px; }
.ct-row > div:first-child { min-width:0; flex:1 1 180px; overflow-wrap:anywhere; }
.ct-toggle { margin:0; display:flex; align-items:center; }
.st-raffle-summary,.st-raffle-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:20px 0}
.st-raffle-summary{justify-content:space-between}.st-raffle-summary>*{min-width:0;overflow-wrap:anywhere}
.st-raffle-entries{max-height:480px;overflow:auto}.st-raffle-entries .st-row{overflow-wrap:anywhere;min-width:0}
/* Moderator-owned reports and channel placeholder editor. */
.smw-choices{min-height:240px;resize:vertical}
.smw-messages{max-height:45vh;overflow:auto;overflow-wrap:anywhere}
.smw-messages article{padding:12px 0;border-bottom:1px solid #373342}
.smw-messages small{display:block}
.smw-messages p{white-space:pre-wrap}
.smw-actions,.smw-actions .st-toolbar{flex-wrap:wrap;gap:12px}
.st-row>.st-list-button{flex:1;min-width:0}
.st-list-button strong,.st-list-button small{overflow-wrap:anywhere}
.st-title-editor{max-width:760px;min-width:0}
.st-title-editor textarea{width:100%;max-width:100%;min-height:104px;resize:vertical;box-sizing:border-box}
.st-title-editor p{overflow-wrap:anywhere}
.st-title-editor .st-section-head{flex-wrap:wrap;gap:12px}
.st-title-authorization{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.st-title-authorization p{flex-basis:100%}
.st-title-editor [hidden]{display:none!important}
@media(max-width:480px){.st-title-editor button{min-height:44px}.st-title-editor form button{width:100%}}
