/* ══════════════════════════════════════
   爱瞳眼科 · 全新首页设计 (2026-07-11 美观升级)
   风格: 现代科普风 (丁香医生/果壳风格)
   ══════════════════════════════════════ */

/* ── 品牌色 ── */
:root {
  --vp-c-brand-1: #1565c0;
  --vp-c-brand-2: #1976d2;
  --vp-c-brand-3: #42a5f5;
  --vp-c-brand-soft: rgba(21, 101, 192, 0.1);
  --blog-blue: #1565c0;
  --blog-green: #2e7d32;
  --blog-orange: #e65100;
  --blog-purple: #6a1b9a;
  --blog-teal: #00695c;
  --blog-red: #c62828;
}
.dark {
  --vp-c-brand-1: #64b5f6;
  --vp-c-brand-2: #42a5f5;
  --vp-c-brand-3: #90caf9;
  --vp-c-brand-soft: rgba(100, 181, 246, 0.12);
}

/* ── Hero 区域 ── */
.VPHome .VPHero {
  padding: 60px 24px 40px !important;
  position: relative;
}
.VPHome .VPHero .name {
  font-size: clamp(32px, 5vw, 56px) !important;
  font-weight: 900 !important;
  letter-spacing: -1px !important;
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 50%, #1a237e 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
.dark .VPHome .VPHero .name {
  background: linear-gradient(135deg, #64b5f6 0%, #42a5f5 50%, #90caf9 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}
.VPHome .VPHero .text {
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--vp-c-text-2) !important;
}
.VPHome .VPHero .tagline {
  font-size: 15px !important;
  color: var(--vp-c-text-2) !important;
  opacity: 0.75 !important;
}
.VPHome .VPHero .VPButton {
  border-radius: 10px !important;
  font-weight: 600 !important;
  padding: 12px 28px !important;
  font-size: 14px !important;
  transition: all 0.2s ease !important;
}
.VPHome .VPHero .VPButton.brand {
  background: linear-gradient(135deg, #1565c0, #1976d2) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(21,101,192,0.35) !important;
}
.VPHome .VPHero .VPButton.brand:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(21,101,192,0.45) !important;
}
.VPHome .VPHero .VPButton.alt {
  border: 1.5px solid var(--vp-c-brand-soft) !important;
  background: transparent !important;
  color: var(--vp-c-brand-1) !important;
}
.VPHome .VPHero .VPButton.alt:hover {
  background: var(--vp-c-brand-soft) !important;
  transform: translateY(-2px) !important;
}
.VPHome .VPHero .image {
  display: none !important;
}

/* ── 隐藏默认 Features（用自定义替代） ── */
.VPHome .VPFeatures { display: none !important; }

/* ═══ 信任标签 ═══ */
.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  margin: 0 auto 32px;
  max-width: 600px;
  background: linear-gradient(135deg, rgba(21,101,192,0.06), rgba(21,101,192,0.02));
  border: 1px solid rgba(21,101,192,0.12);
  border-radius: 40px;
  font-size: 13px;
  color: var(--vp-c-text-2);
}
.trust-dot { opacity: 0.3; }
.trust-item { font-weight: 500; }

/* ═══ 数据面板 ═══ */
.stats-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 640px;
  margin: 0 auto 40px;
  padding: 0 24px;
}
.stat-card {
  text-align: center;
  padding: 20px 8px;
  border-radius: 14px;
  background: var(--vp-c-bg-soft);
  border: 1px solid var(--vp-c-divider);
  transition: all 0.25s ease;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-color: var(--vp-c-brand-soft);
}
.stat-icon { font-size: 22px; margin-bottom: 6px; }
.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--vp-c-brand-1);
  line-height: 1.1;
}
.stat-desc {
  font-size: 11px;
  color: var(--vp-c-text-2);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ═══ 区块标题 ═══ */
.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto 20px;
  padding: 0 24px;
}
.section-icon { font-size: 18px; }
.section-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--vp-c-text-1) !important;
  white-space: nowrap;
}
.section-line {
  flex: 1;
  height: 1px;
  background: var(--vp-c-divider);
}

/* ═══ 热门文章卡片 ═══ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 760px;
  margin: 0 auto 36px;
  padding: 0 24px;
}
.article-card {
  position: relative;
  padding: 22px 20px 20px;
  border-radius: 14px;
  border: 1px solid var(--vp-c-divider);
  background: var(--vp-c-bg);
  text-decoration: none;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.article-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
  opacity: 0;
  transition: opacity 0.25s;
}
.card-blue::before { background: var(--blog-blue); }
.card-green::before { background: var(--blog-green); }
.card-orange::before { background: var(--blog-orange); }
.card-purple::before { background: var(--blog-purple); }
.card-teal::before { background: var(--blog-teal); }
.card-red::before { background: var(--blog-red); }
.article-card:hover::before { opacity: 1; }
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  border-color: transparent;
}
.card-badge {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(21,101,192,0.1);
  color: var(--blog-blue);
  letter-spacing: 0.5px;
}
.card-icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}
.article-card h3 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--vp-c-text-1) !important;
  margin-bottom: 6px !important;
  line-height: 1.4 !important;
}
.article-card p {
  font-size: 12.5px !important;
  color: var(--vp-c-text-2) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}
.card-arrow {
  position: absolute;
  bottom: 16px; right: 16px;
  font-size: 16px;
  color: var(--vp-c-text-3);
  transition: all 0.25s;
  opacity: 0;
  transform: translateX(-4px);
}
.article-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--vp-c-brand-1);
}

/* ═══ 最新发布 ═══ */
.latest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 760px;
  margin: 0 auto 40px;
  /* ── 列表卡：统一品牌蓝，永久边框 + 顶部色条（与首页 article-card 一致）── */
  .article-list { margin: 12px 0 28px; }
  .al-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 12px;
    background: var(--vp-c-bg);
    border: 1px solid var(--vp-c-divider);
    text-decoration: none !important;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .al-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--vp-c-brand-1), var(--vp-c-brand-3));
    opacity: 0.6;
    transition: opacity 0.25s;
  }
  .al-item:hover::before { opacity: 1; }
  .al-item:hover {
    border-color: var(--vp-c-brand-soft);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.1);
  }
  .dark .al-item { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.08); }
  .dark .al-item:hover { border-color: rgba(100, 181, 246, 0.3); }
  font-weight: 600;
  color: var(--vp-c-text-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.latest-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.tag-myopia { background: rgba(21,101,192,0.1); color: var(--blog-blue); }
.tag-disease { background: rgba(230,81,0,0.1); color: var(--blog-orange); }
.tag-care { background: rgba(46,125,50,0.1); color: var(--blog-green); }
.latest-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--vp-c-text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

/* ═══ 医生简介 ═══ */
.doctor-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 760px;
  margin: 0 auto 48px;
  padding: 28px 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e3f0fc 100%);
  border: 1px solid #d0e5f8;
}
.dark .doctor-section {
  background: linear-gradient(135deg, #1a2d45 0%, #152238 100%);
  border-color: #2a4060;
}
.doctor-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
}
.doctor-avatar {
  font-size: 42px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21,101,192,0.1);
  border-radius: 16px;
  flex-shrink: 0;
}
.doctor-info h3 {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--vp-c-text-1) !important;
  margin-bottom: 4px !important;
}
.doctor-title {
  font-size: 12.5px !important;
  color: var(--vp-c-brand-1) !important;
  font-weight: 600 !important;
  margin-bottom: 6px !important;
}
.doctor-desc {
  font-size: 12.5px !important;
  color: var(--vp-c-text-2) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}
