:root {
  --bg: #faf9f6; --card: #fff; --text: #2c2c2c; --muted: #888;
  --border: #eee; --accent: #b8860b; --accent-bg: #fdf6e8;
  --shadow: 0 8px 24px rgba(0,0,0,.06);
}
html.dark, body.dark {
  --bg: #161616; --card: #222; --text: #e8e8e8; --muted: #999;
  --border: #2e2e2e; --accent: #d4a017; --accent-bg: #2a2318;
  --shadow: 0 8px 24px rgba(0,0,0,.4);
}
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.8;
  transition: background .3s, color .3s;
  -webkit-font-smoothing: antialiased;
}

/* 导航 */
.site-nav {
  background: var(--card); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--card) 90%, transparent);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center;
  position: relative;
}
.site-brand {
  display: inline-flex; align-items: center; gap: 1px;
  text-decoration: none; font-size: 28px; font-weight: 700;
  letter-spacing: 1px; line-height: 1.2; white-space: nowrap;
}
.site-brand span { display: inline-block; transition: transform .2s; }
.site-brand:hover span { transform: translateY(-2px); }
.brand-1 { color: #e63946; }
.brand-2 { color: #f4a261; }
.brand-3 { color: #2a9d8f; }
.brand-4 { color: #457b9d; }
.brand-sep { color: #999; font-weight: 400; margin: 0 4px; }
.brand-5 { color: #9b5de5; }
.brand-6 { color: #f15bb5; }
.brand-7 { color: #00bbf9; }
.brand-leaf {
  margin-left: 6px; font-size: 26px;
  animation: leaf-sway 3s ease-in-out infinite;
}
@keyframes leaf-sway {
  0%, 100% { transform: rotate(-8deg); }
  50%      { transform: rotate(8deg); }
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 14px;
  padding: 6px 10px; border-radius: 6px; transition: all .2s;
}
.nav-links a:hover { color: var(--accent); background: var(--accent-bg); }
.dark-btn {
  background: none; border: 1px solid var(--border); border-radius: 6px;
  padding: 6px 10px; cursor: pointer; font-size: 14px; color: var(--text);
}
.dark-btn:active { background: var(--accent-bg); }
.nav-toggle {
  display: none; background: none;
  border: 1px solid var(--border); border-radius: 6px;
  padding: 6px 10px; font-size: 16px; cursor: pointer; color: var(--text);
}

/* 四个大框 —— 紧凑版 */
.categories {
  max-width: 1080px;
  margin: 30px auto 40px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.cat-card {
  display: block;
  padding: 22px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}

/* 每个分类一种淡色底 */
.cat-card:nth-child(1) {
  background: linear-gradient(135deg, #eaf7ea 0%, #f6fbf6 100%);
  border-color: #d6ead6;
}
.cat-card:nth-child(2) {
  background: linear-gradient(135deg, #e6f1fb 0%, #f4f9fd 100%);
  border-color: #cfe1f4;
}
.cat-card:nth-child(3) {
  background: linear-gradient(135deg, #f3effb 0%, #faf7fe 100%);
  border-color: #e0d6f2;
}
.cat-card:nth-child(4) {
  background: linear-gradient(135deg, #fdf5e0 0%, #fffbf0 100%);
  border-color: #f3e3b8;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}
.cat-card:nth-child(1):hover { border-color: #8ecf8e; }
.cat-card:nth-child(2):hover { border-color: #7fb3e0; }
.cat-card:nth-child(3):hover { border-color: #b8a4e0; }
.cat-card:nth-child(4):hover { border-color: #e0c060; }

.cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 22px;
  margin-bottom: 10px;
  background: rgba(255,255,255,.75);
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}

.cat-card h2 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.cat-card p { color: var(--muted); font-size: 13px; }

/* 深色模式 */
html.dark .cat-card,
body.dark .cat-card { background: var(--card); }
html.dark .cat-card:nth-child(1),
body.dark .cat-card:nth-child(1) { border-color: #2e4a2e; }
html.dark .cat-card:nth-child(2),
body.dark .cat-card:nth-child(2) { border-color: #2e3f52; }
html.dark .cat-card:nth-child(3),
body.dark .cat-card:nth-child(3) { border-color: #3f3152; }
html.dark .cat-card:nth-child(4),
body.dark .cat-card:nth-child(4) { border-color: #4a3d1e; }
html.dark .cat-icon,
body.dark .cat-icon { background: rgba(255,255,255,.08); }

/* ========== 图册（CSS 动画自动滑动） ========== */
.gallery-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px 32px;
}

.gallery {
  overflow: hidden;
  padding-bottom: 6px;
}

.gallery-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: gallery-scroll 60s linear infinite;
  will-change: transform;
}
.gallery:hover .gallery-track { animation-play-state: paused; }

@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.gallery-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  width: 160px;
  transition: transform .2s;
  text-decoration: none;
}
.gallery-item:hover { transform: translateY(-3px); }
.gallery-item .gallery-thumb {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--accent-bg);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-title {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text);
  text-align: center;
  width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: .85;
}
.gallery-item[href] { cursor: pointer; }
.gallery-item:not([href]) { cursor: default; }

/* ========== 图册 + 信息卡 并排 ========== */
.gallery-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
  align-items: start;
}
@media (max-width: 900px) {
  .gallery-row { grid-template-columns: 1fr; gap: 18px; }
}

/* 信息卡 */
.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 186px;
  box-sizing: border-box;
  transition: all .3s;
}
.info-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(30,144,255,.12);
}

.info-date-circle {
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e90ff 0%, #0066cc 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(30,144,255,.35);
  user-select: none;
}
.info-month {
  font-size: 13px;
  letter-spacing: 1px;
  opacity: .9;
  margin-bottom: 2px;
}
.info-day {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
}

.info-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.info-week {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.info-quote {
  font-size: 14px;
  color: var(--accent);
  font-style: italic;
  line-height: 1.5;
  padding: 6px 0;
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.info-stats {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.info-stats .num { color: var(--text); font-weight: 600; }

/* 搜索框 */
.search-box { margin-bottom: 16px; }
.search-box input {
  width: 100%; max-width: 420px; padding: 11px 16px;
  border: 1px solid var(--border); border-radius: 10px;
  font-size: 15px; background: var(--card); color: var(--text);
  font-family: inherit;
}
.search-box input:focus { outline: none; border-color: var(--accent); }
.search-empty { color: var(--muted); padding: 20px 0; }

/* 最新文章 */
.latest {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px 50px;
}
.section-title {
  font-size: 20px;
  margin-bottom: 14px;
  font-weight: 600;
}
.post-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.post-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; transition: all .25s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.post-card .tag {
  display: inline-block; margin: 14px 18px 0;
  font-size: 12px; color: var(--accent); background: var(--accent-bg);
  padding: 2px 10px; border-radius: 4px;
}
.post-card h3 { margin: 10px 18px 6px; font-size: 17px; font-weight: 600; }
.post-card .date { margin: 0 18px; font-size: 12px; color: var(--muted); }
.post-card .summary { margin: 8px 18px 18px; font-size: 14px; color: var(--muted); }
.post-card a { text-decoration: none; color: inherit; display: block; }

/* 分页 */
.pager {
  margin-top: 30px;
  display: flex; justify-content: center; align-items: center;
  gap: 6px; flex-wrap: wrap;
}
.pager-btn {
  min-width: 38px; height: 38px; padding: 0 12px;
  border: 1px solid var(--border); background: var(--card);
  color: var(--text); border-radius: 8px;
  font-size: 14px; cursor: pointer; transition: all .2s;
  font-family: inherit;
}
.pager-btn:hover:not(:disabled) {
  border-color: var(--accent); color: var(--accent); background: var(--accent-bg);
}
.pager-btn.active {
  background: var(--accent); color: #fff; border-color: var(--accent);
  font-weight: 600;
}
.pager-btn:disabled { opacity: .4; cursor: not-allowed; }
.pager-ellipsis { color: var(--muted); padding: 0 4px; }

/* 归档页"加载更多" */
.load-more-wrap { text-align: center; margin-top: 16px; }
.load-more {
  padding: 10px 24px;
  border: 1px solid var(--border); background: var(--card);
  border-radius: 10px; cursor: pointer; font-size: 14px;
  color: var(--accent); font-family: inherit;
  transition: all .2s;
}
.load-more:hover { background: var(--accent-bg); border-color: var(--accent); }

/* 文章页 */
.article { max-width: 800px; margin: 0 auto; padding: 60px 24px 80px; }
.article h1 { font-size: 28px; margin-bottom: 12px; }
.article .meta { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.article article p { margin-bottom: 20px; font-size: 16px; color: var(--text); }
.article article h2 { font-size: 22px; margin: 28px 0 14px; }
.article article img { max-width: 100%; border-radius: 10px; margin: 16px 0; }

.article-back { font-size: 14px; margin-bottom: 20px; }
.article-back a { color: var(--muted); text-decoration: none; }
.article-back a:hover { color: var(--accent); }

.article-nav {
  margin-top: 50px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px;
}
.article-nav a { color: var(--muted); text-decoration: none; }
.article-nav a:hover { color: var(--accent); }

/* 归档页 */
.archive { max-width: 720px; margin: 0 auto; padding: 60px 24px 80px; }
.archive h1 { font-size: 24px; margin-bottom: 40px; }
.archive-year { margin-bottom: 36px; }
.archive-year h2 {
  font-size: 20px; color: var(--accent); margin-bottom: 16px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.archive-year ul { list-style: none; }
.archive-year li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px dashed var(--border);
}
.archive-year li a { flex: 1; color: var(--text); text-decoration: none; font-size: 15px; }
.archive-year li a:hover { color: var(--accent); }
.archive-date { color: var(--muted); font-size: 13px; }
.tag {
  font-size: 12px; color: var(--accent); background: var(--accent-bg);
  padding: 2px 8px; border-radius: 4px;
}

/* 底部 */
.site-footer {
  text-align: center; padding: 36px 24px;
  border-top: 1px solid var(--border);
  color: var(--muted); font-size: 13px; background: var(--card);
}
.footer-inner { max-width: 1080px; margin: 0 auto; text-align: center; }
.footer-brand { font-size: 15px; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.footer-links { margin-bottom: 12px; }
.footer-links a {
  margin: 0 10px; color: var(--muted); text-decoration: none; font-size: 13px;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.footer-beian { font-size: 12px; color: var(--muted); }
.footer-beian a { color: var(--muted); text-decoration: none; }
.footer-beian a:hover { color: var(--accent); }

/* 手机适配：900px */
@media (max-width: 900px) {
  .categories { grid-template-columns: repeat(2, 1fr); }
}

/* 手机适配：750px（关键，覆盖 640~750 的大屏手机） */
@media (max-width: 750px) {
  .categories {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px auto 28px;
    padding: 0 16px;
  }
  .section-title { margin-bottom: 12px; }
  .gallery-section { padding: 0 16px 24px; }
  .latest { padding: 0 16px 40px; }
  .info-card { min-height: auto; }
}

/* 手机适配：700px（导航） */
@media (max-width: 700px) {
  .nav-toggle { display: block; }
  .site-brand { font-size: 20px; }
  .brand-leaf { font-size: 18px; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--card); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch;
    padding: 8px 12px; gap: 4px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 12px; border-radius: 8px; }
}

/* 手机适配：600px（小屏） */
@media (max-width: 600px) {
  .categories {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 18px auto 26px;
    padding: 0 14px;
  }
  .cat-card { padding: 18px 16px; }
  .cat-icon { width: 38px; height: 38px; font-size: 20px; margin-bottom: 8px; }
  .gallery-item,
  .gallery-item .gallery-thumb,
  .gallery-title { width: 120px; }
  .gallery-item .gallery-thumb { height: 120px; }
  .pager-btn { min-width: 34px; height: 34px; padding: 0 8px; font-size: 13px; }

  .info-card {
    min-height: auto;
    padding: 14px;
    gap: 14px;
    border-radius: 20px;
  }
  .info-date-circle {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
  }
  .info-day { font-size: 26px; }
  .info-month { font-size: 11px; }
  .info-quote { font-size: 13px; }
}

/* ========== 文章页点赞 ========== */
.post-like {
  max-width: 800px; margin: 50px auto 0; padding: 36px 24px;
  display: flex; gap: 14px; justify-content: center; align-items: center;
  flex-wrap: wrap; border-top: 1px solid var(--border); text-align: center;
}
.like-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 26px; border: 1px solid var(--border);
  border-radius: 999px; background: var(--card); color: var(--text);
  cursor: pointer; font-size: 15px; font-family: inherit; font-weight: 500;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  position: relative; overflow: hidden;
}
.like-btn::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at center, var(--accent-bg) 0%, transparent 70%);
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.like-btn:hover:not(:disabled) {
  border-color: var(--accent); transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(184,134,11,.15);
}
.like-btn:hover:not(:disabled)::before { opacity: 1; }
.like-btn:active:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(184,134,11,.2);
}
.like-btn.active {
  border-color: var(--accent); background: var(--accent); color: #fff;
  box-shadow: 0 6px 18px rgba(184,134,11,.35);
}
.like-btn.active::before { display: none; }
.like-btn:disabled { cursor: default; }
.like-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 24px; height: 24px; padding: 0 8px;
  font-size: 13px; font-weight: 700; border-radius: 12px;
  background: var(--accent-bg); color: var(--accent);
  transition: all .25s;
}
.like-btn.active .like-count {
  background: rgba(255,255,255,.25); color: #fff;
}
@media (max-width: 600px) {
  .post-like { margin-top: 36px; padding: 28px 16px; gap: 10px; }
  .like-btn { padding: 10px 20px; font-size: 14px; }
}

/* ========== 图片库弹窗 ========== */
.img-picker {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  z-index: 9999; display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.img-picker.show { display: flex; }
.img-picker-box {
  background: var(--card); color: var(--text); border-radius: 14px;
  width: 100%; max-width: 720px; max-height: 80vh;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.img-picker-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  font-weight: 600; font-size: 15px;
}
.img-picker-close {
  background: none; border: none; font-size: 20px;
  cursor: pointer; color: var(--muted); padding: 0 6px; line-height: 1;
}
.img-picker-close:hover { color: var(--text); }
.img-picker-grid {
  padding: 16px 18px; overflow-y: auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px; flex: 1;
}
.img-picker-item {
  width: 100%; aspect-ratio: 1; border-radius: 10px; overflow: hidden;
  cursor: pointer; border: 2px solid transparent;
  transition: all .15s; background: var(--accent-bg);
}
.img-picker-item:hover {
  border-color: var(--accent); transform: scale(1.03);
}
.img-picker-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.img-picker-empty {
  grid-column: 1 / -1; text-align: center; color: var(--muted);
  padding: 40px 0; font-size: 14px;
}
@media (max-width: 600px) {
  .img-picker-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px; padding: 12px;
  }
}/* ========== 归档页：月份分组 ========== */
.archive-month {
  margin-bottom: 18px;
  padding-left: 10px;
  border-left: 2px solid var(--border);
}
.archive-month h3 {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.archive-month-count {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  background: var(--accent-bg);
  padding: 1px 8px;
  border-radius: 10px;
}
.archive-month ul {
  list-style: none;
}
.archive-month li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}
.archive-month li:last-child {
  border-bottom: none;
}
.archive-month li a {
  flex: 1;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
}
.archive-month li a:hover {
  color: var(--accent);
}
.archive-month .archive-date {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

/* 手机端再紧凑一点 */
@media (max-width: 600px) {
  .archive-month {
    padding-left: 8px;
  }
  .archive-month h3 {
    font-size: 13px;
  }
  .archive-month li a {
    font-size: 14px;
  }
  .archive-month li {
    gap: 8px;
  }
}/* ========== 归档页：搜索 ========== */
.archive-search {
  margin-bottom: 24px;
}
.archive-search input {
  width: 100%;
  max-width: 420px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  background: var(--card);
  color: var(--text);
  font-family: inherit;
}
.archive-search input:focus {
  outline: none;
  border-color: var(--accent);
}

/* ========== 归档页：年份折叠 ========== */
.archive-year {
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all .2s;
}
.archive-year.open {
  border-color: var(--accent);
}
.archive-year-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: background .2s;
  margin: 0;
  color: var(--text);
}
.archive-year-toggle:hover {
  background: var(--accent-bg);
}
.archive-year-name {
  flex: 1;
  color: var(--accent);
  letter-spacing: 1px;
}
.archive-year-count {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  background: var(--accent-bg);
  padding: 2px 10px;
  border-radius: 10px;
}
.archive-year-arrow {
  font-size: 12px;
  color: var(--muted);
  transition: transform .2s;
}
.archive-year-body {
  padding: 8px 16px 16px;
}

/* 月份分组 */
.archive-month {
  margin-top: 10px;
  padding-left: 12px;
  border-left: 2px solid var(--border);
}
.archive-month h3 {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.archive-month-count {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  background: var(--accent-bg);
  padding: 1px 8px;
  border-radius: 10px;
}
.archive-month ul { list-style: none; }
.archive-month li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}
.archive-month li:last-child { border-bottom: none; }
.archive-month li a {
  flex: 1;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
}
.archive-month li a:hover { color: var(--accent); }
.archive-month .archive-date {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

/* ========== 归档页：搜索结果 ========== */
.archive-search-count {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.archive-search-list {
  list-style: none;
}
.archive-search-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}
.archive-search-list li a {
  flex: 1;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
}
.archive-search-list li a:hover { color: var(--accent); }
.archive-search-list .archive-date {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.archive-empty {
  color: var(--muted);
  text-align: center;
  padding: 40px 0;
}

/* 手机端紧凑 */
@media (max-width: 600px) {
  .archive-year-toggle {
    padding: 14px 16px;
    font-size: 16px;
  }
  .archive-year-body {
    padding: 6px 12px 12px;
  }
  .archive-month {
    padding-left: 10px;
  }
  .archive-month h3 { font-size: 13px; }
  .archive-month li a { font-size: 14px; }
  .archive-month li { gap: 8px; }
}