/* =========================================
   今日热榜卡片（文章底部）
   数据源：zeli.app (HN 中文摘要) + V2EX
   ========================================= */

.hot-list-card {
  margin: 2.5rem 0 1rem;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.07), rgba(0, 229, 255, 0.05));
  border: 1px solid rgba(192, 132, 252, 0.22);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.28);
}

/* ====== 头部 ====== */
.hot-list-card .hl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(192, 132, 252, 0.16);
  background: rgba(124, 58, 237, 0.06);
  flex-wrap: wrap;
}
.hot-list-card .hl-title-wrap { display: flex; align-items: center; gap: 12px; }
.hot-list-card .hl-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; font-size: 18px;
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.25), rgba(124, 58, 237, 0.25));
  border: 1px solid rgba(192, 132, 252, 0.3);
}
.hot-list-card .hl-h {
  font-size: 15px; font-weight: 700; letter-spacing: 0.5px;
  background: linear-gradient(135deg, #c084fc, #00e5ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hot-list-card .hl-sub { font-size: 11px; color: var(--text-p3, #8792a2); margin-top: 2px; letter-spacing: 0.3px; }

/* ====== Tab ====== */
.hot-list-card .hl-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.hot-list-card .hl-tab {
  padding: 6px 14px; border-radius: 16px; cursor: pointer;
  font-size: 12px; letter-spacing: 0.3px; user-select: none;
  color: var(--text-p2, #a1a9b8);
  border: 1px solid transparent;
  transition: all 0.22s;
}
.hot-list-card .hl-tab:hover { color: #e6f0ff; background: rgba(192, 132, 252, 0.12); }
.hot-list-card .hl-tab.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.9), rgba(99, 102, 241, 0.9));
  border-color: rgba(192, 132, 252, 0.5);
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.35);
}

/* ====== 内容区 ====== */
.hot-list-card .hl-body-wrap { padding: 8px 20px 4px; }
.hot-list-card .hl-skeleton,
.hot-list-card .hl-empty {
  padding: 26px 10px; text-align: center;
  font-size: 12px; color: var(--text-p3, #8792a2); letter-spacing: 0.3px;
}
.hot-list-card .hl-empty small { display: block; margin-top: 6px; opacity: 0.7; }

.hot-list-card .hl-list { list-style: none; margin: 0; padding: 0; }
.hot-list-card .hl-item {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px dashed rgba(192, 132, 252, 0.13);
}
.hot-list-card .hl-item:last-child { border-bottom: none; }
.hot-list-card .hl-idx {
  flex-shrink: 0; width: 22px; padding-top: 1px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  color: rgba(192, 132, 252, 0.75);
  font-family: 'SF Mono', Consolas, monospace;
}
.hot-list-card .hl-body { flex: 1; min-width: 0; }
.hot-list-card .hl-title {
  display: block; font-size: 13.5px; font-weight: 600; line-height: 1.55;
  color: var(--text-p1, #d0d7e4);
  text-decoration: none; transition: color 0.2s;
}
.hot-list-card .hl-title:hover { color: #c084fc; }
.hot-list-card .hl-desc {
  margin-top: 5px; font-size: 12px; line-height: 1.65;
  color: var(--text-p3, #8792a2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.hot-list-card .hl-meta {
  margin-top: 7px; display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; font-size: 11px; color: var(--text-p3, #8792a2);
}
.hot-list-card .hl-tag {
  padding: 1px 8px; border-radius: 9px; font-size: 10px; font-weight: 600;
  letter-spacing: 0.5px;
}
.hot-list-card .hl-tag-hn { background: rgba(251, 146, 60, 0.16); color: #fb923c; border: 1px solid rgba(251, 146, 60, 0.3); }
.hot-list-card .hl-tag-v2ex { background: rgba(34, 197, 94, 0.14); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.28); }
.hot-list-card .hl-node { padding: 1px 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); color: #9ca3af; }
.hot-list-card .hl-score { color: #fb923c; }
.hot-list-card .hl-cmt { color: #60a5fa; }
.hot-list-card .hl-author { opacity: 0.75; }
.hot-list-card .hl-time { opacity: 0.6; }

/* ====== 页脚 ====== */
.hot-list-card .hl-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 20px; font-size: 10.5px; letter-spacing: 0.3px;
  color: var(--text-p3, #8792a2);
  border-top: 1px solid rgba(192, 132, 252, 0.14);
  background: rgba(0, 0, 0, 0.14);
  flex-wrap: wrap;
}
.hot-list-card .hl-foot a { color: #a78bfa; text-decoration: none; }
.hot-list-card .hl-foot a:hover { text-decoration: underline; }
.hot-list-card .hl-refresh { cursor: pointer; user-select: none; transition: color 0.2s; }
.hot-list-card .hl-refresh:hover { color: #c084fc; }

/* ====== 移动端 ====== */
@media (max-width: 640px) {
  .hot-list-card .hl-head { padding: 13px 14px; }
  .hot-list-card .hl-body-wrap { padding: 6px 14px 2px; }
  .hot-list-card .hl-foot { padding: 10px 14px; }
  .hot-list-card .hl-tab { padding: 5px 11px; font-size: 11px; }
  .hot-list-card .hl-title { font-size: 13px; }
  .hot-list-card .hl-desc { -webkit-line-clamp: 3; }
}
