.onix-tv-card {
	--onix-bg: #0E1E38;
	--onix-bottom-bar: #241E4E;
	--onix-gradient-start: #8B5CF6;
	--onix-gradient-end: #EC4899;
	--onix-live-badge: #E11D48;
	--onix-radius: 20px;

	background: var(--onix-bg);
	border-radius: var(--onix-radius);
	overflow: hidden;
	max-width: 640px;
	font-family: inherit;
	box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}

.onix-tv-frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
}

.onix-tv-video,
.onix-tv-video iframe,
.onix-tv-video video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.onix-tv-video video {
	object-fit: cover;
	background: #000;
}

.onix-tv-badge {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	color: #fff;
}

.onix-tv-badge--live {
	top: 16px;
	left: 16px;
	background: var(--onix-live-badge);
	text-transform: uppercase;
}

.onix-tv-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
	animation: onix-tv-pulse 1.6s ease-in-out infinite;
}

@keyframes onix-tv-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.35; }
}

.onix-tv-badge--247 {
	top: 16px;
	right: 16px;
	flex-direction: column;
	align-items: flex-end;
	gap: 0;
	background: rgba(0, 0, 0, 0.55);
	border-radius: 12px;
	padding: 8px 14px;
	text-align: right;
}

.onix-tv-badge--247 .onix-tv-badge__title {
	font-size: 16px;
	color: #f5c451;
}

.onix-tv-badge--247 .onix-tv-badge__subtitle {
	font-size: 11px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.75);
	text-transform: none;
}

.onix-tv-badge--hd {
	left: 16px;
	bottom: 16px;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	background: rgba(0, 0, 0, 0.6);
	border-radius: 12px;
	padding: 8px 14px;
}

.onix-tv-badge--hd .onix-tv-badge__title {
	font-size: 15px;
	color: #f5c451;
}

.onix-tv-badge--hd .onix-tv-badge__subtitle {
	font-size: 11px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.75);
	text-transform: none;
}

.onix-tv-play-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	background: rgba(14, 30, 56, 0.45);
	border: 0;
	cursor: pointer;
	width: 100%;
}

.onix-tv-play-button {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--onix-gradient-start), var(--onix-gradient-end));
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
	transition: transform 0.2s ease;
}

.onix-tv-play-overlay:hover .onix-tv-play-button {
	transform: scale(1.06);
}

.onix-tv-play-icon {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 14px 0 14px 22px;
	border-color: transparent transparent transparent #fff;
	margin-left: 4px;
}

.onix-tv-channel-name {
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.onix-tv-mute-toggle {
	position: absolute;
	z-index: 2;
	right: 16px;
	bottom: 16px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 0;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}

.onix-tv-mute-toggle:hover {
	background: rgba(0, 0, 0, 0.8);
}

.onix-tv-empty-state {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.7);
	text-align: center;
	padding: 0 24px;
}

.onix-tv-bottom-bar {
	background: var(--onix-bottom-bar);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 20px;
}

.onix-tv-now-watching {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.onix-tv-now-watching__label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.6);
}

.onix-tv-now-watching__value {
	font-size: 15px;
	font-weight: 700;
	color: #fff;
}

.onix-tv-viewer-count {
	text-align: right;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.onix-tv-viewer-count__number {
	font-size: 20px;
	font-weight: 700;
	color: #f5c451;
	line-height: 1;
}

.onix-tv-viewer-count__label {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.6);
}
