/* 全站顶部导航（被所有页面共用，类名都以 fn- 开头，避免和页面自身样式冲突） */
.fn-bar { position: sticky; top: 12px; z-index: 50; max-width: 1180px; margin: 12px auto 22px;
  display: flex; align-items: center; gap: 18px; padding: 10px 12px 10px 18px;
  background: rgba(14, 17, 21, .82); border: 1px solid #262c35; border-radius: 999px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", system-ui, sans-serif;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28); box-sizing: border-box; }
.fn-brand { display: flex; align-items: center; gap: 9px; color: #f2f5f7; text-decoration: none;
  font-weight: 800; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; }
.fn-brand i { width: 9px; height: 9px; border-radius: 50%; background: #c8ff2e;
  box-shadow: 0 0 0 4px rgba(200, 255, 46, .16), 0 0 14px rgba(200, 255, 46, .7); }
.fn-links { display: flex; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.fn-links::-webkit-scrollbar { display: none; }
.fn-links a { color: #8b95a1; text-decoration: none; font-size: 14px; font-weight: 600; padding: 7px 13px;
  border-radius: 999px; white-space: nowrap; transition: color .15s, background .15s; }
.fn-links a:hover { color: #f2f5f7; background: rgba(255, 255, 255, .05); }
.fn-links a.on { color: #0a0c0f; background: #c8ff2e; }
.fn-user { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.fn-user a { text-decoration: none; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; }
.fn-login { color: #0a0c0f; background: #f2f5f7; }
.fn-me { color: #f2f5f7; border: 1px solid #2f3641; display: inline-flex; align-items: center; gap: 7px; }
.fn-me b { width: 22px; height: 22px; border-radius: 50%; background: #c8ff2e; color: #0a0c0f;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
@media (max-width: 720px) {
  .fn-bar { top: 8px; flex-wrap: wrap; gap: 8px 10px; border-radius: 20px; padding: 10px 12px; }
  .fn-links { order: 3; flex-basis: 100%; }
  .fn-user { margin-left: auto; }
  .fn-links a { padding: 6px 11px; font-size: 13px; }
}
