/**
 * PB4Host Beebe Liveblog Frontend Styles
 */
.pb4-liveblog-container {
	margin: 2.5rem 0;
	border: 1px solid #fee2e2;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 20px -2px rgba(220, 38, 38, 0.08);
	background: #ffffff;
}

.pb4-live-header-bar {
	background: linear-gradient(90deg, #dc2626, #b91c1c);
	color: #ffffff;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.pb4-live-indicator {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pb4-live-radar-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35);
	animation: pb4RadarPulse 1.8s infinite;
}

@keyframes pb4RadarPulse {
	0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
	70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
	100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.pb4-live-tag {
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pb4-developing-badge {
	background: rgba(255, 255, 255, 0.2);
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 700;
}

.pb4-live-status {
	font-size: 12px;
	opacity: 0.9;
	font-weight: 600;
}

.pb4-live-takeaways-card {
	background: #fff1f2;
	border-bottom: 1px solid #fecdd3;
	padding: 20px;
}

.pb4-takeaways-label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #9f1239;
	margin-bottom: 10px;
}

.pb4-takeaways-list {
	margin: 0;
	padding-left: 20px;
	color: #881337;
	font-size: 14.5px;
	line-height: 1.6;
}

.pb4-takeaways-list li {
	margin-bottom: 6px;
}

.pb4-live-timeline-stream {
	padding: 24px 20px;
	position: relative;
}

.pb4-live-update-entry {
	display: flex;
	gap: 16px;
	position: relative;
	margin-bottom: 24px;
}

.pb4-live-update-entry:last-child {
	margin-bottom: 0;
}

.pb4-entry-timeline-rail {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 20px;
	flex-shrink: 0;
}

.pb4-rail-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #dc2626;
	border: 2px solid #ffffff;
	box-shadow: 0 0 0 2px #dc2626;
	flex-shrink: 0;
	margin-top: 4px;
}

.pb4-rail-line {
	width: 2px;
	background: #e2e8f0;
	flex: 1;
	margin-top: 6px;
}

.pb4-live-update-entry:last-child .pb4-rail-line {
	display: none;
}

.pb4-entry-card {
	flex: 1;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px 20px;
}

.pb4-live-update-entry.is-pinned .pb4-entry-card {
	background: #fffbeb;
	border-color: #fde68a;
	box-shadow: 0 4px 12px rgba(245, 158, 11, 0.08);
}

.pb4-entry-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	font-size: 12px;
	flex-wrap: wrap;
}

.pb4-entry-timestamp {
	font-weight: 800;
	color: #dc2626;
	background: rgba(220, 38, 38, 0.08);
	padding: 2px 6px;
	border-radius: 4px;
}

.pb4-pinned-pill {
	background: #f59e0b;
	color: #ffffff;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 11px;
}

.pb4-entry-byline {
	color: #64748b;
	font-weight: 500;
}

.pb4-entry-headline {
	font-size: 1.15rem;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 8px;
	line-height: 1.3;
}

.pb4-entry-body {
	font-size: 14.5px;
	line-height: 1.6;
	color: #334155;
}

/* Dark Mode Overrides */
.beebe-dark-mode .pb4-liveblog-container,
[data-theme="dark"] .pb4-liveblog-container {
	background: #0f172a;
	border-color: #450a0a;
}

.beebe-dark-mode .pb4-entry-card,
[data-theme="dark"] .pb4-entry-card {
	background: #1e293b;
	border-color: #334155;
}

.beebe-dark-mode .pb4-entry-headline,
[data-theme="dark"] .pb4-entry-headline {
	color: #f8fafc;
}

.beebe-dark-mode .pb4-entry-body,
[data-theme="dark"] .pb4-entry-body {
	color: #94a3b8;
}

.beebe-dark-mode .pb4-live-takeaways-card,
[data-theme="dark"] .pb4-live-takeaways-card {
	background: #1f1215;
	border-color: #4c0519;
}


/* Concluded / Archived Liveblog State */
.pb4-liveblog-container.is-concluded-live {
	border-color: #cbd5e1;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.pb4-liveblog-container.is-concluded-live .pb4-live-header-bar {
	background: linear-gradient(90deg, #475569, #334155);
}

.pb4-concluded-tag {
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pb4-archived-badge {
	background: rgba(255, 255, 255, 0.2);
	font-size: 10px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 999px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
