/* =========================================================================
   YouTube Video Hub — Design tokens
   Identity: a cinema ticket stub, not a YouTube clone. Warm amber accent
   against deep ink, an editorial serif for titles, mono for data
   (durations, counts) so numbers read like a ticket printout.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@500&display=swap');

:root {
	--ytvh-ink: #12121A;
	--ytvh-panel: #1B1B26;
	--ytvh-panel-2: #23232F;
	--ytvh-fog: #9A99AC;
	--ytvh-hairline: #33333F;
	--ytvh-paper: #F5F3EE;
	--ytvh-paper-panel: #FFFFFF;
	--ytvh-ink-on-paper: #1B1B1F;
	--ytvh-accent: #E8A33D;
	--ytvh-accent-ink: #3D2A0C;
	--ytvh-signal: #6C8EF5;

	--ytvh-font-display: var(--ytvh-display-font, 'Fraunces'), 'Georgia', serif;
	--ytvh-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--ytvh-font-mono: 'JetBrains Mono', ui-monospace, monospace;

	--ytvh-radius: 10px;
	--ytvh-radius-lg: 16px;
	--ytvh-gap: 20px;
	--ytvh-max: 1280px;

	--bg: var(--ytvh-ink);
	--surface: var(--ytvh-panel);
	--surface-2: var(--ytvh-panel-2);
	--text: #EDEDF2;
	--text-muted: var(--ytvh-fog);
	--border: var(--ytvh-hairline);
}

body[data-ytvh-mode="light"] {
	--bg: var(--ytvh-paper);
	--surface: var(--ytvh-paper-panel);
	--surface-2: #EFEDE4;
	--text: var(--ytvh-ink-on-paper);
	--text-muted: #6B6A63;
	--border: #E1DFD4;
}

/* =========================================================================
   Reset & base
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--ytvh-font-body);
	font-size: 16px;
	line-height: 1.55;
	transition: background 0.2s ease, color 0.2s ease;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px,1px,1px,1px); white-space: nowrap;
}

.ytvh-container {
	max-width: var(--ytvh-max);
	margin: 0 auto;
	padding: 0 24px;
}

h1, h2, h3 { font-family: var(--ytvh-font-display); font-weight: 600; margin: 0 0 0.5em; }

/* =========================================================================
   Header
   ========================================================================= */

.ytvh-site-header {
	border-bottom: 1px solid var(--border);
	background: var(--bg);
	position: sticky;
	top: 0;
	z-index: 40;
}

.ytvh-header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 104px;
}

.ytvh-site-title {
	font-family: var(--ytvh-font-display);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.ytvh-branding {
	min-width: 0;
	flex-shrink: 1;
}

.ytvh-branding .ytvh-site-title,
.ytvh-branding .custom-logo-link {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}

.ytvh-branding img {
	max-height: 76px;
	width: auto;
}

.ytvh-site-title--default {
	display: block !important;
}

.ytvh-default-logo {
	height: 84px;
	width: auto;
	flex-shrink: 0;
	display: none;
}

body[data-ytvh-mode="dark"] .ytvh-default-logo--dark { display: block; }
body[data-ytvh-mode="light"] .ytvh-default-logo--light { display: block; }

.ytvh-primary-nav { flex: 1; }

.ytvh-menu, .ytvh-footer-menu {
	list-style: none;
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 0;
}

.ytvh-menu a, .ytvh-footer-menu a {
	color: var(--text-muted);
	font-size: 14px;
	font-weight: 500;
}

.ytvh-menu a:hover { color: var(--ytvh-accent); }

.ytvh-header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; min-width: 0; position: relative; }

.ytvh-search-toggle {
	width: 40px; height: 40px;
	border-radius: 50%;
	border: 1px solid var(--border);
	background: var(--surface);
	cursor: pointer;
	position: relative;
	flex-shrink: 0;
}
.ytvh-search-toggle-icon {
	position: absolute; inset: 0; margin: auto;
	width: 16px; height: 16px;
	border: 2px solid var(--text);
	border-radius: 50%;
}
.ytvh-search-toggle-icon::after {
	content: "";
	position: absolute;
	width: 2px; height: 8px;
	background: var(--text);
	border-radius: 1px;
	right: -4px; bottom: -6px;
	transform: rotate(-45deg);
}
.ytvh-search-toggle:hover .ytvh-search-toggle-icon,
.ytvh-search-toggle:hover .ytvh-search-toggle-icon::after,
.ytvh-search-toggle[aria-expanded="true"] .ytvh-search-toggle-icon,
.ytvh-search-toggle[aria-expanded="true"] .ytvh-search-toggle-icon::after {
	border-color: var(--ytvh-accent);
	background: var(--ytvh-accent);
}

/* Hidden until the toggle button opens it; then floats as a popover
   anchored to .ytvh-header-actions so it doesn't push the header layout
   around or overlap the primary nav. */
.ytvh-search {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: 320px;
	z-index: 40;
}
.ytvh-search[hidden] { display: none; }

.ytvh-search-input {
	width: 100%;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 9px 16px;
	color: var(--text);
	font-family: var(--ytvh-font-body);
	font-size: 14px;
}

.ytvh-search-input:focus { outline: 2px solid var(--ytvh-accent); outline-offset: 1px; }

