.xy-live-widget {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 999999;
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 10px 14px;
	border-radius: 999px;
	background: #111;
	color: #fff;
	box-shadow: 0 6px 24px rgb(0 0 0 / 22%);
	font: 600 13px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	letter-spacing: 0.1px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.xy-live-widget[hidden] { display: none; }
.xy-live-widget:hover { transform: translateY(-2px); }

.xy-live-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #e31b23;
	box-shadow: 0 0 0 4px rgb(227 27 35 / 14%);
	animation: xy-live-pulse 1.8s infinite;
	flex: 0 0 auto;
}

.xy-live-label {
	font-size: 10px;
	letter-spacing: 1px;
	color: #ff4a50;
}
.xy-live-count { font-weight: 800; }

.xy-live-text {
	font-weight: 500;
	opacity: 0.82;
}

@keyframes xy-live-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.45; }
}

@media (width <= 600px) {
	.xy-live-widget {
		right: 10px;
		bottom: 10px;
		padding: 9px 12px;
		font-size: 12px;
	}
	.xy-live-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.xy-live-dot { animation: none; }
}
