:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --ink: #1d1a16;
  --ink-soft: #4a443c;
  --muted: #8a8177;
  --accent: #e05307;
  --accent-deep: #b23e00;
  --accent-soft: #fff1e6;
  --gold: #f5b301;
  --gold-soft: #fff8e1;
  --line: #e8e0d2;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(60,40,20,.07);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  line-height: 1.8;
  font-size: 17px;
}
.wrap { max-width: 780px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }

/* ===== 顶栏 ===== */
.site-header {
  background: #1d1a16;
  color: #f7f4ee;
  position: sticky; top: 0; z-index: 10;
  box-shadow: 0 2px 16px rgba(0,0,0,.18);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 13px; padding-bottom: 13px;
}
.brand { font-weight: 800; font-size: 1.2rem; color: #fff; letter-spacing: .02em; }
.brand:hover { text-decoration: none; color: var(--gold); }
.brand .dot { color: var(--accent); }
.site-header nav a { margin-left: 16px; color: #b8b0a2; font-size: .92rem; }
.site-header nav a:hover { color: #fff; text-decoration: none; }

main.wrap { padding-top: 32px; padding-bottom: 64px; min-height: 60vh; }

/* ===== 首页 hero ===== */
.hero { margin: 6px 0 30px; }
.hero .kicker {
  display: inline-block; font-size: .82rem; font-weight: 700;
  color: var(--accent-deep); background: var(--accent-soft);
  border: 1px solid #f3d9c2; border-radius: 999px; padding: 3px 14px;
  margin-bottom: 12px; letter-spacing: .08em;
}
.hero h1 { font-size: 2.1rem; margin: 0 0 8px; letter-spacing: .01em; line-height: 1.3; }
.hero .subtitle { color: var(--muted); margin: 0; font-size: 1rem; }

/* ===== 文章卡片 ===== */
.post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.post-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(60,40,20,.12); }
.post-card h2 { margin: 0 0 4px; font-size: 1.28rem; line-height: 1.45; }
.post-card h2 a { color: var(--ink); }
.post-card h2 a:hover { color: var(--accent); text-decoration: none; }
.post-card .excerpt { color: var(--ink-soft); margin: 8px 0 0; font-size: .96rem; line-height: 1.7; }
.meta { color: var(--muted); font-size: .85rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.meta time { font-variant-numeric: tabular-nums; }
.tag {
  display: inline-block; background: var(--accent-soft); color: var(--accent-deep);
  border-radius: 999px; padding: 1px 10px; font-size: .78rem; font-weight: 600;
}
a.tag:hover { text-decoration: none; filter: brightness(.96); }

/* ===== 文章页 ===== */
.page-title { font-size: 1.8rem; margin: 8px 0 24px; line-height: 1.35; }
.post-header .kicker {
  display: inline-block; font-size: .8rem; font-weight: 700; color: var(--accent-deep);
  background: var(--accent-soft); border-radius: 999px; padding: 2px 12px; margin-bottom: 10px;
  letter-spacing: .06em;
}
.post-header h1 { font-size: 1.95rem; margin: 0 0 10px; line-height: 1.4; }
.post-header { margin-bottom: 24px; }
.post-cover {
  width: 100%; border-radius: var(--radius); margin: 0 0 26px;
  border: 1px solid var(--line); display: block; box-shadow: var(--shadow);
}

/* ===== 正文排版 ===== */
.post-body { font-size: 1.02rem; }
.post-body h2 {
  font-size: 1.35rem; margin: 2em 0 .8em; padding: 0 0 .35em 14px;
  border-bottom: none; border-left: 5px solid var(--accent);
  line-height: 1.4;
}
.post-body h3 { font-size: 1.15rem; margin: 1.7em 0 .6em; line-height: 1.5; }
.post-body p { margin: 1em 0; }
.post-body img { max-width: 100%; border-radius: 8px; }
.post-body blockquote {
  margin: 1.2em 0; padding: .7em 1.1em;
  border-left: 4px solid var(--gold); background: var(--gold-soft);
  border-radius: 0 10px 10px 0; color: #6b5a2e; font-size: .96rem;
}
.post-body pre {
  background: #211d18; color: #f2e9dc; padding: 16px 18px;
  border-radius: 10px; overflow-x: auto; font-size: .86rem; line-height: 1.7;
}
.post-body code { font-family: "SF Mono", Consolas, monospace; }
.post-body p code, .post-body li code {
  background: var(--accent-soft); color: var(--accent-deep);
  padding: 1px 6px; border-radius: 5px; font-size: .88em;
}
.post-body ul, .post-body ol { padding-left: 1.35em; }
.post-body li { margin: .45em 0; }
.post-body li::marker { color: var(--accent); font-weight: 700; }
.post-body hr { border: none; border-top: 2px dashed var(--line); margin: 2.2em 0; }
.post-body table { border-collapse: collapse; width: 100%; margin: 1.2em 0; font-size: .93rem; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.post-body th { background: var(--accent-soft); color: var(--accent-deep); }

/* 羊毛条目高亮 */
.post-body h3:has(+ p strong:first-child),
.yaomo { }
.post-body ul li strong:first-child { color: var(--accent-deep); }

/* ===== 上下篇导航 ===== */
.post-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 48px; }
.post-nav a {
  flex: 1; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px 16px; color: var(--ink); font-size: .93rem;
  box-shadow: var(--shadow);
}
.post-nav a:hover { text-decoration: none; border-color: var(--accent); }
.post-nav .next { text-align: right; }
.post-nav .disabled { visibility: hidden; }

/* ===== 归档 ===== */
.archive-year { font-size: 1.25rem; margin: 28px 0 8px; color: var(--accent-deep); font-weight: 800; }
.archive-item { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.archive-item time { color: var(--muted); font-size: .88rem; min-width: 86px; font-variant-numeric: tabular-nums; }
.archive-item a { color: var(--ink); }
.archive-item a:hover { color: var(--accent); }
.tag-cloud { line-height: 2.4; }

/* ===== 分页 ===== */
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 32px; }
.pagination a, .pagination span {
  padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--muted); font-size: .9rem;
}
.pagination a:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }
.pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ===== 页脚 ===== */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: .86rem; text-align: center; }

