/* --------------------------------------------------------------------------
   /video/ (page-videos.php): видеотека в языке /ai-communications/,
   /platform/, /corporate-assistants/ — пергамент #F6F3F1, рамки Ash,
   моно-подписи, бордовый ROBIN #A30C33, красный результат #C52229.
   Панели — .rcm-caps--panel, форма — .robin-pick--lead (style.css);
   здесь только .rvl-*: инфографика, истории заказчиков, отрасли и
   перекраска общего каталога (.rcc-*, .rcv-*) внутри .rvl-lib
   (на /academy/videos/ и других страницах каталог не меняется).
   Анимации появления (.is-in) включает assets/js/robin-videos-page.js.
   -------------------------------------------------------------------------- */
.rvl {
	--rvl-parchment: #f6f3f1;
	--rvl-ash: #cecac8;
	--rvl-line: #edebe9;
	--rvl-ink: #242424;
	--rvl-graphite: #4e4d4d;
	--rvl-smoke: #797776;
	--rvl-accent: #a30c33;
	--rvl-result: #c52229;
	--rvl-soft: #eab0b2;
	--rvl-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--rvl-ease: cubic-bezier(.22, .61, .36, 1);
}

.rvl-mono {
	margin: 0;
	font-family: var(--rvl-mono);
	font-size: 12px;
	line-height: 1.3;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--rvl-smoke);
}
.rvl-mono--accent { color: var(--rvl-accent); }
.rvl-mono-note { text-transform: none; letter-spacing: 0; opacity: .8; }

/* ========== ВИДЕОТЕКА В ЦИФРАХ ========== */
.rvl-kpis {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.rvl-kpi {
	display: flex;
	flex-direction: column;
	padding: 22px 22px 20px;
	border: 1px solid var(--rvl-ash);
	border-radius: 24px;
	background: #fff;
	transition: border-color .2s ease, transform .3s var(--rvl-ease);
}
.rvl-kpi:hover { border-color: var(--rvl-soft); transform: translateY(-3px); }
.rvl-kpi-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid #efeeed;
	border-radius: 10px;
	background: var(--rvl-parchment);
	color: var(--rvl-ink);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .05), 0 1px 2px -1px rgba(0, 0, 0, .05);
	transition: color .2s ease;
}
.rvl-kpi:hover .rvl-kpi-icon { color: var(--rvl-accent); }
.rvl-kpi-num {
	margin-top: 22px;
	font-family: var(--robin-font-head, inherit);
	font-size: clamp(40px, 5vw, 56px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--rvl-ink);
	font-variant-numeric: tabular-nums;
}
.rvl-kpi-label {
	margin-top: 10px;
	font-family: var(--rvl-mono);
	font-size: 12px;
	line-height: 1.35;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--rvl-smoke);
}

/* Сегментная полоса «Состав видеотеки» */
.rvl-mix { margin-top: 40px; }
.rvl-mix-bar {
	display: flex;
	gap: 4px;
	height: 16px;
	margin-top: 12px;
	border-radius: 999px;
	overflow: hidden;
}
.rvl-mix-seg {
	display: block;
	flex: 0 0 auto;
	width: 0;
	background: var(--rvl-accent);
	transition: width 1s var(--rvl-ease);
	transition-delay: calc(var(--i, 0) * .15s);
}
.rvl-mix-seg:first-child { border-radius: 999px 0 0 999px; }
.rvl-mix-seg:last-child { flex: 1 1 auto; border-radius: 0 999px 999px 0; }
.is-in .rvl-mix-seg { width: var(--w); }
.rvl-mix-seg--0 { background: var(--rvl-accent); }
.rvl-mix-seg--1 { background: var(--rvl-graphite); }
.rvl-mix-seg--2 { background: var(--rvl-soft); }
.rvl-mix-seg--3 { background: var(--rvl-ash); }
.rvl-mix-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}
.rvl-mix-legend li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--rvl-graphite);
}
.rvl-mix-legend b { font-weight: 600; color: var(--rvl-ink); }
.rvl-mix-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.rvl-mix-ico { color: var(--rvl-smoke); }
.rvl-mix-pct { font-family: var(--rvl-mono); font-size: 12px; color: var(--rvl-smoke); }