.doctor-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.doctor-qr img {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  border: 2px solid #d0e5f8;
}
.dark .doctor-qr img { border-color: #2a4060; }
.doctor-qr span {
  font-size: 11px;
  color: var(--vp-c-text-2);
  font-weight: 500;
}

/* ═══ 响应式 ═══ */
@media (max-width: 768px) {
  .stats-panel { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .latest-grid { grid-template-columns: 1fr; }
  .doctor-section { flex-direction: column; text-align: center; gap: 20px; }
  .doctor-left { flex-direction: column; }
  .trust-bar { flex-wrap: wrap; font-size: 12px; }
}
@media (max-width: 480px) {
  .article-grid { grid-template-columns: 1fr; }
  .stats-panel { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════
   2026-07-11 美观优化 · P0 系列
   ══════════════════════════════════════ */

/* ── P0-1: 文章页主样式升级 ── */
/* 链接：彩色下划线 + hover 加粗 */
.vp-doc a {
  color: var(--vp-c-brand-1);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(21, 101, 192, 0.35);
  transition: all 0.18s ease;
  font-weight: 500;
}
.vp-doc a:hover {
  color: var(--vp-c-brand-2);
  border-bottom-color: var(--vp-c-brand-2);
  border-bottom-width: 2px;
}
.dark .vp-doc a { color: var(--vp-c-brand-2); border-bottom-color: rgba(100, 181, 246, 0.4); }
.dark .vp-doc a:hover { color: var(--vp-c-brand-3); border-bottom-color: var(--vp-c-brand-3); }

/* 标题：左侧品牌色色块 */
.vp-doc h1, .vp-doc h2, .vp-doc h3, .vp-doc h4, .vp-doc h5, .vp-doc h6 {
  font-weight: 700 !important;
  color: var(--vp-c-text-1) !important;
  letter-spacing: -0.3px;
}
.vp-doc h2 {
  padding-left: 14px !important;
  border-left: 4px solid var(--vp-c-brand-1);
  margin-top: 2em !important;
  font-size: 1.55em !important;
}
.dark .vp-doc h2 { border-left-color: var(--vp-c-brand-2); }
.vp-doc h3 {
  font-size: 1.3em !important;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--vp-c-divider);
}
.vp-doc h4 { font-size: 1.1em !important; color: var(--vp-c-brand-1) !important; }
.dark .vp-doc h4 { color: var(--vp-c-brand-2) !important; }

/* 引用块：左侧粗色条 + 浅色背景 */
.vp-doc blockquote {
  border-left: 5px solid var(--vp-c-brand-1) !important;
  background: linear-gradient(90deg, rgba(21, 101, 192, 0.06) 0%, rgba(21, 101, 192, 0.02) 100%) !important;
  border-radius: 0 10px 10px 0 !important;
  padding: 14px 22px !important;
  margin: 1.4em 0 !important;
  color: var(--vp-c-text-1) !important;
  font-style: normal !important;
  box-shadow: 0 2px 8px rgba(21, 101, 192, 0.04);
}
.vp-doc blockquote p { color: var(--vp-c-text-1) !important; }
.dark .vp-doc blockquote {
  border-left-color: var(--vp-c-brand-2) !important;
  background: linear-gradient(90deg, rgba(100, 181, 246, 0.1) 0%, rgba(100, 181, 246, 0.03) 100%) !important;
}

/* 表格：圆角 + 斑马纹 + hover 高亮 */
.vp-doc table {
  width: auto !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid var(--vp-c-divider) !important;
  margin: 1.5em 0 !important;
}
.vp-doc th {
  background: linear-gradient(135deg, #1565c0, #1976d2) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 12px 16px !important;
  border: none !important;
}
.dark .vp-doc th { background: linear-gradient(135deg, #1e3a5f, #2c4d7a) !important; }
.vp-doc td {
  padding: 10px 16px !important;
  border-bottom: 1px solid var(--vp-c-divider) !important;
}
.vp-doc tr:nth-child(even) td { background: var(--vp-c-bg-soft); }
.vp-doc tr:hover td { background: var(--vp-c-brand-soft); }
.vp-doc tr:last-child td { border-bottom: none !important; }

/* 列表：彩色项目符号 */
.vp-doc ul > li::marker, .vp-doc ol > li::marker {
  color: var(--vp-c-brand-1);
  font-weight: 700;
}
.vp-doc ul li, .vp-doc ol li {
  padding-left: 4px;
}

/* 行内代码：彩色背景胶囊 */
.vp-doc :not(pre) > code {
  background: rgba(21, 101, 192, 0.1) !important;
  color: var(--vp-c-brand-1) !important;
  padding: 2px 8px !important;
  border-radius: 5px !important;
  font-size: 0.9em !important;
  font-weight: 500 !important;
  border: 1px solid rgba(21, 101, 192, 0.15);
}
.dark .vp-doc :not(pre) > code {
  background: rgba(100, 181, 246, 0.12) !important;
  color: var(--vp-c-brand-2) !important;
  border-color: rgba(100, 181, 246, 0.2);
}

/* ── P0-2: 代码块配色美化（用 vp-default 等价样式）── */
.vp-doc div[class*="language-"] {
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid var(--vp-c-divider) !important;
  overflow: hidden;
}
.vp-doc div[class*="language-"] code { font-size: 13.5px !important; }
.vp-doc div[class*="language-"] pre {
  padding: 16px 20px !important;
  background: var(--vp-code-block-bg) !important;
}

/* ── P0-3: 首页 Hero 增强 ── */
.VPHome .VPHero {
  padding: 80px 24px 50px !important;
  position: relative;
  overflow: hidden;
}
/* Hero 背景 SVG 装饰（医生图标虚化） */
.VPHome .VPHero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(21, 101, 192, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.VPHome .VPHero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(46, 125, 50, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.VPHome .VPHero .container {
  position: relative;
  z-index: 1;
}
/* Hero 副标题：医院全称露出 */
.VPHome .VPHero .text {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--vp-c-brand-1) !important;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.dark .VPHome .VPHero .text { color: var(--vp-c-brand-2) !important; }

/* Hero tagline 加渐变下划线 */
.VPHome .VPHero .tagline {
  font-size: 15px !important;
  color: var(--vp-c-text-2) !important;
  opacity: 0.85 !important;
  padding-bottom: 12px;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, var(--vp-c-brand-1), transparent) 1;
  display: inline-block;
}

/* Hero 按钮增强 */
.VPHome .VPHero .VPButton {
  border-radius: 12px !important;
  font-weight: 600 !important;
  padding: 13px 32px !important;
  font-size: 14px !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.VPHome .VPHero .VPButton.brand {
  background: linear-gradient(135deg, #1565c0, #1976d2) !important;
  border: none !important;
  box-shadow: 0 6px 18px rgba(21, 101, 192, 0.4) !important;
}
.VPHome .VPHero .VPButton.brand:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px rgba(21, 101, 192, 0.5) !important;
}
.VPHome .VPHero .VPButton.alt {
  border: 1.5px solid var(--vp-c-brand-1) !important;
  background: rgba(21, 101, 192, 0.04) !important;
  color: var(--vp-c-brand-1) !important;
}
.VPHome .VPHero .VPButton.alt:hover {
  background: var(--vp-c-brand-1) !important;
  color: #fff !important;
  transform: translateY(-3px) !important;
}

/* ── P0-4: 首页夜间模式补全 ── */
.dark .home-hero-bg {
  background: linear-gradient(180deg, rgba(100, 181, 246, 0.05) 0%, transparent 60%);
}
.dark .trust-bar {
  background: linear-gradient(135deg, rgba(100, 181, 246, 0.1), rgba(100, 181, 246, 0.03)) !important;
  border-color: rgba(100, 181, 246, 0.2) !important;
}
.dark .stat-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark .stat-card:hover {
  background: rgba(100, 181, 246, 0.06) !important;
  border-color: rgba(100, 181, 246, 0.3) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}
.dark .latest-item {
  background: rgba(255, 255, 255, 0.03) !important;
}
.dark .latest-item:hover {
  background: rgba(100, 181, 246, 0.08) !important;
  border-color: rgba(100, 181, 246, 0.3) !important;
}
.dark .cat-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark .cat-card:hover {
  background: rgba(100, 181, 246, 0.06) !important;
  border-color: rgba(100, 181, 246, 0.3) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4) !important;
}
.dark .article-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark .article-card:hover {
  background: rgba(100, 181, 246, 0.05) !important;
  border-color: rgba(100, 181, 246, 0.3) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4) !important;
}
.dark .section-line { background: rgba(255, 255, 255, 0.08) !important; }

/* ══════════════════════════════════════
   2026-07-11 美观优化 · P1 系列
   ══════════════════════════════════════ */

/* ── P1-5: 首屏 loading 优化 ── */
.app-loading {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--vp-c-bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  transition: opacity 0.3s ease;
}
.app-loading.hide { opacity: 0; pointer-events: none; }
.app-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--vp-c-brand-soft);
  border-top-color: var(--vp-c-brand-1);
  border-radius: 50%;
  animation: app-loading-spin 0.8s linear infinite;
}
.app-loading-text {
  font-size: 13px;
  color: var(--vp-c-text-2);
  letter-spacing: 1px;
  font-weight: 500;
}
@keyframes app-loading-spin {
  to { transform: rotate(360deg); }
}

/* ── P1-6: 时间线样式（替换 latest-grid）── */
.latest-timeline {
  max-width: 760px;
  margin: 0 auto 48px;
  padding: 0 24px;
  position: relative;
}
.latest-timeline::before {
  content: '';
  position: absolute;
  left: 88px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--vp-c-brand-1), transparent);
  opacity: 0.3;
}
.dark .latest-timeline::before {
  background: linear-gradient(180deg, var(--vp-c-brand-2), transparent);
}
.timeline-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  position: relative;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.timeline-item:hover { transform: translateX(6px); }
.timeline-date {
  width: 70px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--vp-c-brand-1);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.dark .timeline-date { color: var(--vp-c-brand-2); }
.timeline-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--vp-c-brand-1);
  border: 3px solid var(--vp-c-bg);
  box-shadow: 0 0 0 2px var(--vp-c-brand-1);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.timeline-item:hover .timeline-dot {
  transform: scale(1.4);
  transition: transform 0.2s ease;
}
.timeline-content {
  flex: 1;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--vp-c-bg-soft);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.timeline-item:hover .timeline-content {
  background: var(--vp-c-bg);
  border-color: var(--vp-c-brand-soft);
  box-shadow: 0 4px 14px rgba(21, 101, 192, 0.08);
}
.timeline-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 8px;
  letter-spacing: 0.3px;
}
.timeline-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--vp-c-text-1);
}

