/* FDE Book - Custom Styles */

/* 阅读体验优化 */
.quarto-book .content {
  max-width: 800px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

/* 标题样式 */
h1, h2, h3 {
  font-weight: 600;
}

/* 引用块美化 */
blockquote {
  border-left: 4px solid #2563eb;
  padding-left: 1rem;
  margin-left: 0;
  color: #555;
  font-style: italic;
}

/* 代码块美化 */
pre {
  background: #f8f9fa;
  border-radius: 6px;
  padding: 0.75rem;
}

/* 表格美化 */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}

th {
  background: #f1f5f9;
  font-weight: 600;
}

/* callout 样式 */
.callout {
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
}

/* 导航栏优化 */
.navbar {
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* sidebar 目录 */
#TOC {
  font-size: 0.9rem;
}

/* 搜索框 */
.quarto-search {
  margin-bottom: 1rem;
}
