:root {
	color-scheme: dark;
	--background: oklch(0.185 0 0);
	--foreground: oklch(0.965 0 0);
	--muted: oklch(0.255 0 0);
	--muted-foreground: oklch(0.76 0 0);
	--card: oklch(0.235 0 0 / 0.82);
	--card-solid: oklch(0.235 0 0);
	--border: oklch(1 0 0 / 9%);
	--ring: oklch(0.68 0 0);
	--accent: oklch(0.325 0 0);
	--accent-foreground: oklch(0.985 0 0);
	--hero-glow-1: 0.096;
	--hero-glow-2: 0.072;
	--hero-glow-3: 0.048;
	--danger: oklch(0.56 0.19 25);
	--purple: oklch(0.57 0.18 305);
	--plyr-color-main: oklch(0.68 0.16 255);
	--plyr-video-control-color: oklch(1 0 0 / 0.86);
	--plyr-video-control-color-hover: oklch(1 0 0);
	--plyr-video-control-background-hover: oklch(1 0 0 / 0.12);
	--plyr-control-radius: 8px;
	--header-height: 72px;
	--header-compact-height: 48px;
	--header-shell-width: 1180px;
	--header-shell-compact-width: 720px;
	--radius: 14px;
	--font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="light"] {
	color-scheme: light;
	--background: oklch(1 0 0);
	--foreground: oklch(0.145 0 0);
	--muted: oklch(0.97 0 0);
	--muted-foreground: oklch(0.49 0 0);
	--card: oklch(1 0 0 / 0.86);
	--card-solid: oklch(1 0 0);
	--border: oklch(0.93 0 0);
	--ring: oklch(0.708 0 0);
	--accent: oklch(0.95 0 0);
	--accent-foreground: oklch(0.145 0 0);
	--hero-glow-1: 0.2;
	--hero-glow-2: 0.15;
	--hero-glow-3: 0.1;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	margin-top: 0 !important;
}

body {
	min-height: 100vh;
	margin: 0;
	background:
		radial-gradient(ellipse 60% 50% at 20% 20%, oklch(0.72 0.18 250 / var(--hero-glow-1)) 0%, transparent 70%),
		radial-gradient(ellipse 50% 40% at 80% 15%, oklch(0.65 0.15 200 / var(--hero-glow-2)) 0%, transparent 70%),
		radial-gradient(ellipse 40% 35% at 40% 80%, oklch(0.70 0.12 280 / var(--hero-glow-3)) 0%, transparent 70%),
		var(--background);
	background-attachment: fixed;
	color: var(--foreground);
	font-family: var(--font-sans);
	letter-spacing: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
}

img,
svg {
	display: block;
	max-width: 100%;
}

.user-chip img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	z-index: 1000;
	top: 1rem;
	left: 1rem;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto;
	background: var(--accent);
	color: var(--accent-foreground);
	border-radius: 0.5rem;
}

.site-header {
	position: fixed;
	z-index: 100;
	top: 0;
	left: 0;
	right: 0;
	padding-top: var(--nav-offset, 0px);
	pointer-events: none;
	transition: padding-top 240ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: padding-top;
}

.site-header__shell {
	width: min(calc(100% - 32px), var(--nav-width, var(--header-shell-width)));
	margin: 0 auto;
	padding: 0;
	transition: width 360ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: width;
}

.site-header__bar {
	position: relative;
	display: grid;
	grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr);
	align-items: center;
	gap: 24px;
	min-height: var(--nav-height, var(--header-height));
	padding: 0 16px;
	pointer-events: auto;
	transition: min-height 260ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: min-height;
}

body.nav-compact .site-header__bar {
	padding-right: 12px;
	padding-left: 12px;
}

