:root{--bg-0:#0e0e11;--bg-1:#151519;--bg-2:#1b1b20;--bg-3:#24242b;--bg-4:#2e2e37;--bg-float:#111114;--hover:#ffffff0b;--active:#ffffff14;--border:#ffffff12;--text:#e6e4ee;--text-2:#b4b1c2;--text-3:#85829a;--text-4:#5e5b70;--accent:#7a4dff;--accent-hover:#6a3ef0;--accent-soft:#7a4dff29;--accent-text:#b9a2ff;--green:#2fbf71;--yellow:#f0b232;--red:#ee4b5a;--red-hover:#d93a49;--live:#e8384f;--mention-bg:#f0b23214;--mention-bar:#f0b232;--radius:8px;--font:-apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;--mono:"SF Mono", Menlo, Consolas, "Liberation Mono", monospace;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg-0);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;-webkit-user-select:none;user-select:none;font-size:15px;line-height:1.375;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}input,textarea,select{font:inherit;color:inherit}a{color:#7fb4ff;cursor:pointer;text-decoration:none}a:hover{text-decoration:underline}::selection{background:#7a4dff73}::-webkit-scrollbar{width:14px;height:14px}::-webkit-scrollbar-thumb{background:#2b2b33 padding-box padding-box;border:4px solid #0000;border-radius:8px;min-height:40px}::-webkit-scrollbar-track{background:0 0}.thin-scroll::-webkit-scrollbar{width:8px}.thin-scroll::-webkit-scrollbar-thumb{background-color:#0000;border-width:2px}.thin-scroll:hover::-webkit-scrollbar-thumb{background-color:#2b2b33}.selectable{-webkit-user-select:text;user-select:text}.app{flex-direction:column;height:100%;display:flex}.titlebar{-webkit-app-region:drag;height:30px;color:var(--text-3);background:var(--bg-0);flex:0 0 30px;justify-content:center;align-items:center;font-size:12.5px;font-weight:600;display:flex;position:relative}.titlebar .win-controls{-webkit-app-region:no-drag;height:100%;display:flex;position:absolute;top:0;right:0}.titlebar .win-controls button{width:44px;height:100%;color:var(--text-3);place-items:center;display:grid}.titlebar .win-controls button:hover{background:var(--hover);color:var(--text)}.titlebar .win-controls button.close:hover{background:var(--red);color:#fff}.titlebar .conn{position:absolute;left:50%;transform:translate(-50%)}.main{flex:1;min-height:0;display:flex}.guildbar{background:var(--bg-0);flex-direction:column;flex:0 0 72px;align-items:center;gap:8px;width:72px;padding:4px 0 12px;display:flex;overflow:hidden auto}.guildbar::-webkit-scrollbar{display:none}.guild-item{justify-content:center;width:72px;display:flex;position:relative}.guild-pill{background:#fff;border-radius:0 4px 4px 0;width:4px;height:0;transition:height .15s;position:absolute;top:50%;left:0;transform:translateY(-50%)}.guild-item.unread .guild-pill{height:8px}.guild-item:hover .guild-pill{height:20px}.guild-item.selected .guild-pill{height:40px}.guild-icon{background:var(--bg-2);width:48px;height:48px;color:var(--text);border-radius:50%;place-items:center;font-size:15px;font-weight:600;transition:border-radius .15s,background .15s,color .15s;display:grid;position:relative;overflow:hidden}.guild-icon img{object-fit:cover;width:100%;height:100%}.guild-item:hover .guild-icon,.guild-item.selected .guild-icon{background:var(--accent);color:#fff;border-radius:16px}.guild-item:hover .guild-icon.has-img,.guild-item.selected .guild-icon.has-img{background:var(--bg-2)}.guild-icon.action{color:var(--green);background:var(--bg-2)}.guild-item:hover .guild-icon.action{background:var(--green);color:#fff}.guild-sep{background:var(--bg-3);border-radius:1px;flex:0 0 2px;width:32px;height:2px}.badge{background:var(--red);color:#fff;border-radius:8px;place-items:center;min-width:16px;height:16px;padding:0 4px;font-size:11px;font-weight:700;line-height:1;display:inline-grid}.guild-item .badge{box-shadow:0 0 0 4px var(--bg-0);border-radius:9px;min-width:18px;height:18px;position:absolute;bottom:-2px;right:10px}.guild-item .voice-dot{background:var(--green);width:18px;height:18px;box-shadow:0 0 0 4px var(--bg-0);color:#fff;border-radius:50%;place-items:center;display:grid;position:absolute;bottom:-2px;right:10px}.sidebar{background:var(--bg-1);border-top-left-radius:10px;flex-direction:column;flex:0 0 240px;width:240px;min-height:0;display:flex;overflow:hidden}.sidebar-header{border-bottom:1px solid var(--border);cursor:pointer;flex:0 0 48px;align-items:center;gap:6px;height:48px;padding:0 16px;font-size:15.5px;font-weight:600;transition:background .1s;display:flex}.sidebar-header:hover{background:var(--hover)}.sidebar-header .name{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.sidebar-scroll{flex:1;padding:8px 0 16px 8px;overflow-y:auto}.search-btn{background:var(--bg-0);width:calc(100% - 20px);height:28px;color:var(--text-3);text-align:left;border-radius:6px;margin:10px;padding:0 8px;font-size:13.5px}.category{color:var(--text-3);text-transform:uppercase;letter-spacing:.02em;cursor:pointer;align-items:center;gap:2px;padding:16px 8px 4px 2px;font-size:12px;font-weight:600;display:flex}.category:hover{color:var(--text)}.category .grow{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.category .add{opacity:0;color:var(--text-3)}.category:hover .add{opacity:1}.category .add:hover{color:var(--text)}.chan{height:34px;color:var(--text-3);cursor:pointer;border-radius:6px;align-items:center;gap:6px;margin:1px 8px 1px 0;padding:0 8px;font-size:15px;font-weight:500;display:flex;position:relative}.chan:hover{background:var(--hover);color:var(--text-2)}.chan.selected{background:var(--active);color:var(--text)}.chan.unread{color:var(--text);font-weight:600}.chan.unread:before{content:"";background:#fff;border-radius:0 4px 4px 0;width:4px;height:8px;position:absolute;left:-8px}.chan .label{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.chan .tools{color:var(--text-3);gap:4px;display:none}.chan:hover .tools,.chan.selected .tools{display:flex}.chan .tools button:hover{color:var(--text)}.chan .icon{color:var(--text-4);flex:none}.chan.selected .icon,.chan:hover .icon{color:var(--text-3)}.voice-users{margin:0 8px 4px 30px}.voice-user{height:30px;color:var(--text-3);cursor:pointer;border-radius:6px;align-items:center;gap:8px;padding:0 6px;font-size:14px;display:flex}.voice-user:hover{background:var(--hover);color:var(--text-2)}.voice-user .label{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.voice-user .icons{color:var(--text-4);align-items:center;gap:4px;display:flex}.live-badge{background:var(--live);color:#fff;letter-spacing:.03em;border-radius:4px;padding:1px 5px;font-size:10.5px;font-weight:800}.dm-item{height:44px;color:var(--text-3);cursor:pointer;border-radius:6px;align-items:center;gap:12px;margin:1px 8px 1px 0;padding:0 8px;display:flex}.dm-item:hover{background:var(--hover);color:var(--text-2)}.dm-item.selected{background:var(--active);color:var(--text)}.dm-item .info{flex:1;min-width:0}.dm-item .name{white-space:nowrap;text-overflow:ellipsis;font-weight:500;overflow:hidden}.dm-item .sub{color:var(--text-3);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.dm-item .close{opacity:0;color:var(--text-3)}.dm-item:hover .close{opacity:1}.dm-item .close:hover{color:var(--text)}.dm-item.unread .name{color:var(--text);font-weight:600}.sidebar-section{color:var(--text-3);text-transform:uppercase;justify-content:space-between;align-items:center;padding:18px 16px 4px 10px;font-size:12px;font-weight:600;display:flex}.sidebar-section button:hover{color:var(--text)}.user-area{background:#111115;flex:none;padding:0}.voice-panel{border-bottom:1px solid var(--border);padding:8px 8px 6px}.voice-panel .row{align-items:center;gap:6px;display:flex}.voice-panel .status{flex:1;min-width:0}.voice-panel .status .title{color:var(--green);align-items:center;gap:6px;font-size:14px;font-weight:700;display:flex}.voice-panel .status .title.warn{color:var(--yellow)}.voice-panel .status .where{color:var(--text-3);white-space:nowrap;text-overflow:ellipsis;cursor:pointer;font-size:12.5px;overflow:hidden}.voice-panel .status .where:hover{text-decoration:underline}.voice-panel .buttons{gap:8px;margin-top:8px;display:flex}.voice-panel .buttons button{background:var(--bg-3);height:32px;color:var(--text-2);border-radius:6px;flex:1;place-items:center;display:grid}.voice-panel .buttons button:hover{background:var(--bg-4);color:var(--text)}.voice-panel .buttons button.on{background:var(--accent);color:#fff}.voice-panel .buttons button.live{background:var(--live);color:#fff}.icon-btn{width:32px;height:32px;color:var(--text-2);border-radius:6px;flex:none;place-items:center;display:grid;position:relative}.icon-btn:hover{background:var(--hover);color:var(--text)}.icon-btn.danger{color:var(--red)}.icon-btn.active{color:var(--text)}.user-panel{align-items:center;gap:4px;height:52px;padding:0 8px;display:flex}.user-panel .me{cursor:pointer;border-radius:6px;flex:1;align-items:center;gap:8px;min-width:0;margin-left:-4px;padding:4px;display:flex}.user-panel .me:hover{background:var(--hover)}.user-panel .me .info{min-width:0;line-height:1.2}.user-panel .me .name{white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:600;overflow:hidden}.user-panel .me .sub{color:var(--text-3);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.icon-btn.muted{color:var(--red)}.avatar{border-radius:50%;flex:none;position:relative}.avatar .img{color:#fff;background-position:50%;background-size:cover;border-radius:50%;place-items:center;width:100%;height:100%;font-weight:600;display:grid;overflow:hidden}.avatar.speaking .img{box-shadow:0 0 0 2px var(--bg-1), 0 0 0 4px var(--green)}.status-dot{border:3px solid var(--bg-1);border-radius:50%;position:absolute;bottom:-2px;right:-2px}.status-dot.online{background:var(--green)}.status-dot.idle{background:var(--yellow)}.status-dot.dnd{background:var(--red)}.status-dot.offline,.status-dot.invisible{background:#6d6a80}.status-inline{border-radius:50%;width:10px;height:10px;display:inline-block}.status-inline.online{background:var(--green)}.status-inline.idle{background:var(--yellow)}.status-inline.dnd{background:var(--red)}.status-inline.offline,.status-inline.invisible{background:#6d6a80}.content{background:var(--bg-2);flex-direction:column;flex:1;min-width:0;display:flex}.content-header{border-bottom:1px solid var(--border);-webkit-app-region:no-drag;flex:0 0 48px;align-items:center;gap:8px;height:48px;padding:0 8px 0 16px;display:flex}.content-header .title{white-space:nowrap;align-items:center;gap:8px;font-size:15.5px;font-weight:600;display:flex}.content-header .topic{color:var(--text-3);white-space:nowrap;text-overflow:ellipsis;border-left:1px solid var(--border);cursor:pointer;flex:1;margin-left:4px;padding-left:12px;font-size:14px;overflow:hidden}.content-header .spacer{flex:1}.content-header .tools{align-items:center;gap:4px;display:flex}.header-search{background:var(--bg-0);border:0;border-radius:5px;outline:0;width:160px;height:26px;padding:0 8px;font-size:13px;transition:width .15s}.header-search:focus{width:240px}.content-body{flex:1;min-height:0;display:flex}.chat{flex-direction:column;flex:1;min-width:0;display:flex;position:relative}.messages{-webkit-user-select:text;user-select:text;flex-direction:column;flex:1;padding-bottom:12px;display:flex;overflow:hidden auto}.messages .fill{flex:1}.chat-welcome{padding:16px 16px 8px}.chat-welcome .big-icon{background:var(--bg-3);border-radius:50%;place-items:center;width:68px;height:68px;margin-bottom:8px;display:grid}.chat-welcome h1{margin:8px 0;font-size:30px;font-weight:700}.chat-welcome p{color:var(--text-3);margin:0}.divider{color:var(--text-3);align-items:center;margin:20px 16px 4px;font-size:12px;font-weight:600;display:flex}.divider:before,.divider:after{content:"";background:var(--border);flex:1;height:1px}.divider span{padding:0 8px}.divider.new{color:var(--red)}.divider.new:before,.divider.new:after{background:var(--red);opacity:.6}.msg{min-height:22px;padding:2px 48px 2px 72px;position:relative}.msg:hover{background:#0000001f}.msg.head{margin-top:16px}.msg.mentioned{background:var(--mention-bg)}.msg.mentioned:before{content:"";background:var(--mention-bar);width:2px;position:absolute;top:0;bottom:0;left:0}.msg.flash{animation:1.6s flash}@keyframes flash{0%,40%{background:var(--accent-soft)}to{background:0 0}}.msg .avatar-col{cursor:pointer;position:absolute;top:2px;left:16px}.msg .meta{align-items:baseline;gap:8px;display:flex}.msg .author{cursor:pointer;font-weight:600}.msg .author:hover{text-decoration:underline}.msg .time{color:var(--text-4);font-size:12px}.msg .side-time{text-align:center;width:48px;color:var(--text-4);font-size:11px;display:none;position:absolute;top:4px;left:16px}.msg:hover .side-time{display:block}.msg .body{color:var(--text);word-wrap:break-word;white-space:pre-wrap;font-size:15px;line-height:1.375}.msg .body.pending{color:var(--text-3)}.msg .body.failed{color:var(--red)}.msg .body.big-emoji{font-size:44px;line-height:1.2}.msg .edited{color:var(--text-4);margin-left:4px;font-size:11px}.msg .reply-ref{color:var(--text-3);cursor:pointer;white-space:nowrap;align-items:center;gap:6px;margin-bottom:2px;font-size:13.5px;display:flex;position:relative;overflow:hidden}.msg .reply-ref:before{content:"";border-left:2px solid var(--text-4);border-top:2px solid var(--text-4);border-top-left-radius:6px;width:30px;height:10px;position:absolute;top:9px;left:-38px}.msg .reply-ref .r-author{color:var(--text-2);font-weight:600}.msg .reply-ref .r-text{text-overflow:ellipsis;overflow:hidden}.msg .reply-ref:hover .r-text{color:var(--text)}.msg .system{color:var(--text-3);align-items:center;gap:12px;display:flex}.msg .system .sys-icon{color:var(--green);position:absolute;left:30px}.msg-tools{background:var(--bg-1);border:1px solid var(--border);z-index:2;border-radius:8px;padding:2px;display:none;position:absolute;top:-16px;right:16px;box-shadow:0 4px 12px #0000004d}.msg:hover .msg-tools,.msg-tools.open{display:flex}.msg-tools button{width:32px;height:30px;color:var(--text-2);border-radius:6px;place-items:center;display:grid}.msg-tools button:hover{background:var(--hover);color:var(--text)}.msg-tools button.danger{color:var(--red)}.reactions{flex-wrap:wrap;gap:4px;margin-top:4px;display:flex}.reaction{background:var(--bg-3);height:26px;color:var(--text-2);cursor:pointer;border:1px solid #0000;border-radius:8px;align-items:center;gap:6px;padding:0 8px;font-size:14px;display:flex}.reaction:hover{border-color:var(--text-4)}.reaction.me{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-text)}.reaction .count{font-size:13px;font-weight:600}.attachments{flex-direction:column;align-items:flex-start;gap:6px;margin-top:4px;display:flex}.att-img{cursor:zoom-in;object-fit:contain;background:var(--bg-3);border-radius:8px;max-width:min(420px,100%);max-height:320px;display:block}.att-video{background:#000;border-radius:8px;max-width:min(480px,100%);max-height:320px}.att-file{background:var(--bg-1);border:1px solid var(--border);border-radius:8px;align-items:center;gap:10px;max-width:420px;padding:10px 12px;display:flex}.att-file .fname{color:#7fb4ff;text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.att-file .fsize{color:var(--text-3);font-size:12px}.att-audio{width:360px}.edit-box{margin:4px 0}.edit-box textarea{background:var(--bg-3);resize:none;border:0;border-radius:8px;outline:0;width:100%;padding:10px 12px}.edit-box .hint{color:var(--text-3);margin-top:4px;font-size:12px}.edit-box .hint a{cursor:pointer}.inline-code{font-family:var(--mono);background:var(--bg-0);border-radius:4px;padding:2px 4px;font-size:.85em}.code-block{font-family:var(--mono);background:var(--bg-0);border:1px solid var(--border);white-space:pre-wrap;border-radius:6px;max-width:100%;margin:6px 0;padding:8px 10px;font-size:13.5px;overflow-x:auto}blockquote{border-left:4px solid var(--text-4);margin:2px 0;padding:0 0 0 12px}.md-h{margin:8px 0 4px;line-height:1.25}h1.md-h{font-size:24px}h2.md-h{font-size:20px}h3.md-h{font-size:16px}.spoiler{color:#0000;cursor:pointer;background:#0b0b0e;border-radius:4px;padding:0 2px}.spoiler *{visibility:hidden}.spoiler.open{color:inherit;cursor:auto;background:#ffffff1a}.spoiler.open *{visibility:visible}.mention{background:var(--accent-soft);color:var(--accent-text);cursor:pointer;border-radius:4px;padding:0 2px;font-weight:500}.mention:hover{background:var(--accent);color:#fff}.composer-wrap{flex:none;padding:0 16px 20px;position:relative}.reply-bar{background:var(--bg-1);color:var(--text-3);border-radius:8px 8px 0 0;align-items:center;gap:8px;padding:8px 12px;font-size:13.5px;display:flex}.reply-bar b{color:var(--text-2)}.reply-bar .grow{flex:1}.composer{background:var(--bg-3);border-radius:8px;align-items:flex-start;gap:4px;min-height:44px;padding:0 8px 0 4px;display:flex}.reply-bar+.composer,.pending-files+.composer{border-top-left-radius:0;border-top-right-radius:0}.composer textarea{resize:none;background:0 0;border:0;outline:0;flex:1;max-height:50vh;padding:11px 4px;font-size:15px;line-height:1.375}.composer textarea::placeholder{color:var(--text-4)}.composer .icon-btn{margin-top:6px}.composer.disabled{opacity:.6}.pending-files{background:var(--bg-3);border-bottom:1px solid var(--border);border-radius:8px 8px 0 0;gap:12px;padding:16px 12px 8px;display:flex;overflow-x:auto}.pending-file{background:var(--bg-1);border-radius:6px;flex:0 0 160px;width:160px;padding:8px;position:relative}.pending-file .thumb{background:var(--bg-2) center/cover no-repeat;height:110px;color:var(--text-3);border-radius:4px;place-items:center;display:grid}.pending-file .fname{text-overflow:ellipsis;white-space:nowrap;margin-top:6px;font-size:12.5px;overflow:hidden}.pending-file .remove{background:var(--bg-4);width:26px;height:26px;color:var(--red);border-radius:6px;place-items:center;display:grid;position:absolute;top:-8px;right:-8px}.typing{color:var(--text-2);align-items:center;gap:6px;height:18px;font-size:12.5px;display:flex;position:absolute;bottom:2px;left:16px}.typing b{font-weight:700}.typing-dots{gap:2px;display:inline-flex}.typing-dots i{background:var(--text-2);border-radius:50%;width:5px;height:5px;animation:1.2s infinite blink}.typing-dots i:nth-child(2){animation-delay:.2s}.typing-dots i:nth-child(3){animation-delay:.4s}@keyframes blink{0%,60%,to{opacity:.25}30%{opacity:1}}.upload-progress{background:var(--accent);border-radius:2px;height:3px;margin-bottom:4px;transition:width .2s}.autocomplete{background:var(--bg-float);border:1px solid var(--border);z-index:5;border-radius:8px;padding:8px;position:absolute;bottom:calc(100% - 12px);left:16px;right:16px;box-shadow:0 8px 24px #00000073}.autocomplete .head{color:var(--text-3);text-transform:uppercase;padding:2px 8px 6px;font-size:12px;font-weight:600}.autocomplete .opt{cursor:pointer;border-radius:6px;align-items:center;gap:10px;padding:6px 8px;display:flex}.autocomplete .opt.sel{background:var(--active)}.autocomplete .opt .sub{color:var(--text-3);font-size:13px}.jump-bar{z-index:3;background:var(--accent);color:#fff;cursor:pointer;border-radius:8px 8px 0 0;justify-content:space-between;align-items:center;padding:4px 12px;font-size:13px;font-weight:600;display:flex;position:absolute;bottom:72px;left:16px;right:16px}.members{background:var(--bg-1);flex:0 0 240px;width:240px;padding:8px 8px 16px;overflow-y:auto}.members .group{color:var(--text-3);text-transform:uppercase;padding:20px 8px 4px;font-size:12px;font-weight:600}.member{cursor:pointer;border-radius:6px;align-items:center;gap:12px;height:44px;padding:0 8px;display:flex}.member:hover{background:var(--hover)}.member.offline{opacity:.4}.member.offline:hover{opacity:1}.member .info{flex:1;min-width:0;line-height:1.2}.member .name{white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:4px;font-weight:500;display:flex;overflow:hidden}.member .sub{color:var(--text-3);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.crown{color:var(--yellow);flex:none}.friends-tabs{align-items:center;gap:8px;display:flex}.friends-tabs button{color:var(--text-2);border-radius:5px;padding:2px 10px;font-size:14.5px;font-weight:500}.friends-tabs button:hover{background:var(--hover);color:var(--text)}.friends-tabs button.sel{background:var(--active);color:var(--text)}.friends-tabs button.add{background:var(--accent);color:#fff}.friends-tabs button.add.sel{color:var(--accent-text);background:0 0}.friends-tabs .sep{background:var(--border);width:1px;height:24px;margin:0 8px}.friends{flex:1;padding:16px 20px 16px 30px;overflow-y:auto}.friends .count{text-transform:uppercase;color:var(--text-3);margin:8px 0;font-size:12px;font-weight:600}.friend-row{border-top:1px solid var(--border);cursor:pointer;border-radius:8px;align-items:center;gap:12px;height:62px;margin:0 -10px;padding:0 10px;display:flex}.friend-row:hover{background:var(--hover);border-top-color:#0000}.friend-row:hover+.friend-row{border-top-color:#0000}.friend-row .info{flex:1;min-width:0}.friend-row .name{font-weight:600}.friend-row .name span{color:var(--text-3);margin-left:4px;font-weight:400;display:none}.friend-row:hover .name span{display:inline}.friend-row .sub{color:var(--text-3);font-size:13px}.round-btn{background:var(--bg-1);width:36px;height:36px;color:var(--text-2);border-radius:50%;place-items:center;display:grid}.friend-row:hover .round-btn{background:var(--bg-0)}.round-btn:hover{color:var(--text)}.round-btn.ok:hover{color:var(--green)}.round-btn.no:hover{color:var(--red)}.add-friend h2{margin:4px 0 6px;font-size:16px}.add-friend p{color:var(--text-3);margin:0 0 16px;font-size:14px}.add-friend form{background:var(--bg-0);border:1px solid var(--bg-0);border-radius:8px;align-items:center;padding:0 12px;display:flex}.add-friend form:focus-within{border-color:var(--accent)}.add-friend input{background:0 0;border:0;outline:0;flex:1;height:50px;font-size:15px}.add-friend .ok-msg{color:var(--green);margin-top:8px;font-size:14px}.add-friend .err-msg{color:var(--red);margin-top:8px;font-size:14px}.empty-state{text-align:center;color:var(--text-3);flex:1;place-items:center;padding:40px;display:grid}.empty-state .art{filter:grayscale(.2);margin-bottom:16px;font-size:64px}.voice-view{background:#000;flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.voice-view.call{border-bottom:1px solid var(--border);background:#0a0a0d;flex:none;height:46%;min-height:240px}.voice-stage{flex-direction:column;flex:1;gap:12px;min-height:0;padding:16px;display:flex}.tile-grid{flex-wrap:wrap;flex:1;place-content:center;gap:8px;min-height:0;display:flex;overflow:hidden}.tile{background:var(--bg-3);aspect-ratio:16/9;cursor:pointer;outline-offset:-2px;border-radius:10px;outline:2px solid #0000;place-items:center;transition:outline-color .1s;display:grid;position:relative;overflow:hidden}.tile.speaking{outline-color:var(--green)}.tile video{object-fit:contain;background:#000;width:100%;height:100%}.tile .tile-label{background:#0009;border-radius:6px;align-items:center;gap:6px;max-width:calc(100% - 16px);padding:3px 8px;font-size:13px;font-weight:600;display:flex;position:absolute;bottom:8px;left:8px}.tile .tile-label span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tile .tile-badges{gap:4px;display:flex;position:absolute;bottom:8px;right:8px}.tile .tile-badges>*{width:26px;height:26px;color:var(--red);background:#0009;border-radius:50%;place-items:center;display:grid}.tile .tile-top{align-items:center;gap:6px;display:flex;position:absolute;top:8px;left:8px}.tile .viewers{background:#0009;border-radius:4px;align-items:center;gap:4px;padding:1px 6px;font-size:12px;font-weight:700;display:flex}.tile.stream-preview{background:#0d0d10}.tile .watch-cta{flex-direction:column;align-items:center;gap:10px;display:flex}.tile .watch-cta .btn{pointer-events:none}.tile .blurred{filter:blur(30px)brightness(.5);background-size:cover;position:absolute;inset:0}.focus-area{background:#000;border-radius:10px;flex:1;min-height:0;display:flex;position:relative;overflow:hidden}.focus-area video{object-fit:contain;width:100%;height:100%}.focus-area .focus-overlay{opacity:0;background:linear-gradient(#00000080,#0000 20% 80%,#0009);flex-direction:column;justify-content:space-between;padding:12px;transition:opacity .2s;display:flex;position:absolute;inset:0}.focus-area:hover .focus-overlay{opacity:1}.focus-overlay .row{align-items:center;gap:8px;display:flex}.focus-overlay .row .grow{flex:1}.focus-overlay .chip{background:#0009;border-radius:6px;align-items:center;gap:6px;padding:4px 10px;font-size:14px;font-weight:600;display:flex}.strip{flex:0 0 110px;justify-content:center;gap:8px;height:110px;display:flex}.strip .tile{height:100%}.voice-controls{flex:none;justify-content:center;align-items:center;gap:12px;padding:4px 0 16px;display:flex;position:relative}.ctrl{background:var(--bg-3);width:56px;height:56px;color:var(--text);border-radius:50%;place-items:center;transition:background .1s;display:grid}.ctrl:hover{background:var(--bg-4)}.ctrl.off{color:#111;background:#fff}.ctrl.on{background:var(--accent);color:#fff}.ctrl.live{background:var(--live);color:#fff}.ctrl.hangup{background:var(--red);color:#fff;width:64px}.ctrl.hangup:hover{background:var(--red-hover)}.ctrl-group{background:var(--bg-3);border-radius:30px;align-items:center;display:flex}.voice-header{z-index:2;background:linear-gradient(#0009,#0000);align-items:center;gap:8px;height:48px;padding:0 16px;font-weight:600;display:flex;position:absolute;top:0;left:0;right:0}.voice-empty{text-align:center;color:var(--text-2);flex:1;place-items:center;display:grid}.voice-empty h2{color:var(--text);margin:12px 0 4px}.ringing-banner{background:var(--accent-soft);border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:12px 16px;display:flex}.btn{background:var(--accent);color:#fff;white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;gap:6px;height:38px;padding:0 16px;font-size:14px;font-weight:600;transition:background .1s;display:inline-flex}.btn:hover{background:var(--accent-hover)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.secondary{background:var(--bg-4)}.btn.secondary:hover{background:#3a3a45}.btn.danger{background:var(--red)}.btn.danger:hover{background:var(--red-hover)}.btn.green{background:var(--green)}.btn.green:hover{background:#27a862}.btn.link{color:var(--text-2);background:0 0}.btn.link:hover{background:0 0;text-decoration:underline}.btn.sm{height:32px;padding:0 12px;font-size:13.5px}.btn.outline-danger{color:var(--red);border:1px solid var(--red);background:0 0}.btn.outline-danger:hover{background:var(--red);color:#fff}.field{flex-direction:column;gap:8px;margin-bottom:18px;display:flex}.field>label,.label{color:var(--text-2);text-transform:uppercase;letter-spacing:.02em;font-size:12px;font-weight:700}.field .req{color:var(--red)}.input,.select,.textarea{background:var(--bg-0);border:1px solid var(--bg-0);border-radius:6px;outline:0;width:100%;height:40px;padding:0 10px;font-size:15px}.textarea{resize:vertical;height:auto;min-height:80px;padding:10px}.input:focus,.select:focus,.textarea:focus{border-color:var(--accent)}.field .help{color:var(--text-3);font-size:13px}.field .error{color:var(--red);font-size:13px}.switch{background:#4c4b58;border-radius:12px;flex:none;width:40px;height:24px;transition:background .15s;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .15s;position:absolute;top:3px;left:3px}.switch.on{background:var(--accent)}.switch.on:after{transform:translate(16px)}.toggle-row{border-bottom:1px solid var(--border);align-items:flex-start;gap:16px;padding:14px 0;display:flex}.toggle-row .text{flex:1}.toggle-row .t{font-weight:500}.toggle-row .d{color:var(--text-3);margin-top:2px;font-size:13.5px}input[type=range]{accent-color:var(--accent);width:100%}.radio-list{flex-direction:column;gap:8px;display:flex}.radio{background:var(--bg-3);cursor:pointer;border-radius:6px;align-items:center;gap:12px;padding:10px 12px;display:flex}.radio:hover{background:var(--bg-4)}.radio .dot{border:2px solid var(--text-3);border-radius:50%;place-items:center;width:20px;height:20px;display:grid}.radio.sel .dot{border-color:var(--accent)}.radio.sel .dot:after{content:"";background:var(--accent);border-radius:50%;width:10px;height:10px}.seg{flex-wrap:wrap;gap:8px;display:flex}.seg button{background:var(--bg-3);border:1px solid #0000;border-radius:6px;padding:8px 14px;font-size:14px;font-weight:600}.seg button:hover{background:var(--bg-4)}.seg button.sel{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-text)}.overlay{z-index:50;background:#000000b8;place-items:center;animation:.12s fade;display:grid;position:fixed;inset:0}@keyframes fade{0%{opacity:0}}.modal{background:var(--bg-2);border-radius:10px;flex-direction:column;width:440px;max-width:calc(100vw - 32px);max-height:calc(100vh - 64px);animation:.15s pop;display:flex;overflow:hidden;box-shadow:0 16px 48px #00000080}.modal.wide{width:720px}.modal.xl{width:920px}@keyframes pop{0%{opacity:0;transform:scale(.95)}}.modal-head{padding:20px 20px 12px;position:relative}.modal-head h2{margin:0;font-size:20px}.modal-head p{color:var(--text-3);margin:8px 0 0;font-size:14.5px}.modal-head.center{text-align:center;padding-top:24px}.modal-close{color:var(--text-3);border-radius:6px;place-items:center;width:32px;height:32px;display:grid;position:absolute;top:12px;right:12px}.modal-close:hover{color:var(--text);background:var(--hover)}.modal-body{padding:8px 20px 16px;overflow-y:auto}.modal-foot{background:var(--bg-1);justify-content:flex-end;align-items:center;gap:8px;padding:16px 20px;display:flex}.modal-foot .left{margin-right:auto}.choice{border:1px solid var(--border);cursor:pointer;background:var(--bg-1);border-radius:8px;align-items:center;gap:12px;margin-bottom:8px;padding:12px;display:flex}.choice:hover{background:var(--bg-3)}.choice.sel{background:var(--bg-3);border-color:var(--accent)}.choice .t{font-weight:600}.choice .d{color:var(--text-3);font-size:13px}.choice .grow{flex:1}.icon-upload{border:2px dashed var(--text-3);cursor:pointer;width:80px;height:80px;color:var(--text-3);text-transform:uppercase;background-position:50%;background-size:cover;border-radius:50%;place-items:center;margin:0 auto 16px;font-size:11px;font-weight:700;display:grid;position:relative;overflow:hidden}.icon-upload:hover{border-color:var(--text);color:var(--text)}.invite-box{background:var(--bg-0);border-radius:6px;align-items:center;gap:8px;padding:4px 4px 4px 12px;display:flex}.invite-box input{background:0 0;border:0;outline:0;flex:1;font-size:15px}.picker-tabs{border-bottom:1px solid var(--border);gap:4px;padding:0 20px;display:flex}.picker-tabs button{color:var(--text-3);border-bottom:2px solid #0000;padding:10px 12px;font-weight:600}.picker-tabs button.sel{color:var(--text);border-bottom-color:var(--accent)}.sources{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;max-height:360px;padding:16px 20px;display:grid;overflow-y:auto}.source{cursor:pointer;background:var(--bg-1);border:2px solid #0000;border-radius:8px;padding:6px}.source:hover{background:var(--bg-3)}.source.sel{border-color:var(--accent)}.source .thumb{aspect-ratio:16/9;background:#000 50%/contain no-repeat;border-radius:4px}.source .sname{white-space:nowrap;align-items:center;gap:6px;margin-top:6px;font-size:13px;display:flex;overflow:hidden}.source .sname span{text-overflow:ellipsis;overflow:hidden}.source .sname img{width:16px;height:16px}.quality{grid-template-columns:1fr 1fr;gap:16px;padding:8px 20px 16px;display:grid}.quality .full{grid-column:1/-1}.profile{width:600px}.profile .banner{height:120px}.profile .p-head{align-items:flex-end;gap:16px;margin-top:-48px;padding:0 20px;display:flex}.profile .p-head .avatar{border:6px solid var(--bg-2);box-sizing:content-box;border-radius:50%}.profile .p-head .avatar .status-dot{border-color:var(--bg-2)}.profile .p-head .actions{gap:8px;margin-left:auto;padding-bottom:8px;display:flex}.profile .p-card{background:var(--bg-0);border-radius:8px;margin:16px 20px 20px;padding:16px}.profile .p-name{font-size:22px;font-weight:700}.profile .p-user{color:var(--text-2);font-size:14px}.profile .p-sec{border-top:1px solid var(--border);margin-top:14px;padding-top:14px}.profile .p-sec h4{text-transform:uppercase;color:var(--text-2);margin:0 0 6px;font-size:12px}.profile .p-sec .val{white-space:pre-wrap;font-size:14px}.role-chip{background:var(--bg-3);border-radius:4px;align-items:center;gap:4px;margin:0 4px 4px 0;padding:2px 8px;font-size:12.5px;display:inline-flex}.role-chip i{border-radius:50%;width:10px;height:10px}.mutual{align-items:center;gap:10px;padding:6px 0;display:flex}.settings{z-index:40;background:var(--bg-2);animation:.15s fade;display:flex;position:fixed;inset:0}.settings .s-nav{background:var(--bg-1);flex:1 0 218px;justify-content:flex-end;padding:60px 6px 60px 20px;display:flex;overflow-y:auto}.settings .s-nav>div{width:192px}.settings .s-nav .h{text-transform:uppercase;color:var(--text-3);margin-top:12px;padding:6px 10px;font-size:12px;font-weight:700}.settings .s-nav button{text-align:left;width:100%;color:var(--text-2);border-radius:6px;margin-bottom:2px;padding:6px 10px;font-weight:500;display:block}.settings .s-nav button:hover{background:var(--hover);color:var(--text)}.settings .s-nav button.sel{background:var(--active);color:var(--text)}.settings .s-nav button.danger{color:var(--red)}.settings .s-nav .sep{background:var(--border);height:1px;margin:8px 10px}.settings .s-main{flex:800px;padding:60px 40px 80px;overflow-y:auto}.settings .s-main>div{max-width:740px}.settings .s-main h1{margin:0 0 20px;font-size:20px}.settings .s-main h3{text-transform:uppercase;color:var(--text-2);margin:28px 0 10px;font-size:12px}.settings .s-close{flex:none;padding:60px 20px}.settings .s-close button{border:2px solid var(--text-3);width:36px;height:36px;color:var(--text-3);border-radius:50%;place-items:center;display:grid}.settings .s-close button:hover{color:var(--text);border-color:var(--text);background:var(--hover)}.settings .s-close .esc{color:var(--text-3);text-align:center;margin-top:6px;font-size:12px;font-weight:600}.card{background:var(--bg-1);border-radius:8px;padding:16px}.account-card{padding:0;overflow:hidden}.account-card .banner{height:100px}.account-card .row{align-items:center;gap:16px;margin-top:-30px;padding:0 16px;display:flex}.account-card .row .avatar{border:6px solid var(--bg-1);box-sizing:content-box;border-radius:50%}.account-card .fields{background:var(--bg-2);border-radius:8px;flex-direction:column;gap:18px;margin:16px;padding:16px;display:flex}.account-card .f{justify-content:space-between;align-items:center;display:flex}.account-card .f .l{text-transform:uppercase;color:var(--text-2);font-size:12px;font-weight:700}.meter{background:var(--bg-0);border-radius:4px;height:8px;margin-top:8px;overflow:hidden}.meter i{background:var(--green);height:100%;transition:width 50ms;display:block}.keybind{background:var(--bg-0);border:1px solid var(--bg-0);min-width:220px;height:40px;font-family:var(--mono);border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:0 6px 0 12px;font-size:13.5px;display:inline-flex}.keybind.rec{border-color:var(--red);color:var(--red)}.role-list{gap:16px;display:flex}.role-list .roles{flex:0 0 200px;width:200px}.role-list .roles button{text-align:left;width:100%;color:var(--text-2);border-radius:6px;align-items:center;gap:8px;padding:6px 10px;display:flex}.role-list .roles button:hover{background:var(--hover)}.role-list .roles button.sel{background:var(--active);color:var(--text)}.role-list .roles i{border-radius:50%;flex:0 0 12px;width:12px;height:12px}.role-list .editor{flex:1;min-width:0}.colors{flex-wrap:wrap;gap:6px;display:flex}.colors button{border:2px solid #0000;border-radius:6px;width:30px;height:30px}.colors button.sel{border-color:#fff}.table-row{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:10px 8px;display:flex}.table-row .grow{flex:1;min-width:0}.ctx{z-index:100;background:var(--bg-float);border:1px solid var(--border);border-radius:8px;min-width:188px;max-width:280px;padding:6px;animation:80ms fade;position:fixed;box-shadow:0 8px 24px #00000080}.ctx button{width:100%;color:var(--text-2);text-align:left;border-radius:4px;justify-content:space-between;align-items:center;gap:12px;padding:7px 8px;font-size:14px;display:flex}.ctx button:hover:not(:disabled){background:var(--accent);color:#fff}.ctx button.danger{color:var(--red)}.ctx button.danger:hover{background:var(--red);color:#fff}.ctx button:disabled{opacity:.4;cursor:default}.ctx .sep{background:var(--border);height:1px;margin:4px}.ctx .slider{padding:6px 8px}.ctx .slider .t{color:var(--text-3);justify-content:space-between;margin-bottom:4px;font-size:12px;display:flex}.popover{z-index:60;background:var(--bg-float);border:1px solid var(--border);border-radius:8px;position:fixed;box-shadow:0 8px 24px #00000080}.toast{background:var(--bg-float);z-index:200;border:1px solid var(--border);border-radius:8px;max-width:560px;padding:10px 16px;font-size:14px;animation:.15s fade;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #00000080}.toast.error{border-color:var(--red)}.emoji-picker{flex-direction:column;width:380px;height:420px;display:flex}.emoji-picker .ep-search{border-bottom:1px solid var(--border);padding:10px}.emoji-picker .ep-body{flex:1;min-height:0;display:flex}.emoji-picker .ep-cats{background:var(--bg-1);flex-direction:column;align-items:center;gap:4px;width:44px;padding:6px 0;display:flex}.emoji-picker .ep-cats button{border-radius:6px;width:32px;height:32px;font-size:18px}.emoji-picker .ep-cats button:hover{background:var(--hover)}.emoji-picker .ep-grid{flex:1;padding:6px 8px;overflow-y:auto}.emoji-picker .ep-grid h5{text-transform:uppercase;color:var(--text-3);margin:8px 4px 4px;font-size:12px}.emoji-picker .ep-grid .grid{grid-template-columns:repeat(8,1fr);display:grid}.emoji-picker .ep-grid button{border-radius:6px;height:40px;font-size:24px}.emoji-picker .ep-grid button:hover{background:var(--hover)}.emoji-picker .ep-foot{border-top:1px solid var(--border);height:40px;color:var(--text-2);align-items:center;gap:8px;padding:0 12px;font-size:14px;display:flex}.side-panel{background:var(--bg-1);border-left:1px solid var(--border);flex-direction:column;flex:0 0 420px;width:420px;display:flex}.side-panel .sp-head{border-bottom:1px solid var(--border);align-items:center;height:48px;padding:0 12px 0 16px;font-weight:600;display:flex}.side-panel .sp-head .grow{flex:1}.side-panel .sp-body{flex:1;padding:8px;overflow-y:auto}.result{background:var(--bg-2);cursor:pointer;border-radius:8px;margin-bottom:8px;padding:8px 0}.result:hover{background:var(--bg-3)}.result .msg{padding-right:12px}.result .msg:hover{background:0 0}.result .where{color:var(--text-3);padding:0 12px 4px;font-size:12px}.auth{background:radial-gradient(1200px 600px at 20% 10%,#2a1a5e 0%,#0000 60%),radial-gradient(900px 500px at 90% 90%,#3b1747 0%,#0000 60%),#0b0a12;place-items:center;display:grid;position:fixed;inset:0}.auth-drag{-webkit-app-region:drag;height:30px;position:fixed;top:0;left:0;right:0}.auth-card{background:var(--bg-2);border-radius:12px;width:480px;max-width:calc(100vw - 32px);padding:32px;box-shadow:0 20px 60px #00000080}.auth-card h1{text-align:center;margin:0;font-size:24px}.auth-card .sub{text-align:center;color:var(--text-3);margin:8px 0 24px}.auth-card .logo{justify-content:center;margin-bottom:12px;display:flex}.auth-card .btn{width:100%;height:44px;font-size:15px}.auth-card .switch-mode{color:var(--text-3);margin-top:12px;font-size:14px}.auth-card .server{border-top:1px solid var(--border);margin-top:20px;padding-top:16px}.loading-screen{background:var(--bg-0);text-align:center;color:var(--text-3);place-items:center;display:grid;position:fixed;inset:0}.loading-screen .spin{animation:1.4s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.loading-screen .tip{text-transform:uppercase;letter-spacing:.05em;margin-top:16px;font-size:13px;font-weight:700}.conn-banner{background:var(--yellow);color:#111;text-align:center;padding:4px;font-size:13px;font-weight:600}.conn-banner.bad{background:var(--red);color:#fff}.tip-row{background:var(--accent-soft);color:var(--text-2);border-radius:8px;align-items:center;gap:8px;margin-bottom:16px;padding:10px 12px;font-size:13.5px;display:flex}.kbd{font-family:var(--mono);background:var(--bg-0);border-radius:4px;padding:1px 6px;font-size:12px}.chan .label,.voice-user .label{text-transform:none;font-size:inherit;font-weight:inherit;color:inherit;letter-spacing:normal}.search-btn{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
