/* 引入霞鹜文楷（Light / Regular / Bold 三款字重） */
@import url('https://cdn.jsdelivr.net/npm/lxgw-wenkai-webfont@1.7.0/style.css');

/* 全局应用字体 */
body {
  font-family: 'LXGW WenKai', 'LXGW WenKai Lite', 'Noto Sans SC', sans-serif;
  font-weight: 400;
}

/* 标题加粗 */
h1, h2, h3, h4, h5, h6, strong {
  font-weight: 700;
}

/* 代码块保持等宽字体，正文不受影响 */
code, pre, kbd {
  font-family: 'LXGW WenKai', 'LXGW WenKai Mono', 'Fira Code', monospace;
}

/* 可选：微调行高，文楷字体略高，增加阅读舒适度 */
.md-typeset {
  line-height: 1.8;
}

/* AI 摘要卡片 */
.md-typeset .ai-summary-card {
  margin: 0.8rem 0 1.2rem;
  padding: 0.9rem 1rem 0.8rem;
  border: 1px solid rgba(25, 118, 210, 0.25);
  border-left: 4px solid #1e88e5;
  border-radius: 0.7rem;
  background: linear-gradient(180deg, rgba(227, 242, 253, 0.65), rgba(255, 255, 255, 0.95));
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.08);
}

.md-typeset .ai-summary-title {
  margin: 0 0 0.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #1565c0;
}

.md-typeset .ai-summary-meta {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  opacity: 0.72;
}

.md-typeset .ai-summary-list {
  margin: 0.25rem 0 0.1rem 1.1rem;
}

.md-typeset .ai-summary-list li {
  margin: 0.2rem 0;
  line-height: 1.6;
}

.md-typeset .ai-summary-empty {
  margin: 0.25rem 0 0.1rem;
  font-size: 0.84rem;
  opacity: 0.8;
}

[data-md-color-scheme="slate"] .md-typeset .ai-summary-card {
  border: 1px solid rgba(76, 171, 255, 0.35);
  border-left: 4px solid #4dabff;
  background: linear-gradient(180deg, rgba(16, 26, 41, 0.92), rgba(21, 32, 49, 0.92));
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.26);
}

[data-md-color-scheme="slate"] .md-typeset .ai-summary-title {
  color: #85c5ff;
}
