.f4y-mc-dashboard {
	border-radius: 8px;
	font-family: Arial, Helvetica, sans-serif;
}

.f4y-mc-toolbar {
	align-items: center;
	background: #fff;
	border-bottom: 1px solid var(--f4y-border);
	display: flex;
	gap: 16px;
	min-height: 72px;
	padding: 14px 20px;
}

.f4y-mc-toolbar__brand {
	align-items: center;
	display: flex;
	font-size: 19px;
	gap: 10px;
}

.f4y-mc-toolbar__brand strong {
	font-size: 24px;
}

.f4y-mc-toolbar__brand span:last-child {
	font-weight: 800;
}

.f4y-mc-toolbar__ball {
	font-size: 26px;
}

.f4y-mc-toolbar__season {
	color: var(--f4y-muted);
	font-size: 20px;
	font-weight: 800;
	margin-left: auto;
}

.f4y-mc-toolbar select {
	background: #fff;
	border: 1px solid #bbb;
	border-radius: 7px;
	font: inherit;
	font-weight: 700;
	min-width: 145px;
	padding: 9px 34px 9px 12px;
}

.f4y-mc-dashboard__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.75fr) minmax(285px, .85fr);
}

.f4y-mc-fixtures {
	border-right: 1px solid var(--f4y-border);
	min-width: 0;
	padding: 20px 24px 28px;
}

.f4y-mc-dashboard .f4y-mc-standings {
	min-width: 0;
	padding: 20px 18px 28px;
}

.f4y-mc-section-heading {
	align-items: center;
	display: flex;
	gap: 14px;
	justify-content: space-between;
	margin-bottom: 18px;
	min-height: 38px;
}

.f4y-mc-section-heading h3 {
	font-size: 17px;
	letter-spacing: .03em;
	margin: 0;
	text-transform: uppercase;
}

.f4y-mc-matchday-nav {
	align-items: center;
	display: flex;
	gap: 8px;
}

.f4y-mc-matchday-nav button {
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 50%;
	color: var(--f4y-red);
	cursor: pointer;
	height: 32px;
	width: 32px;
}

.f4y-mc-matchday-nav button:disabled {
	color: #aaa;
	cursor: default;
}

.f4y-mc-matchday-nav span {
	color: var(--f4y-muted);
	font-size: 13px;
	font-weight: 700;
	min-width: 82px;
	text-align: center;
}

.f4y-mc-fixture-day + .f4y-mc-fixture-day {
	margin-top: 24px;
}

.f4y-mc-fixture-day h4 {
	color: #555;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .035em;
	margin: 0 0 7px;
	text-transform: uppercase;
}

.f4y-mc-fixture {
	align-items: center;
	background: #fafafa;
	border-bottom: 1px solid #eee;
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(120px, 1fr) 62px minmax(120px, 1fr) 76px;
	min-height: 68px;
	padding: 8px 12px;
}

