/* ==================================================================
   首页补充组件：Top3 立体领奖台 + 合规声明横排
   （全新类名 podium-* / hm2-disc-*，无历史层污染）
   ================================================================== */

/* ---- Top3 立体领奖台 ---- */
.podium {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: 4px !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  min-width: 0 !important;
  padding-bottom: 4px !important;
}
.podium-col {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex: 0 0 auto !important;
  width: 30% !important;
  max-width: 62px !important;
}
/* 头部：皇冠 + 水晶球 + 名次丝带 */
.podium-head {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
}
.podium-crown {
  display: block !important;
  width: calc(0.76 * var(--u)) !important; height: calc(0.76 * var(--u)) !important;
  color: #f5b642 !important;
  filter: drop-shadow(0 1px 1px rgba(150,90,0,.5)) !important;
  margin-bottom: -6px !important;
  z-index: 2 !important;
}
.podium-crown svg { width: calc(0.76 * var(--u)) !important; height: calc(0.76 * var(--u)) !important; display: block !important; }
/* 水晶球头像 */
.podium-orb {
  width: calc(1.52 * var(--u)) !important; height: calc(1.52 * var(--u)) !important;
  border-radius: 50% !important;
  display: grid !important; place-items: center !important;
  color: rgba(255,255,255,.92) !important;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,.95), rgba(200,240,255,.5) 38%, rgba(90,175,215,.55) 72%, rgba(30,110,150,.6)) !important;
  border: 1.5px solid rgba(226,250,255,.9) !important;
  box-shadow: inset 0 -2px 4px rgba(20,90,130,.35), 0 2px 5px rgba(10,70,110,.35) !important;
  z-index: 1 !important;
}
.podium-orb svg { width: calc(0.76 * var(--u)) !important; height: calc(0.76 * var(--u)) !important; opacity: .9 !important; }
/* 名次丝带 */
.podium-ribbon {
  margin-top: -5px !important;
  font-size: calc(0.56 * var(--u)) !important; font-weight: 800 !important;
  color: #fff !important; letter-spacing: .3px !important;
  padding: 0 calc(0.42 * var(--u)) !important;
  border-radius: 9999px !important;
  background: linear-gradient(180deg, #8fb8cc, #6a93aa) !important;
  border: 1px solid rgba(255,255,255,.8) !important;
  box-shadow: 0 1px 3px rgba(20,70,100,.3) !important;
  z-index: 2 !important;
}
/* 台座：名字 + 人数 */
.podium-stand {
  width: 100% !important;
  margin-top: 2px !important;
  padding: 3px 2px 4px !important;
  border-radius: 6px 6px 4px 4px !important;
  display: flex !important; flex-direction: column !important; align-items: center !important;
  background: linear-gradient(180deg, rgba(235,248,255,.82), rgba(185,222,242,.62)) !important;
  border: 1px solid rgba(255,255,255,.7) !important;
  box-shadow: inset 0 1px 2px rgba(255,255,255,.7), 0 2px 4px rgba(15,70,105,.18) !important;
  min-height: calc(1.5 * var(--u)) !important;
  box-sizing: border-box !important;
}
.podium-name {
  font-size: calc(0.62 * var(--u)) !important; font-weight: 700 !important; color: #0c4a64 !important;
  white-space: nowrap !important; line-height: 1.1 !important;
  max-width: 100% !important; overflow: hidden !important; text-overflow: ellipsis !important;
}
.podium-count {
  font-size: calc(0.9 * var(--u)) !important; font-weight: 800 !important; color: #082f49 !important;
  line-height: 1.1 !important;
}
.podium-count small { font-size: calc(0.56 * var(--u)) !important; font-weight: 600 !important; margin-left: 1px !important; }

/* 第1名：更高、金色台座、金丝带 */
.podium-1 { width: 34% !important; max-width: 70px !important; }
.podium-1 .podium-crown { width: calc(0.9 * var(--u)) !important; height: calc(0.9 * var(--u)) !important; color: #ffcf4d !important; }
.podium-1 .podium-crown svg { width: calc(0.9 * var(--u)) !important; height: calc(0.9 * var(--u)) !important; }
.podium-1 .podium-orb { width: calc(1.72 * var(--u)) !important; height: calc(1.72 * var(--u)) !important; border-color: rgba(255,238,180,.95) !important; }
.podium-1 .podium-orb svg { width: calc(0.9 * var(--u)) !important; height: calc(0.9 * var(--u)) !important; }
.podium-1 .podium-ribbon { background: linear-gradient(180deg, #ffd766, #e9a72a) !important; color: #6a4300 !important; }
.podium-1 .podium-stand {
  min-height: calc(1.8 * var(--u)) !important;
  background: linear-gradient(180deg, rgba(255,240,200,.9), rgba(255,214,130,.72)) !important;
  border-color: rgba(255,246,210,.95) !important;
  box-shadow: inset 0 1px 2px rgba(255,255,255,.85), 0 3px 7px rgba(180,110,10,.28) !important;
}
.podium-1 .podium-name { color: #6a4300 !important; }
.podium-1 .podium-count { color: #5a3600 !important; }

/* 第3名：铜色丝带 */
.podium-3 .podium-ribbon { background: linear-gradient(180deg, #e0a878, #bd7a45) !important; }

/* ---- 合规声明：盾牌 + 标题 + 竖线 + 正文 横排 ---- */
.hm2-disclaimer {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 12px 14px !important;
}
.hm2-shield {
  width: 22px !important; height: 22px !important;
  color: #0a8bab !important; flex: 0 0 22px !important;
}
.hm2-disc-title {
  font-size: 14px !important; font-weight: 800 !important; color: #0c4a64 !important;
  flex: 0 0 auto !important; white-space: nowrap !important;
}
.hm2-disc-divider {
  width: 1px !important; height: 26px !important;
  background: rgba(12, 74, 100, .28) !important;
  flex: 0 0 1px !important;
}
.hm2-disc-body {
  flex: 1 1 auto !important;
  font-size: 11px !important; line-height: 1.45 !important;
  color: rgba(12, 74, 100, .82) !important;
}
/* 兼容旧的 disclaimer-text（已不用，兜底） */
.hm2-disclaimer-text { display: flex !important; flex-direction: column !important; }


/* 冲榜卡高度自适应：完整放下皇冠+球+丝带+台座，不被裁切（参考图约110px） */
.hm2-leaderboard,
.rank-card {
  height: auto !important;
  min-height: 100px !important;
  padding: 6px 12px !important;
  align-items: center !important;
}
.hm2-leaderboard .podium,
.rank-card .podium {
  height: auto !important;
  align-items: flex-end !important;
  padding: 2px 0 0 !important;
}

/* ---- 空态 / 错误态：水感半透明白卡 + 深青文字 ---- */
.hm2-empty {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 200px !important;
  padding: 36px 24px !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.55) !important;
  border: 1px solid rgba(255,255,255,.72) !important;
  box-sizing: border-box !important;
}
.hm2-empty-ico {
  width: 52px !important; height: 52px !important;
  color: #2aa8cf !important;
  margin-bottom: 4px !important;
}
.hm2-empty-title { font-size: 16px !important; font-weight: 800 !important; color: #0c4a64 !important; }
.hm2-empty-sub { font-size: 13px !important; color: rgba(12,74,100,.72) !important; text-align: center !important; }
.hm2-empty-err .hm2-empty-ico { color: #e08a2a !important; }
.hm2-empty-retry {
  margin-top: 10px !important;
  padding: 8px 22px !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(255,255,255,.85) !important;
  background: linear-gradient(180deg, #5fd4e8, #2aa8cf) !important;
  color: #fff !important; font-size: 13px !important; font-weight: 700 !important;
  box-shadow: 0 3px 8px rgba(20,140,180,.35) !important;
}
.hm2-empty-retry:active { transform: scale(.97) !important; }

/* ---- 骨架屏：水枕卡片形 ---- */
.hm2-skeleton {
  position: relative !important;
  height: 94px !important;
  width: 100% !important;
  border-radius: 16px !important;
  background: url('/assets/card_project_item.png') no-repeat center / 100% 100% !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
  margin-bottom: 12px !important;
  overflow: hidden !important;
}
.hm2-sk-medal, .hm2-sk-avatar, .hm2-sk-l1, .hm2-sk-l2 {
  background: linear-gradient(90deg, rgba(255,255,255,.25), rgba(255,255,255,.6), rgba(255,255,255,.25)) !important;
  background-size: 200% 100% !important;
  animation: hm2SkShine 1.4s ease-in-out infinite !important;
  border-radius: 8px !important;
}
.hm2-sk-medal { width: 32px !important; height: 32px !important; border-radius: 50% !important; flex: 0 0 32px !important; }
.hm2-sk-avatar { width: 54px !important; height: 54px !important; border-radius: 14px !important; flex: 0 0 54px !important; }
.hm2-sk-lines { display: flex !important; flex-direction: column !important; gap: 8px !important; flex: 1 1 auto !important; }
.hm2-sk-l1 { width: 60% !important; height: 16px !important; }
.hm2-sk-l2 { width: 34% !important; height: 14px !important; border-radius: 9999px !important; }
@keyframes hm2SkShine { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* 首页冲榜卡整卡可点：按下反馈 */
.hm2-leaderboard[role="button"] { transition: transform .12s ease; }
.hm2-leaderboard[role="button"]:active { transform: scale(.985); }
