.jleague-matches-filter-bar,
.jleague-standings-filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.jleague-matches-filter-bar select,
.jleague-standings-filter-bar select {
	flex: 1 1 auto;
	min-width: 8em;
}

.jleague-standings-table {
	width: 100%;
	border-collapse: collapse;
}

.jleague-standings-table th,
.jleague-standings-table td {
	padding: 6px 8px;
	text-align: center;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Qualified with the element (th/td) so this beats the plain
   ".jleague-standings-table td { text-align: center }" rule above on
   specificity - a bare ".jleague-col-team" selector loses that fight and
   silently renders centered regardless of this rule.
   "start" (not "left") so team name/logo sit at the reading-start edge -
   the right, on this RTL site - rather than a hardcoded physical side. */
.jleague-standings-table th.jleague-col-team,
.jleague-standings-table td.jleague-col-team {
	text-align: start;
}

.jleague-team-logo {
	display: inline-block;
	width: 18px;
	height: 18px;
	object-fit: contain;
	vertical-align: middle;
	margin-inline-end: 6px;
}

.jleague-fixture {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	padding: 6px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.jleague-fixture-score,
.jleague-fixture-versus {
	margin: 0 6px;
}

.jleague-week-picker {
	margin-bottom: 8px;
}

.jleague-week-picker select {
	width: 100%;
}

.jleague-full-table-link {
	text-align: center;
	margin-top: 8px;
}

/* Card-style fixtures board (fixtures widget + matches-page shortcode). */
.jleague-week-board {
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	overflow: hidden;
}

.jleague-week-heading {
	cursor: pointer;
	padding: 10px 14px;
	font-weight: 600;
	background: rgba(0, 0, 0, 0.03);
}

.jleague-date-heading {
	padding: 8px 10px;
	text-align: center;
	font-weight: 600;
	background: rgba(0, 0, 0, 0.03);
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.jleague-no-matches {
	padding: 10px 14px;
}

.jleague-match-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	padding: 10px 14px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Logo above, name below, both centered - keeps a long or short name from
   ever affecting this row's height differently than the other team's, so
   the score/time in the middle never drifts off its own vertical center. */
.jleague-match-team {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 4px;
	flex: 1 1 0;
	min-width: 0;
}

.jleague-match-logo {
	flex: 0 0 auto;
	object-fit: contain;
}

/* No truncation: names wrap instead of losing characters to an ellipsis,
   so a long name is still fully readable even in a narrow sidebar widget. */
.jleague-match-name {
	overflow-wrap: break-word;
	line-height: 1.2;
}

.jleague-match-center {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	min-width: 3.5em;
	align-self: center;
}

.jleague-match-result {
	font-weight: 600;
}

.jleague-match-vs {
	opacity: 0.8;
}

.jleague-match-time {
	font-size: 0.85em;
	opacity: 0.8;
}
