 The winners and runners-up of each of the eight groups in the second stage qualified for the final stages.The qualified teams were seeded in the final stages according to their results in the second stage, with the group winners seeded 1–8, and the group runners-up seeded 9–16.In the final stages, the 16 teams played a single-elimination tournament, with the following rules