.ff-match-body,
.h2h-template {
	background: var(--color-bg);
	color: var(--color-text);
}

.ff-match-page {
	background: var(--color-bg);
	color: var(--color-text);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	letter-spacing: 0;
	min-height: 100vh;
}

.ff-match-page *,
.ff-match-page *::before,
.ff-match-page *::after {
	box-sizing: border-box;
	letter-spacing: 0;
}

.ff-match-page a {
	color: inherit;
	text-decoration: none;
}

.ff-match-page a:hover {
	color: var(--color-gold);
}

.ff-match-page table,
.ff-match-page canvas,
.ff-match-page img,
.ff-match-page svg {
	max-width: 100%;
}

.ff-match-article {
	margin: 0 auto;
	width: 100%;
}

.ff-page,
.content-layout,
.main-content,
.ff-match-main,
.ff-card,
.ff-match-hero,
.ff-match-score,
.ff-stat-row,
.ff-timeline {
	max-width: 100%;
	min-width: 0;
}

.ff-match-top-nav {
	background: #050914;
	margin-bottom: 16px;
	position: relative;
	z-index: 44;
}

.ff-page-chrome .ff-match-top-nav {
	margin-bottom: 0;
}

.country-nav {
	background: #050914;
	border-bottom: 1px solid var(--color-border);
	margin-bottom: 8px;
	position: relative;
	z-index: 45;
}

.ff-match-top-nav .country-nav {
	border-bottom: 0;
	margin-bottom: 0;
}

.country-nav__inner {
	margin: 0 auto;
	max-width: var(--ff-layout-max-width);
	padding: 10px 16px;
	position: relative;
}

.country-nav__button {
	align-items: center;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	color: var(--color-text);
	cursor: pointer;
	display: inline-flex;
	font-size: 13px;
	font-weight: 850;
	gap: 8px;
	min-height: 38px;
	padding: 8px 13px;
}

.country-nav__button:hover,
.country-nav__button:focus-visible,
.country-nav__button[aria-expanded="true"] {
	background: rgba(212, 175, 55, 0.12);
	border-color: rgba(212, 175, 55, 0.42);
	color: var(--color-gold);
}

.country-nav__chevron {
	color: inherit;
	font-size: 10px;
	line-height: 1;
	transition: transform 0.18s ease;
}

.country-nav__button[aria-expanded="true"] .country-nav__chevron {
	transform: rotate(180deg);
}

.country-nav__panel {
	background: #050914;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
	left: 16px;
	padding: 14px;
	position: absolute;
	right: 16px;
	top: calc(100% + 6px);
	z-index: 55;
}

