#taoFloatingTelegram{
  position:fixed;right:clamp(14px,2vw,28px);bottom:clamp(16px,2.4vw,30px);
  z-index:99990;display:flex;align-items:center;gap:9px;
  min-height:46px;padding:0 17px 0 11px;border-radius:999px;
  border:1px solid color-mix(in srgb,var(--red) 72%,white 8%);
  background:linear-gradient(135deg,var(--red),var(--red2));
  color:#fff;font-size:12px;font-weight:900;letter-spacing:-.01em;
  box-shadow:0 12px 32px rgba(0,0,0,.38),0 0 22px rgba(255,64,89,.25);
  cursor:pointer;overflow:visible;isolation:isolate;
  animation:taoTgFloat 3s ease-in-out infinite;
  transition:transform .2s ease,filter .2s ease,box-shadow .2s ease;
}
#taoFloatingTelegram::before{
  content:"";position:absolute;inset:-5px;border-radius:999px;z-index:-2;
  border:1px solid rgba(255,64,89,.45);
  animation:taoTgPulse 2s ease-out infinite;
}
#taoFloatingTelegram::after{
  content:"";position:absolute;inset:0;border-radius:inherit;z-index:-1;
  background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.30) 45%,transparent 68%);
  transform:translateX(-130%);animation:taoTgShine 3.4s ease-in-out infinite;
  overflow:hidden;
}
#taoFloatingTelegram:hover{
  transform:translateY(-3px) scale(1.035);filter:brightness(1.08);
  box-shadow:0 16px 38px rgba(0,0,0,.42),0 0 30px rgba(255,64,89,.38);
}
#taoFloatingTelegram .tao-tg-icon{
  width:28px;height:28px;flex:0 0 28px;border-radius:50%;
  display:grid;place-items:center;background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.20);font-size:15px;
}
#taoFloatingTelegram .tao-tg-dot{
  position:absolute;right:4px;top:3px;width:8px;height:8px;border-radius:50%;
  background:#6dffa5;border:2px solid var(--red);
  box-shadow:0 0 9px rgba(109,255,165,.75);
}
@keyframes taoTgFloat{0%,100%{translate:0 0}50%{translate:0 -5px}}
@keyframes taoTgPulse{0%{opacity:.75;transform:scale(.98)}70%,100%{opacity:0;transform:scale(1.16)}}
@keyframes taoTgShine{0%,58%{transform:translateX(-130%)}78%,100%{transform:translateX(130%)}}
@media(max-width:650px){
  #taoFloatingTelegram{
    right:12px;bottom:14px;min-height:44px;padding:0 14px 0 9px;
    font-size:11px;gap:7px;
  }
  #taoFloatingTelegram .tao-tg-icon{width:27px;height:27px;flex-basis:27px}
}
@media(prefers-reduced-motion:reduce){
  #taoFloatingTelegram,#taoFloatingTelegram::before,#taoFloatingTelegram::after{animation:none!important}
}
