.lstream-card {
	--lstream-heading: #1c1654;
	--lstream-accent: #f04a3a;
	--lstream-text: #241c5a;
	--lstream-youtube: #ff2d2d;
	--lstream-facebook: #1877f2;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 32px;
	width: 100%;
	margin: 0;
	padding: 28px 32px;
	background: #fff;
	color: var(--lstream-text);
	border: 1px solid rgba(28, 22, 84, 0.06);
	border-radius: 18px;
	box-shadow: 0 16px 44px rgba(23, 16, 70, 0.08), 0 2px 8px rgba(23, 16, 70, 0.04);
	font-family: inherit;
}

.lstream-card *,
.lstream-card *::before,
.lstream-card *::after {
	box-sizing: border-box;
}

.lstream-card [hidden] {
	display: none !important;
}

.lstream-media {
	position: relative;
	display: block;
	flex: 0 0 248px;
	width: 248px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 8px;
	background: #1c1654;
	text-decoration: none;
}

.lstream-media.is-placeholder {
	background: linear-gradient(145deg, #2a2168 0%, #6d3168 52%, #e44538 100%);
}

.lstream-media img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	border: 0;
	border-radius: 0;
}

.lstream-play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	color: #fff;
	background: var(--lstream-youtube);
	border-radius: 50%;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
	transform: translate(-50%, -50%);
	transition: transform 0.15s ease;
}

.lstream-media.is-facebook .lstream-play {
	background: var(--lstream-facebook);
}

.lstream-play svg {
	display: block;
	width: 26px;
	height: 26px;
	margin-left: 3px;
}

.lstream-media:hover .lstream-play,
.lstream-media:focus-visible .lstream-play {
	transform: translate(-50%, -50%) scale(1.06);
}

.lstream-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 4px 8px;
	color: #fff;
	background: #ff2d2d;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1;
}

.lstream-badge-dot,
.lstream-dot {
	width: 8px;
	height: 8px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
	animation: lstream-pulse 1.5s infinite;
}

.lstream-body {
	flex: 1 1 auto;
	min-width: 0;
}

.lstream-card h2.lstream-title {
	margin: 0 0 8px !important;
	padding: 0;
	color: var(--lstream-heading) !important;
	background: transparent;
	font-size: 1.75rem !important;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
	text-transform: none;
}

.lstream-card p.lstream-schedule {
	margin: 0 0 12px !important;
	color: var(--lstream-accent) !important;
	font-size: 1.02rem;
	font-weight: 600;
	line-height: 1.4;
}

.lstream-card p.lstream-current {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 12px !important;
	color: var(--lstream-text) !important;
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.4;
}

.lstream-current-label {
	color: var(--lstream-accent);
}

.lstream-card p.lstream-desc {
	margin: 0 0 22px !important;
	color: var(--lstream-text) !important;
	font-size: 1.05rem;
	font-weight: 500;
	line-height: 1.5;
	white-space: pre-line;
}

.lstream-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.lstream-card a.lstream-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 12px 18px;
	color: #fff !important;
	border-radius: 6px;
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none !important;
	box-shadow: none;
}

.lstream-card a.lstream-btn-youtube {
	background: var(--lstream-youtube);
}

.lstream-card a.lstream-btn-facebook {
	background: var(--lstream-facebook);
}

.lstream-card a.lstream-btn:hover,
.lstream-card a.lstream-btn:focus {
	color: #fff !important;
	filter: brightness(0.95);
}

.lstream-card a.lstream-btn svg {
	display: block;
	width: 16px;
	height: 16px;
	margin: 0;
	flex: 0 0 auto;
}

.lstream-card a.lstream-btn:focus-visible,
.lstream-media:focus-visible {
	outline: 2px solid var(--lstream-heading);
	outline-offset: 3px;
}

.lstream-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.lstream-setup {
	padding: 12px 14px;
	background: #fff8e8;
	border: 1px solid #f0d48a;
	border-radius: 8px;
}

@keyframes lstream-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.65);
	}
	70% {
		box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
	}
}

@media (max-width: 720px) {
	.lstream-card {
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
		padding: 18px;
	}

	.lstream-media {
		flex-basis: auto;
		width: 100%;
	}

	.lstream-card h2.lstream-title {
		font-size: 1.45rem;
	}

	.lstream-actions {
		flex-direction: column;
	}

	.lstream-card a.lstream-btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lstream-badge-dot,
	.lstream-dot,
	.lstream-play {
		animation: none;
		transition: none;
	}
}
