/*
Theme Name: TVeoHoy
Theme URI: https://tveohoy.com
Author: TVeoHoy
Description: Catálogo de novelas, series y programas de TV con fichas, capítulos, slider, banners y reproductor multi-servidor.
Version: 1.2.0
Requires PHP: 8.0
Text Domain: tveohoy
*/

:root {
	--bg: #ffffff;
	--paper: #f7f7f5;         /* superficies suaves */
	--gray: #f1f1ee;          /* gris claro: barra de menú y pie */
	--line: #e7e7e2;
	--line-2: #d8d8d1;
	--ink: #141516;
	--ink-2: #4a4e55;
	--ink-3: #878b92;
	--accent: #0f8a84;        /* turquesa de la marca VeoHoy */
	--accent-ink: #0a6c67;
	--accent-soft: #e7f3f2;
	--black: #0f1011;
	--radius: 6px;
	--wrap: 857px; /* ancho de toda la página: 72% de los 1190px útiles de danfra.com */
	--gap: 16px;
	--gutter: 16px;
	--serif: "Fraunces", Georgia, serif;
	--sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--shadow: 0 1px 2px rgba(20, 21, 22, .05), 0 6px 18px -10px rgba(20, 21, 22, .18);
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 15px/1.6 var(--sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; margin: 0; font-optical-sizing: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent-soft); color: var(--ink); }

.screen-reader-text {
	position: absolute; left: -9999px; top: 8px; z-index: 999;
	background: var(--ink); color: #fff; padding: 8px 14px;
}
.screen-reader-text:focus { left: 8px; }

.tvh-wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.tvh-main { min-height: 60vh; }

