.fp-feed {
	box-sizing: border-box;
	width: 100%;
	max-width: 56rem;
	min-width: 0;
	margin: 0 auto;
	padding: 0;
	border: 0;
	box-shadow: none;
	background: #fff;
	color: #303438;
	font: 16px/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	letter-spacing: normal;
	white-space: normal;
	text-align: left;
}

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

.fp-calendar,
.fp-predictions {
	box-sizing: border-box;
	width: 100%;
	max-width: 56rem;
	margin-inline: auto;
	background: #fff;
	color: #303438;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fp-calendar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 0.35rem;
	margin-top: 0;
	padding: 0.5rem 0.35rem;
	border-bottom: 2px solid #e0e2e4;
}

.fp-day-link {
	color: #71808c;
	font-size: 0.75rem;
	text-decoration: none;
}

.fp-day-link:last-child {
	text-align: right;
}

.fp-day-text,
.fp-date-label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.fp-date-form {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	margin: 0;
	font-size: 0.8rem;
	line-height: 1.4;
}

.fp-date-form input,
.fp-date-form button {
	box-sizing: border-box;
	min-height: 2rem;
	padding: 0.2rem 0.35rem;
	border: 1px solid #c9d0d6;
	border-radius: 0.25rem;
	font: inherit;
	color: #303438;
}

.fp-date-form input {
	width: 8rem;
	background: #fff;
}

.fp-date-form button {
	background: #f2f5f7;
	cursor: pointer;
}

.fp-predictions {
	margin-top: 0;
	margin-bottom: 1.5rem;
}

.fp-prediction {
	padding: 0.3rem 0.35rem 0.35rem;
	border-bottom: 2px solid #e0e2e4;
}

.fp-prediction:last-child {
	border-bottom: 0;
}

.fp-match {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 2.2rem 1.7rem 2.2rem minmax(0, 1fr);
	align-items: center;
	gap: 0.2rem;
	width: 100%;
	min-height: 2.2rem;
	font-size: clamp(1rem, 2.5vw, 1.375rem);
	font-weight: 700;
	line-height: 1.2;
}