.country-nav__panel-inner {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.country-nav__group {
	display: grid;
	gap: 10px;
	margin: 0;
}

.country-nav__country {
	color: var(--color-text);
	font-size: 13px;
	font-weight: 900;
	margin: 0;
}

.country-nav__league-list {
	display: grid;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.country-nav__league-list a,
.country-nav__league-list .is-disabled {
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 8px;
	color: var(--color-text-muted);
	display: grid;
	font-size: 12px;
	font-weight: 800;
	gap: 3px;
	padding: 10px 11px;
}

.country-nav__league-list a.is-active,
.country-nav__league-list a:hover,
.country-nav__league-list a:focus-visible {
	background: rgba(212, 175, 55, 0.12);
	border-color: rgba(212, 175, 55, 0.4);
	color: var(--color-gold);
}

.country-nav__league-list small {
	color: var(--color-text-muted);
	font-size: 11px;
	font-weight: 700;
}

.country-nav__league-list .is-disabled {
	cursor: default;
	opacity: 0.58;
}

.content-layout,
.ff-match-shell {
	display: block;
	gap: 16px;
	margin: 0 auto;
	max-width: 1280px;
	padding: 0 16px 56px;
	width: 100%;
}

.right-sidebar,
.ff-match-sidebar {
	display: none;
	min-width: 0;
}

.ff-match-main {
	display: grid;
	gap: 18px;
	min-width: 0;
}

.ff-match-sidebar {
	align-self: start;
	gap: 14px;
	position: sticky;
	top: 76px;
}

.ff-card {
	scroll-margin-top: var(--ff-match-anchor-offset);
}

.ff-section-head {
	border-bottom: 1px solid var(--color-border);
	margin: 0 0 18px;
	padding-bottom: 14px;
}

.ff-section-head--compact {
	margin-bottom: 12px;
}

.ff-section-head h2,
.ff-section-head h3,
.ff-sidebar-card h3 {
	color: var(--color-text);
	font-size: 22px;
	line-height: 1.3;
	margin: 0;
}

.ff-section-head h3,
.ff-sidebar-card h3 {
	font-size: 16px;
}

.ff-section-head p {
	color: var(--color-text-muted);
	font-size: 13px;
	line-height: 1.7;
	margin: 8px 0 0;
}

.ff-match-hero {
	background: transparent;
	border-bottom: 0;
	padding: 0;
}

.ff-match-hero__inner {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 14px;
	margin: 0;
	max-width: none;
	overflow: hidden;
	padding: 20px;
}

.ff-match-hero__topline,
.ff-match-hero__details {
	align-items: center;
	color: var(--color-text-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 12px;
	gap: 8px;
}

.ff-match-breadcrumb {
	margin: 0 auto 16px;
	max-width: var(--ff-layout-max-width);
	min-width: 0;
	padding: 0 16px;
	width: 100%;
}

.ff-match-breadcrumb__label {
	align-items: center;
	display: inline-flex;
	gap: 6px;
	min-width: 0;
	white-space: nowrap;
}

.ff-country-flag {
	border: 1px solid rgba(148, 163, 184, 0.45);
	border-radius: 2px;
	display: inline-block;
	flex: 0 0 auto;
	height: 0.8rem;
	vertical-align: -0.08em;
	width: 1.25rem;
}

.ff-country-flag--england {
	background:
		linear-gradient(to right, transparent 0 42%, #cf142b 42% 58%, transparent 58% 100%),
		linear-gradient(to bottom, transparent 0 38%, #cf142b 38% 62%, transparent 62% 100%),
		#ffffff;
}

.ff-match-top-nav .ff-match-breadcrumb {
	background: #050914;
	margin-bottom: 0;
	padding-bottom: 10px;
}

.ff-match-hero__topline a,
.ff-match-hero__topline span:not([aria-hidden="true"]),
.ff-match-hero__details span {
	background: var(--color-surface-2);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	padding: 5px 9px;
}

.ff-match-breadcrumb a {
	color: var(--color-text-muted);
	font-weight: 800;
}

.ff-match-breadcrumb a:hover {
	color: var(--color-gold);
}

.ff-match-breadcrumb [aria-hidden="true"] {
	color: var(--color-text-muted);
	font-weight: 900;
}

.ff-page-chrome__navigation .country-nav__inner,
.ff-page-chrome__navigation .ff-match-breadcrumb {
	margin-left: 0;
	margin-right: 0;
	max-width: none;
	min-width: 0;
	overflow-x: auto;
	padding-left: 0;
	padding-right: 0;
	width: 100%;
}

.ff-page-chrome__navigation .country-nav__panel {
	left: 0;
	right: 0;
}

.ff-match-scoreboard {
	background: #0b111d;
	box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
	margin-top: 18px;
	overflow: hidden;
	position: relative;
}

.ff-match-hero .ff-match-scoreboard {
	margin-top: 0;
}

.ff-match-scoreboard::before {
	background: linear-gradient(90deg, var(--color-home), var(--color-gold), var(--color-away));
	content: "";
	display: block;
	height: 3px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.ff-match-scoreboard__top {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	min-width: 0;
	padding-top: 2px;
}

.ff-match-scoreboard__competition,
.ff-match-scoreboard__venue {
	color: var(--color-text-muted);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.45;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ff-match-scoreboard__venue {
	text-align: right;
}

.ff-match-scoreboard__date {
	color: var(--color-text-muted);
	line-height: 1.4;
}

.ff-match-score {
	align-items: center;
	display: grid;
	gap: 22px;
	grid-template-columns: minmax(0, 1fr) minmax(132px, auto) minmax(0, 1fr);
	min-height: 96px;
	text-align: initial;
}

.ff-match-score__side {
	align-items: center;
	display: flex;
	gap: 12px;
	min-width: 0;
}

.ff-match-score__side--home {
	flex-direction: row-reverse;
	text-align: right;
}

.ff-match-score__side--away {
	text-align: left;
}

.ff-match-score__side.is-winner .ff-match-score__team {
	color: var(--color-gold);
}

.ff-match-score__team-block {
	display: grid;
	min-width: 0;
}

.ff-match-score__team {
	color: var(--color-text);
	display: -webkit-box;
	font-size: clamp(22px, 3vw, 34px);
	font-weight: 900;
	line-height: 1.12;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow-wrap: anywhere;
}

.ff-match-score__team-link {
	color: inherit;
	text-decoration: none;
	text-underline-offset: 0.18em;
	transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.ff-match-score__team-link:hover,
.ff-match-score__team-link:focus-visible {
	color: var(--color-gold);
	text-decoration: underline;
}

.ff-match-scoreboard__meta-row {
	align-items: center;
	display: grid;
	gap: 22px;
	grid-template-columns: minmax(0, 1fr) minmax(132px, auto) minmax(0, 1fr);
	margin-top: -8px;
}

.ff-match-scoreboard__standing {
	min-height: 25px;
	min-width: 0;
}

.ff-match-scoreboard__standing--home {
	text-align: right;
}

.ff-match-scoreboard__standing--away {
	text-align: left;
}

.ff-match-scoreboard__standing span,
.ff-match-scoreboard__status-text {
	align-items: center;
	color: var(--color-text-muted);
	display: inline-flex;
	font-size: 13px;
	font-weight: 850;
	line-height: 1.4;
	min-width: 0;
	overflow-wrap: anywhere;
}

.ff-match-scoreboard__status-text {
	color: var(--color-text);
	justify-content: center;
	text-align: center;
	white-space: nowrap;
}

.ff-match-score__center {
	min-width: 0;
	text-align: center;
}

.ff-match-score__date,
.ff-match-score__state {
	color: var(--color-text-muted);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.ff-match-score__numbers {
	align-items: center;
	color: var(--color-text);
	display: flex;
	font-size: clamp(44px, 5.8vw, 72px);
	font-weight: 900;
	gap: 14px;
	justify-content: center;
	line-height: 1;
	white-space: nowrap;
}

.ff-match-score__sep,
.ff-match-score__numbers i {
	color: var(--color-text-muted);
	font-style: normal;
	font-weight: 600;
}

.ff-match-score__versus {
	color: var(--color-text);
	font-size: clamp(34px, 5vw, 56px);
	font-weight: 950;
	line-height: 1;
	text-transform: lowercase;
	white-space: nowrap;
}

.ff-match-scoreboard__details {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ff-match-scoreboard__details li {
	align-items: center;
	background: var(--color-surface-2);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	display: inline-flex;
	gap: 6px;
	min-width: 0;
	padding: 8px 10px;
}

.ff-match-scoreboard__detail-icon {
	align-items: center;
	background: rgba(212, 175, 55, 0.12);
	border: 1px solid rgba(212, 175, 55, 0.35);
	border-radius: 999px;
	color: var(--color-text-muted);
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	height: 22px;
	justify-content: center;
	line-height: 1;
	min-width: 22px;
	white-space: nowrap;
}

.ff-match-scoreboard__details strong {
	color: var(--color-text);
	font-size: 12px;
	font-weight: 850;
	min-width: 0;
	overflow-wrap: anywhere;
}

#overview {
	scroll-margin-top: var(--ff-match-anchor-offset);
}

.ff-match-hero__bottom {
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(0, 1fr);
	margin-top: 16px;
}

.ff-match-summary-lead {
	background: var(--color-surface-2);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	padding: 14px;
}

.ff-match-form-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 8px;
	min-width: 0;
}

.ff-match-form-strip div {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	min-width: 0;
}

.ff-match-form-strip span {
	color: var(--color-text-muted);
	font-size: 11px;
	font-weight: 800;
	margin-right: 4px;
}

.ff-match-score__side--home .ff-match-form-strip,
.ff-match-score__side--home .ff-match-form-strip div {
	justify-content: flex-end;
}

.ff-match-score__side--away .ff-match-form-strip,
.ff-match-score__side--away .ff-match-form-strip div {
	justify-content: flex-start;
}

.ff-form {
	align-items: center;
	border-radius: var(--ff-radius-compact);
	color: #06100b;
	display: inline-flex;
	font-size: 11px;
	font-weight: 900;
	height: 22px;
	justify-content: center;
	min-width: 22px;
	padding: 0 6px;
}

.ff-form--w {
	background: var(--color-win);
}

.ff-form--d {
	background: var(--color-draw);
}

.ff-form--l {
	background: var(--color-loss);
	color: var(--color-text);
}

.ff-match-summary-lead span {
	color: var(--color-gold);
	display: block;
	font-size: 11px;
	font-weight: 900;
	margin-bottom: 6px;
}

.ff-match-summary-lead p,
.ff-analysis-note p,
.ff-copy p,
.ff-insight-card p,
.ff-empty-panel p {
	color: var(--color-text-muted);
	font-size: 14px;
	line-height: 1.75;
	margin: 0;
}

.ff-match-key-metrics {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 12px;
}

.ff-match-key-metrics div {
	align-items: center;
	background: rgba(8, 11, 18, 0.46);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	display: grid;
	gap: 6px;
	grid-template-columns: 1fr auto 1fr;
	padding: 9px 10px;
}

.ff-match-key-metrics strong {
	color: var(--color-text);
	font-size: 15px;
	font-weight: 900;
}

.ff-match-key-metrics strong:last-child {
	text-align: right;
}

.ff-match-key-metrics span {
	color: var(--color-gold);
	font-size: 11px;
	font-weight: 900;
	margin: 0;
	text-align: center;
}

.ff-match-tabs {
	background: rgba(8, 11, 18, 0.96);
	border-bottom: 1px solid var(--color-border);
	position: sticky;
	top: 0;
	z-index: 50;
	-webkit-overflow-scrolling: touch;
}

.ff-match-tabs.match-anchor-tabs {
	margin-bottom: 16px;
}

body.admin-bar .ff-match-tabs.match-anchor-tabs {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .ff-match-tabs.match-anchor-tabs {
		top: 46px;
	}
}

.ff-match-tabs__inner {
	margin: 0 auto;
	max-width: 1260px;
	padding: 10px 20px;
}

.ff-quick-stats__teams {
	display: grid;
	grid-template-columns: 1fr minmax(120px, 220px) 1fr;
}

.ff-quick-stats__teams {
	color: var(--color-text-muted);
	font-size: 12px;
	font-weight: 800;
	margin-bottom: 8px;
}

.ff-quick-stats__teams span {
	min-width: 0;
	overflow-wrap: anywhere;
}

.ff-quick-stats__teams span:nth-child(2) {
	text-align: center;
}

.ff-quick-stats__teams span:last-child {
	text-align: right;
}

.ff-stats-tabs {
	margin: 0 0 12px;
	-webkit-overflow-scrolling: touch;
}

.ff-stat-groups {
	display: grid;
	gap: 16px;
}

.ff-stat-rows {
	display: grid;
	gap: 0;
}

.ff-stat-meta {
	align-items: center;
	display: grid;
	gap: 8px;
	grid-template-columns: minmax(64px, 76px) minmax(0, 1fr) minmax(64px, 76px);
	margin-bottom: 6px;
}

.ff-stat-value {
	line-height: 1.2;
}

.ff-stat-value--home {
	text-align: left;
}

.ff-stat-value--away {
	text-align: right;
}

.ff-stat-label {
	overflow-wrap: anywhere;
}

.ff-stat-bars {
	margin-top: 0;
}

.ff-stat-bar--away span {
	margin-right: auto;
}

.ff-stat-bar.is-better span,
.ff-stat-bar.is-even span {
	opacity: 1;
}

.ff-stat-bar.is-worse span,
.ff-stat-bar.is-missing span {
	opacity: 0.55;
}

.ff-stat-details {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	margin-top: 12px;
	padding-top: 10px;
}

.ff-stat-details summary {
	color: var(--color-gold);
	cursor: pointer;
	font-size: 13px;
	font-weight: 850;
	list-style: none;
	text-align: center;
}

.ff-stat-details summary::-webkit-details-marker {
	display: none;
}

.ff-stat-details[open] summary {
	margin-bottom: 12px;
}

.ff-stat-details__inner {
	display: grid;
	gap: 14px;
}

.ff-stat-group {
	background: transparent;
	border: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 0;
	padding: 14px 0 0;
}

.ff-stat-group:first-child {
	border-top: 0;
	padding-top: 0;
}

.ff-stat-group h3 {
	color: var(--color-text);
	font-size: 14px;
	font-weight: 900;
	margin: 0 0 8px;
}

.ff-stat-note {
	background: rgba(212, 175, 55, 0.07);
	border: 1px solid rgba(212, 175, 55, 0.18);
	border-radius: 8px;
	margin-top: 10px;
	padding: 10px;
}

.ff-stat-note strong {
	color: var(--color-gold);
	display: block;
	font-size: 12px;
	font-weight: 900;
	margin-bottom: 4px;
}

.ff-stat-note p {
	color: var(--color-text-muted);
	font-size: 12px;
	line-height: 1.6;
	margin: 0;
}

.ff-quick-stats__summary,
.ff-h2h-summary__grid,
.ff-chart-grid,
.ff-related__grid,
.ff-insight-card-grid {
	display: grid;
	gap: 14px;
}

.ff-quick-stats__summary {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 18px;
}

.ff-quick-stats__summary > div,
.ff-mini-metrics > div,
.ff-insight-card,
.ff-split-panel,
.ff-empty-panel {
	background: var(--color-surface-2);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	padding: 14px;
}

.ff-quick-stats__summary span,
.ff-mini-metrics span {
	color: var(--color-text-muted);
	display: block;
	font-size: 12px;
	font-weight: 800;
	margin-bottom: 5px;
}

.ff-quick-stats__summary strong,
.ff-mini-metrics strong {
	color: var(--color-text);
	display: block;
	font-size: 24px;
	line-height: 1.1;
}

.ff-quick-stats__summary p {
	color: var(--color-text-muted);
	font-size: 12px;
	margin: 7px 0 0;
}

.ff-badge {
	background: rgba(212, 175, 55, 0.1);
	border: 1px solid rgba(212, 175, 55, 0.35);
	border-radius: 999px;
	color: var(--color-gold);
	display: inline-flex;
	font-size: 12px;
	font-weight: 900;
	margin-bottom: 8px;
	padding: 5px 9px;
}

.ff-chart-box {
	background: var(--color-surface-2);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	min-height: 320px;
	padding: 14px;
	position: relative;
}

.ff-chart-box h3 {
	color: var(--color-text);
	font-size: 15px;
	margin: 0 0 10px;
}

.ff-chart-box canvas {
	display: block;
	height: 260px !important;
	width: 100% !important;
}

.ff-chart-box--radar {
	min-height: 470px;
}

.ff-chart-box--radar canvas {
	height: 420px !important;
}

.ff-empty {
	color: var(--color-text-muted);
	font-size: 13px;
	margin: 0;
}

.ff-h2h-summary__grid {
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.ff-h2h-record {
	align-items: stretch;
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ff-h2h-record > div {
	background: var(--color-surface-2);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	padding: 16px;
	text-align: center;
}

.ff-h2h-record span,
.ff-h2h-record small {
	color: var(--color-text-muted);
	display: block;
	font-size: 12px;
}

.ff-h2h-record strong {
	color: var(--color-text);
	display: block;
	font-size: 38px;
	line-height: 1;
	margin: 8px 0;
}

.ff-mini-metrics {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ff-chart-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 16px;
}

.ff-analysis-note {
	background: #0b111d;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	margin-top: 16px;
	padding: 14px;
}

.ff-analysis-note strong {
	color: var(--color-gold);
	display: block;
	font-size: 13px;
	margin-bottom: 6px;
}

.ff-h2h-record-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0 16px;
}

.ff-h2h-record-tab {
	align-items: center;
	background: var(--color-surface-2);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	color: var(--color-text-muted);
	cursor: pointer;
	display: inline-flex;
	font-size: 13px;
	font-weight: 900;
	min-height: 36px;
	padding: 8px 14px;
}

.ff-h2h-record-tab.is-active {
	background: var(--color-home);
	border-color: var(--color-home);
	color: #fff;
}

.ff-h2h-record-panel[hidden] {
	display: none;
}

.ff-h2h-record-overview {
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	margin-bottom: 14px;
}

.ff-h2h-record-scoreline,
.ff-h2h-record-metrics {
	background: var(--color-surface-2);
	border: 1px solid var(--color-border);
	border-radius: 8px;
}

.ff-h2h-record-scoreline {
	align-items: center;
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding: 14px;
	text-align: center;
}

.ff-h2h-record-scoreline strong {
	color: var(--color-text);
	font-size: 22px;
	line-height: 1.1;
}

.ff-h2h-record-metrics {
	display: grid;
	gap: 0;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	overflow: hidden;
}

.ff-h2h-record-metrics > div {
	border-left: 1px solid var(--color-border);
	min-width: 0;
	padding: 12px;
	text-align: center;
}

.ff-h2h-record-metrics > div:first-child {
	border-left: 0;
}

.ff-h2h-record-metrics span {
	color: var(--color-text-muted);
	display: block;
	font-size: 11px;
	font-weight: 800;
	margin-bottom: 4px;
}

.ff-h2h-record-metrics strong {
	color: var(--color-text);
	display: block;
	font-size: 18px;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.ff-h2h-match-list {
	border: 1px solid var(--color-border);
	border-radius: 8px;
	overflow: hidden;
}

.ff-h2h-match-list__title {
	background: rgba(148, 163, 184, 0.14);
	color: var(--color-text);
	font-size: 13px;
	font-weight: 900;
	padding: 9px 12px;
}

.ff-h2h-match-row {
	align-items: center;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(98px, 0.6fr) minmax(0, 1.8fr) minmax(52px, 0.3fr) 34px;
	padding: 10px 12px;
}

.ff-h2h-match-row + .ff-h2h-match-row {
	border-top: 1px solid var(--color-border);
}

.ff-h2h-match-row__meta {
	align-items: center;
	color: var(--color-text-muted);
	display: flex;
	font-size: 12px;
	font-weight: 800;
	gap: 10px;
	min-width: 0;
}

.ff-h2h-match-row__competition {
	align-items: center;
	color: var(--color-text);
	display: inline-flex;
	font-weight: 900;
	gap: 5px;
	white-space: nowrap;
}

.ff-h2h-match-row__teams,
.ff-h2h-match-row__score {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.ff-h2h-match-row__team {
	color: var(--color-text);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
	min-width: 0;
	overflow-wrap: anywhere;
}

.ff-h2h-match-row__team.is-base-team {
	font-weight: 950;
}

.ff-h2h-match-row__score {
	color: var(--color-text);
	font-size: 13px;
	font-weight: 900;
	justify-items: center;
}

.ff-h2h-match-result {
	align-items: center;
	border-radius: 6px;
	color: #fff;
	display: inline-flex;
	font-size: 12px;
	font-weight: 950;
	height: 24px;
	justify-content: center;
	width: 24px;
}

.ff-h2h-match-result--win {
	background: #16a34a;
}

.ff-h2h-match-result--draw {
	background: #f59e0b;
}

.ff-h2h-match-result--loss {
	background: #dc2626;
}

.ff-table-scroll {
	overflow-x: auto;
}

.ff-data-table,
.ff-mini-table {
	border-collapse: collapse;
	min-width: 620px;
	width: 100%;
}

.ff-data-table th,
.ff-data-table td,
.ff-mini-table th,
.ff-mini-table td {
	border-bottom: 1px solid var(--color-border);
	color: var(--color-text-muted);
	font-size: 13px;
	padding: 10px 8px;
	text-align: left;
	vertical-align: middle;
}

.ff-data-table th,
.ff-mini-table th {
	color: var(--color-text);
	font-size: 12px;
	font-weight: 850;
}

.ff-data-table strong {
	color: var(--color-text);
}

.ff-data-table a {
	color: var(--color-text);
	font-weight: 750;
}

.ff-data-table--compact {
	min-width: 700px;
}

.ff-ranking .ff-table-scroll {
	max-width: 100%;
	overflow-x: visible;
}

.ff-ranking .ff-data-table {
	min-width: 0;
	table-layout: fixed;
	width: 100%;
}

.ff-ranking .ff-data-table th,
.ff-ranking .ff-data-table td {
	overflow-wrap: anywhere;
	text-align: center;
	white-space: normal;
	word-break: normal;
}

.ff-ranking .ff-data-table th:first-child,
.ff-ranking .ff-data-table td:first-child,
.ff-ranking .ff-data-table th:last-child,
.ff-ranking .ff-data-table td:last-child {
	width: 32%;
}

.ff-ranking .ff-data-table th:nth-child(2),
.ff-ranking .ff-data-table td:nth-child(2) {
	width: 36%;
}

#league-standings.ff-standings-section {
	padding: 13px;
}

#team-league-standings.ff-standings-section {
	padding: 16px;
}

#league-standings > .ff-league-standings__scroll.ff-standings-table-wrap,
#team-league-standings > .ff-league-standings__scroll.ff-standings-table-wrap {
	margin-inline: -2px;
	padding-inline: 2px;
}

.ff-league-standings__scroll {
	-webkit-overflow-scrolling: touch;
	overflow-x: auto;
}

.ff-league-standings__table {
	border-collapse: collapse;
	min-width: 760px;
	width: 100%;
}

.ff-league-standings__table th,
.ff-league-standings__table td {
	border-bottom: 1px solid var(--color-border);
	color: var(--color-text-muted);
	font-size: 13px;
	padding: 9px 7px;
	text-align: center;
	white-space: nowrap;
}

.ff-league-standings__table th {
	color: var(--color-text);
	font-size: 12px;
	font-weight: 850;
}

.ff-league-standings__team {
	color: var(--color-text) !important;
	font-weight: 850;
	min-width: 180px;
	text-align: left !important;
}

.ff-league-standings__rank,
.ff-league-standings__rank-heading {
	left: 0;
	min-width: 70px;
	position: sticky;
	z-index: 3;
}

.ff-league-standings__team,
.ff-league-standings__team-heading {
	background: #0b111d;
	left: 70px;
	position: sticky;
	z-index: 3;
}

.ff-league-standings__rank,
.ff-league-standings__rank-heading {
	background: #0b111d;
}

.ff-league-standings__table thead .ff-league-standings__rank-heading,
.ff-league-standings__table thead .ff-league-standings__team-heading {
	z-index: 5;
}

.ff-league-standings__team-inner {
	align-items: center;
	display: flex;
	gap: 8px;
	justify-content: space-between;
	min-width: 0;
	width: 100%;
}

.ff-league-standings__team-main {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ff-league-standings__team-link,
.ff-league-standings__team-main > span {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ff-league-standings__table .is-current-match-team > .ff-league-standings__rank,
.ff-league-standings__table .is-current-match-team > .ff-league-standings__team {
	background: linear-gradient(rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.08)), #0b111d;
}

.ff-league-standings__badge {
	align-items: center;
	background: rgba(212, 175, 55, 0.14);
	border: 1px solid rgba(212, 175, 55, 0.42);
	border-radius: 999px;
	color: var(--color-gold);
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 10px;
	font-weight: 900;
	justify-content: center;
	line-height: 1;
	margin-left: auto;
	min-width: 30px;
	padding: 4px 6px;
	vertical-align: middle;
}

.ff-league-standings__team-link {
	color: inherit;
	text-decoration: none;
	text-underline-offset: 0.16em;
	transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.ff-league-standings__team-link:hover,
.ff-league-standings__team-link:focus-visible {
	color: var(--color-gold);
	text-decoration: underline;
}

.ff-league-standings__points {
	color: var(--color-gold) !important;
	font-weight: 900;
}

.ff-league-standings__form {
	display: inline-flex;
	gap: 4px;
}

.ff-ranking__form {
	justify-content: center;
}

.ff-league-standings__table .is-current-match-team {
	background: rgba(212, 175, 55, 0.08);
}

.ff-league-standings__table .is-home-team {
	box-shadow: inset 3px 0 0 var(--color-home);
}

.ff-league-standings__table .is-away-team {
	box-shadow: inset 3px 0 0 var(--color-away);
}

.ff-standings-empty {
	background: var(--color-surface-2);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	color: var(--color-text-muted);
	display: grid;
	gap: 8px;
	padding: 16px;
}

#league-standings .ff-league-standings__header {
	gap: 3px;
	margin-bottom: 10px;
}

#league-standings .ff-league-standings__title {
	font-size: 0.96rem;
	line-height: 1.18;
}

#league-standings .ff-league-standings__header p {
	font-size: 0.78rem;
	line-height: 1.45;
}

#league-standings .ff-league-standings__table {
	min-width: 700px;
}

#league-standings .ff-league-standings__table th,
#league-standings .ff-league-standings__table td {
	font-size: 12px;
	padding: 7px 6px;
}

#league-standings .ff-league-standings__table th {
	font-size: 11px;
}

#league-standings .ff-league-standings__rank,
#league-standings .ff-league-standings__rank-heading {
	min-width: 56px;
}

#league-standings .ff-league-standings__team,
#league-standings .ff-league-standings__team-heading {
	left: 56px;
}

#league-standings .ff-league-standings__team {
	min-width: 160px;
}

#league-standings .ff-league-standings__team-inner {
	gap: 6px;
}

