.trios-registration{margin-bottom:24px}.trios-registration h2{font-size:1.2rem;margin:0 0 10px}.trios-registration p{max-width:80ch}.trios-board{padding:20px;min-width:0}.trios-controls{display:flex;flex-wrap:wrap;gap:16px;align-items:end}.trios-controls label{flex:1 1 180px;min-width:0}.trios-controls select,.trios-controls input{width:100%;min-width:0}.trios-controls button{flex:0 0 auto;white-space:nowrap}.trios-table-wrap{max-width:100%;overflow-x:auto}.trios-board table{width:100%;min-width:1200px}.trios-board td,.trios-board th{text-align:right;white-space:nowrap}.trios-board th:nth-child(2),.trios-board tbody th{text-align:left;white-space:normal;min-width:180px;max-width:300px;overflow-wrap:anywhere}.trios-board tbody th,.trios-board tbody th a{font-size:16px;font-weight:700;line-height:1.4;letter-spacing:normal;text-transform:none}.trios-updated{text-align:right;margin:16px 0 0;padding-top:12px;border-top:1px solid #38343b}.trios-board tbody td:first-child{color:#ef233c;font-weight:800}.trios-board tbody tr:first-child td:first-child{font-size:1.25rem}.trios-board [data-trios-count]{margin:14px 0}.trios-registration .buttons{flex-wrap:wrap}.trios-registration a{white-space:normal}#community-registration{scroll-margin-top:90px}@media(max-width:600px){.trios-board{padding:12px}.trios-controls{gap:10px}.trios-registration .buttons>*{max-width:100%}}

/* Keep player identity visible while the statistics scroll horizontally. */
.trios-board{--rank-column-width:56px;--player-column-width:180px}
.trios-board table{border-collapse:separate;border-spacing:0}
.trios-table-wrap{isolation:isolate}
.trios-board table tr>:first-child,.trios-board table tr>:nth-child(2){position:sticky;z-index:2;background:var(--panel);box-sizing:border-box;padding-left:8px;padding-right:8px}
.trios-board table tr>:first-child{left:0;width:var(--rank-column-width);min-width:var(--rank-column-width);max-width:var(--rank-column-width)}
.trios-board table tr>:nth-child(2){left:var(--rank-column-width);width:var(--player-column-width);min-width:var(--player-column-width);max-width:var(--player-column-width);box-shadow:6px 0 10px -6px #000;border-right:1px solid var(--line)}
.trios-board table thead tr>:first-child,.trios-board table thead tr>:nth-child(2){z-index:3}
.trios-board tbody th{border-bottom:1px solid #2c2931}
.trios-board tbody tr:last-child th{border-bottom:0}
@media(max-width:600px){.trios-board{--rank-column-width:44px;--player-column-width:136px}}

/* The chosen statistic follows the activity column in every view. */
.trios-board table th.leaderboard-selected,.trios-board table td.leaderboard-selected{background:#461c28;color:#fff;font-weight:700}.trios-board table thead th.leaderboard-selected{background:#5b2030;color:#ffbdc7;border-top:2px solid #ed2445}

/* Trios: drag the table in either direction; touch and keyboard scrolling stay native. */
#trios-page .trios-table-wrap{max-height:70vh;overflow:auto;cursor:grab;touch-action:pan-x pan-y;user-select:none;scrollbar-gutter:stable}
#trios-page .trios-table-wrap.is-dragging{cursor:grabbing;scroll-behavior:auto}
#trios-page .trios-table-wrap:focus-visible{outline:2px solid #ef233c;outline-offset:3px}
#trios-page .trios-table-wrap thead th{position:sticky;top:0;z-index:4;background:var(--panel)}
#trios-page .trios-table-wrap thead th:nth-child(-n+2){z-index:5}
#trios-page .trios-table-wrap thead th.leaderboard-selected{background:#5b2030}
#trios-page .trios-scroll-hint{margin:12px 0;color:#b7b2bb;font-size:.8rem}
/* Owner request (21 Nov): the followed player's row (clicked, searched or your own) stands out on every leaderboard. */
.trios-board tbody tr[data-player]{cursor:pointer}
.trios-board table tbody tr.leaderboard-focus>*{background:#3d3320;color:#fff}
.trios-board table tbody tr.leaderboard-focus>td.leaderboard-selected{background:#6b4a1f}
.trios-board table tbody tr.leaderboard-focus>:first-child{box-shadow:inset 4px 0 0 #ffc845}
.trios-board .leaderboard-you{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:4px;background:#ffc845;color:#1a1a1a;font-size:.7rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;vertical-align:middle}
.trios-board .leaderboard-find{margin:12px 0 0}
