.sc-chat-panel{--sc-width:360px;--sc-top:76px;position:fixed;top:var(--sc-top);right:0;bottom:0;width:var(--sc-width);max-width:100vw;z-index:1800;display:flex;flex-direction:column;background:#111214;color:#b5bac1;border-left:1px solid #2a2b30;box-shadow:-18px 0 48px rgba(0,0,0,.4);font-family:var(--font-sans,Inter,system-ui,sans-serif);font-size:13px;line-height:1.5;isolation:isolate;}
.sc-chat-panel[hidden],.sc-chat-panel [hidden],.sc-dialog [hidden]{display:none!important;}
.sc-chat-panel *,.sc-dialog *{box-sizing:border-box;}
.sc-chat-panel button,.sc-dialog button{font:inherit;cursor:pointer!important;}
.sc-chat-panel textarea,.sc-dialog textarea{font:inherit;cursor:text!important;}
.sc-chat-panel button:disabled,.sc-dialog button:disabled{cursor:not-allowed!important;}
.sc-chat-panel button:focus-visible,.sc-chat-panel textarea:focus-visible,.sc-chat-panel [tabindex]:focus-visible,.sc-dialog button:focus-visible,.sc-dialog textarea:focus-visible{outline:2px solid #f5a623;outline-offset:3px;}
.sc-chat-head{display:flex;align-items:center;justify-content:space-between;flex:none;gap:12px;padding:17px 18px;border-bottom:1px solid #292b30;background:#16171a;}
.sc-chat-head h2{font-size:17px;line-height:1.3;font-weight:800;color:#f2f3f5;margin:0;letter-spacing:-.03em;}
.sc-connection{font-size:10.5px;color:#8a8c96;margin:5px 0 0;}
.sc-connection::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#e8860c;margin-right:6px;vertical-align:1px;}
.sc-connection.sc-offline{color:#f1b86f;}
.sc-connection.sc-offline::before{background:#f1b86f;}
.sc-chat-close,.sc-dialog-close{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:8px;border:1px solid #32343a!important;background:#1e1f23!important;color:#b5bac1;font-size:24px!important;line-height:1;}
.sc-chat-close:hover,.sc-dialog-close:hover{color:#fff;background:#2a2b30!important;}
.sc-message-stage{position:relative;flex:1;min-height:0;}
.sc-message-list{height:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#383a41 #111214;padding:7px 12px 14px;outline-offset:-3px!important;}
.sc-message{position:relative;padding:12px 4px 10px;border-bottom:1px solid rgba(255,255,255,.045);border-radius:8px;transition:background .18s;overflow-wrap:anywhere;}
.sc-message:last-child{border-bottom:0;}
.sc-message-head{display:flex;gap:5px;align-items:center;min-width:0;}
.sc-author{display:inline-flex;align-items:center;min-width:0;gap:8px;padding:0;background:none;color:#ecedf0;border:0;max-width:180px;text-align:left;font-weight:700!important;}
.sc-author-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;}
.sc-author:hover .sc-author-name{color:#f5a623;}
.sc-avatar{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:28px;height:28px;overflow:hidden;border-radius:9px;background:#332a20;color:#f5b251;font-size:12px;font-weight:800;border:1px solid rgba(232,134,12,.15);}
.sc-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.sc-badges{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap;}
.sc-message-head>.sc-badges{max-width:85px;}
.sc-badge{display:inline-flex;border:1px solid #41434b;border-radius:4px;padding:1px 4px;font-size:8px;font-weight:800;line-height:1.3;text-transform:uppercase;letter-spacing:.025em;color:#b5bac1;}
.sc-badge-admin{color:#f5a623;background:rgba(232,134,12,.11);border-color:rgba(232,134,12,.35);}
.sc-badge-staff{color:#a2c2ff;background:rgba(86,137,232,.1);border-color:rgba(86,137,232,.3);}
.sc-badge-reseller{color:#7ad9aa;background:rgba(74,222,128,.07);border-color:rgba(74,222,128,.25);}
.sc-message-time{margin-left:auto;flex:none;color:#6d6f78;font-size:9px;white-space:nowrap;}
.sc-message-more{flex:none;align-self:center;color:#91939e;width:23px;height:26px;padding:0;background:none;font-size:20px!important;line-height:1;}
.sc-message-more:hover{color:#f5a623;}
.sc-message-text{font-size:12.5px;line-height:1.65;color:#c9cbd2;white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 0;padding-left:36px;}
.sc-deleted{color:#70727c;font-style:italic;}
.sc-message-menu{position:absolute;right:3px;top:41px;min-width:153px;padding:5px;border-radius:9px;border:1px solid #373940;background:#212227;box-shadow:0 10px 30px rgba(0,0,0,.45);z-index:8;}
.sc-menu-action{display:block;width:100%;padding:8px 10px;border:0;border-radius:5px;text-align:left;background:none;color:#d8dae0;font-size:12px!important;}
.sc-menu-action:hover:not(:disabled){background:#2c2e35;color:#fff;}
.sc-menu-action:disabled{opacity:.35;}
.sc-menu-action.sc-danger{color:#ff9292;}
.sc-reply-preview{display:flex;flex-direction:column;align-items:stretch;gap:1px;text-align:left;margin:8px 0 0 36px;padding:6px 8px;border:0;border-left:2px solid #bd7016;border-radius:0 5px 5px 0;background:rgba(232,134,12,.065);color:#858792;width:calc(100% - 36px);font-size:11px!important;line-height:1.4;}
.sc-reply-preview b{color:#dba353;font-size:10px;}
.sc-reply-preview span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.sc-reply-preview:hover{background:rgba(232,134,12,.12);}
.sc-highlight{background:rgba(232,134,12,.14);}
.sc-empty{margin:24px 14px;color:#8b8d97;font-size:12px;line-height:1.7;text-align:center;}
.sc-jump{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);z-index:10;white-space:nowrap;padding:8px 15px;background:#e8860c!important;color:#fff;border:1px solid #f5a623!important;border-radius:999px;font-size:11px!important;font-weight:800!important;box-shadow:0 5px 20px rgba(0,0,0,.4);}
#sc-chat-panel .sc-jump:active{transform:translateX(-50%) scale(.96)!important;}
.sc-composer{flex:none;padding:14px 15px 12px;border-top:1px solid #2a2b30;background:#16171a;}
.sc-gate{color:#a4a6af;font-size:10.5px;line-height:1.55;margin:0 0 10px;}
.sc-gate.sc-unlocked{color:#c9954e;}
.sc-login{display:block;width:100%;padding:9px 12px;margin:0 0 10px;border:1px solid rgba(232,134,12,.3)!important;border-radius:7px;background:rgba(232,134,12,.09)!important;color:#f5a623;font-weight:700!important;font-size:12px!important;}
.sc-chat-input{display:block;width:100%;max-width:100%;min-height:71px;max-height:160px;resize:vertical;padding:10px 11px;background:#0e0f11;color:#eceef2;border:1px solid #303138;border-radius:8px;font-family:inherit;font-size:12px!important;line-height:1.6;outline:none;}
.sc-chat-input::placeholder{color:#646671;}
.sc-chat-input:focus{border-color:#ad6714;}
.sc-chat-input:disabled{opacity:.5;resize:none;}
.sc-compose-foot{display:flex;align-items:center;justify-content:space-between;margin-top:9px;gap:12px;}
.sc-count{color:#737580;font-size:10px;font-variant-numeric:tabular-nums;}
.sc-send{display:inline-flex;align-items:center;justify-content:center;min-width:76px;min-height:33px;padding:7px 13px;border:1px solid transparent!important;border-radius:7px;background:#e8860c!important;color:#fff;font-size:12px!important;font-weight:800!important;}
.sc-send:hover:not(:disabled){background:#f09821!important;}
.sc-send:disabled{opacity:.4;}
.sc-status{margin:7px 0 0;font-size:10.5px;color:#b5bac1;line-height:1.5;min-height:0;}
.sc-status:empty{display:none;}
.sc-error{color:#ffaaa3!important;}
.sc-compose-reply{display:flex;align-items:flex-start;gap:8px;padding:8px 10px;margin-bottom:9px;border-left:2px solid #e8860c;background:rgba(232,134,12,.07);border-radius:0 6px 6px 0;font-size:10.5px;}
.sc-compose-reply>div{min-width:0;flex:1;}
.sc-compose-reply b,.sc-compose-reply span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.sc-compose-reply b{color:#dda152;margin-bottom:2px;}
.sc-cancel-reply{flex:none;color:#90929a;border:0;background:none;font-size:18px!important;padding:0 2px;line-height:1;}
.sc-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.sc-dialog{position:fixed;margin:auto;width:min(430px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;overflow:auto;border:1px solid #383a42;border-radius:15px;background:#17181c;color:#b5bac1;box-shadow:0 22px 80px rgba(0,0,0,.6);font-family:var(--font-sans,Inter,system-ui,sans-serif);font-size:13px;line-height:1.5;z-index:12000;}
.sc-dialog::backdrop{background:rgba(0,0,0,.73);backdrop-filter:blur(5px);}
.sc-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid #2c2e35;}
.sc-dialog-head h2{margin:0;font-size:16px;font-weight:800;color:#f2f3f5;letter-spacing:-.02em;}
.sc-profile-content,.sc-action-form{padding:20px;}
.sc-profile-heading{display:flex;align-items:center;gap:14px;margin-bottom:20px;}
.sc-avatar-large{width:58px;height:58px;font-size:23px;border-radius:16px;}
.sc-profile-heading>div{min-width:0;}
.sc-profile-name{color:#f2f3f5;font-size:19px;line-height:1.4;margin:0;overflow-wrap:anywhere;}
.sc-profile-handle{font-size:12px;color:#797c87;margin:2px 0 7px;overflow-wrap:anywhere;}
.sc-profile-heading .sc-badge{font-size:9px;padding:2px 6px;}
.sc-profile-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 16px;}
.sc-profile-stats>div{padding:12px;border:1px solid #30323a;border-radius:9px;background:#111215;}
.sc-profile-stats dt{font-size:10.5px;color:#8c8f99;margin-bottom:7px;}
.sc-profile-stats dd{margin:0;color:#f0f1f4;font-size:18px;font-weight:800;line-height:1.3;overflow-wrap:anywhere;}
.sc-profile-stats>div:last-child dd{font-size:13px;line-height:1.8;}
.sc-profile-note{color:#757984;font-size:10.5px;margin:9px 0 0;}
.sc-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:33px;padding:7px 13px;border:1px solid #3a3c44!important;border-radius:7px;background:#24262c!important;color:#c5c7ce;font-size:12px!important;font-weight:700!important;}
.sc-secondary:hover{background:#30323a!important;color:#fff;}
.sc-action-quote{margin:0 0 14px;padding:10px 12px;max-height:130px;overflow:auto;border-left:2px solid #b76c17;border-radius:0 6px 6px 0;background:#111215;font-size:12px;color:#a8aab4;white-space:pre-wrap;overflow-wrap:anywhere;}
.sc-action-help{color:#a6a8b2;font-size:12px;margin:0 0 15px;}
.sc-reason-wrap label{display:block;font-size:11px;font-weight:700;color:#c5c7ce;margin-bottom:7px;}
.sc-action-error{font-size:11px;margin:10px 0 0;}
.sc-action-error:empty{display:none;}
.sc-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px;}
.sc-delete-button{background:#ad4545!important;}
.sc-delete-button:hover:not(:disabled){background:#c55353!important;}
@media(max-width:767px){
  .sc-chat-panel{width:100%;border-left:0;box-shadow:none;z-index:1800;}
  .sc-chat-head{padding:13px 17px;}
  .sc-message-list{padding:7px 16px 13px;}
  .sc-message-text{font-size:13px;}
  .sc-author{max-width:58%;}
  .sc-author-name{font-size:12.5px;}
  .sc-message-head>.sc-badges{max-width:105px;}
  .sc-composer{padding:12px 16px max(13px,env(safe-area-inset-bottom));}
  .sc-chat-input{font-size:16px!important;min-height:65px;max-height:130px;}
  .sc-dialog{max-height:calc(100dvh - 28px);}
}
@media(prefers-reduced-motion:reduce){.sc-message,.sc-chat-panel button,.sc-dialog button{transition:none!important;} .sc-reply-preview{scroll-behavior:auto;}}

body.sc-chat-open #floating-discord-btn{display:none!important;}

.sc-header .nav-in{padding-right:calc(var(--page-pad,24px) + 94px);}
.sc-header #nav-chat-btn{position:absolute;right:14px;top:14px;height:38px;min-width:76px;margin:0;cursor:pointer!important;}
.sc-header.sc-header-compact .nav-links{display:none;}
.sc-header.sc-header-compact .nav-actions{margin-left:auto;}
.sc-header-name{font:inherit;font-weight:inherit;padding:0;border:0;background:none;color:inherit;text-align:left;cursor:pointer!important;}
.sc-header-name:hover{color:#f5a623;}
.sc-header-avatar{display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;background:none;border-radius:50%;cursor:pointer!important;}
.sc-header-avatar:focus-visible,.sc-header-name:focus-visible{outline:2px solid #f5a623;outline-offset:3px;}
.sc-profile-tabs{display:flex;gap:5px;padding:12px 20px 0;}
.sc-profile-tab{padding:8px 10px;border:1px solid transparent!important;border-radius:7px;color:#999ca7;background:none;font-size:12px!important;font-weight:700!important;}
.sc-profile-tab[aria-selected="true"]{border-color:rgba(232,134,12,.35)!important;background:rgba(232,134,12,.1);color:#f5a623;}
.sc-profile-settings h3{margin:0 0 10px;color:#f2f3f5;font-size:17px;}
.sc-profile-settings p{font-size:12px;line-height:1.6;}
.sc-privacy-switch{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 12px;margin:20px 0 10px;background:#111215;border:1px solid #30323a;border-radius:9px;color:#eceef2;font-weight:700;}
.sc-privacy-switch input{width:20px;height:20px;accent-color:#e8860c;cursor:pointer!important;flex:none;}
.sc-settings-status{min-height:20px;color:#a4a6af;}
.sc-private-notice{padding:10px 0;color:#b5bac1;}
.sc-dialog,.sc-dialog *,.sc-dialog::backdrop{cursor:auto!important;}
.sc-dialog button,.sc-dialog [role="tab"],.sc-dialog label,.sc-dialog input[type="checkbox"]{cursor:pointer!important;}
.sc-dialog textarea,.sc-dialog input:not([type="checkbox"]){cursor:text!important;}
.sc-dialog button:disabled,.sc-dialog input:disabled{cursor:not-allowed!important;}
body.sc-dialog-open .cur-ring,body.sc-dialog-open .cur-dot{visibility:hidden!important;}
@media(max-width:767px){
  .sc-header .nav-in{padding-right:calc(var(--page-pad,24px) + 48px);}
  .sc-header #nav-chat-btn{right:8px;top:15px;width:34px;min-width:34px;height:36px;padding:0;justify-content:center;}
  .sc-header #nav-chat-btn>span{display:none;}
}
@media(max-width:600px){.sc-header .nav-in{padding-right:60px;}}
.sc-chat-head-actions{display:flex;align-items:center;gap:7px;flex:none;}
.sc-moderation-open{padding:6px 8px;font-size:10px!important;min-height:32px;}
.sc-moderation-content{padding:20px;}
.sc-moderation-content .sc-privacy-switch{margin-top:0;}
.sc-mod-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 12px;}
.sc-mod-toolbar h3{font-size:14px;color:#ecedf2;margin:0;}
.sc-mod-ban-list{max-height:300px;overflow:auto;overscroll-behavior:contain;}
.sc-mod-ban{display:flex;align-items:center;gap:9px;padding:12px 0;border-bottom:1px solid #2a2c32;}
.sc-mod-ban:last-child{border-bottom:0;}
.sc-mod-ban-identity{min-width:0;flex:1;overflow-wrap:anywhere;}
.sc-mod-ban-identity b{color:#dfe1e8;font-size:12px;}
.sc-mod-ban-identity p{margin-top:4px;}
.sc-unban{padding:6px 9px;font-size:11px!important;flex:none;}