#league-standings .ff-league-standings__badge {
	font-size: 9px;
	min-width: 26px;
	padding: 3px 5px;
}

#league-standings .ff-league-standings__form {
	gap: 3px;
}

#league-standings .ff-form {
	font-size: 10px;
	height: 20px;
	min-width: 20px;
	padding: 0 5px;
}

.ff-standings-empty strong {
	color: var(--color-text);
	font-size: 15px;
	font-weight: 850;
}

.ff-standings-empty p {
	font-size: 13px;
	line-height: 1.7;
	margin: 0;
}

.ff-match-content-section {
	display: grid;
	gap: 14px;
}

.ff-match-content-section .ff-section-head {
	margin-bottom: 0;
}

.ff-match-content-section__body {
	color: var(--color-text-muted);
	display: grid;
	font-size: 14px;
	gap: 12px;
	line-height: 1.8;
}

.ff-match-content-section__body p {
	margin: 0;
}

.ff-match-content-section__body ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding-left: 18px;
}

.ff-match-content-section__body li {
	padding-left: 2px;
}

.ff-match-content-section__body a {
	color: var(--color-gold);
	font-weight: 850;
	text-decoration: none;
	text-underline-offset: 0.16em;
}

.ff-match-content-section__body a:hover,
.ff-match-content-section__body a:focus-visible {
	text-decoration: underline;
}

