@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");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-rail:#121214;--bg-sidebar:#1a1a1e;--bg-chat:#1f1f24;--bg-panel:#16161a;--bg-floating:#111114;--bg-input:#2a2a31;--bg-hover:#ffffff0b;--bg-active:#ffffff17;--bg-message-hover:#0000001f;--border:#ffffff0f;--text:#dbdee1;--text-strong:#f2f3f5;--text-muted:#949ba4;--text-faint:#6d6f78;--accent:#8b7cff;--accent-hover:#7a69f5;--accent-soft:#8b7cff29;--green:#23a55a;--red:#f23f43;--yellow:#f0b232;--link:#00a8fc;--mention-bg:#f0b23214;--mention-border:#f0b232;--radius:8px;--titlebar:30px;color:var(--text);background:var(--bg-rail);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;-webkit-font-smoothing:antialiased;font-family:Inter Variable,Segoe UI,system-ui,sans-serif;font-size:15px}*{box-sizing:border-box}html,body,#root{background:var(--bg-rail);height:100%;margin:0;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}input,textarea{font:inherit;color:var(--text)}a{color:var(--link);cursor:pointer;text-decoration:none}a:hover{text-decoration:underline}::-webkit-scrollbar{width:14px;height:14px}::-webkit-scrollbar-thumb{background:#2b2b33 padding-box padding-box;border:4px solid #0000;border-radius:8px}::-webkit-scrollbar-track{background:0 0}.sidebar-scroll::-webkit-scrollbar{width:0}.members::-webkit-scrollbar{width:0}.rail::-webkit-scrollbar{width:0}.ellipsis{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.muted{color:var(--text-muted)}.muted-strong{color:var(--text-strong);font-weight:600}.small{font-size:12px}.grow{flex:1;min-width:0}.row{align-items:center;gap:8px;display:flex}.drag-region{height:var(--titlebar);-webkit-app-region:drag;position:fixed;inset:0 0 auto}.app{flex-direction:column;height:100%;display:flex}.titlebar{height:var(--titlebar);color:var(--text-muted);letter-spacing:.04em;-webkit-app-region:drag;-webkit-user-select:none;user-select:none;flex-shrink:0;align-items:center;padding-left:16px;font-size:12px;font-weight:600;display:flex}[data-platform=darwin] .titlebar{padding-left:80px}.layout{flex:1;min-height:0;display:flex}.rail{background:var(--bg-rail);flex-direction:column;flex-shrink:0;align-items:center;gap:8px;width:72px;padding:4px 0 12px;display:flex;overflow-y:auto}.rail-item{justify-content:center;width:72px;display:flex;position:relative}.rail-icon{background:var(--bg-chat);width:48px;height:48px;color:var(--text);border-radius:50%;place-items:center;transition:border-radius .15s,background .15s,color .15s;display:grid;overflow:hidden}.rail-icon img{object-fit:cover;width:100%;height:100%}.rail-icon .rail-home-logo{object-fit:contain;width:40px;height:auto}.rail-item:hover .rail-icon,.rail-item.active .rail-icon{background:var(--accent);border-radius:16px}.rail-item:first-child:hover .rail-icon,.rail-item:first-child.active .rail-icon{background:#2a2a33}.rail-add .rail-icon{color:var(--green)}.rail-add:hover .rail-icon{color:#fff;background:var(--green)!important}.rail-initials{font-size:15px;font-weight:600}.rail-pill{background:var(--text-strong);border-radius:0 4px 4px 0;width:4px;height:0;transition:height .15s;position:absolute;top:50%;left:0;transform:translateY(-50%)}.rail-item.unread .rail-pill{height:8px}.rail-item:hover .rail-pill{height:20px}.rail-item.active .rail-pill{height:40px}.rail-tooltip{background:var(--bg-floating);color:var(--text-strong);white-space:nowrap;pointer-events:none;opacity:0;z-index:50;border-radius:6px;margin-top:10px;padding:6px 10px;font-size:14px;font-weight:600;position:fixed;left:80px;box-shadow:0 8px 16px #0000004d}.rail-item:hover .rail-tooltip{opacity:1}.rail-sep{background:var(--border);border-radius:1px;flex-shrink:0;width:32px;height:2px}.badge{background:var(--red);color:#fff;border-radius:8px;place-items:center;min-width:16px;height:16px;padding:0 4px;font-size:11px;font-weight:700;display:inline-grid}.rail-badge{box-shadow:0 0 0 3px var(--bg-rail);position:absolute;bottom:-2px;right:10px}.sidebar{background:var(--bg-sidebar);border-top:1px solid var(--border);border-left:1px solid var(--border);border-top-left-radius:10px;flex-direction:column;flex-shrink:0;width:240px;display:flex;overflow:hidden}.sidebar-header{border-bottom:1px solid var(--border);height:48px;color:var(--text-strong);flex-shrink:0;align-items:center;gap:8px;padding:0 16px;font-weight:600;display:flex;position:relative}.guild-header{cursor:pointer;justify-content:space-between}.guild-header:hover{background:var(--bg-hover)}.sidebar-scroll{flex:1;padding:8px 8px 16px;overflow-y:auto}.category{text-transform:uppercase;letter-spacing:.02em;color:var(--text-muted);-webkit-user-select:none;user-select:none;align-items:center;gap:2px;padding:16px 0 4px 2px;font-size:12px;font-weight:600;display:flex}.category span{flex:1}.category:hover{color:var(--text)}.icon-btn{color:var(--text-muted);border-radius:4px;place-items:center;padding:4px;display:inline-grid}.icon-btn:hover,.icon-btn.active{color:var(--text-strong)}.channel{height:34px;color:var(--text-faint);cursor:pointer;border-radius:6px;align-items:center;gap:6px;margin:1px 0;padding:0 8px;font-weight:500;display:flex;position:relative}.channel:hover{background:var(--bg-hover);color:var(--text)}.channel.active{background:var(--bg-active);color:var(--text-strong)}.channel.unread{color:var(--text-strong)}.channel.unread:before{content:"";background:var(--text-strong);border-radius:0 4px 4px 0;width:4px;height:8px;position:absolute;left:-8px}.channel-icon{opacity:.8;flex-shrink:0}.channel>.ellipsis{flex:1}.channel-action{padding:2px;display:none}.channel:hover .channel-action{display:inline-grid}.channel.dm{gap:12px;height:44px}.dm-text{flex-direction:column;flex:1;min-width:0;display:flex}.dm-sub{color:var(--text-muted);font-size:12px}.home-link{gap:12px;height:42px;margin-bottom:4px}.menu{z-index:40;background:var(--bg-floating);border-radius:var(--radius);border:1px solid var(--border);padding:6px 8px;position:absolute;box-shadow:0 8px 24px #00000073}.guild-menu{cursor:default;top:52px;left:10px;right:10px}.menu-item{width:100%;color:var(--text-muted);border-radius:4px;justify-content:space-between;align-items:center;padding:8px;font-size:14px;font-weight:500;display:flex}.menu-item:hover{background:var(--accent);color:#fff}.menu-item.accent{color:var(--accent)}.menu-item.danger{color:var(--red)}.menu-item.danger:hover{background:var(--red);color:#fff}.menu-item.accent:hover{color:#fff}.user-panel{background:var(--bg-panel);flex-shrink:0;align-items:center;gap:4px;height:54px;padding:0 8px;display:flex}.user-panel-me{cursor:pointer;border-radius:6px;flex:1;align-items:center;gap:8px;min-width:0;padding:4px;display:flex}.user-panel-me:hover{background:var(--bg-hover)}.user-panel-names{flex-direction:column;min-width:0;line-height:1.2;display:flex}.user-panel-name{color:var(--text-strong);font-size:14px;font-weight:600}.user-panel-sub{color:var(--text-muted);font-size:12px}.avatar{border-radius:50%;flex-shrink:0;position:relative}.avatar>img,.avatar-fallback{object-fit:cover;color:#fff;-webkit-user-select:none;user-select:none;border-radius:50%;place-items:center;width:100%;height:100%;font-weight:600;display:grid}.status-dot{border-style:solid;border-color:var(--bg-sidebar);border-radius:50%;position:absolute;bottom:-2px;right:-2px}.status-dot.online{background:var(--green)}.status-dot.offline{background:#80848e}.chat-header .status-dot,.profile-avatar-wrap .status-dot{border-color:var(--bg-chat)}.user-panel .status-dot{border-color:var(--bg-panel)}.members .status-dot{border-color:var(--bg-sidebar)}.profile-avatar-wrap .status-dot{border-color:var(--bg-floating)}.chat{background:var(--bg-chat);border-top:1px solid var(--border);flex-direction:column;flex:1;min-width:0;display:flex}.chat.empty-state{color:var(--text-muted);place-items:center;display:grid}.chat-header{border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:8px;height:48px;padding:0 8px 0 16px;display:flex}.chat-header h2{color:var(--text-strong);margin:0;font-size:16px;font-weight:600}.chat-header-divider{background:var(--border);width:1px;height:24px;margin:0 8px}.chat-topic{color:var(--text-muted);flex:1;font-size:14px}.chat-header-actions{gap:8px;margin-left:auto;padding-right:8px;display:flex}.messages{flex:1;overflow:hidden auto}.messages-inner{flex-direction:column;justify-content:flex-end;min-height:100%;padding-top:16px;display:flex}.messages-loading{color:var(--text-muted);padding:16px}.messages-end{height:24px}.channel-intro{margin-bottom:8px;padding:16px}.channel-intro h1{color:var(--text-strong);margin:8px 0;font-size:32px}.channel-intro p{margin:0}.channel-intro-icon{background:var(--bg-input);width:68px;height:68px;color:var(--text-strong);border-radius:50%;place-items:center;display:grid}.day-divider{color:var(--text-muted);align-items:center;margin:16px 16px 8px;font-size:12px;font-weight:600;display:flex}.day-divider:before,.day-divider:after{content:"";background:var(--border);flex:1;height:1px}.day-divider span{padding:0 8px}.message{grid-template-columns:72px 1fr;margin-top:16px;padding:2px 48px 2px 0;line-height:1.375;display:grid;position:relative}.message.compact{margin-top:0}.message:hover{background:var(--bg-message-hover)}.message.mentioned{background:var(--mention-bg);box-shadow:inset 2px 0 0 var(--mention-border)}.message.pending .message-content{opacity:.5}.message-avatar{cursor:pointer;grid-row:span 2;padding-top:2px;padding-left:16px}.message-gutter-time{color:var(--text-faint);text-align:right;opacity:0;-webkit-user-select:none;user-select:none;padding-top:3px;padding-right:12px;font-size:11px}.message:hover .message-gutter-time{opacity:1}.message-body{min-width:0}.message-header{align-items:baseline;gap:8px;display:flex}.message-author{color:var(--text-strong);cursor:pointer;font-weight:600}.message-author:hover{text-decoration:underline}.message-time{color:var(--text-faint);font-size:12px}.message-content{white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text}.edited{color:var(--text-faint);margin-left:4px;font-size:10px}.reply-preview{color:var(--text-muted);cursor:pointer;grid-column:1/-1;align-items:center;gap:4px;min-width:0;margin-bottom:4px;padding-left:72px;font-size:14px;display:flex;position:relative}.reply-spine{border-top:2px solid #4e5058;border-left:2px solid #4e5058;border-top-left-radius:6px;width:33px;height:12px;position:absolute;top:8px;left:34px}.reply-name{color:var(--text-strong);flex-shrink:0;font-weight:600}.reply-text{opacity:.85}.reply-preview:hover .reply-text{color:var(--text-strong)}.message-actions{background:var(--bg-chat);border:1px solid var(--border);z-index:2;border-radius:6px;display:none;position:absolute;top:-16px;right:16px;overflow:hidden;box-shadow:0 4px 12px #00000040}.message:hover .message-actions{display:flex}.message-actions button{width:32px;height:32px;color:var(--text-muted);place-items:center;display:grid}.message-actions button:hover{background:var(--bg-hover);color:var(--text-strong)}.message-actions button.danger:hover{color:var(--red)}.edit-box textarea{background:var(--bg-input);border-radius:var(--radius);resize:none;border:0;outline:none;width:100%;padding:10px 12px}.edit-hint{color:var(--text-muted);margin:2px 0 4px;font-size:12px}.md-code{background:var(--bg-input);border-radius:4px;padding:.1em .3em;font-family:Consolas,SF Mono,monospace;font-size:.875em}.md-codeblock{background:var(--bg-panel);border:1px solid var(--border);white-space:pre;border-radius:4px;max-width:90%;margin:4px 0;padding:8px;font-family:Consolas,SF Mono,monospace;font-size:14px;overflow-x:auto}.md-quote{border-left:4px solid #4e5058;margin:0;padding-left:12px}.md-h{color:var(--text-strong);margin:4px 0;font-weight:700}.md-h1{font-size:24px}.md-h2{font-size:20px}.md-h3{font-size:16px}.md-spoiler{color:#0000;cursor:pointer;background:#1e1f22;border-radius:3px}.md-spoiler.revealed{color:inherit;background:#ffffff1a}.mention{background:var(--accent-soft);color:#c9c2ff;cursor:pointer;border-radius:3px;padding:0 2px;font-weight:500}.mention:hover{background:var(--accent);color:#fff}.attachments{flex-direction:column;align-items:flex-start;gap:6px;margin-top:4px;display:flex}.attachment-image{border-radius:var(--radius);cursor:zoom-in;max-width:min(520px,100%);max-height:360px;display:block}.attachment-video{border-radius:var(--radius);background:#000;max-width:min(560px,100%);max-height:400px}.attachment-file{background:var(--bg-sidebar);border:1px solid var(--border);border-radius:var(--radius);width:min(440px,100%);padding:12px}.attachment-file-row{align-items:center;gap:10px;display:flex}.file-icon{color:var(--accent);flex-shrink:0}.attachment-meta{flex-direction:column;flex:1;min-width:0;display:flex}.attachment-meta span{color:var(--text-muted);font-size:12px}.attachment-audio audio{width:100%;height:36px;margin-top:10px}.composer-wrap{flex-shrink:0;padding:0 16px}.composer{background:var(--bg-input);border-radius:var(--radius);align-items:flex-start;padding:0 12px 0 0;display:flex}.composer.attached{border-top-left-radius:0;border-top-right-radius:0}.composer textarea{resize:none;background:0 0;border:0;outline:none;flex:1;max-height:300px;padding:12px 0;line-height:1.375}.composer textarea::placeholder{color:var(--text-faint)}.composer-attach{background:var(--text-muted);width:24px;height:24px;color:var(--bg-input);border-radius:50%;flex-shrink:0;place-items:center;margin:10px 14px 0;display:grid}.composer-attach:hover{background:var(--text-strong)}.composer-reply{background:var(--bg-sidebar);border-radius:var(--radius) var(--radius) 0 0;color:var(--text-muted);justify-content:space-between;align-items:center;padding:8px 12px 8px 16px;font-size:14px;display:flex}.composer-reply strong{color:var(--text-strong);flex:1;margin-left:4px}.upload-tray{background:var(--bg-input);border-radius:var(--radius) var(--radius) 0 0;border-bottom:1px solid var(--border);gap:8px;padding:12px;display:flex;overflow-x:auto}.composer-reply+.upload-tray{border-radius:0}.upload-chip{background:var(--bg-sidebar);border-radius:6px;flex-shrink:0;width:200px;padding:10px 28px 10px 10px;position:relative}.upload-chip.error .upload-sub{color:var(--red)}.upload-name{font-size:14px;font-weight:500}.upload-sub{color:var(--text-muted);margin:2px 0 6px;font-size:12px}.upload-bar{background:var(--bg-input);border-radius:2px;height:4px;overflow:hidden}.upload-bar div{background:var(--accent);height:100%;transition:width .2s}.upload-remove{position:absolute;top:6px;right:4px}.typing{height:24px;color:var(--text);align-items:center;gap:6px;padding-left:4px;font-size:12px;display:flex}.typing strong{font-weight:700}.typing-dots{gap:3px;display:inline-flex}.typing-dots i{background:var(--text);border-radius:50%;width:5px;height:5px;animation:1.2s ease-in-out infinite typing}.typing-dots i:nth-child(2){animation-delay:.15s}.typing-dots i:nth-child(3){animation-delay:.3s}@keyframes typing{0%,60%,to{opacity:.3;transform:none}30%{opacity:1;transform:translateY(-2px)}}.members{background:var(--bg-sidebar);border-top:1px solid var(--border);flex-shrink:0;width:240px;padding:8px;overflow-y:auto}.members-heading{text-transform:uppercase;color:var(--text-muted);padding:16px 8px 4px;font-size:12px;font-weight:600}.member{cursor:pointer;border-radius:6px;align-items:center;gap:12px;height:42px;padding:0 8px;display:flex}.member:hover{background:var(--bg-hover)}.member.offline{opacity:.35}.member.offline:hover{opacity:1}.member-name{color:var(--text);font-weight:500}.crown{color:var(--yellow);font-size:14px}.tab{color:var(--text-muted);border-radius:4px;padding:2px 8px;font-weight:500}.tab:hover{background:var(--bg-hover);color:var(--text)}.tab.active{background:var(--bg-active);color:var(--text-strong)}.people-body{flex:1;padding:16px 24px;overflow-y:auto}.search{background:var(--bg-floating);border:0;border-radius:6px;outline:none;width:100%;padding:8px 10px}.person{border-top:1px solid var(--border);cursor:pointer;border-radius:8px;align-items:center;gap:12px;padding:10px;display:flex}.person:hover{background:var(--bg-hover)}.person-names{flex-direction:column;flex:1;display:flex}.person-name{color:var(--text-strong);font-weight:600}.empty-state{text-align:center;padding:32px}.profile-card{z-index:60;background:var(--bg-floating);border:1px solid var(--border);border-radius:12px;width:300px;position:fixed;overflow:hidden;box-shadow:0 12px 40px #0000008c}.profile-card.static{position:relative}.profile-banner{height:105px}.profile-avatar-wrap{border:6px solid var(--bg-floating);background:var(--bg-floating);border-radius:50%;position:absolute;top:60px;left:16px}.profile-content{padding:48px 16px 16px}.profile-name{color:var(--text-strong);font-size:20px;font-weight:700}.profile-username{color:var(--text);align-items:center;gap:6px;font-size:14px;display:flex}.tag{background:var(--accent);color:#fff;border-radius:4px;padding:1px 5px;font-size:10px;font-weight:700}.profile-section{border-top:1px solid var(--border);margin-top:12px;padding-top:12px}.profile-section-title{text-transform:uppercase;color:var(--text-strong);margin-bottom:4px;font-size:12px;font-weight:700}.profile-bio{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.profile-status{margin-top:12px;font-size:13px}.profile-message{background:var(--bg-input);border:1px solid var(--border);border-radius:6px;outline:none;width:100%;margin-top:12px;padding:8px 10px}.btn{color:#fff;cursor:pointer;white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;gap:6px;height:38px;padding:0 16px;font-size:14px;font-weight:500;transition:background .15s;display:inline-flex}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--accent)}.btn-primary:hover:not(:disabled){background:var(--accent-hover)}.btn-secondary{background:#3a3a44}.btn-secondary:hover:not(:disabled){background:#464650}.btn-success{background:var(--green)}.btn-danger{background:var(--red)}.btn-link{color:var(--text);background:0 0}.btn-link:hover{text-decoration:underline}.btn-link.danger,.danger{color:var(--red)}.btn-small{height:30px;padding:0 12px;font-size:13px}.btn-block{width:100%}label,.label{text-transform:uppercase;color:var(--text-muted);flex-direction:column;gap:8px;font-size:12px;font-weight:700;display:flex}label .row,label input[type=color]{text-transform:none;font-weight:400}label input:not([type=checkbox]):not([type=radio]):not([type=color]),label textarea,.copy-row input,.auth-server input{background:var(--bg-floating);border:1px solid var(--border);text-transform:none;resize:vertical;border-radius:6px;outline:none;padding:10px;font-size:15px;font-weight:400}label input:focus,label textarea:focus{border-color:var(--accent)}input[type=color]{cursor:pointer;background:0 0;border:0;width:48px;height:32px;padding:0}.form-error{color:#fa777c;font-size:14px}.hint{color:var(--text-muted);text-transform:none;font-size:13px;font-weight:400}.field{flex-direction:column;gap:8px;display:flex}.auth,.splash{background:radial-gradient(1200px 600px at 20% 0%, #8b7cff2e, transparent 60%), radial-gradient(900px 500px at 100% 100%, #e0517a1f, transparent 60%), var(--bg-rail);place-items:center;height:100%;display:grid}.splash{align-content:center;gap:16px}.splash-logo{width:220px;animation:1.6s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.55}}.auth-card{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid var(--border);background:#1a1a1ed9;border-radius:14px;flex-direction:column;gap:16px;width:420px;max-width:calc(100% - 32px);padding:32px;display:flex;box-shadow:0 24px 60px #00000080}.auth-logo{align-self:center;width:200px;margin-bottom:4px}.auth-card h1{text-align:center;color:var(--text-strong);margin:0;font-size:24px}.auth-card>p{text-align:center;margin:-8px 0 0}.auth-switch{color:var(--text-muted);font-size:14px}.auth-server{text-align:center;font-size:12px}.auth-server a{color:var(--text-faint)}.auth-server .row input{flex:1;padding:6px 10px}.modal-backdrop{z-index:100;background:#000000b3;place-items:center;animation:.12s fade;display:grid;position:fixed;inset:0}@keyframes fade{0%{opacity:0}}.modal{background:var(--bg-sidebar);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:16px;width:460px;max-width:calc(100% - 32px);max-height:calc(100% - 64px);padding:24px;animation:.15s pop;display:flex;position:relative;overflow-y:auto}@keyframes pop{0%{transform:scale(.96)}}.modal-title{color:var(--text-strong);text-align:center;margin:0;font-size:22px}.modal-subtitle{text-align:center;color:var(--text-muted);margin:-8px 0 0}.modal-close{position:absolute;top:12px;right:12px}.modal-form{flex-direction:column;gap:12px;display:flex}.modal-form.narrow{max-width:380px}.or{text-align:center;color:var(--text-muted);text-transform:uppercase;font-size:12px}.radio-card{background:var(--bg-chat);text-transform:none;color:var(--text);cursor:pointer;border-radius:6px;flex-direction:row;align-items:center;gap:12px;padding:12px;font-size:14px}.radio-card.active{background:var(--bg-active)}.radio-card input{display:none}.radio-title{color:var(--text-strong);font-size:15px;font-weight:600}.copy-row{gap:8px;display:flex}.copy-row input{letter-spacing:.1em;flex:1;font-family:Consolas,monospace;font-size:18px}.guild-settings-top{align-items:flex-start;gap:16px;display:flex}.icon-upload{background:var(--accent);cursor:pointer;color:#fff;border-radius:50%;flex-shrink:0;place-items:center;width:80px;height:80px;font-size:22px;display:grid;position:relative;overflow:hidden}.icon-upload img{object-fit:cover;width:100%;height:100%}.icon-upload-hint{opacity:0;background:#0000008c;place-items:center;font-size:11px;display:grid;position:absolute;inset:0}.icon-upload:hover .icon-upload-hint{opacity:1}.picker-list{max-height:320px;margin:0 -8px;overflow-y:auto}.picker-row{text-transform:none;color:var(--text);cursor:pointer;border-radius:6px;flex-direction:row;align-items:center;gap:12px;padding:6px 8px;font-size:15px;font-weight:500}.picker-row:hover{background:var(--bg-hover)}.picker-row input{width:20px;height:20px;accent-color:var(--accent)}.image-viewer{grid-template-rows:1fr auto;gap:8px;padding:40px}.image-viewer img{border-radius:4px;align-self:center;max-width:100%;max-height:calc(100vh - 120px)}.image-viewer-link{color:var(--text-strong);font-size:14px}.settings{z-index:90;background:var(--bg-chat);animation:.15s fade;display:flex;position:fixed;inset:0}.settings-nav{background:var(--bg-sidebar);flex:1 0 218px;justify-content:flex-end;padding:60px 6px 60px 20px;display:flex;overflow-y:auto}.settings-nav-inner{flex-direction:column;gap:2px;width:192px;display:flex}.settings-nav-title{text-transform:uppercase;color:var(--text-muted);padding:6px 10px;font-size:12px;font-weight:700}.settings-tab{text-align:left;color:var(--text-muted);border-radius:4px;padding:6px 10px;font-weight:500}.settings-tab:hover{background:var(--bg-hover);color:var(--text)}.settings-tab.active{background:var(--bg-active);color:var(--text-strong)}.settings-sep{background:var(--border);height:1px;margin:8px 10px}.settings-content{flex:800px;padding:60px 40px 80px;display:flex;position:relative;overflow-y:auto}.settings-content-inner{flex-direction:column;gap:16px;width:100%;max-width:740px;display:flex}.settings-content h2{color:var(--text-strong);margin:0 0 4px;font-size:20px}.settings-content h3{color:var(--text-strong);margin:16px 0 0;font-size:16px}.settings-close{color:var(--text-muted);flex-direction:column;align-items:center;gap:6px;height:fit-content;margin-left:24px;font-size:12px;font-weight:600;display:flex;position:sticky;top:0}.settings-close svg{border:2px solid;border-radius:50%;width:36px;height:36px;padding:8px}.settings-close:hover{color:var(--text-strong)}.profile-editor{flex-wrap:wrap;gap:32px;display:flex}.profile-fields{flex-direction:column;flex:320px;gap:20px;display:flex}.profile-preview{flex-direction:column;gap:8px;display:flex}.account-card{border-radius:var(--radius);background:var(--bg-sidebar);align-items:center;gap:16px;padding:16px;display:flex}.save-bar{border-radius:var(--radius);background:var(--bg-floating);align-items:center;gap:12px;padding:10px 10px 10px 16px;animation:.15s pop;display:flex;position:sticky;bottom:0;box-shadow:0 8px 24px #0006}.save-bar span{flex:1;font-weight:500}.table{flex-direction:column;display:flex}.table-row{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:10px 0;display:flex}.invite-code{letter-spacing:.08em;color:var(--text-strong);font-size:16px}
