/* Keep all result columns inside the page; narrow screens use wrapped cards. */
#finalSection .table-wrap, #qualSection .table-wrap { overflow:visible !important; }
#finalTable, #qualTable { width:100%; min-width:0; table-layout:fixed; }
#finalTable th, #qualTable th { width:auto !important; white-space:normal; }
#finalTable th, #finalTable td, #qualTable th, #qualTable td {
  padding:.5rem .25rem !important; overflow-wrap:anywhere; font-size:.78rem !important;
}
#finalTable .rank-cell, #qualTable .rank-cell { width:38px !important; }
#finalTable th:nth-child(2), #qualTable th:nth-child(2) { width:6% !important; }
#finalTable th:nth-child(3), #qualTable th:nth-child(3) { width:17% !important; }
#finalTable th:nth-child(4), #qualTable th:nth-child(4) { width:10% !important; }
#finalTable .total-cell, #qualTable .total-cell { width:58px !important; }
#finalTable .target-cell, #qualTable .target-cell { width:78px !important; }
#finalTable:has(.team-member-line) th:nth-child(2), #qualTable:has(.team-member-line) th:nth-child(2) { width:25% !important; }
#finalTable:has(.team-member-line) th:nth-child(3), #qualTable:has(.team-member-line) th:nth-child(3) { width:12% !important; }
#finalTable:has(.team-member-line) th:nth-child(4), #qualTable:has(.team-member-line) th:nth-child(4) { width:auto !important; }
#finalTable .ath-cell, #qualTable .ath-cell { min-width:0; gap:.3rem; }
#finalTable .ath-cell > span:last-child, #qualTable .ath-cell > span:last-child { min-width:0; }
#finalTable .ath-avatar, #qualTable .ath-avatar { width:26px; height:26px; flex:0 0 26px; }
#finalTable .series-sub { white-space:normal; overflow-wrap:anywhere; }
#finalSection .mobile-series-scroll, #qualSection .mobile-series-scroll { flex-wrap:wrap; overflow:visible; }
#finalSection .mobile-series-pill, #qualSection .mobile-series-pill { flex:1 0 64px; }
.final-target-actions { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:.4rem; margin-top:.5rem; }
@media(min-width:1280px) and (max-width:1399px) {
  #finalTable .series-val { font-size:.72rem; }
}
@media(max-width:1279px) {
  #finalSection .desktop-only, #qualSection .desktop-only { display:none; }
  #finalSection .mobile-only, #qualSection .mobile-only { display:grid; }
}