.ytvh-search-results {
	position: absolute;
	top: calc(100% + 8px);
	left: 0; right: 0;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--ytvh-radius);
	max-height: 420px;
	overflow-y: auto;
	box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

.ytvh-search-result {
	display: flex; gap: 10px; align-items: center;
	padding: 10px 12px;
	border-bottom: 1px solid var(--border);
}
.ytvh-search-result:last-child { border-bottom: none; }
.ytvh-search-result img { width: 64px; height: 36px; object-fit: cover; border-radius: 6px; }
.ytvh-search-result-title { font-size: 13px; font-weight: 500; }
.ytvh-search-result-sub { font-size: 12px; color: var(--text-muted); }
.ytvh-search-empty { padding: 14px; font-size: 13px; color: var(--text-muted); }

.ytvh-mode-toggle {
	width: 40px; height: 40px;
	border-radius: 50%;
	border: 1px solid var(--border);
	background: var(--surface);
	cursor: pointer;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text);
}
.ytvh-mode-icon { display: none; }
body[data-ytvh-mode="dark"] .ytvh-mode-toggle .ytvh-icon-sun { display: block; }
body[data-ytvh-mode="light"] .ytvh-mode-toggle .ytvh-icon-moon { display: block; }

.ytvh-pwa-install-btn {
	width: 40px; height: 40px;
	border-radius: 50%;
	border: 1px solid var(--border);
	background: var(--surface);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text);
}
.ytvh-pwa-install-btn:hover { color: var(--ytvh-accent); border-color: var(--ytvh-accent); }
.ytvh-pwa-install-btn[hidden] { display: none; }

/* =========================================================================
   Hero
   ========================================================================= */

.ytvh-hero { padding: 56px 0 32px; }
.ytvh-hero-title { font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.02em; }
.ytvh-hero-tagline { color: var(--text-muted); font-size: 17px; max-width: 640px; }

/* =========================================================================
   Home sections & card grid
   ========================================================================= */

.ytvh-home-section { padding: 28px 0; }

.ytvh-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 16px;
}

.ytvh-section-title { font-size: 22px; }

.ytvh-section-more {
	font-size: 13px;
	font-weight: 500;
	color: var(--ytvh-accent);
	border-bottom: 1px solid transparent;
}
.ytvh-section-more:hover { border-color: var(--ytvh-accent); }

.ytvh-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: var(--ytvh-gap);
}

.ytvh-ad-slot {
	width: 100%;
	margin: 24px 0;
	text-align: center;
	overflow: hidden;
}

/* Inside the card grid, the ad needs to span every column instead of
   sitting in a single card-sized cell (the grid uses auto-fill, so a
   plain block-level child would otherwise be squeezed to one column's
   width). */
.ytvh-card-grid .ytvh-ad-slot {
	grid-column: 1 / -1;
	margin: 0;
}

.ytvh-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--ytvh-radius-lg);
	overflow: hidden;
	position: relative;
	transition: transform 0.18s ease, border-color 0.18s ease;
}
.ytvh-card:hover { transform: translateY(-3px); border-color: var(--ytvh-accent); }

.ytvh-card-thumb { position: relative; display: block; aspect-ratio: 16/9; background: var(--surface-2); overflow: hidden; }
.ytvh-card-thumb img { width: 100%; height: 100%; object-fit: cover; }

.ytvh-card-duration {
	position: absolute; right: 8px; bottom: 8px;
	background: rgba(0,0,0,0.78); color: #fff;
	font-family: var(--ytvh-font-mono); font-size: 12px;
	padding: 2px 7px; border-radius: 5px;
	/* torn-ticket notch, the theme's signature detail */
	clip-path: polygon(0 0, 100% 0, 100% 100%, 6px 100%, 3px 70%, 6px 40%, 3px 10%, 0 0);
	padding-left: 12px;
}

.ytvh-card-type {
	position: absolute; left: 8px; top: 8px;
	font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
	padding: 3px 9px; border-radius: 999px;
	background: var(--ytvh-accent); color: var(--ytvh-accent-ink);
}
.ytvh-card-type-series { background: var(--ytvh-signal); color: #10193B; }

.ytvh-card-play {
	position: absolute; inset: 0; margin: auto; width: 48px; height: 48px;
	background: rgba(0,0,0,0.55); border-radius: 50%;
	display: flex; align-items: center; justify-content: center; color: #fff;
	opacity: 0; transition: opacity 0.18s ease;
}
.ytvh-card:hover .ytvh-card-play { opacity: 1; }

.ytvh-card-body { display: flex; gap: 10px; padding: 12px 14px 16px; }
.ytvh-card-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ytvh-card-title { font-family: var(--ytvh-font-body); font-size: 15px; font-weight: 600; margin: 0 0 4px; line-height: 1.35; }
.ytvh-card-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.ytvh-card-sub { font-size: 12.5px; color: var(--text-muted); margin: 0; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.ytvh-card-views { display: inline-flex; align-items: center; gap: 3px; }

/* =========================================================================
   Channels grid
   ========================================================================= */

.ytvh-channel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.ytvh-channel-chip {
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	padding: 18px 10px; background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--ytvh-radius-lg); text-align: center; font-size: 13px; font-weight: 500;
}
.ytvh-channel-chip img { border-radius: 50%; }
.ytvh-channel-chip:hover { border-color: var(--ytvh-accent); }

/* =========================================================================
   Breadcrumbs
   ========================================================================= */

.ytvh-breadcrumbs { padding: 20px 0 0; }
.ytvh-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--text-muted); }
.ytvh-breadcrumbs a:hover { color: var(--ytvh-accent); }