.ff-related-round-matches__rows {
	display: grid;
	overflow: hidden;
}

.ff-split-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ff-split-panel h3,
.ff-lineup-team h3,
.ff-lineup-team h4,
.ff-insight-card h3,
.ff-related h3,
.ff-copy h3 {
	color: var(--color-text);
	font-size: 16px;
	margin: 0 0 12px;
}

.ff-recent-summary {
	background: var(--color-surface-2);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	display: grid;
	gap: 8px;
	margin-bottom: 14px;
	padding: 12px;
}

.ff-recent-summary__row {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr minmax(110px, 160px) 1fr;
}

.ff-recent-summary__row strong {
	color: var(--color-text);
	font-size: 15px;
	font-weight: 900;
}

.ff-recent-summary__row strong:last-child {
	text-align: right;
}

.ff-recent-summary__row span {
	color: var(--color-text-muted);
	font-size: 12px;
	font-weight: 850;
	text-align: center;
}

.ff-recent-summary__row--form strong {
	color: var(--color-gold);
	letter-spacing: 0.08em;
}

.ff-lineup-team h4 {
	color: var(--color-gold);
	font-size: 13px;
	margin-top: 18px;
}

.ff-event-timeline__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	padding-block: 4px;
	position: relative;
}

.ff-event-timeline__body::before {
	content: "";
	display: none;
}

