/* ══════════════════════════════════════
   爱瞳眼科 · 全新首页设计 (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;
}
.latest-grid .latest-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--vp-c-text-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ═══ 子栏目页：文章列表（认错、治疗、术后分组） ═══ */
.article-list {
  margin: 12px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.al-item {
  position: relative;
  display: flex !important;
  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 {
  font-size: 28px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--vp-c-bg-soft);
  border-radius: 10px;
  flex-shrink: 0;
  line-height: 1;
}
.al-content {
  flex: 1;
  min-width: 0;
}
.al-content h4 {
  font-size: 15px !important;
  font-weight: 600 !important;
  margin: 0 0 4px 0 !important;
  color: var(--vp-c-text-1) !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;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.al-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--vp-c-brand-soft);
  color: var(--vp-c-brand-1);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.3px;
}
.al-featured {
  border-color: var(--vp-c-brand-soft);
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.04) 0%, rgba(21, 101, 192, 0.01) 100%);
}
.al-featured::before {
  opacity: 1 !important;
}

/* ═══ latest-tag (首页专用) ═══ */
.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;
}

/* ═══ 封面图 ═══ */
.cover-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 0 24px 0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.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; }
}

/* ═══ 新设计: 医生个人主页 (2026-08-01) ═══ */
/* ==================== RESET & BASE ==================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
  background: #faf7f4;
  color: #1a1a2e;
  overflow-x: hidden;
  line-height: 1.7;
}

/* ==================== CSS VARIABLES ==================== */
:root {
  --navy: #0a1628;
  --navy-light: #132240;
  --teal: #1a8a7a;
  --teal-light: #2abca8;
  --teal-dark: #147065;
  --gold: #c9a96e;
  --gold-light: #e8d5a8;
  --cream: #faf6f1;
  --cream-dark: #f0e8de;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-light: #5a5a72;
  --text-muted: #8a8aa0;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 12px 48px rgba(10, 22, 40, 0.12);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Noto Serif SC', serif;
  font-weight: 600;
  line-height: 1.25;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p { font-size: clamp(1rem, 1.2vw, 1.1rem); color: var(--text-light); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-label {
  display: inline-block;
  font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
  position: relative;
  padding-left: 48px;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 36px;
  height: 2px;
  background: var(--teal);
  transform: translateY(-50%);
}
.section-title {
  margin-bottom: 16px;
  color: var(--navy);
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.8;
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.brand-icon::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid white;
  border-radius: 50%;
  opacity: 0.9;
}
.brand-icon::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  opacity: 0.95;
}
.brand-name {
  font-family: 'Playfair Display', 'Noto Serif SC', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
}
.navbar.scrolled .brand-name { color: var(--navy); }
.navbar:not(.scrolled) .brand-name { color: white; }
.brand-name span { color: var(--teal); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition);
  position: relative;
  padding: 4px 0;
}
.navbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.8); }
.navbar:not(.scrolled) .nav-links a:hover { color: white; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  padding: 10px 24px;
  background: var(--teal);
  color: white !important;
  border-radius: 50px;
  font-weight: 600;
  transition: all var(--transition);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 138, 122, 0.4);
}
.nav-cta.nav-cta-light {
  background: white;
  color: var(--navy) !important;
}
.navbar:not(.scrolled) .nav-cta.nav-cta-light:hover {
  background: rgba(255,255,255,0.9);
}
/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}
.navbar:not(.scrolled) .nav-toggle span { background: white; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==================== HERO ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--navy);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(26, 138, 122, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(201, 169, 110, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(10, 22, 40, 1) 0%, transparent 100%);
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  animation: float-particle 20s infinite linear;
}
@keyframes float-particle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
}
.hero-content { position: relative; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(26, 138, 122, 0.15);
  border: 1px solid rgba(26, 138, 122, 0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--teal-light);
  font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--teal-light);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-title {
  color: white;
  margin-bottom: 8px;
}
.hero-title-name {
  display: block;
  color: var(--gold-light);
  font-style: italic;
}
.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
  line-height: 1.8;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin: 36px 0 40px;
}
.hero-stat-item h3 {
  font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-item p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--teal);
  color: white;
}
.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26, 138, 122, 0.4);
}
.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  color: white;
  transform: translateY(-2px);
}
.btn-arrow {
  transition: transform 0.3s;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* Hero Right - Image/Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-iris {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle at 35% 35%, rgba(26, 138, 122, 0.3), rgba(10, 22, 40, 0.8));
  border: 1px solid rgba(255,255,255,0.08);
  animation: iris-rotate 30s infinite linear;
}
@keyframes iris-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.hero-iris-inner {
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  background: radial-gradient(circle at 40% 40%, rgba(26, 138, 122, 0.1), transparent 70%);
}
.hero-iris-inner::before {
  content: '';
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
}
.hero-iris-text {
  font-family: 'Playfair Display', 'Noto Serif SC', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.1);
  text-align: center;
  line-height: 1.4;
  letter-spacing: 4px;
}
.hero-iris-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04);
  animation: iris-ring-pulse 4s ease-in-out infinite;
}
@keyframes iris-ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.04); opacity: 0.6; }
}
.hero-iris-ring:nth-child(2) { animation-delay: 1s; }
.hero-iris-ring:nth-child(3) { animation-delay: 2s; }
.hero-iris-ring:nth-child(4) { animation-delay: 3s; }

