@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html,body,#root{width:100%;min-width:360px;min-height:100%;margin:0}body{min-height:100vh}:root{color:#e9eaf2;font-synthesis:none;text-rendering:optimizelegibility;--bg:#101117;--panel:#171922;--panel-light:#1d202c;--border:#292c39;--muted:#85899c;--accent:#8175f5;background:#101117;font-family:Inter,sans-serif}*{box-sizing:border-box}body{min-width:360px;min-height:100vh;margin:0}button,input{font:inherit}button{cursor:pointer}.app-shell{background:var(--bg);height:100vh;min-height:560px;display:flex;overflow:hidden}.rail{border-right:1px solid var(--border);background:#14151d;flex-direction:column;flex-shrink:0;align-items:center;gap:13px;width:76px;padding:20px 0;display:flex}.brand-mark,.rail-avatar,.profile-avatar{color:#fff;background:linear-gradient(145deg,#a18bff,#6354d9);place-items:center;font-weight:800;display:grid}.brand-mark{border-radius:14px;width:43px;height:43px;font-size:23px;box-shadow:0 5px 22px #8175f544}.rail-divider{background:var(--border);width:32px;height:1px;margin:5px 0}.rail-button,.icon-button{color:var(--muted);background:0 0;border:0;place-items:center;transition:all .2s;display:grid}.rail-button{border-radius:14px;width:45px;height:45px}.rail-button svg{width:21px;height:21px}.rail-button:hover,.icon-button:hover{color:#fff;background:#282a38}.rail-button.active{color:#fff;background:#39335e}.rail-spacer{flex:1}.rail-avatar{border-radius:50%;width:38px;height:38px;font-size:17px}.chat-sidebar{background:var(--panel);border-right:1px solid var(--border);flex-direction:column;flex-shrink:0;width:330px;display:flex}.sidebar-heading{justify-content:space-between;align-items:center;padding:27px 22px 21px;display:flex}.eyebrow{color:var(--accent);letter-spacing:1.8px;margin-bottom:8px;font-size:10px;font-weight:800}.sidebar-heading h1{margin:0;font-size:21px;font-weight:700}.icon-button{border-radius:11px;width:37px;height:37px}.icon-button svg{width:19px;height:19px}.sidebar-heading .icon-button{color:#b6aaff;background:#302b50}.search-box{border:1px solid var(--border);height:42px;color:var(--muted);background:#12141c;border-radius:11px;align-items:center;gap:9px;margin:0 17px 25px;padding:0 11px;display:flex}.search-box input{color:#fff;background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:12px}.search-box kbd{color:#85899c;border:1px solid #343747;border-radius:5px;padding:3px 5px;font-size:10px}.section-label{color:#777c90;letter-spacing:1.1px;justify-content:space-between;align-items:center;padding:0 21px 12px;font-size:10px;font-weight:800;display:flex}.chat-list{padding:0 10px;overflow-y:auto}.chat-item{width:100%;color:inherit;text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;margin-bottom:4px;padding:12px 10px;display:flex}.chat-item:hover{background:#222431}.chat-item.selected{background:#29263f}.chat-avatar{color:#fff;border-radius:14px;flex-shrink:0;place-items:center;width:43px;height:43px;font-size:17px;font-weight:700;display:grid;position:relative}.online-dot{border:2px solid var(--panel);background:#49cb91;border-radius:50%;width:11px;height:11px;position:absolute;bottom:-2px;right:-2px}.chat-info{flex:1;min-width:0}.chat-topline,.chat-bottomline{justify-content:space-between;align-items:center;gap:7px;display:flex}.chat-topline strong{font-size:12px;font-weight:600}.chat-topline span{color:var(--muted);white-space:nowrap;font-size:10px}.chat-bottomline{margin-top:6px}.chat-bottomline span{color:#9296a8;white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.unread{background:var(--accent);color:#fff;border-radius:7px;place-items:center;min-width:18px;height:18px;font-size:10px;display:grid}.empty-search{color:var(--muted);padding:15px;font-size:12px}.sidebar-bottom{border-top:1px solid var(--border);align-items:center;gap:11px;margin-top:auto;padding:15px;display:flex}.profile-avatar{border-radius:13px;width:39px;height:39px}.profile-info{flex-direction:column;flex:1;gap:5px;display:flex}.profile-info strong{font-size:12px}.profile-info span{color:var(--muted);font-size:10px}.profile-info i{background:#49cb91;border-radius:50%;width:7px;height:7px;margin-right:5px;display:inline-block}.conversation{background:radial-gradient(at 70% 15%,#28234425,#0000 40%),#11131b;flex-direction:column;flex:1;min-width:0;display:flex}.conversation-header{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;height:83px;padding:0 27px;display:flex}.header-person{align-items:center;gap:13px;display:flex}.header-avatar{width:43px;height:43px}.header-person h2{margin:0 0 6px;font-size:14px}.presence{color:#51c995;font-size:10px}.header-actions{gap:8px;display:flex}.message-area{flex:1;min-height:0;padding:25px 6%;overflow-y:auto}.conversation-start{border-bottom:1px solid #292c393d;flex-direction:column;align-items:flex-start;margin-bottom:32px;padding-bottom:25px;display:flex}.large-avatar{color:#fff;border-radius:21px;place-items:center;width:66px;height:66px;margin-bottom:15px;font-size:26px;font-weight:800;display:grid}.conversation-start h2{margin:0 0 7px;font-size:20px}.conversation-start p{color:#c1c3ce;margin:0 0 7px;font-size:12px}.conversation-start span{color:var(--muted);font-size:10px}.message-row{align-items:flex-end;gap:10px;margin:19px 0;display:flex}.message-row.mine{justify-content:flex-end}.message-avatar{background:#6157a7;border-radius:10px;flex-shrink:0;place-items:center;width:30px;height:30px;font-size:12px;font-weight:700;display:grid}.message-content{max-width:min(520px,80%)}.message-content>strong{color:#b9aaff;margin:0 0 6px 3px;font-size:10px;display:block}.message-bubble{color:#e2e3eb;overflow-wrap:anywhere;background:#20232f;border:1px solid #303342;border-radius:4px 15px 15px;padding:12px 15px;font-size:12px;line-height:1.6}.mine .message-bubble{color:#fff;background:#5145a0;border-color:#6758c5;border-radius:15px 4px 15px 15px}.message-content time{color:#72778a;margin:5px 3px 0;font-size:9px;display:block}.mine .message-content time{text-align:right}.empty-conversation{text-align:center;color:var(--muted);margin:70px auto;font-size:12px}.empty-conversation svg{color:var(--accent)}.empty-conversation span{font-size:10px}.composer{background:#1b1e29;border:1px solid #343747;border-radius:15px;align-items:center;gap:9px;min-height:58px;margin:0 6%;padding:8px 10px;display:flex}.composer-tools{gap:2px;display:flex}.composer input{color:#fff;background:0 0;border:0;outline:0;flex:1;min-width:0;padding:10px 4px;font-size:12px}.composer input::placeholder{color:#777c90}.send-button{background:var(--accent);color:#fff;border:0;border-radius:12px;place-items:center;width:39px;height:39px;transition:all .2s;display:grid}.send-button:hover{background:#968bff;transform:translateY(-1px)}.send-button:disabled{opacity:.4;cursor:not-allowed}.composer-hint{text-align:right;color:#6f7487;padding:7px 6% 12px;font-size:9px}@media (width<=760px){.rail{width:58px}.chat-sidebar{width:250px}.conversation-header{padding:0 15px}.message-area{padding:20px 4%}.composer{margin:0 4%}}@media (width<=540px){.rail{display:none}.chat-sidebar{width:90px}.sidebar-heading{justify-content:center;padding:20px 8px}.sidebar-heading>div,.search-box,.section-label,.chat-info,.sidebar-bottom .profile-info,.sidebar-bottom .icon-button{display:none}.chat-list{padding:0 8px}.chat-item{justify-content:center;padding:10px 0}.chat-avatar{width:47px;height:47px}.sidebar-bottom{justify-content:center;padding:12px 5px}.header-actions{gap:0}.header-actions .icon-button{width:32px}.composer-tools{display:none}}.auth-screen{color:#f4f3fa;background:radial-gradient(at 50% 0,#7770e829,#0000 55%),#101116;justify-content:center;align-items:center;min-height:100vh;padding:28px 16px;display:flex}.auth-card{background:#191a22;border:1px solid #ffffff17;border-radius:20px;width:100%;max-width:430px;padding:38px;box-shadow:0 24px 80px #00000059}.auth-logo{color:#fff;background:#7770e8;border-radius:16px;place-items:center;width:52px;height:52px;margin-bottom:25px;font-size:28px;font-weight:800;display:grid}.auth-eyebrow{color:#918be9;letter-spacing:2px;margin-bottom:10px;font-size:11px;font-weight:700}.auth-card h1{letter-spacing:-.7px;margin:0;font-size:28px}.auth-description,.auth-card>p{color:#9999a8;margin:9px 0 26px;font-size:14px;line-height:1.6}.auth-form{flex-direction:column;gap:10px;display:flex}.auth-form label{color:#c9c8d4;margin-top:7px;font-size:13px;font-weight:600}.auth-input-wrap{color:#858594;background:#121319;border:1px solid #343541;border-radius:10px;align-items:center;gap:11px;min-height:48px;padding:0 14px;display:flex}.auth-input-wrap:focus-within{border-color:#7770e8;box-shadow:0 0 0 3px #7770e81f}.auth-input-wrap input{color:#f4f3fa;width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:0;font-size:14px}.auth-input-wrap input::placeholder{color:#686977}.auth-submit{color:#fff;cursor:pointer;background:#7770e8;border:0;border-radius:10px;min-height:48px;margin-top:13px;font-size:14px;font-weight:700;transition:background .2s,transform .2s}.auth-submit:hover{background:#8982f3;transform:translateY(-1px)}.auth-submit:disabled{opacity:.6;cursor:wait;transform:none}.auth-error{color:#ff9ca6;background:#e25b691a;border:1px solid #e25b694d;border-radius:9px;padding:11px 13px;font-size:13px;line-height:1.5}.auth-switch{color:#9999a8;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:24px;font-size:13px;display:flex}.auth-switch button{color:#a49eff;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:700}.auth-footer{color:#60616f;letter-spacing:1.5px;text-align:center;margin-top:30px;font-size:10px}@media (width<=480px){.auth-card{padding:28px 22px}}*{scrollbar-width:thin;scrollbar-color:#7770e8 #171822}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-track{background:#171822;border-radius:10px}::-webkit-scrollbar-thumb{background:linear-gradient(#8982f3,#625bd0);border:2px solid #171822;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#a49eff}::-webkit-scrollbar-corner{background:#171822}.friends-content{flex:1;padding:28px;overflow-y:auto}.friends-section{border:1px solid var(--border);background:var(--panel);border-radius:15px;max-width:850px;margin-bottom:32px;padding:22px}.friends-section h2{margin:0 0 8px;font-size:17px}.friends-section>p{color:var(--muted);margin:0 0 18px;font-size:13px}.friends-search{border:1px solid var(--border);height:45px;color:var(--muted);background:#12141c;border-radius:10px;align-items:center;gap:11px;margin-bottom:15px;padding:0 13px;display:flex}.friends-search:focus-within{border-color:var(--accent)}.friends-search input{color:#fff;background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:13px}.friend-row{border-top:1px solid var(--border);align-items:center;gap:13px;min-height:65px;padding:10px 0;display:flex}.friend-avatar{color:#fff;background:linear-gradient(145deg,#8278ee,#5147b8);border-radius:13px;flex-shrink:0;place-items:center;width:42px;height:42px;font-weight:700;display:grid;position:relative}.friend-details{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.friend-details strong{font-size:13px}.friend-details span{color:var(--muted);font-size:11px}.friend-action,.friend-decline{white-space:nowrap;border:0;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:34px;padding:0 13px;font-size:12px;font-weight:600;display:inline-flex}.friend-action{color:#c5bdff;background:#39335e}.friend-action:hover{background:#50468b}.friend-decline{color:#f0a3ae;background:#35252e}.friend-decline:hover{background:#51303b}.friends-empty{color:var(--muted);padding:12px 0;font-size:12px}.friends-error{color:#ff9ca6;font-size:13px}.friends-success{color:#69d6a1;font-size:13px}@media (width<=650px){.friends-content{padding:15px}.friends-section{padding:16px}.friend-row{flex-wrap:wrap}}.group-modal-backdrop{z-index:1000;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000000b8;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.group-modal{border:1px solid var(--border);background:#171822;border-radius:18px;width:100%;max-width:480px;max-height:min(700px,90vh);padding:26px;overflow-y:auto;box-shadow:0 25px 80px #00000080}.group-modal h2{margin:0 0 8px;font-size:20px}.group-modal h3{margin:22px 0 10px;font-size:14px}.group-modal>p{color:var(--muted);margin:0 0 18px;font-size:13px}.group-modal>input{border:1px solid var(--border);color:#fff;background:#12141c;border-radius:9px;outline:none;width:100%;height:44px;padding:0 13px}.group-modal>input:focus{border-color:var(--accent)}.group-modal .friend-row{cursor:pointer}.group-modal .friend-row input[type=checkbox]{width:17px;height:17px;accent-color:var(--accent)}.group-modal .friend-action,.group-modal .friend-decline{margin-top:16px;margin-right:8px}@media (width<=500px){.group-modal{padding:20px}}.chat-item-wrapper{border-radius:10px;align-items:center;display:flex;position:relative;overflow:hidden}.chat-item-wrapper .chat-item{flex:1;width:100%;min-width:0}.chat-leave-button{color:#858796;cursor:pointer;opacity:0;background:0 0;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;margin-right:8px;transition:opacity .2s,background .2s,color .2s;display:flex}.chat-item-wrapper:hover .chat-leave-button,.chat-item-wrapper:focus-within .chat-leave-button{opacity:1}.chat-leave-button:hover{color:#ef4444;background:#ef444424}.system-message{color:#92939f;text-align:center;background:#ffffff0b;border-radius:20px;width:fit-content;max-width:85%;margin:14px auto;padding:6px 13px;font-size:12px;line-height:1.5}