.site-header__bar::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: color-mix(in oklch, var(--card-solid), transparent 10%);
	box-shadow: 0 18px 55px oklch(0 0 0 / 0.24);
	opacity: var(--nav-surface-opacity, 0);
	transform: scaleX(var(--nav-surface-scale, 0.92));
	transform-origin: center;
	backdrop-filter: blur(18px);
	transition:
		opacity 220ms ease,
		transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}

body.nav-compact {
	--nav-width: var(--header-shell-compact-width);
	--nav-height: var(--header-compact-height);
	--nav-offset: 12px;
	--nav-surface-opacity: 1;
	--nav-surface-scale: 1;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	white-space: nowrap;
	justify-self: start;
}

.site-brand__mark {
	display: block;
	width: 82px;
	height: 26px;
	overflow: visible;
	border: 0;
	border-radius: 0;
	background: transparent;
	flex: 0 0 auto;
}

.site-brand__mark .custom-logo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: left center;
}

.site-nav {
	justify-self: center;
	min-width: 0;
}

.site-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 13px;
	border-radius: 999px;
	color: var(--muted-foreground);
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	transition: color 180ms ease, background-color 180ms ease;
}

.site-menu a:hover,
.site-menu a:focus-visible,
.site-menu .current-menu-item > a,
.site-menu .current_page_item > a {
	background: oklch(1 0 0 / 0.06);
	color: var(--foreground);
	outline: none;
}

.site-actions {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 7px;
	justify-self: end;
	min-width: 0;
}

.site-action--translate {
	position: relative;
	margin-left: 8px;
}

.site-action--translate::before {
	content: "";
	position: absolute;
	left: -8px;
	width: 1px;
	height: 18px;
	background: var(--border);
}

.icon-button,
.user-chip,
.menu-toggle {
	display: inline-grid;
	width: 28px;
	height: 28px;
	place-items: center;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--foreground);
	cursor: pointer;
	transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.icon-button:hover,
.user-chip:hover,
.menu-toggle:hover {
	background: oklch(1 0 0 / 0.07);
}

.icon-button svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.icon-lang {
	font-size: 16px;
	line-height: 1;
}

.site-action--bell {
	position: relative;
}

.theme-picker {
	position: relative;
}

.theme-icon--moon {
	display: none;
}

:root[data-theme="dark"] .theme-icon--sun {
	display: none;
}

:root[data-theme="dark"] .theme-icon--moon {
	display: block;
}

.theme-menu {
	position: absolute;
	top: calc(100% + 10px);
	right: -18px;
	display: grid;
	width: 128px;
	padding: 8px;
	border: 1px solid var(--border);
	border-radius: 14px;
	background: var(--card-solid);
	box-shadow: 0 18px 48px oklch(0 0 0 / 0.18);
	opacity: 0;
	pointer-events: none;
	transform: translateY(-4px) scale(0.98);
	transform-origin: top right;
	transition: opacity 160ms ease, transform 160ms ease;
}

.theme-picker.is-open .theme-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}

.theme-menu button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 32px;
	padding: 0 8px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--foreground);
	font-size: 14px;
	text-align: left;
	cursor: pointer;
}

.theme-menu button:hover {
	background: var(--accent);
}

.theme-menu button span {
	opacity: 0;
}

.theme-menu button[aria-checked="true"] span {
	opacity: 1;
}

.site-action__badge {
	position: absolute;
	top: -4px;
	right: -2px;
	display: grid;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	place-items: center;
	border-radius: 999px;
	background: var(--danger);
	color: white;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
}

.user-chip {
	width: 24px;
	height: 24px;
	background: var(--purple);
	color: white;
	font-size: 11px;
	font-weight: 700;
}

.menu-toggle {
	display: none;
}

.menu-toggle span:not(.screen-reader-text) {
	display: block;
	width: 16px;
	height: 1.5px;
	margin: 2px 0;
	border-radius: 999px;
	background: currentColor;
}

.site-main {
	min-height: 70vh;
	padding-top: 72px;
}