.fp-team {
	display: block;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.fp-team-home {
	text-align: right;
}

.fp-team-away {
	text-align: left;
}

.fp-crest {
	display: block;
	width: 2.1rem;
	height: 2.1rem;
	margin: auto;
	object-fit: contain;
}

.fp-crest-empty {
	border-radius: 50%;
	background: #eceff2;
	color: #71808c;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 2.1rem;
	text-align: center;
}

.fp-vs {
	color: #7c858c;
	font-size: 0.75rem;
	font-weight: 700;
	text-align: center;
}

.fp-details {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.1rem;
	font-size: 0.75rem;
	line-height: 1.4;
}

.fp-kickoff {
	overflow: hidden;
	color: #7c858c;
	text-align: left;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fp-confidence {
	color: #287b49;
	font-weight: 700;
	text-align: center;
	white-space: nowrap;
}

.fp-pick {
	min-width: 0;
	font-weight: 700;
	text-align: right;
	overflow-wrap: anywhere;
}

.fp-pick-unavailable {
	color: #7c858c;
	font-weight: 400;
}

.fp-result {
	display: flex;
	justify-content: center;
	gap: 0.4rem;
	margin-top: 0.1rem;
	font-size: 0.8rem;
	line-height: 1.4;
}

.fp-outcome-won {
	color: #287b49;
}

.fp-outcome-lost {
	color: #c12c32;
}

.fp-outcome {
	font-weight: 700;
	white-space: nowrap;
}

.fp-result-pending {
	color: #7c858c;
}

.fp-feed .fp-empty,
.fp-feed .fp-admin-help {
	margin: 0;
	padding: 1rem 0.5rem;
	font: inherit;
	letter-spacing: normal;
	white-space: normal;
	overflow-wrap: anywhere;
}

.fp-feed .fp-admin-help {
	font-size: 0.85rem;
}

@media (max-width: 600px) {
	/* Let the feed reach the phone edges even inside a theme's padded content card. */
	body .fp-feed {
		width: calc(100vw - 20px);
		max-width: none;
		margin-inline: calc(50% - 50vw + 10px) !important;
	}

	.fp-feed .fp-calendar {
		grid-template-columns: 1.5rem minmax(0, 1fr) 1.5rem;
	}

	.fp-feed .fp-date-form,
	.fp-feed .fp-date-form label {
		min-width: 0;
		margin: 0;
		padding: 0;
	}

	.fp-feed .fp-date-form input {
		width: 8rem;
		max-width: 100%;
		min-width: 0;
	}

	.fp-feed .fp-date-form button {
		width: auto;
		min-width: 0;
		margin: 0;
		text-transform: none;
		letter-spacing: normal;
	}
}

/* A normal link makes the entire match keyboard- and touch-accessible. */
.fp-prediction > .fp-match-link { display: block; color: inherit; text-decoration: none; }
.fp-match-link:focus-visible { outline: 3px solid #287b49; outline-offset: 3px; }
.fp-match-link:hover .fp-team { text-decoration: underline; text-underline-offset: 3px; }
.fp-analysis-link-label { display: block; margin-top: 4px; color: #287b49; font-size: 0.72rem; font-weight: 600; text-align: right; }
.fp-analysis-page { width: min(960px, calc(100% - 32px)); margin: 0 auto; padding: 30px 0 48px; }
.fp-analysis { color: #20382c; font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; overflow-wrap: anywhere; }
.fp-analysis *, .fp-analysis *::before, .fp-analysis *::after { box-sizing: border-box; }
.fp-analysis a { color: #21623f; }
.fp-analysis .fp-back { display: inline-block; padding: 8px 0; margin-bottom: 16px; }
.fp-analysis h1 { font-size: clamp(1.65rem, 4vw, 2.5rem); line-height: 1.2; margin: 8px 0 14px; }
.fp-analysis h2 { font-size: 1.15rem; line-height: 1.35; margin: 0 0 12px; }
.fp-analysis p { margin: 0 0 14px; }
.fp-analysis section { padding: 24px 0; border-bottom: 1px solid #dce5de; }
.fp-analysis .fp-analysis-summary { background: #eff6ed; padding: 20px; border-left: 4px solid #387448; margin: 20px 0; }
.fp-analysis-summary h2 { font-size: 1.4rem; }
.fp-analysis-summary p:last-child { margin: 0; }
.fp-analysis-eyebrow { color: #486551; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.fp-probabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fp-probabilities > div { padding: 14px 8px; text-align: center; background: #f4f6f3; border: 1px solid #dce5de; border-radius: 6px; }
.fp-probabilities span { display: block; font-size: 0.85rem; }
.fp-probabilities strong { display: block; font-size: 1.35rem; margin-top: 4px; }
.fp-analysis-table-wrap { overflow-x: auto; margin-bottom: 18px; }
.fp-analysis .fp-analysis-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; table-layout: fixed; }
.fp-analysis-table th, .fp-analysis-table td { padding: 12px 8px; border-bottom: 1px solid #dce5de; text-align: left; vertical-align: top; }
.fp-analysis-table th:last-child, .fp-analysis-table td:last-child { width: 23%; text-align: right; }
.fp-analysis-table thead { background: #f4f6f3; }
.fp-selected-market { background: #eff6ed; }
.fp-equations { padding: 18px; margin-bottom: 16px; background: #f4f6f3; border-radius: 6px; }
.fp-equations p:last-child { margin: 0; }
.fp-history { list-style: none; padding: 0; margin: 0 0 16px; }
.fp-history li { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 10px; padding: 9px 0; border-bottom: 1px solid #e7ece8; font-size: 0.85rem; }
.fp-history time { color: #5c6c61; }
.fp-analysis-footnote { padding-top: 20px; color: #526358; font-size: 0.85rem; }
@media (max-width: 400px) {
	.fp-analysis-page { width: calc(100% - 24px); }
	.fp-analysis { font-size: 0.9rem; }
	.fp-analysis-table th, .fp-analysis-table td { padding: 10px 5px; font-size: 0.75rem; }
	.fp-probabilities { gap: 5px; }
	.fp-history li { grid-template-columns: 85px minmax(0, 1fr) auto; gap: 6px; }
}