/* =========================================================================
   Single video page
   ========================================================================= */

.ytvh-video-page {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 32px;
	padding: 20px 24px 60px;
}

.ytvh-player-wrap { position: relative; aspect-ratio: 16/9; border-radius: var(--ytvh-radius-lg); overflow: hidden; background: #000; }
.ytvh-player-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.ytvh-player-close {
	position: absolute; top: 8px; right: 8px; z-index: 2;
	display: none; align-items: center; justify-content: center;
	width: 26px; height: 26px; border-radius: 50%;
	background: rgba(0, 0, 0, 0.6); color: #fff; border: 0; cursor: pointer;
}
.ytvh-player-close:hover { background: rgba(0, 0, 0, 0.8); }

/* Scroll-float and detach-across-navigation both pin the player to a
   corner via this class. The element that holds the player's original
   space open is `.ytvh-player-observer` below — a stationary wrapper
   the IntersectionObserver in video-player.js watches instead of the
   player itself, which is what avoids a float/unfloat feedback loop
   (observing the element you're about to move, based on its own
   position, means it re-enters the viewport the moment it floats). */
.ytvh-player-wrap.is-floating {
	position: fixed;
	right: 18px; bottom: 18px; left: auto; top: auto;
	width: min(340px, calc(100vw - 36px));
	aspect-ratio: 16/9;
	z-index: 160; /* above ordinary content and the mobile bottom nav (150), below the contact modal (200) and WhatsApp popover (300) */
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
	cursor: pointer;
}
.ytvh-player-wrap.is-floating .ytvh-player-close { display: flex; }

/* Stationary wrapper around the player (created by video-player.js).
   Normal state has no intrinsic size of its own — the player fills it
   while it's in the page's flow. Once the player leaves that flow to
   float, "is-holding-space" gives the wrapper the player's own
   proportions so the rest of the page doesn't jump. */
.ytvh-player-observer.is-holding-space { aspect-ratio: 16/9; width: 100%; }

/* Detached across a page navigation (see video-player.js
   detachAcrossNavigation()): a slightly stronger ring makes clear this
   is following the visitor around the site, not just parked while they
   scroll the same page. */
.ytvh-player-wrap.is-detached {
	outline: 2px solid var(--ytvh-accent);
	outline-offset: 2px;
}

.ytvh-pip-toggle {
	display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
	border: 1px solid var(--border); border-radius: 999px;
	padding: 8px 14px; font-size: 13px; font-weight: 500;
	background: var(--surface); color: var(--text); cursor: pointer;
}
.ytvh-pip-toggle:hover { border-color: var(--ytvh-accent); color: var(--ytvh-accent); }
.ytvh-pip-toggle[aria-pressed="true"] { border-color: var(--ytvh-accent); color: var(--ytvh-accent-ink); background: var(--ytvh-accent); }

.ytvh-video-title { font-size: 26px; margin-top: 20px; }

.ytvh-video-stats {
	display: flex; flex-wrap: wrap; gap: 14px;
	font-family: var(--ytvh-font-mono); font-size: 13px; color: var(--text-muted);
	padding-bottom: 16px; border-bottom: 1px solid var(--border);
}

.ytvh-share-buttons { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 0; }
.ytvh-share-btn {
	display: inline-flex; align-items: center; gap: 7px;
	border: 1px solid var(--border); border-radius: 999px;
	padding: 8px 14px; font-size: 13px; font-weight: 500;
	background: var(--surface); cursor: pointer;
}
.ytvh-share-btn:hover { border-color: var(--ytvh-accent); color: var(--ytvh-accent); }

.ytvh-video-channel-row {
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
	padding: 16px 0; border-bottom: 1px solid var(--border);
}
.ytvh-channel-avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ytvh-channel-name { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ytvh-subscribe-btn {
	margin-left: auto;
	background: var(--ytvh-accent); color: var(--ytvh-accent-ink);
	font-weight: 600; font-size: 13px; padding: 10px 18px; border-radius: 999px;
	flex-shrink: 0;
}
.ytvh-subscribe-btn:hover { filter: brightness(1.08); }

.ytvh-video-description { padding: 18px 0; color: var(--text); font-size: 15px; }
.ytvh-reading-time { font-family: var(--ytvh-font-mono); font-size: 12px; color: var(--text-muted); }

.ytvh-tag-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0 20px; }
.ytvh-tag { font-size: 12.5px; color: var(--ytvh-signal); background: var(--surface); border: 1px solid var(--border); padding: 4px 10px; border-radius: 999px; }

.ytvh-prev-next { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; font-size: 14px; font-weight: 500; }
.ytvh-prev-next a { min-width: 0; max-width: 48%; }
.ytvh-prev-next a:hover { color: var(--ytvh-accent); }

.ytvh-video-sidebar { }
.ytvh-sidebar-title { font-size: 16px; }
.ytvh-related-item { display: flex; gap: 10px; padding: 8px 0; }
.ytvh-related-thumb { position: relative; width: 140px; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--surface-2); }
.ytvh-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ytvh-related-meta { display: flex; flex-direction: column; justify-content: center; }
.ytvh-related-title { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.ytvh-related-channel { font-size: 12px; color: var(--text-muted); }

/* =========================================================================
   Archive / taxonomy pages
   ========================================================================= */

.ytvh-archive-header { padding: 24px 0 12px; }
.ytvh-archive-title { font-size: 30px; }

.ytvh-filters { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 20px; }
.ytvh-filter {
	font-size: 13px; font-weight: 500; padding: 7px 16px;
	border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted);
}
.ytvh-filter.is-active { background: var(--ytvh-accent); color: var(--ytvh-accent-ink); border-color: var(--ytvh-accent); }