.hero-section {
	display: grid;
	min-height: 340px;
	place-items: center;
	padding: 80px 24px 56px;
	text-align: center;
}

.hero-section__inner {
	width: min(100%, 760px);
}

.hero-section__eyebrow {
	margin: 0 0 12px;
	color: var(--muted-foreground);
	font-size: 14px;
}

.hero-section h1 {
	margin: 0;
	color: var(--foreground);
	font-size: clamp(44px, 7vw, 76px);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 0.95;
}

.hero-section p:not(.hero-section__eyebrow) {
	margin: 20px auto 0;
	color: var(--muted-foreground);
	font-size: 16px;
	line-height: 1.7;
}

.content-shell {
	width: min(100%, 1288px);
	margin: 0 auto;
	padding: 40px 24px 96px;
}

.content-shell--home,
.content-shell--archive {
	padding-top: 40px;
}

.archive-filters {
	display: flex;
	gap: 8px;
	margin-bottom: 22px;
}

.archive-filters a {
	display: inline-flex;
	min-height: 30px;
	align-items: center;
	padding: 0 12px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: color-mix(in oklch, var(--card-solid), transparent 34%);
	color: var(--muted-foreground);
	font-size: 13px;
}

.archive-filters a.is-active,
.archive-filters a:hover {
	color: var(--foreground);
	background: var(--accent);
}

.video-hero-slider {
	display: grid;
	grid-template-columns: minmax(0, 1.38fr) minmax(360px, 1fr);
	align-items: stretch;
	gap: 18px;
	margin-bottom: 34px;
}

.video-hero-slider__stage {
	position: relative;
	height: 100%;
	min-height: clamp(260px, 28vw, 390px);
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--card);
}

.video-hero-slide {
	position: absolute;
	inset: 0;
	display: flex;
	overflow: hidden;
	align-items: flex-end;
	background: oklch(0.18 0 0);
	opacity: 0;
	pointer-events: none;
	transform: scale(1.01);
	transition: opacity 280ms ease, transform 520ms ease;
}

.video-hero-slide.is-active {
	opacity: 1;
	pointer-events: auto;
	transform: scale(1);
}

.video-hero-slide img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-hero-slide__placeholder {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: var(--muted-foreground);
	font-size: 14px;
}

.video-hero-slide__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, transparent 38%, oklch(0 0 0 / 0.78) 100%),
		linear-gradient(90deg, oklch(0 0 0 / 0.34), transparent 62%);
}

.video-hero-slide__content {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 8px;
	width: min(78%, 720px);
	padding: 0 24px 22px;
	color: white;
}

.video-hero-slide__eyebrow {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 8px;
	color: oklch(1 0 0 / 0.72);
	font-size: 12px;
	line-height: 1.2;
}

.video-hero-slide__eyebrow span {
	color: oklch(1 0 0 / 0.62);
}

.video-hero-slide__content strong {
	display: -webkit-box;
	overflow: hidden;
	font-size: clamp(17px, 1.55vw, 22px);
	font-weight: 520;
	line-height: 1.32;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.video-hero-slide__content small {
	color: oklch(1 0 0 / 0.66);
	font-size: 12px;
	line-height: 1.2;
}

.video-hero-slider__rail {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 14px;
	align-content: stretch;
}

.video-hero-slider__rail.video-card-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 14px;
	row-gap: 18px;
}

.video-hero-slider__rail .mf-video-card__title {
	font-size: 13px;
}

.video-hero-slider__rail .mf-video-card__meta,
.video-hero-slider__rail .mf-video-card__like {
	font-size: 11px;
}

.video-showcase + .video-showcase {
	margin-top: 46px;
}

.video-showcase__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 30px;
}

.video-showcase__head h2 {
	margin: 0;
	color: var(--foreground);
	font-size: clamp(17px, 1.35vw, 20px);
	font-weight: 560;
	line-height: 1.25;
}