/* 隐藏原 latest-grid 走新时间线 */
.latest-grid { display: none; }

/* ── P1-7: 文章页阅读进度条 + TOC 美化 ── */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--vp-c-brand-1), var(--vp-c-brand-3));
  z-index: 100;
  transition: width 0.1s ease-out;
  box-shadow: 0 2px 6px rgba(21, 101, 192, 0.4);
}
/* TOC 高亮当前章节 */
.VPSidebarItem.is-active > .item .link,
.VPSidebarItem.active .link {
  background: var(--vp-c-brand-soft) !important;
  color: var(--vp-c-brand-1) !important;
  font-weight: 600 !important;
}
/* 右下角 TOC 美化 */
.VPDoc.has-aside .VPDocAside {
  padding-left: 28px !important;
}
.VPDocAside .title {
  font-weight: 700 !important;
  color: var(--vp-c-brand-1) !important;
  font-size: 13px !important;
  letter-spacing: 0.5px;
}
.VPDocAside a {
  font-size: 12.5px !important;
  line-height: 1.6 !important;
  border-left: 2px solid transparent;
  padding-left: 12px !important;
  transition: all 0.18s ease !important;
}
.VPDocAside a.active {
  color: var(--vp-c-brand-1) !important;
  border-left-color: var(--vp-c-brand-1) !important;
  font-weight: 600 !important;
  background: var(--vp-c-brand-soft);
  border-radius: 0 6px 6px 0;
}

