.anchor-admin{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr);background:#f4f6fa;color:#172033;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.admin-sidebar{background:#101a2c;color:#e7edf8;padding:24px 16px;display:flex;flex-direction:column;gap:32px;min-height:100vh}.admin-brand{display:flex;align-items:center;gap:11px;padding:2px 8px}.admin-brand>div{display:flex;flex-direction:column;gap:3px}.admin-brand strong{letter-spacing:2px;font-size:15px}.admin-brand small{color:#91a0b8;font-size:11px}.admin-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#6d83ff;color:#fff;font-weight:800;font-size:19px}.admin-sidebar nav{display:grid;gap:6px}.admin-sidebar nav button,.admin-sidebar-bottom button{border:0;text-align:left;background:transparent;color:#aebbd0;padding:12px 13px;border-radius:9px;cursor:pointer;font:inherit;font-size:13px}.admin-sidebar nav button.active,.admin-sidebar nav button:hover{background:#253451;color:#fff}.admin-sidebar-bottom{margin-top:auto;display:grid;gap:12px;padding:8px;color:#91a0b8;font-size:11px;overflow-wrap:anywhere}.admin-sidebar-bottom button{border:1px solid #33435e;color:#e7edf8}.admin-main{min-width:0;padding:34px clamp(18px,4vw,48px);overflow:hidden}.admin-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:30px}.admin-eyebrow{font-size:10px;letter-spacing:1.8px;color:#7785a0;font-weight:800}.admin-header h1{font-size:27px;letter-spacing:-.7px;margin:8px 0 5px}.admin-header p{margin:0;color:#7b879b;font-size:13px}.admin-refresh,.admin-toolbar button,.admin-denied button{border:0;background:#344de0;color:#fff;border-radius:9px;padding:11px 15px;font-weight:700;cursor:pointer}.admin-refresh:disabled,.admin-toolbar button:disabled{opacity:.6;cursor:wait}.admin-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.admin-stats article{background:#fff;border:1px solid #e7ebf2;border-radius:14px;padding:22px;box-shadow:0 3px 12px #18233a08}.admin-stats article span,.admin-stats article small{display:block;color:#7a879a;font-size:12px}.admin-stats article strong{display:block;font-size:34px;letter-spacing:-1px;margin:14px 0 9px}.admin-notice{grid-column:1/-1;background:#eef2ff;border:1px solid #dce3ff;border-radius:12px;padding:18px 20px;color:#3a4a80;font-size:13px}.admin-notice p{line-height:1.65;margin:7px 0 0}.admin-toolbar{display:flex;gap:10px;margin-bottom:18px}.admin-toolbar input{flex:1;min-width:0;border:1px solid #dfe5ef;background:#fff;border-radius:9px;padding:12px 14px;font:inherit;font-size:13px;outline:none}.admin-toolbar input:focus{border-color:#8291ff;box-shadow:0 0 0 3px #8291ff22}.admin-table-wrap{overflow:auto;background:#fff;border:1px solid #e5eaf2;border-radius:12px}.admin-table-wrap table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;min-width:650px}.admin-table-wrap th{background:#f8f9fc;color:#758198;font-size:10px;text-transform:uppercase;letter-spacing:.8px;font-weight:800}.admin-table-wrap th,.admin-table-wrap td{padding:14px 15px;border-bottom:1px solid #edf0f5;vertical-align:top}.admin-table-wrap tr:last-child td{border-bottom:0}.admin-user{display:flex;align-items:center;gap:9px;white-space:nowrap}.admin-user img,.admin-user>span{width:29px;height:29px;border-radius:50%;object-fit:cover}.admin-user>span{display:grid;place-items:center;background:#e6eaff;color:#4054cc;font-weight:800}.admin-table-wrap code{font-size:10px;color:#78849a}.admin-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#b5bdca;margin-right:7px}.admin-dot.online{background:#20b981}.admin-message-content{max-width:360px;min-width:220px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.admin-message-content em{color:#8b94a4}.admin-status{display:inline-block;padding:4px 7px;background:#f0f3f8;border-radius:6px;color:#647087;font-size:10px;white-space:nowrap}.admin-empty{text-align:center;padding:24px;color:#7a879a;font-size:13px}.admin-footnote{color:#8792a5;font-size:11px;margin-top:12px}.admin-error{background:#fff0f0;border:1px solid #ffd8d8;color:#a62d2d;border-radius:10px;padding:12px 14px;margin-bottom:18px;font-size:12px}.admin-denied{min-height:100vh;grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px}.admin-denied .admin-mark{margin-bottom:18px}.admin-denied h1{margin:0 0 8px}.admin-denied p{color:#748096}.admin-denied small{max-width:600px;color:#a62d2d;margin-bottom:16px}@media(max-width:760px){.anchor-admin{grid-template-columns:1fr}.admin-sidebar{min-height:0;padding:14px;gap:14px}.admin-brand{padding:0}.admin-sidebar nav{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-sidebar nav button{text-align:center;padding:10px 5px;font-size:11px}.admin-sidebar-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0}.admin-sidebar-bottom button{padding:8px}.admin-main{padding:22px 14px}.admin-header h1{font-size:23px}.admin-stats{grid-template-columns:1fr 1fr;gap:10px}.admin-stats article{padding:15px}.admin-stats article strong{font-size:27px}.admin-notice{padding:14px}.admin-table-wrap table{min-width:650px}}*{box-sizing:border-box}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#eef3f8;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html{min-width:320px;min-height:100%;background:#eef3f8}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 10% 0%,rgba(255,255,255,.95),transparent 35%),linear-gradient(135deg,#f4f8fc,#edf3f8 48%,#e8f0f7)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}input,textarea{outline:none}img{max-width:100%}::selection{background:#202a3826;color:#111827}*{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}.app-shell{min-height:100vh;background:radial-gradient(circle at 85% 5%,rgba(255,255,255,.95),transparent 30%),linear-gradient(135deg,#f7fafc,#f1f6fa,#eaf1f7)}.brand-name{font-size:32px!important;font-weight:900!important;letter-spacing:1px;line-height:.95;color:#111827}.brand-powered{display:block;margin-top:5px;font-size:7px!important;line-height:1;font-weight:800;letter-spacing:.55px;color:#7b8794;white-space:nowrap}.brand-small .brand-name{font-size:24px!important;font-weight:900!important}.brand-small .brand-powered{font-size:6px!important;margin-top:4px;letter-spacing:.4px}.topbar{height:70px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;background:#ffffffeb;border-bottom:1px solid #e2eaf2;position:sticky;top:0;z-index:100;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 1px #0f172a05,0 8px 30px #0f172a09}.topbar-right{display:flex;align-items:center;gap:8px}.top-profile-button{display:flex;align-items:center;gap:10px;border:0;background:transparent;padding:5px 9px;border-radius:14px;color:#172033;transition:background .18s ease,transform .18s ease}.top-profile-button:hover{background:#f2f6fa}.top-profile-button:active{transform:scale(.98)}.top-profile-button strong{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:800;text-align:left}.top-profile-button small{display:block;margin-top:2px;color:#8a97a6;font-size:11px;font-weight:600;text-align:left}.icon-button{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e5ebf1;border-radius:12px;background:#fff;color:#5f6b7a;box-shadow:0 3px 10px #0f172a09;transition:all .18s ease}.icon-button:hover{color:#172033;border-color:#d6e0ea;background:#f7fafc;transform:translateY(-1px)}.icon-button:active{transform:translateY(0)}.dashboard{display:grid;grid-template-columns:300px minmax(0,1fr);min-height:calc(100vh - 70px);max-width:1800px;margin:0 auto}.sidebar{background:#fffffff0;border-right:1px solid #e1e9f1;padding:24px 18px;display:flex;flex-direction:column;min-width:0;box-shadow:6px 0 30px #0f172a06}.sidebar-profile{display:flex;align-items:center;gap:12px;padding:4px 6px 20px}.sidebar-profile strong{display:block;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#172033;font-size:14px;font-weight:800}.sidebar-profile small{display:block;max-width:190px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8b98a7;font-size:11px;line-height:1.4}.search-box{height:44px;display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid #e1e8ef;border-radius:13px;background:#f7f9fb;color:#8b98a7;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.search-box:focus-within{background:#fff;border-color:#cbd7e3;box-shadow:0 0 0 3px #202a380d}.search-box input{min-width:0;flex:1;border:0;background:transparent;color:#172033;font-size:13px}.search-box input::placeholder{color:#9aa6b4}.search-box>button{width:26px;height:26px;display:flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:transparent;color:#8c98a6;transition:background .15s ease,color .15s ease}.search-box>button:hover{background:#e9eef3;color:#172033}.search-results{margin-top:14px;padding:12px;background:#f9fbfd;border:1px solid #e5ebf1;border-radius:15px;box-shadow:0 8px 22px #0f172a09}.section-title{display:flex;align-items:center;gap:7px;color:#6f7c8b;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.55px}.search-user-item{display:flex;align-items:center;gap:9px;margin-top:10px;padding:8px;border-radius:11px;transition:background .15s ease}.search-user-item:hover{background:#fff}.search-user-info{min-width:0;flex:1}.search-user-info strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#263244;font-size:12px;font-weight:800}.search-user-info small{display:block;margin-top:2px;color:#8b98a7;font-size:10px}.small-action-button{width:31px;height:31px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border:0;border-radius:9px;background:#202a38;color:#fff;transition:transform .16s ease,background .16s ease}.small-action-button:hover{background:#111827;transform:translateY(-1px)}.small-action-button:active{transform:scale(.94)}.empty-small{padding:13px 4px 4px;color:#9aa6b4;font-size:11px;text-align:center}.sidebar-section{margin-top:22px}.section-count{min-width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;margin-left:auto;border-radius:999px;background:#edf2f6;color:#667382;font-size:10px;font-weight:800}.request-list{display:flex;flex-direction:column;gap:7px;margin-top:10px}.request-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px;border:1px solid #e8edf2;border-radius:12px;background:#fbfcfd}.request-user{min-width:0;display:flex;align-items:center;gap:8px}.request-avatar{width:31px;height:31px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#e9eef3;color:#6d7987;font-size:11px;font-weight:800}.request-user strong{display:block;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#263244}.request-user small{display:block;margin-top:2px;color:#97a2af;font-size:9px}.request-actions{display:flex;gap:4px}.accept-button,.reject-button{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:transform .15s ease,background .15s ease}.accept-button{border:0;background:#202a38;color:#fff}.reject-button{border:1px solid #e0e6ec;background:#fff;color:#7c8794}.accept-button:hover,.reject-button:hover{transform:translateY(-1px)}.reject-button:hover{background:#f5f7f9;color:#263244}.friends-section{min-height:0;flex:1;display:flex;flex-direction:column}.friends-list{min-height:0;margin-top:10px;display:flex;flex-direction:column;gap:4px;overflow-y:auto;padding-right:3px}.friend-item{width:100%;display:flex;align-items:center;gap:11px;padding:9px;border:1px solid transparent;border-radius:13px;background:transparent;color:#172033;text-align:left;transition:background .18s ease,border-color .18s ease,transform .18s ease}.friend-item:hover{background:#f5f8fb;border-color:#e7edf2}.friend-item.selected{background:#eef2f6;border-color:#e0e7ee}.friend-item.unread{background:#f8fafc}.friend-item:active{transform:scale(.99)}.friend-avatar-wrap{position:relative;flex-shrink:0}.friend-info{min-width:0;flex:1}.friend-info strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:800}.friend-info small{display:block;margin-top:3px;color:#8c98a6;font-size:10px}.online-dot{position:absolute;right:-1px;bottom:0;width:11px;height:11px;border-radius:50%;background:#cbd5df;border:2px solid white}.online-dot.online{background:#22c55e;box-shadow:0 0 0 2px #22c55e14}.unread-badge{min-width:21px;height:21px;padding:0 6px;display:flex;align-items:center;justify-content:center;border-radius:999px;background:#202a38;color:#fff;font-size:9px;font-weight:800}.empty-friends{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#a0abb7;text-align:center}.empty-friends p{max-width:160px;margin:0;font-size:11px;line-height:1.5}.sidebar-bottom{margin-top:18px;padding-top:15px;border-top:1px solid #e9eef3}.language-label{display:flex;align-items:center;gap:7px;color:#7e8b99;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.45px}.language-switcher{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:8px}.language-switcher button{height:31px;border:1px solid #e3e9ef;border-radius:9px;background:#f8fafc;color:#7d8996;font-size:10px;font-weight:800;transition:all .16s ease}.language-switcher button:hover{background:#fff;color:#263244}.language-switcher button.active{border-color:#202a38;background:#202a38;color:#fff;box-shadow:0 4px 12px #202a381f}.content{min-width:0;min-height:calc(100vh - 70px);padding:clamp(22px,4vw,60px);display:grid;place-items:center}.welcome-panel{width:min(100%,650px);padding:60px 40px;display:flex;flex-direction:column;align-items:center;text-align:center;border:1px solid rgba(220,229,237,.9);border-radius:28px;background:#ffffffc7;box-shadow:0 25px 70px #0f172a12;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.welcome-icon{width:78px;height:78px;display:flex;align-items:center;justify-content:center;border-radius:24px;background:#202a38;color:#fff;box-shadow:0 15px 35px #202a382e}.welcome-panel h2{margin:25px 0 8px;color:#172033;font-size:24px;line-height:1.2;font-weight:900;letter-spacing:-.5px}.welcome-panel>p{max-width:380px;margin:0;color:#8a97a6;font-size:13px;line-height:1.6}.welcome-brand{margin-top:30px;opacity:.75}.chat-window{width:100%;max-width:1100px;height:min(calc(100vh - 120px),820px);min-height:560px;display:flex;flex-direction:column;position:relative;overflow:hidden;background:#fffffff5;border:1px solid rgba(20,30,45,.08);border-radius:22px;box-shadow:0 20px 60px #141e2d14;transition:transform .2s ease,box-shadow .2s ease}.chat-window.buzz-active{animation:buzzShake .65s ease;box-shadow:0 20px 70px #202a3829}@keyframes buzzShake{0%,to{transform:translate(0)}12%{transform:translate(-7px)}24%{transform:translate(7px)}36%{transform:translate(-6px)}48%{transform:translate(6px)}60%{transform:translate(-4px)}72%{transform:translate(4px)}84%{transform:translate(-2px)}}.chat-header{min-height:78px;padding:15px 20px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid rgba(20,30,45,.08);background:#ffffffe6;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.chat-user{min-width:0;display:flex;align-items:center;gap:12px}.chat-avatar-wrap{position:relative;flex-shrink:0}.chat-user>div:last-child{min-width:0}.chat-user strong{display:block;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#172033;font-size:15px;font-weight:850}.chat-user small{display:flex;align-items:center;gap:6px;margin-top:4px;color:#8794a2;font-size:10px;font-weight:600}.chat-actions{display:flex;align-items:center;gap:6px}.chat-action-button{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border:1px solid #e2e8ee;border-radius:11px;background:#fff;color:#697686;transition:all .17s ease}.chat-action-button:hover{background:#f5f8fa;color:#172033;transform:translateY(-1px)}.chat-action-button.blocked{background:#202a38;border-color:#202a38;color:#fff}.chat-action-button.close-chat:hover{color:#111827}.blocked-notice{min-height:42px;display:flex;align-items:center;gap:8px;padding:0 18px;background:#f4f6f8;border-bottom:1px solid #e5eaf0;color:#697686;font-size:11px;font-weight:700}.buzz-overlay{position:absolute;top:78px;right:0;bottom:75px;left:0;z-index:20;display:flex;align-items:center;justify-content:center;pointer-events:none}.buzz-effect{min-width:130px;padding:18px 24px;display:flex;flex-direction:column;align-items:center;gap:8px;border-radius:20px;background:#202a38f0;color:#fff;box-shadow:0 20px 50px #0f172a33;animation:buzzPop .7s ease both}.buzz-effect span{font-size:12px;font-weight:900;letter-spacing:.4px}@keyframes buzzPop{0%{opacity:0;transform:scale(.65)}35%{opacity:1;transform:scale(1.05)}70%{transform:scale(1)}to{opacity:0;transform:scale(.96)}}.messages-area{flex:1;min-height:0;overflow-y:auto;padding:25px;display:flex;flex-direction:column;gap:10px;background:radial-gradient(circle at 50% 0%,rgba(246,249,252,.95),transparent 45%),#f8fafc}.message-row{width:100%;display:flex;align-items:flex-end;justify-content:flex-start;flex-shrink:0}.message-row:not(.mine){justify-content:flex-start}.message-row.mine{justify-content:flex-end}.message-bubble{position:relative;display:block;flex:0 0 auto;width:fit-content;max-width:min(70%,520px);padding:11px 14px 8px;border-radius:17px;word-break:break-word;overflow-wrap:anywhere;box-shadow:0 3px 10px #0f172a06;animation:messageAppear .16s ease both}.message-other{align-self:flex-start;background:#edf1f5;color:#18202b;border-bottom-left-radius:5px}.message-mine{align-self:flex-end;background:#202a38;color:#fff;border-bottom-right-radius:5px}@keyframes messageAppear{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}.message-content{font-size:13px;line-height:1.5;white-space:pre-wrap}.message-meta{margin-top:5px;display:flex;align-items:center;justify-content:flex-end;gap:5px;font-size:9px;opacity:.55}.read-status{font-size:10px;font-weight:800;letter-spacing:-2px}.read-status.read{opacity:1}.deleted-message{color:#9aa6b4;font-size:12px}.message-delete-button{position:absolute;right:-31px;top:50%;width:26px;height:26px;display:flex;align-items:center;justify-content:center;transform:translateY(-50%);border:1px solid #e3e8ed;border-radius:8px;background:#fff;color:#98a3af;opacity:0;transition:opacity .15s ease,color .15s ease,background .15s ease}.message-bubble:hover .message-delete-button{opacity:1}.message-delete-button:hover{background:#f5f7f9;color:#263244}.messages-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#9ba7b4;font-size:12px;font-weight:600}.loading-spinner{width:28px;height:28px;border:3px solid #e3e9ef;border-top-color:#202a38;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.chat-input-area{min-height:75px;display:flex;align-items:center;gap:9px;padding:14px 16px;border-top:1px solid rgba(20,30,45,.08);background:#fffffff7}.chat-input-area input{flex:1;min-width:0;height:45px;border:1px solid rgba(20,30,45,.1);background:#f7f9fb;border-radius:14px;padding:12px 15px;outline:none;color:#18202b;font-size:13px;transition:border-color .17s ease,background .17s ease,box-shadow .17s ease}.chat-input-area input::placeholder{color:#9aa6b4}.chat-input-area input:focus{background:#fff;border-color:#cbd5df;box-shadow:0 0 0 3px #202a380b}.chat-input-area input:disabled{background:#f0f3f6;color:#8d99a6}.send-message-btn,.buzz-button{width:45px;height:45px;flex-shrink:0;border-radius:13px;display:flex;align-items:center;justify-content:center;transition:transform .16s ease,background .16s ease,border-color .16s ease}.send-message-btn{border:0;background:#202a38;color:#fff;box-shadow:0 5px 14px #202a3824}.send-message-btn:hover:not(:disabled){background:#111827;transform:translateY(-1px)}.send-message-btn:active:not(:disabled){transform:scale(.95)}.buzz-button{border:1px solid #e1e7ed;background:#f8fafc;color:#5e6b7a}.buzz-button:hover:not(:disabled){background:#edf2f6;border-color:#d5dee7;color:#202a38;transform:translateY(-1px)}.buzz-button:active:not(:disabled){transform:scale(.94)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;padding:20px;display:flex;align-items:center;justify-content:center;background:#0f172a6b;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);animation:modalFade .16s ease both}@keyframes modalFade{0%{opacity:0}to{opacity:1}}.profile-modal{width:min(100%,480px);max-height:min(90vh,720px);overflow-y:auto;border:1px solid rgba(255,255,255,.8);border-radius:22px;background:#fff;box-shadow:0 30px 90px #0f172a38;animation:modalSlide .2s ease both}@keyframes modalSlide{0%{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-header{padding:20px 22px;display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid #e8edf2}.modal-header h3{margin:0;color:#172033;font-size:17px;font-weight:900}.modal-header p{margin:4px 0 0;color:#8c98a6;font-size:11px}.modal-close{width:35px;height:35px;display:flex;align-items:center;justify-content:center;border:1px solid #e4e9ee;border-radius:10px;background:#f8fafc;color:#7c8794;transition:all .15s ease}.modal-close:hover{background:#edf1f5;color:#172033}.profile-edit-body{padding:22px}.profile-photo-editor{display:flex;flex-direction:column;align-items:center;gap:12px;padding-bottom:22px}.profile-photo-preview{width:96px;height:96px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;background:linear-gradient(135deg,#dfe8f2,#cbd7e4);border:4px solid #f2f5f8;box-shadow:0 8px 25px #0f172a1a;color:#243447;font-size:32px;font-weight:900}.profile-photo-preview img{width:100%;height:100%;object-fit:cover}.photo-upload-button{min-height:34px;display:inline-flex;align-items:center;gap:7px;padding:0 12px;border:1px solid #e0e6ec;border-radius:10px;background:#f8fafc;color:#637081;font-size:11px;font-weight:800;cursor:pointer;transition:all .16s ease}.photo-upload-button:hover{background:#eef2f5;color:#263244}.modal-field{display:block;margin-top:17px}.modal-field>span{display:block;margin-bottom:7px;color:#5d6a79;font-size:11px;font-weight:800}.modal-field input,.modal-field textarea{width:100%;border:1px solid #dfe6ec;border-radius:12px;background:#f8fafc;padding:11px 13px;color:#172033;font-size:13px;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.modal-field input{height:43px}.modal-field textarea{resize:vertical;min-height:95px;line-height:1.5}.modal-field input:focus,.modal-field textarea:focus{background:#fff;border-color:#bdc9d5;box-shadow:0 0 0 3px #202a380b}.profile-email{margin-top:17px;padding:12px 13px;border:1px solid #e5ebf0;border-radius:12px;background:#f8fafc}.profile-email span{display:block;margin-bottom:4px;color:#8b98a6;font-size:10px;font-weight:700}.profile-email strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#263244;font-size:12px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.primary-button,.secondary-button{min-height:42px;padding:0 17px;border-radius:11px;font-size:12px;font-weight:800;transition:all .16s ease}.primary-button{border:0;background:#202a38;color:#fff;box-shadow:0 5px 15px #202a3821}.primary-button:hover:not(:disabled){background:#111827;transform:translateY(-1px)}.secondary-button{border:1px solid #dfe6ec;background:#fff;color:#657282}.secondary-button:hover{background:#f6f8fa;color:#263244}.auth-page{min-height:100vh;padding:24px;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 15% 15%,rgba(255,255,255,.95),transparent 32%),radial-gradient(circle at 85% 85%,rgba(214,225,236,.65),transparent 34%),linear-gradient(135deg,#f5f9fc,#e9f0f6)}.auth-card{width:min(100%,430px);padding:38px;border:1px solid rgba(255,255,255,.9);border-radius:26px;background:#ffffffeb;box-shadow:0 30px 80px #0f172a1a;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.auth-brand{display:flex;justify-content:center;margin-bottom:30px;text-align:center}.auth-title{text-align:center}.auth-title h1{margin:0;color:#172033;font-size:25px;font-weight:900;letter-spacing:-.5px}.auth-title p{margin:8px 0 0;color:#8a97a6;font-size:12px}.language-row{display:flex;justify-content:center;gap:6px;margin-top:22px}.language-button{min-width:45px;height:32px;border:1px solid #e0e7ed;border-radius:9px;background:#f8fafc;color:#7b8794;font-size:10px;font-weight:800;transition:all .16s ease}.language-button:hover{background:#fff;color:#263244}.language-button.active{border-color:#202a38;background:#202a38;color:#fff}.auth-form{margin-top:25px}.auth-form label{display:block;margin-bottom:15px}.auth-form label>span{display:block;margin-bottom:7px;color:#596677;font-size:11px;font-weight:800}.auth-form input{width:100%;height:46px;border:1px solid #dfe6ed;border-radius:12px;background:#f8fafc;padding:0 13px;color:#172033;font-size:13px;transition:all .17s ease}.auth-form input:focus{background:#fff;border-color:#bdc9d5;box-shadow:0 0 0 3px #202a380b}.auth-form input::placeholder{color:#a0aab6}.form-error,.form-success{padding:10px 12px;margin-bottom:14px;border-radius:10px;font-size:11px;line-height:1.4}.form-error{background:#f8eded;border:1px solid #f0d8d8;color:#a45d5d}.form-success{background:#eef7f1;border:1px solid #d8ebdd;color:#4d8060}.auth-form .primary-button{width:100%;height:46px;margin-top:4px}.auth-switch{margin-top:21px;display:flex;align-items:center;justify-content:center;gap:5px;color:#8a97a6;font-size:11px}.auth-switch button{border:0;padding:0;background:transparent;color:#202a38;font-size:11px;font-weight:800}.auth-switch button:hover{text-decoration:underline}.loading-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f5f9fc,#eaf1f7);animation:loadingFade .3s ease both}@keyframes loadingFade{0%{opacity:0}to{opacity:1}}.anchor-toast{position:fixed;left:50%;bottom:24px;z-index:1200;transform:translate(-50%);display:flex;align-items:center;gap:8px;min-height:42px;padding:0 15px;border:1px solid rgba(255,255,255,.75);border-radius:12px;background:#202a38f2;color:#fff;box-shadow:0 15px 40px #0f172a2e;font-size:11px;font-weight:700;animation:toastIn .22s ease both}@keyframes toastIn{0%{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%)}}@media(max-width:1000px){.dashboard{grid-template-columns:270px minmax(0,1fr)}.content{padding:25px}.chat-window{min-height:520px;height:calc(100vh - 120px)}.message-bubble{width:fit-content;max-width:78%}}@media(max-width:760px){.topbar{height:62px;padding:0 14px}.brand-small .brand-name{font-size:20px!important}.brand-small .brand-powered{font-size:5px!important}.top-profile-button>div:last-child{display:none}.top-profile-button{padding:4px}.icon-button{width:37px;height:37px}.dashboard{display:flex;flex-direction:column;min-height:calc(100vh - 62px)}.sidebar{width:100%;border-right:0;border-bottom:1px solid #e1e9f1;padding:15px;max-height:48vh}.sidebar-profile{padding-bottom:14px}.sidebar-profile small{max-width:55vw}.friends-section{min-height:100px}.friends-list{max-height:190px}.sidebar-bottom{margin-top:12px}.content{width:100%;min-height:calc(52vh - 62px);padding:14px}.welcome-panel{padding:42px 22px;border-radius:22px}.chat-window{width:100%;min-height:500px;height:68vh;border-radius:18px}.chat-header{min-height:68px;padding:12px 14px}.chat-user strong{max-width:180px}.messages-area{padding:17px 14px}.message-bubble{width:fit-content;max-width:82%}.message-delete-button{display:none}.chat-input-area{min-height:67px;padding:10px}.chat-input-area input{height:43px}.send-message-btn,.buzz-button{width:43px;height:43px}.profile-modal{border-radius:20px}}@media(max-width:480px){.auth-page{padding:14px}.auth-card{padding:27px 20px;border-radius:21px}.topbar-right{gap:4px}.sidebar{padding:12px}.content{padding:10px}.chat-window{min-height:470px;height:72vh;border-radius:16px}.chat-header{padding:11px 12px}.chat-action-button{width:35px;height:35px}.chat-user strong{max-width:150px}.messages-area{padding:15px 11px}.message-bubble{width:fit-content;max-width:88%}.chat-input-area{gap:6px;padding:8px}.chat-input-area input{padding:10px 11px;font-size:12px}.send-message-btn,.buzz-button{width:41px;height:41px}.modal-backdrop{padding:10px}.profile-edit-body{padding:17px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media(max-width:760px){html,body,#root{width:100%;min-width:320px;min-height:100%;height:auto!important;overflow-x:hidden!important;overflow-y:auto!important}body{-webkit-text-size-adjust:100%}.app-shell{min-height:100vh;min-height:100dvh;height:auto!important;overflow:visible!important}.topbar{position:sticky;top:0;z-index:100;width:100%;height:62px;min-height:62px;padding:0 12px;gap:8px}.brand-small .brand-name{font-size:20px!important}.brand-small .brand-powered{font-size:5px!important}.topbar-right{min-width:0;gap:4px}.top-profile-button{min-width:0;padding:4px}.top-profile-button>div:last-child{display:none}.icon-button{width:36px;height:36px;flex:0 0 36px}.dashboard{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important}.sidebar{position:relative!important;inset:auto!important;display:flex!important;flex:0 0 auto!important;flex-direction:column!important;gap:0!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:14px 14px 16px!important;overflow:visible!important;border-right:0!important;border-bottom:1px solid #e1e9f1;border-radius:0!important;box-shadow:none!important;box-sizing:border-box!important}.sidebar-profile,.search-box,.search-results,.sidebar-section,.friends-section,.sidebar-bottom{position:relative!important;inset:auto!important;flex:0 0 auto!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;max-height:none!important;box-sizing:border-box!important}.sidebar-profile{padding:4px 4px 14px!important}.sidebar-profile strong,.sidebar-profile small{max-width:calc(100vw - 120px)}.search-box{min-height:44px;margin:0!important}.search-results{margin-top:10px!important}.sidebar-section{margin-top:18px!important}.friends-section{display:flex!important;flex:0 0 auto!important;flex-direction:column!important;min-height:0!important}.friends-list,.request-list{display:flex;flex:0 0 auto!important;flex-direction:column;gap:6px;width:100%;max-height:none!important;overflow:visible!important;padding-right:0}.friend-item,.request-item,.search-user-item{min-width:0;max-width:100%;box-sizing:border-box}.sidebar-bottom{flex-shrink:0!important;margin-top:18px!important;padding-top:14px;padding-bottom:max(4px,env(safe-area-inset-bottom));border-top:1px solid #e9eef3}.language-switcher{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:100%}.language-switcher button{min-width:0;min-height:40px}.content{position:relative!important;inset:auto!important;display:flex!important;flex:0 0 auto!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:14px!important;overflow:visible!important;box-sizing:border-box!important;place-items:unset!important}.welcome-panel{position:relative!important;inset:auto!important;transform:none!important;flex:0 0 auto!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:300px!important;max-height:none!important;margin:0!important;padding:28px 18px!important;box-sizing:border-box!important;overflow-wrap:anywhere}.welcome-panel h2{margin:20px 0 10px;font-size:clamp(22px,6vw,30px)!important;line-height:1.2}.welcome-panel>p{max-width:100%;line-height:1.5}.welcome-brand{width:100%;margin-top:26px!important;overflow-wrap:anywhere}.welcome-brand .brand-name{font-size:clamp(28px,8vw,40px)!important}.chat-window{position:relative!important;inset:auto!important;flex:0 0 auto!important;width:100%!important;min-width:0!important;max-width:100%!important;height:min(68vh,680px)!important;height:min(68dvh,680px)!important;min-height:380px!important;max-height:none!important;margin:0!important;overflow:hidden!important;border-radius:16px!important;box-sizing:border-box!important}.chat-header{min-width:0;flex-wrap:wrap;gap:8px;padding:11px 12px!important}.chat-user{min-width:0;max-width:100%;gap:8px}.chat-user>div:last-child{min-width:0;overflow-wrap:anywhere}.chat-user strong{max-width:38vw!important}.chat-actions{flex-wrap:wrap;gap:4px;max-width:100%}.chat-action-button{width:34px;height:34px}.messages-area{min-height:0;flex:1 1 auto;padding:14px 11px;overflow-y:auto!important;overscroll-behavior:contain}.message-bubble{max-width:86%!important;overflow-wrap:anywhere}.message-delete-button{display:none}.chat-input-area{flex:0 0 auto;min-width:0;gap:6px;padding:8px 8px max(8px,env(safe-area-inset-bottom))}.chat-input-area input{min-width:0;width:100%;height:42px;padding:10px;font-size:12px}.send-message-btn,.buzz-button{width:41px;height:41px}.modal-backdrop{padding:10px!important;overflow-y:auto!important;overscroll-behavior:contain}.profile-modal{width:100%!important;max-width:480px;max-height:85vh!important;max-height:85dvh!important;overflow-y:auto!important;border-radius:20px!important}}@media(max-width:380px){.topbar{padding-inline:8px}.brand-small .brand-name{font-size:18px!important}.sidebar{padding-inline:10px!important}.content{padding:10px!important}.welcome-panel{min-height:270px!important;padding:24px 12px!important}.chat-window{min-height:350px!important}}.anchor-welcome-page{position:relative;isolation:isolate;min-height:100vh;overflow:hidden;display:flex;flex-direction:column;color:#f7fbff;background:radial-gradient(ellipse at 50% 42%,rgba(38,112,219,.5) 0%,rgba(19,65,136,.35) 28%,transparent 58%),linear-gradient(145deg,#07152e,#0b2a59 48%,#07142c);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;padding:0 5vw;box-sizing:border-box}.anchor-welcome-page:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;opacity:.3;background-image:radial-gradient(circle at 12% 24%,#8bc8ff 0 1px,transparent 2px),radial-gradient(circle at 82% 28%,#b7dfff 0 1px,transparent 2px),radial-gradient(circle at 24% 68%,#fff 0 1px,transparent 2px),radial-gradient(circle at 75% 72%,#8bc8ff 0 1px,transparent 2px);background-size:180px 160px,230px 200px,270px 210px,200px 180px}.anchor-welcome-glow{position:absolute;z-index:-1;pointer-events:none;border-radius:50%;filter:blur(3px)}.anchor-welcome-glow-one{width:430px;height:430px;top:12%;left:-230px;background:radial-gradient(circle,rgba(32,129,255,.28),transparent 68%)}.anchor-welcome-glow-two{width:500px;height:500px;right:-250px;bottom:0;background:radial-gradient(circle,rgba(65,160,255,.22),transparent 70%)}.anchor-welcome-topbar{height:78px;display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1200px;margin:0 auto}.anchor-welcome-mini-brand{display:flex;align-items:center;gap:9px;font-size:15px;font-weight:850;letter-spacing:2px}.anchor-welcome-mini-brand img{width:29px;height:29px;object-fit:contain}.anchor-language-select-label{display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid rgba(211,231,255,.24);border-radius:12px;background:#0a1e4180;color:#eaf4ff}.anchor-language-select-label select{border:0;outline:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.anchor-language-select-label option{color:#14243b;background:#fff}.anchor-welcome-hero{width:100%;max-width:760px;margin:0 auto;display:flex;align-items:center;flex-direction:column;text-align:center;padding:24px 0 48px}.anchor-welcome-logo-wrap{position:relative;width:130px;height:130px;display:grid;place-items:center;margin:8px 0 18px}.anchor-welcome-logo-halo{position:absolute;top:4px;right:4px;bottom:4px;left:4px;border-radius:50%;background:#4fa4ff40;filter:blur(24px);box-shadow:0 0 65px 22px #3f92ff3d}.anchor-welcome-logo{position:relative;width:112px;height:112px;object-fit:contain;filter:drop-shadow(0 0 18px rgba(177,220,255,.75))}.anchor-welcome-eyebrow{font-size:10px;font-weight:800;letter-spacing:4px;color:#9ccaff;margin:2px 0 8px}.anchor-welcome-hero h1{font-size:clamp(46px,7vw,72px);line-height:1.04;letter-spacing:-2.5px;margin:0;font-weight:850;color:#fff;text-shadow:0 5px 34px rgba(86,166,255,.24)}.anchor-welcome-hero h1 span{color:#7fc0ff}.anchor-welcome-tagline{font-size:clamp(18px,2.8vw,24px);font-weight:650;letter-spacing:.1px;margin:15px 0 9px;color:#e5f2ff}.anchor-welcome-description{max-width:520px;margin:0 auto;color:#b8cce8;font-size:15px;line-height:1.75}.anchor-welcome-actions{display:flex;justify-content:center;gap:13px;margin:27px 0 24px;width:100%}.anchor-welcome-actions button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:176px;padding:14px 22px;border-radius:12px;font-size:14px;font-weight:750;cursor:pointer;transition:transform .18s,box-shadow .18s,background .18s}.anchor-welcome-actions button:hover{transform:translateY(-2px)}.anchor-welcome-primary{border:1px solid #a9d5ff;background:linear-gradient(135deg,#f5fbff,#b7dcff);color:#0a2c59;box-shadow:0 8px 28px #4c9dff3b}.anchor-welcome-secondary{border:1px solid rgba(189,219,255,.4);background:#0f2a518f;color:#f2f8ff}.anchor-welcome-secondary:hover{background:#315e976b}.anchor-welcome-auth-panel{width:min(100%,420px);box-sizing:border-box;text-align:left;border:1px solid rgba(183,215,255,.19);border-radius:18px;padding:20px;background:#04132c8c;box-shadow:0 20px 60px #0000002e;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);scroll-margin-top:20px}.anchor-welcome-auth-heading{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:14px;color:#f2f8ff;font-size:15px;font-weight:750}.anchor-welcome-auth-heading small{font-size:11px;font-weight:500;color:#9db6d8}.anchor-welcome-form{display:grid;gap:12px}.anchor-welcome-form label{display:grid;gap:6px}.anchor-welcome-form label span{font-size:12px;color:#c5d8f1}.anchor-welcome-form input{width:100%;box-sizing:border-box;background:#030f23b8!important;border:1px solid rgba(168,202,245,.25)!important;color:#f7fbff!important;border-radius:10px!important;padding:11px 12px!important;outline:none}.anchor-welcome-form input:focus{border-color:#70b4ff!important;box-shadow:0 0 0 3px #4696ff21}.anchor-welcome-form input::placeholder{color:#7189aa}.anchor-welcome-submit{width:100%;margin-top:2px}.anchor-welcome-switch{display:flex;justify-content:center;gap:6px;margin-top:14px;color:#a9bfdc;font-size:12px}.anchor-welcome-switch button{border:0;background:none;color:#9bceff;font-weight:750;cursor:pointer}.anchor-welcome-support{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin-top:22px;color:#9eb7d8;font-size:11px}.anchor-welcome-support span{color:#527db1}.anchor-welcome-footer{margin:auto auto 0;padding:22px 0 18px;color:#7895ba;font-size:11px;letter-spacing:.6px;text-align:center}@media(max-width:600px){.anchor-welcome-page{padding:0 20px}.anchor-welcome-topbar{height:65px}.anchor-welcome-hero{padding-top:28px}.anchor-welcome-logo-wrap{width:105px;height:105px;margin-bottom:15px}.anchor-welcome-logo{width:92px;height:92px}.anchor-welcome-eyebrow{letter-spacing:2.5px}.anchor-welcome-description{font-size:14px;max-width:340px}.anchor-welcome-actions{gap:9px;margin:23px 0 20px}.anchor-welcome-actions button{min-width:0;flex:1;padding:13px 10px;font-size:13px}.anchor-welcome-auth-panel{padding:17px}.anchor-welcome-support{line-height:1.7}.anchor-welcome-footer{padding-bottom:14px}}.chat-security-banner{box-sizing:border-box;display:flex;align-items:flex-start;gap:10px;width:100%;min-width:0;margin:0;padding:10px 16px;border-bottom:1px solid #dfe8f2;background:linear-gradient(90deg,#f4f8fd,#fff);color:#64748b;font-size:12px;line-height:1.45}.chat-security-icon{display:inline-flex;flex:0 0 18px;width:18px;height:18px;align-items:center;justify-content:center;margin-top:1px;color:#47658a}.chat-security-copy{display:flex;flex:1 1 auto;flex-direction:column;gap:2px;min-width:0;overflow-wrap:anywhere}.chat-security-copy strong{display:block;margin:0;color:#24364d;font-size:12px;font-weight:800;line-height:1.4}.chat-security-copy>span{display:block;color:#718096;font-size:11px;font-weight:500;line-height:1.45}@media(max-width:760px){.chat-security-banner{gap:8px;padding:9px 12px}.chat-security-copy strong{font-size:11px}.chat-security-copy>span{font-size:10px}}.browser-notification-toggle{width:100%;margin-top:12px;padding:10px 11px;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;border:1px solid var(--border-color, #e2e8f0);border-radius:12px;background:var(--panel-raised, rgba(148, 163, 184, .06));color:inherit;cursor:pointer;box-sizing:border-box}.browser-notification-label{min-width:0;display:flex;flex-direction:column;gap:3px}.browser-notification-title{font-size:12px;font-weight:750}.browser-notification-description{font-size:10px;opacity:.65;line-height:1.35}.browser-notification-switch{flex:0 0 auto;width:34px;height:20px;padding:2px;border-radius:999px;background:#94a3b8;transition:background .18s ease;box-sizing:border-box}.browser-notification-switch>span{display:block;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .18s ease}.browser-notification-switch.is-on{background:#2563eb}.browser-notification-switch.is-on>span{transform:translate(14px)}@media(max-width:760px){.browser-notification-toggle{margin-top:10px;padding:11px 12px}.browser-notification-title{font-size:13px}.browser-notification-description{font-size:11px}}
