/* 首页按钮 - 匹配 Markdown 里的链接 */
.book-page a[href="/models/"],
.book-page a[href="/about/"] {
  display: inline-block;
  background: #3fb950 !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  margin-right: 10px;
}

/* 全局链接色 */
a {
  color: #58a6ff !important;
}
a:hover {
  color: #79c0ff !important;
}

/* ========== 模型卡片 ========== */
.book-page ul li a[href*="/models/"] {
  display: block;
  padding: 12px 16px;
  border: 1px solid #30363d;
  border-radius: 6px;
  margin: 8px 0;
  background: #0d1117;
  transition: border-color 0.2s;
  text-decoration: none;
}
.book-page ul li a[href*="/models/"]:hover {
  border-color: #58a6ff;
}

/* ========== 页脚 ========== */
.book-footer {
  border-top: 1px solid #30363d;
  padding: 20px 0;
  text-align: center;
  color: #8b949e;
  font-size: 0.85rem;
  margin-top: 40px;
}

/* ========== 模型详情 ========== */
.model-desc {
  color: #8b949e;
  font-size: 1rem;
  margin-bottom: 12px;
}
.model-meta-top {
  display: flex;
  gap: 16px;
  align-items: center;
  color: #8b949e;
  font-size: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.tag {
  background: #1f2937;
  color: #9ca3af;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
}

/* ========== 时间轴 ========== */
.timeline {
  position: relative;
  padding-left: 24px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #30363d;
}
.timeline-item {
  position: relative;
  margin-bottom: 20px;
}
.timeline-marker {
  position: absolute;
  left: -24px;
  top: 4px;
}
.marker-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3fb950;
  border: 2px solid #0d1117;
}
.timeline-body {
  padding-bottom: 4px;
}
.timeline-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.version-badge {
  background: #1f2937;
  color: #3fb950;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: monospace;
}
.timeline-date {
  color: #8b949e;
  font-size: 0.8rem;
}
.timeline-text {
  color: #8b949e;
  font-size: 0.9rem;
  margin: 0;
}