.hero-experience-card {
  position: absolute;
  bottom: 20px;
  right: -20px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px 24px;
  min-width: 180px;
}
.hero-experience-card h4 {
  font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
}
.hero-experience-card p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ==================== ABOUT SECTION ==================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-frame {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
}
.about-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  letter-spacing: 2px;
}
.about-image-placeholder .icon-big {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.3;
}
.about-image-decoration {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  opacity: 0.3;
  z-index: -1;
}
.about-image-decoration2 {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  opacity: 0.2;
  z-index: -1;
}
.about-content .section-title { margin-top: 0; }
.about-text {
  margin-bottom: 20px;
  font-size: 1.02rem;
  line-height: 1.9;
}
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.about-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.about-highlight-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(26, 138, 122, 0.1), rgba(26, 138, 122, 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.about-highlight-item h4 {
  font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.about-highlight-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==================== EXPERTISE / SERVICES ==================== */
.expertise {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.expertise::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 80% 20%, rgba(26, 138, 122, 0.08), transparent);
}
.expertise .section-label { color: var(--teal-light); }
.expertise .section-label::before { background: var(--teal-light); }
.expertise .section-title { color: white; }
.expertise .section-subtitle { color: rgba(255,255,255,0.6); }
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
}
.expertise-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.expertise-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(26, 138, 122, 0.3);
  transform: translateY(-4px);
}
.expertise-card:hover::before { opacity: 1; }
.expertise-card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(26, 138, 122, 0.2), rgba(26, 138, 122, 0.05));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.expertise-card h3 {
  font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
  font-size: 1.15rem;
  color: white;
  margin-bottom: 10px;
}
.expertise-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* ==================== BLOG SECTION ==================== */
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  cursor: pointer;
  group: true;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.blog-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--cream-dark), var(--cream));
  position: relative;
  overflow: hidden;
}
.blog-card-image-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: 0.3;
  transition: transform 0.6s, opacity 0.4s;
}
.blog-card:hover .blog-card-image-inner {
  transform: scale(1.08);
  opacity: 0.5;
}
.blog-card-category {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 14px;
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(10px);
  color: white;
  font-size: 0.7rem;
  font-weight: 500;
  border-radius: 50px;
  letter-spacing: 1px;
}
.blog-card-body {
  padding: 24px;
}
.blog-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}
.blog-card h3 {
  font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.blog-card:hover .blog-card-link { gap: 10px; }

/* ==================== TESTIMONIALS ==================== */
.testimonials {
  background: var(--cream);
}
.testimonials-header {
  text-align: center;
  margin-bottom: 56px;
}
.testimonials-header .section-label::before {
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}
.testimonials-header .section-subtitle { margin: 0 auto; text-align: center; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(26, 138, 122, 0.08);
}
.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}
.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 30% 50%, rgba(26, 138, 122, 0.1), transparent);
}
.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-content h2 {
  color: white;
  margin-bottom: 16px;
}
.cta-content p {
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto 36px;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-buttons .btn-primary {
  background: white;
  color: var(--navy);
}
.cta-buttons .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 8px 32px rgba(255,255,255,0.15);
}
.cta-buttons .btn-outline {
  border-color: rgba(255,255,255,0.3);
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .brand-name {
  color: white;
  margin-bottom: 12px;
  display: inline-block;
}
.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  max-width: 320px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(26, 138, 122, 0.1);
}
.footer-column h4 {
  font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
  font-size: 0.9rem;
  color: white;
  margin-bottom: 20px;
}
.footer-column ul {
  list-style: none;
}
.footer-column ul li {
  margin-bottom: 10px;
}
.footer-column ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer-column ul li a:hover { color: var(--teal-light); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ==================== SCROLL ANIMATIONS ==================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-stats { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image-frame { max-width: 400px; margin: 0 auto; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 20px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    transition: right 0.4s ease;
    align-items: flex-start;
  }
  .nav-links.open { right: 0; }
  .navbar:not(.scrolled) .nav-links a { color: var(--text-light); }
  .nav-toggle { display: flex; }
  .section { padding: 64px 0; }
  .hero { min-height: 90vh; }
  .hero .container { padding-top: 80px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .expertise-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-header { flex-direction: column; align-items: flex-start; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-stat-item h3 { font-size: 1.5rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
}



/* ══════════════════════════════════════
   P2: 可访问性 - skip-link / focus / main / article
   ══════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 9999;
  padding: 12px 24px;
  background: #1565c0;
  color: white;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 4px 0;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* 焦点可见性 (键盘用户) */
*:focus-visible {
  outline: 3px solid #1565c0 !important;
  outline-offset: 2px !important;
  border-radius: 4px;
}
a:focus-visible, button:focus-visible {
  outline-offset: 3px;
}

/* 强制语义化 main/article */
.VPContent .VPDoc .container .content-container { padding-bottom: 40px; }

/* 暗色模式下的焦点环 */
.dark *:focus-visible {
  outline-color: #64b5f6 !important;
}

/* ══════════════════════════════════════
   P1: 图片 lazy load + 现代格式优先级
   ══════════════════════════════════════ */
img {
  max-width: 100%;
  height: auto;
}
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.4s ease;
}
img[loading="lazy"].loaded,
img[loading="lazy"].vp-loaded {
  opacity: 1;
}
/* Hero/Critical 图片立即加载, 其他懒加载 */


/* ══════════════════════════════════════
   AI SEO: 知识图谱关联区块 (2026-08-02)
   让 AI 爬虫识别站内文章之间的关联性
   ══════════════════════════════════════ */
.knowledge-graph {
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f3ff 100%);
  border: 1px solid #b3daff;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 40px 0;
}
.dark .knowledge-graph {
  background: linear-gradient(135deg, #1a2332 0%, #0d1b2a 100%);
  border-color: #2a4a6a;
}
.knowledge-graph h3 {
  margin-top: 0;
  color: #1565c0;
  font-size: 18px;
}
.dark .knowledge-graph h3 {
  color: #64b5f6;
}
.knowledge-graph .kg-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.knowledge-graph .kg-tag {
  display: inline-block;
  padding: 6px 14px;
  background: white;
  border: 1px solid #b3daff;
  border-radius: 20px;
  color: #1565c0;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s;
}
.knowledge-graph .kg-tag:hover {
  background: #1565c0;
  color: white;
  transform: translateY(-1px);
}
.dark .knowledge-graph .kg-tag {
  background: #1a2332;
  border-color: #2a4a6a;
  color: #64b5f6;
}
.dark .knowledge-graph .kg-tag:hover {
  background: #64b5f6;
  color: #1a2332;
}
.knowledge-graph .kg-meta {
  font-size: 12px;
  color: #5a6c7d;
  margin-top: 12px;
}


/* ══════════════════════════════════════
   2026-08-19 v4 · 子栏目移动端适配增强
   ══════════════════════════════════════ */

/* ── 中等屏幕 (≤768px) ── */
@media (max-width: 768px) {
    .article-list { gap: 10px; margin: 10px 0 24px; }
    .al-item { padding: 14px 16px !important; gap: 12px !important; }
    .al-cover { width: 44px !important; height: 44px !important; font-size: 22px !important; }
    .al-content h4 { font-size: 15px !important; line-height: 1.4; margin: 0 0 4px; }
    .al-content p { font-size: 13px !important; line-height: 1.5; margin: 0; }
    .al-tag { font-size: 11px !important; padding: 3px 8px !important; }
    .al-featured { padding-left: 16px !important; }
    .cat-hero-stats { font-size: 12px !important; padding: 10px 14px !important; gap: 8px !important; }
    .cover-img { max-height: 220px !important; margin-bottom: 18px !important; }
    /* 让 tag 移到下一行，避免挤压标题 */
    .al-item { flex-wrap: wrap; }
    .al-tag { order: 3; margin-top: 6px; align-self: flex-start; }
}

/* ── 小屏幕手机 (≤480px) ── */
@media (max-width: 480px) {
    .al-item { padding: 12px 14px !important; gap: 10px !important; }
    .al-cover { width: 38px !important; height: 38px !important; font-size: 18px !important; }
    .al-content h4 { font-size: 14px !important; }
    .al-content p { font-size: 12px !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .al-tag { font-size: 10px !important; padding: 2px 6px !important; }
    .cat-hero-stats { font-size: 11px !important; padding: 8px 12px !important; gap: 6px !important; }
    .cover-img { max-height: 180px !important; }
    .chs-dot { display: none !important; }
    .cat-hero-stats { gap: 4px !important; }
}

/* ── 横屏手机 / 大屏平板 (≥481px ≤768px) ── */
@media (min-width: 481px) and (max-width: 768px) {
    .al-content p { -webkit-line-clamp: 2; }
}
