.fesa-player-list {
  --fesa-blue: #164f91;
  --fesa-blue-dark: #0d376b;
  --fesa-gold: #dcae42;
  --fesa-ink: #172033;
  --fesa-muted: #667085;
  --fesa-line: #d7deea;
  box-sizing: border-box;
  color: var(--fesa-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 1280px;
  width: 100%;
}
.fesa-player-list *, .fesa-player-list *::before, .fesa-player-list *::after { box-sizing: border-box; }
.fesa-player-list-controls {
  align-items: end;
  background: #f5f7fb;
  border: 1px solid var(--fesa-line);
  border-radius: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(160px, .9fr) 191px minmax(150px, .8fr) minmax(170px, .9fr) minmax(230px, 1.5fr);
  padding: 16px;
}
.fesa-player-list-field { display: grid; gap: 6px; margin: 0; min-width: 0; }
.fesa-player-list-field > span { color: var(--fesa-muted); font-size: .74rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.fesa-player-list-field input, .fesa-player-list-field select, .fesa-player-list-month-nav button {
  background: #fff; border: 1px solid #bec9da; border-radius: 9px; color: var(--fesa-ink); font: inherit; min-height: 44px; padding: 9px 11px; width: 100%;
}
.fesa-player-list-field input:focus, .fesa-player-list-field select:focus, .fesa-player-list-month-nav button:focus-visible { border-color: var(--fesa-blue); box-shadow: 0 0 0 3px rgba(22,79,145,.15); outline: none; }
.fesa-player-list-month-nav { align-self: end; display: grid; gap: 7px; grid-template-columns: repeat(2, 92px); min-width: 191px; width: 191px; }
.fesa-player-list-month-nav button { color: var(--fesa-blue); cursor: pointer; font-size: .86rem; font-weight: 750; white-space: nowrap; }
.fesa-player-list-month-nav button:disabled { color: #98a2b3; cursor: default; }
.fesa-player-list-source { color: #24623d; margin: 11px 2px 16px; min-height: 1.5em; }
.fesa-player-list-source[data-state="loading"] { color: var(--fesa-muted); }
.fesa-player-list-source[data-state="error"], .fesa-player-list-source[data-state="empty"] { color: #9c341e; }
.fesa-player-list-group + .fesa-player-list-group { margin-top: 24px; }
.fesa-player-list-group-heading { align-items: baseline; display: flex; gap: 14px; justify-content: space-between; margin: 0 2px 8px; }
.fesa-player-list-group-heading h3 { color: var(--fesa-blue-dark); font-family: Georgia, "Times New Roman", serif; font-size: 1.24rem; margin: 0; }
.fesa-player-list-group-heading span { color: var(--fesa-muted); font-size: .84rem; text-align: right; }
.fesa-player-list-sticky-header { border: 1px solid var(--fesa-line); border-bottom: 0; border-radius: 12px 12px 0 0; overflow: hidden; position: sticky; top: 0; z-index: 5; }
.fesa-player-list-header-table { margin: 0; }
.fesa-player-list-scroll { border: 1px solid var(--fesa-line); border-top: 0; overflow-x: auto; }
.fesa-player-list-table { background: #fff; border-collapse: collapse; min-width: 1210px; table-layout: fixed; width: 100%; }
.fesa-player-col-rank { width: 66px; } .fesa-player-col-name { width: 250px; } .fesa-player-col-grade { width: 135px; }
.fesa-player-col-nsr { width: 150px; } .fesa-player-col-elo { width: 95px; } .fesa-player-col-games { width: 100px; }
.fesa-player-col-first, .fesa-player-col-last { width: 135px; } .fesa-player-col-nationality { width: 125px; }
.fesa-player-list-table th, .fesa-player-list-table td { border-bottom: 1px solid #e5eaf2; padding: 12px 13px; text-align: left; vertical-align: middle; }
.fesa-player-list-table th { background: #dfe9f5; color: #173b69; font-size: .78rem; letter-spacing: .035em; text-transform: uppercase; white-space: nowrap; }
.fesa-player-list-table tbody tr:hover { background: #f5f9fd; }
.fesa-player-list-table tbody tr:last-child td { border-bottom: 0; }
.fesa-player-list-sort { appearance: none; background: transparent; border: 0; color: inherit; cursor: pointer; font: inherit; font-weight: 850; padding: 0; text-align: left; text-transform: inherit; }
.fesa-player-list-sort:hover, .fesa-player-list-sort:focus-visible { color: var(--fesa-blue); outline: none; text-decoration: underline; text-underline-offset: .16em; }
.fesa-player-name-link { color: var(--fesa-blue); font-weight: 760; text-decoration: none; }
.fesa-player-name-link:hover, .fesa-player-name-link:focus-visible { color: var(--fesa-blue-dark); text-decoration: underline; text-underline-offset: .16em; }
.fesa-player-number, .fesa-player-rank-cell { font-variant-numeric: tabular-nums; font-weight: 700; }
.fesa-player-date { font-variant-numeric: tabular-nums; white-space: nowrap; }
.fesa-player-list-bottom-scroll { background: #eef3f8; border: 1px solid var(--fesa-line); border-radius: 0 0 10px 10px; bottom: 0; height: 17px; overflow-x: auto; overflow-y: hidden; position: sticky; z-index: 3; }
.fesa-player-list-bottom-scroll.is-fixed { position: fixed; z-index: 20; }
.fesa-player-list-bottom-rail { height: 1px; }
.fesa-player-list-empty { background: #fff8e8; border: 1px solid #ead3a0; border-radius: 10px; color: #784f12; padding: 14px; }
@media (max-width: 980px) {
  .fesa-player-list-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fesa-player-list-search { grid-column: 1 / -1; }
}
@media (max-width: 580px) {
  .fesa-player-list-controls { grid-template-columns: 1fr; }
  .fesa-player-list-search { grid-column: auto; }
  .fesa-player-list-group-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .fesa-player-list-group-heading span { text-align: left; }
}
