:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --accent: #e4572e;
  --accent-soft: #fdeee7;
  --teal: #0f766e;
  --teal-soft: #e6f4f2;
  --danger: #ef4444;
  --warning: #f59e0b;
  --green: #10b981;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 顶部导航与新 Logo 适配 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 42px;
  width: auto;
  border-radius: 4px;
}

/* 解除 32px 限制，适配长条形 Logo */

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 500;
  transition: all 0.15s;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: var(--line);
}

/* 主容器 */
.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.hero {
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 800;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Tab 切换 */
.mode-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.mode-tab,
.plain-button {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.mode-tab.is-active,
.plain-button:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.panel {
  display: none;
}

.panel.is-active {
  display: block;
}

/* 筛选区排版修复 */
.classification-filters {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.filter-label {
  flex: 0 0 60px;
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.filter-chip:hover,
.filter-chip.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

/* 工具栏修复 */
.toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.toolbar input {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 13px;
}

.toolbar input[type="search"] {
  flex: 1 1 200px;
}

.toolbar input[type="number"] {
  width: 90px;
}

.toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}

/* 状态与空提示 */
.filter-status {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.filter-status strong {
  color: var(--text);
}

.filter-empty {
  padding: 30px;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

/* 表格排版修复 */
.offer-table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 24px;
}

.offer-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}

.offer-table th,
.offer-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.offer-table th {
  background: #f8fafc;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.offer-table tr:last-child td {
  border-bottom: none;
}

.offer-table tr:hover {
  background: #fcfdfe;
}


.category-label {
  display: inline-block;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  white-space: nowrap;
}

.price {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

.tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.tag-stock {
  background: #dcfce7;
  color: #15803d;
}

.tag-low {
  background: #fef3c7;
  color: #b45309;
}

.tag-out {
  background: #f1f5f9;
  color: #64748b;
}

.tag-muted {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid var(--line);
}

.tag-teal {
  background: var(--teal-soft);
  color: var(--teal);
}

/* 卡片栅格 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.info-card,
.product-card,
.guide-index-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  display: block;
  transition: all 0.15s;
}

.product-card:hover,
.guide-index-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.product-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.product-card p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
  min-height: 40px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

/* 底部与杂项 */
.copy-block {
  background: #f1f5f9;
  border-radius: 8px;
  padding: 16px;
  margin-top: 24px;
}

.copy-block h2 {
  font-size: 15px;
  margin: 0 0 8px;
}

.copy-block p {
  margin: 4px 0;
  font-size: 13px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}

.footer-inner a {
  margin-left: 12px;
}

/* 表单页排版修复 */
.form-card {
  max-width: 600px;
  margin-top: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
}

.form-card label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 6px;
  margin-top: 14px;
}

.form-card input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
}

.form-card button {
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.form-card button:hover {
  background: #0d5f58;
}

/* =========================================
   内部运营：流量统计后台专属排版
   ========================================= */
.analytics-admin {
  max-width: 900px;
  margin: 0 auto;
}

/* 登录区 */
.analytics-login {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  max-width: 400px;
}

.analytics-login input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
}

.primary-btn {
  background: var(--teal);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.primary-btn:hover {
  background: #0d5f58;
}

/* 工具栏过滤按钮 */
.analytics-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.analytics-toolbar button {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.analytics-toolbar button.is-active,
.analytics-toolbar button:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.analytics-status {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

/* 顶部四大核心数据卡片 */
.analytics-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.analytics-cards div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.analytics-cards span {
  font-size: 13px;
  color: var(--muted);
}

.analytics-cards strong {
  font-size: 24px;
  color: var(--text);
  font-weight: 800;
}

/* 统计面板与图表 */
.analytics-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}

.analytics-panel h2 {
  margin: 0 0 16px;
  font-size: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

/* 柱状图 */
.analytics-chart {
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-top: 20px;
}

.analytics-bar {
  flex: 1;
  background: var(--teal-soft);
  border-radius: 4px 4px 0 0;
  transition: background 0.2s;
  min-height: 2px;
}

.analytics-bar:hover {
  background: var(--teal);
}

/* 折线图与图例 */
.analytics-trend-svg {
  margin-bottom: 16px;
}

.analytics-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.legend-total {
  font-weight: 700;
  color: var(--text);
}

/* 数据表格排版 */
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.table-wrap th,
.table-wrap td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.table-wrap th {
  color: var(--muted);
  font-weight: 600;
  background: #f8fafc;
}

.table-wrap tr:last-child td {
  border-bottom: none;
}

/* =========================================
   前端：卡片式商品列表排版 (替代原有 Table)
   ========================================= */
/* =========================================
   1. 卡片列表容器 (缩小间距)
========================================= */
.offer-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  /* 从 14px 大幅缩小，让列表紧凑 */
  margin-bottom: 24px;
}

/* =========================================
   2. 单行卡片 (去除动画，缩小内边距)
========================================= */
.offer-card {
  display: flex;
  justify-content: space-between;
  /* Change align-items from center to stretch or flex-start to handle varying heights */
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 16px;
  /* Slightly increased padding for better breathing room */
  gap: 16px;
  /* Ensure a minimum gap between main content and action button */
}

/* 移除悬浮上浮和投影，仅保留微弱底色变化以作区分 */
.offer-card:hover {
  background-color: #f8fafc;
}

/* 斑马线底色 */
.offer-card.is-stripe {
  background-color: #fdfdfd;
}

/* =========================================
   3. 内部文字排版 (恢复正常字体粗细)
========================================= */
.offer-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* Increased gap between title and price row for clarity */
  flex: 1;
  /* Allow main content to grow and take available space */
  min-width: 0;
  /* Prevent text overflow from blowing out the flex container */
  /* Remove padding-right: 24px; as gap on .offer-card handles spacing better now */
}

.offer-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
  /* Optional: Truncate long titles if they break layout too much */
  /* white-space: nowrap; overflow: hidden; text-overflow: ellipsis; */
}

.offer-price {
  font-size: 15px;
  /* 从 20px 减小 */
  font-weight: 600;
  /* 从 800 减小 */
  color: var(--text);
  /* 恢复默认深色，去除原本的橘红色 */
  letter-spacing: normal;
}

.offer-tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #64748b;
  font-weight: 600;
}

.offer-tag.success {
  background: #dcfce7;
  color: #166534;
}

.offer-tag.warning {
  background: #fef3c7;
  color: #92400e;
}

.offer-meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.offer-action {
  flex-shrink: 0;
  /* Prevent the button area from shrinking */
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /* Align button and "folded" text to the right */
  gap: 8px;
  /* Remove margin-left: 24px; as gap on .offer-card handles this */
}

.offer-btn {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.offer-btn:hover {
  background: #0d5f58;
  color: #fff;
}

/* 加载更多按钮容器 */
.load-more-wrap {
  text-align: center;
  margin: 10px 0 40px;
}

.load-more-btn {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 36px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.2s;
}

.load-more-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-soft);
}

