/* Single Telegram CTA — fixed floating button (only one on the whole site) */
.tg-fab {
  position: fixed;
  z-index: 90;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: #2aabee;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(42, 171, 238, 0.45);
  -webkit-tap-highlight-color: transparent;
  transition: bottom 0.25s ease;
}
body.has-claim-bar .tg-fab {
  bottom: max(92px, calc(env(safe-area-inset-bottom) + 88px));
}
.tg-fab svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}
.tg-fab:hover {
  filter: brightness(1.06);
}
.tg-fab:active {
  transform: scale(0.97);
}

@media (max-width: 520px) {
  .tg-fab__text {
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Hide legacy multi-promo blocks if cached HTML/JS still injects them */
.tg-promo-host,
.tg-nav-btn,
.tg-promo {
  display: none !important;
}
