/* Tira Visitor Counter – warna mengikuti warna teks footer (cocok untuk footer gelap maupun terang). */
.tvc-counter {
	font-size: 14px;
	line-height: 1.4;
	color: inherit;
}
.tvc-title {
	font-weight: 600;
	margin-bottom: 10px;
}
.tvc-items {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.tvc-align-center .tvc-items { justify-content: center; }
.tvc-align-right .tvc-items { justify-content: flex-end; }
.tvc-align-center .tvc-title { text-align: center; }
.tvc-align-right .tvc-title { text-align: right; }

.tvc-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}
.tvc-icon {
	display: inline-flex;
	opacity: .75;
}
.tvc-icon svg { display: block; }
.tvc-label { opacity: .8; }
.tvc-num {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

/* badge */
.tvc-style-badge .tvc-item {
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(127, 127, 127, .12);
	border: 1px solid rgba(127, 127, 127, .25);
}

/* plain: daftar vertikal */
.tvc-style-plain .tvc-items {
	flex-direction: column;
	gap: 6px;
}
.tvc-style-plain.tvc-align-center .tvc-items { align-items: center; }
.tvc-style-plain.tvc-align-right .tvc-items { align-items: flex-end; }

/* inline: satu baris dipisah titik tengah */
.tvc-style-inline .tvc-items { gap: 0; }
.tvc-style-inline .tvc-item + .tvc-item::before {
	content: "\00B7";
	margin: 0 10px;
	opacity: .5;
}

/* titik hijau "online" */
.tvc-dot {
	position: relative;
	width: 8px;
	height: 8px;
	margin: 0 4px;
	border-radius: 50%;
	background: #22c55e;
}
.tvc-dot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: #22c55e;
	animation: tvc-pulse 1.8s ease-out infinite;
}
.tvc-item-online .tvc-icon { opacity: 1; }

@keyframes tvc-pulse {
	0% { transform: scale(1); opacity: .7; }
	100% { transform: scale(2.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.tvc-dot::after { animation: none; }
}

/* sisip otomatis */
.tvc-auto {
	margin: 10px 0;
}
.tvc-auto-body {
	margin: 0;
	padding: 14px 16px;
}
.tvc-auto .tvc-counter { font-size: 13px; }