/* 移动端极简适配 */
@media (max-width: 640px) {
  .offer-card {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
  }

  .offer-action {
    margin-left: 0;
  }

  .offer-btn {
    display: block;
    text-align: center;
  }
}

/* =========================================
   移动端适配：页首导航栏 (横向滑动优化)
   ========================================= */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    /* 强制 Logo 和导航栏分两行显示 */
    align-items: flex-start;
    padding: 12px 16px 4px;
    gap: 12px;
  }

  .site-nav {
    display: flex;
    flex-wrap: nowrap;
    /* 强制链接不换行 */
    overflow-x: auto;
    /* 允许横向滑动 */
    width: 100%;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    /* 让 iOS 滑动更丝滑 */
    gap: 20px;
    /* 链接之间的间距 */
  }

  /* 隐藏丑陋的系统滚动条，保持界面清爽 */
  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav {
    scrollbar-width: none;
    /* 兼容 Firefox */
  }

  .site-nav a {
    white-space: nowrap;
    /* 确保单个链接内的文字不断行 */
    flex-shrink: 0;
    /* 防止链接被挤压变形 */
    font-size: 15px;
    /* 移动端字号微调 */
  }
}

/* =========================================
   卡片元素微调与 SVG 盾牌修复
   ========================================= */
/* 强制约束盾牌图标大小 */
.store-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  display: block;
}

.store-badge-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: middle;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  /* 默认银色 */
}

.store-badge-gold {
  color: #eab308;
}

.store-badge-active {
  color: #10b981;
}

.store-badge-text {
  font-size: 12px;
  color: #10b981;
}

/* 将店铺和平台名锁死成一个整体，强制在一行显示，拒绝中间断行 */
.offer-store-inline {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 6px;
  display: inline-block;
  white-space: nowrap;
}