.ytvh-channel-header { margin-bottom: 12px; }
.ytvh-channel-banner { height: 160px; border-radius: var(--ytvh-radius-lg); background-size: cover; background-position: center; margin-top: 20px; }
.ytvh-channel-header-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding: 16px 0; }
.ytvh-channel-avatar-lg { border: 3px solid var(--bg); margin-top: -40px; }
.ytvh-channel-header-row > div { min-width: 0; flex: 1 1 auto; }
.ytvh-channel-stats { color: var(--text-muted); font-size: 13px; font-family: var(--ytvh-font-mono); }
.ytvh-channel-header-row .ytvh-subscribe-btn { flex-basis: auto; }

.ytvh-no-results { color: var(--text-muted); padding: 40px 0; text-align: center; }

.ytvh-archive-search { max-width: 420px; margin: 4px 0 20px; }
.ytvh-archive-search-input { width: 100%; padding: 11px 18px; }

.ytvh-archive-status {
	color: var(--text-muted);
	font-size: 14px;
	text-align: center;
	min-height: 1em;
	margin: 0 0 8px;
}

.ytvh-load-more-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 32px 0 8px; }
.ytvh-load-more {
	font-size: 14px; font-weight: 600; padding: 11px 28px;
	border: 1px solid var(--border); border-radius: 999px;
	background: var(--surface); color: var(--text);
	cursor: pointer;
}
.ytvh-load-more:hover { border-color: var(--ytvh-accent); color: var(--ytvh-accent); }
.ytvh-load-more:disabled { opacity: 0.6; cursor: default; }
.ytvh-load-more[hidden] { display: none; }

/* Numbered pagination (search.php, index.php) via the_posts_pagination(). */
.pagination.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; padding: 32px 0 8px; }
.pagination .nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; height: 38px; padding: 0 12px;
	font-size: 14px; font-weight: 600; font-family: var(--ytvh-font-mono);
	border: 1px solid var(--border); border-radius: 999px;
	background: var(--surface); color: var(--text);
}
a.page-numbers:hover { border-color: var(--ytvh-accent); color: var(--ytvh-accent); }
.pagination .page-numbers.current { background: var(--ytvh-accent); color: var(--ytvh-accent-ink); border-color: var(--ytvh-accent); }
.pagination .page-numbers.dots { border-color: transparent; background: transparent; color: var(--text-muted); }

/* Invisible trigger the IntersectionObserver watches for auto-loading;
   the visible "Load more" button above remains as the accessible/manual
   fallback for anyone who'd rather click than scroll. */
.ytvh-scroll-sentinel { height: 1px; }
.ytvh-scroll-sentinel[hidden] { display: none; }

/* =========================================================================
   Comments (comments.php) — styles WordPress's default wp_list_comments()
   / comment_form() markup, since neither ships with any CSS of its own.
   ========================================================================= */

.ytvh-comments { max-width: 760px; padding: 40px 0 60px; }
.ytvh-comments-title { font-size: 22px; margin-bottom: 20px; }

.ytvh-comment-list,
.ytvh-comment-list .children {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Nested replies: indent with a hairline "thread" rule instead of the
   browser's default ul/ol padding, which reads as random whitespace. */
.ytvh-comment-list .children {
	margin-top: 16px;
	padding-left: 28px;
	border-left: 1px solid var(--border);
}

.ytvh-comment-list > li + li,
.ytvh-comment-list .children > li + li { margin-top: 16px; }
.ytvh-comment-list .children > li:first-child { margin-top: 0; }

.ytvh-comment-list .comment-body {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--ytvh-radius);
	padding: 16px 18px;
}

.ytvh-comment-list .pingback .comment-body,
.ytvh-comment-list .trackback .comment-body { padding: 12px 18px; }

.comment-author.vcard { display: flex; align-items: center; gap: 10px; }
.comment-author .avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; }
.comment-author .fn { font-style: normal; font-weight: 600; font-size: 14px; }
.comment-author .says { display: none; }

.comment-metadata {
	font-family: var(--ytvh-font-mono);
	font-size: 12px;
	color: var(--text-muted);
	margin: 4px 0 0 46px;
}
.comment-metadata a { color: inherit; }
.comment-metadata a:hover { color: var(--ytvh-accent); }
.comment-metadata .edit-link::before { content: "· "; }

.comment-content { margin: 12px 0 0; font-size: 14.5px; line-height: 1.6; }
.comment-content p { margin: 0 0 0.8em; }
.comment-content p:last-child { margin-bottom: 0; }

