/* 랭킹 */
.rank-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.rank-tabs .btn { min-height: 38px; font-size: 14px; }
.rank-mine { margin: 0 0 12px; font-weight: 700; color: var(--gold); }
.rank-head, .rank-list li { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; }
.rank-head { padding: 0 10px 6px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-list li { padding: 9px 10px; border-bottom: 1px solid #ffffff0a; font-variant-numeric: tabular-nums; }
.rank-list li:nth-child(1) .rk { color: #ffd76a; }
.rank-list li:nth-child(2) .rk { color: #d5dde6; }
.rank-list li:nth-child(3) .rk { color: #e0a36a; }
.rank-list .rk { font-weight: 900; text-align: center; }
.rank-list .nm { display: flex; align-items: center; gap: 6px; min-width: 0; }
.rank-list .nm span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-list .nm em { font-style: normal; font-size: 11px; padding: 1px 6px; border-radius: 999px; background: var(--red); color: #fff; }
.rank-list .tm { font-weight: 700; }
.rank-list li.me { background: #d6283b1f; border-radius: 10px; }
.rank-foot { margin: 10px 0 0; font-size: 12px; text-align: center; }
.rank-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)), var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.rank-list li.me { background: rgba(255, 45, 75, .1); box-shadow: inset 0 0 0 1px rgba(255, 45, 75, .3); }
.rank-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)),
    var(--bg-2);
  box-shadow: var(--shadow);
}
.rank-list li { border-bottom: 1px solid rgba(255, 255, 255, .045); }
.rank-list li.me { background: rgba(224, 100, 154, .08); box-shadow: inset 0 0 0 1px rgba(224, 100, 154, .32); }
.rank-list .nm em { background: var(--blue-deep); color: #fff; }
.rank-mine { color: var(--gold); }
.rank-tabs .btn[aria-selected="true"], .rank-tabs .btn.primary { letter-spacing: -.01em; }