/* ── P2-9: 中文字体优化（系统字体栈 + 优化字重）── */
:root {
  --vp-font-family-base:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑',
    'Source Han Sans CN', 'Noto Sans CJK SC', 'WenQuanYi Micro Hei',
    system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --vp-font-family-mono:
    'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas,
    'Liberation Mono', Menlo, monospace;
}
body, .vp-doc, .VPHero .text, .VPHero .tagline {
  font-family: var(--vp-font-family-base) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ── P2-10: 滚动渐入动画 ── */
@media (prefers-reduced-motion: no-preference) {
  .fade-in-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── P2-12: 上一篇/下一篇导航卡片 ── */
.prev-next-nav {
  max-width: 760px;
  margin: 60px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.prev-next-card {
  padding: 18px 22px;
  border-radius: 12px;
  border: 1px solid var(--vp-c-divider);
  background: var(--vp-c-bg-soft);
  text-decoration: none;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.prev-next-card:hover {
  border-color: var(--vp-c-brand-1);
  background: var(--vp-c-brand-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21, 101, 192, 0.1);
}
.prev-next-card .label {
  font-size: 11px;
  font-weight: 700;
  color: var(--vp-c-brand-1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.prev-next-card .title {
  font-size: 14px;
  font-weight: 600;
  color: var(--vp-c-text-1);
  line-height: 1.4;
}
.prev-next-card.next { text-align: right; align-items: flex-end; }

/* ══════════════════════════════════════
   2026-07-11 · 专栏页面美化（6 大专栏共享）
   ══════════════════════════════════════ */

/* ── 顶部数据条（专栏统计信息）── */
.cat-hero-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 28px;
  padding: 14px 22px;
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.06) 0%, rgba(21, 101, 192, 0.02) 100%);
  border: 1px solid rgba(21, 101, 192, 0.12);
  border-radius: 40px;
  font-size: 13px;
  color: var(--vp-c-text-2);
  max-width: fit-content;
}
.dark .cat-hero-stats {
  background: linear-gradient(135deg, rgba(100, 181, 246, 0.1) 0%, rgba(100, 181, 246, 0.03) 100%);
  border-color: rgba(100, 181, 246, 0.2);
}
.chs-dot { opacity: 0.3; }
.chs-item { font-weight: 500; }

/* ── 文章列表卡片（6 大专栏共享）── */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* ── 列表卡：统一品牌蓝，永久边框 + 顶部色条（与首页 article-card 一致）── */
  .al-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 12px;
    background: var(--vp-c-bg);
    border: 1px solid var(--vp-c-divider);
    text-decoration: none !important;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .al-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--vp-c-brand-1), var(--vp-c-brand-3));
    opacity: 0.6;
    transition: opacity 0.25s;
  }
  .al-item:hover::before { opacity: 1; }
  .al-item:hover {
    border-color: var(--vp-c-brand-soft);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.1);
  }
  .dark .al-item { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.08); }
  .dark .al-item:hover { border-color: rgba(100, 181, 246, 0.3); }
