/**
 * YouTube-like shell: top bar + left rail (index / forumdisplay)
 */
:root {
	--fb-rail-w: 240px;
	--fb-rail-mini: 72px;
	/* 60：Logo/汉堡 40、搜索≈38、语言/提醒 36、头像 32；比旧 80 收 20，贴 YouTube≈56 */
	--fb-shell-header-h: 60px;
}
body.fabuba.fb-shell {
	--fb-header-h: 60px;
	--fb-shell-header-h: 60px;
}

/* 全站隐藏面包屑（含回退 default 模板的 #pt） */
body.fabuba #pt {
	display: none !important;
}

/* —— Top bar —— */
body.fabuba.fb-shell #dz_btm_layer,
body.fabuba.fb-shell #dz_btm_layer.topbox {
	position: sticky;
	top: 0;
	z-index: 200;
	background: var(--fb-page, #17181a);
	border: 0;
	border-bottom: 0;
	box-shadow: none;
}
body.fabuba.fb-shell .dz_layer_top {
	background: var(--fb-page, #17181a) !important;
	border: 0 !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
}
body.fabuba.fb-shell .dz_btm_layer.dz_nav,
body.fabuba.fb-shell #dz_btm_layer .dz_btm_layer {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 16px;
	height: var(--fb-shell-header-h);
	display: flex;
	align-items: center;
	gap: 12px;
	box-sizing: border-box;
}
body.fabuba.fb-shell .fb-shell-top {
	display: flex;
	align-items: center;
	width: 100%;
	gap: 12px;
	min-width: 0;
}
body.fabuba.fb-shell .fb-shell-top__left {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	min-width: 0;
}
body.fabuba.fb-shell .fb-shell-top__center {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
	min-width: 0;
}
body.fabuba.fb-shell .fb-shell-top__right {
	flex: 0 0 auto;
	margin-left: auto;
}
/* 下拉贴头像下沿（半头像 16 + 约 8 空隙）；勿再按整栏高定位 */
body.fabuba.fb-shell .header-user .header-user-dropdown,
body.fabuba.fb-shell .header-notice .notice-dropdown,
body.fabuba.fb-shell .header-i18n .i18n-dropdown {
	top: calc(50% + 24px) !important;
	padding: 0 !important;
	margin: 0 !important;
}
body.fabuba.fb-shell .header-user .poptip-popper .poptip-arrow,
body.fabuba.fb-shell .header-notice .poptip-popper .poptip-arrow,
body.fabuba.fb-shell .header-i18n .poptip-popper .poptip-arrow {
	display: none !important;
}
/* 语言/提醒：默认无底，悬停才有；Lucide 24px / 热区 40px */
body.fabuba.fb-shell .header-notice .notice-icon,
body.fabuba.fb-shell .header-i18n .i18n-icon {
	width: 40px !important;
	height: 40px !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background: transparent !important;
	border-radius: 50%;
	color: var(--fb-header-text, #f1f1f1);
	transition: background 0.15s ease;
}
body.fabuba.fb-shell .header-notice .notice-icon:hover,
body.fabuba.fb-shell .header-notice.open .notice-icon,
body.fabuba.fb-shell .header-i18n .i18n-icon:hover,
body.fabuba.fb-shell .header-i18n.open .i18n-icon {
	background: rgba(255, 255, 255, 0.1) !important;
}
body.fabuba.fb-shell .header-notice .notice-icon .fb-hdr-ico,
body.fabuba.fb-shell .header-i18n .i18n-icon .fb-hdr-ico {
	display: block;
	width: 24px;
	height: 24px;
	background-color: currentColor;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}
body.fabuba.fb-shell .header-notice .notice-icon .fb-hdr-ico--bell {
	-webkit-mask-image: url("../static/svg/lucide/lucide-bell.svg");
	mask-image: url("../static/svg/lucide/lucide-bell.svg");
}
body.fabuba.fb-shell .header-i18n .i18n-icon .fb-hdr-ico--globe {
	-webkit-mask-image: url("../static/svg/lucide/lucide-globe.svg");
	mask-image: url("../static/svg/lucide/lucide-globe.svg");
}
body.fabuba.fb-shell .header-notice .notice-icon .dot {
	top: 4px;
	right: 4px;
}
body.fabuba.fb-shell .header-notice .notice-icon .dzicon,
body.fabuba.fb-shell .header-i18n .i18n-icon .dzicon {
	display: none !important;
}
body.fabuba.fb-shell .fb-shell-burger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	color: var(--fb-text, #111);
	padding: 0;
}
body.fabuba.fb-shell .fb-shell-burger:hover {
	background: var(--fb-surface-h, #f3f4f6);
}
body.fabuba.fb-shell .fb-shell-burger svg {
	width: 22px;
	height: 22px;
	display: block;
}
body.fabuba.fb-shell .dz_nav_logo {
	margin: 0;
}
body.fabuba.fb-shell .dz_nav_logo .dzlogo img {
	max-height: 40px;
}
body.fabuba.fb-shell .dz_layer_nav,
body.fabuba.fb-shell #hds,
body.fabuba.fb-shell .fabuba_header_bg {
	display: none !important;
}
body.fabuba.fb-shell .header-right .header-searcher {
	display: none !important;
}
body.fabuba.fb-shell .fb-shell-search {
	width: min(640px, 100%);
}
body.fabuba.fb-shell .fb-shell-search__form {
	display: flex;
	align-items: stretch;
	width: 100%;
	border: 1px solid var(--fb-border, #d0d7de);
	border-radius: 40px;
	overflow: hidden;
	background: var(--fb-page, #f8f9fa);
}
body.fabuba.fb-shell .fb-shell-search__input {
	flex: 1 1 auto;
	border: 0;
	background: transparent;
	padding: 8px 16px;
	font-size: 14px;
	min-width: 0;
	outline: none;
}
body.fabuba.fb-shell .fb-shell-search__btn {
	flex: 0 0 48px;
	border: 0;
	border-left: 1px solid var(--fb-border, #d0d7de);
	background: var(--fb-surface, #fff);
	cursor: pointer;
	position: relative;
}
body.fabuba.fb-shell .fb-shell-search__btn::before {
	content: "";
	display: block;
	width: 16px;
	height: 16px;
	margin: 0 auto;
	border: 2px solid var(--fb-muted, #6b7280);
	border-radius: 50%;
	box-sizing: border-box;
}
body.fabuba.fb-shell .fb-shell-search__btn::after {
	content: "";
	position: absolute;
	right: 14px;
	bottom: 12px;
	width: 7px;
	height: 2px;
	background: var(--fb-muted, #6b7280);
	transform: rotate(45deg);
	border-radius: 1px;
}
body.fabuba.fb-shell .dz_layer_dl {
	float: none;
	margin: 0;
}

/* —— Layout offset —— */
body.fabuba.fb-shell #wp.wp {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding-left: var(--fb-rail-w);
	box-sizing: border-box;
	transition: padding-left .18s ease;
}
body.fabuba.fb-shell.fb-rail-mini #wp.wp {
	padding-left: var(--fb-rail-mini);
}
body.fabuba.fb-shell.fb-rail-hidden #wp.wp,
body.fabuba.fb-shell.fb-rail-drawer-open #wp.wp {
	padding-left: 0;
}
body.fabuba.fb-shell #wp #ct.wp,
body.fabuba.fb-shell #ct.wp {
	width: min(100% - 2 * var(--fb-shell-pad, 24px), var(--fb-shell-max, 1920px)) !important;
	max-width: var(--fb-shell-max, 1920px);
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box;
}
/* 个人资料：同宽、无外边框；overflow/position 必须 visible/static，否则管理下拉定位错乱 */
body.fabuba.fb-shell.dz_pg_space #uhd,
body.fabuba.fb-shell.pg_space #uhd {
	width: min(100% - 2 * var(--fb-shell-pad, 24px), var(--fb-shell-max, 1920px)) !important;
	max-width: var(--fb-shell-max, 1920px);
	margin: 0 auto !important;
	padding: 0 !important;
	height: auto !important;
	min-height: 0 !important;
	box-sizing: border-box;
	overflow: visible !important;
	position: static !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}
body.fabuba.fb-shell.dz_pg_space #uhd .mn,
body.fabuba.fb-shell.pg_space #uhd .mn {
	float: right;
	position: static;
	margin: 12px 0 0;
}
body.fabuba.fb-shell #uhd .p_pop {
	position: absolute !important;
	z-index: 350;
	margin-top: 8px;
}
body.fabuba.fb-shell #uhd .h > p a.showmenu {
	margin-right: 14px;
}
body.fabuba.fb-shell #uhd .h > p a.showmenu:after {
	margin-right: 0;
}
body.fabuba.fb-shell #uhd .h > p a.showmenu:last-of-type {
	margin-right: 0;
}
body.fabuba.fb-shell.dz_pg_space #ct.ct1,
body.fabuba.fb-shell.pg_space #ct.ct1 {
	width: min(100% - 2 * var(--fb-shell-pad, 24px), var(--fb-shell-max, 1920px)) !important;
	max-width: var(--fb-shell-max, 1920px);
	margin: 0 auto 24px !important;
	padding-top: 0 !important;
	min-height: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	box-sizing: border-box;
}
body.fabuba.fb-shell.dz_pg_space #diycontenttop:empty,
body.fabuba.fb-shell.pg_space #diycontenttop:empty,
body.fabuba.fb-shell.dz_pg_space #diy1:empty,
body.fabuba.fb-shell.pg_space #diy1:empty {
	display: none !important;
}
body.fabuba.fb-shell.dz_pg_space #ct.ct1 .bm.bw0,
body.fabuba.fb-shell.pg_space #ct.ct1 .bm.bw0 {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}
body.fabuba.fb-shell.dz_pg_space #ct.ct1 .bm.bw0 > .bm_c,
body.fabuba.fb-shell.pg_space #ct.ct1 .bm.bw0 > .bm_c {
	padding: 14px 0 24px !important;
	background: transparent !important;
}
body.fabuba.fb-shell.dz_pg_space #ct.ct1 .bm.bw0 > .bm_c > .bm_c.u_profile,
body.fabuba.fb-shell.pg_space #ct.ct1 .bm.bw0 > .bm_c > .bm_c.u_profile {
	padding: 0 !important;
	margin: 0 !important;
}
/* 纯资料页：隐藏残留 Tab；顶栏 UID / 在线点 */
body.fabuba.fb-shell #uhd > .tb {
	display: none !important;
}
body.fabuba.fb-shell #uhd .h {
	padding-bottom: 14px;
	margin-bottom: 8px;
	border-bottom: 1px solid var(--fb-border, #333738);
}
body.fabuba.fb-shell #uhd .h .mt {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
}
body.fabuba.fb-shell #uhd .h .mt .fb-uhd-name {
	color: var(--fb-text, #E7E9EB);
	font-weight: 600;
}
body.fabuba.fb-shell #uhd .h .mt .olicon {
	display: inline-block;
	width: 8px;
	height: 8px;
	margin: 0;
	background: #3DDC97;
	border-radius: 50%;
}
body.fabuba.fb-shell #uhd .h .mt .fb-uhd-uid,
body.fabuba.fb-shell #uhd .h .mt .fb-uhd-note {
	font-size: 13px;
	font-weight: 400;
	color: var(--fb-muted, #757A81);
}
body.fabuba.fb-shell.dz_pg_space .u_profile h2.mbn,
body.fabuba.fb-shell.dz_pg_space .u_profile h2.mbm {
	font-size: 13px !important;
	font-weight: 600 !important;
	color: var(--fb-text, #E7E9EB) !important;
	margin: 0 0 10px !important;
}
body.fabuba.fb-shell.dz_pg_space .u_profile .fb-profile-credits {
	margin: 10px 0 0;
	padding: 0;
	border: 0;
	clear: both;
}
/* 积分记录筛选区：透底描边 + 控件对比度；ftid 保留下拉箭头 */
body.fabuba.fb-shell.pg_spacecp .mn .exfm {
	margin: 0 0 14px !important;
	padding: 14px 16px;
	background: transparent !important;
	border: 1px solid var(--fb-border, #333738) !important;
	border-radius: var(--dz-radius-s, 4px);
	box-shadow: none !important;
}
body.fabuba.fb-shell.pg_spacecp .mn .exfm table th {
	color: var(--fb-muted, #757A81);
	font-size: 13px;
	font-weight: 400;
	padding: 6px 10px 6px 0;
	width: auto !important;
	white-space: nowrap;
	vertical-align: middle;
}
body.fabuba.fb-shell.pg_spacecp .mn .exfm table td {
	padding: 6px 20px 6px 0;
	vertical-align: middle;
	color: var(--fb-muted, #757A81);
	font-size: 13px;
}
body.fabuba.fb-shell.pg_spacecp .mn .exfm .px,
body.fabuba.fb-shell.pg_spacecp .mn .exfm .ftid a {
	background-color: var(--fb-input, #2c2f30) !important;
	border: 1px solid var(--fb-border, #333738) !important;
	color: var(--fb-text, #E7E9EB) !important;
	border-radius: var(--dz-radius-s, 4px);
	height: 34px;
	line-height: 34px;
	box-sizing: border-box;
}
body.fabuba.fb-shell.pg_spacecp .mn .exfm .ftid a {
	background-image: url("../static/svg/ico_jt.svg") !important;
	background-repeat: no-repeat !important;
	background-position: 100% 50% !important;
	background-size: auto 20px !important;
	display: inline-block;
	min-width: 120px;
}
body.fabuba.fb-shell.pg_spacecp .mn .exfm .pn {
	height: 34px;
	line-height: 34px;
	padding: 0 16px;
	margin-top: 4px;
}
/* 账号管理操作色 */
body.fabuba.fb-shell .fb-account-act,
body.fabuba.fb-shell.pg_spacecp a[style*="color: green"],
body.fabuba.fb-shell.pg_spacecp a[style*="color:green"],
body.fabuba.fb-shell #fwin_content a[style*="color: green"],
body.fabuba.fb-shell #fwin_content a[style*="color:green"] {
	color: var(--fb-link-hover, #0087BD) !important;
}
body.fabuba.fb-shell .fb-account-ok,
body.fabuba.fb-shell.pg_spacecp span[style*="color: green"],
body.fabuba.fb-shell.pg_spacecp span[style*="color:green"] {
	color: #3D9B6E !important;
}
body.fabuba.fb-shell .fb-account-warn,
body.fabuba.fb-shell.pg_spacecp a[style*="color: red"],
body.fabuba.fb-shell.pg_spacecp a[style*="color:red"],
body.fabuba.fb-shell.pg_spacecp span[style*="color: red"],
body.fabuba.fb-shell.pg_spacecp span[style*="color:red"] {
	color: var(--fb-danger, #E05A5A) !important;
}
/* 头像上传壳化 */
body.fabuba.fb-shell .fb-avatar-panel {
	max-width: 560px;
}
body.fabuba.fb-shell .fb-avatar-panel h2.xs2 {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 600;
	color: var(--fb-text, #E7E9EB);
}
body.fabuba.fb-shell .fb-avatar-panel p.xg1 {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--fb-muted, #757A81);
}
body.fabuba.fb-shell .fb-avatar-panel__preview img {
	width: 120px;
	height: 120px;
	border-radius: var(--dz-radius-m, 6px);
	border: 1px solid var(--fb-border, #333738);
	display: block;
}
body.fabuba.fb-shell #avatardesigner {
	padding: 0 !important;
	border: 1px solid var(--fb-border, #333738) !important;
	border-radius: var(--dz-radius-s, 4px) !important;
	background: var(--fb-surface, #17181a) !important;
	overflow: hidden;
}
body.fabuba.fb-shell #avatarfileselector {
	background: var(--fb-input, #2c2f30) !important;
	background-image: none !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-height: 200px;
}
body.fabuba.fb-shell .uploadavatar,
body.fabuba.fb-shell .backfileselection,
body.fabuba.fb-shell .saveAvatar,
body.fabuba.fb-shell .finishbutton {
	background: var(--fb-cta, #0087BD) !important;
	color: var(--fb-cta-text, #fcfdfd) !important;
	border: 0 !important;
	border-radius: var(--dz-radius-b, 6px) !important;
	height: 34px !important;
	line-height: 34px !important;
	padding: 0 16px !important;
	font-size: 14px !important;
	margin-top: 0 !important;
	width: auto !important;
}
body.fabuba.fb-shell #avatardisplaycanvas {
	background: var(--fb-surface, #17181a) !important;
}
/* 积分记录筛选一行化 */
body.fabuba.fb-shell.pg_spacecp .mn .fb-credit-subnav.tbmu {
	margin: 0 0 12px;
	padding: 0 0 12px;
	border-bottom: 1px solid var(--fb-border, #333738);
	color: var(--fb-muted, #757A81);
	font-size: 13px;
}
body.fabuba.fb-shell.pg_spacecp .mn .fb-credit-subnav .pipe {
	color: var(--fb-border, #333738);
	margin: 0 8px;
}
body.fabuba.fb-shell.pg_spacecp .mn .fb-credit-subnav a {
	color: var(--fb-muted, #757A81) !important;
}
body.fabuba.fb-shell.pg_spacecp .mn .fb-credit-subnav a.a {
	color: var(--fb-text, #E7E9EB) !important;
	font-weight: 600;
}
body.fabuba.fb-shell.pg_spacecp .mn .exfm.fb-credit-filter {
	padding: 10px 12px !important;
	margin-bottom: 12px !important;
}
body.fabuba.fb-shell.pg_spacecp .mn .fb-credit-filter__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
}
body.fabuba.fb-shell.pg_spacecp .mn .fb-credit-filter__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
}
body.fabuba.fb-shell.pg_spacecp .mn .fb-credit-filter__lab {
	color: var(--fb-muted, #757A81);
	font-size: 12px;
	white-space: nowrap;
}
body.fabuba.fb-shell.pg_spacecp .mn .fb-credit-filter__dates {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
body.fabuba.fb-shell.pg_spacecp .mn .fb-credit-filter .px {
	width: 98px;
	padding: 0 8px;
}
body.fabuba.fb-shell.pg_spacecp .mn .fb-credit-filter .ftid a {
	min-width: 96px;
	padding: 0 24px 0 8px;
}
body.fabuba.fb-shell.pg_spacecp .mn .fb-credit-filter__btn {
	margin: 0 !important;
}
body.fabuba.fb-shell.pg_spacecp .mn .dt tr.alt td {
	background: var(--fb-surface, #17181a) !important;
}
/* 双蓝统一 */
body.fabuba.fb-shell {
	--dz-nvbg: var(--fb-cta, #0087BD);
	--dz-nvbga: #0077a8;
}
/* 积分概览 Stat：必须盖掉 .creditl li{height:30px} 与 padding:0 */
body.fabuba.fb-shell.pg_spacecp .mn .creditl.fb-credit-stats {
	display: flex !important;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 10px 12px;
	margin: 4px 0 18px !important;
	padding: 0 0 16px !important;
	border-bottom: 1px solid var(--fb-border, #333738) !important;
	list-style: none;
	overflow: visible;
}
body.fabuba.fb-shell.pg_spacecp .mn .creditl.fb-credit-stats > li.fb-credit-stat {
	float: none !important;
	display: flex !important;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: auto !important;
	min-width: 120px;
	max-width: 220px;
	margin: 0 !important;
	height: auto !important;
	min-height: 76px !important;
	line-height: normal !important;
	padding: 12px 14px !important;
	box-sizing: border-box;
	overflow: visible;
	background: var(--fb-surface-h, #242728);
	border: 1px solid var(--fb-border, #333738);
	border-radius: var(--dz-radius-s, 4px);
}
body.fabuba.fb-shell.pg_spacecp .mn .fb-credit-stat__lab {
	display: block;
	font-size: 12px;
	line-height: 1.2 !important;
	color: var(--fb-muted, #757A81);
	font-style: normal;
	font-weight: 400;
}
body.fabuba.fb-shell.pg_spacecp .mn .fb-credit-stat__lab u {
	text-decoration: none;
	color: inherit;
}
body.fabuba.fb-shell.pg_spacecp .mn .fb-credit-stat__val {
	display: block;
	font-size: 22px;
	line-height: 1.15 !important;
	font-weight: 600;
	color: var(--fb-text, #E7E9EB) !important;
}
body.fabuba.fb-shell.pg_spacecp .mn .fb-credit-stat__unit {
	display: block;
	font-size: 12px;
	line-height: 1.35 !important;
	color: var(--fb-muted, #757A81);
	font-weight: 400;
}
/* 资料 / 账号表单对齐 */
body.fabuba.fb-shell.pg_spacecp .mn .tfm {
	max-width: 720px;
}
body.fabuba.fb-shell.pg_spacecp .mn .tfm th {
	width: 88px !important;
	padding: 12px 16px 12px 0 !important;
	line-height: 34px !important;
	vertical-align: middle !important;
	text-align: left !important;
	white-space: nowrap;
	color: var(--fb-muted, #757A81);
	font-weight: 400;
}
body.fabuba.fb-shell.pg_spacecp .mn .tfm td {
	padding: 12px 12px 12px 0 !important;
	line-height: 1.5 !important;
	vertical-align: middle !important;
}
body.fabuba.fb-shell.pg_spacecp .mn .tfm .d {
	display: block;
	margin: 6px 0 0;
	line-height: 1.45;
	font-size: 12px;
	color: var(--fb-muted, #757A81);
}
body.fabuba.fb-shell.pg_spacecp .mn .fb-account-tfm {
	width: 100%;
	max-width: 640px;
	table-layout: fixed;
}
body.fabuba.fb-shell.pg_spacecp .mn .fb-account-tfm th {
	width: 96px !important;
	line-height: 1.4 !important;
	vertical-align: top !important;
	padding-top: 14px !important;
}
body.fabuba.fb-shell.pg_spacecp .mn .fb-account-tfm td {
	vertical-align: top !important;
}
body.fabuba.fb-shell.pg_spacecp .mn .fb-account-tfm td:last-child {
	width: 96px !important;
	text-align: right;
	padding-right: 0 !important;
	white-space: nowrap;
	vertical-align: middle !important;
}
body.fabuba.fb-shell .fb-avatar-panel__current,
body.fabuba.fb-shell .fb-avatar-panel__upload {
	margin-bottom: 16px;
}
body.fabuba.fb-shell .fb-avatar-panel p.xg1 {
	margin-bottom: 10px;
}
body.fabuba.fb-shell .fb-avatar-panel__preview img {
	width: 96px;
	height: 96px;
}
body.fabuba.fb-shell #avatarfileselector {
	min-height: 160px;
}
/* 全站 select / .ps / ftid：统一底色边框箭头（勿用 background 简写） */
body.fabuba.fb-shell .px,
body.fabuba.fb-shell .pt,
body.fabuba.fb-shell textarea {
	background-color: var(--fb-input, #2c2f30) !important;
	border: 1px solid var(--fb-border, #333738) !important;
	color: var(--fb-text, #E7E9EB) !important;
	border-radius: var(--dz-radius-s, 4px);
	box-shadow: none !important;
}
body.fabuba.fb-shell .ps,
body.fabuba.fb-shell select {
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	color-scheme: dark;
	background-color: var(--fb-input, #2c2f30) !important;
	background-image: url("../static/svg/ico_jt.svg") !important;
	background-repeat: no-repeat !important;
	background-position: 100% center !important;
	background-size: auto 20px !important;
	border: 1px solid var(--fb-border, #333738) !important;
	color: var(--fb-text, #E7E9EB) !important;
	border-radius: var(--dz-radius-s, 4px);
	box-shadow: none !important;
	min-height: 34px;
	height: 34px;
	line-height: 34px;
	padding: 0 28px 0 10px !important;
	box-sizing: border-box;
	vertical-align: middle;
	font-size: 14px;
}
/* 选择框下拉层 .sltm：与触发框同字号；悬停用 input 底色（禁用系统蓝） */
body.fabuba.fb-shell .sltm {
	background: var(--fb-menu-bg, #282828) !important;
	border: 1px solid var(--fb-border, #333738) !important;
	border-radius: var(--dz-radius-s, 4px);
	padding: 6px !important;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45) !important;
	font-size: 14px !important;
	font-family: inherit !important;
	color: var(--fb-text, #E7E9EB) !important;
	text-align: left !important;
}
body.fabuba.fb-shell .sltm ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
body.fabuba.fb-shell .sltm li {
	color: var(--fb-text, #E7E9EB) !important;
	font-size: 14px !important;
	font-family: inherit !important;
	font-weight: 400 !important;
	line-height: 1.4;
	padding: 8px 10px !important;
	border-radius: var(--dz-radius-s, 4px);
	text-align: left !important;
	background: transparent !important;
}
body.fabuba.fb-shell .sltm li:hover,
body.fabuba.fb-shell .sltm li.current {
	background: var(--fb-input, #2c2f30) !important;
	color: var(--fb-text, #E7E9EB) !important;
	text-decoration: none;
}
body.fabuba.fb-shell .tbmu select.ps,
body.fabuba.fb-shell .tbmu select {
	min-height: 34px;
	height: 34px;
	line-height: 34px;
	font-size: 14px;
}
/* ftid：勿 float，勿继承右对齐，避免位置错乱 */
body.fabuba.fb-shell .ftid {
	float: none !important;
	display: inline-block;
	vertical-align: middle;
	margin: 0 6px 0 0;
}
body.fabuba.fb-shell .tbmu .ftid {
	margin-left: 8px;
	margin-right: 0;
}
body.fabuba.fb-shell .ftid a {
	display: inline-block !important;
	float: none !important;
	text-align: left !important;
	background-color: var(--fb-input, #2c2f30) !important;
	background-image: url("../static/svg/ico_jt.svg") !important;
	background-repeat: no-repeat !important;
	background-position: 100% 50% !important;
	background-size: auto 20px !important;
	border: 1px solid var(--fb-border, #333738) !important;
	color: var(--fb-text, #E7E9EB) !important;
	border-radius: var(--dz-radius-s, 4px);
	height: 34px;
	line-height: 34px;
	padding: 0 22px 0 8px;
	box-sizing: border-box;
	max-width: 100%;
}
body.fabuba.fb-shell .tbmu:has(.ftid) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
}
body.fabuba.fb-shell .tbmu:has(.ftid) .y {
	margin-left: auto;
}

/* 数据表 .dt：与「我的帖子」统一；!important 盖过未重编译的 style_*_common.css */
body.fabuba.fb-shell .dt {
	width: 100% !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	border: 1px solid var(--fb-border, #333738) !important;
	border-radius: var(--dz-radius-s, 4px) !important;
	overflow: hidden !important;
	background: var(--fb-surface, #17181a) !important;
}
body.fabuba.fb-shell .dt th,
body.fabuba.fb-shell .dt td {
	border-color: var(--fb-border, #333738) !important;
	vertical-align: middle;
}
body.fabuba.fb-shell .dt td {
	color: var(--fb-text, #E7E9EB) !important;
	background: var(--fb-surface, #17181a) !important;
	padding: 12px !important;
	font-size: 14px !important;
	line-height: 1.4;
}
body.fabuba.fb-shell .dt tr.alt td {
	background: var(--fb-hover, #1b1d1d) !important;
}
/* 注意：浏览器会把 tr 包进 tbody，不能写 table > tr / caption + tr */
body.fabuba.fb-shell .dt tr:first-child > th,
body.fabuba.fb-shell .dt thead th {
	font-size: 13px !important;
	font-weight: 500 !important;
	color: var(--fb-muted, #757A81) !important;
	background: var(--fb-dt-th-bg, #1b1d1d) !important;
	border-right: 1px solid var(--fb-border, #333738) !important;
	border-bottom: 1px solid var(--fb-border, #333738) !important;
	padding: 12px !important;
	white-space: nowrap;
}
body.fabuba.fb-shell .dt tr:first-child > th:last-child,
body.fabuba.fb-shell .dt thead th:last-child {
	border-right: none !important;
}
body.fabuba.fb-shell .dt td {
	border-right: 1px solid var(--fb-border, #333738) !important;
	border-bottom: 1px solid var(--fb-border, #333738) !important;
}
body.fabuba.fb-shell .dt td:last-child {
	border-right: none !important;
}
body.fabuba.fb-shell .dt tr:last-child > td {
	border-bottom: none !important;
}

/* 空间「主题/帖子」：同违规记录——外框、表头底、网格线；次级导航与空状态保留 */
body.fabuba.fb-shell.dz_pg_space .mn .tl > form > table,
body.fabuba.fb-shell.dz_pg_space .mn .tl > table {
	border: 1px solid var(--fb-border, #333738) !important;
	border-radius: var(--dz-radius-s, 4px) !important;
	background: var(--fb-surface, #17181a) !important;
	overflow: hidden;
	border-collapse: separate;
	border-spacing: 0;
}
body.fabuba.fb-shell.dz_pg_space .mn .tl tr.th,
body.fabuba.fb-shell.dz_pg_space .mn .tl .th {
	background: var(--fb-dt-th-bg, #1b1d1d) !important;
}
body.fabuba.fb-shell.dz_pg_space .mn .tl tr.th th,
body.fabuba.fb-shell.dz_pg_space .mn .tl tr.th td {
	background: var(--fb-dt-th-bg, #1b1d1d) !important;
	color: var(--fb-muted, #757A81) !important;
	font-weight: 500;
	font-size: 13px;
	border-right: 1px solid var(--fb-border, #333738);
	border-bottom: 1px solid var(--fb-border, #333738);
}
body.fabuba.fb-shell.dz_pg_space .mn .tl tr.th th:last-child,
body.fabuba.fb-shell.dz_pg_space .mn .tl tr.th td:last-child {
	border-right: none;
}
body.fabuba.fb-shell.dz_pg_space .mn .tl tr:not(.th) th,
body.fabuba.fb-shell.dz_pg_space .mn .tl tr:not(.th) td {
	background: var(--fb-surface, #17181a) !important;
	border-right: 1px solid var(--fb-border, #333738);
	border-bottom: 1px solid var(--fb-border, #333738);
}
body.fabuba.fb-shell.dz_pg_space .mn .tl tr:not(.th) th:last-child,
body.fabuba.fb-shell.dz_pg_space .mn .tl tr:not(.th) td:last-child {
	border-right: none;
}
body.fabuba.fb-shell.dz_pg_space .mn .tl tr:not(.th):last-child th,
body.fabuba.fb-shell.dz_pg_space .mn .tl tr:not(.th):last-child td {
	border-bottom: none;
}
body.fabuba.fb-shell.dz_pg_space .mn .tbmu {
	margin: 0 0 8px;
	padding: 4px 0 12px;
	border-bottom: 1px solid var(--fb-border, #333738);
	color: var(--fb-muted, #757A81);
	font-size: 13px;
	line-height: 1.4;
}
body.fabuba.fb-shell.dz_pg_space .mn .tbmu .pipe {
	color: var(--fb-border, #333738);
	margin: 0 8px;
}
body.fabuba.fb-shell.dz_pg_space .mn .tbmu a {
	color: var(--fb-muted, #757A81) !important;
	font-weight: 400;
}
body.fabuba.fb-shell.dz_pg_space .mn .tbmu a:hover {
	color: var(--fb-text, #E7E9EB) !important;
}
body.fabuba.fb-shell.dz_pg_space .mn .tbmu a.a {
	color: var(--fb-text, #E7E9EB) !important;
	font-weight: 600;
}
body.fabuba.fb-shell.dz_pg_space .mn .emp {
	padding: 36px 16px 48px;
	color: var(--fb-muted, #757A81);
	font-size: 13px;
}
body.fabuba.fb-shell.dz_pg_space .mn .emp:before {
	width: 72px;
	height: 72px;
	margin-bottom: 12px;
	opacity: .45;
	filter: grayscale(1) brightness(.85);
}

/* —— Rail —— */
body.fabuba.fb-shell .fb-shell-rail {
	position: fixed;
	top: var(--fb-shell-header-h);
	left: 0;
	bottom: 0;
	width: var(--fb-rail-w);
	z-index: 190;
	display: flex;
	flex-direction: column;
	background: var(--fb-page, #17181a);
	border-right: 0;
	box-sizing: border-box;
	transition: width .18s ease, transform .2s ease;
	overscroll-behavior: contain;
}
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail {
	width: var(--fb-rail-mini);
}
body.fabuba.fb-shell.fb-rail-hidden .fb-shell-rail {
	display: none;
}
body.fabuba.fb-shell .fb-shell-rail__scroll {
	flex: 1 1 auto;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 12px 0 8px;
	/* 滚到顶/底后不再把滚轮传给右侧内容页 */
	overscroll-behavior: contain;
	/* YouTube 式：默认隐藏，悬停侧栏滚动区才显细滚动条 */
	scrollbar-width: thin;
	scrollbar-color: transparent transparent;
}
body.fabuba.fb-shell .fb-shell-rail__scroll:hover {
	scrollbar-color: rgba(255, 255, 255, .35) transparent;
}
body.fabuba.fb-shell .fb-shell-rail__scroll::-webkit-scrollbar {
	width: 8px;
}
body.fabuba.fb-shell .fb-shell-rail__scroll::-webkit-scrollbar-button {
	display: none;
	width: 0;
	height: 0;
}
body.fabuba.fb-shell .fb-shell-rail__scroll::-webkit-scrollbar-track {
	background: transparent;
}
body.fabuba.fb-shell .fb-shell-rail__scroll::-webkit-scrollbar-thumb {
	background-color: transparent;
	border-radius: 8px;
	border: 2px solid transparent;
	background-clip: padding-box;
}
body.fabuba.fb-shell .fb-shell-rail__scroll:hover::-webkit-scrollbar-thumb {
	background-color: rgba(255, 255, 255, .35);
}
body.fabuba.fb-shell .fb-shell-rail__scroll:hover::-webkit-scrollbar-thumb:hover {
	background-color: rgba(255, 255, 255, .55);
}
body.fabuba.fb-shell .fb-shell-rail__list {
	list-style: none;
	margin: 0;
	padding: 0 12px;
}
body.fabuba.fb-shell .fb-shell-rail__item {
	margin: 0 0 2px;
}
/* 图标（mask） */
body.fabuba.fb-shell .fb-shell-rail__ico {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	background-color: currentColor;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}
body.fabuba.fb-shell .fb-shell-rail__ico--home {
	-webkit-mask-image: url("../static/svg/lucide/lucide-house.svg");
	mask-image: url("../static/svg/lucide/lucide-house.svg");
}
body.fabuba.fb-shell .fb-shell-rail__ico--live {
	-webkit-mask-image: url("../static/svg/lucide/lucide-radio.svg");
	mask-image: url("../static/svg/lucide/lucide-radio.svg");
}
body.fabuba.fb-shell .fb-shell-rail__ico--anchor {
	-webkit-mask-image: url("../static/svg/lucide/lucide-user-round-star.svg");
	mask-image: url("../static/svg/lucide/lucide-user-round-star.svg");
}
body.fabuba.fb-shell .fb-shell-rail__ico--me {
	-webkit-mask-image: url("../static/svg/lucide/lucide-circle-user-round.svg");
	mask-image: url("../static/svg/lucide/lucide-circle-user-round.svg");
}
body.fabuba.fb-shell .fb-shell-rail__ico--chevron {
	-webkit-mask-image: url("../static/svg/lucide/lucide-chevron-right.svg");
	mask-image: url("../static/svg/lucide/lucide-chevron-right.svg");
}
/* 「我」子项图标 */
body.fabuba.fb-shell .fb-shell-rail__ico--profile {
	-webkit-mask-image: url("../static/svg/lucide/lucide-user.svg");
	mask-image: url("../static/svg/lucide/lucide-user.svg");
}
body.fabuba.fb-shell .fb-shell-rail__ico--avatar {
	-webkit-mask-image: url("../static/svg/lucide/lucide-circle-user-round.svg");
	mask-image: url("../static/svg/lucide/lucide-circle-user-round.svg");
}
body.fabuba.fb-shell .fb-shell-rail__ico--account {
	-webkit-mask-image: url("../static/svg/usermenu/auth.svg");
	mask-image: url("../static/svg/usermenu/auth.svg");
}
body.fabuba.fb-shell .fb-shell-rail__ico--privacy {
	-webkit-mask-image: url("../static/svg/usermenu/setup.svg");
	mask-image: url("../static/svg/usermenu/setup.svg");
}
body.fabuba.fb-shell .fb-shell-rail__ico--posts {
	-webkit-mask-image: url("../static/svg/usermenu/post.svg");
	mask-image: url("../static/svg/usermenu/post.svg");
}
body.fabuba.fb-shell .fb-shell-rail__ico--favorite {
	-webkit-mask-image: url("../static/svg/usermenu/fav.svg");
	mask-image: url("../static/svg/usermenu/fav.svg");
}
body.fabuba.fb-shell .fb-shell-rail__ico--my_credit {
	-webkit-mask-image: url("../static/svg/usermenu/credit-p.svg");
	mask-image: url("../static/svg/usermenu/credit-p.svg");
}
body.fabuba.fb-shell .fb-shell-rail__ico--friends {
	-webkit-mask-image: url("../static/svg/usermenu/friend.svg");
	mask-image: url("../static/svg/usermenu/friend.svg");
}
body.fabuba.fb-shell .fb-shell-rail__ico--usergroup {
	-webkit-mask-image: url("../static/svg/lucide/lucide-users-round.svg");
	mask-image: url("../static/svg/lucide/lucide-users-round.svg");
}
body.fabuba.fb-shell .fb-shell-rail__ico--credit_center {
	-webkit-mask-image: url("../static/svg/usermenu/wallet.svg");
	mask-image: url("../static/svg/usermenu/wallet.svg");
}
body.fabuba.fb-shell .fb-shell-rail__ico--subscribe {
	-webkit-mask-image: url("../static/svg/usermenu/crown.svg");
	mask-image: url("../static/svg/usermenu/crown.svg");
}
/* 版块图标（当前选用；备用文件已下载可换） */
body.fabuba.fb-shell .fb-shell-rail__ico--file {
	-webkit-mask-image: url("../static/svg/lucide/lucide-folder-down.svg");
	mask-image: url("../static/svg/lucide/lucide-folder-down.svg");
}
body.fabuba.fb-shell .fb-shell-rail__ico--vod {
	-webkit-mask-image: url("../static/svg/lucide/lucide-tv-minimal-play.svg");
	mask-image: url("../static/svg/lucide/lucide-tv-minimal-play.svg");
}
body.fabuba.fb-shell .fb-shell-rail__ico--community,
body.fabuba.fb-shell .fb-shell-rail__ico--forum {
	-webkit-mask-image: url("../static/svg/lucide/lucide-messages-square.svg");
	mask-image: url("../static/svg/lucide/lucide-messages-square.svg");
}
/* 备用：cloud-download / monitor-play / messages-circle / message-square-text
body.fabuba.fb-shell .fb-shell-rail__ico--file {
	-webkit-mask-image: url("../static/svg/lucide/lucide-cloud-download.svg");
	mask-image: url("../static/svg/lucide/lucide-cloud-download.svg");
}
body.fabuba.fb-shell .fb-shell-rail__ico--vod {
	-webkit-mask-image: url("../static/svg/lucide/lucide-monitor-play.svg");
	mask-image: url("../static/svg/lucide/lucide-monitor-play.svg");
}
body.fabuba.fb-shell .fb-shell-rail__ico--community {
	-webkit-mask-image: url("../static/svg/lucide/lucide-messages-circle.svg");
	mask-image: url("../static/svg/lucide/lucide-messages-circle.svg");
}
*/
/* 主入口：首页 / 直播 / 主播 / 版块 / 服务项 / 「我」按钮 */
body.fabuba.fb-shell .fb-shell-rail__nav .fb-shell-rail__item > a,
body.fabuba.fb-shell .fb-shell-rail__nav .fb-shell-rail__item a,
body.fabuba.fb-shell .fb-shell-rail__list--forums .fb-shell-rail__item > a,
body.fabuba.fb-shell .fb-shell-rail__list--forums .fb-shell-rail__item a,
body.fabuba.fb-shell .fb-shell-rail__list--services .fb-shell-rail__item > a,
body.fabuba.fb-shell .fb-shell-rail__list--services .fb-shell-rail__item a,
body.fabuba.fb-shell .fb-shell-rail__me-btn {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 40px;
	padding: 0 12px;
	border-radius: 10px;
	color: var(--fb-text, #111) !important;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	box-sizing: border-box;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
body.fabuba.fb-shell .fb-shell-rail__me-btn {
	margin: 0 12px 2px;
}
body.fabuba.fb-shell .fb-shell-rail__list--forums .fb-shell-rail__ico {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
}
body.fabuba.fb-shell .fb-shell-rail__nav .fb-shell-rail__item > a:hover,
body.fabuba.fb-shell .fb-shell-rail__nav .fb-shell-rail__item.is-active > a,
body.fabuba.fb-shell .fb-shell-rail__nav .fb-shell-rail__item.a > a,
body.fabuba.fb-shell .fb-shell-rail__list--forums .fb-shell-rail__item > a:hover,
body.fabuba.fb-shell .fb-shell-rail__list--forums .fb-shell-rail__item.is-active > a,
body.fabuba.fb-shell .fb-shell-rail__list--forums .fb-shell-rail__item.a > a,
body.fabuba.fb-shell .fb-shell-rail__list--services .fb-shell-rail__item > a:hover,
body.fabuba.fb-shell .fb-shell-rail__list--services .fb-shell-rail__item.is-active > a,
body.fabuba.fb-shell .fb-shell-rail__list--services .fb-shell-rail__item.a > a,
body.fabuba.fb-shell .fb-shell-rail__me-btn:hover {
	background: var(--fb-surface-h, #f3f4f6);
}
body.fabuba.fb-shell .fb-shell-rail__nav .fb-shell-rail__item.is-active > a,
body.fabuba.fb-shell .fb-shell-rail__nav .fb-shell-rail__item.a > a,
body.fabuba.fb-shell .fb-shell-rail__list--forums .fb-shell-rail__item.is-active > a,
body.fabuba.fb-shell .fb-shell-rail__list--forums .fb-shell-rail__item.a > a,
body.fabuba.fb-shell .fb-shell-rail__list--services .fb-shell-rail__item.is-active > a,
body.fabuba.fb-shell .fb-shell-rail__list--services .fb-shell-rail__item.a > a {
	font-weight: 500;
}
/* 积分中心 / 订阅：独立于「我」；迷你模式隐藏（抽屉展开时仍显示） */
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__divider--services,
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__section--services {
	display: none;
}
/* 展开：「我」标题行（可点进资料 / 登录） */
body.fabuba.fb-shell .fb-shell-rail__me-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 40px;
	margin: 0 12px 2px;
	padding: 0 12px;
	border-radius: 10px;
	color: var(--fb-text, #111) !important;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	box-sizing: border-box;
}
body.fabuba.fb-shell .fb-shell-rail__me-head .fb-shell-rail__label {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
body.fabuba.fb-shell .fb-shell-rail__me-head .fb-shell-rail__ico--chevron {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	opacity: .85;
}
body.fabuba.fb-shell .fb-shell-rail__me-head:hover {
	background: var(--fb-surface-h, #f3f4f6);
}
body.fabuba.fb-shell .fb-shell-rail__me-wrap {
	display: block;
}
/* 展开：隐藏迷你「我」按钮 */
body.fabuba.fb-shell .fb-shell-rail__section--me .fb-shell-rail__me-btn {
	display: none;
}
body.fabuba.fb-shell .fb-shell-rail__section--me.is-authed .fb-shell-rail__me-btn {
	display: none;
}
body.fabuba.fb-shell .fb-shell-rail__divider {
	height: 1px;
	margin: 10px 16px;
	background: var(--fb-border, #e5e7eb);
}
/* 分区名与主入口同级 */
body.fabuba.fb-shell .fb-shell-rail__section-title,
body.fabuba.fb-shell .fb-shell-rail__group-name {
	display: block;
	padding: 10px 24px 6px;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: var(--fb-text, #111);
	text-decoration: none;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
body.fabuba.fb-shell .fb-shell-rail__group-name:hover {
	color: var(--fb-link-hover, #0087BD);
}
/* 「我」子项：次级更小；版块已与主入口同级 */
body.fabuba.fb-shell .fb-shell-rail__list--forums,
body.fabuba.fb-shell .fb-shell-rail__list--me {
	padding-bottom: 6px;
}
body.fabuba.fb-shell .fb-shell-rail__list--me .fb-shell-rail__item > a,
body.fabuba.fb-shell .fb-shell-rail__list--me .fb-shell-rail__item a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 34px;
	padding: 0 12px;
	border-radius: 10px;
	color: var(--fb-text, #111) !important;
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
	box-sizing: border-box;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
body.fabuba.fb-shell .fb-shell-rail__list--me .fb-shell-rail__ico {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
}
body.fabuba.fb-shell .fb-shell-rail__list--me .fb-shell-rail__item--divider {
	height: 1px;
	margin: 8px 12px;
	padding: 0;
	list-style: none;
	background: var(--fb-border, #333738);
	pointer-events: none;
}
/* 设置 / 我的帖子 / 我的收藏：入口已在 Rail，隐藏重复 .appl，内容单栏 */
body.fabuba.fb-shell.pg_spacecp #ct.ct2_a .appl,
body.fabuba.fb-shell #ct.ct2_a.fb-space-thread .appl,
body.fabuba.fb-shell #ct.ct2_a.fb-space-favorite .appl {
	display: none !important;
}
body.fabuba.fb-shell.pg_spacecp #ct.ct2_a .mn,
body.fabuba.fb-shell #ct.ct2_a.fb-space-thread .mn,
body.fabuba.fb-shell #ct.ct2_a.fb-space-favorite .mn {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
}
/* 内容区统一顶栏 Tab（与我的积分一致） */
body.fabuba.fb-shell.pg_spacecp .mn .tb,
body.fabuba.fb-shell #ct.fb-space-thread .tb,
body.fabuba.fb-shell #ct.fb-space-favorite .tb {
	margin: 0 0 14px !important;
	padding: 0 !important;
	height: auto !important;
	line-height: 40px;
	border: 0 !important;
	border-bottom: 1px solid var(--fb-border, #333738) !important;
	background: transparent !important;
}
body.fabuba.fb-shell.pg_spacecp .mn .tb > li,
body.fabuba.fb-shell #ct.fb-space-thread .tb > li,
body.fabuba.fb-shell #ct.fb-space-favorite .tb > li {
	margin: 0 28px 0 0;
	height: 40px;
}
body.fabuba.fb-shell.pg_spacecp .mn .tb a,
body.fabuba.fb-shell #ct.fb-space-thread .tb a,
body.fabuba.fb-shell #ct.fb-space-favorite .tb a {
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--fb-muted, #757A81);
	font-size: 14px;
	height: 40px;
	line-height: 40px;
}
body.fabuba.fb-shell.pg_spacecp .mn .tb a:hover,
body.fabuba.fb-shell #ct.fb-space-thread .tb a:hover,
body.fabuba.fb-shell #ct.fb-space-favorite .tb a:hover {
	color: var(--fb-text, #E7E9EB) !important;
}
body.fabuba.fb-shell.pg_spacecp .mn .tb .a a,
body.fabuba.fb-shell #ct.fb-space-thread .tb .a a,
body.fabuba.fb-shell #ct.fb-space-favorite .tb .a a {
	color: var(--fb-text, #E7E9EB) !important;
	font-weight: 500;
	box-shadow: inset 0 -2px 0 var(--fb-cta, #0087BD);
}
body.fabuba.fb-shell.pg_spacecp .mn .tb > li.a:after,
body.fabuba.fb-shell.pg_spacecp .mn .tb > li.current:after,
body.fabuba.fb-shell #ct.fb-space-thread .tb > li.a:after,
body.fabuba.fb-shell #ct.fb-space-thread .tb > li.current:after,
body.fabuba.fb-shell #ct.fb-space-favorite .tb > li.a:after,
body.fabuba.fb-shell #ct.fb-space-favorite .tb > li.current:after,
body.fabuba.fb-shell.dz_wide.pg_spacecp .mn .tb .a:after,
body.fabuba.fb-shell.dz_wide.pg_spacecp .mn .tb .current:after,
body.fabuba.fb-shell.dz_wide #ct.fb-space-thread .tb .a:after,
body.fabuba.fb-shell.dz_wide #ct.fb-space-thread .tb .current:after,
body.fabuba.fb-shell.dz_wide #ct.fb-space-favorite .tb .a:after,
body.fabuba.fb-shell.dz_wide #ct.fb-space-favorite .tb .current:after {
	content: none !important;
	display: none !important;
	width: 0 !important;
	height: 0 !important;
}
body.fabuba.fb-shell #ct.fb-space-thread .tbmu {
	margin: 0 0 12px;
	padding: 0 0 12px;
	border-bottom: 1px solid var(--fb-border, #333738);
	color: var(--fb-muted, #757A81);
	font-size: 13px;
	line-height: 1.4;
}
body.fabuba.fb-shell #ct.fb-space-thread .tbmu .pipe {
	color: var(--fb-border, #333738);
	margin: 0 8px;
}
body.fabuba.fb-shell #ct.fb-space-thread .tbmu a {
	color: var(--fb-muted, #757A81) !important;
	font-weight: 400;
}
body.fabuba.fb-shell #ct.fb-space-thread .tbmu a:hover {
	color: var(--fb-text, #E7E9EB) !important;
}
body.fabuba.fb-shell #ct.fb-space-thread .tbmu a.a {
	color: var(--fb-text, #E7E9EB) !important;
	font-weight: 600;
}
body.fabuba.fb-shell #ct.fb-space-thread .mn .tl > form > table,
body.fabuba.fb-shell #ct.fb-space-thread .mn .tl > table {
	border: 1px solid var(--fb-border, #333738) !important;
	border-radius: var(--dz-radius-s, 4px) !important;
	background: var(--fb-surface, #17181a) !important;
	overflow: hidden;
	border-collapse: separate;
	border-spacing: 0;
}
body.fabuba.fb-shell #ct.fb-space-thread .mn .tl tr.th,
body.fabuba.fb-shell #ct.fb-space-thread .mn .tl .th {
	background: var(--fb-dt-th-bg, #1b1d1d) !important;
}
body.fabuba.fb-shell #ct.fb-space-thread .mn .tl tr.th th,
body.fabuba.fb-shell #ct.fb-space-thread .mn .tl tr.th td {
	background: var(--fb-dt-th-bg, #1b1d1d) !important;
	color: var(--fb-muted, #757A81) !important;
	font-weight: 500;
	font-size: 13px;
	border-right: 1px solid var(--fb-border, #333738);
	border-bottom: 1px solid var(--fb-border, #333738);
}
body.fabuba.fb-shell #ct.fb-space-thread .mn .tl tr.th th:last-child,
body.fabuba.fb-shell #ct.fb-space-thread .mn .tl tr.th td:last-child {
	border-right: none;
}
body.fabuba.fb-shell #ct.fb-space-thread .mn .tl tr:not(.th) th,
body.fabuba.fb-shell #ct.fb-space-thread .mn .tl tr:not(.th) td {
	background: var(--fb-surface, #17181a) !important;
	border-right: 1px solid var(--fb-border, #333738);
	border-bottom: 1px solid var(--fb-border, #333738);
}
body.fabuba.fb-shell #ct.fb-space-thread .mn .tl tr:not(.th) th:last-child,
body.fabuba.fb-shell #ct.fb-space-thread .mn .tl tr:not(.th) td:last-child {
	border-right: none;
}
body.fabuba.fb-shell #ct.fb-space-thread .mn .tl tr:not(.th):last-child th,
body.fabuba.fb-shell #ct.fb-space-thread .mn .tl tr:not(.th):last-child td {
	border-bottom: none;
}
/* 仅资料页 Tab 紧贴表格时去顶边；我的帖子保留表格顶边 */
body.fabuba.fb-shell.dz_pg_space .mn .tb + .tl > form > table,
body.fabuba.fb-shell.dz_pg_space .mn .tb + .tl > table {
	border-top: none !important;
	border-top-left-radius: 0 !important;
	border-top-right-radius: 0 !important;
}
body.fabuba.fb-shell.dz_pg_space .mn .tl tr.th,
body.fabuba.fb-shell #ct.fb-space-thread .mn .tl tr.th {
	margin-top: 0 !important;
}
body.fabuba.fb-shell .fb-shell-rail__list--me .fb-shell-rail__item > a:hover,
body.fabuba.fb-shell .fb-shell-rail__list--me .fb-shell-rail__item.is-active > a,
body.fabuba.fb-shell .fb-shell-rail__list--me .fb-shell-rail__item.a > a {
	background: var(--fb-surface-h, #f3f4f6);
}
body.fabuba.fb-shell .fb-shell-rail__foot {
	flex: 0 0 auto;
	padding: 10px 16px 14px;
	border-top: 0;
	font-size: 11px;
	line-height: 1.5;
	color: var(--fb-muted, #6b7280);
}
body.fabuba.fb-shell .fb-shell-rail__foot-links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin-bottom: 6px;
}
body.fabuba.fb-shell .fb-shell-rail__foot-item a {
	color: inherit !important;
	text-decoration: none !important;
}
body.fabuba.fb-shell .fb-shell-rail__foot-item a:hover {
	color: var(--fb-link-hover, #0087BD) !important;
}
body.fabuba.fb-shell .fb-shell-rail__copy,
body.fabuba.fb-shell .fb-shell-rail__email {
	margin: 0 0 4px;
}
body.fabuba.fb-shell .fb-shell-rail__email {
	margin-bottom: 0;
}
body.fabuba.fb-shell .fb-shell-rail__email a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: inherit !important;
	text-decoration: none !important;
	word-break: break-all;
}
body.fabuba.fb-shell .fb-shell-rail__email-ico {
	flex: 0 0 12px;
	width: 12px;
	height: 12px;
	background-color: currentColor;
	-webkit-mask-image: url("../static/svg/lucide/lucide-mail.svg");
	mask-image: url("../static/svg/lucide/lucide-mail.svg");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}
body.fabuba.fb-shell .fb-shell-rail__email a:hover {
	color: var(--fb-link-hover, #0087BD) !important;
}

/* 侧栏在线 */
body.fabuba.fb-shell .fb-shell-rail__online {
	padding: 4px 24px 10px;
}
body.fabuba.fb-shell .fb-shell-rail__online-title {
	display: block;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: var(--fb-text, #111);
	text-decoration: none;
	margin: 0 0 4px;
}
body.fabuba.fb-shell .fb-shell-rail__online-title:hover {
	color: var(--fb-link-hover, #0087BD);
}
body.fabuba.fb-shell .fb-shell-rail__online-stat {
	margin: 0;
	font-size: 12px;
	line-height: 1.45;
	color: var(--fb-muted, #6b7280);
}
body.fabuba.fb-shell .fb-shell-rail__online-stat strong {
	color: var(--fb-text, #111);
	font-weight: 600;
}
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__online,
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__divider--online,
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__foot {
	display: none;
}

/* Mini: 图标在上、文字在下（产品 + 版块 + 我）；「我」悬停飞出菜单 */
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail,
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__scroll {
	overflow: visible;
}
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__list {
	padding: 0 4px;
}
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__section--forums {
	display: block;
}
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__divider--forums {
	display: block;
	margin: 8px 12px;
}
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__nav .fb-shell-rail__item > a,
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__list--forums .fb-shell-rail__item > a,
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__me-btn {
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 6px;
	min-height: 64px;
	margin: 0 4px 4px;
	padding: 10px 2px 8px;
	border-radius: 10px;
	white-space: normal;
	text-align: center;
	overflow: hidden;
	font-size: 10px;
	font-weight: 400;
}
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__nav .fb-shell-rail__ico,
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__list--forums .fb-shell-rail__ico,
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__me-btn .fb-shell-rail__ico {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
}
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__nav .fb-shell-rail__label,
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__list--forums .fb-shell-rail__label,
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__me-btn .fb-shell-rail__label {
	display: block;
	max-width: 100%;
	font-size: 10px;
	font-weight: 400;
	line-height: 1.2;
	color: inherit !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__nav .fb-shell-rail__item.is-active > a,
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__nav .fb-shell-rail__item.a > a,
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__list--forums .fb-shell-rail__item.is-active > a,
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__list--forums .fb-shell-rail__item.a > a {
	font-weight: 500;
}
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__section--me {
	display: block;
	position: relative;
	z-index: 5;
}
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__me-head {
	display: none;
}
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__me-wrap {
	position: relative;
}
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__section--me.is-authed .fb-shell-rail__me-btn,
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__section--me .fb-shell-rail__me-btn {
	display: flex;
}
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__section--me.is-authed .fb-shell-rail__list--me {
	display: none;
	position: absolute;
	left: calc(100% + 4px);
	top: 0;
	min-width: 200px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--fb-surface, #222);
	border: 1px solid var(--fb-border, #333);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
	box-sizing: border-box;
	z-index: 220;
}
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__section--me.is-authed .fb-shell-rail__list--me::before {
	content: "";
	position: absolute;
	left: -10px;
	top: 0;
	bottom: 0;
	width: 10px;
}
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__me-wrap:hover .fb-shell-rail__list--me,
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__me-wrap:focus-within .fb-shell-rail__list--me,
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__me-wrap.is-open .fb-shell-rail__list--me {
	display: block;
}
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__me-wrap:hover .fb-shell-rail__me-btn,
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__me-wrap:focus-within .fb-shell-rail__me-btn,
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__me-wrap.is-open .fb-shell-rail__me-btn {
	background: var(--fb-surface-h, #f3f4f6);
}
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__list--me .fb-shell-rail__item > a,
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__list--me .fb-shell-rail__item a {
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	gap: 10px;
	min-height: 36px;
	margin: 0;
	padding: 0 10px;
	border-radius: 8px;
	text-align: left;
	white-space: nowrap;
	overflow: hidden;
}
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__list--me .fb-shell-rail__ico {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
}
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__list--me .fb-shell-rail__item--divider {
	margin: 6px 10px;
	background: var(--fb-border, #333738);
}
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__list--me .fb-shell-rail__label {
	display: block;
	max-width: none;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
	color: inherit !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
body.fabuba.fb-shell.fb-rail-mini .fb-shell-rail__divider--me {
	margin: 8px 12px;
}

body.fabuba.fb-shell .fb-shell-rail-mask {
	display: none;
	position: fixed;
	inset: var(--fb-shell-header-h) 0 0 0;
	background: rgba(0, 0, 0, .45);
	z-index: 185;
}

/* —— Mobile: hide rail, drawer on demand —— */
@media (max-width: 900px) {
	/* 覆盖旧顶栏窄屏压扁 LOGO；壳层与桌面同高，贴近 YouTube */
	body.fabuba.fb-shell .dz_btm_layer.dz_nav .dz_nav_logo,
	body.fabuba.fb-shell .fb-shell-top .dz_nav_logo {
		flex: 0 0 auto !important;
		width: auto !important;
		max-width: none !important;
		height: auto !important;
		margin-right: 0 !important;
	}
	body.fabuba.fb-shell .dz_nav .dz_nav_logo img,
	body.fabuba.fb-shell .dz_layer_top .dz_nav_logo .dzlogo img,
	body.fabuba.fb-shell .dz_nav_logo .dzlogo img {
		height: auto !important;
		max-height: 40px !important;
		max-width: 200px !important;
		width: auto !important;
	}
	body.fabuba.fb-shell #wp.wp {
		padding-left: 0 !important;
	}
	body.fabuba.fb-shell .fb-shell-rail {
		display: flex;
		width: min(86vw, var(--fb-rail-w));
		transform: translateX(-105%);
		box-shadow: 4px 0 24px rgba(0, 0, 0, .12);
	}
	body.fabuba.fb-shell.fb-rail-drawer-open .fb-shell-rail {
		transform: translateX(0);
		display: flex !important;
	}
	body.fabuba.fb-shell.fb-rail-drawer-open .fb-shell-rail-mask {
		display: block;
	}
	/* 抽屉内按展开态展示（非迷你竖排） */
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__section--forums,
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__online,
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__divider--forums,
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__divider--services,
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__section--services,
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__divider--online,
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__foot {
		display: block;
	}
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__nav .fb-shell-rail__item > a,
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__list--forums .fb-shell-rail__item > a,
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__list--services .fb-shell-rail__item > a,
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__me-btn {
		flex-direction: row;
		justify-content: flex-start;
		align-items: center;
		gap: 12px;
		min-height: 40px;
		margin: 0 0 2px;
		padding: 0 12px;
		white-space: nowrap;
		text-align: left;
		font-size: 14px;
		font-weight: 400;
	}
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__me-btn {
		margin: 0 12px 2px;
	}
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__nav .fb-shell-rail__ico,
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__list--forums .fb-shell-rail__ico,
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__me-btn .fb-shell-rail__ico {
		flex: 0 0 22px;
		width: 22px;
		height: 22px;
	}
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__nav .fb-shell-rail__item > a,
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__me-btn,
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__me-head,
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__section-title,
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__group-name {
		font-size: 14px;
		font-weight: 400;
		line-height: 20px;
		color: var(--fb-text, #111) !important;
	}
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__nav .fb-shell-rail__item.is-active > a,
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__nav .fb-shell-rail__item.a > a,
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__list--forums .fb-shell-rail__item.is-active > a,
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__list--forums .fb-shell-rail__item.a > a {
		font-weight: 500;
	}
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__nav .fb-shell-rail__label,
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__list--forums .fb-shell-rail__label,
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__me-btn .fb-shell-rail__label {
		font-size: 14px;
		font-weight: inherit;
		line-height: 20px;
	}
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__list--me .fb-shell-rail__item > a,
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__list--me .fb-shell-rail__label {
		font-size: 13px;
		font-weight: 400;
		line-height: 1.3;
		color: var(--fb-text, #111) !important;
	}
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__me-head {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		gap: 8px;
		min-height: 40px;
		margin: 0 12px 2px;
		padding: 0 12px;
		text-align: left;
	}
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__section--me.is-authed .fb-shell-rail__list--me {
		display: block;
		position: static;
		min-width: 0;
		margin: 0;
		padding: 0 0 6px;
		list-style: none;
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__section--me.is-authed .fb-shell-rail__list--me::before {
		display: none;
	}
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__section--me .fb-shell-rail__me-btn,
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__section--me.is-authed .fb-shell-rail__me-btn {
		display: none;
	}
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__foot {
		font-size: 11px;
		line-height: 1.5;
		color: var(--fb-muted, #6b7280) !important;
	}
	body.fabuba.fb-shell.fb-rail-drawer-open.fb-rail-mini .fb-shell-rail__list {
		padding: 0 12px;
	}
	body.fabuba.fb-shell.fb-rail-hidden .fb-shell-rail {
		display: none;
	}
	body.fabuba.fb-shell.fb-rail-hidden.fb-rail-drawer-open .fb-shell-rail {
		display: flex !important;
	}
	body.fabuba.fb-shell .fb-shell-search {
		width: min(420px, 100%);
	}
}

/* —— 我的用户组：单表三列预览 —— */
body.fabuba.fb-shell .fb-ug-table {
	table-layout: fixed !important;
	width: 100% !important;
}
body.fabuba.fb-shell .fb-ug-table th[colspan] {
	text-align: left !important;
	background: var(--fb-dt-th-bg, #1b1d1d) !important;
	color: var(--fb-muted, #a8adb3) !important;
	font-weight: 500 !important;
}
body.fabuba.fb-shell .fb-ug-table td:nth-child(2),
body.fabuba.fb-shell .fb-ug-table td:nth-child(3),
body.fabuba.fb-shell .fb-ug-table thead th:nth-child(2),
body.fabuba.fb-shell .fb-ug-table thead th:nth-child(3) {
	text-align: center !important;
}
body.fabuba.fb-shell .fb-ug-table .fico-valid,
body.fabuba.fb-shell .fb-ug-table .fico-invalid,
body.fabuba.fb-shell .fb-ug-table img {
	vertical-align: middle !important;
	max-height: 16px !important;
}
body.fabuba.fb-shell .fb-ug-forum {
	width: 100% !important;
}
body.fabuba.fb-shell .fb-ug-forum tr.alt td,
body.fabuba.fb-shell .fb-ug-forum tr.alt th {
	background: var(--fb-surface, #17181a) !important;
}
body.fabuba.fb-shell .fb-ug-forum td:not(:first-child),
body.fabuba.fb-shell .fb-ug-forum thead th:not(:first-child) {
	text-align: center !important;
}
body.fabuba.fb-shell .fb-ug-forum .fb-ug-forum__sub {
	padding-left: 28px !important;
}
body.fabuba.fb-shell .fb-ug-forum .fico-valid,
body.fabuba.fb-shell .fb-ug-forum .fico-invalid {
	vertical-align: middle !important;
}
@media (max-width: 900px) {
	body.fabuba.fb-shell .fb-ug-table,
	body.fabuba.fb-shell .fb-ug-forum {
		display: block !important;
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch;
	}
	body.fabuba.fb-shell .fb-ug-table th,
	body.fabuba.fb-shell .fb-ug-table td,
	body.fabuba.fb-shell .fb-ug-forum th,
	body.fabuba.fb-shell .fb-ug-forum td {
		white-space: nowrap !important;
		font-size: 12px !important;
		padding: 10px 8px !important;
	}
}