/* 46-video.css -- click-to-load video players (inc/fb-launch.php, FB-146 / FB-077).
   The box keeps the player's 16:9 shape so nothing jumps when the iframe arrives. */
body .fb-video {
	position: relative; width: 100%; max-width: 100%; aspect-ratio: 16 / 9;
	display: grid; place-items: center; overflow: hidden;
	border: 1px solid var(--fb-hairline); border-radius: var(--fb-radius);
	background:
		linear-gradient(180deg, rgba(6,8,15,.15) 0%, rgba(6,8,15,.7) 100%),
		var(--fb-video-poster, linear-gradient(160deg, #171B2E 0%, #0F1220 70%, #06080F 100%)) center / cover no-repeat,
		var(--fb-surface);
	margin: 0 0 1rem;
}
body .fb-video-play {
	width: 72px; height: 72px; border-radius: 50%; cursor: pointer;
	display: grid; place-items: center; padding: 0;
	background: rgba(122,31,184,.88); border: 1px solid rgba(255,255,255,.35);
	box-shadow: 0 8px 28px rgba(0,0,0,.5); transition: transform .15s ease, background-color .15s ease;
}
body .fb-video-play svg { width: 30px; height: 30px; fill: #FFFFFF; margin-left: 4px; }
body .fb-video-play:hover, body .fb-video-play:focus-visible { background: #8D2BD3; transform: scale(1.06); }
body .fb-video-play:focus-visible { outline: 2px solid var(--awb-color5); outline-offset: 3px; }
body .fb-video-note {
	position: absolute; left: 0; right: 0; bottom: .6rem; margin: 0; text-align: center;
	font-size: .8rem; color: #D7DDEA; text-shadow: 0 1px 2px rgba(0,0,0,.8);
}
body .fb-video.is-playing { background: #000; }
body .fb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (prefers-reduced-motion: reduce) { body .fb-video-play { transition: none; } }
