:root {
	--va3-panel-strong: #090909;
	--va3-border: #262626;
	--va3-text: #f5f5f5;
	--va3-muted: #9a9a9a;
	--va3-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: 'Outfit', sans-serif;
	color: var(--va3-text);
	background: linear-gradient(180deg, #050505 0%, #0b0b0b 45%, #050505 100%);
	min-height: 100vh;
}

body.freeze-scroll {
	overflow: hidden;
}

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

img,
video {
	display: block;
	max-width: 100%;
}

button,
input,
textarea {
	font: inherit;
}

.invisible {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.va3-shell {
	width: min(1180px, calc(100vw - 32px));
	margin: 0 auto;
}

.va3-topbar {
	position: sticky;
	top: 0;
	z-index: 40;
	padding: 12px 0 16px;
	background: rgba(5, 5, 5, 0.96);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.va3-topbar__inner {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) 52px;
	align-items: center;
	gap: 18px;
	padding: 6px 0 14px;
}

.va3-iconbutton {
	width: 52px;
	height: 52px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: #0e0e0e;
	color: #f5f5f5;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.va3-iconbutton:hover {
	border-color: #fff;
	background: #151515;
}

.genericon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0;
	line-height: 1;
}

.genericon::before {
	font-size: 24px;
	line-height: 1;
}

.genericon-menu::before {
	content: '\2630';
}

.genericon-videocamera::before {
	content: '\25B6';
}

.va3-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.va3-brand__logo {
	max-height: 40px;
	width: auto;
	max-width: 180px;
}

.va3-brand__title,
.va3-title,
.va3-section__head h2,
.post-content h1,
.post-content h2,
.post-content h3 {
	font-family: 'Space Grotesk', sans-serif;
}

.va3-brand__title {
	font-size: 1.15rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.va3-search {
	display: flex;
	gap: 10px;
	align-items: center;
	padding-top: 4px;
}

.va3-search__input {
	flex: 1;
	min-width: 0;
	height: 35px;
	padding: 0 10px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: #0d0d0d;
	color: var(--va3-text);
}

.va3-search__input::placeholder {
	color: #757575;
}

.va3-search__button {
	width: 35px;
	min-width: 35px;
	height: 35px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: #181818;
	color: #fff;
	cursor: pointer;
	display: grid;
	place-items: center;
}

.va3-search__icon {
	font-size: 18px;
	line-height: 1;
}

.va3-main {
	padding: 28px 0 62px;
}

.va3-kicker,
.va3-note__label {
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #bdbdbd;
}

.va3-hero {
	display: grid;
	gap: 12px;
	margin-bottom: 22px;
}

.va3-title {
	margin: 0;
	font-size: clamp(2rem, 1.55rem + 1.6vw, 3.6rem);
	line-height: 0.96;
}

.va3-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}

.va3-stage-wrap {
	position: relative;
}

.va3-stage-wrap.is-focus-locked {
	z-index: 1600;
}

.va3-stage {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--va3-border);
	background: #080808;
	box-shadow: var(--va3-shadow);
}

.va3-stage.is-focus-locked {
	position: fixed;
	top: 50%;
	left: 50%;
	width: min(980px, calc(100vw - 48px));
	max-height: calc(100vh - 64px);
	z-index: 1601;
	transform: translate(-50%, -50%);
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.72);
}

.va3-stage__media {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
}

.va3-stage__media > img,
.va3-stage__media > video,
.va3-stage__fallback {
	position: absolute;
	inset: 0;
}

.va3-stage__media img,
.va3-stage__media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.va3-stage__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.16) 46%, rgba(0, 0, 0, 0.78) 100%);
	pointer-events: none;
}

.va3-stage__player {
	background: #000;
}

.va3-stage__fallback {
	display: grid;
	place-items: center;
	padding: 32px;
	text-align: center;
	color: var(--va3-muted);
	background: #080808;
}

.va3-stage__fallback strong {
	display: block;
	font-family: 'Space Grotesk', sans-serif;
	font-size: clamp(1.6rem, 1.35rem + 1vw, 2.4rem);
	margin-bottom: 8px;
}

.va3-stage__header {
	position: absolute;
	inset: 16px 16px auto 16px;
	z-index: 3;
	display: flex;
	justify-content: space-between;
	gap: 12px;
	align-items: center;
}

.va3-badge {
	display: inline-flex;
	align-items: center;
	padding: 9px 12px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(10, 10, 10, 0.88);
	font-size: 12px;
}

.va3-play {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
}

.va3-play__button {
	width: 96px;
	height: 96px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	display: grid;
	place-items: center;
	cursor: pointer;
	color: #fff;
	background: rgba(0, 0, 0, 0.65);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    border-radius: 50%;
}

.va3-play__button svg {
	width: 36px;
	height: 36px;
	margin-left: 6px;
}

.video-container .c-ad {
	position: absolute;
	z-index: 6;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-width: 336px;
	min-height: 250px;
}

.va3-stage__footer {
	position: absolute;
	inset: auto 0 0 0;
	z-index: 3;
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	color: #d0d0d0;
}

.va3-video-stats,
.va3-card__stats {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 4px;
	overflow-x: auto;
	scrollbar-width: none;
}

.va3-video-stats::-webkit-scrollbar,
.va3-card__stats::-webkit-scrollbar {
	display: none;
}

.va3-video-stats {
	padding: 10px 0 0;
}

.va3-video-stats__item,
.va3-card__stats span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 62px;
	padding: 6px 7px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: #272727;
	color: #d6d6d6;
	font-size: 11px;
	white-space: nowrap;
	flex: 0 0 auto;
}

