pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#abb2bf;background:#282c34}.hljs-comment,.hljs-quote{color:#5c6370;font-style:italic}.hljs-doctag,.hljs-keyword,.hljs-formula{color:#c678dd}.hljs-section,.hljs-name,.hljs-selector-tag,.hljs-deletion,.hljs-subst{color:#e06c75}.hljs-literal{color:#56b6c2}.hljs-string,.hljs-regexp,.hljs-addition,.hljs-attribute,.hljs-meta .hljs-string{color:#98c379}.hljs-attr,.hljs-variable,.hljs-template-variable,.hljs-type,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-number{color:#d19a66}.hljs-symbol,.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-title{color:#61aeee}.hljs-built_in,.hljs-title.class_,.hljs-class .hljs-title{color:#e6c07b}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-link{text-decoration:underline}.auth-page{font-family:gg sans,Segoe UI,Helvetica,Arial,sans-serif;min-height:100vh;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#2b2d5e;color:#dbdee1}.auth-page:before{content:"";position:absolute;top:-20%;right:-20%;bottom:-20%;left:-20%;z-index:0;background:radial-gradient(circle at 25% 25%,#5b6eae,transparent 55%),radial-gradient(circle at 78% 70%,#6b4f9e,transparent 55%),radial-gradient(circle at 50% 50%,#404a8c,#2b2d5e);background-size:200% 200%;animation:auth-bg-in 1s ease both,auth-bg-drift 24s ease-in-out 1s infinite}.auth-page>*{position:relative;z-index:1}@keyframes auth-bg-in{0%{opacity:0;transform:scale(1.18)}to{opacity:1;transform:scale(1)}}@keyframes auth-bg-drift{0%,to{background-position:0% 0%}50%{background-position:100% 100%}}@media (prefers-reduced-motion: reduce){.auth-page:before{animation:auth-bg-in .01ms ease both}}.card{width:420px;max-width:calc(100vw - 32px);background:#313338;border-radius:8px;padding:32px;box-shadow:0 8px 24px #0000004d;animation:auth-card-in .34s cubic-bezier(.16,1,.3,1) both}@keyframes auth-card-in{0%{opacity:0;transform:translateY(16px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.card label,.card input,.card button,.card .switch,.card .msg,.card .hint{animation:auth-field-in .4s ease both}@keyframes auth-field-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.auth-swap.leaving .card{animation:auth-card-out .24s cubic-bezier(.7,0,.84,0) both}.auth-swap.leaving .card label,.auth-swap.leaving .card input,.auth-swap.leaving .card button,.auth-swap.leaving .card .switch,.auth-swap.leaving .card .msg,.auth-swap.leaving .card .hint{animation:none}@keyframes auth-card-out{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-12px) scale(.97)}}@media (prefers-reduced-motion: reduce){.card,.card label,.card input,.card button,.card .switch,.card .msg,.card .hint,.auth-swap.leaving .card{animation-duration:.01ms}}.card .brand{text-align:center;font-size:22px;font-weight:800;letter-spacing:.04em;color:#5865f2;margin-bottom:16px}.card h1{color:#f2f3f5;font-size:24px;text-align:center;margin-bottom:4px}.card .sub{color:#b5bac1;text-align:center;font-size:15px;margin-bottom:20px}label{display:block;font-size:12px;font-weight:700;text-transform:uppercase;color:#b5bac1;margin:16px 0 6px;letter-spacing:.02em}.card input{width:100%;padding:10px;border-radius:4px;border:none;background:#1e1f22;color:#dbdee1;font-size:16px;outline:none}.card input:focus{box-shadow:0 0 0 1px #5865f2}.card button{width:100%;margin-top:20px;padding:11px;border:none;border-radius:4px;background:#5865f2;color:#fff;font-size:16px;font-weight:600;cursor:pointer}.card button:hover{background:#4752c4}.card button:disabled{opacity:.6;cursor:default}.switch{margin-top:14px;font-size:14px;color:#949ba4}.switch a{color:#00a8fc;text-decoration:none}.switch a:hover{text-decoration:underline}.msg{margin-top:14px;padding:10px;border-radius:4px;font-size:14px}.msg.ok{background:#1f3a2a;color:#a3f5c0;border:1px solid #2e5c3f}.hint{font-size:12px;color:#80848e;margin-top:4px}.loading{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#313338;color:#b5bac1;font-size:18px}.loading-screen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:24px;text-align:center;color:#dbdee1;background:#1e1f22}.loading-screen.reappear{animation:loading-in .25s ease both}.loading-screen.leaving{animation:loading-out .36s ease forwards}@keyframes loading-in{0%{opacity:0}to{opacity:1}}@keyframes loading-out{0%{opacity:1}to{opacity:0;visibility:hidden}}.loading-logo{font-size:30px;font-weight:800;letter-spacing:.06em;color:#fff;animation:loading-pulse 1.8s ease-in-out infinite}.loading-tip{max-width:460px}.loading-tip-title{font-size:12px;font-weight:800;letter-spacing:.12em;color:#b5bac1;margin-bottom:8px}.loading-tip p{font-size:15px;line-height:1.5;animation:auth-field-in .5s ease both}@keyframes loading-pulse{0%,to{opacity:1}50%{opacity:.55}}@media (prefers-reduced-motion: reduce){.loading-logo,.loading-tip p,.loading-screen.reappear,.loading-screen.leaving{animation-duration:.01ms}}*{margin:0;padding:0;box-sizing:border-box}:root{--bg-rail: #1e1f22;--bg-sidebar: #2b2d31;--bg-stage: #313338;--bg-tile: #1e1f22;--bg-input: #383a40;--blurple: #5865f2;--green: #23a55a;--red: #f23f43;--text-normal: #dbdee1;--text-muted: #949ba4;--text-faint: #80848e;--header: #f2f3f5;--hover: #393c41;--active: #404249}html,body{height:100%;background:var(--bg-stage);color:var(--text-normal);overflow:hidden}body{user-select:none;-webkit-user-select:none}input,textarea,[contenteditable=true],.msg-content,.invite-code,.selectable{user-select:text;-webkit-user-select:text}.att-list{user-select:none;-webkit-user-select:none}.app{display:flex;height:100vh;font-family:gg sans,Segoe UI,Helvetica,Arial,sans-serif}.server-rail{width:72px;background:var(--bg-rail);display:flex;flex-direction:column;align-items:center;padding:12px 0;gap:8px}.server-pill{position:relative;width:48px;height:48px;border-radius:50%;background:var(--bg-sidebar);display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:600;color:var(--text-normal);cursor:pointer;transition:border-radius .15s,background .15s,color .15s;flex-shrink:0}.server-pill:hover,.server-pill.active{border-radius:35%}.server-pill.home{background:var(--blurple);color:#fff}.server-pill.add{color:var(--green);font-size:22px}.server-pill.add:hover{border-radius:35%;background:var(--green);color:#fff}.server-pill[data-tip]:hover:after{content:attr(data-tip);position:absolute;left:60px;white-space:nowrap;background:#111214;color:#fff;padding:8px 12px;border-radius:6px;font-size:14px;font-weight:600;z-index:50;pointer-events:none;box-shadow:0 2px 8px #0006}.server-pill.drop-before:before,.server-pill.drop-after:before{content:"";position:absolute;left:4px;width:40px;height:4px;background:#fff;border-radius:2px;z-index:60;pointer-events:none}.server-pill.drop-before:before{top:-6px}.server-pill.drop-after:before{bottom:-6px}.rail-indicator{position:absolute;left:-12px;top:50%;transform:translateY(-50%);width:4px;height:0;background:#fff;border-radius:0 4px 4px 0;transition:height .18s ease;pointer-events:none;z-index:5}.server-pill.unread .rail-indicator{height:8px}.server-pill.unread:hover .rail-indicator{height:20px}.server-pill.active .rail-indicator{height:40px}.rail-sep{width:32px;height:2px;background:#35363c;border-radius:1px}.server-pill.dm-pill{background:transparent;padding:0}@keyframes rail-pill-in{0%{opacity:0;transform:scale(0);height:0;margin-top:-8px}to{opacity:1;transform:scale(1);height:48px;margin-top:0}}@keyframes rail-pill-out{0%{opacity:1;transform:scale(1);height:48px;margin-top:0}to{opacity:0;transform:scale(0);height:0;margin-top:-8px}}.server-pill.dm-pill{animation:rail-pill-in .2s cubic-bezier(.34,1.4,.64,1)}.server-pill.dm-pill.leaving{animation:rail-pill-out .2s ease-in forwards;pointer-events:none}@keyframes rail-badge-pop{0%{transform:scale(.4)}to{transform:scale(1)}}.rail-badge{animation:rail-badge-pop .18s cubic-bezier(.34,1.6,.64,1)}@media (prefers-reduced-motion: reduce){.server-pill.dm-pill,.server-pill.dm-pill.leaving,.rail-badge{animation:none}}.server-pill.dm-pill .avatar{width:48px;height:48px;font-size:16px}.rail-badge{position:absolute;right:-2px;bottom:-2px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--red, #f23f43);color:#fff;font-size:12px;font-weight:700;line-height:16px;text-align:center;box-shadow:0 0 0 3px var(--bg-rail);pointer-events:none;z-index:6}.sidebar{width:240px;background:var(--bg-sidebar);display:flex;flex-direction:column}.sidebar-header{height:48px;padding:0 16px;display:flex;align-items:center;font-weight:600;font-size:15px;color:var(--header);box-shadow:0 1px #0003;flex-shrink:0}.channel-list{flex:1;overflow-y:auto;padding:8px}.channel-category{padding:16px 8px 4px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.02em;color:var(--text-faint);display:flex;align-items:center;gap:4px}.channel-category>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cat-add{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;padding:0;border:none;background:none;color:var(--text-faint);cursor:pointer;transition:color .1s}.cat-add:hover{color:var(--text-normal)}.channel{position:relative;display:flex;align-items:center;gap:8px;box-sizing:border-box;min-height:34px;padding:0 8px;margin:1px 0;border-radius:4px;color:var(--text-muted);cursor:pointer;font-size:16px;font-weight:500}.channel:hover{background:var(--hover);color:var(--text-normal)}.channel.active{background:var(--active);color:#fff}.channel.locked{color:var(--text-faint);cursor:default}.channel.locked:hover{background:none;color:var(--text-faint)}.unread-dot{position:absolute;left:1px;top:50%;transform:translateY(-50%);width:4px;height:8px;border-radius:2px;background:#fff}.channel.unread{color:#fff}.channel.unread .channel-name{color:#fff;font-weight:700}.channel.unread .channel-icon{color:#fff}.channel .channel-icon{font-size:16px;color:var(--text-faint);display:inline-flex;align-items:center}.channel .channel-icon svg{display:block}.channel-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px}.channel-actions{display:none;align-items:center;gap:2px;flex:0 0 auto}.channel:hover .channel-actions,.channel:focus-within .channel-actions{display:flex}.chan-action{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;padding:0;border:none;background:none;color:var(--text-faint);cursor:pointer;transition:color .1s}.chan-action:hover{color:var(--text-normal)}.tooltip{position:fixed;z-index:1000;pointer-events:none;max-width:240px;padding:8px 12px;background:var(--bg-rail);color:var(--header);font-family:gg sans,Segoe UI,Helvetica,Arial,sans-serif;font-size:13px;font-weight:500;line-height:1.3;border-radius:5px;box-shadow:0 8px 16px #0000003d;white-space:pre-line;word-break:break-word;animation:tooltip-in .1s ease-out}.tooltip-arrow{position:absolute;width:0;height:0;border:5px solid transparent}.tooltip-top .tooltip-arrow{top:100%;left:50%;margin-left:-5px;border-top-color:var(--bg-rail)}.tooltip-bottom .tooltip-arrow{bottom:100%;left:50%;margin-left:-5px;border-bottom-color:var(--bg-rail)}.tooltip-left .tooltip-arrow{left:100%;top:50%;margin-top:-5px;border-left-color:var(--bg-rail)}.tooltip-right .tooltip-arrow{right:100%;top:50%;margin-top:-5px;border-right-color:var(--bg-rail)}@keyframes tooltip-in{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes tooltip-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.95)}}.tooltip.leaving{animation:tooltip-out .1s ease-in forwards}.vc-members{margin:0 0 4px 8px}.vc-member{display:flex;align-items:center;gap:8px;padding:3px 8px;font-size:14px;color:var(--text-muted)}.vc-member .avatar{width:24px;height:24px;font-size:9px}.vc-member.speaking{color:var(--green)}.user-panel{min-height:52px;background:#232428;display:flex;align-items:center;padding:0 8px;flex-shrink:0}.user-info{display:flex;align-items:center;gap:8px;padding:4px;border-radius:4px;flex:1;min-width:0}.avatar{position:relative;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:#fff;flex-shrink:0;background:var(--blurple)}.avatar-status{position:absolute;bottom:-2px;right:-2px;width:12px;height:12px;border-radius:50%;border:3px solid #232428;background:var(--green)}.avatar-status.online{background:var(--green)}.avatar-status.idle{background:#f0b232}.avatar-status.dnd{background:var(--red)}.avatar-status.offline{background:#80848e}.avatar img{display:block}.user-meta{line-height:1.25;min-width:0}.user-name{font-size:13px;font-weight:600;color:var(--header);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-tag{font-size:11px;color:var(--text-muted)}.icon-btn{background:none;border:none;color:var(--text-muted);cursor:pointer;width:32px;height:32px;border-radius:4px;font-size:16px;display:flex;align-items:center;justify-content:center}.icon-btn:hover{background:var(--hover);color:var(--text-normal)}.stage-wrap{flex:1;display:flex;flex-direction:column;min-width:0}.stage-header{height:48px;display:flex;align-items:center;gap:8px;padding:0 16px;box-shadow:0 1px #0003;flex-shrink:0}.stage-title{display:flex;align-items:center;gap:6px;font-weight:700;color:var(--header);font-size:16px}.stage-sub{color:var(--text-muted);font-size:14px;padding-left:8px;margin-left:8px;border-left:1px solid #3f4147}.stage{flex:1;overflow-y:auto;padding:24px;scrollbar-gutter:stable;display:flex;flex-wrap:wrap;gap:16px;align-content:center;justify-content:center;align-content:safe center;justify-content:safe center;background:radial-gradient(circle at 50% 30%,#36373d,#2b2d31)}.stage-empty{width:100%;text-align:center;color:var(--text-normal);display:flex;flex-direction:column;align-items:center;gap:8px;max-width:460px;margin:auto}.stage-empty-icon{font-size:56px}.stage-empty .muted{color:var(--text-muted);font-size:14px;line-height:1.5}.tile{position:relative;background:var(--bg-tile);border-radius:8px;aspect-ratio:16 / 9;overflow:hidden;flex:none;width:280px;display:flex;align-items:center;justify-content:center;border:2px solid transparent;transition:border-color .1s}.tile.speaking{border-color:var(--green)}.tile.screen{background:#000}.stage:not(.focus) .tile{cursor:zoom-in}.tile-video{width:100%;height:100%;object-fit:cover;background:#000}.tile.screen .tile-video{object-fit:contain}.tile-avatar{width:80px;height:80px;border-radius:50%;background:var(--blurple);display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700;color:#fff}.tile-label{position:absolute;left:8px;bottom:8px;background:#0000008c;color:#fff;font-size:13px;font-weight:600;padding:3px 8px;border-radius:6px;display:flex;align-items:center;gap:6px;max-width:calc(100% - 16px);overflow:hidden}.tile-label .muted-mic{color:var(--red)}.mute-glyph{display:inline-flex;align-items:center;color:#b5bac1;flex:none}.mute-glyph svg{display:block;width:1.05em;height:1.05em}.vc-mute-icons{margin-left:auto;display:inline-flex;align-items:center;gap:4px}.stage.focus{flex-direction:column;flex-wrap:nowrap;align-content:stretch;justify-content:flex-start;overflow:hidden;gap:12px}.focus-main{flex:1;min-height:0;display:flex;position:relative}.focus-main .tile{width:100%;height:100%;aspect-ratio:auto;background:#000;cursor:zoom-out}.focus-main .tile.no-video{background:radial-gradient(circle at 50% 40%,#2b2d31,#1a1b1e)}.focus-strip{flex:none;display:flex;gap:8px;justify-content:center;overflow-x:auto;overflow-y:hidden;padding:2px}.focus-strip .tile{flex:none;cursor:pointer}.tile.contain .tile-video{object-fit:contain}.tile.fill .tile-video{object-fit:cover}.focus-tools{position:absolute;right:12px;bottom:12px;z-index:2;display:flex;align-items:flex-end;gap:8px}.focus-btn{width:34px;height:34px;border:none;border-radius:8px;background:#0009;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}.focus-btn:hover{background:#000000d9}.stream-vol{display:flex;flex-direction:column;align-items:center;gap:6px}.stream-vol-slider{writing-mode:vertical-lr;direction:rtl;width:34px;height:110px;accent-color:var(--blurple);background:#0009;border-radius:8px;padding:8px 0;cursor:pointer}.strip-toggle{flex:none;align-self:center;width:40px;height:20px;border:none;border-radius:10px;background:#00000080;color:#dbdee1;cursor:pointer;display:flex;align-items:center;justify-content:center}.strip-toggle:hover{background:#000000bf}.strip-toggle.closed svg{transform:rotate(180deg)}.mini-player{position:fixed;right:16px;bottom:16px;z-index:300;width:320px;background:#1a1b1e;border-radius:10px;overflow:hidden;box-shadow:0 10px 34px #0000008c;border:1px solid rgba(255,255,255,.07);display:flex;flex-direction:column;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;transition:left .3s cubic-bezier(.22,1,.36,1),top .3s cubic-bezier(.22,1,.36,1)}.mini-player.dragging{cursor:grabbing;transition:none;box-shadow:0 18px 46px #000000b3}@media (prefers-reduced-motion: reduce){.mini-player{transition:none}}.mini-head{display:flex;align-items:center;gap:6px;padding:6px 10px;font-size:13px;font-weight:600;color:var(--header)}.mini-back{border:none;background:none;color:var(--text-muted);font-size:15px;line-height:1;cursor:pointer;padding:0 2px}.mini-back:hover{color:var(--text-normal)}.mini-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mini-body{background:#000;aspect-ratio:16 / 9;cursor:pointer}.mini-video{width:100%;height:100%;object-fit:contain;display:block}.mini-foot{display:flex;align-items:center;gap:6px;padding:6px 8px}.mini-badge{display:inline-flex;align-items:center;gap:4px;margin-right:auto;color:var(--text-muted);font-size:12px;font-weight:600}.mini-btn{width:26px;height:26px;border:none;border-radius:6px;background:transparent;color:var(--text-muted);cursor:pointer;display:flex;align-items:center;justify-content:center}.mini-btn:hover{background:var(--hover);color:var(--text-normal)}.mini-btn.prev svg{transform:rotate(90deg)}.mini-btn.next svg{transform:rotate(-90deg)}.img-viewer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100;background:#000000d9;display:flex;align-items:center;justify-content:center;overflow:hidden;-webkit-user-select:none;user-select:none;animation:img-viewer-in .12s ease-out}.img-viewer-img{max-width:90vw;max-height:90vh;object-fit:contain;border-radius:4px;box-shadow:0 12px 48px #0009;cursor:zoom-in;transition:transform .15s ease;will-change:transform}.img-viewer-img.zoomed{cursor:grab}.img-viewer-img.dragging{cursor:grabbing;transition:none}@keyframes img-viewer-in{0%{opacity:0}to{opacity:1}}@keyframes img-viewer-out{0%{opacity:1}to{opacity:0}}.img-viewer.closing{animation:img-viewer-out .15s ease-in forwards}.control-bar{background:#232428;padding:8px 16px;display:flex;align-items:center;gap:16px;flex-shrink:0}.control-status{display:flex;align-items:center;gap:8px}.control-status .dot{width:8px;height:8px;border-radius:50%;background:var(--green)}.control-state{font-size:14px;font-weight:700;color:var(--green)}.control-channel{font-size:12px;color:var(--text-muted)}.control-ping{font-size:12px;font-weight:700;color:var(--text-muted);padding:2px 8px;border-radius:6px;background:#1e1f22;margin-left:4px}.control-ping.good{color:var(--green)}.control-ping.ok{color:#f0b232}.control-ping.bad{color:var(--red)}.control-buttons{margin-left:auto;display:flex;gap:8px}.ctrl-btn{width:44px;height:44px;border-radius:8px;border:none;cursor:pointer;background:var(--bg-input);color:var(--text-normal);font-size:20px;display:flex;align-items:center;justify-content:center}.ctrl-btn:hover{background:#4a4d54}.ctrl-btn.on{background:#fff;color:#1e1f22}.ctrl-btn.off{background:var(--red);color:#fff}.ctrl-btn.disabled{opacity:.4;cursor:not-allowed}.ctrl-btn.disabled:hover{background:#4f545c}.ctrl-btn.leave{background:var(--red);color:#fff}.ctrl-btn.leave:hover{background:#d83c3e}.ctrl-btn svg{width:22px;height:22px;fill:currentColor;display:block}::-webkit-scrollbar{width:10px}::-webkit-scrollbar-thumb{background:#1a1b1e;border-radius:5px}::-webkit-scrollbar-track{background:transparent}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;z-index:300;display:flex;align-items:center;justify-content:center}.modal{width:460px;max-width:calc(100vw - 32px);background:var(--bg-stage);border-radius:8px;padding:24px;box-shadow:0 8px 32px #00000080;max-height:90vh;overflow-y:auto}@keyframes modal-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes modal-pop-in{0%{opacity:0;transform:translateY(10px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes modal-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes modal-pop-out{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(8px) scale(.94)}}.modal-backdrop{animation:modal-backdrop-in .16s ease both}.modal{animation:modal-pop-in .22s cubic-bezier(.16,1,.3,1) both}.modal-backdrop.closing{animation:modal-backdrop-out .16s ease both}.modal-backdrop.closing .modal{animation:modal-pop-out .16s ease both}@media (prefers-reduced-motion: reduce){.modal-backdrop,.modal{animation-duration:.01ms}}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.modal-head h2{color:var(--header);font-size:20px}.modal label{display:block;font-size:12px;font-weight:700;text-transform:uppercase;color:var(--text-muted);margin:18px 0 6px;letter-spacing:.02em}.modal input{width:100%;padding:10px;border-radius:4px;border:none;background:#1e1f22;color:var(--text-normal);font-size:15px;outline:none}.modal input:focus{box-shadow:0 0 0 1px var(--blurple)}.modal .row{display:flex;gap:8px}.modal .row input{flex:1}.settings-avatar{display:flex;align-items:center;gap:16px}.settings-avatar .avatar{width:80px;height:80px;font-size:28px}.btn{padding:9px 16px;border:none;border-radius:4px;cursor:pointer;background:var(--blurple);color:#fff;font-size:14px;font-weight:600;white-space:nowrap}.btn:hover{background:#4752c4}.btn:disabled{opacity:.5;cursor:default}.hint{font-size:12px;color:var(--text-faint);margin-top:6px}.status-row{display:flex;gap:8px;flex-wrap:wrap}.status-pill{display:flex;align-items:center;gap:8px;padding:8px 14px;cursor:pointer;background:#1e1f22;border:1px solid transparent;border-radius:6px;color:var(--text-normal);font-size:14px;font-weight:500}.status-pill .avatar-status{position:static;border:none;width:10px;height:10px}.status-pill.active{border-color:var(--blurple);background:#2b2d31}.msg{padding:10px;border-radius:4px;font-size:14px}.msg.err{background:#3a2326;color:#f5a3a3;border:1px solid #5c2e33}.dm-home{display:flex;align-items:center;gap:10px;padding:8px;margin-bottom:4px;border-radius:4px;color:var(--text-muted);cursor:pointer;font-weight:600;font-size:15px}.dm-home:hover{background:var(--hover);color:var(--text-normal)}.dm-home.active{background:var(--active);color:#fff}.dm-item{display:flex;align-items:center;gap:10px;padding:6px 8px;margin:1px 0;border-radius:4px;color:var(--text-muted);cursor:pointer;font-size:15px}.dm-item:hover{background:var(--hover);color:var(--text-normal)}.dm-item.active{background:var(--active);color:#fff}.empty{color:var(--text-muted);text-align:center;padding:24px}.empty.small{padding:12px;font-size:13px}.home-main{flex:1;display:flex;flex-direction:column;min-width:0;background:var(--bg-stage)}.friends-panel{flex:1;display:flex;flex-direction:column;min-height:0}.friends-header{height:48px;display:flex;align-items:center;gap:16px;padding:0 16px;box-shadow:0 1px #0003;flex-shrink:0}.friends-title{font-weight:700;color:var(--header)}.tab{background:none;border:none;color:var(--text-muted);cursor:pointer;font-size:15px;padding:4px 8px;border-radius:4px}.tab:hover{color:var(--text-normal);background:var(--hover)}.tab.active{color:#fff;background:var(--active)}.tab.add{background:var(--green);color:#fff}.tab.add.active{background:#1e8048}.friends-body{flex:1;overflow-y:auto;padding:16px}.section-label{font-size:12px;font-weight:700;text-transform:uppercase;color:var(--text-faint);margin:16px 0 8px}.friend-row{display:flex;align-items:center;gap:12px;padding:10px 8px;border-top:1px solid #3f414733}.friend-meta{flex:1;min-width:0}.friend-name{font-weight:600;color:var(--header)}.friend-sub{font-size:13px;color:var(--text-muted)}.friend-actions{display:flex;gap:8px}.btn.small{padding:6px 12px;font-size:13px}.btn.danger{background:#4e2628}.btn.danger:hover{background:var(--red)}.add-friend h3{color:var(--header);margin-bottom:4px}.add-friend .muted{color:var(--text-muted);font-size:14px;margin-bottom:12px}.add-friend input{width:100%;padding:11px;border-radius:6px;border:none;background:#1e1f22;color:var(--text-normal);font-size:15px;outline:none}.search-results{margin-top:12px}.dm-chat{flex:1;display:flex;flex-direction:column;min-height:0;position:relative}.drop-overlay{position:absolute;top:8px;right:8px;bottom:8px;left:8px;z-index:40;border-radius:12px;background:#5865f240;border:3px dashed #5865f2;display:flex;align-items:center;justify-content:center;pointer-events:none;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.drop-card{text-align:center;color:#fff}.drop-icon{font-size:48px}.drop-title{font-size:22px;font-weight:800;margin-top:8px}.drop-sub{font-size:14px;color:#fffc;margin-top:4px}.chat-header{height:48px;display:flex;align-items:center;gap:8px;padding:0 16px;box-shadow:0 1px #0003;flex-shrink:0}.chat-title{font-weight:700;color:var(--header)}.chat-sub{color:var(--text-muted);font-size:14px}.messages{flex:1;overflow-y:auto;padding:16px 0;display:flex;flex-direction:column}.messages-loading{padding:10px 16px;text-align:center;color:var(--text-muted);font-size:13px}.dialog-modal{width:min(440px,92vw);padding:20px}.dialog-title{margin:0 0 8px;color:var(--header);font-size:18px}.dialog-message{margin:0 0 14px;color:var(--text-muted);line-height:1.45}.dialog-modal label{display:block;margin:6px 0 4px;font-size:12px;font-weight:700;text-transform:uppercase;color:var(--text-faint)}.dialog-modal input{width:100%}.dialog-actions{justify-content:flex-end;margin-top:18px;gap:8px}.dialog-msg-preview{display:flex;gap:12px;padding:12px;background:var(--background-secondary, #2b2d31);border-radius:8px;margin-bottom:14px}.dialog-msg-body{min-width:0;flex:1}.dialog-msg-head{display:flex;align-items:baseline;gap:8px}.dialog-msg-author{color:var(--header, #f2f3f5);font-weight:600;font-size:15px}.dialog-msg-time{color:var(--text-faint);font-size:11px;flex-shrink:0}.dialog-msg-text{color:var(--text-normal);font-size:15px;line-height:1.375;margin-top:2px;word-break:break-word;white-space:pre-wrap}.dialog-msg-faint{color:var(--text-muted);font-style:italic}.dialog-protip{margin-bottom:4px;color:var(--text-muted);font-size:13px;line-height:1.4}.dialog-protip-label{color:#3ba55d;font-weight:700}.btn.ghost{background:transparent}.btn.ghost:hover{text-decoration:underline}.day-divider{display:flex;align-items:center;margin:12px 16px}.day-divider:before,.day-divider:after{content:"";flex:1;height:1px;background:var(--divider, #3f4147)}.day-divider span{padding:0 8px;font-size:12px;font-weight:600;color:var(--text-faint);white-space:nowrap}.messages-intro{padding:24px 16px}.messages-intro h2{color:var(--header);margin:12px 0 4px}.messages-intro .muted{color:var(--text-muted);font-size:14px}.msg-row{display:flex;flex-wrap:wrap;gap:0 16px;padding:2px 16px;position:relative}.msg-actions{position:absolute;top:-16px;right:16px;z-index:2;display:none;align-items:center;background:var(--bg-sidebar);border:1px solid rgba(0,0,0,.2);border-radius:8px;box-shadow:0 2px 6px #0003}.msg-row:hover .msg-actions,.msg-actions:focus-within{display:flex}.msg-act{display:flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:32px;height:32px;padding:6px;border:none;background:none;color:var(--text-muted);cursor:pointer;border-radius:6px;outline:none;position:relative}.msg-act:first-child{border-radius:8px 0 0 8px}.msg-act:last-child{border-radius:0 8px 8px 0}.msg-act:hover{color:var(--text-normal);background:var(--hover)}.msg-act:active{background:var(--active);padding-top:7px;padding-bottom:5px}.msg-act.danger{color:var(--red)}.msg-act svg{width:20px;height:20px}.msg-reply{flex-basis:100%;display:flex;align-items:center;gap:6px;margin-left:56px;margin-bottom:2px;position:relative;font-size:13px;color:var(--text-muted);cursor:pointer;max-width:calc(100% - 72px)}.msg-reply .avatar{flex:0 0 auto}.msg-reply-author{font-weight:600;color:var(--text-normal);flex:0 0 auto}.msg-reply-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.85}.msg-reply:hover .msg-reply-text{opacity:1;color:var(--text-normal)}.msg-reply-deleted{font-style:italic;color:var(--text-faint)}.msg-reply-spine{position:absolute;left:-30px;top:50%;height:12px;width:24px;border-left:2px solid #4e5058;border-top:2px solid #4e5058;border-top-left-radius:8px;pointer-events:none}@keyframes msg-flash-kf{0%{background:#5865f247}to{background:transparent}}.msg-flash{animation:msg-flash-kf 1.4s ease-out}.msg-row:not(.grouped){margin-top:14px}.msg-row:hover{background:#0202020f}.msg-row.replying,.msg-row.replying:hover{background:#5865f21f}.msg-row.replying:after{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:var(--blurple, #5865f2)}.msg-gutter{width:40px;flex-shrink:0;text-align:right;padding-right:2px}.msg-gutter-time{display:none;font-size:10px;color:var(--text-faint);line-height:1.4}.msg-row.grouped:hover .msg-gutter-time{display:inline}.msg-edited{font-size:10px;color:var(--text-faint)}.msg-edit{display:flex;flex-direction:column;gap:4px}.msg-edit-input{width:100%;resize:vertical;min-height:38px;font:inherit;background:var(--input-bg, #1e1f22);color:var(--text-normal);border:1px solid #1e1f22;border-radius:8px;padding:8px 10px}.msg-edit-hint{font-size:12px;color:var(--text-faint)}.msg-edit-hint button{background:none;border:none;color:var(--link, #00a8fc);cursor:pointer;padding:0;font-size:12px}.msg-content{flex:1;min-width:0}.msg-head{display:flex;align-items:baseline;gap:8px}.msg-author{font-weight:600;color:var(--header)}.msg-time{font-size:12px;color:var(--text-faint)}.msg-text{color:var(--text-normal);line-height:1.4;white-space:pre-wrap;word-wrap:break-word}.reply-bar{margin:0 16px -6px;padding:7px 12px 12px;background:#2b2d31;border-radius:8px 8px 0 0;display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--text-muted)}.reply-bar-text b{color:var(--text-normal);font-weight:600}.reply-cancel{background:none;border:none;color:var(--text-muted);cursor:pointer;font-size:14px;line-height:1;padding:2px 6px;border-radius:4px}.reply-cancel:hover{color:var(--text-normal);background:var(--hover)}.composer{margin:0 16px 24px;background:var(--bg-input);border-radius:8px}.composer input{width:100%;background:none;border:none;outline:none;padding:12px 16px;color:var(--text-normal);font-size:15px}.composer input::placeholder{color:var(--text-faint)}.composer-input{width:100%;background:none;border:none;outline:none;padding:12px 16px;color:var(--text-normal);font-size:15px;font-family:inherit;line-height:1.375;resize:none;overflow-y:auto;max-height:200px}.composer-input::placeholder{color:var(--text-faint)}.msg-link{display:inline-flex;align-items:center;gap:4px;vertical-align:baseline;padding:0 4px;border-radius:4px;cursor:pointer;background:#5865f226;color:#c9cdfb;font-weight:500;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.msg-link:hover{background:#5865f24d;color:#fff}.msg-link.missing,.msg-link.msg-link-pending{background:#ffffff0f;color:var(--text-muted)}.msg-link.missing i{font-style:italic}.msg-link-sep{opacity:.6;padding:0 1px}.msg-link-icon{flex:0 0 auto;opacity:.9}.msg-link-server-icon{width:16px;height:16px;border-radius:50%;object-fit:cover;flex:0 0 auto}.msg-link-server-icon.fallback{display:inline-flex;align-items:center;justify-content:center;background:var(--blurple, #5865f2);color:#fff;font-size:9px;font-weight:700}.msg-text strong{font-weight:700}.msg-text em{font-style:italic}.msg-text u{text-decoration:underline}.msg-text del{text-decoration:line-through}.md-h{font-weight:700;color:var(--header);line-height:1.25;margin:4px 0 2px}.md-h1{font-size:1.5em}.md-h2{font-size:1.25em}.md-h3{font-size:1.1em}.md-code{background:#2b2d31;padding:1px 4px;border-radius:4px;font-family:Consolas,Courier New,monospace;font-size:.9em}.md-pre{border:1px solid #1e1f22;border-radius:6px;margin:4px 0;overflow:hidden}.md-pre code.hljs{display:block;padding:8px 10px;overflow-x:auto;white-space:pre;font-family:Consolas,Courier New,monospace;font-size:.85em;border-radius:6px}.voice-panel{position:relative;background:#1e1f22;padding:8px;flex-shrink:0}.voice-panel-info{display:flex;align-items:center;gap:8px;margin-bottom:8px;width:100%;background:none;border:0;padding:4px;border-radius:6px;cursor:pointer;text-align:left;color:inherit}.voice-panel-info:hover{background:#2b2d31}.voice-panel-info .dot{width:8px;height:8px;border-radius:50%;background:var(--green);flex-shrink:0}.voice-panel-text{flex:1;min-width:0}.control-channel{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.voice-overlay{position:absolute;bottom:calc(100% - 4px);left:8px;right:8px;z-index:40;background:#111214;border:1px solid #000;border-radius:8px;padding:12px;box-shadow:0 8px 24px #00000080;display:flex;flex-direction:column;gap:8px}.vo-head{display:flex;align-items:center;justify-content:space-between}.vo-state{font-size:15px;font-weight:800}.vo-state.ok{color:var(--green)}.vo-state.warn{color:#f0b232}.vo-state.bad{color:var(--red)}.vo-close{background:none;border:0;color:var(--text-muted);font-size:20px;line-height:1;cursor:pointer;padding:0 4px}.vo-close:hover{color:#fff}.vo-channel{font-size:13px;font-weight:600;color:var(--text-muted);margin-top:-4px}.vo-rows{display:flex;flex-direction:column;gap:6px;margin-top:2px}.vo-row{display:flex;align-items:center;justify-content:space-between;font-size:13px}.vo-key{color:var(--text-muted)}.vo-val{font-weight:600}.vo-val.good{color:var(--green)}.vo-val.ok{color:#f0b232}.vo-val.bad{color:var(--red)}.vo-val.mono{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12px;color:var(--text-muted)}.vo-endpoint{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:13px;font-weight:700;color:var(--text)}.vo-graph-canvas{display:block;width:100%;height:76px}.vo-disconnect{margin-top:4px;background:var(--red);color:#fff;border:0;border-radius:6px;padding:8px;font-weight:600;cursor:pointer}.vo-disconnect:hover{filter:brightness(1.1)}.sub-current{display:flex;align-items:center;gap:14px;margin-bottom:18px}.sub-current-title{font-size:16px;font-weight:700}.sub-badge{font-size:13px;font-weight:800;padding:8px 14px;border-radius:8px;color:#fff;background:#4e5058;letter-spacing:.3px;white-space:nowrap}.sub-badge.t1{background:linear-gradient(135deg,#5865f2,#7d3cf0)}.sub-badge.t2{background:linear-gradient(135deg,#f0b232,#f04e9b)}.sub-table{width:100%;border-collapse:collapse;font-size:13px}.sub-table th,.sub-table td{padding:8px 10px;text-align:center;border-bottom:1px solid #2b2d31}.sub-table th{color:var(--text-muted);font-weight:700}.sub-table th.now{color:#fff}.sub-table td.now{color:#fff;font-weight:700}.sub-table th.now,.sub-table td.now{background:#5865f21f}.sub-rowlabel{text-align:left!important;color:var(--text-muted)}.voice-panel-btns{display:flex;gap:6px}.voice-panel .ctrl-btn{width:100%;height:36px;font-size:16px;background:#2b2d31}.voice-panel .ctrl-btn:hover{background:#36373d}.voice-panel .ctrl-btn.on{background:#fff;color:#1e1f22}.voice-panel .ctrl-btn.off,.voice-panel .ctrl-btn.leave{background:var(--red);color:#fff}.voice-panel .ctrl-btn svg{width:20px;height:20px}.server-pill img{width:100%;height:100%;border-radius:inherit;object-fit:cover}.server-head{justify-content:space-between;cursor:pointer}.server-head:hover{background:var(--hover)}.dev-pane .toggle-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.toggle-label{font-size:16px;font-weight:600;color:var(--header)}.toggle-switch{flex:0 0 auto;width:44px;height:24px;border-radius:12px;border:none;background:#72767d;cursor:pointer;padding:0;position:relative;transition:background .15s}.toggle-switch.on{background:var(--green)}.toggle-knob{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .15s}.toggle-switch.on .toggle-knob{transform:translate(20px)}.invite-row{padding:12px 8px}.pane-h{font-size:12px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:var(--text-muted);margin:0 0 4px}.lang-list,.time-list{display:flex;flex-direction:column;gap:8px}.lang-option,.time-option{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:10px 14px;border-radius:8px;border:1px solid var(--border, rgba(0,0,0,.2));background:var(--bg-input, rgba(0,0,0,.1));color:var(--text-normal);cursor:pointer;transition:background .12s,border-color .12s}.lang-option:hover,.time-option:hover{background:var(--hover)}.lang-option.active,.time-option.active{border-color:var(--blurple, #5865f2);background:#5865f21f}.lang-flag{font-size:22px;line-height:1;flex:0 0 auto}.lang-native{font-size:15px;font-weight:600;color:var(--header)}.lang-english,.time-example{color:var(--text-muted);font-size:13px}.lang-english{margin-left:auto}.time-name{font-size:15px;font-weight:600;color:var(--header)}.time-example{margin-left:auto}.lang-check{color:var(--blurple, #5865f2);font-weight:700;margin-left:8px;flex:0 0 auto}.session-list{display:flex;flex-direction:column;gap:8px}.session-row{display:flex;align-items:center;gap:12px;padding:10px 14px;border-radius:8px;border:1px solid var(--border, rgba(0,0,0,.2));background:var(--bg-input, rgba(0,0,0,.1))}.session-row.current{border-color:var(--blurple, #5865f2);background:#5865f21f}.session-icon{font-size:22px;line-height:1;flex:0 0 auto}.session-info{min-width:0;flex:1}.session-title{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;color:var(--header)}.session-chip{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.02em;padding:2px 6px;border-radius:4px;background:var(--blurple, #5865f2);color:#fff}.session-row .hint{font-size:13px}.server-main{flex:1;display:flex;min-width:0;background:var(--bg-stage)}.text-channel{flex:1;display:flex;min-width:0}.text-channel .dm-chat{flex:1;min-width:0}.chat-header .hash{color:var(--text-faint);font-size:20px;font-weight:400}.members{width:240px;background:var(--bg-sidebar);overflow-y:auto;padding:16px 8px;flex-shrink:0}.member-group-title{padding:16px 8px 4px;font-size:12px;font-weight:700;text-transform:uppercase;color:var(--text-faint)}.member{display:flex;align-items:center;gap:12px;padding:5px 8px;border-radius:4px}.member:hover{background:var(--hover)}.member.offline{opacity:.4}.member-meta{display:flex;flex-direction:column;line-height:1.2}.member-name{font-size:15px;color:var(--text-normal)}.member-name.role-owner{color:#f0b232}.member-name.role-admin{color:#5865f2}.member-role{font-size:11px;color:var(--text-faint);text-transform:capitalize}.member-name-row{display:flex;align-items:center;gap:4px;min-width:0}.member-name-row .member-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.owner-crown{flex:0 0 auto;color:#f0b232}.att-list{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-top:4px}.att-img{max-width:400px;max-height:300px;border-radius:8px;cursor:pointer;display:block}.att-video{max-width:400px;max-height:300px;border-radius:8px;display:block}.att-file{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;background:var(--bg-tile);border:1px solid #2b2d31;border-radius:8px;color:#00a8fc;text-decoration:none;max-width:400px}.att-file:hover{background:#232428}.att-file .att-size{color:var(--text-faint);font-size:12px}.att-video-poster{position:relative;display:inline-block;padding:0;border:none;cursor:pointer;line-height:0;max-width:100%;border-radius:8px;overflow:hidden}.att-video-poster img{display:block;width:auto;height:auto;max-width:400px;max-height:300px}.att-video-blank{width:400px;max-width:100%;background:#1e1f22}.att-video-play{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;width:56px;height:56px;display:flex;align-items:center;justify-content:center;font-size:22px;color:#fff;padding-left:4px;background:#0000008c;border-radius:50%;transition:background .15s ease,transform .15s ease}.att-video-poster:hover .att-video-play{background:#5865f2e6;transform:scale(1.06)}.att-audio{width:400px;max-width:100%;background:#2b2d31;border:1px solid #232428;border-radius:8px;padding:12px 14px}.att-audio-head{display:flex;align-items:center;gap:10px}.att-audio-glyph{display:block;height:40px;width:auto;flex-shrink:0}.att-audio-meta{min-width:0}.att-audio-name{display:block;color:#00a8fc;text-decoration:none;font-weight:600;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.att-audio-name:hover{text-decoration:underline}.att-audio-size{color:var(--text-faint);font-size:12px}.att-audio .mp-bar{margin-top:12px}.att-video-wrap{position:relative;display:inline-block;line-height:0;max-width:100%;border-radius:8px;overflow:hidden;background:#000}.att-video-wrap video{display:block;width:auto;height:auto;max-width:400px;max-height:300px;cursor:pointer}.att-video-wrap .mp-bar{position:absolute;left:0;right:0;bottom:0;padding:8px 4px 6px;background:#0009;opacity:0;transition:opacity .15s ease}.att-video-wrap:hover .mp-bar,.att-video-wrap.show-bar .mp-bar,.att-video-wrap:fullscreen .mp-bar{opacity:1}.att-video-wrap:fullscreen{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:0}.att-video-wrap:fullscreen video{max-width:100%;max-height:100%;object-fit:contain}.mp-bar{display:flex;align-items:center;gap:0;height:32px}.mp-btn{background:none;border:none;cursor:pointer;color:#dbdee1;padding:0;width:32px;height:32px;flex-shrink:0;border-radius:4px;display:flex;align-items:center;justify-content:center}.mp-btn:hover{color:#fff}.mp-btn:active{transform:translateY(1px)}.att-audio .mp-btn{color:var(--text-normal)}.att-audio .mp-btn:hover{background:#ffffff14}.mp-time{font-size:12px;color:#dbdee1;flex-shrink:0;font-variant-numeric:tabular-nums;margin:0 4px}.mp-bar.compact .mp-time{display:none}.att-video-wrap:fullscreen .mp-bar.compact .mp-time{display:inline}.att-audio .mp-time{color:var(--text-muted)}.mp-scrub{flex:1;min-width:0;position:relative;height:16px;display:flex;align-items:center;cursor:pointer;margin:0 6px}.mp-scrub-track{width:100%;height:8px;border-radius:3px;background:#ffffff2e;position:relative;overflow:hidden}.mp-scrub-buffer{position:absolute;left:0;top:0;height:100%;border-radius:3px;background:#ffffff4d}.mp-scrub-fill{position:absolute;left:0;top:0;height:100%;border-radius:3px;background:#5865f2}.mp-scrub-knob{position:absolute;top:50%;width:10px;height:10px;border-radius:50%;background:#4654c0;transform:translate(-50%,-50%);pointer-events:none;opacity:0;transition:opacity .25s ease}.mp-scrub:not(.dragging) .mp-scrub-fill{transition:width .25s linear}.mp-scrub:not(.dragging) .mp-scrub-knob{transition:opacity .25s ease,left .25s linear}.mp-scrub:hover .mp-scrub-knob,.mp-scrub.dragging .mp-scrub-knob{opacity:1}.mp-scrub-tip{position:absolute;bottom:18px;transform:translate(-50%);background:#111214;color:#fff;font-size:11px;padding:2px 6px;border-radius:4px;white-space:nowrap;pointer-events:none}.mp-vol-wrap{position:relative;flex-shrink:0;display:flex}.mp-vol-pop{position:absolute;bottom:100%;left:50%;transform:translate(-50%);padding:10px 8px 8px;background:#111214;border-radius:6px;box-shadow:0 2px 8px #00000080;opacity:0;pointer-events:none;transition:opacity .12s ease}.mp-vol-pop.open{opacity:1;pointer-events:auto}.mp-vol{writing-mode:vertical-lr;direction:rtl;width:8px;height:90px;cursor:pointer;accent-color:#5865f2}.stage-tray{display:flex;flex-wrap:wrap;gap:10px;margin:0 16px 8px;padding:12px;background:#2b2d31;border:1px solid #232428;border-radius:8px}.stage-item{position:relative;width:160px;background:#1e1f22;border-radius:6px;padding:8px;box-sizing:border-box}.stage-thumb{height:120px;border-radius:4px;overflow:hidden;background:#2b2d31;display:flex;align-items:center;justify-content:center}.stage-thumb img,.stage-thumb video{width:100%;height:100%;object-fit:cover}.stage-glyph{font-size:40px}.stage-name{margin-top:6px;font-size:13px;color:#dbdee1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stage-actions{position:absolute;top:12px;right:12px;display:flex;gap:4px;opacity:0;transition:opacity .12s ease}.stage-item:hover .stage-actions{opacity:1}.stage-act{background:#2b2d31;border:none;cursor:pointer;color:#dbdee1;width:28px;height:28px;border-radius:4px;font-size:13px;box-shadow:0 1px 3px #0006}.stage-act.danger:hover{background:#da373c;color:#fff}.composer{display:flex;align-items:flex-end;padding:0 8px 0 16px}.composer-add{background:none;border:none;color:var(--text-muted);cursor:pointer;font-size:22px;width:32px;height:32px;flex-shrink:0;margin-bottom:6px}.composer-add:hover{color:var(--text-normal)}.composer-error{margin:0 16px 4px;color:#f5a3a3;font-size:13px}.uploads{margin:0 16px 8px;display:flex;flex-direction:column;gap:8px}.upload-card{display:flex;align-items:center;gap:14px;background:#2b2d31;border:1px solid #232428;border-radius:8px;padding:14px 16px}.upload-thumb{width:40px;height:50px;flex-shrink:0}.upload-thumb path{fill:#b5bac1}.upload-thumb .upload-thumb-fold{fill:#80848e}.upload-main{flex:1;min-width:0}.upload-head{display:flex;align-items:center;gap:6px}.upload-name{color:#f2f3f5;font-size:16px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-size{color:var(--text-muted);font-size:14px;flex-shrink:0;white-space:nowrap}.upload-x{margin-left:auto;flex-shrink:0;background:none;border:none;cursor:pointer;color:var(--text-muted);font-size:22px;line-height:1;padding:2px 6px;border-radius:4px}.upload-x:hover{color:#fff}.upload-bar{margin-top:12px;height:6px;border-radius:3px;background:#ffffff14;overflow:hidden}.upload-fill{height:100%;background:#5865f2;border-radius:3px;transition:width .15s ease}.server-icon-pick{width:80px;height:80px;border-radius:50%;background:#1e1f22;cursor:pointer;display:flex;align-items:center;justify-content:center;text-align:center;color:var(--text-muted);font-size:12px;font-weight:700;border:2px dashed #4a4d54;overflow:hidden}.server-icon-pick img{width:100%;height:100%;object-fit:cover;border-radius:50%}.modal-divider{display:flex;align-items:center;text-align:center;color:var(--text-faint);margin:20px 0 4px;font-size:12px}.modal-divider:before,.modal-divider:after{content:"";flex:1;height:1px;background:#3f4147}.modal-divider span{padding:0 12px;text-transform:uppercase;font-weight:700}.vc-count{margin-left:auto;font-size:12px;font-weight:700;color:var(--text-faint);background:#1e1f22;border-radius:8px;padding:1px 7px}.vc-member .vc-muted{margin-left:auto;font-size:11px}.vc-member .avatar{width:20px;height:20px;font-size:8px}#root{height:100%;width:100%}.context-menu{position:fixed;z-index:400;min-width:188px;padding:6px;background:#111214;border-radius:6px;box-shadow:0 8px 24px #00000073}.ctx-item{padding:8px 10px;border-radius:4px;font-size:14px;font-weight:500;color:var(--text-normal);cursor:pointer}.ctx-item:hover{background:var(--blurple);color:#fff}.ctx-item.danger{color:#f23f43}.ctx-item.danger:hover{background:#f23f43;color:#fff}.ctx-sep{height:1px;background:#2b2d31;margin:4px 6px}.msg-row.pending .msg-text,.msg-row.pending .msg-author{color:var(--text-muted);opacity:.7}.settings-modal{width:740px;max-width:calc(100vw - 32px);height:min(640px,88vh);display:flex;padding:0;overflow:hidden}.settings-nav{width:200px;background:#2b2d31;padding:16px 8px;flex-shrink:0;display:flex;flex-direction:column;gap:2px;overflow-y:auto}.settings-nav-title{font-size:12px;font-weight:700;text-transform:uppercase;color:var(--text-faint);padding:4px 10px 8px}.settings-nav-item{text-align:left;background:none;border:none;cursor:pointer;padding:8px 10px;border-radius:4px;font-size:15px;font-weight:500;color:var(--text-muted)}.settings-nav-item:hover{background:var(--hover);color:var(--text-normal)}.settings-nav-item.active{background:var(--active);color:#fff}.settings-nav-item.danger{color:#f23f43;margin-top:auto}.settings-nav-item.danger:hover{background:#f23f43;color:#fff}.settings-content{flex:1;padding:24px;min-width:0;overflow-y:auto}.server-head-actions{display:flex;gap:2px}.settings-content h2{color:var(--header);margin-bottom:16px;font-size:20px}.roles-layout{display:flex;gap:16px}.roles-list{width:180px;flex-shrink:0}.role-item{display:flex;align-items:center;gap:8px;padding:8px;border-radius:4px;cursor:pointer;color:var(--text-normal);font-size:14px}.role-item:hover{background:var(--hover)}.role-item.active{background:var(--active)}.role-dot{width:12px;height:12px;border-radius:50%;flex-shrink:0}.role-reorder{display:inline-flex;gap:2px;opacity:0;margin-left:auto}.role-item:hover .role-reorder{opacity:1}.role-reorder button{border:none;background:transparent;color:var(--text-faint);cursor:pointer;font-size:10px;line-height:1;padding:2px}.role-reorder button:hover:not(:disabled){color:var(--text-normal)}.role-reorder button:disabled{opacity:.3;cursor:default}.role-edit{flex:1;min-width:0}.perm-list{display:flex;flex-direction:column;gap:4px}.perm-row{display:flex;align-items:flex-start;gap:10px;padding:8px;border-radius:4px;background:#1e1f22;cursor:pointer}.perm-row input{margin-top:3px;width:16px;height:16px;flex-shrink:0}.perm-title{color:var(--text-normal);font-size:14px;font-weight:600}.perm-desc{color:var(--text-faint);font-size:12px}.perm-target-x{margin-left:auto;color:var(--text-faint);font-size:11px;padding:0 2px}.perm-target-x:hover{color:#f23f43}.perm-target-title{color:var(--text-muted);font-size:13px;margin-bottom:14px}.perm-tri-list{display:flex;flex-direction:column;gap:2px}.perm-tri-row{display:flex;align-items:center;gap:12px;padding:12px 4px;border-top:1px solid #3f414733}.perm-tri-text{flex:1;min-width:0}.perm-tri{display:inline-flex;border-radius:6px;overflow:hidden;background:#1e1f22;flex-shrink:0}.perm-tri-btn{width:40px;height:32px;border:none;background:transparent;cursor:pointer;color:var(--text-faint);font-size:15px;line-height:1;transition:background .12s,color .12s}.perm-tri-btn:hover{color:var(--text-normal)}.perm-tri-btn.deny.on{background:#f23f43;color:#fff}.perm-tri-btn.neutral.on{background:#4e5058;color:#fff}.perm-tri-btn.allow.on{background:#3ba55d;color:#fff}.perm-picker{background:#1e1f22;border:1px solid #3f414755;border-radius:6px;padding:4px;margin-bottom:8px;max-height:240px;overflow-y:auto}.perm-picker-head{color:var(--text-faint);font-size:11px;text-transform:uppercase;padding:6px 6px 2px}.perm-picker-item{display:flex;align-items:center;gap:8px;padding:6px;border-radius:4px;cursor:pointer;color:var(--text-normal);font-size:14px}.perm-picker-item:hover{background:var(--hover)}.perm-sync{display:flex;align-items:center;gap:12px;padding:10px 12px;background:#1e1f22;border-radius:6px;font-size:13px}.perm-sync-on{color:#3ba55d;font-weight:600}.perm-sync-off{color:var(--text-muted);flex:1}.composer-readonly{color:var(--text-faint);font-size:14px;padding:12px 16px;justify-content:center;cursor:not-allowed;-webkit-user-select:none;user-select:none}.settings-member{display:flex;align-items:center;gap:12px;padding:8px 0;border-top:1px solid #3f414733}.settings-member-name{flex:1;min-width:0;color:var(--text-normal)}.settings-member-roles{display:flex;gap:6px;flex-wrap:wrap;max-width:60%;justify-content:flex-end}.role-chip{border:1px solid #4a4d54;background:#1e1f22;color:var(--text-muted);border-radius:12px;padding:2px 10px;font-size:12px;cursor:pointer}.role-chip.on{color:#fff;display:inline-flex;align-items:center;gap:4px}.role-chip-x{background:none;border:none;color:inherit;cursor:pointer;font-size:14px;line-height:1;padding:0;opacity:.6}.role-chip-x:hover{opacity:1}.role-chip-x:disabled{opacity:.3;cursor:default}.role-add-wrap{position:relative;display:inline-block}.role-chip.add{color:var(--text-muted);font-weight:700;line-height:1;padding:2px 9px}.role-chip.add:disabled{opacity:.4;cursor:default}.role-add-menu{position:absolute;top:calc(100% + 4px);left:0;z-index:50;background:#111214;border:1px solid #2b2d31;border-radius:8px;padding:4px;min-width:160px;max-height:220px;overflow-y:auto;box-shadow:0 8px 20px #00000080}.role-add-item{display:flex;align-items:center;gap:8px;width:100%;background:none;border:none;color:var(--text);cursor:pointer;padding:6px 8px;border-radius:4px;font-size:13px;text-align:left}.role-add-item:hover{background:#2b2d31}.role-add-item:disabled{opacity:.5;cursor:default}.role-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.audit-row{display:flex;gap:10px;padding:8px 0;border-top:1px solid #3f414733;font-size:14px}.audit-actor{font-weight:600;color:var(--header);flex-shrink:0}.audit-action{flex:1;color:var(--text-muted)}.audit-time{color:var(--text-faint);font-size:12px;flex-shrink:0}.settings-content input[type=color]{background:none;border:1px solid #1e1f22;border-radius:4px;cursor:pointer}.cat-header{cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;align-items:center}.cat-header:hover{color:var(--text-normal)}.cat-header span{letter-spacing:.02em}.channel[draggable=true],.cat-header[draggable=true]{cursor:pointer}.invite-create{display:flex;align-items:center;gap:12px;margin-bottom:8px}.invite-create select{background:#1e1f22;color:var(--text-normal);border:none;border-radius:4px;padding:9px 10px;font-size:14px;cursor:pointer}.select{width:100%;background:#1e1f22;color:var(--text-normal);border:none;border-radius:4px;padding:10px;font-size:14px;cursor:pointer;margin-top:4px}.invite-table{margin-top:16px}.invite-row-head,.invite-row-item{display:grid;grid-template-columns:1.4fr 1fr .5fr 1fr 150px;gap:8px;align-items:center;padding:8px 0}.invite-row-head{color:var(--text-faint);font-size:12px;text-transform:uppercase;font-weight:700;border-bottom:1px solid #3f4147}.invite-row-item{border-top:1px solid #3f414733;font-size:14px;color:var(--text-normal)}.invite-code{font-family:ui-monospace,monospace;color:#00a8fc}.profile-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:400}.profile-card{position:fixed;width:320px;max-width:calc(100vw - 24px);background:#232428;border-radius:10px;box-shadow:0 8px 32px #0009}.profile-banner{height:70px;background:linear-gradient(120deg,#5865f2,#404a8c);border-radius:10px 10px 0 0}.profile-avatar-wrap{margin:-44px 0 0 16px}.profile-avatar-wrap .avatar{width:80px;height:80px;font-size:28px;border:6px solid #232428}.profile-body{padding:8px 16px 16px}.profile-name{font-size:20px;font-weight:700;color:var(--header);display:flex;align-items:center;gap:6px}.badges{display:inline-flex;align-items:center;gap:3px}.badge-wrap{position:relative;display:inline-flex}.badge{display:block;object-fit:contain;cursor:default}.badge-wrap:after{content:attr(data-tip);position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%);background:#111214;color:#f2f3f5;font-size:12px;font-weight:600;line-height:1.3;padding:6px 9px;border-radius:6px;white-space:normal;max-width:220px;width:max-content;text-align:center;box-shadow:0 4px 14px #0006;opacity:0;pointer-events:none;transition:opacity .1s ease;z-index:50}.badge-wrap:hover:after{opacity:1}.profile-username{font-size:14px;color:var(--text-muted);margin-bottom:8px}.profile-section-title{font-size:12px;font-weight:700;text-transform:uppercase;color:var(--text-faint);margin:12px 0 6px}.profile-roles{display:flex;flex-wrap:wrap;gap:6px}.invite-row-actions{display:flex;gap:6px}.channel.drop-before,.cat-header.drop-before{box-shadow:0 -2px 0 0 var(--green)}.channel.drop-after,.cat-header.drop-after{box-shadow:0 2px 0 0 var(--green)}.voice-toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);background:#232428;color:var(--text-normal);border:1px solid var(--red);border-radius:8px;padding:12px 16px;z-index:500;display:flex;align-items:center;gap:16px;box-shadow:0 8px 24px #00000080;font-size:14px;max-width:calc(100vw - 32px)}.voice-toast button{background:var(--red);color:#fff;border:none;border-radius:4px;padding:6px 12px;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap}.voice-toast button:hover{background:#d83c3e}.voice-settings .vs-h{margin:24px 0 4px;color:var(--header);font-size:16px}.voice-settings .vs-h:first-child{margin-top:4px}.voice-settings .select{width:100%}.vs-meter{position:relative;flex:1;height:10px;border-radius:5px;background:#1e1f22;overflow:hidden}.vs-meter.sens{margin-bottom:8px;overflow:visible}.vs-meter-fill{height:100%;width:0%;border-radius:5px;background:linear-gradient(90deg,#3ba55d,#e6c84a 70%,#f23f43);transition:width .05s linear}.vs-thresh{position:absolute;top:-3px;bottom:-3px;width:2px;background:#fff;border-radius:1px;transform:translate(-1px)}.vs-slider{width:100%;margin:8px 0 2px;-webkit-appearance:none;-moz-appearance:none;appearance:none;height:6px;border-radius:3px;background:#1e1f22;outline:none}.vs-slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:16px;height:16px;border-radius:50%;background:#fff;cursor:pointer;box-shadow:0 1px 3px #0006}.vs-slider::-moz-range-thumb{width:16px;height:16px;border:none;border-radius:50%;background:#fff;cursor:pointer}.vs-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 4px}.vs-toggle-label{color:var(--text-normal);font-size:15px;font-weight:600}.vs-switch{flex:none;width:40px;height:24px;border-radius:12px;border:none;background:#80848e;cursor:pointer;padding:0;position:relative;transition:background .15s}.vs-switch.on{background:#3ba55d}.vs-switch span{position:absolute;top:3px;left:3px;width:18px;height:18px;background:#fff;border-radius:50%;transition:transform .15s}.vs-switch.on span{transform:translate(16px)}.vs-sens{margin-top:10px}.vs-cam{margin:12px 0;width:100%;aspect-ratio:16 / 9;border-radius:8px;background:#1e1f22;overflow:hidden;display:flex;align-items:center;justify-content:center}.vs-cam-video{width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}.vs-cam-empty{color:var(--text-faint);font-size:14px}@media (prefers-reduced-motion: reduce){.vs-meter-fill,.vs-switch,.vs-switch span{transition:none}}
