/* Five equal competitors. Each row keeps the complete seven-stage score visible. */
.tournament-progress{display:flex;align-items:center;justify-content:center;gap:5px;list-style:none;margin:0 0 8px;padding:0;direction:ltr}
.tournament-step{display:grid;place-items:center;flex:1;max-width:48px;height:22px;border:1px solid #8fb5d340;border-radius:7px;background:#0c2742;color:#98b3cd;font-size:10px;font-weight:800;font-variant-numeric:tabular-nums}
.tournament-step.is-complete{color:#c6faff;background:#1a5569;border-color:#59ced977}
.tournament-step.is-current{color:#092b42;background:#a9f0ff;border-color:#dcfbff;box-shadow:0 0 0 2px #63d4e32b}
.tournament-step.is-final{border-color:#e6be6677}.tournament-step.is-final.is-current{background:#ffe09b;color:#593e16}.tournament-step.is-final.is-complete{color:#ffe09b;background:#674d28}
.tournament-panel:has(.tournament-five){width:min(870px,94vw);max-height:calc(100dvh - 76px)}
.tournament-ranking.tournament-five{display:block;min-width:0}
.tournament-five .rank-list-scroll{max-height:none;overflow-x:auto;overflow-y:visible;border:1px solid #93bfd433;border-radius:12px}
.tournament-score-table{width:100%;border-collapse:collapse;border-spacing:0;table-layout:fixed}
.tournament-five .score-row{display:grid;grid-template-columns:36px minmax(130px,1fr) minmax(232px,1.25fr) 84px;align-items:center;gap:8px;min-width:528px;min-height:43px;padding:6px 9px;background:#0e294433;border-bottom:1px solid #7bc8e725;font-size:12px}
.tournament-five .score-head{min-height:30px;background:#264b69}.tournament-five .score-heading{font-size:10px;text-align:center}.tournament-five .score-heading-player{text-align:start}
.tournament-five .score-row:last-child{border-bottom:0}.tournament-five .score-row.is-champion{background:linear-gradient(90deg,#a27a2b26,#a27a2b09);box-shadow:inset 3px 0 0 #ffd56f;color:#fff1c7;border-radius:0}.tournament-five .score-row.is-you{outline:1px solid #ff81a16b;outline-offset:-1px}
.tournament-five .rank-number{display:flex;align-items:center;justify-content:center;gap:4px;color:#dcefff;font-size:13px}.tournament-five .score-crest{display:block;width:21px;height:24px;object-fit:contain}
.tournament-five .score-player{display:flex;min-width:0;flex-direction:column;gap:3px;align-items:flex-start;text-align:start;font-weight:600}.tournament-five .score-player-name{font-size:12px;line-height:1.4}
.tournament-five .score-player-badges{display:flex;min-width:0;max-width:100%;align-items:center;gap:4px;flex-wrap:wrap}.tournament-five .rank-prestige{font-size:8px;padding:2px 4px}.tournament-five .score-you,.tournament-five .score-champion{font-size:7px;line-height:1.5;border-radius:3px;padding:1px 3px;white-space:nowrap}.tournament-five .score-you{background:#b9376038;color:#ffbfd1}.tournament-five .score-champion{background:#96702c55;color:#ffe4a0}
.tournament-five .round-gain{font-size:14px;text-align:center;font-variant-numeric:tabular-nums}.tournament-five .history-gains{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;direction:ltr}.tournament-five .history-gain{display:flex;flex-direction:column;gap:1px;border-radius:5px;font-size:10px;color:#c3dcee;line-height:1.45;text-align:center;font-variant-numeric:tabular-nums}.tournament-five .history-stage{font-size:8px;color:#7295b2}.tournament-five .final-gain{background:#a78a4140;color:#ffe7a6}.tournament-five .final-gain .history-stage{color:#c3a566}.tournament-five .total-points{font-size:17px;font-weight:900;color:#ffe399}
.final-stage-result{margin:8px 2px 3px;font-size:11px;line-height:1.5;color:#cfeafb}.final-stage-result bdi{font-weight:800}.score-tiebreak{font-size:10px;line-height:1.5;color:#afcce4;margin:5px 2px}.score-tiebreak summary{cursor:pointer;color:#9feaff;padding:4px 0}.score-tiebreak p{margin:3px 0}.score-tiebreak summary:focus-visible{outline:2px solid #a9f0ff;outline-offset:3px;border-radius:3px}
@media(max-height:450px){.tournament-panel:has(.tournament-five){max-height:calc(100dvh - 68px);padding:8px 12px}.tournament-progress{margin-bottom:5px;gap:4px}.tournament-step{height:18px;font-size:9px}.tournament-five .score-row{min-height:37px;padding:4px 7px}.tournament-five .score-head{min-height:24px}.tournament-five .score-player-name{font-size:10px}.tournament-five .score-player{gap:1px}.tournament-five .score-player-badges .rank-prestige{font-size:7px;padding:1px 3px}.tournament-five .history-gain{font-size:9px}.tournament-five .history-stage{font-size:7px}.tournament-five .total-points{font-size:14px}.final-stage-result{margin:4px 2px 2px;font-size:10px}.score-tiebreak{margin:2px;font-size:9px}}
@media(max-width:620px){.tournament-panel:has(.tournament-five){width:94vw}.tournament-five .score-row{grid-template-columns:31px minmax(105px,1fr) minmax(210px,1.3fr) 76px;gap:6px;min-width:456px}.tournament-five .history-gains{gap:2px}.tournament-five .score-heading{font-size:9px}.tournament-five .score-player-name{font-size:11px}.tournament-five .total-points{font-size:15px}.tournament-five .score-crest{width:17px;height:21px}}
@media(prefers-reduced-motion:reduce){.tournament-step{transition:none;animation:none}}
@media(max-width:620px){.tournament-five .history-gain{font-size:8.5px}.tournament-five .history-stage{font-size:7px}}
