*,*:before,*:after{box-sizing:border-box}:root{color-scheme:dark;--bcord-bg: #020617;--bcord-bg-elevated: #020617;--bcord-surface: #020617;--bcord-text: #e5e7eb;--bcord-muted: #9ca3af;--bcord-border-subtle: rgba(148, 163, 184, .3);--bcord-accent: #6366f1;--bcord-accent-soft: rgba(99, 102, 241, .2)}html,body{margin:0;padding:0;height:100%;background:var(--bcord-bg);color:var(--bcord-text);font-family:system-ui,-apple-system,BlinkMacSystemFont,Inter,sans-serif;-webkit-font-smoothing:antialiased;overflow:hidden}#root{max-width:none!important;margin:0!important;padding:0!important;text-align:left!important;height:100vh;overflow:hidden;background:var(--bcord-bg);color:var(--bcord-text)}a{color:#a5b4fc;text-decoration:none}a:hover{text-decoration:underline}button{font-family:inherit}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#020617}::-webkit-scrollbar-thumb{background:#1e293b;border-radius:999px}::-webkit-scrollbar-thumb:hover{background:#334155}.bcord-app-shell{height:100vh;overflow:hidden;background:radial-gradient(circle at top,#020617 0,#020617 55%);color:var(--bcord-text);display:flex;flex-direction:column}.bcord-app-main{flex:1;display:flex;flex-direction:column;overflow:hidden}.bcord-surface{background:#020617;border-radius:16px;border:1px solid var(--bcord-border-subtle);box-shadow:0 18px 45px #0f172ad9,0 0 0 1px #0f172ae6}.bcord-text-muted{color:var(--bcord-muted);font-size:.875rem}.app,.page,.container{background:transparent;color:inherit}.bcord-chat-root{position:absolute;top:0;left:0;right:0;bottom:0;height:100vh;max-height:100vh;display:flex;flex-direction:column;background:radial-gradient(circle at top,#020617 0,#020617 55%);overflow:hidden;color:var(--bcord-text)}.bcord-chat-topbar{height:44px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-bottom:1px solid rgba(15,23,42,.9);background:#0f172afa;box-shadow:0 1px #0f172a;flex-shrink:0}.bcord-chat-topbar-left{display:flex;flex-direction:column;gap:2px}.bcord-chat-topbar-title{font-size:13px;font-weight:600}.bcord-chat-topbar-subtitle{font-size:11px;color:var(--bcord-muted)}.bcord-chat-topbar-right{display:flex;align-items:center;position:relative}.bcord-chat-status-pill{font-size:11px;padding:2px 8px;border-radius:999px;border:1px solid rgba(148,163,184,.3);background:#0f172ae6;color:var(--bcord-text)}.bcord-chat-status-pill.ok{border-color:#22c55eb3;color:#bbf7d0}.bcord-chat-status-pill.err{border-color:#f87171cc;color:#fecaca}.bcord-chat-body{flex:1;display:grid;grid-template-columns:284px minmax(0,1fr) 260px;min-height:0;max-height:100%;overflow:hidden}.bcord-chat-col{border-right:1px solid rgba(15,23,42,.95);min-height:0;max-height:100%;overflow:hidden}.bcord-left-section{display:flex;flex-direction:column;height:100%;width:270px;flex-shrink:0}.bcord-left-content{display:flex;flex-direction:row;flex:1;overflow:hidden}.bcord-chat-rail{background:#020617;display:flex;flex-direction:column;justify-content:flex-start;padding:8px 4px;overflow-y:auto;position:relative;flex-shrink:0;width:70px;border:1px solid rgba(30,64,175,.15)}.bcord-chat-rail::-webkit-scrollbar{width:4px}.bcord-chat-rail::-webkit-scrollbar-track{background:transparent}.bcord-chat-rail::-webkit-scrollbar-thumb{background:#fff3;border-radius:2px}.bcord-chat-rail::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.bcord-chat-rail-top{display:flex;flex-direction:column;align-items:center;gap:10px;padding-top:4px}.bcord-chat-rail-server{position:relative}.bcord-chat-rail-server,.bcord-chat-rail-room{width:42px;height:42px;border-radius:999px;border:2px solid rgba(15,23,42,1);background:radial-gradient(circle at 30% 0,#020617,#020617);display:flex;align-items:center;justify-content:center;cursor:pointer}.bcord-chat-rail-server .initials,.bcord-chat-rail-room .initials{font-size:16px;font-weight:700;color:#e5e7eb}.bcord-chat-rail-server{border-color:#60a5fae6;background:radial-gradient(circle at 30% 0,#4f46e5,#020617)}.bcord-chat-rail-room.active{border-color:#60a5fae6;background:radial-gradient(circle at 30% 0,#1f2937,#020617)}.bcord-chat-rail-top-divider{width:60%;height:1px;background:#0f172a;margin:2px 0}.bcord-chat-rail-profile{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding-bottom:4px}.bcord-user-panel{background:#020617;border:1px solid rgba(30,64,175,.15);padding:10px;display:flex;align-items:center;justify-content:space-between;height:62px;flex-shrink:0}.bcord-user-panel-info{display:flex;align-items:center;gap:6px;flex:1;min-width:0}.bcord-user-panel-avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#6366f1,#8b5cf6);display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;color:#fff;cursor:pointer;flex-shrink:0;position:relative;transition:all .2s ease}.bcord-user-panel-avatar:hover{border-radius:40%;transform:scale(1.05)}.bcord-user-panel-status-dot{position:absolute;bottom:0;right:0;width:10px;height:10px;background:#22c55e;border:2px solid #020617;border-radius:50%}.bcord-user-panel-details{display:flex;flex-direction:column;min-width:0;flex:1}.bcord-user-panel-username{font-size:12px;font-weight:600;color:#e5e7eb;white-space:nowrap}.bcord-user-panel-status{font-size:10px;color:#9ca3af}.bcord-user-panel-controls{display:flex;gap:4px;align-items:center;align-self:flex-end;margin-bottom:2px}.bcord-user-panel-btn{width:24px;height:24px;background:transparent;border:none;border-radius:4px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:14px;transition:all .2s ease;color:#9ca3af}.bcord-user-panel-btn:hover{background:#6366f126;color:#e5e7eb}.bcord-user-panel-btn:active{transform:scale(.95)}.bcord-chat-rail-panel{width:100%;max-height:0;overflow:hidden;transition:max-height .2s ease-out}.bcord-chat-rail-profile.open .bcord-chat-rail-panel{max-height:180px}.bcord-chat-rail-panel-inner{margin:0 6px 4px;padding:8px 6px;border-radius:10px;background:radial-gradient(circle at top,#020617,#020617);border:1px solid rgba(31,41,55,.9);box-shadow:0 8px 20px #0f172ae6;text-align:center}.bcord-chat-rail-panel-inner .title{font-size:12px;font-weight:600}.bcord-chat-rail-panel-inner .subtitle{font-size:11px;color:var(--bcord-muted);margin-top:2px}.bcord-chat-rail-avatar{width:40px;height:40px;border-radius:999px;border:2px solid rgba(148,163,184,.4);background:radial-gradient(circle at 30% 0,#4f46e5,#0f172a);color:#e5e7eb;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;cursor:pointer}.bcord-chat-rooms{background:#020617;display:flex;flex-direction:column;overflow-y:auto;border:1px solid rgba(30,64,175,.15)}.bcord-chat-rooms-header{display:flex;align-items:center;justify-content:space-between;padding:10px 10px 4px;border-bottom:1px solid rgba(15,23,42,1)}.bcord-chat-rooms-title{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--bcord-muted)}.bcord-chat-rooms-list{padding:0;display:flex;flex-direction:column;gap:0;overflow-y:auto}.bcord-chat-rooms-list::-webkit-scrollbar{width:4px}.bcord-chat-rooms-list::-webkit-scrollbar-track{background:transparent}.bcord-chat-rooms-list::-webkit-scrollbar-thumb{background:#fff3;border-radius:2px}.bcord-chat-rooms-list::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.bcord-chat-room-item{width:100%;border-radius:6px;border:none;padding:6px 8px;background:transparent;color:var(--bcord-text);font-size:13px;display:flex;align-items:center;gap:6px;text-align:left;cursor:pointer}.bcord-chat-room-item .hash{color:#64748b}.bcord-chat-room-item .label{flex:1}.bcord-chat-room-item:hover{background:#0f172ae6}.bcord-chat-room-item.active{background:#4f46e52e;color:#e5e7eb}.bcord-chat-main{background:#020617;display:flex;flex-direction:column;min-height:0;max-height:100%;overflow:hidden;border:1px solid rgba(30,64,175,.15)}.bcord-chat-main-header{height:44px;display:flex;align-items:center;padding:0 14px;border-bottom:1px solid rgba(15,23,42,1);flex-shrink:0}.bcord-chat-main-room{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600}.bcord-chat-main-room .hash{color:#64748b}.bcord-chat-messages{flex:1;min-height:0;padding:10px 14px 0;overflow-y:auto;overflow-x:hidden;text-align:left}.bcord-chat-empty{font-size:13px;color:var(--bcord-muted)}.bcord-chat-message{display:flex;gap:10px;margin-bottom:10px}.bcord-chat-message-avatar{width:32px;height:32px;border-radius:999px;background:#111827;border:1px solid rgba(55,65,81,.8);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:600;color:#e5e7eb;flex-shrink:0}.bcord-chat-message-body{flex:1;min-width:0;text-align:left}.bcord-chat-message-meta{display:flex;align-items:baseline;gap:6px;font-size:12px}.bcord-chat-message-meta .sender{font-weight:600}.bcord-chat-message-meta .time{font-size:11px;color:var(--bcord-muted)}.bcord-chat-message-body .text{font-size:18px;line-height:1.4;word-wrap:break-word;overflow-wrap:anywhere}.bcord-chat-composer{border-top:1px solid rgba(15,23,42,1);padding:8px 12px 10px;display:flex;align-items:flex-end;gap:8px;flex-shrink:0;position:relative}.bcord-chat-input{flex:1;min-height:40px;max-height:120px;padding:8px 10px;background:#020617;border-radius:8px;border:1px solid rgba(30,64,175,.5);color:var(--bcord-text);font-size:13px;resize:none;overflow-y:auto;line-height:1.4;font-family:inherit}.bcord-chat-input::-moz-placeholder{color:var(--bcord-muted)}.bcord-chat-input::placeholder{color:var(--bcord-muted)}.bcord-chat-send-btn{border-radius:8px;border:1px solid rgba(30,64,175,.8);padding:8px 14px;background:linear-gradient(135deg,#6366f1,#14b8a6);color:#020617;font-size:13px;font-weight:600;cursor:pointer}.bcord-chat-send-btn:hover{filter:brightness(1.05)}.bcord-chat-rumble{background:#020617;display:flex;flex-direction:column;border:1px solid rgba(30,64,175,.15)}.bcord-chat-rumble-header{height:44px;display:flex;align-items:center;padding:0 10px;border-bottom:1px solid rgba(15,23,42,1);font-size:12px;font-weight:600;text-transform:uppercase;color:var(--bcord-muted);flex-shrink:0}.bcord-chat-rumble-list{padding:8px 8px 10px;display:flex;flex-direction:column;gap:6px;overflow-y:auto}.bcord-chat-rumble-item{border-radius:10px;border:1px solid rgba(30,64,175,.5);background:radial-gradient(circle at top left,#020617,#020617);padding:8px 10px;text-align:left;cursor:pointer;color:var(--bcord-text);display:flex;flex-direction:column;gap:8px}.bcord-chat-rumble-item .rumble-thumbnail{width:100%;height:auto;border-radius:6px;aspect-ratio:16/9;-o-object-fit:cover;object-fit:cover}.bcord-chat-rumble-item .title{font-size:13px;font-weight:600}.bcord-chat-rumble-item .host{font-size:11px;color:var(--bcord-muted);margin-top:2px}.bcord-chat-rumble-item.is-live{border-color:#ef4444;background:linear-gradient(135deg,#ef444426,#020617)}.bcord-chat-rumble-item .live-badge{display:inline-block;background:#ef4444;color:#fff;font-size:9px;font-weight:700;padding:2px 6px;border-radius:3px;margin-right:6px;animation:pulse-live 2s infinite}@keyframes pulse-live{0%,to{opacity:1}50%{opacity:.7}}.bcord-chat-rumble-loading{color:var(--bcord-muted);font-size:12px;padding:10px;text-align:center}.bcord-chat-rumble-item:hover{border-color:#38bdf8b3}.bcord-chat-connection-dot-wrapper{position:fixed;left:16px;bottom:16px;pointer-events:none}.bcord-chat-connection-dot{width:10px;height:10px;border-radius:999px;border:2px solid #020617;background:#4b5563;box-shadow:0 0 0 2px #0f172ae6}.bcord-chat-connection-dot.online{background:#22c55e;box-shadow:0 0 0 2px #0f172ae6,0 0 16px #22c55ee6}.bcord-chat-connection-dot.offline{background:#4b5563}.bcord-chat-friends-drawer{position:fixed;top:44px;left:0;bottom:0;width:0;overflow:hidden;pointer-events:none;transition:width .18s ease-out;z-index:1000}.bcord-chat-friends-drawer.open{width:260px;pointer-events:auto}.bcord-chat-friends-drawer .drawer-inner{height:100%;background:#020617;border-right:1px solid rgba(15,23,42,1);box-shadow:8px 0 24px #0f172ae6;display:flex;flex-direction:column}.bcord-chat-friends-drawer .drawer-header{display:flex;align-items:center;justify-content:space-between;padding:10px 10px 6px;border-bottom:1px solid rgba(15,23,42,1)}.bcord-chat-friends-drawer .drawer-header .title{font-size:13px;font-weight:600}.bcord-chat-friends-drawer .drawer-header .close-btn{border:none;background:transparent;color:var(--bcord-muted);font-size:18px;cursor:pointer}.bcord-chat-friends-drawer .drawer-list{padding:8px 8px 10px;overflow-y:auto;display:flex;flex-direction:column;gap:4px}.bcord-chat-friends-drawer .drawer-item{display:flex;align-items:center;gap:8px;padding:6px;border-radius:8px;background:transparent}.bcord-chat-friends-drawer .drawer-item .avatar{width:28px;height:28px;border-radius:999px;background:#111827;border:1px solid rgba(55,65,81,.8);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:600;color:#e5e7eb}.bcord-chat-friends-drawer .drawer-item .name{font-size:13px}.dm-page-root{height:100vh;max-height:100vh;display:flex;flex-direction:column;background:radial-gradient(circle at top,#020617 0,#020617 55%);color:var(--bcord-text);overflow:hidden}.dm-page-nav{height:44px;display:flex;align-items:center;padding:0 14px;border-bottom:1px solid rgba(15,23,42,1);background:#020617;flex-shrink:0}.dm-back-btn{border:none;background:transparent;color:var(--bcord-text);font-size:14px;cursor:pointer;padding:6px 12px;border-radius:6px;transition:background .2s}.dm-back-btn:hover{background:#4f46e533}.dm-page-content{flex:1;display:grid;grid-template-columns:260px minmax(0,1fr);min-height:0;overflow:hidden}.dm-page-sidebar{border-right:1px solid rgba(15,23,42,.95);background:#020617;display:flex;flex-direction:column}.dm-page-main{display:flex;flex-direction:column;min-height:0;flex:1;overflow:hidden}.dm-page-empty{margin:auto;font-size:14px;color:var(--bcord-muted);padding:20px;text-align:center}.dm-list-root{display:flex;flex-direction:column;height:100%}.dm-list-header{height:44px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;border-bottom:1px solid rgba(15,23,42,1);font-size:13px;font-weight:600}.dm-list-header-actions{display:flex;gap:4px}.dm-list-new,.dm-list-refresh{border:none;background:transparent;color:var(--bcord-muted);cursor:pointer;font-size:18px;width:28px;height:28px;border-radius:4px;display:flex;align-items:center;justify-content:center;transition:background .2s}.dm-list-new:hover,.dm-list-refresh:hover{background:#4f46e533;color:var(--bcord-text)}.dm-list-items{padding:6px 6px 10px;overflow-y:auto;flex:1}.dm-list-status{font-size:12px;color:var(--bcord-muted);padding:8px 10px}.dm-list-error{font-size:12px;color:#fecaca;padding:8px 10px}.dm-list-item{width:100%;border:none;border-radius:10px;padding:6px 8px;display:flex;align-items:center;gap:8px;background:transparent;color:var(--bcord-text);text-align:left;cursor:pointer;margin-bottom:4px}.dm-list-item .avatar{width:32px;height:32px;border-radius:999px;background:#111827;border:1px solid rgba(55,65,81,.8);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:600;flex-shrink:0}.dm-list-item .content{flex:1;min-width:0}.dm-list-item .name{font-size:13px;font-weight:600}.dm-list-item .snippet{font-size:11px;color:var(--bcord-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dm-list-item:hover{background:#0f172ae6}.dm-list-item.active{background:#4f46e533}.dm-thread-root{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.dm-thread-header{height:44px;display:flex;align-items:center;padding:0 14px;border-bottom:1px solid rgba(15,23,42,1);flex-shrink:0}.dm-thread-title{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600}.dm-thread-hash{color:#64748b}.dm-thread-body{flex:1;padding:10px 14px;overflow-y:auto;min-height:0;scroll-behavior:smooth}.dm-thread-body::-webkit-scrollbar{width:8px}.dm-thread-body::-webkit-scrollbar-track{background:#0f172a;border-radius:4px}.dm-thread-body::-webkit-scrollbar-thumb{background:#334155;border-radius:4px}.dm-thread-body::-webkit-scrollbar-thumb:hover{background:#475569}.dm-thread-status{font-size:12px;color:var(--bcord-muted);padding:20px;text-align:center}.dm-thread-error{font-size:12px;color:#fecaca;margin-bottom:6px;padding:8px;background:#fecaca1a;border-radius:4px}.dm-thread-message{display:flex;gap:10px;margin-bottom:12px}.dm-thread-message .avatar{width:32px;height:32px;border-radius:999px;background:#111827;border:1px solid rgba(55,65,81,.8);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:600;flex-shrink:0}.dm-thread-message .content{flex:1;min-width:0}.dm-thread-message .meta{display:flex;align-items:baseline;gap:6px;font-size:12px;margin-bottom:2px}.dm-thread-message .sender{font-weight:600}.dm-thread-message .time{font-size:11px;color:var(--bcord-muted)}.dm-thread-message .text{font-size:13px;line-height:1.4;word-wrap:break-word;overflow-wrap:anywhere}.dm-thread-composer{border-top:1px solid rgba(15,23,42,1);padding:12px;display:flex;align-items:flex-end;gap:8px;background:#020617;flex-shrink:0;position:relative}.dm-thread-composer textarea{flex:1;min-height:40px;max-height:120px;padding:10px 12px;background:#0f172a;border-radius:8px;border:1px solid rgba(30,64,175,.5);color:var(--bcord-text);font-size:14px;font-family:inherit;resize:none;outline:none;overflow-y:auto;line-height:1.4}.dm-thread-composer textarea:focus{border-color:#4f46e5cc}.dm-thread-composer button{border-radius:8px;border:none;padding:10px 18px;background:linear-gradient(135deg,#6366f1,#14b8a6);color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:opacity .2s;height:44px;flex-shrink:0}.dm-thread-composer button:hover:not(:disabled){opacity:.9}.dm-thread-composer button:disabled{opacity:.5;cursor:not-allowed}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#0f172a;border:1px solid rgba(55,65,81,.8);border-radius:12px;width:90%;max-width:420px;box-shadow:0 20px 25px -5px #0000004d}.modal-header{padding:16px 20px;border-bottom:1px solid rgba(55,65,81,.5);display:flex;align-items:center;justify-content:space-between}.modal-header h2{margin:0;font-size:18px;font-weight:600;color:var(--bcord-text)}.modal-close{border:none;background:transparent;color:var(--bcord-muted);font-size:28px;line-height:1;cursor:pointer;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background .2s}.modal-close:hover{background:#4f46e533;color:var(--bcord-text)}.modal-body{padding:20px}.form-group{margin-bottom:16px}.form-group label{display:block;margin-bottom:6px;font-size:13px;font-weight:600;color:var(--bcord-text)}.form-group input{width:100%;padding:10px 12px;background:#020617;border:1px solid rgba(30,64,175,.5);border-radius:8px;color:var(--bcord-text);font-size:14px;outline:none}.form-group input:focus{border-color:#4f46e5cc}.form-error{margin-top:12px;padding:10px;background:#fecaca1a;border:1px solid rgba(239,68,68,.3);border-radius:6px;color:#fecaca;font-size:13px}.modal-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:20px}.modal-actions button{padding:10px 20px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;border:1px solid rgba(55,65,81,.5);background:transparent;color:var(--bcord-text);transition:background .2s}.modal-actions button:hover:not(:disabled){background:#0f172ae6}.modal-actions button.btn-primary{background:linear-gradient(135deg,#6366f1,#14b8a6);border:none;color:#fff}.modal-actions button.btn-primary:hover:not(:disabled){opacity:.9}.modal-actions button:disabled{opacity:.5;cursor:not-allowed}.friend-list-root{display:flex;flex-direction:column;height:100%}.friend-list-header{height:44px;display:flex;align-items:center;padding:0 10px;border-bottom:1px solid rgba(15,23,42,1);font-size:13px;font-weight:600}.friend-list-items{padding:6px 6px 10px;overflow-y:auto;flex:1}.friend-list-item{width:100%;border:none;border-radius:10px;padding:6px 8px;display:flex;align-items:center;gap:8px;background:transparent;color:var(--bcord-text);text-align:left;cursor:pointer;margin-bottom:4px;transition:background .2s}.friend-list-item .avatar{width:32px;height:32px;border-radius:999px;background:#111827;border:1px solid rgba(55,65,81,.8);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:600;flex-shrink:0}.friend-list-item .content{flex:1;min-width:0}.friend-list-item .name{font-size:13px;font-weight:600}.friend-list-item .status{font-size:11px;color:var(--bcord-muted)}.friend-list-item:hover{background:#0f172ae6}.friends-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:40px;text-align:center}.friends-empty-state .empty-icon{font-size:64px;margin-bottom:16px}.friends-empty-state h2{font-size:16px;font-weight:600;margin:0 0 8px;color:var(--bcord-text)}.friends-empty-state p{font-size:14px;color:var(--bcord-muted);margin:0}.dm-list-header-actions{display:flex;gap:6px;margin-left:auto}.dm-list-refresh,.dm-list-new{width:20px;height:20px;border:none;border-radius:4px;background:#6366f126;color:#a5b4fc;font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.dm-list-refresh:hover,.dm-list-new:hover{background:#6366f140;color:#c7d2fe}.bcord-chat-friends-drawer{z-index:100}.bcord-chat-friends-drawer .drawer-header .close-btn{width:32px;height:32px;border-radius:4px;transition:background .2s}.bcord-chat-friends-drawer .drawer-header .close-btn:hover{background:#4f46e533;color:var(--bcord-text)}.bcord-chat-friends-drawer .drawer-item{padding:8px 10px;transition:background .2s}.bcord-chat-friends-drawer .drawer-item:hover{background:#0f172ae6;cursor:pointer}.bcord-chat-friends-drawer .drawer-item .avatar{width:32px;height:32px}.profile-menu-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:flex-end;justify-content:center;z-index:1000;animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.profile-menu-popup{background:linear-gradient(135deg,#1e293b,#0f172a);border-radius:16px 16px 0 0;width:100%;max-width:400px;padding:24px;box-shadow:0 -4px 20px #00000080;animation:slideUp .3s ease-out}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.profile-menu-header{display:flex;align-items:center;gap:16px;margin-bottom:16px}.profile-avatar-large{width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#6366f1,#8b5cf6);display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;color:#fff;flex-shrink:0}.profile-info{flex:1}.profile-username{font-size:16px;font-weight:700;color:#e5e7eb;margin-bottom:4px}.profile-status{font-size:14px;color:#10b981;display:flex;align-items:center;gap:6px}.profile-status:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#10b981}.profile-menu-divider{height:1px;background:#ffffff1a;margin:16px 0}.profile-menu-items{display:flex;flex-direction:column;gap:4px}.profile-menu-item{display:flex;align-items:center;gap:12px;padding:12px 16px;background:transparent;border:none;border-radius:8px;color:#e5e7eb;font-size:16px;cursor:pointer;transition:background .2s;width:100%;text-align:left}.profile-menu-item:hover{background:#ffffff1a}.profile-menu-item.logout{color:#ef4444}.profile-menu-item.logout:hover{background:#ef44441a}.profile-menu-item .icon{font-size:16px;width:24px;text-align:center}.profile-menu-item .label{flex:1}.create-server-modal{background:linear-gradient(135deg,#1e293b,#0f172a);border-radius:16px;width:90%;max-width:440px;padding:0;box-shadow:0 8px 32px #0009;animation:slideUp .3s ease-out}.create-server-modal .modal-header{padding:24px 24px 16px;border-bottom:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;align-items:center}.create-server-modal .modal-header h2{margin:0;font-size:16px;font-weight:700;color:#e5e7eb}.create-server-modal .modal-header .close-btn{width:32px;height:32px;border-radius:50%;background:transparent;border:none;color:#9ca3af;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.create-server-modal .modal-header .close-btn:hover{background:#ffffff1a;color:#e5e7eb}.create-server-modal .modal-body{padding:24px}.create-server-modal .modal-footer{padding:16px 24px 24px;display:flex;justify-content:flex-end;gap:12px}.bcord-chat-rail-room.add-server{opacity:.6;transition:all .2s}.bcord-chat-rail-room.add-server:hover{opacity:1;background:#6366f133}.bcord-chat-rail-room.add-server .initials{font-size:28px;font-weight:400}.session-warning-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000e6;display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .3s ease}.session-warning-modal{background:linear-gradient(135deg,#1e293b,#0f172a);border:2px solid #ef4444;border-radius:16px;padding:32px;max-width:420px;text-align:center;box-shadow:0 25px 50px -12px #ef444466;animation:slideUp .3s ease}.session-warning-modal .warning-icon{font-size:48px;margin-bottom:16px}.session-warning-modal h2{color:#ef4444;font-size:16px;font-weight:700;margin:0 0 16px}.session-warning-modal p{color:#e5e7eb;font-size:16px;line-height:1.6;margin:0 0 12px}.session-warning-modal .warning-note{color:#9ca3af;font-size:13px;padding:12px;background:#ef44441a;border-radius:8px;margin-top:16px}.bcord-chat-rooms-add-btn{width:20px;height:20px;border:none;border-radius:4px;background:#6366f126;color:#a5b4fc;font-size:16px;font-weight:600;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.bcord-chat-rooms-add-btn:hover{background:#6366f14d;color:#c7d2fe}.bcord-chat-room-content{display:flex;align-items:center;flex:1;gap:6px}.bcord-chat-room-delete{display:none;width:18px;height:18px;border:none;border-radius:3px;background:#ef444426;color:#fca5a5;font-size:14px;font-weight:600;padding:0;cursor:pointer;transition:all .2s;flex-shrink:0}.bcord-chat-room-item:hover .bcord-chat-room-delete{display:flex;align-items:center;justify-content:center}.bcord-chat-room-delete:hover{background:#ef44444d;color:#fecaca}.bcord-chat-date-separator{display:flex;align-items:center;gap:12px;margin:16px 0 12px;padding:0 4px}.bcord-chat-date-line{flex:1;height:1px;background:#94a3b833}.bcord-chat-date-text{font-size:11px;font-weight:600;color:#94a3b8;padding:2px 8px;background:#0f172a99;border-radius:12px;white-space:nowrap}.bcord-chat-message-text{white-space:pre-wrap;font-size:18px;line-height:1.4;word-wrap:break-word;overflow-wrap:anywhere;text-align:left}.bcord-invitations-container{position:relative;display:inline-block}.bcord-invitations-bell-btn{width:48px;height:48px;background:#6366f126;border:none;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:16px;position:relative;transition:all .2s ease}.bcord-invitations-bell-btn:hover{background:#6366f140;transform:scale(1.05)}.bcord-invitations-badge{position:absolute;top:4px;right:4px;background:#fbbf24;color:#000;font-size:10px;font-weight:700;min-width:16px;height:16px;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:0 4px;animation:yellowGlow 1.5s ease-in-out infinite;box-shadow:0 0 8px 2px #fbbf2499}@keyframes yellowGlow{0%,to{transform:scale(1);box-shadow:0 0 8px 2px #fbbf2499}50%{transform:scale(1.1);box-shadow:0 0 16px 4px #fbbf24e6}}.bcord-invitations-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:transparent;z-index:999;cursor:default}.bcord-invitations-panel{position:absolute;top:56px;right:0;width:320px;max-width:calc(100vw - 40px);background:#1e293b;border:1px solid rgba(30,64,175,.15);border-radius:12px;box-shadow:0 8px 24px #0006;padding:16px;z-index:1000}.bcord-invitations-panel h3{margin:0 0 12px;font-size:16px;font-weight:600;color:#e5e7eb}.bcord-no-invitations{color:#9ca3af;font-size:14px;text-align:center;padding:20px 0}.bcord-invitations-list{display:flex;flex-direction:column;gap:12px;max-height:400px;overflow-y:auto}.bcord-invitation-item{background:#0f172a;border:1px solid rgba(30,64,175,.15);border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:10px}.bcord-invitation-info{display:flex;flex-direction:column;gap:4px}.bcord-invitation-server{font-size:14px;font-weight:600;color:#e5e7eb}.bcord-invitation-from{font-size:12px;color:#94a3b8}.bcord-invitation-actions{display:flex;gap:8px}.bcord-invitation-accept,.bcord-invitation-decline{flex:1;padding:8px 12px;border:none;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease}.bcord-invitation-accept{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.bcord-invitation-accept:hover{background:linear-gradient(135deg,#059669,#047857);transform:translateY(-1px)}.bcord-invitation-decline{background:#ef444426;color:#fca5a5}.bcord-invitation-decline:hover{background:#ef444440;color:#fecaca}.bcord-chat-invite-btn{width:32px;height:32px;background:#6366f133;color:#a5b4fc;border:1px solid rgba(99,102,241,.3);border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:18px;transition:all .2s ease;margin-left:8px;position:relative;z-index:10}.bcord-chat-invite-btn:hover{background:#6366f159;color:#c7d2fe;transform:scale(1.1);border-color:#6366f180}.bcord-chat-invite-btn:active{transform:scale(.95)}.bcord-invitations-panel:before{content:"";position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1}.resize-handle{position:absolute;top:0;bottom:0;width:4px;cursor:ew-resize;background:transparent;z-index:100;transition:background .2s}.resize-handle:hover{background:#6366f180}.resize-handle-right{right:0}.rumble-collapse-btn{position:fixed;right:260px;top:50%;transform:translateY(-50%);width:20px;height:60px;background:#1e293b;border:1px solid rgba(30,64,175,.15);border-radius:4px 0 0 4px;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:1000;transition:all .3s;pointer-events:auto!important}.rumble-collapse-btn:hover{background:#334155;width:24px}.rumble-collapse-btn.collapsed{right:0}.rumble-collapse-btn:before{content:"›";font-size:18px;color:#94a3b8}.rumble-collapse-btn.collapsed:before{content:"‹"}.bcord-chat-rumble{position:relative;transition:transform .3s ease,opacity .3s ease}.rumble-collapsed{transform:translate(260px);pointer-events:none}.dm-list-item .avatar-container{position:relative;flex-shrink:0}.dm-list-item .avatar-container .avatar{width:32px;height:32px;border-radius:999px;background:#111827;border:1px solid rgba(55,65,81,.8);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:600}.avatar-wrapper{position:relative;display:inline-block}.online-indicator{position:absolute;bottom:0;right:0;width:10px;height:10px;background-color:#22c55e;border-radius:50%;border:2px solid #0f172a;box-shadow:0 0 4px #22c55e80}.online-badge{color:#22c55e;font-size:12px;font-weight:500;margin-left:8px}.bcord-chat-friends-drawer .drawer-item .avatar-wrapper{position:relative;display:inline-block}.bcord-chat-friends-drawer .drawer-item .avatar-wrapper .online-indicator{position:absolute;bottom:-2px;right:-2px;width:10px;height:10px;background-color:#22c55e;border-radius:50%;border:2px solid #0f172a;box-shadow:0 0 4px #22c55e80}.dm-notification-dot{position:absolute;top:-2px;right:-2px;width:10px;height:10px;background-color:#a855f7;border-radius:50%;border:2px solid #0f172a;animation:pulse-dot 2s infinite}.dm-user-unread-dot{display:inline-block;width:8px;height:8px;background-color:#a855f7;border-radius:50%;margin-right:6px;flex-shrink:0}@keyframes pulse-dot{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.2);opacity:.8}}.server-unread-dot{position:absolute;bottom:2px;right:2px;width:10px;height:10px;background-color:#f04747;border-radius:50%;border:2px solid var(--rail-bg, #1a1a2e);z-index:1}.bcord-chat-rail-room{position:relative}.channel-unread-dot{display:inline-block;width:8px;height:8px;background-color:#f04747;border-radius:50%;margin-right:6px;flex-shrink:0}.bcord-chat-room-content{display:flex;align-items:center}.dm-user-unread-dot{display:inline-block;width:8px;height:8px;background-color:#ef4444;border-radius:50%;margin-left:8px;animation:pulse-dot 2s infinite}.friends-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .15s ease-out}.friends-modal{background:#1e1f22;border-radius:8px;width:440px;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 8px 32px #00000080;animation:slideUp .2s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.friends-modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 16px 12px;border-bottom:1px solid #2b2d31}.friends-modal-header h2{font-size:18px;font-weight:600;color:#f2f3f5;margin:0}.friends-modal-close{background:none;border:none;color:#b5bac1;font-size:24px;cursor:pointer;padding:0;line-height:1;transition:color .15s}.friends-modal-close:hover{color:#f2f3f5}.friends-modal-tabs{display:flex;padding:0 16px;border-bottom:1px solid #2b2d31;gap:4px}.friends-tab{background:none;border:none;color:#b5bac1;padding:12px;font-size:14px;font-weight:500;cursor:pointer;border-bottom:2px solid transparent;transition:all .15s;display:flex;align-items:center;gap:6px}.friends-tab:hover{color:#f2f3f5}.friends-tab.active{color:#f2f3f5;border-bottom-color:#5865f2}.friends-tab .badge{background:#ed4245;color:#fff;font-size:11px;font-weight:600;padding:1px 6px;border-radius:8px;min-width:18px;text-align:center}.friends-modal-content{padding:16px;overflow-y:auto;flex:1}.friends-message{padding:10px 12px;border-radius:4px;margin-bottom:12px;font-size:14px}.friends-message.success{background:#23a55a33;color:#23a55a;border:1px solid rgba(35,165,90,.3)}.friends-message.error{background:#ed424533;color:#ed4245;border:1px solid rgba(237,66,69,.3)}.friends-add-description{color:#b5bac1;font-size:14px;margin-bottom:16px}.friends-input-group{display:flex;gap:8px}.friends-input{flex:1;background:#1e1f22;border:1px solid #3f4147;border-radius:4px;padding:10px 12px;color:#f2f3f5;font-size:14px;outline:none;transition:border-color .15s}.friends-input:focus{border-color:#5865f2}.friends-input::-moz-placeholder{color:#6d6f78}.friends-input::placeholder{color:#6d6f78}.friends-send-btn{background:#5865f2;color:#fff;border:none;border-radius:4px;padding:10px 16px;font-size:14px;font-weight:500;cursor:pointer;transition:background .15s;white-space:nowrap}.friends-send-btn:hover:not(:disabled){background:#4752c4}.friends-send-btn:disabled{opacity:.5;cursor:not-allowed}.friends-list{max-height:50vh;overflow-y:auto;display:flex;flex-direction:column;gap:8px}.friends-list::-webkit-scrollbar{width:8px}.friends-list::-webkit-scrollbar-track{background:#1e1f22;border-radius:4px}.friends-list::-webkit-scrollbar-thumb{background:#4f545c;border-radius:4px}.friends-list::-webkit-scrollbar-thumb:hover{background:#5d6269}.friends-empty{color:#6d6f78;text-align:center;padding:24px;font-size:14px}.friends-request-item{display:flex;align-items:center;gap:12px;padding:10px 12px;background:#2b2d31;border-radius:6px;transition:background .15s}.friends-request-item:hover{background:#32353b}.friends-request-avatar{width:40px;height:40px;border-radius:50%;background:#5865f2;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:14px;flex-shrink:0}.friends-request-info{flex:1;min-width:0}.friends-request-name{color:#f2f3f5;font-weight:500;font-size:14px}.friends-request-subtitle{color:#6d6f78;font-size:12px}.friends-request-actions{display:flex;gap:8px}.friends-accept-btn{width:36px;height:36px;border-radius:50%;border:none;background:#23a55a;color:#fff;font-size:16px;cursor:pointer;transition:background .15s;display:flex;align-items:center;justify-content:center}.friends-accept-btn:hover{background:#1a7f42}.friends-reject-btn{width:36px;height:36px;border-radius:50%;border:none;background:#ed4245;color:#fff;font-size:16px;cursor:pointer;transition:background .15s;display:flex;align-items:center;justify-content:center}.friends-reject-btn:hover{background:#c93b3e}.friends-cancel-btn{background:#4e5058;color:#f2f3f5;border:none;border-radius:4px;padding:6px 12px;font-size:13px;cursor:pointer;transition:background .15s}.friends-cancel-btn:hover{background:#6d6f78}.friends-btn{background:none;border:none;color:#b5bac1;cursor:pointer;padding:4px;border-radius:4px;transition:all .15s;font-size:16px}.friends-btn:hover{background:#3f4147;color:#f2f3f5}.friends-btn.has-pending{position:relative}.friends-btn.has-pending:after{content:"";position:absolute;top:2px;right:2px;width:8px;height:8px;background:#ed4245;border-radius:50%}.mobile-menu-toggle{display:none;position:fixed;top:10px;left:10px;z-index:1001;background:#1e40af;border:none;border-radius:8px;padding:10px 12px;cursor:pointer;color:#fff;font-size:20px;box-shadow:0 2px 8px #0000004d}.mobile-menu-toggle:hover{background:#2563eb}.mobile-overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:999}.mobile-overlay.active{display:block}@media screen and (max-width: 768px){.mobile-menu-toggle{display:block}.bcord-chat-topbar{padding-left:60px}.bcord-chat-body{grid-template-columns:1fr!important}.bcord-left-section,.bcord-chat-col.bcord-chat-rail{position:fixed;top:0;left:-280px;width:280px;height:100vh;z-index:1000;transition:left .3s ease;background:#0f172a}.bcord-left-section.mobile-open,.bcord-chat-col.bcord-chat-rail.mobile-open{left:0}.bcord-chat-rumble,.rumble-collapse-btn{display:none!important}.bcord-chat-col.bcord-chat-messages{width:100%;max-width:100%}.bcord-chat-message-input{padding:8px 12px}.bcord-chat-message-input input{font-size:16px}.bcord-user-panel{padding:8px 10px}.bcord-invitations-panel{right:10px;left:10px;width:auto;max-width:none}.bcord-friends-modal-overlay .bcord-friends-modal{width:95%;max-width:none;margin:10px;max-height:90vh}}@media screen and (max-width: 480px){.bcord-chat-topbar{padding:8px 12px 8px 55px}.bcord-chat-topbar-title{font-size:14px}.bcord-chat-topbar-right{gap:8px}.bcord-chat-message{padding:8px 10px;margin-bottom:6px}.bcord-chat-message-sender{font-size:13px}.bcord-chat-message-text{font-size:18px}.bcord-chat-message-time{font-size:10px}.bcord-chat-rooms-header{padding:10px 12px}.bcord-chat-room-item{padding:8px 12px;font-size:14px}.bcord-chat-rail-server,.bcord-chat-rail-room{width:44px;height:44px;font-size:14px}.bcord-chat-send-btn{padding:8px 16px;font-size:14px}.bcord-create-server-modal{width:95%;padding:16px}.dm-conversation-item{padding:10px 12px}}@media (hover: none) and (pointer: coarse){.bcord-chat-rail-server,.bcord-chat-rail-room,.bcord-chat-room-item,.bcord-chat-send-btn,.bcord-invitations-bell-btn,button{min-height:44px;min-width:44px}.bcord-chat-rail-room:hover,.bcord-chat-room-item:hover{transform:none}.bcord-chat-rail-room:active,.bcord-chat-room-item:active{background:#1e40af66;transform:scale(.98)}}@media screen and (max-width: 768px){.dm-page-container{flex-direction:column}.dm-sidebar,.bcord-dm-sidebar{position:fixed;top:0;left:-280px;width:280px;height:100vh;z-index:1000;transition:left .3s ease;background:#0f172a}.dm-sidebar.mobile-open,.bcord-dm-sidebar.mobile-open{left:0}.dm-messages-area{width:100%}}@media screen and (max-height: 500px) and (orientation: landscape){.bcord-chat-topbar{padding:6px 12px 6px 55px}.bcord-chat-message{padding:6px 8px;margin-bottom:4px}.bcord-user-panel,.bcord-chat-message-input{padding:6px 10px}}@supports (padding: max(0px)){.bcord-chat-topbar{padding-top:max(10px,env(safe-area-inset-top))}.bcord-user-panel,.bcord-chat-message-input{padding-bottom:max(12px,env(safe-area-inset-bottom))}.bcord-left-section,.bcord-chat-col.bcord-chat-rail{padding-left:max(0px,env(safe-area-inset-left))}}.bcord-select-channel-prompt{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#6b7280;text-align:center;padding:40px}.bcord-select-channel-prompt .bcord-select-channel-icon{font-size:64px;color:#374151;margin-bottom:16px;opacity:.5}.bcord-select-channel-prompt h2{font-size:24px;font-weight:600;color:#9ca3af;margin:0 0 8px}.bcord-select-channel-prompt p{font-size:14px;color:#6b7280;margin:0}.friend-context-menu{background:#111214;border:1px solid #2b2d31;border-radius:4px;padding:6px 8px;min-width:180px;box-shadow:0 8px 16px #0006}.context-menu-item{display:block;width:100%;padding:8px 12px;background:none;border:none;border-radius:3px;color:#b5bac1;font-size:14px;text-align:left;cursor:pointer;transition:background .1s,color .1s}.context-menu-item:hover{background:#5865f2;color:#fff}.context-menu-item.context-menu-danger:hover{background:#ed4245;color:#fff}.friend-item-clickable{cursor:pointer;transition:background .15s}.friend-item-clickable:hover{background:#4f545c4d}.dm-context-menu{background:#111214;border:1px solid #2b2d31;border-radius:4px;padding:6px 8px;min-width:180px;box-shadow:0 8px 16px #0006}.dm-section-header{padding:8px 12px 4px;font-size:11px;font-weight:600;color:#8b8d91;text-transform:uppercase;letter-spacing:.02em}.bcord-chat-room-item.dragging{opacity:.5;background:#3b3d44}.bcord-chat-room-item.drag-over{border-top:2px solid #5865f2}.bcord-chat-room-item[draggable=true]{cursor:grab}.bcord-chat-room-item[draggable=true]:active{cursor:grabbing}.expandable-message{position:relative}.message-preview{word-wrap:break-word;overflow-wrap:break-word}.expand-message-btn{display:inline-block;margin-top:6px;padding:4px 10px;background:#3f4147;border:none;border-radius:4px;color:#00b0f4;font-size:12px;cursor:pointer;transition:background .15s,color .15s}.expand-message-btn:hover{background:#5865f2;color:#fff}.message-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000d9;z-index:10000;display:flex;align-items:center;justify-content:center;padding:20px}.message-modal{position:relative;width:90%;max-width:800px;max-height:80vh;background:#2b2d31;border:1px solid #3f4147;border-radius:8px;box-shadow:0 8px 32px #00000080;display:flex;flex-direction:column}.message-modal-close{position:absolute;top:10px;right:10px;width:32px;height:32px;background:#3f4147;border:none;border-radius:50%;color:#dbdee1;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s,color .15s;z-index:1}.message-modal-close:hover{background:#ed4245;color:#fff}.message-modal-content{padding:50px 20px 20px;overflow-y:auto;color:#dbdee1;font-size:18px;line-height:1.5;word-wrap:break-word;overflow-wrap:break-word}.message-modal-content::-webkit-scrollbar{width:8px}.message-modal-content::-webkit-scrollbar-track{background:#1e1f22;border-radius:4px}.message-modal-content::-webkit-scrollbar-thumb{background:#4f545c;border-radius:4px}.message-modal-content::-webkit-scrollbar-thumb:hover{background:#5d6269}.message-content{word-wrap:break-word;overflow-wrap:break-word}.msg-edit-hint-inline{font-size:11px;color:#72767d;margin-top:4px;font-style:italic}.bcord-chat-message-text,.message-content,.message-preview,.message-modal-content{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,"Noto Color Emoji","Segoe UI Emoji",sans-serif}.bcord-chat-message-text,.message-content,.message-preview,.message-modal-content,.msg-edit-textarea{font-feature-settings:"liga" 1}.bcord-chat-message-text span.emoji,.message-content span.emoji{font-size:1.25em}.bcord-chat-message-text,.message-content{line-height:1.6}.emoji{font-size:1.25em;line-height:1;vertical-align:middle}.emoji-toggle-btn{min-width:44px;min-height:40px;padding:8px 10px;background:#020617;border-radius:8px;border:1px solid rgba(30,64,175,.5);color:var(--bcord-text);font-size:22px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:border-color .2s,background .2s;flex-shrink:0}.emoji-toggle-btn:hover{border-color:#1e40afcc;background:#0f172a}.emoji-toggle-btn:active{background:#1e293b}.emoji-picker{position:absolute;bottom:100%;left:0;margin-bottom:8px;width:480px;max-height:400px;background:#1e1f22;border:1px solid #3f4147;border-radius:8px;box-shadow:0 8px 24px #0006;display:flex;flex-direction:column;z-index:1000;overflow:hidden}.emoji-picker-header{padding:10px;border-bottom:1px solid #3f4147;flex-shrink:0}.emoji-search{width:100%;padding:8px 12px;background:#383a40;border:1px solid #4f545c;border-radius:4px;color:#dbdee1;font-size:14px;outline:none}.emoji-search:focus{border-color:#5865f2}.emoji-search::-moz-placeholder{color:#72767d}.emoji-search::placeholder{color:#72767d}.emoji-categories{display:flex;gap:2px;padding:8px 10px;border-bottom:1px solid #3f4147;overflow-x:auto;flex-shrink:0}.emoji-categories::-webkit-scrollbar{height:4px}.emoji-categories::-webkit-scrollbar-thumb{background:#4f545c;border-radius:2px}.emoji-category-btn{padding:6px 8px;background:transparent;border:none;border-radius:4px;font-size:18px;cursor:pointer;transition:background .15s;flex-shrink:0}.emoji-category-btn:hover{background:#3f4147}.emoji-category-btn.active{background:#5865f2}.emoji-grid{display:grid;grid-template-columns:repeat(15,1fr);gap:2px;padding:10px;overflow-y:auto;flex:1}.emoji-grid::-webkit-scrollbar{width:8px}.emoji-grid::-webkit-scrollbar-track{background:#1e1f22;border-radius:4px}.emoji-grid::-webkit-scrollbar-thumb{background:#4f545c;border-radius:4px}.emoji-grid::-webkit-scrollbar-thumb:hover{background:#5d6269}.emoji-btn{width:100%;aspect-ratio:1;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:4px;font-size:20px;cursor:pointer;transition:background .15s,transform .1s}.emoji-btn:hover{background:#3f4147;transform:scale(1.15)}.server-context-menu{background:#111214;border:1px solid #2b2d31;border-radius:6px;padding:6px;min-width:160px;box-shadow:0 8px 24px #00000080}.server-context-menu .context-menu-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;background:transparent;border:none;border-radius:4px;color:#dbdee1;font-size:14px;cursor:pointer;text-align:left;transition:background .15s}.server-context-menu .context-menu-item:hover{background:#5865f2;color:#fff}.server-context-menu .context-menu-item.danger:hover{background:#ed4245}#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion: no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.card{padding:2em}.read-the-docs{color:#888}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.visible{visibility:visible}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.border{border-width:1px}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}body{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity, 1));font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.bcord-auth-page{min-height:100vh;background:radial-gradient(circle at top,#111827 0,#020617 55%);color:#e5e7eb;display:flex;justify-content:center;align-items:center;padding:24px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Inter,sans-serif}.bcord-auth-shell{max-width:560px;width:100%;display:flex;flex-direction:column;gap:16px}.bcord-auth-header{display:flex;align-items:center;gap:12px;margin-bottom:4px}.bcord-logo-mark{width:32px;height:32px;border-radius:10px;background:linear-gradient(135deg,#6366f1,#14b8a6);display:flex;align-items:center;justify-content:center;font-weight:800;letter-spacing:.08em;font-size:18px;color:#0b1020;box-shadow:0 0 0 1px #0f172a99,0 8px 24px #0f172a99}.bcord-logo-text{display:flex;flex-direction:column;gap:2px}.bcord-logo-main{font-weight:700;font-size:18px}.bcord-logo-sub{font-size:12px;color:#9ca3af}.bcord-auth-main{width:100%}.bcord-auth-card{background:radial-gradient(circle at top left,#111827 0,#020617 70%);border-radius:18px;padding:22px 20px 20px;box-shadow:0 18px 45px #0f172ae6,0 0 0 1px #94a3b81f;border:1px solid rgba(148,163,184,.16)}.bcord-auth-title{font-size:20px;font-weight:600;margin:0 0 6px}.bcord-auth-subtitle{margin:0 0 16px;font-size:13px;color:#9ca3af;line-height:1.4}.bcord-auth-footer{font-size:11px;color:#6b7280;text-align:center}.bcord-form{display:flex;flex-direction:column;gap:10px}.bcord-field-group{display:flex;flex-direction:column;gap:4px}.bcord-label-row{display:flex;justify-content:space-between;align-items:center}.bcord-label{font-size:13px;font-weight:500}.bcord-label-hint{font-size:11px;color:#9ca3af}.bcord-input{border-radius:10px;border:1px solid rgba(148,163,184,.4);padding:8px 10px;font-size:13px;background:#0f172ae6;color:#e5e7eb;outline:none;transition:border-color .12s ease,box-shadow .12s ease,background .12s ease}.bcord-input::-moz-placeholder{color:#6b7280}.bcord-input::placeholder{color:#6b7280}.bcord-input:focus{border-color:#818cf8;box-shadow:0 0 0 1px #818cf8b3;background:#0f172a}.bcord-error{background:#ef44441a;border-radius:10px;padding:8px 10px;font-size:12px;color:#fecaca;border:1px solid rgba(248,113,113,.6)}.bcord-success{background:#22c55e14;border-radius:10px;padding:8px 10px;font-size:12px;color:#bbf7d0;border:1px solid rgba(74,222,128,.6)}.bcord-button{border-radius:999px;border:none;margin-top:4px;padding:9px 12px;font-size:13px;font-weight:500;background:linear-gradient(135deg,#6366f1,#14b8a6);color:#0b1020;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%;transition:transform .08s ease,box-shadow .08s ease,opacity .08s ease;box-shadow:0 10px 28px #0f172acc,0 0 0 1px #0f172a99}.bcord-button:hover{transform:translateY(-1px);box-shadow:0 16px 36px #0f172af2,0 0 0 1px #0f172acc}.bcord-button:active{transform:translateY(0);box-shadow:0 8px 22px #0f172acc,0 0 0 1px #0f172acc}.bcord-button[disabled]{opacity:.6;cursor:default;transform:none;box-shadow:0 6px 16px #0f172ab3,0 0 0 1px #0f172acc}.bcord-helper-row{margin-top:8px;font-size:12px;color:#9ca3af;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.bcord-link{color:#a5b4fc;cursor:pointer;text-decoration:none}.bcord-link:hover{text-decoration:underline}.bcord-small{font-size:11px;color:#6b7280}.bcord-code-input{letter-spacing:.32em;text-align:center;font-weight:500}.bcord-captcha-slot{margin-top:4px;margin-bottom:6px}.bcord-captcha-box{margin-top:4px;padding:10px 10px 8px;border-radius:12px;border:1px solid rgba(30,64,175,.6);background:radial-gradient(circle at top left,#020617,#020617 70%)}.bcord-captcha-row{display:flex;gap:12px;align-items:center;margin-top:8px;margin-bottom:10px}.bcord-captcha-image-wrap{margin-top:8px;border-radius:8px;overflow:hidden;border:1px solid rgba(55,65,81,.6);background:#0f172a}.bcord-captcha-image{width:100%;min-height:80px;display:block;cursor:pointer;transition:opacity .2s;transform:scale(1.5);transform-origin:center center}.bcord-captcha-image:hover{opacity:.85}.bcord-captcha-placeholder{width:100%;height:100px;display:flex;align-items:center;justify-content:center;background:#0f172a;color:#64748b;font-size:14px}.bcord-captcha-controls{display:flex;flex-direction:column;gap:6px}.bcord-captcha-input-row{display:flex;gap:8px;align-items:center;margin-top:10px}.bcord-captcha-input-row .bcord-input{flex:1}.bcord-captcha-refresh-btn{padding:8px 12px;border-radius:8px;border:1px solid rgba(30,64,175,.8);background:linear-gradient(135deg,#1e40af,#1e3a8a);color:#e0e7ff;font-size:16px;cursor:pointer;transition:all .2s;box-shadow:0 2px 4px #0000004d}.bcord-captcha-refresh-btn:hover{background:linear-gradient(135deg,#2563eb,#1e40af);border-color:#3b82f6e6;box-shadow:0 4px 8px #2563eb4d;transform:translateY(-1px)}.bcord-captcha-refresh-btn:active{transform:translateY(0);box-shadow:0 1px 2px #0000004d}.bcord-captcha-input-wrap{margin-top:8px}.bcord-captcha-msg{margin-top:6px;font-size:12px;color:#94a3b8;font-style:italic}@media screen and (max-width: 480px){.bcord-auth-page{padding:16px}.bcord-auth-shell{gap:12px}.bcord-auth-card{padding:18px 16px}.bcord-auth-title{font-size:18px}.bcord-input{font-size:16px;padding:10px 12px}.bcord-button{padding:12px 14px;font-size:14px}.bcord-captcha-row,.bcord-captcha-input-row{flex-direction:column;gap:8px}.bcord-captcha-input-row .bcord-input,.bcord-captcha-refresh-btn{width:100%}}@supports (padding: max(0px)){.bcord-auth-page{padding-top:max(16px,env(safe-area-inset-top));padding-bottom:max(16px,env(safe-area-inset-bottom));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}}
