.vis-shorts-section {
	padding: 28px 0 22px;
	background: transparent;
}

html.vis-shorts-open {
	overflow: hidden;
}

.vis-shorts-shell {
	max-width: 1110px;
	margin: 0 auto;
	padding: 0;
}

.vis-shorts-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-bottom: 18px;
}

.vis-shorts-copy {
	max-width: 780px;
	text-align: center;
}

.vis-shorts-title {
	margin: 0 0 4px;
	color: #243547;
	font-size: clamp(24px, 2.4vw, 31px);
	font-weight: 600;
	line-height: 1.15;
}

.vis-shorts-subtitle {
	margin: 0;
	color: #8a97a6;
	font-size: 14px;
	line-height: 1.55;
}

.vis-shorts-header-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
}

.vis-shorts-channel-link,
.vis-shorts-nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 14px;
	border: 1px solid rgba(31, 41, 55, 0.1);
	border-radius: 999px;
	background: transparent;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.vis-shorts-channel-link {
	border-color: rgba(253, 144, 9, 0.28);
	color: #b76600;
}

.vis-shorts-channel-link:hover,
.vis-shorts-nav:hover {
	background: rgba(15, 23, 42, 0.03);
	border-color: rgba(31, 41, 55, 0.18);
	color: #243547;
}

.vis-shorts-nav-group {
	display: inline-flex;
	gap: 8px;
}

.vis-shorts-nav {
	color: #667789;
}

.vis-shorts-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 48px) / 4);
	gap: 16px;
	overflow-x: auto;
	padding: 4px 0 8px;
	scroll-padding-left: 0;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
}

.vis-shorts-track::-webkit-scrollbar {
	display: none;
}

.vis-shorts-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: inherit;
	text-decoration: none;
	scroll-snap-align: start;
}

.vis-shorts-card:hover .vis-shorts-thumb,
.vis-shorts-card:focus-visible .vis-shorts-thumb {
	border-color: rgba(31, 41, 55, 0.18);
}

.vis-shorts-card:hover .vis-shorts-play-badge,
.vis-shorts-card:focus-visible .vis-shorts-play-badge {
	background: rgba(255, 255, 255, 0.96);
}

.vis-shorts-thumb {
	position: relative;
	display: block;
	aspect-ratio: 9 / 16;
	border: 1px solid rgba(31, 41, 55, 0.08);
	border-radius: 14px;
	overflow: hidden;
	background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
	box-shadow: none;
	transition: border-color 0.2s ease;
}

.vis-shorts-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
}

.vis-shorts-thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(5, 15, 32, 0) 8%, rgba(5, 15, 32, 0.3) 100%);
}

.vis-shorts-play-badge {
	position: absolute;
	left: 12px;
	bottom: 12px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.88);
	color: #1f2937;
	font-size: 10px;
	font-weight: 600;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.vis-shorts-card-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 0 2px;
}

.vis-shorts-card-kicker {
	display: none;
}

.vis-shorts-card-title {
	display: -webkit-box;
	overflow: hidden;
	color: #334155;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.vis-shorts-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.vis-shorts-modal[hidden] {
	display: none;
}

.vis-shorts-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4, 11, 24, 0.7);
	backdrop-filter: blur(8px);
}

.vis-shorts-modal-dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 420px);
}

	.vis-shorts-modal-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 12px auto;
	padding: 0 16px;
	min-height: 40px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #1f2937;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.vis-shorts-modal-frame {
	position: relative;
	aspect-ratio: 9 / 16;
	border-radius: 24px;
	overflow: hidden;
	background: #000000;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.vis-shorts-modal-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	}

@media (max-width: 767px) {
	.vis-shorts-section {
		padding: 24px 0 20px;
	}

	.vis-shorts-shell {
		padding: 0 16px;
	}

	.vis-shorts-header {
		align-items: center;
		margin-bottom: 14px;
	}

	.vis-shorts-header-actions {
		width: 100%;
		justify-content: center;
	}

	.vis-shorts-track {
		grid-auto-columns: minmax(190px, 70vw);
		scroll-padding-left: 16px;
	}

	.vis-shorts-nav-group {
		display: none;
	}
}

@media (max-width: 1200px) and (min-width: 768px) {
	.vis-shorts-shell {
		padding: 0 20px;
	}

	.vis-shorts-track {
		grid-auto-columns: calc((100% - 32px) / 3);
		scroll-padding-left: 20px;
	}
}
