/* 固定页脚的占位与实际高度同步，留出最后一张内容卡片的间距。 */
body.bv-clientarea-shell {
	--bv-footer-sidebar:220px;
	--bv-footer-gap:12px;
	--bv-footer-inset:12px;
}
body.bv-clientarea-shell.vertical-collpsed { --bv-footer-sidebar:70px; }
/* The shared footer spacer takes over the original layout padding. */
body.bv-clientarea-shell:where(:has(> .bv-clientarea-footer-space)) .main-content > .page-content {
	padding-bottom:0;
}
body.bv-clientarea-shell .bv-clientarea-footer-space {
	flex:none;
	height:calc(var(--bv-footer-height, 80px) + var(--bv-footer-gap));
}
body.bv-clientarea-shell footer.footer.bv-clientarea-fixed-footer {
	position:fixed;
	left:var(--bv-footer-sidebar) !important;
	right:0 !important;
	bottom:0 !important;
	z-index:100;
	width:auto;
	height:auto;
	min-height:0;
	margin:0;
	padding:0 24px calc(var(--bv-footer-inset) + env(safe-area-inset-bottom, 0px));
	box-sizing:border-box;
	background:transparent;
	border:0;
	box-shadow:none;
	pointer-events:none;
	visibility:hidden;
}
body.bv-clientarea-shell footer.footer.bv-clientarea-fixed-footer.is-at-bottom {
	visibility:visible;
}
body.bv-clientarea-shell footer.footer.bv-clientarea-fixed-footer > .container-fluid {
	width:100%;
	padding:20px 24px;
	box-sizing:border-box;
	background:var(--surface, #fff);
	border:1px solid var(--line, #E5E8EF);
	border-radius:var(--r-card, 14px);
	box-shadow:var(--sh-2, 0 8px 24px rgba(32,45,64,.08));
	pointer-events:auto;
}
body.bv-clientarea-shell footer.footer.bv-clientarea-fixed-footer > .container-fluid > .row {
	align-items:center;
	max-width:none;
	margin-top:0;
}
@media (max-width:991.98px) {
	body.bv-clientarea-shell,
	body.bv-clientarea-shell.vertical-collpsed {
		--bv-footer-sidebar:0px;
		--bv-footer-gap:16px;
		--bv-footer-inset:8px;
	}
	body.bv-clientarea-shell footer.footer.bv-clientarea-fixed-footer {
		padding-left:12px;
		padding-right:12px;
	}
	body.bv-clientarea-shell footer.footer.bv-clientarea-fixed-footer > .container-fluid {
		padding:18px 20px;
	}
}
