.svh-wrap {
	--svh-accent: #d6336c;
	--svh-h: 320px;
	--svh-line: rgba(128, 128, 128, .28);
	margin: 1.5em 0;
	color: inherit;
	font-family: inherit;
}

/* ---------- Pestañas ---------- */
.svh-tabs {
	display: flex;
	gap: .25rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--svh-line);
}
.svh-tab {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .6rem 1rem;
	margin-bottom: -1px;
	background: none;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	color: inherit;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	opacity: .65;
	transition: opacity .15s, border-color .15s, color .15s;
}
.svh-tab:hover { opacity: 1; }
.svh-tab[aria-selected="true"] {
	opacity: 1;
	color: var(--svh-accent);
	border-bottom-color: var(--svh-accent);
}
.svh-tab:focus-visible,
.svh-nav:focus-visible,
.svh-card:focus-visible,
.svh-track:focus-visible {
	outline: 2px solid var(--svh-accent);
	outline-offset: 2px;
}
.svh-panel[hidden] { display: none; }

/* ---------- Carrusel ---------- */
.svh-carousel { position: relative; }

.svh-track {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	padding: 4px 2px 10px;
	scroll-snap-type: x proximity;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.svh-track::-webkit-scrollbar { display: none; }

.svh-card {
	position: relative;
	flex: 0 0 auto;
	display: block;
	height: var(--svh-h);
	border-radius: 12px;
	overflow: hidden;
	background: #1c1c1e;
	color: #fff;
	text-decoration: none;
	scroll-snap-align: start;
	box-shadow: none;
	border: 0;
}
.svh-card.is-horizontal { aspect-ratio: 16 / 9; }
.svh-card.is-vertical { aspect-ratio: 9 / 16; }

.svh-card img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
	transition: transform .35s ease;
}
.svh-card:hover img { transform: scale(1.04); }

.svh-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, 0) 55%);
	pointer-events: none;
}

.svh-ph {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(160deg, #2b2b30, #121214);
	color: rgba(255, 255, 255, .5);
}
.svh-ph svg { width: 44px; height: 44px; }

.svh-title {
	position: absolute;
	z-index: 2;
	left: 12px;
	right: 12px;
	bottom: 10px;
	font-size: .85rem;
	line-height: 1.3;
	font-weight: 500;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.svh-net,
.svh-type {
	position: absolute;
	z-index: 2;
	top: 10px;
	display: inline-flex;
	align-items: center;
	background: rgba(0, 0, 0, .55);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	border-radius: 999px;
	color: #fff;
}
.svh-net { left: 10px; padding: 5px; }
.svh-net svg { width: 16px; height: 16px; }
.svh-type { right: 10px; padding: 3px 9px; font-size: .72rem; font-weight: 600; }

.svh-play {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	width: 48px;
	height: 48px;
	margin: -24px 0 0 -24px;
	border-radius: 50%;
	background: var(--svh-accent);
	opacity: 0;
	transform: scale(.85);
	transition: opacity .2s, transform .2s;
}
.svh-play::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -9px 0 0 -6px;
	border-style: solid;
	border-width: 9px 0 9px 15px;
	border-color: transparent transparent transparent #fff;
}
.svh-card:hover .svh-play,
.svh-card:focus-visible .svh-play { opacity: 1; transform: scale(1); }
@media (hover: none) { .svh-play { opacity: .9; transform: scale(.8); } }

.svh-nav {
	position: absolute;
	z-index: 5;
	top: 50%;
	width: 40px;
	height: 40px;
	margin-top: -26px;
	padding: 0 0 3px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #111;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .28);
	transition: opacity .15s;
}
.svh-prev { left: -10px; }
.svh-next { right: -10px; }
.svh-nav:disabled { opacity: 0; pointer-events: none; }

.svh-follow {
	margin: .5rem 0 0;
	font-size: .9rem;
	display: flex;
	flex-wrap: wrap;
	gap: .4rem 1rem;
}
.svh-follow a { color: var(--svh-accent); font-weight: 600; text-decoration: none; }
.svh-follow a:hover { text-decoration: underline; }

@media (max-width: 640px) {
	.svh-card.is-horizontal { height: auto; flex-basis: 82%; }
	.svh-prev { left: 2px; }
	.svh-next { right: 2px; }
}

@media (prefers-reduced-motion: reduce) {
	.svh-track { scroll-behavior: auto; }
	.svh-card img, .svh-play { transition: none; }
}
