.ukf-table-component {
	margin: 1.5rem 0;
}

.ukf-table-title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.ukf-table-scroll {
	overflow-x: auto;
	border: 1px solid #d7dce2;
	border-radius: 4px;
	background: #fff;
}

.ukf-league-table {
	width: 100%;
	min-width: 620px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}

.ukf-league-table th,
.ukf-league-table td {
	padding: 0.62rem 0.5rem;
	border: 0;
	border-bottom: 1px solid #e5e8ec;
	text-align: center;
	white-space: nowrap;
}

.ukf-league-table thead th {
	background: #12243a;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.ukf-league-table tbody th {
	min-width: 180px;
	text-align: left;
	font-weight: 600;
}

.ukf-league-table tbody tr:nth-child(even) {
	background: #f6f8fa;
}

.ukf-league-table tbody tr:last-child th,
.ukf-league-table tbody tr:last-child td {
	border-bottom: 0;
}

.ukf-league-table tbody td:last-child {
	font-weight: 700;
}

.ukf-table-message {
	padding: 0.75rem 1rem;
	border-left: 4px solid #667085;
	background: #f6f8fa;
}

.ukf-table-adjustments {
	margin-top: 0.65rem;
	color: #667085;
	font-size: 0.85rem;
}

.ukf-table-adjustments div + div {
	margin-top: 0.2rem;
}

.ukf-team-card {
	max-width: 900px;
	margin: 1.5rem auto;
	padding: clamp(1rem, 3vw, 1.75rem);
	border: 1px solid #d7dce2;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(18, 36, 58, 0.08);
	color: #12243a;
}

.ukf-team-card-header {
	margin-bottom: 1rem;
	text-align: center;
}

.ukf-team-card-league,
.ukf-team-card-team {
	margin: 0;
	color: #12243a;
}

.ukf-team-card-league {
	font-size: clamp(1.4rem, 3vw, 2rem);
}

.ukf-team-card-season {
	margin: 0.2rem 0 0.55rem;
	color: #667085;
	font-size: 0.95rem;
}

.ukf-team-card-team {
	font-size: clamp(1.15rem, 2.5vw, 1.55rem);
}

.ukf-team-card-position {
	display: flex;
	width: fit-content;
	max-width: 100%;
	margin: 0 auto 1.25rem;
	padding: 0.6rem 1.15rem;
	align-items: center;
	gap: 0.45rem;
	border-radius: 999px;
	background: #12243a;
	color: #fff;
	text-align: center;
}

.ukf-team-card-position strong {
	font-size: 1.15rem;
}

.ukf-team-card-adjustment {
	width: fit-content;
	max-width: 100%;
	margin: -0.65rem auto 1.25rem;
	padding: 0.38rem 0.85rem;
	border: 1px solid #e1e5ea;
	border-radius: 999px;
	background: #fff5f5;
	color: #9b1c1c;
	font-size: 0.82rem;
	font-weight: 600;
	text-align: center;
}

.ukf-team-card-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.7rem;
}

.ukf-team-stat {
	display: flex;
	min-height: 92px;
	padding: 0.8rem 0.55rem;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 1px solid #e1e5ea;
	border-radius: 8px;
	background: #f6f8fa;
	text-align: center;
}

.ukf-team-stat-value {
	font-size: clamp(1.25rem, 2.5vw, 1.7rem);
	font-weight: 700;
	line-height: 1.1;
}

.ukf-team-stat-label {
	margin-top: 0.35rem;
	color: #667085;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.25;
	text-transform: uppercase;
}

.ukf-team-form {
	grid-column: span 2;
}

.ukf-team-form-results {
	display: flex;
	min-height: 1.7rem;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	font-size: 1.05rem;
	font-weight: 700;
}

.ukf-team-form-result {
	display: inline-flex;
	width: 1.55rem;
	height: 1.55rem;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: #fff;
}

.ukf-team-form-w {
	background: #198754;
}

.ukf-team-form-d {
	background: #b7791f;
}

.ukf-team-form-l {
	background: #c53030;
}

.ukf-team-form-separator {
	margin: 0 0.16rem;
	color: #98a2b3;
}

.ukf-team-form-empty {
	color: #667085;
	font-size: 0.95rem;
}

@media (max-width: 620px) {
	.ukf-team-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ukf-team-card-position {
		justify-content: center;
	}
}

.ukf-position-tracker-card {
	max-width: 900px;
	margin: 1.5rem auto;
	overflow: hidden;
	border: 1px solid #d7dce2;
	border-top: 5px solid #f88c00;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(18, 36, 58, 0.08);
	color: #12243a;
}

.ukf-position-tracker-title {
	margin: 0;
	padding: 0.85rem 1rem;
	background: #12243a;
	color: #fff;
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	text-align: center;
}

.ukf-position-tracker-scroll {
	overflow-x: auto;
	background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
}

.ukf-position-tracker-chart {
	display: block;
	width: 100%;
	min-width: 560px;
	height: auto;
}

.ukf-position-grid-line,
.ukf-position-week-line,
.ukf-position-axis-line,
.ukf-position-trend-line,
.ukf-position-point {
	vector-effect: non-scaling-stroke;
}

.ukf-position-grid-line {
	stroke: #dfe4e9;
	stroke-width: 1;
}

.ukf-position-week-line {
	stroke: #edf0f3;
	stroke-width: 1;
	stroke-dasharray: 4 5;
}

.ukf-position-axis-line {
	stroke: #667085;
	stroke-width: 1.25;
}

.ukf-position-axis-text {
	fill: #667085;
	font-size: 12px;
	font-weight: 600;
}