.video-showcase__head p {
	margin: 8px 0 0;
	color: var(--muted-foreground);
	font-size: 13px;
}

.video-showcase__more {
	margin-top: 10px;
	color: oklch(0.62 0.2 255);
	font-size: 14px;
	white-space: nowrap;
}

.video-card-grid {
	display: grid;
	grid-template-columns: repeat(var(--video-card-columns-desktop, 5), minmax(0, 1fr));
	column-gap: 20px;
	row-gap: 20px;
}

.empty-state {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--card);
	backdrop-filter: blur(18px);
}

.mf-video-card {
	min-width: 0;
}

.mf-video-card__thumb {
	position: relative;
	display: flex;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	align-items: center;
	justify-content: center;
	border-radius: 5px;
	background: oklch(0.2 0 0);
}

.mf-video-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 220ms ease, filter 220ms ease;
}

.mf-video-card:hover .mf-video-card__thumb img {
	transform: scale(1.025);
	filter: brightness(1.06);
}

.mf-video-card__placeholder {
	color: var(--muted-foreground);
	font-size: 13px;
}

.mf-video-card__views,
.mf-video-card__duration {
	position: absolute;
	bottom: 7px;
	padding: 0;
	color: oklch(1 0 0 / 0.82);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.2;
	text-shadow: 0 1px 2px oklch(0 0 0 / 0.55);
}

.mf-video-card__views {
	left: 7px;
}

.mf-video-card__duration {
	right: 7px;
}

.mf-video-card__title {
	margin: 10px 0 5px;
	color: var(--foreground);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
}

.mf-video-card__title a {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
}

.mf-video-card__meta {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 5px;
	color: var(--muted-foreground);
	font-size: 12px;
	line-height: 1.2;
}

.mf-video-card__author,
.mf-video-card__category {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mf-video-card__author {
	max-width: 42%;
}

.mf-video-card__verified {
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: oklch(0.62 0.21 255);
	flex: 0 0 auto;
}

.mf-video-card__spacer {
	flex: 1 1 auto;
	min-width: 4px;
}

.mf-video-card__category {
	max-width: 34%;
}

.mf-video-card__like {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--muted-foreground);
	font-size: 12px;
	cursor: pointer;
}

.mf-video-card__like svg {
	width: 12px;
	height: 12px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

.mf-video-card__like.is-liked {
	color: oklch(0.62 0.2 25);
}

.mf-video-card__like.is-liked svg {
	fill: currentColor;
}

.empty-state p {
	margin: 0;
	color: var(--muted-foreground);
	font-size: 14px;
	line-height: 1.6;
}

.empty-state {
	padding: 36px;
	text-align: center;
}

.video-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 34px;
}

.video-pagination .page-numbers {
	display: inline-flex;
	min-width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	padding: 0 11px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: color-mix(in oklch, var(--card-solid), transparent 40%);
	color: var(--muted-foreground);
	font-size: 13px;
	transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.video-pagination a.page-numbers:hover,
.video-pagination .page-numbers.current {
	border-color: color-mix(in oklch, var(--foreground), transparent 82%);
	background: var(--accent);
	color: var(--foreground);
}

.site-footer {
	border-top: 1px solid var(--border);
	color: var(--muted-foreground);
}

.site-footer__inner {
	width: min(100%, 1180px);
	margin: 0 auto;
	padding: 28px 24px;
	font-size: 14px;
}

.single-video-page {
	width: min(100%, 1288px);
	margin: 0 auto;
	padding: 25px 24px 96px;
}

.single-video-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 36px;
	align-items: start;
}

.single-video-player {
	position: relative;
	display: flex;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: oklch(0 0 0);
}

.single-video-player iframe,
.single-video-player video,
.single-video-player img {
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: contain;
}

.single-video-player .plyr {
	width: 100%;
	height: 100%;
}

.single-video-player .plyr__video-wrapper {
	width: 100%;
	height: 100%;
	background: oklch(0 0 0);
}

