/* 全站统一前台登录态账户条（顶栏右上角）。各页引入即生效，并隐藏各自旧账户条。 */
.fub { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 13px; white-space: nowrap; }
.fub[hidden] { display: none; }
.fub-user { color: #334155; font-weight: 600; }
.fub-menu { position: relative; }
.fub-menu-btn { border: 1px solid #cfe0ff; background: #eef4ff; color: #1d4ed8; border-radius: 8px; padding: 6px 11px; font-size: 13px; font-weight: 700; cursor: pointer; }
.fub-menu-btn:hover { background: #e0ecff; }
.fub-menu-list { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid #e5ebf5; border-radius: 10px; box-shadow: 0 12px 28px rgba(15,23,42,.14); min-width: 168px; padding: 6px; z-index: 1200; display: flex; flex-direction: column; }
.fub-menu-list[hidden] { display: none; }
.fub-menu-list a { padding: 8px 11px; border-radius: 7px; color: #334155; font-size: 13px; text-decoration: none; }
.fub-menu-list a:hover { background: #f1f5f9; }
.fub-menu-list a.fub-primary { font-weight: 700; color: #1d4ed8; }
.fub-menu-list a[hidden] { display: none; }
.fub-logout { border: 1px solid #fdba74; background: #fff7ed; color: #c2410c; border-radius: 8px; padding: 6px 11px; font-size: 13px; font-weight: 700; cursor: pointer; }
.fub-logout:hover { background: #ffedd5; }

@media (max-width: 760px) {
  .fub-user { max-width: 44vw; overflow: hidden; text-overflow: ellipsis; }
}

/* 隐藏各页旧的、各写各的登录态条，统一改用顶栏共享账户条 */
.auth-userbar,
#lpUserBar,
#bmrUserBar,
#slUserBar,
#lcgUserBar { display: none !important; }
