@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-weight:400 800;font-display:swap;src:url(./plus-jakarta-sans-latin-ext-DmpS2jIq.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-weight:400 800;font-display:swap;src:url(./plus-jakarta-sans-latin-eXO_dkmS.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:400 500;font-display:swap;src:url(./jetbrains-mono-latin-ext-DIC32ArD.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:400 500;font-display:swap;src:url(./jetbrains-mono-latin-6fWv1k7M.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg-floating:#18191c;--bg-rail:#1b1c20;--bg-elevated:#25272c;--bg-base:#2e3036;--bg-message-hover:#00000014;--bg-hover:#35373d;--bg-input:#383a41;--bg-active:#3f4249;--border-subtle:#1f2024;--border-strong:#4e5058;--text-heading:#f2f3f5;--text-primary:#dfe1e5;--text-secondary:#c4c8ce;--text-muted:#a9afb9;--accent:#5865f2;--accent-hover:#4752c4;--accent-muted:#5865f229;--accent-glow:#5865f252;--accent-text:#a3abff;--text-on-accent:#fff;--focus-ring:#8b93f8;--accent-coral:#d83c3e;--accent-coral-hover:#c03537;--accent-coral-muted:#d83c3e29;--accent-mint:#23a55a;--accent-mint-hover:#1a8a49;--accent-mint-muted:#23a55a29;--online:var(--accent-mint);--online-text:#3fc77a;--idle:#f0b232;--dnd:#f23f43;--offline:#80848e;--danger:#d83c3e;--danger-text:#ff8f91;--mention-border:var(--idle);--mention-bg:#f0b23214;--mention-bg-hover:#f0b2321f;--font-body:"Plus Jakarta Sans", "Noto Sans", "Segoe UI", Roboto, sans-serif;--font-display:var(--font-body);--font-mono:"JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;--rail-width:72px;--sidebar-width:240px;--userlist-width:240px;--header-height:48px;--radius-sm:4px;--radius-md:8px;--radius-lg:12px;--radius-xl:16px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html,body,#root{width:100%;height:100%}body{font-family:var(--font-body);color:var(--text-primary);background-color:var(--bg-base);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px;line-height:1.375;overflow:hidden}button{font-family:inherit;font-size:inherit;color:inherit;cursor:pointer;background:0 0;border:none}input,textarea,select{font-family:inherit;font-size:inherit;color:inherit;background:0 0;border:none;outline:none}:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}*{scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:4px}::-webkit-scrollbar-corner{background:0 0}::selection{background:var(--accent-muted);color:var(--text-heading)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tag-mono{font-family:var(--font-mono);letter-spacing:.02em;font-size:12px}::placeholder{color:var(--text-muted);opacity:1}.app{background:var(--bg-base);width:100vw;height:100vh;display:flex}.login__submit,.create-server__btn,.voice-prejoin__button{border-radius:var(--radius-sm);background:var(--accent);min-height:38px;color:var(--text-on-accent);justify-content:center;align-items:center;gap:8px;padding:0 16px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .1s;display:inline-flex}.login__submit:hover:not(:disabled),.create-server__btn:hover:not(:disabled),.voice-prejoin__button:hover:not(:disabled){background:var(--accent-hover)}.login__submit:disabled,.create-server__btn:disabled,.voice-prejoin__button:disabled{opacity:.5;cursor:not-allowed}.create-server__btn--ghost{background:var(--bg-active);color:var(--text-heading)}.create-server__btn--ghost:hover:not(:disabled){background:var(--border-strong)}.create-server__btn--danger{background:var(--danger);color:var(--text-on-accent)}.create-server__btn--danger:hover:not(:disabled){background:var(--accent-coral-hover)}.auth-error{background:var(--accent-coral-muted);color:var(--danger-text);border-radius:var(--radius-sm);margin-bottom:12px;padding:10px 12px;font-size:14px;line-height:20px}.app-nav{flex-shrink:0;min-height:0;display:flex}.rail{width:var(--rail-width);background:var(--bg-rail);scrollbar-width:none;flex-direction:column;flex-shrink:0;align-items:center;gap:8px;padding:12px 0;display:flex;overflow-y:auto}.rail::-webkit-scrollbar{display:none}.rail__brand{border-radius:var(--radius-xl);background:var(--accent);width:48px;height:48px;color:var(--text-on-accent);-webkit-user-select:none;user-select:none;flex-shrink:0;justify-content:center;align-items:center;font-size:22px;font-weight:800;display:flex}.rail__separator{background:var(--bg-hover);border-radius:1px;flex-shrink:0;width:32px;height:2px}.rail__list{flex-direction:column;gap:8px;width:100%;list-style:none;display:flex}.rail__item{justify-content:center;width:100%;display:flex;position:relative}.rail__item:before{content:"";background:var(--text-heading);border-radius:0 4px 4px 0;width:4px;height:0;transition:height .15s ease-out;position:absolute;top:50%;left:0;transform:translateY(-50%)}.rail__item:hover:before{height:20px}.rail__item--active:before,.rail__item--active:hover:before{height:40px}.rail__item--add:before{display:none}.rail__server,.rail__add{background:var(--bg-base);width:48px;height:48px;color:var(--text-heading);border-radius:50%;justify-content:center;align-items:center;font-size:18px;font-weight:600;transition:border-radius .15s ease-out,background-color .15s ease-out,color .15s ease-out;display:flex}.rail__server:hover,.rail__server--active{border-radius:var(--radius-xl);background:var(--accent);color:var(--text-on-accent)}.rail__add{color:var(--online-text)}.rail__add:hover{border-radius:var(--radius-xl);background:var(--online);color:var(--text-on-accent)}.sidebar{width:var(--sidebar-width);background:var(--bg-elevated);flex-direction:column;flex-shrink:0;min-height:0;display:flex}.sidebar__server{height:var(--header-height);z-index:1;flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding:0 8px 0 16px;display:flex;position:relative;box-shadow:0 1px #0000003d}.sidebar__server-text{flex:1;min-width:0}.sidebar__server-name{color:var(--text-heading);white-space:nowrap;text-overflow:ellipsis;font-size:16px;font-weight:700;line-height:20px;overflow:hidden}.sidebar__invite{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--text-muted);flex-shrink:0;justify-content:center;align-items:center;transition:background-color .1s,color .1s;display:flex}.sidebar__invite:hover{background:var(--bg-hover);color:var(--text-heading)}.server-menu{flex-shrink:0;position:relative}.server-menu__trigger[aria-expanded=true]{background:var(--bg-hover);color:var(--text-heading)}.server-menu__list{z-index:30;background:var(--bg-floating);border-radius:var(--radius-md);flex-direction:column;gap:2px;min-width:200px;padding:6px;display:flex;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 8px 24px #0006}.server-menu__item{border-radius:var(--radius-sm);min-height:36px;color:var(--text-primary);text-align:left;padding:0 10px;font-size:14px;font-weight:500}.server-menu__item:hover,.server-menu__item:focus-visible{background:var(--accent);color:var(--text-on-accent)}.server-menu__item--danger{color:var(--danger-text)}.server-menu__item--danger:hover,.server-menu__item--danger:focus-visible{background:var(--danger);color:var(--text-on-accent)}.sidebar__scroll{scrollbar-color:transparent transparent;flex:1;min-height:0;padding-bottom:16px;overflow-y:auto}.sidebar__scroll:hover{scrollbar-color:var(--bg-rail) transparent}.sidebar__scroll::-webkit-scrollbar{width:4px}.sidebar__scroll::-webkit-scrollbar-thumb{background:0 0}.sidebar__scroll:hover::-webkit-scrollbar-thumb{background:var(--bg-rail)}.sidebar__section-head{letter-spacing:.02em;color:var(--text-muted);justify-content:space-between;align-items:center;padding:16px 8px 4px 16px;font-size:12px;font-weight:700;line-height:16px;display:flex}.sidebar__section-head:hover{color:var(--text-secondary)}.sidebar__section-toggle{min-width:0;font:inherit;letter-spacing:inherit;color:inherit;text-align:left;border-radius:var(--radius-sm);flex:1;align-items:center;gap:4px;margin-left:-14px;display:inline-flex}.sidebar__section-chevron{flex-shrink:0;transition:transform .1s}.sidebar__section-toggle[aria-expanded=false] .sidebar__section-chevron{transform:rotate(-90deg)}.sidebar__section-action{border-radius:var(--radius-sm);width:20px;height:20px;color:var(--text-muted);justify-content:center;align-items:center;font-size:18px;line-height:1;transition:color .1s;display:flex}.sidebar__section-action:hover{color:var(--text-heading)}.sidebar__channels,.sidebar__dms{list-style:none}.sidebar__channels>li,.sidebar__dms>li{position:relative}.sidebar__channel{border-radius:var(--radius-sm);width:calc(100% - 16px);min-height:34px;color:var(--text-secondary);text-align:left;align-items:center;gap:6px;margin:1px 8px;padding:6px 8px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .1s,color .1s;display:flex;position:relative}.sidebar__channel:hover{background:var(--bg-hover);color:var(--text-primary)}.sidebar__channel--active,.sidebar__channel--active:hover{background:var(--bg-active);color:var(--text-heading);font-weight:600}.sidebar__channel-hash{width:20px;color:var(--text-muted);flex-shrink:0;justify-content:center;align-items:center;font-size:20px;font-weight:400;line-height:20px;display:inline-flex}.sidebar__channel-name{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.sidebar__channel-private{color:var(--text-muted);flex-shrink:0;align-items:center;display:inline-flex}.sidebar__voice-count{background:var(--bg-input);min-width:16px;height:16px;color:var(--text-secondary);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;padding:0 5px;font-size:12px;font-weight:700;display:inline-flex}.sidebar__voice-dot{background:var(--online);border-radius:50%;flex-shrink:0;width:8px;height:8px}.sidebar__voice-members{flex-direction:column;gap:2px;margin:0 8px 4px 36px;list-style:none;display:flex}.sidebar__voice-member{border-radius:var(--radius-sm);height:28px;color:var(--text-secondary);align-items:center;gap:8px;padding:0 8px;font-size:14px;display:flex}.sidebar__voice-member-avatar{background:var(--accent);width:24px;height:24px;color:var(--text-on-accent);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:12px;font-weight:600;display:flex}.sidebar__voice-member-name{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.sidebar__voice-member .avatar{transition:box-shadow .12s}.sidebar__voice-member--speaking .avatar{box-shadow:0 0 0 2px var(--bg-elevated), 0 0 0 4px var(--online)}.sidebar__voice-state{flex-shrink:0;align-items:center;gap:4px;display:inline-flex}.sidebar__voice-state-icon{color:var(--text-muted);display:inline-flex}.sidebar__voice-state-icon--server{color:var(--danger-text)}.sidebar__voice-panel{background:var(--bg-rail);border-top:1px solid var(--border-subtle);flex-shrink:0;align-items:center;gap:4px;min-height:40px;padding:4px 8px 0;display:flex}.sidebar__voice-panel-info{flex-direction:column;flex:1;min-width:0;display:flex}.sidebar__voice-panel-state{color:var(--online-text);font-size:13px;font-weight:600;line-height:16px}.sidebar__voice-panel-channel{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;line-height:16px;overflow:hidden}.sidebar__voice-btn{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--text-secondary);flex-shrink:0;justify-content:center;align-items:center;transition:background-color .1s,color .1s;display:flex}.sidebar__voice-btn:hover{background:var(--bg-hover);color:var(--text-heading)}.sidebar__voice-btn--off,.sidebar__voice-btn--off:hover{color:var(--danger-text)}.sidebar__dm{border-radius:var(--radius-sm);width:calc(100% - 16px);min-height:42px;color:var(--text-secondary);text-align:left;align-items:center;gap:12px;margin:1px 8px;padding:0 8px;font-size:14px;font-weight:500;transition:background-color .1s,color .1s;display:flex}.sidebar__dm:hover{background:var(--bg-hover);color:var(--text-primary)}.sidebar__dm--active,.sidebar__dm--active:hover{background:var(--bg-active);color:var(--text-heading)}.sidebar__dm-avatar{background:var(--accent);width:32px;height:32px;color:var(--text-on-accent);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:14px;font-weight:600;display:flex;position:relative}.sidebar__dm-online{background:var(--online);border:3px solid var(--bg-elevated);border-radius:50%;width:16px;height:16px;position:absolute;bottom:-3px;right:-3px}.sidebar__dm:hover .sidebar__dm-online{border-color:var(--bg-hover)}.sidebar__dm--active .sidebar__dm-online{border-color:var(--bg-active)}.sidebar__dm-name{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.sidebar__empty{color:var(--text-muted);padding:4px 16px;font-size:14px}.sidebar__admin-link{border-radius:var(--radius-sm);background:var(--accent-muted);min-height:34px;color:var(--accent-text);flex-shrink:0;align-items:center;gap:8px;margin:8px;padding:6px 8px;font-size:14px;font-weight:500;text-decoration:none;transition:background-color .1s,color .1s;display:flex}.sidebar__admin-link:hover{background:var(--accent);color:var(--text-on-accent)}.sidebar__user{background:var(--bg-rail);flex-shrink:0;align-items:center;gap:8px;height:52px;padding:0 8px;display:flex}.sidebar__user-avatar{background:var(--accent);width:32px;height:32px;color:var(--text-on-accent);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:14px;font-weight:600;display:flex;position:relative}.sidebar__user-dot{background:var(--online);border:3px solid var(--bg-rail);border-radius:50%;width:16px;height:16px;position:absolute;bottom:-3px;right:-3px}.sidebar__user-info{flex:1;min-width:0}.sidebar__user-name{color:var(--text-heading);white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:600;line-height:18px;overflow:hidden}.sidebar__user-role-dot{vertical-align:1px;border-radius:50%;width:8px;height:8px;margin-right:6px;display:inline-block}.sidebar__user-status{color:var(--online-text);font-size:12px;line-height:16px}.sidebar__user-status--offline{color:var(--text-muted)}.sidebar__user-dot--offline{background:var(--offline)}.sidebar__logout{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--text-muted);flex-shrink:0;justify-content:center;align-items:center;transition:background-color .1s,color .1s;display:flex}.sidebar__logout:hover{background:var(--bg-hover);color:var(--danger-text)}.chat{background:var(--bg-base);flex-direction:column;flex:1;min-width:0;display:flex;position:relative}.chat__header,.voice-room__header{height:var(--header-height);z-index:1;flex-shrink:0;align-items:center;gap:8px;padding:0 16px;display:flex;position:relative;box-shadow:0 1px #0000003d}.chat__header-hash{color:var(--text-muted);align-items:center;font-size:24px;font-weight:400;line-height:24px;display:inline-flex}.chat__header-title{color:var(--text-heading);white-space:nowrap;text-overflow:ellipsis;font-size:16px;font-weight:600;line-height:20px;overflow:hidden}.chat__header-divider{background:var(--bg-active);width:1px;height:24px;margin:0 8px}.chat__header-topic{color:var(--text-secondary);white-space:nowrap;text-overflow:ellipsis;font-size:14px;overflow:hidden}.banner{flex-shrink:0;justify-content:center;align-items:center;gap:8px;min-height:32px;padding:4px 16px;font-size:14px;font-weight:500;display:flex}.banner--warn{background:var(--accent);color:var(--text-on-accent)}.banner__dot{background:currentColor;border-radius:50%;flex-shrink:0;width:8px;height:8px;animation:1.4s ease-in-out infinite banner-pulse}@keyframes banner-pulse{0%,to{opacity:.45}50%{opacity:1}}.messages{scrollbar-width:auto;scrollbar-color:var(--bg-floating) var(--bg-elevated);flex-direction:column;flex:1;min-height:0;padding:0 0 24px;display:flex;overflow-y:auto}.messages::-webkit-scrollbar{width:16px}.messages::-webkit-scrollbar-track{background:var(--bg-elevated);background-clip:padding-box;border:4px solid #0000;border-radius:8px}.messages::-webkit-scrollbar-thumb{background:var(--bg-floating);background-clip:padding-box;border:4px solid #0000;border-radius:8px;min-height:40px}.messages__inner{flex-direction:column;margin-top:auto;display:flex}.messages__loading-older{color:var(--text-muted);justify-content:center;align-items:center;gap:8px;padding:16px;font-size:12px;font-weight:500;display:flex}.messages__loading-dots{gap:3px;display:inline-flex}.messages__loading-dots span{background:var(--text-muted);border-radius:50%;width:6px;height:6px;animation:1.2s ease-in-out infinite messages-loading-blink}.messages__loading-dots span:nth-child(2){animation-delay:.2s}.messages__loading-dots span:nth-child(3){animation-delay:.4s}@keyframes messages-loading-blink{0%,80%,to{opacity:.25}40%{opacity:1}}.messages__history-start{color:var(--text-muted);padding:24px 16px 8px;font-size:14px}.messages__day-divider{align-items:center;gap:8px;margin:24px 16px 8px;display:flex}.messages__day-divider:before,.messages__day-divider:after{content:"";background:var(--bg-active);flex:1;height:1px}.messages__day-divider-text{color:var(--text-muted);font-size:12px;font-weight:600;line-height:16px}.message{gap:16px;min-height:22px;margin-top:16px;padding:2px 48px 2px 16px;display:flex;position:relative}.message:hover{background:var(--bg-message-hover)}.message:focus:not(:focus-visible){outline:none}.message:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-2px;background:var(--bg-message-hover)}.message:focus-visible .message__actions{opacity:1;pointer-events:auto}.message__avatar{background:var(--accent);width:40px;height:40px;color:var(--text-on-accent);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;margin-top:2px;font-size:16px;font-weight:600;display:flex}.message__gutter{flex-shrink:0;justify-content:flex-end;width:40px;padding-top:3px;display:flex}.message__hover-time{color:var(--text-muted);opacity:0;white-space:nowrap;font-size:11px;font-weight:500;line-height:16px}.message:hover .message__hover-time{opacity:1}.message__body{flex:1;min-width:0}.message__head{align-items:baseline;gap:8px;display:flex}.message__author{color:var(--text-heading);font-size:16px;font-weight:600;line-height:22px}.message__time{color:var(--text-muted);font-size:12px;font-weight:500;line-height:16px}.message__edited{color:var(--text-muted);font-size:12px;font-weight:400}.message__content{color:var(--text-primary);word-wrap:break-word;font-size:16px;line-height:22px}.message__actions{background:var(--bg-base);border:1px solid var(--border-subtle);border-radius:var(--radius-md);opacity:0;pointer-events:none;z-index:5;transition:opacity .1s;display:inline-flex;position:absolute;top:-16px;right:16px;box-shadow:0 4px 12px #0000003d}.message:hover .message__actions,.message__actions:focus-within,.message--actions-open .message__actions{opacity:1;pointer-events:auto}@media (hover:none){.message:focus-within{background:var(--bg-message-hover)}.message:focus-within .message__actions,.message:focus-within .message__hover-time{opacity:1;pointer-events:auto}}.message__action{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--text-secondary);justify-content:center;align-items:center;transition:background-color .1s,color .1s;display:inline-flex}.message__action:hover:not(:disabled){background:var(--bg-hover);color:var(--text-heading)}.message__action--danger:hover:not(:disabled){background:var(--danger);color:var(--text-on-accent)}.message__action--confirm,.message__action--confirm:hover:not(:disabled){background:var(--danger);width:auto;color:var(--text-on-accent);padding:0 10px}.message__action-confirm-text{font-size:12px;font-weight:700}.message__action:disabled{opacity:.5;cursor:not-allowed}.message__edit{margin-top:4px}.message__edit-textarea{background:var(--bg-input);border-radius:var(--radius-md);width:100%;min-height:44px;max-height:240px;color:var(--text-primary);resize:none;padding:11px 16px;font-size:16px;line-height:22px}.message__edit-actions{align-items:center;gap:8px;margin-top:8px;display:flex}.message__edit-btn{border-radius:var(--radius-sm);background:var(--accent);min-height:32px;color:var(--text-on-accent);padding:0 12px;font-size:14px;font-weight:500;transition:background-color .1s}.message__edit-btn:hover:not(:disabled){background:var(--accent-hover)}.message__edit-btn:disabled{opacity:.5;cursor:not-allowed}.message__edit-btn--ghost{background:var(--bg-active);color:var(--text-heading)}.message__edit-btn--ghost:hover:not(:disabled){background:var(--border-strong)}.message__edit-error{background:var(--accent-coral-muted);border-radius:var(--radius-sm);color:var(--danger-text);margin-top:6px;padding:6px 10px;font-size:14px}.message__reply-preview{max-width:100%;color:var(--text-muted);text-align:left;align-items:center;gap:6px;margin-bottom:2px;padding:0;font-size:14px;line-height:18px;display:flex}.message__reply-preview:hover .message__reply-content{color:var(--text-primary)}.message__reply-arrow{color:var(--border-strong);font-size:16px;line-height:1}.message__reply-author{color:var(--text-secondary);flex-shrink:0;font-weight:600}.message__reply-content{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.message__forwarded-header{color:var(--text-muted);align-items:center;gap:6px;margin-bottom:2px;font-size:12px;line-height:16px;display:inline-flex}.message__forwarded-header strong{color:var(--text-secondary);font-weight:600}.message__forwarded-header svg{flex-shrink:0}@keyframes message-flash{0%{background:0 0}20%{background:var(--accent-muted)}to{background:0 0}}.message--flash{animation:1.6s message-flash}.message__attachments{flex-wrap:wrap;gap:8px;margin-top:4px;display:flex}.attachment{border-radius:var(--radius-md);color:inherit;text-decoration:none;display:block;overflow:hidden}.attachment--image{background:var(--bg-elevated);cursor:zoom-in;max-width:420px;max-height:320px;padding:0}.attachment--image img{width:auto;max-width:100%;height:auto;max-height:320px;display:block}.attachment--video{background:#000;max-width:420px;max-height:320px}.attachment--audio,.attachment--file{background:var(--bg-elevated);border:1px solid var(--border-subtle);border-radius:var(--radius-md);max-width:400px;padding:12px 16px;display:flex}.attachment--audio{flex-direction:column;gap:6px}.attachment--audio audio{width:100%}.attachment--audio .attachment__name{color:var(--text-secondary);font-size:14px}.attachment--file{cursor:pointer;align-items:center;gap:12px;transition:background-color .1s}.attachment--file:hover{background:var(--bg-hover)}.attachment__icon{border-radius:var(--radius-sm);background:var(--accent-muted);width:36px;height:36px;color:var(--accent-text);flex-shrink:0;justify-content:center;align-items:center;display:flex}.attachment__info{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.attachment--file .attachment__name{color:var(--accent-text);white-space:nowrap;text-overflow:ellipsis;font-size:16px;font-weight:500;overflow:hidden}.attachment__meta{color:var(--text-muted);font-size:12px}.attachment__download{color:var(--text-muted);flex-shrink:0}.attachment--file:hover .attachment__download{color:var(--text-heading)}.attachment--invalid{cursor:default;opacity:.6}.attachment--invalid:hover{background:var(--bg-elevated)}.typing{height:24px;color:var(--text-secondary);align-items:center;gap:6px;padding:0 16px;font-size:12px;font-weight:500;display:flex}.typing__dots{gap:3px;display:inline-flex}.typing__dots span{background:var(--text-secondary);border-radius:50%;width:6px;height:6px;animation:1.2s ease-in-out infinite typing-bounce}.typing__dots span:nth-child(2){animation-delay:.15s}.typing__dots span:nth-child(3){animation-delay:.3s}@keyframes typing-bounce{0%,60%,to{opacity:.5;transform:translateY(0)}30%{opacity:1;transform:translateY(-2px)}}.input{flex-shrink:0;padding:0 16px 24px;position:relative}.input__field{background:var(--bg-input);border-radius:var(--radius-md);align-items:flex-end;min-height:44px;padding:0 4px;display:flex}.input__field:focus-within{box-shadow:0 0 0 2px var(--focus-ring)}.input__textarea:focus-visible{outline:none}.input__textarea{resize:none;max-height:160px;color:var(--text-primary);flex:1;padding:11px 4px;font-size:16px;line-height:22px}.input__textarea::placeholder{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.input__paperclip,.input__send{border-radius:var(--radius-sm);width:40px;height:44px;color:var(--text-muted);flex-shrink:0;justify-content:center;align-items:center;transition:color .1s;display:flex}.input__paperclip:hover,.input__send:hover:not(:disabled){color:var(--text-heading)}.input__send--active{color:var(--accent-text)}.input__send:disabled{cursor:not-allowed;opacity:.5}.input__status{align-items:center;min-width:0;height:24px;display:flex}.input__status .typing{padding:0 4px}.input__hint{white-space:nowrap;text-overflow:ellipsis;color:var(--text-muted);padding-left:4px;font-size:12px;overflow:hidden}.input__hint kbd{border-radius:var(--radius-sm);background:var(--bg-elevated);font-family:var(--font-body);color:var(--text-secondary);padding:0 4px;font-size:11px;font-weight:600}.input__drop-overlay{border:2px dashed var(--focus-ring);border-radius:var(--radius-md);background:var(--accent-muted);color:var(--text-heading);z-index:3;pointer-events:none;justify-content:center;align-items:center;font-size:14px;font-weight:600;display:flex;position:absolute;inset:0 16px 24px}.input__attachments{background:var(--bg-input);border-radius:var(--radius-md) var(--radius-md) 0 0;border-bottom:1px solid var(--bg-active);flex-wrap:wrap;gap:8px;padding:12px;display:flex}.input__attachments+.input__field{border-top-left-radius:0;border-top-right-radius:0}.attachment-chip{background:var(--bg-elevated);border-radius:var(--radius-md);align-items:center;gap:10px;min-width:200px;max-width:280px;padding:8px 10px;display:flex}.attachment-chip--error{background:var(--accent-coral-muted)}.attachment-chip__icon{border-radius:var(--radius-sm);background:var(--bg-active);width:32px;height:32px;color:var(--accent-text);flex-shrink:0;justify-content:center;align-items:center;display:flex}.attachment-chip--error .attachment-chip__icon,.attachment-chip--error .attachment-chip__meta{color:var(--danger-text)}.attachment-chip__info{flex:1;min-width:0}.attachment-chip__name{color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:500;overflow:hidden}.attachment-chip__meta{color:var(--text-muted);margin-top:2px;font-size:12px}.attachment-chip__progress{background:var(--bg-active);border-radius:2px;height:4px;margin-top:6px;overflow:hidden}.attachment-chip__progress-bar{background:var(--accent);height:100%;transition:width .15s linear}.attachment-chip__remove{border-radius:var(--radius-sm);width:24px;height:24px;color:var(--text-muted);flex-shrink:0;justify-content:center;align-items:center;transition:background-color .1s,color .1s;display:flex}.attachment-chip__remove:hover{background:var(--danger);color:var(--text-on-accent)}.voice-error{flex-shrink:0;margin:16px 16px 0}.voice-notice{border-radius:var(--radius-sm);background:var(--bg-elevated);border-left:4px solid var(--accent);color:var(--text-primary);padding:10px 12px;font-size:14px;line-height:20px}.voice-room__media-error{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:8px;margin:0 16px 8px;display:flex}.voice-room__media-error-text{flex:240px}.voice-room__media-error-actions{gap:8px;display:flex}.send-error{flex-shrink:0;margin:0 16px 8px}.reply-bar{background:var(--bg-elevated);border-radius:var(--radius-md) var(--radius-md) 0 0;color:var(--text-secondary);align-items:center;gap:6px;margin:0 16px;padding:8px 16px;font-size:14px;display:flex}.reply-bar+.input .input__field,.reply-bar+.input .input__attachments{border-top-left-radius:0;border-top-right-radius:0}.reply-bar__icon{color:var(--text-muted);font-size:16px;line-height:1}.reply-bar__label{color:var(--text-muted)}.reply-bar__author{color:var(--text-heading);font-weight:600}.reply-bar__content{min-width:0;color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.reply-bar__close{width:24px;height:24px;color:var(--text-muted);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:18px;line-height:1;transition:color .1s;display:flex}.reply-bar__close:hover{color:var(--text-heading)}.userlist{width:var(--userlist-width);background:var(--bg-elevated);scrollbar-color:transparent transparent;flex-shrink:0;padding:0 8px 8px;overflow-y:auto}.userlist:hover{scrollbar-color:var(--bg-rail) transparent}.userlist::-webkit-scrollbar{width:4px}.userlist::-webkit-scrollbar-thumb{background:0 0}.userlist:hover::-webkit-scrollbar-thumb{background:var(--bg-rail)}.userlist__heading{letter-spacing:.02em;color:var(--text-muted);padding:24px 8px 4px;font-size:12px;font-weight:700;line-height:16px}.userlist__list{flex-direction:column;gap:2px;list-style:none;display:flex}.userlist__user{border-radius:var(--radius-sm);height:42px;color:var(--text-secondary);cursor:default;align-items:center;gap:12px;padding:0 8px;font-size:14px;transition:background-color .1s,color .1s;display:flex}.userlist__user:hover{background:var(--bg-hover);color:var(--text-primary)}.userlist__user-avatar{background:var(--accent);width:32px;height:32px;color:var(--text-on-accent);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:14px;font-weight:600;display:flex;position:relative}.userlist__dot{background:var(--online);border:3px solid var(--bg-elevated);border-radius:50%;width:16px;height:16px;position:absolute;bottom:-3px;right:-3px}.userlist__user:hover .userlist__dot{border-color:var(--bg-hover)}.userlist__dot--idle{background:var(--idle)}.userlist__dot--dnd{background:var(--dnd)}.userlist__dot--offline{background:var(--offline)}.userlist__user--offline .userlist__user-avatar{opacity:.5}.userlist__user--offline .userlist__user-name{color:var(--text-muted)}.userlist__user-name{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-weight:500;overflow:hidden}.userlist__self{color:var(--text-muted);font-size:12px;font-weight:400}.userlist__role-dot{border-radius:50%;flex-shrink:0;width:10px;height:10px}.login{background:var(--bg-rail);justify-content:center;align-items:center;width:100vw;min-height:100vh;padding:24px 16px;display:flex;overflow-y:auto}.login__card{background:var(--bg-base);border-radius:var(--radius-md);width:100%;max-width:480px;padding:32px;box-shadow:0 8px 24px #0006}.login__brand{letter-spacing:.08em;text-transform:uppercase;color:var(--accent-text);text-align:center;margin-bottom:16px;font-size:13px;font-weight:800}.login__title{letter-spacing:-.01em;color:var(--text-heading);text-align:center;margin-bottom:8px;font-size:24px;font-weight:700;line-height:30px}.login__subtitle{color:var(--text-secondary);text-align:center;margin-bottom:20px;font-size:16px;line-height:20px}.login__actions{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.auth-tabs{background:var(--bg-elevated);border-radius:var(--radius-md);gap:4px;width:fit-content;margin:0 auto 20px;padding:4px;display:flex}.auth-tabs__tab{border-radius:var(--radius-sm);min-height:32px;color:var(--text-secondary);padding:0 16px;font-size:14px;font-weight:500;transition:background-color .1s,color .1s}.auth-tabs__tab:hover{color:var(--text-heading)}.auth-tabs__tab--active,.auth-tabs__tab--active:hover{background:var(--bg-active);color:var(--text-heading)}.auth-form{flex-direction:column;gap:20px;margin-bottom:12px;display:flex}.login__field{flex-direction:column;gap:8px;display:flex}.login__label,.create-server__label{letter-spacing:.02em;text-transform:uppercase;color:var(--text-secondary);font-size:12px;font-weight:700;line-height:16px}.login__input,.dm-modal__search,.forward-modal__search,.invite-modal__input{background:var(--bg-input);border-radius:var(--radius-sm);height:40px;color:var(--text-primary);border:1px solid #0000;padding:0 10px;font-size:16px;transition:border-color .1s}.login__input:hover,.dm-modal__search:hover,.forward-modal__search:hover,.invite-modal__input:hover{border-color:var(--border-strong)}.login__input::placeholder,.dm-modal__search::placeholder,.forward-modal__search::placeholder,.invite-modal__input::placeholder{color:var(--text-muted)}.auth-form__submit{width:100%;min-height:44px;font-size:16px}.login__actions .auth-form__submit{width:auto}.login__hint{color:var(--text-muted);text-align:center;font-size:12px;line-height:16px}.voice-prejoin{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:0;padding:24px;display:flex}.voice-prejoin__icon{background:var(--bg-elevated);width:80px;height:80px;color:var(--text-secondary);border-radius:50%;justify-content:center;align-items:center;margin-bottom:16px;display:flex}.voice-prejoin__title{color:var(--text-heading);margin-bottom:8px;font-size:24px;font-weight:700;line-height:30px}.voice-prejoin__subtitle{max-width:420px;color:var(--text-secondary);margin-bottom:20px;font-size:16px}.voice-prejoin__button{min-height:44px;padding:0 24px;font-size:16px}.voice-prejoin__error{margin-top:16px}.lk-room-container{flex-direction:column;min-height:0;display:flex}.lk-room-container,.lk-focus-layout,.lk-grid-layout{background:0 0!important}.voice-room{flex-direction:column;flex:1;min-height:0;display:flex}.voice-room__status{color:var(--online-text);font-size:14px;font-weight:500}.voice-room__body{flex:1;justify-content:center;align-items:center;min-height:0;padding:16px;display:flex;position:relative;overflow:hidden}.voice-room__grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));align-content:center;gap:8px;width:100%;max-width:1100px;display:grid}.voice-participant{aspect-ratio:16/9;background:var(--bg-floating);border-radius:var(--radius-lg);position:relative;overflow:hidden}.voice-participant--speaking{box-shadow:inset 0 0 0 2px var(--online)}.voice-participant--has-video{background:#000}.voice-participant__media{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.voice-participant__video{object-fit:cover;width:100%;height:100%;display:block}.voice-participant--self .voice-participant__video{transform:scaleX(-1)}.voice-participant__avatar{background:var(--accent);width:80px;height:80px;color:var(--text-on-accent);border-radius:50%;justify-content:center;align-items:center;font-size:32px;font-weight:600;display:flex}.voice-participant--speaking .voice-participant__avatar{box-shadow:0 0 0 3px var(--bg-floating), 0 0 0 5px var(--online)}.voice-participant__overlay{border-radius:var(--radius-sm);max-width:calc(100% - 16px);color:var(--text-heading);pointer-events:none;background:#0009;align-items:center;gap:6px;padding:4px 8px;font-size:12px;font-weight:600;display:inline-flex;position:absolute;bottom:8px;left:8px}.voice-participant__name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.voice-participant__self-tag{color:var(--text-secondary);font-weight:400}.voice-participant__mic-off{color:var(--dnd);flex-shrink:0;align-items:center;display:inline-flex}.voice-participant__quality{z-index:2;border-radius:50%;width:8px;height:8px;position:absolute;top:8px;left:8px;box-shadow:0 0 0 2px #0006}.voice-quality--excellent{background:var(--online)}.voice-quality--good{background:var(--online-text)}.voice-quality--poor{background:var(--idle)}.voice-quality--lost{background:var(--dnd)}.voice-quality--unknown{background:var(--offline)}.voice-room__screen{aspect-ratio:16/9;border-radius:var(--radius-lg);z-index:5;background:#000;justify-content:center;align-items:center;width:320px;max-width:40%;display:flex;position:absolute;bottom:16px;left:16px;overflow:hidden;box-shadow:0 8px 24px #0006}.voice-room__screen-video{object-fit:contain;width:100%;height:100%;display:block}.voice-room__screen-label,.voice-room__self-preview-label{border-radius:var(--radius-sm);color:var(--text-heading);background:#0009;padding:4px 8px;font-size:12px;font-weight:600;position:absolute}.voice-room__screen-label{top:8px;left:8px}.voice-room__screen-fullscreen{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--text-heading);z-index:6;background:#0009;justify-content:center;align-items:center;transition:background-color .1s;display:flex;position:absolute;top:8px;right:8px}.voice-room__screen-switch{z-index:6;flex-wrap:wrap;gap:4px;display:flex;position:absolute;bottom:8px;left:8px;right:8px}.voice-room__screen-switch-btn{border-radius:var(--radius-sm);background:var(--overlay-on-media);max-width:100%;min-height:24px;color:var(--text-heading);text-overflow:ellipsis;white-space:nowrap;padding:2px 8px;font-size:12px;font-weight:600;transition:background-color .1s;overflow:hidden}.voice-room__screen-switch-btn:hover{background:var(--bg-active)}.voice-room__screen-switch-btn--active,.voice-room__screen-switch-btn--active:hover{background:var(--accent);color:var(--text-on-accent)}.voice-room__screen-fullscreen:hover{background:#000c}.voice-room__screen:fullscreen{aspect-ratio:auto;width:100vw;max-width:100vw;height:100vh;box-shadow:none;z-index:9999;border-radius:0;position:fixed;top:0;left:0}.voice-room__self-preview{aspect-ratio:16/10;border-radius:var(--radius-lg);z-index:5;background:#000;width:200px;position:absolute;bottom:16px;right:16px;overflow:hidden;box-shadow:0 8px 24px #0006}.voice-room__self-preview-video{object-fit:cover;width:100%;height:100%;transform:scaleX(-1)}.voice-room__self-preview-label{bottom:8px;left:8px}.voice-room__controls{flex-shrink:0;justify-content:center;gap:12px;padding:16px 24px 24px;display:flex}.voice-room__btn{background:var(--bg-active);width:48px;height:48px;color:var(--text-heading);border-radius:50%;justify-content:center;align-items:center;transition:background-color .1s,color .1s;display:flex}.voice-room__btn:hover{background:var(--border-strong)}.voice-room__btn--active,.voice-room__btn--active:hover{background:var(--text-heading);color:var(--bg-floating)}.voice-room__btn--muted{color:var(--danger-text)}.voice-room__btn--leave{background:var(--danger);color:var(--text-on-accent)}.voice-room__btn--leave:hover{background:var(--accent-coral-hover)}.voice-room__btn:disabled,.voice-room__btn[aria-disabled=true]{opacity:.5;cursor:not-allowed}.voice-room__btn[aria-disabled=true]:hover{background:var(--bg-active)}.voice-room__screen-control{position:relative}.voice-room__screen-menu{background:var(--bg-floating);border-radius:var(--radius-md);z-index:30;flex-direction:column;gap:2px;min-width:200px;padding:6px 8px;display:flex;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);box-shadow:0 8px 24px #0006}.voice-room__screen-menu [role=group]{flex-direction:column;gap:2px;display:flex}.voice-room__screen-menu-title{letter-spacing:.02em;text-transform:uppercase;color:var(--text-muted);padding:6px 8px 4px;font-size:12px;font-weight:700}.voice-room__screen-menu-title--codec{border-top:1px solid var(--bg-active);margin-top:4px;padding-top:8px}.voice-room__screen-option{border-radius:var(--radius-sm);color:var(--text-secondary);text-align:left;padding:6px 8px;font-size:14px;font-weight:500;transition:background-color .1s,color .1s}.voice-room__screen-option:hover{background:var(--accent);color:var(--text-on-accent)}.voice-room__screen-option--active{color:var(--text-heading);font-weight:600}.voice-banner{background:var(--accent-mint-muted);color:var(--online-text);flex-shrink:0;align-items:center;gap:8px;padding:8px 16px;display:flex}.voice-banner__dot{background:var(--online);border-radius:50%;flex-shrink:0;width:8px;height:8px}.voice-banner__text{text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:14px;font-weight:600;overflow:hidden}.voice-banner__btn{border-radius:var(--radius-sm);background:var(--bg-active);min-height:32px;color:var(--text-heading);padding:0 12px;font-size:14px;font-weight:500;transition:background-color .1s}.voice-banner__btn:hover{background:var(--border-strong)}.voice-banner__btn--leave{background:var(--danger);color:var(--text-on-accent)}.voice-banner__btn--leave:hover{background:var(--accent-coral-hover)}.dm-modal,.forward-modal{background:#000000b3;justify-content:center;align-items:center;padding:16px;animation:.15s modal-fade;display:flex;position:fixed;inset:0}.dm-modal{z-index:50}.forward-modal{z-index:80}@keyframes modal-fade{0%{opacity:0}to{opacity:1}}@keyframes modal-pop{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}[role=dialog]:focus,[role=alertdialog]:focus{outline:none}.dm-modal__card,.forward-modal__card{background:var(--bg-base);border-radius:var(--radius-lg);flex-direction:column;width:100%;max-width:440px;max-height:85vh;animation:.15s ease-out modal-pop;display:flex;position:relative;overflow:hidden;box-shadow:0 8px 24px #0006}.dm-modal__header,.forward-modal__header{text-align:center;padding:24px 48px 0}.dm-modal__title,.forward-modal__title{letter-spacing:-.01em;color:var(--text-heading);font-size:24px;font-weight:700;line-height:30px}.dm-modal__close,.forward-modal__close{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--text-muted);justify-content:center;align-items:center;font-size:24px;line-height:1;transition:color .1s;display:flex;position:absolute;top:12px;right:12px}.dm-modal__close:hover,.forward-modal__close:hover{color:var(--text-heading)}.dm-modal__search{margin:16px 16px 8px}.dm-modal__hint{color:var(--text-muted);padding:8px 16px;font-size:14px}.dm-modal__list{flex-direction:column;flex:1;gap:2px;padding:0 8px 16px;list-style:none;display:flex;overflow-y:auto}.dm-modal__user{border-radius:var(--radius-sm);width:100%;min-height:44px;color:var(--text-primary);text-align:left;align-items:center;gap:12px;padding:0 8px;font-size:14px;transition:background-color .1s;display:flex}.dm-modal__user:hover:not(:disabled){background:var(--bg-hover)}.dm-modal__user:disabled{opacity:.5;cursor:not-allowed}.dm-modal__avatar{background:var(--accent);width:32px;height:32px;color:var(--text-on-accent);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:14px;font-weight:600;display:flex}.dm-modal__user-name{color:var(--text-heading);flex:1;font-weight:500}.dm-modal__online{background:var(--online);border-radius:50%;flex-shrink:0;width:10px;height:10px}.dm-modal__opening{color:var(--text-muted);font-size:12px}.create-server__body{flex-direction:column;gap:8px;padding:16px 16px 0;display:flex}.create-server__hint{color:var(--text-secondary);text-align:center;margin-bottom:8px;font-size:14px;line-height:20px}.create-server .dm-modal__search{margin:0}.create-server__actions{background:var(--bg-elevated);justify-content:flex-end;gap:8px;margin:16px -16px 0;padding:16px;display:flex}.add-server__body{flex-direction:column;gap:8px;padding:16px;display:flex}.add-server__option{border:1px solid var(--border-strong);border-radius:var(--radius-md);width:100%;color:var(--text-primary);text-align:left;align-items:center;gap:12px;padding:12px 16px;transition:background-color .1s;display:flex}.add-server__option:hover{background:var(--bg-hover)}.add-server__icon{background:var(--accent-muted);width:40px;height:40px;color:var(--accent-text);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:20px;display:flex}.add-server__text{flex-direction:column;gap:2px;display:flex}.add-server__title{color:var(--text-heading);font-size:16px;font-weight:700}.add-server__desc{color:var(--text-muted);font-size:12px}.invite-modal__body,.join-server__body{flex-direction:column;gap:12px;padding:16px;display:flex;overflow-y:auto}.invite-modal__create{align-self:flex-start}.invite-modal__options{flex-wrap:wrap;gap:12px;display:flex}.invite-modal__field{flex-direction:column;gap:8px;display:flex}.invite-modal__options>.invite-modal__field{flex:140px}.invite-modal__input:disabled{opacity:.5}.invite-modal__created{background:var(--bg-elevated);border-radius:var(--radius-md);flex-direction:column;gap:12px;padding:12px;display:flex}.invite-modal__copy-row{align-items:center;gap:8px;display:flex}.invite-modal__value{min-width:0;font-family:var(--font-mono);flex:auto}.invite-modal__copy-btn{flex:none;min-height:40px}.invite-modal__no-link{padding:0}.invite-modal__list{flex-direction:column;gap:8px;list-style:none;display:flex}.invite-modal__item{background:var(--bg-elevated);border-radius:var(--radius-md);flex-direction:column;gap:8px;padding:12px;display:flex}.invite-modal__row{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.invite-modal__code{font-family:var(--font-mono);color:var(--accent-text);font-size:16px;font-weight:500}.invite-modal__meta{color:var(--text-muted);text-align:right;font-size:12px}.invite-modal__actions{flex-wrap:wrap;gap:8px;display:flex}.invite-modal__btn{border-radius:var(--radius-sm);background:var(--bg-active);min-height:32px;color:var(--text-heading);padding:0 12px;font-size:14px;font-weight:500;transition:background-color .1s,color .1s}.invite-modal__btn:hover{background:var(--border-strong)}.invite-modal__btn--danger:hover{background:var(--danger);color:var(--text-on-accent)}.join-server__form{gap:8px;display:flex}.join-server__input{flex:1;margin:0}.join-server__preview{background:var(--bg-elevated);border-radius:var(--radius-md);align-items:center;gap:12px;padding:12px;display:flex}.join-server__avatar{border-radius:var(--radius-xl);background:var(--accent);width:48px;height:48px;color:var(--text-on-accent);flex-shrink:0;justify-content:center;align-items:center;font-size:18px;font-weight:600;display:flex}.join-server__info{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.join-server__name{color:var(--text-heading);font-size:16px;font-weight:700}.join-server__meta{color:var(--text-muted);font-size:14px}.join-server__status{color:var(--text-secondary);font-size:12px}.join-server__status--bad{color:var(--danger-text)}.join-server__join{white-space:nowrap;align-self:center}.forward-modal__preview{background:var(--bg-elevated);border-left:4px solid var(--border-strong);border-radius:var(--radius-sm);margin:16px 16px 12px;padding:8px 12px}.forward-modal__preview-author{color:var(--text-heading);margin-bottom:2px;font-size:14px;font-weight:600}.forward-modal__preview-content{color:var(--text-secondary);-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:14px;line-height:20px;display:-webkit-box;overflow:hidden}.forward-modal__error{background:var(--accent-coral-muted);border-radius:var(--radius-sm);color:var(--danger-text);margin:0 16px 12px;padding:8px 12px;font-size:14px}.forward-modal__search{margin:0 16px 8px}.forward-modal__list{flex-direction:column;flex:1;gap:2px;padding:0 8px 16px;list-style:none;display:flex;overflow-y:auto}.forward-modal__empty{color:var(--text-muted);text-align:center;padding:24px;font-size:14px}.forward-modal__item{border-radius:var(--radius-sm);width:100%;min-height:44px;color:var(--text-primary);text-align:left;align-items:center;gap:12px;padding:0 8px;transition:background-color .1s;display:flex}.forward-modal__item:hover:not(:disabled){background:var(--bg-hover)}.forward-modal__item:disabled{opacity:.5;cursor:not-allowed}.forward-modal__avatar{background:var(--accent);width:32px;height:32px;color:var(--text-on-accent);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:14px;font-weight:600;display:flex}.forward-modal__item-info{flex-direction:column;flex:1;min-width:0;display:flex}.forward-modal__item-label{color:var(--text-heading);white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:500;overflow:hidden}.forward-modal__item-hint{color:var(--text-muted);font-size:12px}.forward-modal__cta{color:var(--text-muted);font-size:18px;transition:color .1s,transform .1s}.forward-modal__item:hover:not(:disabled) .forward-modal__cta{color:var(--text-heading);transform:translate(2px)}.forward-modal__sending{color:var(--accent-text);font-size:12px}.lightbox{z-index:200;background:#000000d9;justify-content:center;align-items:center;padding:56px 72px;animation:.15s modal-fade;display:flex;position:fixed;inset:0}.lightbox__image{object-fit:contain;border-radius:var(--radius-md);cursor:default;max-width:100%;max-height:100%;animation:.15s ease-out modal-pop;display:block}.lightbox__close,.lightbox__nav{background:var(--bg-floating);color:var(--text-secondary);border-radius:50%;justify-content:center;align-items:center;transition:background-color .1s,color .1s;display:flex;position:absolute}.lightbox__close{width:40px;height:40px;top:16px;right:16px}.lightbox__nav{width:48px;height:48px;top:50%;transform:translateY(-50%)}.lightbox__close:hover,.lightbox__nav:hover{background:var(--bg-active);color:var(--text-heading)}.lightbox__nav--prev{left:16px}.lightbox__nav--next{right:16px}.lightbox__caption{background:var(--bg-floating);cursor:default;border-radius:999px;align-items:center;gap:16px;padding:8px 16px;display:flex;position:absolute;bottom:20px;left:50%;transform:translate(-50%)}.lightbox__count{color:var(--text-secondary);font-size:12px;font-weight:600}.lightbox__dots{gap:6px;display:inline-flex}.lightbox__dot{background:var(--border-strong);border-radius:50%;width:6px;height:6px;transition:background-color .15s,transform .15s}.lightbox__dot--active{background:var(--text-heading);transform:scale(1.3)}.chat__hamburger{border-radius:var(--radius-sm);width:44px;height:44px;color:var(--text-secondary);flex-shrink:0;justify-content:center;align-items:center;display:none}.chat__hamburger:hover{background:var(--bg-hover);color:var(--text-heading)}.drawer-backdrop{display:none}.chat__members-toggle{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--text-secondary);flex-shrink:0;justify-content:center;align-items:center;margin-left:auto;display:none}.chat__members-toggle:hover,.chat__members-toggle[aria-expanded=true]{background:var(--bg-hover);color:var(--text-heading)}.members-backdrop{display:none}.userlist__head{justify-content:space-between;align-items:flex-end;display:flex}.userlist__head--end{justify-content:flex-end}.userlist__close{border-radius:var(--radius-sm);width:44px;height:44px;color:var(--text-secondary);margin-top:8px;font-size:22px;line-height:1}.userlist__close:hover{background:var(--bg-hover);color:var(--text-heading)}@media (width<=1199px){.chat__members-toggle{display:inline-flex}.userlist{display:none}.userlist--open{z-index:60;width:min(var(--userlist-width), calc(100vw - 48px));padding-top:env(safe-area-inset-top,0px);animation:.22s userlist-in;display:block;position:fixed;top:0;bottom:0;right:0;box-shadow:-8px 0 24px #0006}.userlist--open:focus{outline:none}.members-backdrop{z-index:55;cursor:pointer;background:#0009;padding:0;display:block;position:fixed;inset:0}}@keyframes userlist-in{0%{transform:translate(100%)}to{transform:translate(0)}}.app--drawer-open{overflow:hidden}@media (width<=767px){.chat__hamburger{top:calc(env(safe-area-inset-top,0px) + 4px);z-index:40;display:inline-flex;position:fixed;left:8px}.chat__header,.voice-room__header{padding-left:56px}.rail,.sidebar{z-index:60;visibility:hidden;transition:transform .22s,visibility 0s linear .22s;position:fixed;top:0;bottom:0}.rail{transform:translate(calc(-100% - 24px))}.sidebar{transform:translateX(calc(-100% - var(--rail-width) - 24px))}.rail{padding-top:calc(env(safe-area-inset-top,0px) + 12px);left:0}.sidebar{left:var(--rail-width);width:min(var(--sidebar-width), calc(100vw - var(--rail-width)));padding-top:env(safe-area-inset-top,0px);box-shadow:8px 0 24px #0006}.app--drawer-open .rail,.app--drawer-open .sidebar{visibility:visible;transition:transform .22s,visibility;transform:translate(0)}.drawer-backdrop{z-index:55;cursor:pointer;background:#0009;padding:0;display:block;position:fixed;inset:0}.sidebar__channel,.sidebar__dm,.sidebar__admin-link,.sidebar__logout,.sidebar__invite,.rail__server,.rail__add,.input__paperclip,.input__send{min-height:44px}.sidebar__logout,.sidebar__invite{min-width:44px}.chat__members-toggle,.sidebar__section-toggle{min-height:44px}.chat__members-toggle{min-width:44px}.message{padding-right:16px}.message__actions{top:-12px;right:8px}.input{padding-bottom:max(env(safe-area-inset-bottom,0px), 12px)}.input__drop-overlay{bottom:max(env(safe-area-inset-bottom,0px), 12px)}.app{padding-top:env(safe-area-inset-top,0px)}.login__card{padding:24px 16px}.lightbox{padding:48px 12px}.lightbox__nav{width:40px;height:40px}.lightbox__nav--prev{left:8px}.lightbox__nav--next{right:8px}.lightbox__close{top:max(env(safe-area-inset-top,0px), 12px);right:12px}.voice-room__screen{max-width:60%}.voice-room__self-preview{width:120px}}:root{--profile-section:#212227;--role-chip:#2c2e33;--role-default:#99aab5;--banner-default:var(--accent);--overlay-on-media:#0009;--counter-warn:var(--idle);--avatar-ring:var(--bg-floating)}.avatar{-webkit-user-select:none;user-select:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-weight:600;line-height:1;display:inline-flex;overflow:hidden}.avatar--initial{background:var(--accent);color:var(--text-on-accent)}.avatar__img{object-fit:cover;width:100%;height:100%;display:block}.avatar--16{width:16px;height:16px;font-size:8px;font-weight:700}.avatar--24{width:24px;height:24px;font-size:10px;font-weight:700}.avatar--32{width:32px;height:32px;font-size:13px}.avatar--40{width:40px;height:40px;font-size:16px}.avatar--80{width:80px;height:80px;font-size:32px}.avatar--120{width:120px;height:120px;font-size:48px}.message__avatar,.sidebar__dm-avatar,.sidebar__user-avatar,.userlist__user-avatar,.voice-participant__avatar{background:0 0;overflow:visible}.profile-trigger{text-align:left;font:inherit;color:inherit;padding:0}.profile-trigger.message__avatar,.profile-trigger.sidebar__user-avatar,.profile-trigger.sidebar__dm-avatar,.profile-trigger.voice-participant__avatar{border-radius:50%}.profile-trigger.message__author{font-size:var(--msg-font-size,16px);line-height:var(--msg-line-height,22px);color:var(--text-heading);font-weight:600}.profile-trigger.message__author:hover{text-decoration:underline}.profile-trigger.userlist__user{cursor:pointer;width:100%}.sidebar__dm-item{position:relative}.sidebar__dm-item .sidebar__dm{padding-left:52px}.profile-trigger.sidebar__dm-avatar{z-index:1;position:absolute;top:50%;left:16px;transform:translateY(-50%)}.sidebar__dm:hover+.sidebar__dm-avatar .sidebar__dm-online{border-color:var(--bg-hover)}.sidebar__dm--active+.sidebar__dm-avatar .sidebar__dm-online{border-color:var(--bg-active)}.sidebar__voice-member .avatar{margin-right:0}.dm-modal__user-handle{color:var(--text-muted);font-weight:400}.join-server__avatar{width:40px;height:40px;font-size:16px}.profile-btn{border-radius:var(--radius-sm);background:var(--bg-active);min-height:38px;color:var(--text-heading);white-space:nowrap;justify-content:center;align-items:center;padding:0 16px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .1s;display:inline-flex}.profile-btn:hover:not(:disabled){background:var(--border-strong)}.profile-btn--primary{background:var(--accent);color:var(--text-on-accent)}.profile-btn--primary:hover:not(:disabled){background:var(--accent-hover)}.profile-btn--danger{background:var(--danger);color:var(--text-on-accent)}.profile-btn--danger:hover:not(:disabled){background:var(--danger);filter:brightness(1.1)}.profile-btn:disabled{opacity:.5;cursor:not-allowed}.profile-link{min-height:38px;color:var(--text-heading);padding:0 8px;font-size:14px;font-weight:500}.profile-link:hover:not(:disabled){text-decoration:underline}.profile-link--danger{color:var(--danger-text)}.profile-popover{z-index:80;background:var(--bg-floating);border-radius:12px;width:320px;max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);position:fixed;overflow-y:auto;box-shadow:0 8px 24px #0006}.profile-popover:focus,.profile-modal__card:focus,.profile-edit__card:focus,.profile-confirm__card:focus{outline:none}.profile-popover__error{color:var(--danger-text);margin:0 16px 16px;font-size:13px}.profile-card{position:relative}.profile-card--pending{min-height:120px}.profile-banner{background:var(--banner-default);border-radius:12px 12px 0 0;height:60px;position:relative;overflow:hidden}.profile-banner--image,.profile-banner--full{height:120px}.profile-banner--full.profile-banner--image{height:212px}.profile-banner--edit{border-radius:var(--radius-md);height:80px;margin-bottom:8px}.profile-banner__img{object-fit:cover;width:100%;height:100%;display:block}.profile-banner__btns{gap:8px;display:flex;position:absolute;top:12px;right:12px}.profile-banner__btn{background:var(--overlay-on-media);width:32px;height:32px;color:var(--text-on-accent);border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.profile-card .profile-banner__btn{position:absolute;top:8px;right:8px}.profile-banner__btn:hover{background:#000000bf}.profile-card__avatar,.profile-modal__avatar{line-height:0;display:flex}.profile-card__avatar{box-shadow:0 0 0 6px var(--avatar-ring);background:var(--avatar-ring);border-radius:50%;position:absolute;top:20px;left:16px}.profile-banner--image+.profile-card__avatar{top:80px}.profile-card__body{padding:48px 16px 16px}.profile-name{min-width:0}.profile-name__display{color:var(--text-heading);white-space:nowrap;text-overflow:ellipsis;font-size:20px;font-weight:700;line-height:26px;overflow:hidden}.profile-name__username{color:var(--text-secondary);white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}.profile-name--full .profile-name__display{font-size:24px;line-height:30px}.profile-name--full .profile-name__username{font-size:16px;line-height:22px}.profile-info{background:var(--profile-section);border-radius:var(--radius-md);flex-direction:column;gap:12px;margin-top:12px;padding:12px;display:flex}.profile-info__title{color:var(--text-muted);margin-bottom:4px;font-size:12px;font-weight:700;line-height:16px}.profile-info__bio{color:var(--text-primary);white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:20px}.profile-info__bio--clamp{-webkit-line-clamp:6;line-clamp:6;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.profile-info__more{color:var(--accent-text);margin-top:4px;padding:0;font-size:12px;font-weight:600}.profile-info__more:hover{text-decoration:underline}.profile-info__date{color:var(--text-secondary);align-items:center;gap:8px;font-size:14px;line-height:20px;display:flex}.profile-info__date+.profile-info__date{margin-top:4px}.profile-info__mark{background:var(--bg-active);width:16px;height:16px;color:var(--text-heading);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:9px;font-weight:700;display:inline-flex}.profile-info__mark--brand{background:var(--accent);color:var(--text-on-accent);border-radius:4px}.role-chips{flex-wrap:wrap;gap:4px;list-style:none;display:flex}.role-chip{background:var(--role-chip);height:24px;color:var(--text-primary);white-space:nowrap;border-radius:4px;align-items:center;gap:6px;padding:0 8px;font-size:12px;font-weight:500;display:inline-flex}.role-chip__dot{border-radius:50%;flex-shrink:0;width:12px;height:12px}.role-chip--more{color:var(--text-muted)}.role-chip--more:hover{color:var(--text-heading)}.profile-card__actions{gap:8px;margin-top:12px;display:flex}.profile-card__actions .profile-btn--primary{flex:1}.profile-card--error{padding:24px 16px 16px}.profile-card__error{color:var(--danger-text);font-size:14px}.profile-skeleton__banner{background:var(--bg-active);border-radius:12px 12px 0 0;height:60px}.profile-skeleton__avatar{background:var(--bg-hover);width:80px;height:80px;box-shadow:0 0 0 6px var(--avatar-ring);border-radius:50%;position:absolute;top:20px;left:16px}.profile-skeleton__body{flex-direction:column;gap:8px;padding:48px 16px 16px;display:flex}.profile-skeleton__line,.profile-skeleton__box{background:var(--bg-hover);border-radius:4px;width:50%;height:14px}.profile-skeleton__line--wide{width:70%;height:20px}.profile-skeleton__box{border-radius:var(--radius-md);width:100%;height:72px}.profile-skeleton__banner,.profile-skeleton__avatar,.profile-skeleton__line,.profile-skeleton__box{animation:1.2s ease-in-out infinite profile-pulse}@keyframes profile-pulse{50%{opacity:.5}}.profile-modal{z-index:90;background:#000000b3;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.profile-modal__card{background:var(--bg-floating);border-radius:12px;flex-direction:column;width:600px;max-width:calc(100vw - 32px);max-height:85vh;display:flex;position:relative;overflow:hidden;box-shadow:0 8px 24px #0006}.profile-modal__grab{flex-shrink:0;position:relative}.profile-modal__handle{display:none}.profile-modal__avatar{box-shadow:0 0 0 8px var(--avatar-ring);background:var(--avatar-ring);border-radius:50%;position:absolute;top:60px;left:24px}:is(.profile-banner--image~.profile-modal__avatar,.profile-modal__grab:has(.profile-banner--image)+.profile-modal__avatar){top:152px}.profile-modal__head{flex-shrink:0;justify-content:space-between;align-items:flex-end;gap:16px;padding:72px 24px 16px;display:flex;position:relative}.profile-modal__head .profile-name{flex:1}.profile-modal__actions{gap:8px;display:flex;position:absolute;top:16px;right:24px}.profile-modal__state{flex-direction:column;align-items:flex-start;gap:12px;padding:24px;display:flex}.profile-modal__loading{color:var(--text-muted);font-size:14px}.profile-modal>.profile-modal__card>.profile-popover__error{margin:0 24px 8px}.profile-tabs{border-bottom:1px solid var(--border-subtle);flex-shrink:0;gap:24px;padding:0 24px;display:flex}.profile-tabs__tab{color:var(--text-secondary);border-bottom:2px solid #0000;margin-bottom:-1px;padding:12px 0;font-size:14px;font-weight:600}.profile-tabs__tab:hover{color:var(--text-primary)}.profile-tabs__tab[aria-selected=true]{color:var(--text-heading);border-bottom-color:var(--accent)}.profile-modal__panel{flex:1;min-height:0;padding:16px 24px 24px;overflow-y:auto}.profile-modal__panel:focus:not(:focus-visible){outline:none}.profile-modal__panel .profile-info{margin-top:0}.profile-mutual{list-style:none}.profile-mutual__row{text-align:left;border-radius:4px;align-items:center;gap:12px;width:100%;height:48px;padding:0 8px;display:flex}.profile-mutual__row:hover{background:var(--bg-hover)}.profile-mutual__icon{background:var(--bg-active);width:40px;height:40px;color:var(--text-heading);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:16px;font-weight:600;display:inline-flex}.profile-mutual__name{color:var(--text-heading);white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:600;overflow:hidden}.profile-mutual__empty{color:var(--text-muted);font-size:14px}.profile-edit{z-index:95}.profile-edit__card{background:var(--bg-floating);border-radius:12px;flex-direction:column;width:880px;max-width:calc(100vw - 32px);max-height:90vh;display:flex;overflow:hidden;box-shadow:0 8px 24px #0006}.profile-edit__header{border-bottom:1px solid var(--border-subtle);flex-shrink:0;padding:16px 24px}.profile-edit__title{color:var(--text-heading);font-size:20px;font-weight:700;line-height:26px}.profile-edit__state{padding:24px}.profile-edit__layout{flex:1;grid-template-columns:minmax(0,1fr) 320px;grid-template-areas:"form preview";align-items:start;gap:24px;min-height:0;padding:24px;display:grid;overflow-y:auto}.profile-edit__form{flex-direction:column;grid-area:form;gap:20px;min-width:0;display:flex}.profile-edit__preview{background:var(--bg-elevated);border-radius:12px;grid-area:preview;position:sticky;top:0}.profile-edit__preview .profile-card{background:var(--bg-elevated);--avatar-ring:var(--bg-elevated);border-radius:12px}.profile-edit__preview-title{color:var(--text-muted);cursor:pointer;padding:12px 16px 8px;font-size:12px;font-weight:700;list-style:none}.profile-edit__preview-title::-webkit-details-marker{display:none}.profile-field{flex-direction:column;gap:8px;display:flex}.profile-field__label{color:var(--text-secondary);text-transform:uppercase;font-size:12px;font-weight:700;line-height:16px}.profile-field__input{border-radius:var(--radius-sm);background:var(--bg-input);min-height:40px;color:var(--text-primary);padding:10px 12px;font-size:14px;line-height:20px}.profile-field__input:focus-visible{outline:2px solid var(--focus-ring);outline-offset:0}.profile-field__textarea{resize:vertical;min-height:96px}.profile-field__row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.profile-field__help{color:var(--text-muted);font-size:12px}.profile-field__counter{color:var(--text-muted);align-self:flex-end;font-size:12px}.profile-field__counter--warn{color:var(--counter-warn)}.profile-field__counter--max{color:var(--danger-text)}.color-swatches{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.color-swatch{width:32px;height:32px;color:var(--text-on-accent);border-radius:50%;justify-content:center;align-items:center;font-size:14px;font-weight:700;display:inline-flex;position:relative}.color-swatch[aria-checked=true],.color-swatch--checked{box-shadow:0 0 0 2px var(--bg-floating), 0 0 0 4px var(--focus-ring)}.color-swatch--custom{cursor:pointer;background:conic-gradient(#d83c3e,#c99a1a,#23a55a,#3b82c4,#8a52d6,#d83c3e);overflow:hidden}.color-swatch--custom input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.color-swatch--custom:focus-within{outline:2px solid var(--focus-ring);outline-offset:2px}.color-swatch__hex{font-family:var(--font-mono);color:var(--text-secondary);font-size:12px}.profile-edit__footer{background:var(--bg-elevated);flex-shrink:0;justify-content:flex-end;align-items:center;gap:12px;padding:16px;display:flex}.profile-edit__error{color:var(--danger-text);margin-right:auto;font-size:14px}.profile-confirm{z-index:100}.profile-confirm__card{background:var(--bg-floating);border-radius:12px;width:400px;max-width:calc(100vw - 32px);padding:24px;box-shadow:0 8px 24px #0006}.profile-confirm__title{color:var(--text-heading);font-size:18px;font-weight:700;line-height:24px}.profile-confirm__actions{justify-content:flex-end;gap:8px;margin-top:20px;display:flex}.app-toast-region{z-index:110;pointer-events:none;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.app-toast{border-radius:var(--radius-md);background:var(--bg-floating);color:var(--text-heading);padding:10px 16px;font-size:14px;font-weight:500;box-shadow:0 8px 24px #0006}@media (width<=899px){.profile-edit__layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"preview""form"}.profile-edit__preview{width:100%;max-width:320px;position:static}}@media (width<=767px){.profile-modal:not(.profile-edit):not(.profile-confirm){align-items:flex-end;padding:0}.profile-modal:not(.profile-edit):not(.profile-confirm) .profile-modal__card{width:100%;max-width:none;max-height:90vh;padding-bottom:env(safe-area-inset-bottom,0px);border-radius:16px 16px 0 0}.profile-modal__handle{z-index:2;background:var(--border-strong);border-radius:2px;width:32px;height:4px;margin-left:-16px;display:block;position:absolute;top:8px;left:50%}.profile-banner--full,.profile-banner--full.profile-banner--image{border-radius:16px 16px 0 0;height:120px}.profile-modal__avatar{box-shadow:0 0 0 6px var(--avatar-ring);top:80px;left:16px}.profile-modal__grab:has(.profile-banner--image)+.profile-modal__avatar{top:80px}.profile-modal__avatar .avatar--120{width:80px;height:80px;font-size:32px}.profile-modal__head{padding:48px 16px 12px}.profile-modal__actions{z-index:3;padding:12px 16px max(12px, env(safe-area-inset-bottom,0px));background:var(--bg-floating);border-top:1px solid var(--border-subtle);position:fixed;inset:auto 0 0}.profile-modal__actions .profile-btn{flex:1;min-height:44px}.profile-modal__card:has(.profile-modal__actions) .profile-modal__panel{padding-bottom:88px}.profile-tabs{padding:0 16px}.profile-tabs__tab,.profile-banner__btn{min-width:44px;min-height:44px}.profile-modal__panel{padding:16px}.profile-edit{padding:0}.profile-edit__card{border-radius:0;width:100%;max-width:none;height:100%;max-height:none}.profile-edit__layout{padding:16px}.profile-edit__preview{max-width:none}.profile-edit__footer{padding:12px 16px max(12px, env(safe-area-inset-bottom,0px))}.profile-edit__footer .profile-btn,.profile-edit__footer .profile-link,.profile-field .profile-btn{min-height:44px}}.screen-picker{z-index:90;background:#000000b3;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.screen-picker__card{background:var(--bg-elevated);border-radius:12px;flex-direction:column;width:clamp(720px,70vw,880px);max-width:calc(100vw - 32px);max-height:85vh;display:flex;overflow:hidden;box-shadow:0 8px 24px #0006}.screen-picker__card:focus{outline:none}.screen-picker__header{flex-shrink:0;justify-content:space-between;align-items:center;padding:16px 16px 8px 24px;display:flex}.screen-picker__title{color:var(--text-heading);font-size:20px;font-weight:700;line-height:26px}.screen-picker__close{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--text-secondary);font-size:22px;line-height:1}.screen-picker__close:hover{background:var(--bg-hover);color:var(--text-heading)}.screen-picker__error{border-radius:var(--radius-sm);background:var(--accent-coral-muted);color:var(--danger-text);margin:0 24px 8px;padding:10px 12px;font-size:14px;line-height:20px}.screen-picker__tabs{border-bottom:1px solid var(--border-subtle);flex-shrink:0;gap:24px;padding:0 24px;display:flex}.screen-picker__tab{color:var(--text-secondary);border-bottom:2px solid #0000;margin-bottom:-1px;padding:12px 0;font-size:14px;font-weight:600}.screen-picker__tab:hover{color:var(--text-primary)}.screen-picker__tab[aria-selected=true]{color:var(--text-heading);border-bottom-color:var(--accent)}.screen-picker__panel{flex:1;min-height:240px;padding:16px 24px;overflow-y:auto}.screen-picker__state{min-height:200px;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;font-size:14px;display:flex}.screen-picker__hint{color:var(--text-muted);margin-top:12px;font-size:12px}.screen-picker__pending{color:var(--text-muted);margin:0 auto 0 0;font-size:13px}.screen-picker__grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;list-style:none;display:grid}.screen-source{background:var(--bg-floating);cursor:pointer;border-radius:12px;flex-direction:column;gap:8px;padding:8px;transition:background-color .1s,box-shadow .1s;display:flex;box-shadow:0 0 0 2px #0000}.screen-source:hover{background:var(--bg-hover)}.screen-source:focus{outline:none}.screen-source:focus-visible{box-shadow:0 0 0 2px var(--focus-ring)}.screen-source--selected,.screen-source--selected:focus-visible{box-shadow:0 0 0 2px var(--accent)}.screen-source__thumb{aspect-ratio:16/9;background:var(--bg-rail);border-radius:8px;justify-content:center;align-items:center;display:flex;overflow:hidden}.screen-source__thumb img{object-fit:contain;width:100%;height:100%;display:block}.screen-source__skeleton{background:var(--bg-hover);width:100%;height:100%;animation:1.2s ease-in-out infinite profile-pulse}.screen-source__nothumb{border:2px solid var(--text-muted);opacity:.6;border-radius:3px;width:32px;height:20px}.screen-source__label{min-width:0;color:var(--text-primary);align-items:center;gap:6px;font-size:14px;font-weight:500;display:flex}.screen-source__icon{width:16px;height:16px;color:var(--text-secondary);flex-shrink:0}.screen-source__name{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.screen-picker__settings{flex-direction:column;flex:1;gap:16px;padding:8px 24px 16px;display:flex;overflow-y:auto}.screen-picker__chosen{background:var(--bg-floating);border-radius:12px;align-items:center;gap:12px;padding:8px;display:flex}.screen-picker__chosen-thumb{flex-shrink:0;width:160px}.screen-picker__chosen-name{min-width:0;color:var(--text-heading);text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:600;overflow:hidden}.screen-picker__field{flex-direction:column;gap:8px;display:flex}.screen-picker__label{color:var(--text-secondary);text-transform:uppercase;font-size:12px;font-weight:700;line-height:16px}.screen-picker__choices{flex-wrap:wrap;gap:8px;display:flex}.screen-picker__choice{border-radius:var(--radius-sm);background:var(--bg-floating);min-height:36px;color:var(--text-secondary);box-shadow:inset 0 0 0 1px var(--border-subtle);padding:0 14px;font-size:14px;font-weight:500}.screen-picker__choice:hover{background:var(--bg-hover);color:var(--text-primary)}.screen-picker__choice[aria-checked=true]{background:var(--accent);color:var(--text-on-accent);box-shadow:none}.screen-picker__switch{color:var(--text-primary);cursor:pointer;align-items:center;gap:10px;font-size:14px;display:inline-flex}.screen-picker__switch input{width:18px;height:18px;accent-color:var(--accent)}.screen-picker__footer{background:var(--bg-rail);flex-shrink:0;justify-content:flex-end;align-items:center;gap:12px;padding:16px 24px;display:flex}@media (width<=767px){.screen-picker{padding:0}.screen-picker__card{border-radius:0;width:100%;max-width:none;height:100%;max-height:none}.screen-picker__grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.screen-source__skeleton{animation:none}}.server-members{max-width:520px}.server-members__tabs{border-bottom:1px solid var(--bg-active);gap:4px;margin:16px 16px 0;display:flex}.server-members__tab{min-height:36px;color:var(--text-muted);border-bottom:2px solid #0000;margin-bottom:-1px;padding:0 12px;font-size:14px;font-weight:600}.server-members__tab:hover{color:var(--text-heading)}.server-members__tab--active{color:var(--text-heading);border-bottom-color:var(--accent)}.server-members__panel{flex-direction:column;flex:1;min-height:0;display:flex}.server-members__notice{border-radius:var(--radius-sm);background:var(--bg-elevated);color:var(--online-text);margin:12px 16px 0;padding:8px 12px;font-size:14px}.server-members__list{flex-direction:column;flex:1;gap:4px;padding:0 16px 16px;list-style:none;display:flex;overflow-y:auto}.server-members__item{border-radius:var(--radius-md);flex-direction:column;gap:8px;padding:8px;display:flex}.server-members__item:hover{background:var(--bg-hover)}.server-members__row{align-items:center;gap:12px;display:flex}.server-members__who{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.server-members__name{color:var(--text-heading);overflow-wrap:anywhere;font-size:14px;font-weight:600}.server-members__muted{color:var(--text-muted);overflow-wrap:anywhere;font-size:12px;font-weight:400}.server-members__reason{color:var(--text-secondary);overflow-wrap:anywhere;font-size:12px}.server-members__roles{flex-wrap:wrap;gap:4px;margin-top:2px;display:flex}.server-members__owner{background:var(--accent-muted);height:24px;color:var(--accent-text);border-radius:4px;align-items:center;padding:0 8px;font-size:12px;font-weight:600;display:inline-flex}.server-members__actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;gap:8px;display:flex}.server-members__confirm{border-radius:var(--radius-sm);background:var(--bg-elevated);flex-direction:column;gap:8px;padding:8px;display:flex}.server-members__confirm-text{color:var(--text-primary);font-size:14px}.server-members__error{margin:0}.server-members .dm-modal__search{margin:12px 16px 8px}.account-settings{max-width:480px}.account-settings__body{flex-direction:column;flex:1;gap:16px;min-height:0;padding:16px;display:flex;overflow-y:auto}.account-settings__section{border-radius:var(--radius-md);background:var(--bg-elevated);flex-direction:column;gap:12px;padding:16px;display:flex}.account-settings__section--danger{border-left:4px solid var(--danger)}.account-settings__title{color:var(--text-heading);font-size:16px;font-weight:700;line-height:20px}.account-settings__hint,.account-settings__rule{color:var(--text-secondary);font-size:14px;line-height:20px}.account-settings__rule{color:var(--text-muted);font-size:12px;line-height:16px}.account-settings__username{font-family:var(--font-mono);color:var(--text-heading)}.account-settings__form{flex-direction:column;gap:12px;display:flex}.account-settings__form .auth-error{margin-bottom:0}.account-settings__actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.account-settings__success{border-radius:var(--radius-sm);background:var(--bg-base);color:var(--online-text);padding:10px 12px;font-size:14px}.account-settings__owned{color:var(--text-primary);margin:8px 0;padding-left:20px}.account-settings__toggle-row{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.account-settings__toggle-label{color:var(--text-heading);font-size:14px;font-weight:600;line-height:20px}.account-switch{flex-shrink:0;width:40px;height:24px;margin-top:2px;display:inline-block;position:relative}.account-switch__input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.account-switch__input:disabled{cursor:not-allowed}.account-switch__track{background:var(--offline);pointer-events:none;border-radius:12px;transition:background-color .15s;position:absolute;inset:0}.account-switch__thumb{background:var(--text-on-accent);pointer-events:none;border-radius:50%;width:18px;height:18px;transition:transform .15s;position:absolute;top:3px;left:3px}.account-switch__input:checked~.account-switch__track{background:var(--accent-mint)}.account-switch__input:checked~.account-switch__thumb{transform:translate(16px)}.account-switch__input:disabled~.account-switch__track,.account-switch__input:disabled~.account-switch__thumb{opacity:.5}.account-switch__input:focus-visible~.account-switch__track{outline:2px solid var(--focus-ring);outline-offset:2px}@media (prefers-reduced-motion:reduce){.account-switch__track,.account-switch__thumb{transition:none}}.voice-room__btn--blocked-tone[aria-disabled=true]{opacity:1}.sidebar__voice-count--full{background:var(--accent-coral-muted);color:var(--danger-text)}.sidebar__voice-more,.voice-participant__more{border-radius:var(--radius-sm);width:24px;height:24px;color:var(--text-secondary);opacity:0;flex-shrink:0;justify-content:center;align-items:center;font-size:16px;line-height:1;transition:opacity .1s,background-color .1s;display:inline-flex}.sidebar__voice-member:hover .sidebar__voice-more,.sidebar__voice-more:focus-visible,.voice-participant:hover .voice-participant__more,.voice-participant__more:focus-visible{opacity:1}.sidebar__voice-more:hover{background:var(--bg-hover);color:var(--text-heading)}.voice-participant__more{z-index:3;color:var(--text-heading);background:#0000008c;position:absolute;top:6px;right:6px}.voice-participant__more:hover{background:#000000bf}@media (hover:none){.sidebar__voice-more,.voice-participant__more{opacity:1}}.sidebar__voice-member--menu{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.voice-menu{z-index:120;border-radius:var(--radius-md);background:var(--bg-floating);width:240px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);color:var(--text-primary);padding:6px;position:fixed;top:0;left:0;overflow-y:auto;box-shadow:0 8px 24px #00000073}.voice-menu:focus{outline:none}.voice-menu__title{color:var(--text-heading);white-space:nowrap;text-overflow:ellipsis;padding:6px 8px 4px;font-size:14px;font-weight:600;overflow:hidden}.voice-menu__group{border-top:1px solid var(--border-strong);flex-direction:column;gap:2px;padding:6px 0;display:flex}.voice-menu__title+.voice-menu__group{border-top:none}.voice-menu__label{color:var(--text-muted);padding:2px 8px;font-size:12px;font-weight:600}.voice-menu__value{color:var(--text-secondary);font-weight:500}.voice-menu__range{accent-color:var(--accent);margin:4px 8px}.voice-menu__check{border-radius:var(--radius-sm);cursor:pointer;align-items:center;gap:8px;min-height:32px;padding:0 8px;font-size:14px;display:flex}.voice-menu__check:hover{background:var(--bg-hover)}.voice-menu__item{border-radius:var(--radius-sm);text-align:left;min-height:32px;color:var(--text-primary);padding:0 8px;font-size:14px}.voice-menu__item:hover:not(:disabled){background:var(--accent);color:var(--text-on-accent)}.voice-menu__item--danger{color:var(--danger-text)}.voice-menu__item--danger:hover:not(:disabled){background:var(--danger);color:var(--text-on-accent)}.voice-menu__item:disabled{opacity:.5;cursor:progress}.voice-settings__grid{gap:8px;display:grid}.voice-settings__select{border-radius:var(--radius-sm);background:var(--bg-input);width:100%;min-height:36px;color:var(--text-primary);border:1px solid #0000;padding:0 8px}.voice-settings__select:hover{border-color:var(--border-strong)}.voice-settings__meter-row{align-items:center;gap:12px;margin:8px 0;display:flex}.voice-settings__meter{background:var(--bg-input);border-radius:4px;flex:1;height:8px;overflow:hidden}.voice-settings__meter-fill{background:var(--online);height:100%;transition:width 60ms linear;display:block}.voice-settings__fieldset{border:none;flex-direction:column;gap:6px;margin:8px 0 0;padding:0;display:flex}.voice-settings__radio,.voice-settings__check{min-height:28px;color:var(--text-primary);cursor:pointer;align-items:center;gap:8px;font-size:14px;display:flex}.voice-settings__radio input,.voice-settings__check input,.voice-menu__check input{accent-color:var(--accent)}.voice-settings__ptt{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.voice-settings__ptt-key{min-width:120px;color:var(--text-secondary);flex:1;font-size:14px}.voice-settings__volume-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.voice-settings__volume-row input[type=range]{min-width:120px;accent-color:var(--accent);flex:1}.voice-settings__value{min-width:40px;color:var(--text-secondary);font-size:13px}.voice-settings__sounds{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:0 12px;display:grid}@media (prefers-reduced-motion:reduce){.voice-settings__meter-fill,.sidebar__voice-more,.voice-participant__more{transition:none}}.message__content{white-space:pre-wrap}.message--mentioned{background:var(--mention-bg);box-shadow:inset 2px 0 0 var(--mention-border)}.message--mentioned:hover{background:var(--mention-bg-hover)}.md-code{font-family:var(--font-mono);border-radius:var(--radius-sm);background:var(--bg-floating);color:var(--text-primary);padding:1px 4px;font-size:.85em}.md-codeblock{max-width:100%;margin:4px 0;position:relative}.md-codeblock pre{border-radius:var(--radius-sm);border:1px solid var(--border-subtle);background:var(--bg-floating);font-family:var(--font-mono);color:var(--text-primary);white-space:pre-wrap;margin:0;padding:8px 88px 8px 12px;font-size:14px;line-height:20px;overflow-x:auto}.md-codeblock__copy{border-radius:var(--radius-sm);background:var(--bg-active);min-height:24px;color:var(--text-heading);padding:0 8px;font-size:12px;font-weight:600;position:absolute;top:6px;right:6px}.md-codeblock__copy:hover{background:var(--border-strong)}.md-link{color:var(--accent-text);text-decoration:none}.md-link:hover{text-decoration:underline}.md-mention{background:var(--accent-muted);color:var(--accent-text);font:inherit;border-radius:3px;padding:0 2px;font-weight:500;display:inline}button.md-mention,.profile-trigger.md-mention{cursor:pointer}button.md-mention:hover,.profile-trigger.md-mention:hover{background:var(--accent);color:var(--text-on-accent)}.md-mention__dot{vertical-align:1px;border-radius:50%;width:8px;height:8px;margin-right:4px;display:inline-block}.md-spoiler{border-radius:var(--radius-sm);background:var(--bg-floating);cursor:pointer}.md-spoiler .md-spoiler__content{opacity:0}.md-spoiler:hover{background:var(--bg-active)}.md-spoiler--open{background:var(--bg-hover);cursor:auto}.md-heading{color:var(--text-heading);margin:4px 0 2px;font-weight:700}.md-heading--1{font-size:24px;line-height:30px}.md-heading--2{font-size:20px;line-height:26px}.md-heading--3{font-size:16px;line-height:22px}.md-subtext{color:var(--text-muted);font-size:13px;line-height:18px}.md-quote{border-left:4px solid var(--border-strong);margin:2px 0;padding:0 0 0 12px}.md-list{white-space:normal;margin:2px 0;padding-left:24px}.md-list li{white-space:pre-wrap}.md-link-confirm__href{border-radius:var(--radius-sm);background:var(--bg-floating);font-family:var(--font-mono);word-break:break-all;color:var(--text-primary);margin-top:8px;padding:8px;font-size:13px;display:block}.message__reply-content .md-code,.reply-bar__content .md-code{font-size:.85em}.mention-suggest{z-index:20;border-radius:var(--radius-md);background:var(--bg-floating);max-height:320px;margin:0;padding:6px;list-style:none;position:absolute;bottom:calc(100% - 4px);left:16px;right:16px;overflow-y:auto;box-shadow:0 8px 24px #00000073}.mention-suggest__item{border-radius:var(--radius-sm);min-height:36px;color:var(--text-primary);cursor:pointer;align-items:center;gap:8px;padding:4px 8px;display:flex}.mention-suggest__item--active{background:var(--bg-active);color:var(--text-heading)}.mention-suggest__icon{text-align:center;width:24px;color:var(--text-muted);font-weight:700}.mention-suggest__label{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:14px;font-weight:600;overflow:hidden}.mention-suggest__sub{color:var(--text-muted);white-space:nowrap;font-size:13px}@media (prefers-reduced-motion:reduce){.md-spoiler .md-spoiler__content{transition:none}}.rail__item--unread:before{height:8px}.rail__item--unread:hover:before{height:20px}.rail__badge{border:3px solid var(--bg-rail);box-sizing:content-box;background:var(--danger);min-width:16px;height:16px;color:var(--text-on-accent);text-align:center;pointer-events:none;border-radius:8px;padding:0 4px;font-size:11px;font-weight:700;line-height:16px;position:absolute;bottom:-2px;right:6px}.sidebar__channel-item,.sidebar__dm-item{position:relative}.sidebar__unread-pill{background:var(--text-heading);z-index:1;border-radius:0 4px 4px 0;width:4px;height:8px;position:absolute;top:50%;left:0;transform:translateY(-50%)}.sidebar__channel--unread,.sidebar__dm--unread{color:var(--text-heading);font-weight:700}.sidebar__channel--unread .sidebar__channel-hash{color:var(--text-heading)}.sidebar__channel--muted{opacity:.55}.sidebar__channel--muted:hover,.sidebar__channel--muted:focus-visible{opacity:.8}.sidebar__mention-badge{background:var(--danger);min-width:16px;height:16px;color:var(--text-on-accent);text-align:center;border-radius:8px;flex-shrink:0;margin-left:auto;padding:0 5px;font-size:12px;font-weight:700;line-height:16px}.sidebar__dm .sidebar__mention-badge{margin-left:8px}.messages__new-divider{background:var(--danger);height:1px;margin:12px 16px 8px;position:relative}.messages__new-divider-text{border-radius:var(--radius-sm);background:var(--danger);color:var(--text-on-accent);padding:0 4px;font-size:10px;font-weight:700;line-height:14px;position:absolute;top:50%;right:0;transform:translateY(-50%)}.channel-menu{z-index:120;border-radius:var(--radius-md);background:var(--bg-floating);flex-direction:column;gap:2px;min-width:200px;padding:6px;display:flex;position:fixed;top:0;left:0;box-shadow:0 8px 24px #00000073}.channel-menu__note{color:var(--text-muted);padding:4px 8px 2px;font-size:12px;font-weight:600}.channel-menu__item{border-radius:var(--radius-sm);text-align:left;min-height:32px;color:var(--text-primary);padding:0 8px;font-size:14px}.channel-menu__item:hover,.channel-menu__item:focus-visible{background:var(--accent);color:var(--text-on-accent)}.notify-settings .create-server__body{flex-direction:column;gap:12px;display:flex}@media (prefers-reduced-motion:reduce){.rail__item--unread:before{transition:none}}.chat__topic{white-space:nowrap;text-overflow:ellipsis;text-align:left;border-radius:var(--radius-sm);min-width:0;max-width:420px;padding:2px 4px;overflow:hidden}.chat__topic:hover{color:var(--text-primary)}.chat__topic--open{top:calc(var(--header-height) - 4px);z-index:15;white-space:normal;background:var(--bg-floating);max-width:none;color:var(--text-primary);padding:12px;position:absolute;left:16px;right:16px;box-shadow:0 8px 24px #00000073}.chat__header-tools{flex-shrink:0;align-items:center;gap:8px;margin-left:auto;display:flex}.chat__tool{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--text-muted);justify-content:center;align-items:center;display:inline-flex}.chat__tool:hover,.chat__tool--active{color:var(--text-heading);background:var(--bg-hover)}.chat__search-input{border-radius:var(--radius-sm);background:var(--bg-floating);width:200px;height:28px;color:var(--text-primary);border:1px solid #0000;padding:0 8px;font-size:13px;transition:width .15s}.chat__search-input:focus{border-color:var(--focus-ring);width:260px}.chat__search-input::placeholder{color:var(--text-muted)}@media (width<=767px){.chat__topic{display:none}.chat__search-input,.chat__search-input:focus{width:120px}}.side-panel{top:var(--header-height);z-index:12;background:var(--bg-elevated);border-left:1px solid var(--border-subtle);flex-direction:column;width:380px;max-width:100%;display:flex;position:absolute;bottom:0;right:0;box-shadow:-8px 0 24px #00000040}.side-panel:focus{outline:none}.side-panel__header{border-bottom:1px solid var(--border-subtle);align-items:center;gap:8px;padding:12px 16px;display:flex}.side-panel__title{min-width:0;color:var(--text-heading);white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:16px;font-weight:700;overflow:hidden}.side-panel__status{color:var(--text-muted);padding:8px 16px 0;font-size:13px}.side-panel__body{flex:1;padding:8px;overflow-y:auto}.side-panel__list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.side-panel__item{border-radius:var(--radius-md);background:var(--bg-base);padding:10px 12px}.side-panel__meta{color:var(--text-muted);align-items:center;gap:8px;margin-bottom:4px;font-size:12px;display:flex}.side-panel__author{color:var(--text-heading);font-size:14px;font-weight:600}.side-panel__channel{color:var(--text-secondary)}.side-panel__time{margin-left:auto}.side-panel__content{color:var(--text-primary);white-space:pre-wrap;word-wrap:break-word;max-height:160px;font-size:14px;line-height:20px;overflow:hidden}.side-panel__note{color:var(--text-muted);margin-top:4px;font-size:12px}.side-panel__actions{gap:8px;margin-top:8px;display:flex}.side-panel__more{margin:8px auto;display:block}@media (width<=767px){.side-panel{width:100%}}.messages__present{border-radius:var(--radius-md);background:var(--bg-floating);color:var(--text-secondary);justify-content:space-between;align-items:center;gap:8px;margin:8px 16px;padding:8px 12px;font-size:14px;display:flex;position:sticky;bottom:8px;box-shadow:0 4px 16px #00000059}.reactions{flex-wrap:wrap;gap:4px;margin-top:4px;display:flex}.reactions__wrap{position:relative}.reactions__chip{border-radius:var(--radius-md);background:var(--bg-elevated);height:26px;color:var(--text-secondary);border:1px solid #0000;align-items:center;gap:4px;padding:0 8px;font-size:14px;display:inline-flex}.reactions__chip:hover{border-color:var(--border-strong)}.reactions__chip--me{background:var(--accent-muted);border-color:var(--accent);color:var(--accent-text)}.reactions__emoji{font-size:16px;line-height:1}.reactions__count{font-size:13px;font-weight:600}.reactions__tip{z-index:25;border-radius:var(--radius-sm);background:var(--bg-floating);width:max-content;max-width:260px;color:var(--text-primary);pointer-events:none;padding:6px 8px;font-size:13px;position:absolute;bottom:calc(100% + 6px);left:0;box-shadow:0 4px 16px #0006}.reactions__add{border-radius:var(--radius-md);width:30px;height:26px;color:var(--text-muted);opacity:0;justify-content:center;align-items:center;display:inline-flex}.message:hover .reactions__add,.message:focus-within .reactions__add,.reactions__add:focus-visible{opacity:1}.reactions__add:hover{background:var(--bg-elevated);color:var(--text-heading)}@media (hover:none){.reactions__add{opacity:1}}.input__emoji{border-radius:var(--radius-sm);width:36px;height:36px;color:var(--text-muted);flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.input__emoji:hover{color:var(--text-heading)}.input__slowmode{color:var(--text-secondary);font-size:12px}.message__embeds{flex-direction:column;gap:6px;margin-top:6px;display:flex}.embed{border-radius:var(--radius-sm);border-left:4px solid var(--embed-color,var(--border-strong));background:var(--bg-elevated);white-space:normal;flex-direction:column;gap:4px;max-width:432px;padding:10px 32px 12px 14px;display:flex;position:relative}.embed--image-only{background:0 0;border-left:none;padding:0}.embed__site{color:var(--text-muted);font-size:12px}.embed__title{color:var(--accent-text);font-size:15px;font-weight:600;text-decoration:none}.embed__title:hover{text-decoration:underline}.embed__desc{color:var(--text-secondary);-webkit-line-clamp:4;-webkit-box-orient:vertical;font-size:14px;line-height:18px;display:-webkit-box;overflow:hidden}.embed__image{border-radius:var(--radius-sm);object-fit:contain;width:auto;max-width:100%;height:auto;max-height:300px;margin-top:6px;display:block}.embed__play{border-radius:var(--radius-sm);background:var(--bg-floating);min-height:120px;margin-top:6px;padding:0;display:block;position:relative;overflow:hidden}.embed__play-icon{width:52px;height:52px;color:var(--text-heading);background:#000000b3;border-radius:50%;justify-content:center;align-items:center;margin:auto;font-size:22px;display:flex;position:absolute;inset:0}.embed__video{aspect-ratio:16/9;border-radius:var(--radius-sm);border:0;width:100%;margin-top:6px}.embed__suppress{border-radius:var(--radius-sm);width:24px;height:24px;color:var(--text-muted);opacity:0;font-size:16px;position:absolute;top:4px;right:4px}.message:hover .embed__suppress,.embed__suppress:focus-visible{opacity:1}.embed__suppress:hover{background:var(--bg-hover);color:var(--text-heading)}@media (hover:none){.embed__suppress{opacity:1}}.emoji-picker{z-index:130;border-radius:var(--radius-md);background:var(--bg-floating);flex-direction:column;width:360px;max-width:calc(100vw - 16px);display:flex;position:fixed;top:0;left:0;overflow:hidden;box-shadow:0 8px 32px #00000080}.emoji-picker:focus{outline:none}.emoji-picker__top{gap:8px;padding:8px;display:flex}.emoji-picker__search{border-radius:var(--radius-sm);background:var(--bg-input);min-width:0;height:32px;color:var(--text-primary);border:1px solid #0000;flex:1;padding:0 8px}.emoji-picker__search:focus{border-color:var(--focus-ring)}.emoji-picker__tone{position:relative}.emoji-picker__tone-btn,.emoji-picker__tone-opt{border-radius:var(--radius-sm);width:32px;height:32px;font-size:18px}.emoji-picker__tone-btn:hover,.emoji-picker__tone-opt:hover{background:var(--bg-hover)}.emoji-picker__tones{z-index:2;border-radius:var(--radius-sm);background:var(--bg-elevated);flex-direction:column;padding:4px;display:flex;position:absolute;top:36px;right:0;box-shadow:0 4px 16px #0006}.emoji-picker__tone-opt[aria-checked=true]{background:var(--accent-muted)}.emoji-picker__tabs{border-bottom:1px solid var(--border-subtle);gap:2px;padding:0 8px 6px;display:flex;overflow-x:auto}.emoji-picker__tab{border-radius:var(--radius-sm);flex-shrink:0;width:32px;height:30px;font-size:18px}.emoji-picker__tab:hover{background:var(--bg-hover)}.emoji-picker__scroll{overscroll-behavior:contain;position:relative;overflow-y:auto}.emoji-picker__list{position:relative}.emoji-picker__head,.emoji-picker__row{align-items:center;height:40px;padding:0 8px;display:flex;position:absolute;left:0;right:0}.emoji-picker__head{color:var(--text-muted);font-size:12px;font-weight:700}.emoji-picker__emoji{border-radius:var(--radius-sm);flex-shrink:0;width:40px;height:40px;font-size:24px;line-height:1}.emoji-picker__emoji--active,.emoji-picker__emoji:hover{background:var(--bg-active)}.emoji-picker__empty{text-align:center;color:var(--text-muted);padding:16px;font-size:14px}.emoji-picker__footer{border-top:1px solid var(--border-subtle);min-height:40px;color:var(--text-secondary);align-items:center;gap:8px;padding:4px 12px;font-size:14px;display:flex}.emoji-picker__preview{font-size:24px}.emoji-picker__name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.licenses__summary{cursor:pointer;color:var(--text-primary);font-size:14px}.licenses__text{border-radius:var(--radius-sm);background:var(--bg-floating);max-height:240px;font-family:var(--font-mono);color:var(--text-secondary);white-space:pre-wrap;margin-top:8px;padding:8px;font-size:12px;line-height:16px;overflow:auto}@media (prefers-reduced-motion:reduce){.chat__search-input{transition:none}}.rail__server--icon{background:0 0;padding:0;overflow:hidden}.rail__icon{object-fit:cover;width:100%;height:100%;display:block}.sidebar__banner{background:var(--bg-base);flex-shrink:0;height:96px;overflow:hidden}.sidebar__banner-img{object-fit:cover;width:100%;height:100%;display:block}.sidebar__server--banner{box-shadow:none}.sidebar__server-desc{color:var(--text-muted);flex-shrink:0;margin:0;padding:0 16px 10px;font-size:12px;line-height:16px;box-shadow:0 1px #0000003d}.sidebar__server-desc-text{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.sidebar__section--top{padding-top:8px}.sidebar__channel-gear{z-index:1;border-radius:var(--radius-sm);width:20px;height:20px;color:var(--text-muted);opacity:0;justify-content:center;align-items:center;display:flex;position:absolute;top:8px;right:14px}.sidebar__channel-gear svg{width:16px;height:16px}.sidebar__channel-item:hover>.sidebar__channel-gear,.sidebar__channel-item:focus-within>.sidebar__channel-gear,.sidebar__channel-gear:focus-visible{opacity:1}.sidebar__channel-gear:hover{color:var(--text-heading)}.sidebar__channel-item:hover>.sidebar__channel,.sidebar__channel-item:focus-within>.sidebar__channel{padding-right:32px}.sidebar__channel-item[draggable=true],.sidebar__section[draggable=true]>.sidebar__section-head{cursor:grab}.sidebar__channel-item--dragging,.sidebar__section--dragging{opacity:.45}.sidebar__drop--before:after,.sidebar__drop--after:after{content:"";background:var(--accent);pointer-events:none;border-radius:1px;height:2px;position:absolute;left:8px;right:8px}.sidebar__drop--before:after{top:-1px}.sidebar__drop--after:after{bottom:-1px}.sidebar__section.sidebar__drop--before,.sidebar__section.sidebar__drop--after{position:relative}.sidebar__section.sidebar__drop--into>.sidebar__section-head{background:var(--bg-hover);border-radius:var(--radius-sm);outline:2px dashed var(--accent);outline-offset:-2px}.channel-settings{max-width:460px}.channel-settings__tab{color:var(--text-muted);margin:0 0 12px;font-size:12px;font-weight:700}.channel-settings__types{border:0;flex-direction:column;gap:6px;margin:0 0 12px;padding:0;display:flex}.channel-settings__type{border-radius:var(--radius-sm);background:var(--bg-input);cursor:pointer;align-items:center;gap:10px;padding:10px 12px;display:flex}.channel-settings__type--on{background:var(--bg-active)}.channel-settings__type input{accent-color:var(--accent)}.channel-settings__type-text{flex-direction:column;display:flex}.channel-settings__type-label{color:var(--text-heading);font-size:14px;font-weight:600}.channel-settings__type-hint,.channel-settings__hint{color:var(--text-muted);font-size:12px;line-height:16px}.channel-settings__hint{margin:4px 0 12px}.channel-settings__switch{color:var(--text-secondary);grid-template-columns:auto 1fr;align-items:center;column-gap:8px;margin-bottom:12px;font-size:14px;display:grid}.channel-settings__switch .channel-settings__hint{grid-column:2;margin:0}.channel-settings__topic{resize:vertical;min-height:64px;font-family:inherit}.channel-settings input[type=range]{width:100%;accent-color:var(--accent);margin:4px 0 12px}.channel-settings select{margin-bottom:12px}.channel-settings__delete{background:var(--danger);color:var(--text-on-accent);margin-right:auto}.channel-menu__item[aria-disabled=true]{color:var(--text-muted);cursor:default}.channel-menu__item[aria-disabled=true]:hover{background:0 0}.server-settings{z-index:60;background:var(--bg-base);grid-template-columns:minmax(200px,280px) 1fr;animation:.12s ease-out modal-fade;display:grid;position:fixed;inset:0}.server-settings__nav{background:var(--bg-elevated);padding:48px 12px 24px 24px;overflow-y:auto}.server-settings__server{color:var(--text-muted);overflow-wrap:anywhere;margin:0 0 12px;padding:0 10px;font-size:12px;font-weight:700;line-height:16px}.server-settings__menu{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.server-settings__item{border-radius:var(--radius-sm);text-align:left;width:100%;min-height:34px;color:var(--text-secondary);padding:6px 10px;font-size:15px;font-weight:500}.server-settings__item:hover{background:var(--bg-hover);color:var(--text-primary)}.server-settings__item--active,.server-settings__item--active:hover{background:var(--bg-active);color:var(--text-heading)}.server-settings__item--danger{color:var(--danger-text)}.server-settings__content{flex-direction:column;min-width:0;min-height:0;display:flex}.server-settings__head{align-items:center;gap:8px;width:100%;max-width:900px;padding:48px 40px 16px;display:flex}.server-settings__title{color:var(--text-heading);flex:1;margin:0;font-size:20px;font-weight:700;line-height:24px}.server-settings__back{width:36px;height:36px;color:var(--text-secondary);border-radius:50%;justify-content:center;align-items:center;display:none}.server-settings__close{border:2px solid var(--border-strong);width:36px;height:36px;color:var(--text-secondary);border-radius:50%;font-size:22px;line-height:1}.server-settings__close:hover,.server-settings__back:hover{color:var(--text-heading);background:var(--bg-hover)}.server-settings__body{flex:1;min-height:0;padding:0 40px 40px;overflow-y:auto}.server-settings__body>*{max-width:900px}@media (width<=767px){.server-settings{grid-template-columns:1fr}.server-settings--nav .server-settings__content,.server-settings--content .server-settings__nav{display:none}.server-settings__nav{padding:24px 16px}.server-settings__head{border-bottom:1px solid var(--border-subtle);padding:12px 16px}.server-settings__back{display:inline-flex}.server-settings__body{padding:16px}}.settings-section{flex-direction:column;gap:16px;display:flex}.settings-card{border-radius:var(--radius-md);background:var(--bg-elevated);flex-direction:column;gap:6px;padding:16px;display:flex}.settings-card--danger{border:1px solid var(--danger)}.settings-card__title{color:var(--text-heading);margin:0 0 4px;font-size:16px;font-weight:700}.settings-subtitle{color:var(--text-muted);margin:0 0 8px;font-size:12px;font-weight:700}.settings-hint{color:var(--text-muted);margin:0;font-size:12px;line-height:16px}.settings-note{border-radius:var(--radius-sm);background:var(--bg-input);color:var(--text-secondary);margin:0;padding:8px 12px;font-size:13px;line-height:18px}.settings-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:8px;display:flex}.settings-actions--sticky{background:var(--bg-base);padding:12px 0;position:sticky;bottom:0}.settings-textarea{resize:vertical;min-height:72px;font-family:inherit}.settings-check{color:var(--text-primary);cursor:pointer;align-items:flex-start;gap:10px;padding:6px 0;font-size:14px;display:flex}.settings-check input{accent-color:var(--accent);margin-top:3px}.settings-check>span{flex-direction:column;gap:2px;display:flex}.settings-images{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;display:grid}.settings-image__preview{background:var(--bg-base);justify-content:center;align-items:center;display:flex;overflow:hidden}.settings-image__preview img{object-fit:cover;width:100%;height:100%;display:block}.settings-image__preview--icon{border-radius:50%;width:96px;height:96px}.settings-image__preview--banner{aspect-ratio:2.5;border-radius:var(--radius-sm);width:100%}.settings-image__empty{color:var(--text-muted);font-size:12px}.settings-image__actions{gap:8px;margin-top:8px;display:flex}.cropper{flex-direction:column;gap:12px;max-width:100%;display:flex}.cropper__frame{background:var(--bg-base);border-radius:var(--radius-sm);cursor:grab;touch-action:none;outline:2px solid var(--border-strong);max-width:100%;position:relative;overflow:hidden}.cropper__frame--round{border-radius:50%}.cropper__frame:focus-visible{outline:2px solid var(--focus-ring)}.cropper__img{-webkit-user-select:none;user-select:none;pointer-events:none;max-width:none;position:absolute}.cropper__zoom{color:var(--text-secondary);align-items:center;gap:10px;font-size:13px;display:flex}.cropper__zoom input{max-width:240px;accent-color:var(--accent);flex:1}.cropper__actions{gap:8px;display:flex}.roles-section__layout{grid-template-columns:240px 1fr;align-items:start;gap:24px;display:grid}.roles-section__list-col{flex-direction:column;gap:8px;display:flex}.roles-list{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.roles-list__item{position:relative}.roles-list__item[draggable=true]{cursor:grab}.roles-list__item--dragging{opacity:.45}.roles-list__item--drop-before:after,.roles-list__item--drop-after:after{content:"";background:var(--accent);pointer-events:none;height:2px;position:absolute;left:4px;right:4px}.roles-list__item--drop-before:after{top:-1px}.roles-list__item--drop-after:after{bottom:-1px}.roles-list__btn{border-radius:var(--radius-sm);text-align:left;width:100%;min-height:34px;color:var(--text-secondary);align-items:center;gap:8px;padding:6px 10px;font-size:14px;display:flex}.roles-list__btn:hover{background:var(--bg-hover);color:var(--text-primary)}.roles-list__item--active .roles-list__btn{background:var(--bg-active);color:var(--text-heading)}.roles-list__name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.roles-list__count{color:var(--text-muted);font-size:12px}.roles-list__lock{color:var(--text-muted);display:inline-flex}.role-editor{flex-direction:column;gap:16px;display:flex}.role-editor__head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.role-editor__move{gap:6px;display:flex}.role-editor__colors{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.role-swatch{border:2px solid #0000;border-radius:50%;width:28px;height:28px;padding:0}.role-swatch--active{border-color:var(--text-heading);box-shadow:0 0 0 2px var(--bg-elevated) inset}.role-editor__add{gap:8px;margin-bottom:8px;display:flex}.role-editor__members{margin:0;padding:0;list-style:none}.role-editor__member{border-bottom:1px solid var(--border-subtle);color:var(--text-primary);justify-content:space-between;align-items:center;gap:8px;padding:6px 0;font-size:14px;display:flex}.perm-grid,.perm-tri{margin:0;padding:0;list-style:none}.perm-grid__item,.perm-tri__item{border-bottom:1px solid var(--border-subtle)}.perm-grid__row{cursor:pointer;align-items:center;gap:16px;padding:10px 0;display:flex}.perm-grid__text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.perm-grid__label{color:var(--text-heading);font-size:14px;font-weight:600}.perm-grid__desc{color:var(--text-muted);font-size:12px;line-height:16px}.settings-switch{width:18px;height:18px;accent-color:var(--accent);flex-shrink:0}.perm-tri__item{flex-wrap:wrap;align-items:center;gap:8px 16px;padding:10px 0;display:flex}.perm-tri__group{border-radius:var(--radius-sm);border:1px solid var(--border-strong);display:inline-flex;overflow:hidden}.perm-tri__opt{min-height:32px;color:var(--text-secondary);cursor:pointer;align-items:center;padding:0 10px;font-size:13px;display:inline-flex;position:relative}.perm-tri__opt+.perm-tri__opt{border-left:1px solid var(--border-strong)}.perm-tri__opt input{opacity:0;cursor:pointer;margin:0;position:absolute;inset:0}.perm-tri__opt:has(input:focus-visible){outline:2px solid var(--focus-ring);outline-offset:-2px}.perm-tri__opt:has(input:disabled){cursor:default;opacity:.6}.perm-tri__opt--on.perm-tri__opt--allow{background:var(--accent-mint-muted);color:var(--text-heading)}.perm-tri__opt--on.perm-tri__opt--neutral{background:var(--bg-active);color:var(--text-heading)}.perm-tri__opt--on.perm-tri__opt--deny{background:var(--accent-coral-muted);color:var(--text-heading)}.channel-settings__tabs{border-bottom:1px solid var(--bg-active);gap:4px;margin:0 0 12px;display:flex}.channel-settings--wide{width:min(760px,100vw - 32px);max-width:760px}.channel-perms{flex-direction:column;gap:12px;display:flex}.channel-perms__sync{flex-direction:column;gap:4px;display:flex}.channel-perms__layout{grid-template-columns:200px 1fr;align-items:start;gap:16px;display:grid}.channel-perms__list{flex-direction:column;gap:2px;margin:0 0 8px;padding:0;list-style:none;display:flex}.channel-perms__target{border-radius:var(--radius-sm);text-align:left;width:100%;min-height:32px;color:var(--text-secondary);overflow-wrap:anywhere;padding:4px 8px;font-size:14px}.channel-perms__target:hover{background:var(--bg-hover)}.channel-perms__target--active,.channel-perms__target--active:hover{background:var(--bg-active);color:var(--text-heading)}.channel-perms__add{flex-direction:column;gap:6px;display:flex}@media (width<=767px){.roles-section__layout,.channel-perms__layout{grid-template-columns:1fr}}.audit-filters{flex-wrap:wrap;gap:12px;display:flex}.audit-filters__field{flex-direction:column;flex:1;gap:4px;min-width:200px;display:flex}.audit-list{margin:0;padding:0;list-style:none}.audit-list__item{border-bottom:1px solid var(--border-subtle);padding:10px 0}.audit-list__text{color:var(--text-primary);margin:0;font-size:14px;line-height:20px}.audit-list__text strong{color:var(--text-heading)}.audit-list__meta{color:var(--text-muted);margin:2px 0 0;font-size:12px}.server-members__timeout{color:var(--danger-text);font-size:12px}.role-chip__remove{width:16px;height:16px;color:var(--text-muted);border-radius:50%;margin-left:2px;font-size:13px;line-height:1}.role-chip__remove:hover{color:var(--text-heading);background:var(--bg-hover)}.input__locked{border-radius:var(--radius-md);background:var(--bg-input);min-height:44px;color:var(--text-muted);align-items:center;gap:8px;padding:0 16px;font-size:14px;display:flex}.ctx-menu{max-height:calc(100vh - 16px);overflow-y:auto}.ctx-menu .channel-menu__item{align-items:center;gap:8px;display:flex}.ctx-menu__label{flex:1;min-width:0}.ctx-menu__hint,.ctx-menu__arrow{color:var(--text-muted)}.ctx-menu .channel-menu__item:hover .ctx-menu__hint,.ctx-menu .channel-menu__item:focus-visible .ctx-menu__hint,.ctx-menu .channel-menu__item:hover .ctx-menu__arrow,.ctx-menu .channel-menu__item:focus-visible .ctx-menu__arrow,.ctx-menu__item--sub[aria-expanded=true] .ctx-menu__arrow{color:inherit}.ctx-menu__item--sub[aria-expanded=true]{background:var(--bg-active)}.ctx-menu__arrow{font-size:18px;line-height:1}.ctx-menu__item--danger{color:var(--danger-text)}.ctx-menu__item--danger:hover,.ctx-menu__item--danger:focus-visible{background:var(--danger);color:var(--text-on-accent)}.ctx-menu__sep{background:var(--border-strong);height:1px;margin:4px 6px}.ctx-menu__box{border:1px solid var(--border-strong);border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:16px;height:16px;font-size:12px;line-height:1;display:inline-flex}.ctx-menu__check[aria-checked=true] .ctx-menu__box{background:var(--accent);border-color:var(--accent);color:var(--text-on-accent)}.ctx-menu__custom{padding:4px 8px}.ctx-menu__volume{color:var(--text-secondary);flex-direction:column;gap:4px;font-size:13px;display:flex}.userlist__timeout,.message__timeout{color:var(--danger-text);flex-shrink:0;display:inline-flex}.message__timeout{vertical-align:-2px;margin-left:4px}.input__locked--timeout{color:var(--danger-text)}.input__countdown{font-variant-numeric:tabular-nums;font-weight:700}.status-dot{background:var(--offline);box-sizing:content-box;border-radius:50%;flex-shrink:0;display:inline-block;position:relative}.status-dot--sm{width:10px;height:10px}.status-dot--md{width:12px;height:12px}.status-dot--lg{width:18px;height:18px}.status-dot--online{background:var(--online)}.status-dot--idle{background:var(--idle)}.status-dot--dnd{background:var(--dnd)}.status-dot--idle:after,.status-dot--offline:after,.status-dot--dnd:after{content:"";background:var(--status-ring,var(--bg-elevated));position:absolute}.status-dot--idle:after{border-radius:50%;width:62%;height:62%;top:-6%;left:-6%}.status-dot--offline:after{border-radius:50%;inset:25%}.status-dot--dnd:after{border-radius:2px;height:20%;top:40%;left:20%;right:20%}.avatar-status{flex-shrink:0;display:inline-flex;position:relative}.avatar-status__dot,.sidebar__dm-status,.sidebar__user-status-dot,.userlist__status,.profile-card__status{border:3px solid var(--status-ring,var(--bg-elevated));position:absolute;bottom:-3px;right:-3px}.avatar-status__dot{--status-ring:var(--bg-base);border-color:var(--bg-base)}.sidebar__dm-avatar{position:relative}.userlist__user:hover .userlist__status,.sidebar__dm-item:hover .sidebar__dm-status{--status-ring:var(--bg-hover);border-color:var(--bg-hover)}.sidebar__user .sidebar__user-status-dot{--status-ring:var(--bg-rail);border-color:var(--bg-rail)}.profile-card__status{--status-ring:var(--avatar-ring,var(--bg-floating));border-width:4px;border-color:var(--avatar-ring,var(--bg-floating));bottom:2px;right:2px}.profile-card__custom{color:var(--text-primary);overflow-wrap:anywhere;margin:4px 0 0;font-size:14px}.sidebar__user-main{border-radius:var(--radius-sm);text-align:left;flex:1;align-items:center;gap:8px;min-width:0;margin-left:-4px;padding:2px 4px;display:flex}.sidebar__user-main:hover{background:var(--bg-hover)}.sidebar__user-status--custom{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.userlist__user-text{flex-direction:column;flex:1;min-width:0;display:flex}.userlist__custom{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;line-height:16px;overflow:hidden}.rail__brand--button{cursor:pointer;border-radius:50%;transition:border-radius .15s ease-out}.rail__brand--button:hover,.rail__brand--active{border-radius:var(--radius-xl)}.rail__item--home{position:relative}.sidebar__friends{border-radius:var(--radius-sm);width:calc(100% - 16px);min-height:40px;color:var(--text-secondary);align-items:center;gap:10px;margin:8px 8px 0;padding:6px 10px;font-size:15px;font-weight:600;display:flex}.sidebar__friends:hover{background:var(--bg-hover);color:var(--text-primary)}.sidebar__friends--active,.sidebar__friends--active:hover{background:var(--bg-active);color:var(--text-heading)}.sidebar__friends-label{text-align:left;flex:1}.friends{flex-direction:column;flex:1;min-height:0;display:flex}.friends__head{min-height:var(--header-height);flex-wrap:wrap;align-items:center;gap:8px 16px;padding:8px 16px;display:flex;box-shadow:0 1px #0000003d}.friends__title{color:var(--text-heading);align-items:center;gap:8px;margin:0;font-size:16px;font-weight:700;display:flex}.friends__tabs{flex-wrap:wrap;gap:4px;display:flex}.friends__tab{border-radius:var(--radius-sm);min-height:28px;color:var(--text-secondary);align-items:center;gap:6px;padding:2px 10px;font-size:14px;font-weight:500;display:inline-flex}.friends__tab:hover{background:var(--bg-hover);color:var(--text-primary)}.friends__tab--active,.friends__tab--active:hover{background:var(--bg-active);color:var(--text-heading)}.friends__tab--add{background:var(--accent);color:var(--text-on-accent)}.friends__tab--add.friends__tab--active,.friends__tab--add:hover{background:var(--bg-active);color:var(--accent-text)}.friends__badge{background:var(--danger);min-width:16px;height:16px;color:var(--text-on-accent);text-align:center;border-radius:8px;padding:0 4px;font-size:11px;font-weight:700;line-height:16px}.friends__panel{flex:1;max-width:960px;min-height:0;padding:16px 20px 24px;overflow-y:auto}.friends__section{color:var(--text-muted);margin:0 0 8px;font-size:12px;font-weight:700}.friends__list{margin:0;padding:0;list-style:none}.friends__row{border-top:1px solid var(--border-subtle);border-radius:var(--radius-sm);align-items:center;gap:12px;padding:10px 8px;display:flex}.friends__row:hover{background:var(--bg-message-hover)}.friends__who{flex-direction:column;flex:1;min-width:0;display:flex}.friends__name{color:var(--text-heading);white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:600;overflow:hidden}.friends__username{color:var(--text-muted);font-size:13px;font-weight:400}.friends__sub{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.friends__actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.friends__confirm{color:var(--text-secondary);font-size:13px}.friends__icon-btn{background:var(--bg-input);width:36px;height:36px;color:var(--text-secondary);border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.friends__icon-btn:hover:not(:disabled){color:var(--text-heading);background:var(--bg-active)}.friends__icon-btn:disabled{opacity:.5;cursor:default}.friends__accept{background:var(--accent);color:var(--text-on-accent)}.friends__add{flex-direction:column;gap:8px;max-width:640px;display:flex}.friends__add-title{color:var(--text-heading);margin:0;font-size:16px;font-weight:700}.friends__add-row{gap:8px;display:flex}.friends__add-row input{flex:1}.friends__add-ok{color:var(--online-text);margin:0;font-size:14px}.friends__add-err{color:var(--danger-text);margin:0;font-size:14px}@media (width<=767px){.friends__head{padding-left:56px}.friends__row{flex-wrap:wrap}.friends__actions{justify-content:flex-start;width:100%;padding-left:44px}.friends__add-row{flex-direction:column}}.messages__blocked{margin:2px 0}.messages__blocked-toggle{border-radius:var(--radius-sm);color:var(--text-muted);background:var(--bg-message-hover);margin:4px 16px 4px 72px;padding:4px 10px;font-size:13px}.messages__blocked-toggle:hover{color:var(--text-heading)}.custom-status__row{align-items:center;gap:8px;display:flex}.custom-status__row input{flex:1}.custom-status__emoji{border-radius:var(--radius-sm);background:var(--bg-input);flex-shrink:0;width:40px;height:40px;font-size:20px}.profile-btn--danger{color:var(--danger-text)}.dm-call{border-bottom:1px solid var(--border-subtle);background:var(--bg-rail);flex-direction:column;flex-shrink:0;height:min(52vh,460px);min-height:260px;display:flex;overflow:hidden}.dm-call>*{flex:1;min-height:0}.dm-call-bar{background:var(--accent-mint-muted);color:var(--online-text);flex-shrink:0;align-items:center;gap:10px;padding:8px 16px;font-size:14px;display:flex}.dm-call-bar__text{min-width:0;color:var(--text-primary);flex:1}.incoming-call-backdrop{z-index:140;background:#0000008c;justify-content:center;align-items:center;animation:.12s ease-out modal-fade;display:flex;position:fixed;inset:0}.incoming-call{border-radius:var(--radius-lg);background:var(--bg-floating);text-align:center;flex-direction:column;align-items:center;gap:6px;width:min(320px,100vw - 32px);padding:28px 20px 20px;display:flex;box-shadow:0 12px 40px #00000080}.incoming-call__avatar{box-shadow:0 0 0 4px var(--online);border-radius:50%;animation:1.4s ease-in-out infinite call-pulse}@keyframes call-pulse{50%{box-shadow:0 0 0 10px #0000}}@media (prefers-reduced-motion:reduce){.incoming-call__avatar{animation:none}}.incoming-call__title{color:var(--text-heading);overflow-wrap:anywhere;margin:10px 0 0;font-size:18px;font-weight:700}.incoming-call__desc{color:var(--text-secondary);margin:0 0 12px;font-size:14px}.incoming-call__actions{gap:10px;display:flex}.incoming-call__btn{border-radius:var(--radius-md);min-width:76px;color:var(--text-on-accent);flex-direction:column;align-items:center;gap:4px;padding:10px 8px;font-size:13px;font-weight:600;display:flex}.incoming-call__btn--accept{background:#1f8f4e}.incoming-call__btn--video{background:var(--accent)}.incoming-call__btn--decline{background:var(--danger)}.incoming-call__btn:hover{filter:brightness(1.1)}.group-dm-create__list{max-height:280px;margin:8px 0;padding:0;list-style:none;overflow-y:auto}.group-dm-create__item{border-radius:var(--radius-sm);cursor:pointer;align-items:center;gap:10px;padding:6px 8px;display:flex}.group-dm-create__item:hover,.group-dm-create__item--on{background:var(--bg-hover)}.group-dm-create__item input{accent-color:var(--accent)}.group-dm-create__name{min-width:0;color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:14px;overflow:hidden}.group-dm-panel{flex-direction:column;gap:16px;padding:12px 16px;display:flex}.group-dm-panel__row{gap:8px;display:flex}.group-dm-panel__row>:first-child{flex:1;min-width:0}.group-dm-panel__list{margin:0;padding:0;list-style:none}.group-dm-panel__member{align-items:center;gap:10px;padding:6px 0;display:flex}.group-dm-panel__name{min-width:0;color:var(--text-primary);flex-wrap:wrap;flex:1;align-items:center;gap:6px;font-size:14px;display:flex}.sidebar__dm-avatar--group{color:var(--text-on-accent)}.sidebar__dm-sub{color:var(--text-muted);font-size:12px;font-weight:400;display:block}.sidebar__dm-call{color:var(--online-text);margin-left:4px;display:inline-flex}.friends__group-btn{margin-left:auto}.new-dm__group{margin:0 16px 8px}.sidebar__dm-item .sidebar__dm-avatar--group{background:var(--accent);pointer-events:none;position:absolute;top:50%;left:16px;transform:translateY(-50%)}@media (width<=767px){.chat__header-tools--dm{gap:2px}.chat__header-tools--dm .chat__search-input,.chat__header-tools--dm .chat__search-input:focus{width:76px}}.quick-switcher-backdrop{z-index:120;align-items:flex-start;padding-top:12vh}.quick-switcher{border-radius:var(--radius-lg);background:var(--bg-elevated);outline:none;flex-direction:column;width:min(560px,100%);max-height:70vh;padding:16px;animation:.15s modal-pop;display:flex;box-shadow:0 12px 40px #00000080}.quick-switcher__input{border-radius:var(--radius-md);background:var(--bg-input);width:100%;color:var(--text-primary);font:inherit;border:none;padding:12px 14px;font-size:18px}.quick-switcher__input:focus-visible{outline:2px solid var(--focus-ring);outline-offset:0}.quick-switcher__hint{color:var(--text-muted);margin:10px 2px 6px;font-size:12px}.quick-switcher__list{min-height:0;margin:0;padding:0;list-style:none;overflow-y:auto}.quick-switcher__item{border-radius:var(--radius-sm);color:var(--text-secondary);cursor:pointer;align-items:center;gap:10px;padding:8px 10px;display:flex}.quick-switcher__item--active{background:var(--bg-hover);color:var(--text-heading)}.quick-switcher__item--unread .quick-switcher__label{color:var(--text-heading);font-weight:700}.quick-switcher__icon{text-align:center;width:18px;color:var(--text-muted);flex-shrink:0;font-weight:700}.quick-switcher__label{text-overflow:ellipsis;white-space:nowrap;flex:none;min-width:0;max-width:calc(100% - 72px);overflow:hidden}.quick-switcher__sub{text-align:right;text-overflow:ellipsis;white-space:nowrap;min-width:24px;color:var(--text-muted);flex:1 1 0;margin-left:auto;font-size:12px;overflow:hidden}.quick-switcher__dot{background:var(--text-heading);border-radius:50%;flex-shrink:0;width:8px;height:8px}.quick-switcher__badge{background:var(--danger);min-width:16px;color:var(--text-on-accent);text-align:center;border-radius:8px;flex-shrink:0;padding:0 5px;font-size:11px;font-weight:700;line-height:16px}.quick-switcher__empty{color:var(--text-muted);margin:12px 4px;font-size:14px}.quick-switcher__foot{color:var(--text-muted);margin:10px 2px 0;font-size:12px}.quick-switcher kbd,.shortcut-help kbd,.keybinds__foot kbd{border-radius:var(--radius-sm);background:var(--bg-input);border-bottom:2px solid var(--bg-rail);font-family:var(--font-body);color:var(--text-heading);padding:1px 6px;font-size:12px;font-weight:600}.dm-modal__card.shortcut-help{width:min(560px,100%);max-width:560px}.shortcut-help__body{max-height:64vh;padding:0 16px 8px;overflow-y:auto}.shortcut-help__title{text-transform:uppercase;color:var(--text-muted);margin:12px 0 6px;font-size:12px;font-weight:700}.shortcut-help__list{margin:0}.shortcut-help__row{border-bottom:1px solid var(--border-subtle);align-items:center;gap:12px;padding:6px 0;font-size:14px;display:flex}.shortcut-help__row dt{min-width:0;color:var(--text-primary);flex:1}.shortcut-help__row dd{text-align:right;margin:0}.shortcut-help__keys{white-space:nowrap;align-items:center;gap:3px;display:inline-flex}.shortcut-help__or,.shortcut-help__none{color:var(--text-muted);font-size:13px}.shortcut-help__actions{justify-content:flex-end;padding:12px 16px 16px;display:flex}.keybinds__list{margin:0;padding:0;list-style:none}.keybinds__row{border-bottom:1px solid var(--border-subtle);grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:8px;padding:8px 0;display:grid}.keybinds__label{min-width:0;color:var(--text-primary);font-size:14px}.keybinds__key{border-radius:var(--radius-sm);background:var(--bg-input);min-width:110px;color:var(--text-heading);text-align:center;padding:4px 10px;font-size:13px;font-weight:600}.keybinds__key--none{color:var(--text-muted);font-weight:400}.keybinds__warning{color:var(--danger-text);grid-column:1/-1;margin:2px 0 0;font-size:13px}.keybinds__foot{flex-direction:column;align-items:flex-start;gap:8px;margin-top:10px;display:flex}[aria-labelledby=account-keybinds-title]{scroll-margin-top:72px}@media (width<=767px){.keybinds__row{grid-template-columns:minmax(0,1fr) auto auto}.keybinds__label{grid-column:1/-1}.keybinds__key{min-width:0}.shortcut-help__row{flex-wrap:wrap;gap:4px}.shortcut-help__row dt{flex-basis:100%}.shortcut-help__row dd{text-align:left}}.message{margin-top:var(--msg-group-gap,16px)}.message--grouped{margin-top:0}.message__content,.message__author{font-size:var(--msg-font-size,16px);line-height:var(--msg-line-height,22px)}.density-compact .message{gap:8px;min-height:0;padding-top:1px;padding-bottom:1px}.density-compact .message__avatar{width:20px;height:20px;margin-top:1px;font-size:11px}.density-compact .message__avatar>.avatar{width:20px!important;height:20px!important;font-size:10px!important}.density-compact .message__gutter{width:20px;padding-top:0}.density-compact .message__hover-time{display:none}.density-compact .message__body{display:block}.density-compact .message__head{vertical-align:baseline;flex-direction:row-reverse;margin-right:6px;display:inline-flex}.density-compact .message__body>.message__head+.message__content{display:inline}.compact-hide-avatars .message__avatar,.compact-hide-avatars .message__gutter{display:none}.reduce-motion *,.reduce-motion :before,.reduce-motion :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.appearance__preview{border-radius:var(--radius-md);background:var(--bg-base);pointer-events:none;margin:4px 0 16px;padding:4px 0 12px;overflow:hidden}.appearance__label{color:var(--text-primary);margin:12px 0 6px;font-size:14px;display:block}.appearance__range{width:100%;accent-color:var(--accent)}.appearance__group{border:none;margin:0;padding:0}.appearance__radio{color:var(--text-secondary);align-items:center;gap:8px;padding:4px 0;font-size:14px;display:flex}.appearance__radio input{accent-color:var(--accent)}.appearance__radio--off{opacity:.6}.account-settings>.dm-modal__header{border-bottom:1px solid var(--border-subtle);background:var(--bg-base);flex-shrink:0;padding-bottom:16px}.rail__folder{flex-direction:column;gap:8px;width:100%;list-style:none;display:flex}.rail__folder--open{position:relative}.rail__folder--open:after{content:"";z-index:0;background:color-mix(in srgb, var(--folder-color) 22%, transparent);pointer-events:none;border-radius:24px;width:48px;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.rail__folder>*,.rail__folder-list>*{z-index:1;position:relative}.rail__folder-list{flex-direction:column;gap:8px;margin:0;padding:0 0 8px;list-style:none;display:flex}.rail__folder-btn{background:color-mix(in srgb, var(--folder-color) 40%, var(--bg-elevated));width:48px;height:48px;color:var(--folder-color);border-radius:16px;justify-content:center;align-items:center;transition:border-radius .15s;display:flex}.rail__folder--open .rail__folder-btn{background:0 0}.rail__folder-btn:hover{border-radius:12px}.rail__folder-grid{grid-template-columns:repeat(2,16px);grid-auto-rows:16px;gap:3px;display:grid}.rail__folder-mini{background:var(--bg-elevated);width:16px;height:16px;color:var(--text-heading);text-align:center;border-radius:50%;font-size:7px;font-weight:700;line-height:16px;overflow:hidden}.rail__folder-mini .rail__icon{object-fit:cover;width:100%;height:100%}.rail__item--drop>.rail__server,.rail__item--drop>.rail__folder-btn{outline:2px dashed var(--focus-ring);outline-offset:2px}.rail__item--dragging{opacity:.5}.rail__list--drop{outline:2px dashed var(--border-strong,var(--focus-ring));outline-offset:-4px;border-radius:var(--radius-md)}.folder-settings__colors{border:none;flex-wrap:wrap;gap:8px;margin:8px 0 4px;padding:0;display:flex}.folder-settings__colors legend{width:100%}.folder-settings__swatch{cursor:pointer;position:relative}.folder-settings__swatch input{opacity:0;cursor:pointer;position:absolute;inset:0}.folder-settings__dot{border:3px solid #0000;border-radius:50%;width:32px;height:32px;display:block}.folder-settings__swatch input:checked+.folder-settings__dot{border-color:var(--text-heading)}.folder-settings__swatch input:focus-visible+.folder-settings__dot{outline:2px solid var(--focus-ring);outline-offset:2px}.density-compact .message__time{white-space:nowrap}.quick-switcher__input::placeholder{color:var(--text-muted);opacity:1}
