/* ===== CSS Variables ===== */
:root {
  --primary: #0a0f1e;
  --secondary: #111827;
  --accent: #c9a84c;
  --accent-light: #e8c96a;
  --accent-pale: rgba(201,168,76,0.1);
  --text-main: #e8eaf0;
  --text-muted: #8b93a8;
  --surface: #151d30;
  --surface2: #1c2540;
  --border: rgba(201,168,76,0.2);
  --border-strong: rgba(201,168,76,0.5);
  --highlight-red: #ff6b6b;
  --highlight-green: #4ecb71;
  --highlight-blue: #5b9cf6;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-gold: 0 4px 20px rgba(201,168,76,0.15);
  --radius: 4px;
  --radius-lg: 8px;
  --font-body: 'PingFang SC','Microsoft YaHei','Hiragino Sans GB','WenQuanYi Micro Hei',sans-serif;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-body); background: var(--primary); color: var(--text-main); line-height: 1.8; overflow-x: hidden; max-width: 100vw; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }

/* BG */
body::before {
  content: '';
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 900px 600px at 85% 15%, rgba(201,168,76,0.05) 0%, transparent 60%),
              radial-gradient(ellipse 500px 400px at 5% 85%, rgba(91,156,246,0.03) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}

/* ===== Topbar ===== */
.topbar {
  background: rgba(10,15,30,0.97);
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
  font-size: 12px;
  color: var(--text-muted);
  position: relative; z-index: 100;
}
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topbar a { color: var(--accent); }
.topbar a:hover { color: var(--accent-light); }

/* ===== Navbar ===== */
.navbar {
  position: sticky; top: 0; z-index: 999;
  background: rgba(10,15,30,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 20px;
  display: flex; align-items: center;
  height: 64px; gap: 0;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-right: auto; }
.nav-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; color: var(--primary); flex-shrink: 0;
}
.nav-logo-main { font-size: 17px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.nav-logo-sub { font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; flex-shrink: 0; }
.nav-links a {
  display: flex; align-items: center;
  height: 64px; padding: 0 18px;
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  transition: var(--transition);
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); border-bottom-color: var(--accent); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px;
  background: none; border: none; margin-left: 12px; flex-shrink: 0;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--accent); display: block; }

/* ===== Breadcrumb ===== */
.breadcrumb {
  max-width: 1200px; margin: 0 auto;
  padding: 14px 20px 0;
  font-size: 12px; color: var(--text-muted);
  position: relative; z-index: 1;
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb .sep { color: var(--text-muted); }
.breadcrumb .current { color: var(--text-main); }

/* ===== Main Layout ===== */
.main-layout {
  max-width: 1200px; margin: 0 auto;
  padding: 20px 20px 60px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  position: relative; z-index: 1;
  /* 防止子元素撑破宽度 */
  min-width: 0;
}

/* ===== Article ===== */
.article-wrap { min-width: 0; overflow: hidden; }

/* Article Header */
.article-header {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 32px 24px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.article-header::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), transparent);
}
.art-cat-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--accent);
  background: rgba(201,168,76,0.08);
  border: 1px solid var(--border);
  padding: 3px 12px; border-radius: 20px; margin-bottom: 14px;
}
.art-cat-badge::before { content: '●'; font-size: 8px; }
.art-title {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 800; color: #fff;
  line-height: 1.4; margin-bottom: 20px;
}
.art-meta-row {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap;
  font-size: 12px; color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}
.art-meta-item { display: flex; align-items: center; gap: 5px; }
.art-meta-icon { font-size: 13px; }

