.sticky-telegram {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sticky-telegram-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #27b8ed, #087eba);
  box-shadow: 0 4px 15px #084f7940;
}
.sticky-telegram-link-2 { background: linear-gradient(145deg, #2599e3, #1360ad); }
.sticky-telegram-link > .icon { width: 27px; height: 27px; margin-right: 2px; }
.sticky-telegram-link:hover { box-shadow: 0 4px 20px #084f7960; }
.sticky-telegram-link:focus-visible { outline: 3px solid #0b1430; outline-offset: 3px; }
.sticky-telegram-number {
  position: absolute;
  right: -3px;
  bottom: -2px;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #0b456f;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}
.sticky-telegram-label {
  position: absolute;
  right: calc(100% + 10px);
  max-width: min(210px, calc(100vw - 100px));
  width: max-content;
  padding: 7px 11px;
  border-radius: 7px;
  color: #fff;
  background: #0b1430;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  visibility: hidden;
  pointer-events: none;
}
.sticky-telegram-link:hover .sticky-telegram-label,
.sticky-telegram-link:focus-visible .sticky-telegram-label { visibility: visible; }
@media (max-width: 600px) {
  .sticky-telegram { right: max(12px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); gap: 10px; }
  .sticky-telegram-link { width: 48px; height: 48px; }
  .sticky-telegram-link > .icon { width: 25px; height: 25px; }
}
@media print { .sticky-telegram { display: none; } }
