/* ============================================================================
   腾龙发科 AI 元宇宙 · V73 顶栏优化层  eco-topbar-v73.css
   作用：① 统一顶部导航「旺财AI管家」入口样式（余额已移入管家面板，顶栏不再显示余额）
        ② 首页 / 各前端页顶部导航的间距、换行、移动端适配优化
   叠加于 wangcai-eco-v72.css / site-nav-v61.css 之上；零第三方依赖。
   ============================================================================ */

/* ---------------- 一、顶栏旺财AI管家入口 ---------------- */
.we72-topbar-user {
  display: inline-flex; align-items: center; gap: 6px;
  flex: 0 0 auto; white-space: nowrap;
}
.we72-topbar-user .we72-chip {
  height: 30px; padding: 0 12px; font-size: 12.5px;
  display: inline-flex; align-items: center; gap: 5px;
  border-radius: 999px; line-height: 1;
  transition: transform .16s, box-shadow .16s;
}
.we72-topbar-user .we72-chip.we72-chip-pri {
  background: linear-gradient(100deg, #3b82f6, #7b5bff 55%, #22d3ee);
  border-color: transparent; color: #fff; font-weight: 600;
  box-shadow: 0 4px 14px rgba(91, 140, 255, .32);
}
.we72-topbar-user .we72-chip.we72-chip-pri:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(91, 140, 255, .45); }
.we72-topbar-user .we72-chip i { font-style: normal; }

/* ---------------- 二、顶部导航条通用优化 ---------------- */
.tl-header-inner,
.top-bar-inner {
  display: flex; align-items: center; gap: 14px;
  min-height: 60px; padding: 0 18px;
}
.tl-nav, .top-nav {
  display: flex; align-items: center; gap: 4px;
  flex: 1 1 auto; min-width: 0;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none;
}
.tl-nav::-webkit-scrollbar, .top-nav::-webkit-scrollbar { height: 0; }
.tl-nav-link, .top-nav > a {
  flex: 0 0 auto; padding: 7px 11px; border-radius: 9px;
  font-size: 13px; color: #cbd5e1; text-decoration: none;
  white-space: nowrap; transition: background .16s, color .16s;
}
.tl-nav-link:hover, .top-nav > a:hover { background: rgba(91, 140, 255, .16); color: #fff; }
.tl-nav-link.active, .top-nav > a.active { color: #fff; background: rgba(91, 140, 255, .24); }
.tl-header-actions, .top-actions, .topnav-actions {
  display: flex; align-items: center; gap: 8px; flex: 0 0 auto;
}

/* ---------------- 三、移动端 ---------------- */
@media (max-width: 900px) {
  .tl-header-inner, .top-bar-inner { min-height: 54px; padding: 0 12px; gap: 8px; }
  .tl-nav, .top-nav { gap: 2px; }
  .tl-nav-link, .top-nav > a { padding: 6px 9px; font-size: 12.5px; }
  .we72-topbar-user .we72-chip { height: 28px; padding: 0 10px; font-size: 12px; }
}
@media (max-width: 560px) {
  .we72-topbar-user .we72-chip span { max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