/* ---------- Botones ---------- */
.tvh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	height: 40px; padding: 0 18px; border-radius: var(--radius);
	background: var(--accent); color: #fff; border: 1px solid var(--accent);
	font: 600 13.5px/1 var(--sans); letter-spacing: .01em; white-space: nowrap;
	transition: background .2s, border-color .2s, color .2s;
}
.tvh-btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.tvh-btn svg { fill: currentColor; stroke: none; font-size: 1.05em; }
.tvh-btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.tvh-btn-ghost:hover { background: #fff; border-color: var(--ink); color: var(--ink); }
.tvh-btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.tvh-link-sm { font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: color .2s; }
.tvh-link-sm:hover { color: var(--accent); }
.tvh-icon-btn {
	width: 38px; height: 38px; border-radius: var(--radius);
	display: inline-grid; place-items: center; font-size: 19px;
	color: var(--ink-2); transition: background .2s, color .2s;
}
.tvh-icon-btn:hover { background: var(--paper); color: var(--ink); }

/* ---------- Cabecera ---------- */
.tvh-header { position: relative; z-index: 50; background: #cfcfcf; }
.tvh-header .tvh-header-search input { background: #fff; }
.tvh-header .tvh-lang-btn { border-color: rgba(20, 21, 22, .28); }
.tvh-header .tvh-icon-btn:hover { background: rgba(20, 21, 22, .08); }
.tvh-header-in { display: flex; align-items: center; gap: 20px; height: 76px; }

.tvh-logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.tvh-logo img { max-height: 52px; width: auto; }
.tvh-footer .tvh-logo img { max-height: 56px; }
.tvh-logo-mark {
	width: 30px; height: 30px; border-radius: 5px; background: var(--accent);
	display: grid; place-items: center; color: #fff; font-size: 14px;
}
.tvh-logo-mark svg { fill: currentColor; stroke: none; transform: translateX(1px); }
.tvh-logo-text { font: 600 23px/1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.tvh-logo-text b { font-weight: 600; color: var(--accent); }

.tvh-header-search {
	flex: 1; max-width: 330px; margin-left: auto; position: relative;
	display: flex; align-items: center; color: var(--ink-3);
}
.tvh-header-search svg { position: absolute; left: 13px; font-size: 16px; pointer-events: none; }
.tvh-header-search input {
	width: 100%; height: 38px; padding: 0 14px 0 38px; border-radius: var(--radius);
	background: var(--paper); border: 1px solid var(--line); color: var(--ink); font: inherit; font-size: 14px;
	transition: border-color .2s, background .2s;
}
.tvh-header-search input::placeholder { color: var(--ink-3); }
.tvh-header-search input:focus { outline: 0; border-color: var(--accent); background: #fff; }
.tvh-actions { display: flex; align-items: center; gap: 14px; }
.tvh-search-btn, .tvh-burger { display: none; }

/* Barra de menú, al estilo danfra: mayúsculas, líneas finas */
.tvh-navbar { background: #000; border-top: 1px solid var(--accent); }
@media (min-width: 761px) {
	.tvh-menu > li > a { color: rgba(255, 255, 255, .72) !important; }
	.tvh-menu > li > a:hover, .tvh-menu > li:focus-within > a, .tvh-menu > li.current-menu-item > a { color: #fff !important; }
	.tvh-menu > li.current-menu-item > a, .tvh-menu > li > a:hover { border-bottom-color: var(--accent) !important; }
	.tvh-menu > li > a { padding: 15px 0 14px; }
}
.tvh-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 26px; }
.tvh-menu > li { position: relative; }
.tvh-menu > li > a {
	display: block; padding: 14px 0 13px;
	font: 700 12px/1 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2);
	border-bottom: 2px solid transparent; margin-bottom: -1px;
	transition: color .2s, border-color .2s;
}
.tvh-menu > li > a:hover,
.tvh-menu > li:focus-within > a { color: var(--ink); }
.tvh-menu > li.current-menu-item > a,
.tvh-menu > li > a:hover { border-bottom-color: var(--accent); }
.tvh-menu .has-sub > a::after,
.tvh-menu .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 7px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: translateY(-3px) rotate(45deg); opacity: .6;
}
.tvh-sub, .tvh-menu .sub-menu {
	position: absolute; top: 100%; left: -14px; margin: 1px 0 0;
	padding: 10px; list-style: none;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: 0 18px 40px -18px rgba(20, 21, 22, .25);
	opacity: 0; visibility: hidden; transform: translateY(-4px);
	transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.tvh-sub ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; min-width: 400px; }
.tvh-menu li:hover > .tvh-sub, .tvh-menu li:focus-within > .tvh-sub,
.tvh-menu li:hover > .sub-menu, .tvh-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.tvh-sub a, .tvh-menu .sub-menu a {
	display: block; padding: 8px 10px; border-radius: 4px;
	font-size: 14px; color: var(--ink-2); transition: background .15s, color .15s;
}
.tvh-sub a:hover, .tvh-menu .sub-menu a:hover { background: var(--paper); color: var(--ink); }
.tvh-sub-all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.tvh-sub-all a { color: var(--accent); font-weight: 600; }

/* Buscador desplegable (móvil) */
.tvh-search {
	position: fixed; inset: 0 0 auto; z-index: 60;
	background: #fff; border-bottom: 1px solid var(--line);
	box-shadow: 0 16px 32px -20px rgba(20, 21, 22, .3);
	animation: tvh-drop .25s var(--ease);
}
.tvh-search form { display: flex; align-items: center; gap: 12px; height: 68px; font-size: 19px; color: var(--ink-3); }
.tvh-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font: 500 17px var(--sans); }
@keyframes tvh-drop { from { opacity: 0; transform: translateY(-10px); } }

/* ---------- Banners ---------- */
.tvh-banner { margin: 20px auto; text-align: center; }
.tvh-banner-item img, .tvh-banner-item iframe { margin: 0 auto; max-width: 100%; height: auto; }
.tvh-banner-item + .tvh-banner-item { margin-top: 10px; }
.tvh-banner-empty {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
	max-width: 728px; height: 90px; margin: 0 auto;
	border: 1px dashed var(--line-2); background: var(--paper);
	color: var(--ink-3); transition: border-color .2s, color .2s;
}
.tvh-banner-empty span { font: 700 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.tvh-banner-empty small { font-size: 12px; }
.tvh-banner-empty:hover { border-color: var(--accent); color: var(--accent); }
.tvh-banner-portada { margin: 0 0 40px; }
.tvh-home > .tvh-banner-superior { margin: -24px auto 40px; }
.tvh-banner-lateral { margin: 18px 0 0; }
.tvh-banner-pie { margin: 8px auto 32px; }

/* ---------- Estrenos (bajo el slider): cabecera + banners a todo el ancho ---------- */
.tvh-estrenos { margin: -20px 0 44px; }
.tvh-estrenos-head {
	display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
	font: 700 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.tvh-estrenos-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tvh-estrenos-head span { color: #fff; background: var(--accent); padding: 2px 7px; border-radius: 3px; }
.tvh-estrenos-body { display: grid; gap: 8px; }
.tvh-estrenos-body .tvh-banner-item + .tvh-banner-item { margin: 0; }
.tvh-estrenos-body img { display: block; width: 100%; height: auto; border-radius: 3px; }

/* ---------- Slider: póster + ficha ---------- */
.tvh-hero {
	position: relative; margin: 0 0 44px; overflow: hidden;
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
	height: 380px;
}
.tvh-slide {
	position: absolute; inset: 0; display: grid; grid-template-columns: 254px 1fr; align-items: stretch;
	opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s;
}
.tvh-slide.is-active { opacity: 1; visibility: visible; }
.tvh-slide-poster { position: relative; display: block; overflow: hidden; min-width: 0; background: var(--line); }
.tvh-slide-poster .tvh-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 7s linear; }
.tvh-slide.is-active .tvh-slide-poster .tvh-img { transform: scale(1); }
.tvh-slide-poster .tvh-fallback span { font-size: 24px; }
.tvh-slide-in { display: flex; flex-direction: column; justify-content: center; padding: 34px 44px 52px; min-width: 0; }
.tvh-slide.is-active .tvh-slide-in > * { animation: tvh-rise .7s var(--ease) both; }
.tvh-slide.is-active .tvh-slide-in > :nth-child(2) { animation-delay: .06s; }
.tvh-slide.is-active .tvh-slide-in > :nth-child(3) { animation-delay: .12s; }
.tvh-slide.is-active .tvh-slide-in > :nth-child(4) { animation-delay: .18s; }
.tvh-slide.is-active .tvh-slide-in > :nth-child(5) { animation-delay: .24s; }
@keyframes tvh-rise { from { opacity: 0; transform: translateY(10px); } }

.tvh-eyebrow {
	margin: 0 0 12px; font: 700 11px/1.3 var(--sans);
	letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.tvh-hero-title { font-size: 40px; font-weight: 600; letter-spacing: -.02em; line-height: 1.04; margin-bottom: 14px; text-wrap: balance; }
.tvh-hero-text { color: var(--ink-2); font-size: 14.5px; line-height: 1.65; margin: 0 0 24px; max-width: 460px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tvh-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.tvh-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.tvh-tags span {
	padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600;
	border: 1px solid var(--line-2); color: var(--ink-2); background: #fff;
}
.tvh-hero-arrow {
	position: absolute; bottom: 18px; z-index: 3; width: 34px; height: 34px; border-radius: var(--radius);
	display: grid; place-items: center; font-size: 16px; color: var(--ink-2);
	background: #fff; border: 1px solid var(--line-2); transition: color .2s, border-color .2s;
}
.tvh-hero-arrow:hover { color: var(--ink); border-color: var(--ink); }
.tvh-hero-arrow.is-prev { right: 60px; }
.tvh-hero-arrow.is-next { right: 18px; }
.tvh-dots { position: absolute; left: 298px; bottom: 32px; z-index: 3; display: flex; gap: 6px; }
.tvh-dots button { width: 18px; height: 14px; padding: 6px 0; background: var(--line-2) content-box; transition: width .4s var(--ease), background-color .3s; }
.tvh-dots button.is-active { width: 34px; background-color: var(--ink); }

/* ---------- Filas ---------- */
.tvh-home { padding-bottom: 20px; }
.tvh-row { margin: 0 0 44px; }
.tvh-row-head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
	margin-bottom: 18px; border-bottom: 1px solid var(--line);
}
.tvh-row-head h2 {
	font-size: 22px; padding-bottom: 10px; margin-bottom: -1px;
	border-bottom: 2px solid var(--ink);
}
.tvh-row-tools { display: flex; align-items: center; gap: 6px; padding-bottom: 8px; }
.tvh-more { font: 700 11.5px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-right: 8px; transition: color .2s; }
.tvh-more::after { content: " →"; }
.tvh-more:hover { color: var(--accent); }
.tvh-arrow {
	width: 30px; height: 30px; border-radius: var(--radius); display: grid; place-items: center;
	border: 1px solid var(--line-2); color: var(--ink-2); font-size: 14px; background: #fff; transition: all .2s;
}
.tvh-arrow:hover { color: var(--ink); border-color: var(--ink); }
.tvh-arrow:disabled { opacity: .35; cursor: default; border-color: var(--line-2); }
.tvh-track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * var(--gap)) / 5);
	gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; padding-bottom: 4px;
}
.tvh-track::-webkit-scrollbar { display: none; }
.tvh-track > * { scroll-snap-align: start; }
.tvh-track:has(.tvh-ep) { grid-auto-columns: calc((100% - 3 * var(--gap)) / 4); }

/* Capítulos agrupados por día */
.tvh-today { margin: 0 auto 10px 14px; padding: 3px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); font-size: 12.5px; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s; }
.tvh-today b { font-weight: 800; }
.tvh-today:hover { background: var(--accent); color: #fff; }
.tvh-day + .tvh-day { margin-top: 30px; }
.tvh-day-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.tvh-day-head h3 { font-size: 19px; }
.tvh-day-head h3 span { font: 500 13px var(--sans); color: var(--ink-3); margin-left: 4px; letter-spacing: 0; }
.tvh-day-count { padding: 2px 9px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; font-weight: 700; }
.tvh-day-head .tvh-more { margin: 0 0 0 auto; }
.tvh-back { margin: -8px 0 22px; }
.tvh-more-back::after { content: ""; }
.tvh-more-back::before { content: "← "; }

/* ---------- Tarjeta de título ---------- */
.tvh-card-link { display: block; }
.tvh-poster {
	position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden;
	border-radius: 4px; background: var(--paper); outline: 1px solid rgba(20, 21, 22, .06); outline-offset: -1px;
}
.tvh-poster .tvh-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.tvh-card-link:hover .tvh-img { transform: scale(1.04); }
.tvh-fallback {
	position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 12px;
	background: hsl(var(--h) 14% 90%); color: hsl(var(--h) 25% 22%);
}
.tvh-fallback span { font: 600 16px/1.12 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.tvh-badge, .tvh-live {
	position: absolute; top: 7px; z-index: 2;
	padding: 2px 6px; border-radius: 3px; font: 700 9.5px/1.5 var(--sans); letter-spacing: .06em; text-transform: uppercase;
}
.tvh-badge { left: 7px; background: #fff; color: var(--ink); }
.tvh-season { top: auto; bottom: 7px; background: var(--ink); color: #fff; }
.tvh-live { right: 7px; background: var(--accent); color: #fff; }
.tvh-play {
	position: absolute; left: 50%; top: 50%; z-index: 2;
	width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
	display: grid; place-items: center; background: #fff; color: var(--ink); font-size: 16px;
	box-shadow: 0 6px 20px -6px rgba(0, 0, 0, .4);
	opacity: 0; transform: scale(.85); transition: opacity .25s, transform .3s var(--ease);
}
.tvh-play svg { fill: currentColor; stroke: none; transform: translateX(1.5px); }
a:hover .tvh-play { opacity: 1; transform: none; }
.tvh-card-body { display: block; padding: 10px 0 0; }
.tvh-card-title {
	display: block; font: 700 13.5px/1.3 var(--sans);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	transition: color .2s;
}
a:hover .tvh-card-title { color: var(--accent); }
.tvh-card-meta { display: block; margin-top: 3px; font-size: 12px; color: var(--ink-3); }

/* ---------- Tarjeta de capítulo ---------- */
.tvh-ep a { display: block; }
.tvh-ep-thumb {
	position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 4px;
	overflow: hidden; margin-bottom: 10px;
	background-color: hsl(var(--h) 14% 90%);
	background-image: var(--img, none);
	background-size: cover; background-position: center 22%; background-repeat: no-repeat;
	outline: 1px solid rgba(20, 21, 22, .06); outline-offset: -1px;
}
.tvh-ep-mark { position: absolute; left: 12px; top: 10px; right: 12px; font: 600 15px/1.12 var(--serif); color: hsl(var(--h) 25% 22%); }
.tvh-ep-num {
	position: absolute; left: 8px; bottom: 8px; padding: 2px 7px; border-radius: 3px;
	background: #fff; color: var(--ink); font: 700 10.5px/1.5 var(--sans); letter-spacing: .04em; text-transform: uppercase;
}

.tvh-ep-time {
	position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 3px;
	background: rgba(15, 16, 17, .72); color: #fff; font: 600 10.5px/1.5 var(--sans);
}

/* ---------- Bloque VIP ---------- */
.tvh-vip {
	position: relative; overflow: hidden;
	display: grid; grid-template-columns: 1fr 330px; align-items: center; gap: 20px;
	margin: 4px 0 24px; padding: 40px 28px 40px 42px; min-height: 280px;
	background: #10201f; color: #fff; border-radius: var(--radius);
}
.tvh-vip .tvh-eyebrow { color: #5fd0c8; }
.tvh-vip h2 { font-size: 32px; margin-bottom: 10px; color: #fff; }
.tvh-vip-text > p:not(.tvh-eyebrow) { margin: 0; color: rgba(255, 255, 255, .72); max-width: 400px; }
.tvh-vip-list { list-style: none; margin: 18px 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .88); }
.tvh-vip-list li { position: relative; padding-left: 18px; }
.tvh-vip-list li::before { content: ""; position: absolute; left: 1px; top: 6px; width: 9px; height: 5px; border-left: 1.5px solid #5fd0c8; border-bottom: 1.5px solid #5fd0c8; transform: rotate(-45deg); }
.tvh-btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.tvh-btn-light:hover { background: #5fd0c8; border-color: #5fd0c8; color: #0b1a19; }
.tvh-vip-covers { position: relative; height: 230px; }
.tvh-vip-covers span {
	position: absolute; top: 50%; width: 132px; aspect-ratio: 3 / 4; border-radius: 4px; overflow: hidden;
	box-shadow: 0 18px 36px -12px rgba(0, 0, 0, .6); outline: 1px solid rgba(255, 255, 255, .12); outline-offset: -1px;
}
.tvh-vip-covers span img { width: 100%; height: 100%; object-fit: cover; }
.tvh-vip-covers span:nth-child(1) { left: 12px; transform: translateY(-50%) rotate(-7deg); }
.tvh-vip-covers span:nth-child(2) { left: 93px; z-index: 2; transform: translateY(-54%); width: 144px; }
.tvh-vip-covers span:nth-child(3) { left: 186px; transform: translateY(-50%) rotate(7deg); }

/* ---------- Listados ---------- */
.tvh-page { padding-top: 30px; padding-bottom: 44px; }
.tvh-page-head { margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tvh-page-head h1 { font-size: 34px; letter-spacing: -.02em; }
.tvh-count { margin: 6px 0 0; color: var(--ink-3); font-size: 13.5px; }
.tvh-filters { display: grid; gap: 10px; margin-bottom: 28px; }
.tvh-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tvh-chips-label { width: 64px; font: 700 10.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.tvh-chip {
	padding: 5px 12px; border-radius: 99px; font-size: 13px; font-weight: 600;
	color: var(--ink-2); border: 1px solid var(--line-2); background: #fff; transition: all .2s;
}
.tvh-chip:hover { color: var(--ink); border-color: var(--ink); }
.tvh-chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tvh-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px var(--gap); }
.tvh-grid-eps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px var(--gap); }
.tvh-pager { margin-top: 44px; display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.tvh-pager .page-numbers {
	min-width: 38px; height: 38px; padding: 0 10px; display: grid; place-items: center;
	border-radius: var(--radius); border: 1px solid var(--line-2); color: var(--ink-2); font-weight: 600; font-size: 13.5px; transition: all .2s;
}
.tvh-pager a.page-numbers:hover { color: var(--ink); border-color: var(--ink); }
.tvh-pager .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.tvh-pager .dots { border: 0; }
.tvh-empty { color: var(--ink-2); padding: 40px 0; text-align: center; }

/* ---------- Ficha del título ---------- */
.tvh-detail {
	position: relative; isolation: isolate; overflow: hidden;
	margin-top: 24px; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line);
	background: var(--paper);
}
.tvh-detail::before {
	content: ""; position: absolute; inset: -40px; z-index: -2;
	background: center 30% / cover no-repeat; background-image: var(--img, none);
	filter: blur(38px) saturate(1.3); opacity: .55;
}
.tvh-detail::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .72); }
.tvh-detail-in { display: grid; grid-template-columns: 270px 1fr; gap: 40px; align-items: start; }
.tvh-detail-poster { position: relative; aspect-ratio: 3 / 4; border-radius: 4px; overflow: hidden; box-shadow: 0 2px 4px rgba(20, 21, 22, .08), 0 22px 44px -18px rgba(20, 21, 22, .45); }
.tvh-detail-poster .tvh-img { width: 100%; height: 100%; object-fit: cover; }
.tvh-detail-poster .tvh-fallback span { font-size: 22px; }
.tvh-detail-info { padding-top: 4px; }
.tvh-detail-info h1 { font-size: 40px; letter-spacing: -.02em; margin: 10px 0 14px; text-wrap: balance; }
.tvh-crumbs { font: 700 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.tvh-crumbs a { color: var(--ink-2); transition: color .2s; }
.tvh-crumbs a:hover { color: var(--accent); }
.tvh-facts { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; color: var(--ink-2); font-size: 13.5px; }
.tvh-facts li + li::before { content: ""; display: inline-block; width: 1px; height: 12px; background: var(--line-2); margin: 0 12px; vertical-align: -1px; }
.tvh-facts a:hover { color: var(--accent); }
.tvh-state.is-emision { color: var(--accent); font-weight: 600; }
.tvh-synopsis { color: var(--ink-2); margin-bottom: 24px; max-width: 560px; }
.tvh-synopsis p, .tvh-synopsis > div { margin: 0 0 1em; }
.tvh-synopsis p:empty, .tvh-synopsis > div:empty { display: none; }
.tvh-synopsis > :last-child { margin-bottom: 0; }
/* Descripción larga: se corta y sale "Leer más" */
.tvh-synopsis.is-corta { max-height: 11.9em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.tvh-synopsis.tiene-leer { margin-bottom: 0; }
.tvh-leer { display: inline-flex; margin: 8px 0 22px; padding: 0; font: 700 14px var(--sans); color: var(--accent); }
.tvh-leer:hover { color: var(--accent-ink); text-decoration: underline; }
.tvh-detail + .tvh-page, .tvh-wrap:has(> .tvh-detail) + .tvh-page { padding-top: 36px; }
.tvh-ep-total { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-left: 6px; white-space: nowrap; }

.tvh-episodes { margin-bottom: 30px; }
.tvh-ep-find {
	width: 140px; height: 30px; padding: 0 12px; border-radius: var(--radius);
	background: #fff; border: 1px solid var(--line-2); color: var(--ink); font: inherit; font-size: 13px;
}
.tvh-ep-find:focus { outline: 0; border-color: var(--accent); }
.tvh-ep-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tvh-ep-list a {
	display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 7px;
	border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .2s, background .2s;
}
.tvh-ep-list a:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.tvh-ep-list a:hover .tvh-ep-n { background: var(--accent); color: #fff; }
.tvh-ep-n { transition: background .2s, color .2s; }
.tvh-ep-list li.is-hit a { border-color: var(--accent); background: var(--accent-soft); }
.tvh-ep-n {
	flex-shrink: 0; width: 32px; height: 32px; border-radius: 4px; display: grid; place-items: center;
	background: var(--paper); font: 700 12.5px var(--sans); color: var(--ink);
}
.tvh-ep-t { flex: 1; font-weight: 600; font-size: 13px; }
.tvh-ep-d { font-size: 11px; color: var(--ink-3); }

/* ---------- Reproductor ---------- */
.tvh-watch { padding-top: 26px; padding-bottom: 44px; }
.tvh-watch .tvh-crumbs { display: block; }
.tvh-watch h1 { font-size: 30px; margin: 10px 0 18px; }
.tvh-watch h1 span { color: var(--ink-3); font-weight: 500; }
.tvh-player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--black); }
.tvh-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.tvh-player-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; color: rgba(255, 255, 255, .6); text-align: center; padding: 20px; font-size: 14px; }
.tvh-player-empty .tvh-play { opacity: 1; transform: none; width: 60px; height: 60px; margin: -30px 0 0 -30px; font-size: 20px; top: 45%; }
.tvh-player-empty p { margin: 0; padding-top: 84px; }
.tvh-servers { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tvh-ep-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 34px; padding: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); flex-wrap: wrap; }
.tvh-ep-nav .tvh-btn-ghost { background: #fff; }
.tvh-ep-all { display: inline-flex; align-items: center; gap: 8px; font: 700 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); transition: color .2s; }
.tvh-ep-all svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.tvh-ep-all:hover { color: var(--accent); }
.tvh-report { margin: 14px 0 0; }
.tvh-report summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; font: 600 13px var(--sans); color: var(--ink-3); }
.tvh-report summary::-webkit-details-marker { display: none; }
.tvh-report summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.tvh-report summary:hover, .tvh-report[open] summary { color: #b3261e; }
.tvh-report form { margin-top: 10px; padding: 16px; display: grid; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.tvh-report-opts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; }
.tvh-report-opts label { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.tvh-report textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--line-2); border-radius: var(--radius); font: inherit; font-size: 14px; resize: vertical; }
.tvh-report .tvh-btn { justify-self: start; }
.tvh-ep-pager { display: flex; align-items: center; gap: 8px; margin-top: 20px; }
.tvh-ep-ranges { flex: 1; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; justify-content: safe center; }
.tvh-ep-ranges::-webkit-scrollbar { display: none; }
.tvh-ep-ranges .tvh-chip { flex-shrink: 0; }
.tvh-related { margin-top: -10px; }
.single-titulo .tvh-page .tvh-row-head h2, .single-titulo .tvh-related .tvh-row-head h2, .single-titulo .tvh-comments .tvh-row-head h2,
.single-capitulo .tvh-row-head h2 { font: 700 14px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding-bottom: 12px; }
.tvh-watch-side { margin-top: 8px; }
.tvh-side-list {
	position: relative; list-style: none; margin: 0; padding: 2px 0;
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px 12px;
	scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.tvh-caps-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 12px; }
.tvh-caps a { display: block; color: var(--ink); }
.tvh-side-thumb {
	position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; margin-bottom: 7px;
	background-color: hsl(var(--h) 14% 90%); background-image: var(--img, none);
	background-size: cover; background-position: center 22%;
	outline: 1px solid rgba(20, 21, 22, .06); outline-offset: -1px;
}
.tvh-side-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(16, 17, 18, .28); transition: background .2s; }
.tvh-caps a:hover .tvh-side-thumb::after { background: rgba(16, 17, 18, .1); }
.tvh-side-n {
	position: absolute; z-index: 1; left: 7px; bottom: 7px; min-width: 26px; height: 22px; padding: 0 6px; border-radius: 3px;
	display: grid; place-items: center; background: #fff; color: var(--ink); font: 800 12px var(--sans);
}
.tvh-side-now {
	position: absolute; z-index: 1; right: 7px; bottom: 7px; height: 22px; display: grid; place-items: center; padding: 0 7px; border-radius: 3px;
	background: var(--accent); color: #fff; font: 700 10px var(--sans); letter-spacing: .06em; text-transform: uppercase;
}
.tvh-side-thumb.is-blank::after { background: none; }
.tvh-side-mark { position: absolute; left: 9px; top: 8px; right: 9px; font: 600 13px/1.2 var(--serif, serif); color: hsl(var(--h) 20% 30%); }
.tvh-side-thumb .tvh-play { width: 34px; height: 34px; margin: -17px 0 0 -17px; font-size: 13px; }
.tvh-side-t { display: block; font-size: 13px; font-weight: 700; line-height: 1.3; }
.tvh-side-d { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 1px; }
.tvh-caps a:hover .tvh-side-t { color: var(--accent); }
.tvh-caps .is-current .tvh-side-thumb, .tvh-caps .is-hit .tvh-side-thumb { outline: 2px solid var(--accent); outline-offset: 0; }
.tvh-caps .is-current .tvh-side-thumb::after { background: rgba(16, 17, 18, .05); }
.tvh-caps .is-current .tvh-side-t, .tvh-caps .is-hit .tvh-side-t { color: var(--accent-ink); }

/* Índice del año en "Todos por fecha" */
.tvh-cal { display: grid; gap: 18px; margin: 0 0 34px; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.tvh-cal-month h3 { font-size: 16px; margin-bottom: 8px; }
.tvh-cal-days { display: flex; flex-wrap: wrap; gap: 6px; }
.tvh-cal-days a { display: grid; justify-items: center; min-width: 58px; padding: 6px 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, color .15s; }
.tvh-cal-days a:hover { border-color: var(--accent); color: var(--accent-ink); }
.tvh-cal-days b { font: 700 16px var(--sans); line-height: 1.1; }
.tvh-cal-days span { font-size: 11px; color: var(--ink-3); }
.tvh-cal-days .is-today { border-color: var(--accent); background: var(--accent-soft); }
.tvh-day-empty { margin: 0; padding: 26px 20px; text-align: center; color: var(--ink-3); font-size: 14px; background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--radius); }

/* Zona de pago: confianza */
.tvh-trust + .tvh-plans-note { margin-top: 12px; }
.tvh-trust { margin: 28px 0 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.tvh-trust-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.tvh-trust-top strong { font-size: 15px; }
.tvh-trust-lock { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }
.tvh-trust-lock svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.tvh-trust-geo { margin-left: auto; font-size: 13px; color: var(--ink-2); }
.tvh-trust-geo b { color: var(--ink); }
.tvh-trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.tvh-trust li { position: relative; padding-left: 22px; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.tvh-trust li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.tvh-trust li b { color: var(--ink); }
.tvh-trust-cards { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.tvh-trust-cards span { padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 3px; background: #fff; font: 800 11px var(--sans); color: var(--ink-2); letter-spacing: .04em; }
.tvh-trust-cards .tvh-pp { color: #003087; }
.tvh-paypal { display: block; }
.tvh-btn-pp {
	display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 44px; padding: 0 16px;
	border: 0; border-radius: var(--radius); background: #ffc439; color: #2c2e2f; cursor: pointer;
	font: 600 14px var(--sans); transition: background .2s, box-shadow .2s;
}
.tvh-prose a.tvh-btn-pp, a.tvh-btn-pp { color: #2c2e2f; text-decoration: none; }
.tvh-btn-pp:hover { background: #f2b52f; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .35); }
.tvh-plan:not(.is-hot) .tvh-btn-pp { background: #fff; border: 1px solid var(--line-2); }
.tvh-plan:not(.is-hot) .tvh-btn-pp:hover { background: #fffaf0; border-color: #ffc439; }
.tvh-pp-logo { font: italic 800 19px/1 "Verdana", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.03em; }
.tvh-pp-logo b { color: #003087; font-weight: 800; }
.tvh-pp-logo i { color: #0070e0; }
.tvh-trust-cards .tvh-pp .tvh-pp-logo { font-size: 12px; }

/* ---------- Páginas de texto ---------- */
.tvh-prose { color: #33363c; font-size: 15.5px; line-height: 1.7; max-width: 680px; }
.tvh-prose:has(.tvh-plans) { max-width: none; }
.tvh-prose h2 { font-size: 24px; margin: 1.6em 0 .5em; color: var(--ink); }
.tvh-prose h3 { font-size: 19px; margin: 1.4em 0 .5em; color: var(--ink); }
.tvh-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tvh-prose details { border-bottom: 1px solid var(--line); }
.tvh-prose details:first-of-type { border-top: 1px solid var(--line); }
.tvh-prose summary {
	cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
	font: 600 17px/1.4 var(--serif); color: var(--ink);
}
.tvh-prose summary::-webkit-details-marker { display: none; }
.tvh-prose summary::after {
	content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
	font: 300 24px/1 var(--sans); color: var(--ink-3); transition: transform .25s var(--ease);
}
.tvh-prose details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--accent); }
.tvh-prose details > :not(summary) { margin: 0; padding: 0 40px 20px 0; color: var(--ink-2); }

.tvh-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 22px 0 40px; }
.tvh-plan {
	position: relative; padding: 28px 24px; border-radius: var(--radius);
	background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column;
}
.tvh-plan.is-hot {
	border: 2px solid var(--accent); background: linear-gradient(180deg, var(--accent-soft), #fff 62%);
	box-shadow: 0 22px 44px -22px rgba(15, 138, 132, .45); transform: translateY(-8px);
}
.tvh-plan h3 { font-size: 20px; margin: 0 0 10px; color: var(--ink); }
.tvh-plan-flag { position: absolute; top: -10px; left: 24px; padding: 2px 9px; border-radius: 3px; background: var(--ink); color: #fff; font: 700 10px/1.6 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.tvh-plan.is-hot .tvh-plan-flag { background: var(--accent); }
.tvh-price { margin: 0 0 20px; font: 600 40px/1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.tvh-price span { font: 600 14px var(--sans); vertical-align: top; margin-right: 3px; color: var(--ink-3); }
.tvh-price small { font: 500 13px var(--sans); color: var(--ink-3); letter-spacing: 0; }
.tvh-plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; flex: 1; }
.tvh-plan li { padding-left: 22px; position: relative; color: var(--ink-2); font-size: 14.5px; }
.tvh-plan li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 5px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.tvh-plan .tvh-btn { text-decoration: none; color: #fff; }
.tvh-plan .tvh-btn-ghost { color: var(--ink); }

.tvh-404 { text-align: center; padding-top: 80px; padding-bottom: 100px; }
.tvh-404 h1 { font-size: 40px; margin-bottom: 10px; }
.tvh-404 p:not(.tvh-eyebrow) { color: var(--ink-2); }
.tvh-404-form { display: flex; gap: 8px; max-width: 420px; margin: 26px auto 0; }
.tvh-404-form input { flex: 1; min-width: 0; height: 40px; padding: 0 14px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); color: var(--ink); font: inherit; }

/* ---------- Pie (gris claro) ---------- */
/* Pie gris muy claro. */
.tvh-footer { background: #f4f4f2; border-top: 1px solid var(--accent); }
.tvh-footer-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-top: 44px; padding-bottom: 32px; }
.tvh-footer-brand { max-width: 300px; }
.tvh-footer-brand p { color: var(--ink-2); font-size: 14px; margin: 14px 0 0; }
.tvh-footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.tvh-redes { list-style: none; margin: 16px 0 0; padding: 0; display: flex; gap: 10px; }
.tvh-footer ul.tvh-redes { display: flex; }
.tvh-redes a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 21, 22, .08); color: var(--ink-2); transition: background .2s, color .2s; }
.tvh-redes a:hover { background: var(--accent); color: #fff !important; }
.tvh-redes svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.tvh-footer h4 { font: 700 10.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.tvh-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tvh-footer ul a { font-size: 14px; color: var(--ink-2); transition: color .2s; }
.tvh-footer ul a:hover { color: var(--accent); }
.tvh-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 26px; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink-3); }
.tvh-legal p { margin: 0; }
.tvh-totop:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
	.tvh-track { grid-auto-columns: calc((100% - 3 * var(--gap)) / 4); }
	.tvh-track:has(.tvh-ep) { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); }
	.tvh-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.tvh-grid-eps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tvh-ep-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
	.tvh-header-search { display: none; }
	.tvh-search-btn, .tvh-burger { display: inline-grid; }
	.tvh-actions { margin-left: auto; gap: 6px; }
	.tvh-header-in { height: 62px; gap: 10px; }
	.tvh-header .tvh-logo img { max-height: 40px; }
	.tvh-footer-brand { max-width: none; width: 100%; }
	.tvh-footer-brand .tvh-logo { display: flex; justify-content: center; }
	.tvh-redes { justify-content: center; }
	.tvh-link-sm, .tvh-actions .tvh-btn-sm { display: none; }

	.tvh-navbar { border-top-width: 1px; }
	.tvh-nav {
		position: fixed; inset: 62px 0 0; z-index: 40; overflow-y: auto; max-width: none;
		background: #fff; padding: 8px var(--gutter) 40px;
		opacity: 0; visibility: hidden; transform: translateY(-6px);
		transition: opacity .25s, transform .25s var(--ease), visibility .25s;
	}
	.tvh-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.tvh-menu { flex-direction: column; flex-wrap: nowrap; }
	.tvh-menu > li > a { font: 600 20px var(--serif); letter-spacing: 0; text-transform: none; color: var(--ink); padding: 15px 0; border-bottom: 1px solid var(--line); margin: 0; }
	.tvh-menu > li > a:hover { border-bottom-color: var(--line); color: var(--accent); }
	.tvh-menu .has-sub > a::after, .tvh-menu .menu-item-has-children > a::after { display: none; }
	.tvh-sub, .tvh-menu .sub-menu {
		position: static; opacity: 1; visibility: inherit; transform: none; /* inherit: con el menú cerrado no debe quedar clicable */
		border: 0; box-shadow: none; padding: 6px 0 10px; margin: 0;
	}
	.tvh-sub ul { min-width: 0; grid-template-columns: 1fr 1fr; }
	body.nav-open { overflow: hidden; }

	.tvh-hero { height: auto; aspect-ratio: auto; }
	.tvh-slide { position: relative; display: none; grid-template-columns: 124px minmax(0, 1fr); }
	.tvh-slide.is-active { display: grid; }
	.tvh-slide-poster { aspect-ratio: 3 / 4; }
	.tvh-slide-in { padding: 16px 16px 58px; justify-content: flex-start; }
	.tvh-slide-in .tvh-eyebrow { font-size: 10px; letter-spacing: .12em; margin-bottom: 8px; }
	.tvh-hero-title { font-size: 24px; }
	.tvh-hero-text { -webkit-line-clamp: 2; font-size: 13px; margin-bottom: 0; }
	.tvh-hero-title { margin-bottom: 8px; }
	.tvh-slide .tvh-tags, .tvh-slide .tvh-hero-cta .tvh-btn-ghost { display: none; }
	.tvh-slide .tvh-hero-cta { position: absolute; left: 140px; right: 16px; bottom: 14px; }
	.tvh-slide .tvh-hero-cta .tvh-btn { height: 34px; padding: 0 12px; font-size: 12.5px; }
	.tvh-hero-arrow { display: none; }
	.tvh-dots { display: none; }

	.tvh-arrow { display: none; }
	.tvh-track { grid-auto-columns: 42%; gap: 12px; }
	.tvh-track:has(.tvh-ep) { grid-auto-columns: 62%; }
	.tvh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 12px; }
	.tvh-grid-eps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
	.tvh-row-head h2 { font-size: 20px; }
	.tvh-latest > .tvh-row-head .tvh-row-tools { display: none; }
	.tvh-latest > .tvh-row-head h2 { white-space: nowrap; }

	/* Ficha en el celular: de borde a borde; póster y datos arriba, sinopsis y botones debajo a todo el ancho */
	.tvh-detail { margin: 0 calc(-1 * var(--gutter)); padding: 20px var(--gutter) 24px; border-radius: 0; border-width: 0 0 1px; }
	.tvh-detail-in { grid-template-columns: 120px minmax(0, 1fr); gap: 0 16px; }
	.tvh-detail-info { display: contents; }
	.tvh-detail-info > * { grid-column: 2; }
	.tvh-detail-info h1 { font-size: 24px; margin: 6px 0 10px; }
	.tvh-detail-poster { grid-row: 1 / span 3; }
	.tvh-facts { gap: 2px 0; margin-bottom: 0; font-size: 13px; }
	.tvh-facts li + li::before { display: none; }
	.tvh-facts li:not(:last-child)::after { content: "·"; margin: 0 7px; color: var(--ink-3); }
	.tvh-detail .tvh-tags { grid-column: 1 / -1; margin: 14px 0 0; }
	.tvh-detail .tvh-synopsis { grid-column: 1 / -1; max-width: none; margin: 16px 0 0; }
	.tvh-detail .tvh-leer { grid-column: 1 / -1; justify-self: start; margin: 8px 0 0; }
	.tvh-detail .tvh-hero-cta { grid-column: 1 / -1; margin-top: 18px; }
	.tvh-detail .tvh-hero-cta .tvh-btn { flex: 1; }
	.tvh-ep-list { grid-template-columns: 1fr 1fr; }
	.tvh-ep-d { display: none; }
	.tvh-ep-find { width: 120px; }
	.tvh-side-list, .tvh-caps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
	.tvh-caps .tvh-side-d, .tvh-caps .tvh-side-mark, .tvh-caps .tvh-play { display: none; }
	.tvh-caps .tvh-side-t { font-size: 12px; }
	.tvh-side-now { display: none !important; }
	.tvh-trust ul { grid-template-columns: 1fr; }
	.tvh-trust-geo { margin-left: 0; width: 100%; }
	.tvh-cal { padding: 14px; }
	.tvh-watch h1 { font-size: 24px; }
	.tvh-ep-nav .tvh-btn { flex: 1; }
	.tvh-ep-nav .tvh-ep-all { order: 3; width: 100%; justify-content: center; padding: 6px 0 2px; }

	.tvh-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
	.tvh-chips::-webkit-scrollbar { display: none; }
	.tvh-chips-label { flex-shrink: 0; width: auto; margin-right: 6px; }
	.tvh-chip { flex-shrink: 0; }

	.tvh-page-head h1 { font-size: 28px; }
	.tvh-plans { grid-template-columns: 1fr; }
	.tvh-plan.is-hot { transform: none; }
	.tvh-vip { grid-template-columns: 1fr; padding: 28px 22px; }
	.tvh-vip h2 { font-size: 26px; }
	.tvh-vip-covers { order: -1; width: 330px; height: 200px; margin: -8px auto -4px; transform: scale(.86); }
	.tvh-banner-empty { height: 72px; }
}

@media (max-width: 420px) {
	.tvh-sub ul { grid-template-columns: 1fr; }
	.tvh-ep-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Portada: el slider va directo bajo el menú */
.home .tvh-hero { margin-top: 24px; }

/* Capítulo final */
.tvh-fin { display: inline-block; margin-left: 4px; padding: 1px 5px; border-radius: 3px; background: #b3261e; color: #fff; font: 800 .72em/1.4 var(--sans); letter-spacing: .08em; vertical-align: .12em; }

/* ---------- Idioma y cuenta en la cabecera ---------- */
.tvh-lang { position: relative; }
.tvh-lang-btn {
	display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border-radius: var(--radius);
	border: 1px solid var(--line-2); font: 700 12px var(--sans); letter-spacing: .06em; color: var(--ink-2);
	transition: border-color .2s, color .2s;
}
.tvh-lang-btn svg { font-size: 17px; stroke-width: 1.6; }
.tvh-lang-btn:hover, .tvh-lang-btn[aria-expanded="true"] { border-color: var(--ink); color: var(--ink); }
.tvh-lang-menu {
	position: absolute; top: calc(100% + 6px); right: 0; z-index: 70; min-width: 150px; padding: 6px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: 0 18px 40px -18px rgba(20, 21, 22, .3); animation: tvh-drop .2s var(--ease);
}
.tvh-lang-menu button {
	display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 4px;
	font-size: 14px; font-weight: 500; color: var(--ink-2); text-align: left; transition: background .15s, color .15s;
}
.tvh-lang-menu button:hover { background: var(--paper); color: var(--ink); }
.tvh-lang-menu button.is-on { color: var(--ink); font-weight: 700; }
.tvh-lang-menu button.is-on::after { content: ""; width: 9px; height: 5px; margin: -3px 2px 0 auto; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.tvh-flag { width: 20px; height: 14px; border-radius: 2px; stroke: none; box-shadow: 0 0 0 1px rgba(20, 21, 22, .12); flex-shrink: 0; }
.tvh-me { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.tvh-me:hover { color: var(--accent); }
.tvh-me span { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tvh-avatar { display: inline-block; flex-shrink: 0; border-radius: 50%; object-fit: cover; background: var(--paper); }
.tvh-avatar-ini { display: inline-grid; place-items: center; background: hsl(var(--h) 35% 88%); color: hsl(var(--h) 40% 28%); font-family: var(--serif); font-weight: 600; line-height: 1; }

/* Google Translate: sin barra superior ni globos */
body { top: 0 !important; }
.goog-te-banner-frame, .skiptranslate > iframe, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd { display: none !important; }
font[style] { background: none !important; box-shadow: none !important; }

/* ---------- Formularios de cuenta ---------- */
.tvh-aviso { margin: 0 0 18px; padding: 12px 16px; border-radius: var(--radius); font-size: 14px; border: 1px solid; }
.tvh-aviso.is-error { background: #fdf1f0; border-color: #f2c9c4; color: #8f2b20; }
.tvh-aviso.is-ok { background: var(--accent-soft); border-color: #bfe0dd; color: var(--accent-ink); }
.tvh-auth { max-width: 420px; margin: 0 auto 30px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.tvh-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.tvh-auth-tabs a { padding: 14px; text-align: center; font: 700 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); background: var(--paper); }
.tvh-auth-tabs a.is-on { background: #fff; color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.tvh-form { display: grid; gap: 14px; padding: 24px; }
.tvh-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.tvh-form label small { font-weight: 500; color: var(--ink-3); }
.tvh-captcha input { max-width: 120px; }
.tvh-form input:not([type=checkbox]):not([type=file]) {
	height: 42px; padding: 0 12px; border-radius: var(--radius); border: 1px solid var(--line-2);
	background: #fff; color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 500;
}
.tvh-form input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.tvh-form .tvh-btn { height: 44px; margin-top: 4px; }
.tvh-form label.tvh-check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.tvh-form-note { margin: 0; font-size: 13px; color: var(--ink-3); }
.tvh-form-note a { color: var(--accent); }
.tvh-trampa { position: absolute; left: -9999px; }
.tvh-logout { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.tvh-logout svg, .tvh-out svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tvh-out { color: #000; }
.tvh-out:hover { color: #b3261e; }
.tvh-contact { margin-top: 18px; }
/* Página de contacto: centrada y a todo el ancho útil */
.tvh-prose:has(.tvh-contact) { max-width: none; }
.tvh-prose-page:has(.tvh-contact) .tvh-page-head, .tvh-prose:has(.tvh-contact) > p { text-align: center; }
.tvh-prose:has(.tvh-contact) > p { max-width: 560px; margin-left: auto; margin-right: auto; }
.tvh-contact-form { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.tvh-contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tvh-form select, .tvh-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; font: inherit; font-size: 14px; color: var(--ink); }
.tvh-form textarea { resize: vertical; }
.tvh-form select:focus, .tvh-form textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.tvh-contact .tvh-aviso { margin-bottom: 14px; }
@media (max-width: 640px) { .tvh-contact-row { grid-template-columns: 1fr; } .tvh-contact-form { padding: 18px; } }
.tvh-prose .tvh-form a, .tvh-prose .tvh-auth a, .tvh-prose .tvh-account a { text-decoration: none; }

.tvh-prose:has(.tvh-account), .tvh-prose:has(.tvh-auth) { max-width: none; }
.tvh-account { display: grid; gap: 20px; }
.tvh-account-head { display: flex; align-items: center; gap: 18px; }
.tvh-account-head h2 { margin: 0 0 2px; font-size: 26px; }
.tvh-account-head p { margin: 0; color: var(--ink-3); font-size: 14px; }
.tvh-account-head .tvh-btn { margin-left: auto; color: var(--ink); }
.tvh-vip-tag { display: inline-block; padding: 1px 8px; border-radius: 3px; background: #10201f; color: #5fd0c8; font: 700 11px var(--sans); letter-spacing: .1em; }
.tvh-account-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.tvh-account-box h3 { margin: 0 0 12px; font-size: 20px; }
.tvh-account-box .tvh-plans { margin: 16px 0 6px; }
.tvh-account-delete { border-color: #f2c9c4; }
.tvh-account-delete summary { cursor: pointer; font-weight: 700; color: #b3261e; }
.tvh-account-delete details[open] summary { margin-bottom: 12px; }
.tvh-account-delete .tvh-form { max-width: 420px; }
.tvh-btn-danger { background: #b3261e; border-color: #b3261e; }
.tvh-btn-danger:hover { background: #8f1f18; border-color: #8f1f18; }
.tvh-form-grid { grid-template-columns: 160px 1fr; gap: 26px; padding: 0; align-items: start; }
.tvh-form-grid > div:last-child { display: grid; gap: 14px; }
.tvh-photo { display: grid; justify-items: center; gap: 10px; text-align: center; }
.tvh-photo small { color: var(--ink-3); font-size: 11.5px; }
.tvh-photo .tvh-btn { cursor: pointer; color: var(--ink); height: 32px; margin: 0; }
.tvh-btn.is-static { cursor: default; color: var(--ink-3); }
.tvh-btn.is-static:hover { border-color: var(--line-2); }
.tvh-paypal { margin: 0; }
.tvh-paypal .tvh-btn { width: 100%; }
.tvh-plans-note { text-align: center; }

/* ---------- Comentarios ---------- */
.tvh-comments { margin: 8px 0 48px; }
.tvh-comment-form { display: grid; grid-template-columns: 40px 1fr; gap: 12px; margin-bottom: 26px; }
.tvh-comment-form textarea {
	width: 100%; min-height: 84px; padding: 11px 13px; border-radius: var(--radius); border: 1px solid var(--line-2);
	font: inherit; font-size: 14.5px; color: var(--ink); resize: vertical;
}
.tvh-comment-form textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.tvh-comment-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.tvh-comment-login { padding: 18px; border: 1px dashed var(--line-2); border-radius: var(--radius); text-align: center; color: var(--ink-2); background: var(--paper); }
.tvh-comment-login a { color: var(--accent); font-weight: 700; }
.tvh-comment-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tvh-comment { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.tvh-comment-meta { margin: 0 0 4px; font-size: 13.5px; }
.tvh-comment-meta span { color: var(--ink-3); font-size: 12.5px; margin-left: 6px; }
.tvh-comment-text { font-size: 14.5px; color: #33363c; }
.tvh-comment-text p { margin: 0 0 .6em; }
.tvh-comment-list .children { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); grid-column: 2; }
.tvh-comment-list .children .tvh-comment { border-top: 0; padding: 10px 0 6px; }
.tvh-comment-list .children .tvh-avatar { width: 30px !important; height: 30px !important; font-size: 13px !important; }
.tvh-more-comments { display: block; margin: 18px auto 0; }
.tvh-comment-own { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 2px; }
.tvh-comment-own details { font-size: 12.5px; }
.tvh-comment-own details[open] { flex-basis: 100%; }
.tvh-comment-own summary { list-style: none; cursor: pointer; color: var(--ink-3); font-weight: 600; display: inline-block; }
.tvh-comment-own summary::-webkit-details-marker { display: none; }
.tvh-comment-own summary:hover, .tvh-comment-own details[open] summary { color: var(--accent); }
.tvh-comment-edit, .tvh-comment-del { margin-top: 8px; }
.tvh-comment-edit textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--radius); font: inherit; font-size: 14px; resize: vertical; margin-bottom: 8px; }
.tvh-comment-edit textarea:focus { outline: 0; border-color: var(--accent); }
.tvh-comment-del { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }

/* ---------- Slider de imágenes (como optimovision) ---------- */
.tvh-hero-img { height: auto; aspect-ratio: 2 / 1; background: var(--black); border: 0; }
.tvh-hero-img .tvh-slide { display: block; }
.tvh-slide-img, .tvh-slide-img img { display: block; width: 100%; height: 100%; }
.tvh-slide-img img { object-fit: cover; }
.tvh-slide-cap {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 120px 14px 22px;
	background: rgba(15, 16, 17, .78); color: #fff; backdrop-filter: blur(6px);
}
.tvh-slide-cap h2 { font-size: 22px; margin: 0; color: #fff; }
.tvh-slide-cap p { margin: 3px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .78); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.tvh-hero-img .tvh-hero-arrow { bottom: auto; top: 50%; margin-top: -17px; background: rgba(255, 255, 255, .9); }
.tvh-hero-img .tvh-hero-arrow.is-prev { left: 14px; right: auto; }
.tvh-hero-img .tvh-hero-arrow.is-next { right: 14px; }
.tvh-hero-img .tvh-dots { left: auto; right: 22px; bottom: 24px; }
.tvh-hero-img .tvh-dots button { background-color: rgba(255, 255, 255, .35); }
.tvh-hero-img .tvh-dots button.is-active { background-color: #fff; }

@media (max-width: 760px) {
	.tvh-lang-btn { height: 32px; padding: 0 8px; }
	.tvh-me span { display: none; }
	.tvh-form-grid { grid-template-columns: 1fr; }
	.tvh-account-head { flex-wrap: wrap; }
	.tvh-hero-img .tvh-slide { display: none; }
	.tvh-hero-img .tvh-slide.is-active { display: block; }
	.tvh-slide-cap { position: static; padding: 12px 14px; }
	.tvh-slide-cap h2 { font-size: 18px; }
	.tvh-hero-img { aspect-ratio: auto; }
	.tvh-hero-img .tvh-slide-img { aspect-ratio: 2 / 1; }
}

/* Móvil: cabeceras de "Últimos capítulos" y de cada día sin amontonarse */
@media (max-width: 760px) {
	.tvh-latest > .tvh-row-head .tvh-today { display: none; }
	.tvh-day-head { flex-wrap: wrap; row-gap: 4px; align-items: center; }
	.tvh-day-head h3 { white-space: nowrap; font-size: 18px; }
	.tvh-day-head h3 span { font-size: 12.5px; }
	.tvh-day-count { white-space: nowrap; }
	.tvh-day-head .tvh-more { margin-left: auto; white-space: nowrap; }
}