.ukf-position-axis-title {
	fill: #344054;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.ukf-position-trend-line {
	fill: none;
	stroke: #f88c00;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 3;
}

.ukf-position-point {
	fill: #fff;
	stroke: #f88c00;
	stroke-width: 3;
}

.ukf-position-point-latest {
	fill: #b2000e;
	stroke: #b2000e;
}

.ukf-position-tracker-empty {
	margin: 0;
	padding: 1.4rem 1rem;
	color: #667085;
	text-align: center;
}

.ukf-results-component {
	max-width: 900px;
	margin: 1.5rem auto;
	color: #12243a;
}

.ukf-results-header {
	margin-bottom: 1rem;
	text-align: center;
}

.ukf-results-title {
	margin: 0;
	color: #12243a;
	font-size: clamp(1.4rem, 3vw, 2rem);
}

.ukf-results-season {
	margin-top: 0.2rem;
	color: #667085;
	font-size: 0.95rem;
}

.ukf-results-list {
	overflow: hidden;
	border: 1px solid #d7dce2;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(18, 36, 58, 0.08);
}

.ukf-results-date-group + .ukf-results-date-group {
	border-top: 1px solid #d7dce2;
}

.ukf-results-date {
	margin: 0;
	padding: 0.7rem 1rem;
	background: #12243a;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-align: center;
}

.ukf-result-match {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 0.8rem;
	min-height: 52px;
	padding: 0.55rem 1rem;
	align-items: center;
	border-bottom: 1px solid #e5e8ec;
}

.ukf-result-match:nth-child(even) {
	background: #f6f8fa;
}

.ukf-result-match:last-child {
	border-bottom: 0;
}

.ukf-result-team {
	font-weight: 600;
	line-height: 1.25;
}

.ukf-result-home {
	text-align: right;
}

.ukf-result-away {
	text-align: left;
}

.ukf-result-score {
	display: inline-flex;
	min-width: 68px;
	padding: 0.36rem 0.65rem;
	align-items: center;
	justify-content: center;
	gap: 0.38rem;
	border-radius: 999px;
	background: #f88c00;
	color: #12243a;
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
	font-weight: 800;
}

.ukf-results-more-wrap {
	margin-top: 1rem;
	text-align: center;
}

.ukf-results-more {
	padding: 0.65rem 1.15rem;
	border: 0;
	border-radius: 999px;
	background: #b2000e;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
}

.ukf-results-more:hover,
.ukf-results-more:focus-visible {
	background: #8f000b;
}

.ukf-results-more:focus-visible {
	outline: 3px solid rgba(248, 140, 0, 0.45);
	outline-offset: 3px;
}

@media (max-width: 560px) {
	.ukf-result-match {
		gap: 0.5rem;
		padding: 0.55rem 0.6rem;
	}

	.ukf-result-team {
		font-size: 0.88rem;
	}

	.ukf-result-score {
		min-width: 58px;
		padding: 0.32rem 0.5rem;
	}
}

.ukf-player-stats-component {
	max-width: 900px;
	margin: 1.5rem auto;
	color: #12243a;
}

.ukf-player-stats-header {
	margin-bottom: 1.1rem;
	text-align: center;
}

.ukf-player-stats-title {
	margin: 0;
	color: #12243a;
	font-size: clamp(1.4rem, 3vw, 2rem);
}

.ukf-player-stats-season {
	margin-top: 0.2rem;
	color: #667085;
	font-size: 0.95rem;
}

.ukf-player-stats-card {
	overflow: hidden;
	margin-bottom: 1.25rem;
	border: 1px solid #d7dce2;
	border-top: 5px solid #f88c00;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(18, 36, 58, 0.08);
}

.ukf-player-stats-discipline {
	border-top-color: #b2000e;
}

.ukf-player-stats-card h3 {
	margin: 0;
	padding: 0.85rem 1rem;
	background: #12243a;
	color: #fff;
	font-size: clamp(1rem, 2vw, 1.2rem);
	text-align: center;
}

.ukf-player-stats-scroll {
	overflow-x: auto;
}

.ukf-player-stats-table {
	width: 100%;
	min-width: 580px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}

.ukf-player-stats-table th,
.ukf-player-stats-table td {
	padding: 0.6rem 0.65rem;
	border: 0;
	border-bottom: 1px solid #e5e8ec;
	text-align: center;
	white-space: nowrap;
}

.ukf-player-stats-table thead th {
	background: #eef1f4;
	color: #12243a;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.ukf-player-stats-table tbody tr:nth-child(even) {
	background: #f7f8fa;
}

.ukf-player-stats-table tbody tr:last-child th,
.ukf-player-stats-table tbody tr:last-child td {
	border-bottom: 0;
}

.ukf-player-stats-table tbody th,
.ukf-player-stats-table .ukf-player-club {
	text-align: left;
}

.ukf-player-stats-table tbody th {
	font-weight: 650;
}

.ukf-player-stats-table .ukf-player-club {
	color: #475467;
}

.ukf-player-stats-table .ukf-player-points {
	color: #b2000e;
	font-weight: 800;
}

.ukf-player-stats-attacking .ukf-player-points {
	color: #9a5600;
}

.ukf-player-stats-empty {
	margin: 0;
	padding: 1.25rem;
	color: #667085;
	text-align: center;
}

@media (max-width: 620px) {
	.ukf-player-stats-table {
		min-width: 540px;
	}

	.ukf-player-stats-table th,
	.ukf-player-stats-table td {
		padding: 0.52rem 0.5rem;
	}
}