.al-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--vp-c-text-3);
  min-width: 32px;
  text-align: center;
  opacity: 0.4;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.al-item:hover .al-num {
  color: var(--vp-c-brand-1);
  opacity: 0.7;
}
.dark .al-item:hover .al-num { color: var(--vp-c-brand-2); }
.al-content {
  flex: 1;
  min-width: 0;
}
.al-content h4 {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--vp-c-text-1) !important;
  margin: 0 0 4px !important;
  line-height: 1.4 !important;
}
.al-content p {
  font-size: 12.5px !important;
  color: var(--vp-c-text-2) !important;
  margin: 0 !important;
  line-height: 1.5 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.al-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.3px;
}
.tag-symptom { background: rgba(21, 101, 192, 0.1); color: #1565c0; }
.tag-basic { background: rgba(106, 27, 154, 0.1); color: #6a1b9a; }
.tag-check { background: rgba(0, 105, 92, 0.1); color: #00695c; }
.tag-treat { background: rgba(46, 125, 50, 0.1); color: #2e7d32; }
.tag-surgery { background: rgba(198, 40, 40, 0.1); color: #c62828; }
.tag-faq { background: rgba(230, 81, 0, 0.1); color: #e65100; }
.tag-adult { background: rgba(121, 85, 72, 0.1); color: #795548; }
.tag-overview { background: rgba(21, 101, 192, 0.1); color: #1565c0; }
.tag-symptom-eye { background: rgba(230, 81, 0, 0.1); color: #e65100; }
.tag-lens { background: rgba(106, 27, 154, 0.1); color: #6a1b9a; }
.tag-postop { background: rgba(46, 125, 50, 0.1); color: #2e7d32; }
.tag-guide { background: rgba(0, 105, 92, 0.1); color: #00695c; }

/* ── 移动端响应式 ── */
@media (max-width: 768px) {
  .al-item { padding: 14px; gap: 10px; }
  .al-num { font-size: 16px; min-width: 26px; }
  .al-content h4 { font-size: 14px !important; }
  .al-content p { font-size: 12px !important; }
  .al-tag { display: none; }
  .cat-hero-stats { font-size: 12px; padding: 10px 16px; gap: 6px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .chs-item { white-space: nowrap; }
  .chs-dot { display: none; }
}

/* ── 响应式补全 ── */
@media (max-width: 768px) {
  .latest-timeline::before { left: 60px; }
  .timeline-date { width: 50px; font-size: 11px; }
  .prev-next-nav { grid-template-columns: 1fr; }
  .VPHome .VPHero { padding: 50px 16px 30px !important; }
}

/* ══════════════════════════════════════
   2026-07-11 v2 · 信任感 + 可读性升级
   ══════════════════════════════════════ */

/* ── P0-1: 医生卡片升级（真实头像 + 资质标签 + 数据徽章）── */
.doctor-section {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 760px;
  margin: 0 auto 48px;
  padding: 28px 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e3f0fc 100%);
  border: 1px solid #d0e5f8;
  position: relative;
  overflow: hidden;
}
.dark .doctor-section {
  background: linear-gradient(135deg, #1a2d45 0%, #152238 100%);
  border-color: #2a4060;
}
.doctor-section::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(21, 101, 192, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.doctor-left { display: flex; align-items: center; gap: 18px; flex: 1; }
.doctor-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1565c0, #1976d2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
}
.doctor-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.doctor-avatar::after {
  content: '';
  position: absolute;
  bottom: 2px; right: 2px;
  width: 16px; height: 16px;
  background: #2e7d32;
  border: 3px solid #fff;
  border-radius: 50%;
}
.dark .doctor-avatar::after { border-color: #152238; }
.doctor-info h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--vp-c-text-1) !important;
  margin-bottom: 4px !important;
}
.doctor-title {
  font-size: 12.5px !important;
  color: var(--vp-c-brand-1) !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
}
.doctor-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.cred-tag {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(21, 101, 192, 0.1);
  color: var(--vp-c-brand-1);
  border: 1px solid rgba(21, 101, 192, 0.2);
}
.dark .cred-tag {
  background: rgba(100, 181, 246, 0.15);
  color: var(--vp-c-brand-2);
  border-color: rgba(100, 181, 246, 0.3);
}
.doctor-stats {
  display: flex;
  gap: 16px;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed rgba(21, 101, 192, 0.2);
}
.d-stat { display: flex; flex-direction: column; }
.d-stat-num {
  font-size: 16px;
  font-weight: 800;
  color: var(--vp-c-brand-1);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.dark .d-stat-num { color: var(--vp-c-brand-2); }
.d-stat-label {
  font-size: 10px;
  color: var(--vp-c-text-3);
  margin-top: 2px;
  letter-spacing: 0.3px;
}
.doctor-desc {
  font-size: 12.5px !important;
  color: var(--vp-c-text-2) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}
.doctor-right { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.doctor-qr img {
  width: 96px; height: 96px;
  border-radius: 12px;
  border: 2px solid #d0e5f8;
}
.dark .doctor-qr img { border-color: #2a4060; }
.doctor-qr span {
  font-size: 11px;
  color: var(--vp-c-text-2);
  font-weight: 500;
}
@media (max-width: 768px) {
  .doctor-section { flex-direction: column; text-align: center; gap: 20px; padding: 24px 20px; }
  .doctor-left { flex-direction: column; }
  .doctor-stats { justify-content: center; }
  .doctor-credentials { justify-content: center; }
}

/* ── P0-2: 数据面板 SVG 图标 + hover 动效 ── */
.stat-card {
  text-align: center;
  padding: 22px 8px;
  border-radius: 14px;
  background: var(--vp-c-bg-soft);
  border: 1px solid var(--vp-c-divider);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: '';
  position: absolute;
  top: -2px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--vp-c-brand-1), var(--vp-c-brand-3));
  border-radius: 0 0 3px 3px;
  transition: width 0.3s ease;
}
.stat-card:hover::after { width: 80%; }
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(21, 101, 192, 0.12);
  border-color: var(--vp-c-brand-soft);
}
.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.1), rgba(66, 165, 245, 0.05));
  transition: all 0.3s ease;
}
.stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.2), rgba(66, 165, 245, 0.1));
}
.stat-icon svg { width: 22px; height: 22px; color: var(--vp-c-brand-1); }
.dark .stat-icon svg { color: var(--vp-c-brand-2); }

/* ── P0-3: Hero 资质轮播条 ── */
.hero-credentials {
  display: flex;
  gap: 8px;
  margin: 18px auto 0;
  max-width: 700px;
  padding: 0 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.hcred {
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(21, 101, 192, 0.08);
  color: var(--vp-c-brand-1);
  border: 1px solid rgba(21, 101, 192, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dark .hcred {
  background: rgba(100, 181, 246, 0.1);
  color: var(--vp-c-brand-2);
  border-color: rgba(100, 181, 246, 0.2);
}
.hcred::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--vp-c-brand-1);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}
.dark .hcred::before { background: var(--vp-c-brand-2); }

/* ── P1-4: 热门文章卡片悬浮微动效 + 标签飘动 ── */
.article-card { position: relative; }
.card-badge {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--vp-c-brand-1), var(--vp-c-brand-2));
  color: #fff;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(21, 101, 192, 0.3);
  transition: all 0.25s ease;
}
.article-card:hover .card-badge {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.4);
}
.card-badge.badge-hot { background: linear-gradient(135deg, #c62828, #e53935); box-shadow: 0 2px 8px rgba(198, 40, 40, 0.3); }
.card-badge.badge-new { background: linear-gradient(135deg, #2e7d32, #43a047); box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3); }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(21, 101, 192, 0.08);
  margin-bottom: 10px;
  font-size: 18px;
  transition: transform 0.3s ease;
}
.article-card:hover .card-icon { transform: scale(1.15) rotate(-8deg); }

/* ── P1-5: 时间线分类配色（6 类不同颜色）── */
.timeline-dot { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.timeline-item[data-cat="cataract"] .timeline-dot { background: #1565c0; box-shadow: 0 0 0 2px #1565c0; }
.timeline-item[data-cat="myopia"] .timeline-dot { background: #1976d2; box-shadow: 0 0 0 2px #1976d2; }
.timeline-item[data-cat="eye-care"] .timeline-dot { background: #2e7d32; box-shadow: 0 0 0 2px #2e7d32; }
.timeline-item[data-cat="eye-diseases"] .timeline-dot { background: #c62828; box-shadow: 0 0 0 2px #c62828; }
.timeline-item[data-cat="presbyopia"] .timeline-dot { background: #6a1b9a; box-shadow: 0 0 0 2px #6a1b9a; }
.timeline-item[data-cat="strabismus"] .timeline-dot { background: #00695c; box-shadow: 0 0 0 2px #00695c; }
.timeline-item[data-cat="cataract"] .timeline-date { color: #1565c0; }
.timeline-item[data-cat="myopia"] .timeline-date { color: #1976d2; }
.timeline-item[data-cat="eye-care"] .timeline-date { color: #2e7d32; }
.timeline-item[data-cat="eye-diseases"] .timeline-date { color: #c62828; }
.timeline-item[data-cat="presbyopia"] .timeline-date { color: #6a1b9a; }
.timeline-item[data-cat="strabismus"] .timeline-date { color: #00695c; }

/* ── P2-6: 首页信任三件套（评价/承诺/媒体）── */
.trust-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: 0 auto 48px;
  padding: 0 24px;
}
.trio-card {
  padding: 22px 20px;
  border-radius: 14px;
  background: var(--vp-c-bg-soft);
  border: 1px solid var(--vp-c-divider);
  text-align: center;
  transition: all 0.25s ease;
  position: relative;
}
.trio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(21, 101, 192, 0.1);
  border-color: var(--vp-c-brand-soft);
}
.trio-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  margin-bottom: 12px;
  font-size: 22px;
}
.trio-card:nth-child(1) .trio-icon { background: linear-gradient(135deg, rgba(21, 101, 192, 0.12), rgba(66, 165, 245, 0.06)); }
.trio-card:nth-child(2) .trio-icon { background: linear-gradient(135deg, rgba(46, 125, 50, 0.12), rgba(76, 175, 80, 0.06)); }
.trio-card:nth-child(3) .trio-icon { background: linear-gradient(135deg, rgba(230, 81, 0, 0.12), rgba(245, 124, 0, 0.06)); }
.trio-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--vp-c-text-1);
  margin-bottom: 6px;
}
.trio-content {
  font-size: 12.5px;
  color: var(--vp-c-text-2);
  line-height: 1.65;
}
.trio-content strong { color: var(--vp-c-brand-1); font-weight: 700; }
.dark .trio-content strong { color: var(--vp-c-brand-2); }
@media (max-width: 768px) {
  .trust-trio { grid-template-columns: 1fr; }
}

/* ── P0-7: 面包屑导航 ── */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--vp-c-text-2);
  padding: 12px 0 16px;
  margin: 0 0 8px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}
.breadcrumb-nav a {
  color: var(--vp-c-text-2);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.18s ease;
  border-bottom: none !important;
}
.breadcrumb-nav a:hover { color: var(--vp-c-brand-1); }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb-current {
  color: var(--vp-c-text-1);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 320px;
}

/* ── P0-8: 目录速览小卡 ── */
.toc-overview {
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.05) 0%, rgba(66, 165, 245, 0.02) 100%);
  border: 1px solid rgba(21, 101, 192, 0.15);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0 0 24px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.dark .toc-overview {
  background: linear-gradient(135deg, rgba(100, 181, 246, 0.08) 0%, rgba(100, 181, 246, 0.02) 100%);
  border-color: rgba(100, 181, 246, 0.2);
}
.toc-overview-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--vp-c-brand-1);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.dark .toc-overview-title { color: var(--vp-c-brand-2); }
.toc-overview-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.toc-overview-item {
  font-size: 13px;
  color: var(--vp-c-text-1);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: none !important;
  display: flex;
  align-items: baseline;
  gap: 8px;
  transition: color 0.15s ease;
}
.toc-overview-item:hover { color: var(--vp-c-brand-1); }
.toc-overview-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--vp-c-brand-1);
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
  min-width: 20px;
}
.dark .toc-overview-num { color: var(--vp-c-brand-2); }

/* ── P0-9: 关键句子高亮（tip 块强化）── */
.vp-doc .custom-block {
  border-left: 4px solid var(--vp-c-brand-1) !important;
  border-radius: 0 12px 12px 0 !important;
  padding: 16px 20px !important;
  margin: 1.6em 0 !important;
  background: linear-gradient(90deg, rgba(21, 101, 192, 0.05) 0%, rgba(21, 101, 192, 0.01) 100%) !important;
  box-shadow: 0 2px 8px rgba(21, 101, 192, 0.04);
}
.vp-doc .custom-block-tip { border-left-color: #2e7d32 !important; background: linear-gradient(90deg, rgba(46, 125, 50, 0.06) 0%, rgba(46, 125, 50, 0.01) 100%) !important; }
.vp-doc .custom-block-warning { border-left-color: #e65100 !important; background: linear-gradient(90deg, rgba(230, 81, 0, 0.06) 0%, rgba(230, 81, 0, 0.01) 100%) !important; }
.vp-doc .custom-block-danger { border-left-color: #c62828 !important; background: linear-gradient(90deg, rgba(198, 40, 40, 0.06) 0%, rgba(198, 40, 40, 0.01) 100%) !important; }
.vp-doc .custom-block-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--vp-c-brand-1) !important;
  margin-bottom: 6px !important;
  letter-spacing: 0.3px;
}
.vp-doc .custom-block-tip .custom-block-title { color: #2e7d32 !important; }
.vp-doc .custom-block-warning .custom-block-title { color: #e65100 !important; }
.vp-doc .custom-block-danger .custom-block-title { color: #c62828 !important; }
.vp-doc .custom-block p { margin-bottom: 6px !important; }
.vp-doc .custom-block p:last-child { margin-bottom: 0 !important; }

/* ── P1-10: 上一篇/下一篇导航卡片 ── */
.prev-next-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 760px;
  margin: 60px auto 0;
  padding: 0 24px;
}
.prev-next-card {
  padding: 18px 22px;
  border-radius: 12px;
  border: 1px solid var(--vp-c-divider);
  background: var(--vp-c-bg-soft);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
}
.prev-next-card::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--vp-c-brand-1), var(--vp-c-brand-3));
  opacity: 0;
  transition: opacity 0.25s;
}
.prev-next-card.prev::before { left: 0; }
.prev-next-card.next::before { right: 0; }
.prev-next-card:hover::before { opacity: 1; }
.prev-next-card:hover {
  border-color: var(--vp-c-brand-1);
  background: var(--vp-c-bg);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(21, 101, 192, 0.1);
}
.prev-next-card .label {
  font-size: 11px;
  font-weight: 700;
  color: var(--vp-c-brand-1);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.prev-next-card .title {
  font-size: 14px;
  font-weight: 600;
  color: var(--vp-c-text-1);
  line-height: 1.4;
}
.prev-next-card.next { text-align: right; align-items: flex-end; }
@media (max-width: 768px) {
  .prev-next-nav { grid-template-columns: 1fr; }
  .prev-next-card.next { text-align: left; align-items: flex-start; }
}

/* ── P2-12: 页面切换平滑过渡 ── */
.VPContent {
  animation: pageFadeIn 0.32s ease-out;
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .VPContent { animation: none; }
  .timeline-item:hover, .al-item:hover, .article-card:hover, .stat-card:hover,
  .trio-card:hover, .prev-next-card:hover { transform: none !important; }
}

/* ══════════════════════════════════════
   2026-07-11 v3 · 文章页信任 + 体验升级
   ══════════════════════════════════════ */

/* ── P0-A4: 文章页作者信任卡 ── */
.author-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  margin: 0 0 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.05) 0%, rgba(66, 165, 245, 0.02) 100%);
  border: 1px solid rgba(21, 101, 192, 0.15);
  position: relative;
  overflow: hidden;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.dark .author-trust {
  background: linear-gradient(135deg, rgba(100, 181, 246, 0.08) 0%, rgba(100, 181, 246, 0.02) 100%);
  border-color: rgba(100, 181, 246, 0.2);
}
.author-trust::before {
  content: '';
  position: absolute;
  top: -30px; left: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(21, 101, 192, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.at-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1565c0, #1976d2);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
  position: relative;
}
.at-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.at-avatar::after {
  content: '';
  position: absolute;
  bottom: 1px; right: 1px;
  width: 12px; height: 12px;
  background: #2e7d32;
  border: 2px solid #fff;
  border-radius: 50%;
}
.dark .at-avatar::after { border-color: #152238; }
.at-info { flex: 1; min-width: 0; }
.at-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--vp-c-text-1);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.at-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1565c0, #1976d2);
  color: #fff;
  letter-spacing: 0.3px;
}
.at-title {
  font-size: 12px;
  color: var(--vp-c-brand-1);
  font-weight: 500;
  margin-bottom: 4px;
}
.dark .at-title { color: var(--vp-c-brand-2); }
.at-meta {
  display: flex;
  gap: 14px;
  font-size: 11.5px;
  color: var(--vp-c-text-3);
  flex-wrap: wrap;
}
.at-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.at-meta-item svg { width: 12px; height: 12px; opacity: 0.7; }
@media (max-width: 768px) {
  .author-trust { flex-direction: column; text-align: center; gap: 12px; padding: 16px; }
  .at-info { text-align: center; }
  .at-name { justify-content: center; }
  .at-meta { justify-content: center; }
}

/* ── P1-B1: 专栏页 H2 分组装饰 ── */
.vp-doc h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2.4em !important;
  margin-bottom: 16px !important;
  padding: 10px 16px !important;
  border-left: 4px solid var(--vp-c-brand-1) !important;
  background: linear-gradient(90deg, rgba(21, 101, 192, 0.06) 0%, rgba(21, 101, 192, 0.01) 100%) !important;
  border-radius: 0 8px 8px 0 !important;
  font-size: 1.35em !important;
  font-weight: 700 !important;
  color: var(--vp-c-text-1) !important;
  position: relative;
}
.dark .vp-doc h2 {
  border-left-color: var(--vp-c-brand-2) !important;
  background: linear-gradient(90deg, rgba(100, 181, 246, 0.08) 0%, rgba(100, 181, 246, 0.02) 100%) !important;
}
.vp-doc h2::before {
  content: '◆';
  font-size: 0.7em;
  color: var(--vp-c-brand-1);
  opacity: 0.5;
}
.dark .vp-doc h2::before { color: var(--vp-c-brand-2); }

/* ── P1-B2: 相关推荐模块 ── */
.related-posts {
  max-width: 760px;
  margin: 56px auto 0;
  padding: 0 24px;
}
.related-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1em;
  font-weight: 700;
  color: var(--vp-c-text-1);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--vp-c-brand-soft);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.related-card {
  display: block;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--vp-c-bg-soft);
  border: 1px solid var(--vp-c-divider);
  text-decoration: none !important;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.related-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--vp-c-brand-1);
  transform: scaleY(0);
  transition: transform 0.25s ease;
  transform-origin: top;
}
.related-card:hover::before { transform: scaleY(1); }
.related-card:hover {
  background: var(--vp-c-bg);
  border-color: var(--vp-c-brand-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(21, 101, 192, 0.08);
}
.dark .related-card { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.08); }
.dark .related-card:hover { background: rgba(100, 181, 246, 0.06); }
.related-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--vp-c-brand-1);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.dark .related-cat { color: var(--vp-c-brand-2); }
.related-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--vp-c-text-1);
  line-height: 1.5;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-arrow {
  font-size: 12px;
  color: var(--vp-c-text-3);
  transition: all 0.25s ease;
}
.related-card:hover .related-arrow {
  color: var(--vp-c-brand-1);
  transform: translateX(4px);
}
@media (max-width: 600px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ── P1-B3: 返回顶部按钮 ── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1565c0, #1976d2);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(21, 101, 192, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-to-top:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 28px rgba(21, 101, 192, 0.5);
}
.back-to-top:active { transform: scale(0.95); }
.back-to-top svg { width: 22px; height: 22px; }
@media (max-width: 768px) {
  .back-to-top { width: 42px; height: 42px; bottom: 20px; right: 20px; }
  .back-to-top svg { width: 18px; height: 18px; }
}

/* ── P2-C1: 打印样式 ── */
.print-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--vp-c-text-2);
  background: var(--vp-c-bg-soft);
  border: 1px solid var(--vp-c-divider);
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 12px;
}
.print-btn:hover {
  color: var(--vp-c-brand-1);
  border-color: var(--vp-c-brand-1);
  background: var(--vp-c-brand-soft);
}
.print-btn svg { width: 14px; height: 14px; }

