/* ============================================================
   万联创孵 · 全局顶部导航栏（公共组件）
   全站所有带导航的页面统一引用本文件，改这一处即可全站生效。

   桌面端样式（≥801px）；≤800px 的移动端样式由 mobile.css 兜底。
   注意：本文件必须放在各页 <link> 的最后（mobile.css 之后），
   以覆盖各页面历史上各自手写的 .t-nav 高度（52/56/60/64px）。
   ============================================================ */
@media (min-width: 801px) {
  .t-nav {
    position: sticky; top: 0; z-index: 200;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e6eb;
    height: 60px; display: flex; align-items: center;
    padding: 0 36px; min-width: 320px;
    gap: 24px;
  }
  .t-nav .brand {
    display: flex; align-items: center; gap: 6px; text-decoration: none;
    color: #007AFF; font-size: 18px; font-weight: 700; letter-spacing: .8px;
    white-space: nowrap; flex-shrink: 0;
  }
  .t-nav .brand img { height: 48px; width: auto; display: block; }
  .t-nav .links {
    display: flex; align-items: center; gap: 24px;
    flex: 1; justify-content: center;
    position: static; transform: none;        /* 覆盖个别页面 absolute 居中的旧写法 */
    margin-left: 0;
    overflow-x: auto; white-space: nowrap;
  }
  .t-nav .links a {
    text-decoration: none; color: #333; padding: 6px 10px; font-size: 14px;
    transition: color .15s, background .15s; white-space: nowrap; border-radius: 6px;
    height: auto; line-height: 1.6;          /* 覆盖 64px 行高的旧写法 */
    border-bottom: none;                     /* 覆盖 border-bottom 高亮的旧写法 */
    border: none;
  }
  .t-nav .links a:hover { color: #007AFF; background: #eaf6fb; }
  .t-nav .links a.active { color: #007AFF; font-weight: 600; background: #e6f4fa; }
  .t-nav .right, .t-nav .nav-right {
    margin-left: auto; display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  }
  .nav-user-info { font-size: 13px; color: #666; white-space: nowrap; }
  .nav-user-info b { color: #1D1D1F; font-weight: 600; }
  .btn-nav-ghost {
    border: 1px solid #d9d9d9; border-radius: 4px; padding: 5px 12px;
    font-size: 13px; cursor: pointer; background: transparent;
    color: #666; transition: all .15s; white-space: nowrap; text-decoration: none;
  }
  .btn-nav-ghost:hover { border-color: #007AFF; color: #007AFF; }
}
