/*
 * 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 14:35:38 Mar 02, 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):
  captures_list: 0.57
  exclusion.robots: 0.045
  exclusion.robots.policy: 0.035
  esindex: 0.008
  cdx.remote: 65.021
  LoadShardBlock: 206.151 (3)
  PetaboxLoader3.datanode: 143.834 (5)
  PetaboxLoader3.resolve: 644.134 (2)
  load_resource: 757.565
  loaddict: 143.861
*/