/* 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; }
/* Confirmed mixed-team start lists retain each member's original start details. */
#startListSection .mixed-start-team-column { width:180px; }
#startListSection .mixed-start-team-cell { vertical-align:middle; background:#eef4fc; border-left:3px solid #1a428a; }
#startListSection .mixed-start-label { display:flex; align-items:center; gap:.4rem; font-size:.72rem; font-weight:700; color:#316096; }
#startListSection .mixed-start-label svg { width:20px; height:20px; flex:0 0 20px; }
#startListSection .mixed-start-org { display:block; margin-top:.4rem; font-size:.9rem; line-height:1.35; color:#1a428a; overflow-wrap:anywhere; }
#startListSection .mixed-start-first > td { border-top:2px solid #cedced; }
#startListSection .mixed-start-team { border:1px solid #cddced; border-radius:16px; background:#fff; overflow:hidden; box-shadow:0 3px 12px rgba(15,23,42,.05); }
#startListSection .mixed-start-heading { padding:.75rem .9rem; background:#eef4fc; border-bottom:1px solid #dce6f2; }
#startListSection .mixed-start-heading .mixed-start-label { text-transform:uppercase; letter-spacing:.04em; }
#startListSection .mixed-start-member.mobile-result-card { border:0; border-radius:0; box-shadow:none; padding:.8rem .9rem; }
#startListSection .mixed-start-member + .mixed-start-member { border-top:1px solid #e1e9f3; }
@media(max-width:800px) {
  #startListSection .mixed-start-member .mobile-card-top { gap:.5rem; }
  #startListSection .mixed-start-member .mobile-rank-badge { min-width:34px; height:34px; border-radius:10px; font-size:.85rem; }
  #startListSection .mixed-start-member .ath-cell { gap:.5rem; }
  #startListSection .mixed-start-member .ath-avatar { width:30px; height:30px; flex:0 0 30px; font-size:.65rem; }
  #startListSection .mixed-start-member .mobile-name { font-size:.85rem; overflow-wrap:anywhere; }
  #startListSection .mixed-start-member .mobile-subline { font-size:.72rem; overflow-wrap:anywhere; }
  #startListSection .mixed-start-member .mobile-score-chip { min-width:42px; padding:.35rem .4rem; border-radius:10px; }
  #startListSection .mixed-start-member .mobile-score-chip-value { font-size:.85rem; }
  #startListSection .mixed-start-member .start-meta-chip { font-size:.65rem; padding:.25rem .4rem; }
}
@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; }
}
