/* 在原站样式（base.css，逐字节复刻）之上追加的少量扩展：
   分类徽章、更新提示、检索/筛选条、首期说明。不改动任何原有变量与规则。 */

/* 顶栏更新条 */
.update-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0 0 14px; padding: 10px 16px;
  border: 1px solid var(--line); border-radius: 14px;
  background: #fff; font-size: 12px; color: var(--muted);
}
.update-bar strong { color: #1d4ed8; font-weight: 800; }
.update-bar .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20,184,166,.16);
}
.update-bar .sep { color: #c3d2e3; }

/* 分类徽章 */
.cat-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px; border-radius: 999px;
  font-size: 10px; font-weight: 800; letter-spacing: .2px;
  background: #eef4fb; color: #365a7d; white-space: nowrap;
}
.cat-badge .legend-dot { width: 7px; height: 7px; }

/* 论文卡上的分类行 */
.paper-cat {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 8px; font-size: 10px; color: var(--muted); font-weight: 700;
}

/* 五类主题卡内的论文列表 */
.theme-paper { display: grid; grid-template-columns: 26px 1fr; gap: 9px; padding: 10px 11px; border-radius: 12px; background: #f7fafd; text-decoration: none; }
.theme-paper:hover { background: #edf5ff; }
.theme-paper .paper-index { width: 22px; height: 22px; line-height: 22px; }

/* 筛选条（纯 CSS + 少量 JS，无依赖） */
.filter-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.filter-bar input {
  flex: 1 1 240px; min-width: 180px; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 11px;
  font-size: 12px; color: var(--ink); background: #fff; outline: none;
}
.filter-bar input:focus { border-color: #93c5fd; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.filter-bar button {
  padding: 8px 11px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: #46627d; font-size: 11px; font-weight: 800; cursor: pointer;
}
.filter-bar button.on { border-color: #93c5fd; background: #eff6ff; color: #1d4ed8; }

/* 首期说明 */
.notice {
  margin-top: 14px; padding: 14px 16px; border-radius: 14px;
  border: 1px solid #dbeafe; background: #f5faff;
  font-size: 12.5px; line-height: 1.75; color: #3d5369;
}
.notice b { color: #1d4ed8; }
.notice code { background: #e8f1ff; padding: 1px 5px; border-radius: 5px; font-size: 11.5px; }

/* 空状态 */
.empty { padding: 26px; text-align: center; color: var(--muted); font-size: 13px; border: 1px dashed var(--line); border-radius: 16px; }

/* 页脚 */
.foot { margin-top: 22px; text-align: center; font-size: 11.5px; line-height: 1.9; color: #7c8fa3; }
.foot a { color: #46627d; text-decoration: none; border-bottom: 1px solid #cbd9e8; }

/* 窄屏微调 */
@media (max-width: 760px) {
  .update-bar { font-size: 11px; }
  .paper-cat { font-size: 9.5px; }
}

/* 分页隐藏行 */
.paper-index-row[data-paged="1"] { display: none !important; }

/* .brief b 在原站是"标签"样式（display:block）；正文里偶然出现的 <b>/<strong> 要退回行内 */
.brief p b, .brief p strong {
  display: inline; margin: 0; font-size: inherit; color: inherit; letter-spacing: 0;
}