/* Article Body */
.article-body {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 20px;
  font-size: 15px;
  color: #d4d8e4;
  line-height: 1.9;
  /* 防止长链接或长词撑开 */
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}
.article-body h2 {
  font-size: 19px; font-weight: 800; color: #fff;
  margin: 36px 0 16px;
  padding: 0 0 10px 14px;
  border-left: 4px solid var(--accent);
  border-bottom: 1px dashed var(--border);
  line-height: 1.4;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-size: 16px; font-weight: 700; color: var(--accent-light);
  margin: 24px 0 10px;
}
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol {
  margin: 12px 0 20px 20px;
}
.article-body li { margin-bottom: 8px; }
.article-body strong { color: #fff; font-weight: 700; }

/* Highlights */
.hl-red { color: var(--highlight-red); font-weight: 700; }
.hl-green { color: var(--highlight-green); font-weight: 700; }
.hl-gold { color: var(--accent); font-weight: 700; }
.hl-blue { color: var(--highlight-blue); font-weight: 700; }

/* Inline text marks */
.mark-box {
  display: inline-block;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1px 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}

/* Anchor links in article */
.article-body a {
  color: var(--accent);
  border-bottom: 1px dashed rgba(201,168,76,0.4);
  transition: color 0.2s, border-color 0.2s;
}
.article-body a:hover {
  color: var(--accent-light);
  border-bottom-color: var(--accent-light);
}

/* Info box */
.info-box {
  background: rgba(91,156,246,0.06);
  border: 1px solid rgba(91,156,246,0.2);
  border-left: 4px solid var(--highlight-blue);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  color: #b8c8f0;
}
.info-box .info-title {
  font-size: 13px; font-weight: 700; color: var(--highlight-blue);
  margin-bottom: 8px; display: flex; align-items: center; gap: 6px;
}

/* Warning box */
.warn-box {
  background: rgba(255,107,107,0.06);
  border: 1px solid rgba(255,107,107,0.2);
  border-left: 4px solid var(--highlight-red);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  color: #f0b8b8;
}
.warn-box .warn-title {
  font-size: 13px; font-weight: 700; color: var(--highlight-red);
  margin-bottom: 8px; display: flex; align-items: center; gap: 6px;
}

/* Success box */
.success-box {
  background: rgba(78,203,113,0.06);
  border: 1px solid rgba(78,203,113,0.2);
  border-left: 4px solid var(--highlight-green);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  color: #b8e8c4;
}
.success-box .success-title {
  font-size: 13px; font-weight: 700; color: var(--highlight-green);
  margin-bottom: 8px; display: flex; align-items: center; gap: 6px;
}

/* Table */
.table-wrap {
  overflow-x: auto;
  overflow-y: visible;
  margin: 20px 0;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  /* 关键：防止撑开父容器 */
  display: block;
  width: 100%;
}
.table-wrap::-webkit-scrollbar { height: 4px; }
.table-wrap::-webkit-scrollbar-track { background: var(--surface2); }
.table-wrap::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }
.compare-table {
  width: 100%; border-collapse: collapse;
  font-size: 13px; color: var(--text-main);
  min-width: 480px; /* 表格内容需要的最小宽度，超出时横向滚动 */
}
.compare-table th {
  background: rgba(201,168,76,0.1);
  color: var(--accent);
  font-weight: 700;
  padding: 12px 14px;
  text-align: center;
  border: 1px solid var(--border);
  white-space: nowrap;
  font-size: 13px;
}
.compare-table td {
  padding: 11px 14px;
  border: 1px solid var(--border);
  text-align: center;
  line-height: 1.5;
  vertical-align: middle;
}
.compare-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
.compare-table tr:hover td { background: rgba(201,168,76,0.04); }
.compare-table .td-label {
  text-align: left; font-weight: 600; color: #d8dce8;
  background: rgba(255,255,255,0.02);
}
.td-good { color: var(--highlight-green); font-weight: 700; }
.td-mid { color: var(--accent); font-weight: 600; }
.td-bad { color: var(--highlight-red); }
.td-best {
  color: var(--highlight-green); font-weight: 700;
  position: relative;
}
.td-best::after {
  content: '推荐';
  font-size: 10px;
  background: var(--highlight-green);
  color: #000;
  padding: 1px 5px;
  border-radius: 2px;
  margin-left: 4px;
  vertical-align: middle;
  font-weight: 700;
}
.table-caption {
  font-size: 12px; color: var(--text-muted);
  text-align: right; margin-top: 6px;
}

/* Step list */
.step-list { display: flex; flex-direction: column; gap: 16px; margin: 20px 0; }
.step-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  transition: var(--transition);
}
.step-item:hover { border-color: var(--border-strong); }
.step-num {
  width: 32px; height: 32px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; color: var(--primary);
}
.step-content {}
.step-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.step-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* Checklist */
.checklist { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.check-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-main); line-height: 1.6;
}
.check-icon {
  width: 18px; height: 18px; flex-shrink: 0;
  background: rgba(78,203,113,0.15);
  border: 1px solid rgba(78,203,113,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--highlight-green);
  margin-top: 2px;
}

/* CTA inside article */
.article-cta {
  background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(201,168,76,0.03));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 28px 0;
  text-align: center;
}
.article-cta-title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.article-cta-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.article-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--primary); padding: 11px 26px;
  border-radius: var(--radius); font-size: 14px; font-weight: 700;
  transition: var(--transition); box-shadow: var(--shadow-gold);
  white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.35); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border-strong); color: var(--accent);
  padding: 11px 22px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; transition: var(--transition); white-space: nowrap;
}
.btn-outline:hover { background: rgba(201,168,76,0.08); }

/* WeChat Subscribe Module */
.wechat-subscribe {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin: 28px 0;
  display: flex;
  gap: 24px;
  align-items: center;
}
.ws-qr {
  flex-shrink: 0;
  width: 96px; height: 96px;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}