.comment-awaiting-moderation {
	display: block;
	margin-top: 10px;
	font-size: 12.5px;
	color: var(--ytvh-accent);
}

.comment-body .reply { margin-top: 10px; }
.comment-reply-link {
	display: inline-flex; align-items: center;
	font-size: 12.5px; font-weight: 600;
	color: var(--text-muted);
}
.comment-reply-link:hover { color: var(--ytvh-accent); }

/* Comment form */
.comment-respond { margin-top: 32px; }
.comment-reply-title { font-size: 18px; }
.comment-reply-title small a { margin-left: 10px; font-size: 12px; font-weight: 500; color: var(--text-muted); }

.comment-form p { margin: 0 0 14px; }
.comment-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--text-muted); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--ytvh-radius);
	padding: 11px 14px;
	color: var(--text);
	font-family: var(--ytvh-font-body);
	font-size: 14px;
}
.comment-form input:focus,
.comment-form textarea:focus { outline: 2px solid var(--ytvh-accent); outline-offset: 1px; }
.comment-form textarea { resize: vertical; min-height: 120px; }

.comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; }
.comment-form-cookies-consent label { margin: 0; font-size: 13px; }

.form-submit { margin: 0; }
.comment-form .submit,
#submit {
	background: var(--ytvh-accent); color: var(--ytvh-accent-ink);
	font-weight: 600; font-size: 14px; padding: 11px 24px;
	border: 0; border-radius: 999px; cursor: pointer;
}
.comment-form .submit:hover, #submit:hover { filter: brightness(1.08); }

.comment-notes, .logged-in-as { font-size: 13px; color: var(--text-muted); margin: 0 0 16px; }
.logged-in-as a:hover { color: var(--ytvh-accent); }

/* Comment pagination (prev/next or numbered, depending on WP settings) */
.comment-navigation,
.comments-pagination {
	display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
	gap: 8px; padding: 20px 0 4px;
}
.comment-navigation .nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.comment-navigation a,
.comments-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; height: 38px; padding: 0 12px;
	font-size: 13px; font-weight: 600; font-family: var(--ytvh-font-mono);
	border: 1px solid var(--border); border-radius: 999px;
	background: var(--surface); color: var(--text);
}
.comment-navigation a:hover,
.comments-pagination a.page-numbers:hover { border-color: var(--ytvh-accent); color: var(--ytvh-accent); }
.comments-pagination .page-numbers.current { background: var(--ytvh-accent); color: var(--ytvh-accent-ink); border-color: var(--ytvh-accent); }

@media (max-width: 480px) {
	.ytvh-comment-list .children { padding-left: 16px; }
	.comment-metadata { margin-left: 0; }
	.comment-author.vcard { flex-wrap: wrap; }
}

/* =========================================================================
   Footer
   ========================================================================= */

.ytvh-site-footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 40px 0 28px; }
.ytvh-footer-inner { display: flex; flex-direction: column; gap: 20px; }
.ytvh-footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 20px; }

.ytvh-contact-links { display: flex; flex-wrap: wrap; gap: 16px; }
.ytvh-contact-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--text, inherit);
	text-decoration: none;
	font-size: 14px;
}
.ytvh-contact-link:hover { color: var(--ytvh-accent); }
.ytvh-contact-link svg { flex-shrink: 0; }

/* Small "Contact Us" modal — see ytvh_contact_modal() / data-ytvh-contact-trigger in main.js */
.ytvh-contact-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.ytvh-contact-modal[hidden] { display: none; }
.ytvh-contact-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.ytvh-contact-modal-panel {
	position: relative;
	background: var(--surface); color: var(--text);
	border: 1px solid var(--border); border-radius: 14px;
	padding: 28px 24px 24px;
	width: 100%; max-width: 320px;
	box-shadow: 0 20px 50px rgba(0,0,0,0.3);
	text-align: center;
}
.ytvh-contact-modal-panel h2 { font-size: 17px; margin: 0 0 16px; }
.ytvh-contact-modal-links { flex-direction: column; align-items: center; gap: 14px; }
.ytvh-contact-modal-links .ytvh-contact-link { font-size: 15px; }
.ytvh-contact-modal-empty { font-size: 14px; margin: 0; }
.ytvh-contact-modal-close {
	position: absolute; top: 10px; right: 10px;
	width: 30px; height: 30px; border-radius: 50%;
	border: none; background: var(--surface-2); color: var(--text);
	font-size: 20px; line-height: 1; cursor: pointer;
}
.ytvh-contact-modal-close:hover { color: var(--ytvh-accent); }
body.ytvh-modal-open { overflow: hidden; }