/* Графики: форматы и годы */
.rvl-charts {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 16px;
	margin-top: 32px;
}
.rvl-chart {
	padding: 24px;
	border: 1px solid var(--rvl-ash);
	border-radius: 24px;
	background: #fff;
}
.rvl-bars { margin: 18px 0 0; padding: 0; list-style: none; }
.rvl-bar {
	display: grid;
	grid-template-columns: minmax(0, 150px) minmax(0, 1fr) 28px;
	align-items: center;
	gap: 12px;
	padding: 6px 0;
	font-size: 13.5px;
	color: var(--rvl-graphite);
}
.rvl-bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rvl-bar-track {
	position: relative;
	height: 8px;
	border-radius: 999px;
	background: var(--rvl-line);
	overflow: hidden;
}
.rvl-bar-fill {
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	border-radius: inherit;
	background: var(--rvl-soft);
	transition: width .9s var(--rvl-ease), background-color .2s ease;
	transition-delay: calc(.3s + var(--i, 0) * .07s);
}
.rvl-bar:first-child .rvl-bar-fill { background: var(--rvl-accent); }
.rvl-bar:hover .rvl-bar-fill { background: var(--rvl-result); }
.is-in .rvl-bar-fill { width: var(--w); }
.rvl-bar-num {
	font-family: var(--rvl-mono);
	font-size: 12px;
	text-align: right;
	color: var(--rvl-ink);
}

.rvl-cols {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	height: 210px;
	margin-top: 18px;
	padding-bottom: 2px;
	border-bottom: 1px solid var(--rvl-line);
	background-image: repeating-linear-gradient(to top, transparent 0 41px, var(--rvl-line) 41px 42px);
	background-position: 0 -26px;
}
.rvl-col {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	height: 100%;
	position: relative;
}
.rvl-col-bar {
	display: block;
	width: 100%;
	max-width: 46px;
	height: 0;
	border-radius: 10px 10px 4px 4px;
	background: var(--rvl-soft);
	transition: height 1s var(--rvl-ease), background-color .2s ease;
	transition-delay: calc(.35s + var(--i, 0) * .09s);
}
.rvl-col.is-peak .rvl-col-bar { background: var(--rvl-accent); }
.rvl-col:hover .rvl-col-bar { background: var(--rvl-result); }
.is-in .rvl-col-bar { height: calc((100% - 24px) * var(--h)); }
.rvl-col-num {
	margin-bottom: 6px;
	font-family: var(--rvl-mono);
	font-size: 12px;
	color: var(--rvl-ink);
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .4s ease, transform .4s ease;
	transition-delay: calc(.9s + var(--i, 0) * .09s);
}
.is-in .rvl-col-num { opacity: 1; transform: none; }
.rvl-col-year {
	position: absolute;
	bottom: -26px;
	font-family: var(--rvl-mono);
	font-size: 12px;
	color: var(--rvl-smoke);
}
.rvl-chart:has(.rvl-cols) { padding-bottom: 46px; }

