/* XFedi Microblog timeline */

.xfedi-mb-timeline {
	--xfmb-bg: #ffffff;
	--xfmb-surface: #f6f6f4;
	--xfmb-text: #111111;
	--xfmb-muted: #6b6b68;
	--xfmb-accent: #8a1c2b;
	--xfmb-border: #e6e6e2;

	background: var(--xfmb-bg);
	color: var(--xfmb-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	max-width: 640px;
	margin: 0 auto;
}

.xfedi-mb-empty {
	padding: 32px;
	text-align: center;
	color: var(--xfmb-muted);
	border: 1px dashed var(--xfmb-border);
	border-radius: 8px;
}

.xfedi-mb-status {
	display: block;
	padding: 20px 16px;
	border-bottom: 1px solid var(--xfmb-border);
}

.xfedi-mb-timeline[data-density="compact"] .xfedi-mb-status {
	padding: 12px 16px;
}

.xfedi-mb-status:last-child {
	border-bottom: 0;
}

.xfedi-mb-status-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}

.xfedi-mb-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: block;
}

.xfedi-mb-timeline[data-density="compact"] .xfedi-mb-avatar {
	width: 32px;
	height: 32px;
}

.xfedi-mb-status-meta {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.xfedi-mb-status-author {
	color: var(--xfmb-text);
	font-weight: 600;
	text-decoration: none;
}

.xfedi-mb-status-author:hover {
	text-decoration: underline;
}

.xfedi-mb-status-time {
	color: var(--xfmb-muted);
	font-size: 13px;
	text-decoration: none;
}

.xfedi-mb-status-time:hover {
	color: var(--xfmb-accent);
}

.xfedi-mb-status-body {
	font-size: 16px;
	line-height: 1.55;
	word-wrap: break-word;
}

.xfedi-mb-status-body p:first-child {
	margin-top: 0;
}

.xfedi-mb-status-body p:last-child {
	margin-bottom: 0;
}

.xfedi-mb-status-body img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 8px 0;
}
