/*
 * FB-BBS homepage content modules
 *
 * Scope is deliberately limited to the existing 238px right rail. The
 * hand-authored forum-board table, its 756px column and the 1002px homepage
 * skeleton remain owned by the accepted fblife50 stylesheet.
 */
.fb-home .g_bsinrig {
	--fb-content-ink: #292929;
	--fb-content-muted: #77736d;
	--fb-content-paper: #e9e4dc;
	--fb-content-soft: #e4dfd5;
	--fb-content-line: #ded7cb;
	--fb-content-brown: #8c715a;
	--fb-content-brown-dark: #51403c;
	--fb-content-gold: #996600;
	--fb-content-orange: #ff6600;
	color: var(--fb-content-ink);
	background: var(--fb-content-paper);
}

.fb-home .fb-content-pulse {
	background: linear-gradient(145deg, #6b564d, #9a806a);
	color: #fff;
}

.fb-home .fb-content-pulse-hd {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 13px 13px 9px;
}

.fb-home .fb-content-pulse-hd strong {
	font-size: 16px;
	letter-spacing: 1px;
}

.fb-home .fb-content-pulse-hd a {
	color: rgba(255, 255, 255, .78);
	font-size: 11px;
}

.fb-home .fb-content-pulse-hd a:hover {
	color: #fff;
	text-decoration: none;
}

.fb-home .fb-content-pulse-hd a span {
	font-family: Arial, sans-serif;
	font-size: 15px;
}

.fb-home .fb-content-statline {
	display: flex;
	margin: 0 11px;
	padding: 11px 0 9px;
	border-top: 1px solid rgba(255, 255, 255, .16);
}

.fb-home .fb-content-statline span {
	flex: 1;
	text-align: center;
	color: rgba(255, 255, 255, .72);
	font-size: 10px;
}

.fb-home .fb-content-statline b {
	display: block;
	margin-bottom: 2px;
	color: #fff;
	font: 700 18px/22px Arial, sans-serif;
}

.fb-home .fb-content-caption {
	margin: 0;
	padding: 0 13px 11px;
	color: rgba(255, 255, 255, .62);
	font-size: 10px;
	text-align: center;
}

.fb-home .fb-content-status {
	margin: 0 11px;
	padding: 11px 2px 13px;
	border-top: 1px solid rgba(255, 255, 255, .16);
}

.fb-home .fb-content-status b,
.fb-home .fb-content-status span {
	display: block;
}

.fb-home .fb-content-status b {
	margin-bottom: 4px;
	font-size: 12px;
}

.fb-home .fb-content-status span {
	color: rgba(255, 255, 255, .7);
	font-size: 11px;
	line-height: 17px;
}

.fb-home .fb-content-error b {
	color: #ffd3c4;
}

.fb-home .fb-content-module {
	border-bottom: 1px solid var(--fb-content-line);
	background: var(--fb-content-paper);
}

.fb-home .fb-content-hd {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 45px;
	padding: 8px 12px 7px;
	border-bottom: 1px solid var(--fb-content-line);
	background: #d8cdbf;
}

.fb-home .fb-content-hd > div {
	min-width: 0;
}

.fb-home .fb-content-kicker {
	display: block;
	margin-bottom: 1px;
	color: var(--fb-content-brown);
	font: 700 9px/11px Arial, sans-serif;
	letter-spacing: 1.2px;
}

.fb-home .fb-content-hd h3 {
	margin: 0;
	color: var(--fb-content-ink);
	font-size: 14px;
	line-height: 18px;
}

.fb-home .fb-content-window,
.fb-home .fb-content-more {
	max-width: 112px;
	color: var(--fb-content-muted);
	font-size: 10px;
	line-height: 15px;
	text-align: right;
}

.fb-home .fb-content-more:hover {
	color: var(--fb-content-orange);
	text-decoration: none;
}

.fb-home .fb-content-list,
.fb-home .fb-hot-threads,
.fb-home .fb-content-rank {
	margin: 0;
	padding: 4px 11px 7px;
	list-style: none;
}

.fb-home .fb-content-list li,
.fb-home .fb-hot-threads li {
	position: relative;
	float: none;
	width: auto;
	min-height: 38px;
	/* The desktop brief deliberately shows fewer rows. Give the remaining
	 * stories a calmer scan rhythm while keeping the right rail aligned to
	 * the unchanged forum-board column. */
	padding: 13px 0 12px;
	border-bottom: 1px solid #eee8df;
}

.fb-home .fb-content-list li:last-child,
.fb-home .fb-hot-threads li:last-child {
	border-bottom: 0;
}

.fb-home .fb-content-title {
	display: block;
	color: var(--fb-content-ink);
	font-size: 12px;
	font-weight: 600;
	line-height: 18px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fb-home .fb-content-title:hover {
	color: var(--fb-content-orange);
	text-decoration: none;
}

.fb-home .fb-content-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 3px;
	color: var(--fb-content-muted);
	font-size: 10px;
	line-height: 15px;
	white-space: nowrap;
	overflow: hidden;
}

.fb-home .fb-content-meta a {
	max-width: 72px;
	color: var(--fb-content-brown);
	overflow: hidden;
	text-overflow: ellipsis;
}

.fb-home .fb-content-meta a:hover {
	color: var(--fb-content-orange);
}

.fb-home .fb-content-meta b {
	margin-left: auto;
	color: var(--fb-content-gold);
	font-weight: 400;
}

.fb-home .fb-hot-threads {
	counter-reset: fb-hot;
	padding-top: 8px;
}

.fb-home .fb-hot-threads li {
	padding-left: 27px;
}

.fb-home .fb-hot-threads li > em {
	position: absolute;
	left: 0;
	top: 15px;
	width: 19px;
	height: 19px;
	border-radius: 50%;
	background: #d8d0c6;
	color: #6e645d;
	font: 700 11px/19px Arial, sans-serif;
	text-align: center;
}

.fb-home .fb-hot-threads li.is-lead {
	margin: 0 -3px 4px;
	padding: 11px 8px 10px 34px;
	border: 0;
	border-radius: 5px;
	background: linear-gradient(135deg, #f3e8d8, #faf7f2);
}

.fb-home .fb-hot-threads li.is-lead > em {
	left: 7px;
	top: 12px;
	background: var(--fb-content-orange);
	color: #fff;
	box-shadow: 0 2px 5px rgba(230, 95, 50, .28);
}

.fb-home .fb-hot-threads li.is-lead .fb-content-title {
	color: var(--fb-content-brown-dark);
	font-size: 13px;
}

.fb-home .fb-content-digest li {
	padding-left: 24px;
}

.fb-home .fb-content-badge {
	position: absolute;
	left: 0;
	top: 15px;
	width: 17px;
	height: 17px;
	background: var(--fb-content-gold);
	color: #fff;
	font-size: 10px;
	font-style: normal;
	line-height: 17px;
	text-align: center;
}

.fb-home .fb-content-rank {
	padding-top: 7px;
}

.fb-home .fb-content-rank li {
	position: relative;
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr) auto;
	grid-template-rows: 20px 15px;
	align-items: center;
	min-height: 38px;
	border-bottom: 1px solid #eee8df;
}

.fb-home .fb-content-rank li:last-child {
	border-bottom: 0;
}

.fb-home .fb-rank-no {
	grid-row: 1 / 3;
	width: 17px;
	height: 17px;
	border-radius: 3px;
	color: #8d837b;
	font: 700 11px/17px Arial, sans-serif;
	text-align: center;
}

.fb-home .fb-rank-no1 {
	background: var(--fb-content-gold);
	color: #fff;
}

.fb-home .fb-rank-no2 {
	background: var(--fb-content-brown);
	color: #fff;
}

.fb-home .fb-rank-no3 {
	background: #a79389;
	color: #fff;
}

.fb-home .fb-content-rank li > a {
	min-width: 0;
	color: var(--fb-content-ink);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fb-home .fb-content-rank li > a:hover {
	color: var(--fb-content-orange);
}

.fb-home .fb-content-rank li > span {
	padding-left: 6px;
	color: var(--fb-content-muted);
	font-size: 10px;
}

.fb-home .fb-content-rank li > span b {
	color: var(--fb-content-gold);
	font: 700 13px Arial, sans-serif;
}

.fb-home .fb-content-rank li > small {
	grid-column: 2 / 4;
	color: #9a9189;
	font-size: 10px;
}

.fb-home .fb-content-empty {
	padding: 24px 13px 25px;
	text-align: center;
}

.fb-home .fb-content-empty b,
.fb-home .fb-content-empty span,
.fb-home .fb-content-empty a {
	display: block;
}

.fb-home .fb-content-empty b {
	margin-bottom: 5px;
	color: #625850;
	font-size: 12px;
}

.fb-home .fb-content-empty span {
	color: var(--fb-content-muted);
	font-size: 10px;
	line-height: 16px;
}

.fb-home .fb-content-empty a {
	margin-top: 10px;
	color: var(--fb-content-brown);
	font-size: 11px;
}

.fb-home .fb-content-empty a:hover {
	color: var(--fb-content-orange);
}

/* Keep the shipped QR module recognizable; only give it breathing room after
   the new data rail. */
.fb-home .g_bsinrig .g_inerwi {
	background: var(--fb-content-paper);
}
