/* ===== 新增组件样式：扁平化 · 时间轴+标签双驱动 ===== */

[hidden] { display: none !important; }

/* 视图容器 */
.view { animation: viewIn 0.35s ease; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ===== 顶部导航 ===== */
.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 6px;
}
.nav-item {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-on-header);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}
.nav-item:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-1px); }
.nav-item.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(47, 111, 196, 0.3);
}

/* ===== 首页 Hero ===== */
.home-hero {
  background: linear-gradient(135deg, var(--bg-header) 0%, var(--bg-header-accent) 100%);
  color: var(--text-on-header);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.home-hero::after {
  content: '§';
  position: absolute;
  right: 18px; bottom: -28px;
  font-family: var(--font-display);
  font-size: 180px;
  color: rgba(47, 111, 196, 0.06);
  line-height: 1;
}
.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--accent-light);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 10px;
}
.hero-sub { color: rgba(255, 255, 255, 0.82); font-size: 1.02rem; margin-bottom: 20px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-btn {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  cursor: pointer;
  transition: all var(--transition);
}
.hero-btn:hover { background: var(--accent-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.hero-btn.ghost { background: transparent; border: 1px solid rgba(255, 255, 255, 0.4); }
.hero-btn.ghost:hover { background: rgba(255, 255, 255, 0.14); }

/* ===== 区块标题 ===== */
.home-section { margin-bottom: 34px; }
.section-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.section-kicker {
  font-size: 0.72rem; letter-spacing: 0.22em; font-weight: 600;
  color: var(--accent); border-left: 3px solid var(--accent); padding-left: 8px;
}
.title-group { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.section-title, .content-header h2 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* 分类配色（6 类统一映射，卡片/详情/标签共用） */
.cat-card[data-cat="法律法规"],   .card-category[data-cat="法律法规"],   .detail-category[data-cat="法律法规"],   .article-card[data-cat="法律法规"],   .all-row[data-cat="法律法规"],   .all-tl-cat[data-cat="法律法规"]   { --c: #0d4f8a; }
.cat-card[data-cat="政策动态"],   .card-category[data-cat="政策动态"],   .detail-category[data-cat="政策动态"],   .article-card[data-cat="政策动态"],   .all-row[data-cat="政策动态"],   .all-tl-cat[data-cat="政策动态"]   { --c: #5a2a7a; }
.cat-card[data-cat="依法治校"],   .card-category[data-cat="依法治校"],   .detail-category[data-cat="依法治校"],   .article-card[data-cat="依法治校"],   .all-row[data-cat="依法治校"],   .all-tl-cat[data-cat="依法治校"]   { --c: #1b6b2e; }
.cat-card[data-cat="案例分析"],   .card-category[data-cat="案例分析"],   .detail-category[data-cat="案例分析"],   .article-card[data-cat="案例分析"],   .all-row[data-cat="案例分析"],   .all-tl-cat[data-cat="案例分析"]   { --c: #9a5a10; }
.cat-card[data-cat="普法教育"],   .card-category[data-cat="普法教育"],   .detail-category[data-cat="普法教育"],   .article-card[data-cat="普法教育"],   .all-row[data-cat="普法教育"],   .all-tl-cat[data-cat="普法教育"]   { --c: #9c1f5e; }
.cat-card[data-cat="行业观察"],   .card-category[data-cat="行业观察"],   .detail-category[data-cat="行业观察"],   .article-card[data-cat="行业观察"],   .all-row[data-cat="行业观察"],   .all-tl-cat[data-cat="行业观察"]   { --c: #8a5a04; }

/* 分类速览：6 类卡片网格 */
.cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 8px;
}
.cat-card {
  position: relative; text-align: left; cursor: pointer;
  display: flex; flex-direction: row; align-items: center; gap: 16px;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-left: 4px solid var(--c); border-radius: var(--radius-lg);
  padding: 16px 20px; box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.cat-card:hover, .cat-card:focus-visible {
  box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--c);
}
.cat-card:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.cat-card-icon { font-size: 1.8rem; line-height: 1; flex: 0 0 auto; }
.cat-card-name {
  font-family: var(--font-heading); font-size: 1.22rem; font-weight: 800; color: var(--c);
}
.cat-card-count {
  font-size: 0.78rem; font-weight: 700; color: #fff;
  background: var(--c); padding: 2px 10px; border-radius: 999px; flex: 0 0 auto;
}
.cat-card-go { margin-left: auto; color: var(--c); font-weight: 700; font-size: 0.92rem; flex: 0 0 auto; }
/* 分类卡片按需求移除介绍文字，改为一行一类的简洁布局 */

/* 卡片：左侧分类色条 + 键盘聚焦 + 悬停微交互 */
.article-card[data-cat] { border-left: 4px solid var(--c, var(--accent)); }
.article-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.article-card:hover .card-category { filter: brightness(1.05); }
.card-week {
  flex: 0 0 auto; font-size: 0.72rem; font-weight: 700;
  color: var(--text-muted); background: var(--tag-bg); border: 1px solid var(--border-color);
  border-radius: 999px; padding: 2px 8px; letter-spacing: 0.3px;
}

.card-category {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.78rem; font-weight: 600;
  color: #fff; background: var(--c, var(--accent));
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}

/* ===== 往期归档 ===== */
.archive-list { display: flex; flex-direction: column; gap: 12px; }
.archive-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius); padding: 16px 20px; cursor: pointer;
  text-align: left; transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.archive-item:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: var(--border-hover); }
.archive-main { display: flex; flex-direction: column; gap: 2px; min-width: 220px; }
.archive-week { font-family: var(--font-display); font-size: 1.25rem; color: var(--accent); font-weight: 700; }
.archive-label { font-size: 0.86rem; color: var(--text-secondary); }
.archive-meta { display: flex; align-items: center; gap: 14px; flex: 1; flex-wrap: wrap; }
.archive-count { font-weight: 600; color: var(--text-primary); font-size: 0.95rem; }
.archive-cats { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-chip {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 0.74rem; color: var(--text-secondary);
  background: var(--tag-bg); border-radius: 999px; padding: 2px 9px;
}
.mini-chip b { color: var(--accent); font-weight: 700; }
.archive-arrow { font-size: 1.6rem; color: var(--accent); margin-left: auto; }

/* ===== 标签云 ===== */
/* 标签云：排序 / 分类 工具栏（多重选择） */
.tc-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.tc-tip { font-size: 0.84rem; color: var(--text-muted); margin-right: 2px; }
.tc-toggle {
  font-family: var(--font-body); font-size: 0.86rem; font-weight: 600; line-height: 1;
  color: var(--text-secondary); background: var(--bg-card);
  border: 1px solid var(--border-color); border-radius: 999px;
  padding: 8px 16px; cursor: pointer; transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 6px;
}
.tc-toggle:hover { border-color: var(--accent); color: var(--accent); }
.tc-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tc-toggle[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: var(--shadow-sm); }
.tc-toggle[aria-pressed="true"]::before { content: '✓'; font-size: 0.82em; font-weight: 700; }

.tag-cloud-groups { display: flex; flex-direction: column; gap: 22px; }
.tag-group { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.tag-group-title {
  font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 12px;
  border-left: 3px solid var(--accent); padding-left: 10px;
}
.tag-group-items { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tag-cloud-tag {
  display: inline-flex; align-items: baseline; gap: 5px;
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.95rem;                 /* 统一字号：不再按数量放大 */
  color: var(--text-primary);
  background: var(--tag-bg); border: 1px solid var(--border-color);
  border-radius: 999px; padding: 6px 14px; cursor: pointer;
  transition: all var(--transition); line-height: 1.2;
}
.tag-cloud-tag:hover { background: var(--accent-bg); border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.tct-count { font-size: 0.68em; color: var(--accent); font-weight: 700; }
/* 数量前 10：明显标注（彩色圆点 + 强调描边 + 浅底），但字号统一不放大 */
.tct-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; transform: translateY(1px); }
.tag-cloud-tag.is-top {
  background: var(--accent-bg); border-color: var(--accent);
  box-shadow: inset 0 0 0 1.5px var(--accent); font-weight: 700;
}
.tag-cloud-tag.is-top:hover { color: var(--accent); }

/* ===== 列表视图 ===== */
.list-header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.back-btn {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
  color: var(--text-secondary); background: var(--bg-card);
  border: 1px solid var(--border-color); border-radius: 999px;
  padding: 7px 14px; cursor: pointer; transition: all var(--transition);
}
.back-btn:hover { color: var(--accent); border-color: var(--accent); }
.list-header h2 { font-family: var(--font-heading); font-size: 1.45rem; font-weight: 700; color: var(--text-primary); }
.result-count { color: var(--text-muted); font-size: 0.9rem; }

/* 响应式：分类卡在窄屏单列 */
@media (max-width: 600px) {
  .archive-main { min-width: 0; }
  .archive-item { flex-wrap: wrap; }
}


/* ===== 面包屑（位置导航） ===== */
.breadcrumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.88rem; color: var(--text-muted); margin-bottom: 14px; }
.breadcrumb .crumb a { color: var(--text-secondary); cursor: pointer; }
.breadcrumb .crumb a:hover { color: var(--accent); }
.breadcrumb .crumb-current { color: var(--accent); font-weight: 600; }
.breadcrumb .crumb-sep { color: var(--text-muted); opacity: 0.6; }
.detail-breadcrumb { margin-bottom: 18px; }

/* ===== 列表头部：标题行 + 工具行 ===== */
.list-header { display: block; margin-bottom: 22px; }
.list-header-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.list-tools { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; min-width: 0; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; background: var(--accent-bg);
  color: var(--accent); border: 1px solid var(--accent); font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all var(--transition);
}
.filter-chip:hover { background: var(--accent); color: #fff; }
.chip-x { font-size: 1rem; line-height: 1; opacity: 0.8; }
.sort-wrap { display: flex; align-items: center; gap: 8px; }
.sort-label { font-size: 0.85rem; color: var(--text-secondary); font-weight: 600; }
.sort-select { padding: 7px 12px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-card); color: var(--text-primary); font-size: 0.85rem; cursor: pointer; }
.sort-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ===== 往期归档：时间轴 ===== */
.archive-timeline { position: relative; padding-left: 24px; display: flex; flex-direction: column; gap: 4px; }
.archive-timeline::before {
  content: ''; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-light)); opacity: 0.45;
}
.timeline-year { position: relative; margin: 18px 0 8px; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--accent); }
.timeline-year::before {
  content: ''; position: absolute; left: -19px; top: 50%; transform: translateY(-50%);
  width: 13px; height: 13px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--bg-primary);
}
.archive-item { position: relative; }
.archive-item .timeline-dot {
  position: absolute; left: -19px; top: 50%; transform: translateY(-50%);
  width: 11px; height: 11px; border-radius: 50%; background: var(--bg-card); border: 3px solid var(--accent);
  box-shadow: 0 0 0 3px var(--bg-primary);
}
.archive-item:hover .timeline-dot { background: var(--accent); }

/* ===== 标签云：分组彩色点 ===== */
.group-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.tag-group[data-group="主体对象类"] .group-dot { background: #0d4f8a; }
.tag-group[data-group="业务领域类"] .group-dot { background: #5a2a7a; }
.tag-group[data-group="热点事件类"] .group-dot { background: #9a5a10; }
.tag-group[data-group="专项工作类"] .group-dot { background: #1b6b2e; }
.tag-group[data-group="文件类型类"] .group-dot { background: #9c1f5e; }
.tag-group[data-group="动态标签"] .group-dot { background: #7a3fb0; }
.tag-cloud-tag { font-weight: 600; }
.tag-cloud-tag:hover { font-weight: 700; }

/* ===== 所有文章：两栏布局（左筛选 + 右列表） ===== */
.all-layout {
  display: grid;
  grid-template-columns: 248px 1fr;
  gap: 26px;
  align-items: start;
}
.all-sidebar {
  position: sticky;
  top: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.all-filter-block + .all-filter-block { margin-top: 22px; }
.all-filter-head {
  width: 100%; display: flex; align-items: center; gap: 8px;
  background: none; border: none; border-radius: 6px; cursor: pointer;
  padding: 4px 4px 12px 10px; font: inherit; color: var(--text-primary); text-align: left;
  border-left: 3px solid var(--accent);
  transition: background 0.18s ease;
}
.all-filter-head:hover { background: var(--accent-bg); }
.all-filter-head:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.all-filter-title {
  font-family: var(--font-heading); font-weight: 700; font-size: 0.98rem;
  color: var(--text-primary); flex: 0 0 auto;
}
.all-filter-badge {
  font-size: 0.74rem; font-weight: 600; color: var(--text-muted);
  background: var(--tag-bg); border-radius: 999px; padding: 2px 9px;
  flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.all-filter-badge:empty { display: none; }
.all-filter-badge.has-sel { color: var(--accent); background: var(--accent-bg); font-weight: 700; }
.all-filter-chevron {
  margin-left: auto; font-size: 0.78rem; line-height: 1; color: var(--text-muted);
  transition: transform 0.22s ease; flex: 0 0 auto;
}
.all-filter-head.is-open .all-filter-chevron { transform: rotate(90deg); }
.all-filter-body { margin-top: 2px; }
.all-cat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.all-cat-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px; cursor: pointer;
  color: var(--text-secondary); transition: all var(--transition);
}
.all-cat-item:hover { background: var(--accent-bg); color: var(--accent); }
.all-cat-item.active { background: var(--accent); color: #fff; box-shadow: 0 4px 12px rgba(47, 111, 196, 0.3); }
.all-cat-item.active .all-cat-count { background: rgba(255, 255, 255, 0.25); color: #fff; }
.all-cat-icon { font-size: 1.15rem; line-height: 1; }
.all-cat-name { flex: 1; font-weight: 600; font-size: 0.92rem; }
.all-cat-count {
  font-size: 0.76rem; font-weight: 700; color: var(--accent);
  background: var(--tag-bg); border-radius: 999px; min-width: 24px; height: 24px;
  padding: 0 8px; display: inline-flex; align-items: center; justify-content: center;
}
.all-year-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.all-year-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px; cursor: pointer;
  color: var(--text-secondary); transition: all var(--transition);
}
.all-year-item:hover { background: var(--accent-bg); color: var(--accent); }
.all-year-item.active { background: var(--accent); color: #fff; box-shadow: 0 4px 12px rgba(47, 111, 196, 0.3); }
.all-year-item.active .all-year-count { background: rgba(255, 255, 255, 0.25); color: #fff; }
.all-year-icon { font-size: 1.15rem; line-height: 1; }
.all-year-name { flex: 1; font-weight: 600; font-size: 0.92rem; }
.all-year-count {
  font-size: 0.76rem; font-weight: 700; color: var(--accent);
  background: var(--tag-bg); border-radius: 999px; min-width: 24px; height: 24px;
  padding: 0 8px; display: inline-flex; align-items: center; justify-content: center;
}
.all-tag-groups { display: flex; flex-direction: column; gap: 14px; }
.all-tag-group-title {
  font-size: 0.84rem; font-weight: 700; color: var(--text-primary);
  margin-bottom: 8px; display: flex; align-items: center;
}
.all-tag-items { display: flex; flex-wrap: wrap; gap: 7px; }
.all-tag-group[data-group="主体对象类"] .group-dot { background: #0d4f8a; }
.all-tag-group[data-group="业务领域类"] .group-dot { background: #5a2a7a; }
.all-tag-group[data-group="热点事件类"] .group-dot { background: #9a5a10; }
.all-tag-group[data-group="专项工作类"] .group-dot { background: #1b6b2e; }
.all-tag-group[data-group="文件类型类"] .group-dot { background: #9c1f5e; }
.all-tag-group[data-group="动态标签"] .group-dot { background: #7a3fb0; }
.all-tag-chip {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-size: 0.8rem; font-weight: 500; color: var(--text-secondary);
  background: var(--tag-bg); border: 1px solid var(--border-color);
  border-radius: 999px; padding: 5px 11px; cursor: pointer; transition: all var(--transition);
}
.all-tag-chip:hover { background: var(--accent-bg); border-color: var(--accent); color: var(--accent); }
.all-tag-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.all-tag-count { font-size: 0.66em; opacity: 0.7; font-weight: 700; }
.all-content { min-width: 0; }
@media (max-width: 860px) {
  .all-layout { grid-template-columns: 1fr; }
  .all-sidebar { position: static; max-height: none; }
}

/* ===== 所有文章：信息样式切换（卡片 / 报纸行 / 时间轴） ===== */
.all-viewbar { margin-bottom: 12px; }
.view-style-switch {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: 999px; padding: 4px; box-shadow: var(--shadow-sm); flex-wrap: wrap;
}
.vss-label { font-size: 0.82rem; font-weight: 700; color: var(--text-muted); padding: 0 8px 0 6px; white-space: nowrap; }
.vss-btn {
  font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer; border: none; background: none;
  color: var(--text-secondary); padding: 7px 14px; border-radius: 999px; transition: all 0.18s ease; white-space: nowrap;
}
.vss-btn:hover { color: var(--accent); background: var(--accent-bg); }
.vss-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vss-btn.active { color: #fff; background: var(--accent); box-shadow: 0 3px 10px rgba(47,111,196,.28); }

/* 样式 B：摘要式 */
.all-rows { display: flex; flex-direction: column; gap: 14px; }
.all-row {
  position: relative; background: var(--bg-card); border: 1px solid var(--border-color);
  border-left: 4px solid var(--c, var(--accent)); border-radius: var(--radius);
  padding: 18px 20px 16px; box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  animation: cardFadeIn .4s ease both;
}
.all-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--c, var(--accent)); }
.all-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.all-row-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.all-row-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.all-row-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.18rem; line-height: 1.5; color: var(--text-primary); margin-bottom: 8px; }
.all-row:hover .all-row-title { color: var(--accent); }
.all-row-summary { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.all-row-meta { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--text-muted); flex-wrap: wrap; }
.all-row .card-bookmark { top: 14px; right: 14px; }
.all-row:hover .card-bookmark { opacity: .7; }
.all-row .card-bookmark:hover { opacity: 1; }

/* 样式 C：时间轴式 */
.all-timeline { position: relative; padding-left: 26px; }
.all-timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--accent), var(--accent-light)); opacity: .4; }
.all-tl-group { position: relative; margin-bottom: 22px; }
.all-tl-group:last-child { margin-bottom: 0; }
.all-tl-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; color: var(--accent); margin-bottom: 8px; }
.all-tl-dot { position: absolute; left: -26px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg-card); border: 3px solid var(--accent); box-shadow: 0 0 0 3px var(--bg-primary); z-index: 1; }
.all-tl-week { color: var(--accent); }
.all-tl-now { font-size: 0.68rem; font-weight: 700; color: #fff; background: linear-gradient(135deg,#d32f2f,#e53935); padding: 1px 7px; border-radius: 4px; }
.all-tl-count { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); margin-left: auto; }
.all-tl-rows { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.all-tl-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; cursor: pointer; position: relative; transition: background .18s ease; border-bottom: 1px solid var(--border-color); }
.all-tl-row:last-child { border-bottom: none; }
.all-tl-row:hover { background: var(--bg-hover); }
.all-tl-row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.all-tl-cat { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; background: var(--tag-bg); border: 1px solid var(--border-color); }
.all-tl-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.all-tl-title { font-weight: 600; font-size: 0.95rem; line-height: 1.45; color: var(--text-primary); }
.all-tl-row:hover .all-tl-title { color: var(--accent); }
.all-tl-meta { font-size: 0.76rem; color: var(--text-muted); }
.all-tl-row .card-bookmark { position: static; width: 26px; height: 26px; opacity: .55; flex: 0 0 auto; }
.all-tl-row:hover .card-bookmark { opacity: .8; }
.all-tl-row .card-bookmark:hover { opacity: 1; }
@supports (background: color-mix(in srgb, red 50%, blue)) {
  .all-tl-cat { background: color-mix(in srgb, var(--c) 18%, transparent); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
}

/* 尊重用户的减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .view, .article-card, .archive-item, .tag-cloud-tag, .all-cat-item, .all-tag-chip, .cat-card, .all-row, .all-tl-row, .vss-btn { animation: none !important; transition: none !important; }
  .article-card:hover, .archive-item:hover, .all-cat-item:hover, .all-tag-chip:hover, .cat-card:hover, .all-row:hover, .all-tl-row:hover { transform: none !important; }
}
