/* 趣玩星球 · 排行榜小组件样式（游戏页 / 排行榜页共用） */

.lb-widget {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lb-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
}

.lb-more {
  color: var(--accent, #35e0ff);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex: none;
}
.lb-more:hover { text-decoration: underline; }

.lb-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 0;
}

.lb-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
}

.lb-rank {
  width: 20px;
  flex: none;
  text-align: center;
  font-size: 13px;
}

.lb-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
}

.lb-score {
  flex: none;
  font-variant-numeric: tabular-nums;
  color: var(--accent, #35e0ff);
}

.lb-pts {
  flex: none;
  font-variant-numeric: tabular-nums;
  color: #ffd24a;
  font-weight: 700;
}

.lb-empty {
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-dim);
}

.lb-more-wrap {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
}

/* 单游戏完整榜单（游戏页 → 完整排行，整页铺满、不套卡片） */
.full-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.08));
}
.full-head__t {
  font-family: "ZCOOL QingKe HuangYou", "PingFang SC", sans-serif;
  font-size: 26px;
  letter-spacing: 0.1em;
}
.full-head__t span {
  background: linear-gradient(180deg, #fff 20%, #b9c4ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.full-head__hint {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
}
.full-head__self {
  margin-left: auto;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
}
.full-head__self b { color: var(--accent, #35e0ff); font-weight: 700; }
.full-head__self a { color: var(--accent, #35e0ff); }

.lb-list--full {
  max-width: 720px;
  gap: 9px;
}
.lb-list--full .lb-row {
  padding: 13px 16px;
  border-radius: 13px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
  background: rgba(255, 255, 255, 0.03);
  font-size: 14.5px;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.lb-list--full .lb-row:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}
.lb-list--full .lb-row.me {
  border-color: var(--accent, #35e0ff);
  background: rgba(53, 224, 255, 0.08);
}
.lb-list--full .lb-rank {
  width: 32px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-dim);
}
.lb-list--full .lb-avatar {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 106, 213, 0.18), rgba(53, 224, 255, 0.16));
  border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
}
.lb-list--full .lb-name {
  font-size: 15.5px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lb-list--full .lb-nick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lb-list--full .lb-uid {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  font-variant-numeric: tabular-nums;
}
.lb-list--full .lb-score {
  font-size: 14.5px;
}
.lb-list--full .lb-pts {
  font-size: 13.5px;
}
.me-tag {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent, #35e0ff);
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(53, 224, 255, 0.12);
  border: 1px solid rgba(53, 224, 255, 0.35);
  flex: none;
}

/* 档位标签 */
.tier {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.tier--legend { color: #201a06; background: linear-gradient(135deg, #ffd24a, #ffb13c); box-shadow: 0 4px 14px -4px rgba(255, 210, 74, 0.5); }
.tier--epic   { color: #fff; background: linear-gradient(135deg, #be5aff, #8a2be2); box-shadow: 0 4px 14px -4px rgba(190, 90, 255, 0.5); }
.tier--master { color: #06222e; background: linear-gradient(135deg, #35e0ff, #6ee0ff); box-shadow: 0 4px 14px -4px rgba(53, 224, 255, 0.5); }
.tier--expert { color: #fff; background: linear-gradient(135deg, #4caf6e, #2e8b57); box-shadow: 0 4px 14px -4px rgba(76, 175, 110, 0.5); }
.tier--good   { color: var(--ink); background: rgba(255, 255, 255, 0.1); border: 1px solid var(--line, rgba(255, 255, 255, 0.12)); }
.tier--rookie { color: var(--ink-dim); background: rgba(255, 255, 255, 0.05); border: 1px dashed rgba(255, 255, 255, 0.14); }

/* 单游戏大榜 · 前三名领奖行 */
.lb-podium {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
  margin: 0 0 14px;
  padding: 0;
}
.podium-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-radius: 15px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
  background: rgba(255, 255, 255, 0.04);
  animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.podium-row.me {
  border-color: var(--accent, #35e0ff);
  box-shadow: 0 0 0 1px rgba(53, 224, 255, 0.35), 0 10px 30px -14px rgba(53, 224, 255, 0.5);
}
.podium-row .podium-medal {
  width: 38px;
  flex: none;
  font-size: 26px;
  text-align: center;
  filter: drop-shadow(0 0 10px rgba(255, 210, 74, 0.45));
}
.podium-row .podium-avatar {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(255, 106, 213, 0.2), rgba(53, 224, 255, 0.18));
}
.podium-row .podium-name {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.podium-row .podium-nick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.podium-row .podium-uid {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  font-variant-numeric: tabular-nums;
}
.podium-row .podium-tier { flex: none; }
.podium-row .podium-score {
  flex: none;
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent, #35e0ff);
  text-shadow: 0 0 18px rgba(53, 224, 255, 0.35);
}
.podium-row .podium-score i {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  margin-left: 3px;
}
.podium-row .podium-pts {
  flex: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffd24a;
  font-variant-numeric: tabular-nums;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 210, 74, 0.1);
  border: 1px solid rgba(255, 210, 74, 0.3);
}
.podium--gold {
  border-color: rgba(255, 210, 74, 0.45);
  background: linear-gradient(180deg, rgba(255, 210, 74, 0.12), rgba(255, 255, 255, 0.03));
}
.podium--gold .podium-medal { animation: glow 2s ease-in-out infinite; }
.podium--silver {
  border-color: rgba(201, 210, 230, 0.35);
  background: linear-gradient(180deg, rgba(201, 210, 230, 0.1), rgba(255, 255, 255, 0.03));
}
.podium--silver .podium-medal { filter: grayscale(0.25); }
.podium--bronze {
  border-color: rgba(255, 154, 90, 0.35);
  background: linear-gradient(180deg, rgba(255, 154, 90, 0.09), rgba(255, 255, 255, 0.03));
}
.podium--bronze .podium-medal { filter: grayscale(0.35); }

@keyframes glow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ---------- 小屏适配 ---------- */
@media (max-width: 560px) {
  .podium-row {
    gap: 10px;
    padding: 13px 14px;
  }
  .podium-row .podium-medal { width: 28px; font-size: 21px; }
  .podium-row .podium-avatar { width: 38px; height: 38px; font-size: 20px; }
  .podium-row .podium-nick { font-size: 15px; gap: 6px; }
  .podium-row .podium-uid { font-size: 10.5px; }
  .podium-row .podium-score { font-size: 16px; }
  .podium-row .podium-pts { font-size: 11.5px; padding: 3px 10px; }

  .lb-list--full .lb-row { gap: 8px; padding: 12px 12px; font-size: 13.5px; }
  .lb-list--full .lb-avatar { width: 26px; height: 26px; font-size: 14px; }
  .lb-list--full .lb-name { font-size: 14px; }
  .lb-list--full .lb-uid { font-size: 10px; }
  .lb-list--full .lb-score { font-size: 13.5px; }
  .lb-list--full .lb-pts { font-size: 12px; }
  .tier { font-size: 10px; padding: 2px 8px; }
}
