.bem-twitch-live {
	display: block;
	box-sizing: border-box;
	width: 100%;
	flex: 1 1 100%;
	min-width: min(280px, 100%);
	max-width: 100%;
	margin: 1.5em 0;
}
.bem-twitch-live *,
.bem-twitch-live *::before,
.bem-twitch-live *::after {
	box-sizing: border-box;
}
.bem-twitch-live[hidden],
.bem-twitch-live [hidden] {
	display: none !important;
}
.bem-twitch-live__heading {
	margin: 0 0 0.5em;
}
.bem-twitch-live__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4em 0.75em;
	margin-bottom: 0.6em;
}
.bem-twitch-live__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.2em 0.6em;
	border-radius: 3px;
	background: #e91916;
	color: #fff;
	font-size: 0.8em;
	font-weight: 700;
	line-height: 1.4;
}
.bem-twitch-live__dot {
	width: 0.5em;
	height: 0.5em;
	border-radius: 50%;
	background: currentColor;
	animation: bem-twitch-pulse 1.6s ease-in-out infinite;
}
@keyframes bem-twitch-pulse {
	50% { opacity: 0.3; }
}
@media (prefers-reduced-motion: reduce) {
	.bem-twitch-live__dot { animation: none; }
}
.bem-twitch-live__title {
	font-weight: 600;
	min-width: 0;
	overflow-wrap: anywhere;
}
.bem-twitch-live__meta {
	opacity: 0.7;
	font-size: 0.9em;
}
.bem-twitch-live__offline {
	margin-bottom: 0.75em;
}
.bem-twitch-live__body {
	width: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}
.bem-twitch-live__player {
	position: relative;
	width: 100%;
	min-width: 280px;
	aspect-ratio: 16 / 9;
	background: #0e0e10;
	border-radius: 6px;
	overflow: hidden;
}
.bem-twitch-live__player iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.bem-twitch-live__chat {
	position: relative;
	min-height: 420px;
	background: #18181b;
	border-radius: 6px;
	overflow: hidden;
}
.bem-twitch-live__chat iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
@media (min-width: 900px) {
	.bem-twitch-live__body.has-chat {
		grid-template-columns: minmax(0, 1fr) 340px;
	}
	.bem-twitch-live__body.has-chat .bem-twitch-live__chat {
		min-height: 0;
	}
}
