/* Карточка «Просмотры сайта» в виджете «Что сейчас происходит в Алматы».
   Фон, скругление и отступы наследуются от .modal__widget__events темы. */

.va-pv {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}

.va-pv .modal__widget__events__title {
	margin-bottom: 0;
}

/* За последние 30 минут */
.va-pv__live {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 1.1rem;
	border-bottom: 1px solid #0e1011;
}

.va-pv__live-label {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 1.12rem;
	line-height: 1.3;
}

.va-pv__dot {
	position: relative;
	flex: none;
	width: 0.65rem;
	height: 0.65rem;
	border-radius: 50%;
	background: #bf5555;
}

.va-pv__dot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: inherit;
	animation: va-pv-pulse 2s ease-out infinite;
}

@keyframes va-pv-pulse {
	0%   { transform: scale(1);   opacity: 0.55; }
	100% { transform: scale(2.8); opacity: 0; }
}

.va-pv__live-value {
	font-family: Geologica, sans-serif;
	font-weight: 700;
	font-size: 3.38rem;
	line-height: 0.95;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* Сегодня / Вчера / 7 дней / 30 дней */
.va-pv__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.25rem;
	margin: 0;
}

.va-pv__cell {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.va-pv__cell dt {
	font-size: 1.12rem;
	line-height: 1.3;
}

.va-pv__cell dd {
	margin: 0;
	font-family: Geologica, sans-serif;
	font-weight: 700;
	font-size: 1.62rem;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.va-pv__note {
	font-size: 0.9rem;
	line-height: 1.3;
	opacity: 0.7;
}

@media screen and (max-width: 550px) {
	.va-pv__live-label,
	.va-pv__cell dt {
		font-size: 14px;
	}
	.va-pv__live-value {
		font-size: 2.4rem;
	}
	.va-pv__cell dd {
		font-size: 1.35rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.va-pv__dot::after {
		animation: none;
	}
}