.single-video-player .plyr video {
	object-fit: contain;
}

.single-video-player .plyr__controls {
	padding: 12px;
	background: linear-gradient(transparent, oklch(0 0 0 / 0.7));
}

.single-video-player .plyr__control--overlaid {
	background: oklch(1 0 0 / 0.14);
	border: 1px solid oklch(1 0 0 / 0.18);
	backdrop-filter: blur(14px);
	box-shadow: 0 18px 50px oklch(0 0 0 / 0.35);
}

.single-video-player .plyr__control--overlaid:hover {
	background: oklch(1 0 0 / 0.22);
}

.single-video-player__empty {
	color: oklch(1 0 0 / 0.72);
	font-size: 14px;
}

.single-video-title {
	margin: 16px 0 10px;
	padding-left: 8px;
	color: var(--foreground);
	font-size: clamp(16px, 1.25vw, 19px);
	font-weight: 500;
	line-height: 1.42;
	letter-spacing: 0;
}

.single-video-meta-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 20px;
	padding-left: 8px;
}

.single-video-pills {
	display: flex;
	min-width: 0;
	flex-wrap: nowrap;
	align-items: center;
	gap: 6px;
}

.single-video-pill {
	display: inline-flex;
	min-height: 24px;
	align-items: center;
	gap: 5px;
	padding: 0 9px;
	border: 1px solid color-mix(in oklch, var(--border), var(--muted-foreground) 18%);
	border-radius: 999px;
	background: color-mix(in oklch, var(--card-solid), transparent 46%);
	color: var(--muted-foreground);
	font-size: 12px;
	line-height: 1;
	white-space: nowrap;
}

a.single-video-pill:hover,
.mf-video-card__author:hover,
.mf-video-card__category:hover {
	color: var(--foreground);
}

.single-video-pill--author {
	padding-left: 4px;
	color: var(--foreground);
	font-weight: 650;
}

.single-video-pill--author strong {
	display: inline-grid;
	width: 18px;
	height: 18px;
	place-items: center;
	border-radius: 999px;
	background: oklch(0.68 0.2 20);
	color: white;
	font-size: 10px;
	font-weight: 800;
}

.single-video-pill--category {
	margin-right: 2px;
	border-color: color-mix(in oklch, var(--border), var(--muted-foreground) 18%);
	background: color-mix(in oklch, var(--card-solid), transparent 46%);
	color: var(--muted-foreground);
}

.single-video-pill--category i {
	width: 5px;
	height: 5px;
	border-radius: 999px;
	background: color-mix(in oklch, var(--muted-foreground), transparent 20%);
}

.single-video-pill--hd {
	border-color: oklch(0.7 0.22 20 / 0.5);
	background: oklch(0.7 0.22 20 / 0.1);
	color: oklch(0.68 0.22 20);
}

.single-video-stats {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.single-video-stat-pill {
	display: inline-flex;
	height: 28px;
	align-items: center;
	gap: 6px;
	padding: 0 10px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: transparent;
	color: var(--muted-foreground);
	font-size: 12px;
	line-height: 1;
	white-space: nowrap;
}

.single-video-like-outline {
	cursor: pointer;
}

.single-video-stat-pill svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.single-video-like-outline:hover {
	color: var(--foreground);
	background: var(--accent);
}

.single-video-like-outline.is-liked {
	border-color: oklch(0.62 0.2 25 / 0.45);
	background: oklch(0.62 0.2 25 / 0.1);
	color: oklch(0.62 0.2 25);
}

.single-video-like-outline.is-liked svg {
	fill: currentColor;
}

.single-video-meta-bar span,
.single-video-meta-bar time {
	min-width: 0;
	white-space: nowrap;
}

.single-video-description {
	padding: 22px;
	border: 1px solid var(--border);
	border-radius: 16px;
	background: var(--card);
}

.single-video-description__head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	color: var(--muted-foreground);
}

