.csc-stream-chat-wrapper {
	position: fixed;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 380px;
	height: calc(100vh - 219px);
	color: #f9fafb;
	font-size: 15px;
	border-radius: 6px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
	overflow: hidden;
	right: 24px;
	bottom: 114px;
	z-index: 99;
}

.csc-stream-chat-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 12px;
	background: #1f2933;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.csc-stream-chat-title {
	color: #e5e7eb;
}

.csc-stream-chat-viewers {
	font-weight: 500;
	color: #9ca3af;
	font-size: 11px;
}

.csc-viewer-count {
	color: #f97316;
	font-weight: 700;
}

.csc-stream-chat-messages {
	flex: 1;
	max-height: 640px;
	overflow-y: auto;
	padding: 8px 10px;
	background: radial-gradient(circle at top left, #1f2933 0, #111827 55%, #050816 100%);
}

.csc-message-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	margin-bottom: 3px;
	line-height: 1.35;
}

.csc-message-user {
	font-weight: 600;
	margin-right: 4px;
	color: #a855f7;
}

.csc-message-text {
	color: #f9fafb;
	word-break: break-word;
}

.csc-stream-chat-input {
	display: flex;
	align-items: center;
	padding: 6px 8px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	background: #111827;
}

.csc-message-input {
	flex: 1;
	border: 1px solid #374151;
	border-radius: 999px;
	padding: 6px 10px;
	margin: 0 6px;
	background: #020617;
	color: #f9fafb;
	font-size: 13px;
}

.csc-message-input::placeholder {
	color: #6b7280;
}

.csc-send-button,
.csc-emoji-toggle {
	border: none;
	border-radius: 999px;
	padding: 6px 10px;
	cursor: pointer;
	font-size: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
[type=button]:not(:disabled) {
    outline: none;
}
.csc-send-button {
	background: linear-gradient(135deg, #ec4899, #8b5cf6);
	color: #ffffff;
	font-weight: 600;
}

.csc-emoji-toggle {
	background: transparent;
	color: #facc15;
	font-size: 18px;
	padding: 4px 6px;
}

.csc-emoji-picker {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.csc-emoji-picker emoji-picker {
	width: 100%;
	height: 300px;
	--num-columns: 8;
	--emoji-size: 1.2rem;
	--emoji-padding: 0.3rem;
	--background: #0f172a;
	--border-color: rgba(255, 255, 255, 0.06);
	--indicator-color: #8b5cf6;
	--input-border-color: #374151;
	--input-font-color: #f9fafb;
	--input-placeholder-color: #6b7280;
	--outline-color: #8b5cf6;
	--category-font-color: #9ca3af;
	--button-active-background: #1e293b;
	--button-hover-background: #1e293b;
}
button.csc-emoji-toggle {
    outline: none;
}
/* Live badge for WooCommerce listing cards. */
/* .woocommerce ul.products li.product .woocommerce-LoopProduct-link {
	position: relative;
}

.genre-product-link {
	position: relative;
	display: block;
}

.csc-live-now-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	border-radius: 999px;
	background: #dc2626;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	text-transform: uppercase;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.csc-live-now-badge::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
}

/* Single stream/player badge for Streamtube template wrappers. */
.single-product .section-player.connected .player-embed {
	position: relative;
}

.single-product .section-player.connected .player-embed::after {
	content: "LIVE NOW";
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 4;
	padding: 6px 10px;
	border-radius: 999px;
	background: #dc2626;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	text-transform: uppercase;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
	pointer-events: none;
} */

@media (max-width: 1024px) {
	.csc-stream-chat-wrapper {
		position: static;
		max-width: 100%;
		margin-top: 12px;
	}

	/* .csc-live-now-badge {
		top: 8px;
		left: 8px;
		font-size: 10px;
		padding: 4px 7px;
	}

	.single-product .section-player.connected .player-embed::after {
		top: 10px;
		left: 10px;
		font-size: 10px;
		padding: 5px 8px;
	} */
}

