:root{--brand:#5865f2;--brand-strong:#4752c4;--brand-soft:#5865f229;--green:#23a55a;--yellow:#f0b232;--red:#f23f43;--server-rail:#1e1f22;--sidebar:#2b2d31;--sidebar-deep:#232428;--chat:#313338;--chat-elevated:#383a40;--members:#2b2d31;--input:#383a40;--hover:#4e505873;--active:#404249;--text:#f2f3f5;--text-soft:#dbdee1;--muted:#949ba4;--muted-strong:#b5bac1;--stroke:#11121459;--shadow:0 8px 24px #0000003d;--radius:8px}:root[data-theme=light]{--server-rail:#e3e5e8;--sidebar:#f2f3f5;--sidebar-deep:#ebedef;--chat:#fff;--chat-elevated:#f2f3f5;--members:#f2f3f5;--input:#ebedef;--hover:#6a74801f;--active:#dfe1e5;--text:#1e1f22;--text-soft:#2e3338;--muted:#5c626a;--muted-strong:#4e5058;--stroke:#0606071f;--shadow:0 8px 24px #1f23281f}*{box-sizing:border-box}html,body{width:100%;min-height:100%}html{background:var(--chat)}body{color:var(--text);background:var(--chat);-webkit-font-smoothing:antialiased;margin:0;font:14px/1.45 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow:hidden}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit}::selection{color:#fff;background:var(--brand)}.discord-shell{background:var(--chat);grid-template-columns:72px 280px minmax(0,1fr) 240px;width:100vw;height:100dvh;display:grid;overflow:hidden}.ui-button{color:var(--text);cursor:pointer;white-space:nowrap;border:0;border-radius:5px;justify-content:center;align-items:center;gap:8px;font-weight:600;text-decoration:none;transition:background .14s,color .14s,opacity .14s,transform .14s;display:inline-flex}.ui-button:focus-visible,.ui-input:focus-visible,button:focus-visible,a:focus-visible{outline-offset:2px;outline:2px solid #00a8fc}.ui-button:active:not(:disabled){transform:translateY(1px)}.ui-button:disabled{opacity:.45;cursor:not-allowed}.ui-button--md{min-height:38px;padding:0 15px}.ui-button--sm{min-height:32px;padding:0 11px;font-size:13px}.ui-button--icon{flex:none;width:34px;height:34px;padding:0}.ui-button--default,.ui-button--secondary{background:var(--chat-elevated)}.ui-button--default:hover,.ui-button--secondary:hover{background:var(--active)}.ui-button--primary{background:var(--brand);color:#fff}.ui-button--primary:hover{background:var(--brand-strong)}.ui-button--ghost{color:var(--muted-strong);background:0 0}.ui-button--ghost:hover{background:var(--hover);color:var(--text)}.ui-button--danger{background:var(--red);color:#fff}.ui-button--danger:hover{background:#d83c3e}.ui-input{width:100%;height:40px;color:var(--text);background:var(--server-rail);border:0;border-radius:4px;padding:0 12px;box-shadow:inset 0 0 0 1px #00000014}.ui-input::placeholder{color:var(--muted)}.ui-input:focus{outline:0;box-shadow:inset 0 0 0 1px #00a8fc}.ui-input:disabled{opacity:.72;cursor:not-allowed}.avatar-wrap{flex:none;width:32px;height:32px;display:inline-flex;position:relative}.avatar-root{background:var(--brand);border-radius:50%;place-items:center;width:100%;height:100%;display:grid;overflow:hidden}.avatar-image{object-fit:cover;width:100%;height:100%;display:block}.avatar-fallback{color:#fff;background:linear-gradient(145deg,#5865f2,#8b5cf6);place-items:center;width:100%;height:100%;font-size:12px;font-weight:700;display:grid}.avatar-status{border:3px solid var(--sidebar);background:var(--muted);border-radius:50%;width:11px;height:11px;position:absolute;bottom:-1px;right:-1px}.avatar-status--online{background:var(--green)}.avatar-status--busy{background:var(--red)}.tooltip-content{z-index:5000;color:#fff;box-shadow:var(--shadow);background:#111214;border-radius:5px;padding:8px 10px;font-size:13px;font-weight:600;animation:.12s both tooltip-in}.tooltip-arrow{fill:#111214}@keyframes tooltip-in{0%{opacity:0;transform:scale(.96)}}.server-rail{background:var(--server-rail);scrollbar-width:none;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:12px 0;display:flex;overflow-y:auto}.server-rail::-webkit-scrollbar{display:none}.server-button{width:48px;height:48px;color:var(--text-soft);background:var(--chat);cursor:pointer;border:0;border-radius:50%;place-items:center;transition:border-radius .18s,background .18s,color .18s;display:grid;position:relative}.server-button span{font-size:20px;font-weight:800}.server-button:hover,.server-button--active{color:#fff;background:var(--brand);border-radius:16px}.server-button--active:before{content:"";background:var(--text);border-radius:0 4px 4px 0;width:4px;height:38px;position:absolute;left:-12px}.server-button--add{color:var(--green)}.server-button--add:hover{color:#fff;background:var(--green)}.server-button--small{width:40px;height:40px}.server-divider{background:var(--active);border-radius:1px;width:32px;height:2px}.server-rail__spacer{flex:1}.channel-sidebar{background:var(--sidebar);min-width:0;color:var(--muted-strong);grid-template-rows:48px minmax(0,1fr) auto auto;display:grid}.server-header{min-width:0;color:var(--text);box-shadow:0 1px 0 var(--stroke), 0 2px 8px #00000014;cursor:pointer;justify-content:space-between;align-items:center;padding:0 16px;display:flex}.server-header:hover{background:var(--hover)}.server-header>div{min-width:0;display:grid}.server-header strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.server-header span{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:10px}.channel-scroll{scrollbar-width:thin;scrollbar-color:var(--server-rail) transparent;min-height:0;padding:12px 8px 20px;overflow-y:auto}.boost-card{background:linear-gradient(135deg,#5865f21f,#eb459e0f);border:1px solid #5865f240;border-radius:8px;align-items:center;gap:10px;margin:0 4px 18px;padding:10px;display:flex}.boost-card__icon{color:#fff;background:linear-gradient(135deg,#5865f2,#eb459e);border-radius:10px;place-items:center;width:32px;height:32px;display:grid}.boost-card>div:last-child{min-width:0;display:grid}.boost-card strong{color:var(--text-soft);font-size:12px}.boost-card span{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:10px;overflow:hidden}.channel-group+.channel-group{margin-top:20px}.channel-group__label{height:24px;color:var(--muted);letter-spacing:.02em;text-transform:uppercase;align-items:center;gap:2px;padding:0 6px;font-size:11px;font-weight:700;line-height:16px;display:flex}.channel-group__label svg:last-child{margin-left:auto}.channel-group__label:hover{color:var(--text-soft)}.channel-row{width:100%;height:36px;color:var(--muted);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:4px;align-items:center;gap:7px;margin:1px 0;padding:0 8px;display:flex}.channel-row span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:500;overflow:hidden}.channel-row b{min-width:18px;height:18px;color:var(--text-soft);background:var(--server-rail);border-radius:9px;place-items:center;padding:0 5px;font-size:10px;display:grid}.channel-row:hover{color:var(--text-soft);background:var(--hover)}.channel-row--active,.channel-row--selected{color:var(--text);background:var(--active)}.channel-row--joined{color:#fff}.channel-row--joined>svg:first-child{color:var(--green)}.channel-row--locked{opacity:.72}.channel-row .unread-badge{color:#fff;background:var(--red)}.voice-participant{height:38px;color:var(--muted);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:4px;align-items:center;gap:9px;width:calc(100% - 26px);margin-left:26px;padding:3px 8px;display:flex}.voice-participant:disabled{cursor:default}.voice-participant:hover{color:var(--text-soft);background:var(--hover)}.voice-participant--speaking{color:var(--green);background:color-mix(in srgb, var(--green) 9%, transparent)}.voice-participant--speaking .avatar-root{box-shadow:0 0 0 2px var(--green);border-radius:50%}.voice-participant--speaking .voice-participant__identity strong,.voice-participant--speaking .voice-participant__identity small{color:var(--green)}.voice-participant .avatar-wrap{width:25px;height:25px}.voice-participant .avatar-status{border-color:var(--sidebar);transform:scale(.82)}.voice-participant__identity{min-width:0;line-height:1.15;display:grid}.voice-participant__identity strong,.voice-participant__identity small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.voice-participant__identity strong{color:var(--muted-strong);font-size:11px}.voice-participant__identity small{color:var(--muted);font-size:9px}.quick-connect{border-top:1px solid var(--stroke);background:var(--sidebar-deep);gap:8px;padding:10px 8px;display:grid}.quick-connect .ui-input{height:34px;font-size:12px}.voice-connect-hint{color:var(--muted);padding:0 3px;font-size:10px;line-height:1.35}.voice-status-panel{border-top:1px solid var(--stroke);background:var(--sidebar-deep);gap:8px;padding:10px 8px;display:grid}.voice-status-panel__top{justify-content:space-between;align-items:center;display:flex}.voice-status-panel__top>div{min-width:0;display:grid}.voice-status-panel__top strong{color:var(--green);font-size:12px}.voice-status-panel__top span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.voice-status-panel__top small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.voice-connection-title{align-items:center;gap:6px;display:flex}.voice-connection-title--reconnecting{color:var(--yellow)!important}.voice-connection-title--restored{color:var(--green)!important}.connection-bars{flex:none;align-items:flex-end;gap:2px;width:15px;height:12px;display:inline-flex;overflow:visible!important}.connection-bars i{opacity:.22;background:currentColor;border-radius:2px 2px 0 0;width:3px;display:block}.connection-bars i:first-child{height:4px}.connection-bars i:nth-child(2){height:8px}.connection-bars i:nth-child(3){height:12px}.connection-bars--excellent i,.connection-bars--good i:nth-child(-n+2),.connection-bars--poor i:first-child{opacity:1}.connection-bars--excellent,.connection-bars--good{color:var(--green)!important}.connection-bars--poor{color:var(--yellow)!important}.connection-bars--lost{color:var(--red)!important}.voice-connection-title--reconnecting .connection-bars{animation:.9s ease-in-out infinite alternate connection-pulse}.signal-dot{background:var(--green);border-radius:50%;width:7px;height:7px;margin-right:5px;display:inline-block;box-shadow:0 0 0 3px #23a55a24}.voice-status-panel>.ui-button{width:100%}.voice-status-panel__actions{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:6px;display:grid}.voice-status-panel__actions .ui-button{min-width:0;padding-inline:7px;font-size:10px}.bot-badge{color:#fff;background:var(--brand);vertical-align:1px;border-radius:3px;margin-left:5px;padding:1px 4px;font-size:7px;line-height:1.4}.user-dock{background:var(--sidebar-deep);align-items:center;gap:7px;height:54px;padding:0 7px;display:flex}.user-dock .avatar-wrap{width:32px;height:32px}.user-dock__identity{flex:1;min-width:0;line-height:1.15;display:grid}.user-dock__identity strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.user-dock__identity span{color:var(--muted);font-size:10px}.profile-trigger{color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.profile-trigger:disabled{cursor:default}.user-dock__profile{text-align:left;flex:1;align-items:center;gap:7px;min-width:0;display:flex}.user-dock__profile .user-dock__identity small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.chat-stage{background:var(--chat);grid-template-rows:48px minmax(0,1fr) auto;min-width:0;min-height:0;display:grid;position:relative}.chat-stage--thread{grid-template-columns:minmax(0,1fr) minmax(340px,410px)}.chat-stage--thread>.channel-header,.chat-stage--thread>.conversation,.chat-stage--thread>.composer-wrap{grid-column:1}.channel-header{min-width:0;box-shadow:0 1px 0 var(--stroke), 0 2px 8px #00000014;z-index:2;align-items:center;gap:7px;padding:0 12px;display:flex}.channel-header__hash{color:var(--muted)}.channel-header strong{color:var(--text);font-size:15px}.channel-header p{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:12px;overflow:hidden}.channel-header__divider{background:var(--active);width:1px;height:20px;margin:0 4px}.channel-header__actions{align-items:center;gap:2px;margin-left:auto;display:flex}.search-box{width:144px;height:24px;color:var(--muted);background:var(--server-rail);border-radius:4px;justify-content:space-between;align-items:center;margin-left:5px;padding:0 7px;font-size:11px;display:flex}.mobile-only{display:none}.conversation{flex-direction:column;min-height:0;display:flex;position:relative;overflow:hidden}.screen-area{flex:0 58%;grid-template-rows:34px minmax(0,1fr);min-height:250px;max-height:68vh;padding:10px 16px 0;display:grid}.screen-area__toolbar{min-width:0;color:var(--muted);justify-content:space-between;align-items:center;gap:10px;padding:0 3px;font-size:10px;display:flex}.screen-area__toolbar>div{align-items:center;gap:6px;display:flex}.screen-area__toolbar strong{color:var(--text-soft);font-size:11px}.screen-area__toolbar>div>span{color:#fff;background:var(--brand);border-radius:9px;place-items:center;min-width:18px;height:18px;padding:0 5px;font-size:9px;display:grid}.screen-grid{grid-template-columns:repeat(auto-fit,minmax(min(430px,100%),1fr));gap:12px;min-height:0;display:grid;overflow-y:auto}.screen-grid--focused{display:block;overflow:hidden}.screen-tile{background:#111214;border-radius:8px;min-height:200px;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff0f}.screen-tile--focused{width:100%;height:100%;min-height:320px}.screen-tile video{object-fit:contain;background:#000;width:100%;height:100%;display:block}.screen-tile__label{color:#fff;background:#111214d6;border-radius:4px;align-items:center;gap:6px;padding:6px 9px;font-size:11px;display:flex;position:absolute;bottom:10px;left:10px}.screen-tile__actions{opacity:0;gap:5px;transition:opacity .16s;display:flex;position:absolute;top:10px;right:10px}.screen-tile:hover .screen-tile__actions,.screen-tile__actions:focus-within{opacity:1}.screen-tile__actions .ui-button{color:#fff;background:#111214d1}.screen-tile__silent{color:#fff;background:#da373ce6;border-radius:5px;align-items:center;gap:5px;padding:5px 8px;font-size:10px;display:flex;position:absolute;top:43px;left:10px}.screen-tile__quality{color:#fff;cursor:pointer;background:#111214e0;border:0;border-radius:5px;align-items:center;gap:6px;min-height:27px;padding:0 8px;font-size:9px;display:flex;position:absolute;top:10px;left:10px}.screen-tile__quality:before{content:"";background:var(--green);border-radius:50%;width:6px;height:6px}.screen-tile__quality--good:before{background:var(--yellow)}.screen-tile__quality--poor:before{background:var(--red)}.screen-tile__quality b{font-size:9px}.screen-tile__stats{z-index:3;color:#ffffffc7;background:#111214f5;border:1px solid #ffffff14;border-radius:7px;gap:7px;width:min(290px,100% - 20px);padding:11px;font-size:10px;display:grid;position:absolute;top:43px;left:10px;box-shadow:0 12px 32px #00000059}.screen-tile__silent+.screen-tile__quality+.screen-tile__stats{top:76px}.screen-tile__stats>strong{color:#fff;font-size:11px}.screen-tile__stats>span{justify-content:space-between;gap:12px;display:flex}.screen-tile__stats b{color:#ffffff7a;font-weight:500}.screen-tile__notice{z-index:4;color:#fff;text-align:center;background:#da373ceb;border-radius:6px;width:min(330px,100% - 30px);padding:10px;font-size:10px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.screen-tile__audio{color:#fff;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#111214e0;border-radius:6px;align-items:center;gap:7px;min-height:32px;padding:3px 8px 3px 3px;display:flex;position:absolute;bottom:10px;right:10px}.screen-tile__audio .ui-button{color:#fff;background:0 0;width:28px;height:28px}.screen-tile__audio input{width:92px;accent-color:var(--brand);cursor:pointer}.screen-tile__audio input:disabled{cursor:not-allowed;opacity:.45}.screen-tile__audio span{color:#ffffffc2;text-align:right;min-width:34px;font-size:10px}.message-flow{scrollbar-width:thin;scrollbar-color:var(--server-rail) transparent;flex:1;min-height:0;padding:0 0 20px;overflow:hidden auto}.channel-welcome{max-width:720px;margin:44px 16px 30px}.channel-welcome__icon{width:68px;height:68px;color:var(--text);background:var(--active);border-radius:50%;place-items:center;display:grid}.channel-welcome h1{color:var(--text);letter-spacing:-.02em;margin:16px 0 5px;font-size:clamp(24px,3vw,32px);line-height:1.15}.channel-welcome p{color:var(--muted);margin:0}.channel-welcome p strong{color:var(--muted-strong)}.empty-conversation{color:var(--brand);background:var(--brand-soft);border:1px solid #5865f22e;border-radius:8px;align-items:center;gap:12px;margin:0 16px 24px;padding:14px;display:flex}.empty-conversation>div{display:grid}.empty-conversation strong{color:var(--text-soft)}.empty-conversation span{color:var(--muted);font-size:12px}.message{min-height:48px;padding:4px 48px 4px 72px;display:flex;position:relative}.message:hover{background:#0202030f}.message>.avatar-wrap,.message__avatar{width:40px;height:40px;position:absolute;top:6px;left:16px}.message__avatar .avatar-wrap{width:40px;height:40px}.message__body{min-width:0}.message__meta{align-items:baseline;gap:8px;display:flex}.message__meta strong{color:var(--text);font-size:14px}.message-author{color:var(--text);cursor:pointer;background:0 0;border:0;padding:0;font-size:14px;font-weight:700}.message-author:hover:not(:disabled){text-decoration:underline}.message__meta time,.message__meta small{color:var(--muted);font-size:10px}.message-role{opacity:.8;border:1px solid;border-radius:4px;padding:1px 5px;font-size:9px;font-weight:700;line-height:13px}.message__body p{color:var(--text-soft);white-space:pre-wrap;word-break:break-word;margin:1px 0 0}.message--deleted .message__body p{color:var(--muted);font-style:italic}.message-actions{z-index:2;border:1px solid var(--stroke);background:var(--chat-elevated);box-shadow:var(--shadow);border-radius:5px;align-items:center;padding:2px;display:none;position:absolute;top:-13px;right:16px}.message:hover .message-actions{display:flex}.message-actions .ui-button{width:28px;height:28px}.reaction-picker{z-index:5;border:1px solid var(--stroke);background:var(--chat-elevated);box-shadow:var(--shadow);border-radius:7px;gap:2px;padding:5px;display:flex;position:absolute;top:35px;right:0}.reaction-picker button{cursor:pointer;background:0 0;border:0;border-radius:5px;place-items:center;width:32px;height:32px;padding:0;font-size:19px;display:grid}.reaction-picker button:hover{background:var(--hover);transform:scale(1.08)}.message-reply-preview{max-width:min(620px,100%);color:var(--muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;margin:0 0 3px;padding:0;font-size:11px;display:flex}.message-reply-preview strong{color:var(--muted-strong)}.message-reply-preview span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.message-files{gap:7px;max-width:520px;margin-top:8px;display:grid}.message-image{background:var(--server-rail);border-radius:8px;width:fit-content;max-width:100%;display:block;position:relative;overflow:hidden}.message-image img{object-fit:contain;max-width:min(480px,100%);max-height:360px;display:block}.message-image span{color:#fff;text-overflow:ellipsis;white-space:nowrap;background:#111214bf;border-radius:4px;padding:4px 6px;font-size:10px;position:absolute;bottom:7px;left:8px;right:8px;overflow:hidden}.message-file{border:1px solid var(--stroke);max-width:420px;color:var(--brand);background:var(--chat-elevated);border-radius:7px;align-items:center;gap:10px;padding:10px 12px;text-decoration:none;display:flex}.message-file>span{flex:1;min-width:0;display:grid}.message-file strong{text-overflow:ellipsis;white-space:nowrap;color:var(--text-soft);font-size:12px;overflow:hidden}.message-file small{color:var(--muted);font-size:10px}.message-audio{border:1px solid var(--stroke);background:var(--chat-elevated);border-radius:9px;align-items:center;gap:10px;width:min(430px,100%);padding:10px 12px;display:flex}.message-audio__icon{color:#fff;background:var(--brand);border-radius:50%;flex:none;place-items:center;width:34px;height:34px;display:grid}.message-audio>span{flex:1;grid-template-columns:1fr auto;align-items:baseline;gap:2px 8px;min-width:0;display:grid}.message-audio strong{color:var(--text-soft);font-size:11px}.message-audio small{color:var(--muted);font-size:9px}.message-audio audio{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;grid-column:1/-1;width:100%;height:32px}.message-reactions{flex-wrap:wrap;gap:4px;margin-top:6px;display:flex}.message-reactions button{min-width:38px;height:24px;color:var(--text-soft);background:var(--chat-elevated);cursor:pointer;border:1px solid #0000;border-radius:7px;padding:0 7px;font-size:13px}.message-reactions button.active{border-color:var(--brand);background:var(--brand-soft)}.message-reactions button span{color:var(--muted-strong);font-size:10px}.thread-link{min-width:min(400px,100%);color:var(--brand);background:var(--brand-soft);cursor:pointer;text-align:left;border:1px solid #5865f247;border-radius:7px;align-items:center;gap:9px;margin-top:8px;padding:8px 10px;display:flex}.thread-link>span{flex:1;min-width:0;display:grid}.thread-link strong{color:var(--text-soft);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.thread-link small{color:var(--muted);font-size:10px}.thread-link--empty{width:fit-content;min-width:0;color:var(--muted-strong);background:0 0;border-color:#0000;padding:5px 8px}.thread-link--empty:hover{color:var(--brand);background:var(--brand-soft);border-color:#5865f247}.thread-link--empty strong{color:inherit;font-weight:600}.system-message{color:var(--muted);text-align:center;align-items:center;gap:10px;margin:14px 16px;font-size:11px;display:flex}.system-message span{background:var(--active);flex:1;height:1px}.composer-wrap{background:var(--input);border-radius:8px;min-width:0;margin:0 16px 20px;overflow:hidden}.composer{background:var(--input);align-items:center;gap:5px;min-height:44px;margin:0;padding:0 8px;display:flex}.composer input{min-width:0;height:44px;color:var(--text-soft);background:0 0;border:0;outline:0;flex:1}.composer input::placeholder{color:var(--muted)}.composer input:disabled{cursor:not-allowed}.composer .ui-button--secondary{width:28px;height:28px;color:var(--chat);background:var(--muted-strong);border-radius:50%}.composer-context{min-height:34px;color:var(--muted);border-bottom:1px solid var(--stroke);align-items:center;gap:7px;padding:4px 8px 4px 12px;font-size:11px;display:flex}.composer-context span{flex:1}.composer-context strong{color:var(--text-soft)}.composer-context .ui-button{width:26px;height:26px}.composer-files{flex-wrap:wrap;gap:5px;padding:7px 9px 0;display:flex}.composer-files>span{max-width:240px;height:27px;color:var(--text-soft);background:var(--chat);white-space:nowrap;text-overflow:ellipsis;border-radius:5px;align-items:center;gap:5px;padding:0 5px 0 8px;font-size:10px;display:flex;overflow:hidden}.composer-files button{width:20px;height:20px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.voice-message-recording,.voice-message-draft{border-bottom:1px solid var(--stroke);min-height:48px;color:var(--muted);background:var(--chat-elevated);align-items:center;gap:9px;padding:7px 9px 7px 12px;display:flex}.voice-message-recording strong,.voice-message-draft strong{color:var(--text-soft);font-size:11px}.voice-message-recording time{min-width:38px;color:var(--text-soft);font-variant-numeric:tabular-nums;font-size:12px}.voice-message-recording small{flex:1;font-size:9px}.recording-pulse{background:var(--red);border-radius:50%;flex:none;width:9px;height:9px;animation:1.25s ease-in-out infinite recording-pulse}.voice-message-draft>div{min-width:130px;color:var(--brand);align-items:center;gap:8px;display:flex}.voice-message-draft>div>span{display:grid}.voice-message-draft small{color:var(--muted);font-size:9px}.voice-message-draft audio{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;flex:1;min-width:160px;height:32px}.mention-picker{border-bottom:1px solid var(--stroke);background:var(--chat-elevated);gap:2px;max-height:260px;padding:7px;display:grid;overflow-y:auto;box-shadow:0 -12px 28px #00000029}.mention-picker>strong{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;padding:4px 7px 6px;font-size:10px}.mention-picker>button{width:100%;min-height:45px;color:var(--text-soft);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:5px;align-items:center;gap:9px;padding:5px 7px;display:flex}.mention-picker>button:hover,.mention-picker>button:focus-visible{background:var(--hover);outline:none}.mention-picker .avatar-wrap{flex:none;width:32px;height:32px}.mention-picker>button>span{min-width:0;display:grid}.mention-picker b{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.mention-picker small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.mention-help{min-height:24px;color:var(--muted);padding:0 12px 7px 41px;font-size:10px}.mention-help strong{color:var(--muted-strong)}.visually-hidden{clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.thread-notification-select{max-width:145px;height:28px;color:var(--text-soft);background:var(--server-rail);border:0;border-radius:4px;padding:0 7px;font-size:10px}.thread-panel{border-left:1px solid var(--stroke);background:var(--chat);grid-area:1/2/4;grid-template-rows:auto auto minmax(0,1fr) auto;min-width:0;min-height:0;display:grid;box-shadow:-8px 0 24px #00000014}.thread-panel>header{border-bottom:1px solid var(--stroke);justify-content:space-between;align-items:center;gap:8px;min-height:48px;padding:7px 8px 7px 12px;display:flex}.thread-panel>header>div{align-items:center;gap:9px;min-width:0;display:flex}.thread-panel>header>div>span{min-width:0;display:grid}.thread-panel>header strong,.thread-panel>header small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.thread-panel>header strong{color:var(--text-soft);font-size:13px}.thread-panel>header small{color:var(--muted);font-size:9px}.thread-panel__notifications{border-bottom:1px solid var(--stroke);min-height:34px;color:var(--muted);background:var(--sidebar);align-items:center;gap:7px;padding:5px 10px;display:flex}.thread-panel__notifications select{min-width:0;height:25px;color:var(--muted-strong);background:0 0;border:0;flex:1;font-size:10px}.thread-panel__messages{min-height:0;padding:14px 0;overflow-y:auto}.thread-panel__messages>p{color:var(--muted);margin:12px;font-size:11px}.thread-panel .message{padding-left:58px;padding-right:12px}.thread-panel .message__avatar{width:34px;height:34px;left:12px}.thread-panel .message__avatar .avatar-wrap{width:34px;height:34px}.thread-panel .message__meta{flex-wrap:wrap;gap:4px 6px}.thread-panel .message-role{display:none}.thread-empty{min-height:180px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:24px;display:flex}.thread-empty strong{color:var(--text-soft);margin-top:8px;font-size:13px}.thread-empty span{margin-top:3px;font-size:10px}.thread-composer{background:var(--input);border-radius:7px;align-items:center;min-height:54px;margin:0 10px 10px;padding:0 6px 0 11px;display:flex}.thread-composer input{min-width:0;height:42px;color:var(--text-soft);background:0 0;border:0;outline:0;flex:1}.search-panel{z-index:20;background:var(--members);grid-template-rows:auto auto minmax(0,1fr);width:min(420px,100%);display:grid;position:absolute;top:0;bottom:0;right:0;box-shadow:-10px 0 30px #00000040}.search-panel>header{border-bottom:1px solid var(--stroke);justify-content:space-between;align-items:center;height:48px;padding:0 10px 0 14px;display:flex}.search-panel>form{gap:7px;padding:10px;display:flex}.search-panel>form .ui-button{flex:none}.search-results{min-height:0;padding:6px 0 20px;overflow-y:auto}.search-results>p{color:var(--muted);padding:15px}.message--compact{padding-right:14px}.empty-conversation--warning{color:var(--yellow);background:#f0b2321a;border-color:#f0b23240}.quick-reactions{gap:6px;padding:8px;font-size:20px;display:flex}.settings-screen{background:var(--chat);grid-template-columns:290px minmax(0,1fr);width:100vw;height:100dvh;display:grid;overflow:hidden}.settings-nav{background:var(--sidebar);padding:28px 16px;overflow-y:auto}.settings-back{color:var(--muted-strong);align-items:center;gap:7px;font-size:12px;text-decoration:none;display:inline-flex}.settings-back:hover{color:var(--text)}.settings-server-mark{color:#fff;background:var(--brand);border-radius:17px;place-items:center;width:54px;height:54px;margin-top:30px;font-size:24px;font-weight:800;display:grid}.settings-nav h1{margin:13px 0 3px;font-size:20px}.settings-nav>p{color:var(--muted);margin:0 0 24px;font-size:12px}.settings-nav nav{gap:3px;display:grid}.settings-nav nav button{width:100%;height:40px;color:var(--muted-strong);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:5px;align-items:center;gap:9px;padding:0 11px;display:flex}.settings-nav nav button:hover{color:var(--text);background:var(--hover)}.settings-nav nav button.active{color:#fff;background:var(--brand)}.settings-content{min-width:0;padding:34px clamp(20px,4vw,60px) 60px;overflow-y:auto}.settings-content>header{justify-content:space-between;align-items:center;gap:20px;max-width:1100px;margin:0 auto 24px;display:flex}.settings-content>header span{color:var(--brand);text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:700}.settings-content>header h2{margin:3px 0 0;font-size:25px}.settings-status{max-width:1100px;color:var(--yellow);background:#f0b2321a;border-radius:6px;margin:0 auto 16px;padding:10px 12px}.settings-grid{grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);align-items:start;gap:18px;max-width:1100px;margin:0 auto;display:grid}.settings-card{border:1px solid var(--stroke);background:var(--sidebar);border-radius:10px;padding:18px;box-shadow:0 8px 20px #00000014}.settings-card h3{margin:0 0 16px;font-size:15px}.settings-card>label{color:var(--muted-strong);gap:6px;margin:0 0 13px;font-size:11px;font-weight:700;display:grid}.color-input{border:1px solid var(--stroke);background:var(--server-rail);cursor:pointer;border-radius:5px;width:100%;height:40px;padding:4px}.role-list,.channel-admin-list{gap:6px;display:grid}.channel-admin-item{background:var(--chat-elevated);border-radius:7px;overflow:hidden}.channel-admin-item--archived{opacity:.62}.settings-select{border:1px solid var(--stroke);width:100%;height:40px;color:var(--text-soft);background:var(--server-rail);border-radius:5px;padding:0 10px}.role-row,.channel-admin-row{background:var(--chat-elevated);border-radius:6px;align-items:center;gap:10px;min-height:52px;padding:8px 10px;display:flex}.role-dot{border-radius:50%;flex:none;width:12px;height:12px}.role-row>div,.channel-admin-row>div{flex:1;min-width:0;display:grid}.role-row strong,.channel-admin-row strong{font-size:12px}.role-row small,.channel-admin-row small{color:var(--muted);font-size:10px}.permission-grid{grid-template-columns:1fr 1fr;gap:7px 12px;margin:4px 0 16px;display:grid}.permission-grid label,.member-role-picker label,.checkbox-line{color:var(--muted-strong);align-items:center;font-size:10px;gap:6px!important;font-weight:500!important;display:flex!important}.permission-grid input,.member-role-picker input,.checkbox-line input{accent-color:var(--brand)}.channel-role-access{border-top:1px solid var(--stroke);flex-wrap:wrap;align-items:center;gap:7px 12px;padding:10px;display:flex}.channel-role-access>span{width:100%;color:var(--muted);text-transform:uppercase;font-size:10px}.channel-role-access label{align-items:center;gap:5px;font-size:10px;display:flex}.channel-role-access input{accent-color:var(--brand)}.channel-role-access .ui-button{margin-left:auto}.member-admin-list{gap:9px;max-width:1100px;margin:0 auto;display:grid}.member-admin-card{border:1px solid var(--stroke);background:var(--sidebar);border-radius:9px;grid-template-columns:auto minmax(160px,.7fr) minmax(220px,1.2fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.member-admin-card>.avatar-wrap{width:42px;height:42px}.member-admin-identity{min-width:0;display:grid}.member-admin-identity strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.member-admin-identity>span{color:var(--muted);font-size:10px}.member-admin-identity>div{flex-wrap:wrap;gap:4px;margin-top:4px;display:flex}.member-admin-identity b{border:1px solid;border-radius:4px;padding:1px 5px;font-size:8px}.member-role-picker{flex-wrap:wrap;gap:6px 10px;display:flex}.member-admin-actions{flex-wrap:wrap;justify-content:flex-end;gap:5px;display:flex}.audit-list{max-width:1100px;margin:0 auto}.audit-row{border-top:1px solid var(--stroke);align-items:flex-start;gap:9px;padding:10px 4px;display:flex}.audit-row>svg{color:var(--muted);flex:none;margin-top:2px}.audit-row>div{display:block}.audit-row strong{color:var(--text-soft)}.audit-row span{color:var(--muted-strong)}.audit-row small{color:var(--muted);font-size:10px;display:block}@media (max-width:820px){.settings-screen{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr}.settings-nav{padding:12px;overflow:visible}.settings-server-mark,.settings-nav>h1,.settings-nav>p{display:none}.settings-nav nav{grid-template-columns:repeat(4,1fr);margin-top:10px;overflow-x:auto}.settings-nav nav button{justify-content:center;font-size:0}.settings-content{padding:20px 12px 40px}.settings-grid{grid-template-columns:1fr}.member-admin-card{grid-template-columns:auto 1fr}.member-role-picker,.member-admin-actions{grid-column:1/-1}.member-admin-actions{justify-content:flex-start}}.members-sidebar{background:var(--members);scrollbar-width:thin;scrollbar-color:var(--server-rail) transparent;flex-direction:column;min-width:0;padding:22px 8px 16px;display:flex;overflow-y:auto}.members-mobile-head{display:none}.members-group h2{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;margin:8px 8px 5px;font-size:10px;line-height:16px}.members-group+.members-group{margin-top:22px}.member-row{min-width:0;height:44px;color:var(--muted);border-radius:4px;align-items:center;gap:10px;padding:4px 8px;display:flex}.member-profile-trigger{text-align:left;flex:1;align-items:center;gap:9px;min-width:0;display:flex}.member-profile-trigger>span:last-child{min-width:0;line-height:1.18;display:grid}.member-profile-trigger small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.member-row:hover{color:var(--text-soft);background:var(--hover)}.member-row>div:not(.avatar-wrap){flex:1;min-width:0;line-height:1.18;display:grid}.member-row strong{color:inherit;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.member-row span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.member-volume{grid-template-rows:24px 10px;grid-template-columns:28px minmax(0,1fr);align-items:center;column-gap:4px;width:108px;flex:none!important;display:grid!important}.member-volume .ui-button{grid-row:1/3;width:28px;height:28px}.member-volume input{width:100%;min-width:0;accent-color:var(--brand);cursor:pointer}.member-volume span{color:var(--muted);text-align:right;grid-column:2;font-size:9px;line-height:10px}.member-row--speaking .avatar-root{box-shadow:0 0 0 2px var(--green)}.member-row--speaking strong{color:var(--green)}.members-group--offline{opacity:.65}.members-empty{color:var(--muted);margin:10px 8px;font-size:12px}.members-logout{color:var(--muted);justify-content:flex-start;margin:auto 8px 0}.members-auth{gap:8px;margin:auto 8px 0;display:grid}.mobile-scrim{display:none}.dialog-backdrop{z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#040507b8;place-items:center;padding:16px;animation:.14s both fade-in;display:grid;position:fixed;inset:0}.dialog-card{width:min(430px,100%);color:var(--text);background:var(--chat);border-radius:8px;gap:15px;padding:28px;animation:.18s both dialog-in;display:grid;position:relative;box-shadow:0 20px 64px #00000080}.dialog-card h2{text-align:center;margin:0;font-size:22px}.dialog-card>p{color:var(--muted);text-align:center;margin:-8px 0 2px;font-size:13px}.dialog-close{position:absolute;top:8px;right:8px}.dialog-icon{color:#fff;background:var(--brand);border-radius:18px;place-items:center;width:52px;height:52px;margin:0 auto;display:grid;transform:rotate(-4deg)}.field-label{color:var(--muted-strong);letter-spacing:.03em;text-transform:uppercase;gap:7px;font-size:11px;font-weight:700;display:grid}.field-label>span{align-items:center;gap:6px;display:flex}.field-label select{border:1px solid var(--stroke);width:100%;height:40px;color:var(--text-soft);background:var(--input);font:inherit;text-transform:none;cursor:pointer;border-radius:4px;outline:none;padding:0 34px 0 11px;font-size:12px}.field-label select:focus{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}.field-label select:disabled{opacity:.55;cursor:not-allowed}.form-error{color:#fa777c;font-size:12px}.toast{z-index:1200;color:#fff;max-width:min(420px,100vw - 32px);box-shadow:var(--shadow);background:#111214;border-radius:6px;padding:11px 15px;animation:.2s both toast-in;position:fixed;bottom:28px;left:50%;transform:translate(-50%)}.toast--danger{background:#d83c3e}.livekit-audio{display:none}.voice-settings-card{text-align:left;gap:20px;width:min(700px,100%);max-height:calc(100dvh - 32px);overflow-y:auto}.voice-settings-head{align-items:center;gap:14px;padding-right:28px;display:flex}.voice-settings-head .dialog-icon{flex:none;margin:0}.voice-settings-head h2{text-align:left;margin:0 0 4px}.voice-settings-head p{color:var(--muted);margin:0;font-size:12px}.voice-device-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.mic-test-panel{border:1px solid var(--active);background:var(--sidebar-deep);border-radius:8px;gap:13px;padding:16px;display:grid}.mic-test-panel__top{justify-content:space-between;align-items:center;gap:12px;display:flex}.mic-test-panel__top>div{gap:2px;display:grid}.mic-test-panel__top strong{color:var(--text-soft);font-size:13px}.mic-test-panel__top span{color:var(--muted);font-size:11px}.mic-level{background:var(--input);height:12px;box-shadow:inset 0 0 0 1px var(--stroke);border-radius:6px;padding:2px;overflow:hidden}.mic-level span{background:linear-gradient(90deg, var(--green), #f0b232 76%, #f23f42);border-radius:4px;min-width:0;height:100%;transition:width 80ms linear;display:block}.mic-test-actions{flex-wrap:wrap;gap:8px;display:flex}.mic-monitor-warning{color:#f0b232;margin:-4px 0 0;font-size:11px}.voice-test-audio{display:none}.notification-settings-panel{gap:10px;display:grid}.notification-settings-panel>header>div{color:var(--brand);align-items:center;gap:8px;display:flex}.notification-settings-panel>header span{display:grid}.notification-settings-panel>header strong{color:var(--text-soft);font-size:13px}.notification-settings-panel>header small{color:var(--muted);font-size:9px;font-weight:400}.notification-sound-row{border:1px solid var(--active);background:var(--sidebar-deep);border-radius:8px;gap:11px;padding:13px;display:grid}.notification-toggle{cursor:pointer;align-items:center;gap:9px;display:flex}.notification-toggle input{accent-color:var(--brand)}.notification-toggle>span{gap:2px;display:grid}.notification-toggle strong{color:var(--text-soft);font-size:11px}.notification-toggle small{color:var(--muted);font-size:9px}.notification-volume{color:var(--muted);align-items:center;gap:8px;display:flex}.notification-volume input{min-width:100px;accent-color:var(--brand);flex:1}.notification-volume b{min-width:34px;color:var(--muted-strong);text-align:right;font-size:9px}.notification-volume .ui-button{width:28px;height:28px}.join-sound-options{grid-template-columns:1fr 1fr;gap:7px;display:grid}.join-sound-options label{border:1px solid var(--stroke);min-width:0;color:var(--muted);background:var(--chat);cursor:pointer;border-radius:6px;align-items:center;gap:8px;padding:9px;display:flex}.join-sound-options label.active{border-color:var(--brand);color:var(--brand);background:var(--brand-soft)}.join-sound-options label:has(input:disabled){opacity:.55;cursor:not-allowed}.join-sound-options input{opacity:0;pointer-events:none;position:absolute}.join-sound-options span{min-width:0;display:grid}.join-sound-options strong{color:var(--text-soft);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.join-sound-options small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.custom-sound-actions{flex-wrap:wrap;gap:6px;display:flex}.sound-recording-note{color:var(--red);align-items:center;gap:6px;margin:0;font-size:9px;display:flex}.sound-recording-note span{background:currentColor;border-radius:50%;width:7px;height:7px;animation:1.25s ease-in-out infinite recording-pulse}.screen-share-dialog{gap:17px;width:min(720px,100%);max-height:calc(100dvh - 32px);overflow-y:auto}.screen-setting-section{gap:8px;display:grid}.screen-setting-section>span{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:10px;font-weight:700}.screen-quality-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.screen-quality-options button{border:1px solid var(--stroke);min-height:88px;color:var(--muted-strong);background:var(--sidebar);cursor:pointer;text-align:left;border-radius:7px;align-content:center;gap:5px;padding:12px;display:grid}.screen-quality-options button:hover{background:var(--hover)}.screen-quality-options button.active{border-color:var(--brand);color:var(--text-soft);background:var(--brand-soft);box-shadow:0 0 0 1px var(--brand)}.screen-quality-options strong{font-size:15px}.screen-quality-options small{color:var(--muted);font-size:9px;line-height:1.4}.screen-fps-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.screen-fps-options button{border:1px solid var(--stroke);height:52px;color:var(--muted);background:var(--sidebar);cursor:pointer;border-radius:7px;justify-content:center;align-items:baseline;gap:4px;display:flex}.screen-fps-options button:hover{background:var(--hover)}.screen-fps-options button.active{border-color:var(--brand);color:var(--text-soft);background:var(--brand-soft);box-shadow:0 0 0 1px var(--brand)}.screen-fps-options strong{font-size:18px}.screen-fps-options small{font-size:9px}.screen-bandwidth,.screen-audio-note{border-radius:7px;align-items:flex-start;gap:10px;padding:12px;display:flex}.screen-bandwidth{color:var(--brand);background:var(--brand-soft)}.screen-bandwidth>div{gap:4px;display:grid}.screen-bandwidth strong{color:var(--text-soft);font-size:11px}.screen-bandwidth span,.screen-audio-note span{color:var(--muted-strong);font-size:10px;line-height:1.45}.screen-audio-note{color:var(--green);background:#23a5591a}.screen-share-actions{justify-content:flex-end;gap:8px;display:flex}.public-profile-dialog{gap:13px;width:min(520px,100%);padding:0 24px 24px;overflow:hidden}.public-profile-banner{background:linear-gradient(135deg, var(--brand), #8b5cf6 55%, #eb459e);height:104px;margin:0 -24px}.public-profile-head{align-items:flex-end;gap:14px;min-height:70px;margin-top:-52px;display:flex}.public-profile-head .avatar-wrap{background:var(--chat);border-radius:50%;width:92px;height:92px;padding:5px}.public-profile-head .avatar-status{border-color:var(--chat);bottom:6px;right:6px;transform:scale(1.25)}.public-profile-head>div{min-width:0;padding-bottom:5px;display:grid}.public-profile-head h2{text-align:left;text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.public-profile-head span{color:var(--muted)}.public-profile-roles{flex-wrap:wrap;gap:5px;display:flex}.public-profile-roles b{border:1px solid;border-radius:999px;padding:2px 7px;font-size:9px}.profile-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.profile-stat-grid>div{border:1px solid var(--stroke);background:var(--sidebar);border-radius:7px;min-width:0;padding:11px;display:grid}.profile-stat-grid strong{color:var(--text-soft);font-size:16px}.profile-stat-grid span{color:var(--muted);text-transform:uppercase;font-size:9px}.public-profile-meta{color:var(--muted);background:var(--sidebar);border-radius:7px;gap:5px;padding:11px;font-size:10px;display:grid}.public-profile-meta b{color:var(--muted-strong)}.profile-modal-loading{min-height:300px;color:var(--muted);place-items:center;display:grid}.permissions-dialog{width:min(620px,100%);max-height:min(780px,100dvh - 32px);overflow-y:auto}.permission-roles{border:1px solid var(--stroke);background:var(--sidebar);border-radius:7px;gap:8px;padding:12px;display:grid}.permission-roles>span{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-size:10px;font-weight:700}.permission-roles>div{flex-wrap:wrap;gap:6px;display:flex}.permission-roles b{border:1px solid var(--stroke);border-radius:999px;padding:3px 7px;font-size:10px}.permissions-list{grid-template-columns:1fr 1fr;gap:5px;display:grid}.permission-row{border:1px solid var(--stroke);background:var(--sidebar);border-radius:6px;grid-template-rows:auto auto;grid-template-columns:22px minmax(0,1fr);column-gap:7px;min-width:0;min-height:43px;padding:7px 9px;display:grid}.permission-row>span{border-radius:50%;grid-row:1/3;place-items:center;width:21px;height:21px;font-size:12px;font-weight:800;display:grid}.permission-row strong{color:var(--text-soft);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.permission-row small{color:var(--muted);font-size:9px}.permission-row--allowed>span{color:var(--green);background:#23a5591f}.permission-row--denied{opacity:.68}.permission-row--denied>span{color:var(--muted);background:var(--active)}.permissions-note{color:var(--text-soft);background:var(--brand-soft);border-radius:7px;gap:4px;padding:12px;display:grid}.permissions-note strong{color:var(--brand);font-size:12px}.permissions-note span{color:var(--muted-strong);font-size:11px;line-height:1.45}.music-dialog-backdrop{z-index:100}.music-dialog{grid-template-rows:auto auto auto auto minmax(0,1fr);gap:12px;width:min(940px,100%);max-height:min(850px,100dvh - 30px);padding:22px;display:grid;overflow:hidden}.music-dialog__header{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;min-width:0;display:grid}.music-dialog__header>div:nth-child(2){min-width:0}.music-dialog__header h2{color:var(--text);text-align:left;margin:0;font-size:18px}.music-dialog__header p{color:var(--muted);margin:2px 0 0;font-size:11px}.music-dialog__header>.ui-button{align-self:start}.music-notice{color:var(--muted-strong);background:var(--brand-soft);border-radius:6px;padding:9px 11px;font-size:11px}.music-notice--warning{color:#f4cf75;background:#f0b2321a}.music-notice--error{color:#ffb8ba;background:#f23f431f}.music-now-playing{border:1px solid var(--stroke);background:linear-gradient(135deg, var(--sidebar-deep), var(--sidebar));border-radius:9px;grid-template-columns:88px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:116px;padding:13px;display:grid}.music-cover{width:44px;height:44px;color:var(--brand);background:var(--active);border-radius:6px;flex:none;place-items:center;display:grid;overflow:hidden}.music-cover--large{border-radius:8px;width:88px;height:88px;box-shadow:0 8px 24px #00000038}.music-cover img{object-fit:cover;width:100%;height:100%;display:block}.music-now-playing__info{gap:2px;min-width:0;display:grid}.music-now-playing__info>span{color:var(--brand);text-transform:uppercase;letter-spacing:.06em;font-size:9px;font-weight:800}.music-now-playing__info>strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:16px;overflow:hidden}.music-now-playing__info>small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.music-progress{background:var(--active);border-radius:999px;height:4px;margin-top:8px;overflow:hidden}.music-progress i{border-radius:inherit;background:var(--brand);height:100%;transition:width 1s linear;display:block}.music-progress-time{color:var(--muted);justify-content:space-between;font-size:9px;display:flex}.music-controls{gap:5px;display:flex}.music-empty-now{color:var(--muted);grid-column:1/-1;justify-content:center;align-items:center;gap:11px;display:flex}.music-empty-now>div{display:grid}.music-empty-now strong{color:var(--text-soft)}.music-empty-now span{font-size:11px}.music-volume-hint{min-height:34px;color:var(--muted);background:var(--sidebar);border-radius:6px;align-items:center;gap:7px;padding:3px 4px 3px 10px;font-size:10px;display:flex}.music-volume-hint span{flex:1}.music-search{grid-template-columns:minmax(0,1fr) auto;gap:7px;display:grid}.music-source-tools{grid-template-columns:minmax(0,1fr) auto;gap:7px;min-width:0;display:grid}.music-upload-input{display:none}.music-content-grid{grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:12px;min-height:0;display:grid}.music-results,.music-queue{border:1px solid var(--stroke);background:var(--sidebar-deep);border-radius:8px;grid-template-rows:auto minmax(0,1fr);gap:8px;min-height:0;padding:11px;display:grid}.music-results h3,.music-queue h3{color:var(--muted-strong);text-transform:uppercase;letter-spacing:.04em;align-items:center;gap:6px;margin:0;font-size:10px;display:flex}.music-queue h3 span{color:#fff;background:var(--brand);border-radius:9px;place-items:center;min-width:18px;height:18px;padding:0 5px;font-size:9px;display:grid}.music-track-list{scrollbar-width:thin;align-content:start;gap:5px;min-height:0;display:grid;overflow-y:auto}.music-track{background:var(--sidebar);border-radius:6px;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:8px;min-width:0;min-height:56px;padding:6px;display:grid}.music-track:hover{background:var(--hover)}.music-track>div:nth-child(2){min-width:0;display:grid}.music-track strong{color:var(--text-soft);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.music-track span,.music-track small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.music-track>a{color:var(--muted)}.music-track>a:hover{color:var(--text-soft)}.music-track--queue{grid-template-columns:25px minmax(0,1fr)}.music-track--queue>b{width:25px;color:var(--muted);text-align:center;font-size:10px}.music-list-empty{min-height:90px;color:var(--muted);text-align:center;place-items:center;padding:18px;font-size:10px;display:grid}.music-spinner{animation:.8s linear infinite music-spin}@keyframes music-spin{to{transform:rotate(360deg)}}@keyframes fade-in{0%{opacity:0}}@keyframes dialog-in{0%{opacity:0;transform:translateY(8px)scale(.98)}}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}}@keyframes recording-pulse{50%{opacity:.35;transform:scale(.78)}}@keyframes connection-pulse{0%{opacity:.45}to{opacity:1}}@media (max-width:1180px){.discord-shell{grid-template-columns:72px 260px minmax(0,1fr)}.members-sidebar{z-index:40;width:260px;transition:transform .18s;position:fixed;top:48px;bottom:0;right:0;transform:translate(100%);box-shadow:-12px 0 32px #0003}.members-sidebar--open{transform:translate(0)}.members-mobile-head{justify-content:space-between;align-items:center;height:38px;padding:0 6px 8px;display:flex}}@media (max-width:980px){.chat-stage--thread{grid-template-columns:minmax(0,1fr)}.thread-panel{z-index:30;width:min(410px,100%);position:absolute;inset:0 0 0 auto;box-shadow:-16px 0 36px #00000038}}@media (max-width:760px){.discord-shell{grid-template-columns:minmax(0,1fr)}.server-rail{display:none}.channel-sidebar{z-index:60;width:min(290px,86vw);transition:transform .2s;position:fixed;top:0;bottom:0;left:0;transform:translate(-102%);box-shadow:16px 0 40px #00000059}.channel-sidebar--open{transform:translate(0)}.mobile-scrim{z-index:50;background:#0000008c;border:0;display:block;position:fixed;inset:0}.mobile-only{display:inline-flex}.channel-header{padding:0 7px}.channel-header__divider,.channel-header p,.search-box,.thread-notification-select{display:none}.permissions-list{grid-template-columns:1fr}.permissions-dialog{padding:24px 18px}.mention-help{padding-left:12px}.channel-header__actions{margin-left:auto}.channel-header__hash{width:18px}.members-sidebar{z-index:70;width:min(290px,88vw);top:0}.channel-welcome{margin-top:28px}.channel-welcome__icon{width:54px;height:54px}.channel-welcome h1{font-size:23px}.message{padding-left:62px;padding-right:16px}.message>.avatar-wrap,.message__avatar{width:38px;height:38px;left:12px}.message__avatar .avatar-wrap{width:38px;height:38px}.composer-wrap{margin:0 8px 12px}.voice-message-recording{flex-wrap:wrap}.voice-message-recording small{display:none}.voice-message-draft{flex-wrap:wrap}.voice-message-draft>div{flex:1}.voice-message-draft audio{order:3;min-width:100%}.screen-area{min-height:210px;padding:6px 8px 0}.screen-area__toolbar>span{display:none}.screen-tile__label{bottom:50px}.screen-tile__audio{left:10px;right:10px}.screen-tile__audio input{flex:1;min-width:0}.voice-settings-card{padding:22px 16px}.voice-settings-head{align-items:flex-start}.voice-settings-head .dialog-icon{border-radius:14px;width:42px;height:42px}.voice-device-grid,.join-sound-options{grid-template-columns:1fr}.mic-test-actions .ui-button{flex:1}.screen-share-dialog{padding:22px 16px}.screen-quality-options{grid-template-columns:1fr}.screen-quality-options button{min-height:62px}.screen-share-actions{grid-template-columns:1fr;display:grid}.music-dialog-backdrop{align-items:stretch;padding:0}.music-dialog{border-radius:0;width:100%;min-height:100dvh;max-height:100dvh;padding:14px}.music-now-playing{grid-template-columns:62px minmax(0,1fr)}.music-cover--large{width:62px;height:62px}.music-controls{grid-column:1/-1;justify-content:center}.music-content-grid{grid-template-columns:1fr;overflow-y:auto}.music-source-tools{grid-template-columns:1fr}.music-results,.music-queue{min-height:230px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.auth-screen{background:radial-gradient(circle at 20% 15%,#5865f252,#0000 28%),radial-gradient(circle at 82% 85%,#eb459e2e,#0000 28%),#1e1f22;place-items:center;width:100vw;min-height:100dvh;padding:32px;display:grid;position:relative;overflow:hidden}.auth-screen:before{content:"";opacity:.22;transform-origin:50% 72%;background-image:linear-gradient(#ffffff09 1px,#0000 1px),linear-gradient(90deg,#ffffff09 1px,#0000 1px);background-size:46px 46px;position:absolute;inset:0;transform:perspective(700px)rotateX(60deg)scale(1.8)}.auth-orb{filter:blur(90px);opacity:.18;pointer-events:none;border-radius:50%;width:360px;height:360px;position:absolute}.auth-orb--one{background:#5865f2;top:-100px;left:-120px}.auth-orb--two{background:#eb459e;bottom:-100px;right:-100px}.auth-brand{z-index:2;color:#fff;align-items:center;gap:10px;text-decoration:none;display:flex;position:fixed;top:24px;left:28px}.auth-brand span,.settings-brand span{color:#fff;background:var(--brand);border-radius:12px;place-items:center;width:38px;height:38px;font-size:18px;font-weight:800;display:grid}.auth-brand strong,.settings-brand strong{font-size:17px}.auth-dialog{z-index:1;background:#313338;border:1px solid #ffffff12;border-radius:14px;grid-template-columns:.9fr 1.1fr;width:min(880px,100%);min-height:520px;display:grid;position:relative;overflow:hidden;box-shadow:0 30px 90px #0000007a}.auth-dialog__visual{background:linear-gradient(155deg,#5865f2 0%,#4851c6 54%,#343a9d 100%);align-items:flex-end;padding:34px;display:flex;position:relative;overflow:hidden}.auth-dialog__visual:before{content:"";border:1px solid #ffffff29;border-radius:50%;width:340px;height:340px;position:absolute;top:-120px;right:-120px;box-shadow:0 0 0 44px #ffffff09,0 0 0 88px #ffffff06}.auth-visual-card{z-index:1;position:relative}.auth-visual-icon{color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff26;border-radius:22px;place-items:center;width:66px;height:66px;margin-bottom:20px;display:grid;box-shadow:inset 0 0 0 1px #ffffff1f}.auth-visual-card h2{color:#fff;letter-spacing:-.035em;margin:0;font-size:34px;line-height:1.05}.auth-visual-card p{color:#ffffffb8;margin:14px 0 24px}.auth-visual-members{align-items:center;display:flex}.auth-visual-members span,.auth-visual-members b{color:#fff;background:#202225;border:3px solid #4c56d4;border-radius:50%;place-items:center;width:35px;height:35px;margin-left:-7px;font-size:9px;display:grid}.auth-visual-members span:first-child{background:#eb459e;margin-left:0}.auth-visual-members span:nth-child(2){background:#23a55a}.auth-visual-members span:nth-child(3){background:#f0b232}.auth-visual-members b{background:#ffffff29}.auth-dialog__form{flex-direction:column;justify-content:center;padding:34px 42px;display:flex}.auth-back{width:fit-content;color:var(--muted);align-items:center;gap:5px;margin-bottom:24px;font-size:12px;text-decoration:none;display:inline-flex}.auth-back:hover{color:var(--text-soft)}.auth-dialog__form header{text-align:center;margin-bottom:22px}.auth-kicker{color:#aeb4ff;text-transform:uppercase;letter-spacing:.1em;justify-content:center;align-items:center;gap:6px;margin-bottom:8px;font-size:10px;font-weight:700;display:flex}.auth-dialog__form h1{color:var(--text);letter-spacing:-.02em;margin:0 0 7px;font-size:25px}.auth-dialog__form header p{color:var(--muted);margin:0}.auth-form-next{gap:17px;display:grid}.field-label .optional{color:var(--muted);text-transform:none;font-weight:500}.password-field{position:relative}.password-field button{width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid;position:absolute;top:3px;right:5px}.auth-error{color:#ffb8ba;background:#f23f431f;border-radius:4px;padding:9px 10px;font-size:12px}.auth-dialog__form footer{color:var(--muted);margin-top:18px;font-size:12px}.auth-dialog__form footer a{color:#00a8fc;text-decoration:none}.profile-screen{background:var(--chat);grid-template-columns:minmax(220px,34%) minmax(0,1fr);width:100vw;min-height:100dvh;display:grid;overflow:auto}.settings-sidebar{background:var(--sidebar);flex-direction:column;align-items:flex-end;min-height:100dvh;padding:36px 22px 30px max(22px,50vw - 550px);display:flex}.settings-brand{width:190px;color:var(--text);align-items:center;gap:10px;margin-bottom:52px;text-decoration:none;display:flex}.settings-sidebar nav{gap:2px;width:190px;display:grid}.settings-sidebar nav h2{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin:0 8px 6px;font-size:10px}.settings-sidebar nav a{height:34px;color:var(--muted);cursor:pointer;border-radius:4px;align-items:center;gap:9px;padding:0 9px;text-decoration:none;display:flex}.settings-sidebar nav a:hover,.settings-sidebar nav a.active{color:var(--text-soft);background:var(--hover)}.settings-sidebar>.ui-button{justify-content:flex-start;width:190px;margin-top:auto}.settings-content{background:var(--chat);min-height:100dvh;padding:54px 70px 80px;position:relative}.settings-inner{width:min(720px,100%)}.settings-inner>h1{margin:0 0 22px;font-size:20px}.settings-close{color:var(--muted);justify-items:center;gap:5px;text-decoration:none;display:grid;position:fixed;top:36px;right:max(28px,50vw - 600px)}.settings-close span{border:2px solid var(--muted);border-radius:50%;place-items:center;width:36px;height:36px;font-size:25px;line-height:1;display:grid}.settings-close small{font-size:8px;font-weight:700}.account-card{background:var(--sidebar-deep);border-radius:8px;margin-bottom:32px;position:relative;overflow:hidden}.account-banner{background:linear-gradient(120deg,#5865f2 0%,#7289da 52%,#8b5cf6 100%);height:100px}.account-card__identity{align-items:center;gap:12px;min-height:88px;padding:52px 20px 14px;display:flex;position:relative}.account-card__identity>.avatar-wrap{background:var(--sidebar-deep);border-radius:50%;width:86px;height:86px;padding:6px;position:absolute;top:-42px;left:18px}.account-card__identity>.avatar-wrap .avatar-status{border-color:var(--sidebar-deep);bottom:6px;right:6px;transform:scale(1.3)}.account-card__identity>div{display:grid}.account-card__identity strong{font-size:18px}.account-card__identity span{color:var(--muted)}.account-card__body{background:var(--chat);border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:center;gap:18px;margin:0 16px 16px;padding:16px;display:grid}.account-card__body>div{min-width:0;display:grid}.account-card__body span{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:700}.account-card__body strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.profile-form-next{gap:20px;display:grid}.profile-statistics{border:1px solid var(--stroke);background:var(--sidebar-deep);border-radius:9px;margin-bottom:28px;padding:18px}.profile-statistics>header h2{margin:0;font-size:16px}.profile-statistics>header p{color:var(--muted);margin:3px 0 14px;font-size:11px}.profile-form-next>section h2{margin:0 0 4px;font-size:16px}.profile-form-next>section p{color:var(--muted);margin:0}.profile-edit-grid{border-top:1px solid var(--active);grid-template-columns:260px minmax(220px,1fr);gap:28px;padding-top:20px;display:grid}.avatar-editor{align-items:center;gap:15px;display:flex}.avatar-editor>.avatar-wrap{width:72px;height:72px}.avatar-editor>div{gap:4px;display:grid}.profile-success{color:#7ee2a8;align-items:center;gap:7px;font-size:12px;display:flex}.profile-save-bar{background:var(--sidebar-deep);min-height:56px;box-shadow:var(--shadow);border-radius:8px;align-items:center;gap:10px;padding:10px 12px;display:flex}.profile-save-bar>span{color:var(--muted);flex:1;font-size:12px}.profile-loading{color:var(--muted);background:var(--sidebar-deep);border-radius:8px;padding:24px}.profile-loading--error{color:#ffb8ba}@media (max-width:800px){.auth-screen{padding:18px}.auth-brand{position:absolute;top:16px;left:18px}.auth-dialog{grid-template-columns:1fr;width:min(480px,100%);min-height:auto}.auth-dialog__visual{display:none}.auth-dialog__form{padding:34px 24px}.profile-screen{grid-template-columns:1fr}.settings-sidebar{flex-direction:row;align-items:center;min-height:58px;padding:10px 14px}.settings-brand{width:auto;margin:0}.settings-brand span{width:34px;height:34px}.settings-sidebar nav,.settings-sidebar>.ui-button{display:none}.settings-content{min-height:calc(100dvh - 58px);padding:28px 16px 60px}.settings-close{display:none}.account-card__body,.profile-edit-grid{grid-template-columns:1fr}}