/* ===== 日报重点突出（2026-10-29） ===== */
/* 重点标签徽章：跟你有啥关系（橙）、我的判断（深色） */
.post-body .why-label {
  display: inline-block; background: var(--accent); color: #fff;
  font-weight: 700; font-size: .88em; padding: 1px 10px; border-radius: 999px;
  margin-right: 6px; letter-spacing: .02em;
}
.post-body .judge-label {
  display: inline-block; background: var(--ink); color: #fff;
  font-weight: 700; font-size: .88em; padding: 1px 10px; border-radius: 999px;
  margin-right: 6px; letter-spacing: .02em;
}
/* 栏目标题：更强的层级感——底色块 + 更大字号 */
.post-body h2 {
  background: var(--accent-soft); border-radius: 0 10px 10px 0;
  padding: .45em .8em .45em 14px; font-size: 1.42rem;
}
/* 条目标题：条目之间拉开分隔，一眼区分 */
.post-body h3 {
  font-size: 1.22rem; margin-top: 2em; padding-top: 1.2em;
  border-top: 1px dashed var(--line);
}
.post-body h3:first-of-type { border-top: none; padding-top: 0; }
/* 一句话速览：整块摘要盒子 */
.post-body .glance {
  background: var(--gold-soft); border: 1px solid #f0dca8;
  border-radius: var(--radius); padding: 4px 22px 10px; margin: 1.5em 0;
  box-shadow: var(--shadow);
}
.post-body .glance h2 { background: none; padding-left: 0; border-left: none; font-size: 1.3rem; }
.post-body .glance ul { margin: .5em 0; }
.post-body .glance li { margin: .6em 0; }
/* 今日羊毛：金色重点区块（本站重点栏目） */
.post-body .yaomo-sec {
  background: linear-gradient(180deg, #fff8e1, #fffdf5);
  border: 1px solid var(--gold); border-radius: var(--radius);
  padding: 4px 22px 10px; margin: 1.5em 0; box-shadow: var(--shadow);
}
.post-body .yaomo-sec h2 { background: none; padding-left: 0; border-left: none; }
.post-body .yaomo-sec h2::before { content: "🔥 "; }
/* 正文加粗：关键数字/价格/结论用深橙突出（作者已用 ** 标注的重点） */
.post-body strong { color: var(--accent-deep); }
/* 链接：加粗 + 悬停下划线，原文链接更显眼 */
.post-body a { font-weight: 600; }
.post-body a:hover { text-decoration: underline; }

/* ===== 移动端 ===== */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 1.65rem; }
  .post-header h1 { font-size: 1.5rem; }
  .post-card { padding: 16px 18px; }
  .post-card h2 { font-size: 1.15rem; }
  .site-header nav a { margin-left: 10px; font-size: .85rem; }
  .site-header nav a:nth-child(n+4) { display: none; }
  .post-body h2 { font-size: 1.22rem; }
}
