{/* 高度断点必须用 md(768) 而非 sm(640):PageLayout 的 headerBarHeight 按
MOBILE_BREAKPOINT=768 算 56/64,用 sm 会让 640~767px 区间实际 64px、
而侧栏 top、抽屉遮罩 top 全按 56px 定位,差 8px。 */}
{/* 移动端:主导航收进下拉菜单,避免与右侧操作区互相挤压 */}
{!isAuthPage &&
isMobile &&
(!isLoading || mainNavLinks.length > 0) && (
)}
{!isAuthPage && !isMobile && (
)}
{/* CSS for shimmer animation */}