/* Generated roster identity is a passive mark alongside the display name. */
.ai-name-mark {
 display:inline-flex; align-items:center; justify-content:center;
 vertical-align:.1em; margin-inline-end:.38em; min-width:1.65em; height:1.35em;
 padding:0 .25em; box-sizing:border-box; border:1px solid #8c81c0; border-radius:3px;
 background:#3c3458; color:#eee9ff; font:750 .72em/1 system-ui,sans-serif;
 letter-spacing:.045em; white-space:nowrap; flex:none;
}
.game-shell #players-panel .player-browser {display:flex;flex-direction:column;gap:0;min-height:0}
.game-shell #owned-players {flex:1;min-height:0;overflow:auto}
.game-shell #owned-players .game-list {width:100%;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums}
.game-shell #owned-players .game-list :is(th,td) {text-align:start;padding:0 clamp(6px,.7vw,12px);height:clamp(30px,3.35cqh,37px);line-height:1.18}
.game-shell #owned-players .game-list tbody td {border-bottom:1px solid #314454}
.game-shell #owned-players .game-list tbody tr:nth-child(even) {background:#203140}
.game-shell #owned-players .game-list tbody tr:is(:hover,:focus-within) {background:#2b4050}
.game-shell #owned-players .game-list th:first-child {width:28%}
.game-shell #owned-players .game-list th:nth-child(4) {width:17%}
.game-shell #owned-players .game-list th:last-child {width:19%}
.game-shell #owned-players .table-select {display:inline-block;min-height:28px;max-width:100%;padding:3px 0;text-align:start;line-height:1.18;white-space:normal;color:#f0f4fa;font-weight:650}
.game-shell #owned-players .table-select:focus-visible {outline:2px solid #8ad5c2;outline-offset:1px}
.game-shell .roster-fitness {display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-variant-numeric:tabular-nums}
.game-shell .roster-fitness meter.card-fitness {width:clamp(24px,3.2vw,53px);height:6px;min-height:0;margin:0}
.game-shell .roster-fitness span {min-width:2ch}
.roster-role {display:inline-block;font-size:.84em;letter-spacing:.025em;font-weight:700}
.roster-role[data-role=GK] {color:#ffcf82}.roster-role[data-role=DF] {color:#a8cfff}
.roster-role[data-role=MF] {color:#97dec1}.roster-role[data-role=FW] {color:#f0afb1}
@media(max-width:700px){
 .game-shell #owned-players .game-list {display:table}
 .game-shell #owned-players .game-list thead {display:table-header-group;position:static;clip:auto;clip-path:none;width:auto;height:auto;overflow:visible}
 .game-shell #owned-players .game-list tbody {display:table-row-group}
 .game-shell #owned-players .game-list tr {display:table-row;background-image:none;margin:0;padding:0;border:0}
 .game-shell #owned-players .game-list :is(th,td),.game-shell #owned-players .game-list tr td[data-label] {display:table-cell;min-width:0;height:43px;margin:0;padding:0 4px;text-align:start;font-size:13px;line-height:1.22}
 .game-shell #owned-players .game-list thead th {height:30px}
 .game-shell #owned-players .game-list tr td[data-label]::before {display:none}
 .game-shell #owned-players .game-list tr td[data-label]:nth-child(n+5),
 .game-shell #owned-players .game-list tr th:nth-child(n+5) {display:none}
 .game-shell #owned-players .game-list th:first-child {width:42%}
 .game-shell #owned-players .game-list th:nth-child(2) {width:17%}
 .game-shell #owned-players .game-list th:nth-child(3) {width:16%}
 .game-shell #owned-players .game-list th:nth-child(4) {width:25%}
 .game-shell #owned-players .table-select {min-height:42px;font-size:13px}
 .game-shell #owned-players .roster-fitness {gap:3px}
}

.game-shell #owned-players .roster-absence {display:block;color:#ffd58c;font-size:.85em;font-weight:600}
.game-shell #players-panel .filters {display:flex;justify-content:flex-end;align-items:flex-end;gap:8px;margin:0 0 8px}
.game-shell #players-panel .filters label {flex:0 0 auto;width:auto;min-width:0}
.game-shell #players-panel .filters input {box-sizing:border-box;width:clamp(136px,11vw,184px)}
.game-shell #players-panel .filters select {box-sizing:border-box;width:clamp(78px,6.4vw,110px)}
@media(max-width:700px) {
 .game-shell #players-panel .filters {display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr);gap:6px}
 .game-shell #players-panel .filters :is(input,select) {width:100%;min-width:0;min-height:38px}
}

.game-shell .scoreline .ai-name-mark {font-size:.72em;margin:0 .38em 0 0}
@media(max-width:700px){
 .game-shell .scoreline {display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:start;gap:6px;padding:8px 0}
 .game-shell .scoreline>strong {display:grid;grid-template-rows:auto auto;justify-items:center;gap:3px;width:100%;max-width:none}
 .game-shell .scoreline>strong>.score-club {grid-row:2;font-size:12px;line-height:1.2;white-space:normal;text-align:center;overflow-wrap:anywhere;margin:0}
 .game-shell .scoreline :is(#home-score,#away-score) {grid-row:1;font-size:20px;line-height:1.2;margin:0}
 .game-shell .scoreline #clock {font-size:15px;line-height:24px}
}
