.asx-telegram-launch {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 10px 15px; border: 1px solid var(--border, #dfe2d8);
  border-radius: 11px; background: var(--bg-card, #fff); color: var(--text, #171912);
  font: 600 13px/1.3 Inter, "Segoe UI", sans-serif; cursor: pointer;
}
.asx-telegram-launch svg { width: 20px; height: 20px; flex: 0 0 20px; color: #168dcc; }
.asx-telegram-launch:hover { background: var(--surface-soft, #f3f4ee); }
.asx-telegram-launch.asx-telegram-launch--header {
  display: inline-flex; flex-shrink: 0; width: 38px; height: 38px; min-height: 38px;
  padding: 0; border-radius: 9px; background: var(--surface-soft, var(--bg, #f7f7f2));
}
.asx-telegram-launch--header svg { width: 18px; height: 18px; flex-basis: 18px; }
.asx-telegram-launch--header:hover { background: var(--bg-hover, #e8e8e1); border-color: var(--border-light, #cdcec4); }
.asx-telegram-launch--account { flex-shrink: 0; }
.asx-billing-support .asx-telegram-launch--billing { display: flex; width: fit-content; margin: 12px auto 0; color: var(--text, #171912); }
.asx-telegram-dialog {
  box-sizing: border-box; width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  padding: 34px; border: 1px solid var(--border, #dfe2d8); border-radius: 24px;
  margin: auto; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg-card, #fff); color: var(--text, #171912);
  box-shadow: 0 24px 90px #0004; font: 400 14px/1.55 Inter, "Segoe UI", sans-serif;
}
.asx-telegram-dialog::backdrop { background: rgb(12 20 25 / 45%); backdrop-filter: blur(4px); }
.asx-telegram-close {
  position: absolute; top: 12px; right: 12px; display: grid; place-items: center;
  width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 12px;
  background: transparent; color: var(--text-muted, #73796e); cursor: pointer;
}
.asx-telegram-close:hover { background: var(--surface-soft, #f3f4ee); }
.asx-telegram-close svg { width: 23px; height: 23px; }
.asx-telegram-icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 19px; background: #e5f4fc; color: #168dcc; margin-bottom: 22px; }
.asx-telegram-icon svg { width: 36px; height: 36px; }
.asx-telegram-brand { color: var(--text-muted, #73796e); font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.asx-telegram-dialog h2 { color: inherit; margin: 8px 0 12px; font-size: 26px; line-height: 1.16; letter-spacing: -.035em; font-weight: 700; }
.asx-telegram-dialog p { color: var(--text-muted, #73796e); margin: 0; line-height: 1.6; }
.asx-telegram-contact { border: 1px solid var(--border, #dfe2d8); background: var(--surface-soft, #f3f4ee); padding: 16px 18px; border-radius: 15px; margin: 24px 0; }
.asx-telegram-contact > span { font-weight: 650; font-size: 15px; }
.asx-telegram-contact > p { font-size: 13px; margin-top: 6px; }
.asx-telegram-dialog .asx-telegram-action {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
  padding: 8px 12px; box-sizing: border-box; border-radius: 12px; background: #087cba; color: #fff;
  text-decoration: none; font-size: 14px; font-weight: 650; text-align: center;
}
.asx-telegram-action svg { width: 22px; height: 22px; flex-shrink: 0; }
.asx-telegram-dialog .asx-telegram-action:hover { background: #066a9f; color: #fff; }
.asx-telegram-dialog .asx-telegram-note { margin-top: 12px; font-size: 11px; text-align: center; }
.asx-telegram-launch:focus-visible, .asx-telegram-dialog :focus-visible { outline: 3px solid #168dcc; outline-offset: 3px; }
html[data-theme="dark"] .asx-telegram-icon { background: #183747; color: #70c8f8; }
html[data-theme="dark"] .asx-telegram-launch svg { color: #70c8f8; }
@media (max-width: 480px) {
  .asx-telegram-dialog { padding: 28px 22px 24px; border-radius: 20px; }
  .asx-telegram-dialog h2 { font-size: 25px; }
  .asx-telegram-launch--account { align-self: flex-start; }
}
