/* /rankingi: tabela wszystkich sądów */
.rank-table th a.sort { text-decoration: none; color: inherit; }
.rank-table thead th { vertical-align: bottom; }
.rank-table th small.sort-more, .rank-table tbody th small { display: block; font-weight: 400; font-size: .8125rem; color: var(--fg-muted); }
.rank-table th small.sort-more a.sort { text-decoration: underline; }
.rank-table tbody th { min-width: 0; }
.rank-table th.n a.sort { white-space: normal; }
.rank-table th a.sort:hover { color: var(--accent); }
.rank-table th[aria-sort="ascending"] a.sort::after { content: " \25B2"; font-size: .7em; color: var(--accent); }
.rank-table th[aria-sort="descending"] a.sort::after { content: " \25BC"; font-size: .7em; color: var(--accent); }
.rank-table td small { display: block; color: var(--fg-muted); font-size: .8125rem; }
.rank-table tfoot td { background: var(--bg-alt); font-size: .875rem; }
.rank-table tbody th { font-weight: 500; }
.rank-table tbody tr:hover { background: var(--bg-alt); }
.rank-filters { margin: 1rem 0; }
.rank-filters select { max-width: 100%; }
.rank-actions { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: baseline; margin: .5rem 0; }
@media (max-width: 40rem) {
  .rank-table th, .rank-table td { padding: .55rem .7rem; }
}
/* ux-e: pola wyboru w filtrach i limit wierszy na telefonie */
.rank-checks { display: flex; flex-direction: column; gap: .35rem; flex: 1 1 100%; }
.rank-show-all { display: none; margin: .25rem 0 1rem; }
@media (max-width: 40rem) {
  .rank-table tr.rank-more { display: none; }
  .rank-show-all { display: block; }
}