/* WhatsApp personal/Business chooser — see data-ytvh-whatsapp-trigger in main.js */
.ytvh-whatsapp-popover-wrap { position: fixed; z-index: 300; }
.ytvh-whatsapp-popover {
	display: flex; flex-direction: column;
	min-width: 190px;
	background: var(--surface); color: var(--text);
	border: 1px solid var(--border); border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.ytvh-whatsapp-popover a {
	padding: 11px 16px;
	font-size: 14px; font-weight: 500;
	color: var(--text); text-decoration: none;
	border-bottom: 1px solid var(--border);
}
.ytvh-whatsapp-popover a:last-child { border-bottom: none; }
.ytvh-whatsapp-popover a:hover { background: var(--surface-2); color: var(--ytvh-accent); }

/* =========================================================================
   PWA install banner + iOS toast — mobile only (see .ytvh-pwa-install-btn
   above for the desktop/Android-Chrome header button equivalent).
   Positioned above the bottom app nav, same offset math as the floating
   mini-player (.ytvh-player-wrap.is-floating) so nothing overlaps it.
   ========================================================================= */

.ytvh-pwa-banner,
.ytvh-ios-toast {
	position: fixed;
	left: 12px; right: 12px;
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	z-index: 170; /* above the bottom nav (150) and floating player (160), below the contact modal (200) */
	background: var(--surface);
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: var(--ytvh-radius-lg);
	box-shadow: 0 12px 30px rgba(0,0,0,0.3);
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
}
.ytvh-pwa-banner[hidden],
.ytvh-ios-toast[hidden] { display: none; }

@media (max-width: 720px) {
	.ytvh-pwa-banner,
	.ytvh-ios-toast { bottom: calc(56px + env(safe-area-inset-bottom, 0px) + 12px); }
}

.ytvh-pwa-banner-icon img { display: block; width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.ytvh-pwa-banner-text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.ytvh-pwa-banner-text strong { font-size: 14px; }
.ytvh-pwa-banner-text span { font-size: 12.5px; color: var(--text-muted); }

.ytvh-pwa-banner-btn {
	flex-shrink: 0;
	border: none;
	border-radius: 999px;
	background: var(--ytvh-accent);
	color: var(--ytvh-accent-ink);
	font-weight: 600;
	font-size: 13px;
	padding: 8px 16px;
	cursor: pointer;
}

.ytvh-pwa-banner-close,
.ytvh-ios-toast-close {
	flex-shrink: 0;
	width: 26px; height: 26px;
	border-radius: 50%;
	border: none;
	background: var(--surface-2);
	color: var(--text-muted);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ytvh-pwa-banner-close:hover,
.ytvh-ios-toast-close:hover { color: var(--ytvh-accent); }

.ytvh-ios-toast { font-size: 13px; }
.ytvh-ios-toast svg { flex-shrink: 0; }
.ytvh-ios-toast span { flex: 1 1 auto; }

.ytvh-widget-title { font-size: 14px; }
.ytvh-footer-credit { font-size: 12.5px; color: var(--text-muted); margin: 0; }

/* =========================================================================
   Search form (fallback, non-AJAX)
   ========================================================================= */

.ytvh-searchform { display: flex; gap: 8px; max-width: 480px; }
.ytvh-searchform input { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 10px 16px; color: var(--text); }
.ytvh-searchform button { background: var(--ytvh-accent); color: var(--ytvh-accent-ink); border: 0; border-radius: 999px; padding: 10px 20px; font-weight: 600; cursor: pointer; }

/* =========================================================================
   404
   ========================================================================= */

.ytvh-404 { padding: 100px 0; text-align: center; }
.ytvh-404 h1 { font-size: 32px; }
.ytvh-404 p { color: var(--text-muted); margin-bottom: 24px; }

/* =========================================================================
   Skeleton loading
   ========================================================================= */

.ytvh-skeleton { background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 37%, var(--surface) 63%); background-size: 400% 100%; animation: ytvh-shimmer 1.4s ease infinite; border-radius: var(--ytvh-radius); }
@keyframes ytvh-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* =========================================================================
   Mobile bottom nav bar (hidden on desktop; shown at the 720px breakpoint
   below via `.ytvh-bottom-nav { display: flex; }`). Defined here, ahead
   of the Responsive section, on purpose: same-specificity rules cascade
   by source order, so this display:none base has to come BEFORE the
   media query that overrides it to display:flex — reversed, the media
   query would just get overwritten right back to hidden.
   ========================================================================= */

.ytvh-bottom-nav {
	display: none;
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 150;
	height: 56px;
	padding-bottom: env(safe-area-inset-bottom, 0px);
	background: var(--bg);
	border-top: 1px solid var(--border);
	align-items: stretch;
	justify-content: space-around;
}

.ytvh-bottom-nav-item {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	color: var(--text-muted);
	font-size: 10.5px;
	text-decoration: none;
}

.ytvh-bottom-nav-item svg { display: block; }

.ytvh-bottom-nav-item.is-current {
	color: var(--ytvh-accent);
}

.ytvh-bottom-nav-theme {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font-family: inherit;
	color: inherit;
	cursor: pointer;
}
.ytvh-bottom-nav-theme-icon { display: none; }
body[data-ytvh-mode="dark"] .ytvh-bottom-nav-theme .ytvh-icon-sun { display: block; }
body[data-ytvh-mode="light"] .ytvh-bottom-nav-theme .ytvh-icon-moon { display: block; }

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 960px) {
	.ytvh-video-page { grid-template-columns: 1fr; }
	.ytvh-search { width: 260px; }
}

@media (max-width: 720px) {
	.ytvh-header-inner { height: auto; flex-wrap: wrap; row-gap: 10px; padding: 10px 0; gap: 12px; }

	/* Everything below the header on mobile lives in the bottom app nav
	   instead: no drawer/hamburger menu, and no header mode-toggle
	   duplicating the one now in .ytvh-bottom-nav. */
	.ytvh-primary-nav,
	.ytvh-mode-toggle,
	.ytvh-pwa-install-btn { display: none; }

	.ytvh-branding { flex: 1 1 auto; }
	.ytvh-branding img { max-height: 44px; }
	.ytvh-default-logo { height: 48px; width: auto; }

	/* On desktop .ytvh-header-actions is the popover's positioning anchor;
	   on mobile it instead needs to behave as if it weren't there at all,
	   so .ytvh-search can become a full-width row that wraps onto its own
	   line below branding/toggle instead of floating as a popover. */
	.ytvh-header-actions { display: contents; }

	.ytvh-search {
		position: static;
		flex: 1 1 100%;
		width: 100%;
		order: 3;
	}

	.ytvh-card-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

	.ytvh-bottom-nav { display: flex; }
	body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }

	/* The bottom nav sits in the same bottom-right corner the floating
	   mini-player docks to — without this, the player either renders
	   underneath the (opaque) nav bar or gets visually clipped by it. */
	.ytvh-player-wrap.is-floating { bottom: calc(56px + env(safe-area-inset-bottom, 0px) + 12px); }

	/* Channel hero: banner/avatar shrink, and the Subscribe button drops
	   to its own full-width row instead of being squeezed next to the
	   avatar and title (which is what was making it look oversized and
	   broken alongside them). */
	.ytvh-archive-title { font-size: 22px; }
	.ytvh-channel-banner { height: 110px; margin-top: 14px; }
	.ytvh-channel-header-row { padding: 12px 0; gap: 12px; }
	.ytvh-channel-avatar-lg { width: 64px; height: 64px; margin-top: -32px; }
	.ytvh-channel-header-row .ytvh-subscribe-btn {
		flex-basis: 100%;
		margin-left: 0;
		order: 3;
	}
}

