/* 热点预测 — 复用热榜卡片基础，独立头部样式 */
.hp-top-inner {
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  justify-content: space-between;
}
.hp-nav {
  grid-column: 2;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--hb-muted);
  padding-right: 8px;
}
.hp-nav a:hover { color: var(--hb-link); }
.hp-nav a.is-active { color: var(--hb-hot); font-weight: 650; }

.hp-head {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 18px;
  margin-bottom: 14px;
  border-radius: var(--hb-radius);
  background: linear-gradient(135deg, #fff 0%, #fff8f4 55%, #f0f4ff 100%);
  border: 1px solid var(--hb-line);
  overflow: hidden;
}
.hp-head-deco {
  position: absolute;
  right: -20px;
  top: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 61, .12) 0%, transparent 70%);
  pointer-events: none;
}
.hp-head-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff4ee, #ffe8dc);
  border: 1px solid #ffd8c8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
}
.hp-head-body { flex: 1; min-width: 0; }
.hp-head-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.hp-head-chip {
  font-size: 11px;
  color: var(--hb-hot);
  background: rgba(255, 106, 61, .1);
  border: 1px solid rgba(255, 106, 61, .2);
  padding: 2px 8px;
  border-radius: 999px;
}
.hp-head h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 8px;
}
.hp-head-title { font-weight: 750; color: #111; }
.hp-head-sub {
  font-size: 14px;
  font-weight: 500;
  color: var(--hb-muted);
}
.hp-head .desc {
  font-size: 13px;
  color: #5c6570;
  line-height: 1.55;
  max-width: 640px;
}
.hp-updated {
  margin-top: 10px;
  font-size: 12px;
  color: var(--hb-muted);
}

.hp-cards { display: flex; flex-direction: column; gap: 10px; }
.hp-card {
  background: var(--hb-surface);
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius);
  overflow: hidden;
}
.hp-card-main {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 12px 12px 12px 10px;
}
.hp-card-rk {
  flex-shrink: 0;
  width: 26px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--hb-muted);
  padding-top: 2px;
}
.hp-card-rk--top { color: var(--hb-hot); }
.hp-card-mid { flex: 1; min-width: 0; }
.hp-card-body { display: block; }
.hp-card-title {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
  color: var(--hb-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hp-card-body:hover .hp-card-title { color: var(--hb-link); }
.hp-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--hb-muted);
}
.hp-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
}
.hp-badge--new { background: #eef6ff; color: #2563eb; border: 1px solid #dbeafe; }
.hp-badge--cross { background: #f3efff; color: #7c3aed; border: 1px solid #e9d5ff; }
.hp-badge--surge { background: #fff4ee; color: #ea580c; border: 1px solid #fed7aa; }
.hp-badge--hot { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.hp-meta-plat { color: #667085; }
.hp-meta-heat { color: var(--hb-hot); font-weight: 600; }
.hp-meta-num { color: #98a2b3; }

.hp-card-side {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.hp-card-acts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (max-width: 640px) {
  .hp-top-inner { grid-template-columns: 1fr; row-gap: 8px; }
  .hp-nav {
    grid-column: 1;
    justify-self: start;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding-left: 6px;
  }
  .hp-head { flex-direction: column; padding: 16px 14px; }
  .hp-head h1 { font-size: 20px; }
  .hp-card-main { flex-wrap: wrap; }
  .hp-card-side { width: 100%; padding-left: 36px; }
  .hp-card-acts { flex-direction: row; width: 100%; }
  .hp-card-acts .hb-card-dh,
  .hp-card-acts .hb-card-rewrite { flex: 1; justify-content: center; }
}
