.lbp-live-blog {
	max-width: 720px;
	margin: 24px 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.lbp-header {
	margin-bottom: 16px;
}

.lbp-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.lbp-badge-live {
	background: #fde8e8;
	color: #c81e1e;
}

.lbp-badge-ended {
	background: #eee;
	color: #666;
}

.lbp-badge-upcoming {
	background: #e8f0fe;
	color: #1a56db;
}

.lbp-pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #c81e1e;
	animation: lbp-pulse-anim 1.4s infinite;
}

@keyframes lbp-pulse-anim {
	0%   { box-shadow: 0 0 0 0 rgba(200, 30, 30, 0.6); }
	70%  { box-shadow: 0 0 0 8px rgba(200, 30, 30, 0); }
	100% { box-shadow: 0 0 0 0 rgba(200, 30, 30, 0); }
}

.lbp-feed {
	display: flex;
	flex-direction: column;
}

/* ---- Timeline layout ---- */
.lbp-feed.lbp-timeline {
	position: relative;
	padding-left: 0;
}

/* The vertical connecting line, positioned in the gap between the
   time column and the content column. */
.lbp-feed.lbp-timeline::before {
	content: '';
	position: absolute;
	top: 6px;
	bottom: 6px;
	left: 72px;
	width: 2px;
	background: linear-gradient(to bottom, #e4e4e4, #eee 90%, transparent);
}

.lbp-timeline .lbp-update {
	position: relative;
	display: flex;
	gap: 16px;
	padding: 18px 0;
	border-bottom: none;
	transition: background-color 0.6s ease, opacity 0.4s ease;
}

.lbp-update-new {
	background-color: #fff8e1;
	opacity: 0;
	transform: translateY(-6px);
}

.lbp-update:not(.lbp-update-new) {
	opacity: 1;
	transform: none;
}

.lbp-timeline .lbp-update-time {
	flex-shrink: 0;
	width: 64px;
	font-size: 13px;
	font-weight: 600;
	color: #888;
	padding-top: 3px;
	text-align: right;
}

/* The dot sitting on the timeline for each update. */
.lbp-timeline .lbp-update-dot {
	position: absolute;
	left: 68px;
	top: 22px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #c9c9c9;
	z-index: 1;
	transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}

/* The most recent update gets a highlighted, pulsing dot. */
.lbp-timeline .lbp-update-dot.is-latest {
	border-color: #c81e1e;
	background: #c81e1e;
	box-shadow: 0 0 0 4px rgba(200, 30, 30, 0.12);
	transform: scale(1.15);
}

.lbp-timeline .lbp-update-body {
	flex: 1;
	min-width: 0;
	padding-left: 24px;
}

.lbp-update-title {
	margin: 0 0 6px;
	font-size: 16px;
}

.lbp-update-content p {
	margin: 0 0 8px;
	line-height: 1.55;
}

.lbp-update-image {
	max-width: 100%;
	border-radius: 6px;
	margin: 8px 0;
}

.lbp-empty {
	color: #888;
	font-style: italic;
}

@media (max-width: 480px) {
	.lbp-feed.lbp-timeline::before {
		left: 44px;
	}
	.lbp-timeline .lbp-update-time {
		width: 40px;
		font-size: 11px;
	}
	.lbp-timeline .lbp-update-dot {
		left: 40px;
	}
	.lbp-timeline .lbp-update-body {
		padding-left: 16px;
	}
}