@media (max-width: 480px) {
	.ytvh-container { padding: 0 16px; }

	/* Comfortable ≥44px touch targets on the controls people actually
	   tap on a phone — Load more, share buttons, filter chips, Subscribe. */
	.ytvh-load-more { width: 100%; padding: 13px 24px; }
	.ytvh-share-btn { padding: 11px 16px; flex: 1 1 calc(50% - 5px); justify-content: center; }
	.ytvh-pip-toggle { padding: 11px 16px; width: 100%; justify-content: center; }
	.ytvh-player-wrap.is-floating { width: min(220px, calc(100vw - 24px)); right: 12px; bottom: calc(56px + env(safe-area-inset-bottom, 0px) + 12px); }
	.ytvh-filter { padding: 10px 16px; }
	.ytvh-subscribe-btn { padding: 12px 20px; width: 100%; text-align: center; }
	.ytvh-video-channel-row { gap: 10px; }
	.ytvh-channel-name { flex: 1 1 auto; }

	.ytvh-channel-banner { height: 90px; margin-top: 12px; }
	.ytvh-channel-header-row { gap: 10px; }
	.ytvh-channel-avatar-lg { width: 52px; height: 52px; margin-top: -26px; border-width: 2px; }
	.ytvh-channel-stats { font-size: 12px; }
	.ytvh-channel-header-row .ytvh-subscribe-btn { padding: 11px 16px; font-size: 12.5px; }

	.ytvh-prev-next { flex-direction: column; gap: 12px; }
	.ytvh-prev-next a { max-width: 100%; }

	.ytvh-video-title { font-size: 21px; }
	.ytvh-video-stats { gap: 10px; font-size: 12px; }
}


/* =========================================================================
   Shorts feed (/shorts/) — vertical, one-at-a-time reels
   ========================================================================= */

body.ytvh-shorts-body { padding-bottom: 0; }
body.ytvh-shorts-body .ytvh-site-header,
body.ytvh-shorts-body .ytvh-site-footer {
	display: none;
}
body.ytvh-shorts-body .ytvh-bottom-nav {
	display: flex;
	background: rgba(10, 10, 14, 0.7);
	backdrop-filter: blur(6px);
	border-top: none;
}
body.ytvh-shorts-body #ytvh-content {
	padding: 0;
	margin: 0;
	max-width: none;
}

.ytvh-shorts-page {
	position: fixed;
	inset: 0;
	background: #000;
	z-index: 100;
}

.ytvh-shorts-topbar {
	position: absolute;
	top: 0; left: 0; right: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px 14px;
	color: #fff;
	background: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent);
}
.ytvh-shorts-back {
	display: flex;
	color: #fff;
	opacity: 0.9;
}
.ytvh-shorts-topbar-title {
	font-weight: 600;
	font-size: 15px;
}

.ytvh-shorts-search-toggle {
	width: 38px;
	height: 38px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	flex-shrink: 0;
}

