:root{color-scheme:dark;--outer:#202126;--side:#292a30;--main:#313238;--layer:#383940;--hover:#3a3c44;--active:#42444d;--text:#e7e8eb;--muted:#a2a4ae;--weak:#777a86;--brand:#7775ed;--green:#42b681;--line:#24252b;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px;color:var(--text);background:var(--outer)}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #9594ff;outline-offset:2px}button:hover{color:#fff}input,textarea{color:var(--text)}[hidden]{display:none!important}h1,h2,h3,p{margin:0}svg{width:20px;height:20px;display:inline-block;vertical-align:middle;flex-shrink:0}button svg{pointer-events:none}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-thumb{background:#202126;border-radius:8px}::-webkit-scrollbar-track{background:transparent}.app{height:100vh;display:flex;flex-direction:column}.titlebar{height:34px;flex:none;display:flex;align-items:center;gap:7px;padding:0 15px;color:#b8bac4;font-size:12px;font-weight:650;background:var(--outer);user-select:none}.title-mark{font-size:24px;line-height:1;color:#a6a4ff;font-weight:800}.title-drag{flex:1;-webkit-app-region:drag;height:100%;}.title-status{font-size:11px;color:var(--weak);margin-right:125px}.workspace{display:flex;flex:1;min-height:0}.servers{width:72px;flex:none;background:var(--outer);display:flex;flex-direction:column;align-items:center;padding:8px 0;gap:9px;overflow:auto}.server-btn{position:relative;width:48px;height:48px;border-radius:17px;background:var(--layer);display:grid;place-items:center;font-size:18px;font-weight:600;color:#cbd0db;transition:border-radius .15s,background .15s}.server-btn:hover,.server-btn.selected{border-radius:13px;background:var(--brand);color:white}.server-btn.selected:before,.server-btn:hover:before{content:"";position:absolute;left:-12px;width:4px;height:34px;border-radius:0 4px 4px 0;background:white}.server-btn.home{font-size:32px;font-weight:750;color:#fff}.server-btn.add{color:var(--green)}.server-btn.add:hover{background:var(--green);color:white}.server-divider{width:32px;height:2px;background:#383a42;border-radius:2px}.sidebar{display:flex;flex-direction:column;width:242px;flex:none;min-height:0;background:var(--side);border-radius:12px 0 0 0;overflow:hidden}.sidebar-head{height:49px;border-bottom:1px solid var(--line);flex:none;padding:0 14px;display:flex;align-items:center;justify-content:space-between;font-weight:650;box-shadow:0 1px 2px #0002}.sidebar-head .search-like{background:#202126;color:var(--muted);text-align:left;border-radius:5px;width:100%;padding:7px 9px;font-size:12px;font-weight:400}.channels{padding:12px 8px;overflow:auto;flex:1;min-height:0}.section-label{display:flex;align-items:center;justify-content:space-between;font-size:11px;letter-spacing:.025em;color:var(--muted);font-weight:700;margin:18px 4px 5px;text-transform:uppercase}.section-label button{padding:0;display:grid;place-items:center}.section-label svg{width:16px;height:16px}.channel{width:100%;display:flex;align-items:center;gap:8px;padding:7px 9px;min-height:34px;border-radius:5px;color:var(--muted);text-align:left;white-space:nowrap;font-weight:500;overflow:hidden}.channel span.label{overflow:hidden;text-overflow:ellipsis;flex:1}.channel svg{color:var(--weak)}.channel:hover{background:var(--hover);color:var(--text)}.channel.selected{background:var(--active);color:#fff}.channel.selected svg{color:#c4c4cf}.voice-person{display:flex;align-items:center;gap:8px;margin-left:26px;color:var(--muted);font-size:13px;padding:4px 2px}.voice-person .avatar{width:23px;height:23px;font-size:10px}.voice-person .talking{color:var(--green);margin-left:auto}.user-panel{display:flex;align-items:center;gap:7px;background:#222328;padding:8px;min-height:58px;flex:none}.user-identity{min-width:0;flex:1}.user-name{font-size:13px;color:var(--text);font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-tag{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis}.avatar{position:relative;width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:50%;font-size:14px;font-weight:700;color:white}.avatar.status:after{content:"";width:11px;height:11px;border-radius:50%;background:#80838d;border:3px solid var(--side);position:absolute;right:-2px;bottom:-2px}.avatar.online:after{background:var(--green)}.icon-button{padding:5px;display:inline-grid;place-items:center;border-radius:5px;color:var(--muted);flex:none}.icon-button:hover{background:#ffffff12;color:white}.icon-button.danger{color:#fa777e}.icon-button.active{color:var(--green)}.icon-button svg{width:20px;height:20px}.voice-panel-inner{border-top:1px solid #41434a;padding:10px 9px;background:#26272c}.connected-row{display:flex;align-items:center;justify-content:space-between;color:var(--green);font-size:13px;font-weight:650}.connected-row svg{width:16px;height:16px}.voice-subtitle{font-size:11px;color:var(--muted);margin:3px 0 10px}.voice-actions{display:flex;gap:5px}.voice-actions button{background:var(--active);flex:1;font-size:12px;padding:7px;border-radius:5px}.voice-actions button:hover{background:#50525d}.main{flex:1;min-width:0;background:var(--main);display:flex;flex-direction:column}.chat-header{height:49px;flex:none;display:flex;align-items:center;gap:10px;padding:0 16px;border-bottom:1px solid var(--line);box-shadow:0 1px 3px #0002;z-index:1}.chat-header>svg{color:var(--muted);width:23px;height:23px}.chat-header strong{font-size:15px}.chat-header .header-spacer{flex:1}.chat-header .topic{font-size:12px;color:var(--muted);border-left:1px solid #565861;padding-left:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.main-body{display:flex;flex:1;min-height:0}.chat-main{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0}.content{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column}.messages{padding:16px 0;display:flex;flex-direction:column;justify-content:flex-end;flex:1}.welcome{padding:22px 18px}.welcome-icon{height:68px;width:68px;border-radius:50%;background:#454750;display:grid;place-items:center;font-size:42px;color:white;margin-bottom:16px}.welcome h1{font-size:28px;letter-spacing:-.4px;margin-bottom:6px}.welcome p{font-size:14px;color:var(--muted);line-height:1.6}.message{display:flex;gap:15px;padding:5px 16px 5px 18px;margin-top:9px;overflow-wrap:anywhere}.message:hover{background:#292a303d}.message .avatar{height:40px;width:40px}.message-body{flex:1;min-width:0}.message-meta{display:flex;align-items:baseline;gap:9px;margin-bottom:4px}.message-meta strong{font-size:14px;font-weight:650}.message-meta time{font-size:11px;color:var(--weak)}.message-text{white-space:pre-wrap;line-height:1.45;color:#dbdce2}.composer{margin:0 16px 24px;padding:10px 13px;display:flex;align-items:center;gap:12px;flex:none;background:#383941;border:1px solid #464850;border-radius:9px;min-height:48px}.composer-plus{font-size:24px;color:#b5b7c1;line-height:1}.composer textarea{padding:4px 0;background:none;border:0;outline:0!important;resize:none;flex:1;min-width:0;max-height:120px;line-height:20px}.composer textarea::placeholder{color:#8d909c}.composer .send{color:#b3b2fc}.members{width:240px;flex:none;background:var(--side);padding:16px 8px;overflow:auto}.member-section{font-size:11px;font-weight:700;color:var(--muted);margin:10px 8px;text-transform:uppercase}.member{display:flex;align-items:center;gap:10px;padding:7px 8px;border-radius:5px;color:var(--muted);overflow:hidden}.member:hover{background:var(--hover)}.member.offline{opacity:.55}.member .avatar{width:32px;height:32px;font-size:12px}.member span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:550}.friend-top{display:flex;align-items:center;gap:8px;padding:16px 22px;border-bottom:1px solid #44454c}.friend-top h2{font-size:17px;margin-right:auto}.friend-list{padding:18px 22px}.friend-row{display:flex;align-items:center;gap:12px;padding:12px 4px;border-top:1px solid #45464d}.friend-row .identity{flex:1}.friend-row small{display:block;color:var(--muted);margin-top:3px}.empty{margin:auto;text-align:center;padding:28px;color:var(--muted);max-width:460px}.empty h2{color:var(--text);margin:12px 0 7px;font-size:18px}.empty .empty-icon{font-size:55px;color:#7779a6}.primary,.secondary,.danger-button{background:var(--brand);color:white;font-weight:600;padding:10px 16px;border-radius:5px;text-align:center}.primary:hover{background:#6563d7}.secondary{background:#464851}.secondary:hover{background:#535662}.danger-button{background:#c74550}.small{font-size:12px;padding:7px 12px}.call-stage{background:#15161a;padding:20px;flex:none;max-height:60%;overflow:auto}.call-stage h2{font-size:17px;text-align:center;margin-bottom:16px}.call-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.call-tile{min-height:128px;position:relative;display:grid;place-items:center;background:#292b32;border-radius:10px;overflow:hidden}.call-tile .avatar{width:64px;height:64px;font-size:26px}.call-tile video{width:100%;max-height:350px;object-fit:contain;background:black}.call-label{position:absolute;bottom:8px;left:10px;padding:5px 8px;background:#141519c4;border-radius:5px;font-size:12px}.call-actions{display:flex;justify-content:center;gap:12px;margin-top:16px}.call-actions button{background:#3a3d46;border-radius:50%;width:43px;height:43px;display:grid;place-items:center}.call-actions button.hangup{background:#da4b57}.call-actions button.on{background:#5653ac}.voice-lobby{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;flex:1;padding:30px;text-align:center}.voice-lobby .welcome-icon{margin:0}.voice-lobby p{color:var(--muted)}.modal-backdrop{position:fixed;inset:0;background:#000a;display:grid;place-items:center;z-index:20;padding:20px}.modal{background:#303138;width:min(480px,100%);border:1px solid #494b55;border-radius:12px;box-shadow:0 16px 60px #0008;padding:22px}.modal h2{font-size:21px;margin-bottom:8px}.modal p{color:var(--muted);line-height:1.5;margin-bottom:12px}.modal form{display:flex;flex-direction:column;gap:14px}.modal label,.login label{font-size:12px;font-weight:650;color:#c8cad2;display:flex;flex-direction:column;gap:7px}.modal input:not([type=checkbox]),.modal select,.login input{background:#202126;border:1px solid #464850;border-radius:5px;padding:11px;color:var(--text);width:100%;outline:0}.modal-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:12px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;border-top:1px solid #444650}.setting-row div{flex:1}.setting-row small{color:var(--muted);display:block;line-height:1.45;margin-top:4px}.setting-row input[type=checkbox]{width:19px;height:19px;accent-color:var(--brand)}.friend-option{display:flex!important;flex-direction:row!important;align-items:center;gap:10px}.friend-option input{accent-color:var(--brand)}.error{font-size:12px;color:#ff8a92;white-space:pre-wrap}.login{height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 30% 10%,#5651a2 0,transparent 43%),radial-gradient(ellipse at 80% 90%,#343765 0,transparent 50%),#1c1d23}.login-card{width:min(450px,92vw);padding:34px;border-radius:13px;background:#303138;border:1px solid #494b55;box-shadow:0 25px 90px #0006}.brand{display:flex;align-items:center;justify-content:center;gap:9px;font-size:24px;font-weight:750;margin-bottom:24px}.wave-logo{width:42px;height:42px;display:grid;place-items:center;background:var(--brand);border-radius:14px;color:white;font-size:37px;line-height:1}.login h1{text-align:center;font-size:23px}.login p{text-align:center;color:var(--muted);margin:9px 0 24px}.login form{display:flex;flex-direction:column;gap:16px}.login .switch-auth{font-size:13px;text-align:left;margin:12px 0 0}.link{color:#a7a5ff;padding:0}.link:hover{text-decoration:underline}.toast{position:fixed}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);border:1px solid #555762;box-shadow:0 5px 30px #0006;border-radius:8px;background:#25272d;padding:12px 18px;z-index:50;opacity:0;pointer-events:none;transition:opacity .15s}#toast.visible{opacity:1}#remote-audio{display:none}@media(max-width:1000px){.members{width:190px}.sidebar{width:218px}}@media(max-width:780px){.members{display:none}.sidebar{width:185px}.servers{width:60px}.topic{display:none}.title-status{margin-right:10px}}
