.tgLogin{min-height:100vh;width:100%;display:flex;align-items:center;justify-content:center;background:radial-gradient(900px 520px at 50% 0%,rgba(255,255,255,.05),transparent 60%),#141414;padding:24px}.tgLoginShell{width:min(520px,100%);display:flex;justify-content:center}.tgLoginInner{background:#262626f5;border:1px solid rgba(255,255,255,.06);border-radius:22px;padding:22px 22px 18px;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);min-height:520px;display:flex;flex-direction:column;align-items:center;text-align:center;width:100%}.tgLoginViews{position:relative;width:100%;flex:1}.tgLoginView{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:6px 0 0;transition:opacity .22s ease,transform .22s ease;will-change:opacity,transform}.tgLoginShell.isQr .tgLoginViewQr{opacity:1;transform:translate(0);pointer-events:auto}.tgLoginShell.isQr .tgLoginViewPin{opacity:0;transform:translate(16px);pointer-events:none}.tgLoginShell.isPin .tgLoginViewQr{opacity:0;transform:translate(-16px);pointer-events:none}.tgLoginShell.isPin .tgLoginViewPin{opacity:1;transform:translate(0);pointer-events:auto}.tgLoginHeader{display:flex;align-items:center;gap:12px;margin-bottom:18px}.tgLoginLogo{width:44px;height:44px;border-radius:18px;background:#ffffff0f;border:1px solid rgba(255,255,255,.08);overflow:hidden;box-shadow:0 12px 30px #00000047;display:inline-flex;align-items:center;justify-content:center}.tgLoginLogoImg{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.tgLoginAppName{font-weight:900;color:#ffffffeb;font-size:18px}.tgLoginH1{margin-top:6px;font-weight:900;color:#ffffffeb;font-size:22px}.tgLoginShell.isQr .tgLoginH1{margin-top:10px}.tgLoginHint{margin-top:10px;color:#ffffff8c;font-size:13px;line-height:1.4;max-width:380px}.tgLoginSteps{margin-top:16px;display:flex;flex-direction:column;gap:10px;width:100%;max-width:420px;text-align:left}.tgLoginStep{color:#ffffffbf;font-size:13px;line-height:1.35;display:flex;align-items:flex-start;gap:10px}.tgLoginStepNum{width:22px;height:22px;border-radius:999px;background:#ffffff14;border:1px solid rgba(255,255,255,.1);color:#ffffffbf;display:inline-flex;align-items:center;justify-content:center;font-weight:900;flex:0 0 auto}.tgLoginPinRow{margin-top:18px;display:flex;justify-content:center;gap:14px;width:100%}.tgLoginPinBox{width:56px;height:56px;border-radius:16px;border:1px solid rgba(255,255,255,.16);background:#ffffff0f;display:flex;align-items:center;justify-content:center;transition:border-color .16s ease,background .16s ease,transform .16s ease}.tgLoginPinBox.isFilled{border-color:#0a84ffbf}.tgLoginPinBox.isError{border-color:#ff3b30cc}.tgLoginPinInput{width:100%;height:100%;border:none;outline:none;background:transparent;text-align:center;color:#fffffff2;font-size:22px;font-weight:900;caret-color:#0a84ff}.tgLoginError{margin-top:10px;color:#ff3b30f2;font-weight:900;font-size:13px}.tgLoginMutedText{margin-top:10px;color:#ffffff73;font-size:12px;font-weight:700}.tgLoginFooterRow{margin-top:10px;width:100%;max-width:320px;display:flex;justify-content:space-between;gap:10px;text-align:left}.tgLoginMutedTextLeft{flex:1 1 auto;text-align:center}.tgLoginMutedTextRight{flex:0 0 auto;text-align:right}.tgLoginLink{margin-top:16px;border:none;background:transparent;color:#5e5ce6;font-weight:800;letter-spacing:.4px;font-size:12px;text-transform:uppercase;cursor:pointer}.tgLoginLink:hover{color:#5e5ce6e0}.tgLoginLinkMuted{color:#5e5ce6bf}.tgLoginLinkMuted:hover{color:#5e5ce69e}.tgLoginMuted{color:#ffffff73;font-size:12px;font-weight:700}.tgLoginQrWrap{margin-top:6px;display:flex;align-items:center;justify-content:center;width:100%}.tgLoginQrBox{width:min(240px,100%);aspect-ratio:1 / 1;border-radius:24px;background:transparent;border:none;display:flex;align-items:center;justify-content:center;color:#ffffff8c;position:relative;overflow:hidden}.tgLoginQrImg{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;image-rendering:auto}.tgLoginQrCenterMark{position:absolute;width:48px;height:48px;border-radius:18px;background:#ffffff1a;border:1px solid rgba(255,255,255,.12);box-shadow:0 10px 24px #00000059;opacity:.92;overflow:hidden;display:flex;align-items:center;justify-content:center}.tgLoginQrCenterMarkImg{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.tgLoginQrFake{width:78%;height:78%;border-radius:16px;background:linear-gradient(90deg,#fff0,#ffffff14,#fff0),repeating-linear-gradient(0deg,#ffffff1a,#ffffff1a 6px,#ffffff05 6px,#ffffff05 12px),repeating-linear-gradient(90deg,#ffffff1a,#ffffff1a 6px,#ffffff05 6px,#ffffff05 12px);opacity:.85}.tgLoginShake{animation:tgLoginShake .36s ease}@keyframes tgLoginShake{0%{transform:translate(0)}20%{transform:translate(-6px)}40%{transform:translate(6px)}60%{transform:translate(-5px)}80%{transform:translate(5px)}to{transform:translate(0)}}@media(max-width:420px){.tgLoginInner{min-height:520px;padding:18px 16px 16px;border-radius:18px}.tgLoginPinBox{width:52px;height:52px;border-radius:15px}}:root{--tg-bg: #141414;--tg-rail: #151515;--tg-list: #181818;--tg-chat: #1E1E1E;--tg-chatTop: #1b1b1b;--tg-input: #2a2a2a;--tg-input2: #242424;--tg-chip: rgba(255, 255, 255, .06);--tg-muted: rgba(255, 255, 255, .55);--tg-muted2: rgba(255, 255, 255, .38);--tg-active: rgba(255, 255, 255, .1);--tg-hover: rgba(255, 255, 255, .06);--tg-yellow: #f6c94c}.tgShell{height:100vh;width:100vw;display:flex;background:var(--tg-bg);padding:0;gap:0;overflow:hidden}.tgPane{border-radius:0;box-shadow:none}.tgRail{width:74px;padding:16px 12px;display:flex;flex-direction:column;gap:12px;background:#262626}.tgRailTop,.tgRailBottom{display:flex;flex-direction:column;gap:12px;align-items:center}.tgRailBtn{width:46px;height:46px;border-radius:18px;border:none;background:transparent;display:flex;align-items:center;justify-content:center;color:#ffffffeb;cursor:pointer}.tgRailBtn:hover{background:#1e1e1e}.tgRailBtnActive{background:#1e1e1e;box-shadow:inset 0 0 0 2px var(--tg-yellow);color:#fff}.tgRailAvatar{display:inline-flex;align-items:center;justify-content:center;border-radius:14px;overflow:hidden}.tgRailSpacer{flex:1}.tgCol{display:flex;flex-direction:column;min-width:0;min-height:0}.tgChats{width:360px;padding-bottom:8px;background:#262626;min-height:0}.tgChatsSwitch{position:relative;flex:1;min-height:0}.tgChatsView{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;min-height:0;transition:opacity .2s ease,transform .2s ease;will-change:opacity,transform;z-index:1;visibility:hidden}.tgChatsSwitchChats .tgChatsViewChats{opacity:1;transform:translate(0);pointer-events:auto;z-index:2;visibility:visible}.tgChatsSwitchChats .tgChatsViewMenu{opacity:0;transform:translate(10px);pointer-events:none;z-index:1;visibility:hidden}.tgChatsSwitchMenu .tgChatsViewMenu{opacity:1;transform:translate(0);pointer-events:auto;z-index:2;visibility:visible}.tgChatsSwitchMenu .tgChatsViewChats{opacity:0;transform:translate(-10px);pointer-events:none;z-index:1;visibility:hidden}.tgMoreMenu{padding:14px 16px 18px;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;-ms-overflow-style:none}.tgMoreMenu::-webkit-scrollbar{width:0;height:0}.tgMoreMenuHeader{font-weight:900;font-size:18px;color:#ffffffeb;margin-bottom:24px;display:none}.tgAdminMenuHeader{display:flex;align-items:center;gap:10px}.tgAdminMenuBack{width:28px;height:28px;border-radius:8px;border:none;background:#ffffff14;color:#ffffffdb;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.tgAdminMenuBack:hover{background:#ffffff1f}.tgMoreMenuCard{border-radius:26px;border:none;overflow:hidden;background:#1e1e1e;margin-bottom:16px}.tgMoreMenuItem{width:100%;border:none;background:transparent;color:#ffffffeb;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;min-height:48px;cursor:pointer}.tgMoreMenuItem:not(.isLast){border-bottom:1px solid rgba(255,255,255,.06)}.tgMoreMenuItem:hover{background:#ffffff0a}.tgMoreMenuItem.isUnavailable{opacity:.58}.tgMoreMenuItem.isUnavailable:hover{background:#ffffff05}.tgMoreMenuItem.isUnavailable .tgMoreMenuItemText{color:#ffffffb8}.tgMoreMenuItem.isUnavailable .tgMoreMenuChevron{opacity:0}.tgMoreMenuItemLeft{display:flex;align-items:center;gap:14px;min-width:0;flex:1}.tgMoreMenuIconBox{width:28px;height:28px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.tgMoreMenuItemText{font-size:16px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tgMoreMenuItemRight{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto}.tgMoreMenuChevron{color:#ffffff73}.tgMoreMenuValue{font-size:14px;color:#ffffffb3;font-weight:700}.tgMoreMenuItem.isLogout .tgMoreMenuItemText{color:#ff3b30}.tgAuthDebug{max-width:820px;margin:0 auto;width:100%;display:flex;flex-direction:column;gap:14px}.tgAuthDebugTitle{font-weight:900;font-size:18px;color:#ffffffeb}.tgAuthDebugCard{background:#1e1e1e;border-radius:16px;padding:12px 14px;border:1px solid rgba(255,255,255,.06)}.tgAuthDebugLabel{font-size:13px;font-weight:700;color:#ffffffd1;margin-bottom:8px}.tgAuthDebugRow{display:flex;align-items:center;justify-content:space-between;gap:12px}.tgAuthDebugMeta{font-size:12px;color:#ffffff8c}.tgAuthDebugError{color:#ff3b30;font-size:12px;margin-bottom:6px}.tgAuthDebugCode{margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:12px;line-height:1.45;color:#ffffffd1;white-space:pre-wrap;word-break:break-word}.tgAdminStaff{max-width:none;margin:0;width:100%;display:flex;flex-direction:column;gap:16px;min-height:0;padding-top:0;flex:1 1 auto}.tgAdminStaffHeader{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;position:relative;z-index:2;background:#262626fa;padding:12px 16px;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}.tgAdminStaffHeaderLeft{display:flex;align-items:center;gap:12px;min-width:0;flex-wrap:nowrap}.tgAdminStaffDetailHeader{display:inline-flex;align-items:center;gap:10px}.tgAdminStaffBack{width:34px;height:34px;border-radius:999px;border:1px solid rgba(255,255,255,.08);background:#ffffff0f;color:#ffffffdb;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.tgAdminStaffBack:hover{background:#ffffff1a}.tgAdminStaffTitle{display:flex;flex-direction:column;gap:4px}.tgAdminStaffTitle.tgAdminStaffTitleDetail{display:flex;flex-direction:row;align-items:center;gap:10px;flex-wrap:nowrap}.tgAdminStaffTitleText{font-weight:900;font-size:20px;color:#ffffffeb}.tgAdminStaffSubtitle{font-size:12px;color:#ffffff8c}.tgAdminStaffHeaderFilters{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.tgAdminStaffForm{display:flex;flex-direction:column;gap:16px;margin:0 16px 16px;animation:tgAdminFade .18s ease}.tgAdminStaffField{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#ffffffb3}.tgAdminStaffFieldReadonly .tgAdminStaffValue{background:#ffffff0f;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:10px 12px;color:#ffffffe6}.tgAdminStaffInput,.tgAdminStaffSelect{background:#ffffff0f;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:10px 12px;color:#ffffffe6;outline:none}.tgAdminStaffInput::-moz-placeholder{color:#ffffff73}.tgAdminStaffInput::placeholder{color:#ffffff73}.tgAdminStaffSelect{-webkit-appearance:none;-moz-appearance:none;appearance:none}.tgAdminStaffRow{display:flex;align-items:center;gap:12px}.tgAdminStaffBtn,.tgAdminStaffBtnPrimary{border:1px solid rgba(255,255,255,.12);background:#ffffff14;color:#ffffffeb;border-radius:12px;padding:10px 14px;cursor:pointer;transition:background .18s ease,border-color .18s ease;white-space:nowrap}.tgAdminStaffBtn:hover,.tgAdminStaffBtnPrimary:hover{background:#ffffff1f}.tgAdminStaffBtnPrimary{background:#0a84ff2e;border-color:#0a84ff66}.tgAdminStaffActions{display:flex;justify-content:flex-end}@keyframes tgAdminFade{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.tgAdminStaffIconBtn{width:34px;height:34px;border-radius:999px;border:1px solid rgba(255,255,255,.08);background:#ffffff0f;color:#ffffffdb;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .18s ease,border-color .18s ease}.tgAdminStaffIconBtn:hover{background:#ffffff1a}.tgAdminStaffIconBtn.isActive{border-color:#0a84ff99;background:#0a84ff38;color:#ddebff}.tgAdminStaffIconBtnSubmit{transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}.tgAdminStaffIconBtnSubmit.isReady{border-color:#34c759b3;background:#34c75938;color:#e9fff1}.tgAdminStaffSearchWrap,.tgAdminStaffFilterWrap{position:relative;display:inline-flex;align-items:center;gap:8px}.tgAdminStaffSearch{background:#ffffff0f;border-radius:12px;padding:8px 12px;border:1px solid rgba(255,255,255,.06);width:0;opacity:0;overflow:hidden;pointer-events:none;transition:width .2s ease,opacity .2s ease}.tgAdminStaffSearch.isOpen{width:240px;opacity:1;pointer-events:auto}.tgAdminStaffSearch input{width:100%;background:transparent;border:none;outline:none;color:#ffffffeb;font-size:14px}.tgAdminStaffFilterMenu{position:absolute;top:42px;right:0;min-width:160px;background:#1e1e1e;border:1px solid rgba(255,255,255,.08);border-radius:12px;box-shadow:0 18px 40px #00000073;padding:6px;z-index:3}.tgAdminStaffFilterItem{width:100%;text-align:left;background:transparent;border:none;color:#ffffffdb;padding:8px 10px;border-radius:8px;font-size:13px;cursor:pointer}.tgAdminStaffFilterItem:hover{background:#ffffff0f}.tgAdminStaffFilterItem.isActive{background:#0a84ff38;color:#ddebff}.tgAdminStaffList{display:flex;flex-direction:column;gap:10px;background:#171717;border-radius:20px;padding:12px;margin:0 16px 16px;border:1px solid rgba(255,255,255,.04)}.tgAdminAccessList{display:flex;flex-direction:column;gap:12px;margin:0 16px 16px}.tgAdminAccessIcon{width:34px;height:34px;border-radius:999px;background:#ff3b30d9;border:1px solid rgba(255,59,48,.6);color:#fff;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 6px 14px #ff3b3040}.tgAdminCameras .tgAdminAccessIcon{background:#5e5ce6d9;border-color:#5e5ce699;box-shadow:0 6px 14px #5e5ce640}.tgAdminCameraList{display:flex;flex-direction:column;gap:10px;margin:0 16px 16px}.tgAdminCameraThumb{width:42px;height:42px;border-radius:12px;background:#ffffff0f;border:1px solid rgba(255,255,255,.08);display:inline-flex;align-items:center;justify-content:center;color:#34c759;font-size:16px;overflow:hidden}.tgAdminCameraThumb img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}.tgAdminStaffRow.isInactive .tgAdminCameraThumb{color:#fff6}.tgAdminCameraDetail{display:grid;gap:14px;margin:0 16px 16px}.tgAdminCameraPreview{background:#171717;border:1px solid rgba(255,255,255,.08);border-radius:18px;aspect-ratio:16 / 9;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#ffffff80}.tgAdminCameraPreview img{width:100%;height:100%;display:block;-o-object-fit:cover;object-fit:cover}.tgAdminCameraActions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.tgAdminStaffBtnDanger{border-color:#ff3b3080;background:#ff3b302e;color:#ffecec}.tgAdminAccessRow{background:#171717;border-radius:18px;padding:12px;border:1px solid rgba(255,255,255,.04);display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.tgAdminAccessUser{display:flex;align-items:center;gap:12px;min-width:220px}.tgAdminAccessName{font-size:14px;font-weight:700;color:#ffffffeb}.tgAdminAccessSub{font-size:12px;color:#ffffff8c}.tgAdminAccessChecks{display:flex;flex-wrap:wrap;gap:10px 14px;justify-content:flex-end;flex:1 1 auto}.tgAdminAccessCheck{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#ffffffc7;background:#ffffff0f;border:1px solid rgba(255,255,255,.08);border-radius:999px;padding:6px 10px;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease}.tgAdminAccessCheck input{accent-color:#34C759}.tgAdminAccessCheck.isActive{background:#34c7592e;border-color:#34c75959;color:#e9fff1}.tgAdminAccessCheck input:disabled+span{opacity:.7}.tgMoreCameras,.tgMoreVideoAnalytics{display:flex;flex-direction:column;height:100%;width:100%}.tgMoreVideoAnalytics .tgAdminStaffHeader{width:100%;align-self:stretch}.tgMoreVideoAnalytics .tgAdminStaffHeaderLeft{flex:1 1 auto}.tgVaToolbar{padding:0 16px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.tgVaSearch{flex:1 1 auto;max-width:520px}.tgVaSearch.ant-input-affix-wrapper{height:36px!important;padding-top:0!important;padding-bottom:0!important;display:inline-flex!important;align-items:center!important}.tgVaSearch.ant-input-affix-wrapper .ant-input{height:100%!important}.tgVaBtnGroup{display:inline-flex;align-items:stretch;border-radius:14px;overflow:hidden;background:#ffffff0a;border:1px solid rgba(255,255,255,.1)}.tgVaBtn{height:36px;padding:0 12px;display:inline-flex;align-items:center;gap:8px;color:#ffffffeb}.tgVaBtn:hover{background:#ffffff0f!important}.tgVaBtnDivider{width:1px;background:#ffffff1a}.tgVaTable{padding:0 16px 16px}.tgVaTable .ant-table{background:#262626fa!important;border:1px solid rgba(255,255,255,.1);border-radius:18px;overflow:hidden}.tgVaTable .ant-table-container{border:none!important}.tgVaTable .ant-table-thead>tr>th{background:#262626fa!important;color:#ffffff9e!important;font-weight:900!important;border-bottom:1px solid rgba(255,255,255,.06)!important}.tgVaTable .ant-table-tbody>tr>td{background:transparent!important;border-bottom:1px solid rgba(255,255,255,.06)!important;color:#ffffffdb!important}.tgVaTable .ant-table-tbody>tr:hover>td{background:#ffffff0a!important}.tgVaTable .ant-pagination{padding:12px 12px 14px}.tgVaTime{line-height:1.2}.tgVaMuted{color:#ffffff8c;font-size:12px}.tgVaEventTag{border-radius:10px!important;padding:4px 10px!important;background:#34c75924!important;border:1px solid rgba(52,199,89,.22)!important;color:#34c759eb!important;font-weight:800;margin:0!important}.tgVaDetailsBtn{height:32px;color:#ffffffdb!important}.tgVaDetailsBtn:hover{background:#ffffff0f!important}.tgVaDrawer .ant-drawer-content{background:#171717!important;color:#ffffffe6}.tgVaDrawer .ant-drawer-header{background:#171717!important;border-bottom:1px solid rgba(255,255,255,.08)!important}.tgVaDrawer .ant-drawer-title{color:#ffffffeb!important;font-weight:900!important}.tgVaDrawerRow{display:grid;grid-template-columns:120px 1fr;gap:12px;align-items:start;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.06)}.tgVaDrawerRow.isColumn{grid-template-columns:1fr}.tgVaDrawerLabel{color:#ffffff8c;font-weight:900;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.tgVaDrawerValue{color:#ffffffdb}.tgVaJson{margin:0;padding:12px;border-radius:14px;background:#ffffff0a;border:1px solid rgba(255,255,255,.08);white-space:pre-wrap;word-break:break-word;font-size:12px;color:#ffffffdb}.tgVaLink{color:#5e5ce6;text-decoration:none}.tgVaLink:hover{text-decoration:underline}.tgVaImg{width:100%;max-width:520px;border-radius:14px;border:1px solid rgba(255,255,255,.1);display:block}.tgMoreDevices{display:flex;flex-direction:column;height:100%;width:100%}.tgMoreDevices .tgAdminStaffHeader{width:100%;align-self:stretch}.tgDeviceList{display:flex;flex-direction:column;gap:12px;padding:0 16px 16px}.tgDeviceCard{background:#171717;border:1px solid rgba(255,255,255,.06);border-radius:16px;overflow:hidden}.tgDeviceCardTitleRow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.06)}.tgDeviceCardTitle{padding:12px 14px;font-weight:900;color:#ffffffd9;border-bottom:1px solid rgba(255,255,255,.06)}.tgDeviceRow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px}.tgDeviceRow+.tgDeviceRow{border-top:1px solid rgba(255,255,255,.06)}.tgDeviceLeft{display:flex;align-items:center;gap:12px;min-width:0}.tgDeviceIconBox{width:36px;height:36px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.tgDeviceText{min-width:0}.tgDeviceName{font-weight:900;color:#ffffffeb;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tgDeviceBadge{margin-left:8px;font-size:11px;font-weight:900;color:#ffffffbf;background:#ffffff14;border:1px solid rgba(255,255,255,.1);border-radius:999px;padding:3px 8px}.tgDeviceSub{margin-top:4px;font-size:12px;color:#ffffff8c;display:flex;flex-wrap:wrap;gap:6px}.tgDeviceDot{opacity:.5}.tgDeviceKick{width:36px;height:36px;border-radius:12px;border:none;background:#ff3b3029;color:#ff3b30;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.tgDeviceKick:disabled{opacity:.5;cursor:default}.tgDeviceKickAll{height:34px;border-radius:12px;border:none;background:#ff3b3029;color:#ff3b30;font-weight:900;font-size:12px;padding:0 12px;cursor:pointer}.tgDeviceKickAll:disabled{opacity:.5;cursor:default}.tgMoreCameras .tgAdminStaffHeader{width:100%;align-self:stretch}.tgMoreCameras .tgAdminStaffBody{padding-top:12px}.tgMoreCameras .tgAdminStaffHeaderLeft{flex:1 1 auto}.tgMoreCameras .tgAdminAccessIcon{background:#5e5ce6d9;border-color:#5e5ce699;box-shadow:0 6px 14px #5e5ce640}.tgMoreCameraGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:0 16px 16px}@media(max-width:1180px){.tgMoreCameraGrid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:920px){.tgMoreCameraGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.tgMoreCameraGrid{grid-template-columns:1fr}}.tgMoreCameraSections{display:flex;flex-direction:column;gap:10px}.tgMoreCameraSectionHeader{padding:2px 16px 6px;display:flex;align-items:center;justify-content:space-between;gap:12px}.tgMoreCameraSectionTitle{font-weight:900;font-size:13px;color:#ffffff9e;text-transform:uppercase;letter-spacing:.04em}.tgMoreCameraSectionCount{font-weight:900;font-size:12px;color:#ffffff73;white-space:nowrap}.tgMoreCamerasToggle{display:inline-flex;align-items:center;gap:10px;padding:6px 10px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:#ffffff0a}.tgMoreCamerasToggleLabel{font-size:12px;font-weight:700;color:#ffffffbf;white-space:nowrap}.tgMoreCameraTile{background:#262626;border:1px solid rgba(255,255,255,0);border-radius:16px;padding:10px;display:flex;flex-direction:column;gap:8px;cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease}.tgMoreCameraTile:hover{transform:translateY(-2px);background:#1e1e1e;border-color:#ffffff1f}.tgMoreCameraPreview{position:relative;border-radius:12px;overflow:hidden;background:#ffffff0f;aspect-ratio:16 / 9;display:flex;align-items:center;justify-content:center;color:#ffffff80}.tgMoreCameraPreview img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block;color:transparent;font-size:0}.tgMoreCamPreviewSkeleton{position:absolute!important;top:0;right:0;bottom:0;left:0;width:100%!important;height:100%!important}.tgMoreCamPreviewSkeleton .ant-skeleton-image{width:100%!important;height:100%!important;border-radius:12px!important}.tgMoreCameraName{font-size:14px;font-weight:700;color:#ffffffeb}.tgMoreCameraStatus{font-size:12px;color:#fff9}.tgMoreCameraStatus.isActive{color:#34c759}.tgMoreCameraStatus.isInactive{color:#ffffff80}.tgMoreCameraCard{display:grid;gap:14px;margin:0 16px 16px}.tgCamDetail{display:flex;flex-direction:column;gap:14px;padding:0 16px 16px}.tgCamTopRow{display:grid;grid-template-columns:1.2fr 1fr;gap:14px;align-items:stretch}@media(max-width:980px){.tgCamTopRow{grid-template-columns:1fr}}.tgCamPreviewCard,.tgCamInfoCard,.tgCamEventsCard{background:#262626fa!important;border-radius:18px!important}.tgCamPreviewCard,.tgCamInfoCard{height:100%}.tgCamPreviewCard .ant-card-body,.tgCamInfoCard .ant-card-body,.tgCamEventsCard .ant-card-body{padding:14px!important}.tgCamPreviewHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.tgCamPreviewHeaderLeft{min-width:0}.tgCamPreviewTitle{font-weight:900;color:#ffffffeb;font-size:16px}.tgCamMuted{color:#ffffff8c;font-size:12px}.tgCamPreviewHeaderRight{display:flex;align-items:center;gap:10px;flex:0 0 auto}.tgCamLiveToggle{display:inline-flex;align-items:center;gap:8px}.tgCamIconBtn{width:36px;height:36px;border-radius:999px;background:#ffffff0a!important;border:1px solid rgba(255,255,255,.1)!important;display:inline-flex;align-items:center;justify-content:center;color:#ffffffe6!important}.tgCamIconBtn:hover{background:#ffffff0f!important}.tgCamPreviewFrame{position:relative;width:100%;aspect-ratio:16 / 9;border-radius:16px;overflow:hidden;background:#ffffff0d;border:1px solid rgba(255,255,255,.08)}.tgCamPreviewFrame img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block;color:transparent;font-size:0}.tgCamPreviewSkeleton{position:absolute!important;top:0;right:0;bottom:0;left:0;width:100%!important;height:100%!important}.tgCamPreviewSkeleton .ant-skeleton-image{width:100%!important;height:100%!important;border-radius:16px!important}.tgCamModalFrame .tgCamPreviewSkeleton{position:relative!important}.tgCamPreviewPlaceholder{height:100%;display:flex;align-items:center;justify-content:center;color:#fff9}.tgCamSectionTitle{font-weight:900;font-size:14px;color:#ffffffeb;margin-bottom:10px}.tgCamEventsHeader{display:flex;align-items:center;justify-content:space-between;gap:12px}.tgCamStatusOn{color:#34c759;font-weight:800}.tgCamStatusOff{color:#fff9;font-weight:800}.tgCamEventsTable .ant-table{background:transparent!important}.tgCamEventsTable .ant-table-thead>tr>th{background:transparent!important;color:#ffffff9e!important;font-weight:900!important;border-bottom:1px solid rgba(255,255,255,.06)!important}.tgCamEventsTable .ant-table-tbody>tr>td{background:transparent!important;border-bottom:1px solid rgba(255,255,255,.06)!important;color:#ffffffdb!important}.tgCamEventsTable .ant-table-tbody>tr:hover>td{background:#ffffff0a!important}.tgCamEventTag{border-radius:10px!important;padding:4px 10px!important;background:#34c75924!important;border:1px solid rgba(52,199,89,.22)!important;color:#34c759eb!important;font-weight:800;margin:0!important}.tgCamDetailsBtn{height:32px;color:#ffffffdb!important}.tgCamDetailsBtn:hover{background:#ffffff0f!important}.tgCamDrawer .ant-drawer-content{background:#171717!important;color:#ffffffe6}.tgCamDrawer .ant-drawer-header{background:#171717!important;border-bottom:1px solid rgba(255,255,255,.08)!important}.tgCamDrawer .ant-drawer-title{color:#ffffffeb!important;font-weight:900!important}.tgCamDrawerRow{display:grid;grid-template-columns:120px 1fr;gap:12px;align-items:start;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.06)}.tgCamDrawerRow.isColumn{grid-template-columns:1fr}.tgCamDrawerLabel{color:#ffffff8c;font-weight:900;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.tgCamDrawerValue{color:#ffffffdb}.tgCamJson{margin:0;padding:12px;border-radius:14px;background:#ffffff0a;border:1px solid rgba(255,255,255,.08);white-space:pre-wrap;word-break:break-word;font-size:12px;color:#ffffffdb}.tgCamLink{color:#5e5ce6;text-decoration:none}.tgCamLink:hover{text-decoration:underline}.tgCamImg{width:100%;max-width:520px;border-radius:14px;border:1px solid rgba(255,255,255,.1);display:block}.tgCamModalBody{padding:0}.tgCamModalFrame{width:100%;aspect-ratio:16 / 9;border-radius:16px;overflow:hidden;border:1px solid rgba(255,255,255,.1);background:#00000040}.tgCamModalFrame img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block;color:transparent;font-size:0}.tgAdminStaffRow{display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:16px;background:#222;border:1px solid rgba(255,255,255,.08);cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease}.tgAdminStaffRow:hover{background:#282828;border-color:#ffffff29;transform:translateY(-1px)}.tgAdminStaffRow.isInactive{opacity:.6}.tgAdminStaffAvatar{flex:0 0 auto}.tgAdminStaffMeta{display:flex;flex-direction:column;gap:6px;min-width:0}.tgAdminStaffTop{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.tgAdminStaffName{font-size:16px;font-weight:700;color:#fffffff0}.tgAdminStaffBadge{font-size:11px;font-weight:800;padding:4px 8px;border-radius:999px;background:#0a84ff38;color:#cfe2ff}.tgAdminStaffBadgeMuted{background:#ff950033;color:#ffd7a6}.tgAdminStaffSub{font-size:12px;color:#fff9;display:flex;gap:6px;flex-wrap:wrap}.tgAdminStaffEmpty{padding:18px;text-align:center;color:#fff9;background:#1e1e1e;border-radius:16px;border:1px dashed rgba(255,255,255,.08)}.tgAdminStaffBody{position:relative;min-height:220px;flex:1 1 auto;min-height:0;overflow:auto;padding-bottom:16px}.tgAdminStaffPane{transition:opacity .22s ease,transform .22s ease}.tgAdminStaffPane.isHidden{opacity:0;transform:translateY(8px);pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0}.tgAdminStaffPane.isActive{opacity:1;transform:translateY(0);position:relative}.tgAdminStaffDetail{display:grid;gap:12px;margin:0 16px 16px}.tgAdminStaffCard{background:#262626fa;border-radius:18px;padding:14px 16px;border:1px solid rgba(255,255,255,.12)}.tgAdminStaffCardTitle{font-weight:800;font-size:13px;color:#ffffffdb;margin-bottom:10px}.tgAdminStaffDetailRow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0;font-size:13px;color:#fff9;border-bottom:1px solid rgba(255,255,255,.05)}.tgAdminStaffDetailRow:last-child{border-bottom:none}.tgAdminStaffDetailRow strong{color:#ffffffeb;font-weight:700}.tgToastHost{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:9999;pointer-events:none}.tgToast{max-width:min(520px,calc(100vw - 44px));padding:12px 16px;border-radius:14px;background:#0000009e;color:#ffffffeb;font-weight:800;font-size:14px;letter-spacing:-.01em;text-align:center;box-shadow:0 14px 40px #00000073;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);opacity:0;transform:translateY(8px) scale(.98);transition:opacity .18s ease,transform .22s cubic-bezier(.22,1,.36,1)}.tgToast.tgToastOn{opacity:1;transform:translateY(0) scale(1)}.tgToast.tgToastOff{opacity:0;transform:translateY(8px) scale(.98)}@media(prefers-reduced-motion:reduce){.tgToast{transition:none}}.tgChatsHeader{padding:14px 16px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px}.tgChatsTitleBtn{display:inline-flex;align-items:center;gap:8px;background:transparent;border:none;cursor:pointer;color:#ffffffeb;font-weight:800;font-size:14px}.tgIconBtn{width:38px;height:38px;border-radius:14px;border:none;background:#ffffff0f;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#ffffffeb}.tgIconBtn:hover{background:#ffffff1a}.tgIconBtnActive{background:#ffffff1a;box-shadow:inset 0 0 0 2px #ffffff24}.tgSearch{padding:0 16px 12px}.tgSearch input{width:100%;height:38px;border-radius:16px;border:none;background:#ffffff0d;color:#ffffffeb;padding:0 12px;outline:none}.tgTabsPill{display:flex;gap:10px;background:#1e1e1e;border-radius:16px;margin:0 16px 4px;padding:6px}.tgTabPill{flex:1;height:32px;border-radius:12px;border:none;background:transparent;color:var(--tg-muted);cursor:pointer;font-weight:800}.tgTabPillActive{background:#ffffff14;color:#ffffffeb}.tgChatList{overflow:auto;padding:10px 10px 12px;flex:1;min-height:0}.tgListSwitcher{position:relative;flex:1;min-height:0;overflow:hidden}.tgListPane{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;min-height:0;transition:opacity .18s ease,transform .18s ease;will-change:opacity,transform}.tgListPaneChats{opacity:1;transform:translate(0);pointer-events:auto}.tgListPaneColleagues{opacity:0;transform:translate(10px);pointer-events:none}.tgListSwitcherColleagues .tgListPaneChats{opacity:0;transform:translate(-10px);pointer-events:none}.tgListSwitcherColleagues .tgListPaneColleagues{opacity:1;transform:translate(0);pointer-events:auto}.tgEmptyState{padding:18px 12px;color:#ffffff8c;font-size:13px;text-align:center}.tgChatItem{display:flex;gap:12px;padding:12px;border-radius:16px;cursor:pointer}.tgChatItem:hover{background:var(--tg-hover)}.tgChatItemActive{background:var(--tg-active)}.tgAvatar{width:44px;height:44px;border-radius:18px;position:relative;overflow:hidden;flex:0 0 auto;display:flex;align-items:center;justify-content:center}.tgAvatarText{color:#ffffffeb;font-weight:900;letter-spacing:.5px}.tgAvatarOverlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center}.tgOnlineDot{position:absolute;right:3px;bottom:3px;width:10px;height:10px;border-radius:999px;background:#34c759;box-shadow:0 0 0 2px #0000008c}.tgChatMeta{min-width:0;flex:1;display:flex;flex-direction:column;gap:6px}.tgChatTop{display:flex;align-items:center;justify-content:space-between;gap:10px}.tgChatName{font-weight:900;color:#ffffffeb;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tgChatTime{color:var(--tg-muted2);font-size:12px}.tgChatTime{display:inline-flex;align-items:center;gap:6px}.tgUnreadBadge{min-width:18px;height:18px;padding:0 6px;border-radius:999px;background:#2aabee;color:#fff;font-size:11px;font-weight:800;line-height:18px;text-align:center}.tgChatListChecks{margin-left:2px;color:#ffffffb3}.tgChatListChecksSaved,.tgChatNameSaved{color:#2aabee}.tgChatPreviewSaved{color:#2aabeed9}.tgChatPreview{color:var(--tg-muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tgMain{flex:1;min-width:0;display:flex;flex-direction:column;background:#262626;overflow:hidden;min-height:0}.tgMainEmpty{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:24px;background:#1e1e1e;border-top-left-radius:22px}.tgMainEmpty.tgMainEmptyScroll{align-items:stretch;justify-content:flex-start;overflow:auto;padding:18px}.tgMainEmpty.tgMainEmptyAdmin{padding:0;overflow:hidden}.tgMainEmpty.tgMainEmptyCameras,.tgMainEmpty.tgMainEmptyVideoAnalytics,.tgMainEmpty.tgMainEmptyDevices,.tgMainEmpty.tgMainEmptyDashboard{padding:0;align-items:stretch;justify-content:flex-start;overflow:hidden}.tgMainEmptyTitle{font-weight:900;color:#ffffff8c;font-size:14px}.tgDashToolbar{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0;border-radius:0;background:transparent;border:none;backdrop-filter:none;-webkit-backdrop-filter:none}.tgDashToolbarLeft{flex:0 0 clamp(220px,28%,360px);min-width:200px}.tgDashToolbarRight{display:flex;align-items:center;gap:10px;flex:0 0 auto}.tgDashSearch{width:100%}.tgDashSearch.ant-input-affix-wrapper{height:36px!important;padding-top:0!important;padding-bottom:0!important;display:inline-flex!important;align-items:center!important}.tgDashSearch.ant-input-affix-wrapper .ant-input{height:100%!important}.tgDashTopGrid{display:grid;gap:14px}.tgDashTopGrid.isTwoCols{grid-template-columns:1fr 1fr}.tgDashTopGrid.isOneCol{grid-template-columns:1fr}.tgDashTablesGrid{display:grid;gap:14px}.tgDashTablesGrid.isTwoCols{grid-template-columns:1fr 1fr}.tgDashTablesGrid.isOneCol{grid-template-columns:1fr}.tgDashCard{background:#262626fa!important;border-radius:18px!important}.tgDashCard .ant-card-body{padding:16px!important}.tgDashSectionTitle{font-weight:900;font-size:18px;color:#ffffffeb;margin:2px 6px 12px}.tgDashCardTitle{margin:0 0 10px!important;color:#ffffffeb!important;font-weight:900!important}.tgDashMuted{color:#ffffff8c;font-size:12px}.tgDashTrend{margin-top:8px;display:flex;align-items:center;gap:8px}.tgDashTrendUp{color:#34c759;font-weight:800;font-size:12px}.tgDashCardSplit{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}.tgDashCardSplitItem{min-width:0}.tgDashPersonCell{display:flex;align-items:center;gap:10px;min-width:0}.tgDashPersonText{min-width:0}.tgDashPersonName{font-weight:900;color:#ffffffeb;line-height:1.2}.tgDashPersonSub{font-size:12px;color:#ffffff8c;line-height:1.2}.tgDashPill{border-radius:10px!important;padding:4px 10px!important;background:#f6c94c29!important;border:1px solid rgba(246,201,76,.22)!important;color:#f6c94ceb!important;font-weight:800;font-size:12px;margin:0!important}.tgDashPill.isWide{width:100%;display:inline-flex!important;align-items:center;justify-content:center}.tgDashScheduleWrap{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.tgDashScheduleItem{display:inline-flex;align-items:center;gap:6px}.tgDashScheduleDay{font-size:11px;font-weight:900;color:#ffffff8c;min-width:22px;text-align:right}.tgDashProductCell{display:flex;align-items:center;gap:10px;min-width:0}.tgDashProductIcon{width:28px;height:28px;border-radius:8px;background:linear-gradient(180deg,#ffffff1a,#ffffff0a);border:1px solid rgba(255,255,255,.1);flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;overflow:hidden}.tgDashProductIconImg{width:22px;height:22px;-o-object-fit:contain;object-fit:contain;display:block}.tgDashProductText{min-width:0}.tgDashProductName{font-weight:900;color:#ffffffeb;line-height:1.2}.tgDashProductSub{font-size:12px;color:#ffffff8c;line-height:1.2}.tgDashMoneyCell{display:flex;flex-direction:column;align-items:flex-end;line-height:1.15}.tgDashMoneyTop{font-weight:900;color:#f6c94ceb}.tgDashMoneyBottom{color:#ffffffb3;font-size:12px}.tgDashTableCard .ant-card-body{padding:12px!important}.tgDashTableHeader{display:flex;align-items:center;justify-content:space-between;padding:6px 6px 10px}.tgDashTableTitle,.tgDashTableTitleRight{font-weight:900;color:#ffffff9e;font-size:12px}.tgDashTable .ant-table{background:transparent!important}.tgDashTable .ant-table-container{border:none!important}.tgDashTable .ant-table-thead>tr>th{background:transparent!important;color:#ffffff8c!important;font-weight:900!important;border-bottom:1px solid rgba(255,255,255,.06)!important}.tgDashTable .ant-table-tbody>tr>td{background:transparent!important;border-bottom:1px solid rgba(255,255,255,.06)!important;color:#ffffffdb!important}.tgDashTable .ant-table-tbody>tr:hover>td{background:#ffffff0a!important}.tgDashBtnGroup{display:inline-flex;align-items:stretch;border-radius:14px;overflow:hidden;background:#ffffff0a;border:1px solid rgba(255,255,255,.1)}.tgDashBtn{height:36px;padding:0 12px;display:inline-flex;align-items:center;gap:8px;color:#ffffffeb}.tgDashBtn:hover{background:#ffffff0f!important}.tgDashBtnDivider{width:1px;background:#ffffff1a}.tgDashFilterBtn{width:36px!important;min-width:36px!important;height:36px!important;padding:0!important;display:inline-flex;align-items:center;justify-content:center;border-radius:50%!important;background:#ffffff0a;border:1px solid rgba(255,255,255,.1)}.tgDashFilterBtn:hover{background:#ffffff0f!important}.tgMoreMenuItem.isActive{background:#ffffff0f}.tgAbout{width:100%;max-width:1200px;margin:0 auto}.tgAboutHeader{text-align:center;margin-bottom:18px}.tgAboutAppName{font-weight:900;font-size:22px;color:#ffffffeb}.tgAboutTagline{margin-top:6px;color:#fff9;font-size:14px}.tgAboutSectionTitle{font-weight:900;color:#ffffffbf;font-size:13px;margin:14px 0 10px}.tgAboutCards{display:flex;flex-direction:column;gap:10px}.tgAboutCard{background:#262626;border-radius:18px;padding:14px;display:flex;gap:12px;align-items:center}.tgAboutCardIcon{width:32px;height:32px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.tgAboutCardText{min-width:0}.tgAboutCardTitle{font-weight:900;color:#ffffffeb;font-size:14px}.tgAboutCardDesc{margin-top:4px;color:#ffffff8c;font-size:13px}.tgAboutFooter{margin-top:18px;text-align:center}.tgAboutFooterLine{color:#ffffff73;font-size:12px;margin-top:6px}.tgAboutSplit{display:flex;align-items:stretch;gap:14px}.tgAboutLeft{flex:1 1 520px;min-width:0}.tgAboutRight{flex:0 0 auto;width:0px;overflow:hidden;opacity:0;transform:translate(16px);pointer-events:none;transition:width .42s cubic-bezier(.22,1,.36,1),opacity .28s ease,transform .42s cubic-bezier(.22,1,.36,1)}.tgAboutRightActive{width:380px;opacity:1;transform:translate(0);pointer-events:auto}.tgChangelogBlock{margin-top:14px;background:#1e1e1e;border-radius:18px;overflow:hidden}.tgChangelogTop{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border:none;cursor:pointer;background:#1e1e1e;color:#ffffffeb}.tgChangelogTop:hover{background:#262626}.tgChangelogTitle{font-weight:900}.tgChangelogChevron{display:inline-flex;opacity:.85;transform:rotate(0);transition:transform .22s ease,opacity .22s ease}.tgChangelogChevronOpen{transform:rotate(180deg);opacity:1}.tgChangelogBody{max-height:380px;transition:max-height .26s ease,opacity .22s ease;opacity:1}.tgChangelogClosed .tgChangelogBody{max-height:0px;opacity:0}.tgChangelogList{padding:10px 12px 12px;display:flex;flex-direction:column;gap:8px;max-height:360px;overflow-y:auto;overflow-x:hidden}.tgChangelogItem{text-align:left;border:none;background:#262626;color:#ffffffe6;border-radius:16px;padding:10px 12px;cursor:pointer;transition:transform .16s ease,background .16s ease}.tgChangelogItem:hover{background:#262626eb;transform:translateY(-1px)}.tgChangelogItemActive{outline:2px solid rgba(42,171,238,.45)}.tgChangelogItemTop{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.tgChangelogItemVersion{font-weight:900}.tgChangelogItemDate{font-weight:800;font-size:12px;color:#ffffff94}.tgChangelogItemName{margin-top:4px;font-weight:800;color:#ffffffc7}.tgReleaseCard{height:100%;background:#1e1e1e;border-radius:18px;padding:14px}.tgReleaseCardEmpty{background:transparent}.tgReleaseTop{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.tgReleaseTopLeft{min-width:0}.tgReleaseClose{width:34px;height:34px;border-radius:10px;border:none;background:#262626;color:#ffffffd9;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:0 0 auto;transition:transform .16s ease,background .16s ease,color .16s ease}.tgReleaseClose:hover{background:#262626eb;color:#fffffff2;transform:translateY(-1px)}.tgReleaseTitle{font-weight:900;font-size:18px;color:#ffffffeb}.tgReleaseMeta{font-size:12px;font-weight:800;color:#ffffff94}.tgReleaseSubtitle{margin-top:6px;font-weight:900;color:#ffffffc7}.tgReleaseList{margin-top:12px;display:flex;flex-direction:column;gap:10px}.tgReleaseBullet{display:flex;align-items:flex-start;gap:10px;color:#ffffffc7;font-weight:750;line-height:1.35}.tgReleaseDot{width:8px;height:8px;border-radius:999px;background:#2aabee;margin-top:6px;flex:0 0 auto}.tgReleaseText{min-width:0}.tgReleaseEmpty{height:100%;background:#1e1e1e;border-radius:18px;padding:14px;color:#ffffffb3}.tgReleaseEmptyTitle{font-weight:900;color:#ffffffe6}.tgReleaseEmptyDesc{margin-top:6px;font-weight:750;color:#ffffff94}@media(max-width:920px){.tgAboutSplit{display:flex;flex-direction:column}.tgAboutRight{flex:1 1 auto;min-width:0;transform:translateY(10px)}.tgAboutRightActive{transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.tgAboutRight{transition:none;transform:none}.tgAboutRightActive{transform:none}}.tgMainHeader{height:62px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;background:#262626}.tgMainBackBtn{width:36px;height:36px;border-radius:999px;border:1px solid rgba(255,255,255,.08);background:#ffffff0f;color:#ffffffe6;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:0 0 auto}.tgMainBackBtn:hover{background:#ffffff1a}.tgMainTitle{display:flex;align-items:center;gap:12px;min-width:0}.tgMainTitleText{min-width:0}.tgMainName{font-weight:900;font-size:16px;color:#ffffffeb}.tgMainStatus{font-size:12px;color:var(--tg-muted2);margin-top:2px}.tgMainActions{display:flex;gap:10px}.tgMessages{flex:1;position:relative;overflow:hidden;isolation:isolate;min-height:0;border-radius:20px 0 0 20px;background-color:#1e1e1e}.tgScrollDownBtn{position:absolute;right:20px;bottom:16px;width:44px;height:44px;border-radius:999px;border:1px solid rgba(255,255,255,.08);background:#2c2c2ef2;color:#ffffffe6;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 8px 24px #00000059;opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .18s ease,transform .18s ease;z-index:2}.tgScrollDownVisible{opacity:1;transform:translateY(0);pointer-events:auto}.tgScrollDownHidden{opacity:0;transform:translateY(8px);pointer-events:none}.tgScrollDownBadge{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#2aabee;color:#fff;font-size:10px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.tgMessagesBg{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;background-color:transparent;background-position:0 0;background-repeat:repeat;background-size:50% auto;opacity:.1;background-image:url(/assets/first_background_chat-D6J8020L.png);background-image:-webkit-image-set(url(/assets/first_background_chat-D6J8020L.png) 1x,url(/assets/first_background_chat-D6J8020L.png) 2x,url(/assets/first_background_chat-D6J8020L.png) 3x);background-image:image-set(url(/assets/first_background_chat-D6J8020L.png) 1x,url(/assets/first_background_chat-D6J8020L.png) 2x,url(/assets/first_background_chat-D6J8020L.png) 3x)}.tgMessagesScroll{height:100%;overflow-y:auto;overflow-x:hidden;overflow-anchor:none;-webkit-overflow-scrolling:touch;padding:10px 18px 12px;position:relative;z-index:1;background:transparent;display:flex;flex-direction:column}.tgMessagesInner{display:flex;flex-direction:column;flex:1 0 auto;justify-content:flex-end;position:relative;z-index:1}.tgChatMsgRow{display:flex;margin-bottom:3px;position:relative;z-index:1}.tgChatMsgGrouped{margin-bottom:2px}.tgChatMsgMe{justify-content:flex-end}.tgChatMsgOther{justify-content:flex-start}.tgChatMsgNew{animation:tgMsgIn .18s ease-out both}@keyframes tgMsgIn{0%{opacity:0}to{opacity:1}}.tgChatTypingBubble{display:inline-flex;align-items:center;gap:4px;padding:8px 12px;min-height:32px}.tgTypingDot{display:inline-block;font-size:18px;line-height:1;opacity:.35;animation:tgTypingPulse .9s ease-in-out infinite}.tgTypingDot2{animation-delay:.15s}.tgTypingDot3{animation-delay:.3s}@keyframes tgTypingPulse{0%,to{transform:translateY(0);opacity:.35}50%{transform:translateY(-2px);opacity:.85}}.tgDateChipWrap{display:flex;justify-content:center;position:relative;z-index:1;margin:10px 0}.tgDateChip{padding:4px 12px;border-radius:12px;background:#0000008c;color:#ffffffeb;font-size:12px;font-weight:600}.tgChatBubble{max-width:85%;min-width:0;padding:6px 10px;border-radius:18px;border:1px solid rgba(255,255,255,.14);position:relative}.tgChatBubbleMe{background:transparent;border-color:#ffffff29}.tgChatBubbleMe:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;pointer-events:none;z-index:0;background-image:linear-gradient(180deg,#c14cff,#ff4fd8 32%,#2aabee);background-attachment:fixed;background-repeat:no-repeat;background-size:100vw 100vh;background-position:0 0}.tgChatBubbleOther{background:#2b2b2b;border-color:#3a3a3a}.tgChatBubbleBody{display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;gap:8px;position:relative;z-index:1}.tgChatBubbleHasReply .tgChatBubbleBody{flex-direction:column;align-items:stretch;justify-content:flex-start;gap:6px}.tgChatBubbleHasMedia{padding:6px}.tgChatBubbleHasMedia .tgChatBubbleBody{flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px}.tgChatBubbleHasMedia .tgChatBubbleMeta{align-self:flex-end}.tgChatBubbleHasVoice{padding:8px 10px}.tgChatBubbleHasVoice .tgChatBubbleBody{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:2px}.tgChatBubbleHasVoice .tgChatBubbleMeta{align-self:flex-end;margin-top:-1px}.tgVoiceMetaTime{font-size:11px;font-weight:600;color:#ffffff8c}.tgVoiceMetaSep{opacity:.7;margin:0 2px}.tgVoicePlayIcon{transform:translate(1px)}.tgChatMediaGrid{display:grid;gap:2px;width:300px;max-width:100%;border-radius:14px;overflow:hidden;background:#ffffff0f}.tgChatMediaGridCount1{grid-template-columns:1fr;width:340px;max-width:100%}.tgChatMediaGridCount2,.tgChatMediaGridCount3,.tgChatMediaGridCount4{grid-template-columns:repeat(2,1fr)}.tgChatMediaGridCount5,.tgChatMediaGridCount6{grid-template-columns:repeat(3,1fr)}.tgChatMediaTile{position:relative;background:#0003;border:none;padding:0;cursor:pointer}.tgChatMediaTile:before{content:"";display:block;padding-top:100%}.tgChatMediaGridCount1 .tgChatMediaTile:before{padding-top:70%}.tgChatMediaGridCount1 .tgChatMediaTile{border-radius:14px}.tgChatMediaGridCount3 .tgChatMediaTileBig:before{padding-top:200%}.tgChatMediaGridCount3 .tgChatMediaTileBig{grid-row:span 2}.tgChatMediaImg,.tgChatMediaVideo{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;background:#000}.tgChatMediaVideo{display:block}.tgChatMediaPlayOverlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:18px;color:#ffffffeb;text-shadow:0 6px 18px rgba(0,0,0,.65);background:radial-gradient(circle at center,#00000040,#0000 70%);pointer-events:none}.tgChatMediaFile{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:10px;text-align:center}.tgChatMediaFileName{font-size:12px;font-weight:900;color:#ffffffd9;word-break:break-word}.tgChatBubbleText{color:#ffffffe6;font-size:16px;line-height:21px;white-space:pre-wrap;word-break:break-word;flex:1 1 auto;min-width:0}.tgReplyPreview{border-left:3px solid rgba(42,171,238,1);padding:6px 8px;margin-bottom:6px;background:#0000001f;border-radius:8px;width:100%;align-self:stretch}.tgReplyPreviewTitle{font-size:12px;font-weight:700;color:#2aabee;margin-bottom:2px}.tgReplyPreviewText{font-size:12px;color:#ffffffd1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tgVoice{display:inline-flex;flex-direction:column;gap:6px;min-width:280px;max-width:min(520px,78vw);-webkit-user-select:none;-moz-user-select:none;user-select:none}.tgVoiceTopRow{display:flex;align-items:center;gap:12px}.tgVoiceBottomRow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-left:54px}.tgVoicePlay{width:38px;height:38px;border-radius:999px;border:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:0 0 auto;position:relative;padding:0;line-height:0}.tgVoiceMe .tgVoicePlay,.tgVoiceOther .tgVoicePlay{background:#2aabee;color:#ffffffeb}.tgVoiceWave{position:relative;flex:1 1 auto;height:24px;border-radius:10px;cursor:pointer}.tgVoiceBars{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:flex-end;gap:2px;padding:0 2px;opacity:.35}.tgVoiceBarsFill{opacity:1;clip-path:inset(0 calc((1 - var(--tg-voice-progress, 0)) * 100%) 0 0)}.tgVoiceBar{width:2px;border-radius:999px;display:inline-block}.tgVoiceMe .tgVoiceBar{background:#ffffffeb}.tgVoiceOther .tgVoiceBar{background:#ffffffd9}.tgVoiceInfo{font-size:13px;font-weight:800;color:#ffffff94}.tgVoiceDotOnPlay{position:absolute;right:-2px;top:-2px;width:10px;height:10px;border-radius:999px;background:#2aabee;box-shadow:0 0 0 2px #1e1e1e;pointer-events:none}.tgVoiceAa{width:38px;height:30px;border-radius:10px;border:none;background:#ffffff14;color:#ffffffd9;font-weight:900;font-size:12px;cursor:pointer;flex:0 0 auto}.tgVoiceAaOn{background:#ffffff1f;color:#fffffff2}.tgVoiceTranscript{margin-top:8px;width:100%;padding:10px;border-radius:14px;background:#00000038;border:1px solid rgba(255,255,255,.1);color:#ffffffe0;font-size:14px;line-height:20px;box-sizing:border-box;max-width:100%;min-width:0;overflow-wrap:anywhere}.tgVoiceTranscriptHint{color:#ffffffb8;font-weight:750}.tgVoiceTranscriptError{color:#ffffffd1}.tgVoiceTranscriptText{color:#ffffffeb;font-weight:700;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;max-width:100%;min-width:0}.tgChatBubbleMe .tgChatBubbleText{color:#fff}.tgChatBubbleOther .tgChatBubbleText{color:#ffffffeb}.tgChatBubbleMeta{display:inline-flex;justify-content:flex-end;align-items:center;gap:6px;color:#ffffff8c;font-size:11px;flex:0 0 auto}.tgChatBubbleMetaInline .tgChatBubbleBody{padding-right:0}.tgMsgMainRow{display:flex;align-items:flex-end;gap:8px}.tgMsgMainText{flex:1 1 auto;min-width:0}.tgMsgMainMeta{display:inline-flex;align-items:center;gap:6px;color:#ffffff8c;font-size:11px;flex:0 0 auto;white-space:nowrap}.tgCtxMenuRoot{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999}.tgCtxMenuBackdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000002e}.tgChatBubbleCtxActive{outline:2px solid rgba(42,171,238,.55);outline-offset:2px}.tgCtxMenu{position:absolute;background:#2c2c2efa;border:1px solid rgba(255,255,255,.08);border-radius:14px;overflow:hidden;box-shadow:0 16px 40px #00000059}.tgCtxMenuItem{width:100%;display:flex;align-items:center;gap:10px;padding:10px 12px;background:transparent;border:none;color:#ffffffeb;font-size:14px;cursor:pointer}.tgCtxMenuItem:hover{background:#ffffff14}.tgCtxMenuItemDanger{color:#ff3b30}.tgChatBubbleMe .tgChatBubbleMeta{color:#ffffffc7}.tgChatBubbleOther .tgChatBubbleMeta{color:#ffffff8c}.tgReadIndicator{margin-left:4px;min-width:18px;height:14px;display:inline-flex;align-items:center}.tgSingleCheckContainer{width:14px;height:14px;display:inline-flex;align-items:center;justify-content:center}.tgDoubleCheckContainer{position:relative;width:20px;height:14px}.tgCheckIcon{color:currentColor}.tgCheckSingle{opacity:.55}.tgCheckFirst{position:absolute;left:0;top:0;opacity:.8}.tgCheckSecond{position:absolute;left:6px;top:0;opacity:.8}.tgMsg{display:flex;gap:12px;margin-bottom:16px}.tgMsgMe{flex-direction:row-reverse}.tgMsgBlock{max-width:min(720px,78%);min-width:0}.tgMsgTop{display:flex;align-items:baseline;gap:10px;margin-bottom:6px}.tgMsgName{font-weight:900;color:#ffffffeb;font-size:13px}.tgMsgTime{color:var(--tg-muted2);font-size:11px}.tgMsgText{color:#ffffffdb;font-size:13px;line-height:1.45;white-space:pre-wrap}.tgComposer{padding:12px 16px 16px;background-color:#262626}.tgReplyBar{display:flex;align-items:center;gap:10px;background:#1e1e1e;border-radius:14px;padding:8px 10px;margin-bottom:8px;border-left:3px solid rgba(42,171,238,1)}.tgReplyBarTitle{font-size:12px;font-weight:700;color:#2aabee}.tgReplyBarText{flex:1 1 auto;font-size:12px;color:#fffc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tgReplyBarClose{width:24px;height:24px;border:none;background:transparent;color:#fff9;border-radius:8px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.tgReplyBarClose:hover{background:#ffffff14}.tgMaintOverlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#101010f5;display:flex;align-items:center;justify-content:center}.tgMaintContent{display:flex;flex-direction:column;align-items:center;gap:16px;padding:24px;text-align:center}.tgMaintGif{width:210px;height:210px}.tgMaintTitle{font-size:24px;font-weight:800;color:#fffffff2}.tgMaintSubtitle{font-size:15px;line-height:22px;color:#ffffffbf;max-width:360px}.tgMaintButton{margin-top:4px;padding:10px 16px;border-radius:14px;border:1px solid rgba(255,255,255,.15);background:#ffffff0f;color:#ffffffe6;cursor:pointer}.tgMaintButton:disabled{opacity:.6;cursor:default}.tgPinnedBar{margin:0;border-radius:0;background:#262626;border-bottom:1px solid rgba(255,255,255,.08)}.tgPinnedBarContent{display:flex;align-items:center;gap:10px;padding:10px 16px;cursor:pointer;color:#ffffffe6}.tgPinnedTextBox{flex:1 1 auto;min-width:0}.tgPinnedLabel{font-size:12px;font-weight:600;color:#2aabee;margin-bottom:2px}.tgPinnedText{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tgPinnedClose{border:none;background:transparent;color:#ffffffb3;cursor:pointer;padding:4px}.tgPinnedClose:hover{background:#ffffff14;border-radius:8px}.tgComposerRow{display:flex;gap:10px;align-items:center;background:#1e1e1e;border:none;border-radius:20px;padding:10px 12px}.tgRecBar{flex:1;min-width:0;height:44px;display:flex;align-items:center;gap:10px;padding:0 10px;border-radius:14px;background:#ffffff0f;border:1px solid rgba(255,255,255,.08)}.tgRecDot{width:10px;height:10px;border-radius:50%;background:#ff3b30;box-shadow:0 0 0 4px #ff3b302e}.tgRecTime{font-size:13px;font-weight:700;letter-spacing:.2px;color:#ffffffd1;width:48px;text-align:left}.tgRecWave{flex:1;min-width:0;height:26px;overflow:hidden}.tgRecCanvas{width:100%;height:100%;display:block}.tgRecBtn{width:38px;height:38px;border-radius:50%;border:0;background:#ffffff14;color:#ffffffeb;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.tgRecBtn:hover{background:#ffffff1f}.tgRecBtnCancel{background:#ff3b3029}.tgRecBtnCancel:hover{background:#ff3b3038}.tgRecBtnSend{background:#2aabeef2}.tgRecBtnSend:hover{background:#2aabee}.tgCallOverlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;display:flex;align-items:stretch;justify-content:stretch;color:#fff}.tgCallBackdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#000000b8}.tgCallBg{position:absolute;top:0;right:0;bottom:0;left:0}.tgCallBgInner{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(80% 80% at 50% 25%,#2aabee38,#0000 55%),#0b0b0f}.tgCallRemoteVideo{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;filter:saturate(1.05) contrast(1.02)}.tgCallContent{position:relative;flex:1;display:flex;flex-direction:column;padding:22px 20px 18px}.tgCallTop{display:flex;justify-content:center;padding-top:10px}.tgCallTopLabel{color:#ffffffad;font-weight:700;font-size:14px;letter-spacing:.2px}.tgCallCenter{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-bottom:54px}.tgCallAvatarPulse{width:132px;height:132px;border-radius:66px;box-shadow:0 0 0 8px #ffffff0f}.tgCallName{margin-top:14px;font-size:30px;font-weight:900;line-height:36px;text-align:center;padding:0 12px;color:#fffffffa}.tgCallLocalPip{position:absolute;right:16px;top:84px;width:126px;height:176px;border-radius:16px;-o-object-fit:cover;object-fit:cover;background:#00000059;border:1px solid rgba(255,255,255,.12);overflow:hidden}.tgCallBottom{width:100%;display:flex;justify-content:center;padding-bottom:10px}.tgCallBottomBar{width:min(520px,calc(100% - 24px));border-radius:26px;padding:14px 10px;border:1px solid rgba(255,255,255,.12);background:#1414186b;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.tgCallBtnRow{display:flex;align-items:center;justify-content:center;gap:16px}.tgCallActionCol{border:none;background:transparent;color:#fffffff2;display:inline-flex;flex-direction:column;align-items:center;gap:8px;cursor:pointer;min-width:92px}.tgCallActionLabel{font-size:12px;font-weight:700;color:#ffffffbf}.tgCallCircle{width:58px;height:58px;border-radius:29px;display:inline-flex;align-items:center;justify-content:center;color:#fffffff2}.tgCallReject{background:#ff3b30eb}.tgCallAccept{background:#34c759eb}.tgCallMid{background:#ffffff1f}.tgComposerIcon{width:38px;height:38px;border-radius:14px;border:none;background:transparent;color:#ffffffc7;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.tgComposerIcon:hover{background:#ffffff0f}.tgComposerIconActive{background:#ffffff14}.tgFileInputHidden{display:none}.tgEmojiWrap{position:relative;display:inline-flex}.tgEmojiPopover{position:absolute;left:0;bottom:calc(100% + 10px);width:320px;max-height:360px;overflow-y:auto;overflow-x:hidden;background:#1e1e1e;border-radius:18px;border:1px solid rgba(255,255,255,.06);box-shadow:0 14px 40px #0000008c;padding:0;z-index:50}.tgEmojiPopover *{box-sizing:border-box}.tgEmojiTop{position:sticky;top:0;z-index:10;padding:12px 12px 10px;background:#1e1e1e;border-top-left-radius:18px;border-top-right-radius:18px;border-bottom:1px solid rgba(255,255,255,.06)}.tgEmojiContent{padding:12px}.tgEmojiSearch{width:100%;height:34px;border-radius:14px;border:none;outline:none;padding:0 12px;background:#ffffff0f;color:#ffffffeb;font-size:13px}.tgEmojiSearch::-moz-placeholder{color:#ffffff61}.tgEmojiSearch::placeholder{color:#ffffff61}.tgEmojiCats{margin-top:10px;display:flex;gap:6px;padding:6px;background:#ffffff0a;border-radius:16px;overflow:hidden}.tgEmojiCatBtn{width:34px;height:34px;border-radius:12px;border:none;background:transparent;cursor:pointer;font-size:18px;line-height:1;display:inline-flex;align-items:center;justify-content:center;color:#ffffffd1}.tgEmojiCatBtn:hover{background:#ffffff0f}.tgEmojiCatBtn.isActive{background:#ffffff14}.tgEmojiSection+.tgEmojiSection{margin-top:12px}.tgEmojiSectionTitle{font-size:12px;font-weight:900;color:#ffffffb3;margin:2px 4px 10px}.tgEmojiGrid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px}.tgEmojiGridRecent{grid-template-columns:repeat(8,minmax(0,1fr))}.tgEmojiBtn{width:100%;aspect-ratio:1 / 1;border-radius:12px;border:none;background:transparent;cursor:pointer;font-size:20px;line-height:1;display:inline-flex;align-items:center;justify-content:center}.tgEmojiBtn:hover{background:#ffffff0f}.tgEmojiNoResults{padding:18px 10px 8px;color:#ffffff8c;font-weight:900;font-size:13px;text-align:center}.tgComposerInput{flex:1;min-width:0;border:none;outline:none;background:transparent;color:#ffffffeb;font-size:14px}.tgComposerInput::-moz-placeholder{color:#ffffff61}.tgComposerInput::placeholder{color:#ffffff61}.tgComposerSend{width:44px;height:44px;border-radius:16px;border:none;background:#ffffff0f;color:#ffffffeb;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.tgComposerSend:hover{background:#ffffff1a}.tgRight{width:360px;padding-bottom:12px;background:#262626;min-height:0}.tgRight{transition:width .22s ease,opacity .22s ease;overflow:hidden}.tgRightClosed{width:0px;opacity:0;pointer-events:none}.tgRightOpen{width:360px;opacity:1}.tgRightHeader{height:62px;padding:0 16px;display:flex;align-items:center;justify-content:space-between}.tgRightTitle{font-weight:900;font-size:14px;color:#ffffffeb}.tgRightBody{padding:10px 16px 12px;display:flex;flex-direction:column;gap:12px;min-height:0;overflow:auto}.tgUserCard{border-radius:18px;background:#1e1e1e;border:1px solid rgba(255,255,255,.06);padding:14px}.tgUserCardTop{display:flex;align-items:center;gap:12px}.tgUserCardText{min-width:0}.tgUserCardName{font-weight:900;color:#ffffffeb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tgUserCardPhone{margin-top:4px;font-size:12px;color:#ffffffa3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tgUserCardError{margin-top:10px;font-size:12px;color:#ffffffa6}.tgRightTabs{display:flex;gap:8px;padding:6px;background:#1e1e1e;border-radius:16px}.tgRightTab{flex:1;height:36px;border:none;border-radius:12px;background:transparent;color:#ffffffb3;font-weight:900;font-size:12px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}.tgRightTab.isActive{background:#262626;color:#ffffffeb;box-shadow:none}.tgRightTabCount{min-width:20px;height:18px;padding:0 6px;border-radius:999px;background:#ffffff14;color:#ffffffb8;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:900}.tgRightTab.isActive .tgRightTabCount{background:#ffffff1a;color:#ffffffe0}.tgRightTabPanel{border-radius:18px;background:#1e1e1e;border:1px solid rgba(255,255,255,.06);padding:12px;min-height:140px}.tgRightMediaGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.tgRightMediaTile{position:relative;aspect-ratio:1 / 1;border-radius:14px;overflow:hidden;background:#ffffff0f;display:block;border:none;padding:0;cursor:pointer}.tgRightMediaImg{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}.tgRightMediaPlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:18px;color:#ffffffeb;text-shadow:0 6px 18px rgba(0,0,0,.65);background:radial-gradient(circle at center,#00000040,#0000 70%)}.tgMediaViewerOverlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;background:#000000bd;display:flex;flex-direction:column}.tgMediaViewerTop{height:56px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;background:#1e1e1eeb;border-bottom:1px solid rgba(255,255,255,.06)}.tgMediaViewerCounter{color:#ffffffeb;font-weight:900;font-size:13px}.tgMediaViewerActions{display:flex;align-items:center;gap:10px}.tgMediaViewerAction{color:#ffffffc7;font-weight:900;font-size:13px;text-decoration:none}.tgMediaViewerAction:hover{color:#ffffffeb}.tgMediaViewerIconBtn{width:38px;height:38px;border-radius:14px;border:none;background:#ffffff0f;color:#ffffffeb;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.tgMediaViewerIconBtn:hover{background:#ffffff1a}.tgMediaViewerBody{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:18px 18px 22px;gap:14px}.tgMediaViewerStage{position:relative;width:min(920px,calc(100vw - 140px));height:min(680px,calc(100vh - 140px));display:flex;align-items:center;justify-content:center;overflow:hidden}.tgMediaViewerImg,.tgMediaViewerVideo{max-width:100%;max-height:100%;width:auto;height:auto;-o-object-fit:contain;object-fit:contain;border-radius:16px;background:#00000059}.tgMediaViewerImgWrap{width:100%;height:100%;display:flex;align-items:center;justify-content:center;touch-action:none}.tgMediaViewerImgWrap.isZoomed{cursor:grab}.tgMediaViewerImgWrap.isZoomed:active{cursor:grabbing}.tgMediaViewerVideo{width:100%;height:100%}.tgMediaViewerCaption{position:absolute;left:0;right:0;bottom:-42px;text-align:center;color:#ffffffc7;font-size:13px;font-weight:600;padding:0 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tgMediaViewerNav{width:44px;height:44px;border-radius:16px;border:none;background:#ffffff14;color:#ffffffeb;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.tgMediaViewerNav:hover{background:#ffffff1f}@media(max-width:820px){.tgMediaViewerStage{width:min(920px,calc(100vw - 40px));height:min(680px,calc(100vh - 120px))}.tgMediaViewerNav{display:none}}.tgRightEmpty{height:140px;display:flex;align-items:center;justify-content:center;color:#ffffff8c;font-weight:900;font-size:13px}.tgRightList{display:flex;flex-direction:column;gap:10px}.tgRightListRow{padding:10px 12px;border-radius:14px;background:#ffffff0f}.tgRightListTitle{font-weight:900;color:#ffffffe6;font-size:13px}.tgRightListSub{margin-top:4px;font-size:12px;color:#ffffff8c}.tgStories{padding:8px 16px 14px}.tgStoriesRow{display:flex;gap:10px;overflow:auto}.tgStory{width:44px;flex:0 0 auto;text-align:center;color:var(--tg-muted);font-size:11px}.tgStoryRing{width:44px;height:44px;border-radius:18px;border:2px solid rgba(255,255,255,.35);padding:2px;margin-bottom:6px}.tgStoryInner{width:100%;height:100%;border-radius:14px}.tgProfile{padding:6px 16px 12px}.tgRightSectionTitle{color:#ffffffb3;font-size:12px;font-weight:900;margin:10px 0}.tgProfileCard{border-radius:18px;border:none;background:#ffffff0d;padding:14px}.tgProfileRow{display:flex;align-items:center;gap:12px}.tgProfileName{font-weight:900;color:#ffffffeb}.tgProfileSub{color:var(--tg-muted2);font-size:12px;margin-top:2px}.tgMedia{padding:6px 16px 12px}.tgMediaGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.tgMediaTile{aspect-ratio:1 / 1;border-radius:14px;background:#ffffff14;border:none;overflow:hidden}.tgMediaFill{width:100%;height:100%}.tgRightOther{padding:6px 16px 12px}.tgRightRow{width:100%;height:44px;border-radius:16px;border:none;background:#ffffff0d;color:#ffffffe6;display:flex;align-items:center;gap:10px;padding:0 12px;cursor:pointer;margin-bottom:10px}.tgRightRow:hover{background:#ffffff14}.tgRightRowChevron{margin-left:auto;color:var(--tg-muted2);font-size:18px}@media(max-width:1180px){.tgRight{display:none}}@media(max-width:860px){.tgShell.isNarrow{position:relative}.tgShell.isNarrow .tgRail{display:flex;width:64px;padding:12px 10px;z-index:3}.tgShell.isNarrow .tgChats,.tgShell.isNarrow .tgMain{position:absolute;top:0;right:0;bottom:0;left:64px;width:auto;height:100%;transition:opacity .2s ease,transform .2s ease;will-change:opacity,transform}.tgShell.isNarrow .tgChats{background:#262626}.tgShell.isNarrow.isMobileList .tgChats{opacity:1;transform:translate(0);pointer-events:auto;z-index:2}.tgShell.isNarrow.isMobileList .tgMain{opacity:0;transform:translate(14px);pointer-events:none;z-index:1}.tgShell.isNarrow.isMobileContent .tgChats{opacity:0;transform:translate(-14px);pointer-events:none;z-index:1}.tgShell.isNarrow.isMobileContent .tgMain{opacity:1;transform:translate(0);pointer-events:auto;z-index:2}}.tgAdminLogsIcon{background:#8e8e93;color:#fff}.tgAdminLogsRefresh{width:36px;height:36px;border-radius:12px;border:none;background:#ffffff14;color:#ffffffeb;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.tgAdminLogsRefresh:disabled{opacity:.5;cursor:default}.tgAdminLogsTableWrap{width:100%;overflow:auto;border-radius:16px;background:#ffffff0a;border:1px solid rgba(255,255,255,.06)}.tgAdminLogsTable{width:100%;min-width:980px;border-collapse:collapse;color:#ffffffe6}.tgAdminLogsTable th,.tgAdminLogsTable td{padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.06);vertical-align:top;font-size:12px}.tgAdminLogsTable th{position:sticky;top:0;background:#1a1b20;z-index:1;text-align:left;font-weight:900;color:#ffffffc7}.tgAdminLogsTable tr:last-child td{border-bottom:none}.tgAdminLogsCellSmall{white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.tgAdminLogsCellEvent{font-weight:700}.tgAdminLogsCellTime{white-space:nowrap}.tgAdminLogsTimeMuted{color:#ffffff73;font-size:11px;margin-top:4px}.tgAdminLogsCellJson pre{margin:0;white-space:pre-wrap;word-break:break-word;color:#ffffffc7;font-size:11px}.tgAdminLogsCellFile a{color:#5e5ce6;text-decoration:none}.tgAdminLogsCellFile a:hover{text-decoration:underline}.tgAdminLogsCellNote{color:#ffffffc7}/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid}}}.visible{visibility:visible}.fixed{position:fixed}.container{width:100%}.block{display:block}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.border{border-style:var(--tw-border-style);border-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}:root{color-scheme:light dark;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,Apple Color Emoji,Segoe UI Emoji}html,body{height:100%}body{background:var(--bg);color:var(--text);margin:0;overflow:hidden}*{box-sizing:border-box}a{color:inherit;text-decoration:none}button,input{font:inherit}.app-root{height:100vh;overflow:hidden}@keyframes shake{0%{transform:translate(0)}20%{transform:translate(-8px)}40%{transform:translate(8px)}60%{transform:translate(-6px)}80%{transform:translate(6px)}to{transform:translate(0)}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}
