.rank-progress[hidden] { display: none; }
.rank-progress {
  display: grid;
  grid-template-columns: minmax(140px, .7fr) minmax(0, 2fr);
  gap: clamp(18px, 3vw, 36px);
  margin-block: 18px 22px;
  padding: clamp(16px, 2.8vw, 30px);
  color: var(--lb-text);
  background: linear-gradient(110deg, #242d20, var(--lb-panel) 65%);
  border: 1px solid var(--lb-line);
  border-radius: 8px;
}
.rank-progress-medal {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  align-self: stretch;
  min-width: 0;
  background: radial-gradient(ellipse at center, #b7985540, transparent 70%);
}
.rank-progress-medal::before {
  position: absolute;
  z-index: -1;
  width: min(80%, 200px);
  aspect-ratio: 1;
  border: 1px solid #d6b4773d;
  border-radius: 50%;
  box-shadow: 0 0 0 9px #d6b47712, 0 0 0 18px #d6b47709;
  content: '';
}
.rank-progress-badge {
  width: min(100%, 202px);
  height: auto;
  filter: drop-shadow(0 10px 12px #080c08a8);
}
.rank-progress-info { min-width: 0; }
.rank-progress-label { margin: 0 0 4px; color: var(--lb-gold); font-size: 13px; font-weight: 650; }
.rank-progress-title { margin: 0; font-size: clamp(25px, 3vw, 36px); line-height: 1.2; }
.rank-progress-counts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}
.rank-progress-count {
  padding: 9px 12px;
  border: 1px solid var(--lb-line);
  border-radius: 5px;
  background: #10150e55;
}
.rank-progress-count dt { font-size: 12px; color: var(--lb-muted); line-height: 1.4; }
.rank-progress-count-value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 6px;
  margin: 4px 0 0;
  color: var(--lb-text);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.rank-progress-count-note { font-size: 12px; font-weight: 500; color: var(--lb-muted); }
.rank-progress-target {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 16px;
  font-size: 13px;
}
.rank-progress-total { color: var(--lb-gold); font-variant-numeric: tabular-nums; }
.rank-progress-track {
  display: flex;
  height: 7px;
  overflow: hidden;
  margin-block: 8px;
  border-radius: 4px;
  background: #10170e;
}
.rank-progress-track i { display: block; }
.rank-progress-practice { background: var(--lb-green); }
.rank-progress-public { background: var(--lb-gold); }
.rank-progress-remaining, .rank-progress-rule { margin: 6px 0 0; font-size: 13px; line-height: 1.5; }
.rank-progress-rule { color: var(--lb-muted); }

@media (max-width: 560px) {
  .rank-progress { grid-template-columns: 1fr; gap: 10px; }
  .rank-progress-medal { justify-self: center; width: min(54%, 158px); }
}
