/* Extend Victory's own profile and fixture styles, without changing its theme files. */
.victory-player-stats.rwgwe-victory-stat-wrapper { font: inherit; container-type: inline-size; }
.victory-player-stats .rwgwe-victory-stat-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; text-align: left; }
.victory-player-stats .rwgwe-victory-stat-group { min-width: 0; }
.victory-player-stats .rwgwe-victory-stat-heading,
.victory-player-content .victory-stat-season .rwgwe-victory-stat-heading { margin: 0 0 8px; padding: .65em .8em; background: #fafafa; border-bottom: 1px solid #dfdfdf; color: #717a80; text-align: center; font-size: .933em; font-weight: 600; text-transform: none; }
@container (max-width: 600px) { .victory-player-stats .rwgwe-victory-stat-columns { grid-template-columns: minmax(0,1fr); gap: 12px; } }
@media (max-width: 767px) { .victory-player-stats .rwgwe-victory-stat-columns { grid-template-columns: minmax(0,1fr); gap: 12px; } }
.victory-player-stats .rwgwe-victory-coverage {
  display: block; margin: 0 0 18px; font: inherit;
  text-align: center; opacity: .8;
}
.victory-player-stats .rwgwe-victory-stat-list { margin: 0 0 14px; padding: 0; font: inherit; color: inherit; text-align: left; container-type: inline-size; }
.victory-player-stats .rwgwe-victory-stat-line { display: grid; grid-template-columns: minmax(0,1fr) minmax(7em,30%); column-gap: 16px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid rgba(128,128,128,.25); }
.victory-player-stats .rwgwe-victory-stat-list > .rwgwe-victory-stat-line:last-child { border-bottom: 0; }
/* Match Victory's player metadata labels (td.table-head inside its standard table). */
.victory-player-stats .rwgwe-victory-stat-line dt { margin: 0; padding: 0; font: inherit; font-size: .93em; font-weight: 600; color: #4f5d6b; overflow-wrap: break-word; }
.victory-player-stats .rwgwe-victory-stat-line[data-rwgwe-stat-icon] dt { position: relative; padding-left: 24px; }
.victory-player-stats .rwgwe-victory-stat-line[data-rwgwe-stat-icon] dt::before { content: ""; position: absolute; left: 0; top: .12em; width: 16px; height: 16px; background: #c91a1a; -webkit-mask: var(--rwgwe-stat-icon) center / contain no-repeat; mask: var(--rwgwe-stat-icon) center / contain no-repeat; }
.victory-player-meta td.table-head[data-rwgwe-stat-icon] { position: relative; padding-left: calc(.35em + 24px); }
.victory-player-meta td.table-head[data-rwgwe-stat-icon]::before { content: ""; position: absolute; left: .35em; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; background: #c91a1a; -webkit-mask: var(--rwgwe-stat-icon) center / contain no-repeat; mask: var(--rwgwe-stat-icon) center / contain no-repeat; }
[data-rwgwe-stat-icon="profile-age"] { --rwgwe-stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='7' r='3.5'/%3E%3Cpath d='M3 20v-2a7 7 0 0 1 11-5'/%3E%3Ccircle cx='17' cy='17' r='5'/%3E%3Cpath d='M17 14v3l2 1'/%3E%3C/svg%3E"); }
[data-rwgwe-stat-icon="profile-weight"] { --rwgwe-stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='M7 10a5 5 0 0 1 10 0M12 10l2-3'/%3E%3C/svg%3E"); }
[data-rwgwe-stat-icon="profile-place"] { --rwgwe-stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
[data-rwgwe-stat-icon="profile-clubs"] { --rwgwe-stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 3l7 3v6c0 4-2 7-7 10-5-3-7-6-7-10V6l7-3Z M9 2 3 4v6c0 3 1 5 3 7'/%3E%3Cpath d='M10 10h6m-3-3v6'/%3E%3C/svg%3E"); }
[data-rwgwe-stat-icon="profile-height"] { --rwgwe-stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2' width='10' height='20' rx='1.5'/%3E%3Cpath d='M7 7h5M7 12h3M7 17h5'/%3E%3C/svg%3E"); }
/* A single set of 24px line drawings, scaled to 16px, independent of icon fonts. */
[data-rwgwe-stat-icon="calendar"] { --rwgwe-stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M7 3v4m10-4v4M3 10h18M7 15h2m4 0h2m-8 3h2'/%3E%3C/svg%3E"); }
[data-rwgwe-stat-icon="trophy"] { --rwgwe-stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h10v7a5 5 0 0 1-10 0V3ZM7 5H3v2a4 4 0 0 0 4 4m10-6h4v2a4 4 0 0 1-4 4m-5 4v5m-4 1h8'/%3E%3C/svg%3E"); }
[data-rwgwe-stat-icon="cross"] { --rwgwe-stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m9 9 6 6m0-6-6 6'/%3E%3C/svg%3E"); }
[data-rwgwe-stat-icon="stopwatch"] { --rwgwe-stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='14' r='8'/%3E%3Cpath d='M9 2h6m-3 0v4m6.3 1.7L20 6m-8 3v5l3 2'/%3E%3C/svg%3E"); }
[data-rwgwe-stat-icon="shield"] { --rwgwe-stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 4 5v6c0 5 3.5 8.5 8 11 4.5-2.5 8-6 8-11V5l-8-3Z M7.5 11h5m-2.5-2.5v5m4.5 0h3'/%3E%3C/svg%3E"); }
[data-rwgwe-stat-icon="target"] { --rwgwe-stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1' fill='black'/%3E%3C/svg%3E"); }
[data-rwgwe-stat-icon="wrestling"] { --rwgwe-stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='6' r='2'/%3E%3Ccircle cx='17' cy='7' r='2'/%3E%3Cpath d='m3 17 3-5 5-2 2 2m8 5-3-5-5-2-2 2M6 12l2 5-3 3m13-8-2 5 3 3M3 21h18'/%3E%3C/svg%3E"); }
[data-rwgwe-stat-icon="double-arrow"] { --rwgwe-stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 6 6-6 6m8-12 6 6-6 6'/%3E%3C/svg%3E"); }
[data-rwgwe-stat-icon="scoreboard"] { --rwgwe-stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2'/%3E%3Cpath d='M12 5v14m-5-5h2m-2-4h2m6 0h2v4h-2M6 22h12'/%3E%3C/svg%3E"); }
[data-rwgwe-stat-icon="flag"] { --rwgwe-stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 22V3m0 1c5-4 9 4 15 0v11c-6 4-10-4-15 0'/%3E%3C/svg%3E"); }
[data-rwgwe-stat-icon="check"] { --rwgwe-stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m7.5 12 3 3 6-6'/%3E%3C/svg%3E"); }
[data-rwgwe-stat-icon="card"] { --rwgwe-stat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='3' width='12' height='18' rx='2' transform='rotate(12 12 12)'/%3E%3Cpath d='M12 8v5m0 3h.01'/%3E%3C/svg%3E"); }
.victory-player-stats .rwgwe-victory-stat-line dd { margin: 0; padding: 0; font: inherit; text-align: left; overflow-wrap: break-word; }
.rwgwe-victory-total-time, .rwgwe-victory-average-time { display: inline-block; white-space: nowrap; }
@media(max-width:767px) { .rwgwe-victory-average-time { display: block; } }
@container (max-width:560px) { .rwgwe-victory-average-time { display: block; } }
.victory-player-stats .rwgwe-victory-stat-line .victory-sub-appearances { display: inline; font-size: .75em; margin: 0; }
@media(max-width:480px){.victory-player-stats .rwgwe-victory-stat-line{column-gap:10px;padding:8px 0}}
/* One separator between complete matches, and the same Victory border at the end. */
table.wpcm-fixtures-shortcode.rwgwe-victory-appearance { border-bottom: 1px solid #e5e5e5; table-layout: fixed; width: 100%; }
#player-appearances .victory-table-wrap { container-type: inline-size; }
.rwgwe-victory-appearance .rwgwe-appearance-cell { text-align: left; }
.rwgwe-appearance-header { display: grid; grid-template-columns: minmax(0,1fr) max-content; gap: 8px 16px; align-items: center; }
.rwgwe-appearance-left { display: grid; grid-template-columns: 4.5em 2.2em 32px minmax(0,1fr); gap: 12px; align-items: center; min-width: 0; text-align: left; }
.rwgwe-appearance-date, .rwgwe-appearance-status { white-space: nowrap; }
.rwgwe-appearance-crest, .rwgwe-appearance-crest .crest-wrap { display: flex; align-items: center; justify-content: flex-start; margin: 0; }
.rwgwe-appearance-crest img { max-width: 32px; max-height: 32px; width: auto; height: auto; object-fit: contain; }
.rwgwe-appearance-club { min-width: 0; overflow-wrap: anywhere; }
.rwgwe-appearance-meta { display: block; color: #717a80; font-size: .9em; }
.rwgwe-appearance-right { display: flex; align-items: center; justify-content: flex-end; gap: 12px; justify-self: end; white-space: nowrap; }
.rwgwe-appearance-result { font-weight: 600; }
@container (max-width: 500px) {
    .rwgwe-appearance-header { gap: 8px; }
    .rwgwe-appearance-left { gap: 6px; grid-template-columns: 4.1em 1.8em 24px minmax(0,1fr); }
    .rwgwe-appearance-crest img { max-width: 24px; max-height: 24px; }
    .rwgwe-appearance-right { gap: 8px; }
}
@media (max-width: 500px) {
    .rwgwe-appearance-header { gap: 8px; }
    .rwgwe-appearance-left { gap: 6px; grid-template-columns: 4.1em 1.8em 24px minmax(0,1fr); }
    .rwgwe-appearance-crest img { max-width: 24px; max-height: 24px; }
    .rwgwe-appearance-right { gap: 8px; }
}
.rwgwe-victory-appearance > tbody:first-of-type > tr:first-child > td,
.rwgwe-victory-appearance > tbody > tr.rwgwe-victory-appearance-detail > td { border-top: 0; }
/* A whole match is one row group, including any associated bout details. */
.rwgwe-victory-appearance > tbody.rwgwe-victory-match-group:hover > tr,
.rwgwe-victory-appearance > tbody.rwgwe-victory-match-group:focus-within > tr { background: #fafafa; }
.wpcm-fixtures-shortcode .rwgwe-victory-appearance-detail td { padding: 8px 12px 12px; text-align: left; }
.rwgwe-victory-details { border-left: 2px solid #c91a1a; padding-left: 10px; container-type: inline-size; font: inherit; }
.rwgwe-victory-bout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1.6fr) minmax(0,.7fr) minmax(0,1.1fr) minmax(0,.9fr) minmax(0,1.05fr); gap: 6px 12px; padding: 5px 0; }
.rwgwe-victory-bout > span { display: flex; flex-direction: column; min-width: 0; }
.rwgwe-victory-bout small { font: inherit; font-size: 85%; color: #717a80; text-transform: none; line-height: 1.2; }
.rwgwe-victory-bout strong { font: inherit; font-weight: 400; overflow-wrap: anywhere; }
@container (max-width:560px) { .rwgwe-victory-bout { grid-template-columns: minmax(0,1fr) minmax(0,1.35fr) minmax(0,1fr); gap: 10px 12px; } }
@supports not (container-type: inline-size) { @media(max-width:640px) { .rwgwe-victory-bout { grid-template-columns: minmax(0,1fr) minmax(0,1.35fr) minmax(0,1fr); gap: 10px 12px; } } }