.single-video-description__head span {
	color: oklch(0.62 0.2 25);
	font-weight: 700;
}

.single-video-description__head h2 {
	margin: 0;
	color: var(--foreground);
	font-size: 14px;
	font-weight: 520;
}

.single-video-description__content {
	color: var(--muted-foreground);
	font-size: 14px;
	line-height: 1.55;
}

.single-video-description__content p {
	margin: 0 0 8px;
}

.single-video-description__content h1,
.single-video-description__content h2,
.single-video-description__content h3,
.single-video-description__content h4,
.single-video-description__content h5,
.single-video-description__content h6 {
	margin: 0 0 12px;
	color: var(--foreground);
	font-size: 18px;
	font-weight: 560;
	line-height: 1.35;
}

.single-video-description__content br {
	line-height: 1.2;
}

.single-video-description__content > :first-child {
	margin-top: 0;
}

.single-video-description__content > :last-child {
	margin-bottom: 0;
}

.single-video-sidebar h2 {
	position: relative;
	margin: 0 0 18px;
	padding-left: 12px;
	color: var(--foreground);
	font-size: 15px;
	font-weight: 560;
	line-height: 1.25;
}

.single-video-sidebar h2::before {
	content: "";
	position: absolute;
	top: 1px;
	bottom: 1px;
	left: 0;
	width: 3px;
	border-radius: 999px;
	background: oklch(0.68 0.2 25);
}

.related-video-list {
	display: grid;
	gap: 18px;
}

.related-video-card {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
}

.related-video-card__thumb {
	position: relative;
	display: flex;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: oklch(0.2 0 0);
	color: var(--muted-foreground);
	font-size: 12px;
}

.related-video-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.related-video-card__thumb small {
	position: absolute;
	right: 6px;
	bottom: 5px;
	color: oklch(1 0 0 / 0.86);
	font-size: 11px;
	font-weight: 500;
	text-shadow: 0 1px 2px oklch(0 0 0 / 0.55);
}

