.gsdt_twitch_embed {
	background: #0e0e10;
	overflow: hidden;
}

.gsdt-twitch-frame {
	width: 100%;
	background: inherit;
	border-radius: inherit;
	overflow: inherit;
}

.gsdt-twitch-embed {
	position: relative;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 9;
	min-height: 0;
	background: inherit;
	overflow: hidden;
	border-radius: inherit;
}

.gsdt-twitch-player-shell,
.gsdt-twitch-player-frame,
.gsdt-twitch-player,
.gsdt-twitch-player iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
	border: 0;
	border-radius: inherit;
}

.gsdt-twitch-player-shell {
	background: inherit;
	overflow: inherit;
}

.gsdt-twitch-with-chat {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	aspect-ratio: auto;
	min-height: 0;
}

.gsdt-twitch-with-chat .gsdt-twitch-player-shell {
	flex: 1 1 auto;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
}

.gsdt-twitch-chat {
	flex: 0 0 clamp(320px, 70vh, 500px);
	width: 100%;
	min-width: 0;
	min-height: 320px;
	background: #fff;
	overflow: hidden;
}

.gsdt-twitch-chat iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 320px;
	border: 0;
}

.gsdt-twitch-live-only.gsdt-twitch-live-pending,
.gsdt-twitch-live-only.gsdt-twitch-is-offline {
	position: absolute;
	left: -10000px;
	width: 400px;
	height: 300px;
	min-height: 300px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.gsdt-twitch-fallback,
.gsdt-twitch-builder-preview {
	display: flex;
	min-height: 300px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 24px;
	text-align: center;
	background: transparent;
	color: #f5f5f7;
	border-radius: inherit;
}

.gsdt-twitch-fallback strong,
.gsdt-twitch-builder-preview strong {
	font-size: 18px;
	line-height: 1.3;
}

.gsdt-twitch-fallback span,
.gsdt-twitch-builder-preview span {
	max-width: 520px;
	color: #b8b8c0;
	font-size: 14px;
	line-height: 1.5;
}

.gms-social-links-row,
.et_pb_row.gms-social-links-row,
.et_pb_row:has(.gms-social-image) {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: center !important;
	gap: clamp(10px, 4vw, 72px) !important;
	max-width: 100% !important;
	overflow: visible !important;
}

.gms-social-links-row::after,
.et_pb_row.gms-social-links-row::after,
.et_pb_row:has(.gms-social-image)::after {
	display: none !important;
}

.gms-social-links-row .et_pb_column,
.et_pb_row:has(.gms-social-image) .et_pb_column {
	float: none !important;
	clear: none !important;
	display: flex !important;
	flex: 0 1 auto !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	justify-content: center !important;
}

.gms-social-links-row .et_pb_module.gms-social-image,
.gms-social-links-row .et_pb_module:has(.gms-social-image),
.et_pb_row:has(.gms-social-image) .et_pb_module.gms-social-image,
.et_pb_row:has(.gms-social-image) .et_pb_module:has(.gms-social-image) {
	width: clamp(42px, 14vw, 150px) !important;
	max-width: 150px !important;
	margin-bottom: 0 !important;
}

.gms-social-links-row .gms-social-image img,
.gms-social-links-row img.gms-social-image,
.et_pb_row:has(.gms-social-image) .gms-social-image img,
.et_pb_row:has(.gms-social-image) img.gms-social-image {
	display: block !important;
	width: 100% !important;
	height: auto !important;
}

.gms-social-links-row .gmscp-social-column-missing,
.et_pb_row:has(.gms-social-image) .gmscp-social-column-missing {
	display: none !important;
}

@media (max-width: 480px) {
	.gsdt-twitch-embed {
		overflow: hidden;
	}
}

@media (min-width: 768px) {
	.gsdt-twitch-embed {
		min-height: 300px;
	}

	.gsdt-twitch-player-shell,
	.gsdt-twitch-player-frame,
	.gsdt-twitch-player,
	.gsdt-twitch-player iframe {
		min-width: 400px;
		min-height: 300px;
	}

	.gsdt-twitch-with-chat {
		flex-direction: row;
		min-height: 300px;
	}

	.gsdt-twitch-chat {
		flex: 0 0 min(360px, 35%);
		width: auto;
		min-width: 300px;
		min-height: 300px;
	}

	.gsdt-twitch-chat iframe {
		min-height: 300px;
	}
}

@media (max-width: 767px) {
	.gms-social-links-row,
	.et_pb_row.gms-social-links-row,
	.et_pb_row:has(.gms-social-image) {
		flex-wrap: nowrap !important;
		gap: clamp(8px, 3vw, 18px) !important;
	}

	.gms-social-links-row .et_pb_module.gms-social-image,
	.gms-social-links-row .et_pb_module:has(.gms-social-image),
	.et_pb_row:has(.gms-social-image) .et_pb_module.gms-social-image,
	.et_pb_row:has(.gms-social-image) .et_pb_module:has(.gms-social-image) {
		width: clamp(42px, 16vw, 86px) !important;
	}
}
