/* Use the Victory table and the same responsive protocol grid as player appearances. */
.rwgwe-match-lineup .wpcm-lineup-table td.name { min-width: 0; padding: 0; }
.rwgwe-match-lineup .wpcm-lineup-table tr:first-child td { border-top: 0; }
.rwgwe-match-lineup .wpcm-lineup-table { border-bottom: 1px solid #e5e5e5; }
.rwgwe-match-lineup .rwgwe-lineup-player-link { display: block; margin: 0; padding: 9px 5px 12px; text-decoration: none; color: inherit; }
.rwgwe-match-lineup .rwgwe-lineup-vacant-entry { padding: 9px 5px 12px; }
.rwgwe-match-lineup .rwgwe-lineup-vacant-name { color: #717a80; font-weight: 600; }
.rwgwe-match-lineup .rwgwe-lineup-player-link:hover, .rwgwe-match-lineup .rwgwe-lineup-player-link:focus-visible { background: #fafafa; color: inherit; text-decoration: none; }
.rwgwe-match-lineup .rwgwe-lineup-player-link:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
.rwgwe-match-lineup .rwgwe-lineup-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rwgwe-match-lineup .name img { display: block; width: 32px; height: auto; margin: 0; flex: 0 0 32px; }
.rwgwe-match-lineup .rwgwe-lineup-name { color: #c91a1a; min-width: 0; overflow-wrap: break-word; }
.rwgwe-match-lineup .rwgwe-lineup-player-link:hover .rwgwe-lineup-name, .rwgwe-match-lineup .rwgwe-lineup-player-link:focus-visible .rwgwe-lineup-name { text-decoration: underline; }
.rwgwe-match-lineup .rwgwe-victory-details { margin: 8px 0 0 8px; font-weight: 400; border-left-color: #c91a1a; }
.rwgwe-match-lineup .rwgwe-victory-bout + .rwgwe-victory-bout { border-top: 1px solid #e5e5e5; }
#details .match-details h3, #details .match-details ul li { text-transform: none; }
#details .match-details ul li { font-size: inherit; }
#details .rwgwe-match-lineup { clear: both; border-top: 2px solid #c91a1a; padding-top: 22px; }
#details .match-details li.competition, #details .match-details li.attendance, #details .match-details li.referee, #details .match-details li.rwgwe-match-extra, #details .match-details li.rwgwe-match-place { color: #000; }

/* Victory otherwise truncates every mobile club name at a fixed width of 194px. */
@media (max-width: 767px) {
    .victory-scoreboard .scoreboard-club { display: grid; grid-template-columns: 38px minmax(0,1fr) max-content; gap: 8px; align-items: center; }
    .victory-scoreboard .scoreboard-club .scoreboard-badge { float: none; margin-right: 0; }
    .victory-scoreboard .scoreboard-club h2 { display: block; width: auto; min-width: 0; padding: 8px 0; line-height: 1.2; white-space: normal; overflow-wrap: anywhere; overflow: visible; text-overflow: clip; }
    .victory-scoreboard .scoreboard-club .scoreboard-score { float: none; justify-self: end; }
}
