/* TASK157: match original React leaderboard typography; alter only layout. */
.task156-scroller { overflow-x: auto !important; }
.task156-table { width: 100% !important; min-width: 685px !important; table-layout: fixed !important; }
.task156-table th, .task156-table td { box-sizing: border-box !important; vertical-align: middle !important; }
/* Standard games: rank / nickname / level / points / submitted date. */
.task156-table:not(.task156-dch) th:nth-child(1), .task156-table:not(.task156-dch) td:nth-child(1) { width: 6% !important; }
.task156-table:not(.task156-dch) th:nth-child(2), .task156-table:not(.task156-dch) td:nth-child(2) { width: 40% !important; }
.task156-table:not(.task156-dch) th:nth-child(3), .task156-table:not(.task156-dch) td:nth-child(3) { width: 11% !important; }
.task156-table:not(.task156-dch) th:nth-child(4), .task156-table:not(.task156-dch) td:nth-child(4) { width: 19% !important; }
.task156-table:not(.task156-dch) th:nth-child(5), .task156-table:not(.task156-dch) td:nth-child(5) { width: 24% !important; }
/* DCH: rank / nickname / level / version / points / date. */
.task156-dch th:nth-child(1), .task156-dch td:nth-child(1) { width: 6% !important; }
.task156-dch th:nth-child(2), .task156-dch td:nth-child(2) { width: 31% !important; }
.task156-dch th:nth-child(3), .task156-dch td:nth-child(3) { width: 9% !important; }
.task156-dch th:nth-child(4), .task156-dch td:nth-child(4) { width: 17% !important; }
.task156-dch th:nth-child(5), .task156-dch td:nth-child(5) { width: 15% !important; }
.task156-dch th:nth-child(6), .task156-dch td:nth-child(6) { width: 22% !important; }
/* No explicit font-family, font-size, font-weight, letter-spacing or text-transform:
   these now come directly from the original React TH/TD classes. */
.task156-version-cell { text-align: left !important; white-space: nowrap !important; }
.task156-date-cell { text-align: right !important; white-space: nowrap !important; }
.task156-version-value { display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
.task156-star { display: inline-block; width: 13px; height: 13px; flex: 0 0 13px; }
.task156-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; padding: .55rem .5rem 0; font-family: inherit; font-size: .625rem; font-weight: 400; line-height: 1.3rem; opacity: .7; }
.task156-legend-item { display: inline-flex; align-items: center; gap: .25rem; white-space: nowrap; }
.task156-legend .task156-star { width: 11px; height: 11px; flex-basis: 11px; }
