.su-outstream-anchor {
	box-sizing: border-box;
	position: relative;
	width: 100%;
	min-width: 0;
	min-height: 0;
	margin: 24px auto;
}

.su-outstream-anchor[hidden] {
	display: none !important;
}

.su-outstream-anchor.su-outstream--prepared {
	min-height: 250px;
}

.su-outstream-player {
	box-sizing: border-box;
	position: relative;
	width: min(300px, 100%);
	min-height: 250px;
	margin-inline: auto;
	background: transparent;
}

.su-outstream-frame {
	box-sizing: border-box;
	width: 300px;
	max-width: 100%;
	min-height: 250px;
	margin-inline: auto;
	overflow: hidden;
}

.su-outstream-close {
	display: none;
	position: absolute;
	top: -14px;
	right: -14px;
	z-index: 3;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, .22);
	border-radius: 999px;
	background: #fff;
	color: #111;
	font: 700 23px/30px Arial, sans-serif;
	text-align: center;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .20);
}

.su-outstream--floating .su-outstream-player {
	position: fixed;
	right: 16px;
	bottom: var(--su-outstream-bottom, 16px);
	z-index: 99990;
	width: min(300px, calc(100vw - 32px));
	min-height: 250px;
	background: #fff;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
}

.su-outstream--filled .su-outstream-close {
	display: block;
}

@media (max-width: 600px) {
	.su-outstream--floating .su-outstream-player {
		right: 12px;
		bottom: var(--su-outstream-bottom-mobile, 92px);
		width: min(300px, calc(100vw - 24px));
	}

	.su-outstream--floating .su-outstream-close {
		top: -12px;
		right: -8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.su-outstream-player {
		transition: none !important;
	}
}