.ytvh-shorts-search {
	position: absolute;
	top: 0; left: 0; right: 0;
	z-index: 6;
	padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px 14px;
	background: rgba(10, 10, 14, 0.94);
	backdrop-filter: blur(8px);
}
.ytvh-shorts-search-bar {
	display: flex;
	align-items: center;
	gap: 10px;
}
.ytvh-shorts-search .ytvh-search-input {
	flex: 1;
	min-width: 0;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #fff;
}
.ytvh-shorts-search .ytvh-search-input::placeholder { color: rgba(255, 255, 255, 0.6); }
.ytvh-shorts-search-close {
	width: 34px;
	height: 34px;
	border-radius: 999px;
	border: none;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.ytvh-shorts-search .ytvh-search-results {
	position: static;
	margin-top: 10px;
	background: rgba(20, 20, 24, 0.98);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--ytvh-radius);
	max-height: 60vh;
	box-shadow: none;
}
.ytvh-shorts-search .ytvh-search-result { border-bottom-color: rgba(255, 255, 255, 0.1); }
.ytvh-shorts-search .ytvh-search-result-title { color: #fff; }
.ytvh-shorts-search .ytvh-search-result-sub,
.ytvh-shorts-search .ytvh-search-empty { color: rgba(255, 255, 255, 0.6); }

.ytvh-shorts-empty {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
	padding: 0 32px;
	text-align: center;
}

.ytvh-shorts-track {
	height: 100%;
	overflow-y: auto;
	scroll-snap-type: y mandatory;
	scrollbar-width: none;
}
.ytvh-shorts-track::-webkit-scrollbar { display: none; }

.ytvh-short-slide {
	position: relative;
	height: 100dvh;
	width: 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	background: #000;
	overflow: hidden;
}

.ytvh-short-media {
	position: absolute;
	inset: 0;
}
.ytvh-short-poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: blur(18px);
	opacity: 0.6;
	transform: scale(1.1);
}
.ytvh-short-iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.ytvh-short-mute,
.ytvh-short-more {
	position: absolute;
	right: 14px;
	z-index: 5;
	width: 38px;
	height: 38px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	cursor: pointer;
}
.ytvh-short-mute { top: calc(env(safe-area-inset-top, 0px) + 14px); }
.ytvh-short-more { top: calc(env(safe-area-inset-top, 0px) + 60px); }

.ytvh-short-overlay {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	z-index: 5;
	padding: 32px 16px calc(env(safe-area-inset-bottom, 0px) + 72px);
	background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
	color: #fff;
	opacity: 1;
	transition: opacity 0.2s ease;
}
.ytvh-short-controls-hidden .ytvh-short-overlay {
	opacity: 0;
	pointer-events: none;
}
.ytvh-short-channel {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 13.5px;
	margin-bottom: 8px;
}
.ytvh-short-channel img {
	border-radius: 999px;
	width: 28px;
	height: 28px;
	object-fit: cover;
}
.ytvh-short-title {
	font-size: 14px;
	line-height: 1.4;
	margin: 0 0 8px;
	max-width: 85%;
}
@media (min-width: 721px) {
	/* Shorts is a mobile-first, phone-shaped experience; on wider
	   viewports center it at a phone-like max-width instead of
	   stretching a vertical video format across a whole desktop screen. */
	.ytvh-shorts-track { max-width: 480px; margin: 0 auto; }
	.ytvh-shorts-page { background: #000; }
}

/* Three-dot "more options" → Share sheet. Colors are hardcoded rather
   than using the --surface/--text theme vars: /shorts/ always renders
   on black regardless of the site's light/dark mode setting (see
   .ytvh-shorts-body above), so the sheet matches that fixed dark chrome
   instead of following the visitor's mode preference. */
.ytvh-short-share-backdrop {
	position: fixed;
	inset: 0;
	z-index: 210;
	background: rgba(0, 0, 0, 0.55);
}
.ytvh-short-share-backdrop[hidden] { display: none; }

.ytvh-short-share-sheet {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 211;
	max-width: 480px;
	margin: 0 auto;
	background: #16161a;
	color: #fff;
	border-radius: 16px 16px 0 0;
	padding: 18px 20px calc(env(safe-area-inset-bottom, 0px) + 20px);
	transform: translateY(100%);
	transition: transform 0.22s ease;
}
.ytvh-short-share-sheet[hidden] { display: none; }
.ytvh-short-share-sheet.is-open { transform: translateY(0); }

.ytvh-short-share-head { display: flex; align-items: center; justify-content: space-between; }
.ytvh-short-share-head h2 { font-size: 15px; margin: 0; }
.ytvh-short-share-close {
	width: 28px; height: 28px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ytvh-short-share-close:hover { color: var(--ytvh-accent); }

.ytvh-short-share-sheet .ytvh-share-buttons { padding: 14px 0 0; }
.ytvh-short-share-sheet .ytvh-share-btn {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.16);
	color: #fff;
}
.ytvh-short-share-sheet .ytvh-share-btn:hover { border-color: var(--ytvh-accent); color: var(--ytvh-accent); }

/* =========================================================================
   AJAX navigation — top loading bar
   ========================================================================= */

.ytvh-nav-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 2.5px;
	width: 0;
	background: var(--ytvh-accent);
	z-index: 400; /* above the WhatsApp popover (300) and contact modal (200) */
	opacity: 0;
	transition: width 6s cubic-bezier(0.1, 0.6, 0.2, 1), opacity 0.2s ease;
	pointer-events: none;
}

.ytvh-nav-progress.is-active {
	width: 85%;
	opacity: 1;
}

.ytvh-nav-progress.is-done {
	width: 100%;
	opacity: 1;
	transition: width 0.2s ease, opacity 0.25s ease 0.15s;
}

#ytvh-content:focus {
	outline: none;
}

@media (prefers-reduced-motion: reduce) {
	* { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
