/* Bratu Football — scoped, theme-independent presentation. */
:root {
	--bf-navy: #0b2638;
	--bf-blue: #0878bd;
	--bf-blue-dark: #005f9f;
	--bf-blue-soft: #eaf6fd;
	--bf-cyan: #27b5e7;
	--bf-ink: #102735;
	--bf-muted: #60717e;
	--bf-line: #dbe6ed;
	--bf-line-strong: #c8d8e2;
	--bf-surface: #ffffff;
	--bf-surface-alt: #f5f8fa;
	--bf-success: #07964b;
	--bf-warning: #e89700;
	--bf-danger: #d8242f;
	--bf-radius: 12px;
	--bf-shadow: 0 16px 45px rgba(11, 38, 56, 0.12);
}

.bf-page-shell,
.bf-page-shell *,
.bratu-football-embed,
.bratu-football-embed *,
.bf-modal,
.bf-modal * {
	box-sizing: border-box;
}

.bf-page-shell {
	clear: both !important;
	display: block !important;
	overflow-x: hidden;
	overflow-x: clip;
	width: 100% !important;
}

.bf-page-container {
	clear: both !important;
	display: block !important;
	float: none !important;
	margin: 22px auto 42px !important;
	max-width: 1021px !important;
	min-width: 0;
	padding: 0 !important;
	position: relative;
	width: calc(100% - 30px) !important;
}

.bf-page-shell--sidebar .bf-page-container {
	margin: 22px 0 42px !important;
	max-width: none !important;
	width: 100% !important;
}

.bratu-football-embed,
.bf-directory,
.bf-competition {
	color: var(--bf-ink);
	font-family: inherit;
	font-size: 14px;
	line-height: 1.55;
	max-width: 100% !important;
	min-width: 0;
	width: 100% !important;
}

.bf-directory button,
.bf-directory input,
.bf-directory select,
.bf-competition button,
.bf-competition input,
.bf-competition select,
.bf-modal button,
.bf-modal input {
	font: inherit;
}

.bf-directory img,
.bf-competition img,
.bf-modal img {
	display: block;
	height: auto;
	max-width: 100%;
}

.bf-directory a,
.bf-competition a {
	box-shadow: none;
	text-decoration: none;
}

.bf-directory [hidden],
.bf-competition [hidden],
.bf-modal[hidden],
.bf-modal [hidden] {
	display: none !important;
}

.bf-eyebrow {
	color: var(--bf-blue);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.2;
	margin: 0 0 7px;
	text-transform: uppercase;
}