@media print {
  .VPNav, .VPSidebar, .VPDocAside, .VPDocFooter, footer, .back-to-top,
  .reading-progress, .app-loading, .breadcrumb-nav, .toc-overview,
  .prev-next-nav, .related-posts, .author-trust, .print-btn { display: none !important; }
  .VPContent { animation: none !important; }
  .vp-doc { max-width: 100% !important; padding: 0 !important; }
  .vp-doc h2 { page-break-after: avoid; background: none !important; }
  .vp-doc h3 { page-break-after: avoid; }
  .vp-doc table, .vp-doc pre { page-break-inside: avoid; }
  body { font-size: 12pt; line-height: 1.6; color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
  .vp-doc a::after { content: " (" attr(href) ")"; font-size: 10pt; color: #666; }
}

/* ── P2-C2: 首页首屏滚动指示 ── */
.scroll-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--vp-c-text-2);
  letter-spacing: 1px;
  opacity: 0.7;
  animation: scrollHintBounce 2s ease-in-out infinite;
  pointer-events: none;
}
.scroll-hint::after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--vp-c-text-2);
  border-bottom: 2px solid var(--vp-c-text-2);
  transform: rotate(45deg);
  opacity: 0.6;
}
@keyframes scrollHintBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}
@media (max-width: 768px) {
  .scroll-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint { animation: none; }
}