.va3-video-stats__item strong,
.va3-card__stats [data-stat] {
	font-size: 14px;
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 3px;
}

.va3-video-stats__item strong::before,
.va3-card__stats [data-stat]::before {
	color: #8e8e8e;
}

.va3-video-stats__item strong[data-stat="duration"]::before,
.va3-card__stats [data-stat="duration"]::before {
	content: '\25B6';
}

.va3-video-stats__item strong[data-stat="likes"]::before,
.va3-card__stats [data-stat="likes"]::before {
	content: '+';
}

.va3-video-stats__item strong[data-stat="love"]::before,
.va3-card__stats [data-stat="love"]::before {
	content: '\2665';
}

.va3-video-stats__item strong[data-stat="views"]::before,
.va3-card__stats [data-stat="views"]::before {
	content: '\25C9';
}

.va3-video-stats__item strong[data-stat="comments"]::before,
.va3-card__stats [data-stat="comments"]::before {
	content: '\25A3';
}

.va3-stage__focus-backdrop {
	position: fixed;
	inset: 0;
	z-index: 1600;
	background: rgba(0, 0, 0, 0.84);
	backdrop-filter: blur(8px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.va3-stage__focus-backdrop.is-active {
	opacity: 1;
	visibility: visible;
}

.va3-ad {
	margin-top: 22px;
	padding: 14px;
	border: 1px dashed rgba(255, 255, 255, 0.14);
	background: #0b0b0b;
	overflow: hidden;
}

.va3-recommendations {
	margin-top: 34px;
}

.va3-related-banner {
	margin-bottom: 14px;
	overflow: hidden;
}

.va3-related-banner img {
	width: 100%;
	height: auto;
	display: block;
}

.va3-section__head h2 {
	margin: 10px 0 16px;
	font-size: clamp(1.4rem, 1.18rem + 0.7vw, 2rem);
}

.va3-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.va3-card {
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: #0b0b0b;
	overflow: hidden;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.va3-card:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 255, 255, 0.24);
}

.va3-card__media {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
}

.va3-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.va3-card__body {
	padding: 12px;
	display: grid;
	gap: 8px;
}

.va3-card__body h3 {
	margin: 0;
	font-size: 14px;
	line-height: 1.35;
	color: #fff;
}

.post-keywords {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.post-keywords a {
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: #0d0d0d;
	color: var(--va3-text);
	font-size: 13px;
}

.post-content {
	margin-top: 28px;
	padding: 26px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: var(--va3-panel-strong);
	line-height: 1.8;
	color: #e9e9e9;
}

.post-content a {
	color: #fff;
}

.post-content ul.toc_post_list {
	list-style: none;
	padding-left: 0;
}

.post-content table,
.post-content table th,
.post-content table td {
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.post-content table th,
.post-content table td {
	padding: 10px 12px;
}

.va3-footer {
	margin-top: 42px;
	padding: 18px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.va3-footer__menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 18px 26px;
	color: #c7c7c7;
	font-size: 14px;
}

.va3-footer__menu a:hover {
	color: #fff;
}

.va3-freeze {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	place-items: center;
	padding: 24px;
	background: linear-gradient(180deg, rgba(4, 4, 4, 0.96) 0%, rgba(4, 4, 4, 0.99) 100%);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.va3-freeze.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.va3-freeze__panel {
	width: min(420px, 100%);
	padding: 28px 26px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: #0b0b0b;
	box-shadow: var(--va3-shadow);
	text-align: center;
}

.va3-freeze__panel strong {
	display: block;
	margin: 16px 0 8px;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1.35rem;
}

.va3-freeze__panel span {
	display: block;
	color: var(--va3-muted);
	line-height: 1.6;
}

.va3-freeze__spinner {
	width: 54px;
	height: 54px;
	margin: 0 auto;
	border: 3px solid rgba(255, 255, 255, 0.08);
	border-top-color: #fff;
	animation: va3-spin 0.85s linear infinite;
}

ins.adsbygoogle[data-ad-status="unfilled"] {
	display: none !important;
}

::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: #050505;
}

::-webkit-scrollbar-thumb {
	background: #2a2a2a;
}

@keyframes va3-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 1080px) {
	.va3-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 780px) {
	.va3-shell {
		width: min(100vw - 20px, 1180px);
	}

	.va3-topbar__inner {
		grid-template-columns: 44px minmax(0, 1fr) 44px;
		gap: 10px;
	}

	.va3-iconbutton {
		width: 44px;
		height: 44px;
	}

	.va3-main {
		padding: 20px 0 48px;
	}

	.video-container .c-ad {
		min-width: 280px;
		min-height: 220px;
		max-width: calc(100% - 24px);
	}

	.va3-stage.is-focus-locked {
		width: calc(100vw - 24px);
		max-height: calc(100vh - 24px);
	}

	.va3-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.va3-shell {
		width: min(100vw - 16px, 1180px);
	}

	.va3-topbar {
		padding: 10px 0 12px;
	}

	.va3-title {
		font-size: 1.6rem;
	}

	.va3-search__button {
		width: 35px;
	}

	.va3-play__button {
		width: 82px;
		height: 82px;
	}

	.va3-play__button svg {
		width: 32px;
		height: 32px;
	}

	.va3-stage__header,
	.va3-stage__footer {
		display: none;
	}

	.va3-video-stats,
	.va3-card__stats {
		padding-bottom: 2px;
	}

	.va3-card__body {
		padding: 10px;
	}

	.va3-card__body h3 {
		font-size: 13px;
	}

	.va3-cards {
		grid-template-columns: 1fr;
	}

	.va3-stage.is-focus-locked {
		width: calc(100vw - 16px);
		max-height: calc(100vh - 16px);
	}
}
