/* Плавающая кнопка Telegram: синий круг с пульсацией и точкой «онлайн» */

.tgb-wrap {
	position: fixed;
	right: 32px;
	bottom: 100px; /* выше значка reCAPTCHA */
	z-index: 999;
}

.tgb {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 66px;
	height: 66px;
	border-radius: 50%;
	background: linear-gradient(160deg, #37aee2, #1e96c8);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 14px 30px rgba(30, 150, 200, .4);
	transition: transform .2s ease, box-shadow .2s ease;
}
.tgb:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(30, 150, 200, .5); color: #fff; }
.tgb svg { position: relative; z-index: 1; display: block; width: 30px; height: 30px; margin-left: -3px; }

/* Пульсация: два кольца расходятся по очереди */
.tgb::before,
.tgb::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid #2aa6dc;
	animation: tgbPulse 2.4s ease-out infinite;
	pointer-events: none;
}
.tgb::after { animation-delay: 1.2s; }
@keyframes tgbPulse {
	from { transform: scale(1); opacity: .6; }
	to { transform: scale(1.65); opacity: 0; }
}

/* Точка «онлайн» */
.tgb__dot {
	position: absolute;
	z-index: 2;
	top: 3px;
	right: 3px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #3ccf5e;
	border: 3px solid #fff;
}

@media (prefers-reduced-motion: reduce) {
	.tgb::before, .tgb::after { animation: none; display: none; }
}

@media (max-width: 767px) {
	.tgb-wrap { right: 16px; bottom: 90px; }
	.tgb { width: 58px; height: 58px; }
	.tgb svg { width: 26px; height: 26px; }
}
