.bng-tg-feed {
	--tg-ice: #4cb9e8;
	--tg-ice-soft: #dff5ff;
	--tg-dark: #101820;
	--tg-panel: #18232e;
	--tg-panel-light: #223241;
	--tg-border: rgba(120, 205, 240, 0.22);
	--tg-fire: #f3a23a;
	--tg-text: #f5f8fa;
	--tg-muted: #aebdca;

	max-width: 980px;
	margin: 0 auto;
}

.bng-tg-feed-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
	padding: 18px 20px;
	background: linear-gradient(
		135deg,
		#152534,
		#1d3445
	);
	border: 1px solid var(--tg-border);
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.bng-tg-feed-heading h2 {
	margin: 0 0 4px;
	color: #fff;
	font-size: 1.5rem;
}

.bng-tg-feed-heading p {
	margin: 0;
	color: var(--tg-muted);
}

.bng-tg-live {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex: 0 0 auto;
	color: var(--tg-ice-soft);
	font-size: 0.86rem;
	font-weight: 700;
}

.bng-tg-live-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #62d78b;
	box-shadow: 0 0 8px rgba(98, 215, 139, 0.8);
}

.bng-tg-messages {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bng-tg-message {
	position: relative;
	padding: 14px 16px;
	background: linear-gradient(
		145deg,
		var(--tg-panel),
		var(--tg-panel-light)
	);
	border: 1px solid var(--tg-border);
	border-radius: 14px;
	box-shadow: 0 5px 16px rgba(0, 0, 0, 0.12);
	overflow: hidden;
}

.bng-tg-message::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 3px;
	height: 100%;
	background: linear-gradient(
		var(--tg-ice),
		var(--tg-fire)
	);
}

.bng-tg-message-top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 7px;
}

.bng-tg-sender {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 7px;
}

.bng-tg-sender strong {
	color: #fff;
	font-size: 0.98rem;
}

.bng-tg-username {
	color: var(--tg-ice);
	font-size: 0.8rem;
}

.bng-tg-time {
	flex: 0 0 auto;
	color: var(--tg-muted);
	font-size: 0.75rem;
}

.bng-tg-body {
	color: var(--tg-text);
	font-size: 0.96rem;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.bng-tg-body a {
	color: #7cd3f5;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bng-tg-reply {
	margin: 4px 0 10px;
	padding: 8px 10px;
	background: rgba(0, 0, 0, 0.2);
	border-left: 3px solid var(--tg-ice);
	border-radius: 6px;
	color: var(--tg-muted);
	font-size: 0.82rem;
	line-height: 1.4;
}

.bng-tg-reply strong {
	display: block;
	margin-bottom: 2px;
	color: var(--tg-ice-soft);
}

.bng-tg-photo {
	margin: 9px 0;
}

.bng-tg-photo img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 600px;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.22);
}

.bng-tg-edited {
	margin-top: 5px;
	color: var(--tg-muted);
	font-size: 0.7rem;
	font-style: italic;
}

.bng-tg-feed-footer {
	margin-top: 16px;
	color: var(--tg-muted);
	text-align: center;
	font-size: 0.8rem;
}

.bng-tg-login-required,
.bng-tg-empty {
	max-width: 700px;
	margin: 30px auto;
	padding: 28px;
	text-align: center;
	background: #18232e;
	border: 1px solid rgba(120, 205, 240, 0.25);
	border-radius: 14px;
	color: #fff;
}

.bng-tg-login-required h3 {
	margin-top: 0;
	color: #fff;
}

.bng-tg-login-button {
	display: inline-block;
	margin-top: 8px;
	padding: 10px 18px;
	background: #229ed9;
	color: #fff !important;
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none !important;
}

@media (max-width: 600px) {

	.bng-tg-feed-heading {
		align-items: flex-start;
		flex-direction: column;
		padding: 15px;
	}

	.bng-tg-message {
		padding: 12px 13px;
	}

	.bng-tg-message-top {
		flex-direction: column;
		gap: 2px;
	}

	.bng-tg-time {
		font-size: 0.7rem;
	}

	.bng-tg-photo img {
		width: 100%;
		height: auto;
	}

}