/* 卡斯特尔 · 极简黑白 */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #1a1a1a;
  --paper: #fdfdfc;
  --grey: #888;
  --line: #e5e5e3;
}

body {
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.9;
  font-size: 17px;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 96px 24px 64px;
}

/* 首页 */
.home { text-align: left; }
.name {
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}
.motto {
  color: var(--grey);
  margin-bottom: 48px;
}
nav {
  display: flex;
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
nav a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
nav a:hover { border-bottom: 1px solid var(--ink); }

footer {
  margin-top: 96px;
  color: var(--grey);
  font-size: 14px;
}

/* 列表页 */
.list-title {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}
.post-item {
  margin-bottom: 32px;
  list-style: none;
}
.post-item a {
  color: var(--ink);
  text-decoration: none;
  font-size: 19px;
}
.post-item a:hover { text-decoration: underline; }
.post-item .date {
  color: var(--grey);
  font-size: 14px;
  margin-left: 12px;
}
.back {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--grey);
  text-decoration: none;
  font-size: 15px;
}
.back:hover { color: var(--ink); }

/* 文章页 */
article h2 {
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 8px;
}
article .meta {
  color: var(--grey);
  font-size: 14px;
  margin-bottom: 48px;
}
article p { margin-bottom: 24px; }
article blockquote {
  border-left: 2px solid var(--ink);
  padding-left: 20px;
  color: var(--grey);
  margin: 32px 0;
}

/* 授权声明 */
.license { font-size: 0.75rem; color: var(--grey); letter-spacing: 0.02em; margin-top: 0.4rem; }
.license a { color: var(--grey); }