/* ========== ИСТОРИИ ЗАКАЗЧИКОВ ========== */
.rvl-stories-head { text-align: center; }
.rvl-stories {
	display: grid;
	grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
	gap: 24px;
	margin-top: 40px;
}
.rvl-stories-list { margin: 0; padding: 0; list-style: none; }
.rvl-story-tab {
	position: relative;
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	align-items: baseline;
	width: 100%;
	padding: 18px 4px 20px;
	border: 0;
	border-top: 1px solid var(--rvl-line);
	background: none;
	text-align: left;
	cursor: pointer;
	color: var(--rvl-smoke);
	transition: color .2s ease;
}
.rvl-stories-list li:last-child .rvl-story-tab { border-bottom: 1px solid var(--rvl-line); }
.rvl-story-tab:hover { color: var(--rvl-ink); }
.rvl-story-tab.is-active { color: var(--rvl-ink); }
.rvl-story-tab:focus-visible { outline: 2px solid var(--rvl-accent); outline-offset: 2px; border-radius: 6px; }
.rvl-story-num {
	font-family: var(--rvl-mono);
	font-size: 12px;
	color: var(--rvl-ash);
	transition: color .2s ease;
}
.rvl-story-tab.is-active .rvl-story-num { color: var(--rvl-accent); }
.rvl-story-who { font-size: 16px; font-weight: 500; line-height: 1.35; }
.rvl-story-bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	overflow: hidden;
}
.rvl-story-bar span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--rvl-accent);
}
.rvl-story-tab.is-active .rvl-story-bar span { animation: rvl-progress 7s linear forwards; }
.rvl-stories.is-paused .rvl-story-tab.is-active .rvl-story-bar span { animation-play-state: paused; }
@keyframes rvl-progress { from { width: 0; } to { width: 100%; } }

.rvl-story { animation: rvl-fade-up .5s var(--rvl-ease); }
.rvl-story[hidden] { display: none; }
@keyframes rvl-fade-up {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: none; }
}
.rvl-story-screen {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 28px;
	width: 100%;
	min-height: 320px;
	padding: 32px 36px;
	border: 0;
	border-radius: 28px;
	overflow: hidden;
	isolation: isolate;
	text-align: left;
	cursor: pointer;
	color: #fff;
	background:
		radial-gradient(90% 120% at 100% 0%, rgba(255, 255, 255, .16), transparent 55%),
		radial-gradient(120% 140% at 0% 100%, #6f0a24 0%, transparent 60%),
		linear-gradient(135deg, #d0333a 0%, #a30c33 55%, #7d0a28 100%);
	box-shadow: 0 30px 60px -34px rgba(163, 12, 51, .6);
	transition: transform .35s var(--rvl-ease), box-shadow .35s ease;
}
.rvl-story-screen:hover { transform: translateY(-3px); box-shadow: 0 40px 70px -34px rgba(163, 12, 51, .7); }
.rvl-story-screen:focus-visible { outline: 3px solid var(--rvl-soft); outline-offset: 3px; }
.rvl-story-quote-ico { color: rgba(255, 255, 255, .5); }
.rvl-story-quote {
	max-width: 36ch;
	font-family: var(--robin-font-head, inherit);
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: -0.02em;
}
.rvl-story-play {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-size: 15px;
	font-weight: 500;
}
.rvl-story-play-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	padding-left: 3px;
	border-radius: 50%;
	background: #fff;
	color: var(--rvl-accent);
	transition: transform .25s var(--rvl-ease);
}
.rvl-story-play-btn::before,
.rvl-story-play-btn::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid rgba(255, 255, 255, .7);
	border-radius: 50%;
	animation: rvl-ring 2.6s ease-out infinite;
}
.rvl-story-play-btn::after { animation-delay: 1.3s; }
@keyframes rvl-ring {
	from { transform: scale(1); opacity: .9; }
	to   { transform: scale(1.8); opacity: 0; }
}
.rvl-story-screen:hover .rvl-story-play-btn { transform: scale(1.08); }
.rvl-story-body { padding: 22px 6px 0; }
.rvl-tag {
	font-size: .72rem;
	font-weight: 500;
	color: var(--rvl-accent);
	background: #faeaef;
	border-radius: 999px;
	padding: 3px 10px;
}
.rvl-tag--ghost { color: var(--rvl-smoke); background: var(--rvl-parchment); }
.rvl-story-title {
	margin: 12px 0 0;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -0.015em;
	color: var(--rvl-ink);
}
.rvl-story-take {
	display: flex;
	gap: 10px;
	margin: 12px 0 0;
	font-size: 15px;
	line-height: 1.55;
	color: #717171;
}
.rvl-story-take svg { flex: 0 0 auto; margin-top: 4px; color: var(--rvl-accent); }

