:root{--bg: #071018;--bg-2: #0c1824;--surface: rgba(14, 28, 42, .88);--surface-2: rgba(8, 20, 32, .72);--border: rgba(140, 190, 220, .18);--text: #e7f3fb;--text-muted: #8aa6b8;--accent: #3db8ff;--accent-2: #7af0c1;--danger: #ff6b6b;--radius: 14px;--shadow: 0 18px 50px rgba(0, 0, 0, .4);--header-h: 56px}*{box-sizing:border-box;margin:0;padding:0}html{touch-action:manipulation}html,body,#root{height:100%}body{font-family:Syne,system-ui,sans-serif;color:var(--text);line-height:1.45;background:radial-gradient(1100px 520px at 8% -12%,rgba(61,184,255,.2),transparent 55%),radial-gradient(900px 480px at 92% 0%,rgba(122,240,193,.1),transparent 50%),linear-gradient(165deg,var(--bg),var(--bg-2) 45%,#050b12);overflow:hidden}button,input,textarea{font-family:inherit}input,select,textarea{font-size:16px}button{cursor:pointer;border:none;background:none;color:inherit}a{color:var(--accent)}.shell{display:flex;flex-direction:column;height:100dvh;overflow:hidden}.pad{padding:20px}.app-header{flex:0 0 auto;height:var(--header-h);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 14px;border-bottom:1px solid var(--border);background:#071018b8;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:20}.app-header-left,.app-header-right{display:flex;align-items:center;gap:8px;min-width:0}.brand-lockup{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--text)}.brand-logo{width:32px;height:32px;object-fit:contain;border-radius:8px}.brand-app{font-family:Syne,system-ui,sans-serif;font-weight:700;font-size:1.65rem;letter-spacing:-.03em;color:#fff}.menu-btn{display:none}.app-footer{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px 18px;border-top:1px solid var(--border);color:var(--text-muted);font-size:.82rem}.app-footer-links{display:flex;gap:14px}.app-footer-links a{color:var(--text-muted);text-decoration:none}.app-footer-links a:hover{color:var(--accent)}.app-footer-mobile{border:none;padding:0;flex-direction:column;align-items:flex-start}.landing-shell{overflow:auto}.landing-main{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:18px;padding:32px 20px;min-height:0}.landing-title{font-size:clamp(2rem,7vw,3.2rem);font-weight:700;letter-spacing:-.04em}.landing-subtitle{max-width:420px;font-size:1.05rem;color:var(--text-muted);letter-spacing:-.01em}.landing-shell .btn-primary{background:#ebc033;color:#041018}.landing-shell .btn-primary:hover{background:#f0ca3d}.landing-cta{min-width:180px;font-size:1.05rem;padding:14px 28px}.landing-cta-row{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;align-items:center}.landing-cta-secondary{min-width:180px;font-size:1.05rem;padding:14px 28px}.landing-legal{max-width:360px;color:var(--text-muted);font-size:.9rem}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;border-radius:12px;font-weight:600;font-size:.95rem;text-decoration:none;transition:transform .12s ease,background .12s ease,opacity .12s ease}.btn:hover{text-decoration:none;transform:translateY(-1px)}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.btn-primary{background:#000;color:#fff}.btn-secondary{background:#ffffff0f;color:var(--text);border:1px solid var(--border)}.btn-muted{background:#ffffff0a;color:var(--text-muted);border:1px solid var(--border)}.btn-sm{padding:6px 12px;font-size:.85rem}.btn-ghost{color:var(--text-muted);padding:6px 10px}.btn-block{width:100%}.icon-btn{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;color:var(--text-muted);transition:background .12s ease,color .12s ease}.icon-btn:hover{background:#ffffff0f;color:var(--text)}.icon-btn.danger{color:var(--danger)}.mode-switch{display:inline-flex;padding:3px;border-radius:12px;border:1px solid var(--border);background:#00000040}.mode-btn{padding:8px 12px;border-radius:10px;font-weight:600;font-size:.88rem;color:var(--text-muted)}.mode-btn.is-active{background:linear-gradient(120deg,#3db8ff40,#7af0c12e);color:var(--text)}.tg-menu-list{display:flex;flex-direction:column;gap:2px;padding:8px 0}.mobile-menu-top{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 10px}.mobile-menu-section.tg-menu-list{padding:4px 8px}.tg-menu-item{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border-radius:10px;border:none;background:transparent;color:var(--tg-text, inherit);font-size:.92rem;font-weight:500;text-align:left}.tg-menu-item:hover{background:#ffffff0d}.tg-menu-ico{width:22px;text-align:center;opacity:.7}.workspace-shell{min-height:0;background:#0e1621;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.workspace-shell .shell{background:#0e1621}body:has(.workspace-shell){background:#0e1621;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.work-body{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.work-toolbar{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid var(--border)}.toolbar-actions{display:flex;gap:2px}.work-list{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column}.material-filters{display:flex;flex-wrap:wrap;gap:6px;min-width:0}.filter-chip{padding:7px 12px;border-radius:999px;border:1px solid var(--border);color:var(--text-muted);font-size:.82rem;font-weight:600;background:transparent}.filter-chip.is-active{color:#041018;background:var(--accent-2);border-color:transparent}.material-list{list-style:none;overflow-y:auto;flex:1;min-height:0;padding:10px 12px 16px;display:flex;flex-direction:column;gap:10px}.material-empty{color:var(--text-muted);padding:28px 16px;text-align:center}.material-tile{width:100%;padding:12px 14px;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);display:flex;flex-direction:column;gap:10px}.material-tile-top{display:flex;align-items:center;gap:8px}.material-kind{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:2px 8px;border-radius:999px;background:#3db8ff2e;color:var(--accent)}.material-ttl{margin-left:auto;font-family:JetBrains Mono,ui-monospace,monospace;font-size:.8rem;color:var(--accent-2)}.material-preview{min-width:0}.material-preview pre,.material-preview-pre{white-space:pre-wrap;word-break:break-word;font-family:JetBrains Mono,ui-monospace,monospace;font-size:.9rem;background:#00000047;padding:10px 12px;border-radius:10px}.material-preview.file{display:flex;flex-direction:column;gap:4px}.material-actions{display:flex;flex-wrap:wrap;gap:2px}.muted{color:var(--text-muted)}.error{color:var(--danger)}.material-composer{flex:0 0 auto;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:#071018d9}.material-composer.is-drag{background:#3db8ff14}.material-composer.is-disabled{opacity:.55;pointer-events:none}.composer-row{display:flex;align-items:center;gap:6px}.material-composer.is-chat .composer-row{align-items:flex-end}.material-composer.is-shell .composer-textarea{padding-right:6px}.composer-input-wrap{flex:1;min-width:0;position:relative}.composer-input{flex:1;min-width:0;padding:12px 14px;border-radius:12px;border:1px solid var(--border);background:#00000047;color:var(--text);outline:none;font-family:inherit;font-size:inherit;line-height:1.45}.composer-textarea{display:block;width:100%;min-height:44px;padding-right:40px;resize:none;overflow-y:hidden}.composer-input:focus{border-color:var(--accent)}.composer-emoji-btn{width:28px;height:28px;border:none;border-radius:8px;background:transparent;color:var(--text-muted);font-size:1.1rem;line-height:1;cursor:pointer}.material-composer:not(.is-shell) .composer-emoji-btn{position:absolute;right:6px;bottom:6px}.composer-emoji-btn:hover:not(:disabled){background:#ffffff0f}.composer-emoji-popover{position:absolute;right:0;bottom:calc(100% + 6px);z-index:30;display:grid;grid-template-columns:repeat(10,1fr);gap:2px;padding:8px;max-width:min(320px,100vw - 24px);border-radius:12px;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow)}.composer-emoji-item{width:100%;aspect-ratio:1;border:none;border-radius:8px;background:transparent;font-size:1.15rem;line-height:1;cursor:pointer}.composer-emoji-item:hover{background:#3db8ff1f}.composer-attach{flex-shrink:0}.composer-send{flex-shrink:0;padding:0}.material-composer:not(.is-shell) .composer-send{width:44px;height:44px;border-radius:12px}.messenger-feed{flex:1;min-height:0}.composer-file-chip{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;padding:6px 10px;border-radius:10px;background:#7af0c11a;border:1px solid rgba(122,240,193,.25);font-size:.85rem}.pair-inbox{flex:0 0 auto;display:flex;flex-direction:column;gap:8px;padding:8px 12px 0}.pair-inbox-banner{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center;padding:12px 14px;border-radius:var(--radius);border:1px solid rgba(122,240,193,.35);background:#7af0c114}.pair-inbox-text{display:flex;flex-direction:column;gap:2px;min-width:0}.pair-inbox-actions{display:flex;gap:6px}.messenger-body{flex-direction:row}.peer-rail{flex:0 0 168px;min-width:0;border-right:1px solid var(--border);display:flex;flex-direction:column;background:var(--surface-2);transition:flex-basis .18s ease}.peer-rail.is-collapsed{flex-basis:72px}.peer-rail-toggle{align-self:flex-end;margin:6px}.peer-rail-scroll{flex:1;min-height:0;overflow-y:auto;padding:4px 8px 10px;display:flex;flex-direction:column;gap:4px}.peer-rail-item{display:flex;align-items:center;gap:10px;padding:8px;border-radius:12px;text-align:left;color:var(--text)}.peer-rail-item.is-active,.peer-rail-item:hover{background:#3db8ff1a}.peer-rail-name{font-size:.88rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.peer-rail-empty{padding:12px 8px;font-size:.85rem}.peer-rail-actions{display:flex;justify-content:center;gap:4px;padding:8px;border-top:1px solid var(--border)}.messenger-chat{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.peer-avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(145deg,#3db8ff59,#7af0c147);color:#fff;font-weight:700;letter-spacing:.02em;flex:0 0 auto}.peer-avatar.size-sm{width:32px;height:32px;font-size:.72rem}.peer-avatar.size-md{width:40px;height:40px;font-size:.8rem}.peer-avatar.size-lg{width:52px;height:52px;font-size:.95rem}.peer-avatar.is-active{outline:2px solid var(--accent);outline-offset:2px}.peer-avatar.is-btn{border:none}.drawer-root{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80}.drawer-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000008c;border:none;width:100%;height:100%}.drawer{position:absolute;top:0;bottom:0;width:min(360px,92vw);background:#0b1622;border:1px solid var(--border);box-shadow:var(--shadow);display:flex;flex-direction:column;animation:drawer-in .18s ease}.drawer-left{left:0;border-left:none;border-radius:0 16px 16px 0}.drawer-right{right:0;border-right:none;border-radius:16px 0 0 16px}@keyframes drawer-in{0%{transform:translate(12px);opacity:.6}to{transform:none;opacity:1}}.drawer-left{animation-name:drawer-in-left}@keyframes drawer-in-left{0%{transform:translate(-12px);opacity:.6}to{transform:none;opacity:1}}.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:14px 14px 10px;border-bottom:1px solid var(--border)}.drawer-head h2{font-size:1.1rem}.qr-drawer-body{padding:20px 16px;display:flex;flex-direction:column;align-items:center;gap:14px}.air-qr-frame{padding:12px;background:#fff;border-radius:12px}.air-qr-skeleton{width:260px;height:260px;background:#e8eef3}.air-short-row{display:flex;align-items:stretch;gap:8px;width:100%;max-width:320px}.air-short{flex:1;min-width:0;font-family:JetBrains Mono,ui-monospace,monospace;font-size:.8rem;padding:8px 12px;border-radius:10px;background:#00000040;border:1px solid var(--border);word-break:break-all;text-align:left}.air-short-copy{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:40px;padding:0;border-radius:10px;background:#ffffff0f;border:1px solid var(--border);color:var(--text-muted);cursor:pointer;transition:color .12s ease,background .12s ease}.air-short-copy:hover{color:var(--text);background:#ffffff1a}.air-short-copy.is-copied{color:#6ee7a8}.air-short-copy svg{width:18px;height:18px}.qr-sheet-body{padding:8px 16px 20px;display:flex;flex-direction:column;align-items:center;gap:14px}.peers-drawer{padding-bottom:8px}.peers-scan-sticky{margin:12px 12px 8px;position:sticky;top:0;z-index:2}.peers-drawer-scroll{flex:1;min-height:0;overflow-y:auto;padding:4px 12px 16px}.peers-list{list-style:none;display:flex;flex-direction:column;gap:8px}.peers-row{display:flex;align-items:center;gap:8px;padding:10px;border-radius:12px;border:1px solid var(--border);background:var(--surface)}.peers-row-meta{flex:1;min-width:0;display:flex;flex-direction:column}.peers-row-meta strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-menu{padding:16px;gap:18px}.mobile-menu-top{display:flex;align-items:center;justify-content:space-between}.mobile-menu-cta-row{display:flex;gap:10px}.mobile-menu-cta-row .btn{flex:1;min-width:0}.mobile-menu-sheet--landing .btn-primary{background:#ebc033;color:#041018}.mobile-menu-extra{display:none}.header-actions{display:flex;align-items:center;gap:8px}.mobile-menu-section{display:flex;flex-direction:column;gap:10px}.modal-root .modal-panel{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(440px,94vw);max-height:90dvh;overflow:auto;background:#0b1622;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);z-index:1}.modal-body{padding:0 16px 18px;display:flex;flex-direction:column;gap:14px}.modal-lead{color:var(--text-muted);line-height:1.5}.modal-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.key-drop{border:1px dashed var(--border);border-radius:14px;padding:24px 16px;text-align:center;display:flex;flex-direction:column;gap:12px;color:var(--text-muted);transition:border-color .12s ease,background .12s ease}.key-drop.is-over{border-color:var(--accent);background:#4ca3e014}.key-tips{margin:0;padding-left:1.1rem;color:var(--text-muted);display:flex;flex-direction:column;gap:8px;line-height:1.45}.drawer-scroll{flex:1;overflow:auto;padding:12px 14px}.drawer-note{margin-bottom:12px}.drawer-foot{padding:12px 14px 16px;border-top:1px solid var(--border)}.session-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.session-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border:1px solid var(--border);border-radius:12px;background:#ffffff05}.session-item-main{display:flex;flex-direction:column;gap:4px;min-width:0}.session-item-main strong{font-size:.9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sessions-drawer{display:flex;flex-direction:column}.login-tabs{display:flex;gap:6px;padding:0 16px 12px}.login-tab{flex:1;padding:8px 10px;border-radius:10px;border:1px solid var(--border);background:#ffffff08;color:var(--text-muted);font-weight:600;font-size:.85rem}.login-tab.is-active{color:var(--text);border-color:var(--accent);background:#4ca3e01a}.login-device-pane{display:flex;flex-direction:column;gap:12px;padding:0 16px 16px}.login-qr-wrap{display:flex;justify-content:center;padding:12px;background:#fff;border-radius:14px;align-self:center}.login-qr-skeleton{width:220px;height:220px}.qr-subtitle{text-align:center;max-width:280px}.peers-row-stack{flex-direction:column;align-items:stretch;gap:10px}.peers-row-top{display:flex;align-items:center;gap:10px;width:100%}.peers-row-actions{display:flex;gap:8px;padding-left:42px}.scan-modal .scan-panel{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(420px,94vw);max-height:90dvh;overflow:auto;background:#0b1622;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);z-index:1}.scan-body{padding:12px 14px 18px;display:flex;flex-direction:column;gap:10px}.scan-html5{width:100%;min-height:240px;height:min(52vh,360px);max-height:min(52vh,360px);overflow:hidden;border-radius:12px;background:#000;position:relative}.scan-html5 video,.scan-html5 .scan-video{display:block;width:100%!important;height:100%!important;min-height:200px;max-height:min(52vh,360px);border-radius:12px;object-fit:cover;background:#000}.scan-html5 img{display:none}.scan-manual{display:flex;gap:8px}.scan-manual input{flex:1;min-width:0;padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:#00000047;color:var(--text)}.share-shell,.legal-shell{overflow:auto}.share-main,.legal-main{flex:1;width:min(640px,100%);margin:0 auto;padding:28px 20px 40px;display:flex;flex-direction:column;gap:16px}.share-title,.legal-main h1{font-size:clamp(1.6rem,4vw,2.2rem);letter-spacing:-.03em}.share-card{padding:14px 16px;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);display:flex;flex-direction:column;gap:12px}.share-file{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%);background:#102436;border:1px solid var(--border);color:var(--text);padding:10px 16px;border-radius:999px;box-shadow:var(--shadow);z-index:100;max-width:90vw}@media(max-width:720px){.menu-btn{display:inline-flex}.header-create-desktop,.app-footer-desktop{display:none}.mobile-menu-extra{display:block;color:var(--text-muted);font-size:.85rem}.peer-rail{flex-basis:72px}.peer-rail:not(.is-collapsed){flex-basis:132px}.peer-rail-name{font-size:.78rem}.mode-btn{padding:7px 9px;font-size:.8rem}}.pay-modal-hint{font-size:.82rem;margin-bottom:12px}.pay-modal-peer{margin-bottom:12px}.pay-field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.pay-field input{padding:10px 12px;border-radius:10px;border:1px solid var(--tg-border);background:var(--tg-panel);color:var(--tg-text)}.pay-modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:8px}.pay-tabs{display:flex;gap:8px;margin-bottom:14px}.pay-tab{flex:1;padding:8px 12px;border-radius:10px;border:1px solid var(--tg-border);background:var(--tg-panel);color:var(--tg-text);cursor:pointer}.pay-tab.is-on{background:var(--tg-accent);color:#fff;border-color:var(--tg-accent)}.pay-confirm-row{display:flex;justify-content:space-between;gap:12px;margin:0 0 10px}.wallet-modal-sheet .air-overlay-body{padding:0;overflow:hidden;display:flex;flex-direction:column}.wallet-modal{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.wallet-hero{background:linear-gradient(145deg,#f5d565,#e8b923);padding:16px 16px 20px;border-radius:16px 16px 0 0;position:relative;flex-shrink:0}.wallet-badges{display:flex;justify-content:space-between;gap:8px;margin-bottom:16px}.wallet-badge{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;background:#111;color:#fff;font-size:11px;font-weight:600;border:0}.wallet-badge-action{cursor:pointer}.wallet-balance-row{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.wallet-balance-main{min-width:0}.wallet-balance-label{font-size:13px;color:#0000008c;margin-bottom:4px}.wallet-balance-value{font-size:2rem;font-weight:700;color:#111;letter-spacing:-.02em;line-height:1.1}.wallet-actions{display:flex;gap:14px;flex-shrink:0}.wallet-action{display:flex;flex-direction:column;align-items:center;gap:4px;border:0;background:transparent;padding:0;cursor:pointer;color:#111}.wallet-action-icon{width:52px;height:52px;display:grid;place-items:center}.wallet-action-icon svg{width:34px;height:34px}.wallet-action-label{font-size:10px;font-weight:600;color:#111;line-height:1.1;text-align:center;max-width:72px}.wallet-tx-list{flex:1;min-height:0;overflow-y:auto;padding:12px 12px 16px;background:#f3f4f6;-webkit-overflow-scrolling:touch}.wallet-empty{padding:24px 8px}.wallet-date-pill{display:inline-block;padding:4px 12px;border-radius:999px;background:#e5e7eb;color:#6b7280;font-size:12px;text-align:center;width:fit-content;margin:8px auto 10px}.wallet-tx-group{display:flex;flex-direction:column;align-items:stretch}.wallet-tx-row{display:grid;grid-template-columns:40px 1fr auto;gap:10px;align-items:center;background:#fff;border-radius:14px;padding:10px 12px;margin-bottom:8px;border:0;width:100%;text-align:left;cursor:pointer}.wallet-tx-row:active{background:#f9fafb}.wallet-tx-body{min-width:0}.wallet-tx-title{font-weight:600;font-size:14px;color:#111}.wallet-tx-sub{font-size:12px;color:#6b7280}.wallet-tx-end{flex-shrink:0}.wallet-tx-amt{font-weight:700;font-size:14px;text-align:right;color:#111}.wallet-tx-amt.is-in{color:#16a34a}.wallet-tx-time{font-size:11px;color:#9ca3af;text-align:right}.wallet-detail{display:flex;flex-direction:column;gap:12px;padding:0 16px 16px;min-height:420px;max-height:min(88vh,720px);overflow-y:auto;background:#f3f4f6}.wallet-hero-compact{display:flex;align-items:center;gap:12px;padding:16px;border-radius:16px 16px 0 0;background:linear-gradient(145deg,#f5d565,#e8b923)}.wallet-pay-flow{display:flex;flex-direction:column;min-height:320px;max-height:min(88vh,720px)}.wallet-pay-peer{flex:1;min-width:0}.wallet-pay-peer-name{font-size:1.1rem;font-weight:700;color:#111}.wallet-pay-peer-sub{font-size:12px;color:#0000008c;margin-top:2px}.wallet-pay-amount{font-size:1.35rem;font-weight:700;color:#111;flex-shrink:0}.wallet-pay-body{flex:1;overflow-y:auto;padding:12px 16px 16px;background:#f3f4f6}.wallet-pay-tabs{display:flex;gap:8px;margin-bottom:12px}.wallet-pay-tab{flex:1;padding:10px 12px;border-radius:999px;border:0;background:#fff;color:#111;font-size:13px;font-weight:600;cursor:pointer}.wallet-pay-tab.is-on{background:#111;color:#fff}.wallet-pay-field{display:block;padding:12px 14px;border-bottom:1px solid #f3f4f6}.wallet-pay-field:last-child{border-bottom:0}.wallet-pay-input{width:100%;margin-top:4px;padding:0;border:0;background:transparent;color:#111;font-size:15px;font-weight:600;outline:none}.wallet-pay-input::placeholder{color:#9ca3af;font-weight:400}.wallet-pay-actions{display:flex;gap:10px;margin-top:16px}.wallet-pay-btn{flex:1}.wallet-modal-sheet .air-overlay-head{background:#161f2a;border-radius:16px 16px 0 0;color:#fff}.wallet-modal-sheet .air-overlay-head h2{color:#fff}.wallet-modal-sheet .air-overlay-head .tg-ib{color:#fff;background:transparent}.wallet-modal-sheet .btn-primary{background:#ebc033;color:#041018}.wallet-scan-pane{background:#f3f4f6;min-height:360px}.wallet-scan-body{padding:12px 16px 16px;background:#f3f4f6}.wallet-scan-body .scan-status{color:#6b7280;font-size:13px}.wallet-scan-body .scan-manual input,.wallet-scan-input{flex:1;min-width:0;padding:10px 12px;border-radius:12px;border:1px solid #e5e7eb;background:#fff;color:#111}.wallet-scan-ok{flex-shrink:0;min-width:56px}.wallet-scan-btn{margin-top:4px}.wallet-pay-btn-block{width:100%}.wallet-detail-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:8px 4px 4px}.wallet-detail-hero-main{min-width:0}.wallet-detail-amount{font-size:2rem;font-weight:700;color:#111;line-height:1.1}.wallet-detail-amount.is-in{color:#16a34a}.wallet-detail-when{margin-top:6px;font-size:13px;color:#6b7280}.wallet-status-badge{display:inline-flex;margin-top:8px;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;background:#e5e7eb;color:#6b7280}.wallet-status-badge.is-ok{background:#dcfce7;color:#16a34a}.wallet-detail-card{background:#fff;border-radius:16px;padding:4px 0;overflow:hidden}.wallet-detail-row{padding:12px 14px;border-bottom:1px solid #f3f4f6}.wallet-detail-row:last-child{border-bottom:0}.wallet-detail-label{font-size:12px;color:#9ca3af;margin-bottom:4px}.wallet-detail-value-row{display:flex;align-items:flex-start;gap:8px}.wallet-detail-value{flex:1;font-size:14px;color:#111;word-break:break-all}.wallet-detail-value-strong{font-weight:700}.wallet-detail-copy{flex-shrink:0;border:0;background:transparent;color:#9ca3af;font-size:11px;cursor:pointer;padding:0}.wallet-detail-summary .wallet-detail-row{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.wallet-detail-explorer{margin-top:auto;width:100%;text-align:center;text-decoration:none}.wallet-qr-wrap{display:flex;justify-content:center;margin:16px 0}.wallet-qr-img{width:240px;height:240px;border-radius:12px}.tg-invoice-paid{font-size:12px;color:#16a34a}.wallet-chat-card{display:flex;flex-direction:column;gap:8px;min-width:200px;padding:10px 12px;border-radius:12px;background:linear-gradient(145deg,#f5d565,#e8b923);color:#111}.wallet-chat-card.is-clickable{cursor:pointer}.wallet-chat-card.is-clickable:hover{filter:brightness(1.03)}.wallet-chat-card.is-clickable:active{filter:brightness(.98)}.wallet-chat-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.wallet-chat-card-title{font-size:13px;font-weight:700;color:#111}.wallet-chat-card-amount{font-size:15px;font-weight:700;color:#111;white-space:nowrap}.wallet-chat-card-amount.is-in{color:#15803d}.wallet-chat-card-sub{font-size:12px;color:#0009;line-height:1.35}.wallet-chat-card-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}.wallet-chat-card-btn-cancel{background:#000000b8;color:#fff;border:0}.wallet-chat-card-btn-cancel:hover{background:#000000d9}.wallet-chat-card-pay-row{display:flex;align-items:center;gap:8px;font-size:12px;color:#000000ad;line-height:1.35}.wallet-chat-card-pay-ico{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#15803d29;color:#15803d;flex-shrink:0}.wallet-chat-card-pay-ico svg{width:14px;height:14px}.wallet-chat-card-btn{align-self:flex-start;margin-top:2px}.wallet-chat-card-link{font-size:12px;font-weight:600;color:#111;text-decoration:underline}.wallet-chat-card-badge{display:inline-flex;align-self:flex-start;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:600;background:#00000014;color:#111}.wallet-chat-card-badge.is-ok{background:#dcfce7;color:#16a34a}.btn-sm{padding:6px 12px;font-size:13px}.settings-form,.pair-confirm{display:flex;flex-direction:column;gap:14px;padding:4px 2px 8px}.settings-field{display:flex;flex-direction:column;gap:6px}.settings-label{font-size:.8rem;font-weight:600;color:var(--text-muted)}.settings-input{width:100%;padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:#0003;color:var(--text);font:inherit}.settings-hint{font-size:.75rem}.contact-sheet-body{display:flex;flex-direction:column;gap:8px}.contact-sheet-hero{display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px 0 4px}.contact-sheet-presence{font-size:.85rem}.contact-delete-btn{color:var(--danger);border-color:#ff6b6b59}.pair-confirm-hero{display:flex;align-items:center;gap:12px}.pair-confirm-name{font-weight:700}.pair-confirm-sub{font-size:.85rem}.tg-presence-dot.is-online{color:#6ee7a8}.tg-inbox-av-wrap{margin-bottom:8px}.tg-app{--tg-bg: #0e1621;--tg-panel: #17212b;--tg-panel-2: #242f3d;--tg-bubble-in: #182533;--tg-bubble-out: #2b5278;--tg-cloud-card: #1a2634;--tg-border: rgba(255, 255, 255, .06);--tg-text: #f5f5f5;--tg-muted: #6d7986;--tg-accent: #6ab2f2;--tg-accent-dim: rgba(106, 178, 242, .14);--tg-green: #4dcd5e;--tg-warn: #f5a623;--tg-danger: #ff8a80;--tg-sidebar-w: 300px;flex:1;min-height:0;display:grid;grid-template-columns:var(--tg-sidebar-w) 1fr;background:var(--tg-bg);color:var(--tg-text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:15px;-webkit-font-smoothing:antialiased}.tg-sidebar{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--tg-panel);border-right:1px solid var(--tg-border)}.tg-sidebar-top{padding:12px;border-bottom:1px solid var(--tg-border)}.tg-sidebar-row{display:flex;align-items:center;gap:2px}.tg-brand{font-family:Syne,system-ui,sans-serif;font-weight:700;font-size:1.65rem;letter-spacing:-.03em;color:#fff}.tg-sidebar-top .tg-ib{background:transparent;color:#ccc}.tg-sidebar-top .tg-ib.is-on,.tg-sidebar-top .tg-ib.tg-call-active{background:#ffffff1f;color:#fff}.tg-hdr-actions .tg-ib{background:transparent;color:#ccc}.tg-sidebar-spacer{flex:1}.tg-ib{width:36px;height:36px;border-radius:50%;border:none;background:var(--tg-panel-2);color:var(--tg-muted);display:inline-grid;place-items:center;flex-shrink:0}.tg-ib svg{width:22px;height:22px}.tg-ib.is-on{background:var(--tg-accent-dim);color:var(--tg-accent)}.tg-tabs{display:flex;gap:4px;padding:8px 12px;flex-shrink:0}.tg-tab{flex:1;text-align:center;padding:7px 4px;border-radius:999px;font-size:.72rem;font-weight:500;color:var(--tg-muted);background:transparent;border:none}.tg-tab.is-on{background:var(--tg-accent-dim);color:var(--tg-accent)}.tg-tab-badge{display:inline-block;margin-left:3px;padding:0 5px;border-radius:8px;font-size:.65rem;background:var(--tg-accent);color:#fff}.tg-list{flex:1;min-height:0;overflow-y:auto}.tg-list-section{padding:8px 12px 4px;font-size:.65rem;text-transform:uppercase;letter-spacing:.06em;color:var(--tg-muted)}.tg-list-empty{padding:24px 16px;text-align:center;color:var(--tg-muted);font-size:.85rem}.tg-list-item{display:flex;align-items:center;gap:10px;width:100%;padding:9px 12px;text-align:left;color:inherit;border:none;background:transparent;border-left:3px solid transparent;cursor:pointer}.tg-list-item+.tg-list-item{box-shadow:none}.tg-list-item.is-on{background:#2b3643;border-left:3px solid var(--tg-accent)}.tg-list-body{flex:1;min-width:0}.tg-list-name{font-weight:600;font-size:.88rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tg-list-sub{font-size:.78rem;color:var(--tg-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tg-list-time{font-size:.68rem;color:var(--tg-muted);flex-shrink:0}.tg-cloud-av{width:40px;height:40px;border-radius:50%;flex-shrink:0;display:grid;place-items:center;background:var(--tg-accent);color:#0e1621}.tg-inbox-av{width:40px;height:40px;border-radius:50%;flex-shrink:0;display:grid;place-items:center;font-weight:600;background:var(--tg-panel-2);color:var(--tg-muted)}.tg-storage{padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--tg-border);margin-top:auto;flex-shrink:0;background:var(--tg-panel)}.tg-storage-label{display:flex;justify-content:space-between;font-size:.68rem;color:var(--tg-muted);margin-bottom:4px}.tg-storage-track{height:4px;border-radius:2px;background:var(--tg-panel-2);overflow:hidden}.tg-storage-fill{height:100%;background:var(--tg-accent);border-radius:2px}.tg-main{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;background:var(--tg-bg)}.tg-main-hdr{flex-shrink:0;display:flex;align-items:center;gap:10px;padding:10px 14px;background:var(--tg-panel);border-bottom:1px solid var(--tg-border)}.tg-back{display:none;width:36px;height:36px;border:none;background:none;color:var(--tg-accent);padding:0;place-items:center}.tg-back svg{width:22px;height:22px}.tg-main-hdr-info{flex:1;min-width:0}.tg-main-hdr-info-btn{border:none;background:none;padding:0;margin:0;text-align:left;color:inherit;font:inherit;cursor:pointer;border-radius:8px}.tg-main-hdr-info-btn:hover{opacity:.92}.tg-main-hdr-info-btn:active{opacity:.85}.tg-main-hdr-title{font-weight:600;font-size:.95rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tg-main-hdr-sub{font-size:.75rem;color:var(--tg-muted)}.tg-main-hdr-sub.is-online{color:var(--tg-green)}.tg-lock-label{display:inline-flex;align-items:center;gap:4px;vertical-align:middle}.tg-lock-ico{width:14px;height:14px;flex-shrink:0;opacity:.9}.tg-main-body{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column}.tg-toolbar{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;border-bottom:1px solid var(--tg-border);background:var(--tg-panel)}.tg-empty{color:var(--tg-muted);padding:32px 20px;text-align:center;font-size:.88rem}.tg-empty-center{flex:1;display:grid;place-items:center}.tg-main .filter-chip{padding:7px 12px;border-radius:999px;border:none;color:var(--tg-muted);background:transparent;font-size:.72rem;font-weight:500}.tg-main .filter-chip.is-active{color:var(--tg-accent);background:var(--tg-accent-dim);border:none}.tg-chat-feed{flex:1;min-height:0;overflow-y:auto;padding:8px 12px 10px;display:flex;flex-direction:column;gap:2px;background:var(--tg-bg)}.tg-chat-group{display:flex;flex-direction:column;gap:2px}.tg-date-sep{align-self:center;margin:10px 0 8px;padding:4px 12px;border-radius:999px;background:#1c1c1eeb;font-size:.72rem;font-weight:500;color:var(--tg-muted)}.tg-msg{max-width:min(82%,520px);display:flex;flex-direction:column;margin:1px 0}.tg-msg.is-in{align-self:flex-start;padding-right:48px}.tg-msg.is-out{align-self:flex-end;padding-left:48px}.tg-msg.is-system{align-self:center;padding:0 24px}.tg-msg.is-system .tg-bubble{background:#ffffff14;border-radius:12px;font-size:13px;color:var(--tg-muted)}.tg-msg.is-system .tg-bubble:after{display:none}.tg-bubble{position:relative;padding:7px 10px 5px;border-radius:18px;line-height:1.35;font-size:.9rem;word-break:break-word}.tg-msg.is-in .tg-bubble{background:var(--tg-bubble-in);border-bottom-left-radius:4px}.tg-msg.is-out .tg-bubble{background:var(--tg-bubble-out);border-bottom-right-radius:4px}.tg-msg.is-in .tg-bubble:after{content:"";position:absolute;left:-5px;bottom:0;width:10px;height:10px;background:var(--tg-bubble-in);clip-path:polygon(100% 0,100% 100%,0 100%);border-bottom-left-radius:8px}.tg-msg.is-out .tg-bubble:after{content:"";position:absolute;right:-5px;bottom:0;width:10px;height:10px;background:var(--tg-bubble-out);clip-path:polygon(0 0,100% 100%,0 100%);border-bottom-right-radius:8px}.tg-bubble-content{display:block}.tg-text{white-space:pre-wrap}.tg-link{color:var(--tg-accent);word-break:break-all}.tg-bubble-time{float:right;margin:4px 0 -2px 10px;font-size:.65rem;line-height:1.2;color:#ffffff73;display:inline-flex;align-items:center;gap:3px;-webkit-user-select:none;user-select:none}.tg-msg.is-out .tg-bubble-time{color:#ffffff8c}.tg-bubble-time-block{float:none;display:flex;justify-content:flex-end;margin:4px 2px 0}.tg-check{color:#ffffffa6}.tg-bubble-del{position:absolute;top:4px;right:4px;width:24px;height:24px;border:none;border-radius:50%;background:#00000038;color:#ffffff8c;display:grid;place-items:center;opacity:0;transition:opacity .15s}.tg-bubble:hover .tg-bubble-del,.tg-bubble-del:focus-visible{opacity:1}.tg-attach{display:flex;align-items:center;gap:8px;margin-top:2px;padding:8px;border-radius:10px;background:#0000002e;border:1px solid rgba(255,255,255,.06)}.tg-attach-ico{flex-shrink:0;color:var(--tg-accent)}.tg-attach-meta{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;font-size:.8rem}.tg-attach-meta span{color:#ffffff8c;font-size:.72rem}.tg-attach-dl{color:var(--tg-accent);text-decoration:none;display:grid;place-items:center;flex-shrink:0;border:0;background:transparent;padding:0;cursor:pointer}.tg-upload-bar{height:3px;background:#3390ec26;margin:0 12px 8px;border-radius:2px;overflow:hidden}.tg-upload-bar-fill{height:100%;background:var(--tg-accent);transition:width .15s ease}.tg-pay-msg{display:flex;flex-direction:column;gap:4px}.tg-pay-explorer{font-size:12px}.tg-cloud-feed{flex:1;min-height:0;overflow-y:auto;padding:10px 14px 8px;display:flex;flex-direction:column;gap:6px}.tg-cloud-feed-empty{justify-content:center;align-items:center}.tg-mat{display:grid;grid-template-columns:36px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:10px;row-gap:2px;align-items:center;background:var(--tg-cloud-card);border:1px solid var(--tg-border);border-radius:12px;padding:8px 10px}.tg-mat.is-mine{border-color:#6ab2f233}.tg-mat-type-ico{width:36px;height:36px;border-radius:10px;border:none;background:var(--tg-accent-dim);color:var(--tg-accent);display:grid;place-items:center;flex-shrink:0;padding:0;cursor:pointer}.tg-mat>.tg-mat-type-ico{grid-column:1;grid-row:1 / span 2;align-self:center}.tg-mat-type-ico svg{width:20px;height:20px}.tg-mat-main{min-width:0;display:flex;flex-direction:column;gap:2px;padding-right:4px}.tg-mat>.tg-mat-main{grid-column:2;grid-row:1 / span 2}.tg-mat-title{display:block;width:100%;border:none;background:none;padding:0;margin:0;text-align:left;color:var(--tg-text);font-size:.88rem;font-weight:500;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.tg-mat-meta{font-size:.7rem;color:var(--tg-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}.tg-mat-actions{display:flex;align-items:center;gap:0;flex-shrink:0}.tg-mat>.tg-mat-actions{grid-column:3;grid-row:1 / span 2;align-self:start}.tg-mat-ico-btn{width:30px;height:30px;border:none;border-radius:50%;background:transparent;color:var(--tg-muted);display:grid;place-items:center;text-decoration:none;flex-shrink:0}.tg-mat-ico-btn:hover{background:#ffffff0f;color:var(--tg-accent)}.tg-mat-ico-btn[aria-label=Удалить]:hover,.tg-mat-ico-btn[aria-label=Закрыть]:hover{color:var(--tg-danger);background:#ff8a801f}.tg-mat-ico-btn svg{width:18px;height:18px}@media(max-width:768px){.tg-mat>.tg-mat-type-ico{grid-row:1 / span 2}.tg-mat>.tg-mat-main{grid-row:1 / span 2}.tg-mat>.tg-mat-actions{grid-row:1}.tg-mat-title{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}.tg-media-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;display:flex;align-items:center;justify-content:center;padding:16px}.tg-media-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;border:none;background:#000000b8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.tg-media-panel{position:relative;z-index:1;width:min(920px,100%);max-height:min(92dvh,900px);display:flex;flex-direction:column;background:#17212bf5;border:1px solid var(--tg-border);border-radius:16px;overflow:hidden}.tg-media-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px 8px 14px;border-bottom:1px solid var(--tg-border);font-size:.88rem;color:var(--tg-muted)}.tg-media-title{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tg-media-head-actions{display:flex;align-items:center;gap:0;flex-shrink:0}.tg-media-body{flex:1;min-height:0;display:grid;place-items:center;padding:12px;overflow:auto}.tg-media-body img,.tg-media-body video{max-width:100%;max-height:min(80dvh,780px);border-radius:8px}.tg-media-text{width:100%;max-width:640px;margin:0;white-space:pre-wrap;word-break:break-word;font-family:inherit;font-size:.95rem;line-height:1.5;color:var(--tg-text)}.tg-media-text-link{color:var(--tg-accent);word-break:break-all;font-size:.95rem}.tg-media-file{display:flex;gap:14px;align-items:center;max-width:420px}.tg-media-file .tg-mat-type-ico{width:48px;height:48px;cursor:default}.tg-media-file .btn{margin-top:10px}.tg-main .material-composer:not(.is-shell){background:var(--tg-panel);border-top-color:var(--tg-border);flex-shrink:0;margin-top:auto}.tg-composer-hint{flex-shrink:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));text-align:center;font-size:.8rem;border-top:1px solid var(--tg-border);background:var(--tg-panel)}.material-composer.is-shell{position:relative;display:flex;flex-direction:column;gap:6px;margin:10px 12px calc(12px + env(safe-area-inset-bottom));padding:6px 6px 6px 8px;border-radius:27px;border:1px solid color-mix(in srgb,var(--tg-text, #fff) 14%,transparent);border-top:1px solid color-mix(in srgb,var(--tg-text, #fff) 14%,transparent);background:var(--tg-panel-2, #242f3d);box-shadow:0 1px 4px #00000014;flex-shrink:0;overflow:visible}.material-composer.is-shell.is-drag{border-color:var(--tg-accent, #6ab2f2);box-shadow:0 0 0 2px var(--tg-accent-dim, rgba(106, 178, 242, .2))}.material-composer.is-shell.is-disabled{opacity:.55;pointer-events:none}.composer-shell{display:grid;grid-template-columns:36px minmax(0,1fr) 36px 36px;grid-template-areas:"attach field emoji send";align-items:end;gap:0 2px}.material-composer.is-tall .composer-shell{grid-template-areas:"field field field field" "attach . emoji send"}.material-composer.is-cloud .composer-shell{grid-template-columns:36px minmax(0,1fr) 36px;grid-template-areas:"attach field send"}.material-composer.is-cloud.is-tall .composer-shell{grid-template-areas:"field field field" "attach . send"}.composer-attach{grid-area:attach}.composer-field{grid-area:field}.composer-emoji-btn{grid-area:emoji}.composer-send{grid-area:send}.material-composer .composer-textarea{width:100%;min-height:36px;max-height:160px;border:0;background:transparent;color:var(--tg-text, #f5f5f5);resize:none;outline:none;font:inherit;line-height:1.4;padding:8px 6px;overflow-y:auto;box-sizing:border-box;scrollbar-width:none;-ms-overflow-style:none}.material-composer .composer-textarea::-webkit-scrollbar{display:none;width:0;height:0}.composer-ico{width:36px;height:36px;border:0;background:var(--tg-bg);color:var(--tg-muted, #6d7986);border-radius:50%;display:grid;place-items:center;cursor:pointer;padding:0;flex-shrink:0}.material-composer.is-shell .composer-emoji-btn{position:static;right:auto;bottom:auto;width:36px;height:36px;background:transparent}.material-composer.is-shell .composer-send{width:36px;height:36px;border-radius:50%;padding:0}.composer-ico svg{width:20px;height:20px}.composer-ico:hover:not(:disabled){color:var(--tg-accent, #6ab2f2)}.composer-ico.is-on,.composer-send{color:var(--tg-accent, #6ab2f2)}.composer-ico:disabled{opacity:.35;cursor:default}.material-composer.is-shell .composer-chips{display:flex;flex-wrap:wrap;gap:6px;padding:2px 6px 0}.material-composer.is-shell .composer-file-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:4px 8px;border-radius:999px;background:var(--tg-panel, #17212b);color:var(--tg-muted, #8aa6b8);font-size:.78rem}.material-composer.is-shell .composer-file-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}.material-composer.is-shell .composer-file-chip button{border:0;background:none;color:inherit;cursor:pointer;font:inherit;line-height:1;padding:0}.composer-emoji-pop{position:absolute;right:8px;bottom:calc(100% + 8px);z-index:5;display:grid;grid-template-columns:repeat(8,1fr);gap:2px;width:min(280px,calc(100% - 16px));padding:8px;border-radius:14px;border:1px solid var(--tg-border, rgba(255, 255, 255, .08));background:var(--tg-panel, #17212b);box-shadow:0 10px 30px #00000059}.composer-emoji-pop button{border:0;background:none;font-size:1.2rem;line-height:1.4;cursor:pointer;border-radius:8px;padding:4px}.composer-emoji-pop button:hover{background:var(--tg-accent-dim, rgba(106, 178, 242, .14))}.call-chat-panel .material-composer.is-shell{margin:8px 10px calc(8px + env(safe-area-inset-bottom))}.tg-inbox-view{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 24px;text-align:center}.tg-inbox-av-lg{width:56px;height:56px;font-size:1.2rem;margin-bottom:12px}.tg-inbox-title{font-size:1.1rem;margin-bottom:4px}.tg-inbox-sub{font-size:.88rem;margin-bottom:8px}.tg-inbox-meta{font-size:.8rem;margin-bottom:20px}.tg-inbox-actions{display:flex;gap:10px}.tg-menu-list{display:flex;flex-direction:column;gap:2px}.tg-menu-item{display:flex;align-items:center;gap:12px;width:100%;padding:12px 4px;border:none;background:none;color:var(--tg-text);font-size:1rem;text-align:left;border-radius:10px}.tg-menu-item:active{background:#ffffff0f}.tg-menu-item-danger{color:var(--tg-danger)}.tg-menu-ico{width:28px;display:grid;place-items:center;color:var(--tg-accent)}.tg-menu-ico svg{width:22px;height:22px}.tg-menu-item-danger .tg-menu-ico{color:var(--tg-danger)}.air-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:flex;align-items:flex-end;justify-content:center}.air-overlay-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;border:none;background:#00000073;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}.air-overlay-panel{position:relative;z-index:1;width:100%;max-height:min(92dvh,720px);display:flex;flex-direction:column;background:#17212beb;backdrop-filter:blur(24px) saturate(1.2);-webkit-backdrop-filter:blur(24px) saturate(1.2);border:1px solid rgba(255,255,255,.08);border-bottom:none;border-radius:16px 16px 0 0;box-shadow:0 -8px 40px #00000059;animation:air-sheet-up .32s cubic-bezier(.32,.72,0,1);color:var(--tg-text, #f5f5f5);font-family:inherit}.air-overlay-handle{width:36px;height:4px;border-radius:2px;background:#ffffff47;margin:8px auto 2px;flex-shrink:0}.air-overlay-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 16px 10px;flex-shrink:0}.air-overlay-head h2{font-size:1.05rem;font-weight:600}.air-overlay-head.is-centered{display:grid;grid-template-columns:40px 1fr 40px;align-items:center}.air-overlay-head.is-centered h2{text-align:center;margin:0;min-width:0}.air-overlay-head-start,.air-overlay-head-end{display:flex;align-items:center;justify-content:center;width:40px;height:40px}.air-overlay-body{flex:1;min-height:0;overflow-y:auto;padding:0 16px 16px}.air-overlay-foot{flex-shrink:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.08)}@keyframes air-sheet-up{0%{transform:translateY(100%)}to{transform:none}}@media(min-width:769px){.air-overlay--center{align-items:center;padding:20px}.air-overlay--center .air-overlay-panel{width:min(440px,94vw);max-height:90dvh;border-radius:16px;border-bottom:1px solid rgba(255,255,255,.1);animation-name:air-modal-in}.air-overlay--drawer-right{align-items:stretch;justify-content:flex-end}.air-overlay--drawer-right .air-overlay-panel{width:min(380px,92vw);height:100%;max-height:none;border-radius:16px 0 0 16px;animation-name:air-drawer-in}.air-overlay-handle{display:none}}@keyframes air-modal-in{0%{transform:scale(.96);opacity:.5}to{transform:none;opacity:1}}@keyframes air-drawer-in{0%{transform:translate(16px);opacity:.6}to{transform:none;opacity:1}}.scan-modal-sheet .scan-body{display:flex;flex-direction:column;align-items:center;gap:12px}.mobile-menu-sheet .mobile-menu-footer{margin-top:16px;padding-top:12px;border-top:1px solid rgba(255,255,255,.08)}@media(max-width:768px){.tg-app{grid-template-columns:1fr}.tg-app[data-pane=list] .tg-main,.tg-app[data-pane=main] .tg-sidebar{display:none}.tg-back{display:inline-grid}.tg-sidebar{border-right:none}.air-overlay--center,.air-overlay--drawer-right{align-items:flex-end}.air-overlay--center .air-overlay-panel,.air-overlay--drawer-right .air-overlay-panel{width:100%;max-height:min(92dvh,720px);height:auto;border-radius:16px 16px 0 0;animation-name:air-sheet-up}}.call-root{position:relative;display:flex;flex:1;min-height:0;height:100%;background:#000;overflow:hidden;overscroll-behavior:none}.call-root.is-audio-only .call-video,.call-root.is-audio-only .call-pip{display:none}.call-audio-stage{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,#122033,#000 70%)}.call-audio-orb{width:140px;height:140px;border-radius:50%;background:linear-gradient(145deg,#2b5278,#1a3348);display:flex;align-items:center;justify-content:center;color:#e7f3fb;box-shadow:0 0 #3a8fd959}.call-root.is-audio-only .call-audio-orb.is-live{animation:call-audio-pulse 2s ease-in-out infinite}@keyframes call-audio-pulse{0%,to{box-shadow:0 0 #3a8fd959}50%{box-shadow:0 0 0 24px #3a8fd900}}.call-audio-orb svg{width:56px;height:56px;opacity:.92}.call-root.is-audio-only .call-side{bottom:96px}.call-root.is-audio-only.is-ended .call-audio-stage{opacity:0;pointer-events:none}.call-stage{position:relative;flex:1;min-width:0;min-height:0;-webkit-user-select:none;user-select:none}.call-video{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.call-video video,.call-pip video{display:block;width:100%;height:100%;object-fit:cover;object-position:center center}.call-pip{position:absolute;top:16px;right:16px;width:120px;height:160px;border-radius:8px;overflow:hidden;background:#111;z-index:2;cursor:pointer;touch-action:manipulation}.call-pip.call-local.is-front video{transform:scaleX(-1)}.call-bar{position:absolute;left:0;right:0;bottom:24px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;z-index:3;pointer-events:none}.call-bar-side{display:flex;align-items:center;pointer-events:none}.call-bar-left{justify-content:flex-end;padding-right:16px}.call-bar-right{justify-content:flex-start;padding-left:16px}.call-bar-center{position:relative;display:flex;justify-content:center;align-items:center}.call-bar-center.is-incoming .call-btn-answer{position:absolute;left:50%;bottom:calc(100% + 14px);transform:translate(-50%)}.call-side{position:absolute;right:16px;bottom:140px;display:flex;flex-direction:column;gap:12px;z-index:3}.call-bar,.call-side{transition:opacity .28s ease,visibility .28s ease}.call-root.is-chrome-off .call-bar,.call-root.is-chrome-off .call-side{opacity:0;visibility:hidden}.call-root.is-waiting.is-chrome-off .call-bar,.call-root.is-idle.is-chrome-off .call-bar,.call-root.is-ended .call-bar{opacity:1;visibility:visible}.call-btn{width:50px;height:50px;border-radius:50%;border:0;background:#444;color:#fff;cursor:pointer;display:grid;place-items:center;padding:0;pointer-events:auto}.call-btn svg{width:22px;height:22px}.call-btn.hang{width:64px;height:64px;background:#c0392b}.call-btn.hang svg{width:28px;height:28px;transform:rotate(135deg)}.call-btn.start{width:64px;height:64px;background:#27ae60}.call-btn.start svg{width:28px;height:28px}.call-btn.on{background:#c0392b}.call-root.is-ended .call-pip,.call-root.is-ended .call-video video{opacity:0;pointer-events:none}.call-root.is-waiting .call-pip,.call-root.is-idle .call-pip{display:none}.call-over{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:24px 20px;color:#fff;pointer-events:none}.call-over-title{font-size:1.25rem;font-weight:600}.call-over-hint{font-size:.9rem;color:#ffffffb8;max-width:260px;margin-bottom:6px;line-height:1.35}.call-banner-wrap{position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);z-index:3;display:flex;flex-direction:column;align-items:center;gap:18px}.call-banner{background:#000000d9;color:#fff;padding:10px 14px;border-radius:12px}.call-banner-hint{color:#ffffffb8;font-size:.9rem;max-width:260px;text-align:center;line-height:1.35;margin-top:-6px}.call-rings{position:relative;width:96px;height:96px;flex-shrink:0}.call-rings-wave{position:absolute;left:50%;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;border:2px solid rgba(255,255,255,.75);animation:call-wait-ring 2.4s ease-out infinite}.call-rings-wave:nth-child(2){animation-delay:.8s}.call-rings-wave:nth-child(3){animation-delay:1.6s}@keyframes call-wait-ring{0%{transform:scale(1);opacity:.7}to{transform:scale(7.2);opacity:0}}.tg-hdr-actions{display:flex;align-items:center;gap:2px;margin-left:auto;flex-shrink:0}.tg-hdr-actions .tg-ib.is-on{background:#ffffff1f;color:#fff}.tg-main-body{position:relative}.call-host{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:flex;flex-direction:column;min-height:0}.call-host.is-hidden{visibility:hidden;pointer-events:none;z-index:-1}.call-close{position:absolute;top:12px;right:12px;z-index:6;width:40px;height:40px;border:0;border-radius:50%;background:#0000008c;color:#fff;display:grid;place-items:center;cursor:pointer;padding:0}.call-close svg{width:20px;height:20px}.tg-call-active{color:#27ae60!important;animation:call-chat-pulse 1.35s ease-in-out infinite}.tg-call-active svg{width:22px;height:22px}.call-btn-chat{position:relative}.call-btn-chat.on{background:#2b5278}.call-chat-dot{position:absolute;top:5px;right:5px;width:10px;height:10px;border-radius:50%;background:#fff;pointer-events:none;animation:call-chat-pulse 1.35s ease-in-out infinite}@keyframes call-chat-pulse{0%,to{transform:scale(1);opacity:1;box-shadow:0 0 #ffffffa6}50%{transform:scale(1.18);opacity:.85;box-shadow:0 0 0 5px #fff0}}.call-root.is-ended .call-bar{z-index:6}.call-root.is-ended .call-sheet{z-index:7}.call-sheet{position:absolute;left:0;right:0;bottom:0;height:55%;background:var(--tg-bg, #0e1621);color:var(--tg-text, #f5f5f5);border-radius:16px 16px 0 0;display:flex;flex-direction:column;z-index:4;min-height:0;overflow:hidden;transition:transform .22s ease,visibility 0s}.call-sheet.is-hidden{transform:translateY(calc(100% + 24px));visibility:hidden;pointer-events:none;transition:transform .22s ease,visibility 0s linear .22s}.call-sheet-head{display:flex;align-items:center;justify-content:center;position:relative;flex-shrink:0;height:36px;cursor:grab;touch-action:none}.call-sheet-grip{width:40px;height:4px;border-radius:99px;background:#ffffff47}.call-sheet-hide{position:absolute;right:8px;top:4px;width:32px;height:28px;border:0;background:transparent;color:inherit;display:grid;place-items:center;cursor:pointer;padding:0}.call-sheet-hide svg{width:22px;height:22px}.call-sheet-hide-desk{display:none}.call-sheet-body{flex:1;min-height:0;display:flex;flex-direction:column}.call-chat-panel{display:flex;flex-direction:column;flex:1;min-height:0;height:100%}.call-chat-feed{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}.call-chat-panel .tg-composer{flex-shrink:0}@media(min-width:900px){.call-root{flex-direction:row}.call-sheet{position:relative;left:auto;right:auto;bottom:auto;width:min(380px,42vw);height:100%;border-radius:0;border-left:1px solid rgba(255,255,255,.08);transform:none!important;transition:none}.call-sheet.is-hidden{display:none;pointer-events:none}.call-sheet-grip,.call-sheet-hide-mobile{display:none}.call-sheet-hide-desk{display:inline}.call-sheet-head{justify-content:flex-end;height:40px;cursor:default}}
