/* ===== 全站统一 · 顶部导航栏（参考首页样式） =====
   固定色值，不依赖页面内CSS变量 */
.topbar {
  height: 73px !important;
  background: #fff !important;
  border-bottom: 1px solid #E5E7EB !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 34px !important;
  position: relative !important;
  z-index: 50 !important;
  flex-shrink: 0 !important;
}
/* 面包屑 */
.breadcrumb { font-size: 14px !important; color: #9ca3af !important; line-height: 1 !important; }
.breadcrumb b { color: #374151 !important; font-weight: 600 !important; }
/* 首页品牌区 */
.topbar-brand { display: flex !important; align-items: center !important; font-size: 14px !important; color: #6B7280 !important; }
/* 右上 */
.topbar-right { display: flex !important; align-items: center !important; gap: 16px !important; }
.topbar-right .user { font-size: 13px !important; color: #9ca3af !important; }
.topbar-right .btn-create {
  background: linear-gradient(135deg,#6b5cff,#9c4dff) !important;
  color: #fff !important;
  padding: 9px 22px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  border: none !important;
  cursor: pointer !important;
  font-family: inherit !important;
  line-height: 1 !important;
  box-shadow: 0 3px 10px rgba(107,92,255,.22) !important;
}
.topbar-right .btn-create:hover { opacity: .9 !important; }
/* 用户名区：可点击，右侧下拉箭头 + 下拉菜单 */
.topbar-right .topbar-user { display: inline-flex !important; align-items: center !important; gap: 6px !important; cursor: pointer !important; position: relative !important; padding: 6px 14px !important; border-radius: 8px !important; transition: background-color .15s ease !important; }
.topbar-right .topbar-user:hover { background: #F3F3FE !important; }
/* 未登录态：用户区呈现为带边框的「登 录」按钮 */
.topbar-right .topbar-user.logged-out { border: 1px solid #6b5cff !important; color: #6b5cff !important; background: #fff !important; }
.topbar-right .topbar-user.logged-out:hover { background: #F3F3FE !important; }
.topbar-right .topbar-user.logged-out .user { color: #6b5cff !important; font-weight: 500 !important; }
.topbar-right .topbar-user .user { display: inline-flex !important; align-items: center !important; color: #333 !important; font-size: 13px !important; white-space: nowrap !important; }
.topbar-right .caret { font-size: 14px !important; color: #6b5cff !important; line-height: 1 !important; transition: transform .2s ease !important; }
.topbar-right .user-dropdown {
  position: absolute !important; top: calc(100% + 6px) !important; right: 0 !important;
  background: #fff !important; border: 1px solid #E5E7EB !important; border-radius: 10px !important;
  box-shadow: 0 8px 24px rgba(15,23,42,.12) !important; z-index: 200 !important;
  min-width: 140px !important; padding: 6px !important;
}
.topbar-right .ud-item { padding: 9px 14px !important; font-size: 13px !important; color: #333 !important; border-radius: 6px !important; cursor: pointer !important; white-space: nowrap !important; }
.topbar-right .ud-item:hover { background: #F3F3FE !important; color: #6b5cff !important; }
.topbar-right .ud-logout { color: #dc2626 !important; }
.topbar-right .ud-logout:hover { background: #fef2f2 !important; color: #ef4444 !important; }

/* ===== 全站响应式：顶栏随窗口宽度自适应（防品牌文字换行/溢出） =====
   - <1000px：隐藏副标题（.brd-s）与间隔，保留主标题
   - <640px ：顶栏内边距收窄，主标题字号缩小，创作按钮文字精简 */



