/* DG Live Metrics — stat card styles (scoped under .dg-live-metrics-card) */

.dg-live-metrics-card {
	position: relative;
	max-width: 380px;
	background: #f7f7f8;
	border: 1px solid #e6e6e9;
	border-radius: 16px;
	padding: 24px 26px 22px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	box-shadow: 0 1px 2px rgba(16, 16, 20, 0.04);
	color: #17171a;
}

.dg-live-badge {
	position: absolute;
	top: 18px;
	right: 20px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	border: 1px solid #f1d3d3;
	border-radius: 999px;
	padding: 4px 10px 4px 8px;
}

.dg-live-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #e5484d;
	position: relative;
	display: inline-block;
	animation: dg-pulse 1.6s ease-in-out infinite;
}

@keyframes dg-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(229, 72, 77, 0.55);
	}
	70% {
		box-shadow: 0 0 0 7px rgba(229, 72, 77, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(229, 72, 77, 0);
	}
}

.dg-live-text {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #e5484d;
}

.dg-serving-label {
	font-size: 13px;
	color: #8a8a92;
	font-weight: 500;
	margin-bottom: 14px;
}

.dg-metric-block {
	margin-bottom: 16px;
}

.dg-metric-block:last-child {
	margin-bottom: 0;
}

.dg-metric-number {
	font-size: 30px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: #111114;
}

.dg-metric-number--active {
	color: #1f9254;
}

.dg-metric-sublabel {
	font-size: 12.5px;
	color: #9a9aa2;
	font-weight: 500;
	margin-top: 4px;
}

.dg-live-time-row {
	display: flex;
	align-items: baseline;
	gap: 6px;
	font-size: 13px;
	color: #55555c;
	margin-bottom: 10px;
	padding-top: 10px;
	border-top: 1px dashed #e2e2e6;
}

.dg-live-time-label {
	font-weight: 600;
	color: #33333a;
}

.dg-live-time-value {
	font-variant-numeric: tabular-nums;
	color: #55555c;
}

@media (max-width: 480px) {
	.dg-live-metrics-card {
		max-width: 100%;
		padding: 20px 18px 18px;
	}

	.dg-metric-number {
		font-size: 26px;
	}
}
