/* Click-to-load placeholder for YouTube embeds (nothing is loaded from YouTube before consent) */
.yt-consent {
	position: relative;
	display: inline-block;
	max-width: 100%;
	background: #1b1b1b center / cover no-repeat;
	color: #fff;
	vertical-align: top;
	text-align: center;
	font-size: 12px;
	line-height: 1.4;
}
/* keep the video's proportions when max-width shrinks it (aspect-ratio is set inline) */
.yt-consent { height: auto !important; min-height: 230px; }
iframe.yt-player { height: auto; }

.yt-consent-box {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 8px;
	padding: 16px;
	background: rgba(0, 0, 0, 0.72);
	box-sizing: border-box;
}
.yt-consent-box p {
	margin: 0;
	max-width: 380px;
}
.yt-consent-box a,
.yt-consent-box a:visited {
	color: #9cc7ff !important;
	text-decoration: underline !important;
}
.yt-consent-load {
	padding: 7px 16px;
	border: 0;
	border-radius: 3px;
	background: #c00;
	color: #fff;
	font: bold 13px/1.2 inherit;
	font-family: inherit;
	cursor: pointer;
}
.yt-consent-load:hover,
.yt-consent-load:focus {
	background: #e00;
}
.yt-consent-always {
	font-size: 11px;
	cursor: pointer;
}
.yt-consent-always input {
	vertical-align: middle;
	margin: 0 4px 0 0;
}