.related-video-card h3 {
	display: -webkit-box;
	overflow: hidden;
	margin: 0 0 6px;
	color: var(--foreground);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.related-video-card p {
	margin: 0;
	color: var(--muted-foreground);
	font-size: 12px;
	line-height: 1.5;
}

.single-video-sidebar__empty {
	color: var(--muted-foreground);
	font-size: 14px;
}

@media (max-width: 980px) {
	.video-hero-slider {
		grid-template-columns: 1fr;
	}

	.video-hero-slider__stage {
		height: auto;
		aspect-ratio: 16 / 8;
	}

	.video-hero-slider__rail {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-header__bar {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.site-header__shell {
		width: min(calc(100% - 24px), 760px);
	}

	.site-nav {
		position: fixed;
		top: calc(var(--header-compact-height) + 16px);
		left: 50%;
		display: none;
		justify-self: stretch;
		width: min(calc(100vw - 72px), 350px);
		padding: 12px;
		border: 1px solid var(--border);
		border-radius: 16px;
		background: color-mix(in oklch, var(--card-solid), transparent 4%);
		box-shadow: 0 18px 50px oklch(0 0 0 / 0.22);
		transform: translateX(-50%);
		backdrop-filter: blur(18px);
	}

	.site-nav.is-open {
		display: block;
	}

	.site-menu {
		display: grid;
		gap: 2px;
	}

	.site-menu a {
		justify-content: center;
		width: 100%;
		min-height: 36px;
		padding: 0 12px;
		border-radius: 10px;
		font-size: 13px;
	}

	.site-actions .site-action--translate,
	.site-actions .site-action:nth-child(2),
	.site-actions .site-action--bell {
		display: none;
	}

	.menu-toggle {
		display: inline-grid;
	}

	.single-video-layout {
		grid-template-columns: 1fr;
	}

	.single-video-sidebar {
		margin-top: 12px;
	}
}

@media (max-width: 640px) {
	:root {
		--header-shell-compact-width: 100%;
		--header-height: 56px;
		--header-compact-height: 44px;
	}

	.video-hero-slider {
		gap: 10px;
		margin-bottom: 28px;
	}

	.video-hero-slider__stage {
		width: calc(100% + 24px);
		margin-left: -12px;
		border-right: 0;
		border-left: 0;
		border-radius: 0;
		aspect-ratio: 16 / 9.6;
	}

	.video-hero-slide__content {
		width: 100%;
		padding: 0 14px 16px;
	}

	.video-hero-slide__content strong {
		font-size: 16px;
		font-weight: 500;
		line-height: 1.34;
	}

	.video-hero-slider__rail.video-card-grid {
		grid-template-columns: repeat(var(--video-card-columns-mobile, 2), minmax(0, 1fr));
		gap: 18px 10px;
	}

	.video-showcase + .video-showcase {
		margin-top: 38px;
	}

	.site-header__bar {
		min-height: var(--nav-height, var(--header-height));
	}

	.site-header__bar {
		gap: 9px;
		padding: 0 8px;
	}

	.site-actions {
		gap: 5px;
	}

	.user-chip {
		width: 18px;
		height: 18px;
		font-size: 10px;
	}

	.menu-toggle {
		width: 22px;
		height: 22px;
	}

	.menu-toggle span:not(.screen-reader-text) {
		width: 13px;
		height: 1.2px;
		margin: 1.7px 0;
	}

	.site-brand__mark {
		width: 74px;
		height: 24px;
	}

	.site-nav {
		top: calc(var(--header-compact-height) + 14px);
		right: 22px;
		left: auto;
		width: min(calc(100vw - 176px), 210px);
		padding: 10px;
		border-radius: 15px;
		transform: none;
	}

	.site-menu a {
		min-height: 34px;
		font-size: 12px;
	}

	.site-main {
		padding-top: 54px;
	}

	.content-shell {
		padding-right: 12px;
		padding-left: 12px;
	}

	.content-shell--home,
	.content-shell--archive {
		padding-top: 6px;
	}

	.video-showcase__head {
		margin-bottom: 22px;
	}

	.video-card-grid {
		grid-template-columns: repeat(var(--video-card-columns-mobile, 2), minmax(0, 1fr));
		gap: 18px 10px;
	}

	.mf-video-card__title {
		font-size: 13px;
	}

	.mf-video-card__meta,
	.mf-video-card__like {
		font-size: 11px;
	}

	.hero-section {
		min-height: 300px;
		padding-top: 64px;
	}

	.single-video-page {
		padding: 1px 0 72px;
		overflow-x: hidden;
	}

	.single-video-main > :not(.single-video-player),
	.single-video-sidebar {
		margin-right: 12px;
		margin-left: 12px;
	}

	.single-video-player {
		width: 100vw;
		border-radius: 0;
	}

	.single-video-title {
		font-size: 16px;
		font-weight: 500;
		padding-left: 0;
	}

	.single-video-meta-bar {
		flex-wrap: nowrap;
		justify-content: center;
		gap: 6px;
		padding-left: 0;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.single-video-meta-bar::-webkit-scrollbar {
		display: none;
	}

	.single-video-pills {
		flex: 0 0 auto;
		overflow: visible;
		gap: 5px;
	}

	.single-video-pill--category {
		display: none;
	}

	.single-video-pill {
		min-height: 24px;
		padding: 0 7px;
		font-size: 11px;
	}

	.single-video-stats {
		flex: 0 0 auto;
		margin-left: 0;
	}

	.single-video-stat-pill {
		height: 24px;
		padding: 0 7px;
		font-size: 11px;
	}

	.related-video-card {
		grid-template-columns: 128px minmax(0, 1fr);
	}
}
