@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap";:root{--black:#000;--white:#fff;--gray-50:#fafafa;--gray-100:#f5f5f5;--gray-200:#e5e5e5;--gray-300:#d4d4d4;--gray-400:#a3a3a3;--gray-500:#737373;--gray-600:#525252;--gray-700:#404040;--gray-800:#262626;--gray-900:#171717;--gray-950:#0a0a0a;--bg:#000;--bg-secondary:#0a0a0a;--bg-elevated:#111;--bg-card:#0d0d0d;--text:#fff;--text-muted:#a3a3a3;--text-faint:#525252;--border:#1a1a1a;--border-hover:#333;--sidebar-width:260px;--header-height:54px;--radius:10px;--transition:.2s cubic-bezier(.4,0,.2,1)}*{box-sizing:border-box;margin:0;padding:0}html,body{width:100%;height:100%;overflow:hidden}body{-webkit-font-smoothing:antialiased;background:var(--bg);color:var(--text);letter-spacing:-.011em;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;line-height:1.55}#root{width:100%;height:100%}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#222;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#333}@keyframes enter{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}.landing-container{background:var(--bg);flex-direction:column;justify-content:center;align-items:center;min-height:100dvh;padding:3rem 1.5rem;display:flex;position:relative;overflow:hidden}.landing-container:before{content:"";pointer-events:none;background:radial-gradient(circle,#ffffff05 0%,#0000 60%);width:800px;height:800px;position:absolute;top:-30%;left:50%;transform:translate(-50%)}.landing-brand{z-index:1;flex-direction:column;align-items:center;gap:1.25rem;animation:.7s enter;display:flex;position:relative}.landing-icon{background:var(--white);width:80px;height:80px;color:var(--black);border-radius:22px;justify-content:center;align-items:center;display:flex;box-shadow:0 0 60px #ffffff0f}.landing-icon svg{width:36px;height:36px}.landing-logo{color:var(--white);letter-spacing:-.06em;font-size:3rem;font-weight:700;line-height:1}.landing-tagline{color:var(--text-muted);text-align:center;max-width:340px;font-size:1.125rem;font-weight:300;line-height:1.6}.landing-features{z-index:1;align-items:center;gap:.5rem;animation:.7s .1s both enter;display:flex;position:relative}.feature-item{color:var(--text-faint);font-size:.8125rem;font-weight:400}.feature-dot{color:var(--gray-700);font-size:.75rem}.landing-actions{z-index:1;flex-direction:column;gap:.75rem;width:100%;max-width:300px;margin-top:.5rem;animation:.7s .2s both enter;display:flex;position:relative}.landing-btn{border-radius:var(--radius);cursor:pointer;transition:all var(--transition);text-align:center;border:none;padding:.875rem 1.5rem;font-family:inherit;font-size:.9375rem;font-weight:500}.landing-btn-primary{background:var(--white);color:var(--black)}.landing-btn-primary:hover{background:var(--gray-200);box-shadow:0 0 30px #ffffff14}.landing-btn-secondary{color:var(--text-muted);border:1px solid var(--border);background:0 0}.landing-btn-secondary:hover{border-color:var(--border-hover);color:var(--white)}.landing-btn-ghost{color:var(--text-faint);background:0 0;border:none;font-size:.875rem}.landing-btn-ghost:hover{color:var(--white)}.landing-footer{color:var(--text-faint);z-index:1;margin-top:.5rem;font-size:.75rem;animation:.7s .25s both enter;position:relative}.auth-container{background:var(--bg);justify-content:center;align-items:center;min-height:100dvh;padding:1.5rem;display:flex}.auth-card{background:var(--bg-card);border:1px solid var(--border);border-radius:16px;width:100%;max-width:400px;padding:2.5rem;animation:.5s enter}.auth-header{text-align:center;margin-bottom:2rem}.auth-title{color:var(--white);letter-spacing:-.03em;font-size:1.5rem;font-weight:600}.auth-subtitle{color:var(--text-faint);margin-top:.375rem;font-size:.9375rem;font-weight:400}.auth-form{flex-direction:column;gap:1.125rem;display:flex}.input-group{flex-direction:column;gap:.375rem;display:flex}.input-label{color:var(--text-muted);font-size:.8125rem;font-weight:500}.auth-input{background:var(--bg-elevated);border:1px solid var(--border);width:100%;color:var(--white);transition:all var(--transition);border-radius:8px;padding:.75rem 1rem;font-family:inherit;font-size:1rem}.auth-input:focus{border-color:var(--gray-600);outline:none;box-shadow:0 0 0 3px #ffffff0a}.auth-input::placeholder{color:var(--text-faint)}.auth-btn{background:var(--white);width:100%;color:var(--black);cursor:pointer;transition:all var(--transition);border:none;border-radius:8px;margin-top:.5rem;padding:.875rem;font-family:inherit;font-size:1rem;font-weight:500}.auth-btn:hover{background:var(--gray-200)}.auth-btn:disabled{opacity:.35;cursor:not-allowed}.auth-footer{text-align:center;border-top:1px solid var(--border);margin-top:1.5rem;padding-top:1.5rem}.auth-link{color:var(--text-faint);font-size:.875rem}.auth-link a{color:var(--white);font-weight:500;text-decoration:none}.auth-link a:hover{text-decoration:underline}.auth-error{color:var(--gray-400);background:#ffffff08;border:1px solid #ffffff14;border-radius:8px;align-items:center;gap:.5rem;padding:.75rem 1rem;font-size:.875rem;display:flex}.auth-error svg{flex-shrink:0;width:18px;height:18px}.auth-input.error{border-color:var(--gray-500)}.auth-input.error:focus{border-color:var(--gray-400);box-shadow:0 0 0 3px #ffffff0f}.input-error{color:var(--gray-400);margin-top:.25rem;font-size:.8125rem}.input-wrapper{position:relative}.input-wrapper .auth-input{padding-right:2.75rem}.password-toggle{width:36px;height:36px;color:var(--text-faint);cursor:pointer;transition:all var(--transition);background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;display:flex;position:absolute;top:50%;right:.5rem;transform:translateY(-50%)}.password-toggle:hover{color:var(--white)}.password-toggle svg{width:20px;height:20px}.chat-wrapper{background:var(--bg);width:100%;height:100dvh;display:flex;overflow:hidden}.chat-sidebar{width:var(--sidebar-width);min-width:var(--sidebar-width);background:var(--bg-secondary);border-right:1px solid var(--border);flex-direction:column;flex-shrink:0;display:flex}.sidebar-header{height:var(--header-height);border-bottom:1px solid var(--border);align-items:center;padding:0 1.25rem;display:flex}.sidebar-title{color:var(--text-faint);text-transform:uppercase;letter-spacing:.08em;font-size:.75rem;font-weight:600}.users-list{flex:1;padding:.5rem 0;overflow-y:auto}.user-item{-webkit-user-select:none;user-select:none;align-items:center;gap:.75rem;padding:.625rem 1.25rem;display:flex}.user-item.you{background:#ffffff08}.user-avatar{background:var(--bg-elevated);border:1px solid var(--border);width:32px;height:32px;color:var(--text-muted);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:.8125rem;font-weight:600;display:flex}.user-avatar.you{background:var(--white);color:var(--black);border-color:#0000}.user-info{flex:1;min-width:0}.user-name{color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-size:.875rem;font-weight:500;overflow:hidden}.you-indicator{color:var(--text-faint);margin-left:.25rem;font-size:.6875rem;font-weight:500}.chat-main{flex-direction:column;flex:1;min-width:0;display:flex}.chat-header{height:var(--header-height);background:var(--bg-secondary);border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;padding:0 1.25rem;display:flex}.chat-header-info{align-items:center;gap:.75rem;display:flex}.chat-header-avatar{background:var(--white);width:32px;height:32px;color:var(--black);border-radius:50%;justify-content:center;align-items:center;font-size:.875rem;display:flex}.chat-header-title{flex-direction:column;display:flex}.chat-header-name{color:var(--white);font-size:.9375rem;font-weight:600}.chat-header-status{color:var(--text-faint);font-size:.75rem}.chat-header-actions{gap:.25rem;display:flex}.header-btn{height:34px;color:var(--text-faint);cursor:pointer;transition:all var(--transition);background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-family:inherit;font-size:.8125rem;font-weight:500;display:flex}.header-btn:hover{color:var(--white);background:#ffffff0a}.header-btn svg{width:16px;height:16px}.messages-wrapper{flex-direction:column;flex:1;gap:.5rem;padding:1.5rem;display:flex;overflow-y:auto}.message-group{flex-direction:column;gap:1px;max-width:60%;animation:.2s fadeUp;display:flex}.message-group.incoming{align-self:flex-start}.message-group.outgoing{align-self:flex-end}.message-sender{color:var(--text-faint);letter-spacing:.02em;margin-bottom:2px;margin-left:14px;font-size:.6875rem;font-weight:500}.message-bubble{word-wrap:break-word;word-break:break-word;border-radius:18px;max-width:100%;padding:.5625rem 1rem;font-size:.9375rem;line-height:1.45;position:relative}.message-group.incoming .message-bubble{background:var(--bg-elevated);color:var(--gray-200);border:1px solid var(--border);border-bottom-left-radius:4px}.message-group.outgoing .message-bubble{background:var(--white);color:var(--black);border-bottom-right-radius:4px}.message-group.outgoing .message-sender{color:var(--text-muted)}.message-meta{opacity:.5;justify-content:flex-end;align-items:center;gap:.25rem;margin-top:.125rem;font-size:.6875rem;display:flex}.message-time{color:inherit}.message-check{opacity:.8}.date-divider{justify-content:center;align-items:center;margin:1.25rem 0;display:flex;position:relative}.date-divider:before{content:"";background:var(--border);height:1px;position:absolute;left:0;right:0}.date-divider span{background:var(--bg);color:var(--text-faint);z-index:1;padding:0 1rem;font-size:.6875rem;font-weight:500;position:relative}.chat-wrapper .input-wrapper{background:var(--bg-secondary);border-top:1px solid var(--border);flex-shrink:0;padding:.75rem 1.25rem 1rem}.input-container{background:var(--bg-elevated);border:1px solid var(--border);transition:all var(--transition);border-radius:24px;align-items:center;gap:.5rem;padding:.375rem .5rem;display:flex}.input-container:focus-within{border-color:var(--gray-600)}.chat-input{color:var(--white);background:0 0;border:none;outline:none;flex:1;padding:.5rem .75rem;font-family:inherit;font-size:.9375rem}.chat-input::placeholder{color:var(--text-faint)}.input-btn{width:36px;height:36px;color:var(--text-faint);cursor:pointer;transition:all var(--transition);background:0 0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.input-btn:hover{color:var(--white)}.send-btn{background:var(--white);color:var(--black)}.send-btn:hover{background:var(--gray-200)}.send-btn:disabled{opacity:.25;cursor:not-allowed}.empty-state{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:2rem;display:flex}.empty-icon{opacity:.2;margin-bottom:.75rem;font-size:2.5rem}.empty-title{color:var(--text-muted);margin-bottom:.25rem;font-size:1rem;font-weight:500}.empty-subtitle{color:var(--text-faint);font-size:.8125rem}.loading-spinner{border:2px solid var(--border);border-top-color:var(--white);border-radius:50%;width:18px;height:18px;animation:1s linear infinite spin}.mobile-only,.mobile-members-btn{display:none}@media (width<=768px){:root{--sidebar-width:0}.mobile-only{display:inline}.mobile-members-btn{display:flex!important}.chat-sidebar{z-index:100;transition:transform var(--transition);width:280px;min-width:280px;position:fixed;top:0;bottom:0;left:0;transform:translate(-100%)}.chat-sidebar.open{transform:translate(0);box-shadow:8px 0 40px #0009}.sidebar-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:99;opacity:0;visibility:hidden;transition:all var(--transition);background:#0009;position:fixed;inset:0}.sidebar-overlay.open{opacity:1;visibility:visible}.chat-header{padding:0 .75rem}.header-btn span{display:none}.header-btn{border-radius:50%;width:36px;height:36px;padding:0}.messages-wrapper{padding:1rem}.message-group{max-width:80%}.chat-wrapper .input-wrapper{padding:.625rem .75rem .875rem}.landing-logo{font-size:2.5rem}.auth-card{padding:2rem}}@media (width<=480px){.landing-container{padding:1.5rem 1rem}.landing-logo{font-size:2rem}.landing-tagline{font-size:.9375rem}.landing-icon{border-radius:18px;width:64px;height:64px}.landing-icon svg{width:30px;height:30px}.auth-card{border-radius:12px;padding:1.5rem}.chat-header{height:48px}.chat-header-avatar{width:28px;height:28px;font-size:.8125rem}.chat-header-name{font-size:.8125rem}.header-btn{width:32px;height:32px}.header-btn svg{width:15px;height:15px}.messages-wrapper{padding:.75rem}.message-group{max-width:88%}.message-bubble{padding:.5rem .75rem;font-size:.875rem}.chat-wrapper .input-wrapper{padding:.5rem .625rem .75rem}.input-container{border-radius:20px}.chat-input{font-size:.875rem}.input-btn{width:32px;height:32px}}@media (width<=380px){.landing-container{padding:1.5rem .875rem}.landing-logo{font-size:1.75rem}.landing-icon{width:56px;height:56px}.feature-item{padding:.3rem .75rem;font-size:.75rem}.auth-card{padding:1.25rem}.auth-title{font-size:1.25rem}.chat-sidebar{width:260px;min-width:260px}.message-group{max-width:92%}.message-bubble{border-radius:14px;font-size:.8125rem}}
