/* Keep result metrics together at the right. Club absorbs spare row width,
   rather than leaving a flexible Total column between the point values. */
  .results-table-wrap.panel > .individual-results-table th.result-position { width: 6% !important; }
  .results-table-wrap.panel > .individual-results-table th.result-country { width: 6% !important; }
  .results-table-wrap.panel > .individual-results-table th.result-category { width: 10% !important; }
  .results-table-wrap.panel > .individual-results-table th.result-source-col { width: 4% !important; }
  .results-table-wrap.panel > .individual-results-table th.result-rider { width: 16% !important; }
  .results-table-wrap.panel > .individual-results-table th.num { width: 72px !important; }
  .results-table-wrap.panel > .individual-results-table th.result-time { width: 108px !important; }
  .results-table-wrap.panel > .individual-results-table th.result-total { width: 96px !important; }
  .results-table-wrap.panel > .individual-results-table th.result-team { width: auto !important; }

@media (min-width: 651px) {
  .segment-results-table > thead > tr > th:nth-child(5) { width: 240px; }
  .segment-results-table > thead > tr > th.segment-desktop-club { width: auto; }
  .segment-results-table > thead > tr > th.num { width: 108px; }
  .segment-results-table > thead > tr > th.result-points { width: 72px; }
}

  .team-results-table > thead > tr > th:nth-child(2),
  .team-results-table > tbody > tr:not(.team-roster-row) > td:nth-child(2) { width: auto; }
  .team-results-table > thead > tr > th.num,
  .team-results-table > tbody > tr:not(.team-roster-row) > td.num { width: 72px; }
  .team-results-table > thead > tr > th.result-total,
  .team-results-table > tbody > tr:not(.team-roster-row) > td.result-total { width: 96px; }
  .team-results-table > thead > tr > th:last-child,
  .team-results-table > tbody > tr:not(.team-roster-row) > td:last-child { width: 128px; }

  .team-roster-table > colgroup > col:nth-child(5) { width: auto !important; }
  .team-roster-table > colgroup > col:nth-child(6) { width: 108px !important; }
  .team-roster-table > colgroup > col:nth-child(n+7) { width: 72px !important; }
  .team-roster-table > colgroup > col:last-child { width: 96px !important; }

  .standings-results-table col.standings-col-club { width: auto; }
  .standings-results-table col.standings-col-medals { width: 88px; }
  .standings-results-table col.standings-col-races { width: 72px; }
  .standings-results-table col.standings-col-missed { width: 80px; }
  .standings-results-table col.standings-col-bonus { width: 88px; }
  .standings-results-table col.standings-col-value { width: 96px; }
  .standings-results-table--gc col.standings-col-value { width: 128px; }

  .raced-table col.raced-col-club { width: auto; }
  .raced-table col.raced-col-time { width: 128px; }

/* Keep just the compact time pinned; its gap is an ordinary column reached
   by swiping right. Width is measured from the widest displayed time/title. */
@media(max-width:650px), (max-width:1000px) and (max-height:550px){
  .standings-results-table--gc col.standings-col-value,
  .raced-table col.raced-col-time,
  .standings-results-table--gc :is(th,td).result-total,
  .raced-table :is(th,td).raced-time{width:var(--results-mobile-time-width,88px)!important;min-width:0;white-space:nowrap}
  .standings-results-table--gc :is(th,td).result-total,
  .raced-table :is(th,td).raced-time{position:sticky;right:0;z-index:2;background:var(--panel);box-shadow:-1px 0 var(--line)}
  .standings-results-table--gc :is(th,td):last-child,
  .results-page-wrap .results-table-wrap>.results-table.raced-table :is(th,td).raced-gap{position:static!important;right:auto!important;box-shadow:none!important}
  .standings-results-table col.standings-col-club,
  .raced-table col.raced-col-club{width:150px}
  .standings-results-table--gc thead th.result-total,
  .raced-table thead th.raced-time{z-index:3;background:var(--panel2)}
  /* Keep source, flag and category accessible to the left of Rider rather
     than deleting identity columns on narrow segment-results screens. */
  .segment-results-table .result-country,
  .segment-results-table .result-category,
  .segment-results-table .segment-desktop-source,
  .segment-results-table .segment-desktop-club{display:table-cell}
  .segment-results-table .segment-mobile-meta,
  .segment-results-table .segment-mobile-identity{display:none}
}