/* 修正盾牌在 inline 文本中的垂直对齐 */
.offer-store-inline .store-badge-group {
  display: inline-flex;
  vertical-align: text-bottom;
  margin-left: 2px;
}

/* 标签与分类同排 */
.offer-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  /* Crucial: allows tags to wrap to the next line if space is tight */
  gap: 8px;
  /* Consistent gap between items in the price row */
  margin-top: 4px;
}

.offer-cat {
  margin-left: auto;
  /* 让分类标签靠右或自然分隔 */
  font-size: 13px;
}

/* =========================================
   卡片列表斑马线配色 (隔行变色)
   ========================================= */
/* 替换为这段：由 JS 动态添加的斑马线样式 */
.offer-card.is-stripe {
  background-color: #f2fcf5;
}

/* 统一悬浮效果，鼠标放上去时不管原本是白是绿，都提亮高亮 */
.offer-card:hover {
  background-color: #ffffff;
  border-color: var(--teal);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

/* =========================================
   分页组件样式
   ========================================= */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 32px 0 16px;
}

.pager-btn {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.pager-btn:hover:not(:disabled) {
  border-color: var(--teal);
  color: var(--teal);
}

.pager-btn:disabled {
  background: #f8fafc;
  color: #cbd5e1;
  cursor: not-allowed;
}

.pager-info {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* =========================================
   详情页：顶部数据统计卡片 (Stat Grid)
   ========================================= */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.stat .label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.stat .value {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

/* =========================================
   表单与防机器人样式
   ========================================= */
.honeypot {
  display: none !important;
}

/* =========================================
   Markdown 知识中心正文排版 (.markdown-body)
   采用极简、沉浸式的 Medium 风格
   ========================================= */

.markdown-body {
  color: #334155;
  font-size: 16px;
  line-height: 1.8;
  word-wrap: break-word;
}

.markdown-body>*:first-child {
  margin-top: 0 !important;
}

/* 标题层级 */
.markdown-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  /* 底部轻量分隔线 */
}

.markdown-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 16px;
}

/* 段落与强调 */
.markdown-body p {
  margin-top: 0;
  margin-bottom: 20px;
}

.markdown-body a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.markdown-body a:hover {
  border-bottom-color: var(--teal);
  /* 优雅的悬浮下划线 */
}

.markdown-body strong {
  font-weight: 600;
  color: var(--text);
}

/* 列表 */
.markdown-body ul,
.markdown-body ol {
  margin-top: 0;
  margin-bottom: 20px;
  padding-left: 28px;
}

.markdown-body li {
  margin-bottom: 8px;
}

.markdown-body li::marker {
  color: var(--teal);
  /* 列表项目符号使用主题色 */
}

/* 引用块 (Blockquote) - 用于提示和重要说明 */
.markdown-body blockquote {
  margin: 32px 0;
  padding: 16px 24px;
  color: var(--muted);
  background: var(--bg);
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  font-size: 15px;
}

.markdown-body blockquote p:last-child {
  margin-bottom: 0;
}

/* 数据对比表格 */
.markdown-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 14px;
  border-radius: 8px;
  overflow: hidden;
  /* 让表格的圆角生效 */
  box-shadow: 0 0 0 1px var(--line);
  /* 替代外部 border */
}

.markdown-body th,
.markdown-body td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.markdown-body th {
  background: var(--bg);
  font-weight: 600;
  color: var(--text);
}

.markdown-body tr:last-child td {
  border-bottom: none;
}

/* 代码与特殊标记 */
.markdown-body code {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 14px;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent);
  /* 使用亮眼的强调色 */
}

.markdown-body pre {
  background: #0f172a;
  /* 极客深色背景 */
  color: #f8fafc;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 24px;
}

.markdown-body pre code {
  background: transparent;
  padding: 0;
  color: inherit;
  font-size: 13px;
}

/* 响应式图片处理 */
.markdown-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 32px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  /* 柔和的高级阴影 */
}

/* 段落分割线 */
.markdown-body hr {
  height: 1px;
  border: none;
  background: var(--line);
  margin: 48px 0;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.home-hero-heading {
  display: flex;
  align-items: baseline;
  /* 按文字基线对齐；想要垂直居中用 center */
  gap: 12px;
  /* 标题和副文案间距 */
  flex-wrap: wrap;
  /* 窄屏自动换行，避免挤爆 */
}

.home-hero-heading h1 {
  margin: 0;
  font-size: 28px;
  /* 按你原样式调 */
}

.hero-sub {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}