.bf-directory__hero,
.bf-competition__hero {
	background:
		radial-gradient(circle at 88% -20%, rgba(39, 181, 231, 0.28), transparent 34%),
		linear-gradient(135deg, #092435 0%, #0d3b56 100%);
	border-radius: 16px;
	box-shadow: var(--bf-shadow);
	color: #fff;
	overflow: hidden;
	position: relative;
}

.bf-directory__hero {
	align-items: center;
	display: grid;
	gap: 18px;
	grid-template-columns: auto minmax(0, 1fr) auto;
	margin-bottom: 18px;
	padding: clamp(22px, 4vw, 38px);
}

.bf-directory__hero h1,
.bf-competition__hero h1 {
	color: #fff;
	font-family: inherit;
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.05;
	margin: 0;
	text-transform: none;
}

.bf-directory__hero p:not(.bf-eyebrow),
.bf-competition__hero p:not(.bf-eyebrow) {
	color: rgba(255, 255, 255, 0.78);
	font-size: 14px;
	margin: 10px 0 0;
	max-width: 650px;
}

.bf-directory__hero .bf-eyebrow,
.bf-competition__hero .bf-eyebrow {
	color: #72d7f6;
}

.bf-directory__hero-icon {
	align-items: center;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 14px;
	display: flex;
	height: 64px;
	justify-content: center;
	width: 64px;
}

.bf-directory__hero-icon svg {
	fill: none;
	height: 37px;
	stroke: #77daf7;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
	width: 37px;
}

.bf-directory__total {
	align-items: flex-end;
	background: rgba(255, 255, 255, 0.09);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	min-width: 112px;
	padding: 13px 17px;
}

.bf-directory__total strong {
	color: #fff;
	font-size: 25px;
	line-height: 1;
}

.bf-directory__total span {
	color: rgba(255, 255, 255, 0.7);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin-top: 5px;
	text-transform: uppercase;
}

.bf-directory__toolbar {
	background: var(--bf-surface);
	border: 1px solid var(--bf-line);
	border-radius: var(--bf-radius);
	margin-bottom: 12px;
	padding: 14px;
}

.bf-search {
	display: block;
	margin: 0;
}

.bf-search__label,
.bf-group-picker > span,
.bf-round-nav label > span {
	color: var(--bf-muted);
	display: block;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.1em;
	line-height: 1.2;
	margin: 0 0 7px;
	text-transform: uppercase;
}

.bf-search__field {
	display: block;
	position: relative;
}

.bf-search__field svg {
	fill: none;
	height: 20px;
	left: 13px;
	position: absolute;
	stroke: var(--bf-blue);
	stroke-linecap: round;
	stroke-width: 1.8;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
}

.bf-search__field input {
	appearance: none;
	background: var(--bf-surface-alt);
	border: 1px solid var(--bf-line-strong);
	border-radius: 9px;
	box-shadow: none;
	color: var(--bf-ink);
	height: 46px;
	margin: 0;
	outline: none;
	padding: 0 44px;
	width: 100%;
}

.bf-search__field input:focus {
	background: #fff;
	border-color: var(--bf-blue);
	box-shadow: 0 0 0 3px rgba(8, 120, 189, 0.13);
}

.bf-search__field button {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 50%;
	color: var(--bf-muted);
	cursor: pointer;
	display: flex;
	font-size: 23px;
	height: 34px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	position: absolute;
	right: 6px;
	top: 6px;
	width: 34px;
}

.bf-region-tabs {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 0 14px;
}

.bf-region-tabs.is-searching {
	display: none;
}

.bf-region-tab {
	align-items: center;
	appearance: none;
	background: var(--bf-surface);
	border: 1px solid var(--bf-line);
	border-radius: 10px;
	color: var(--bf-ink);
	cursor: pointer;
	display: flex;
	gap: 9px;
	margin: 0;
	min-height: 54px;
	padding: 8px 10px;
	text-align: left;
	transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
	width: 100%;
}

.bf-region-tab:hover {
	border-color: #9ccbe6;
	transform: translateY(-1px);
}

.bf-region-tab.is-active {
	background: var(--bf-blue-soft);
	border-color: var(--bf-blue);
}

.bf-region-tab__code {
	align-items: center;
	background: var(--bf-blue-soft);
	border-radius: 7px;
	color: var(--bf-blue-dark);
	display: flex;
	font-size: 9px;
	font-weight: 900;
	height: 34px;
	justify-content: center;
	letter-spacing: 0.03em;
	width: 34px;
}

.bf-region-tab.is-active .bf-region-tab__code {
	background: var(--bf-blue);
	color: #fff;
}

.bf-region-tab > span:last-child {
	display: block;
	min-width: 0;
}

.bf-region-tab strong,
.bf-region-tab small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bf-region-tab strong {
	font-size: 10px;
	letter-spacing: 0.045em;
}

.bf-region-tab small {
	color: var(--bf-muted);
	font-size: 9px;
	margin-top: 2px;
}

.bf-region-panel {
	background: var(--bf-surface-alt);
	border: 1px solid var(--bf-line);
	border-radius: var(--bf-radius);
	padding: 16px;
}

.bf-region-panel__heading {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin: 0 0 13px;
}

.bf-region-panel__heading > div {
	align-items: center;
	display: flex;
	gap: 9px;
}

.bf-region-panel__heading span {
	align-items: center;
	background: var(--bf-blue);
	border-radius: 6px;
	color: #fff;
	display: flex;
	font-size: 9px;
	font-weight: 900;
	height: 28px;
	justify-content: center;
	min-width: 32px;
	padding: 0 5px;
}

.bf-region-panel__heading h2 {
	color: var(--bf-navy);
	font-family: inherit;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.2;
	margin: 0;
	text-transform: none;
}

.bf-region-panel__heading p {
	color: var(--bf-muted);
	font-size: 11px;
	margin: 0;
}

.bf-country-grid {
	display: grid;
	gap: 9px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bf-country {
	align-self: start;
	background: var(--bf-surface);
	border: 1px solid var(--bf-line);
	border-left: 3px solid var(--bf-blue);
	border-radius: 9px;
	min-width: 0;
	overflow: hidden;
}

.bf-country.is-filtered-out {
	display: none;
}

.bf-country__toggle {
	align-items: center;
	appearance: none;
	background: #fff;
	border: 0;
	color: var(--bf-ink);
	cursor: pointer;
	display: grid;
	gap: 8px;
	grid-template-columns: 28px minmax(0, 1fr) auto 18px;
	margin: 0;
	min-height: 52px;
	padding: 8px 9px;
	text-align: left;
	width: 100%;
}

.bf-country__toggle:hover,
.bf-country.is-open .bf-country__toggle {
	background: #f8fcfe;
}

.bf-country__toggle > svg {
	fill: none;
	height: 17px;
	stroke: var(--bf-muted);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	transition: transform 160ms ease;
	width: 17px;
}

.bf-country.is-open .bf-country__toggle > svg {
	transform: rotate(180deg);
}

.bf-country__flag {
	font-size: 20px;
	line-height: 1;
	text-align: center;
}

.bf-country__name {
	display: block;
	min-width: 0;
}

.bf-country__name strong,
.bf-country__name small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bf-country__name strong {
	font-size: 11px;
	letter-spacing: 0.025em;
	text-transform: uppercase;
}

.bf-country__name small {
	color: var(--bf-muted);
	font-size: 8px;
	font-weight: 700;
	margin-top: 1px;
}

.bf-country__count {
	align-items: center;
	background: #edf2f5;
	border-radius: 999px;
	color: var(--bf-muted);
	display: inline-flex;
	font-size: 9px;
	font-weight: 800;
	height: 24px;
	justify-content: center;
	min-width: 24px;
	padding: 0 7px;
}

.bf-country__panel {
	border-top: 1px solid var(--bf-line);
	padding: 5px;
}

.bf-competition-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bf-competition-list li {
	border: 0;
	margin: 0;
	padding: 0;
}

.bf-competition-list a {
	align-items: center;
	border-radius: 7px;
	color: var(--bf-ink);
	display: grid;
	gap: 8px;
	grid-template-columns: 29px minmax(0, 1fr) 16px;
	min-height: 45px;
	padding: 5px 7px;
}

.bf-competition-list a:hover,
.bf-competition-list a:focus-visible,
.bf-competition-list a.is-active {
	background: var(--bf-blue-soft);
	color: var(--bf-blue-dark);
}

.bf-competition-list a > span:nth-child(2) {
	min-width: 0;
}

.bf-competition-list strong,
.bf-competition-list small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bf-competition-list strong {
	font-size: 11px;
}

.bf-competition-list small {
	color: var(--bf-muted);
	font-size: 8px;
	margin-top: 1px;
}

.bf-competition-list svg {
	fill: none;
	height: 15px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 15px;
}

.bf-directory__empty,
.bf-notice {
	align-items: flex-start;
	background: #f7fbfd;
	border: 1px solid var(--bf-line);
	border-left: 3px solid var(--bf-blue);
	border-radius: 9px;
	color: var(--bf-ink);
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 14px 0;
	padding: 14px 16px;
}

.bf-directory__empty strong,
.bf-notice strong {
	font-size: 14px;
}

.bf-directory__empty span,
.bf-notice span {
	color: var(--bf-muted);
}

.bf-notice--error {
	background: #fff6f6;
	border-color: #f1c7ca;
	border-left-color: var(--bf-danger);
}

.bf-notice--warning {
	background: #fffaf0;
	border-color: #f0dbad;
	border-left-color: var(--bf-warning);
}

.bf-button {
	background: var(--bf-blue);
	border-radius: 7px;
	color: #fff !important;
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	margin-top: 8px;
	padding: 8px 12px;
}

/* Competition page. */
.bf-breadcrumbs {
	align-items: center;
	color: var(--bf-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 11px;
	gap: 6px;
	margin: 0 0 10px;
}

.bf-breadcrumbs a {
	color: var(--bf-blue-dark);
}

.bf-competition__hero {
	align-items: center;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-bottom: 14px;
	padding: clamp(21px, 4vw, 34px);
}

.bf-competition__identity {
	align-items: center;
	display: flex;
	gap: 17px;
	min-width: 0;
}

.bf-competition__hero h1 {
	font-size: clamp(25px, 3.5vw, 38px);
}

.bf-competition__all-link {
	align-items: center;
	background: rgba(255, 255, 255, 0.09);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	color: #fff !important;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 11px;
	font-weight: 800;
	gap: 7px;
	padding: 9px 11px;
}

.bf-competition-logo,
.bf-team-logo,
.bf-match__logo,
.bf-player__photo {
	align-items: center;
	background: #edf4f7;
	border: 1px solid rgba(15, 53, 73, 0.1);
	border-radius: 9px;
	display: inline-flex;
	flex: 0 0 auto;
	height: 66px;
	justify-content: center;
	overflow: hidden;
	position: relative;
	width: 66px;
}

.bf-competition-logo img,
.bf-team-logo img,
.bf-match__logo img,
.bf-player__photo img {
	height: 100%;
	object-fit: contain;
	padding: 5px;
	position: relative;
	width: 100%;
	z-index: 2;
}

.bf-competition-logo b,
.bf-team-logo b,
.bf-match__logo b,
.bf-player__photo b {
	align-items: center;
	color: var(--bf-blue-dark);
	display: flex;
	font-size: 13px;
	font-weight: 900;
	inset: 0;
	justify-content: center;
	position: absolute;
	z-index: 1;
}

.bf-competition-logo.is-broken img,
.bf-team-logo.is-broken img,
.bf-match__logo.is-broken img,
.bf-player__photo.is-broken img {
	display: none;
}

.bf-competition-logo.is-small {
	border-radius: 6px;
	height: 29px;
	width: 29px;
}

.bf-competition-logo.is-small b {
	font-size: 8px;
}

.bf-competition__hero > .bf-competition-logo,
.bf-competition__identity > .bf-competition-logo {
	background: rgba(255, 255, 255, 0.95);
	border-color: rgba(255, 255, 255, 0.2);
	height: 78px;
	width: 78px;
}

.bf-summary {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 0 14px;
}

.bf-data-status {
	align-items: center;
	background: #f7fafc;
	border: 1px solid var(--bf-line);
	border-radius: 9px;
	color: var(--bf-muted);
	display: flex;
	font-size: 11px;
	gap: 8px;
	margin: 0 0 10px;
	padding: 9px 12px;
}

.bf-data-status strong {
	color: var(--bf-ink);
}

.bf-data-status__signal {
	background: var(--bf-success);
	border: 3px solid #dff5e8;
	border-radius: 50%;
	box-sizing: content-box;
	flex: 0 0 auto;
	height: 7px;
	width: 7px;
}

.bf-data-status__signal.is-stale {
	background: var(--bf-warning);
	border-color: #fff0cc;
}

.bf-data-status__source {
	margin-left: auto;
}

.bf-page-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0 0 14px;
}

.bf-page-nav a {
	align-items: center;
	background: var(--bf-surface);
	border: 1px solid var(--bf-line);
	border-radius: 999px;
	color: var(--bf-blue-dark) !important;
	display: inline-flex;
	font-size: 11px;
	font-weight: 800;
	gap: 6px;
	padding: 7px 11px;
}

.bf-page-nav a:hover,
.bf-page-nav a:focus-visible {
	background: var(--bf-blue-soft);
	border-color: #abd8ef;
}

.bf-summary > div {
	background: var(--bf-surface);
	border: 1px solid var(--bf-line);
	border-radius: 9px;
	min-width: 0;
	padding: 12px 14px;
}

.bf-summary span,
.bf-summary strong {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bf-summary span {
	color: var(--bf-muted);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bf-summary strong {
	color: var(--bf-navy);
	font-size: 16px;
	margin-top: 3px;
}

.bf-editorial {
	background: linear-gradient(135deg, #f7fbfd, #fff);
	border: 1px solid var(--bf-line);
	border-left: 3px solid var(--bf-blue);
	border-radius: 9px;
	margin: 0 0 24px;
	padding: 15px 17px;
}

.bf-editorial p {
	color: #314754;
	font-size: 13px;
	line-height: 1.65;
	margin: 0 0 8px;
}

.bf-editorial p:last-child {
	margin-bottom: 0;
}

.bf-standings,
.bf-rounds {
	scroll-margin-top: 24px;
	margin: 0 0 28px;
	min-width: 0;
}

.bf-section-heading {
	align-items: flex-end;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin: 0 0 12px;
}

.bf-section-heading h2 {
	color: var(--bf-navy);
	font-family: inherit;
	font-size: clamp(21px, 3vw, 28px);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.1;
	margin: 0;
	text-transform: uppercase;
}

.bf-group-picker {
	flex: 0 1 250px;
	margin: 0;
}

.bf-group-picker select,
.bf-round-nav select {
	appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 8 4 4 4-4' fill='none' stroke='%230878bd' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center/17px;
	border: 1px solid var(--bf-line-strong);
	border-radius: 8px;
	box-shadow: none;
	color: var(--bf-ink);
	height: 40px;
	margin: 0;
	outline: none;
	padding: 0 35px 0 11px;
	width: 100%;
}

.bf-group-picker select:focus,
.bf-round-nav select:focus {
	border-color: var(--bf-blue);
	box-shadow: 0 0 0 3px rgba(8, 120, 189, 0.12);
}

.bf-scroll-hint {
	color: var(--bf-muted);
	display: none;
	font-size: 10px;
	margin: 0 0 5px;
	text-align: right;
}

.bf-table-scroll {
	border: 1px solid var(--bf-line);
	border-radius: 10px;
	max-width: 100%;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
}

.bf-table {
	background: #fff;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 12px;
	margin: 0;
	min-width: 790px;
	table-layout: auto;
	width: 100%;
}

.bf-table th,
.bf-table td {
	border: 0;
	border-bottom: 1px solid var(--bf-line);
	color: var(--bf-ink);
	height: 49px;
	padding: 6px 7px;
	text-align: center;
	vertical-align: middle;
}

.bf-table thead th {
	background: #edf1f4;
	color: #28404f;
	font-size: 9px;
	font-weight: 800;
	height: 38px;
	letter-spacing: 0.04em;
	position: sticky;
	top: 0;
	text-transform: uppercase;
	z-index: 2;
}

.bf-table tbody tr:last-child td {
	border-bottom: 0;
}

.bf-table tbody tr:hover td {
	background: #f8fcfe;
}

.bf-table th:first-child,
.bf-table td:first-child {
	padding-left: 9px;
	width: 43px;
}

.bf-table__club-head,
.bf-table__club {
	min-width: 220px;
	text-align: left !important;
}

.bf-table__points {
	font-weight: 900;
}

.bf-table abbr {
	border: 0;
	cursor: help;
	text-decoration: none;
}

.bf-rank {
	align-items: center;
	background: #5d7280;
	border-radius: 6px;
	color: #fff;
	display: inline-flex;
	font-size: 11px;
	font-weight: 900;
	height: 27px;
	justify-content: center;
	min-width: 27px;
	padding: 0 4px;
}

.bf-rank.is-leader {
	background: var(--bf-blue-dark);
}

.bf-rank.is-podium {
	background: #2689ba;
}

.bf-team-button {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	color: var(--bf-ink);
	display: inline-flex;
	gap: 8px;
	margin: 0;
	max-width: 100%;
	min-width: 0;
	padding: 0;
	text-align: left;
}

button.bf-team-button {
	cursor: pointer;
}

button.bf-team-button:hover strong,
button.bf-team-button:focus-visible strong {
	color: var(--bf-blue-dark);
	text-decoration: underline;
}

.bf-team-logo {
	border-radius: 6px;
	height: 30px;
	width: 30px;
}

.bf-team-logo b {
	font-size: 8px;
}

.bf-team-button strong {
	font-size: 11px;
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bf-form {
	display: inline-flex;
	gap: 3px;
	white-space: nowrap;
}

.bf-form i {
	align-items: center;
	background: #91a0aa;
	border-radius: 5px;
	color: #fff;
	display: inline-flex;
	font-size: 9px;
	font-style: normal;
	font-weight: 900;
	height: 23px;
	justify-content: center;
	width: 23px;
}

.bf-form i.is-win { background: var(--bf-success); }
.bf-form i.is-draw { background: var(--bf-warning); }
.bf-form i.is-loss { background: var(--bf-danger); }
.bf-form-empty { color: var(--bf-muted); }

.bf-rounds__description {
	background: #f7fbfd;
	border: 1px solid var(--bf-line);
	border-left: 3px solid var(--bf-blue);
	border-radius: 9px;
	color: #314754;
	font-size: 12px;
	margin: 0 0 12px;
	padding: 12px 14px;
}

.bf-round-nav {
	align-items: stretch;
	background: var(--bf-surface-alt);
	border: 1px solid var(--bf-line);
	border-radius: 9px;
	display: grid;
	gap: 0;
	grid-template-columns: 46px minmax(0, 1fr) 46px;
	margin: 0 0 17px;
	overflow: hidden;
}

.bf-round-nav > button {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	color: var(--bf-blue-dark);
	cursor: pointer;
	display: flex;
	font-size: 18px;
	justify-content: center;
	margin: 0;
	min-height: 61px;
	padding: 0;
}

.bf-round-nav > button:first-child { border-right: 1px solid var(--bf-line); }
.bf-round-nav > button:last-child { border-left: 1px solid var(--bf-line); }
.bf-round-nav > button:hover:not(:disabled) { background: var(--bf-blue-soft); }
.bf-round-nav > button:disabled { color: #abb8c0; cursor: not-allowed; }

.bf-round-nav label {
	align-self: center;
	display: block;
	margin: 0;
	padding: 8px 12px;
}

.bf-round-nav label > span {
	margin-bottom: 4px;
}

.bf-round-nav select {
	height: 34px;
}

.bf-round-grid {
	display: block;
}

.bf-match-day {
	margin: 0 0 18px;
}

.bf-match-day h3 {
	align-items: center;
	color: var(--bf-navy);
	display: flex;
	font-family: inherit;
	font-size: 11px;
	font-weight: 800;
	gap: 9px;
	line-height: 1.2;
	margin: 0 0 8px;
	text-transform: none;
}

.bf-match-day h3::after {
	background: var(--bf-line);
	content: "";
	flex: 1;
	height: 1px;
}

.bf-match-day__list {
	display: grid;
	gap: 7px;
}

.bf-match {
	align-items: center;
	appearance: none;
	background: #fff;
	border: 1px solid var(--bf-line);
	border-left: 3px solid var(--bf-cyan);
	border-radius: 9px;
	color: var(--bf-ink);
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
	margin: 0;
	min-height: 72px;
	padding: 8px 14px;
	text-align: initial;
	width: 100%;
}

button.bf-match.is-clickable {
	cursor: pointer;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

button.bf-match.is-clickable:hover {
	border-color: #8ccae9;
	box-shadow: 0 7px 20px rgba(8, 120, 189, 0.1);
	transform: translateY(-1px);
}

a.bf-match.is-clickable {
	cursor: pointer;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

a.bf-match.is-clickable:hover,
a.bf-match.is-clickable:focus-visible {
	border-color: #8ccae9;
	box-shadow: 0 7px 20px rgba(8, 120, 189, .1);
	transform: translateY(-1px);
}

.bf-match__team {
	align-items: center;
	display: flex;
	gap: 9px;
	min-width: 0;
}

.bf-match__team.is-home {
	justify-content: flex-end;
	text-align: right;
}

.bf-match__team.is-away {
	justify-content: flex-start;
	text-align: left;
}

.bf-match__team strong {
	font-size: 11px;
	font-weight: 800;
	line-height: 1.25;
	max-width: 210px;
}

.bf-match__logo {
	border-radius: 7px;
	height: 42px;
	width: 42px;
}

.bf-match__logo b { font-size: 9px; }

.bf-match__center {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.bf-match__center > strong {
	background: var(--bf-blue-dark);
	border-radius: 6px;
	color: #fff;
	font-size: 12px;
	font-weight: 900;
	line-height: 28px;
	min-width: 47px;
	padding: 0 7px;
	text-align: center;
}

.bf-match__center small {
	color: var(--bf-muted);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.06em;
	margin-top: 3px;
	text-transform: uppercase;
}

.bf-match__center em {
	color: var(--bf-blue-dark);
	font-size: 8px;
	font-style: normal;
	font-weight: 800;
	margin-top: 1px;
}

/* Accessible modals, moved directly under body by JavaScript. */
body.bf-modal-open {
	overflow: hidden !important;
}

.bf-modal {
	align-items: center;
	display: flex;
	font-family: inherit;
	inset: 0;
	justify-content: center;
	padding: 20px;
	position: fixed;
	z-index: 2147483000;
}

.bf-modal__backdrop {
	background: rgba(5, 21, 31, 0.78);
	backdrop-filter: blur(4px);
	inset: 0;
	position: absolute;
}

.bf-modal__dialog {
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 14px;
	box-shadow: 0 25px 90px rgba(0, 0, 0, 0.34);
	display: flex;
	flex-direction: column;
	max-height: min(88vh, 850px);
	max-width: 980px;
	min-height: 220px;
	overflow: hidden;
	position: relative;
	width: 100%;
	z-index: 1;
}

.bf-modal__dialog--team { max-width: 900px; }

.bf-modal__header {
	align-items: center;
	background: linear-gradient(135deg, #092435, #0d3b56);
	color: #fff;
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(0, 1fr) auto auto;
	min-height: 75px;
	padding: 15px 18px;
}

.bf-modal__header h2 {
	color: #fff;
	font-family: inherit;
	font-size: clamp(19px, 3vw, 26px);
	font-weight: 800;
	line-height: 1.12;
	margin: 0;
	text-transform: none;
}

.bf-modal__header p:not(.bf-eyebrow) {
	color: rgba(255, 255, 255, 0.7);
	font-size: 10px;
	margin: 3px 0 0;
}

.bf-modal__header .bf-eyebrow {
	color: #72d7f6;
	margin-bottom: 4px;
}

.bf-modal__score {
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	color: #fff;
	font-size: 19px;
	font-weight: 900;
	min-width: 58px;
	padding: 7px 10px;
	text-align: center;
}

.bf-modal__close {
	align-items: center;
	appearance: none;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 24px;
	height: 40px;
	justify-content: center;
	line-height: 1;
	margin: 0;
	padding: 0 0 2px;
	width: 40px;
}

.bf-modal__close:hover { background: rgba(255, 255, 255, 0.2); }

.bf-modal__body {
	background: var(--bf-surface-alt);
	flex: 1 1 auto;
	min-height: 140px;
	overflow: auto;
	overscroll-behavior: contain;
	padding: 18px;
}

.bf-modal__footer {
	background: #f4f7f9;
	border-top: 1px solid var(--bf-line);
	color: var(--bf-muted);
	font-size: 9px;
	padding: 7px 14px;
	text-align: center;
}

.bf-loader {
	align-items: center;
	color: var(--bf-muted);
	display: flex;
	font-size: 12px;
	gap: 9px;
	inset: 0;
	justify-content: center;
	min-height: 130px;
	padding: 20px;
}

.bf-loader span {
	animation: bf-spin 750ms linear infinite;
	border: 2px solid #c8dce7;
	border-radius: 50%;
	border-top-color: var(--bf-blue);
	height: 22px;
	width: 22px;
}

@keyframes bf-spin { to { transform: rotate(360deg); } }

.bf-match-stats {
	background: #f2f6f8;
}

.bf-stats-overview {
	align-items: center;
	background: #fff;
	border: 1px solid var(--bf-line);
	border-radius: 12px;
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	margin-bottom: 10px;
	padding: 18px;
}

.bf-stats-team {
	align-items: center;
	display: flex;
	gap: 10px;
	min-width: 0;
}

.bf-stats-team.is-home {
	justify-content: flex-end;
	text-align: right;
}

.bf-stats-team.is-away {
	justify-content: flex-start;
	text-align: left;
}

.bf-stats-team strong {
	color: var(--bf-ink);
	font-size: 13px;
	line-height: 1.3;
}

.bf-stats-team .bf-match__logo {
	background: #fff;
	border: 1px solid var(--bf-line);
	height: 52px;
	width: 52px;
}

.bf-stats-score {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.bf-stats-score strong {
	background: var(--bf-navy);
	border-radius: 8px;
	color: #fff;
	font-size: 22px;
	font-weight: 900;
	line-height: 1;
	min-width: 66px;
	padding: 10px 12px;
	text-align: center;
}

.bf-stats-score span {
	color: var(--bf-muted);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.08em;
	margin-top: 5px;
	text-transform: uppercase;
}

.bf-match-info {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 12px;
}

.bf-match-info > div {
	background: #fff;
	border: 1px solid var(--bf-line);
	border-radius: 9px;
	min-width: 0;
	padding: 9px 11px;
}

.bf-match-info span,
.bf-match-info strong {
	display: block;
	overflow-wrap: break-word;
	white-space: normal;
}

.bf-match-info span {
	color: var(--bf-muted);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bf-match-info strong {
	color: var(--bf-ink);
	font-size: 11px;
	margin-top: 2px;
}

.bf-stats-tabs {
	background: #e5edf2;
	border-radius: 9px;
	display: grid;
	gap: 3px;
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
	margin: 0 0 10px;
	padding: 3px;
}

.bf-stats-tabs button {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 7px;
	color: var(--bf-muted);
	cursor: pointer;
	font-size: 10px;
	font-weight: 800;
	margin: 0;
	min-height: 34px;
	padding: 6px 10px;
}

.bf-stats-tabs button.is-active {
	background: #fff;
	box-shadow: 0 2px 8px rgba(11, 38, 56, 0.09);
	color: var(--bf-blue-dark);
}

.bf-stats-groups {
	display: grid;
	gap: 10px;
}

.bf-stats-group {
	background: #fff;
	border: 1px solid var(--bf-line);
	border-radius: 11px;
	overflow: hidden;
}

.bf-stats-group h3 {
	background: #f8fafb;
	border-bottom: 1px solid var(--bf-line);
	color: var(--bf-navy);
	font-family: inherit;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.06em;
	margin: 0;
	padding: 10px 14px;
	text-align: center;
	text-transform: uppercase;
}

.bf-stat-row {
	align-items: center;
	border-bottom: 1px solid #edf2f5;
	display: grid;
	gap: 12px;
	grid-template-columns: 64px minmax(0, 1fr) 64px;
	min-height: 55px;
	padding: 8px 14px;
}

.bf-stat-row:last-child { border-bottom: 0; }

.bf-stat-row > strong {
	color: var(--bf-ink);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	font-weight: 800;
}

.bf-stat-row > strong.is-home { text-align: right; }
.bf-stat-row > strong.is-away { text-align: left; }
.bf-stat-row > strong.is-leading { color: var(--bf-blue-dark); }

.bf-stat-row__center {
	min-width: 0;
	text-align: center;
}

.bf-stat-row__center > span {
	color: var(--bf-muted);
	display: block;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.3;
}

.bf-stat-bars {
	background: #dce7ed;
	border-radius: 999px;
	height: 5px;
	margin-top: 6px;
	overflow: hidden;
	position: relative;
}

.bf-stat-bars::after {
	background: #fff;
	content: '';
	height: 100%;
	left: calc(50% - 1px);
	position: absolute;
	top: 0;
	width: 2px;
	z-index: 1;
}

.bf-stat-bars i {
	height: 100%;
	position: absolute;
	top: 0;
}

.bf-stat-bars i.is-home {
	background: var(--bf-blue);
	border-radius: 999px 0 0 999px;
	right: 50%;
}

.bf-stat-bars i.is-away {
	background: var(--bf-cyan);
	border-radius: 0 999px 999px 0;
	left: 50%;
}

.bf-squad-summary {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 14px;
}

.bf-squad-summary > div {
	background: #fff;
	border: 1px solid var(--bf-line);
	border-radius: 9px;
	padding: 11px 12px;
}

.bf-squad-summary span,
.bf-squad-summary strong { display: block; }
.bf-squad-summary span { color: var(--bf-muted); font-size: 9px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.bf-squad-summary strong { color: var(--bf-navy); font-size: 16px; margin-top: 2px; }

.bf-squad-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
}

.bf-squad-filters button {
	appearance: none;
	background: #fff;
	border: 1px solid var(--bf-line-strong);
	border-radius: 999px;
	color: var(--bf-muted);
	cursor: pointer;
	font-size: 10px;
	font-weight: 800;
	margin: 0;
	padding: 7px 11px;
}

.bf-squad-filters button.is-active {
	background: var(--bf-blue);
	border-color: var(--bf-blue);
	color: #fff;
}

.bf-squad-section { margin: 0 0 18px; }
.bf-squad-section.is-filtered-out { display: none; }

.bf-squad-section h3 {
	align-items: center;
	color: var(--bf-navy);
	display: flex;
	font-family: inherit;
	font-size: 14px;
	font-weight: 800;
	gap: 8px;
	line-height: 1.2;
	margin: 0 0 9px;
	text-transform: none;
}

.bf-squad-section h3 span {
	align-items: center;
	background: var(--bf-blue-soft);
	border-radius: 999px;
	color: var(--bf-blue-dark);
	display: inline-flex;
	font-size: 9px;
	height: 22px;
	justify-content: center;
	min-width: 22px;
	padding: 0 6px;
}

.bf-player-grid {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bf-player {
	align-items: center;
	background: #fff;
	border: 1px solid var(--bf-line);
	border-radius: 9px;
	display: grid;
	gap: 9px;
	grid-template-columns: 48px minmax(0, 1fr);
	min-width: 0;
	padding: 8px;
}

.bf-player__photo {
	border-radius: 7px;
	height: 48px;
	width: 48px;
}

.bf-player__photo img {
	object-fit: cover;
	padding: 0;
}

.bf-player__details { min-width: 0; }
.bf-player__details strong,
.bf-player__details span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bf-player__details strong { color: var(--bf-ink); font-size: 11px; }
.bf-player__details span { color: var(--bf-muted); font-size: 9px; margin-top: 2px; }

.bf-modal-error {
	background: #fff6f6;
	border: 1px solid #f1c7ca;
	border-radius: 9px;
	color: #8e1d25;
	padding: 14px;
}

.bf-screen-reader-text {
	border: 0 !important;
	clip: rect(1px, 1px, 1px, 1px) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
	word-wrap: normal !important;
}

.bf-directory :focus-visible,
.bf-competition :focus-visible,
.bf-modal :focus-visible {
	outline: 3px solid rgba(39, 181, 231, 0.52);
	outline-offset: 2px;
}

@media (max-width: 920px) {
	.bf-region-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bf-country-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bf-player-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
	.bf-page-container { margin: 15px auto 42px !important; width: calc(100% - 20px) !important; }
	.bf-data-status { align-items: flex-start; flex-wrap: wrap; }
	.bf-data-status__source { margin-left: 23px; width: 100%; }
	.bf-directory__hero { grid-template-columns: auto minmax(0, 1fr); }
	.bf-directory__total { align-items: center; grid-column: 1 / -1; width: 100%; }
	.bf-region-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bf-competition__hero { align-items: flex-start; flex-direction: column; }
	.bf-competition__all-link { align-self: stretch; justify-content: center; }
	.bf-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bf-section-heading { align-items: stretch; flex-direction: column; }
	.bf-group-picker { flex-basis: auto; width: 100%; }
	.bf-scroll-hint { display: block; }
	.bf-match { grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr); padding: 8px; }
	.bf-match__team { gap: 5px; }
	.bf-match__logo { height: 34px; width: 34px; }
	.bf-match__team strong { font-size: 10px; }
	.bf-match__center > strong { font-size: 11px; min-width: 43px; }
	.bf-modal { padding: 8px; }
	.bf-modal__dialog { max-height: calc(100dvh - 16px); }
	.bf-modal__header { grid-template-columns: minmax(0, 1fr) auto auto; padding: 12px; }
	.bf-modal__body { padding: 12px; }
	.bf-match-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bf-player-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
	.bf-directory__hero { gap: 12px; padding: 18px; }
	.bf-directory__hero-icon { height: 49px; width: 49px; }
	.bf-directory__hero-icon svg { height: 29px; width: 29px; }
	.bf-directory__hero h1 { font-size: 27px; }
	.bf-region-tabs { grid-template-columns: 1fr 1fr; }
	.bf-region-tab { min-height: 48px; }
	.bf-country-grid { grid-template-columns: 1fr; }
	.bf-region-panel { padding: 10px; }
	.bf-competition__identity { align-items: flex-start; gap: 11px; }
	.bf-competition__identity > .bf-competition-logo { height: 57px; width: 57px; }
	.bf-competition__hero h1 { font-size: 24px; }
	.bf-summary > div { padding: 9px 10px; }
	.bf-summary strong { font-size: 13px; }
	.bf-editorial { padding: 12px; }
	.bf-editorial p { font-size: 12px; }
	.bf-section-heading h2 { font-size: 21px; }
	.bf-round-nav { grid-template-columns: 40px minmax(0, 1fr) 40px; }
	.bf-round-nav label { padding: 7px; }
	.bf-match { gap: 4px; grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr); }
	.bf-match__team { align-items: center; flex-direction: column; }
	.bf-match__team.is-home { flex-direction: column-reverse; text-align: center; }
	.bf-match__team.is-away { text-align: center; }
	.bf-match__team strong { max-width: 100%; }
	.bf-match__center em { display: none; }
	.bf-modal { padding: 0; }
	.bf-modal__dialog { border: 0; border-radius: 0; height: 100dvh; max-height: 100dvh; }
	.bf-modal__header { gap: 7px; }
	.bf-modal__score { font-size: 15px; min-width: 47px; padding: 6px; }
	.bf-modal__close { height: 36px; width: 36px; }
	.bf-modal__footer { display: none; }
	.bf-squad-summary { grid-template-columns: 1fr 1fr; }
	.bf-stats-overview { gap: 7px; padding: 12px 8px; }
	.bf-stats-team { flex-direction: column; gap: 5px; text-align: center; }
	.bf-stats-team.is-home { flex-direction: column; text-align: center; }
	.bf-stats-team.is-away { text-align: center; }
	.bf-stats-team .bf-match__logo { height: 43px; width: 43px; }
	.bf-stats-team strong { font-size: 10px; }
	.bf-stats-score strong { font-size: 18px; min-width: 56px; padding: 9px 8px; }
	.bf-stat-row { gap: 7px; grid-template-columns: 45px minmax(0, 1fr) 45px; padding: 8px 9px; }
	.bf-stat-row > strong { font-size: 11px; }
	.bf-stat-row__center > span { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
	.bf-directory *,
	.bf-competition *,
	.bf-modal * {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

/* Bratu Football 4.0 — original editorial sports-center design. */
:root {
	--bf-navy: #071c2a;
	--bf-blue: #00a6d6;
	--bf-blue-dark: #067ba3;
	--bf-blue-soft: #e9f9fd;
	--bf-cyan: #37d4ee;
	--bf-accent: #b8eb32;
	--bf-ink: #0a2332;
	--bf-muted: #607581;
	--bf-line: #dce8ed;
	--bf-line-strong: #c4d7df;
	--bf-surface-alt: #f4f8fa;
	--bf-shadow: 0 24px 70px rgba(6, 32, 47, 0.16);
}

.bf-directory,
.bf-competition { font-feature-settings: "tnum" 1, "ss01" 1; }

.bf-directory__hero,
.bf-competition__hero {
	background: radial-gradient(circle at 84% 20%, rgba(55, 212, 238, 0.23), transparent 23%), radial-gradient(circle at 12% 120%, rgba(184, 235, 50, 0.12), transparent 30%), linear-gradient(125deg, #061923 0%, #092e42 56%, #06465e 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 24px;
	box-shadow: 0 28px 75px rgba(3, 24, 36, 0.25);
	isolation: isolate;
}

.bf-directory__hero::before,
.bf-competition__hero::before {
	background: linear-gradient(90deg, var(--bf-accent), var(--bf-cyan));
	content: "";
	height: 4px;
	left: 32px;
	position: absolute;
	top: 0;
	width: 92px;
}

.bf-hero-pitch { bottom: -80px; height: 290px; opacity: 0.13; pointer-events: none; position: absolute; right: -55px; transform: rotate(-8deg); width: 430px; z-index: -1; }
.bf-hero-pitch::before { border: 2px solid #fff; border-radius: 26px; content: ""; inset: 0; position: absolute; }
.bf-hero-pitch::after { border: 2px solid #fff; border-radius: 50%; content: ""; height: 112px; left: 50%; position: absolute; top: 50%; transform: translate(-50%, -50%); width: 112px; }
.bf-hero-pitch i:first-child { background: #fff; height: 100%; left: 50%; position: absolute; top: 0; width: 2px; }
.bf-hero-pitch i:nth-child(2), .bf-hero-pitch i:nth-child(3) { border: 2px solid #fff; height: 118px; position: absolute; top: 50%; transform: translateY(-50%); width: 72px; }
.bf-hero-pitch i:nth-child(2) { border-left: 0; left: 0; }
.bf-hero-pitch i:nth-child(3) { border-right: 0; right: 0; }

.bf-directory__hero { min-height: 238px; padding: clamp(30px, 5vw, 54px); }
.bf-directory__hero > *, .bf-competition__hero > * { position: relative; z-index: 1; }
.bf-directory__hero h1, .bf-competition__hero h1 { font-size: clamp(34px, 5vw, 55px); font-weight: 900; letter-spacing: -0.055em; max-width: 720px; }
.bf-directory__hero p:not(.bf-eyebrow), .bf-competition__hero p:not(.bf-eyebrow) { color: rgba(255, 255, 255, 0.74); font-size: clamp(13px, 1.7vw, 16px); line-height: 1.65; max-width: 610px; }
.bf-directory__hero .bf-eyebrow, .bf-competition__hero .bf-eyebrow { align-items: center; color: var(--bf-accent); display: flex; gap: 8px; letter-spacing: 0.16em; }
.bf-directory__hero .bf-eyebrow span, .bf-competition__hero .bf-eyebrow span { background: var(--bf-accent); border-radius: 50%; box-shadow: 0 0 0 5px rgba(184, 235, 50, 0.13); height: 6px; width: 6px; }
.bf-directory__hero-icon { background: rgba(255, 255, 255, 0.07); border-radius: 20px; height: 82px; width: 82px; }
.bf-directory__hero-icon svg { height: 48px; stroke: var(--bf-accent); width: 48px; }
.bf-directory__total { align-items: flex-start; backdrop-filter: blur(12px); background: rgba(255, 255, 255, 0.08); border-radius: 18px; min-width: 150px; padding: 18px 21px; }
.bf-directory__total small { color: var(--bf-accent); font-size: 8px; font-weight: 900; letter-spacing: 0.13em; margin-bottom: 9px; text-transform: uppercase; }
.bf-directory__total strong { font-size: 39px; letter-spacing: -0.06em; }
.bf-directory__total span { font-size: 9px; }

.bf-directory__promise { background: #fff; border: 1px solid var(--bf-line); border-radius: 18px; box-shadow: 0 18px 48px rgba(7, 31, 44, 0.1); display: grid; gap: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: -25px 26px 22px; overflow: hidden; position: relative; z-index: 4; }
.bf-directory__promise > div { align-items: center; display: flex; gap: 12px; min-width: 0; padding: 17px 20px; }
.bf-directory__promise > div + div { border-left: 1px solid var(--bf-line); }
.bf-directory__promise > div > span { color: #9badb6; font-size: 10px; font-weight: 900; }
.bf-directory__promise p { margin: 0; min-width: 0; }
.bf-directory__promise strong, .bf-directory__promise small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bf-directory__promise strong { color: var(--bf-ink); font-size: 11px; }
.bf-directory__promise small { color: var(--bf-muted); font-size: 9px; margin-top: 2px; }

.bf-directory__toolbar { background: linear-gradient(135deg, #fff, #f8fbfc); border-radius: 16px; box-shadow: 0 9px 28px rgba(7, 31, 44, 0.06); padding: 17px; }
.bf-search__field input { background: #fff; border-radius: 12px; height: 52px; padding-left: 48px; }
.bf-region-tabs { gap: 7px; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: 18px 0 14px; }
.bf-region-tab { align-items: flex-start; border-radius: 13px; box-shadow: 0 4px 14px rgba(7, 31, 44, 0.04); flex-direction: column; gap: 7px; min-height: 84px; padding: 10px; }
.bf-region-tab:hover { box-shadow: 0 10px 25px rgba(7, 31, 44, 0.09); transform: translateY(-3px); }
.bf-region-tab.is-active { background: var(--bf-navy); border-color: var(--bf-navy); color: #fff; }
.bf-region-tab__code { background: #edf7fa; border-radius: 9px; height: 30px; width: 34px; }
.bf-region-tab.is-active .bf-region-tab__code { background: var(--bf-accent); color: var(--bf-navy); }
.bf-region-tab.is-active small { color: rgba(255, 255, 255, 0.62); }
.bf-region-panel { background: linear-gradient(145deg, #f3f8fa, #f9fbfc); border-radius: 18px; padding: 20px; }
.bf-region-panel__heading { margin-bottom: 17px; }
.bf-region-panel__heading span { background: var(--bf-navy); border-radius: 9px; height: 34px; }
.bf-region-panel__heading h2 { font-size: 21px; letter-spacing: -0.03em; }
.bf-country-grid { gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bf-country { border: 1px solid rgba(196, 215, 223, 0.85); border-left: 0; border-radius: 14px; box-shadow: 0 6px 18px rgba(7, 31, 44, 0.045); position: relative; }
.bf-country::before { background: linear-gradient(var(--bf-cyan), var(--bf-blue)); content: ""; height: 100%; left: 0; position: absolute; top: 0; width: 3px; }
.bf-country__toggle { min-height: 64px; padding: 10px 13px; }
.bf-country__flag { font-size: 24px; }
.bf-country__name strong { font-size: 12px; }
.bf-country__count { background: var(--bf-blue-soft); color: var(--bf-blue-dark); }
.bf-competition-list a { min-height: 51px; padding: 7px 10px; transition: background 150ms ease, padding 150ms ease; }
.bf-competition-list a:hover { padding-left: 14px; }

.bf-breadcrumbs { background: #f5f8fa; border: 1px solid var(--bf-line); border-radius: 999px; display: inline-flex; margin-bottom: 13px; padding: 6px 11px; }
.bf-competition__hero { min-height: 220px; padding: clamp(30px, 5vw, 50px); }
.bf-competition__identity { gap: 23px; }
.bf-competition__identity > .bf-competition-logo { border-radius: 22px; height: 102px; padding: 8px; width: 102px; }
.bf-competition__hero h1 { font-size: clamp(32px, 5vw, 50px); }
.bf-competition__all-link { backdrop-filter: blur(8px); border-radius: 999px; padding: 10px 15px; }
.bf-competition__all-link:hover { background: var(--bf-accent); border-color: var(--bf-accent); color: var(--bf-navy) !important; }

.bf-command-bar { align-items: center; background: rgba(255, 255, 255, 0.97); border: 1px solid var(--bf-line); border-radius: 15px; box-shadow: 0 12px 35px rgba(7, 31, 44, 0.08); display: flex; gap: 14px; justify-content: space-between; margin: -28px 22px 18px; min-height: 59px; padding: 8px; position: relative; z-index: 5; }
.bf-page-nav { flex-wrap: nowrap; margin: 0; }
.bf-page-nav a { border-color: transparent; border-radius: 10px; min-height: 40px; padding: 8px 12px; }
.bf-page-nav a span { color: var(--bf-blue); font-size: 14px; }
.bf-page-nav a.is-active { background: var(--bf-navy); color: #fff !important; }
.bf-page-nav a.is-active span { color: var(--bf-accent); }
.bf-data-status { background: #f4f8f1; border-color: #deebd1; border-radius: 10px; flex: 0 0 auto; margin: 0; }
.bf-data-status__source { display: none; }

.bf-overview { scroll-margin-top: 20px; }
.bf-summary { gap: 10px; margin-bottom: 12px; }
.bf-summary > div { align-items: center; background: linear-gradient(145deg, #fff, #f7fafb); border-radius: 14px; display: grid; gap: 0 10px; grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto auto; padding: 13px; }
.bf-summary i { align-items: center; background: var(--bf-navy); border-radius: 10px; color: var(--bf-accent); display: flex; font-size: 10px; font-style: normal; font-weight: 900; grid-row: 1 / 3; height: 36px; justify-content: center; width: 36px; }
.bf-summary span, .bf-summary strong { grid-column: 2; }
.bf-summary strong { font-size: 15px; margin: 0; }
.bf-dashboard-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); margin-bottom: 14px; }
.bf-leader-spotlight, .bf-match-center { border-radius: 20px; min-width: 0; overflow: hidden; position: relative; }
.bf-leader-spotlight { background: radial-gradient(circle at 90% -20%, rgba(55, 212, 238, 0.21), transparent 36%), linear-gradient(135deg, #071c2a, #0a3448); box-shadow: 0 17px 40px rgba(7, 28, 42, 0.17); color: #fff; padding: 20px; }
.bf-card-kicker { align-items: center; color: var(--bf-accent); display: flex; font-size: 9px; font-weight: 900; gap: 7px; letter-spacing: 0.14em; margin-bottom: 17px; text-transform: uppercase; }
.bf-card-kicker .is-live { animation: bf-pulse 1.8s ease-out infinite; background: var(--bf-success); border-radius: 50%; height: 7px; width: 7px; }
@keyframes bf-pulse { 0% { box-shadow: 0 0 0 0 rgba(7, 150, 75, 0.4); } 70% { box-shadow: 0 0 0 7px rgba(7, 150, 75, 0); } 100% { box-shadow: 0 0 0 0 rgba(7, 150, 75, 0); } }
.bf-leader-spotlight__main { align-items: center; display: grid; gap: 14px; grid-template-columns: 66px minmax(0, 1fr) auto; }
.bf-leader-logo { align-items: center; background: #fff; border-radius: 18px; display: flex; height: 66px; justify-content: center; overflow: hidden; position: relative; width: 66px; }
.bf-leader-logo img { height: 100%; object-fit: contain; padding: 7px; position: relative; width: 100%; z-index: 2; }
.bf-leader-logo b { align-items: center; color: var(--bf-navy); display: flex; inset: 0; justify-content: center; position: absolute; }
.bf-leader-logo.is-broken img { display: none; }
.bf-leader-spotlight__main small { color: rgba(255, 255, 255, 0.56); font-size: 8px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.bf-leader-spotlight__main h2 { color: #fff; font-size: clamp(20px, 3vw, 28px); letter-spacing: -0.035em; line-height: 1.05; margin: 3px 0 4px; text-transform: none; }
.bf-leader-spotlight__main p { color: rgba(255, 255, 255, 0.7); font-size: 10px; margin: 0; }
.bf-leader-points { align-items: center; background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 15px; display: flex; flex-direction: column; min-width: 72px; padding: 10px; }
.bf-leader-points strong { color: var(--bf-accent); font-size: 30px; letter-spacing: -0.05em; line-height: 1; }
.bf-leader-points span { color: rgba(255, 255, 255, 0.55); font-size: 8px; margin-top: 3px; text-transform: uppercase; }
.bf-leader-metrics { border-bottom: 1px solid rgba(255, 255, 255, 0.1); border-top: 1px solid rgba(255, 255, 255, 0.1); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 18px 0 14px; padding: 12px 0; }
.bf-leader-metrics > div { min-width: 0; padding: 0 10px; }
.bf-leader-metrics > div + div { border-left: 1px solid rgba(255, 255, 255, 0.1); }
.bf-leader-metrics span { color: rgba(255, 255, 255, 0.5); display: block; font-size: 8px; text-transform: uppercase; }
.bf-leader-metrics strong { color: #fff; display: block; font-size: 16px; margin-top: 3px; }
.bf-leader-metrics .bf-form { margin-top: 5px; }
.bf-leader-metrics .bf-form i { height: 18px; width: 18px; }
.bf-leader-action { align-items: center; appearance: none; background: transparent; border: 0; color: #fff; cursor: pointer; display: flex; font-size: 10px; font-weight: 800; justify-content: space-between; margin: 0; padding: 0; width: 100%; }
.bf-leader-action span { align-items: center; background: var(--bf-accent); border-radius: 50%; color: var(--bf-navy); display: flex; height: 25px; justify-content: center; width: 25px; }

.bf-match-center { background: #f3f8fa; border: 1px solid var(--bf-line); padding: 20px; }
.bf-match-center .bf-card-kicker { color: var(--bf-navy); }
.bf-featured-match + .bf-featured-match { border-top: 1px solid var(--bf-line); margin-top: 12px; padding-top: 12px; }
.bf-featured-match > p { color: var(--bf-muted); font-size: 8px; font-weight: 900; letter-spacing: 0.1em; margin: 0 0 6px; text-transform: uppercase; }
.bf-featured-match .bf-match { background: transparent; border: 0; min-height: 67px; padding: 0; }
.bf-featured-match .bf-match__logo { height: 35px; width: 35px; }
.bf-featured-match .bf-match__team strong { font-size: 9px; }
.bf-featured-match .bf-match__center em { display: none; }
.bf-match-center__empty { align-items: center; color: var(--bf-muted); display: flex; flex-direction: column; justify-content: center; min-height: 170px; text-align: center; }
.bf-match-center__empty strong { color: var(--bf-navy); font-size: 15px; }
.bf-match-center__empty span { font-size: 10px; margin-top: 5px; max-width: 250px; }

.bf-editorial { align-items: flex-start; background: #fff; border: 1px solid var(--bf-line); border-left: 0; border-radius: 18px; display: grid; gap: 17px; grid-template-columns: 47px minmax(0, 1fr); margin-bottom: 28px; padding: 20px; }
.bf-editorial__mark { align-items: center; background: var(--bf-blue-soft); border-radius: 14px; color: var(--bf-blue); display: flex; font-family: Georgia, serif; font-size: 40px; height: 47px; justify-content: center; line-height: 1; padding-top: 12px; }
.bf-editorial .bf-editorial__title { color: var(--bf-navy); font-size: 10px; font-weight: 900; letter-spacing: 0.13em; margin-bottom: 7px; text-transform: uppercase; }
.bf-editorial p { font-size: 12px; line-height: 1.75; }

.bf-standings, .bf-rounds { background: #fff; border: 1px solid var(--bf-line); border-radius: 20px; box-shadow: 0 14px 40px rgba(7, 31, 44, 0.065); padding: clamp(15px, 2.5vw, 24px); }
.bf-section-heading { border-bottom: 1px solid var(--bf-line); margin-bottom: 16px; padding-bottom: 15px; }
.bf-section-heading h2 { font-size: clamp(22px, 3vw, 31px); letter-spacing: -0.045em; text-transform: none; }
.bf-section-heading .bf-eyebrow { color: var(--bf-blue-dark); }
.bf-table-scroll { border-radius: 14px; }
.bf-table thead th { background: var(--bf-navy); color: rgba(255, 255, 255, 0.74); height: 42px; }
.bf-table thead th:first-child { border-radius: 12px 0 0; }
.bf-table thead th:last-child { border-radius: 0 12px 0 0; }
.bf-table th, .bf-table td { height: 55px; }
.bf-table tbody tr:nth-child(even) td { background: #fafcfd; }
.bf-table tbody tr:hover td { background: #eef9fc; }
.bf-rank { background: #edf2f4; border-radius: 50%; color: var(--bf-muted); height: 29px; min-width: 29px; }
.bf-rank.is-podium { background: #dff6fb; color: var(--bf-blue-dark); }
.bf-rank.is-leader { background: var(--bf-accent); box-shadow: 0 0 0 4px rgba(184, 235, 50, 0.17); color: var(--bf-navy); }
.bf-team-logo { background: #fff; border-radius: 9px; height: 35px; width: 35px; }
.bf-team-button strong { font-size: 12px; }
.bf-table__points { color: var(--bf-blue-dark) !important; font-size: 14px; }

.bf-rounds__description { background: #f4fafc; border-left-color: var(--bf-accent); border-radius: 12px; }
.bf-round-nav { background: var(--bf-navy); border: 0; border-radius: 14px; }
.bf-round-nav label > span { color: rgba(255, 255, 255, 0.55); }
.bf-round-nav select { background-color: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); color: #fff; }
.bf-round-nav select option { color: var(--bf-ink); }
.bf-round-nav > button { color: var(--bf-accent); }
.bf-round-nav > button:first-child { border-right-color: rgba(255, 255, 255, 0.1); }
.bf-round-nav > button:last-child { border-left-color: rgba(255, 255, 255, 0.1); }
.bf-round-nav > button:hover:not(:disabled) { background: rgba(255, 255, 255, 0.08); }
.bf-match-day h3 { color: var(--bf-muted); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.bf-match { border-left: 0; border-radius: 14px; min-height: 80px; position: relative; }
.bf-match::before { background: linear-gradient(var(--bf-cyan), var(--bf-blue)); border-radius: 3px; content: ""; height: 34px; left: 0; position: absolute; top: 50%; transform: translateY(-50%); width: 3px; }
button.bf-match.is-clickable:hover { box-shadow: 0 12px 28px rgba(0, 166, 214, 0.13); transform: translateY(-2px); }
.bf-match__center > strong { background: var(--bf-navy); border-radius: 9px; font-size: 13px; }
.bf-match__center em { color: var(--bf-blue-dark); }

.bf-modal__backdrop { backdrop-filter: blur(10px); background: rgba(2, 14, 22, 0.86); }
.bf-modal__dialog { border-radius: 24px; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.48); }
.bf-modal__header { background: linear-gradient(125deg, #061923, #0a4055); min-height: 92px; padding: 20px 24px; position: relative; }
.bf-modal__header::after { background: var(--bf-accent); bottom: 0; content: ""; height: 3px; left: 24px; position: absolute; width: 72px; }
.bf-modal__close { border-radius: 12px; }
.bf-stats-overview { border-radius: 18px; padding: 23px; }
.bf-stats-score strong { background: var(--bf-navy); border-radius: 12px; color: var(--bf-accent); font-size: 26px; }
.bf-match-info > div, .bf-stats-group, .bf-squad-summary > div, .bf-player { border-radius: 13px; }
.bf-stats-tabs { background: #dfe9ed; border-radius: 12px; }
.bf-stats-tabs button.is-active { color: var(--bf-navy); }
.bf-stat-bars i.is-home { background: var(--bf-accent); }
.bf-stat-bars i.is-away { background: var(--bf-cyan); }

@media (max-width: 920px) {
	.bf-region-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.bf-dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
	.bf-directory__hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-bottom: 54px; }
	.bf-directory__hero-icon, .bf-directory__total { display: none; }
	.bf-directory__promise { grid-template-columns: 1fr; margin-left: 12px; margin-right: 12px; }
	.bf-directory__promise > div + div { border-left: 0; border-top: 1px solid var(--bf-line); }
	.bf-directory__promise > div { padding: 13px 16px; }
	.bf-country-grid { grid-template-columns: 1fr; }
	.bf-command-bar { align-items: stretch; flex-direction: column; margin-left: 10px; margin-right: 10px; }
	.bf-page-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bf-page-nav a { justify-content: center; padding: 7px; text-align: center; }
	.bf-data-status { justify-content: center; }
	.bf-leader-spotlight__main { grid-template-columns: 55px minmax(0, 1fr) auto; }
	.bf-leader-logo { border-radius: 14px; height: 55px; width: 55px; }
	.bf-leader-points { min-width: 60px; }
	.bf-leader-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bf-leader-metrics > div { padding: 9px 10px; }
	.bf-leader-metrics > div:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
	.bf-leader-metrics > div:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.1); }
	.bf-editorial { grid-template-columns: 38px minmax(0, 1fr); padding: 15px; }
	.bf-editorial__mark { border-radius: 11px; font-size: 31px; height: 38px; }
}

@media (max-width: 520px) {
	.bf-directory__hero, .bf-competition__hero { border-radius: 18px; }
	.bf-directory__hero h1, .bf-competition__hero h1 { font-size: 31px; }
	.bf-region-tabs { display: flex; margin-left: -2px; margin-right: -2px; overflow-x: auto; padding: 2px 2px 9px; scrollbar-width: none; }
	.bf-region-tab { flex: 0 0 128px; min-height: 74px; }
	.bf-competition__identity { align-items: flex-start; }
	.bf-competition__identity > .bf-competition-logo { border-radius: 15px; height: 64px; width: 64px; }
	.bf-competition__hero { min-height: 0; padding: 25px 20px 48px; }
	.bf-summary { grid-template-columns: 1fr 1fr; }
	.bf-summary > div { grid-template-columns: 30px minmax(0, 1fr); padding: 10px; }
	.bf-summary i { height: 30px; width: 30px; }
	.bf-summary strong { font-size: 12px; }
	.bf-leader-spotlight, .bf-match-center { border-radius: 16px; padding: 15px; }
	.bf-leader-spotlight__main { align-items: start; grid-template-columns: 50px minmax(0, 1fr); }
	.bf-leader-logo { height: 50px; width: 50px; }
	.bf-leader-points { align-items: flex-start; flex-direction: row; gap: 6px; grid-column: 1 / -1; justify-content: center; width: 100%; }
	.bf-leader-points strong { font-size: 22px; }
	.bf-page-nav a { flex-direction: column; font-size: 8px; gap: 2px; }
	.bf-featured-match .bf-match { grid-template-columns: minmax(0, 1fr) 55px minmax(0, 1fr); }
	.bf-standings, .bf-rounds { border-radius: 16px; margin-left: -2px; margin-right: -2px; padding: 11px; }
	.bf-modal__dialog { border-radius: 17px; }
}

@media (prefers-reduced-motion: reduce) {
	.bf-card-kicker .is-live { animation: none !important; }
}

/* 4.1 — responsive to the real article width, not only to the viewport. */
.bf-directory,
.bf-competition {
	container-type: inline-size;
	overflow-x: clip;
}

.bf-standings,
.bf-rounds,
.bf-overview {
	scroll-margin-top: 96px;
}

@container (max-width: 720px) {
	.bf-directory__hero {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
		padding: 32px 26px 54px;
	}

	.bf-directory__hero-icon,
	.bf-directory__total {
		display: none;
	}

	.bf-directory__hero h1,
	.bf-competition__hero h1 {
		font-size: clamp(29px, 9cqw, 43px);
	}

	.bf-directory__promise {
		grid-template-columns: 1fr;
		margin: -26px 12px 18px;
	}

	.bf-directory__promise > div + div {
		border-left: 0;
		border-top: 1px solid var(--bf-line);
	}

	.bf-directory__promise > div {
		padding: 13px 16px;
	}

	.bf-region-tabs {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		overflow: visible;
		padding: 0;
	}

	.bf-region-tab {
		flex: initial;
		min-height: 70px;
	}

	.bf-country-grid {
		grid-template-columns: 1fr;
	}

	.bf-competition__hero {
		align-items: flex-start;
		flex-direction: column;
		min-height: 0;
		padding: 30px 24px 51px;
	}

	.bf-competition__identity {
		align-items: flex-start;
		gap: 15px;
		width: 100%;
	}

	.bf-competition__identity > .bf-competition-logo {
		border-radius: 16px;
		height: 72px;
		width: 72px;
	}

	.bf-competition__identity > div {
		min-width: 0;
	}

	.bf-competition__hero p:not(.bf-eyebrow) {
		font-size: 13px;
		line-height: 1.55;
	}

	.bf-competition__all-link {
		align-self: stretch;
		justify-content: center;
	}

	.bf-command-bar {
		align-items: stretch;
		flex-direction: column;
		margin: -28px 10px 17px;
	}

	.bf-page-nav {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.bf-page-nav a {
		align-items: center;
		flex-direction: column;
		font-size: 9px;
		gap: 2px;
		justify-content: center;
		padding: 7px 4px;
		text-align: center;
	}

	.bf-data-status {
		justify-content: center;
	}

	.bf-summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bf-dashboard-grid {
		grid-template-columns: 1fr;
	}

	.bf-leader-spotlight__main {
		grid-template-columns: 56px minmax(0, 1fr) auto;
	}

	.bf-leader-logo {
		height: 56px;
		width: 56px;
	}

	.bf-leader-metrics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bf-leader-metrics > div {
		padding: 9px 10px;
	}

	.bf-leader-metrics > div:nth-child(3) {
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	.bf-leader-metrics > div:nth-child(4) {
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	.bf-editorial {
		grid-template-columns: 40px minmax(0, 1fr);
		padding: 16px;
	}

	.bf-editorial__mark {
		border-radius: 11px;
		font-size: 31px;
		height: 40px;
	}

	.bf-standings,
	.bf-rounds {
		border-radius: 17px;
		padding: 15px;
	}

	.bf-section-heading {
		align-items: stretch;
		flex-direction: column;
	}

	.bf-group-picker {
		flex-basis: auto;
		width: 100%;
	}

	.bf-scroll-hint {
		display: none;
	}

	.bf-table-scroll {
		border: 0;
		overflow: visible;
	}

	.bf-table {
		background: transparent;
		display: block;
		min-width: 0;
		width: 100%;
	}

	.bf-table thead {
		display: none;
	}

	.bf-table tbody {
		display: grid;
		gap: 11px;
		width: 100%;
	}

	.bf-table tbody tr {
		background: #fff;
		border: 1px solid var(--bf-line);
		border-radius: 14px;
		display: grid;
		gap: 0;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		overflow: hidden;
		padding: 12px;
		position: relative;
		width: 100%;
	}

	.bf-table tbody tr:nth-child(even) td,
	.bf-table tbody tr:hover td {
		background: transparent;
	}

	.bf-table td {
		border: 0;
		height: auto;
		min-width: 0;
		padding: 8px 4px;
	}

	.bf-table td:first-child {
		left: 12px;
		padding: 0;
		position: absolute;
		top: 14px;
		width: auto;
	}

	.bf-table td:nth-child(2) {
		border-bottom: 1px solid var(--bf-line);
		grid-column: 1 / -1;
		min-width: 0;
		padding: 0 0 12px 39px;
		text-align: left !important;
	}

	.bf-table td:nth-child(n+3) {
		align-items: center;
		display: flex;
		flex-direction: column;
		font-size: 12px;
		font-weight: 800;
		justify-content: flex-start;
		text-align: center;
	}

	.bf-table td:nth-child(n+3)::before {
		color: var(--bf-muted);
		content: attr(data-label);
		font-size: 7px;
		font-weight: 800;
		letter-spacing: 0.04em;
		line-height: 1.15;
		margin-bottom: 4px;
		min-height: 16px;
		text-transform: uppercase;
	}

	.bf-table td:last-child {
		align-items: flex-start;
		border-top: 1px solid var(--bf-line);
		grid-column: 1 / -1;
		margin-top: 3px;
		padding-top: 10px;
	}

	.bf-table td:last-child::before {
		min-height: 0;
	}

	.bf-team-button {
		width: 100%;
	}

	.bf-team-button strong {
		font-size: 13px;
	}

	.bf-form {
		flex-wrap: wrap;
	}

	.bf-round-nav {
		grid-template-columns: 42px minmax(0, 1fr) 42px;
	}

	.bf-match {
		gap: 6px;
		grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
		padding: 10px 7px;
	}

	.bf-match__team {
		align-items: center;
		flex-direction: column;
		gap: 5px;
		text-align: center !important;
	}

	.bf-match__team.is-home {
		flex-direction: column-reverse;
	}

	.bf-match__team strong {
		font-size: 10px;
		max-width: 100%;
		overflow-wrap: anywhere;
	}

	.bf-match__center em {
		display: none;
	}
}

@container (max-width: 390px) {
	.bf-directory__hero,
	.bf-competition__hero {
		border-radius: 16px;
		padding-left: 18px;
		padding-right: 18px;
	}

	.bf-competition__identity {
		display: grid;
		grid-template-columns: 57px minmax(0, 1fr);
	}

	.bf-competition__identity > .bf-competition-logo {
		height: 57px;
		width: 57px;
	}

	.bf-summary > div {
		gap: 0 7px;
		grid-template-columns: 30px minmax(0, 1fr);
		padding: 9px;
	}

	.bf-summary i {
		height: 30px;
		width: 30px;
	}

	.bf-summary strong {
		font-size: 12px;
	}

	.bf-leader-spotlight,
	.bf-match-center {
		border-radius: 15px;
		padding: 14px;
	}

	.bf-leader-spotlight__main {
		align-items: start;
		grid-template-columns: 48px minmax(0, 1fr);
	}

	.bf-leader-logo {
		height: 48px;
		width: 48px;
	}

	.bf-leader-points {
		align-items: center;
		flex-direction: row;
		gap: 5px;
		grid-column: 1 / -1;
		justify-content: center;
		width: 100%;
	}

	.bf-leader-points strong {
		font-size: 22px;
	}

	.bf-standings,
	.bf-rounds {
		padding: 11px;
	}

	.bf-table tbody tr {
		padding: 11px 8px;
	}

	.bf-table td:first-child {
		left: 9px;
	}

	.bf-table td:nth-child(2) {
		padding-left: 36px;
	}
}

/* Compact sidebar navigator. */
.bf-compact-picker {
	display: none;
}

.bf-directory--sidebar {
	background: #fff;
	border: 1px solid var(--bf-line);
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(7, 31, 44, .09);
	overflow: hidden;
}

.bf-sidebar-menu__head {
	background: radial-gradient(circle at 90% 0, rgba(37, 211, 205, .25), transparent 45%), linear-gradient(145deg, #031d2a, #075069);
	color: #fff;
	padding: 20px 17px 18px;
}

.bf-sidebar-menu__head .bf-eyebrow {
	color: var(--bf-accent);
	font-size: 8px;
	letter-spacing: .12em;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.bf-sidebar-menu__head h2 {
	color: #fff;
	font-size: 22px;
	letter-spacing: -.03em;
	line-height: 1.05;
	margin: 0;
}

.bf-sidebar-menu__head > p:last-child {
	color: rgba(255,255,255,.68);
	font-size: 10px;
	margin: 7px 0 0;
}

.bf-directory--sidebar .bf-compact-picker {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	display: block;
	padding: 14px;
}

@container (max-width: 420px) {
	.bf-directory__promise,
	.bf-directory__toolbar,
	.bf-directory .bf-region-tabs,
	.bf-directory .bf-region-panels,
	.bf-directory__empty {
		display: none !important;
	}

	.bf-directory__hero {
		border-radius: 15px 15px 0 0;
		margin: 0;
		padding: 24px 18px;
	}

	.bf-directory__hero::before {
		left: 18px;
	}

	.bf-directory__hero h1 {
		font-size: clamp(23px, 12cqw, 32px);
	}

	.bf-directory__hero p:not(.bf-eyebrow) {
		font-size: 11px;
		line-height: 1.5;
		margin-top: 7px;
	}

	.bf-directory__hero .bf-eyebrow {
		font-size: 8px;
	}

	.bf-hero-pitch {
		opacity: 0.08;
	}

	.bf-compact-picker {
		background: #fff;
		border: 1px solid var(--bf-line);
		border-radius: 0 0 15px 15px;
		box-shadow: 0 14px 35px rgba(7, 31, 44, 0.09);
		display: block;
		padding: 15px;
	}

	.bf-compact-picker__heading {
		align-items: center;
		display: flex;
		gap: 9px;
		margin-bottom: 14px;
	}

	.bf-compact-picker__heading > span {
		align-items: center;
		background: var(--bf-navy);
		border-radius: 10px;
		color: var(--bf-accent);
		display: flex;
		font-size: 18px;
		height: 37px;
		justify-content: center;
		width: 37px;
	}

	.bf-compact-picker__heading strong,
	.bf-compact-picker__heading small {
		display: block;
	}

	.bf-compact-picker__heading strong {
		color: var(--bf-navy);
		font-size: 12px;
	}

	.bf-compact-picker__heading small {
		color: var(--bf-muted);
		font-size: 9px;
		margin-top: 2px;
	}

	.bf-compact-picker label {
		display: block;
		margin: 0 0 10px;
	}

	.bf-compact-picker label > span {
		color: var(--bf-muted);
		display: block;
		font-size: 8px;
		font-weight: 900;
		letter-spacing: 0.08em;
		margin-bottom: 5px;
		text-transform: uppercase;
	}

	.bf-compact-picker select {
		appearance: none;
		background: #f5f9fa;
		border: 1px solid var(--bf-line-strong);
		border-radius: 10px;
		color: var(--bf-ink);
		font-size: 11px;
		height: 43px;
		max-width: 100%;
		padding: 0 10px;
		width: 100%;
	}

	.bf-compact-picker select:focus {
		border-color: var(--bf-blue);
		box-shadow: 0 0 0 3px rgba(0, 166, 214, 0.12);
		outline: 0;
	}

	.bf-compact-picker button {
		align-items: center;
		appearance: none;
		background: var(--bf-navy);
		border: 0;
		border-radius: 10px;
		color: #fff;
		display: flex;
		font-size: 10px;
		font-weight: 900;
		justify-content: space-between;
		margin: 2px 0 0;
		min-height: 43px;
		padding: 9px 12px;
		width: 100%;
	}

	.bf-compact-picker button span {
		color: var(--bf-accent);
		font-size: 16px;
	}

	.bf-compact-picker button:disabled {
		cursor: not-allowed;
		opacity: 0.45;
	}
}

/* Dedicated match shortcode. */
.bf-single-match {
	background: #f3f7f9;
	border: 1px solid var(--bf-line);
	border-radius: 22px;
	color: var(--bf-ink);
	container-type: inline-size;
	font-family: inherit;
	max-width: 100%;
	overflow: hidden;
	width: 100%;
}

.bf-single-match,
.bf-single-match * {
	box-sizing: border-box;
}

.bf-single-match__hero {
	background: radial-gradient(circle at 85% 0, rgba(55, 212, 238, 0.2), transparent 30%), linear-gradient(125deg, #061923, #0a4055);
	color: #fff;
	min-height: 210px;
	padding: clamp(25px, 5cqw, 48px);
	position: relative;
	text-align: center;
}

.bf-single-match__hero::after {
	background: var(--bf-accent);
	bottom: 0;
	content: "";
	height: 4px;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	width: 80px;
}

.bf-single-match__status {
	align-items: center;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	display: inline-flex;
	font-size: 9px;
	font-weight: 900;
	gap: 7px;
	letter-spacing: 0.08em;
	margin-bottom: 15px;
	padding: 7px 11px;
	text-transform: uppercase;
}

.bf-single-match__status span {
	background: var(--bf-success);
	border-radius: 50%;
	height: 7px;
	width: 7px;
}

.bf-single-match__status span.is-final {
	background: var(--bf-accent);
}

.bf-single-match__hero .bf-eyebrow {
	color: var(--bf-accent);
	margin-bottom: 8px;
}

.bf-single-match__hero h1 {
	color: #fff;
	font-family: inherit;
	font-size: clamp(18px, 3.8cqw, 34px);
	font-weight: 900;
	letter-spacing: -0.045em;
	line-height: 1.08;
	margin: 0;
	text-transform: none;
	white-space: nowrap;
}

.bf-single-match__date {
	color: rgba(255, 255, 255, 0.66);
	font-size: 11px;
	margin: 10px 0 0;
}

.bf-single-match__score {
	background: var(--bf-accent);
	border-radius: 12px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
	color: var(--bf-navy);
	display: inline-block;
	font-size: 22px;
	font-weight: 900;
	line-height: 1;
	margin-top: 16px;
	min-width: 70px;
	padding: 10px 14px;
}

.bf-single-match__body {
	padding: clamp(12px, 3cqw, 24px);
}

.bf-single-match__story {
	background: #fff;
	border-bottom: 1px solid var(--bf-line);
	padding: clamp(20px, 4cqw, 34px);
	position: relative;
}

.bf-single-match__story::after {
	background: radial-gradient(circle, rgba(174, 255, 45, .18), transparent 68%);
	content: "";
	height: 150px;
	pointer-events: none;
	position: absolute;
	right: -30px;
	top: -35px;
	width: 150px;
}

.bf-single-match__story h2 {
	color: var(--bf-navy);
	font-family: inherit;
	font-size: clamp(20px, 4cqw, 30px);
	font-weight: 900;
	letter-spacing: -.035em;
	line-height: 1.15;
	margin: 5px 0 12px;
	position: relative;
	white-space: nowrap;
}

.bf-match-hero-teams {
	align-items: center;
	display: grid;
	gap: clamp(10px, 2.5cqw, 24px);
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	margin: 8px auto 18px;
	max-width: 650px;
}

.bf-match-hero-teams > div { align-items: center; display: flex; gap: 10px; min-width: 0; }
.bf-match-hero-teams > div:last-child { flex-direction: row-reverse; }
.bf-match-hero-teams strong { color: #fff; font-size: clamp(11px, 2.2cqw, 16px); line-height: 1.2; overflow-wrap: anywhere; }
.bf-match-hero-logo { align-items: center; background: transparent; display: flex; flex: 0 0 auto; height: clamp(44px, 8cqw, 68px); justify-content: center; width: clamp(44px, 8cqw, 68px); }
.bf-match-hero-logo img { background: transparent !important; height: 100%; object-fit: contain; width: 100%; }
.bf-match-hero-teams .bf-single-match__score { margin: 0; }

.bf-match-hero-facts {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 18px auto 0;
	max-width: 650px;
}
.bf-match-hero-facts > div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); border-radius: 12px; padding: 9px 11px; }
.bf-match-hero-facts span, .bf-match-hero-facts strong { display: block; }
.bf-match-hero-facts span { color: rgba(255,255,255,.58); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.bf-match-hero-facts strong { color: #fff; font-size: 10px; margin-top: 3px; overflow-wrap: anywhere; }

.bf-single-match__story > p:last-child {
	color: #415965;
	font-size: 13px;
	line-height: 1.8;
	margin: 0;
	max-width: 78ch;
	position: relative;
}

a.bf-match {
	color: inherit;
	text-decoration: none !important;
}

.bf-single-match__body .bf-stats-overview {
	margin-top: -1px;
}

.bf-single-match__footer {
	background: #fff;
	border-top: 1px solid var(--bf-line);
	color: var(--bf-muted);
	font-size: 9px;
	padding: 9px 14px;
	text-align: center;
}

@container (max-width: 480px) {
	.bf-single-match__hero {
		min-height: 0;
		padding: 25px 15px;
	}

	.bf-single-match__hero h1 {
		font-size: clamp(22px, 9cqw, 31px);
		white-space: normal;
	}
	.bf-single-match__story h2 { white-space: normal; }
	.bf-match-hero-teams { gap: 6px; }
	.bf-match-hero-teams > div, .bf-match-hero-teams > div:last-child { flex-direction: column; gap: 5px; text-align: center; }
	.bf-match-hero-facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.bf-match-hero-facts > div:last-child { grid-column: 1 / -1; }

	.bf-single-match__body {
		padding: 9px;
	}

	.bf-single-match .bf-stats-overview {
		gap: 6px;
		padding: 12px 7px;
	}

	.bf-single-match .bf-stats-team {
		flex-direction: column;
		gap: 5px;
		text-align: center;
	}

	.bf-single-match .bf-stats-team.is-home,
	.bf-single-match .bf-stats-team.is-away {
		justify-content: center;
		text-align: center;
	}

	.bf-single-match .bf-stats-team strong {
		font-size: 10px;
	}

	.bf-single-match .bf-match-info {
		grid-template-columns: 1fr;
	}
}

/* Complete match center: context, timeline, lineups and head-to-head. */
.bf-match-extras {
	display: grid;
	gap: 10px;
	margin-top: 12px;
}

.bf-match-extra {
	background: #fff;
	border: 1px solid var(--bf-line);
	border-radius: 14px;
	overflow: hidden;
}

.bf-match-extra > summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	list-style: none;
	min-height: 50px;
	padding: 12px 15px;
}

.bf-match-extra > summary::-webkit-details-marker {
	display: none;
}

.bf-match-extra > summary::after {
	color: var(--bf-blue-dark);
	content: "+";
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
}

.bf-match-extra[open] > summary::after {
	content: "−";
}

.bf-match-extra > summary strong {
	color: var(--bf-navy);
	font-size: 12px;
	font-weight: 900;
	overflow-wrap: break-word;
}

.bf-match-extra > summary span {
	align-items: center;
	background: var(--bf-blue-soft);
	border-radius: 999px;
	color: var(--bf-blue-dark);
	display: inline-flex;
	font-size: 9px;
	height: 23px;
	justify-content: center;
	margin-left: auto;
	min-width: 23px;
	padding: 0 7px;
}

.bf-context-grid,
.bf-h2h-summary {
	border-top: 1px solid var(--bf-line);
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding: 12px;
}

.bf-context-grid > div,
.bf-h2h-summary > div {
	background: var(--bf-surface-alt);
	border-radius: 10px;
	min-width: 0;
	padding: 10px;
}

.bf-context-grid span,
.bf-context-grid strong,
.bf-h2h-summary span,
.bf-h2h-summary strong {
	display: block;
}

.bf-context-grid span,
.bf-h2h-summary span {
	color: var(--bf-muted);
	font-size: 8px;
	font-weight: 800;
	text-transform: uppercase;
}

.bf-context-grid strong,
.bf-h2h-summary strong {
	color: var(--bf-ink);
	font-size: 11px;
	margin-top: 3px;
	overflow-wrap: anywhere;
}

.bf-h2h-summary strong {
	color: var(--bf-blue-dark);
	font-size: 21px;
}

.bf-timeline {
	border-top: 1px solid var(--bf-line);
	display: grid;
	gap: 0;
	max-height: none;
	overflow: visible;
	padding: 7px 14px;
}

.bf-timeline__event {
	align-items: center;
	border-bottom: 1px solid #edf2f4;
	display: grid;
	gap: 12px;
	grid-template-columns: 44px minmax(0, 1fr);
	min-height: 51px;
	padding: 7px 0;
}

.bf-timeline__event:last-child {
	border-bottom: 0;
}

.bf-timeline__event time {
	align-items: center;
	background: var(--bf-navy);
	border-radius: 9px;
	color: var(--bf-accent);
	display: flex;
	font-size: 10px;
	font-weight: 900;
	height: 32px;
	justify-content: center;
}

.bf-timeline__event strong,
.bf-timeline__event span {
	display: block;
}

.bf-timeline__event strong {
	color: var(--bf-ink);
	font-size: 11px;
}

.bf-timeline__event span {
	color: var(--bf-muted);
	font-size: 9px;
	margin-top: 2px;
}

.bf-lineups {
	border-top: 1px solid var(--bf-line);
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: 12px;
}

.bf-lineup-team {
	background: var(--bf-surface-alt);
	border-radius: 12px;
	overflow: hidden;
	padding: 10px;
}

.bf-lineup-team h3 {
	align-items: center;
	color: var(--bf-navy);
	display: flex;
	font-family: inherit;
	font-size: 13px;
	justify-content: space-between;
	margin: 0 0 8px;
	text-transform: none;
}

.bf-lineup-team h3 span {
	background: var(--bf-navy);
	border-radius: 7px;
	color: var(--bf-accent);
	font-size: 9px;
	padding: 4px 7px;
}

.bf-lineup-team h4 {
	border-top: 1px solid var(--bf-line);
	color: var(--bf-muted);
	font-family: inherit;
	font-size: 9px;
	letter-spacing: 0.1em;
	margin: 10px 0 5px;
	padding-top: 10px;
	text-transform: uppercase;
}

.bf-lineup-player {
	align-items: center;
	background: #fff;
	border-bottom: 1px solid #edf2f4;
	display: grid;
	gap: 8px;
	grid-template-columns: 36px minmax(0, 1fr) auto;
	min-height: 48px;
	padding: 6px;
}

a.bf-lineup-player, a.bf-player, .bf-context-grid a { color: inherit; text-decoration: none !important; }
a.bf-lineup-player:hover, a.bf-player:hover, .bf-context-grid a:hover { border-color: #25c7df; box-shadow: 0 8px 20px rgba(1,35,49,.09); transform: translateY(-1px); }

/* Individual football profile. */
.bf-single-person { background:#f3f7f9; border:1px solid var(--bf-line); border-radius:22px; color:var(--bf-ink); container-type:inline-size; overflow:hidden; width:100%; }
.bf-single-person, .bf-single-person * { box-sizing:border-box; }
.bf-person-hero { align-items:center; background:radial-gradient(circle at 85% 0,rgba(55,212,238,.22),transparent 34%),linear-gradient(125deg,#061923,#0a4055); color:#fff; display:flex; gap:22px; padding:clamp(24px,5cqw,44px); }
.bf-person-hero .bf-player__photo { background:transparent; flex:0 0 auto; height:clamp(86px,16cqw,132px); width:clamp(86px,16cqw,132px); }
.bf-person-hero .bf-player__photo img { background:transparent!important; height:100%; object-fit:contain; width:100%; }
.bf-person-hero h1 { color:#fff; font-size:clamp(28px,6cqw,48px); letter-spacing:-.04em; line-height:1; margin:4px 0 10px; overflow-wrap:anywhere; }
.bf-person-hero p:last-child { color:rgba(255,255,255,.68); margin:0; }
.bf-person-body { display:grid; gap:14px; padding:clamp(12px,3cqw,24px); }
.bf-person-facts,.bf-person-matches,.bf-person-performance { background:#fff; border:1px solid var(--bf-line); border-radius:16px; padding:clamp(16px,3cqw,24px); }
.bf-person-facts h2,.bf-person-matches h2,.bf-person-performance h2 { color:var(--bf-navy); font-size:22px; margin:4px 0 15px; }
.bf-person-facts__grid { display:grid; gap:8px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.bf-person-facts__grid>div { background:#f3f7f9; border:1px solid var(--bf-line); border-radius:11px; min-width:0; padding:10px; }
.bf-person-facts__grid span,.bf-person-facts__grid strong { display:block; overflow-wrap:anywhere; }
.bf-person-facts__grid span { color:var(--bf-muted); font-size:8px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.bf-person-facts__grid strong { color:var(--bf-navy); font-size:11px; margin-top:4px; }
.bf-person-match-list { display:grid; gap:7px; }
.bf-person-stat-block { border-top:1px solid var(--bf-line); padding:14px 0 2px; }
.bf-person-stat-block h3 { color:var(--bf-navy); font-size:12px; margin:0 0 9px; }
.bf-person-stat-grid { display:grid; gap:7px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.bf-person-stat-grid>div { background:#f3f7f9; border-radius:10px; min-width:0; padding:9px; }
.bf-person-stat-grid span,.bf-person-stat-grid strong { display:block; overflow-wrap:anywhere; }
.bf-person-stat-grid span { color:var(--bf-muted); font-size:8px; }
.bf-person-stat-grid strong { color:var(--bf-navy); font-size:13px; margin-top:3px; }
@container (max-width:480px){.bf-person-hero{align-items:center;flex-direction:column;text-align:center}.bf-person-facts__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (max-width:480px){.bf-person-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.bf-lineup-player:first-of-type {
	border-radius: 9px 9px 0 0;
}

.bf-lineup-player .bf-player__photo {
	height: 36px;
	width: 36px;
}

.bf-lineup-player strong,
.bf-lineup-player span {
	display: block;
	overflow-wrap: break-word;
	white-space: normal;
}

.bf-lineup-player strong {
	font-size: 10px;
}

.bf-lineup-player span {
	color: var(--bf-muted);
	font-size: 8px;
	margin-top: 2px;
}

.bf-captain {
	align-items: center;
	background: var(--bf-accent);
	border-radius: 50%;
	color: var(--bf-navy);
	display: flex;
	font-size: 8px;
	height: 21px;
	justify-content: center;
	width: 21px;
}

.bf-h2h-list {
	border-top: 1px solid var(--bf-line);
	display: grid;
	gap: 7px;
	padding: 12px;
}

.bf-h2h-list .bf-match {
	min-height: 67px;
}

.bf-prematch__tabs {
	background: #f2f7f9;
	border-top: 1px solid var(--bf-line);
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 10px 12px;
}

.bf-prematch__tabs button {
	background: #fff;
	border: 1px solid var(--bf-line);
	border-radius: 999px;
	color: var(--bf-muted);
	cursor: pointer;
	font-family: inherit;
	font-size: 10px;
	font-weight: 900;
	min-height: 32px;
	padding: 7px 13px;
}

.bf-prematch__tabs button.is-active {
	background: var(--bf-navy);
	border-color: var(--bf-navy);
	color: var(--bf-accent);
}

.bf-prematch__body {
	padding: 0 12px 12px;
}

.bf-prematch__body .bf-stats-group {
	margin-top: 10px;
}

@container (max-width: 600px) {
	.bf-context-grid,
	.bf-h2h-summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bf-lineups {
		grid-template-columns: 1fr;
	}
}

.bf-team-dashboard {
	background: #fff;
	border: 1px solid var(--bf-line);
	border-radius: 14px;
	margin-bottom: 14px;
	overflow: hidden;
	padding: 14px;
}

.bf-team-dashboard > h3 {
	color: var(--bf-navy);
	font-family: inherit;
	font-size: 13px;
	margin: 0 0 10px;
	text-transform: none;
}

.bf-team-standing {
	align-items: center;
	background: linear-gradient(135deg, #062331, #0a4d60);
	border-radius: 13px;
	color: #fff;
	display: flex;
	gap: 12px;
	margin-bottom: 12px;
	padding: 12px;
}

.bf-team-standing > strong {
	align-items: center;
	background: #b7ff31;
	border-radius: 10px;
	color: #062331;
	display: flex;
	font-size: 22px;
	height: 44px;
	justify-content: center;
	min-width: 44px;
}

.bf-team-standing div {
	display: grid;
	gap: 2px;
}

.bf-team-standing span {
	color: rgba(255,255,255,.64);
	font-size: 8px;
	font-weight: 900;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.bf-team-standing b {
	color: #fff;
	font-size: 12px;
}

.bf-team-metrics {
	display: grid;
	gap: 7px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 12px;
}

.bf-team-metrics > div {
	background: var(--bf-surface-alt);
	border-radius: 10px;
	min-width: 0;
	padding: 10px;
}

.bf-team-metrics strong,
.bf-team-metrics span {
	display: block;
}

.bf-team-metrics strong {
	color: var(--bf-blue-dark);
	font-size: 17px;
}

.bf-team-metrics span {
	color: var(--bf-muted);
	font-size: 8px;
	line-height: 1.3;
	margin-top: 2px;
}

.bf-team-next,
.bf-team-recent {
	border-top: 1px solid var(--bf-line);
	padding-top: 11px;
}

.bf-team-recent {
	display: grid;
	gap: 6px;
	margin-top: 11px;
}

.bf-team-next > p,
.bf-team-recent > p {
	color: var(--bf-muted);
	font-size: 8px;
	font-weight: 900;
	letter-spacing: 0.08em;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.bf-team-dashboard .bf-match {
	min-height: 65px;
}

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

/* Dedicated team page: a self-contained editorial profile that never escapes Newsmag's column. */
.bf-single-team {
	background: #f5f8fa;
	border: 1px solid var(--bf-line);
	border-radius: 22px;
	box-shadow: 0 18px 50px rgba(7, 36, 50, 0.10);
	container-type: inline-size;
	font-family: var(--bf-font);
	overflow: hidden;
	width: 100%;
}

.bf-single-team__hero {
	align-items: center;
	background: radial-gradient(circle at 85% 10%, rgba(53, 218, 210, .24), transparent 35%), linear-gradient(135deg, #031d2a, #06465a);
	color: #fff;
	display: grid;
	gap: 22px;
	grid-template-columns: 104px minmax(0, 1fr);
	min-height: 210px;
	padding: clamp(24px, 6cqi, 52px);
	position: relative;
}

.bf-single-team__hero::after {
	border: 1px solid rgba(255,255,255,.09);
	border-radius: 50%;
	content: "";
	height: 240px;
	position: absolute;
	right: -90px;
	top: -100px;
	width: 240px;
}

.bf-single-team-logo {
	background: #fff;
	border: 5px solid rgba(255,255,255,.2);
	border-radius: 24px;
	box-shadow: 0 14px 30px rgba(0,0,0,.22);
	height: 104px;
	object-fit: contain;
	padding: 12px;
	width: 104px;
}

.bf-single-team__hero .bf-eyebrow {
	color: #b7ff31;
	font-size: 10px;
	letter-spacing: .16em;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.bf-single-team__hero h1 {
	color: #fff;
	font-size: clamp(26px, 6cqi, 46px);
	letter-spacing: -.04em;
	line-height: .98;
	margin: 0;
}

.bf-single-team__hero div > p:last-child {
	color: rgba(255,255,255,.72);
	font-size: 13px;
	line-height: 1.55;
	margin: 12px 0 0;
}

.bf-single-team__body {
	display: grid;
	gap: 16px;
	min-width: 0;
	padding: clamp(14px, 4cqi, 28px);
}

.bf-single-team__body .bf-team-dashboard,
.bf-single-team__body .bf-squad-group {
	background: #fff;
	border: 1px solid var(--bf-line);
	border-radius: 16px;
	box-shadow: 0 7px 22px rgba(7, 36, 50, .05);
}

@container (max-width: 460px) {
	.bf-single-team {
		border-radius: 16px;
	}

	.bf-single-team__hero {
		gap: 14px;
		grid-template-columns: 70px minmax(0, 1fr);
		min-height: 154px;
		padding: 18px 16px;
	}

	.bf-single-team-logo {
		border-radius: 17px;
		height: 70px;
		padding: 8px;
		width: 70px;
	}

	.bf-single-team__hero h1 {
		font-size: 25px;
	}

	.bf-single-team__hero div > p:last-child {
		font-size: 11px;
	}
}

/* 5.3 focused competition view. */
.bf-competition {
	gap: 22px;
}

.bf-section-heading h1 {
	color: var(--bf-navy);
	font-size: clamp(24px, 4cqi, 34px);
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1.08;
	margin: 0;
}

.bf-competition .bf-editorial {
	background: #fff;
	border: 1px solid var(--bf-line);
	border-left: 3px solid var(--bf-cyan);
	border-radius: 14px;
	display: block;
	grid-template-columns: none;
	margin: 0;
	min-width: 0;
	overflow: hidden;
	padding: 18px 19px;
	position: relative;
	width: 100%;
}

.bf-competition .bf-editorial__content {
	position: relative;
	z-index: 2;
}

.bf-competition .bf-editorial__title {
	color: var(--bf-navy);
	font-size: 13px !important;
	font-weight: 900;
	letter-spacing: -.01em;
	padding-right: 92px;
	text-transform: none;
}

.bf-competition .bf-editorial p:not(.bf-editorial__title) {
	font-size: 13px;
	line-height: 1.7;
	margin: 8px 0 0;
	overflow-wrap: break-word;
	white-space: normal;
	word-break: normal;
}

.bf-competition .bf-editorial > div {
	display: block;
	max-width: none;
	min-width: 0;
	width: 100%;
}

.bf-competition .bf-editorial > .bf-editorial__competition-logo {
	align-items: center;
	display: flex;
	height: 76px;
	justify-content: center;
	opacity: .5;
	pointer-events: none;
	position: absolute;
	right: 18px;
	top: 14px;
	width: 76px;
	z-index: 1;
}

.bf-competition .bf-editorial__competition-logo .bf-competition-logo,
.bf-competition .bf-editorial__competition-logo img {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	height: 100%;
	max-height: 76px;
	max-width: 76px;
	object-fit: contain;
	width: 100%;
}

.bf-standings-tabs {
	background: #092532;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 10px;
	display: grid;
	gap: 3px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 0 13px;
	padding: 4px;
}

.bf-standings-tab {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 7px;
	color: #b9cbd2;
	cursor: pointer;
	font: inherit;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .02em;
	line-height: 1;
	min-height: 30px;
	padding: 7px 5px;
	transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.bf-standings-tab:hover,
.bf-standings-tab:focus-visible {
	background: rgba(255, 255, 255, .08);
	color: #fff;
	outline: none;
}

.bf-standings-tab.is-active {
	background: linear-gradient(135deg, var(--bf-lime), #52d5db);
	box-shadow: 0 3px 10px rgba(76, 213, 217, .18);
	color: #08232f;
}

.bf-standings-view[hidden] {
	display: none !important;
}

.bf-standings-legend {
	border-top: 1px solid var(--bf-line);
	margin-top: 14px;
	padding-top: 13px;
}

.bf-standings-legend > strong {
	color: var(--bf-navy);
	display: block;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .04em;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.bf-standings-legend ul {
	display: flex;
	flex-wrap: wrap;
	gap: 7px 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bf-standings-legend li {
	align-items: center;
	color: #526671;
	display: flex;
	font-size: 10px;
	gap: 6px;
	line-height: 1.35;
	margin: 0;
}

.bf-standings-legend li i {
	background: #94a8b1;
	border-radius: 3px;
	flex: 0 0 9px;
	height: 9px;
	width: 9px;
}

.bf-table .bf-standing-row.has-outcome > td:first-child {
	box-shadow: inset 3px 0 0 var(--bf-outcome-color);
}

.bf-table .bf-standing-row.has-outcome .bf-rank {
	border: 1px solid color-mix(in srgb, var(--bf-outcome-color) 55%, #fff);
}

@supports not (color: color-mix(in srgb, #000 50%, #fff)) {
	.bf-table .bf-standing-row.has-outcome .bf-rank {
		border: 1px solid var(--bf-outcome-color);
	}
}

.bf-team-story,
.bf-team-analysis,
.bf-team-faq {
	background: #fff;
	border: 1px solid var(--bf-line);
	border-radius: 16px;
	margin-top: 18px;
	padding: clamp(17px, 3.5cqi, 25px);
}

.bf-team-story {
	border-left: 3px solid var(--bf-lime);
}

.bf-team-analysis {
	border-left: 3px solid var(--bf-cyan);
}

.bf-team-story h2,
.bf-team-analysis h2,
.bf-team-faq h2 {
	color: var(--bf-navy);
	font-size: clamp(21px, 3.6cqi, 29px);
	letter-spacing: -.035em;
	line-height: 1.1;
	margin: 4px 0 12px;
}

.bf-team-story > p:last-child,
.bf-team-analysis > p:last-child,
.bf-team-faq details p {
	color: #526671;
	font-size: 13px;
	line-height: 1.75;
	margin: 0;
}

.bf-team-faq details {
	border-top: 1px solid var(--bf-line);
	padding: 12px 0;
}

.bf-team-faq summary {
	color: var(--bf-navy);
	cursor: pointer;
	font-size: 13px;
	font-weight: 800;
}

.bf-team-faq details p {
	padding-top: 8px;
}

.bf-team-faq details:last-child {
	padding-bottom: 0;
}

.bf-team-button {
	text-decoration: none !important;
}

#td-header-menu .bf-world-menu > .bf-world-menu__countries {
	background: linear-gradient(180deg, #fff 0%, #f8fbfc 100%);
	border: 1px solid rgba(8, 68, 91, .14);
	border-radius: 0 0 14px 14px;
	box-shadow: 0 22px 52px rgba(3, 25, 36, .22), 0 3px 10px rgba(3, 25, 36, .08);
	max-height: 74vh;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 8px;
	width: 360px !important;
	min-width: 360px !important;
}

#td-header-menu .bf-world-menu > a {
	font-size: 11px;
	padding-left: 10px;
	padding-right: 10px;
}

#td-header-menu .bf-header-country {
	border-bottom: 1px solid #edf2f4;
	width: 100%;
}

#td-header-menu .bf-header-country > a {
	align-items: center;
	color: #17303b;
	display: grid;
	font-size: 11px;
	font-weight: 800;
	gap: 10px;
	grid-template-columns: 26px minmax(max-content, 1fr) auto;
	line-height: 1.2;
	min-height: 42px;
	padding: 7px 10px;
	white-space: nowrap !important;
	width: 100% !important;
}

#td-header-menu .bf-header-country > a > span:nth-child(2),
#td-header-menu .bf-header-competition > a > span:last-child {
	overflow: visible;
	overflow-wrap: normal !important;
	text-overflow: clip;
	white-space: nowrap !important;
	word-break: keep-all !important;
}

#td-header-menu .bf-header-country > a:hover {
	background: #f0f8fa;
	color: #087da5;
}

.bf-menu-flag,
.bf-menu-competition-logo {
	align-items: center;
	display: inline-flex;
	justify-content: center;
}

.bf-menu-flag img {
	background: transparent !important;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(5, 28, 39, .09);
	height: 15px;
	object-fit: cover;
	width: 22px;
}

#td-header-menu .bf-header-country > a small {
	background: #edf5f7;
	border-radius: 10px;
	color: #54707b;
	font-size: 8px;
	line-height: 18px;
	min-width: 18px;
	padding: 0 5px;
	text-align: center;
}

#td-header-menu .bf-header-country > .bf-header-competitions {
	background: rgba(236, 246, 249, .72);
	border: 1px solid rgba(8, 125, 165, .1);
	border-radius: 9px;
	box-shadow: none;
	display: none !important;
	margin: 2px 0 8px 34px;
	padding: 5px;
	position: static;
	width: calc(100% - 42px) !important;
}

#td-header-menu .bf-header-country.is-open > .bf-header-competitions {
	display: block !important;
}

#td-header-menu .bf-header-competition > a {
	align-items: center;
	color: #3d5661;
	display: grid;
	font-size: 10.5px;
	font-weight: 700;
	gap: 10px;
	grid-template-columns: 28px minmax(max-content, 1fr);
	line-height: 1.25;
	min-height: 38px;
	padding: 6px 9px;
	white-space: nowrap !important;
	width: 100% !important;
}

#td-header-menu .bf-header-competition > a:hover {
	background: #fff;
	border-radius: 7px;
	box-shadow: 0 5px 14px rgba(5, 28, 39, .08);
	color: #087da5;
	transform: translateX(2px);
}

.bf-menu-competition-logo img {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	height: 22px;
	max-width: 24px;
	object-fit: contain;
	width: 22px;
}

.td-mobile-content .bf-header-country > a {
	align-items: center;
	display: grid !important;
	gap: 8px;
	grid-template-columns: 24px minmax(max-content, 1fr) auto;
	white-space: nowrap !important;
}

.td-mobile-content .bf-header-country > a > span:nth-child(2),
.td-mobile-content .bf-header-competition > a > span:last-child {
	overflow-wrap: normal !important;
	white-space: nowrap !important;
	word-break: keep-all !important;
}

.td-mobile-content .bf-header-country > a small {
	background: rgba(255, 255, 255, .1);
	border-radius: 10px;
	font-size: 9px;
	line-height: 18px;
	min-width: 20px;
	padding: 0 5px;
	text-align: center;
}

.td-mobile-content .bf-header-country > .bf-header-competitions {
	display: none !important;
	padding-left: 16px;
}

.td-mobile-content .bf-header-country.is-open > .bf-header-competitions {
	display: block !important;
}

.td-mobile-content .bf-header-competition > a {
	align-items: center;
	display: grid !important;
	gap: 8px;
	font-size: 11px;
	grid-template-columns: 26px minmax(max-content, 1fr);
	white-space: nowrap !important;
}

.td-mobile-content .bf-menu-flag img {
	height: 15px !important;
	width: 22px !important;
}

.td-mobile-content .bf-menu-competition-logo img {
	height: 22px !important;
	max-width: 24px !important;
	object-fit: contain;
	width: 22px !important;
}

.bratu-football-embed img,
.bf-page-shell img,
.bf-modal img {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.bf-competition-logo,
.bf-team-logo,
.bf-match__logo,
.bf-player__photo,
.bf-leader-logo,
.bf-single-team-logo {
	background: transparent !important;
	box-shadow: none !important;
}

.bf-team-button {
	min-width: 0;
}

.bf-team-button strong {
	display: block;
	max-width: none;
	overflow: visible;
	text-overflow: clip;
	white-space: normal;
	word-break: normal;
}

.bf-table th:nth-child(2),
.bf-table td:nth-child(2) {
	width: 34%;
}

@container (max-width: 460px) {
	.bf-section-heading h1 {
		font-size: 24px;
	}

	.bf-competition .bf-editorial {
		padding: 15px 14px;
	}

	.bf-competition .bf-editorial__title {
		padding-right: 68px;
	}

	.bf-competition .bf-editorial > .bf-editorial__competition-logo {
		height: 56px;
		right: 13px;
		top: 13px;
		width: 56px;
	}

	.bf-standings-tabs {
		gap: 2px;
		padding: 3px;
	}

	.bf-standings-tab {
		font-size: 9px;
		min-height: 29px;
		padding-left: 2px;
		padding-right: 2px;
	}

	.bf-team-button strong {
		font-size: 12px;
	}
}

/* Medium Newsmag article columns keep a complete, compact table. */
/* 5.2 editorial layout: quieter surfaces, stronger reading order. */
.bf-competition {
	background: transparent;
	display: grid;
	gap: 18px;
}

.bf-competition__hero {
	border-radius: 18px;
	min-height: 190px;
	padding: clamp(24px, 5cqi, 42px);
}

.bf-competition__identity {
	align-items: center;
}

.bf-competition__identity h1 {
	font-size: clamp(29px, 5.5cqi, 48px);
	letter-spacing: -.045em;
	line-height: 1;
}

.bf-competition__identity > img,
.bf-competition__identity .bf-competition-logo {
	border-radius: 18px;
	height: 76px;
	width: 76px;
}

.bf-competition__all-link {
	background: rgba(255,255,255,.08);
	border-color: rgba(255,255,255,.16);
	font-size: 10px;
	min-height: 36px;
	padding: 8px 12px;
}

.bf-command-bar {
	background: #fff;
	border: 1px solid var(--bf-line);
	border-radius: 13px;
	box-shadow: none;
	padding: 7px;
}

.bf-page-nav a {
	border-radius: 9px;
	font-size: 10px;
	min-height: 38px;
}

.bf-summary {
	background: #fff;
	border: 1px solid var(--bf-line);
	border-radius: 13px;
	box-shadow: none;
	display: grid;
	gap: 0;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	overflow: hidden;
}

.bf-summary > div {
	background: transparent;
	border: 0;
	border-right: 1px solid var(--bf-line);
	border-radius: 0;
	min-height: 66px;
	padding: 11px 13px;
}

.bf-summary > div:last-child {
	border-right: 0;
}

.bf-summary i {
	display: none;
}

.bf-summary span {
	font-size: 8px;
	letter-spacing: .09em;
}

.bf-summary strong {
	font-size: 13px;
	line-height: 1.25;
}

.bf-dashboard-grid--editorial {
	display: block;
}

.bf-dashboard-grid--editorial .bf-match-center {
	background: #fff;
	border: 1px solid var(--bf-line);
	border-radius: 15px;
	box-shadow: none;
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: 14px;
}

.bf-dashboard-grid--editorial .bf-card-kicker {
	grid-column: 1 / -1;
}

.bf-dashboard-grid--editorial .bf-featured-match {
	border: 0;
	margin: 0;
	min-width: 0;
	padding: 0;
}

.bf-dashboard-grid--editorial .bf-featured-match > p {
	font-size: 8px;
	letter-spacing: .09em;
}

.bf-standings,
.bf-rounds {
	background: #fff;
	border: 1px solid var(--bf-line);
	border-radius: 16px;
	box-shadow: none;
	padding: clamp(15px, 3.5cqi, 27px);
}

.bf-section-heading {
	margin-bottom: 16px;
}

.bf-section-heading h2 {
	font-size: clamp(23px, 4cqi, 32px);
	letter-spacing: -.035em;
}

.bf-table-scroll {
	border: 1px solid var(--bf-line);
	border-radius: 12px;
	overflow: hidden;
}

.bf-table th {
	background: #092532;
	font-size: 8px;
	height: 40px;
	letter-spacing: .06em;
}

.bf-table td {
	font-size: 11px;
	height: 49px;
	padding-bottom: 6px;
	padding-top: 6px;
}

.bf-table tbody tr:nth-child(even) {
	background: #f8fafb;
}

.bf-table tbody tr:hover {
	background: #edf8fb;
}

.bf-team-button strong {
	font-size: 11px;
}

.bf-team-logo {
	height: 31px;
	width: 31px;
}

.bf-rank {
	border-radius: 50%;
	font-size: 9px;
	height: 25px;
	min-width: 25px;
}

.bf-form i {
	border-radius: 50%;
	font-size: 7px;
	height: 18px;
	width: 18px;
}

.bf-rounds__description {
	background: #f4f8fa;
	border-left: 3px solid var(--bf-cyan);
	font-size: 11px;
	line-height: 1.55;
}

.bf-round-nav {
	background: #092532;
	border-radius: 11px;
	padding: 6px;
}

.bf-match-day {
	margin-top: 18px;
}

.bf-match-day h3 {
	font-size: 9px;
	letter-spacing: .08em;
}

.bf-match {
	background: #fff;
	border: 1px solid var(--bf-line);
	border-left: 3px solid var(--bf-cyan);
	border-radius: 10px;
	box-shadow: none;
	min-height: 62px;
}

.bf-editorial {
	background: transparent;
	border: 0;
	border-top: 1px solid var(--bf-line);
	box-shadow: none;
	margin-top: 2px;
	padding: 22px 4px 4px;
}

.bf-editorial__mark {
	display: none;
}

.bf-editorial__title {
	font-size: 9px !important;
	letter-spacing: .11em;
}

.bf-editorial p:not(.bf-editorial__title) {
	color: #526671;
	font-size: 13px;
	line-height: 1.7;
}

@container (max-width: 620px) {
	.bf-summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bf-summary > div:nth-child(2) {
		border-right: 0;
	}

	.bf-summary > div:nth-child(-n+2) {
		border-bottom: 1px solid var(--bf-line);
	}

	.bf-dashboard-grid--editorial .bf-match-center {
		grid-template-columns: 1fr;
	}

	.bf-dashboard-grid--editorial .bf-card-kicker {
		grid-column: auto;
	}
}

@container (max-width: 460px) {
	.bf-competition__hero {
		min-height: 160px;
		padding: 22px 17px;
	}

	.bf-competition__identity h1 {
		font-size: 28px;
	}

	.bf-competition__identity > img,
	.bf-competition__identity .bf-competition-logo {
		height: 58px;
		width: 58px;
	}

	.bf-standings,
	.bf-rounds {
		padding: 13px 10px;
	}
}


/* 6.4.3 mobile layout and click-only navigation */
@media (max-width: 767px) {
  body.bratu-football-page,
  body.bratu-football-page #td-outer-wrap {
    overflow-x: clip;
  }
  body.bratu-football-page .bf-page-shell,
  body.bratu-football-page .bf-page-shell .td-container,
  body.bratu-football-page .bf-page-shell .td-pb-row,
  body.bratu-football-page .bf-page-shell .td-pb-span8,
  body.bratu-football-page .bf-page-shell .td-pb-span4,
  body.bratu-football-page .bratu-football-embed,
  body.bratu-football-page [data-bf-competition],
  body.bratu-football-page [data-bf-single-team],
  body.bratu-football-page [data-bf-single-match],
  body.bratu-football-page [data-bf-single-person] {
    box-sizing: border-box;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  body.bratu-football-page .bf-page-shell .td-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  body.bratu-football-page .bf-page-shell .td-pb-row {
    display: block !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.bratu-football-page .bf-page-shell .td-pb-span8,
  body.bratu-football-page .bf-page-shell .td-pb-span4 {
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.bratu-football-page .td-main-sidebar {
    margin-top: 22px !important;
  }
  .bf-competition,
  .bf-single-team,
  .bf-single-match,
  .bf-single-person,
  .bf-standings,
  .bf-rounds,
  .bf-team-story,
  .bf-team-analysis,
  .bf-team-faq {
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
  }
  .bf-table-scroll {
    max-width: 100%;
    overflow: hidden !important;
  }
  .bf-table {
    min-width: 0 !important;
    table-layout: fixed;
    width: 100% !important;
  }
  .bf-team-button,
  .bf-team-button strong,
  .bf-match__team,
  .bf-match__team strong,
  .bf-person-name,
  .bf-squad-player__name {
    min-width: 0;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    word-break: normal !important;
  }
  .bf-summary,
  .bf-facts-grid,
  .bf-person-facts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .bf-command-bar,
  .bf-page-nav,
  .bf-standings-tabs {
    max-width: 100%;
  }
  .td-mobile-content {
    overflow-x: hidden;
  }
  .td-mobile-content .bf-world-menu,
  .td-mobile-content .bf-world-menu__countries,
  .td-mobile-content .bf-header-country,
  .td-mobile-content .bf-header-competitions {
    box-sizing: border-box;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .td-mobile-content .bf-header-country > a,
  .td-mobile-content .bf-header-competition > a {
    min-height: 44px;
    padding-bottom: 9px !important;
    padding-top: 9px !important;
  }
  .td-mobile-content .bf-header-country > .bf-header-competitions {
    margin: 0 !important;
    padding: 4px 0 8px 20px !important;
  }
}
@media (max-width: 420px) {
  body.bratu-football-page .bf-page-shell .td-container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .bf-standings,
  .bf-rounds,
  .bf-team-story,
  .bf-team-analysis,
  .bf-team-faq {
    border-radius: 12px;
    padding-left: 9px !important;
    padding-right: 9px !important;
  }
  .bf-summary strong {
    font-size: 12px;
  }
  .bf-match {
    padding-left: 7px;
    padding-right: 7px;
  }
}


/* Search results contributed by Bratu Football. */
.bf-search-results {
  background: #fff;
  border: 1px solid var(--bf-line);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(5, 38, 53, .08);
  margin: 0 0 24px;
  padding: clamp(18px, 3vw, 28px);
}
.bf-search-results h2 {
  color: var(--bf-navy);
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -.03em;
  line-height: 1.12;
  margin: 4px 0 16px;
}
.bf-search-results__grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.bf-search-result {
  background: #f5f9fa;
  border: 1px solid #e1eaee;
  border-radius: 11px;
  color: var(--bf-navy) !important;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 12px 13px;
  text-decoration: none !important;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.bf-search-result:hover,
.bf-search-result:focus-visible {
  border-color: var(--bf-cyan);
  box-shadow: 0 8px 20px rgba(8, 120, 189, .1);
  outline: none;
  transform: translateY(-1px);
}
.bf-search-result span {
  color: #607782;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bf-search-result strong {
  font-size: 13px;
  line-height: 1.35;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  word-break: normal;
}
@media (max-width: 620px) {
  .bf-search-results {
    border-radius: 12px;
    padding: 15px 12px;
  }
  .bf-search-results__grid {
    grid-template-columns: 1fr;
  }
}


/* 6.5.0: country competitions are strictly click-only. */
#td-header-menu .bf-header-country:not(.is-open) > .bf-header-competitions,
#td-header-menu .bf-header-country:not(.is-open):hover > .bf-header-competitions,
#td-header-menu .bf-header-country:not(.is-open):focus-within > .bf-header-competitions,
#td-header-menu .bf-header-country.sfHover:not(.is-open) > .bf-header-competitions,
.td-mobile-content .bf-header-country:not(.is-open) > .bf-header-competitions,
.td-mobile-content .bf-header-country:not(.is-open):hover > .bf-header-competitions,
.td-mobile-content .bf-header-country:not(.is-open):focus-within > .bf-header-competitions {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

#td-header-menu .bf-header-country.is-open > .bf-header-competitions,
#td-header-menu .bf-header-country.is-open:hover > .bf-header-competitions,
#td-header-menu .bf-header-country.is-open:focus-within > .bf-header-competitions,
.td-mobile-content .bf-header-country.is-open > .bf-header-competitions {
  display: block !important;
  height: auto !important;
  max-height: 55vh !important;
  opacity: 1 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  pointer-events: auto !important;
  visibility: visible !important;
}


/* 6.5.1: menu state is controlled only by plugin click attributes. */
#td-header-menu .bf-world-menu:not([data-bf-region-open="1"]) > .bf-world-menu__countries,
#td-header-menu .bf-world-menu:not([data-bf-region-open="1"]):hover > .bf-world-menu__countries,
#td-header-menu .bf-world-menu.sfHover:not([data-bf-region-open="1"]) > .bf-world-menu__countries,
.td-mobile-content .bf-world-menu:not([data-bf-region-open="1"]) > .bf-world-menu__countries {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

#td-header-menu .bf-world-menu[data-bf-region-open="1"] > .bf-world-menu__countries,
.td-mobile-content .bf-world-menu[data-bf-region-open="1"] > .bf-world-menu__countries {
  display: block !important;
  height: auto !important;
  max-height: 74vh !important;
  opacity: 1 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

#td-header-menu .bf-header-country:not([data-bf-country-open="1"]) > .bf-header-competitions,
#td-header-menu .bf-header-country:not([data-bf-country-open="1"]):hover > .bf-header-competitions,
#td-header-menu .bf-header-country.sfHover:not([data-bf-country-open="1"]) > .bf-header-competitions,
#td-header-menu .bf-header-country.is-open:not([data-bf-country-open="1"]) > .bf-header-competitions,
.td-mobile-content .bf-header-country:not([data-bf-country-open="1"]) > .bf-header-competitions,
.td-mobile-content .bf-header-country.is-open:not([data-bf-country-open="1"]) > .bf-header-competitions {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

#td-header-menu .bf-header-country[data-bf-country-open="1"] > .bf-header-competitions,
.td-mobile-content .bf-header-country[data-bf-country-open="1"] > .bf-header-competitions {
  display: block !important;
  height: auto !important;
  max-height: 55vh !important;
  opacity: 1 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

/* 6.5.2: explicit click state wins over legacy Newsmag hover/focus rules. */
html body #td-header-menu .bf-header-country[data-bf-country-open="1"] > .bf-header-competitions,
html body #td-header-menu .bf-header-country[data-bf-country-open="1"]:hover > .bf-header-competitions,
html body #td-header-menu .bf-header-country[data-bf-country-open="1"]:focus-within > .bf-header-competitions,
html body .td-mobile-content .bf-header-country[data-bf-country-open="1"] > .bf-header-competitions,
html body .td-mobile-content .bf-header-country[data-bf-country-open="1"]:focus-within > .bf-header-competitions {
  display: block !important;
  height: auto !important;
  max-height: 55vh !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  opacity: 1 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding-bottom: 5px !important;
  padding-top: 5px !important;
  pointer-events: auto !important;
  visibility: visible !important;
}


/* 6.5.3: compact, readable standings on phones without horizontal scrolling. */
@media (max-width: 460px) {
  .bf-standings-tabs {
    background: #062c3a !important;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 13px;
    display: grid;
    gap: 3px;
    grid-template-columns: repeat(4, minmax(0,1fr));
    padding: 4px !important;
  }

  .bf-standings-tab {
    background: transparent !important;
    border: 0 !important;
    border-radius: 9px !important;
    color: #dce8ec !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    min-height: 38px !important;
    overflow: visible !important;
    padding: 0 3px !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }

  .bf-standings-tab.is-active,
  .bf-standings-tab[aria-selected="true"] {
    background: #b8f52f !important;
    box-shadow: 0 3px 12px rgba(184,245,47,.24) !important;
    color: #062c3a !important;
  }

  .bf-table tbody {
    gap: 8px !important;
  }

  .bf-table tbody tr {
    background: #fff !important;
    border: 1px solid #dbe6ea !important;
    border-radius: 13px !important;
    box-shadow: 0 2px 8px rgba(6,44,58,.045);
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    padding: 10px 9px 9px !important;
  }

  .bf-table tbody tr::before {
    border-radius: 2px !important;
    bottom: 10px !important;
    left: 0 !important;
    top: 10px !important;
    width: 3px !important;
  }

  .bf-table td:first-child {
    left: 9px !important;
    top: 12px !important;
  }

  .bf-table .bf-rank {
    font-size: 12px !important;
    height: 32px !important;
    line-height: 30px !important;
    width: 32px !important;
  }

  .bf-table td:nth-child(2) {
    align-items: center !important;
    border-bottom: 1px solid #e4ecef !important;
    display: flex !important;
    grid-column: 1 / -1 !important;
    min-height: 44px !important;
    padding: 0 4px 9px 41px !important;
  }

  .bf-team-button {
    align-items: center !important;
    display: flex !important;
    gap: 9px !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .bf-table .bf-team-logo {
    flex: 0 0 36px !important;
    height: 36px !important;
    width: 36px !important;
  }

  .bf-table .bf-team-logo img {
    background: transparent !important;
    height: 30px !important;
    object-fit: contain !important;
    width: 30px !important;
  }

  .bf-team-button strong {
    color: #092938 !important;
    display: block !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    overflow: visible !important;
    text-align: left !important;
    text-overflow: clip !important;
    white-space: normal !important;
    word-break: normal !important;
  }

  .bf-table td:nth-child(n+3):not(:last-child) {
    font-size: 15px !important;
    line-height: 1.1 !important;
    min-height: 52px !important;
    padding: 7px 2px 4px !important;
  }

  .bf-table td:nth-child(n+3)::before {
    font-size: 7px !important;
    letter-spacing: .025em !important;
    line-height: 1.05 !important;
    margin-bottom: 5px !important;
    min-height: 15px !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  .bf-table td:last-child {
    align-items: center !important;
    border-top: 1px solid #e4ecef !important;
    display: flex !important;
    flex-direction: row !important;
    grid-column: 1 / -1 !important;
    justify-content: space-between !important;
    margin: 2px 0 0 !important;
    min-height: 38px !important;
    padding: 8px 3px 0 !important;
  }

  .bf-table td:last-child::before {
    margin: 0 8px 0 0 !important;
    min-height: 0 !important;
  }

  .bf-table .bf-form {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    justify-content: flex-end !important;
  }

  .bf-table .bf-form i {
    font-size: 9px !important;
    height: 24px !important;
    line-height: 24px !important;
    margin: 0 !important;
    width: 24px !important;
  }
}

@media (max-width: 340px) {
  .bf-standings-tab {
    font-size: 11px !important;
  }

  .bf-table tbody tr {
    padding-left: 7px !important;
    padding-right: 7px !important;
  }

  .bf-table td:nth-child(n+3)::before {
    font-size: 6px !important;
  }
}


/* 6.5.4: professional navigation, visible standings finder on mobile, accessible focus. */
#td-header-menu .bf-world-menu > a {
  align-items: center !important;
  display: flex !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  height: 44px !important;
  letter-spacing: .015em !important;
  padding: 0 9px !important;
  white-space: nowrap !important;
}

#td-header-menu .bf-world-menu > .bf-world-menu__countries {
  background: #fff !important;
  border: 1px solid #dce7eb !important;
  border-radius: 0 0 12px 12px !important;
  box-shadow: 0 14px 34px rgba(6,44,58,.16) !important;
  left: 0 !important;
  max-height: calc(100vh - 132px) !important;
  padding: 7px !important;
  width: 300px !important;
}

#td-header-menu .bf-header-country {
  border-bottom: 1px solid #edf2f4 !important;
  min-height: 42px !important;
  position: relative !important;
}

#td-header-menu .bf-header-country:last-child {
  border-bottom: 0 !important;
}

#td-header-menu .bf-header-country > a {
  align-items: center !important;
  border-radius: 8px !important;
  color: #173846 !important;
  display: flex !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  gap: 9px !important;
  min-height: 42px !important;
  padding: 7px 9px !important;
  white-space: nowrap !important;
}

#td-header-menu .bf-header-country > a:hover,
#td-header-menu .bf-header-country[data-bf-country-open="1"] > a {
  background: #f0f6f8 !important;
  color: #057da4 !important;
}

#td-header-menu .bf-header-country > .bf-header-competitions {
  background: #fff !important;
  border: 1px solid #dce7eb !important;
  border-radius: 10px !important;
  box-shadow: 0 14px 34px rgba(6,44,58,.16) !important;
  left: calc(100% + 7px) !important;
  max-height: min(62vh, 520px) !important;
  padding: 6px !important;
  top: 0 !important;
  width: 300px !important;
}

#td-header-menu .bf-header-competition > a {
  align-items: center !important;
  border-radius: 7px !important;
  color: #294956 !important;
  display: flex !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  gap: 9px !important;
  line-height: 1.25 !important;
  min-height: 40px !important;
  padding: 6px 8px !important;
  white-space: normal !important;
}

#td-header-menu .bf-header-competition > a:hover {
  background: #f0f6f8 !important;
  color: #057da4 !important;
}

.bf-standings-tab {
  color: #d9ad2b !important;
  font-weight: 800 !important;
}

.bf-standings-tab:hover {
  background: rgba(217,173,43,.11) !important;
  color: #f0c84a !important;
}

.bf-standings-tab.is-active,
.bf-standings-tab[aria-selected="true"] {
  background: #d9ad2b !important;
  box-shadow: none !important;
  color: #062c3a !important;
}

.bratu-football-embed a:focus,
.bratu-football-embed button:focus,
.bratu-football-embed select:focus,
.bratu-football-embed input:focus,
#td-header-menu .bf-world-menu a:focus,
.td-mobile-content .bf-world-menu a:focus {
  outline: none !important;
}

.bratu-football-embed a:focus:not(:focus-visible),
.bratu-football-embed button:focus:not(:focus-visible),
.bratu-football-embed select:focus:not(:focus-visible),
.bratu-football-embed input:focus:not(:focus-visible),
#td-header-menu .bf-world-menu a:focus:not(:focus-visible),
.td-mobile-content .bf-world-menu a:focus:not(:focus-visible) {
  box-shadow: none !important;
}

.bratu-football-embed a:focus-visible,
.bratu-football-embed button:focus-visible,
.bratu-football-embed select:focus-visible,
.bratu-football-embed input:focus-visible,
#td-header-menu .bf-world-menu a:focus-visible,
.td-mobile-content .bf-world-menu a:focus-visible {
  border-color: #1b9abd !important;
  box-shadow: 0 0 0 2px rgba(27,154,189,.25) !important;
  outline: none !important;
}

@media (max-width: 767px) {
  .td-main-sidebar:has(.bf-directory--sidebar) {
    clear: both !important;
    display: block !important;
    float: none !important;
    margin: 18px 0 0 !important;
    padding: 0 10px !important;
    width: 100% !important;
  }

  .td-main-sidebar:has(.bf-directory--sidebar) > :not(:has(.bf-directory--sidebar)) {
    display: none !important;
  }

  .td-main-sidebar:has(.bf-directory--sidebar) > :has(.bf-directory--sidebar) {
    display: block !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .td-main-sidebar .bf-directory--sidebar,
  .td-main-sidebar .bratu-football-embed {
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .td-mobile-content .bf-world-menu {
    border-bottom: 1px solid rgba(255,255,255,.1) !important;
  }

  .td-mobile-content .bf-world-menu > a {
    align-items: center !important;
    display: flex !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    justify-content: space-between !important;
    min-height: 46px !important;
    padding: 10px 16px !important;
  }

  .td-mobile-content .bf-world-menu__countries {
    background: rgba(255,255,255,.04) !important;
    padding: 4px 10px 9px !important;
  }

  .td-mobile-content .bf-header-country > a {
    border-radius: 7px !important;
    font-size: 12px !important;
    min-height: 42px !important;
    padding: 8px 10px !important;
  }

  .td-mobile-content .bf-header-competition > a {
    font-size: 12px !important;
    line-height: 1.3 !important;
    min-height: 40px !important;
    padding: 7px 9px !important;
    white-space: normal !important;
  }

  .bf-standings-tab {
    color: #d9ad2b !important;
  }

  .bf-standings-tab.is-active,
  .bf-standings-tab[aria-selected="true"] {
    background: #d9ad2b !important;
    color: #062c3a !important;
  }
}


/* 6.5.5: final specificity fixes for Newsmag navigation and focus. */
html body #td-header-menu li.bf-world-menu[data-bf-region-open="1"] > ul.bf-world-menu__countries {
  height: auto !important;
  max-height: min(68vh, 540px) !important;
  width: 300px !important;
}

html body #td-header-menu li.bf-header-country[data-bf-country-open="1"] > ul.bf-header-competitions {
  height: auto !important;
  max-height: min(62vh, 500px) !important;
  width: 300px !important;
}

html body .bratu-football-embed button.bf-standings-tab:focus,
html body .bratu-football-embed button.bf-standings-tab:active,
html body .bratu-football-embed button.bf-standings-tab:focus-visible,
html body .bratu-football-embed a:focus,
html body .bratu-football-embed a:active,
html body #td-header-menu li.bf-world-menu a:focus,
html body #td-header-menu li.bf-world-menu a:active,
html body .td-mobile-content li.bf-world-menu a:focus,
html body .td-mobile-content li.bf-world-menu a:active {
  outline: 0 solid transparent !important;
  outline-color: transparent !important;
  outline-offset: 0 !important;
}

html body .bratu-football-embed button.bf-standings-tab:focus:not(:focus-visible),
html body .bratu-football-embed a:focus:not(:focus-visible),
html body #td-header-menu li.bf-world-menu a:focus:not(:focus-visible),
html body .td-mobile-content li.bf-world-menu a:focus:not(:focus-visible) {
  box-shadow: none !important;
}

/* Match page editorial refinements */
.bf-match-hero-teams--logos-only {
	grid-template-columns: minmax(92px, 1fr) auto minmax(92px, 1fr);
	max-width: 520px;
}
.bf-match-hero-teams--logos-only > div {
	justify-content: center;
}
.bf-match-hero-teams--logos-only .bf-match-hero-logo {
	height: clamp(72px, 12cqw, 112px);
	width: clamp(72px, 12cqw, 112px);
}
.bf-single-match__story {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(180px, 38%);
	min-height: clamp(250px, 30vw, 390px);
	overflow: hidden;
}
.bf-single-match__story-copy {
	align-self: center;
	position: relative;
	z-index: 2;
}
.bf-single-match__story-logo {
	align-items: center;
	display: flex;
	inset: 5% 2.5% 5% auto;
	justify-content: center;
	opacity: .5;
	pointer-events: none;
	position: absolute;
	width: 38%;
	z-index: 1;
}
.bf-single-match__story-logo .bf-competition-logo {
	background: transparent;
	border: 0;
	border-radius: 0;
	height: 100%;
	max-height: 350px;
	max-width: 100%;
	padding: 0;
	width: 100%;
}
.bf-single-match__story-logo .bf-competition-logo img {
	height: 100%;
	max-height: 350px;
	object-fit: contain;
	width: 100%;
}
@media (max-width: 767px) {
	.bf-single-match__story {
		display: block;
		min-height: 0;
	}
	.bf-single-match__story-logo {
		display: none;
	}
	.bf-match-hero-teams--logos-only .bf-match-hero-logo {
		height: 64px;
		width: 64px;
	}
}

/* Director: search icon on the right, no abbreviation badges */
.bf-directory:not(.bf-directory--sidebar) .bf-search__field { position: relative; }
.bf-directory:not(.bf-directory--sidebar) .bf-search__field > svg {
	left: auto !important;
	pointer-events: none;
	position: absolute;
	right: 16px !important;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
}
.bf-directory:not(.bf-directory--sidebar) .bf-search__field input {
	padding-left: 16px !important;
	padding-right: 48px !important;
}
.bf-directory:not(.bf-directory--sidebar) .bf-search__field [data-bf-directory-clear]:not([hidden]) {
	right: 44px !important;
}


/* Sidebar menu: use the complete available widget width */
#secondary .widget:has(.bf-directory--sidebar),
#secondary .widget .bratu-football-embed,
#secondary .bf-directory--sidebar,
#secondary .bf-directory--sidebar .bf-sidebar-menu__head,
#secondary .bf-directory--sidebar .bf-compact-picker,
#secondary .bf-directory--sidebar .bf-compact-picker label,
#secondary .bf-directory--sidebar .bf-compact-picker select,
#secondary .bf-directory--sidebar .bf-compact-picker button {
	box-sizing: border-box;
	max-width: none !important;
	width: 100% !important;
}
#secondary .widget:has(.bf-directory--sidebar) {
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
#secondary .bf-directory--sidebar {
	margin-left: 0 !important;
	margin-right: 0 !important;
}


/* Astra desktop: identical content/sidebar proportions on standard and football pages */
@media (min-width: 922px) {
	body.ast-right-sidebar:not(.bratu-football-page) #primary {
		flex: 0 0 calc(100% - 372px) !important;
		max-width: calc(100% - 372px) !important;
		width: calc(100% - 372px) !important;
	}
	body.ast-right-sidebar:not(.bratu-football-page) #secondary {
		flex: 0 0 340px !important;
		margin-left: 32px !important;
		max-width: 340px !important;
		padding: 0 !important;
		width: 340px !important;
	}
}
@media (max-width: 921px) {
	body.ast-right-sidebar #secondary {
		margin-left: 0 !important;
		max-width: 100% !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		width: 100% !important;
	}
}


/* Competition story: large translucent competition logo on desktop */
@media (min-width: 768px) {
	.bf-competition .bf-editorial {
		min-height: clamp(260px, 27vw, 390px);
	}
	.bf-competition .bf-editorial__content {
		align-content: center;
		display: grid !important;
		min-height: calc(clamp(260px, 27vw, 390px) - 38px);
		padding-right: 36%;
	}
	.bf-competition .bf-editorial__title {
		padding-right: 0;
	}
	.bf-competition .bf-editorial > .bf-editorial__competition-logo {
		align-items: center;
		display: flex;
		height: auto;
		inset: 5% 2.5% 5% auto;
		justify-content: center;
		opacity: .5;
		position: absolute;
		width: 32%;
	}
	.bf-competition .bf-editorial__competition-logo .bf-competition-logo,
	.bf-competition .bf-editorial__competition-logo img {
		height: 100%;
		max-height: 340px;
		max-width: 100%;
		object-fit: contain;
		width: 100%;
	}
}
@media (max-width: 767px) {
	.bf-competition .bf-editorial {
		min-height: 0;
	}
	.bf-competition .bf-editorial__content {
		padding-right: 0;
	}
	.bf-competition .bf-editorial > .bf-editorial__competition-logo {
		display: none;
	}
	.bf-competition .bf-editorial__title {
		padding-right: 0;
	}
}


/* All football logos: transparent presentation without frames */
body.bratu-football-page [class*="logo"],
.bratu-football-embed [class*="logo"] {
	background-color: transparent !important;
	background-image: none !important;
	border-color: transparent !important;
	box-shadow: none !important;
}
body.bratu-football-page [class*="logo"] img,
.bratu-football-embed [class*="logo"] img,
body.bratu-football-page img[data-bf-logo],
.bratu-football-embed img[data-bf-logo] {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: 0 !important;
	padding: 0 !important;
	-webkit-user-drag: none;
	user-drag: none;
	user-select: none;
	-webkit-user-select: none;
}
.bf-match-hero-logo,
.bf-match__logo,
.bf-team-logo,
.bf-competition-logo,
.bf-editorial__competition-logo,
.bf-team-badge,
.bf-standing-team__logo {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
}

/* 6.8.2 — contrast WCAG pentru controalele statistice. */
.bf-stats-tabs button:not(.is-active),
.bf-stats-tabs button[aria-selected="false"] {
	color: #3d525c !important;
}

/* 6.9.0 — director premium, acces rapid și conținut editorial SEO. */
.bf-directory__featured,
.bf-directory__guide {
	box-sizing: border-box;
	min-width: 0;
	overflow: hidden;
}
.bf-directory__featured {
	position: relative;
	margin: 18px 0;
	padding: clamp(18px, 2.4vw, 26px);
	border: 1px solid #d6e6eb;
	border-radius: 22px;
	background:
		radial-gradient(circle at 100% 0, rgba(39, 181, 231, .11), transparent 17rem),
		linear-gradient(145deg, #fff 0%, #f7fbfc 100%);
	box-shadow: 0 16px 42px rgba(5, 40, 56, .08);
}
.bf-directory__featured::before {
	position: absolute;
	top: 0;
	left: clamp(18px, 2.4vw, 26px);
	width: 74px;
	height: 3px;
	border-radius: 0 0 999px 999px;
	background: linear-gradient(90deg, #b8eb32, #27b5e7);
	content: "";
}
.bf-directory__section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 22px;
	margin: 0 0 17px;
}
.bf-directory__section-heading .bf-eyebrow,
.bf-directory__guide .bf-eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 6px;
	color: #08778b;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.bf-directory__section-heading .bf-eyebrow span,
.bf-directory__guide .bf-eyebrow span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #9dd51e;
	box-shadow: 0 0 0 5px rgba(157, 213, 30, .13);
}
.bf-directory__section-heading h2 {
	margin: 0;
	color: #08283a;
	font-size: clamp(22px, 2.5vw, 30px);
	font-weight: 900;
	letter-spacing: -.035em;
	line-height: 1.1;
}
.bf-directory__section-heading > p {
	max-width: 340px;
	margin: 0;
	color: #5b7480;
	font-size: 12px;
	line-height: 1.55;
	text-align: right;
}
.bf-directory__featured-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}
.bf-directory__featured-grid > a {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) 18px;
	align-items: center;
	gap: 11px;
	min-width: 0;
	min-height: 74px;
	padding: 13px 14px;
	border: 1px solid #dce9ed;
	border-radius: 15px;
	background: rgba(255, 255, 255, .94);
	color: #0a2e3f;
	box-shadow: 0 8px 20px rgba(5, 40, 56, .045);
	text-decoration: none;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.bf-directory__featured-grid > a .bf-competition-logo {
	width: 34px;
	height: 34px;
}
.bf-directory__featured-grid > a > span:not(.bf-competition-logo) {
	display: block;
	min-width: 0;
}
.bf-directory__featured-grid > a strong,
.bf-directory__featured-grid > a small {
	display: block;
	overflow-wrap: anywhere;
}
.bf-directory__featured-grid > a strong {
	color: #0a2e3f;
	font-size: 12px;
	font-weight: 900;
	line-height: 1.25;
}
.bf-directory__featured-grid > a small {
	margin-top: 3px;
	color: #647b86;
	font-size: 9px;
	font-weight: 700;
	line-height: 1.3;
}
.bf-directory__featured-grid > a > svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: #0a8aa1;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}
@media (hover: hover) {
	.bf-directory__featured-grid > a:hover {
		transform: translateY(-2px);
		border-color: rgba(8, 126, 155, .38);
		box-shadow: 0 14px 28px rgba(5, 40, 56, .10);
	}
}
.bf-directory__guide {
	position: relative;
	margin: 24px 0 0;
	padding: clamp(24px, 4vw, 42px);
	border: 1px solid rgba(255, 255, 255, .10);
	border-radius: 24px;
	background:
		radial-gradient(circle at 92% 6%, rgba(39, 181, 231, .22), transparent 22rem),
		radial-gradient(circle at 4% 100%, rgba(184, 235, 50, .12), transparent 20rem),
		linear-gradient(135deg, #061f2e 0%, #083b50 58%, #086a78 100%);
	box-shadow: 0 24px 62px rgba(3, 31, 45, .20);
	color: #fff;
}
.bf-directory__guide > header {
	max-width: 870px;
	margin: 0 0 24px;
}
.bf-directory__guide .bf-eyebrow {
	color: #c8f35b;
}
.bf-directory__guide .bf-eyebrow span {
	background: #b8eb32;
	box-shadow: 0 0 0 5px rgba(184, 235, 50, .12);
}
.bf-directory__guide > header h2 {
	max-width: 820px;
	margin: 0;
	color: #fff;
	font-size: clamp(27px, 3.7vw, 43px);
	font-weight: 900;
	letter-spacing: -.045em;
	line-height: 1.08;
	text-wrap: balance;
}
.bf-directory__guide > header > p:last-child {
	max-width: 820px;
	margin: 15px 0 0;
	color: rgba(255, 255, 255, .78);
	font-size: 14px;
	line-height: 1.78;
}
.bf-directory__guide-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.bf-directory__guide-grid > article {
	position: relative;
	min-width: 0;
	min-height: 190px;
	padding: 21px;
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 18px;
	background: rgba(255, 255, 255, .075);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.bf-directory__guide-grid > article > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 31px;
	height: 31px;
	margin-bottom: 18px;
	border: 1px solid rgba(200, 243, 91, .35);
	border-radius: 10px;
	background: rgba(184, 235, 50, .10);
	color: #d6fb78;
	font-size: 9px;
	font-weight: 900;
}
.bf-directory__guide-grid h3 {
	margin: 0 0 9px;
	color: #fff;
	font-size: 17px;
	font-weight: 900;
	line-height: 1.25;
}
.bf-directory__guide-grid p {
	margin: 0;
	color: rgba(255, 255, 255, .72);
	font-size: 12px;
	line-height: 1.72;
}
.bf-directory__faq {
	margin-top: 16px;
	padding: clamp(18px, 2.8vw, 28px);
	border-radius: 19px;
	background: #fff;
	color: #0a2e3f;
	box-shadow: 0 18px 42px rgba(2, 22, 33, .17);
}
.bf-directory__faq > h3 {
	margin: 0 0 14px;
	color: #08283a;
	font-size: clamp(20px, 2.5vw, 27px);
	font-weight: 900;
	letter-spacing: -.025em;
	line-height: 1.2;
}
.bf-directory__faq details {
	border-top: 1px solid #deeaee;
}
.bf-directory__faq details:last-child {
	border-bottom: 1px solid #deeaee;
}
.bf-directory__faq summary {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 54px;
	padding: 13px 42px 13px 0;
	color: #123647;
	font-size: 13px;
	font-weight: 850;
	line-height: 1.4;
	cursor: pointer;
	list-style: none;
}
.bf-directory__faq summary::-webkit-details-marker {
	display: none;
}
.bf-directory__faq summary::after {
	position: absolute;
	right: 4px;
	display: grid;
	place-items: center;
	width: 27px;
	height: 27px;
	border-radius: 9px;
	background: #eaf6f8;
	color: #087e96;
	font-size: 18px;
	font-weight: 800;
	content: "+";
}
.bf-directory__faq details[open] summary::after {
	content: "−";
}
.bf-directory__faq details p {
	margin: -2px 42px 16px 0;
	color: #5a737f;
	font-size: 12px;
	line-height: 1.75;
}
.bf-directory__source-note {
	margin: 16px 2px 0;
	color: rgba(255, 255, 255, .64);
	font-size: 10px;
	line-height: 1.55;
}
@media (max-width: 940px) {
	.bf-directory__featured-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.bf-directory__guide-grid {
		grid-template-columns: 1fr;
	}
	.bf-directory__guide-grid > article {
		min-height: 0;
	}
}
@media (max-width: 560px) {
	.bf-directory__featured {
		margin: 14px 0;
		padding: 18px 14px;
		border-radius: 17px;
	}
	.bf-directory__section-heading {
		display: block;
	}
	.bf-directory__section-heading > p {
		margin-top: 7px;
		text-align: left;
	}
	.bf-directory__featured-grid {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	.bf-directory__featured-grid > a {
		min-height: 68px;
		padding: 11px 12px;
	}
	.bf-directory__guide {
		margin-top: 17px;
		padding: 24px 15px;
		border-radius: 18px;
	}
	.bf-directory__guide > header h2 {
		font-size: clamp(27px, 9vw, 35px);
	}
	.bf-directory__guide > header > p:last-child {
		font-size: 13px;
		line-height: 1.7;
	}
	.bf-directory__guide-grid > article {
		padding: 18px;
	}
	.bf-directory__faq {
		padding: 17px 14px;
		border-radius: 15px;
	}
	.bf-directory__faq summary {
		padding-right: 36px;
		font-size: 12px;
	}
	.bf-directory__faq details p {
		margin-right: 0;
	}
}
@media (prefers-reduced-motion: reduce) {
	.bf-directory__featured-grid > a {
		transition: none;
	}
}

/* 6.10.0 responsive readability, stable media and lighter directory rendering. */
@supports (content-visibility: auto) {
	.bf-directory .bf-country {
		content-visibility: auto;
		contain-intrinsic-size: auto 360px;
	}
}

.bf-match-hero-facts span,
.bf-person-facts__grid span,
.bf-person-stat-grid span {
	font-size: 10px;
	line-height: 1.35;
}

.bf-match-hero-facts strong {
	font-size: 12px;
	line-height: 1.35;
}

.bf-person-facts__grid strong {
	font-size: 13px;
	line-height: 1.4;
}

.bf-timeline__event strong {
	font-size: 13px;
	line-height: 1.35;
}

.bf-timeline__event span {
	font-size: 11px;
	line-height: 1.45;
}

@media (max-width: 767px) {
	body.bratu-football-page .bf-page-shell {
		overflow-x: clip;
	}

	.bf-page-nav a,
	.bf-standings-tab,
	.bf-region-tab,
	.bf-round-nav button,
	.bf-round-nav select,
	.bf-group-picker select,
	.bf-prematch__tabs button,
	[data-bf-squad-filter],
	.bf-directory__faq summary {
		min-height: 44px !important;
	}

	.bf-match__team strong {
		font-size: 12px !important;
		line-height: 1.35;
	}

	.bf-table td:nth-child(n+3)::before {
		font-size: 9px;
		line-height: 1.25;
	}

	.bf-form i {
		font-size: 9px;
		height: 22px;
		width: 22px;
	}

	.bf-match-hero-facts {
		gap: 8px;
	}

	.bf-match-hero-facts > div,
	.bf-person-facts__grid > div,
	.bf-person-stat-grid > div {
		min-width: 0;
	}

	.bf-timeline__event {
		align-items: flex-start;
	}

	.bf-lineup-player,
	.bf-squad-player {
		min-height: 52px;
	}
}

@container (max-width: 720px) {
	.bf-page-nav a,
	.bf-standings-tab,
	.bf-region-tab,
	.bf-round-nav button,
	.bf-round-nav select,
	.bf-group-picker select,
	.bf-prematch__tabs button,
	[data-bf-squad-filter] {
		min-height: 44px !important;
	}

	.bf-match__team strong {
		font-size: 12px !important;
		line-height: 1.35;
	}

	.bf-table td:nth-child(n+3)::before {
		font-size: 9px;
		line-height: 1.25;
	}

	.bf-form i {
		font-size: 9px;
		height: 22px;
		width: 22px;
	}
}

@media (max-width: 480px) {
	.bf-match-hero-facts,
	.bf-person-facts__grid,
	.bf-person-stat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bf-single-match,
	.bf-single-team,
	.bf-single-person,
	.bf-competition,
	.bf-directory {
		min-width: 0;
		max-width: 100%;
	}
}

/* 6.10.1 mobile standings: show only rank, team, matches and points. */
@media (max-width: 767px) {
	.bf-table tbody tr {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 14px 12px 12px;
	}

	.bf-table td:nth-child(4),
	.bf-table td:nth-child(5),
	.bf-table td:nth-child(6),
	.bf-table td:nth-child(7),
	.bf-table td:nth-child(8),
	.bf-table td:nth-child(10) {
		display: none !important;
	}

	.bf-table td:nth-child(3),
	.bf-table td:nth-child(9) {
		align-items: center;
		display: flex;
		font-size: 16px;
		min-height: 54px;
	}

	.bf-table td:nth-child(3)::before,
	.bf-table td:nth-child(9)::before {
		font-size: 9px;
		min-height: 0;
	}

	.bf-table td:nth-child(9) {
		color: var(--bf-cyan);
		font-size: 18px;
	}

	.bf-table td:nth-child(9)::before {
		color: var(--bf-muted);
	}
}

@container (max-width: 720px) {
	.bf-table tbody tr {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 14px 12px 12px;
	}

	.bf-table td:nth-child(4),
	.bf-table td:nth-child(5),
	.bf-table td:nth-child(6),
	.bf-table td:nth-child(7),
	.bf-table td:nth-child(8),
	.bf-table td:nth-child(10) {
		display: none !important;
	}

	.bf-table td:nth-child(3),
	.bf-table td:nth-child(9) {
		align-items: center;
		display: flex;
		font-size: 16px;
		min-height: 54px;
	}

	.bf-table td:nth-child(3)::before,
	.bf-table td:nth-child(9)::before {
		font-size: 9px;
		min-height: 0;
	}

	.bf-table td:nth-child(9) {
		color: var(--bf-cyan);
		font-size: 18px;
	}

	.bf-table td:nth-child(9)::before {
		color: var(--bf-muted);
	}
}

/* Reserve square media boxes for the companion match widgets. */
body.bratu-football-page .bgrowth-v2-competition > img,
body.bratu-football-page .bgrowth-v2-crest > img,
body.bratu-football-page .bgrowth-v21-mini-fixture img,
body.bratu-football-page .bgrowth-competition-profile img,
body.bratu-football-page .bgrowth-side-standings__title img,
body.bratu-football-page .bgrowth-next-fixture__teams img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
}
