/* ===========================================================
   AI 集市 · 前台样式
   设计令牌照搬参考站，保持同一套视觉语言
   =========================================================== */
:root {
  --primary: #3478e5;
  --primary-hover: #2463c7;
  --primary-dark: #1d4f9e;
  --primary-light: #edf5ff;
  --primary-soft: #dceafe;
  --grad-primary: linear-gradient(135deg, #4a8af0, #3478e5);
  --accent: #ef4444;
  --price: #243247;
  --bg-page: #f6f8fc;
  --bg-card: #fff;
  --text-primary: #243247;
  --text-secondary: #59677b;
  --text-muted: #6a778d;
  --border: #e1e7f0;
  --border-light: #edf1f7;
  --danger: #ef4444;
  --success: #16a34a;
  --warning: #f59e0b;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);
  --header-h: 64px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 12px; }
ul, ol { margin: 0; padding-left: 1.2em; }
.ic { flex: none; vertical-align: -0.15em; }
.muted { color: var(--text-muted); }
.secondary { color: var(--text-secondary); }
.hidden { display: none !important; }

.container { max-width: 1440px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 1080px; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
  background: #fff;
}
.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(52, 120, 229, 0.28);
}
.btn-primary:hover { filter: brightness(1.04); box-shadow: 0 4px 14px rgba(52, 120, 229, 0.36); }
.btn-outline { border-color: var(--border); color: var(--text-primary); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: var(--primary-light); color: var(--primary); }
.btn-light:hover { background: var(--primary-soft); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--primary); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 7px; }
.btn-lg { height: 46px; padding: 0 24px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---------------- 顶栏 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-light);
}
.nav-inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 800; letter-spacing: -0.2px; }
.brand-logo { width: 32px; height: 32px; flex: none; }
.brand-name b { color: var(--primary); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 4px; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 11px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  transition: background 0.15s, color 0.15s;
}
.nav-link:hover { color: var(--primary); background: var(--primary-light); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.tag-hot {
  display: inline-block;
  margin-left: 2px;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.3px;
}
.nav-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.searchbox { position: relative; width: 210px; }
.searchbox .ic { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: #98a4b6; }
.searchbox input {
  width: 100%;
  height: 36px;
  padding: 0 12px 0 32px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f2f5fa;
  font-size: 13px;
  outline: none;
  transition: all 0.18s;
}
.searchbox input:focus { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(52, 120, 229, 0.12); }
.searchbox input::placeholder { color: #96a1b3; }
.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}
.user-pill:hover { background: var(--primary-soft); }
.menu-toggle { display: none; }

.mobile-nav { display: none; border-top: 1px solid var(--border-light); background: #fff; padding: 8px 0 14px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 10px 28px; font-size: 15px; }
.mobile-nav a.active { color: var(--primary); font-weight: 600; }

/* ---------------- 通用区块 ---------------- */
.section { margin: 30px 0; }
.section-head { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.section-icon {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--primary-light);
  color: var(--primary);
  flex: none;
  margin-bottom: 2px;
}
.section-title { font-size: 19px; font-weight: 800; letter-spacing: -0.2px; }
.section-sub { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.section-more { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--primary); font-weight: 600; }
.section-more:hover { color: var(--primary-hover); }
.panel { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.panel-pad { padding: 24px; }
.divider { height: 1px; background: var(--border-light); margin: 22px 0; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf2ff 0%, #f2f7ff 55%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border-light);
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -160px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(74, 138, 240, 0.16), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 48px;
  align-items: center;
  padding: 46px 28px 52px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--primary-soft);
  color: var(--primary);
  font-size: 12px; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.hero h1 {
  margin: 16px 0 12px;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.15;
}
.hero h1 .hl { position: relative; color: var(--primary); white-space: nowrap; }
.hero h1 .hl::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 2px;
  height: 8px; border-radius: 4px;
  background: rgba(74, 138, 240, 0.18);
  z-index: -1;
}
.hero h1 .hl-dark { color: var(--primary-dark); }
.hero-desc { max-width: 520px; font-size: 15px; line-height: 1.75; color: var(--text-secondary); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 24px; }
.hero-points span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-secondary); }
.hero-points .ic { color: var(--primary); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.price-card { background: #fff; border-radius: var(--radius-lg); box-shadow: 0 12px 40px rgba(16, 24, 40, 0.1); padding: 20px 20px 14px; position: relative; }
.price-card-head { display: flex; align-items: flex-start; gap: 10px; }
.price-card-head h3 { font-size: 15px; font-weight: 700; }
.price-card-head .sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.price-legend { display: flex; gap: 12px; margin: 14px 0 4px; flex-wrap: wrap; }
.legend-item { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--text-secondary); cursor: pointer; border: 0; background: none; padding: 0; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; }
.legend-item.on { color: var(--text-primary); font-weight: 600; }
.chart-wrap { position: relative; }
.chart { width: 100%; height: auto; display: block; }
.chart-tabs { display: flex; gap: 6px; border-top: 1px solid var(--border-light); margin-top: 8px; padding-top: 10px; }
.chart-tab {
  flex: 1; height: 30px; border: 0; border-radius: 7px; background: #f5f7fb;
  font-size: 12px; color: var(--text-secondary); cursor: pointer; font-weight: 500;
}
.chart-tab.on { background: var(--primary-light); color: var(--primary); font-weight: 700; }

/* ---------------- 声明条 ---------------- */
.notice-bar { background: #fff; border-bottom: 1px solid var(--border-light); }
.notice-inner { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 0; font-size: 12.5px; color: var(--text-muted); }
.notice-inner .ic { color: var(--text-muted); }
.notice-inner b { color: var(--text-secondary); font-weight: 600; }
.notice-inner a { margin-left: auto; color: var(--text-muted); white-space: nowrap; }
.notice-inner a:hover { color: var(--primary); }

/* ---------------- 广告位 ---------------- */
.ad-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ad-card {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  border: 1px dashed #cbd8ea;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fbfdff, #f6f9ff);
  min-height: 78px;
}
.ad-badge { font-size: 11px; color: var(--text-muted); border: 1px solid var(--border); border-radius: 999px; padding: 1px 8px; margin-left: auto; align-self: flex-start; background: #fff; }
.ad-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid var(--border-light); color: var(--primary); flex: none; }
.ad-card h4 { font-size: 14px; font-weight: 600; }
.ad-card p { margin: 2px 0 0; font-size: 12px; color: var(--text-muted); }

/* ---------------- 平台卡 ---------------- */
.site-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.site-card {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: all 0.18s ease;
  min-width: 0;
}
.site-card:hover { border-color: var(--primary-soft); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.logo {
  width: 42px; height: 42px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  font-size: 17px; font-weight: 700; color: #fff;
  letter-spacing: 0;
  overflow: hidden;
  background: #e8eefb;
}
.logo img { width: 100%; height: 100%; object-fit: cover; }
.site-card-main { min-width: 0; flex: 1; }
.site-card-name { display: flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.site-card-name .ic { color: var(--primary); }
.site-card-desc {
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-card-desc.one-line { -webkit-line-clamp: 1; }

/* ---------------- 产品广场 ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.product-card { display: flex; gap: 12px; padding: 18px; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); transition: all 0.18s; }
.product-card:hover { border-color: var(--primary-soft); box-shadow: var(--shadow-md); }
.product-thumb { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; flex: none; font-weight: 700; }
.product-card h4 { font-size: 14.5px; }
.product-card p { margin: 3px 0 0; font-size: 12px; color: var(--text-muted); }
.product-meta { margin-top: 8px; display: flex; gap: 12px; font-size: 11.5px; color: var(--text-muted); }
.product-submit { border-style: dashed; border-color: #cbd8ea; display: grid; place-items: center; text-align: center; color: var(--primary); background: #fbfdff; }
.product-submit .plus { width: 34px; height: 34px; border-radius: 50%; border: 1px dashed var(--primary-soft); display: grid; place-items: center; margin: 0 auto 6px; }

/* ---------------- 官方订阅 ---------------- */
.official-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.app-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 18px 18px 14px; display: flex; flex-direction: column; }
.app-head { display: flex; align-items: center; gap: 10px; }
.app-logo { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px; flex: none; }
.app-head h3 { font-size: 16px; }
.app-sub { margin: 10px 0 6px; font-size: 12px; color: var(--text-muted); }
.plan-list { display: flex; flex-direction: column; }
.plan-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--border-light); font-size: 13px; }
.plan-row:last-child { border-bottom: 0; }
.plan-name { font-weight: 600; white-space: nowrap; }
.period-tag { font-size: 10.5px; padding: 0 5px; border-radius: 4px; background: #f1f4f9; color: var(--text-muted); line-height: 1.6; flex: none; }
.period-tag.year { background: #fff4e5; color: #b45309; }
.plan-region { font-size: 12px; color: var(--text-muted); margin-left: auto; white-space: nowrap; }
.plan-price { font-size: 14px; font-weight: 700; color: var(--price); min-width: 62px; text-align: right; font-variant-numeric: tabular-nums; }
.plan-toggle { margin-top: 10px; }
.app-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; font-size: 11.5px; color: var(--text-muted); border-top: 1px solid var(--border-light); }

/* ---------------- 工具 ---------------- */
.tools-layout { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 18px; }
.tool-cats { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 8px; height: fit-content; }
.tool-cat { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: 13px; color: var(--text-secondary); cursor: pointer; border: 0; background: none; width: 100%; text-align: left; }
.tool-cat:hover { background: #f6f9ff; color: var(--primary); }
.tool-cat.on { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tool-card { display: flex; gap: 10px; padding: 13px; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); transition: all 0.18s; min-width: 0; }
.tool-card:hover { border-color: var(--primary-soft); box-shadow: var(--shadow-md); }
.tool-logo { width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; }
.tool-card h4 { font-size: 13px; }
.tool-card p { margin: 2px 0 0; font-size: 11px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------- 副业文章 ---------------- */
.post-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.post-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; transition: all 0.18s; display: flex; flex-direction: column; }
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-cover { aspect-ratio: 16 / 8.4; background: linear-gradient(135deg, #dce9ff, #eef4ff); position: relative; display: grid; place-items: center; color: rgba(52, 120, 229, 0.35); overflow: hidden; }
.post-cover::before {
  content: attr(data-mark);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 76px; font-weight: 800; letter-spacing: -4px;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 2px 18px rgba(16, 24, 40, 0.06);
}
.post-cover.c1 { background: linear-gradient(135deg, #cfe1ff, #eaf3ff); }
.post-cover.c2 { background: linear-gradient(135deg, #d6f2ec, #eafaf6); }
.post-cover.c3 { background: linear-gradient(135deg, #ffe6d5, #fff4ec); }
.post-cover.c4 { background: linear-gradient(135deg, #e4ddff, #f2eeff); }
.post-cover.c5 { background: linear-gradient(135deg, #ffdfe6, #fff0f3); }
.post-cover.c6 { background: linear-gradient(135deg, #ddd9cf, #f4f1ea); }
.post-cover-tag { position: absolute; left: 10px; top: 10px; z-index: 1; height: 20px; padding: 0 8px; border-radius: 5px; background: rgba(255, 255, 255, 0.86); color: var(--primary-dark); font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 12px 14px 14px; }
.post-body h3 { font-size: 13.5px; font-weight: 600; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 11.5px; color: var(--text-muted); }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #c6cfdd; }
.post-tag { font-size: 10.5px; color: var(--primary); background: var(--primary-light); border-radius: 4px; padding: 0 6px; line-height: 1.7; }

/* ---------------- FAQ ---------------- */
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.faq-grid .faq-card:last-child:nth-child(odd) { grid-column: span 2; }
.faq-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 18px 20px 16px; }
.faq-q { display: flex; gap: 9px; font-size: 14px; font-weight: 600; }
.faq-num { font-size: 12px; font-weight: 700; color: var(--primary); padding-top: 1px; }
.faq-a { margin: 8px 0 0 25px; font-size: 12.5px; line-height: 1.75; color: var(--text-muted); }

/* ---------------- 页脚 ---------------- */
.footer-illustration { position: relative; height: 54px; overflow: hidden; }
.footer-illustration svg { position: absolute; right: 12%; bottom: 0; color: #7ba6ee; }
.footer { background: #fbfcfe; border-top: 1px solid var(--border-light); padding: 34px 0 18px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.7fr)); gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.footer-brand .brand-logo { width: 26px; height: 26px; }
.footer-desc { max-width: 360px; font-size: 12.5px; line-height: 1.8; color: var(--text-muted); }
.footer-col h4 { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.footer-col a { display: flex; align-items: center; gap: 6px; padding: 4px 0; font-size: 12.5px; color: var(--text-secondary); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--border-light); font-size: 11.5px; color: var(--text-muted); }

/* ---------------- 内页通用 ---------------- */
.page-head { padding: 26px 0 20px; }
.page-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.4px; }
.page-head p { margin: 6px 0 0; color: var(--text-muted); font-size: 13px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-muted); padding: 16px 0 0; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: #c3ccda; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 13px; color: var(--text-secondary); }
.pill:hover { border-color: var(--primary-soft); color: var(--primary); }
.pill.on { background: var(--primary-light); border-color: var(--primary-soft); color: var(--primary); font-weight: 600; }

.list-panel { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; }
.list-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.list-row { display: flex; gap: 12px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border-light); min-width: 0; }
.list-row:nth-child(3n + 2), .list-row:nth-child(3n) { border-left: 1px solid var(--border-light); }
.list-row:hover { background: #fafcff; }
.list-row-main { min-width: 0; display: block; }
.list-row-name { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.list-row-desc { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-row-meta { margin-left: auto; font-size: 12px; color: var(--text-muted); white-space: nowrap; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 26px 0 8px; }
.pagination a, .pagination span {
  min-width: 34px; height: 34px; padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; background: #fff; border: 1px solid var(--border);
  font-size: 13px; color: var(--text-secondary);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.pagination .disabled { opacity: 0.45; pointer-events: none; }

/* ---------------- 详情页 ---------------- */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; padding-bottom: 10px; }
.detail-main { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; }
.detail-hero { display: flex; gap: 16px; align-items: center; padding: 22px 24px; background: linear-gradient(120deg, #f7faff, #fff 70%); border-bottom: 1px solid var(--border-light); }
.detail-hero .logo { width: 60px; height: 60px; border-radius: 14px; font-size: 24px; }
.detail-title h1 { font-size: 23px; font-weight: 800; }
.detail-title .meta { display: flex; gap: 12px; margin-top: 5px; font-size: 12.5px; color: var(--text-muted); }
.detail-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.views-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-muted); }
.detail-section { padding: 20px 24px 22px; border-bottom: 1px solid var(--border-light); }
.detail-section:last-child { border-bottom: 0; }
.detail-section h2 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.detail-section h2 span.en { font-size: 10.5px; color: var(--text-muted); font-weight: 600; letter-spacing: 0.6px; }
.prose-box { background: #fbfcfe; border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 16px 18px; font-size: 13px; line-height: 1.85; color: var(--text-secondary); }
.prose-box p:last-child { margin-bottom: 0; }
.side-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px; }
.side-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.side-card h3 a { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--primary); }
.info-row { padding: 8px 10px; border-radius: 8px; background: #fafbfd; border: 1px solid var(--border-light); margin-bottom: 8px; }
.info-row .k { font-size: 11.5px; color: var(--text-muted); }
.info-row .v { font-size: 13px; font-weight: 600; margin-top: 1px; word-break: break-all; }
.related-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--border-light); }
.related-item:last-child { border-bottom: 0; }
.related-item .logo { width: 30px; height: 30px; border-radius: 8px; font-size: 12px; }
.related-item .name { font-size: 13px; font-weight: 500; }
.related-item .count { margin-left: auto; font-size: 11.5px; color: var(--text-muted); }
.more-posts { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 20px 24px; margin-top: 18px; }
.more-posts .head { display: flex; align-items: center; margin-bottom: 12px; }
.more-posts .head h2 { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.more-posts .cols { columns: 2; column-gap: 28px; }
.more-post { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 12.5px; color: var(--text-secondary); break-inside: avoid; }
.more-post .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.more-post .a { margin-left: auto; font-size: 11.5px; color: var(--text-muted); white-space: nowrap; }
.more-post:hover .t { color: var(--primary); }

/* ---------------- 官方订阅页 ---------------- */
.official-hero { position: relative; background: linear-gradient(120deg, #eaf2ff, #f7faff 60%, #eef5ff); border-bottom: 1px solid var(--border-light); overflow: hidden; }
.official-hero .inner { display: flex; align-items: center; gap: 30px; padding: 34px 28px 36px; }
.official-hero h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.6px; margin: 10px 0 8px; }
.official-hero h1 em { font-style: normal; color: var(--primary); }
.official-hero .desc { max-width: 640px; font-size: 13.5px; color: var(--text-secondary); line-height: 1.75; }
.official-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 6px; background: #fff; border: 1px solid var(--border-light); font-size: 12px; color: var(--text-secondary); }
.app-stack { margin-left: auto; position: relative; width: 210px; height: 120px; flex: none; }
.app-stack i { position: absolute; width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 22px; box-shadow: 0 10px 24px rgba(16, 24, 40, 0.16); }
.app-stack i:nth-child(1) { left: 0; top: 34px; transform: rotate(-12deg); }
.app-stack i:nth-child(2) { left: 74px; top: 4px; transform: rotate(6deg); }
.app-stack i:nth-child(3) { left: 146px; top: 40px; transform: rotate(14deg); }
.region-select { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 20px; }
.region-chip { padding: 3px 10px; border-radius: 999px; font-size: 12px; border: 1px solid var(--border); background: #fff; color: var(--text-secondary); }
.region-chip:hover { border-color: var(--primary-soft); color: var(--primary); }
.region-chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------------- 比价页 ---------------- */
.pc-search { background: linear-gradient(135deg, #3b7fe8, #2c69d2); border-radius: 14px; padding: 12px; box-shadow: 0 10px 30px rgba(52, 120, 229, 0.24); }
.pc-form { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr) minmax(0, 0.9fr) 150px 120px 42px; gap: 8px; align-items: center; }
.pc-form input, .pc-form select { height: 42px; border: 0; border-radius: 8px; padding: 0 14px; font-size: 13.5px; background: #fff; outline: none; width: 100%; }
.pc-form select { cursor: pointer; color: var(--text-secondary); }
.pc-form .go { height: 42px; border: 0; border-radius: 8px; background: #1f4f9e; color: #fff; font-weight: 600; cursor: pointer; }
.pc-form .go:hover { background: #17407f; }
.pc-form .reset { height: 42px; border-radius: 8px; background: rgba(255, 255, 255, 0.18); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center; }
.hot-words { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 14px 0 6px; font-size: 12.5px; color: var(--text-muted); }
.word { padding: 3px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 12.5px; color: var(--text-secondary); }
.word:hover { border-color: var(--primary-soft); color: var(--primary); }
.pc-result { background: #fff; border: 1px solid var(--border-light); border-radius: 14px; min-height: 280px; padding: 8px 0; margin-top: 18px; }
.pc-empty { text-align: center; padding: 72px 20px; color: var(--text-muted); }
.pc-empty b { display: block; color: var(--text-primary); font-size: 15px; margin-bottom: 6px; }
.p-note { display: block; margin-top: 2px; font-size: 11.5px; font-style: normal; color: var(--text-muted); }
.tag-api { display: inline-block; margin-top: 2px; padding: 0 5px; border-radius: 4px; background: var(--primary-light); color: var(--primary-dark); font-size: 10.5px; line-height: 16px; }
.result-table { width: 100%; border-collapse: collapse; }
.result-table th { text-align: left; font-size: 12px; color: var(--text-muted); font-weight: 600; padding: 10px 16px; border-bottom: 1px solid var(--border-light); background: #fbfcfe; }
.result-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-light); font-size: 13px; vertical-align: middle; }
.result-table tr:last-child td { border-bottom: 0; }
.result-table tr:hover td { background: #fafcff; }
.result-price { font-size: 16px; font-weight: 800; color: #e2453c; font-variant-numeric: tabular-nums; }
.rank-badge { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #f1f4f9; color: var(--text-muted); font-size: 11px; font-weight: 700; }
.rank-badge.top { background: #fff2e6; color: #c2410c; }

/* ---------------- 表单 / 登录 ---------------- */
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-row .hint { font-size: 11.5px; color: var(--text-muted); margin-top: 5px; }
.input, .select, .textarea {
  width: 100%; height: 42px; padding: 0 13px;
  border: 1px solid var(--border); border-radius: 9px; background: #fff;
  font-size: 14px; outline: none; transition: all 0.16s;
}
.textarea { height: auto; min-height: 120px; padding: 10px 13px; line-height: 1.7; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(52, 120, 229, 0.12); }
.checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.auth-wrap { display: grid; place-items: center; padding: 56px 20px; }
.auth-card { width: 100%; max-width: 400px; background: #fff; border: 1px solid var(--border-light); border-radius: 16px; padding: 30px 28px; box-shadow: var(--shadow-md); }
.auth-card h1 { font-size: 21px; text-align: center; }
.auth-card .sub { text-align: center; color: var(--text-muted); font-size: 12.5px; margin: 6px 0 22px; }
.auth-foot { text-align: center; margin-top: 16px; font-size: 12.5px; color: var(--text-muted); }
.auth-foot a { color: var(--primary); }
.alert { padding: 10px 14px; border-radius: 9px; font-size: 13px; margin-bottom: 14px; }
.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-ok { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.alert-info { background: var(--primary-light); color: var(--primary-dark); border: 1px solid var(--primary-soft); }

/* ---------------- 文章 ---------------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.article { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 30px 34px 36px; }
.article h1 { font-size: 27px; font-weight: 800; line-height: 1.35; letter-spacing: -0.4px; }
.article .meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 22px; font-size: 12.5px; color: var(--text-muted); }
.article .content { font-size: 15px; line-height: 1.9; color: #334155; }
.article .content h2 { font-size: 19px; margin: 26px 0 10px; }
.article .content h3 { font-size: 16px; margin: 22px 0 8px; }
.article .content p { margin: 0 0 14px; }
.article .content img { border-radius: 10px; margin: 10px 0; }
.article .content blockquote { margin: 16px 0; padding: 12px 18px; border-left: 3px solid var(--primary); background: #f7faff; color: var(--text-secondary); border-radius: 0 8px 8px 0; }
.article .content .lead { font-size: 16px; color: var(--text-secondary); }
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px);
  background: #1f2937; color: #fff; padding: 10px 18px; border-radius: 10px;
  font-size: 13px; opacity: 0; pointer-events: none; transition: all 0.25s; z-index: 999;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- 平台商品行（详情页） ---------------- */
.stat-cards, .plan-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.product-list { display: flex; flex-direction: column; gap: 8px; }
.product-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: 9px;
  background: #fbfcfe;
}
.product-item .p-title { font-size: 13px; font-weight: 500; min-width: 0; }
.product-item .p-price { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--price); white-space: nowrap; }
.product-item .p-date { font-size: 11.5px; color: var(--text-muted); min-width: 74px; text-align: right; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1280px) {
  .site-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { gap: 0; }
  .nav-link { padding: 0 8px; font-size: 13.5px; }
  .searchbox { width: 170px; }
}
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding: 34px 28px 40px; }
  .price-card { max-width: 560px; }
  .list-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list-row:nth-child(3n + 2), .list-row:nth-child(3n) { border-left: 0; }
  .list-row:nth-child(2n) { border-left: 1px solid var(--border-light); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .official-hero .inner { flex-wrap: wrap; }
  .app-stack { display: none; }
}
@media (max-width: 900px) {
  .nav-links, .searchbox { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
  .site-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tools-layout { grid-template-columns: 1fr; }
  .tool-cats { display: flex; overflow-x: auto; gap: 4px; }
  .tool-cat { white-space: nowrap; width: auto; }
  .official-grid, .product-grid, .ad-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .pc-form { grid-template-columns: 1fr 1fr; }
  .pc-form .go, .pc-form .reset { grid-column: span 1; }
  .hero h1 { font-size: 32px; }
  .detail-hero { flex-wrap: wrap; }
  .detail-actions { margin-left: 0; width: 100%; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .site-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-card { padding: 11px; }
  .logo { width: 36px; height: 36px; font-size: 14px; }
  .post-grid, .tool-grid { grid-template-columns: 1fr; }
  .list-rows { grid-template-columns: 1fr; }
  .list-row:nth-child(2n) { border-left: 0; }
  .hero h1 { font-size: 27px; letter-spacing: -0.5px; }
  .hero-desc { font-size: 14px; }
  .price-card { padding: 14px; }
  .section-title { font-size: 17px; }
  .article { padding: 20px 18px 26px; }
  .article h1 { font-size: 21px; }
  .detail-title h1 { font-size: 19px; }
  .more-posts .cols { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .pc-form { grid-template-columns: 1fr; }
  .pc-form input, .pc-form select, .pc-form .go, .pc-form .reset { grid-column: 1; }
  .app-card { padding: 14px; }
  .plan-region { display: none; }
}

/* ================= 移动端专项（最后覆盖，保证顺序） ================= */
.mobile-search { position: relative; display: none; margin: 4px 16px 10px; }
.mobile-search .ic { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: #98a4b6; }
.mobile-search input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 34px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f5f8fc;
  font-size: 14px;
  outline: none;
}
.mobile-search input:focus { background: #fff; border-color: var(--primary); }

@media (max-width: 900px) {
  :root { --header-h: 56px; }

  /* 顶栏：只留 logo / 登录 / 菜单，其余收进抽屉 */
  .nav-inner { height: 56px; gap: 8px; }
  .brand { min-width: 0; flex: 0 1 auto; font-size: 16.5px; gap: 7px; }
  .brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand-logo { width: 28px; height: 28px; }
  .nav-right { gap: 6px; min-width: 0; }
  .nav-cta { display: none; }
  .user-pill { height: 32px; padding: 0 9px; font-size: 12px; gap: 4px; border-radius: 7px; white-space: nowrap; }
  .menu-toggle { width: 34px; height: 34px; flex: none; margin-left: 0; }
  .mobile-search { display: block; }
  .mobile-nav { padding: 2px 0 14px; }
  .mobile-nav a { padding: 11px 16px; font-size: 15px; }

  /* 区块标题 */
  .section-head { align-items: center; gap: 10px; }
  .section-icon { width: 26px; height: 26px; border-radius: 8px; }
  .section-icon svg { width: 15px; height: 15px; }
  .section-title { font-size: 18px; }
  .section-sub { font-size: 12px; line-height: 1.55; }
  .section-more { white-space: nowrap; flex: none; font-size: 12.5px; }

  /* FAQ：单列，取消 span 造成的隐式第二列 */
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .faq-card:last-child:nth-child(odd) { grid-column: auto; }

  /* 顶栏 hero */
  .hero h1 { font-size: 30px; line-height: 1.25; }
  .hero-actions { flex-wrap: wrap; gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }

  /* 官方订阅套餐行：价格靠右不换行 */
  .plan-row { gap: 8px; flex-wrap: wrap; }
  .plan-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .plan-price { margin-left: auto; }
  .plan-region { flex-basis: auto; display: inline; font-size: 11.5px; color: var(--text-muted); }

  /* 工具分类横向滚动 */
  .tool-cats { padding: 2px 0 8px; scrollbar-width: none; }
  .tool-cats::-webkit-scrollbar { display: none; }
}

@media (max-width: 700px) {
  /* 页脚：品牌整行 + 链接两列 */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-desc { font-size: 12px; }
  .footer-col h4 { font-size: 12.5px; margin-bottom: 6px; }
  .footer-col a { font-size: 12px; padding: 5px 0; }
  .footer-illustration { height: 42px; }

  /* 列表项 */
  .list-row { padding: 13px 14px; gap: 10px; overflow: hidden; }
  .list-row-main { flex: 1 1 0%; min-width: 0; overflow: hidden; }
  .list-row-name { font-size: 13.5px; }
  .list-row-desc { font-size: 11.5px; }
  .list-rows { grid-template-columns: minmax(0, 1fr); }

  /* 免责条：图标左边，文字与链接依次排列，不重叠 */
  .notice-inner { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 2px 8px; align-items: start; font-size: 12px; }
  .notice-inner > svg { margin-top: 2px; }
  .notice-inner > span { grid-column: 2; line-height: 1.6; }
  .notice-inner > a { grid-column: 2; margin-left: 0; justify-self: start; font-size: 12px; }
  .ad-note { display: none; }
}

@media (max-width: 640px) {
  /* 工具卡两列 */
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tool-card { padding: 11px; gap: 8px; align-items: flex-start; }
  .tool-logo { width: 32px; height: 32px; font-size: 13px; flex: none; }
  .tool-card h4 { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tool-card p {
    font-size: 11px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* 文章封面矮一点 */
  .post-cover { aspect-ratio: auto; height: 168px; }
  .post-cover::before { font-size: 64px; }

  /* 商品行：标题独占一行，日期隐藏 */
  .product-item { flex-wrap: wrap; gap: 2px 10px; padding: 10px 12px; }
  .product-item .p-title { flex: 1 1 auto; font-size: 12.5px; }
  .product-item .p-price { font-size: 13.5px; }
  .product-item .p-date { display: none; }

  /* 比价表单：开始查价一行 + 重置图标 */
  .pc-form { grid-template-columns: 1fr 48px; gap: 8px; }
  .pc-form .go { grid-column: 1 / 2; }
  .pc-form .reset { grid-column: 2 / 3; padding: 0; }
  .pc-hero .badge { margin-left: 0; }
  .hot-words { gap: 6px; }
  .hot-words .word { padding: 0 10px; height: 30px; font-size: 12px; }

  /* 结果表 → 卡片（比价结果） */
  .pc-table thead { display: none; }
  .pc-table, .pc-table tbody { display: block; width: 100%; }
  .pc-table tr {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 3px 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-light);
  }
  .pc-table td { display: block; padding: 0; border: 0; }
  .pc-table td:nth-child(1) { grid-row: span 2; align-self: start; }
  .pc-table td:nth-child(2) { grid-column: 2; grid-row: 1; min-width: 0; }
  .pc-table td:nth-child(3) { grid-column: 2; grid-row: 2; font-size: 12px; }
  .pc-table td:nth-child(4) { display: none; }
  .pc-table td:nth-child(5) { grid-column: 3; grid-row: 1; text-align: right; }
  .pc-table td:nth-child(6) { grid-column: 1 / -1; grid-row: 3; margin-top: 2px; display: flex; justify-content: flex-end; text-align: right; width: auto; justify-self: stretch; }
  .pc-table td:nth-child(6) .btn { width: auto; min-width: 96px; margin-left: auto; }

  /* 结果表 → 卡片（套餐各地区价格） */
  .plan-table thead { display: none; }
  .plan-table, .plan-table tbody { display: block; width: 100%; }
  .plan-table tr {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 2px 10px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--border-light);
  }
  .plan-table td { display: block; padding: 0; border: 0; }
  .plan-table td:nth-child(1) { grid-row: span 2; align-self: start; }
  .plan-table td:nth-child(2) { grid-column: 2; grid-row: 1; }
  .plan-table td:nth-child(3) { grid-column: 2; grid-row: 2; font-size: 12px; }
  .plan-table td:nth-child(4) { grid-column: 3; grid-row: 1; text-align: right; }
  .plan-table td:nth-child(5) { display: none; }

  /* 详情页主卡 */
  .detail-hero { padding: 16px; }
  .detail-hero .logo { width: 52px; height: 52px; font-size: 22px; }
  .detail-title h1 { font-size: 18px; }
  .detail-section { padding: 16px 14px; }
  .side-card { padding: 14px; }

  /* 面包屑 */
  .breadcrumb { font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

  /* 文章页 */
  .article { padding: 18px 14px 24px; }
  .article h1 { font-size: 20px; line-height: 1.4; }

  /* 统计小卡（套餐详情 / 会员中心） */
  .stat-cards, .plan-stats { gap: 8px; }
  .stat-cards > *, .plan-stats > * { padding: 11px 12px; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .stat-cards > *:nth-child(3) { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .stat-cards > *:nth-child(3) .btn { flex: none; }

  /* 提交/登录卡片 */
  .auth-card { padding: 20px 16px; border-radius: 12px; }

  /* FAQ 卡片内边距 */
  .faq-card { padding: 14px; }
  .faq-q { font-size: 14px; }
  .faq-a { font-size: 12.5px; }

  /* 官方订阅 hero 图标堆叠已隐藏，标题降一档 */
  .official-hero h1 { font-size: 25px; }
  .official-chips { gap: 6px; }
  .official-chips .chip { font-size: 11.5px; padding: 4px 8px; }

  /* 移动端表格横向兜底 */
  .adm-table-wrap, .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 380px) {
  .brand { font-size: 15px; }
  .user-pill { padding: 0 7px; }
  .site-grid { grid-template-columns: 1fr; }
}

/* ===========================================================
   视觉升级 v2：放大字号 + 原创布局细节
   =========================================================== */

/* 全局字号（比 v1 大约 8%–10%） */
body { font-size: 15px; line-height: 1.65; }
.nav { font-size: 15px; }
.btn { font-size: 15px; }
.container { max-width: 1460px; }

.hero h1 { font-size: 44px; line-height: 1.18; }
.hero-desc { font-size: 16.5px; line-height: 1.75; max-width: 560px; }
.hero-points { font-size: 14px; gap: 18px; }
.hero-eyebrow { font-size: 13px; }

/* 首页 hero 数据条 */
.hero-stats {
  display: flex; align-items: stretch;
  margin-top: 26px; padding-top: 20px;
  border-top: 1px solid rgba(52, 120, 229, .16);
  max-width: 520px;
}
.hero-stats > div {
  display: flex; flex-direction: column; gap: 2px;
  padding-right: 26px; margin-right: 26px;
  border-right: 1px solid rgba(52, 120, 229, .14);
}
.hero-stats > div:last-child { border-right: 0; padding-right: 0; margin-right: 0; }
.hero-stats b { font-size: 26px; font-weight: 800; color: var(--primary-dark); letter-spacing: -0.5px; line-height: 1.1; }
.hero-stats span { font-size: 12.5px; color: var(--text-secondary); }

/* 区块头：左侧竖线 + 更大标题 + 药丸链接 */
.section { margin-bottom: 54px; }
.section-title { font-size: 23px; letter-spacing: -0.4px; }
.section-sub { font-size: 13.5px; }
.section-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-light), #fff);
  border: 1px solid var(--primary-soft);
}
.section-head { position: relative; padding-left: 14px; margin-bottom: 20px; align-items: center; }
.section-head::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 26px; border-radius: 3px;
  background: linear-gradient(180deg, var(--primary), #7cb0ff);
}
.section-more {
  height: 34px; padding: 0 14px; border-radius: 999px;
  background: var(--primary-light); font-size: 13.5px; gap: 6px;
  transition: background .16s;
}
.section-more:hover { background: var(--primary-soft); color: var(--primary-dark); }

/* 平台卡：5 列、更大 logo、增加最低价行 */
.site-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.site-card { padding: 16px; border-radius: 14px; gap: 12px; }
.site-card .logo { width: 46px; height: 46px; font-size: 17px; border-radius: 12px; }
.site-card-name { font-size: 15.5px; letter-spacing: -0.2px; }
.site-card-desc { font-size: 13px; line-height: 1.55; }
.site-card-price {
  display: block; margin-top: 8px; padding-top: 8px;
  border-top: 1px dashed var(--border);
  font-size: 12.5px; color: var(--text-muted);
}
.site-card-price b { font-size: 15px; color: var(--accent); font-weight: 800; }

/* 首页图表卡 */
.price-card { padding: 22px 22px 16px; border-radius: 20px; }
.price-card-head h3 { font-size: 16px; }
.price-card-head .sub { font-size: 11.5px; }
.legend-item { font-size: 12.5px; }

/* 官方订阅 / 工具 / 文章 */
.plan-name { font-size: 14.5px; }
.plan-price { font-size: 16px; }
.period-tag { font-size: 11.5px; }
.app-head h3 { font-size: 17px; }
.tool-card h4 { font-size: 15px; }
.tool-card p { font-size: 13px; }
.post-card h4 { font-size: 15px; }

@media (max-width: 1280px) {
  .site-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero h1 { font-size: 40px; }
}
@media (max-width: 900px) {
  .site-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero h1 { font-size: 34px; }
  .hero-desc { font-size: 15px; }
  .hero-stats b { font-size: 22px; }
  .section-head { padding-left: 12px; }
  .section-head::before { height: 22px; }
  .section-title { font-size: 20px; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .hero-stats { max-width: none; margin-top: 20px; padding-top: 16px; }
  .hero-stats > div { padding-right: 16px; margin-right: 16px; }
  .hero-stats b { font-size: 20px; }
  .hero-stats span { font-size: 11.5px; }
  .site-grid { grid-template-columns: 1fr; }
  .site-card { padding: 14px 15px; gap: 12px; }
  .site-card .logo { width: 44px; height: 44px; font-size: 16px; }
  .site-card-desc { font-size: 13px; }
  .site-card-price { font-size: 11.5px; }
  .site-card-price b { font-size: 13.5px; }
  .section-more { height: 30px; padding: 0 11px; font-size: 12.5px; }
}

/* 内页字号同步放大 */
.list-row-name { font-size: 15.5px; }
.list-row-desc { font-size: 13px; color: var(--text-muted); }
.detail-title h1 { font-size: 26px; }
.prose-box, .article-body { font-size: 15.5px; line-height: 1.85; }
.product-item .p-title { font-size: 14.5px; }
.product-item .p-price { font-size: 15.5px; }
.plan-row { font-size: 14.5px; }
.plan-region { font-size: 12.5px; }
.pc-table th { font-size: 13px; }
.pc-table td { font-size: 14px; }
.result-price { font-size: 16px; }
.tool-cats .tool-cat { font-size: 13.5px; }
.post-card h3, .post-card .post-title { font-size: 15.5px; }
.post-meta { font-size: 12.5px; }
.footer-col a, .footer-brand p { font-size: 13.5px; }
.auth-card h1 { font-size: 24px; }

/* 搜索框与 FAQ */
.search-box input { font-size: 14px; }
.faq-q { font-size: 15.5px; }
.faq-a { font-size: 14px; line-height: 1.8; }
.notice-bar { font-size: 13px; }
.product-card h4 { font-size: 15.5px; }
.product-card p { font-size: 13px; }
.app-sub { font-size: 13px; }

/* 平台卡悬浮时给出底部渐变色条，比阴影更克制 */
.site-card { position: relative; overflow: hidden; }
.site-card::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px;
  background: var(--grad-primary); opacity: 0; transform: scaleX(.6);
  transition: opacity .18s, transform .18s;
}
.site-card:hover::after { opacity: 1; transform: scaleX(1); }

@media (max-width: 380px) {
  .site-grid { grid-template-columns: 1fr; }
}