/* ══════════════════════════════════════
   2026-07-11 v5 · 6 大专栏分类页 · 极简重置
   ══════════════════════════════════════ */

/* ── 列表卡：统一品牌蓝，永久边框 + 顶部色条（与首页 article-card 一致）── */
.article-list { margin: 12px 0 28px; }
.al-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--vp-c-bg);
  border: 1px solid var(--vp-c-divider);
  text-decoration: none !important;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.al-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--vp-c-brand-1), var(--vp-c-brand-3));
  opacity: 0.6;
  transition: opacity 0.25s;
}
.al-item:hover::before { opacity: 1; }
.al-item:hover {
  border-color: var(--vp-c-brand-soft);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 101, 192, 0.1);
}
.dark .al-item { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.08); }
.dark .al-item:hover { border-color: rgba(100, 181, 246, 0.3); }
.al-cover {
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.1), rgba(66, 165, 245, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.al-item:hover .al-cover { transform: scale(1.06); }
.al-content { flex: 1; min-width: 0; }
.al-content h4 {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--vp-c-text-1) !important;
  margin: 0 0 3px !important;
  line-height: 1.4 !important;
}
.al-content p {
  font-size: 12.5px !important;
  color: var(--vp-c-text-2) !important;
  margin: 0 !important;
  line-height: 1.5 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.al-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  background: rgba(21, 101, 192, 0.08);
  color: var(--vp-c-brand-1);
  letter-spacing: 0.3px;
}
.dark .al-item { background: rgba(255, 255, 255, 0.03); }
.dark .al-item:hover { background: rgba(100, 181, 246, 0.05); }
.dark .al-cover { background: linear-gradient(135deg, rgba(100, 181, 246, 0.12), rgba(66, 165, 245, 0.05)); }
.dark .al-tag { background: rgba(100, 181, 246, 0.15); color: var(--vp-c-brand-2); }
@media (max-width: 768px) {
  .al-item { padding: 14px; gap: 10px; }
  .al-cover { width: 40px; height: 40px; font-size: 20px; }
  .al-content h4 { font-size: 14px !important; }
  .al-content p { font-size: 12px !important; }
  .al-tag { display: none; }
}

/* ── 置顶首篇（极简版：左侧品牌色竖条，不喧宾夺主）── */
.al-item.al-featured {
  border-left: 3px solid var(--vp-c-brand-1);
  background: linear-gradient(90deg, rgba(21, 101, 192, 0.04), rgba(21, 101, 192, 0) 40%);
  padding-left: 22px;
}
.dark .al-item.al-featured {
  border-left-color: var(--vp-c-brand-2);
  background: linear-gradient(90deg, rgba(100, 181, 246, 0.08), rgba(100, 181, 246, 0) 40%);
}

/* ── 文章页内 H2 视觉降级（专栏页 H2 不装饰）── */
/* 只对有 cat-hero-stats 的页面降级（专栏页特征），不影响文章页 */
.vp-doc:has(.cat-hero-stats) h2 {
  display: block !important;
  margin-top: 2em !important;
  margin-bottom: 16px !important;
  padding: 0 !important;
  border-left: none !important;
  background: none !important;
  border-radius: 0 !important;
  font-size: 1.25em !important;
  font-weight: 700 !important;
  color: var(--vp-c-text-1) !important;
  position: static !important;
}
.vp-doc:has(.cat-hero-stats) h2::before { content: none !important; }

/* ── 移动端响应式 ── */
@media (max-width: 768px) {
  .al-item.al-featured { padding-left: 14px; }
}

/* ── FAQ schema 注入区隐藏样式 ── */

/* ── AI 口播播放器样式 ── */
#ai-audio-player {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(135deg, #1a3a5c 0%, #0d2137 100%);
  border-top: 2px solid #2a6fbf;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  padding: 10px 16px;
  margin-top: 32px;
}
#ai-audio-player .aap-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
#ai-audio-player .aap-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #7db4e8;
  font-size: 13px;
  flex-shrink: 0;
}
#ai-audio-player .aap-icon {
  width: 20px;
  height: 20px;
  color: #7db4e8;
}
#ai-audio-player .aap-label {
  font-weight: 600;
  white-space: nowrap;
}
#ai-audio-player .aap-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
#ai-audio-player .aap-btn {
  background: #2a6fbf;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.1s;
  padding: 0;
}
#ai-audio-player .aap-btn:hover { background: #3a82cf; transform: scale(1.05); }
#ai-audio-player .aap-btn svg { width: 14px; height: 14px; color: #fff; }
#ai-audio-player .aap-progress-wrap {
  flex: 1;
  cursor: pointer;
}
#ai-audio-player .aap-progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  overflow: hidden;
}
#ai-audio-player .aap-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4a9eff, #7db4e8);
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s linear;
}
#ai-audio-player .aap-time {
  font-size: 12px;
  color: #9dc4e8;
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  min-width: 80px;
}
#ai-audio-player .aap-download {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
  transition: background 0.2s;
}
#ai-audio-player .aap-download:hover { background: rgba(255,255,255,0.2); }
#ai-audio-player .aap-download svg { width: 15px; height: 15px; color: #9dc4e8; }

