.jtv {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba( 8, 8, 14, 0.86 );
	-webkit-backdrop-filter: blur( 6px );
	backdrop-filter: blur( 6px );
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
.jtv.is-open {
	opacity: 1;
	visibility: visible;
}
.jtv__dialog {
	position: relative;
	width: min( 1180px, 100% );
	max-width: calc( ( 100vh - 48px ) * 16 / 9 );
	border-radius: 22px;
	background: #05070c;
	box-shadow: 0 40px 100px rgba( 0, 0, 0, 0.6 );
	transform: translateY( 16px ) scale( 0.98 );
	transition: transform 0.3s cubic-bezier( 0.22, 1, 0.36, 1 );
}
.jtv.is-open .jtv__dialog {
	transform: none;
}
.jtv__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 22px;
}
.jtv__frame video {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #000;
}
.jtv__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	padding: clamp( 22px, 3.4vw, 46px );
	border-radius: 22px;
	background:
		linear-gradient( 105deg, rgba( 5, 7, 12, 0.9 ) 0%, rgba( 5, 7, 12, 0.55 ) 46%, rgba( 5, 7, 12, 0.72 ) 100% );
	opacity: 1;
	visibility: visible;
	transition: opacity 0.35s ease, visibility 0.35s ease;
}
.jtv.is-playing .jtv__overlay {
	opacity: 0;
	visibility: hidden;
}
.jtv__overlay {
	pointer-events: none;
}
.jtv.is-playing .jtv__play {
	opacity: 0;
	visibility: hidden;
}
.jtv__copy {
	max-width: 34ch;
	align-self: start;
}
.jtv__eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 14px;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}
.jtv__eyebrow::before {
	content: "";
	width: 34px;
	height: 2px;
	background: var( --yd-primary, #ff3951 );
}
.jtv__title {
	margin: 0 0 12px;
	color: #fff;
	font-size: clamp( 26px, 3.4vw, 44px );
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
}
.jtv__title span {
	color: var( --yd-primary, #ff3951 );
}
.jtv__sub {
	margin: 0;
	color: rgba( 255, 255, 255, 0.82 );
	font-size: clamp( 13px, 1.1vw, 15.5px );
	line-height: 1.6;
}
.jtv__play {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 3;
	display: grid;
	place-items: center;
	width: clamp( 62px, 6.4vw, 88px );
	aspect-ratio: 1;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var( --yd-primary, #ff3951 );
	cursor: pointer;
	transform: translate( -50%, -50% );
	transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease, visibility 0.3s ease;
	box-shadow:
		0 0 0 10px rgba( 255, 57, 81, 0.16 ),
		0 0 0 24px rgba( 255, 57, 81, 0.07 );
}
.jtv__play:hover {
	transform: translate( -50%, -50% ) scale( 1.06 );
	box-shadow:
		0 0 0 12px rgba( 255, 57, 81, 0.24 ),
		0 0 0 28px rgba( 255, 57, 81, 0.11 );
}
.jtv__play:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 6px;
}
.jtv__play svg {
	width: 42%;
	height: 42%;
	margin-left: 8%;
}
.jtv__features {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp( 14px, 1.8vw, 24px );
	margin: 0;
	padding: 0;
	list-style: none;
}
.jtv__feature {
	display: grid;
	justify-items: center;
	gap: 8px;
	width: clamp( 74px, 7vw, 96px );
	color: #fff;
	text-align: center;
}
.jtv__feature + .jtv__feature {
	padding-top: clamp( 14px, 1.8vw, 24px );
	border-top: 1px solid rgba( 255, 255, 255, 0.16 );
}
.jtv__feature svg {
	width: clamp( 20px, 1.8vw, 26px );
	height: clamp( 20px, 1.8vw, 26px );
	color: var( --yd-primary, #ff3951 );
}
.jtv__feature span {
	font-size: clamp( 10.5px, 0.9vw, 12.5px );
	font-weight: 600;
	line-height: 1.3;
}
.jtv__close {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba( 255, 57, 81, 0.55 );
	border-radius: 50%;
	background: rgba( 12, 14, 20, 0.62 );
	color: #fff;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.jtv__close:hover {
	background: var( --yd-primary, #ff3951 );
	border-color: var( --yd-primary, #ff3951 );
	transform: scale( 1.06 );
}
.jtv__close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}
.jtv__close svg {
	width: 18px;
	height: 18px;
}
body.jtv-open {
	overflow: hidden;
}
@media ( max-width: 780px ) {
	.jtv__overlay {
		grid-template-columns: 1fr;
		align-items: end;
	}
	.jtv__features {
		display: none;
	}
	.jtv__copy {
		max-width: none;
		align-self: end;
	}
	.jtv__close {
		top: 12px;
		right: 12px;
		width: 38px;
		height: 38px;
	}
	.jtv__close svg {
		width: 15px;
		height: 15px;
	}
}
@media ( max-width: 480px ) {
	.jtv {
		padding: 14px;
	}
	.jtv__eyebrow {
		margin-bottom: 10px;
		font-size: 10px;
		letter-spacing: 0.18em;
	}
	.jtv__sub {
		display: none;
	}
}
@media ( prefers-reduced-motion: reduce ) {
	.jtv,
	.jtv__dialog,
	.jtv__overlay,
	.jtv__play {
		transition: none;
	}
}
