.result-count {
  margin: 16px 0 8px 2px;
  font-size: 12px;
  color: var(--muted);
}
.result-count strong { color: var(--accent); font-size: 13px; }

.status-note { margin: 0 0 8px 2px; font-size: 12px; color: var(--muted); }

.results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 20px;
  flex-wrap: wrap;
}
.results-meta { min-width: 0; }
.level-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
.level-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em;
}
.level-label b { color: var(--accent); font-variant-numeric: tabular-nums; }
.level-filter input[type="range"] {
  width: 130px;
  accent-color: var(--accent);
  cursor: pointer;
  margin: 0;
}

.table-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}

.ptable {
  width: 100%;
  min-width: 847px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
}

.ptable .th-pos { width: 52px; }
.ptable th:nth-child(2) { width: 170px; }
.ptable .th-num { width: 46px; }
.ptable .th-ovr { width: 54px; }
.ptable .th-team { width: 165px; }
.ptable .th-year { width: 52px; text-align: center; }
.ptable th:nth-child(5) { width: 78px; }

.ptable thead th {
  position: sticky;
  top: 52px;
  z-index: 5;
  padding: 8px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
  font: 700 12px/1.5 var(--font-body);
  color: var(--muted);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
}
.ptable thead th:first-child { border-top-left-radius: calc(var(--radius-lg) - 1px); }
.ptable thead th:last-child { border-top-right-radius: calc(var(--radius-lg) - 1px); }
.ptable .th-num { text-align: right; }
.ptable .th-sort { cursor: pointer; transition: color .12s; }
.ptable .th-sort:hover { color: var(--accent); }
.ptable .th-sort.sorted { color: var(--accent); }

.ptable tbody .prow { cursor: pointer; transition: background .1s; }
.ptable tbody .prow.alt { background: color-mix(in srgb, var(--panel-2) 60%, var(--panel)); }
.ptable tbody .prow:hover { background: var(--panel-3); }
.ptable tbody .prow.open { background: var(--accent-soft); }

.ptable tbody td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
  overflow: hidden;
}

#playerList.boot .prow { animation: rowIn .25s ease backwards; }

@keyframes rowIn {
  from { opacity: 0; transform: translateY(4px); }
}
