.telegram-service {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 999990;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 9px;
  border: 1px solid rgba(89, 181, 231, 0.34);
  border-radius: 999px;
  color: #176f9f;
  background: rgba(247, 252, 255, 0.94);
  box-shadow: 0 12px 32px rgba(47, 139, 191, 0.2), 0 3px 10px rgba(47, 139, 191, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.telegram-service:hover {
  color: #0f6998;
  border-color: rgba(53, 165, 226, 0.56);
  box-shadow: 0 16px 38px rgba(47, 139, 191, 0.27), 0 4px 12px rgba(47, 139, 191, 0.14);
  transform: translateY(-2px);
}

.telegram-service:focus-visible {
  outline: 3px solid rgba(75, 183, 237, 0.35);
  outline-offset: 3px;
}

.telegram-service__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #62c9f4 0%, #36aeea 56%, #238fca 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 6px 14px rgba(35, 143, 202, 0.27);
}

.telegram-service__icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.telegram-service__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.12;
}

.telegram-service__copy strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .telegram-service {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    gap: 8px;
    padding: 7px 11px 7px 7px;
  }

  .telegram-service__icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
}
