html.okyou-vm-open {
	overflow: hidden;
}

dialog.okyou-vm {
	width: min(92vw, 1100px);
	max-width: none;
	margin: auto;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
}

dialog.okyou-vm::backdrop {
	background: rgba(0, 0, 0, 0.8);
}

.okyou-vm__inner {
	position: relative;
}

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

.okyou-vm__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.okyou-vm__close {
	position: absolute;
	top: -44px;
	right: 0;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}

.okyou-vm__close:focus-visible,
.okyou-vm__unmute:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* Masks the end-card flash during playlist handoff. */
.okyou-vm__cover {
	position: absolute;
	inset: 0;
	background: #000;
	opacity: 0;
	pointer-events: none;
	transition: opacity 150ms ease;
	z-index: 2;
}

.okyou-vm__cover.is-visible {
	opacity: 1;
}

.okyou-vm__unmute {
	position: absolute;
	left: 12px;
	bottom: 12px;
	z-index: 3;
	padding: 8px 14px;
	border: 0;
	border-radius: 4px;
	background: #fff;
	color: #000;
	font-size: 14px;
	cursor: pointer;
}

.okyou-vm__fallback {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 16px;
	text-align: center;
	background: #000;
}

.okyou-vm__fallback a {
	color: #fff;
}

@media (prefers-reduced-motion: reduce) {
	.okyou-vm__cover {
		transition: none;
	}
}
