/* WP Sport Stats. Colours derive from the theme text colour so the blocks fit light and dark themes. */
.wpss {
	--wpss-line: color-mix(in srgb, currentColor 16%, transparent);
	--wpss-soft: color-mix(in srgb, currentColor 6%, transparent);
	--wpss-mute: color-mix(in srgb, currentColor 62%, transparent);
	--wpss-accent: var(--wp--preset--color--primary, #c8102e);
	--wpss-win: #1a8a4a;
	--wpss-loss: #c0392b;
	--wpss-draw: #7a7f87;
	font-size: 1rem;
	line-height: 1.4;
}

.wpss *, .wpss *::before, .wpss *::after { box-sizing: border-box; }

.wpss-notice { padding: .75rem 1rem; border: 1px dashed var(--wpss-line, #ccc); border-radius: 6px; }

/* Filters */
.wpss-filter { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 0 0 1.25rem; }
.wpss-filter select { max-width: 100%; }

/* Match list */
.wpss-matches { list-style: none; margin: 0 0 1.25rem; padding: 0; border-top: 1px solid var(--wpss-line); }
.wpss-match { display: grid; grid-template-columns: 8.5rem 1fr; gap: .25rem 1rem; padding: .85rem .25rem; border-bottom: 1px solid var(--wpss-line); }
.wpss-match__when { color: var(--wpss-mute); font-size: .9em; }
.wpss-match__main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .75rem; }
.wpss-match__side--host { text-align: right; }
.wpss-match__side--host .wpss-team { flex-direction: row-reverse; }
.wpss-match__centre { display: flex; flex-direction: column; align-items: center; min-width: 5rem; font-weight: 700; }
.wpss-match__extra { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; color: var(--wpss-mute); font-size: .85em; }
.wpss-match__link { margin-left: auto; }
.wpss-match:target { background: var(--wpss-soft); }

.wpss-team { display: inline-flex; align-items: center; gap: .5rem; }
.wpss-team--mine .wpss-team__name { font-weight: 700; }
.wpss-logo { display: inline-block; width: 28px !important; max-width: 28px !important; height: 28px !important; max-height: 28px !important; object-fit: contain; }
.wpss-score { font-size: 1.15em; white-space: nowrap; }
.wpss-time { font-size: 1.05em; }

.wpss-badge { display: inline-block; padding: 0 .4em; border: 1px solid var(--wpss-line); border-radius: 3px; font-size: .7em; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.wpss-badge--live { color: #fff; background: var(--wpss-loss); border-color: var(--wpss-loss); }

.wpss-outcome { display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; color: #fff; font-size: .75rem; font-weight: 700; }
.wpss-outcome--win { background: var(--wpss-win); }
.wpss-outcome--loss { background: var(--wpss-loss); }
.wpss-outcome--draw { background: var(--wpss-draw); }

/* Calendar */
.wpss-calnav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.wpss-calnav__title { margin: 0; font-size: 1.25em; text-transform: capitalize; }
.wpss-calnav__btn { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border: 1px solid var(--wpss-line); border-radius: 50%; text-decoration: none; }

.wpss-cal { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 1.5rem; }
.wpss-cal th { padding: .4rem; color: var(--wpss-mute); font-size: .8em; font-weight: 600; text-transform: uppercase; }
.wpss-cal td { height: 4.5rem; padding: .25rem; border: 1px solid var(--wpss-line); vertical-align: top; overflow: hidden; }
.wpss-cal__empty { background: var(--wpss-soft); }
.wpss-cal__num { display: block; color: var(--wpss-mute); font-size: .8em; }
.wpss-cal__day--today { outline: 2px solid var(--wpss-accent); outline-offset: -2px; }
.wpss-cal__day--match { background: var(--wpss-soft); }
.wpss-cal__match { display: block; margin-top: .15rem; padding: 0 .3em; border-radius: 3px; font-size: .72em; line-height: 1.5; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.wpss-cal__match--home { background: var(--wpss-accent); }
.wpss-cal__match--away { background: color-mix(in srgb, var(--wpss-accent) 55%, #000); }

/* Standings */
.wpss-table-wrap { overflow-x: auto; margin-bottom: 1rem; }
.wpss-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.wpss-table th, .wpss-table td { padding: .5rem .45rem; text-align: center; border-bottom: 1px solid var(--wpss-line); white-space: nowrap; }
.wpss-table th { color: var(--wpss-mute); font-size: .8em; font-weight: 600; }
.wpss-table .wpss-table__team, .wpss-table th:nth-child(2) { text-align: left; }
.wpss-table__team .wpss-logo { width: 22px !important; max-width: 22px !important; height: 22px !important; max-height: 22px !important; margin-right: .5rem; vertical-align: middle; }
.wpss-table__pts { font-weight: 700; }
.wpss-table__row--mine { background: var(--wpss-soft); font-weight: 600; }
.wpss-zone td:first-child { box-shadow: inset 4px 0 0 var(--wpss-zone, transparent); }

.wpss-zone--championsleague { --wpss-zone: #1d6fd1; }
.wpss-zone--europaleague { --wpss-zone: #e07b00; }
.wpss-zone--conferenceleague { --wpss-zone: #1a8a4a; }
.wpss-zone--promotion { --wpss-zone: #1a8a4a; }
.wpss-zone--relegation { --wpss-zone: #c0392b; }

.wpss-legend { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: .85em; color: var(--wpss-mute); }
.wpss-legend__swatch { display: inline-block; width: .75rem; height: .75rem; margin-right: .4rem; border-radius: 2px; background: var(--wpss-zone, transparent); }

/* Pager */
.wpss-pager { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1rem 0; }
.wpss-pager__item { min-width: 2.25rem; padding: .35rem .6rem; border: 1px solid var(--wpss-line); border-radius: 4px; text-align: center; text-decoration: none; }
.wpss-pager__item--current { background: var(--wpss-accent); border-color: var(--wpss-accent); color: #fff; }

@media (max-width: 640px) {
	.wpss-match { grid-template-columns: 1fr; }
	.wpss-match__extra { grid-column: 1; }
	.wpss-match__main { grid-template-columns: 1fr auto 1fr; gap: .4rem; font-size: .95em; }
	.wpss-cal td { height: 3.5rem; padding: .15rem; }
	.wpss-cal__match { font-size: .62em; }
}

/* Squad, transfers, trophies */
.wpss-table--squad th:nth-child(2), .wpss-table--squad .wpss-table__team,
.wpss-table--transfers th, .wpss-table--transfers td { text-align: left; }
.wpss-table--transfers td:last-child { text-align: right; }
.wpss-table__group th { padding-top: 1rem; color: var(--wpss-mute); font-size: .8em; text-align: left; text-transform: uppercase; letter-spacing: .04em; background: var(--wpss-soft); }
.wpss-table__total td { font-weight: 700; border-top: 2px solid var(--wpss-line); }
.wpss-transfer--in td:first-child { box-shadow: inset 4px 0 0 var(--wpss-win); }
.wpss-transfer--out td:first-child { box-shadow: inset 4px 0 0 var(--wpss-loss); }

.wpss-trophies__total { font-size: 1.1em; font-weight: 700; }
.wpss-trophy { padding: 1rem 0; border-top: 1px solid var(--wpss-line); }
.wpss-trophy__title { display: flex; align-items: center; gap: .6rem; margin: 0 0 .5rem; font-size: 1.1em; }
.wpss-trophy__row { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: baseline; margin: .35rem 0; }
.wpss-trophy__label { min-width: 9rem; }
.wpss-trophy__row--runner-up .wpss-trophy__label { color: var(--wpss-mute); }
.wpss-chips { display: flex; flex-wrap: wrap; gap: .3rem; }
.wpss-chip { padding: .1rem .5rem; border: 1px solid var(--wpss-line); border-radius: 999px; font-size: .85em; white-space: nowrap; }
.wpss-trophy__row--winner .wpss-chip { background: var(--wpss-soft); font-weight: 600; }

/* Player page */
.wpss-h { margin: 2rem 0 .75rem; font-size: 1.25em; }
.wpss-profile { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-start; margin-bottom: 1rem; }
.wpss-photo { height: auto; max-width: 160px; border-radius: 8px; }
.wpss-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: .75rem 1.5rem; flex: 1 1 18rem; margin: 0; }
.wpss-facts dt { color: var(--wpss-mute); font-size: .8em; text-transform: uppercase; letter-spacing: .03em; }
.wpss-facts dd { margin: 0; font-weight: 600; }
.wpss-back { margin-top: 2rem; }

/* Match page */
.wpss-scoreboard { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin-bottom: .5rem; font-size: 1.2em; }
.wpss-scoreboard__side:first-child { justify-self: end; }
.wpss-scoreboard__centre { display: flex; flex-direction: column; align-items: center; }
.wpss-score--big { font-size: 2em; }
.wpss-time--big { font-size: 1.6em; font-weight: 700; }
.wpss-scoreboard__meta { margin: 0 0 1.5rem; color: var(--wpss-mute); text-align: center; font-size: .9em; }
.wpss-scoreboard .wpss-logo { width: 48px !important; max-width: 48px !important; height: 48px !important; max-height: 48px !important; }

.wpss-events { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--wpss-line); }
.wpss-event { display: grid; grid-template-columns: 3rem 2rem 1fr; gap: .5rem; padding: .5rem .25rem; border-bottom: 1px solid var(--wpss-line); }
.wpss-event--mine { box-shadow: inset 3px 0 0 var(--wpss-accent); background: var(--wpss-soft); }
.wpss-event__min { color: var(--wpss-mute); font-variant-numeric: tabular-nums; }
.wpss-event small { color: var(--wpss-mute); }
.wpss-sub-in { color: var(--wpss-win); }
.wpss-sub-out { color: var(--wpss-loss); }

.wpss-lineups { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.5rem; }
.wpss-lineup h3 { margin: 0 0 .5rem; font-size: 1.05em; }
.wpss-lineup h4 { margin: 1rem 0 .35rem; color: var(--wpss-mute); font-size: .8em; text-transform: uppercase; letter-spacing: .04em; }
.wpss-players { list-style: none; margin: 0; padding: 0; }
.wpss-players li { padding: .25rem 0; border-bottom: 1px solid var(--wpss-line); }
.wpss-players__no { display: inline-block; width: 2rem; color: var(--wpss-mute); font-variant-numeric: tabular-nums; }
.wpss-lineup__manager { margin-top: .75rem; color: var(--wpss-mute); }

.wpss-stat { display: grid; grid-template-columns: 3.5rem 1fr 3.5rem; align-items: center; gap: .75rem; padding: .35rem 0; font-variant-numeric: tabular-nums; }
.wpss-stat__val:last-child { text-align: right; }
.wpss-stat__label { display: block; text-align: center; font-size: .9em; }
.wpss-stat__bar { display: block; height: 6px; margin-top: .25rem; border-radius: 3px; background: var(--wpss-line); overflow: hidden; }
.wpss-stat__fill { display: block; height: 100%; background: var(--wpss-accent); }

.wpss-xg { margin-top: .15rem; color: var(--wpss-mute); font-size: .75em; font-weight: 400; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wpss-xg abbr { text-decoration: none; border: 0; cursor: help; }
.wpss-matches--compact .wpss-match { padding: .6rem .25rem; }

/* Head-to-head summary and form of both sides */
.wpss-h2h { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: .5rem 1rem; text-align: center; }
.wpss-h2h__cell { display: flex; flex-direction: column; align-items: center; gap: .2rem; min-width: 0; }
.wpss-h2h__num { font-size: 1.75em; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.wpss-h2h__cell--host .wpss-h2h__num { color: var(--wpss-accent); }
.wpss-h2h__sub, .wpss-h2h__cell--draw .wpss-h2h__label { color: var(--wpss-mute); font-size: .8em; text-transform: uppercase; letter-spacing: .03em; }
.wpss-h2h__bar { grid-column: 1 / -1; display: flex; height: 8px; border-radius: 4px; background: var(--wpss-line); overflow: hidden; }
.wpss-h2h__seg--host { background: var(--wpss-accent); }
.wpss-h2h__seg--draw { background: var(--wpss-draw); }
.wpss-h2h__seg--guest { background: color-mix(in srgb, currentColor 75%, transparent); }
.wpss-h2h__note { margin: .5rem 0 1rem; color: var(--wpss-mute); font-size: .9em; text-align: center; }
.wpss-form__team { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin: 1.25rem 0 .5rem; font-size: 1.05em; }
.wpss-form { display: inline-flex; gap: .25rem; }

@media (max-width: 640px) {
	.wpss-scoreboard { font-size: 1em; }
	.wpss-event { grid-template-columns: 2.5rem 1.5rem 1fr; }
	.wpss-h2h .wpss-team { flex-direction: column; gap: .25rem; }
}

.wpss-muted { color: var(--wpss-mute); }
.wpss-filter select { font: inherit; max-width: 100%; }
.wpss-table-wrap { -webkit-overflow-scrolling: touch; }

/* Phones: wide tables become cards (transfers, player pages) or drop minor columns (standings, squad). */
@media (max-width: 560px) {
	.wpss-table--stack, .wpss-table--stack tbody { display: block; }
	.wpss-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.wpss-table--stack tr { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.25rem, 1fr)); gap: .35rem .6rem; padding: .75rem .25rem; border-bottom: 1px solid var(--wpss-line); }
	.wpss-table--stack td, .wpss-table--stack .wpss-table__team { display: block; padding: 0; border: 0; text-align: left; white-space: normal; }
	.wpss-table--stack td[data-label]::before { content: attr(data-label); display: block; color: var(--wpss-mute); font-size: .72em; text-transform: uppercase; letter-spacing: .03em; }
	.wpss-table--stack td[data-primary] { grid-column: 1 / -1; font-weight: 600; }
	.wpss-table--stack td[data-primary]::before { display: none; }
	.wpss-table--stack td:last-child { text-align: left; }
	.wpss-table--stack .wpss-table__total { background: var(--wpss-soft); }
	.wpss-table--stack .wpss-transfer td:first-child { box-shadow: none; }
	.wpss-table--stack .wpss-transfer--in { box-shadow: inset 4px 0 0 var(--wpss-win); padding-left: .75rem; }
	.wpss-table--stack .wpss-transfer--out { box-shadow: inset 4px 0 0 var(--wpss-loss); padding-left: .75rem; }
}

@media (max-width: 480px) {
	/* Standings: keep # Team P W D L GD Pts on screen. */
	.wpss-standings .wpss-table th:nth-child(7), .wpss-standings .wpss-table td:nth-child(7),
	.wpss-standings .wpss-table th:nth-child(8), .wpss-standings .wpss-table td:nth-child(8) { display: none; }
	.wpss-standings .wpss-table th, .wpss-standings .wpss-table td { padding: .5rem .25rem; }

	/* Squad: drop the shirt-number and minutes columns, tighten the rest so goals and cards stay visible. */
	.wpss-table--squad:not(.wpss-table--stack) { font-size: .85em; }
	.wpss-table--squad:not(.wpss-table--stack) th, .wpss-table--squad:not(.wpss-table--stack) td { padding: .45rem .2rem; white-space: normal; }
	.wpss-table--squad:not(.wpss-table--stack) th:first-child, .wpss-table--squad:not(.wpss-table--stack) td:first-child,
	.wpss-table--squad:not(.wpss-table--stack) th:last-child, .wpss-table--squad:not(.wpss-table--stack) td:last-child { display: none; }
	.wpss-table--squad:not(.wpss-table--stack) .wpss-table__group th { display: table-cell; }
	.wpss-table--squad:not(.wpss-table--stack) .wpss-table__team { min-width: 6rem; }

	.wpss-table .wpss-table__team { white-space: normal; }
	.wpss-table__team .wpss-logo { margin-right: .3rem; }
}
.wpss-table--stack td { min-width: 0; overflow-wrap: anywhere; }
.wpss-table--stack .wpss-team { flex-wrap: wrap; }
.wpss-table--stack td:empty { display: none; }
.wpss-table--stack td.wpss-muted { font-weight: 400; }

.wpss-tznote { margin: 0 0 1rem; color: var(--wpss-mute); font-size: .85em; }

/* Competition logos */
.wpss-comp { display: inline-flex; align-items: center; gap: .35rem; vertical-align: middle; }
.wpss-comp .wpss-logo { width: 20px !important; max-width: 20px !important; height: 20px !important; max-height: 20px !important; }
.wpss-scoreboard__meta .wpss-comp .wpss-logo { width: 22px !important; max-width: 22px !important; height: 22px !important; max-height: 22px !important; }
.wpss-league { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; font-size: 1.35em; }
.wpss-league .wpss-comp { gap: .6rem; }
.wpss-league .wpss-logo { width: 36px !important; max-width: 36px !important; height: 36px !important; max-height: 36px !important; }
.wpss-league__season { color: var(--wpss-mute); font-weight: 400; }

/* Breadcrumbs */
.wpss-crumbs { margin: 0 0 1rem; font-size: .85em; color: var(--wpss-mute); }
.wpss-crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: 0; padding: 0; list-style: none; }
.wpss-crumbs li + li::before { content: "\203A"; margin-right: .5rem; }
.wpss-crumbs a { color: inherit; }

.wpss-loading .wpss-ajax-body { opacity: .45; transition: opacity .15s; pointer-events: none; }

/* Transfers: compact, wraps instead of scrolling */
.wpss-table--transfers { font-size: .92em; }
.wpss-table--transfers th, .wpss-table--transfers td { padding: .45rem .4rem; white-space: normal; vertical-align: middle; }
.wpss-table--transfers .wpss-nowrap { white-space: nowrap; }
.wpss-table--transfers .wpss-logo { width: 20px !important; max-width: 20px !important; height: 20px !important; max-height: 20px !important; }
.wpss-table--transfers .wpss-team { gap: .35rem; }
.wpss-table--transfers td:last-child { text-align: left; }
.wpss-type, .wpss-fee { display: block; }
.wpss-fee { font-weight: 700; }
.wpss-fee:empty { display: none; }
@media (max-width: 560px) {
	.wpss-type, .wpss-fee { display: inline; }
	.wpss-fee { margin-left: .35rem; }
}

/* Player page: club totals */
.wpss-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: .75rem; margin: 0 0 1rem; }
.wpss-card { display: flex; flex-direction: column; gap: .15rem; padding: .75rem .9rem; border: 1px solid var(--wpss-line); border-radius: 8px; background: var(--wpss-soft); }
.wpss-card__v { font-size: 1.6em; font-weight: 700; line-height: 1.1; }
.wpss-card__l { color: var(--wpss-mute); font-size: .8em; }
.wpss-table--career td, .wpss-table--injuries td { text-align: left; }
.wpss-table--career .wpss-nowrap, .wpss-table--injuries .wpss-nowrap { white-space: nowrap; }
.wpss-table--career .wpss-badge { margin-left: .4rem; vertical-align: middle; }
.wpss-table--career .wpss-logo { width: 20px !important; max-width: 20px !important; height: 20px !important; max-height: 20px !important; }
.wpss-table--career th, .wpss-table--injuries th { text-align: left; }
.wpss-table--career .wpss-team { display: inline-flex; align-items: center; gap: .4rem; }
@media (max-width: 560px) {
	.wpss-table--career td:nth-child(2), .wpss-table--injuries td:nth-child(2) { grid-column: span 3; }
	.wpss-table--career .wpss-team { flex-wrap: nowrap; }
}

/* Injuries page and absent players on a match page */
.wpss-count { color: var(--wpss-mute); font-weight: 400; }
/* Cells wrap at spaces only: breaking anywhere (the general rule for stacked tables) squeezes names letter by letter. */
.wpss-table--injuries th, .wpss-table--injuries td { white-space: normal; overflow-wrap: normal; }
.wpss-table--injuries td:nth-child(2) { min-width: 8rem; }
@media (min-width: 720px) {
	.wpss-table--injuries .wpss-table__team { white-space: nowrap; }
}
.wpss-table--injuries td:last-child, .wpss-table--injuries th:last-child { text-align: right; }
.wpss-badge--ongoing { color: #b06a00; border-color: currentColor; }
.wpss-collapsed [data-wpss-more] { display: none; }
.wpss-more { display: block; margin: .25rem auto 1rem; padding: .4rem 1.1rem; font: inherit; color: inherit; background: transparent; border: 1px solid var(--wpss-line); border-radius: 4px; cursor: pointer; }
.wpss-more:hover, .wpss-more:focus-visible { background: var(--wpss-soft); }
.wpss-absent__match { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin: 0 0 .25rem; font-weight: 600; }
.wpss-absent__meta { margin: 0 0 1rem; color: var(--wpss-mute); font-size: .9em; }
.wpss-absent .wpss-lineup h3 { display: flex; align-items: center; }
.wpss-absent__why { color: var(--wpss-mute); }
.wpss-absent__why--suspended { color: var(--wpss-loss); }
@media (max-width: 560px) {
	/* Card: player, then the injury across the card, then dates and games missed side by side. */
	.wpss-table--out tr, .wpss-table--season tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.wpss-table--out td:nth-child(2), .wpss-table--season td:nth-child(2) { grid-column: 1 / -1; }
	.wpss-table--injuries td:last-child { text-align: left; }
}

/* Where to watch: channels of the chosen country as a grid of tiles */
.wpss-watch__teams { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin-bottom: .25rem; }
.wpss-watch__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.wpss-watch__channel { display: flex; align-items: center; gap: .6rem; min-width: 0; margin: 0; padding: .5rem .75rem; border: 1px solid var(--wpss-line); border-radius: 6px; }
.wpss-watch__channel[hidden] { display: none; }
.wpss-watch__logo { flex: none; width: auto !important; max-width: 4.5rem; height: 24px !important; object-fit: contain; }
.wpss-watch__name { min-width: 0; overflow-wrap: anywhere; }
.wpss-watch__channel .wpss-badge { margin-left: auto; }
.wpss-watch .wpss-notice[hidden] { display: none; }
@media (max-width: 480px) {
	.wpss-watch__list { grid-template-columns: 1fr; }
}

/* Sidebar widgets: narrow column, so a compact table and stacked team lines. Theme table styles are reset. */
.wpss-widget { font-size: .9rem; }
.wpss-widget .wpss-logo { width: 18px !important; max-width: 18px !important; height: 18px !important; max-height: 18px !important; flex: none; }
.wpss-widget__more { margin: .6rem 0 0; font-size: .9em; text-align: right; }
.wpss-widget .wpss-notice { margin: 0; }

.wpss-mini__league { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; margin: 0 0 .5rem; font-weight: 600; }
.wpss-mini__league .wpss-comp { display: inline-flex; align-items: center; gap: .35rem; }
.wpss-mini__season { color: var(--wpss-mute); font-weight: 400; font-size: .9em; }
.wpss-mini__table { width: 100%; margin: 0; border: 0; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
.wpss-mini__table th, .wpss-mini__table td { width: 2.2em; padding: .35rem .2rem; border: 0; border-bottom: 1px solid var(--wpss-line); background: none; text-align: center; white-space: nowrap; }
.wpss-mini__table th { color: var(--wpss-mute); font-size: .8em; font-weight: 600; }
.wpss-mini__table th:first-child, .wpss-mini__table td:first-child { width: 2em; }
.wpss-mini__table th:nth-child(4), .wpss-mini__table td:nth-child(4) { width: 3em; }
.wpss-mini__table th:last-child, .wpss-mini__table td:last-child { width: 2.6em; }
.wpss-mini__table .wpss-mini__team { width: auto; text-align: left; overflow: hidden; text-overflow: ellipsis; }
.wpss-mini__team .wpss-logo { margin-right: .35rem; vertical-align: -3px; }
.wpss-mini__pts { font-weight: 700; }
.wpss-mini__row--mine td { background: var(--wpss-soft); font-weight: 700; }

.wpss-next__list { margin: 0; padding: 0; list-style: none; }
.wpss-next__list > li { margin: 0; padding: 0; border-bottom: 1px solid var(--wpss-line); }
.wpss-next__list > li::before { content: none; }
.wpss-widget .wpss-next__match, .wpss-widget .wpss-next__match:hover { display: block; padding: .5rem .15rem; color: inherit; text-decoration: none; }
a.wpss-next__match:hover, a.wpss-next__match:focus-visible { background: var(--wpss-soft); }
.wpss-next__meta { display: block; margin-bottom: .3rem; color: var(--wpss-mute); font-size: .82em; }
.wpss-next__body { display: flex; align-items: center; gap: .5rem; }
.wpss-next__teams { display: flex; flex: 1; flex-direction: column; gap: .2rem; min-width: 0; }
.wpss-next__team { display: flex; align-items: center; gap: .4rem; min-width: 0; }
.wpss-next__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wpss-next__team--mine .wpss-next__name { font-weight: 700; }
.wpss-next__goals { font-weight: 700; font-variant-numeric: tabular-nums; }
.wpss-next__flag { display: flex; flex: none; flex-direction: column; align-items: center; gap: .2rem; }