.ff-event-period {
	align-items: center;
	background: rgba(12, 74, 86, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 8px;
	color: var(--color-text);
	display: flex;
	font-size: 13px;
	font-weight: 900;
	justify-content: space-between;
	letter-spacing: 0;
	padding: 9px 12px;
	position: relative;
	z-index: 1;
}

.ff-event-period__score {
	color: var(--color-gold);
	font-weight: 950;
}

.ff-event-row {
	display: flex;
	min-width: 0;
	position: relative;
	width: 100%;
	z-index: 1;
}

.ff-event-row::before {
	content: "";
	display: none;
}

.ff-event-row--home {
	justify-content: flex-start;
	text-align: left;
}

.ff-event-row--away {
	justify-content: flex-end;
	text-align: right;
}

.ff-event-row--neutral {
	justify-content: center;
	text-align: center;
}

.ff-event-row--home .ff-event-cell {
	justify-content: flex-start;
}

.ff-event-row--away .ff-event-cell {
	justify-content: flex-end;
}

.ff-event-row--neutral .ff-event-cell {
	justify-content: center;
}

.ff-event-cell {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: #e5f3f6;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	max-width: min(100%, 620px);
	min-width: 0;
	padding: 4px 0;
	width: auto;
}

.ff-event-row--home .ff-event-cell {
	border-left: 0;
}

.ff-event-row--away .ff-event-cell {
	border-right: 0;
}

.ff-event-row--goal .ff-event-cell {
	background: transparent;
	border-color: transparent;
}

.ff-event-row--var .ff-event-cell,
.ff-event-row--penalty-missed .ff-event-cell {
	background: transparent;
	border-color: transparent;
}

.ff-event-row--card .ff-event-cell {
	background: transparent;
}

.ff-event-row--red-card .ff-event-cell {
	background: transparent;
	border-color: transparent;
}

.ff-event-row--sub .ff-event-cell {
	background: transparent;
}

.ff-event-row--event .ff-event-cell {
	background: transparent;
}

.ff-event-minute {
	color: var(--color-gold);
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 950;
	white-space: nowrap;
}

.ff-event-icon {
	align-items: center;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	color: var(--color-gold);
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 14px;
	font-weight: 800;
	height: 26px;
	justify-content: center;
	min-width: 26px;
	padding: 0 5px;
	white-space: nowrap;
}

.ff-event-icon::before {
	content: attr(data-event-icon);
}

.ff-event-text {
	align-items: center;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	min-width: 0;
	overflow-wrap: anywhere;
}

.ff-event-row--away .ff-event-text {
	justify-content: flex-end;
	text-align: right;
}

.ff-event-text--stack {
	align-items: center;
	flex-direction: row;
	gap: 6px;
	line-height: 1.35;
}

.ff-event-row--away .ff-event-text--stack {
	align-items: flex-end;
	justify-content: flex-end;
}

.ff-event-player {
	font-size: 13px;
	font-weight: 750;
	line-height: 1.35;
}

.ff-event-player--primary,
.ff-event-player--in {
	color: var(--color-text);
}

.ff-event-player-link {
	color: inherit;
	text-decoration: none;
	text-underline-offset: 0.16em;
	transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.ff-event-player-link:hover,
.ff-event-player-link:focus-visible {
	color: var(--color-gold);
	text-decoration: underline;
}

.ff-event-player--out,
.ff-event-assist,
.ff-event-detail,
.ff-event-sub-separator,
.ff-event-sub-line {
	color: var(--color-text-muted);
	font-size: 13px;
	font-weight: 650;
}

.ff-event-assist__label,
.ff-event-label {
	color: var(--color-gold);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0;
	margin-right: 4px;
}

.ff-event-label--out {
	color: var(--color-text-muted);
}

.ff-event-sub-line {
	align-items: baseline;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	justify-content: flex-start;
}

.ff-event-row--away .ff-event-sub-line {
	justify-content: flex-end;
}

.ff-event-score {
	background: rgba(34, 197, 94, 0.15);
	border: 1px solid rgba(34, 197, 94, 0.35);
	border-radius: 999px;
	color: var(--color-text);
	font-size: 12px;
	font-weight: 900;
	padding: 3px 7px;
	white-space: nowrap;
}

.ff-lineup-team__head {
	border-bottom: 1px solid var(--color-border);
	margin-bottom: 14px;
	padding-bottom: 12px;
}

.ff-lineup-blocks,
.ff-lineup-section {
	display: grid;
	gap: 14px;
	min-width: 0;
}

.ff-lineup-section > h3 {
	color: var(--color-text);
	font-size: 15px;
	font-weight: 900;
	margin: 0;
}

.ff-lineup-compare {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	min-width: 0;
}

.ff-lineup-team {
	min-width: 0;
}

.ff-lineup-team__side {
	color: var(--color-gold) !important;
	font-size: 11px !important;
	font-weight: 900;
	text-transform: uppercase;
}

.ff-lineup-team__head span,
.ff-lineup-team__head small {
	color: var(--color-text-muted);
	display: block;
	font-size: 12px;
	margin-top: 4px;
}

.ff-player-list {
	display: grid;
	gap: 7px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ff-player-list__item {
	align-items: center;
	background: #0b111d;
	border: 1px solid var(--color-border);
	border-radius: 6px;
	display: grid;
	gap: 8px;
	grid-template-columns: 42px minmax(0, 1fr) 38px;
	min-height: 38px;
	padding: 7px 8px;
}

.ff-player-list__num {
	color: var(--color-gold);
	font-size: 12px;
	font-weight: 900;
}

.ff-player-list__name {
	color: var(--color-text);
	font-size: 13px;
	font-weight: 750;
	overflow-wrap: anywhere;
}

.ff-lineup-player-name-with-flag {
	align-items: baseline;
	display: inline-flex;
	gap: 6px;
	min-width: 0;
}

.ff-lineup-player-flag {
	flex: 0 0 auto;
	font-size: 0.95em;
	line-height: 1;
}

.ff-lineup-player-link {
	color: inherit;
	text-decoration: none;
	text-underline-offset: 0.16em;
	transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.ff-lineup-player-link:hover,
.ff-lineup-player-link:focus-visible {
	color: var(--color-gold);
	text-decoration: underline;
}

.ff-player-list__pos {
	color: var(--color-text-muted);
	font-size: 12px;
	text-align: right;
}

.ff-analysis__lead {
	background: #0b111d;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.75;
	margin-bottom: 14px;
	padding: 14px;
}

.ff-analysis__lead strong {
	color: var(--color-gold);
	display: block;
	margin-bottom: 8px;
}

.ff-ai-review__body {
	color: var(--color-text);
	display: grid;
	font-size: 14px;
	gap: 10px;
	line-height: 1.75;
	margin-top: 14px;
}

.ff-ai-review__body p,
.ff-ai-review__note p,
.ff-ai-review__disclaimer {
	font-size: inherit;
	line-height: inherit;
	margin: 0;
}

.ff-ai-review__grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 18px;
}

.ff-ai-review__block,
.ff-ai-review__note {
	border-top: 1px solid var(--color-border);
	font-size: 14px;
	line-height: 1.75;
	padding-top: 12px;
}

.ff-ai-review__block h3 {
	color: var(--color-gold);
	display: block;
	font-size: 14px;
	margin-bottom: 8px;
}

.ff-ai-review__block ul {
	display: grid;
	gap: 7px;
	margin: 0;
	padding-left: 1.2em;
}

.ff-ai-review__note {
	color: var(--color-text);
	margin-top: 14px;
}

.ff-ai-review__disclaimer {
	background: rgba(255, 255, 255, 0.04);
	border-left: 3px solid var(--color-gold);
	color: var(--color-text-muted);
	font-size: 12px;
	line-height: 1.7;
	margin-top: 16px;
	padding: 10px 12px;
}

.ff-insight-card-grid,
.ff-related__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ff-link-list,
.ff-sidebar-list {
	display: grid;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ff-link-list a,
.ff-sidebar-list a {
	background: #0b111d;
	border: 1px solid var(--color-border);
	border-radius: 6px;
	display: grid;
	gap: 3px;
	padding: 10px;
}

.ff-link-list span,
.ff-sidebar-list span {
	color: var(--color-text);
	font-size: 13px;
	font-weight: 750;
}

.ff-link-list small,
.ff-sidebar-list small {
	color: var(--color-text-muted);
	font-size: 12px;
}

.ff-copy {
	display: grid;
	gap: 14px;
}

.ff-copy h3 {
	margin-bottom: -4px;
}

.ff-ad-slot {
	align-items: center;
	background: #0b111d;
	border: 1px dashed rgba(212, 175, 55, 0.45);
	border-radius: 8px;
	color: var(--color-text-muted);
	display: flex;
	gap: 10px;
	justify-content: center;
	min-height: 86px;
	padding: 14px;
	text-align: center;
}

.ff-ad-slot span {
	background: rgba(212, 175, 55, 0.14);
	border: 1px solid rgba(212, 175, 55, 0.35);
	border-radius: 4px;
	color: var(--color-gold);
	font-size: 11px;
	font-weight: 900;
	padding: 4px 7px;
}

.ff-ad-slot p {
	font-size: 12px;
	margin: 0;
}

.ff-ad-slot--sidebar {
	min-height: 280px;
}

.ff-sidebar-card {
	padding: 14px;
}

.ff-mini-table {
	min-width: 0;
}

.ff-mini-table th,
.ff-mini-table td {
	font-size: 12px;
	padding: 8px 4px;
}

@media (min-width: 640px) {
	.ff-match-top-nav {
		box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
		position: sticky;
		top: 0;
		z-index: 48;
	}

	body.admin-bar .ff-match-top-nav {
		top: 32px;
	}

	.ff-match-tabs.match-anchor-tabs {
		top: var(--ff-sticky-tab-top);
		z-index: 43;
	}

	body.admin-bar .ff-match-tabs.match-anchor-tabs {
		top: calc(var(--ff-sticky-tab-top) + 32px);
	}

	.left-league-nav,
	.ff-match-sidebar {
		top: var(--ff-sticky-side-top);
	}

	.left-league-nav .ff-league-nav,
	.ff-match-sidebar {
		max-height: none;
		overflow: visible;
		overscroll-behavior: auto;
		scrollbar-width: thin;
	}

	.ff-card,
	#overview {
		scroll-margin-top: var(--ff-match-anchor-offset);
	}
}

@media (min-width: 1024px) {
	.ff-match-page {
		--ff-page-chrome-sticky-height: 150px;
		--ff-page-chrome-sticky-gap: 0px;
		--ff-sticky-sidebar-gap: 10px;
		--ff-sticky-offset: calc(var(--ff-page-chrome-sticky-height) + var(--ff-page-chrome-sticky-gap));
		--ff-sticky-sidebar-offset: calc(var(--ff-sticky-offset) + var(--ff-sticky-sidebar-gap));
		--ff-sticky-tab-top: var(--ff-sticky-offset);
		--ff-sticky-side-top: var(--ff-sticky-sidebar-offset);
		--ff-match-anchor-offset: calc(var(--ff-sticky-tab-top) + var(--ff-match-tabs-height) + var(--ff-anchor-scroll-gap));
	}

	.ff-page-chrome--match {
		min-height: var(--ff-page-chrome-sticky-height);
	}

	.ff-page-chrome--match .ff-match-top-nav .country-nav {
		display: none;
	}

	.ff-page-chrome__navigation .country-nav__inner {
		padding-bottom: 8px;
		padding-top: 8px;
	}

	.ff-match-top-nav .ff-match-breadcrumb {
		padding-bottom: 6px;
	}

	.ff-page-chrome .ff-match-top-nav {
		box-shadow: none;
		position: relative;
		top: auto;
		z-index: auto;
	}

	.ff-match-tabs.match-anchor-tabs {
		background: var(--color-bg);
	}

	body.admin-bar .ff-page-chrome .ff-match-top-nav {
		top: auto;
	}
}

@media (min-width: 640px) and (max-width: 782px) {
	body.admin-bar .ff-match-top-nav {
		top: 46px;
	}

	body.admin-bar .ff-match-tabs.match-anchor-tabs {
		top: calc(var(--ff-sticky-tab-top) + 46px);
	}
}

@media (min-width: 1024px) {
	.content-layout,
	.ff-match-shell {
		display: grid;
		grid-template-columns: 200px minmax(0, 1fr);
	}

	.right-sidebar,
	.ff-match-sidebar {
		display: none;
	}

	.left-league-nav {
		display: block;
	}
}

@media (min-width: 1024px) {
	.content-layout,
	.ff-match-shell {
		grid-template-columns: 220px minmax(0, 720px) 300px;
	}

	.right-sidebar,
	.ff-match-sidebar {
		display: grid;
	}
}

@media (min-width: 640px) and (max-width: 1023px) {
	.content-layout,
	.ff-match-shell {
		display: flex;
		flex-direction: column;
	}

	.main-content,
	.ff-match-main {
		order: 1;
	}

	.left-league-nav {
		align-self: stretch;
		margin: 18px 0 0;
		order: 2;
		position: static;
		top: auto;
	}

	.right-sidebar,
	.ff-match-sidebar {
		display: none;
	}
}

@media (max-width: 820px) {
	.ff-match-hero {
		padding: 0;
	}

	.ff-match-hero__inner,
	.ff-card {
		padding: 14px;
	}

	.content-layout,
	.ff-match-shell {
		padding: 0 10px 40px;
	}

	.ff-match-scoreboard,
	.ff-match-hero__bottom,
	.ff-match-key-metrics,
	.ff-h2h-summary__grid,
	.ff-chart-grid,
	.ff-split-grid,
	.ff-ai-review__grid,
	.ff-insight-card-grid,
	.ff-related__grid,
	.ff-quick-stats__summary {
		grid-template-columns: 1fr;
	}

	.ff-match-scoreboard {
		gap: 14px;
		padding: 16px;
	}

	.ff-match-score {
		gap: 14px;
		grid-template-columns: minmax(0, 1fr) minmax(112px, auto) minmax(0, 1fr);
	}

	.ff-match-score__numbers {
		font-size: 44px;
	}

	.ff-quick-stats__teams {
		grid-template-columns: minmax(0, 1fr) minmax(54px, 0.6fr) minmax(0, 1fr);
	}

	.ff-ranking .ff-data-table th,
	.ff-ranking .ff-data-table td {
		font-size: 12px;
		line-height: 1.45;
		padding: 9px 5px;
	}
}

@media (max-width: 767px) {
	.ff-match-page {
		--ff-sticky-tab-top: 0px;
		--ff-match-tabs-height: 54px;
		--ff-match-anchor-offset: calc(var(--ff-match-tabs-height) + 12px);
	}

	body.admin-bar .ff-match-page {
		--ff-match-anchor-offset: calc(46px + var(--ff-match-tabs-height) + 12px);
	}

	.ff-match-tabs.match-anchor-tabs {
		margin-bottom: 12px;
		position: sticky;
		top: 0;
		z-index: 55;
	}

	body.admin-bar .ff-match-tabs.match-anchor-tabs {
		top: 46px;
	}

	.ff-match-tabs__inner {
		padding: 8px 10px;
	}

	.ff-card,
	#overview {
		scroll-margin-top: var(--ff-match-anchor-offset);
	}
}

@media (max-width: 639px) {
	.content-layout,
	.ff-match-shell {
		display: flex;
		flex-direction: column;
	}

	.ff-match-main {
		order: 1;
	}

	.left-league-nav {
		align-self: stretch;
		margin-bottom: 0;
		margin-top: 18px;
		order: 2;
		position: static;
		width: 100%;
	}

	.right-sidebar,
	.ff-match-sidebar {
		align-self: stretch;
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		margin-top: 14px;
		max-height: none;
		order: 3;
		overflow: visible;
		position: static;
		width: 100%;
	}

	.ff-match-breadcrumb {
		flex-wrap: nowrap;
		margin-bottom: 0;
		overflow-x: auto;
		padding-bottom: 8px;
		scrollbar-width: thin;
		white-space: nowrap;
		-webkit-overflow-scrolling: touch;
	}

	.ff-match-breadcrumb > * {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	.ff-match-breadcrumb::-webkit-scrollbar {
		height: 4px;
	}

	.ff-match-breadcrumb::-webkit-scrollbar-track {
		background: transparent;
	}

	.ff-match-breadcrumb::-webkit-scrollbar-thumb {
		background: rgba(148, 163, 184, 0.45);
		border-radius: 999px;
	}

	.ff-match-page .ff-site-header__nav {
		left: 0;
		right: 0;
	}

	.ff-match-scoreboard {
		gap: 14px;
		margin-top: 14px;
		padding: 16px 12px;
	}

	.ff-match-scoreboard__top {
		align-items: center;
		flex-direction: row;
		gap: 8px;
	}

	.ff-match-scoreboard__competition {
		flex: 1 1 auto;
	}

	.ff-match-scoreboard__venue {
		flex: 0 1 42%;
	}

	.ff-match-scoreboard__date {
		font-size: 12px;
	}

	.ff-match-score {
		gap: 8px;
		grid-template-columns: minmax(0, 1fr) minmax(78px, auto) minmax(0, 1fr);
		min-height: 0;
		width: 100%;
	}

	.ff-match-score__side {
		align-self: stretch;
		justify-content: center;
	}

	.ff-match-score__side--home,
	.ff-match-score__side--away {
		flex-direction: row;
	}

	.ff-match-score__side--home {
		justify-content: flex-end;
		order: 1;
		text-align: right;
	}

	.ff-match-score__center {
		order: 2;
	}

	.ff-match-score__side--away {
		justify-content: flex-start;
		order: 3;
		text-align: left;
	}

	.ff-match-score__team-block {
		gap: 6px;
		max-width: 100%;
	}

	.ff-match-score__side--home .ff-match-score__team-block {
		justify-items: end;
	}

	.ff-match-score__side--away .ff-match-score__team-block {
		justify-items: start;
	}

	.ff-match-score__team {
		display: -webkit-box;
		font-size: clamp(14px, 4.2vw, 17px);
		-webkit-line-clamp: 2;
		line-clamp: 2;
		line-height: 1.25;
		overflow: hidden;
		-webkit-box-orient: vertical;
	}

	.ff-match-scoreboard__meta-row {
		gap: 8px;
		grid-template-columns: minmax(0, 1fr) minmax(78px, auto) minmax(0, 1fr);
		margin-top: -6px;
	}

	.ff-match-scoreboard__standing {
		min-height: 20px;
	}

	.ff-match-scoreboard__standing span,
	.ff-match-scoreboard__status-text {
		font-size: 10px;
		line-height: 1.3;
	}

	.ff-match-score__date,
	.ff-match-score__state {
		font-size: 12px;
	}

	.ff-match-score__numbers {
		font-size: 32px;
		gap: 8px;
	}

	.ff-match-score__versus {
		font-size: 30px;
	}

	.ff-match-scoreboard__details {
		display: grid;
		grid-template-columns: 1fr;
	}

	.ff-match-scoreboard__details li {
		align-items: center;
		gap: 3px;
	}

	.ff-match-form-strip {
		gap: 3px;
		margin-top: 6px;
	}

	.ff-match-form-strip div {
		gap: 3px;
	}

	.ff-match-form-strip span {
		flex-basis: 100%;
		font-size: 9px;
		margin-right: 0;
	}

	.ff-match-score__side--home .ff-match-form-strip span {
		text-align: right;
	}

	.ff-match-score__side--away .ff-match-form-strip span {
		text-align: left;
	}

	.ff-form {
		font-size: 9px;
		height: 18px;
		min-width: 18px;
		padding: 0 5px;
	}

	.ff-stat-meta {
		gap: 6px;
		grid-template-columns: minmax(52px, 58px) minmax(0, 1fr) minmax(52px, 58px);
	}

	.ff-stat-label,
	.ff-stat-value {
		font-size: 12px;
	}

	.ff-stat-bars {
		gap: 3px;
	}

	.ff-h2h-record-tabs {
		flex-wrap: nowrap;
		margin-bottom: 12px;
		overflow-x: auto;
		padding-bottom: 4px;
		-webkit-overflow-scrolling: touch;
	}

	.ff-h2h-record-tab {
		flex: 0 0 auto;
		font-size: 12px;
		min-height: 34px;
		padding: 7px 12px;
	}

	.ff-h2h-record-overview {
		grid-template-columns: 1fr;
	}

	.ff-h2h-record-scoreline strong {
		font-size: 18px;
	}

	.ff-h2h-record-metrics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ff-h2h-record-metrics > div:nth-child(2n + 1) {
		border-left: 0;
	}

	.ff-h2h-record-metrics > div:nth-child(n + 3) {
		border-top: 1px solid var(--color-border);
	}

	.ff-h2h-match-row {
		gap: 8px;
		grid-template-columns: minmax(68px, 0.6fr) minmax(0, 1.5fr) minmax(32px, 0.25fr) 28px;
		padding: 9px 10px;
	}

	.ff-h2h-match-row__meta {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}

	.ff-h2h-match-row__team,
	.ff-h2h-match-row__score {
		font-size: 12px;
	}

	.ff-h2h-match-result {
		border-radius: var(--ff-radius-compact);
		font-size: 11px;
		height: 22px;
		width: 22px;
	}

	.ff-event-row {
		width: 100%;
	}

	.ff-event-row--home .ff-event-cell,
	.ff-event-row--away .ff-event-cell,
	.ff-event-row--neutral .ff-event-cell {
		max-width: 92%;
	}

	.ff-event-cell {
		font-size: 12px;
		gap: 6px;
		padding: 3px 0;
	}

	.ff-event-icon {
		height: 22px;
		min-width: 22px;
		padding-inline: 6px;
	}

	.ff-event-minute,
	.ff-event-player--out,
	.ff-event-assist,
	.ff-event-detail,
	.ff-event-sub-separator,
	.ff-event-sub-line {
		font-size: 12px;
	}

	.ff-lineup-compare {
		gap: 8px;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.ff-lineup-team__head {
		margin-bottom: 10px;
		padding-bottom: 10px;
	}

	.ff-lineup-team__head h3 {
		font-size: 13px;
		overflow-wrap: anywhere;
	}

	.ff-player-list {
		gap: 5px;
	}

	.ff-player-list__item {
		gap: 5px;
		grid-template-columns: 28px minmax(0, 1fr);
		padding: 7px;
	}

	.ff-player-list__name {
		font-size: 12px;
		line-height: 1.35;
	}

	.ff-player-list__num,
	.ff-player-list__pos {
		font-size: 10px;
	}

	.ff-player-list__pos {
		display: none;
	}
}

@media (max-width: 560px) {
	.ff-section-head h2 {
		font-size: 20px;
	}

	.ff-match-tabs__inner {
		padding-inline: 10px;
	}

	.ff-h2h-record,
	.ff-mini-metrics {
		grid-template-columns: 1fr;
	}

	.ff-event-row {
		column-gap: 0;
	}

	.ff-event-cell {
		max-width: 94%;
		width: auto;
	}

	.ff-chart-box {
		min-height: 280px;
	}

	.ff-chart-box--radar {
		min-height: 340px;
	}

	.ff-chart-box canvas {
		height: 230px !important;
	}

	.ff-chart-box--radar canvas {
		height: 300px !important;
	}
}
