/* Align mirrored docs with AI新生产力 site chrome */
:root {
  --bg: #0b0e14;
  --panel: #141926;
  --border: #232c40;
  --text: #eef1f8;
  --muted: #98a2b8;
  --qwen: #ff6a3d;
  --accent: #ff6a3d !important;
  --accent-text: #ff6a3d !important;
}

html.dark body,
body {
  background: var(--bg) !important;
  color: var(--text) !important;
}

.site-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  background: rgba(11, 14, 20, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

.site-topbar a {
  text-decoration: none;
}

.site-topbar .brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-topbar .brand span {
  color: var(--qwen);
}

.site-topbar .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-topbar .links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.site-topbar .links a:hover {
  border-color: rgba(255, 106, 61, 0.45);
  background: rgba(255, 106, 61, 0.12);
  color: #fff;
}

/* 隐藏原站点自带顶栏（栏目导航 / 语言 / 主题切换） */
header.sticky {
  display: none !important;
}
