:root {
  --primary: #e8e8e8;
  --primary-dark: #ffffff;
  --bg: #0a0a0a;
  --card: #141414;
  --tint: #1a1a1a;
  --text: #f0f0f0;
  --text-light: #8a8a8a;
  --border: #2a2a2a;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.7);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.hg-locked {
  overflow: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
.hg-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.hg-topbar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.hg-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.hg-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.hg-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  background: #2a2a2a;
}
.hg-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.hg-brand-copy strong {
  font-size: 15px;
  color: var(--text);
}
.hg-brand-copy small {
  font-size: 11px;
  color: var(--text-light);
}
.hg-topic-tabs-inner--bar {
  display: flex;
  gap: 20px;
  list-style: none;
}
.hg-topic-tabs-inner--bar a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 14px;
  transition: color 0.2s;
}
.hg-topic-tabs-inner--bar a:hover {
  color: var(--text);
}
.hg-topic-tabs-inner--bar a.active {
  color: var(--text);
  font-weight: 600;
}
.hg-nav-actions {
  display: flex;
  gap: 8px;
}
.hg-icon-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--text-light);
  transition: all 0.2s;
}
.hg-icon-btn:hover {
  border-color: var(--text);
  color: var(--text);
}
.hg-icon-btn b {
  font-size: 15px;
  font-weight: 400;
}
.hg-jelly {
  display: inline-block;
  background: var(--text);
  color: #0a0a0a;
  padding: 10px 22px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
  white-space: nowrap;
}
.hg-jelly:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.hg-jelly--sm {
  padding: 8px 18px;
  font-size: 13px;
}
.hg-pill {
  display: inline-block;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 10px 22px;
  border-radius: 24px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.hg-pill:hover {
  border-color: var(--text);
  color: var(--text);
}

.hg-sec {
  padding: 56px 0;
}
.hg-sec--tint {
  background: var(--tint);
}
.hg-head {
  text-align: center;
  margin-bottom: 40px;
}
.hg-eyebrow {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.hg-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
  color: var(--text);
}
.hg-desc {
  color: var(--text-light);
  font-size: 15px;
  max-width: 640px;
  margin: 0 auto;
}
.hg-more {
  display: inline-block;
  margin-top: 24px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.hg-more:hover {
  text-decoration: underline;
}

/* 榜单页专属 */
.hg-rank-hero {
  background: linear-gradient(135deg, #141414 0%, var(--bg) 100%);
  padding: 48px 0 32px;
}
.hg-rank-hero .hg-head {
  text-align: left;
  margin-bottom: 0;
}
.hg-rank-hero .hg-title {
  font-size: 32px;
}
.hg-rank-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 28px 0 8px;
  list-style: none;
}
.hg-rank-tab {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 8px 22px;
  border-radius: 24px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-light);
}
.hg-rank-tab:hover {
  border-color: var(--text);
  color: var(--text);
}
.hg-rank-tab.active {
  background: var(--text);
  border-color: var(--text);
  color: #0a0a0a;
  font-weight: 600;
}
.hg-rank-note {
  font-size: 13px;
  color: var(--text-light);
  background: var(--tint);
  padding: 12px 20px;
  border-radius: 12px;
  margin-top: 24px;
  display: inline-block;
  border: 1px solid var(--border);
}

.hg-rank-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hg-rank-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition:
    box-shadow 0.2s,
    transform 0.15s;
}
.hg-rank-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: #3a3a3a;
}
.hg-rank-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-light);
  min-width: 36px;
  text-align: center;
}
.hg-rank-num.top1 {
  color: #e6b800;
}
.hg-rank-num.top2 {
  color: #b0b0b0;
}
.hg-rank-num.top3 {
  color: #cd7f32;
}
.hg-rank-cover {
  width: 64px;
  height: auto;
  aspect-ratio: 3/4;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #2a2a2a;
}
.hg-rank-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hg-rank-info {
  flex: 1;
  min-width: 0;
}
.hg-rank-info h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.hg-rank-info h3 a {
  text-decoration: none;
  color: var(--text);
}
.hg-rank-info h3 a:hover {
  color: var(--primary-dark);
}
.hg-rank-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--text-light);
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.hg-rank-meta .genre {
  color: var(--text);
}
.hg-rank-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  max-width: 320px;
}
.hg-rank-bar i {
  display: block;
  height: 100%;
  background: var(--text-light);
  border-radius: 3px;
}
.hg-rank-score {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  margin-left: 8px;
}
.hg-rank-desc {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

.hg-podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.hg-pod-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  position: relative;
  transition:
    box-shadow 0.2s,
    transform 0.15s;
}
.hg-pod-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: #3a3a3a;
}
.hg-pod-media {
  display: block;
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 10px;
  background: #2a2a2a;
  overflow: hidden;
  margin-bottom: 14px;
  text-decoration: none;
}
.hg-pod-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hg-pod-no {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--text);
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.hg-pod-body h4 {
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text);
}
.hg-pod-genre {
  font-size: 12px;
  color: var(--text);
}
.hg-pod-body p {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 6px;
}
.hg-pod-score {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text);
  background: #2a2a2a;
  padding: 3px 12px;
  border-radius: 12px;
}