/* 移动端适配 */
@media (max-width: 600px) {
  #ai-audio-player .aap-time { display: none; }
  #ai-audio-player { padding: 8px 12px; }
}


/* AEO: 快速回答框 */
.quick-answer-box {
  margin: 1.5rem 0;
  padding: 16px 20px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
  border-left: 4px solid #1a5e96;
  border-radius: 0 12px 12px 0;
  font-size: 15px;
  line-height: 1.7;
  color: #1a365d;
  box-shadow: 0 2px 8px rgba(26,94,150,0.08);
}
.dark .quick-answer-box {
  background: linear-gradient(135deg, #1a2d45, #152238);
  border-left-color: #60a5fa;
  color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.quick-answer-box .qa-label {
  font-weight: 700;
  font-size: 13px;
  color: #1a5e96;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dark .quick-answer-box .qa-label { color: #60a5fa; }
.quick-answer-box .qa-text {
  text-indent: 0;
  margin: 0;
}

/* AEO: 文章底部元信息 */
.article-meta-footer {
  margin-top: 2rem;
  padding: 12px 16px;
  background: var(--vp-c-bg-soft);
  border-radius: 8px;
  border: 1px solid var(--vp-c-divider);
  font-size: 12px;
  color: var(--vp-c-text-2);
  text-align: center;
}
.article-meta-footer .meta-update {
  text-indent: 0;
}

/* ═══ 关于页面：隐藏侧边栏和目录 ═══ */
.VPDoc._blog_posts_about_ ~ .VPSidebar,
.VPDoc._blog_posts_about_ ~ .VPDocAside,
.VPContent.has-sidebar .VPDoc._blog_posts_about_ .aside,
.VPContent.has-sidebar .VPDoc._blog_posts_about_ .VPSidebar,
.VPContent.has-sidebar .VPDoc._blog_posts_about_ aside,
.VPSidebar:has(~ .VPContent .VPDoc._blog_posts_about_),
.VPDoc._blog_posts_about_ aside { display: none !important; }
.VPContent.has-sidebar .VPDoc._blog_posts_about_ {
  padding-left: 0 !important;
  margin-left: 0 !important;
}
.VPContent.has-sidebar .VPDoc._blog_posts_about_ .container {
  max-width: 100% !important;
}
.VPContent.has-sidebar .VPDoc._blog_posts_about_ .content {
  max-width: 100% !important;
}
.VPContent.has-sidebar .VPDoc._blog_posts_about_ .main {
  max-width: 100% !important;
  padding: 0 !important;
}

/* ══════════════════════════════════════
   文章页排版统一 & 美化 (2026-07-13)
   ══════════════════════════════════════ */

/* ── 封面图 ── */
.vp-doc .cover-img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 0 24px 0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vp-doc .cover-img:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.15);
}

/* ── "一句话记住" 摘要框 ── */
.vp-doc h2#一句话记住,
.vp-doc h2:has(+ blockquote) {
  /* 不做特殊处理，由下面的 blockquote 样式覆盖 */
}
.vp-doc blockquote:has(+ *:not(blockquote)):not(h2),
.vp-doc blockquote {
  border-left: 4px solid var(--vp-c-brand-1) !important;
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.06) 0%, rgba(66, 165, 245, 0.03) 100%) !important;
  border-radius: 0 12px 12px 0 !important;
  padding: 16px 24px !important;
  margin: 1.5em 0 !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: var(--vp-c-text-1) !important;
  font-style: normal !important;
  box-shadow: 0 2px 12px rgba(21, 101, 192, 0.06);
  position: relative;
}
.vp-doc blockquote::before {
  content: '💡';
  position: absolute;
  top: -12px;
  left: 12px;
  font-size: 20px;
  background: var(--vp-c-bg);
  padding: 0 4px;
}
.dark .vp-doc blockquote {
  border-left-color: var(--vp-c-brand-2) !important;
  background: linear-gradient(135deg, rgba(100, 181, 246, 0.1) 0%, rgba(66, 165, 245, 0.04) 100%) !important;
}

/* ── 章节标题 ── */
.vp-doc h2 {
  font-size: 22px !important;
  font-weight: 700 !important;
  margin-top: 2em !important;
  margin-bottom: 0.8em !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid var(--vp-c-brand-soft) !important;
  position: relative;
  color: var(--vp-c-text-1) !important;
}
.vp-doc h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--vp-c-brand-1);
  border-radius: 1px;
}
.vp-doc h3 {
  font-size: 18px !important;
  font-weight: 600 !important;
  margin-top: 1.5em !important;
  color: var(--vp-c-text-1) !important;
}

/* ── 段落排版 ── */
.vp-doc p {
  text-indent: 2em;
  margin-bottom: 1em;
  line-height: 1.85 !important;
  color: var(--vp-c-text-1) !important;
}
.vp-doc li p {
  text-indent: 0;
}
.vp-doc blockquote p {
  text-indent: 0;
}

/* ── 列表美化 ── */
.vp-doc ul, .vp-doc ol {
  padding-left: 1.5em !important;
  margin: 1em 0 !important;
}
.vp-doc li {
  margin: 6px 0 !important;
  line-height: 1.75 !important;
}

/* ── 加粗文字 ── */
.vp-doc strong {
  color: var(--vp-c-brand-1) !important;
  font-weight: 600 !important;
}
.dark .vp-doc strong {
  color: var(--vp-c-brand-2) !important;
}

/* ── 分隔线 ── */
.vp-doc hr {
  border: none !important;
  border-top: 1px dashed var(--vp-c-divider) !important;
  margin: 2em 0 !important;
}

/* ── 免责声明（斜体小字） ── */
.vp-doc em:last-child,
.vp-doc > div > em:last-child {
  display: block;
  text-align: center;
  font-size: 13px !important;
  color: var(--vp-c-text-3) !important;
  margin-top: 2em !important;
  padding-top: 16px !important;
  border-top: 1px dashed var(--vp-c-divider) !important;
}

/* ── 文章整体宽度 ── */
.vp-doc .main {
  max-width: 780px;
  margin: 0 auto;
}

/* ── 打印优化 ── */
@media print {
  .vp-doc .cover-img { max-height: 200px; box-shadow: none; }
  .vp-doc blockquote { border-left-width: 3px; box-shadow: none; }
  .audio-player, .breadcrumb-nav, .toc-overview,
  .author-trust, .related-posts, .seo-extension,
  .prev-next-nav, .back-to-top, .print-btn { display: none !important; }
}