.f4y-mc-fixture.is-fortuna {
	background: linear-gradient(90deg, rgba(210, 10, 17, .08), #fff 38%);
	border-left: 4px solid var(--f4y-red);
	padding-left: 8px;
}

.f4y-mc-fixture__team {
	align-items: center;
	display: flex;
	font-size: 14px;
	font-weight: 700;
	gap: 9px;
	min-width: 0;
}

.f4y-mc-fixture__team span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.f4y-mc-fixture__team img,
.f4y-mc-standings__table img {
	flex: 0 0 auto;
	object-fit: contain;
}

.f4y-mc-fixture__team.is-home {
	justify-content: flex-end;
	text-align: right;
}

.f4y-mc-fixture__result {
	text-align: center;
}

.f4y-mc-fixture__result strong {
	display: block;
	font-size: 16px;
}

.f4y-mc-fixture__result small {
	color: var(--f4y-muted);
	display: block;
	font-size: 9px;
	margin-top: 2px;
	text-transform: uppercase;
}

.f4y-mc-fixture__action {
	font-size: 12px;
	text-align: right;
}

.f4y-mc-fixture__action a {
	color: var(--f4y-red);
	font-weight: 800;
	text-decoration: none;
}

.f4y-mc-fixture__action span {
	color: var(--f4y-muted);
}

.f4y-mc-standings__scroll {
	overflow-x: auto;
}

.f4y-mc-standings__table {
	border-collapse: collapse;
	font-size: 12px;
	width: 100%;
}

.f4y-mc-standings__table th,
.f4y-mc-standings__table td {
	border-bottom: 1px solid #eee;
	padding: 7px 5px;
	text-align: center;
}

.f4y-mc-standings__table thead th {
	border-bottom: 2px solid var(--f4y-red);
	font-size: 10px;
	text-transform: uppercase;
}

.f4y-mc-standings__table th[scope="row"] {
	align-items: center;
	display: flex;
	font-size: 12px;
	gap: 7px;
	text-align: left;
}

.f4y-mc-standings__table tr.is-fortuna {
	background: rgba(210, 10, 17, .08);
}

.f4y-mc-standings__table td:last-child {
	color: var(--f4y-red);
}

.f4y-mc-club-placeholder {
	background: #eee;
	border-radius: 50%;
	display: inline-block;
	flex: 0 0 26px;
	height: 26px;
	width: 26px;
}

.f4y-mc-fixtures__body.is-loading {
	opacity: .45;
	pointer-events: none;
}

.f4y-mc-compact-header {
	background: linear-gradient(135deg, #d20a11, #a50006);
	color: #fff;
	padding: 20px 22px;
}

.f4y-mc-compact-header h2,
.f4y-mc-compact-header p {
	color: inherit;
	margin: 0;
}

.f4y-mc-table > .f4y-mc-standings__scroll {
	padding: 12px 18px 20px;
}

@media (max-width: 860px) {
	.f4y-mc-dashboard__grid {
		grid-template-columns: 1fr;
	}

	.f4y-mc-fixtures {
		border-bottom: 1px solid var(--f4y-border);
		border-right: 0;
	}
}

@media (max-width: 620px) {
	.f4y-mc-toolbar {
		align-items: stretch;
		flex-wrap: wrap;
		gap: 8px 12px;
		padding: 12px;
	}

	.f4y-mc-toolbar__brand {
		font-size: 15px;
		width: 100%;
	}

	.f4y-mc-toolbar__brand strong {
		font-size: 20px;
	}

	.f4y-mc-toolbar__season {
		font-size: 16px;
		margin: auto 0;
	}

	.f4y-mc-toolbar select {
		margin-left: auto;
		min-width: 135px;
	}

	.f4y-mc-fixtures,
	.f4y-mc-dashboard .f4y-mc-standings {
		padding: 14px 10px 20px;
	}

	.f4y-mc-section-heading {
		align-items: flex-start;
		flex-direction: column;
		margin-bottom: 12px;
	}

	.f4y-mc-matchday-nav {
		justify-content: space-between;
		width: 100%;
	}

	.f4y-mc-fixture {
		gap: 5px;
		grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
		min-height: 64px;
		padding: 7px 5px;
	}

	.f4y-mc-fixture.is-fortuna {
		padding-left: 4px;
	}

	.f4y-mc-fixture__team {
		flex-direction: column;
		font-size: 11px;
		gap: 3px;
		text-align: center !important;
	}

	.f4y-mc-fixture__team.is-home {
		flex-direction: column-reverse;
		justify-content: center;
	}

	.f4y-mc-fixture__team span {
		white-space: normal;
	}

	.f4y-mc-fixture__team img {
		height: 30px;
		width: 30px;
	}

	.f4y-mc-fixture__action {
		grid-column: 1 / -1;
		text-align: center;
	}

	.f4y-mc-fixture__action span {
		display: none;
	}

	.f4y-mc-standings__table {
		font-size: 11px;
		min-width: 360px;
	}
}