.ws-qr:hover { border-color: var(--accent); transform: scale(1.05); }
.ws-qr img { width: 100%; height: 100%; object-fit: cover; }
.ws-content {}
.ws-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  color: var(--highlight-green);
  background: rgba(78,203,113,0.1);
  border: 1px solid rgba(78,203,113,0.2);
  padding: 2px 8px; border-radius: 2px;
  margin-bottom: 10px;
}
.ws-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.ws-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }
.ws-phone { font-size: 18px; font-weight: 800; color: var(--accent); }

/* Prev / Next */
.prev-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.pn-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pn-card:hover { border-color: var(--border-strong); background: var(--surface2); }
.pn-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: var(--text-muted); display: flex; align-items: center; gap: 4px;
}
.pn-card.next .pn-label { justify-content: flex-end; }
.pn-title {
  font-size: 13px; color: var(--text-main); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color 0.2s;
}
.pn-card:hover .pn-title { color: var(--accent); }
.pn-card.next { text-align: right; }

/* Hot Recommend */
.hot-recommend {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.hot-header {
  background: rgba(201,168,76,0.06);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  font-size: 14px; font-weight: 700; color: var(--accent);
  display: flex; align-items: center; gap: 8px;
}
.hot-header::before { content: '🔥'; font-size: 14px; }
.hot-list { display: flex; flex-direction: column; }
.hot-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px; align-items: center;
  padding: 13px 20px;
  border-bottom: 1px dashed rgba(255,255,255,0.04);
  transition: background 0.2s;
}
.hot-item:last-child { border-bottom: none; }
.hot-item:hover { background: rgba(201,168,76,0.03); }
.hot-rank {
  width: 22px; height: 22px;
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; flex-shrink: 0;
}
.hot-rank.r1 { background: var(--highlight-red); color: #fff; }
.hot-rank.r2 { background: var(--accent); color: var(--primary); }
.hot-rank.r3 { background: #7c8db5; color: #fff; }
.hot-rank.rn { background: var(--surface2); color: var(--text-muted); }
.hot-title {
  font-size: 13px; color: var(--text-muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color 0.2s;
}
.hot-item:hover .hot-title { color: var(--accent); }
.hot-arrow { font-size: 11px; color: var(--accent); opacity: 0; transition: opacity 0.2s; flex-shrink: 0; }
.hot-item:hover .hot-arrow { opacity: 1; }

/* ===== Sidebar ===== */
.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 80px; }
.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sidebar-header {
  padding: 14px 18px;
  background: rgba(201,168,76,0.06);
  border-bottom: 1px solid var(--border);
  font-size: 13px; font-weight: 700; color: var(--accent);
  display: flex; align-items: center; gap: 8px;
}
.sidebar-header::before { content: ''; width: 3px; height: 14px; background: var(--accent); border-radius: 2px; flex-shrink: 0; }
.sidebar-body { padding: 16px 18px; }
.sidebar-phone { font-size: 22px; font-weight: 800; color: var(--accent); margin: 10px 0; }
.sidebar-qr {
  width: 120px; height: 120px; margin: 12px auto;
  border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden;
  cursor: pointer; transition: var(--transition);
}
.sidebar-qr:hover { border-color: var(--accent); transform: scale(1.05); }
.sidebar-qr img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-hint { font-size: 12px; color: var(--text-muted); }
.toc-list { display: flex; flex-direction: column; gap: 2px; }
.toc-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0; font-size: 13px; color: var(--text-muted);
  border-bottom: 1px dashed rgba(255,255,255,0.04);
  transition: color 0.2s; cursor: pointer;
}
.toc-item:last-child { border-bottom: none; }
.toc-item:hover { color: var(--accent); }
.toc-dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; flex-shrink: 0; opacity: 0.4; }
.toc-item:hover .toc-dot { opacity: 1; }
.sidebar-links { display: flex; flex-direction: column; }
.sidebar-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; font-size: 13px; color: var(--text-muted);
  border-bottom: 1px dashed rgba(255,255,255,0.05); transition: color 0.2s;
}
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: var(--accent); }

