body {
  background: var(--bg);
}

/* 暗色模式 — 纯深蓝背景 */
[data-theme="dark"] body {
  background: #1a1a2e;
}

/* 背景图模式 — 暗色底色 + 图片 + 遮罩 */
[data-bg] body {
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    var(--bg-image) center / cover no-repeat fixed;
  background-color: #1a1a2e;
}

/* 背景图模式下文字调亮 */
[data-bg] {
  --text: #ffffff;
  --text-secondary: #ddd;
  --link: #7ab8ff;
  --tag-bg: #1a1a2e;
}

.changelog { font-size: .9em; padding: .5em .8em; margin-bottom: 1.5em; border-left: 3px solid var(--link); background: var(--code-bg); border-radius: 4px; }
.changelog-label { font-weight: 600; }

.post-year-heading { border-bottom: 1px solid var(--border); padding-bottom: .25em; }
.post-month-heading { margin: .5em 0 .25em; font-weight: 500; }
.post-month-list { list-style: none; padding-left: .5em; }
.post-month-item { margin-bottom: .4em; }
.post-month-main { display: flex; justify-content: space-between; align-items: baseline; }
.post-month-date { font-size: .85em; opacity: .7; white-space: nowrap; margin-left: 1em; }
.post-month-desc { font-size: .9em; opacity: .75; margin: .1em 0 0; }

[data-bg] .post-content blockquote,
[data-bg] .post-content code,
[data-bg] .post-content th,
[data-bg] .post-content td,
[data-bg] .changelog,
[data-theme="dark"] .changelog {
  background: #1a1a2e;
}
