@import"https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap";:root{font-family:Vazirmatn,Tahoma,sans-serif;color:#f5f2ea;background:#101112;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 15% 10%,#242017 0,transparent 35%),#101112}button,input{font:inherit}button{cursor:pointer;border:0}.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{width:min(100%,430px);padding:42px;border:1px solid #3c3425;border-radius:26px;background:linear-gradient(145deg,#1d1c19,#141516);box-shadow:0 24px 90px #0008;text-align:center}.brand-mark{width:62px;height:62px;margin:auto;border:1px solid #c9a45b;border-radius:20px;display:grid;place-items:center;color:#e3c47d;font-size:34px;font-weight:800}.eyebrow{color:#c6a45f;font-size:12px;letter-spacing:1px;margin:22px 0 4px}h1{font-size:30px;margin:0}h1 span{color:#d5b66e}.muted,.hint{color:#92918c}.stack{display:grid;gap:16px;text-align:right;margin-top:28px}.stack label{font-size:13px;color:#c9c6bd}.stack input,.create-room input,.composer input{width:100%;margin-top:8px;padding:13px 14px;border:1px solid #3a3b3b;border-radius:12px;background:#111314;color:#fff;outline:none}.stack input:focus,.create-room input:focus,.composer input:focus{border-color:#b8954f}.stack button,.composer button{padding:13px;border-radius:12px;background:linear-gradient(120deg,#d9bd79,#a7833d);color:#171512;font-weight:800}.stack button:disabled{opacity:.6}.hint{font-size:11px;margin-top:20px}.error{color:#ff8585;font-size:13px}.app-shell{min-height:100vh;display:flex;flex-direction:column}.topbar{height:76px;border-bottom:1px solid #2b2c2c;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;background:#131414}.brand{display:flex;align-items:center;gap:12px;font-weight:800;letter-spacing:1px}.brand>b{width:38px;height:38px;display:grid;place-items:center;border:1px solid #c9a45b;border-radius:12px;color:#d9bd79;font-size:22px}.brand small{display:block;color:#a78a50;font-size:9px;letter-spacing:2px}.top-actions{display:flex;align-items:center;gap:10px;color:#aaa;font-size:12px}.online-dot{width:8px;height:8px;border-radius:50%;background:#61b88c}.ghost{padding:8px 14px;border:1px solid #49433a;border-radius:9px;background:transparent;color:#e1c47d;margin-right:12px}.workspace{width:min(1200px,94vw);margin:28px auto;flex:1;display:grid;grid-template-columns:310px 1fr;border:1px solid #303131;border-radius:20px;overflow:hidden;min-height:600px;background:#171919}.sidebar{border-left:1px solid #303131;padding:22px;background:#151717}.section-heading{display:flex;align-items:center;justify-content:space-between}.section-heading h2{font-size:16px}.section-heading span{color:#d8b96d;background:#302a1e;border-radius:20px;padding:2px 9px;font-size:12px}.create-room{display:flex;gap:8px;margin:16px 0}.create-room input{margin:0;min-width:0}.create-room select{max-width:92px;border:1px solid #3a3b3b;border-radius:10px;background:#111314;color:#e8e4da;padding:8px 5px;font:inherit;font-size:11px}.create-room button{width:48px;border-radius:11px;background:#c9a45b;color:#171512;font-size:24px}.room-list{display:grid;gap:7px}.room-item{width:100%;display:flex;align-items:center;gap:12px;text-align:right;padding:12px;border-radius:12px;background:transparent;color:#eee}.room-item:hover,.room-item.selected{background:#29271f}.room-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#332d20;color:#d9bd79;font-size:20px}.room-info{display:grid;gap:4px}.room-info b{font-size:13px}.room-info small{color:#9c9b95;font-size:11px}.empty{font-size:12px;text-align:center;margin-top:32px}.chat-panel{display:flex;flex-direction:column;min-width:0;position:relative}.chat-heading{height:76px;border-bottom:1px solid #303131;padding:14px 24px;display:flex;align-items:center;justify-content:space-between}.chat-heading h2{font-size:16px;margin:0}.chat-heading p{font-size:11px;color:#92918c;margin:4px 0 0}.secure-label{font-size:10px;color:#d6b66e;letter-spacing:1px}.messages{flex:1;padding:22px;display:flex;flex-direction:column;gap:12px;overflow:auto}.message{max-width:75%;align-self:flex-start;border:1px solid #343534;background:#202222;border-radius:14px 14px 14px 4px;padding:11px 15px}.message b{font-size:11px;color:#d7b86f}.message p{font-size:14px;margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.composer{display:flex;gap:10px;padding:16px 20px;border-top:1px solid #303131}.composer input{margin:0;min-width:0}.composer button{min-width:86px}.empty-chat{margin:auto;text-align:center;color:#a5a39b}.empty-chat>div{font-size:42px;color:#c8a55e}.empty-chat h2,.empty-chat h3{color:#e8e4da;font-size:18px}.empty-chat p{font-size:12px}.toast{position:absolute;bottom:80px;left:20px;background:#4b2828;border:1px solid #834444;color:#ffdada;border-radius:10px;padding:10px 14px;font-size:12px}.toast button{background:none;color:#fff;margin-right:12px}footer{padding:16px 5vw;color:#a88c51;font-size:10px;letter-spacing:1px}footer span{float:left;color:#6f706e;letter-spacing:0}@media(max-width:720px){.workspace{grid-template-columns:1fr;margin:12px auto;min-height:calc(100vh - 130px)}.sidebar{border-left:0;border-bottom:1px solid #303131}.room-list{display:flex;overflow:auto}.room-item{min-width:150px}.chat-panel{min-height:420px}.auth-card{padding:28px 22px}.topbar{padding:0 18px}.workspace{width:calc(100% - 24px)}}.mode-switch{margin-top:16px;background:transparent;color:#d9bd79;font-size:12px;padding:8px 12px}.mode-switch:hover{color:#f0d99c}.typing-indicator{min-height:22px;padding:2px 22px;color:#d4b46b;font-size:12px;text-align:right}.typing-indicator:empty{display:none}.chat-tools{display:flex;align-items:center;gap:8px}.call-action{background:#29251d;color:#d9bd79;border:1px solid #625234;padding:7px 10px;border-radius:9px;font-size:12px}.call-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000b;z-index:20;display:grid;place-items:center;padding:18px}.call-panel{width:min(760px,100%);max-height:90vh;overflow:auto;background:#17191a;border:1px solid #51452b;border-radius:18px;padding:18px;box-shadow:0 20px 70px #0009}.call-panel>header,.call-panel>footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.call-panel header small{display:block;color:#999;margin-top:5px}.call-close{font-size:24px;background:transparent;color:#fff}.call-tracks{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;min-height:180px;padding:18px 0}.call-tile{position:relative;min-height:180px;background:#242628;border-radius:12px;overflow:hidden}.call-tile span{position:absolute;bottom:8px;right:10px;background:#0009;padding:4px 8px;border-radius:6px;font-size:12px}.call-status{color:#d4b46b;text-align:center;padding:32px}.call-panel footer{border-top:1px solid #333;padding-top:14px;color:#aaa;font-size:12px}.danger{background:#8c302c;color:#fff;border-radius:9px;padding:9px 14px}.chat-tools .secure-label{font-size:12px;color:#c5b27c}@media(max-width:600px){.chat-tools{gap:4px;flex-wrap:wrap}.call-action{font-size:10px;padding:6px}}.call-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.call-control{background:#302b20;color:#e3c77f;border:1px solid #6a5936;border-radius:9px;padding:9px 12px;font-size:12px}.call-control.is-off{background:#3a2524;color:#ffb4ad;border-color:#77413d}.call-control:disabled{opacity:.5;cursor:not-allowed}.admin-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;background:#000b;display:grid;place-items:center;padding:18px}.admin-panel{width:min(980px,100%);max-height:min(86vh,900px);overflow:auto;border:1px solid #55472c;border-radius:20px;background:#171919;color:#f5f2ea;box-shadow:0 28px 100px #000c;padding:22px}.admin-ltr{font-family:Arial,sans-serif}.admin-header,.admin-header-actions,.admin-tabs{display:flex;align-items:center;justify-content:space-between;gap:12px}.admin-header h2{margin:0;font-size:20px}.admin-header .eyebrow{margin:0 0 5px}.admin-tabs{justify-content:flex-start;border-bottom:1px solid #343534;padding:14px 0;margin-bottom:16px}.admin-tabs button{background:transparent;color:#aaa;padding:9px 14px;border-radius:9px}.admin-tabs button.active{background:#332d20;color:#e3c47d}.admin-tabs .ghost{margin:0;border:1px solid #49433a}.admin-table-wrap{overflow:auto}.admin-table{width:100%;border-collapse:collapse;font-size:13px}.admin-table th,.admin-table td{padding:12px 10px;text-align:start;border-bottom:1px solid #303131;white-space:nowrap}.admin-table th{color:#d9bd79;font-weight:600}.admin-table td small{display:block;color:#888;margin-top:4px;white-space:normal;max-width:250px}.admin-table select{background:#111314;color:#eee;border:1px solid #4a463b;border-radius:8px;padding:7px}.admin-action{background:#332d20;color:#e4c47d;border:1px solid #665536;border-radius:8px;padding:7px 10px}.admin-action:disabled{opacity:.5;cursor:not-allowed}.admin-status{font-size:11px}.status-active{color:#7ed4a1}.status-suspended,.status-banned{color:#f99}.admin-error{color:#f99;background:#3d2424;padding:10px;border-radius:8px}.admin-empty,.admin-note{color:#999;font-size:12px;padding:14px 0}.admin-note{border-top:1px solid #303131;margin-top:14px;padding-bottom:0}.attachment-list{display:flex;gap:8px;overflow:auto;padding:8px 18px 0}.attachment-item{display:flex;align-items:center;gap:8px;max-width:260px;padding:8px 10px;border:1px solid #49412f;border-radius:10px;background:#211f19;color:#e5d09c}.attachment-item b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.attachment-item small{color:#999;font-size:10px}.attachment-item span{font-size:17px}.file-picker{display:none!important}.attach-button{min-width:42px;border:1px solid #665536;border-radius:10px;background:#29251d;color:#e5c779;font-size:19px}.locale-toggle{border:1px solid #625234;border-radius:9px;padding:7px 10px;background:#29251d;color:#e3c47d;font-size:11px}.auth-locale{position:absolute;top:18px;right:18px}.auth-page{position:relative}.app-shell[dir=ltr] .sidebar{border-left:0;border-right:1px solid #303131}.app-shell[dir=ltr] .message{align-self:flex-end;border-radius:14px 14px 4px}.composer{position:relative;align-items:center}.emoji-toggle{flex:0 0 42px;height:42px;border:1px solid #665536;border-radius:11px;background:#29251d;color:#f2d58d;font-size:21px}.emoji-picker{position:absolute;z-index:30;bottom:calc(100% + 8px);right:16px;width:min(320px,calc(100vw - 48px));display:grid;grid-template-columns:repeat(6,1fr);gap:4px;padding:10px;border:1px solid #655333;border-radius:14px;background:#1b1c1c;box-shadow:0 12px 40px #000b}.emoji-picker button{height:40px;border-radius:8px;background:transparent;font-size:23px}.emoji-picker button:hover{background:#393225}.message{position:relative;padding-bottom:24px}.message time{position:absolute;bottom:6px;left:10px;color:#92918c;font-size:9px}.message.own{align-self:flex-end;background:#302a1e;border-color:#5a4a2d;border-radius:14px 14px 4px}.message.own b{color:#e5c779}.chat-heading{gap:10px}.chat-tools{justify-content:flex-end;flex-wrap:wrap}.sidebar{min-width:0}.room-list{max-height:34vh;overflow:auto}.messages{overscroll-behavior:contain;scrollbar-width:thin}.composer input[type=text],.composer input:not([type]){flex:1}@media(min-width:1100px){.workspace{width:min(1440px,96vw);grid-template-columns:340px minmax(0,1fr);min-height:calc(100vh - 145px)}.sidebar{padding:26px}.messages{padding:28px clamp(22px,4vw,64px)}}@media(max-width:900px){.workspace{width:calc(100% - 24px);grid-template-columns:280px minmax(0,1fr);margin:12px auto;min-height:calc(100dvh - 118px)}.sidebar{padding:16px}.chat-heading{padding:12px 16px}.chat-tools .secure-label{font-size:10px}}@media(max-width:680px){.topbar{height:auto;min-height:62px;padding:10px 14px;gap:8px;flex-wrap:wrap}.top-actions{gap:6px;font-size:10px;flex-wrap:wrap;justify-content:flex-end}.top-actions .ghost{margin:0;padding:7px 9px}.workspace{display:flex;flex-direction:column;width:100%;margin:0;border-left:0;border-right:0;border-radius:0;min-height:calc(100dvh - 112px);overflow:visible}.sidebar{border:0;border-bottom:1px solid #303131;padding:12px}.sidebar>.section-heading{margin-top:4px}.sidebar>.section-heading h2{font-size:14px}.create-room{margin:8px 0 12px}.room-list{display:flex;gap:6px;max-height:none;overflow-x:auto;overflow-y:hidden;padding:2px 0 8px;scroll-snap-type:x proximity}.room-item{min-width:145px;width:auto;scroll-snap-align:start;padding:8px}.room-avatar{width:34px;height:34px;flex:0 0 34px}.chat-panel{min-height:58dvh;flex:1}.chat-heading{height:auto;min-height:64px;align-items:flex-start}.chat-tools{max-width:58%;gap:5px}.call-action{font-size:10px;padding:6px 8px}.messages{min-height:34dvh;padding:14px;gap:9px}.message{max-width:88%;padding:10px 12px 23px}.composer{position:sticky;bottom:0;padding:10px;background:#171919;gap:6px;z-index:5}.composer input{padding:11px 10px;font-size:13px}.composer button:not(.attach-button):not(.emoji-toggle){min-width:62px;padding:10px 12px;font-size:12px}.attach-button,.emoji-toggle{min-width:38px;flex-basis:38px;height:40px}.attachment-list{padding:8px 12px 0}.typing-indicator{padding:2px 14px}footer{padding:10px 14px}}@media(max-width:390px){.brand{gap:7px;font-size:13px}.brand>b{width:32px;height:32px}.top-actions .online-dot{display:none}.top-actions .locale-toggle{padding:6px 7px}.chat-heading{padding:10px 12px}.chat-heading h2{font-size:14px}.chat-tools{max-width:62%}.call-action{font-size:9px;padding:5px 6px}.composer{gap:4px;padding:8px}}@media(prefers-reduced-motion:no-preference){.room-item,.call-action,.emoji-toggle,.emoji-picker button{transition:background .16s ease,border-color .16s ease}}:root{color-scheme:dark;--tg-bg:#101820;--tg-panel:#17232d;--tg-panel-2:#1d2c38;--tg-line:#293946;--tg-muted:#91a4b3;--tg-gold:#d8b76e;--tg-green:#2b665b}html,body,#root{width:100%;min-height:100%;margin:0}body{background:#0e171f;color:#eaf1f5}.app-shell{height:100dvh;min-height:560px;overflow:hidden;background:#0e171f}.topbar{height:64px;flex:0 0 64px;padding:0 22px;background:#17232d;border-bottom:1px solid #293946}.brand{letter-spacing:.2px}.brand>b{border-radius:50%;background:#263642;border-color:#a88b4e}.top-actions{gap:12px}.top-actions .ghost{margin:0;border-color:#3a4b57;color:#d9c28d}.workspace{width:100%;max-width:none;min-height:0;height:calc(100dvh - 100px);flex:1;margin:0;border:0;border-radius:0;overflow:hidden;display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);background:var(--tg-bg)}.sidebar{background:var(--tg-panel);border-left:1px solid var(--tg-line);padding:16px 12px;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:12px}.sidebar-brand{display:flex;align-items:center;gap:11px;padding:4px 8px 10px;color:#f1f5f8}.brand-mark-small{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#e1c47f,#9c783c);color:#18232c;font-size:23px;font-weight:900}.sidebar-brand>div:nth-child(2){display:grid;gap:3px}.sidebar-brand b{font-size:14px}.sidebar-brand small{font-size:11px;color:var(--tg-muted)}.sidebar-menu{margin-right:auto;width:34px;height:34px;border-radius:50%;background:transparent;color:#aab9c3;font-size:22px}.chat-search{height:42px;display:flex;align-items:center;gap:9px;padding:0 13px;border:1px solid #314451;border-radius:12px;background:#101b24;color:#8da2b0}.chat-search span{font-size:23px;line-height:1}.chat-search input{width:100%;border:0;outline:0;background:transparent;color:#edf4f8;font:inherit;font-size:12px}.section-heading{padding:3px 7px}.section-heading h2{margin:0;color:#aabac5;font-size:12px;font-weight:700}.section-heading span{background:#283945;color:#d9c28d}.create-room{margin:0;padding:0 2px;gap:6px}.create-room input{background:#101b24;border-color:#30424f;border-radius:10px;font-size:12px;padding:10px}.create-room select{background:#101b24;border-color:#30424f;border-radius:10px}.create-room button{width:40px;flex:0 0 40px;border-radius:10px;background:#b99a5c;color:#15212a}.room-list{display:grid;gap:3px;max-height:none;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 2px 6px;scrollbar-width:thin;flex:1}.room-item{min-width:0;width:100%;min-height:62px;padding:9px 10px;border-radius:12px;gap:11px;color:#eaf1f5}.room-item:hover,.room-item.selected{background:#263945}.room-avatar{width:44px;height:44px;flex:0 0 44px;border-radius:50%;background:#344a56;color:#e2c47d;font-size:18px}.room-info{min-width:0;flex:1}.room-info b{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.room-info small{font-size:11px;color:#91a4b3}.sidebar .section-heading:nth-of-type(2){margin-top:4px}.chat-panel{min-width:0;min-height:0;background:#0e1a23;overflow:hidden}.chat-heading{height:68px;flex:0 0 68px;padding:10px 22px;background:#172630;border-bottom:1px solid #293b47}.chat-heading-main{display:flex;align-items:center;gap:12px;min-width:0}.chat-heading h2{font-size:15px;font-weight:700;color:#f2f6f8}.chat-heading p{font-size:11px;color:#92a6b3}.chat-tools{gap:7px}.chat-tools .secure-label{color:#8fbdad;font-size:11px}.call-action{background:#263b43;border:1px solid #3c5960;color:#d9c28d;border-radius:18px;padding:7px 12px}.mobile-back{display:none;width:36px;height:36px;border-radius:50%;background:#263945;color:#f2f6f8;font-size:25px;line-height:1}.messages{min-height:0;overflow-y:auto;flex:1;padding:24px clamp(18px,5vw,76px);gap:10px;background-color:#0e1a23;background-image:radial-gradient(#29404c .65px,transparent .65px);background-size:18px 18px;scrollbar-width:thin}.message{max-width:min(72%,620px);border:1px solid #2c414d;background:#1c303b;border-radius:16px 16px 16px 5px;padding:10px 14px 25px;box-shadow:0 2px 5px #0002}.message b{font-size:11px;color:#d9bd79}.message p{font-size:14px;line-height:1.75;color:#eef4f7}.message time{color:#91a7b3;font-size:10px}.message.own{background:#24483f;border-color:#356457;border-radius:16px 16px 5px}.message.own b{color:#e2c783}.composer{flex:0 0 auto;position:relative;align-items:center;gap:8px;padding:12px 18px;background:#172630;border-top:1px solid #293b47}.composer input:not([type=file]){height:46px;flex:1;min-width:0;margin:0;padding:0 16px;border:1px solid #304652;border-radius:24px;background:#0f1c25;color:#f4f7f9;font-size:13px}.composer input:focus{border-color:#6a8e88}.composer button:not(.emoji-toggle):not(.attach-button){min-width:78px;border-radius:22px;background:#c5a45f;color:#18232a;padding:11px 18px}.emoji-toggle,.attach-button{width:42px;height:42px;min-width:42px;flex:0 0 42px;border-radius:50%;background:#263945;border:0;color:#e3c47d}.attach-button{font-size:18px}.emoji-picker{bottom:calc(100% + 10px);right:18px;background:#1b2b35;border-color:#3b5360}.emoji-picker button:hover{background:#314854}.typing-indicator{color:#9bc5b4;padding:2px 26px}.attachment-list{background:#172630;padding:7px 20px}.attachment-item{background:#223540;border-color:#3b515d;border-radius:12px}.empty-chat{padding:28px}.empty-chat>div{color:#d4b36c}.empty-chat h2,.empty-chat h3{color:#e8f0f4}.toast{z-index:20;bottom:78px}footer{height:36px;flex:0 0 36px;background:#17232d;padding:10px 20px;color:#b59b64}.auth-page{background:radial-gradient(circle at 50% 20%,#263c46,#0e171f 65%)}.auth-card{border-color:#3a4d58;background:#172630}.stack input{background:#0f1c25;border-color:#344b58}@media(min-width:681px){.workspace{grid-template-columns:minmax(310px,360px) minmax(0,1fr)}.sidebar{grid-column:1;grid-row:1}.chat-panel{grid-column:2;grid-row:1}}@media(max-width:900px)and (min-width:681px){.workspace{grid-template-columns:290px minmax(0,1fr)}.sidebar{padding:12px 9px}.chat-heading{padding:9px 14px}.chat-tools{max-width:55%}.call-action{font-size:10px;padding:6px 8px}.messages{padding:18px}}@media(max-width:680px){.app-shell{height:100dvh;min-height:0}.topbar{height:56px;min-height:56px;flex:0 0 56px;padding:7px 12px;flex-wrap:nowrap}.brand>b{width:34px;height:34px}.brand{font-size:12px}.brand small{font-size:8px}.top-actions{gap:5px;flex-wrap:nowrap;font-size:0}.top-actions .online-dot{display:inline-block;width:7px;height:7px}.top-actions .locale-toggle,.top-actions .ghost{font-size:10px;padding:6px 8px;white-space:nowrap}.workspace{height:calc(100dvh - 56px);min-height:0;display:block;position:relative;overflow:hidden}.sidebar{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;width:100%;height:100%;padding:12px 10px;display:flex;gap:10px;border:0}.sidebar .room-list{flex:1;max-height:none}.chat-panel{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;width:100%;height:100%;display:none;min-height:0}.workspace.mobile-chat-open .sidebar{display:none}.workspace.mobile-chat-open .chat-panel{display:flex}.mobile-back{display:inline-grid;place-items:center;flex:0 0 36px}.chat-heading{height:auto;min-height:62px;flex:0 0 auto;padding:9px 10px;gap:7px}.chat-heading-main{gap:8px;flex:1;min-width:0}.chat-heading h2{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-heading p{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-tools{max-width:52%;gap:4px;justify-content:flex-end}.chat-tools .secure-label{font-size:9px;white-space:nowrap}.call-action{font-size:9px;padding:6px 7px;white-space:nowrap}.messages{min-height:0;flex:1;padding:14px 10px 18px;gap:8px}.message{max-width:88%;padding:9px 11px 23px}.message p{font-size:13px;line-height:1.7}.composer{position:relative;bottom:auto;flex:0 0 auto;padding:8px 7px;gap:5px;padding-bottom:max(8px,env(safe-area-inset-bottom))}.composer input:not([type=file]){height:42px;padding:0 12px;font-size:12px}.composer button:not(.emoji-toggle):not(.attach-button){min-width:54px;padding:9px 10px;font-size:11px}.emoji-toggle,.attach-button{width:36px;height:36px;min-width:36px;flex-basis:36px}.attachment-list{max-width:100%;padding:5px 8px}.typing-indicator{padding:1px 12px;min-height:18px}footer{display:none}.toast{bottom:66px;left:8px;right:8px}}@media(max-width:390px){.topbar{padding-inline:8px}.top-actions{gap:3px}.top-actions .ghost{padding:5px 6px}.chat-tools{max-width:48%}.call-action{font-size:8px;padding:5px}.chat-heading{padding-inline:7px}.composer{gap:4px}}.sidebar-chat-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.user-search-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#020814b8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:grid;place-items:center;padding:18px}.user-search-modal{width:min(520px,100%);max-height:min(720px,90dvh);overflow:auto;background:#111f35;border:1px solid rgba(115,164,230,.22);border-radius:22px;padding:22px;box-shadow:0 24px 80px #00000073;color:#eaf3ff}.user-search-modal header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px}.user-search-modal h2{margin:0 0 5px;font-size:19px}.user-search-modal header p,.user-search-modal .muted{margin:0;color:#91a9c8;font-size:13px}.user-search-modal>input{width:100%;height:48px;border-radius:13px;border:1px solid #2d4568;background:#0b1729;color:#f4f8ff;padding:0 15px;outline:none}.user-search-modal>input:focus{border-color:#3695ff;box-shadow:0 0 0 3px #3695ff21}.user-search-results{display:grid;gap:8px;margin-top:14px}.user-search-results article{display:flex;align-items:center;gap:12px;padding:11px;border:1px solid rgba(115,164,230,.12);background:#2339586b;border-radius:14px;min-width:0}.user-search-avatar{width:42px;height:42px;flex:0 0 42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#1685ff,#174caa);font-weight:800;font-size:18px}.user-search-results article>div{flex:1;min-width:0}.user-search-results article b,.user-search-results article small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-search-results article small{color:#8da8cb;font-size:12px;margin-top:3px}.user-search-results article p{margin:4px 0 0;color:#a8bdd8;font-size:12px}.user-search-results article button{border:0;border-radius:10px;padding:8px 13px;background:#1685ff;color:#fff;cursor:pointer}.user-search-results article button:disabled{opacity:.55;cursor:wait}.loading-spinner{width:28px;height:28px;border:3px solid rgba(85,160,255,.2);border-top-color:#3695ff;border-radius:50%;animation:veso-spin .8s linear infinite;margin:0 auto 10px}@keyframes veso-spin{to{transform:rotate(360deg)}}@media(max-width:600px){.user-search-modal{padding:17px;border-radius:18px}.sidebar-chat-actions{gap:2px}.sidebar-chat-actions .ghost{font-size:10px;padding:5px 7px}}