.hg-stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  text-align: center;
}
.hg-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
}
.hg-stat-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  display: block;
  margin-bottom: 6px;
}
.hg-stat-label {
  font-size: 13px;
  color: var(--text-light);
}

.hg-faq-box {
  list-style: none;
  max-width: 760px;
  margin: 0 auto;
}
.hg-faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
}
.hg-faq-q {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--text);
}
.hg-faq-mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2a2a2a;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.hg-faq-a {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  padding-left: 34px;
}

/* ===== 新增板块样式 ===== */
.hg-trend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.hg-trend-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.hg-trend-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #1f1f1f;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.hg-trend-body {
  flex: 1;
}
.hg-trend-body strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text);
}
.hg-trend-body p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}
.hg-trend-value {
  font-size: 12px;
  color: var(--text);
  font-weight: 600;
  margin-top: 6px;
  display: block;
}

.hg-mover-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hg-mover-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hg-mover-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.hg-mover-arrow.up {
  background: #2a3a2a;
  color: #7fe0a0;
}
.hg-mover-arrow.down {
  background: #3a2a2a;
  color: #e0a0a0;
}
.hg-mover-arrow.new {
  background: #2a2a3a;
  color: #a0a0e0;
}
.hg-mover-body {
  flex: 1;
}
.hg-mover-body strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
  color: var(--text);
}
.hg-mover-body p {
  font-size: 12px;
  color: var(--text-light);
}
.hg-mover-rank {
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
}

.hg-weekly-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.hg-weekly-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hg-weekly-card h3 {
  font-size: 16px;
  line-height: 1.3;
  color: var(--text);
}
.hg-weekly-card h3 a {
  text-decoration: none;
  color: var(--text);
}
.hg-weekly-card h3 a:hover {
  color: var(--primary-dark);
}
.hg-weekly-genre {
  font-size: 12px;
  color: var(--text);
  font-weight: 600;
}
.hg-weekly-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}
.hg-weekly-meta {
  font-size: 12px;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 4px;
}

.hg-feedback-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
.hg-feedback-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.hg-feedback-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2a2a2a;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.hg-feedback-body {
  flex: 1;
}
.hg-feedback-body strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text);
}
.hg-feedback-body p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}
.hg-feedback-meta {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 6px;
}

.hg-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
}
.hg-footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.hg-footer-brand p {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 14px;
  line-height: 1.7;
}
.hg-footer-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hg-footer-col h3 {
  font-size: 14px;
  margin-bottom: 14px;
  color: var(--text);
}
.hg-footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-light);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.hg-footer-col a:hover {
  color: var(--text);
}
.hg-footer-contact p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
}
.hg-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
  font-size: 13px;
}
.hg-footer-tags strong {
  color: var(--text);
  margin-right: 6px;
}
.hg-footer-tags span {
  background: var(--tint);
  color: var(--text-light);
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 12px;
}
.hg-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--text-light);
}
.hg-footer-legal a {
  color: var(--text-light);
  text-decoration: none;
}
.hg-footer-legal a:hover {
  color: var(--text);
}
.hg-switch-ver {
  font-size: 12px;
  color: var(--text-light);
  text-decoration: none;
  margin-left: 8px;
}
.hg-switch-ver:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .hg-footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hg-footer-groups {
    grid-template-columns: repeat(2, 1fr);
  }
  .hg-topic-tabs-inner--bar {
    display: none;
  }
  .hg-rank-hero .hg-title {
    font-size: 26px;
  }
}
@media (max-width: 640px) {
  .hg-sec {
    padding: 40px 0;
  }
  .hg-title {
    font-size: 22px;
  }
  .hg-podium {
    grid-template-columns: 1fr;
  }
  .hg-nav-actions .hg-icon-btn span {
    display: none;
  }
  .hg-footer-groups {
    grid-template-columns: 1fr;
  }
  .hg-rank-item {
    flex-wrap: wrap;
    gap: 12px;
  }
  .hg-rank-score {
    margin-left: 0;
  }
  .hg-rank-bar {
    max-width: 100%;
  }
}
