/* Style the dashboard table itself. Report bodies can contain their own host-supplied tables. */
#DashboardContent .CleanTable, .turn-history { color: #eee; }
#DashboardContent .CleanTable {
    border-collapse: separate; border-spacing: 0;
    font: 14px/1.4 "Segoe UI", Arial, sans-serif; font-variant-numeric: tabular-nums;
}
#DashboardContent .CleanTable > :is(thead, tbody) > tr > th,
.turn-history thead th {
    padding: 9px 10px; border: 0; border-bottom: 1px solid #545454;
    background: linear-gradient(#393939, #2a2a2a); color: #eee;
    font-size: 13px; font-weight: 600; vertical-align: middle;
}
#DashboardContent .CleanTable > :is(thead, tbody) > tr > th:first-child { border-top-left-radius: 5px; }
#DashboardContent .CleanTable > :is(thead, tbody) > tr > th:last-child { border-top-right-radius: 5px; }
#DashboardContent .CleanTable:not(.vcr-table) > tbody > tr > td {
    padding: 8px 10px; border-bottom: 1px solid #ffffff1a; vertical-align: middle;
}
#DashboardContent .CleanTable:not(.vcr-table) > tbody > tr:nth-child(even) > td,
.turn-history tbody tr:where(:nth-child(even)) {
    background-color: #ffffff05;
}
#DashboardContent .CleanTable > tbody > tr.RowSelect:hover,
#DashboardContent .turn-report-list #MessageInbox tr:has(.report-sender):is(:hover, :focus-within) { background-color: #ffffff14; }
#DashboardContent .turn-report-list #MessageInbox tr:not(:has(.report-sender)):hover,
#DashboardContent #MessageInbox :is(.standings-scores, .standings-bonuses) tr:hover { cursor: default; background: transparent; }
#DashboardContent :is(#PlanetTable, #ShipTable) .TinyIcon { display: block; object-fit: contain; }
#DashboardContent :is(#PlanetTable, #ShipTable) tr > :first-child {
    width: 1px; padding-inline: 4px;
}
#DashboardContent :is(#PlanetTable, #ShipTable) th:first-child { cursor: default; }
#DashboardContent :is(#PlanetTable, #ShipTable) td:first-child .TinyIcon { margin: 0; }
#DashboardContent :is(#PlanetTable, #ShipTable) tr > :nth-child(2),
#DashboardContent #PlanetTable[data-view="1"] tr > :nth-child(n+4),
#DashboardContent #ShipTable[data-view="1"] tr > :nth-child(n+3),
#DashboardContent #MessageInbox .standings-scores tr > :nth-child(n+2),
#DashboardContent #MessageInbox .standings-bonuses tr > :nth-child(n+3) { text-align: right; }
#DashboardContent #MessageInbox .standings-scores td.score-value { padding-right: 0; white-space: nowrap; }
#DashboardContent #MessageInbox .standings-scores td.score-change {
    width: 1px; padding-left: 4px; white-space: nowrap; text-align: left;
}
#DashboardContent .CleanTable th[aria-sort="ascending"]::after { content: " ▴"; }
#DashboardContent .CleanTable th[aria-sort="descending"]::after { content: " ▾"; }
#DashboardContent .turn-report-list #MessageInbox .report-sender { font-size: 16px; font-weight: 600; }
#DashboardContent .turn-report-list #MessageInbox #MessageList > tr > td { padding: 12px 14px; font-size: 16px; line-height: 1.5; }
#DashboardContent .turn-report-list #MessageInbox #MessageList > tr > td span { font-size: 15px; line-height: 1.5; }
@media (max-width: 700px) {
    #DashboardContent .CleanTable:not(.vcr-table) > :is(thead, tbody) > tr > :is(td, th) { padding-inline: 7px; }
}