/* ===== Float Elements ===== */
.float-cs {
  position: fixed; left: 0; top: 50%; transform: translateY(-50%);
  z-index: 900; display: flex; flex-direction: column; gap: 2px;
}
.float-cs-btn {
  width: 44px; height: 44px;
  background: var(--surface2); border: 1px solid var(--border); border-left: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; cursor: pointer; transition: var(--transition);
  position: relative;
  animation: floatX 3s ease-in-out infinite;
}
.float-cs-btn:nth-child(2) { animation-delay: 0.6s; }
@keyframes floatX { 0%,100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.float-cs-btn:hover { background: var(--accent); transform: translateX(6px) !important; }
.float-cs-tooltip {
  position: absolute; left: 54px; top: 50%; transform: translateY(-50%);
  background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 6px 12px; font-size: 12px; color: var(--text-main); white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.2s; box-shadow: var(--shadow);
}
.float-cs-btn:hover .float-cs-tooltip { opacity: 1; pointer-events: auto; }

.float-right {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 900; display: flex; flex-direction: column; gap: 2px;
}
.float-right-card {
  background: var(--surface2); border: 1px solid var(--border); border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 12px 10px; text-align: center; cursor: pointer; transition: var(--transition);
}
.float-right-card:hover { background: var(--surface); border-color: var(--border-strong); }
.float-right-qr { width: 72px; height: 72px; border: 1px solid var(--border); border-radius: 2px; overflow: hidden; margin: 6px auto; }
.float-right-qr img { width: 100%; height: 100%; object-fit: cover; }
.float-right-phone { font-size: 12px; font-weight: 700; color: var(--accent); writing-mode: vertical-rl; padding: 8px 0; }

/* ===== Modal ===== */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.88); z-index: 9999;
  align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); padding: 36px;
  text-align: center; position: relative;
  max-width: 320px; width: 90%;
  animation: mIn 0.3s ease;
}
@keyframes mIn { from { opacity:0; transform:scale(0.88); } to { opacity:1; transform:scale(1); } }
.modal-close { position: absolute; top: 12px; right: 14px; background: none; border: none; color: var(--text-muted); font-size: 22px; cursor: pointer; line-height: 1; }
.modal-close:hover { color: var(--accent); }
.modal-qr-img { width: 200px; height: 200px; margin: 0 auto 16px; border: 2px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; }
.modal-qr-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.modal-sub { font-size: 13px; color: var(--text-muted); }
.modal-phone { font-size: 22px; font-weight: 800; color: var(--accent); margin-top: 14px; }

/* ===== Mobile Bottom Bar ===== */
.mobile-bottom-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--surface2); border-top: 1px solid var(--border);
  padding: 10px 16px; z-index: 800;
  flex-direction: row; align-items: center; justify-content: space-between; gap: 10px;
}
.mobile-bottom-phone { font-size: 15px; font-weight: 800; color: var(--accent); }
.mobile-bottom-qr { width: 52px; height: 52px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; flex-shrink: 0; }
.mobile-bottom-qr img { width: 100%; height: 100%; object-fit: cover; }
.mobile-bottom-call { background: var(--accent); color: var(--primary); padding: 9px 18px; border-radius: var(--radius); font-weight: 700; font-size: 14px; white-space: nowrap; }

/* ===== Footer ===== */
.footer {
  background: var(--secondary);
  border-top: 1px solid var(--border);
  padding: 24px 20px;
  position: relative; z-index: 1;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-icp { font-size: 12px; color: var(--text-muted); }
.footer-icp a { color: var(--text-muted); }
.footer-icp a:hover { color: var(--accent); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .main-layout { grid-template-columns: 1fr; padding: 16px 16px 60px; }
  .sidebar { display: none; }
  .float-right { display: none; }
  .mobile-bottom-bar { display: flex; }
  body { padding-bottom: 76px; }
}
@media (max-width: 600px) {
  .nav-inner { height: 56px; }
  .nav-logo-sub { display: none; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 56px; left: 0; right: 0;
    background: rgba(10,15,30,0.99); border-bottom: 1px solid var(--border);
    padding: 8px 0; gap: 0; z-index: 999;
  }
  .nav-links.open a { height: auto; padding: 14px 24px; border-bottom: none; border-top: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .topbar { display: none; }
  .float-cs { display: none; }
  /* 文章区域减少内边距 */
  .article-header { padding: 18px 16px 14px; }
  .article-body { padding: 18px 16px; font-size: 14px; }
  .article-body h2 { font-size: 16px; }
  .article-body h3 { font-size: 14px; }
  .info-box, .warn-box, .success-box { padding: 12px 14px; font-size: 13px; }
  /* 上下篇单列 */
  .prev-next { grid-template-columns: 1fr; gap: 10px; }
  /* 微信订阅模块 */
  .wechat-subscribe { flex-direction: column; align-items: center; text-align: center; padding: 18px 16px; gap: 16px; }
  /* CTA */
  .article-cta { padding: 18px 16px; }
  .article-cta-btns { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  /* 热门推荐 */
  .hot-item { grid-template-columns: 28px 1fr; gap: 8px; padding: 11px 14px; }
  .hot-arrow { display: none; }
  /* step */
  .step-item { padding: 12px 14px; gap: 12px; }
  /* checklist */
  .check-item { font-size: 13px; }
  /* 面包屑 */
  .breadcrumb { padding: 10px 16px 0; font-size: 11px; }
  .breadcrumb .current { 
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 160px; display: inline-block; vertical-align: bottom;
  }
  /* 底部 */
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (min-width: 601px) { .nav-links { display: flex !important; } }