/* Only entries with an existing destination are given a link cursor. */
.rwgwe-clickable-row, .rwgwe-clickable-row > td { cursor: pointer; }
/* Left-align shortcode title bars only; keep Victory's profile and widget headings separate. */
.wpcm-shortcode-wrapper > h3.victory-title,
.wpcm-fixtures-shortcode > h3.victory-title,
.wpcm-players-shortcode > h3.victory-title,
.wpcm-standings-shortcode > h3.victory-title,
.wpcm-map_venue-shortcode > h3.victory-title,
.rwgwe-team-dashboard > h3.victory-title,
.rwgwe-opponent-check > h3.victory-title,
.rwgwe-opponent-news > h3.victory-title { text-align:left; padding-left:1.25em; }
:is(.wpcm-shortcode-wrapper,.wpcm-fixtures-shortcode,.wpcm-players-shortcode,.wpcm-standings-shortcode,.wpcm-map_venue-shortcode,.rwgwe-team-dashboard,.rwgwe-opponent-check,.rwgwe-opponent-news) > h3.victory-title::before { content:'›'; content:'›' / ''; display:inline-block; color:#fff; font-size:1.5em; line-height:0; vertical-align:-.06em; margin-right:.4em; }
/* Result and fixture widgets: full club names, with score or VS centered between the badges. */
.widget-results .wpcm-matches-widget .victory-clubs h3,
.widget-fixtures .wpcm-matches-widget .victory-clubs h3 { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: break-word; word-break: normal; }
.widget-results .wpcm-matches-widget .victory-clubs .score,
.widget-fixtures .wpcm-matches-widget .victory-clubs .separator { top: 40px; }
/* Victory's native match_opponents: compact left group, result and info at the right edge. */
.rwgwe-match-opponents { container-type: inline-size; }
.rwgwe-match-opponents table.victory-table { table-layout: fixed; width: 100%; }
.rwgwe-match-opponents table.victory-table td { vertical-align: middle; padding-inline: .55em; }
.rwgwe-match-opponents table.victory-table td:first-child { width: 6.4em; white-space: nowrap; }
.rwgwe-match-opponents table.victory-table tr:has(.hide-mobile) td:nth-child(2) { width: 2.2em; white-space: nowrap; text-align: center; }
.rwgwe-match-opponents table.victory-table td:has(+ td[width="44%"]) { width: 3.6em; text-align: center; }
.rwgwe-match-opponents table.victory-table td:has(+ td[width="44%"]):not(:has(img)) { width: 0; padding-inline: 0; }
.rwgwe-match-opponents table.victory-table td:has(+ td[width="44%"]) img { max-width: 36px; max-height: 36px; width: auto; height: auto; object-fit: contain; }
.rwgwe-match-opponents table.victory-table td[width="44%"] { width: auto; overflow-wrap: anywhere; text-align: left; }
.rwgwe-match-opponents table.victory-table td:has(img) + td[width="44%"] { padding-inline-start: 1.15em; }
.rwgwe-opponents-pairing { font: inherit; }
.rwgwe-match-opponents table.victory-table td.rwgwe-opponents-hall { width: 34%; text-align: left; min-width: 0; overflow-wrap: anywhere; }
.rwgwe-opponents-mobile { display: none; }
.rwgwe-opponents-time { display: none; }
.rwgwe-opponents-mobile-status { white-space: nowrap; }
.rwgwe-match-opponents table.victory-table td.competition, .rwgwe-match-opponents table.victory-table td.team { width: 3em; overflow-wrap: anywhere; text-align: center; }
.rwgwe-match-opponents table.victory-table td.score { width: 5.2em; min-width: 0; text-align: right; white-space: nowrap; padding-inline: .25em; }
.rwgwe-match-opponents table.victory-table td.match-centre-link { width: 3.3em; min-width: 0; padding-inline: .35em; text-align: right; }
@container (max-width: 600px) {
    .rwgwe-match-opponents table.victory-table td { padding-inline: .25em; }
    .rwgwe-match-opponents table.victory-table td:first-child { width: 5em; }
    .rwgwe-match-opponents table.victory-table tr:has(.hide-mobile) td:nth-child(2) { width: 1.8em; }
    .rwgwe-match-opponents table.victory-table td:has(+ td[width="44%"]) { width: 2.4em; }
    .rwgwe-match-opponents table.victory-table td:has(+ td[width="44%"]) img { max-width: 28px; max-height: 28px; }
    .rwgwe-match-opponents table.victory-table td:has(img) + td[width="44%"] { padding-inline-start: .8em; }
    .rwgwe-match-opponents table.victory-table td.score { width: 4.7em; }
    .rwgwe-opponents-away { display: block; }
    .rwgwe-opponents-pairing.has-mobile-opponent { display: none; }
    .rwgwe-opponents-mobile { display: inline; }
    .rwgwe-opponents-time { display: inline; }
    /* Each encounter remains one clickable row with two visual lines. */
    .rwgwe-match-opponents table.victory-table:has(.rwgwe-opponents-date),
    .rwgwe-match-opponents table.victory-table:has(.rwgwe-opponents-date) > tbody { display: block; width: 100%; }
    .rwgwe-match-opponents table.victory-table:has(.rwgwe-opponents-date) > tbody > tr:not(:has(.rwgwe-opponents-date)) { display: table; width: 100%; table-layout: fixed; }
    .rwgwe-match-opponents table.victory-table tr:has(> .rwgwe-opponents-date) { display: grid; grid-template-columns: 2.8em minmax(0,1fr) max-content max-content; column-gap: 6px; row-gap: 4px; align-items: center; padding: .45em .35em; border-top: 1px solid #e5e5e5; }
    .rwgwe-match-opponents table.victory-table tr:has(> .rwgwe-opponents-date) > td { display: block; width: auto; min-width: 0; border-top: 0; padding: .15em 0; }
    .rwgwe-match-opponents table.victory-table tr > td.rwgwe-opponents-date { grid-area: 1 / 1 / 2 / -1; text-align: center; font-weight: 700; }
    .rwgwe-match-opponents table.victory-table tr:has(> .rwgwe-opponents-date) > td:has(+ td[width="44%"]) { grid-area: 2 / 1; }
    .rwgwe-match-opponents table.victory-table tr:has(> .rwgwe-opponents-date) > td[width="44%"] { grid-area: 2 / 2; padding-inline-start: .55em; }
    .rwgwe-match-opponents table.victory-table tr:has(> .rwgwe-opponents-date) > td.competition { grid-area: 3 / 1; text-align: left; }
    .rwgwe-match-opponents table.victory-table tr:has(> .rwgwe-opponents-date) > td.team { grid-area: 3 / 2 / 4 / -1; text-align: left; }
    .rwgwe-match-opponents table.victory-table tr:has(> .rwgwe-opponents-date) > td.score { grid-area: 2 / 3; justify-self: end; padding-inline: .25em; }
    .rwgwe-match-opponents table.victory-table tr:has(> .rwgwe-opponents-date) > td.match-centre-link { grid-area: 2 / 4; justify-self: end; }
    .rwgwe-match-opponents table.victory-table tr:has(> .rwgwe-opponents-date):not(:has(> td:has(img))) > td[width="44%"] { grid-area: 2 / 1 / 3 / 3; padding-inline-start: 0; }
    .rwgwe-match-opponents table.victory-table tr:has(> .rwgwe-opponents-date) > td.rwgwe-opponents-hall { display: none; }
}
/* Schedule rows retain Victory's table, badge and info-button design. */
.rwgwe-wrestling-schedule { container-type: inline-size; }
.rwgwe-wrestling-schedule table.victory-table { table-layout: fixed; width: 100%; }
.rwgwe-wrestling-schedule .rwgwe-schedule-cell { text-align: left; vertical-align: middle; }
.rwgwe-schedule-row { display: grid; grid-template-columns: 10em 1.8em minmax(0,1fr) minmax(0,1.18fr) max-content; grid-template-areas: "when status opponent hall info"; gap: 6px 16px; align-items: center; }
.rwgwe-schedule-row.has-crest { grid-template-columns: 10em 1.8em 36px minmax(0,1fr) minmax(0,1.18fr) max-content; grid-template-areas: "when status crest opponent hall info"; }
.rwgwe-schedule-when { grid-area: when; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rwgwe-schedule-status { grid-area: status; white-space: nowrap; text-align: center; }
.rwgwe-schedule-opponent { grid-area: opponent; min-width: 0; }
.rwgwe-schedule-crest { grid-area: crest; display: flex; align-items: center; justify-content: center; align-self: center; justify-self: center; width: 36px; }
.rwgwe-schedule-crest img { display: block; max-width: 36px; max-height: 36px; width: auto; height: auto; object-fit: contain; }
.rwgwe-schedule-name { min-width: 0; overflow-wrap: anywhere; }
.rwgwe-schedule-hall { grid-area: hall; min-width: 0; overflow-wrap: anywhere; }
.rwgwe-schedule-info { grid-area: info; justify-self: end; }
@container (max-width: 600px) {
    .rwgwe-schedule-row { grid-template-columns: 5.2em 1.8em minmax(0,1fr) max-content; grid-template-areas: "when status opponent info" "when status hall info"; gap: 2px 8px; }
    .rwgwe-schedule-row.has-crest { grid-template-columns: 5.2em 1.8em 28px minmax(0,1fr) max-content; grid-template-areas: "when status crest opponent info" "when status crest hall info"; }
    .rwgwe-schedule-comma { display: none; }
    .rwgwe-schedule-time { display: block; }
    .rwgwe-schedule-crest { width: 28px; }
    .rwgwe-schedule-crest img { max-width: 28px; max-height: 28px; }
}
@media (max-width: 600px) {
    .rwgwe-schedule-row { grid-template-columns: 5.2em 1.8em minmax(0,1fr) max-content; grid-template-areas: "when status opponent info" "when status hall info"; gap: 2px 8px; }
    .rwgwe-schedule-row.has-crest { grid-template-columns: 5.2em 1.8em 28px minmax(0,1fr) max-content; grid-template-areas: "when status crest opponent info" "when status crest hall info"; }
    .rwgwe-schedule-comma { display: none; }
    .rwgwe-schedule-time { display: block; }
    .rwgwe-schedule-crest { width: 28px; }
    .rwgwe-schedule-crest img { max-width: 28px; max-height: 28px; }
}
/* A dedicated roster table, independent from the compact statistics ranking. */
.rwgwe-wrestling-team { container-type: inline-size; --rwgwe-team-style-width: 8.5em; --rwgwe-team-cell-padding: .5em; }
.rwgwe-wrestling-team table.victory-players { table-layout: fixed; width: 100%; min-width: 0; }
.rwgwe-wrestling-team .rwgwe-team-thumb-col { width: 76px; }
.rwgwe-wrestling-team .rwgwe-team-name-col { width: auto; }
.rwgwe-wrestling-team .rwgwe-team-style-col { width: var(--rwgwe-team-style-width); }
.rwgwe-wrestling-team .rwgwe-team-weight-col { width: 7em; }
.rwgwe-wrestling-team .rwgwe-team-nation-col { width: 5em; }
.rwgwe-wrestling-team table.victory-players th, .rwgwe-wrestling-team table.victory-players td { vertical-align: middle; text-align: center; padding-inline: var(--rwgwe-team-cell-padding); min-width: 0; width: auto; }
.rwgwe-wrestling-team table.victory-players td.name, .rwgwe-wrestling-team table.victory-players th.name { text-align: left; min-width: 0; overflow-wrap: break-word; }
.rwgwe-wrestling-team table.victory-players th.position, .rwgwe-wrestling-team table.victory-players td.position, .rwgwe-wrestling-team table.victory-players td.weight { text-align: center; overflow-wrap: break-word; }
.rwgwe-wrestling-team table.victory-players td.thumb img { max-width: 32px; height: auto; vertical-align: middle; }
.rwgwe-wrestling-team .rwgwe-team-flag { width: auto; height: auto; max-width: 100%; vertical-align: middle; }
.rwgwe-wrestling-team table.victory-players tbody tr:focus-within { background: #fafafa; }
.rwgwe-wrestling-staff table.victory-players th.position, .rwgwe-wrestling-staff table.victory-players td.rwgwe-staff-role { text-align: left; padding-inline-start: 20px; }
.rwgwe-wrestling-staff .rwgwe-staff-role > span { display: block; max-width: 100%; text-align: left; overflow-wrap: break-word; }
@container (max-width: 500px) {
    .rwgwe-wrestling-staff table.victory-players th.position, .rwgwe-wrestling-staff table.victory-players td.rwgwe-staff-role { padding-inline-start: 8px; }
    .rwgwe-wrestling-team .victory-table-wrap { --rwgwe-team-style-width: 64px; --rwgwe-team-cell-padding: .15em; }
    .rwgwe-wrestling-team .rwgwe-team-thumb-col { width: 48px; }
    .rwgwe-wrestling-team .rwgwe-team-weight-col { width: 65px; }
    .rwgwe-wrestling-team .rwgwe-team-nation-col { width: 46px; }
    .rwgwe-wrestling-team table.victory-players th, .rwgwe-wrestling-team table.victory-players td { padding-inline: .15em; }
    .rwgwe-wrestling-team table.victory-players td.name { padding-inline: .35em .2em; }
    .rwgwe-wrestling-team table.victory-players td.thumb img { max-width: 28px; }
}
@media (max-width: 500px) {
    .rwgwe-wrestling-staff table.victory-players th.position, .rwgwe-wrestling-staff table.victory-players td.rwgwe-staff-role { padding-inline-start: 8px; }
    .rwgwe-wrestling-team .victory-table-wrap { --rwgwe-team-style-width: 64px; --rwgwe-team-cell-padding: .15em; }
    .rwgwe-wrestling-team .rwgwe-team-thumb-col { width: 48px; }
    .rwgwe-wrestling-team .rwgwe-team-weight-col { width: 65px; }
    .rwgwe-wrestling-team .rwgwe-team-nation-col { width: 46px; }
    .rwgwe-wrestling-team table.victory-players th, .rwgwe-wrestling-team table.victory-players td { padding-inline: .15em; }
    .rwgwe-wrestling-team table.victory-players td.name { padding-inline: .35em .2em; }
    .rwgwe-wrestling-team table.victory-players td.thumb img { max-width: 28px; }
}
/* Club profile: portrait-style logo above the entire metadata area on mobile. */
.club-profile, #head-to-head { container-type: inline-size; }
#head-to-head .victory-clubs-stats.rwgwe-club-stats-with-rate, .club-profile .victory-clubs-stats.rwgwe-club-stats-with-rate { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px; }
#head-to-head .rwgwe-club-stats-with-rate > .victory-club-stat, .club-profile .rwgwe-club-stats-with-rate > .victory-club-stat { width: auto; min-width: 0; }
#head-to-head .rwgwe-club-stats-with-rate .victory-player-stat-label, .club-profile .rwgwe-club-stats-with-rate .victory-player-stat-label { overflow-wrap: anywhere; }
#head-to-head .rwgwe-club-win-rate .victory-club-stat-total, .club-profile .rwgwe-club-win-rate .victory-club-stat-total { white-space: nowrap; letter-spacing: -.03em; }
/* Comparison rings use only existing counts: no JS, canvas, animation or network request. */
#head-to-head .victory-clubs-stats.rwgwe-club-stat-rings, .club-profile .victory-clubs-stats.rwgwe-club-stat-rings, .rwgwe-team-dashboard .victory-clubs-stats.rwgwe-club-stat-rings { --rwgwe-ring-cols: 5; --rwgwe-ring-gap: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--rwgwe-ring-gap); margin-bottom: 1.5em; text-align: center; }
/* Equal vertical spacing between the comparison headings; do not stack the native panel padding with the native statistics margin. */
#head-to-head.tabs-panel { padding-top: 2em; }
#head-to-head .victory-clubs-stats.rwgwe-club-stat-rings { margin-block: 0 2em; }
.club-profile .victory-clubs-stats.rwgwe-club-stat-rings { margin-block: 2em; }
/* Decorative regional map, with smaller, evenly distributed linked club cards. */
.rwgwe-opponent-check .rwgwe-opponent-grid { --rwgwe-map-inset:36px; --rwgwe-map-gap:clamp(24px,5vw,64px); position:relative; display:flex; flex-wrap:wrap; justify-content:center; align-items:flex-start; gap:24px var(--rwgwe-map-gap); margin:18px 0 24px; padding:var(--rwgwe-map-inset); box-sizing:border-box; background:#fff url('opponent-map.png') center / cover no-repeat; }
.rwgwe-opponent-check .rwgwe-opponent-grid::before,.rwgwe-opponent-check .rwgwe-opponent-grid::after { position:absolute; pointer-events:none; font-family:inherit; font-size:1.15em; font-weight:700; line-height:1; color:#303030; text-shadow:0 1px 2px #fff; transform:translateX(-50%); }
.rwgwe-opponent-check .rwgwe-opponent-grid::before { content:'Hessen'; top:8px; left:28%; }
.rwgwe-opponent-check .rwgwe-opponent-grid::after { content:'Bayern'; bottom:8px; left:72%; }
.rwgwe-opponent-check .rwgwe-opponent-card { display:flex; flex:0 0 calc((100% - 2 * var(--rwgwe-map-gap))/3); aspect-ratio:1/1; min-width:0; flex-direction:column; align-items:center; justify-content:center; gap:7px; padding:10px 8px; box-sizing:border-box; border:2px solid #c5c5c5; border-radius:4px; background:#fff; box-shadow:0 2px 6px rgba(0,0,0,.10); color:inherit; text-align:center; text-decoration:none; transition:border-color .2s ease, box-shadow .2s ease; }
.rwgwe-opponent-check .rwgwe-opponent-crest { display:flex; flex:1 1 0; align-items:center; justify-content:center; width:100%; min-height:0; max-height:115px; }
.rwgwe-opponent-check .rwgwe-opponent-crest img { display:block; width:100%; height:100%; max-width:125px; max-height:100%; margin:0; object-fit:contain; transition:transform .18s; }
.rwgwe-opponent-check .rwgwe-opponent-name { font:inherit; font-weight:600; overflow-wrap:anywhere; line-height:1.25; }
.rwgwe-opponent-check .rwgwe-opponent-card:hover,.rwgwe-opponent-check .rwgwe-opponent-card:focus-visible { border-color:#c91a1a; box-shadow:0 3px 12px #00000012; text-decoration:none; color:#c91a1a; }
.rwgwe-opponent-check .rwgwe-opponent-card:hover img,.rwgwe-opponent-check .rwgwe-opponent-card:focus-visible img { transform:scale(1.05); }
@media(max-width:600px) { .rwgwe-opponent-check .rwgwe-opponent-grid { --rwgwe-map-inset:30px; --rwgwe-map-gap:16px; gap:16px; } .rwgwe-opponent-check .rwgwe-opponent-card { flex-basis:calc((100% - var(--rwgwe-map-gap))/2); padding:7px; } .rwgwe-opponent-check .rwgwe-opponent-crest { max-height:100px; } .rwgwe-opponent-check .rwgwe-opponent-crest img { max-width:110px; } }
@media(prefers-reduced-motion:reduce) { .rwgwe-opponent-check .rwgwe-opponent-card,.rwgwe-opponent-check .rwgwe-opponent-crest img { transition:none; } .rwgwe-opponent-check .rwgwe-opponent-card:hover img { transform:none; } }
/* Gegnercheck news: native theme typography; the whole row is a real link. */
.rwgwe-opponent-news .rwgwe-opponent-news-list { list-style:none; margin:0 0 1.5em; padding:0; }
.rwgwe-opponent-news .rwgwe-opponent-news-list li { list-style:none; padding:0; margin:0; border-bottom:1px solid #ddd; }
.rwgwe-opponent-news .rwgwe-opponent-news-row { display:flex; align-items:center; gap:8px; padding:12px 4px; color:inherit; font:inherit; text-decoration:none; }
.rwgwe-opponent-news .rwgwe-opponent-news-icon { flex:none; color:#c91a1a; width:1.25em; height:1.25em; display:block; margin-inline-end:4px; }
.rwgwe-opponent-news .rwgwe-opponent-news-title { flex:1 1 auto; min-width:0; font-weight:normal; overflow-wrap:anywhere; }
.rwgwe-opponent-news .rwgwe-opponent-news-row time { flex:none; margin-left:auto; text-align:right; white-space:nowrap; font:inherit; }
.rwgwe-opponent-news .rwgwe-opponent-news-row:hover,.rwgwe-opponent-news .rwgwe-opponent-news-row:focus-visible { background:#f7f7f7; color:#c91a1a; text-decoration:none; }
#head-to-head .rwgwe-club-stat-rings > .victory-club-stat, .club-profile .rwgwe-club-stat-rings > .victory-club-stat, .rwgwe-team-dashboard .rwgwe-club-stat-rings > .victory-club-stat { flex: 0 0 calc((100% - (var(--rwgwe-ring-cols) - 1) * var(--rwgwe-ring-gap)) / var(--rwgwe-ring-cols)); margin: 0; min-width: 0; }
.rwgwe-club-stat-rings .victory-club-stat-total.rwgwe-club-ring { --rwgwe-ring-color: #4f5d6b; position: relative; display: grid; place-items: center; background: transparent; color: #253540; width: min(84px,100%); height: auto; aspect-ratio: 1; padding: 0; margin: 0 auto 7px; border-radius: 50%; text-shadow: none; font-size: clamp(16px,2.4vw,23px); font-weight: 700; }
.rwgwe-club-stat-rings .rwgwe-club-ring::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--rwgwe-ring-color) 0% var(--rwgwe-ring-progress), #e5e5e5 var(--rwgwe-ring-progress) 100%); -webkit-mask: radial-gradient(farthest-side,transparent calc(100% - 7px),#000 calc(100% - 6px)); mask: radial-gradient(farthest-side,transparent calc(100% - 7px),#000 calc(100% - 6px)); pointer-events: none; }
.rwgwe-club-stat-rings .victory-club-stat-total.win { --rwgwe-ring-color: #388e3c; }
.rwgwe-club-stat-rings .victory-club-stat-total.draw { --rwgwe-ring-color: #f9a825; }
.rwgwe-club-stat-rings .victory-club-stat-total.loss { --rwgwe-ring-color: #c91a1a; }
.rwgwe-club-stat-rings .rwgwe-club-win-rate .victory-club-stat-total { --rwgwe-ring-color: #388e3c; }
.rwgwe-club-ring-value { position: relative; z-index: 1; }
.rwgwe-club-stat-rings .victory-player-stat-label { display: block; color: #4f5d6b; text-align: center; hyphens: auto; overflow-wrap: anywhere; }
.rwgwe-team-dashboard { container-type: inline-size; display: flow-root; clear: both; }
.rwgwe-team-dashboard .rwgwe-dashboard-context { color: #4f5d6b; text-align: center; margin: 1em 0 0; }
.rwgwe-team-dashboard .victory-clubs-stats.rwgwe-club-stat-rings { margin-top: 1.3em; }
.rwgwe-team-dashboard .rwgwe-club-ring.rwgwe-dashboard-best { --rwgwe-ring-color: #ef6c00; font-size: clamp(13px,1.8vw,20px); }
.rwgwe-team-dashboard .rwgwe-club-ring.rwgwe-dashboard-points-for { --rwgwe-ring-color: #009b95; }
.rwgwe-team-dashboard .rwgwe-club-ring.rwgwe-dashboard-points-against { --rwgwe-ring-color: #c91a1a; }
@container (max-width: 500px) { #head-to-head .victory-clubs-stats.rwgwe-club-stat-rings, .club-profile .victory-clubs-stats.rwgwe-club-stat-rings, .rwgwe-team-dashboard .victory-clubs-stats.rwgwe-club-stat-rings { --rwgwe-ring-cols: 3; --rwgwe-ring-gap: 10px; } }
@media (max-width: 500px) { #head-to-head .victory-clubs-stats.rwgwe-club-stat-rings, .club-profile .victory-clubs-stats.rwgwe-club-stat-rings, .rwgwe-team-dashboard .victory-clubs-stats.rwgwe-club-stat-rings { --rwgwe-ring-cols: 3; --rwgwe-ring-gap: 10px; } }
#head-to-head .rwgwe-club-match-layout, .club-profile .rwgwe-club-match-layout { display: grid; grid-template-columns: max-content minmax(0,1fr) max-content max-content; grid-template-areas: "date encounter score info"; gap: 6px 12px; align-items: center; }
#head-to-head .rwgwe-club-match-date, .club-profile .rwgwe-club-match-date { grid-area: date; white-space: nowrap; margin-right: 12px; font-weight: 600; color: #4f5d6b; }
#head-to-head .rwgwe-club-match-encounter, .club-profile .rwgwe-club-match-encounter { grid-area: encounter; min-width: 0; overflow-wrap: break-word; }
#head-to-head .rwgwe-club-match-pairing, .club-profile .rwgwe-club-match-pairing { display: block; }
#head-to-head .rwgwe-club-match-venue, .club-profile .rwgwe-club-match-venue { display: block; color: #717a80; font-size: .9em; margin-top: 2px; }
#head-to-head .rwgwe-club-match-score, .club-profile .rwgwe-club-match-score { grid-area: score; }
#head-to-head .rwgwe-club-match-info, .club-profile .rwgwe-club-match-info { grid-area: info; justify-self: end; }
@container (max-width: 600px) {
  #head-to-head .rwgwe-club-match-date, .club-profile .rwgwe-club-match-date { margin-right: 0; }
  #head-to-head .rwgwe-club-match-layout, .club-profile .rwgwe-club-match-layout { grid-template-columns: max-content minmax(0,1fr) max-content; grid-template-areas: "date encounter encounter" ". score info"; align-items: start; }
  #head-to-head .rwgwe-club-match-score, #head-to-head .rwgwe-club-match-info, .club-profile .rwgwe-club-match-score, .club-profile .rwgwe-club-match-info { align-self: center; justify-self: end; }
  #head-to-head .rwgwe-club-stats-with-rate:not(.rwgwe-club-stat-rings) .victory-club-stat-total, .club-profile .rwgwe-club-stats-with-rate:not(.rwgwe-club-stat-rings) .victory-club-stat-total { font-size: 16px; border-radius: 5px; }
  .club-profile .victory-club-image { float: none; width: 100%; text-align: center; margin-bottom: 1.5em; }
  .club-profile .victory-club-image img { max-width: 180px; width: auto; height: auto; }
  .club-profile .victory-club-meta { float: none; clear: both; width: 100%; }
  .club-profile .victory-club-title { text-align: center; }
}
@media (max-width: 767px) {
  #head-to-head .rwgwe-club-match-date, .club-profile .rwgwe-club-match-date { margin-right: 0; }
  #head-to-head .rwgwe-club-match-layout, .club-profile .rwgwe-club-match-layout { grid-template-columns: max-content minmax(0,1fr) max-content; grid-template-areas: "date encounter encounter" ". score info"; align-items: start; }
  #head-to-head .rwgwe-club-match-score, #head-to-head .rwgwe-club-match-info, .club-profile .rwgwe-club-match-score, .club-profile .rwgwe-club-match-info { align-self: center; justify-self: end; }
  .club-profile .victory-club-image { float: none; width: 100%; text-align: center; margin-bottom: 1.5em; }
  .club-profile .victory-club-image img { max-width: 180px; width: auto; height: auto; }
  .club-profile .victory-club-meta { float: none; clear: both; width: 100%; }
  .club-profile .victory-club-title { text-align: center; }
}
/* Fixed table sizing keeps every statistic column equally wide, regardless of its values. */
.rwgwe-row-links-league table { table-layout: fixed; width: 100%; min-width: calc(13em + var(--rwgwe-league-values,5) * 4.5em); }
.rwgwe-row-links-league table > colgroup > .rwgwe-league-rank-col { width: var(--rwgwe-league-rank-width,2.5em); }
.rwgwe-row-links-league table > colgroup > .rwgwe-league-club-col { width: auto; }
.rwgwe-row-links-league table > colgroup > .rwgwe-league-value-col { width: var(--rwgwe-league-column-width,4.5em); }
.rwgwe-row-links-league table > thead > tr > th:first-child { width: auto; }
.rwgwe-row-links-league table > thead > tr > th:nth-child(2) { width: auto; }
.rwgwe-row-links-league table > thead > tr > th:nth-child(n+3) { box-sizing: border-box; width: auto; text-align: center; padding-left: .25em; padding-right: .25em; }
.rwgwe-row-links-league table > tbody > tr > td.club { width: auto; min-width: 0; text-align: left; vertical-align: middle; overflow-wrap: break-word; }
.rwgwe-row-links-league table > tbody > tr > td.club .crest-wrap { vertical-align: middle; }
.rwgwe-row-links-league .rwgwe-league-name-short { display: none; }
@media (max-width: 767px) {
  .rwgwe-row-links-league .rwgwe-league-name-full { display: none; }
  .rwgwe-row-links-league .rwgwe-league-name-short { display: inline; }
}
.rwgwe-row-links-league table > tbody > tr > td:not(.club) { text-align: center; vertical-align: middle; white-space: nowrap; padding-left: .25em; padding-right: .25em; }
.rwgwe-row-links-league .victory-table-wrap { overflow-x: auto; }
/* Measure the available table area rather than only the viewport (also for sidebars). */
.rwgwe-row-links-league { container-type: inline-size; }
@container (max-width: 700px) {
  .rwgwe-row-links-league table { min-width: 0; max-width: 100%; --rwgwe-league-rank-width: 20px; --rwgwe-league-column-width: var(--rwgwe-league-mobile-value-width,8%); }
  .rwgwe-row-links-league table > tbody > tr { height: 52px; }
  .rwgwe-row-links-league table > thead > tr > th:first-child { padding-inline: .12em; }
  .rwgwe-row-links-league table > thead > tr > th:nth-child(n+3) { padding-inline: .05em; overflow-wrap: anywhere; }
  .rwgwe-row-links-league table > tbody > tr > td:not(.club) { padding-inline: .05em; white-space: normal; overflow-wrap: anywhere; }
  .rwgwe-row-links-league table > tbody > tr > td.club { padding-inline: .2em; white-space: normal; word-break: normal; overflow-wrap: break-word; }
  .rwgwe-row-links-league table > tbody > tr > td.club a { white-space: normal; word-break: normal; overflow-wrap: break-word; }
  .rwgwe-row-links-league table > tbody > tr > td.club .crest-wrap { width: 22px; max-width: 100%; height: auto; margin-right: 4px; }
  .rwgwe-row-links-league table > tbody > tr > td.club img { max-width: 22px; width: auto; height: auto; }
}
@media (max-width: 767px) {
    .rwgwe-row-links-league table { min-width: 0; max-width: 100%; --rwgwe-league-rank-width: 20px; --rwgwe-league-column-width: var(--rwgwe-league-mobile-value-width,8%); }
    .rwgwe-row-links-league table > tbody > tr { height: 52px; }
    .rwgwe-row-links-league table > thead > tr > th:first-child { padding-inline: .12em; }
    .rwgwe-row-links-league table > thead > tr > th:nth-child(n+3) { padding-inline: .05em; overflow-wrap: anywhere; }
    .rwgwe-row-links-league table > tbody > tr > td:not(.club) { padding-inline: .05em; white-space: normal; overflow-wrap: anywhere; }
    .rwgwe-row-links-league table > tbody > tr > td.club { padding-inline: .2em; white-space: normal; word-break: normal; overflow-wrap: break-word; }
    .rwgwe-row-links-league table > tbody > tr > td.club a { white-space: normal; word-break: normal; overflow-wrap: break-word; }
    .rwgwe-row-links-league table > tbody > tr > td.club .crest-wrap { width: 22px; max-width: 100%; height: auto; margin-right: 4px; }
    .rwgwe-row-links-league table > tbody > tr > td.club img { max-width: 22px; width: auto; height: auto; }
}

/* Front-page league widgets use badges on the same visual scale as scorer portraits. */
@container (max-width: 700px) {
  .home .rwgwe-row-links-league table > tbody > tr > td.club .crest-wrap { width: 32px; height: 32px; max-width: 100%; margin-right: 6px; }
  .home .rwgwe-row-links-league table > tbody > tr > td.club img { width: 32px; height: 32px; max-width: 100%; object-fit: contain; }
}
@media (max-width: 767px) {
  .home .rwgwe-row-links-league table > tbody > tr > td.club .crest-wrap { width: 32px; height: 32px; max-width: 100%; margin-right: 6px; }
  .home .rwgwe-row-links-league table > tbody > tr > td.club img { width: 32px; height: 32px; max-width: 100%; object-fit: contain; }
}

/* A result such as 12:10 is one value, never two stacked lines. */
.rwgwe-row-links-league table > tbody > tr > td.pts,
.rwgwe-row-links-league table > tbody > tr > td.f { white-space: nowrap; overflow-wrap: normal; }
/* In very narrow full tables only the paired scores need a little extra room. */
@container (max-width: 423px) {
  .rwgwe-row-links-league table > colgroup > .rwgwe-league-dense-score-col { width: 40px; }
  .rwgwe-row-links-league table > colgroup > .rwgwe-league-match-score-col { width: 52px; }
}
@container (max-width: 320px) { .rwgwe-row-links-league table > colgroup > .rwgwe-league-score-col { width: 40px; } }
@media (max-width: 423px) {
  .rwgwe-row-links-league table > colgroup > .rwgwe-league-dense-score-col { width: 40px; }
  .rwgwe-row-links-league table > colgroup > .rwgwe-league-match-score-col { width: 52px; }
}
@media (max-width: 320px) { .rwgwe-row-links-league table > colgroup > .rwgwe-league-score-col { width: 40px; } }

/* Player lists follow the same explicit-column layout as the league table. */
.rwgwe-row-links-players { container-type: inline-size; }
.rwgwe-row-links-players table { table-layout: fixed; width: 100%; min-width: calc(16em + var(--rwgwe-player-values,5) * 4.5em); }
.rwgwe-row-links-players table > colgroup > .rwgwe-player-ranking-col { width: var(--rwgwe-player-rank-width,2.5em); }
.rwgwe-row-links-players table > colgroup > .rwgwe-player-thumb-col { width: var(--rwgwe-player-thumb-width,56px); }
.rwgwe-row-links-players table > colgroup > .rwgwe-player-name-col { width: auto; }
.rwgwe-row-links-players table > colgroup > .rwgwe-player-value-col { width: var(--rwgwe-player-column-width,4.5em); }
.rwgwe-row-links-players table > thead > tr > th { width: auto; padding-inline: .25em; text-align: center; overflow-wrap: anywhere; }
.rwgwe-row-links-players table > tbody > tr > td { min-width: 0; width: auto; padding-inline: .25em; text-align: center; vertical-align: middle; overflow-wrap: anywhere; }
.rwgwe-row-links-players table > tbody > tr > td.name { min-width: 0; text-align: left; white-space: normal; word-break: normal; overflow-wrap: break-word; }
.rwgwe-row-links-players table > tbody > tr > td.name a { white-space: normal; word-break: normal; overflow-wrap: break-word; }
.rwgwe-row-links-players table > tbody > tr > td.thumb img { max-width: 100%; height: auto; vertical-align: middle; }
.rwgwe-row-links-players .victory-table-wrap { overflow-x: auto; }
@container (max-width: 700px) {
  .rwgwe-row-links-players table { min-width: 0; max-width: 100%; --rwgwe-player-rank-width: 24px; --rwgwe-player-thumb-width: 34px; --rwgwe-player-column-width: var(--rwgwe-player-mobile-value-width,8%); }
  .rwgwe-row-links-players table > tbody > tr { height: 52px; }
  .rwgwe-row-links-players table > thead > tr > th, .rwgwe-row-links-players table > tbody > tr > td { padding-inline: .05em; }
  .rwgwe-row-links-players table > tbody > tr > td.name { padding-inline: .45em .2em; }
  .rwgwe-row-links-players table > tbody > tr > td.thumb img { max-width: 28px; }
}
@media (max-width: 767px) {
  .rwgwe-row-links-players table { min-width: 0; max-width: 100%; --rwgwe-player-rank-width: 24px; --rwgwe-player-thumb-width: 34px; --rwgwe-player-column-width: var(--rwgwe-player-mobile-value-width,8%); }
  .rwgwe-row-links-players table > tbody > tr { height: 52px; }
  .rwgwe-row-links-players table > thead > tr > th, .rwgwe-row-links-players table > tbody > tr > td { padding-inline: .05em; }
  .rwgwe-row-links-players table > tbody > tr > td.name { padding-inline: .45em .2em; }
  .rwgwe-row-links-players table > tbody > tr > td.thumb img { max-width: 28px; }
}
