/*
 * Common
 */

.wp-block-wordcamp-crowdcast-embed .components-base-control,
.wp-block-wordcamp-streamtext-embed .components-base-control,
.wp-block-wordcamp-youtube-live-chat-embed .components-base-control {
	width: 100%;
}

.deselected-iframe-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
}


/*
 * YouTube Live Chat
 */

.wp-block-wordcamp-youtube-live-chat-embed iframe {

	/* The maximums are to make sure the user can still scroll around the iframe. */
	width: 100%;
	max-width: 90vw;
	height: 500px;
	max-height: 90vh;
	border: 1px solid rgba(128, 128, 128, 0.45);
}

/*
 * These need to be applied to the overlay too. Otherwise part of the underlying block could be exposed, leading
 * to the problems described in `EmbedDeselectedOverlay`.
 */

.wp-block-wordcamp-youtube-live-chat-embed iframe,
.wp-block[data-type="wordcamp/youtube-live-chat-embed"] .deselected-iframe-overlay {

	/* The minimums are to prevent `iframe` content from being hidden. */
	min-width: 305px;
	min-height: 355px;
}

.wp-block-wordcamp-youtube-live-chat-embed__availability-warning {
	font-style: italic;
	border-left: 5px solid #ffb900;
	padding-left: 10px;
}

/*
     FILE ARCHIVED ON 23:52:15 Oct 11, 2021 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 10:02:41 Nov 03, 2026.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  capture_cache.get: 1.265
  captures_list: 0.897
  exclusion.robots: 0.077
  exclusion.robots.policy: 0.051
  esindex: 0.018
  cdx.remote: 30.611
  LoadShardBlock: 519.831 (3)
  PetaboxLoader3.resolve: 100.919 (4)
  PetaboxLoader3.datanode: 461.244 (5)
  load_resource: 74.706
  loaddict: 26.996
*/