/* ============================================================
   article.css - 文章栏目样式
   加载页面：/index.html（精选文章）、/article/index.html、/article/reader.html
   ============================================================ */

/* ---------- 文章卡片 ---------- */
.article-card {
  display: flex;
  flex-direction: column;
}
.article-card .ac-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.article-card .ac-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.article-card .ac-meta .ac-sep {
  opacity: 0.6;
}
.article-card .ac-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
  min-height: 44px;
}
.article-card .ac-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}

/* ---------- 阅读页 ---------- */
.reader-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.reader-head {
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
  margin-bottom: 18px;
}
.reader-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}
.reader-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.reader-meta .reader-meta-sep {
  opacity: 0.6;
}
.reader-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.reader-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.reader-toolbar .reader-font-group {
  display: inline-flex;
  gap: 8px;
}
.reader-toolbar .reader-count {
  font-size: 13px;
  color: var(--text-muted);
}
.reader-body {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun,
               serif;
  font-size: 17px;
  line-height: 1.9;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
  padding: 8px 4px 24px;
  min-height: 300px;
}
.reader-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
