.ranking-lead {
  margin: 0 0 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ranking-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
  touch-action: manipulation;
}

.ranking-row:hover {
  background: rgba(40, 40, 42, 0.88);
  border-color: rgba(184, 14, 19, 0.35);
}

.ranking-row:active {
  transform: scale(0.99);
}

.ranking-rank {
  flex-shrink: 0;
  width: 36px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: #e0474b;
  font-variant-numeric: tabular-nums;
}

.ranking-rank--top {
  color: #f5c542;
}

.ranking-avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.ranking-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ranking-frame {
  width: 40px;
  height: 40px;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ranking-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ranking-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ranking-clan {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ranking-empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  padding: 24px 12px;
}

.ranking-error {
  text-align: center;
  color: #e0474b;
  font-size: 14px;
  padding: 24px 12px;
}
