.call-surface{box-sizing:border-box;color:#f2f3f5;background:#000;display:flex;flex-direction:column;min-width:0;min-height:0;font:14px Vazir,Tahoma,sans-serif;isolation:isolate}.call-surface button,.call-voice-dock button{font:inherit;color:inherit;border:0;cursor:pointer}.call-surface button:focus-visible,.call-voice-dock button:focus-visible{outline:2px solid #8ca4ff;outline-offset:3px}.call-surface svg,.call-voice-dock svg{display:block;flex-shrink:0}.call-surface button:disabled,.call-voice-dock button:disabled{opacity:.45;cursor:wait}.telegram-call{position:fixed;z-index:65;top:6vh;right:7vw;bottom:6vh;left:7vw;border:1px solid #4b596f;border-radius:16px;background:#151822;box-shadow:0 20px 90px #0009;overflow:hidden}.discord-call{height:100%;width:100%;overflow:hidden}.call-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:68px;padding:12px 20px;flex-shrink:0;border-bottom:1px solid #ffffff0a;background:#0b0b0d}.telegram-call .call-heading{background:transparent}.call-heading-label{display:flex;align-items:center;gap:12px;min-width:0}.call-heading-label>svg{color:#b5bac1}.call-heading-label b{font-size:15px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:32vw}.call-heading-label small{display:flex;gap:5px;align-items:center;font-size:10px;color:#65cc93;margin-top:4px}.call-heading-tools{display:flex;align-items:center;gap:12px;color:#b5bac1}.call-heading-tools button{display:grid;place-items:center;width:30px;height:32px;border-radius:6px;background:transparent}.call-heading-tools button:hover{background:#ffffff14;color:#fff}.call-heading-tools svg{width:19px;height:19px}.call-timer{font:12px ui-monospace,Consolas,monospace;color:#65cc93;white-space:nowrap;font-variant-numeric:tabular-nums;direction:ltr}.call-member-count{display:flex;align-items:center;gap:5px;font-size:12px}.call-stage-body{flex:1;min-height:0;display:flex;flex-direction:column;position:relative;overflow:auto;padding:24px;scrollbar-width:thin}.call-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;max-width:1280px;margin:auto;align-content:center;align-items:center}.call-tiles[data-count="1"]{grid-template-columns:minmax(0,620px);justify-content:center}.call-tiles[data-count="2"]{max-width:1440px}.call-tiles[data-count="5"],.call-tiles[data-count="6"],.call-tiles[data-count="7"],.call-tiles[data-count="8"]{grid-template-columns:repeat(3,minmax(0,1fr))}.call-tile{width:100%;min-width:0;aspect-ratio:16/9;max-height:52vh;border:2px solid transparent;border-radius:9px;background:#2b2d31;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.call-tile.speaking{border-color:#23a559;box-shadow:0 0 0 1px #23a55966}.call-tile>video{display:block;width:100%;height:100%;object-fit:contain;background:#07080a}.call-tile-hit{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;background:transparent}.call-tile footer{position:absolute;z-index:2;pointer-events:none;bottom:0;left:0;right:0;padding:18px 12px 10px;background:linear-gradient(transparent,#0009);display:flex;align-items:center;justify-content:space-between;font-size:12px}.call-tile footer>span{display:flex;align-items:center;gap:6px;min-width:0}.call-tile footer b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.call-tile footer small{font-size:10px;color:#c0c4cc}.call-tile-expand{position:absolute;z-index:3;top:9px;left:9px;display:grid;place-items:center;width:31px;height:31px;border-radius:6px;background:#101116aa;opacity:.3}.call-tile:hover .call-tile-expand,.call-tile:focus-within .call-tile-expand{opacity:1}.call-live{position:absolute;top:12px;right:12px;border-radius:4px;background:#da373c;font:700 10px system-ui;padding:3px 6px;color:#fff;z-index:2}.call-avatar{height:clamp(56px,7vw,88px);width:clamp(56px,7vw,88px);border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:var(--avatar-color,#5865f2);font:600 30px Vazir,Tahoma,sans-serif;overflow:hidden;color:#fff}.call-avatar img{width:100%;height:100%;object-fit:cover}.call-avatar.small{width:26px;height:26px;font-size:12px}.call-bottom{display:flex;flex-direction:column;align-items:center;gap:10px;padding:16px 18px 19px;flex-shrink:0;background:linear-gradient(transparent,#0009)}.telegram-call .call-bottom{background:transparent}.call-bottom>small{font-size:10px;color:#9299a5}.call-controls{display:flex;align-items:center;justify-content:center;gap:12px;direction:rtl}.call-controls button{width:52px;height:48px;border-radius:14px;display:grid;place-items:center;background:#313338;color:#f2f3f5;flex-shrink:0;box-sizing:border-box;padding:0;transition:background .15s}.call-controls button:hover{background:#41434a}.call-controls svg{width:22px;height:22px;margin:0}.call-controls .off{background:#f2f3f5;color:#232428}.call-controls .enabled{background:#5865f2;color:#fff}.call-controls .hangup{width:66px;background:#da373c;color:#fff}.call-controls .hangup:hover{background:#a6292e}.call-back-grid{display:flex;align-items:center;gap:6px;background:#24262b;align-self:flex-start;padding:7px 12px;border-radius:7px;margin-bottom:12px;font-size:12px!important}.call-tiles.focus-layout{display:flex;flex:1;max-width:none;min-height:0}.call-tiles.focus-layout .call-tile{height:100%;max-height:none;aspect-ratio:auto;min-height:180px;background:#111214}.call-filmstrip{display:flex;justify-content:center;gap:8px;padding-top:14px;flex-shrink:0;overflow-x:auto}.call-filmstrip>button{display:flex;align-items:center;gap:7px;background:#2b2d31;border:1px solid transparent;max-width:180px;padding:8px 12px;border-radius:7px;flex-shrink:0}.call-filmstrip>button.selected{border-color:#8992fc;background:#343a64}.call-filmstrip span:last-child{font-size:11px;white-space:nowrap;max-width:110px;overflow:hidden;text-overflow:ellipsis}.call-surface.viewport-full,.call-surface:fullscreen,.call-surface:-webkit-full-screen{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;height:100dvh!important;border-radius:0!important;z-index:9999!important;border:0!important;background:#000}.call-surface.viewport-full .call-tile.focused{max-height:none}.call-surface.minimized{position:fixed;z-index:66;inset:auto auto 18px 90px;width:360px;height:auto;border:1px solid #414652;background:#1e1f22;border-radius:12px;box-shadow:0 10px 40px #0008;overflow:hidden}.call-surface.minimized .call-heading{min-height:58px;padding:10px 12px}.call-surface.minimized .call-heading-label>svg,.call-surface.minimized .call-member-count{display:none}.call-surface.minimized .call-heading-label b{max-width:120px}.call-surface.minimized .call-heading-tools{gap:7px}.call-surface.minimized .call-bottom{padding:10px 12px}.call-surface.minimized .call-controls{gap:8px}.call-surface.minimized .call-controls button{height:36px;width:43px;border-radius:8px}.call-surface.minimized .call-controls svg{height:18px;width:18px}.ha-stage-host{display:none;min-height:0;min-width:0}.dc-app[data-group-call=true] .ha-main>.ha-stage-host{display:flex;flex:1;overflow:hidden}.dc-app[data-group-call=true] .ha-main>:not(.ha-stage-host){display:none!important}.dc-app[data-group-call=true] .ha-main{overflow:hidden;background:#000}.dc-app[data-group-call=true] .ha-members{display:none}.call-voice-dock{background:#232428;border-top:1px solid #ffffff0c;padding:10px;flex-shrink:0;color:#f2f3f5}.call-dock-heading{display:flex;align-items:center;gap:7px;margin-bottom:9px}.call-dock-heading>button:first-child{background:none;display:flex;align-items:center;gap:8px;min-width:0;flex:1;text-align:start}.call-dock-heading>button:first-child>svg{color:#23a559}.call-dock-heading b{font:600 12px system-ui;color:#23a559;display:block}.call-dock-heading small{display:block;font-size:10px;color:#b5bac1;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:92px}.call-dock-heading .call-timer{font-size:10px}.call-dock-leave{display:grid;place-items:center;background:transparent!important;padding:4px}.call-controls.compact{gap:6px}.call-controls.compact button{flex:1;width:auto;height:32px;border-radius:7px}.call-controls.compact svg{width:17px;height:17px}.voice-channel-block{margin:2px 8px 8px}.voice-channel-row{display:flex;align-items:center;gap:4px;border-radius:6px}.voice-channel-row.active{background:#3f4147}.voice-channel-row>button:first-child{display:flex;align-items:center;gap:9px;flex:1;min-width:0;padding:10px 8px;text-align:start;color:#b5bac1}.voice-channel-row.active>button:first-child{color:#f2f3f5}.voice-channel-row>button:first-child>span{flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.voice-channel-row.active>button:first-child>svg{color:#23a559}.voice-channel-row .voice-edit{display:grid;place-items:center;flex-shrink:0;padding:5px;color:#949ba4}.voice-channel-row .call-timer{font-size:9px}.voice-roster{padding:2px 31px 3px 0}.voice-roster>button{display:flex;align-items:center;gap:8px;width:100%;padding:5px 3px;text-align:start;color:#b5bac1;min-width:0;font-size:12px}.voice-roster .call-avatar{outline:2px solid transparent;outline-offset:1px}.voice-roster .speaking .call-avatar{outline-color:#23a559}.voice-roster b{font-size:11px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}.voice-roster .voice-muted{color:#949ba4}.voice-roster .voice-live{color:#f2f3f5;background:#da373c;border-radius:3px;font:700 8px system-ui;padding:2px 3px}.voice-roster-empty{font-size:10px;color:#747c88;display:block;padding:3px 35px 5px}.voice-room-list{flex-shrink:0;max-height:37vh;overflow:auto;scrollbar-width:thin}.call-audio-tracks{display:none}.call-dock-host:empty{display:none}@media(max-width:760px){.telegram-call{top:8px;right:8px;bottom:8px;left:8px;border-radius:12px}.call-heading{padding:10px 12px;min-height:62px;gap:6px}.call-heading-label{gap:7px}.call-heading-label>svg{width:18px}.call-heading-label b{max-width:36vw;font-size:13px}.call-heading-tools{gap:6px}.call-heading-tools button{width:27px}.call-member-count{display:none}.call-stage-body{padding:12px}.call-tiles{gap:8px}.call-tiles[data-count="1"]{grid-template-columns:minmax(0,480px)}.call-tiles[data-count="5"],.call-tiles[data-count="6"],.call-tiles[data-count="7"],.call-tiles[data-count="8"]{grid-template-columns:repeat(2,minmax(0,1fr))}.call-tile{max-height:40vh;border-radius:8px}.call-tile-expand{opacity:.85;top:5px;left:5px;width:27px;height:27px}.call-tile footer{padding:18px 7px 7px;font-size:10px}.call-tile footer small{display:none}.call-tile footer svg{width:13px;height:13px}.call-controls{gap:9px}.call-controls button{width:45px;height:43px;border-radius:12px}.call-controls .hangup{width:55px}.call-controls svg{width:20px;height:20px}.call-bottom{padding:12px 10px max(13px,env(safe-area-inset-bottom));gap:8px}.call-bottom>small{font-size:9px}.call-surface.minimized{left:12px;bottom:12px;width:min(350px,calc(100vw - 24px))}.dc-app[data-group-call=true] .ha-main{display:flex!important;width:100%;min-width:0}.dc-app[data-group-call=true] .ha-sidebar,.dc-app[data-group-call=true] .ha-rail{display:none!important}.call-tiles.focus-layout .call-tile{min-height:140px}.call-filmstrip{justify-content:flex-start}.call-filmstrip>button{padding:6px 9px}.call-filmstrip span:last-child{max-width:65px}.call-timer{font-size:11px}}@media(max-height:500px)and (orientation:landscape){.call-heading{min-height:44px;padding:6px 14px}.call-stage-body{padding:8px 20px}.call-tiles[data-count="1"]{grid-template-columns:minmax(0,390px)}.call-tile{max-height:55vh}.call-bottom{padding:7px;gap:0}.call-bottom>small{display:none}.call-controls button{height:35px}.call-filmstrip{padding-top:6px}.call-filmstrip>button{padding:4px 8px}.call-heading-label small{display:none}}.ha-app .call-controls button{background:#313338;color:#f2f3f5}.ha-app .call-controls button:hover{background:#41434a}.ha-app .call-controls button.off{background:#f2f3f5;color:#232428}.ha-app .call-controls button.enabled{background:#5865f2;color:#fff}.ha-app .call-controls button.hangup{background:#da373c;color:#fff}.ha-app .call-controls button.hangup:hover{background:#a6292e}.dc-app[data-in-call=true] .ha-sidebar{overflow:hidden}.dc-app[data-in-call=true] .ha-server-art,.dc-app[data-in-call=true] .ha-sidebar-hint,.dc-app[data-in-call=true] .ha-invite-button{display:none}.dc-app[data-in-call=true] .ha-channel-list{min-height:70px;flex:1 1 90px}.dc-app[data-in-call=true] .voice-room-list{max-height:26vh}.dc-app .call-dock-host{flex-shrink:0}.call-surface.viewport-full{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;height:100dvh!important;border-radius:0!important;z-index:9999!important}.dc-app .ha-sidebar{overflow:hidden}.ha-sidebar-scroll{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;display:flex;flex-direction:column}.ha-sidebar-scroll>*{flex-shrink:0}.ha-app.dc-app .ha-sidebar-scroll .ha-channel-list{flex:0 0 auto;min-height:0;overflow:visible}.ha-sidebar-scroll .voice-room-list{overflow:visible;max-height:none}.discord-call.minimized{display:none}@media(max-width:760px){.discord-call.minimized{display:flex}}.call-volume{position:absolute;top:10px;right:10px;z-index:6}.call-volume summary{cursor:pointer;background:#242630;border-radius:8px;padding:4px 12px;list-style:none}.call-volume>div{position:absolute;right:0;top:34px;width:220px;max-width:65vw;background:#23242c;padding:16px;border:1px solid #555;border-radius:12px;box-shadow:0 8px 30px #0008}.call-volume label{display:grid;gap:6px;margin-bottom:12px}.call-volume input{width:100%}.call-volume small{font-size:11px}.discord-call{position:relative}.call-volume-button{position:absolute;top:9px;right:9px;z-index:5;background:#111b;border-radius:6px;padding:5px 10px;letter-spacing:2px}.call-tile.screen .call-live{right:60px}.call-audio-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:90;display:grid;place-items:center}.call-audio-dismiss{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background:#0008}.call-audio-panel{position:relative;background:#23242c;border:1px solid #555;border-radius:14px;padding:22px;width:min(340px,calc(100% - 32px));box-shadow:0 12px 50px #000b}.call-audio-panel h3{margin:0 0 20px}.call-audio-panel label{display:grid;gap:8px;margin:16px 0}.call-audio-panel input{width:100%;accent-color:#8c91ff}.call-audio-panel output{font:12px monospace;color:#b1b6ff}.call-audio-panel small{display:block;font-size:11px;color:#b5bac1}.call-audio-panel>button{margin-top:16px;padding:8px 18px;background:#5865f2;border-radius:8px}.telegram-call{background:radial-gradient(ellipse at 50% 30%,#354e62,#1d3040 45%,#152433);border-color:#506879;border-radius:18px;top:5vh;right:16vw;bottom:5vh;left:16vw;box-shadow:0 25px 110px #000b}.telegram-call .call-heading{border-bottom:0;min-height:80px;padding:18px 24px}.telegram-call .call-heading-label>svg{color:#90bddd}.telegram-call .call-heading-label b{max-width:40vw;font-size:17px}.telegram-call .call-member-count{display:none}.telegram-call .call-heading-label small{color:#8faabf;font-size:11px}.telegram-call .call-stage-body{padding:16px 24px}.telegram-call .call-tiles:not(.has-screen):not(.focus-layout){display:flex;position:relative;max-width:none;flex:1;min-height:220px;align-items:center;justify-content:center}.telegram-call .call-tiles:not(.has-screen):not(.focus-layout) .call-tile{aspect-ratio:auto;max-height:none;height:100%;min-height:200px;border:0;background:transparent;border-radius:12px}.telegram-call .call-tiles:not(.has-screen):not(.focus-layout) .call-tile[data-local=true]{position:absolute;bottom:0;right:0;width:140px;height:100px;min-height:0;background:#ffffff0a;border:1px solid #7b9ab344;z-index:3}.telegram-call .call-tiles[data-count="1"]:not(.has-screen):not(.focus-layout) .call-tile[data-local=true]{position:relative;width:100%;height:100%;min-height:220px;background:transparent;border:0}.telegram-call .call-tile:not([data-local=true])>.call-avatar,.telegram-call .call-tiles[data-count="1"] .call-avatar{width:120px;height:120px;font-size:46px;box-shadow:0 0 0 12px #ffffff04,0 12px 50px #0003}.telegram-call .call-tile[data-local=true] .call-avatar{width:46px;height:46px;font-size:22px}.telegram-call .call-tiles:not(.has-screen):not(.focus-layout) .call-tile:not([data-local=true]) footer{bottom:15%;justify-content:center;gap:16px;background:none;font-size:18px}.telegram-call .call-tile.speaking{box-shadow:inset 0 0 0 2px #55c99c66}.telegram-call .call-bottom{padding-bottom:26px;gap:18px}.telegram-call .call-controls button{width:54px;height:54px;border-radius:50%;background:#ffffff15;color:#ebf3f9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.telegram-call .call-controls .off{background:#e7edf2;color:#253a4a}.telegram-call .call-controls .hangup{background:#e35861;width:60px}.telegram-call .call-bottom>small{color:#8da6ba}.discord-call.floating-call{position:fixed;top:5vh;right:8vw;bottom:5vh;left:8vw;z-index:65;width:auto;height:auto;border:1px solid #455465;border-radius:14px}.tg-call-prompt{position:fixed!important;z-index:100!important;inset:15vh auto auto 50%!important;transform:translate(-50%);width:min(360px,calc(100vw - 32px))!important;display:flex!important;flex-direction:column;align-items:center;gap:20px;padding:32px!important;border:1px solid #567083!important;border-radius:20px!important;background:linear-gradient(150deg,#304b60,#172b3d)!important;color:#edf5fa!important;box-shadow:0 20px 90px #000a}.tg-call-prompt>.call-avatar{width:90px;height:90px}.tg-call-prompt>b{font-size:20px}.tg-call-prompt>p,.tg-call-prompt>span:not(.call-avatar){font-size:12px;color:#a1bfd3}.tg-call-prompt>div{display:flex;gap:14px}.tg-call-prompt .ha-icon{width:52px;height:52px;border-radius:50%;background:#de5662;color:#fff}.tg-call-prompt .ha-primary,.tg-call-prompt .ha-danger{padding:12px 22px;border-radius:30px}@media(max-width:650px){.telegram-call{top:0;right:0;bottom:0;left:0;border:0;border-radius:0}.telegram-call .call-heading{padding:16px;min-height:78px}.telegram-call .call-heading-label b{max-width:45vw}.telegram-call .call-stage-body{padding:12px}.telegram-call .call-bottom{padding-bottom:max(26px,env(safe-area-inset-bottom))}.telegram-call .call-controls{gap:10px}.telegram-call .call-controls button{width:48px;height:48px}.telegram-call .call-controls .hangup{width:54px}.telegram-call .call-tiles:not(.has-screen):not(.focus-layout) .call-tile[data-local=true]{width:100px;height:78px}.telegram-call .call-tiles:not(.has-screen):not(.focus-layout) .call-tile:not([data-local=true]) footer{bottom:18%}.discord-call.floating-call{top:0;right:0;bottom:0;left:0;border:0;border-radius:0}}.telegram-call.minimized{inset:auto auto 18px 90px}.telegram-call.minimized .call-controls button{width:40px;height:40px}.telegram-call.minimized .call-bottom{padding:10px 12px}.discord-call.floating-call.minimized{display:flex;inset:auto auto 18px 90px;width:360px;height:auto}.telegram-call.minimized{width:360px;height:auto}@media(max-width:760px){.telegram-call.minimized,.discord-call.floating-call.minimized{inset:auto 12px 12px auto;width:min(350px,calc(100vw - 24px))}}@media(max-height:500px)and (orientation:landscape){.telegram-call .call-heading{min-height:46px;padding:7px 14px}.telegram-call .call-stage-body{padding:6px 18px}.telegram-call .call-controls button{height:36px;width:36px}.telegram-call .call-controls .hangup{width:40px}.telegram-call .call-bottom{padding:8px}.telegram-call .call-bottom>small{display:none}.telegram-call .call-tile:not([data-local=true])>.call-avatar{height:70px;width:70px;font-size:28px}.telegram-call .call-tiles:not(.has-screen):not(.focus-layout){min-height:130px}.telegram-call .call-tiles:not(.has-screen):not(.focus-layout) .call-tile{min-height:130px}}.telegram-call .call-tiles:not(.has-screen):not(.focus-layout) .call-tile.speaking{box-shadow:none}.telegram-call .call-tile.speaking>.call-avatar{box-shadow:0 0 0 10px #55c99c12,0 0 0 20px #55c99c08}.telegram-call .call-tiles:not(.has-screen):not(.focus-layout) .call-tile:not([data-local=true]) footer{top:calc(50% + 70px);bottom:auto;padding:12px}.telegram-call .call-tiles:not([data-count="1"]):not(.has-screen):not(.focus-layout) .call-tile[data-local=true][data-has-video=false]{display:none}.tg-profile-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;z-index:110;display:flex;justify-content:flex-end}.tg-profile-drawer{width:420px;max-width:100%;height:100dvh;overflow:auto;background:#17232d;color:#eef2f6;box-shadow:-10px 0 60px #0006;font:14px Vazir,Tahoma,sans-serif}.tg-profile-drawer>header{display:flex;align-items:center;gap:16px;padding:16px;background:#22313f;position:sticky;top:0;z-index:2}.tg-profile-hero{text-align:center;padding:16px 16px 20px;background:#22313f}.tg-profile-avatar{width:96px;height:96px;border-radius:50%;display:grid;place-items:center;margin:0 auto;font-size:34px;color:#fff;overflow:hidden}.tg-profile-avatar img{width:100%;height:100%;object-fit:cover}.tg-profile-hero h2{font-size:19px;margin:13px 0 5px}.tg-profile-hero p{color:#8fa4b6;font-size:12px;margin:0}.tg-profile-actions{display:flex;gap:8px;margin-top:22px}.tg-profile-actions button{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#182833;color:#dce9f4;border:0;border-radius:10px;padding:13px 5px;cursor:pointer;font:11px Vazir,Tahoma,sans-serif}.tg-profile-actions svg{width:22px;height:22px}.tg-profile-about{padding:18px 24px;border-bottom:8px solid #22313f;word-break:break-word}.tg-profile-about p{white-space:pre-wrap;margin:0 0 10px}.tg-profile-about code{color:#7bb9e9;font-size:12px}.tg-profile-categories{padding:8px 0}.tg-profile-categories>button{display:flex;align-items:center;gap:20px;width:100%;padding:19px 24px;background:none;border:0;color:#e4edf5;text-align:right;cursor:pointer;font:14px Vazir,Tahoma,sans-serif}.tg-profile-categories>button:hover{background:#243746}.tg-profile-categories svg{color:#b7c5cf}.tg-profile-categories b{margin-inline-start:auto;color:#80b9df;font-size:12px}.tg-profile-categories h3{padding:12px 24px;display:flex;align-items:center;gap:12px;font-size:12px;color:#94adbd}.tg-shared-media{padding:12px 18px}.tg-shared-media article{padding:14px 0;border-bottom:1px solid #ffffff0d;display:grid;gap:8px;min-width:0}.tg-shared-media article>small{font-size:10px;color:#8da5b5}.tg-shared-links{display:grid;gap:10px;overflow-wrap:anywhere}.tg-shared-links a{color:#70b4e9}.tg-shared-media .ha-image-attachment{max-width:100%}.tg-pin-bar{display:flex;align-items:center;gap:10px;padding:10px 20px;border-top:1px solid #ffffff0b;border-bottom:1px solid #ffffff0b;background:#20303f;color:#8ac5f4;flex-shrink:0;min-width:0}.tg-pin-bar>button:first-of-type{border:0;border-inline-start:2px solid #65ace1;background:transparent;color:inherit;display:grid;text-align:start;gap:4px;flex:1;min-width:0;padding-inline-start:12px;cursor:pointer;font:12px Vazir,Tahoma,sans-serif}.tg-pin-bar span{color:#c7d4df;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ha-lazy-image{width:260px;max-width:100%;min-height:110px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;background:#253747;border:1px dashed #54758b;color:#b8d8ef;border-radius:12px;padding:16px;cursor:pointer}.ha-lazy-image b{font:13px Vazir,Tahoma,sans-serif}.ha-lazy-image small{font:11px Vazir,Tahoma,sans-serif;color:#90a6b7}.tg-voice-message{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:12px;background:#213b50;width:310px;max-width:100%;direction:ltr}.tg-voice-message>button{width:44px;height:44px;border-radius:50%;background:#4b9bcb;color:#fff;border:0;display:grid;place-items:center;flex-shrink:0;cursor:pointer}.tg-voice-message>div{flex:1;min-width:0;position:relative}.tg-voice-wave{display:flex;align-items:center;height:32px;gap:2px;overflow:hidden}.tg-voice-wave i{width:3px;min-width:2px;flex:1;background:#7398ae;border-radius:2px}.tg-voice-wave i.played{background:#a8dcfa}.tg-voice-message input{position:absolute;top:0;left:0;width:100%;height:32px;opacity:.01;cursor:pointer}.tg-voice-message small{color:#a7cce3;font:10px monospace}.tg-voice-message>a{color:#98bfd5}.tg-group-photo{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0}.tg-group-photo>img{width:68px;height:68px;object-fit:cover;border-radius:50%}.tg-group-photo>label{cursor:pointer}.tg-permission-row{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:48px;padding:10px 0;border-bottom:1px solid #ffffff0c}.tg-permission-row input{width:18px;height:18px;accent-color:#58a7d2;flex-shrink:0}.tg-managed-member{display:flex;align-items:center;gap:12px;padding:14px 0;flex-wrap:wrap;border-bottom:1px solid #ffffff0b}.tg-managed-member>span:not(.tg-mini-avatar){display:grid;flex:1;gap:5px}.tg-managed-member small{color:#8fa8bb;font-size:11px}.tg-managed-member>img,.tg-mini-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover}.tg-mini-avatar{display:grid;place-items:center;background:#426b8e}.tg-managed-member>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.tg-rights-editor{padding:18px;background:#22313f;border:1px solid #4e6b80;border-radius:12px;margin-top:20px}.tg-group-manager form>.full{margin-top:12px}.ha-message{touch-action:pan-y}.ha-message-body{transform:translate(var(--swipe,0));transition:transform .08s}.ha-message-trigger{float:left;border:0;background:transparent!important;color:#9cabb8;opacity:0;cursor:pointer;padding:1px 8px;letter-spacing:2px;font-size:18px;line-height:24px}.ha-message:hover .ha-message-trigger,.ha-message:focus-within .ha-message-trigger,.ha-message-trigger[aria-expanded=true]{opacity:1}.ha-message-popup{position:fixed;z-index:180;background:#18242f;border:1px solid #3c4d5b;border-radius:10px;padding:5px;box-shadow:0 12px 50px #0008;display:grid;min-width:180px;color:#edf3f7;max-height:80dvh;overflow:auto;font:13px Vazir,Tahoma,sans-serif}.ha-message-popup>button{display:flex;align-items:center;gap:10px;text-align:right;border:0;background:transparent;color:inherit;padding:10px;border-radius:6px;cursor:pointer;font:inherit}.ha-message-popup>button:hover,.ha-message-popup>button:focus-visible{background:#2c4559}.ha-message-popup .ha-reaction-picker{position:static;display:grid;grid-template-columns:repeat(4,1fr);background:none;box-shadow:none;padding:6px;border:0;width:180px}.ha-message-popup .ha-reaction-picker button{background:none;border:0;padding:6px;cursor:pointer}.tg-profile-drawer .ha-help{padding:16px;color:#8fa8bb}.tg-profile-drawer .ha-icon{color:#b8cad8}.tg-profile-drawer .ha-secondary{color:#e0edf7}.tg-profile-drawer button{font-family:inherit}@media(max-width:600px){.tg-profile-drawer{width:100%}.tg-profile-actions{gap:6px}.tg-profile-actions button{font-size:10px}.tg-pin-bar{padding:8px 12px}.tg-managed-member>div{width:100%;padding-inline-start:54px}.tg-rights-editor{padding:12px}.ha-message-popup{max-width:calc(100vw - 20px)}}.tg-profile-roster{border-top:8px solid #22313f;padding:18px 22px}.tg-profile-roster h3{font-size:13px;color:#acbdcb;margin:0 0 16px}.tg-profile-roster form{display:flex;gap:8px;margin-bottom:14px}.tg-profile-roster form input{min-width:0;flex:1;background:#223645;color:#deebf5;border:1px solid #3c5569;padding:8px;border-radius:8px}.tg-profile-roster form button{background:#2d4c65;color:#baddf7;border:0;border-radius:8px;padding:8px;cursor:pointer}.tg-profile-member{display:flex;align-items:center;gap:14px;width:100%;text-align:right;background:none;border:0;color:#edf5fa;padding:12px 0;cursor:pointer}.tg-profile-member>img,.tg-profile-member>i{width:44px;height:44px;border-radius:50%;object-fit:cover;flex-shrink:0}.tg-profile-member>i{display:grid;place-items:center;background:#427b9f;font-style:normal}.tg-profile-member>span{display:grid;gap:6px;flex:1}.tg-profile-member small{font-size:11px;color:#8fa9bb}.tg-profile-member em{font-size:10px;color:#a7a2ff;background:#353546;border-radius:8px;padding:3px 7px;font-style:normal}.ha-direct-row[data-muted=true] em{background:#607483}.tg-profile-overlay{direction:ltr}.tg-permission-row input{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:36px;height:20px;border-radius:12px;background:#43586a;border:0;position:relative;cursor:pointer;transition:background .15s}.tg-permission-row input:before{content:"";position:absolute;top:3px;right:3px;width:14px;height:14px;border-radius:50%;background:#d8e9f6;transition:transform .15s}.tg-permission-row input:checked{background:#4b9cc8}.tg-permission-row input:checked:before{transform:translate(-16px)}.tg-permission-row input:disabled{opacity:.45;cursor:default}.tg-permission-row input:focus-visible{outline:2px solid #aad8f2;outline-offset:3px}.dev-panel{display:flex;flex-direction:column;gap:13px}.dev-panel h3{margin:12px 0 0}.dev-doc-link{display:flex;align-items:center;gap:9px;padding:15px;background:#5865f226;border:1px solid #6977c855;border-radius:9px;color:#b4c6ff;text-decoration:none}.dev-official{display:grid;grid-template-columns:1fr 1fr;gap:10px}.dev-official>button{display:flex;align-items:center;gap:10px;padding:14px;background:#283245!important;border-radius:9px;text-align:start}.dev-official b{display:flex;align-items:center;gap:5px;font-size:12px}.dev-official b svg{color:#7fa8ff}.dev-official small{display:block;font-size:10px;color:#9daac0;margin-top:5px}.dev-create{display:flex;gap:8px}.dev-create>input{min-width:0;flex:1;border:1px solid #506078;background:#192333;border-radius:7px;padding:11px;color:inherit}.dev-create .ha-primary{padding:10px 14px;display:flex;align-items:center;gap:6px;white-space:nowrap}.dev-secret{padding:15px;border:1px solid #ac92445e;background:#6e5a1420;border-radius:10px}.dev-secret>b{display:flex;align-items:center;gap:7px;color:#e8cc83}.dev-secret>p{font-size:12px;line-height:1.9}.dev-secret>textarea{display:block;resize:none;width:100%;font:12px Consolas,monospace;color:inherit;background:#10151e;padding:10px;border:1px solid #4d5665;border-radius:7px;overflow-wrap:anywhere;margin:10px 0}.dev-secret>div{display:flex;gap:8px}.dev-secret button{display:flex;align-items:center;gap:6px}.dev-bot-list{display:flex;flex-direction:column;gap:8px}.dev-bot-list article{border:1px solid #6d7d982f;border-radius:9px;padding:13px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}.dev-bot-list article>div{flex:1;min-width:180px}.dev-bot-list b{display:flex;align-items:center;gap:7px}.dev-bot-list small{display:block;font-size:10px;color:#9daac0;margin-top:6px;overflow-wrap:anywhere}.dev-scopes{display:flex;gap:12px;flex-wrap:wrap;font-size:12px}.dev-scopes label{display:flex;align-items:center;gap:6px}.dev-installed{display:flex;align-items:center;gap:10px;border-bottom:1px solid #8493a82b;padding:12px 0}.dev-installed>span{flex:1;min-width:0}.dev-installed small{display:block;color:#a0acc0;font-size:10px;margin-top:5px;overflow-wrap:anywhere}.dev-code{font:12px/1.9 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;padding:14px;background:#111722;border-radius:8px}.dev-docs{min-height:100dvh;background:#10151f;color:#e2e9f4;font:14px/2.1 Vazir,Tahoma,sans-serif}.dev-docs>header{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #34445b;padding:20px max(24px,calc((100vw - 1240px)/2));background:#151e2d}.dev-docs a{color:#a5bfff;text-decoration:none}.dev-doc-brand{display:flex;align-items:center;gap:12px;white-space:nowrap;font-weight:700}.dev-doc-brand img{width:38px;height:38px;border-radius:12px}.dev-doc-layout{max-width:1240px;margin:auto;display:grid;grid-template-columns:230px minmax(0,1fr);gap:55px;padding:40px 24px}.dev-doc-layout aside{position:sticky;top:30px;align-self:start;display:flex;flex-direction:column;gap:8px;font-size:12px}.dev-doc-layout aside b{color:#fff;font-size:16px;margin-bottom:12px}.dev-doc-layout aside a{color:#9eafca;padding:4px 9px;border-radius:5px}.dev-doc-layout aside a:hover{background:#283950;color:#dce8ff}.dev-doc-layout main{min-width:0}.dev-eyebrow{display:flex;align-items:center;gap:7px;color:#8f9ff2;font-size:12px}.dev-docs h1{font-size:40px;line-height:1.7;color:#fff;margin:10px 0}.dev-docs h2{font-size:23px;color:#fff;margin-top:36px}.dev-docs p{color:#b3bfd3;white-space:pre-line}.dev-docs section{scroll-margin-top:25px;border-bottom:1px solid #283549;padding-bottom:25px}.dev-docs pre{background:#080e18;border:1px solid #2c3e58;border-radius:11px;padding:20px;overflow:auto;font:12px/2 Consolas,monospace}.dev-downloads{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:25px 0}.dev-downloads a{display:flex;align-items:center;gap:8px;font-size:12px;border:1px solid #384f70;border-radius:8px;padding:12px;background:#172337}.dev-endpoints article{padding:13px;border-bottom:1px solid #30415b}.dev-endpoints code{display:block;font:12px Consolas,monospace;overflow-wrap:anywhere}.dev-endpoints code b{color:#74cda7}.dev-endpoints p{font-size:12px;margin:6px 0}.dev-reference{font-size:11px;margin:35px 0}.ha-bot-badge{display:inline-flex;align-items:center;gap:3px;color:#c4d5ff;background:#5865f24d;padding:1px 5px;border-radius:4px;font:9px system-ui;margin:0 4px;vertical-align:middle}@media(max-width:700px){.dev-doc-layout{display:block;padding:25px 18px}.dev-doc-layout aside{display:none}.dev-docs h1{font-size:30px}.dev-docs>header{padding:14px 18px;font-size:11px}.dev-downloads,.dev-official{grid-template-columns:1fr}.dev-create{flex-wrap:wrap}.dev-create>input{flex-basis:100%}}.ha-app .dev-panel .ha-primary{background:#5865f2;color:#fff}.ha-app .dev-panel .ha-primary:hover{background:#4752c4}.ha-feature-nav{flex-wrap:wrap}.dev-bot-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;flex-shrink:0}.dev-bot-profile-editor form{padding:16px;background:#202c3b;border-radius:10px;margin-top:12px;min-width:230px}.dev-bot-list article{flex-wrap:wrap}.dev-bot-profile-editor{position:relative}@font-face{font-family:system-persian;src:local("Tahoma")}*{box-sizing:border-box}html,body,#root{margin:0;width:100%;height:100%;font-family:Tahoma,system-ui,sans-serif;background:#313338;color:#f2f3f5;font-size:14px}button,input,select{font:inherit}button{cursor:pointer;color:inherit;border:0}button:disabled{opacity:.45;cursor:not-allowed}button,input,select{outline:none}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #9aa4ff;outline-offset:3px}button{transition:background .16s,color .16s,transform .16s}button:hover{filter:brightness(1.08)}input{color:#f2f3f5}h1,h2,h3,p{margin:0}button svg{flex-shrink:0}svg{vertical-align:middle;flex-shrink:0}.primary{background:#5865f2;padding:15px 24px;border-radius:5px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:10px}.primary:hover{background:#4752c4}.brand-mark{display:inline-flex;width:48px;height:48px;align-items:center;justify-content:center;background:#5865f2;border-radius:16px;color:#fff}.icon-button{width:34px;height:34px;border-radius:5px;background:transparent;display:inline-flex;align-items:center;justify-content:center;color:#b5bac1;flex-shrink:0}.icon-button:hover,.icon-button.active{background:#41434a;color:#fff}.icon-button.danger{color:#fa777c}.icon-button.danger:hover{background:#da373c;color:#fff}.avatar{display:inline-flex;align-items:center;justify-content:center;width:39px;height:39px;flex-shrink:0;border-radius:50%;color:#fff;font-family:system-ui,Tahoma;font-size:19px;font-weight:600}.avatar.large{width:100px;height:100px;font-size:45px;box-shadow:0 8px 24px #0003}.eyebrow{font-size:13px;color:#a9b1ff;display:flex;align-items:center;gap:8px}.eyebrow>span{width:7px;height:7px;border-radius:50%;background:#a9b1ff}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.boot{height:100%;display:flex;align-items:center;justify-content:center;gap:25px}.login-page{min-height:100%;background:#17181e;position:relative;overflow:hidden;padding:40px 7vw;display:flex;flex-direction:column}.login-glow{position:absolute;top:-30%;right:-30%;bottom:0;left:-30%;background:radial-gradient(ellipse at 40% 10%,#5865f225,transparent 55%);pointer-events:none}.login-brand{display:flex;align-items:center;gap:13px;position:relative}.login-brand>b{font-size:24px}.login-brand>span:last-child{border-right:1px solid #41434a;padding-right:20px;color:#92969f;margin-right:10px}.login-layout{flex:1;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:9vw;max-width:1250px;width:100%;margin:auto;position:relative;padding:70px 0}.login-pitch h1{font-size:clamp(32px,3.8vw,56px);line-height:1.8;letter-spacing:-1.7px;margin:22px 0}.login-pitch em{font-style:normal;color:#a1aaff}.login-pitch>p{color:#a8adb9;font-size:16px;line-height:2.2}.preview-tiles{display:flex;gap:12px;margin-top:42px}.preview-tiles>div{display:flex;flex-direction:column;align-items:center;gap:17px;padding:23px 15px;border:1px solid #373944;background:#25273088;border-radius:12px;color:#acb4ff;flex:1}.preview-tiles span{color:#cccdd6;font-size:12px;white-space:nowrap}.login-card{background:#2b2d35;border:1px solid #3b3d48;box-shadow:0 24px 80px #0004;border-radius:14px;padding:36px;max-width:455px;text-align:center}.login-card>.brand-mark{margin-bottom:22px}.login-card h2{font-size:25px}.login-card>p{color:#aeb2bd;margin:14px 0 30px}.login-card label{display:block;text-align:right;margin:0 0 12px;font-size:13px;font-weight:700}.login-card label span{color:#fa777c}.login-card input{width:100%;background:#1e1f25;border:1px solid #41434e;border-radius:5px;padding:16px}.login-card>small{display:block;text-align:right;font-size:11px;color:#9da2af;line-height:2;margin-top:9px}.login-card .primary{width:100%;margin-top:25px}.login-note{border-top:1px solid #41434a;margin-top:27px;padding-top:20px;display:flex;justify-content:center;gap:8px;color:#a7acb9;font-size:11px}.login-page footer{color:#737988;text-align:center;font-size:12px;position:relative}.error{background:#f23f4218!important;color:#ff9ba0!important;padding:12px;line-height:1.9;font-size:13px;border-radius:5px}.shell{display:flex;height:100dvh;overflow:hidden}.server-rail{width:72px;background:#1e1f22;flex-shrink:0;display:flex;align-items:center;flex-direction:column;padding:12px 0;gap:12px;position:relative}.server-rail button{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center}.server-logo{background:none;position:relative}.server-logo .brand-mark{border-radius:16px}.server-logo.selected:before{content:"";position:absolute;left:-12px;top:7px;bottom:7px;width:4px;border-radius:0 4px 4px 0;background:#fff}.rail-divider{height:2px;width:32px;background:#35363c;margin:0 0 1px}.server-icon{background:#313338;font-size:24px;color:#dbdee1}.server-icon:hover{background:#5865f2;border-radius:16px}.server-add{background:#313338;color:#23a559}.server-add:hover{background:#23a559;color:#fff}.rail-bottom{margin-top:auto;color:#66706e;padding:14px 0}.channel-sidebar{width:252px;flex-shrink:0;background:#2b2d31;display:flex;flex-direction:column}.server-title{height:57px;background:transparent;box-shadow:0 1px 3px #0005;display:flex;align-items:center;justify-content:space-between;padding:0 17px;font-size:15px;flex-shrink:0}.server-title>span{display:flex;gap:10px;align-items:center}.server-badge{display:flex;align-items:center;justify-content:center;background:#4b526f;color:#c5ccff;width:18px;height:18px;font:700 11px system-ui;border-radius:5px}.server-banner{margin:16px 12px 10px;min-height:115px;background:linear-gradient(125deg,#4c55ad,#303656);border-radius:7px;position:relative;overflow:hidden;padding:15px}.server-banner>svg{color:#b9c0ff;display:block;margin-bottom:12px}.server-banner b{font-size:13px;position:relative;display:block}.server-banner small{color:#bcc2e4;font-size:11px;display:block;margin-top:8px}.banner-orbit{position:absolute;width:140px;height:140px;left:-37px;top:-40px;border:1px solid #7e89d250;border-radius:50%;box-shadow:0 0 0 20px #7e89d212,0 0 0 45px #7e89d210}.channel-list{padding:10px 8px;overflow:auto;flex:1}.category{display:flex;gap:5px;align-items:center;color:#949ba4;font-size:12px;font-weight:700;padding:9px 7px}.category>span{font:600 9px system-ui;color:#72b89a;background:#2f463f;border-radius:3px;padding:2px 4px;margin-right:auto;letter-spacing:1px}.voice-category{margin-top:23px}.channel{display:flex;width:100%;align-items:center;gap:10px;color:#949ba4;background:none;padding:9px 10px;margin:2px 0;border-radius:5px;text-align:right}.channel>svg{color:#80848e}.channel.selected{background:#404249;color:#f2f3f5}.channel:hover{background:#35373c;color:#dbdee1}.channel.selected>svg{color:#c0c4cb}.channel-dot{width:6px;height:6px;border-radius:50%;background:#b7bfff;margin-right:auto}.channel small{margin-right:auto;color:#aab1c5}.voice-user{display:flex;align-items:center;gap:8px;margin:8px 40px 8px 0;color:#c5c8cf;font-size:12px}.voice-user .avatar{width:24px;height:24px;font-size:12px}.sidebar-footer{padding:18px 17px;color:#777d89;font-size:11px;display:flex;justify-content:space-between}.sidebar-footer span{color:#8b95d4}.user-dock{display:flex;gap:5px;align-items:center;padding:10px 7px;background:#232428;min-height:65px}.user-dock .avatar{height:33px;width:33px;font-size:16px}.user-dock .icon-button{width:28px}.user-details{min-width:0;flex:1}.user-details b{font-size:12px;display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:85px}.user-details small{font-size:10px;color:#b5bac1;display:block;margin-top:5px}.connection{padding:9px 12px;background:#232428;border-bottom:1px solid #3b3d43}.connection>div{display:flex;align-items:center;gap:8px;color:#43bf8a}.connection b{font-size:12px;flex:1}.connection>button{background:none;font-size:11px;color:#a8aeb9;padding:2px 0}.main-panel{display:flex;flex-direction:column;flex:1;min-width:0;background:#313338}.topbar{height:57px;box-shadow:0 1px 3px #0004;display:flex;align-items:center;padding:0 23px;gap:12px;flex-shrink:0;z-index:1}.topbar>svg{color:#949ba4}.topbar>b{white-space:nowrap;font-size:15px}.top-separator{height:23px;width:1px;background:#47494f;margin:0 3px}.topic{font-size:12px;color:#a6acb6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-tools{margin-right:auto;display:flex;gap:15px;align-items:center}.search{background:#1e1f22;display:flex;padding:6px 8px;gap:5px;align-items:center;color:#949ba4;border-radius:4px}.search input{background:transparent;border:0;width:135px;font-size:11px;min-width:0}.mobile-menu{display:none}.messages{flex:1;overflow-y:auto;padding:0 0 15px;scrollbar-width:thin;scrollbar-color:#1e1f22 transparent}.channel-welcome{padding:48px 28px 0}.welcome-icon{width:76px;height:76px;background:#41434a;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:24px}.channel-welcome .eyebrow{font-size:11px;color:#9da6d4;margin-bottom:12px}.channel-welcome h1{font-size:clamp(24px,2.3vw,34px);letter-spacing:-.7px}.channel-welcome p{color:#aeb3bd;font-size:14px;margin-top:15px;line-height:2}.welcome-rule{display:flex;align-items:center;gap:9px;font-size:11px;color:#8f95a1;margin:34px 0 25px}.welcome-rule span{height:1px;background:#42444a;flex:1}.message{display:flex;gap:15px;padding:10px 28px}.message:hover{background:#2e3035}.message>div{flex:1;min-width:0}.message header{display:flex;gap:9px;align-items:center;margin:0 0 6px}.message header b{font-family:Tahoma,system-ui;font-size:14px;color:#e5e7f0;overflow-wrap:anywhere}.message time{font-size:10px;color:#9299a4}.you-tag{font-size:9px;background:#5865f233;color:#afb7ff;padding:2px 5px;border-radius:3px}.message p{font-size:15px;line-height:1.9;color:#d3d6dc;overflow-wrap:anywhere;white-space:pre-wrap;unicode-bidi:plaintext}.empty-chat{padding:24px 20px 60px;text-align:center;color:#7f8591;font-size:13px}.composer{padding:0 22px 18px}.composer>div{background:#383a40;border-radius:8px;display:flex;align-items:center;gap:15px;padding:10px 14px;min-height:53px}.composer>div>svg{color:#9ca4b0}.composer input{background:transparent;border:0;flex:1;min-width:0;font-size:14px}.composer input::placeholder{color:#858b97}.composer button{width:35px;height:35px;display:flex;justify-content:center;align-items:center;border-radius:5px;background:#5865f2}.composer>small{display:flex;justify-content:space-between;color:#858b98;font-size:10px;padding:10px 3px 0;gap:15px}.members{width:225px;flex-shrink:0;background:#2b2d31;padding:25px 15px;overflow:auto}.members h3{font-size:12px;color:#a2a8b3;margin:0 3px 18px}.members h3 span{color:#808792}.member{display:flex;align-items:center;gap:10px;padding:9px 2px}.member-avatar{position:relative}.member-avatar .avatar{width:35px;height:35px;font-size:17px}.member-avatar i{position:absolute;width:12px;height:12px;background:#23a559;border:3px solid #2b2d31;border-radius:50%;bottom:0;right:-1px}.member>div{flex:1;min-width:0}.member b{display:block;font-size:13px;color:#c4c9d2;text-overflow:ellipsis;overflow:hidden}.member small{color:#828995;display:block;font-size:10px;margin-top:5px}.member-you{font-size:9px;color:#8a91a3;border:1px solid #464b58;border-radius:3px;padding:2px 4px}.members-note{border-top:1px solid #3b3d44;margin:35px 3px 0;padding:24px 0;color:#70798e}.members-note b{display:block;font-size:13px;color:#9ca5b8;margin:15px 0 10px}.members-note p{font-size:11px;line-height:2;color:#7f8796}.voice-stage{flex:1;overflow:auto;padding:32px;display:flex;flex-direction:column;align-items:center;background:radial-gradient(ellipse at 50% 45%,#383b4e,#292b31 75%)}.stage-heading{text-align:center}.stage-heading .eyebrow{justify-content:center;font-size:11px}.stage-heading h1{font-size:30px;margin:15px 0}.stage-heading p{color:#979eae;font-size:13px;line-height:1.8}.join-stage{margin:auto;text-align:center;padding:45px 0}.voice-illustration{position:relative;width:170px;height:170px;display:flex;align-items:center;justify-content:center;color:#c2c8ff;background:#5865f218;border-radius:50%;margin:0 auto 32px;border:1px solid #7a83dc35;box-shadow:0 0 0 20px #5865f207,0 0 0 40px #5865f204}.voice-illustration>div{position:absolute;top:20px;right:20px;bottom:20px;left:20px;border-radius:50%;background:#5865f222}.voice-illustration svg{position:relative}.join-stage h2{font-size:24px;margin-bottom:15px}.join-stage>p{color:#979eae;line-height:2.1;font-size:14px}.join-button{margin:25px auto 0;background:#248750;min-width:230px}.join-button:hover{background:#1c7142}.setup-note{display:block;max-width:350px;color:#d3b786;font-size:11px;line-height:2;margin:20px auto 0}.participant-grid{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:auto;padding:35px 0;align-content:center}.participant{min-height:220px;aspect-ratio:16/10;background:#202229;border-radius:10px;border:2px solid transparent;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.participant.speaking{border-color:#43b581;box-shadow:0 0 0 1px #43b58133}.participant-name{position:absolute;bottom:12px;right:12px;background:#14151bba;border-radius:5px;padding:6px 9px;font-size:12px;display:flex;align-items:center;gap:8px;z-index:1}.media-track{width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0}.media-track video{width:100%;height:100%;object-fit:cover}.media-track.local video{transform:scaleX(-1)}.screen-tile{grid-column:1/-1;aspect-ratio:16/9}.screen-tile video{object-fit:contain;transform:none!important}.call-controls{display:flex;gap:13px;justify-content:center;padding:16px;background:#1c1e24aa;border-radius:16px}.call-controls .icon-button{width:49px;height:49px;background:#383b44;border-radius:50%;color:#fff}.call-controls .icon-button.active{background:#5865f2}.call-controls .icon-button.danger{background:#da373c}.call-security{color:#87958e;font-size:11px;display:flex;align-items:center;justify-content:center;gap:7px;margin-top:20px}.audio-unlock{font-size:11px;background:none;color:#a2aaff;margin-top:15px}.call-banner{padding:12px 22px;background:#244438;color:#7bd4a7;text-align:right;display:flex;gap:10px;align-items:center;font-size:12px}.call-banner span{margin-right:auto;color:#d3efde;font-size:11px}.remote-audio{display:none}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%);max-width:min(90vw,650px);z-index:20;display:flex;align-items:center;gap:16px;background:#442b31;border:1px solid #a55462;border-radius:8px;padding:12px 17px;box-shadow:0 6px 30px #0005;font-size:13px;line-height:1.9}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#000a;z-index:10;display:flex;align-items:center;justify-content:center;padding:20px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.settings-modal{background:#313338;border:1px solid #474a54;padding:26px;border-radius:12px;width:470px;max-width:100%}.settings-modal header{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.settings-modal h2{font-size:20px}.settings-modal label{display:block;margin:18px 0;font-size:13px}.settings-modal select{display:block;width:100%;background:#1e1f22;color:#ddd;border:1px solid #4c505c;border-radius:5px;padding:12px;margin-top:10px}.settings-modal>p{font-size:12px;color:#a0a7b5;line-height:2}.security-note{display:flex;gap:12px;background:#272a31;padding:15px;border-radius:6px;margin:22px 0;color:#aab3c4;font-size:12px;line-height:2}.logout{background:#da373c1f;color:#ff9a9a;padding:12px 18px;border-radius:5px;display:flex;gap:9px;align-items:center}.connection-warning{padding:9px 20px;background:#6e5328;color:#f9dfa9;font-size:12px;text-align:center}.load-older{display:block;margin:0 auto 20px;background:#40434e;padding:8px 15px;border-radius:4px;font-size:12px}.muted{color:#9ca3af;font-size:12px;padding:20px}.center{text-align:center}@media(min-width:1600px){.channel-welcome{padding-top:80px}.messages{padding-bottom:35px}.channel-sidebar{width:270px}.members{width:250px}}@media(max-width:1150px){.members{width:190px}.channel-sidebar{width:235px}.topic,.top-separator{display:none}.search input{width:120px}.topbar{padding:0 15px;gap:9px}.user-dock .icon-button{width:25px}.user-details b{max-width:75px}}@media(max-width:900px){.members{display:none}.login-layout{gap:40px}.login-pitch h1{font-size:32px}.preview-tiles{flex-wrap:wrap}.preview-tiles>div{padding:16px 10px}.preview-tiles span{font-size:10px}.login-page{padding:25px 5vw}.login-card{padding:25px}}@media(max-width:650px){.server-rail{width:62px}.server-logo.selected:before{left:-7px}.channel-sidebar{position:fixed;left:62px;top:57px;bottom:0;z-index:6;width:245px;box-shadow:10px 0 30px #0006;transform:translate(-330px);transition:transform .2s}.channel-sidebar.mobile-open{transform:translate(0)}.server-title{display:none}.main-panel{width:calc(100% - 62px)}.mobile-menu{display:block}.topbar{padding:0 10px;gap:6px}.topbar>b{font-size:13px}.topbar>svg{width:20px}.top-tools{gap:4px}.search{background:transparent;padding:0}.search input{width:0;transition:width .2s}.search:focus-within input{width:80px}.topbar .icon-button{width:29px}.messages .channel-welcome{padding:35px 16px 0}.channel-welcome h1{font-size:23px;line-height:1.8}.channel-welcome p{font-size:12px}.message{padding:10px 15px;gap:10px}.message .avatar{width:32px;height:32px;font-size:16px}.message time{font-size:9px}.message p{font-size:14px}.message header{flex-wrap:wrap}.composer{padding:0 12px 12px}.composer>div{gap:8px;padding:8px}.composer input{font-size:12px}.composer>small span:last-child{display:none}.voice-stage{padding:25px 14px}.stage-heading h1{font-size:26px}.join-stage h2{font-size:20px}.join-stage>p{font-size:12px}.join-button{min-width:0}.voice-illustration{width:140px;height:140px}.participant-grid{grid-template-columns:1fr}.participant{min-height:170px}.call-controls{gap:7px;padding:10px}.call-controls .icon-button{width:39px;height:39px}.call-security{font-size:9px}.call-banner{font-size:10px;padding:12px}.call-banner span{display:none}.login-page{padding:24px}.login-brand>span:last-child{display:none}.login-layout{display:flex;flex-direction:column;gap:25px;padding:40px 0}.login-pitch{text-align:center}.login-pitch .eyebrow{justify-content:center}.login-pitch h1{font-size:30px;margin:15px 0}.login-pitch>p{font-size:13px}.preview-tiles{display:none}.login-card{width:100%;max-width:430px}.login-card>.brand-mark{display:none}.login-card h2{font-size:22px}.login-page footer{margin:15px}.toast{bottom:15px;width:90%;font-size:12px}}@font-face{font-family:Vazir;src:url(/fonts/Vazir-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Vazir;src:url(/fonts/Vazir-Bold.woff2) format("woff2");font-weight:600 900;font-style:normal;font-display:swap}html,body,#root,button,input,select,.avatar,.message header b{font-family:Vazir,Tahoma,sans-serif}.chat-only .voice-category,.chat-only .members-note,.chat-only .user-dock>.icon-button:not(:last-child),.chat-only .settings-modal>label,.chat-only .settings-modal>p{display:none}.http-notice{padding:7px 18px;background:#49402c;color:#e5cea1;font-size:11px;line-height:1.9;text-align:center;flex-shrink:0}.login-card .http-notice{border-radius:5px;margin-top:15px;text-align:right}:root{--ha-bg:#313338;--ha-panel:#2b2d31;--ha-deep:#1e1f22;--ha-line:#41434b;--ha-text:#f2f3f5;--ha-muted:#9ca3b0;--ha-accent:#5865f2}.ha-app{height:100dvh;display:flex;overflow:hidden;background:var(--ha-bg);color:var(--ha-text);font:14px Vazir,Tahoma,sans-serif}.ha-app button,.ha-app input,.ha-app textarea,.ha-app select,.ha-modal input,.ha-modal textarea,.ha-modal select{font-family:inherit}.ha-app button:focus-visible,.ha-modal button:focus-visible{outline:2px solid #a3adff;outline-offset:2px}.ha-app button{background:transparent}.ha-app input,.ha-app textarea,.ha-modal input,.ha-modal textarea{color:inherit;outline:none}.ha-app button:disabled{opacity:.45;cursor:not-allowed}.ha-icon{height:34px;width:34px;display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;background:transparent;color:var(--ha-muted);border-radius:6px}.ha-icon:hover,.ha-icon.active{color:#fff;background:#ffffff12}.ha-avatar{width:40px;height:40px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;color:#fff;font-size:19px;font-weight:700;font-family:Vazir,sans-serif;line-height:1}.ha-avatar img{width:100%;height:100%;object-fit:cover}.ha-avatar-large{width:88px;height:88px;font-size:38px;border:5px solid var(--ha-panel)}.ha-avatar-wrap{position:relative;display:inline-flex}.ha-avatar-wrap>i{position:absolute;right:-2px;bottom:-1px;width:13px;height:13px;background:#23a559;border:3px solid var(--ha-panel);border-radius:50%}.ha-avatar-wrap>i.idle{background:#f0b232}.ha-avatar-wrap>i.busy{background:#f23f43}.ha-avatar-wrap>i.invisible{background:#89909c}.clickable{cursor:pointer}.ha-rail{width:72px;display:flex;align-items:center;gap:12px;flex-direction:column;padding:12px 0 17px;background:var(--ha-deep);overflow-y:auto;scrollbar-width:none;flex-shrink:0}.ha-home{width:48px;height:48px;padding:0}.ha-home .brand-mark{border-radius:16px}.ha-rail-rule{height:2px;min-height:2px;width:30px;background:#36383f}.ha-rail-button{width:48px;height:48px;min-height:48px;background:#34363d!important;border-radius:50%;font-size:21px;display:flex;justify-content:center;align-items:center;position:relative;color:#d6d9e1}.ha-rail-button:hover,.ha-rail-button.selected{border-radius:15px;background:var(--ha-accent)!important;color:#fff}.ha-rail-button.selected:before{content:"";position:absolute;width:4px;height:32px;left:-12px;border-radius:0 5px 5px 0;background:#fff}.ha-rail-button>i{font:700 10px system-ui;position:absolute;bottom:-4px;right:-3px;background:#f23f43;border:3px solid var(--ha-deep);min-width:21px;height:21px;border-radius:12px;color:#fff;display:flex;align-items:center;justify-content:center}.ha-create{color:#35c17c}.ha-create:hover{background:#22834e!important}.ha-rail-spacer{flex:1;min-height:16px}.ha-telegram-entry{background:#2a83b7!important;color:#fff}.ha-rail>small{color:#80899b;font-size:10px;margin-top:-5px}.ha-sidebar{background:var(--ha-panel);width:250px;display:flex;flex-direction:column;flex-shrink:0;min-height:0}.ha-server-title{height:59px;min-height:59px;padding:0 17px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 1px 3px #0005;text-align:right;gap:12px}.ha-server-title b{font-size:15px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ha-server-art{position:relative;background:linear-gradient(125deg,#4b57b0,#303758);border-radius:8px;margin:16px 12px 12px;padding:17px;overflow:hidden;min-height:128px}.ha-server-art>span{position:absolute;left:-35px;top:-35px;width:150px;height:150px;border:1px solid #ffffff14;border-radius:50%;box-shadow:0 0 0 25px #ffffff08,0 0 0 50px #ffffff05}.ha-server-art>svg{color:#c4cdff;margin-bottom:16px}.ha-server-art>b{display:block;position:relative;font-size:13px;line-height:1.8;overflow:hidden;max-height:47px}.ha-server-art>small{display:block;font-size:11px;color:#bbc2e5;margin-top:6px}.ha-invite-button{margin:0 12px 12px;padding:9px;display:flex;gap:9px;align-items:center;justify-content:center;background:#393d51!important;border-radius:5px;color:#bac3f4;font-size:12px}.ha-category{padding:4px 12px 4px 9px;display:flex;align-items:center;justify-content:space-between;color:#929baa;font-size:11px}.ha-category>span{display:flex;gap:5px;align-items:center}.ha-category .ha-icon{width:25px;height:25px}.ha-category .ha-icon svg{width:17px}.ha-channel-list{overflow-y:auto;scrollbar-width:thin;padding:0 8px;flex:1}.ha-channel-list>button{display:flex;align-items:center;width:100%;padding:10px;gap:10px;color:#9ea6b4;text-align:right;border-radius:5px;margin:3px 0;line-height:1.6}.ha-channel-list>button svg{color:#808998}.ha-channel-list>button span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ha-channel-list>button:hover{background:#ffffff09}.ha-channel-list>button.selected{background:#404249;color:#fff}.ha-channel-list>button i{width:5px;height:5px;background:#a7b0ff;border-radius:50%;margin-right:auto;flex-shrink:0}.ha-sidebar-hint{padding:20px 16px;display:flex;gap:8px;color:#7d8ca5;font-size:10px;align-items:center;flex-wrap:wrap}.ha-sidebar-hint button{color:#b0baff;font-size:11px;margin-right:auto}.ha-user-dock{min-height:68px;background:#232428;display:flex;align-items:center;gap:7px;padding:10px}.ha-user-dock>button:first-child{display:flex;align-items:center;gap:9px;flex:1;min-width:0;text-align:right;padding:0}.ha-user-dock>button>span:last-child{min-width:0}.ha-user-dock b{font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:140px}.ha-user-dock small{color:#979eab;font-size:10px;display:block;margin-top:4px}.ha-user-dock .ha-avatar{width:35px;height:35px;font-size:17px}.ha-main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--ha-bg);position:relative}.ha-topbar{height:59px;min-height:59px;padding:0 22px;display:flex;align-items:center;gap:13px;box-shadow:0 1px 3px #0003;z-index:1;background:var(--ha-bg)}.ha-topbar>svg{color:#929baa}.ha-topbar>b{font-size:15px;white-space:nowrap}.ha-topic{font-size:11px;color:#9fa7b4;border-right:1px solid #4a4c55;padding-right:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:280px}.ha-topbar-tools{margin-right:auto;display:flex;align-items:center;gap:10px}.ha-message-search{background:#1e1f24;border-radius:5px;padding:6px 8px;display:flex;align-items:center;gap:7px;color:#8993a4}.ha-message-search input{width:130px;min-width:0;background:none;border:0;font-size:11px}.ha-mobile-nav{display:none}.ha-http-bar{background:#564b2c;color:#dfcea1;font-size:10px;text-align:center;padding:6px 12px;line-height:1.9}.ha-connection-warning{background:#704b2f;color:#f1d0ac;padding:9px 15px;text-align:center;font-size:12px}.ha-message-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 0 22px;scrollbar-width:thin;scrollbar-color:#1f2026 transparent;overscroll-behavior:contain}.ha-channel-welcome{padding:45px 28px 0}.ha-channel-welcome>span{width:76px;height:76px;border-radius:50%;background:#41444e;display:flex;align-items:center;justify-content:center;margin-bottom:23px}.ha-channel-welcome>small{font-size:11px;color:#9ca9d6}.ha-channel-welcome h1{font-size:clamp(24px,2.1vw,32px);margin:10px 0;line-height:1.8}.ha-channel-welcome p{font-size:14px;color:#aeb6c4;line-height:2}.ha-channel-welcome>div{display:flex;gap:12px;align-items:center;color:#7e899e;font-size:10px;margin:30px 0 18px}.ha-channel-welcome i{height:1px;flex:1;background:#444852}.ha-date-divider{display:flex;align-items:center;gap:10px;margin:20px 25px;color:#9aa4b4;font-size:10px}.ha-date-divider:before,.ha-date-divider:after{content:"";height:1px;background:#414651;flex:1}.ha-message{display:flex;gap:13px;padding:9px 26px;position:relative;align-items:flex-start}.ha-message:hover{background:#0000000b}.ha-message-avatar{padding:0;border-radius:50%;flex-shrink:0;margin-top:2px}.ha-message-body{min-width:0;flex:1}.ha-message-body>header{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:4px}.ha-message-body>header button{padding:0;color:#edf0f7;font-size:14px;font-weight:700;overflow-wrap:anywhere;text-align:right}.ha-message-body>header>small{font-size:9px;color:#a9b5e4;background:#5865f222;border-radius:3px;padding:1px 5px}.ha-message-body>header time{font-size:10px;color:#8d98aa}.ha-message-body p{font-size:15px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;unicode-bidi:plaintext;margin:0;color:#dfe3eb}.ha-message-body>footer{display:none}.ha-message-body>div[id]{border-radius:4px;transition:background .3s}.ha-message-body .highlight{background:#5865f23b;outline:3px solid #5865f23b}.ha-reply-action{width:29px;height:29px;display:flex;align-items:center;justify-content:center;border-radius:5px;color:#9ba8bc;opacity:0;position:absolute;left:21px;top:-12px;background:#272a33!important;box-shadow:0 2px 4px #0002}.ha-message:hover .ha-reply-action,.ha-reply-action:focus-visible{opacity:1}.ha-message-quote{border-right:3px solid #8a9bef;background:#ffffff06!important;border-radius:5px;padding:8px 12px;display:flex;flex-direction:column;gap:4px;max-width:100%;min-width:160px;text-align:right;margin-bottom:7px;color:#a9b6e8;font-size:11px}.ha-message-quote span{font-size:12px;color:#aeb7c8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:400px}.ha-image-attachment{display:block;position:relative;padding:0;max-width:min(380px,100%);margin:5px 0 8px;border-radius:9px;overflow:hidden}.ha-image-attachment img{display:block;max-width:100%;max-height:340px;min-height:70px;object-fit:contain;background:#242730}.ha-image-attachment>span{position:absolute;bottom:8px;left:8px;font:700 10px system-ui;background:#111a;padding:4px 6px;border-radius:4px}.ha-video-attachment{max-width:min(430px,100%);margin:7px 0 10px;overflow:hidden}.ha-video-attachment video{display:block;max-width:100%;max-height:330px;border-radius:9px;background:#161820}.ha-video-attachment a{display:flex;align-items:center;gap:8px;color:#a9baff;font-size:11px;margin-top:7px;text-decoration:none;overflow-wrap:anywhere}.ha-file-attachment{display:flex;gap:13px;align-items:center;max-width:min(380px,100%);padding:15px;background:#272a33;color:#a8b5f5;border:1px solid #41495b;border-radius:8px;margin:7px 0;text-decoration:none}.ha-file-attachment>span{flex:1;min-width:0}.ha-file-attachment b{font-size:12px;font-weight:400;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#c7d3ff}.ha-file-attachment small{font:11px system-ui;display:block;color:#8593a9;margin-top:6px}.ha-empty-messages{color:#7c879a;text-align:center;font-size:12px;line-height:2;padding:28px}.ha-loading{display:flex;justify-content:center;gap:9px;color:#9ba7bb;padding:18px;font-size:12px}.ha-older{display:block!important;background:#404654!important;border-radius:5px;margin:15px auto;padding:8px 16px;font-size:11px;color:#c6cedd}.ha-composer-wrap{padding:0 22px 15px;position:relative;flex-shrink:0}.ha-composer{display:flex;align-items:flex-end;gap:8px;background:#383b44;border-radius:9px;padding:10px 12px;min-height:58px}.ha-composer textarea{background:none;border:0;resize:vertical;flex:1;min-width:0;height:34px;min-height:34px;max-height:150px;padding:5px 0;font-size:14px;line-height:1.8;scrollbar-width:thin}.ha-composer textarea::placeholder{color:#8e99ad}.ha-send{height:36px;width:38px;background:#5865f2!important;border-radius:6px;flex-shrink:0;display:flex;justify-content:center;align-items:center;color:#fff}.ha-composer-caption{font-size:10px;display:flex;justify-content:space-between;gap:12px;color:#7e899e;padding:8px 3px 0}.ha-composer-reply,.ha-draft-file{display:flex;align-items:center;gap:12px;padding:12px;background:#292d38;border-bottom:1px solid #434958;border-radius:8px 8px 0 0;color:#9daee7}.ha-composer-reply>span,.ha-draft-file>span{flex:1;min-width:0}.ha-composer-reply b,.ha-draft-file b{font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ha-composer-reply small,.ha-draft-file small{font-size:11px;color:#8f9db3;display:block;margin-top:5px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ha-draft-file>img{width:46px;height:46px;object-fit:cover;border-radius:6px}.ha-upload-progress{padding:12px;background:#2d3446;border-radius:6px;margin-bottom:8px;font-size:11px;color:#a6baff}.ha-upload-progress>span{display:flex;align-items:center;gap:8px;overflow-wrap:anywhere}.ha-upload-progress progress{height:4px;width:100%;accent-color:#5865f2;margin-top:10px}.ha-picker{position:absolute;bottom:calc(100% + 8px);left:22px;background:#242832;border:1px solid #424a5a;box-shadow:0 15px 45px #0005;border-radius:12px;width:360px;max-width:calc(100vw - 110px);z-index:4;overflow:hidden}.ha-picker>header{display:flex;gap:7px;padding:10px;border-bottom:1px solid #3d4554;align-items:center}.ha-picker>header>button:not(.ha-icon){padding:7px 20px;border-radius:5px;color:#9caac1}.ha-picker>header>button.selected{background:#5865f233;color:#c5cdff}.ha-picker>header>.ha-icon{margin-right:auto}.ha-emoji-categories{display:flex;justify-content:space-around;padding:12px 5px 5px;gap:3px}.ha-emoji-categories button{font-size:10px;padding:5px;color:#8292ad}.ha-emoji-categories button.selected{color:#bcc8ed}.ha-emoji-grid{display:grid;grid-template-columns:repeat(8,1fr);padding:10px;gap:3px;max-height:260px;overflow:auto}.ha-emoji-grid button{font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif;font-size:24px;padding:5px 2px;border-radius:5px;line-height:1.5}.ha-emoji-grid button:hover{background:#ffffff14}.ha-gif-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:10px;max-height:230px;overflow:auto}.ha-gif-grid button{padding:0;border-radius:5px;overflow:hidden}.ha-gif-grid img{width:100%;height:83px;object-fit:cover;display:block}.ha-gif-upload{margin:8px 14px;width:calc(100% - 28px)}.ha-picker>.ha-help{display:block;margin:5px 15px 15px;font-size:10px;text-align:center}.ha-members{width:220px;background:var(--ha-panel);padding:22px 13px;flex-shrink:0;overflow-y:auto;scrollbar-width:thin}.ha-members section{margin-bottom:22px}.ha-members h3{font-size:11px;color:#909db0;margin:2px 5px 12px}.ha-member{display:flex;align-items:center;gap:10px;width:100%;padding:8px 5px;border-radius:5px;text-align:right}.ha-member:hover{background:#ffffff07}.ha-member>.ha-avatar-wrap>.ha-avatar{height:35px;width:35px;font-size:16px}.ha-member>span:last-child{min-width:0}.ha-member b{font-size:12px;color:#c5cdd9;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:145px}.ha-member small{display:block;color:#7f8da3;font-size:10px;margin-top:4px;max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ha-member.offline{opacity:.55}.ha-members-note{padding:25px 5px;border-top:1px solid #3b414c;color:#71829e}.ha-members-note b{font-size:12px;display:block;color:#9eacc3;margin:15px 0 10px}.ha-members-note p{font-size:11px;line-height:2;color:#7e8ca3}.ha-sidebar-heading{display:flex;justify-content:space-between;align-items:center;padding:14px 15px;height:59px;box-shadow:0 1px 3px #0003}.ha-sidebar-heading>b{font-size:14px}.ha-direct-search{margin:14px 12px;display:flex;gap:9px;align-items:center;color:#8e9bb0;background:#1f222a;padding:10px;border-radius:6px}.ha-direct-search input{border:0;background:none;min-width:0;width:100%;font-size:11px}.ha-direct-list{flex:1;overflow-y:auto;scrollbar-width:thin}.ha-direct-row{width:100%;display:flex;align-items:center;gap:11px;padding:13px 15px;text-align:right}.ha-direct-row:hover{background:#ffffff07}.ha-direct-row.selected{background:#414858}.ha-direct-detail{flex:1;min-width:0}.ha-direct-detail>span{display:flex;align-items:center;gap:8px}.ha-direct-detail b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}.ha-direct-detail time{font-size:10px;color:#8d9ab0;margin-right:auto;white-space:nowrap}.ha-direct-detail small{font-size:11px;color:#8f9eb6;margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;display:flex;align-items:center;gap:4px;min-width:0}.ha-direct-detail em{font:600 10px Vazir,sans-serif;font-style:normal;background:#5865f2;color:#fff;min-width:19px;height:19px;padding:2px 6px;border-radius:12px;margin-right:auto}.ha-list-empty{text-align:center;padding:35px 15px;color:#72829d;font-size:12px;line-height:2}.ha-list-empty p{margin:12px 0}.ha-list-empty>button{font-size:12px;color:#a8b9f8}.ha-open-telegram{padding:15px;margin:0 12px 15px;border:1px solid #3d607b;border-radius:7px;color:#71b5e8;display:flex;align-items:center;justify-content:center;gap:10px;font-size:12px}.ha-peer-title{display:flex;align-items:center;gap:11px;text-align:right;padding:0}.ha-peer-title>span:last-child{display:block;min-width:0}.ha-peer-title b{font-size:14px;display:block;color:#eef0f6;max-width:210px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ha-peer-title small{font-size:10px;display:block;color:#8b9ab0;margin-top:4px}.ha-dm-intro{text-align:center;padding:35px 20px 18px}.ha-dm-intro h2{font-size:20px;margin:14px 0 8px}.ha-dm-intro p{font-size:12px;color:#8191ab}.ha-dm-main{background:#2b2f39}.ha-dm-main .ha-topbar{background:#292e38}.tg-app{--ha-bg:#0e1621;--ha-panel:#17212b;--ha-deep:#0b131d;--ha-line:#293847;--ha-muted:#8297aa;--ha-accent:#5288c1;background:#0e1621;color:#e9eff5}.tg-sidebar{width:350px;min-width:280px;max-width:38vw;background:#17212b;display:flex;flex-direction:column;min-height:0;border-right:1px solid #0b1420;flex-shrink:0}.tg-sidebar-top{display:flex;align-items:center;gap:8px;padding:14px 12px;height:70px;min-height:70px}.tg-sidebar-top label{display:flex;align-items:center;gap:10px;background:#242f3d;flex:1;min-width:0;padding:11px 13px;border-radius:23px;color:#778ca2}.tg-sidebar-top input{border:0;background:none;width:100%;min-width:0;font-size:13px}.tg-sidebar-top .ha-icon{color:#879bae}.tg-tabs{display:flex;gap:20px;padding:0 21px;border-bottom:1px solid #22303e}.tg-tabs>button{padding:10px 1px 15px;font-size:12px;color:#8498ad;position:relative}.tg-tabs>button.selected{color:#6ab3f3}.tg-tabs>button.selected:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:#6ab3f3;border-radius:4px 4px 0 0}.tg-tabs>button span{font:10px Vazir;background:#5288c1;color:#fff;padding:1px 5px;border-radius:9px;margin-right:4px}.tg-app .ha-direct-row{padding:14px 17px;gap:12px;min-height:83px}.tg-app .ha-direct-row .ha-avatar{width:51px;height:51px;font-size:23px}.tg-app .ha-direct-row.selected{background:#2b5278}.tg-app .ha-direct-detail b{font-size:14px;max-width:185px}.tg-app .ha-direct-detail time{font-size:10px;color:#879caf}.tg-app .ha-direct-detail small{font-size:12px;color:#859bb0;margin-top:8px}.tg-app .ha-direct-detail em{background:#5da8dc}.tg-app .ha-direct-row.selected time,.tg-app .ha-direct-row.selected small{color:#b7d3eb}.tg-app .ha-avatar-wrap>i{border-color:#17212b}.tg-app .ha-direct-row.selected .ha-avatar-wrap>i{border-color:#2b5278}.tg-sidebar-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #23313e;padding:12px 17px;gap:10px}.tg-sidebar-bottom>button:first-child{display:flex;align-items:center;gap:8px;color:#7da4ca;font-size:11px}.tg-sidebar-bottom .ha-avatar{width:30px;height:30px;font-size:14px}.tg-app .ha-main{background-color:#0e1621;background-image:radial-gradient(#9cbdd00a 1px,transparent 1px),radial-gradient(#9cbdd008 1px,transparent 1px);background-size:32px 32px,54px 54px;background-position:0 0,15px 20px}.tg-app .ha-topbar{height:70px;min-height:70px;background:#17212b;padding:0 25px;box-shadow:none;border-bottom:1px solid #101a26}.tg-app .ha-peer-title .ha-avatar{height:43px;width:43px}.tg-app .ha-peer-title b{font-size:15px}.tg-app .ha-peer-title small{font-size:11px;color:#6bafdf}.tg-app .ha-message-search{background:#222e3c;border-radius:18px;padding:8px 12px}.tg-app .ha-message-search input{font-size:12px;width:140px}.tg-app .ha-http-bar{background:#2d2c24;color:#aba58c;font-size:9px}.tg-app .ha-message-scroll{padding:0 max(22px,calc((100% - 850px)/2)) 20px}.tg-app .ha-dm-intro{padding:35px 20px 20px;opacity:.75}.tg-app .ha-dm-intro .ha-avatar-large{width:64px;height:64px;font-size:28px;border:0}.tg-app .ha-dm-intro h2{font-size:16px;margin:12px 0 6px}.tg-app .ha-dm-intro p{font-size:11px;color:#6e91ac}.tg-app .ha-date-divider{justify-content:center;margin:22px 0}.tg-app .ha-date-divider:before,.tg-app .ha-date-divider:after{display:none}.tg-app .ha-date-divider span{background:#1e3344;color:#9db4c8;border-radius:16px;padding:5px 15px;font-size:10px}.tg-app .ha-message{padding:3px 5px;margin:5px 0;gap:8px;max-width:100%;background:none;align-items:flex-end}.tg-app .ha-message.mine{justify-content:flex-start}.tg-app .ha-message.incoming{justify-content:flex-end}.tg-app .ha-message-avatar{display:none}.tg-app .ha-message-body{flex:0 1 auto;min-width:110px;max-width:78%;background:#182533;border-radius:14px 14px 14px 3px;padding:10px 13px 6px;position:relative;box-shadow:0 1px 2px #0002}.tg-app .mine .ha-message-body{background:#2b5278;border-radius:14px 14px 3px}.tg-app .ha-message-body>header{display:none}.tg-app .ha-message-body p{font-size:15px;line-height:1.9;color:#e6eef6;min-width:0}.tg-app .ha-message-body>footer{display:flex;justify-content:flex-end;align-items:center;gap:4px;direction:ltr;font-size:9px;line-height:1.4;margin:5px 0 0;color:#7891a7}.tg-app .mine .ha-message-body>footer{color:#97c5e8}.tg-app .ha-message-body>footer svg{color:#9dd6ff}.tg-app .ha-reply-action{position:static;opacity:0;background:#1f3549!important;border-radius:50%;width:31px;height:31px;margin:0 3px 3px;flex-shrink:0;box-shadow:none}.tg-app .ha-message.incoming .ha-reply-action{order:-1}.tg-app .ha-message:hover .ha-reply-action{opacity:1}.tg-app .ha-message-quote{background:#07131e30!important;border-color:#6ab9ee;padding:7px 10px;margin-bottom:7px;min-width:120px}.tg-app .ha-message-quote b{color:#74c1f5;font-size:11px}.tg-app .ha-message-quote span{color:#b9c9d7;font-size:12px;max-width:350px}.tg-app .ha-file-attachment{background:#12243544;border-color:#ffffff09;padding:9px;max-width:330px;margin:2px 0}.tg-app .ha-file-attachment>b{font-size:12px}.tg-app .ha-image-attachment{margin:0;max-width:350px}.tg-app .ha-video-attachment{margin:0;max-width:370px}.tg-app .ha-composer-wrap{padding:0 max(22px,calc((100% - 850px)/2)) 16px}.tg-app .ha-composer{background:#17212b;border-radius:15px;padding:10px 12px;min-height:61px;box-shadow:0 3px 20px #0002;gap:10px}.tg-app .ha-composer textarea{padding:6px 0;font-size:15px}.tg-app .ha-composer textarea::placeholder{color:#778da3}.tg-app .ha-send{background:#5288c1!important;border-radius:50%;width:40px;height:40px}.tg-app .ha-composer-caption{font-size:9px;padding-top:8px;color:#526c83}.tg-app .ha-composer-reply,.tg-app .ha-draft-file{background:#17212b;border-color:#25374b;color:#89bae4;border-radius:12px 12px 0 0}.tg-app .ha-composer-reply small,.tg-app .ha-draft-file small{color:#7d97af}.tg-app .ha-picker{background:#17212b;border-color:#2a3d50;left:25px}.tg-empty{margin:auto;text-align:center;padding:30px;color:#6f8da7}.tg-empty>span{width:115px;height:115px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#1c3044;color:#588ebc;margin:0 auto 25px}.tg-empty h1{font-size:22px;color:#b0c4d7;margin:10px 0 16px}.tg-empty p{font-size:13px;line-height:2}.tg-empty>.ha-primary{margin:25px auto;background:#3b78aa}.ha-tg-menu-user{text-align:center;margin:8px 0 25px}.ha-tg-menu-user h2{font-size:20px;margin:10px 0}.ha-tg-menu-user small{color:#8b9eb7;font-size:12px}.ha-menu-row{display:flex;align-items:center;gap:13px;padding:15px 10px;width:100%;text-align:right;background:none;font-size:14px;color:#c1cbdc;border-radius:6px}.ha-menu-row:hover{background:#ffffff09}.ha-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#05080cba;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:30;display:flex;align-items:center;justify-content:center;padding:22px;color:#f0f3f8;font-family:Vazir,Tahoma,sans-serif}.ha-modal{width:470px;max-width:100%;max-height:calc(100dvh - 44px);overflow-y:auto;scrollbar-width:thin;background:#2b2e37;border:1px solid #454c5c;border-radius:14px;box-shadow:0 25px 100px #0006;padding:25px;position:relative;--ha-panel:#2b2e37}.ha-modal.wide{width:850px}.ha-modal>header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.ha-modal>header h2{font-size:20px;font-weight:700;overflow-wrap:anywhere}.ha-modal-intro{font-size:13px;color:#a8b5c9;line-height:2;margin:12px 0 20px}.ha-field{font-size:12px;color:#b9c4d7;display:block;margin:17px 0}.ha-field input,.ha-field textarea,.ha-field select{width:100%;display:block;background:#1c2029;color:#e0e7f4;border:1px solid #414b60;border-radius:6px;padding:12px;margin-top:9px;outline:none;font-size:14px;resize:vertical}.ha-field input:focus,.ha-field textarea:focus,.ha-field select:focus{border-color:#8094ed;box-shadow:0 0 0 2px #5865f21a}.ha-field input::placeholder,.ha-field textarea::placeholder{color:#65758e;font-size:12px}.ha-field>small{font-size:10px;display:block;text-align:left;color:#6f809a;margin-top:6px}.ha-primary,.ha-secondary,.ha-danger{border-radius:6px;display:flex;align-items:center;justify-content:center;gap:9px;padding:12px 20px;font:600 13px Vazir,sans-serif}.ha-primary{background:#5865f2;color:#fff}.ha-primary:hover{background:#4754d1}.ha-primary:disabled,.ha-secondary:disabled{opacity:.5;cursor:not-allowed}.ha-secondary{background:#3b4353;color:#c4cee1}.ha-danger{background:#be424c;color:#fff}.full{width:100%}.ha-help{font-size:11px;color:#8191aa;line-height:2;margin:14px 0}.ha-modal-tabs{display:flex;gap:6px;background:#20242e;border-radius:7px;padding:5px}.ha-modal-tabs button{background:none;color:#7f91ad;flex:1;padding:10px;border-radius:5px;font:12px Vazir,sans-serif}.ha-modal-tabs button.selected{background:#3c4763;color:#c2d2ff}.ha-invite-art{width:82px;height:82px;border-radius:50%;background:#5865f222;color:#a8baff;display:flex;align-items:center;justify-content:center;margin:15px auto 25px}.ha-invite-note{background:#5865f21e;border:1px solid #5865f24a;padding:13px;border-radius:7px;margin:0 0 24px;display:flex;gap:9px;align-items:center;font-size:12px;color:#b9c7ff;line-height:1.9}.ha-people-results{max-height:330px;overflow:auto}.ha-people-results>button{display:flex;align-items:center;gap:12px;width:100%;padding:13px 7px;background:none;text-align:right;border-radius:7px;color:#a1b1cb}.ha-people-results>button:hover{background:#ffffff09}.ha-people-results>button>span:nth-child(2){flex:1}.ha-people-results b{font-size:14px;color:#d8e2f3;display:block}.ha-people-results small{font-size:11px;color:#7f92b0;display:block;margin-top:5px}.ha-profile-banner{height:85px;border-radius:9px;opacity:.8}.ha-profile-content{position:relative;padding:0 8px 5px}.ha-profile-content>.ha-avatar{margin-top:-39px;position:relative}.ha-profile-content h2{font-size:23px;margin:14px 0 8px}.ha-profile-content>small{color:#899bb7;font-size:12px;display:block}.ha-profile-bio{font-size:14px;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere;margin:24px 0;color:#c1ccdf;min-height:45px}.ha-edit-avatar{display:flex;align-items:flex-end;gap:12px;margin:0 10px 20px;position:relative}.ha-edit-avatar>.ha-avatar{margin-top:-37px;position:relative}.ha-edit-avatar>.ha-secondary{margin-bottom:8px;padding:9px 11px;font-size:11px}.ha-text-button{background:none;color:#8f9fb9;font:11px Vazir;margin-bottom:14px;padding:0}.ha-profile-options{display:flex;align-items:flex-start;gap:18px}.ha-profile-options>.ha-field:first-child{width:95px;flex-shrink:0}.ha-profile-options>.ha-field:last-child{flex:1}.ha-field input[type=color]{height:45px;padding:5px}.ha-profile-options select{height:45px;padding:7px 10px;font-size:12px}.ha-logout{display:flex;align-items:center;gap:9px;background:none;color:#e48d95;padding:14px 0 0;margin:18px 0 0;border-top:1px solid #424b5d;width:100%;font:12px Vazir,sans-serif}.ha-modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:25px}.ha-lightbox{display:block;max-width:100%;max-height:65dvh;object-fit:contain;margin:auto;border-radius:8px}.ha-download{margin-top:18px;text-decoration:none}.ha-toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%);z-index:60;background:#402b34;border:1px solid #925363;border-radius:9px;box-shadow:0 8px 35px #0004;color:#f2c9d2;display:flex;gap:15px;align-items:center;padding:12px 15px;max-width:min(90vw,650px);font:12px/2 Vazir,sans-serif}.ha-toast>span{flex:1}.ha-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.ha-login-features{display:flex;gap:12px;flex-wrap:wrap;margin-top:35px}.ha-login-features span{display:flex;align-items:center;gap:8px;padding:11px 15px;background:#2a304155;border:1px solid #444c6555;border-radius:8px;color:#9eadd0;font-size:12px}.ha-http{font-size:11px;line-height:1.9;color:#c8b28b;border-radius:5px;margin-top:18px;text-align:center}@media(min-width:1600px){.ha-sidebar{width:270px}.ha-members{width:250px}.ha-channel-welcome{padding-top:70px}.tg-sidebar{width:390px}}@media(max-width:1200px){.ha-sidebar{width:235px}.ha-members{width:190px}.ha-topic{display:none}.ha-topbar{padding:0 15px}.ha-message-search input{width:110px}.tg-sidebar{width:320px}.ha-message-body>header button{font-size:13px}.ha-member b{max-width:125px}.tg-app .ha-message-scroll,.tg-app .ha-composer-wrap{padding-right:18px;padding-left:18px}}@media(max-width:1000px){.ha-members{display:none}.ha-sidebar{width:240px}.ha-message-body p{font-size:14px}.tg-sidebar{width:310px}.tg-app .ha-message-body{max-width:88%}.tg-app .ha-topbar{padding:0 17px}.tg-app .ha-message-search input{width:100px}.ha-topic{display:none}}@media(max-width:700px){.ha-rail{width:60px;gap:11px}.ha-rail-button,.ha-home{width:43px;height:43px;min-height:43px}.ha-home .brand-mark{width:43px;height:43px}.ha-rail-button.selected:before{left:-9px}.ha-rail>small{font-size:9px}.ha-sidebar{position:fixed;left:60px;top:59px;bottom:0;z-index:12;transform:translate(-340px);transition:transform .2s;width:252px;box-shadow:15px 0 30px #0005}.nav-open .ha-sidebar{transform:translate(0)}.ha-sidebar .ha-server-title{display:none}.ha-main{width:calc(100% - 60px)}.ha-mobile-nav{display:block}.ha-topbar{padding:0 9px;gap:6px}.ha-topbar>b{font-size:13px;max-width:150px;overflow:hidden;text-overflow:ellipsis}.ha-topbar>svg{width:20px}.ha-topbar-tools{gap:3px}.ha-topbar-tools>.ha-icon{width:27px}.ha-message-search{padding:5px;background:transparent}.ha-message-search input{width:0;transition:width .2s}.ha-message-search:focus-within input{width:80px}.ha-topbar .ha-icon{width:28px}.ha-http-bar{font-size:9px;padding:5px 7px}.ha-channel-welcome{padding:30px 16px 0}.ha-channel-welcome>span{width:64px;height:64px;margin-bottom:18px}.ha-channel-welcome h1{font-size:23px}.ha-channel-welcome p{font-size:12px}.ha-date-divider{margin:18px 16px}.ha-message{padding:10px 14px;gap:9px}.ha-message-avatar .ha-avatar{width:32px;height:32px;font-size:16px}.ha-message-body>header{gap:6px}.ha-message-body>header time{font-size:9px}.ha-message-body>header>small{font-size:8px}.ha-message-body p{font-size:14px}.ha-reply-action{opacity:.65;left:6px;top:0;width:23px;height:23px}.ha-composer-wrap{padding:0 10px 12px}.ha-composer{padding:8px 7px;gap:3px}.ha-composer>.ha-icon{width:29px}.ha-composer textarea{font-size:13px}.ha-send{width:32px;height:34px}.ha-composer-caption{font-size:8px}.ha-composer-caption span:last-child{display:none}.ha-picker{left:10px;max-width:calc(100vw - 90px);width:320px}.ha-emoji-grid{grid-template-columns:repeat(7,1fr);gap:2px}.ha-emoji-grid button{font-size:22px}.ha-emoji-categories button{font-size:9px}.ha-image-attachment img{max-height:280px}.ha-file-attachment{padding:10px;gap:9px}.ha-file-attachment>svg:first-child{width:24px}.ha-file-attachment b{font-size:11px}.ha-peer-title{gap:7px}.ha-peer-title .ha-avatar{height:33px;width:33px;font-size:15px}.ha-peer-title b{font-size:12px;max-width:135px}.ha-peer-title small{font-size:9px}.ha-modal{padding:20px;max-height:calc(100dvh - 30px)}.ha-backdrop{padding:15px}.ha-modal>header h2{font-size:18px}.ha-toast{bottom:15px;width:92%;font-size:11px}.ha-profile-options{gap:12px}.ha-edit-avatar{gap:7px;margin-left:0;margin-right:0}.ha-edit-avatar .ha-avatar-large{width:75px;height:75px}.ha-edit-avatar>.ha-secondary{font-size:10px}.ha-edit-avatar .ha-text-button{font-size:10px}.ha-login-features{justify-content:center;gap:7px}.ha-login-features span{padding:8px 10px;font-size:10px}.tg-sidebar{width:100%;max-width:none;min-width:0}.tg-app .ha-main,.tg-app.thread-open .tg-sidebar{display:none}.tg-app.thread-open .ha-main{display:flex;width:100%}.tg-app .ha-mobile-nav{display:block}.tg-app .ha-topbar{height:65px;min-height:65px;padding:0 10px;gap:9px}.tg-app .ha-peer-title .ha-avatar{height:39px;width:39px}.tg-app .ha-peer-title b{font-size:14px;max-width:160px}.tg-app .ha-message-search input{width:0}.tg-app .ha-message-search:focus-within input{width:80px}.tg-app .ha-message-search{background:transparent;padding:3px}.tg-app .ha-topbar-tools{gap:3px}.tg-app .ha-composer-wrap{padding:0 9px 10px}.tg-app .ha-composer{padding:8px 9px;gap:5px;border-radius:13px;min-height:55px}.tg-app .ha-send{width:37px;height:37px}.tg-app .ha-composer textarea{font-size:14px}.tg-app .ha-composer-caption{font-size:8px}.tg-app .ha-message-scroll{padding:0 10px 15px}.tg-app .ha-message-body{max-width:86%;padding:8px 11px 5px}.tg-app .ha-message-body p{font-size:14px}.tg-app .ha-reply-action{opacity:.5;width:26px;height:26px}.tg-app .ha-message-body>footer{font-size:8px}.tg-app .ha-dm-intro{padding:25px 0 12px}.tg-app .ha-picker{max-width:calc(100vw - 20px);left:10px}.tg-sidebar-top{height:66px;min-height:66px}.tg-app .ha-direct-row{min-height:80px}.tg-sidebar-bottom{padding-bottom:17px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}.ha-composer textarea{height:40px;min-height:40px;resize:none;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#69758a transparent;line-height:1.7}.login-card #account-password{margin-bottom:12px}.login-card .ha-secondary{margin-top:12px;display:flex;align-items:center;justify-content:center;gap:9px;min-height:45px}.login-card .login-note{line-height:1.9}.tg-sidebar-bottom .tg-hamava-switch{flex:1;display:flex;align-items:center;gap:10px;text-align:right;padding:11px 13px;background:linear-gradient(115deg,#6755ed,#4844ba);border:1px solid #8d87f266;border-radius:12px;color:#fff;box-shadow:0 5px 18px #0003}.tg-hamava-switch>.brand-mark{width:36px;height:36px;border-radius:10px;flex-shrink:0}.tg-hamava-switch>span:not(.brand-mark){flex:1;font-weight:700}.tg-hamava-switch small{display:block;font-size:10px;font-weight:400;opacity:.8;margin-top:4px}.ha-modal .ha-help{overflow-wrap:anywhere}.ha-modal h3{margin:17px 0 14px}.login-page{padding:26px 6vw}.login-layout{padding:25px 0}.login-card{padding:26px}.login-card>.brand-mark{width:42px;height:42px;margin-bottom:14px}.login-card>p{line-height:1.9;margin:10px 0 20px}.login-card input{height:46px;padding:11px 13px;margin-bottom:12px}.login-card label{margin-bottom:8px}.login-card .primary{min-height:46px;padding:12px 20px}.login-card .login-note{margin-top:16px}.login-card>small{display:block;line-height:1.8}.ha-feature-nav{display:flex;align-items:center;gap:7px;padding:8px 12px;border-top:1px solid var(--ha-line);flex-shrink:0}.ha-voice-rooms{padding:0 9px 10px}.ha-voice-rooms>button{display:flex;align-items:center;gap:10px;width:100%;text-align:right;background:transparent;border-radius:6px;padding:9px 11px;color:var(--ha-muted)}.ha-voice-rooms>button:hover{background:#ffffff0d;color:var(--ha-text)}.tg-app[data-telegram-room=true] .ha-message.incoming .ha-message-body>header{display:flex;align-items:center;margin-bottom:4px}.tg-app[data-telegram-room=true] .ha-message.incoming .ha-message-body>header time,.tg-app[data-telegram-room=true] .ha-message.incoming .ha-message-body>header small{display:none}.tg-app[data-telegram-room=true] .ha-message.incoming .ha-message-body>header button{font-size:12px;color:#9dcbff}.tg-app[data-telegram-room=true] .ha-message.incoming .ha-message-avatar{display:block;flex-shrink:0;width:34px;height:34px;align-self:flex-end}.tg-app[data-telegram-room=true] .ha-message.incoming .ha-message-avatar .ha-avatar{width:31px;height:31px;font-size:15px}.ha-rich-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:var(--user-font,14px);line-height:1.9}.ha-rich-text pre{white-space:pre-wrap;text-align:left;overflow:auto;background:#111823;border:1px solid #3d485d;border-radius:8px;padding:14px;line-height:1.7;color:#d2e5fb;font-family:Consolas,monospace;margin:9px 0;max-width:100%}.ha-spoiler{background:#121820;color:transparent;border-radius:4px;padding:1px 7px;font:inherit;cursor:pointer;max-width:100%;overflow-wrap:anywhere}.ha-spoiler:not(.revealed){color:#9dabc1;font-size:11px}.ha-spoiler.revealed{color:inherit;background:#4f648a55}.ha-audio-attachment{display:flex;flex-direction:column;gap:6px;padding:8px;max-width:100%}.ha-audio-attachment audio{max-width:100%;height:38px}.ha-audio-attachment small{font-size:10px;color:var(--ha-muted)}.ha-public-banner{padding:10px 18px;background:#38499f;color:#fff;text-align:center;font-size:13px;line-height:1.8;overflow-wrap:anywhere;flex-shrink:0}.ha-public-banner[data-tone=warning]{background:#805c22}.ha-public-banner[data-tone=success]{background:#216f55}.ha-announcement{padding:9px 18px;background:#1f344b;border-bottom:1px solid #3b5266;color:#cfe6fc;flex-shrink:0;font-size:12px;max-height:200px;overflow:auto}.ha-announcement summary{cursor:pointer;font-weight:700}.ha-announcement p{white-space:pre-wrap;line-height:1.9;padding-top:10px}.ha-read-only{padding:22px;text-align:center;color:var(--ha-muted);background:var(--ha-panel);font-size:12px}.tg-room-intro{text-align:center;padding:30px 0 20px;opacity:.8}.tg-room-intro svg{margin-bottom:10px;color:#76aae0}.tg-room-intro p{font-size:12px;color:var(--ha-muted);margin-top:8px}.ha-notice-list article{padding:14px;background:#ffffff06;border:1px solid #3b465a;border-radius:10px;margin-bottom:12px}.ha-notice-list p{white-space:pre-wrap;line-height:2}.ha-notice-list small{color:#95a3b5;display:block;margin-top:12px}.ha-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.ha-stat-grid article{background:linear-gradient(130deg,#363451,#24374b);padding:19px 14px;border:1px solid #7b85b333;border-radius:12px;display:flex;flex-direction:column;gap:8px}.ha-stat-grid b{font-size:26px;color:#d3cfff}.ha-stat-grid span{font-size:11px;color:#abb7ca}.ha-admin-users{max-height:330px;overflow:auto}.ha-admin-users article,.ha-people-results article{display:flex;align-items:center;gap:8px;padding:12px 7px;border-bottom:1px solid #ffffff0d}.ha-admin-users article>div,.ha-people-results article>span{flex:1;min-width:0}.ha-admin-users small,.ha-people-results small{display:block;color:#91a0b4;font-size:10px;overflow-wrap:anywhere;margin-top:4px}.ha-admin-users .ha-secondary,.ha-admin-users .ha-danger,.ha-people-results .ha-secondary,.ha-people-results .ha-primary{padding:7px 10px;min-height:32px;font-size:11px}.ha-inspection{border-top:1px solid #404959;margin-top:20px;padding-top:8px}.ha-inspection-threads{display:flex;flex-wrap:wrap;gap:7px;max-height:170px;overflow:auto;margin:12px 0}.ha-inspection-threads>button{background:#232c3b;border:1px solid #424e65;border-radius:8px;padding:8px 13px;text-align:right}.ha-inspection-threads .selected{background:#485a9c}.ha-inspection-threads small{display:block;color:#aeb9cf;font-size:10px}.ha-inspection-messages{max-height:330px;overflow:auto;padding:8px}.ha-inspection-messages article{padding:12px 0;border-bottom:1px solid #ffffff12}.ha-inspection-messages time{font-size:10px;color:#8d9cb2;display:block;margin:4px 0}.ha-inspection-messages a{color:#87b7ff}.ha-audit{max-height:260px;overflow:auto}.ha-audit p{display:flex;gap:10px;flex-wrap:wrap;border-bottom:1px solid #ffffff0d;padding:10px 0}.ha-audit time,.ha-audit small{font-size:10px;color:#9facc0;overflow-wrap:anywhere}.ha-audit code{font-size:11px;color:#cabdff}.ha-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ha-check{display:flex;align-items:center;gap:10px;margin:18px 0;cursor:pointer}.ha-check input{width:17px;height:17px;accent-color:#7767ed}.ha-test-buttons{display:flex;gap:8px;flex-wrap:wrap;margin:13px 0}.ha-test-buttons button{display:flex;align-items:center;gap:6px;padding:10px;font-size:11px}.ha-camera-preview{width:100%;height:240px;object-fit:contain;background:#0c1018;border:1px solid #394456;border-radius:10px;margin-top:10px}.ha-camera-preview.hidden{display:none}.ha-field progress{width:100%;height:20px;accent-color:#4bc28a}.ha-voice-recording{display:flex;align-items:center;gap:4px;white-space:nowrap;font-size:10px;color:#ffa1a8}.ha-voice-recording>i{width:8px;height:8px;background:#ed6372;border-radius:50%;animation:ha-record-pulse 1s infinite}@keyframes ha-record-pulse{50%{opacity:.3}}.ha-voice-recording .ha-icon{width:27px;height:30px}.ha-call-window{position:fixed;z-index:65;top:7vh;right:8vw;bottom:7vh;left:8vw;background:#151822;border:1px solid #515c73;box-shadow:0 20px 90px #0009;border-radius:18px;padding:18px;display:flex;flex-direction:column;gap:14px;min-width:0;color:#f1f4fa;font-family:Vazir,Tahoma,sans-serif}.ha-call-window>header{display:flex;align-items:center;gap:12px;justify-content:space-between}.ha-call-window header small{display:block;color:#86caaf;font-size:11px;margin-top:5px}.ha-call-window.minimized{inset:auto auto 15px 82px;width:340px;padding:12px;border-radius:12px;gap:10px}.ha-call-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;flex:1;min-height:0;overflow:auto;align-content:center}.ha-call-person{position:relative;min-height:160px;background:#242a39;border:2px solid transparent;border-radius:13px;overflow:hidden;aspect-ratio:16/10;display:flex;align-items:center;justify-content:center}.ha-call-person.speaking{border-color:#51c69e}.ha-call-person video{width:100%;height:100%;object-fit:contain;background:#0b0e14}.ha-call-initial{height:75px;width:75px;border-radius:50%;background:linear-gradient(130deg,#7563cb,#485e9c);display:grid;place-items:center;font-size:32px}.ha-call-person footer{position:absolute;bottom:0;left:0;right:0;padding:10px 12px;background:linear-gradient(transparent,#000b);display:flex;align-items:center;justify-content:space-between;font-size:12px}.ha-call-controls{display:flex;align-items:center;justify-content:center;gap:10px;flex-shrink:0}.ha-call-controls button{width:49px;height:43px;border-radius:9px;background:#303849;display:flex;align-items:center;justify-content:center}.ha-call-controls button.enabled{background:#5369aa}.ha-call-controls .hangup{background:#c74455}.ha-call-window.minimized .ha-call-controls{gap:7px}.ha-call-window.minimized .ha-call-controls button{width:45px;height:36px}.ha-call-waiting,.ha-incoming-call{position:fixed;z-index:95;left:50%;top:22%;transform:translate(-50%);border-radius:15px;border:1px solid #617397;background:#202b3d;padding:25px;color:#fff;box-shadow:0 15px 70px #0008;max-width:calc(100vw - 30px);font-family:Vazir,Tahoma,sans-serif}.ha-incoming-call p{margin:12px 0;color:#bdcbe1}.ha-incoming-call>div{display:flex;gap:12px}.ha-call-waiting{top:auto;bottom:25px;display:flex;align-items:center;gap:17px;padding:12px 20px}.ha-secret-info{display:flex;align-items:center;gap:10px;color:#92dbc0;margin:12px 0}.ha-secret-fingerprint{display:block;text-align:center;padding:14px;background:#15252a;border:1px solid #3c6761;color:#b4efd7;border-radius:8px;letter-spacing:1px;-webkit-user-select:text;user-select:text;font-size:14px;overflow-wrap:anywhere}.ha-secret-messages{min-height:160px;height:36vh;overflow:auto;display:flex;flex-direction:column;gap:10px;padding:16px;background:#0e1721;border-radius:10px;margin:15px 0}.ha-secret-messages p{max-width:85%;align-self:flex-start;background:#233348;border-radius:12px;padding:10px 14px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}.ha-secret-messages p.mine{align-self:flex-end;background:#31586a}.ha-secret-messages time{display:block;color:#a8bbc5;font-size:9px;text-align:left}.ha-secret-composer{display:flex;gap:10px;margin:12px 0}.ha-secret-composer input{flex:1;min-width:0;padding:13px;background:#171e2a;border:1px solid #414f64;border-radius:8px;color:#fff}.ha-secret-composer .ha-primary{padding:10px 15px}.ha-app[data-compact=true] .ha-message{padding-top:5px;padding-bottom:5px}.ha-app[data-compact=true] .ha-message-avatar{width:30px}.ha-app[data-theme=midnight]{--ha-bg:#090e18;--ha-panel:#111827;--ha-deep:#070c14;background:#090e18}.ha-app[data-theme=midnight] .ha-sidebar,.ha-app[data-theme=midnight] .tg-sidebar{background:#101827}.ha-app[data-theme=midnight] .ha-main{background:#090e18}.ha-app[data-theme=light]{--ha-bg:#eef2f6;--ha-panel:#fff;--ha-deep:#e1e8ef;--ha-line:#ccd6e1;--ha-text:#26384d;--ha-muted:#637b94;color:#26384d;background:#eef2f6}.ha-app[data-theme=light] .ha-main{background:#e5edf4}.ha-app[data-theme=light] .ha-sidebar,.ha-app[data-theme=light] .tg-sidebar,.ha-app[data-theme=light] .ha-members,.ha-app[data-theme=light] .ha-topbar,.ha-app[data-theme=light] .ha-user-dock{background:#f9fbfd;color:#26384d}.ha-app[data-theme=light] .ha-message-body{background:#d2e5f4;color:#26384d}.ha-app[data-theme=light] .ha-message.mine .ha-message-body{background:#bddfc8}.ha-app[data-theme=light] .ha-composer{background:#fff}.ha-app[data-theme=light] .ha-composer textarea,.ha-app[data-theme=light] input{color:#26384d}.ha-app[data-theme=light] .ha-direct-row.selected{background:#d4e4f2}@media(max-width:700px){.ha-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ha-admin-users article{gap:5px;flex-wrap:wrap}.ha-admin-users article>div{min-width:100%;margin-bottom:6px}.ha-call-window{top:8px;right:8px;bottom:8px;left:8px;padding:12px;border-radius:12px}.ha-call-grid{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:7px}.ha-call-person{min-height:120px}.ha-call-window.minimized{inset:auto 10px 75px 10px;width:auto;max-width:360px;margin:auto}.ha-call-controls{gap:7px}.ha-call-controls button{width:43px;height:42px}.ha-settings-grid{grid-template-columns:1fr}.ha-secret-fingerprint{font-size:10px;letter-spacing:0}.ha-secret-messages{height:30vh;padding:10px}.ha-secret-messages p{max-width:95%}.ha-test-buttons button{flex:1;justify-content:center}.ha-topbar-tools>.ha-icon{width:31px}.ha-topbar-tools .ha-message-search{display:none}.ha-voice-recording span{font-size:8px}.ha-public-banner{font-size:11px;padding:8px 12px}.ha-inspection-messages{max-height:250px}}.ha-saved-row{flex-shrink:0;border-bottom:1px solid #ffffff0b}.ha-saved-row .ha-direct-detail{display:flex;flex-direction:column;gap:5px}.ha-saved-avatar{display:grid;place-items:center;width:46px;height:46px;flex-shrink:0;border-radius:50%;background:linear-gradient(140deg,#6aaff1,#357cc0);color:#fff}.ha-saved-title{display:flex;align-items:center;gap:12px}.ha-saved-title small{display:block;margin-top:4px;color:#96a5b7;font-size:11px}.ha-message-body{position:relative;min-width:0}.ha-message-actions{display:flex;gap:3px;justify-content:flex-end;margin-top:4px;opacity:.3;transition:opacity .15s}.ha-message:hover .ha-message-actions,.ha-message:focus-within .ha-message-actions{opacity:1}.ha-message-actions button{display:grid;place-items:center;width:29px;height:25px;border-radius:5px;color:inherit}.ha-message-actions button:hover{background:#ffffff20}.ha-reaction-picker{position:absolute;z-index:15;bottom:38px;left:0;display:grid;grid-template-columns:repeat(6,32px);padding:7px;gap:3px;background:#202c3b;border:1px solid #50627b;border-radius:10px;box-shadow:0 7px 20px #0005}.ha-reaction-picker button{font-size:20px;padding:4px}.ha-message-reactions{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}.ha-message-reactions button{border:1px solid #7b91af40;background:#1b253644;border-radius:13px;padding:3px 9px;display:flex;align-items:center;gap:5px;font-size:15px;color:inherit}.ha-message-reactions button.selected{background:#407db444;border-color:#6fb8ff}.ha-message-reactions small{font-size:11px}.ha-mention{display:inline;color:#83c9ff;background:#5889c333;border-radius:4px;padding:0 4px;white-space:normal;font:inherit}.ha-mentioned .ha-message-body{border-inline-start:3px solid #e7bd60;padding-inline-start:9px}.ha-mention-picker{padding:8px;border:1px solid #536781;border-radius:9px;background:#1b2839;max-height:240px;overflow:auto;margin-bottom:7px;color:#e9f2fd}.ha-mention-picker>small{display:flex;gap:5px;padding:6px;color:#9eb4ce}.ha-mention-picker>button{display:flex;align-items:center;gap:10px;width:100%;padding:9px;border-radius:5px;text-align:right}.ha-mention-picker>button:hover{background:#46638c55}.ha-mention-picker span,.ha-mention-picker button small{font-size:11px;color:#a4b8ce}.ha-mention-picker button small{margin-inline-start:auto}.ha-saved-popover{position:fixed;z-index:60;right:20px;top:75px;width:380px;max-width:calc(100vw - 24px);background:#192432;color:#e9f1fb;box-shadow:0 15px 60px #0008;border:1px solid #465a74;border-radius:14px;padding:16px;font-family:Vazir,Tahoma,sans-serif}.ha-saved-popover>header{display:flex;align-items:center;justify-content:space-between}.ha-saved-popover header b{display:flex;gap:8px;align-items:center}.ha-saved-scroll{max-height:55vh;overflow:auto;margin-top:12px}.ha-saved-scroll article{padding:13px 10px;border-bottom:1px solid #7992b32b;overflow-wrap:anywhere}.ha-saved-scroll article>small{display:block;color:#a5bbd3;font-size:10px;margin-bottom:8px}.ha-saved-scroll .ha-image-attachment img{max-height:180px}.ha-delete-zone{margin-top:24px;padding-top:18px;border-top:1px solid #d3576944}.ha-delete-zone p{font-size:12px;color:#d69ca4;line-height:1.9;margin-bottom:12px}.ha-destructive{color:#f48d9c!important}.ha-voice-rooms button>[role=button]{margin-inline-start:auto;padding:5px}.ha-saved-content .full{display:flex;align-items:center;justify-content:center;gap:5px}.ha-app[data-theme=light] .ha-mention-picker{background:#ecf3fc;color:#22334a}.ha-app[data-theme=light] .ha-mention{color:#245f99}.ha-app[data-theme=light] .ha-reaction-picker{background:#e8f1ff}.ha-app[data-theme=light] .ha-reaction-picker button{color:#1f334d}@media(max-width:700px){.ha-message-actions{opacity:.9}.ha-saved-popover{right:12px;top:65px}.ha-mention-picker button small{display:none}}.ha-saved-attribution{display:flex;align-items:center;gap:5px;color:#8bc2ea;margin-bottom:6px;font-size:10px}.ha-channel-list{min-height:112px;flex:1 0 112px}.ha-sidebar{overflow-y:auto;scrollbar-width:thin}.ha-sidebar>.ha-category,.ha-sidebar>.ha-feature-nav,.ha-sidebar>.ha-user-dock{flex-shrink:0}.ha-message-menu{position:relative;display:inline-block;float:left;z-index:5}.ha-message-menu summary{list-style:none;cursor:pointer;padding:2px 12px;border-radius:6px;background:#20232b;color:#ccc}.ha-message-menu-items{position:absolute;left:0;bottom:28px;min-width:170px;padding:6px;display:grid;background:#191d27;border:1px solid #485066;border-radius:10px;box-shadow:0 8px 30px #0008}.ha-message-menu-items button{padding:9px;text-align:right;border:0;background:transparent;color:#eee;border-radius:6px}.ha-message-menu-items button:hover{background:#5865f2}.ha-delete-choices{display:flex;gap:10px;flex-wrap:wrap}.ha-forward-targets{max-height:50vh;overflow:auto}.ha-forward-targets small{margin-inline-start:auto;opacity:.6}.ha-forward-attribution{display:block;color:#9cacf7;margin-bottom:8px}.ha-request-card{padding:24px;text-align:center;background:#22334a}.ha-request-card>div{display:flex;justify-content:center;gap:12px;margin-top:16px}
