﻿:root {
  --bg: #0d1117;
  --surface: #161b22;
  --border: #30363d;
  --text: #c9d1d9;
  --text-dim: #8b949e;
  --accent: #58a6ff;
  --accent-2: #7ee787;
  --link: #58a6ff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.7; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 760px; margin: 0 auto; padding: 32px 24px; }
header.site { border-bottom: 1px solid var(--border); padding: 16px 0; margin-bottom: 32px; }
header.site .container { display: flex; justify-content: space-between; align-items: center; padding: 0 24px; }
header.site h1 { font-size: 20px; font-weight: 700; }
header.site h1 a { color: var(--text); }
header.site nav a { margin-left: 18px; color: var(--text-dim); font-size: 14px; }
header.site nav a:hover { color: var(--accent); text-decoration: none; }
.hero { padding: 32px 0 24px; }
.hero h2 { font-size: 36px; margin-bottom: 12px; line-height: 1.2; }
.hero p { color: var(--text-dim); font-size: 18px; }
.post-list { list-style: none; margin-top: 24px; }
.post-list li { padding: 18px 0; border-bottom: 1px solid var(--border); }
.post-list li:last-child { border-bottom: none; }
.post-list .meta { color: var(--text-dim); font-size: 13px; margin-top: 4px; }
.post-list .title { font-size: 18px; font-weight: 600; }
.post-list .title a { color: var(--text); }
.post-list .title a:hover { color: var(--accent); }
.post-list .excerpt { color: var(--text-dim); font-size: 14px; margin-top: 6px; }
article h1 { font-size: 32px; margin-bottom: 16px; line-height: 1.3; }
article .meta { color: var(--text-dim); font-size: 14px; margin-bottom: 32px; }
article h2 { font-size: 24px; margin-top: 32px; margin-bottom: 12px; }
article h3 { font-size: 20px; margin-top: 24px; margin-bottom: 8px; }
article p { margin-bottom: 16px; }
article code { background: var(--surface); padding: 2px 6px; border-radius: 4px; font-size: 13px; color: var(--accent-2); }
article pre { background: var(--surface); padding: 16px; border-radius: 8px; overflow-x: auto; margin-bottom: 16px; border: 1px solid var(--border); }
article pre code { background: none; padding: 0; font-size: 13px; color: var(--text); }
article blockquote { border-left: 3px solid var(--accent); padding-left: 16px; color: var(--text-dim); margin: 16px 0; }
article ul, article ol { padding-left: 24px; margin-bottom: 16px; }
article li { margin-bottom: 6px; }
footer.site { border-top: 1px solid var(--border); padding: 24px 0; margin-top: 64px; color: var(--text-dim); font-size: 13px; text-align: center; }
.tag { display: inline-block; background: rgba(88,166,255,0.1); color: var(--accent); padding: 2px 8px; border-radius: 12px; font-size: 12px; margin-right: 6px; margin-top: 8px; }
@media (max-width: 600px) {
  .hero h2 { font-size: 28px; }
  article h1 { font-size: 26px; }
  header.site .container { flex-direction: column; align-items: flex-start; }
  header.site nav { margin-top: 12px; }
  header.site nav a { margin-left: 0; margin-right: 14px; }
}
