/* UI 自定义 CSS */
body { line-height: 1.8; color: #1a1a2e; }
h2 { margin-top: 2em; font-size: 1.5em; border-bottom: 1px solid #e5e7eb; padding-bottom: 0.5em; }
h3 { margin-top: 1.5em; font-size: 1.2em; }
p { margin-bottom: 1.2em; }
code { background: #f1f5f9; padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }
pre { background: #1e293b; color: #e2e8f0; padding: 1.2em; border-radius: 8px; overflow-x: auto; }
pre code { background: none; color: inherit; padding: 0; }
blockquote { border-left: 4px solid #2563eb; padding-left: 1em; margin-left: 0; color: #475569; }
table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
th, td { border: 1px solid #e5e7eb; padding: 0.75em 1em; text-align: left; }
th { background: #f8fafc; font-weight: 600; }
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; border-radius: 8px; }

@media (max-width: 768px) {
  body { font-size: 16px; }
  h2 { font-size: 1.3em; }
  pre { padding: 0.8em; font-size: 0.85em; }
}

/* 文章内容宽度 */
.entry-content { max-width: 780px; margin: 0 auto; }

/* 页头简洁 */
.site-header { background: #fff; border-bottom: 1px solid #eee; box-shadow: none; }
.site-title a { font-weight: 700; color: #1a1a2e; }

/* 目录样式 */
.ez-toc-widget-container { background: #f8fafc; padding: 1em 1.2em; border-radius: 8px; margin-bottom: 2em; }
.ez-toc-title { font-weight: 600; margin-bottom: 0.5em; }