/* ========== ОТРАСЛИ ========== */
.rvl-ind {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.rvl-ind > li { display: flex; width: calc(25% - 12px); }
.rvl-ind-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	padding: 20px 20px 18px;
	border: 1px solid var(--rvl-ash);
	border-radius: 24px;
	background: #fff;
	text-align: left;
	cursor: pointer;
	transition: border-color .2s ease, transform .3s var(--rvl-ease);
}
.rvl-ind-card:hover { border-color: var(--rvl-soft); transform: translateY(-3px); }
.rvl-ind-card:focus-visible { outline: 2px solid var(--rvl-accent); outline-offset: 3px; }
.rvl-ind-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid #efeeed;
	border-radius: 10px;
	background: var(--rvl-parchment);
	color: var(--rvl-ink);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .05), 0 1px 2px -1px rgba(0, 0, 0, .05);
	transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.rvl-ind-card:hover .rvl-ind-icon { color: #fff; background: var(--rvl-accent); border-color: var(--rvl-accent); }
.rvl-ind-name { margin-top: 16px; font-size: 16px; font-weight: 600; color: var(--rvl-ink); }
.rvl-ind-num {
	margin-top: 4px;
	font-family: var(--rvl-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	color: var(--rvl-smoke);
}
.rvl-ind-meter {
	display: block;
	width: 100%;
	height: 4px;
	margin-top: 14px;
	border-radius: 999px;
	background: var(--rvl-line);
	overflow: hidden;
}
.rvl-ind-meter span {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: var(--rvl-accent);
	transition: width 1s var(--rvl-ease);
	transition-delay: calc(.2s + var(--i, 0) * .08s);
}
.is-in .rvl-ind-meter span { width: var(--w); }
.rvl-ind-go {
	position: absolute;
	top: 20px;
	right: 20px;
	color: var(--rvl-accent);
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity .2s ease, transform .2s ease;
}
.rvl-ind-card:hover .rvl-ind-go,
.rvl-ind-card:focus-visible .rvl-ind-go { opacity: 1; transform: none; }

/* ========== КАТАЛОГ (.rvl-lib) ========== */
.rvl-lib .rcc-filter { align-items: center; background: #fff; }
.rvl-lib .rcc-filter::after { background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0)); }
.rvl-lib .rcc-chip { color: var(--rvl-graphite); border-color: var(--rvl-line); }
.rvl-lib .rcc-chip:hover { color: var(--rvl-accent); border-color: var(--rvl-soft); }
.rvl-lib .rcc-chip.is-active { color: #fff; background: var(--rvl-accent); border-color: var(--rvl-accent); }
.rvl-lib .rcc-chip__num { color: var(--rvl-smoke); background: var(--rvl-parchment); }
.rvl-lib .rcc-chip.is-active .rcc-chip__num { color: #fff; background: rgba(255, 255, 255, .18); }
.rvl-lib .rcc-chip[hidden] { display: none; }
.rvl-chip-ico { margin-right: -2px; opacity: .8; }
.rvl-tagchip { animation: rvl-pop .3s var(--rvl-ease); }
@keyframes rvl-pop { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }

/* Поиск: свёрнут в иконку, раскрывается при фокусе или с введённым текстом */
.rvl-search {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	padding: 0 13px;
	height: 42px;
	width: 42px;
	overflow: hidden;
	cursor: text;
	border: 1px solid var(--rvl-line);
	border-radius: 999px;
	background: #fff;
	color: var(--rvl-smoke);
	transition: width .35s var(--rvl-ease), border-color .2s ease, box-shadow .2s ease;
}
.rvl-search svg { flex: 0 0 auto; }
.rvl-search:hover { border-color: var(--rvl-soft); color: var(--rvl-accent); }
.rvl-search:focus-within,
.rvl-search:has(input:not(:placeholder-shown)) { width: 280px; }
.rvl-search:focus-within { border-color: var(--rvl-accent); box-shadow: 0 0 0 4px rgba(163, 12, 51, .08); color: var(--rvl-accent); }
.rvl-search input {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	outline: 0;
	background: transparent;
	font-size: 14px;
	color: var(--rvl-ink);
}
.rvl-search input::placeholder { color: #a8a5a3; }

.rvl-lib .rcv-card {
	border-color: var(--rvl-ash);
	border-radius: 28px;
	background: var(--rvl-parchment);
	box-shadow: none;
	transition: border-color .2s ease, transform .3s var(--rvl-ease);
}
.rvl-lib .rcv-card:not([hidden]) { animation: rvl-fade-up .45s var(--rvl-ease) both; }
.rvl-lib .rcv-card:hover { border-color: var(--rvl-soft); box-shadow: none; transform: translateY(-4px); }
.rvl-lib .rcc-tag { color: var(--rvl-smoke); background: #fff; }
.rvl-lib .rcv-date { color: var(--rvl-smoke); background: #fff; font-family: var(--rvl-mono); font-size: 11px; }
.rvl-lib .rcc-title { color: var(--rvl-ink); }
.rvl-lib .rcc-company { color: var(--rvl-smoke); }
.rvl-lib .rcv-quote { color: var(--rvl-ink); border-left-color: var(--rvl-accent); }
.rvl-lib .rcc-geo { color: #717171; }
.rvl-lib .rcv-take { background: #fff; color: var(--rvl-graphite); }
.rvl-lib .rcc-more { color: var(--rvl-accent); }
.rvl-lib .rcc-showmore { background: var(--rvl-accent); box-shadow: none; }
.rvl-lib .rcc-showmore:hover { background: #8a0a2b; }

/* Постеры: три «жанра» — кейс (красный), выступление (графит), вебинар (светлый экран) */
.rvl-lib .rvl-poster {
	border-radius: 18px;
	background:
		radial-gradient(90% 120% at 100% 0%, rgba(255, 255, 255, .18), transparent 55%),
		linear-gradient(135deg, #d0333a 0%, #a30c33 55%, #7d0a28 100%);
}
.rvl-lib .rvl-card--talk .rvl-poster {
	background:
		radial-gradient(110% 110% at 0% 0%, rgba(197, 34, 41, .55), transparent 55%),
		linear-gradient(140deg, #2f2a2b 0%, #1c1a1a 100%);
}
.rvl-lib .rvl-card--web .rvl-poster {
	background:
		radial-gradient(80% 100% at 100% 0%, rgba(234, 176, 178, .45), transparent 60%),
		linear-gradient(160deg, #ffffff 0%, #efebe8 100%);
	box-shadow: inset 0 0 0 1px var(--rvl-line);
}
.rvl-lib .rvl-poster .rcv-poster__play {
	color: var(--rvl-accent);
	background: #fff;
	box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .6);
}
.rvl-lib .rvl-card--web .rvl-poster .rcv-poster__play { color: #fff; background: var(--rvl-accent); box-shadow: 0 16px 30px -14px rgba(163, 12, 51, .6); }
.rvl-lib .rvl-poster:hover .rcv-poster__play { transform: scale(1.1); }
.rvl-lib .rvl-card--web .rvl-poster .rcv-poster__type { color: var(--rvl-graphite); background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px var(--rvl-line); }
.rvl-lib .rvl-poster .rcv-poster__type { bottom: 16px; font-family: var(--rvl-mono); font-weight: 500; letter-spacing: 0; text-transform: none; }

.rvl-poster-mono {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--rvl-mono);
	font-size: 11px;
	letter-spacing: .02em;
	color: rgba(255, 255, 255, .8);
}
.rvl-card--web .rvl-poster-mono { color: var(--rvl-accent); }
.rvl-poster-lock {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	color: #fff;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .3);
}
.rvl-card--web .rvl-poster-lock { color: var(--rvl-smoke); background: #fff; border-color: var(--rvl-line); }
.rvl-poster-lock svg { width: 20px; height: 20px; }

/* Эквалайзер в углу постера — «звучит» при наведении */
.rvl-poster-wave {
	position: absolute;
	right: 16px;
	bottom: 18px;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	gap: 3px;
	height: 16px;
}
.rvl-poster-wave i {
	display: block;
	width: 3px;
	height: 100%;
	border-radius: 2px;
	background: rgba(255, 255, 255, .55);
	transform: scaleY(.3);
	transform-origin: 50% 100%;
	transition: transform .3s ease;
}
.rvl-card--web .rvl-poster-wave i { background: var(--rvl-soft); }
.rvl-poster-wave i:nth-child(2) { transform: scaleY(.55); }
.rvl-poster-wave i:nth-child(3) { transform: scaleY(.8); }
.rvl-poster-wave i:nth-child(4) { transform: scaleY(.45); }
.rvl-poster-wave i:nth-child(5) { transform: scaleY(.65); }
.rvl-poster-wave i:nth-child(6) { transform: scaleY(.35); }
.rvl-poster-wave i:nth-child(7) { transform: scaleY(.5); }
.rvl-lib .rcv-card:hover .rvl-poster-wave i { animation: rvl-eq .9s ease-in-out infinite alternate; }
.rvl-lib .rcv-card:hover .rvl-poster-wave i:nth-child(2n) { animation-delay: .2s; }
.rvl-lib .rcv-card:hover .rvl-poster-wave i:nth-child(3n) { animation-delay: .35s; }
@keyframes rvl-eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }

/* «Таймлайн» внизу постера — заполняется при наведении */
.rvl-poster-scrub {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	height: 3px;
	background: rgba(255, 255, 255, .18);
}
.rvl-card--web .rvl-poster-scrub { background: var(--rvl-line); }
.rvl-poster-scrub span {
	display: block;
	width: 0;
	height: 100%;
	background: #fff;
	transition: width 1.4s var(--rvl-ease);
}
.rvl-card--web .rvl-poster-scrub span { background: var(--rvl-accent); }
.rvl-lib .rcv-card:hover .rvl-poster-scrub span { width: 100%; }

.rvl-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 48px 16px;
	border: 1px dashed var(--rvl-ash);
	border-radius: 24px;
	text-align: center;
	color: var(--rvl-smoke);
}
.rvl-empty[hidden] { display: none; }
.rvl-empty p { margin: 0; font-size: 15px; }

/* «Смотрите также» — три карточки вместо четырёх */
.rvl-related { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ========== АДАПТИВ ========== */
@media (max-width: 1024px) {
	.rvl-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rvl-charts { grid-template-columns: minmax(0, 1fr); }
	.rvl-stories { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.rvl-stories-list {
		display: flex;
		gap: 8px;
		overflow-x: auto;
		padding-bottom: 6px;
		scrollbar-width: none;
	}
	.rvl-stories-list::-webkit-scrollbar { display: none; }
	.rvl-stories-list li { flex: 0 0 auto; }
	.rvl-story-tab,
	.rvl-stories-list li:last-child .rvl-story-tab {
		display: inline-flex;
		gap: 8px;
		width: auto;
		padding: 10px 16px 12px;
		border: 1px solid var(--rvl-line);
		border-radius: 999px;
		overflow: hidden;
		white-space: nowrap;
	}
	.rvl-story-tab.is-active { border-color: var(--rvl-accent); }
	.rvl-story-who { font-size: 14px; }
	.rvl-ind > li { width: calc(50% - 8px); }
	.rvl-search,
	.rvl-search:focus-within,
	.rvl-search:has(input:not(:placeholder-shown)) { width: 100%; margin-left: 0; order: 10; }
	.rvl-related { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
	.rvl-kpi { padding: 18px; }
	.rvl-kpi-num { margin-top: 16px; }
	.rvl-bar { grid-template-columns: minmax(0, 110px) minmax(0, 1fr) 24px; font-size: 12.5px; }
	.rvl-story-screen { min-height: 280px; padding: 24px; }
	.rvl-ind > li { width: 100%; }
	.rvl-mix-legend { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	.rvl *,
	.rvl *::before,
	.rvl *::after { animation: none !important; transition: none !important; }
	.rvl-story-tab.is-active .rvl-story-bar span { width: 100%; }
}
