/*
 * Public styling is owned by the Alchemists theme.
 * Maracana Score Core only synchronizes API-FOOTBALL data into SportPress.
 */

.sp-template-event-list .sp-event-list th.data-league,
.sp-template-event-list .sp-event-list td.data-league,
.sportspress .sp-template-event-list .sp-event-list th.data-league,
.sportspress .sp-template-event-list .sp-event-list td.data-league {
	min-width: 12rem;
	white-space: normal;
}

.sp-template-event-list .sp-event-list td.data-league a,
.sportspress .sp-template-event-list .sp-event-list td.data-league a {
	display: inline-block;
	line-height: 1.25;
}

/*
 * Public data pages need the full content width for dense live, match and
 * competition tables. The template filter selects Alchemists full-width;
 * these rules are a defensive fallback if a sidebar wrapper is still printed.
 */
body.maracana-score-full-width-page #secondary,
body.maracana-score-full-width-page aside[role="complementary"],
body.maracana-score-full-width-page aside.sidebar,
body.maracana-score-full-width-page .site-sidebar,
body.maracana-score-full-width-page .sidebar-area,
body.maracana-score-full-width-page .widget-area.sidebar {
	display: none !important;
}

body.maracana-score-full-width-page #primary,
body.maracana-score-full-width-page #primary.content-area,
body.maracana-score-full-width-page .site-content #primary,
body.maracana-score-full-width-page .site-content .content-area {
	float: none;
	flex: 0 0 100%;
	max-width: 100%;
	width: 100%;
}

.sp-template-league-list .maracana-competition-country-row > th {
	background: #f1f4f8;
	border-top: 1px solid #dfe5ec;
	color: #2f3845;
	font-size: 0.78rem;
	letter-spacing: 0;
	padding: 0.55rem 0.85rem;
	text-transform: uppercase;
}

.maracana-competition-country-row__label {
	font-weight: 800;
}

.sp-template-league-list .sp-data-table > tbody > tr > td {
	padding-bottom: 0.34rem;
	padding-top: 0.34rem;
	vertical-align: middle;
}

.sp-template-league-list .maracana-competition-link {
	align-items: center;
	display: flex;
	min-width: 0;
	text-decoration: none;
}

.sp-template-league-list .maracana-competition-link:hover .team-meta__name,
.sp-template-league-list .maracana-competition-link:focus .team-meta__name {
	color: #1892ed;
}

.sp-template-league-list .maracana-competition-link:focus-visible {
	outline: 2px solid #1892ed;
	outline-offset: 3px;
}

.sp-template-league-list .team-meta__logo {
	align-items: center;
	display: inline-flex;
	flex: 0 0 3rem;
	height: 3rem;
	justify-content: center;
	margin-right: 0.75rem;
	overflow: hidden;
	width: 3rem;
}

.sp-template-league-list .team-meta__logo img,
.sp-template-league-list .team-logo img {
	display: block;
	filter: drop-shadow(0 1px 1px rgba(18, 31, 46, 0.18));
	height: auto !important;
	max-height: 2.62rem;
	max-width: 2.62rem;
	object-fit: contain;
	width: auto !important;
}

.sp-template-league-list .team-meta__info {
	min-width: 0;
}

.sp-template-league-list .team-meta__name {
	line-height: 1.18;
	margin-bottom: 0.12rem;
}

.sp-template-league-list .team-meta__info small {
	line-height: 1.15;
}

.sp-template-league-list .sp-league-list {
	table-layout: fixed;
	width: 100%;
}

.sp-template-league-list .sp-league-list th:first-child,
.sp-template-league-list .sp-league-list td:first-child {
	width: 42%;
}

.sp-template-league-list .sp-league-list th:nth-child(2),
.sp-template-league-list .sp-league-list td:nth-child(2) {
	width: 5.5rem;
}

.sp-template-league-list .data-coverage {
	width: auto;
}

.sp-template-league-list .sp-coverage-list {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.16rem 0.2rem;
	max-width: none;
	width: 100%;
}

.sp-template-league-list .sp-coverage-badge {
	font-size: 0.58rem;
	line-height: 1;
	padding: 0.15rem 0.28rem;
	white-space: nowrap;
}

.sp-template-league-list .sp-coverage-badge--pending {
	opacity: 0.62;
}

.sp-template-event-list .sp-event-list .maracana-match-logos,
.sportspress .sp-template-event-list .sp-event-list .maracana-match-logos {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-right: 0.55rem;
	vertical-align: middle;
}

.sp-template-event-list .sp-event-list .maracana-match-logos .team-logo,
.sportspress .sp-template-event-list .sp-event-list .maracana-match-logos .team-logo {
	align-items: center;
	display: inline-flex;
	flex: 0 0 2rem;
	height: 1.55rem;
	justify-content: center;
	line-height: 0;
	overflow: hidden;
	width: 2rem;
}

.sp-template-event-list .sp-event-list .maracana-match-logos .team-logo img,
.sportspress .sp-template-event-list .sp-event-list .maracana-match-logos .team-logo img {
	display: block;
	height: 1.45rem !important;
	max-height: 1.45rem;
	max-width: 2rem;
	object-fit: contain;
	width: auto !important;
}

.sp-template-event-list .sp-event-list .maracana-matchup,
.sportspress .sp-template-event-list .sp-event-list .maracana-matchup {
	display: inline-block;
	vertical-align: middle;
}

.sp-template-event-list .sp-event-list .maracana-match-score-status,
.sportspress .sp-template-event-list .sp-event-list .maracana-match-score-status,
.sp-template-event-list .sp-event-list .maracana-match-score-status-cell,
.sportspress .sp-template-event-list .sp-event-list .maracana-match-score-status-cell {
	text-align: center;
}

.sp-template-event-list .sp-event-list .maracana-match-score-status,
.sportspress .sp-template-event-list .sp-event-list .maracana-match-score-status {
	align-items: center;
	display: inline-flex;
	flex-direction: column;
	gap: 0.18rem;
	justify-content: center;
}

.sp-template-event-list .sp-event-list .maracana-match-score-status-cell .sp-event-results,
.sportspress .sp-template-event-list .sp-event-list .maracana-match-score-status-cell .sp-event-results {
	display: block;
	line-height: 1.05;
}

.sp-template-event-list .sp-event-list .maracana-match-status,
.sportspress .sp-template-event-list .sp-event-list .maracana-match-status {
	display: block;
	margin-top: 0.18rem;
}

.sp-template-event-list .sp-event-list .maracana-match-status .event-time-status__badge,
.sportspress .sp-template-event-list .sp-event-list .maracana-match-status .event-time-status__badge {
	font-size: 0.58rem;
	line-height: 1;
	padding: 0.17rem 0.3rem;
	white-space: nowrap;
}

.sp-template-event-list .sp-event-list .maracana-competition-phase,
.sportspress .sp-template-event-list .sp-event-list .maracana-competition-phase {
	align-items: center;
	background: #f1f4f8;
	border-radius: 3px;
	color: #2f3845;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1.2;
	margin-top: 0.3rem;
	max-width: 100%;
	padding: 0.16rem 0.36rem;
	width: max-content;
	white-space: normal;
}

.sp-template-event-list .sp-event-list .maracana-competition-phase__label,
.sportspress .sp-template-event-list .sp-event-list .maracana-competition-phase__label {
	color: #6c7480;
	font-size: 0.62rem;
	margin-right: 0.2rem;
	text-transform: uppercase;
}

.sp-template-event-list .sp-event-list .maracana-competition-phase__value,
.sportspress .sp-template-event-list .sp-event-list .maracana-competition-phase__value {
	color: #2f3845;
	text-transform: uppercase;
}

@media (min-width: 992px) {
	.sp-template-event-list .sp-event-list th.data-league,
	.sp-template-event-list .sp-event-list td.data-league,
	.sportspress .sp-template-event-list .sp-event-list th.data-league,
	.sportspress .sp-template-event-list .sp-event-list td.data-league {
		min-width: 13.5rem;
		width: 18%;
	}

	.sp-template-event-list .sp-event-list th.data-venue,
	.sp-template-event-list .sp-event-list td.data-venue,
	.sportspress .sp-template-event-list .sp-event-list th.data-venue,
	.sportspress .sp-template-event-list .sp-event-list td.data-venue {
		width: 14%;
	}
}

@media (min-width: 1200px) {
	.sp-template-event-list .sp-event-list.maracana-match-table,
	.sportspress .sp-template-event-list .sp-event-list.maracana-match-table {
		table-layout: fixed;
		width: 100%;
	}

	.sp-template-event-list .sp-event-list.maracana-match-table tbody td,
	.sportspress .sp-template-event-list .sp-event-list.maracana-match-table tbody td {
		vertical-align: middle;
	}

	.sp-template-event-list .sp-event-list.maracana-match-table td.data-league,
	.sp-template-event-list .sp-event-list.maracana-match-table td.data-venue,
	.sportspress .sp-template-event-list .sp-event-list.maracana-match-table td.data-league,
	.sportspress .sp-template-event-list .sp-event-list.maracana-match-table td.data-venue {
		vertical-align: middle;
	}

	.sp-template-event-list .sp-event-list.maracana-match-table .maracana-match-table__col--date,
	.sportspress .sp-template-event-list .sp-event-list.maracana-match-table .maracana-match-table__col--date {
		width: 7%;
	}

	.sp-template-event-list .sp-event-list.maracana-match-table .maracana-match-table__col--event,
	.sportspress .sp-template-event-list .sp-event-list.maracana-match-table .maracana-match-table__col--event {
		width: 35%;
	}

	.sp-template-event-list .sp-event-list.maracana-match-table .maracana-match-table__col--score,
	.sportspress .sp-template-event-list .sp-event-list.maracana-match-table .maracana-match-table__col--score {
		width: 7%;
	}

	.sp-template-event-list .sp-event-list.maracana-match-table .maracana-match-table__col--league,
	.sportspress .sp-template-event-list .sp-event-list.maracana-match-table .maracana-match-table__col--league {
		width: 27%;
	}

	.sp-template-event-list .sp-event-list.maracana-match-table .maracana-match-table__col--venue,
	.sportspress .sp-template-event-list .sp-event-list.maracana-match-table .maracana-match-table__col--venue {
		width: 24%;
	}

	.sp-template-event-list .sp-event-list.maracana-match-table th.data-venue,
	.sp-template-event-list .sp-event-list.maracana-match-table td.data-venue,
	.sportspress .sp-template-event-list .sp-event-list.maracana-match-table th.data-venue,
	.sportspress .sp-template-event-list .sp-event-list.maracana-match-table td.data-venue {
		min-width: 13rem;
		overflow-wrap: normal;
		white-space: nowrap;
		width: 24%;
	}

	.sp-template-event-list .sp-event-list.maracana-match-table td.data-venue .maracana-venue-name,
	.sportspress .sp-template-event-list .sp-event-list.maracana-match-table td.data-venue .maracana-venue-name {
		display: inline-block;
		line-height: 1.25;
		vertical-align: middle;
		white-space: nowrap;
	}

	body.maracana-score-full-width-matchs .sp-template-event-list .sp-event-list.sp-event-list-format-title,
	body.maracana-score-full-width-matches .sp-template-event-list .sp-event-list.sp-event-list-format-title {
		table-layout: fixed;
		width: 100%;
	}

	body.maracana-score-full-width-matchs .sp-template-event-list .sp-event-list.sp-event-list-format-title th.data-date,
	body.maracana-score-full-width-matchs .sp-template-event-list .sp-event-list.sp-event-list-format-title td.data-date,
	body.maracana-score-full-width-matches .sp-template-event-list .sp-event-list.sp-event-list-format-title th.data-date,
	body.maracana-score-full-width-matches .sp-template-event-list .sp-event-list.sp-event-list-format-title td.data-date {
		width: 7%;
	}

	body.maracana-score-full-width-matchs .sp-template-event-list .sp-event-list.sp-event-list-format-title th.data-time,
	body.maracana-score-full-width-matchs .sp-template-event-list .sp-event-list.sp-event-list-format-title td.data-time,
	body.maracana-score-full-width-matchs .sp-template-event-list .sp-event-list.sp-event-list-format-title th.data-results,
	body.maracana-score-full-width-matchs .sp-template-event-list .sp-event-list.sp-event-list-format-title td.data-results,
	body.maracana-score-full-width-matches .sp-template-event-list .sp-event-list.sp-event-list-format-title th.data-time,
	body.maracana-score-full-width-matches .sp-template-event-list .sp-event-list.sp-event-list-format-title td.data-time,
	body.maracana-score-full-width-matches .sp-template-event-list .sp-event-list.sp-event-list-format-title th.data-results,
	body.maracana-score-full-width-matches .sp-template-event-list .sp-event-list.sp-event-list-format-title td.data-results {
		width: 7%;
	}

	body.maracana-score-full-width-matchs .sp-template-event-list .sp-event-list.sp-event-list-format-title th.data-league,
	body.maracana-score-full-width-matchs .sp-template-event-list .sp-event-list.sp-event-list-format-title td.data-league,
	body.maracana-score-full-width-matches .sp-template-event-list .sp-event-list.sp-event-list-format-title th.data-league,
	body.maracana-score-full-width-matches .sp-template-event-list .sp-event-list.sp-event-list-format-title td.data-league {
		min-width: 0;
		width: 27%;
	}

	body.maracana-score-full-width-matchs .sp-template-event-list .sp-event-list.sp-event-list-format-title th.data-venue,
	body.maracana-score-full-width-matchs .sp-template-event-list .sp-event-list.sp-event-list-format-title td.data-venue,
	body.maracana-score-full-width-matches .sp-template-event-list .sp-event-list.sp-event-list-format-title th.data-venue,
	body.maracana-score-full-width-matches .sp-template-event-list .sp-event-list.sp-event-list-format-title td.data-venue {
		min-width: 14rem;
		overflow-wrap: normal;
		white-space: nowrap;
		width: 24%;
	}
}

@media (min-width: 1440px) {
	body.maracana-score-full-width-matchs .sp-template-event-list .sp-event-list.sp-event-list-format-title th.data-venue,
	body.maracana-score-full-width-matchs .sp-template-event-list .sp-event-list.sp-event-list-format-title td.data-venue,
	body.maracana-score-full-width-matches .sp-template-event-list .sp-event-list.sp-event-list-format-title th.data-venue,
	body.maracana-score-full-width-matches .sp-template-event-list .sp-event-list.sp-event-list-format-title td.data-venue {
		width: 24%;
	}
}

/*
 * Native Alchemists team overview: keep the summary focused on
 * team details, compact standings stats and a safe awards/status card.
 */
.maracana-team-overview .maracana-team-overview__summary-row {
	margin-top: 1.5rem;
}

.maracana-team-overview .card {
	height: 100%;
}

.maracana-team-overview .sp-template-team-details .card__header .team-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 0.75rem;
	vertical-align: middle;
}

.maracana-team-stats-card .card__content {
	padding: 0;
}

.maracana-team-stats-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.maracana-team-stat {
	align-items: center;
	border-bottom: 1px solid #e4e7ed;
	border-right: 1px solid #e4e7ed;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 13.75rem;
	padding: 2rem 1rem;
	text-align: center;
}

.maracana-team-stat:nth-child(2n) {
	border-right: 0;
}

.maracana-team-stat:nth-last-child(-n + 2) {
	border-bottom: 0;
}

.maracana-team-stat__icon {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	height: 8rem;
	justify-content: center;
	margin-bottom: 1.35rem;
	width: 8rem;
}

.maracana-team-stat__icon img {
	display: block;
	height: 4rem;
	object-fit: contain;
	width: 4rem;
}

.maracana-team-stat--blue .maracana-team-stat__icon {
	background: #38a9ff;
}

.maracana-team-stat--green .maracana-team-stat__icon {
	background: #9bea20;
}

.maracana-team-stat--yellow .maracana-team-stat__icon {
	background: #ffd400;
}

.maracana-team-stat--teal .maracana-team-stat__icon {
	background: #35d4bd;
}

.maracana-team-stat__value {
	color: #2f3b48;
	display: block;
	font-size: 2.65rem;
	font-weight: 800;
	line-height: 1;
	margin-bottom: 0.6rem;
}

.maracana-team-stat__label,
.maracana-team-awards__subtitle {
	color: #9aa0a8;
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.maracana-fifa-ranking-card .highlighted > td,
.maracana-fifa-ranking-card .sp-highlight {
	background: #f1f3f6;
	color: #31404b;
	font-weight: 700;
}

.maracana-fifa-ranking-card .highlighted .data-name {
	box-shadow: inset 4px 0 0 #38a9ff;
}

.maracana-fifa-ranking-card__meta {
	border-top: 1px solid #e4e7ed;
	color: #9aa0a8;
	font-size: 0.82rem;
	font-weight: 700;
	padding: 0.85rem 1rem;
	text-transform: uppercase;
}

.maracana-team-awards-card .card__content {
	align-items: center;
	display: flex;
	justify-content: center;
	min-height: 34.2rem;
	text-align: center;
}

.maracana-team-awards {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 2rem;
}

.maracana-team-awards__trophy {
	align-items: flex-end;
	background: #f1f3f6;
	border-radius: 999px;
	display: flex;
	height: 14rem;
	justify-content: center;
	margin-bottom: 3rem;
	position: relative;
	width: 14rem;
}

.maracana-team-awards__trophy::before,
.maracana-team-awards__trophy::after {
	border: 0.6rem solid #ffd51f;
	border-bottom: 0;
	border-radius: 2rem 2rem 0 0;
	content: "";
	height: 4.7rem;
	position: absolute;
	top: 3.1rem;
	width: 3.2rem;
}

.maracana-team-awards__trophy::before {
	left: 1.2rem;
	transform: rotate(-90deg);
}

.maracana-team-awards__trophy::after {
	right: 1.2rem;
	transform: rotate(90deg);
}

.maracana-team-awards__trophy span {
	background: linear-gradient(90deg, #f7b919, #ffe156 50%, #f3ad14);
	border-radius: 0.35rem 0.35rem 2rem 2rem;
	display: block;
	height: 9rem;
	position: relative;
	width: 6.3rem;
}

.maracana-team-awards__trophy span::before {
	background: #d59325;
	bottom: -2.4rem;
	content: "";
	height: 2.5rem;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	width: 1.5rem;
}

.maracana-team-awards__trophy span::after {
	background: #6f4b28;
	border-radius: 0.1rem;
	bottom: -3.2rem;
	content: "";
	height: 0.9rem;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	width: 5rem;
}

.maracana-team-awards__title {
	color: #2f3b48;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 0.55rem;
	text-transform: uppercase;
}

@media (max-width: 767.98px) {
	.maracana-team-stats-grid {
		grid-template-columns: 1fr;
	}

	.maracana-team-stat,
	.maracana-team-stat:nth-child(2n),
	.maracana-team-stat:nth-last-child(-n + 2) {
		border-bottom: 1px solid #e4e7ed;
		border-right: 0;
		min-height: 12rem;
	}

	.maracana-team-stat:last-child {
		border-bottom: 0;
	}

	.maracana-team-awards-card .card__content {
		min-height: 24rem;
	}
}

.sp-event-performance .maracana-lineup-subheader td,
.sp-event-performance .maracana-lineup-staff-subheader td,
.sp-template-event-performance .maracana-lineup-staff-title {
	background: #f5f7fa;
	border-bottom: 1px solid #e4e7ed;
	border-top: 1px solid #e4e7ed;
	color: #31404b;
	font-family: "Montserrat", sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0;
	padding: 0.8rem 1.25rem;
	text-transform: uppercase;
}

.sp-template-event-performance .maracana-lineup-staff-title {
	margin-top: 0.75rem;
}

.sp-event-performance .maracana-lineup-subheader span,
.sp-event-performance .maracana-lineup-staff-subheader span,
.sp-template-event-performance .maracana-lineup-staff-title {
	display: block;
}

.sp-template-event-performance .sp-event-staff {
	margin: 0;
}

.sp-template-event-performance .sp-event-staff .list-unstyled {
	margin: 0;
	padding: 0.8rem 1.25rem;
}

.maracana-lineup-formation {
	align-items: baseline;
	color: #9a9da2;
	display: flex;
	flex-basis: 100%;
	font-family: "Montserrat", sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	gap: 0.45rem;
	letter-spacing: 0;
	line-height: 1.25;
	margin-top: 0.62rem;
	text-transform: uppercase;
	width: 100%;
}

.maracana-lineup-formation__value {
	color: #31404b;
	font-weight: 800;
}

.sp-section-content-lineups .card__header {
	flex-wrap: wrap;
}

.sp-section-content-lineups .card__header .sp-table-caption {
	flex-basis: 100%;
	width: 100%;
}

.maracana-event-venue-media {
	margin: 1.1rem 0 0;
	overflow: hidden;
}

.maracana-event-venue-media img {
	aspect-ratio: 16 / 7;
	display: block;
	height: auto;
	max-height: 18rem;
	object-fit: cover;
	width: 100%;
}

.maracana-event-venue-details {
	display: grid;
	gap: 0.45rem 1.4rem;
	grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
	list-style: none;
	margin: 1.15rem 0 0;
	padding: 0;
}

.maracana-event-venue-details li {
	align-items: baseline;
	display: flex;
	gap: 0.5rem;
	min-width: 0;
}

.maracana-event-venue-details span {
	color: #9a9da2;
	font-family: "Montserrat", sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	white-space: nowrap;
}

.maracana-event-venue-details strong {
	color: #31404b;
	font-weight: 700;
	min-width: 0;
}

.game-result__stats .progress-table__progress-label,
.game-result__stats .circular__label,
.game-result__table-stats td:nth-child(2),
.sp-template-event-statistics .sp-statistic-label {
	letter-spacing: 0;
	white-space: nowrap;
}

.game-result__stats .progress-table__progress-label--highlight {
	min-width: 7.75rem;
}

.game-result__stats .progress-table--xs-space tr + tr {
	border-top-width: 10px;
}

.game-result__stats .progress-table__progress-label {
	padding-left: 6px;
	padding-right: 6px;
}

.game-result__header--alt .maracana-goal-scorer-row {
	display: block;
	line-height: 1.45;
	margin: 0.15rem 0;
	padding: 0 10px;
}

.game-result__header--alt .maracana-goal-scorer-row .game-result__icon {
	color: #31404b;
	margin-left: 0.45rem;
}

@media (min-width: 992px) {
	.game-result__stats .game-result__stats-team-1,
	.game-result__stats .game-result__stats-team-2 {
		flex: 0 0 29%;
		max-width: 29%;
	}

	.game-result__stats .game-result__stats-scoreboard {
		flex: 0 0 42%;
		max-width: 42%;
	}
}

@media (max-width: 991px) {
	.game-result__stats .game-result__stats-team-1,
	.game-result__stats .game-result__stats-team-2,
	.game-result__stats .game-result__stats-scoreboard {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

.game-timeline__event.maracana-timeline-clickable {
	cursor: pointer;
	outline: 0;
	z-index: 3;
}

.game-timeline__event.maracana-timeline-clickable:hover,
.game-timeline__event.maracana-timeline-clickable:focus,
.game-timeline__event.maracana-timeline-clickable:focus-within {
	z-index: 200;
}

.game-timeline-wrapper--horizontal .game-timeline__event-info {
	align-items: center;
	display: inline-flex !important;
	height: 2rem;
	justify-content: center;
	min-width: 2rem;
	overflow: visible;
	width: 2rem;
}

.game-timeline-wrapper--horizontal .game-timeline__event-name,
.game-timeline-wrapper--horizontal .game-timeline__event-desc {
	border: 0 !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	white-space: nowrap !important;
	width: 1px !important;
}

.game-timeline-wrapper--horizontal .game-timeline__icon {
	align-items: center;
	display: inline-flex !important;
	justify-content: center;
	line-height: 1;
	min-height: 1.4rem;
	min-width: 1.4rem;
	opacity: 1 !important;
	visibility: visible !important;
}

.game-timeline-wrapper--horizontal .game-timeline__icon i,
.game-timeline-wrapper--horizontal .game-timeline__icon .df-icon-font {
	display: inline-block !important;
	font-size: 1.2rem;
	line-height: 1;
	opacity: 1 !important;
	visibility: visible !important;
}

.game-timeline-wrapper--horizontal .game-timeline-ft {
	align-items: center;
	display: flex !important;
	flex: 0 0 56px !important;
	height: 170px;
	justify-content: center;
	max-width: none;
	min-width: 56px;
	overflow: visible;
	position: relative;
	width: 56px;
}

.game-timeline-wrapper--horizontal .game-timeline-ft::before {
	background: #dfe4ea;
	content: "";
	height: 1px;
	left: -42px;
	position: absolute;
	right: 28px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 0;
}

.game-timeline-wrapper--horizontal .game-timeline__event--ft {
	display: block !important;
	left: auto !important;
	position: relative !important;
	right: auto !important;
	top: auto !important;
	z-index: 2;
}

.game-timeline-wrapper--horizontal .game-timeline__event--ft .game-timeline__time {
	align-items: center;
	background: #fff;
	border: 2px solid #dfe4ea;
	border-radius: 50%;
	box-sizing: border-box;
	color: #31404b;
	display: inline-flex !important;
	font-size: 0.7rem;
	font-weight: 800;
	height: 2.5rem;
	line-height: 1;
	justify-content: center;
	padding: 0;
	text-align: center;
	text-transform: none;
	width: 2.5rem;
}

.game-timeline__event.maracana-timeline-kind-goal .game-timeline__icon i,
.game-timeline__event.maracana-timeline-kind-goal .game-timeline__icon .df-icon-font {
	color: #27ae60 !important;
}

.game-timeline__event.maracana-timeline-kind-yellow .game-timeline__icon i,
.game-timeline__event.maracana-timeline-kind-yellow .game-timeline__icon .df-icon-font {
	color: #f2c94c !important;
}

.game-timeline__event.maracana-timeline-kind-second-yellow .game-timeline__icon i,
.game-timeline__event.maracana-timeline-kind-second-yellow .game-timeline__icon .df-icon-font {
	color: #eb5757 !important;
}

.game-timeline__event.maracana-timeline-kind-red .game-timeline__icon i,
.game-timeline__event.maracana-timeline-kind-red .game-timeline__icon .df-icon-font,
.game-timeline__event.maracana-timeline-kind-cancelled .game-timeline__icon i,
.game-timeline__event.maracana-timeline-kind-cancelled .game-timeline__icon .df-icon-font,
.game-timeline__event.maracana-timeline-kind-missed .game-timeline__icon i,
.game-timeline__event.maracana-timeline-kind-missed .game-timeline__icon .df-icon-font {
	color: #eb5757 !important;
}

.game-timeline__event.maracana-timeline-kind-substitution .game-timeline__icon i,
.game-timeline__event.maracana-timeline-kind-substitution .game-timeline__icon .df-icon-font {
	color: #27ae60 !important;
}

.game-timeline__event.maracana-timeline-kind-var:not(.maracana-timeline-kind-cancelled) .game-timeline__icon i,
.game-timeline__event.maracana-timeline-kind-var:not(.maracana-timeline-kind-cancelled) .game-timeline__icon .df-icon-font {
	color: #9b51e0 !important;
}

.game-timeline__event.maracana-timeline-kind-cancelled .game-timeline__event-name::after,
.game-timeline__event.maracana-timeline-kind-var:not(.maracana-timeline-kind-cancelled) .game-timeline__event-name::after,
.game-timeline__event.maracana-timeline-kind-missed .game-timeline__event-name::after {
	border-radius: 3px;
	color: #fff;
	display: inline-block;
	font-size: 0.6rem;
	font-weight: 800;
	line-height: 1;
	margin-left: 0.35rem;
	padding: 0.18rem 0.28rem;
	text-transform: uppercase;
	vertical-align: middle;
}

.game-timeline__event.maracana-timeline-kind-cancelled .game-timeline__event-name::after {
	background: #eb5757;
	content: "But annulé";
}

.game-timeline__event.maracana-timeline-kind-var:not(.maracana-timeline-kind-cancelled) .game-timeline__event-name::after {
	background: #9b51e0;
	content: "VAR";
}

.game-timeline__event.maracana-timeline-kind-missed .game-timeline__event-name::after {
	background: #eb5757;
	content: "Penalty manqué";
}

.game-timeline__event .maracana-timeline-detail {
	background: #fff;
	border: 1px solid #dfe4ea;
	border-radius: 4px;
	box-shadow: 0 12px 28px rgba(49, 64, 75, 0.18);
	color: #31404b;
	display: none;
	font-family: "Montserrat", sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	left: 50%;
	line-height: 1.35;
	max-width: min(34rem, calc(100vw - 3rem));
	min-width: 20rem;
	opacity: 0;
	padding: 0.7rem 0.85rem;
	pointer-events: none;
	position: absolute;
	text-align: left;
	text-transform: none;
	top: calc(50% + 1.85rem);
	transform: translateX(-50%);
	transition: opacity 0.12s ease, visibility 0.12s ease, transform 0.12s ease;
	visibility: hidden;
	white-space: nowrap;
	width: max-content;
	z-index: 1000;
}

.game-timeline__event .maracana-timeline-detail::before {
	border-bottom: 7px solid #fff;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	content: "";
	left: 50%;
	position: absolute;
	top: -7px;
	transform: translateX(-50%);
}

.game-timeline__event:hover .maracana-timeline-detail,
.game-timeline__event:focus .maracana-timeline-detail,
.game-timeline__event:focus-within .maracana-timeline-detail {
	display: block;
	opacity: 1;
	transform: translateX(-50%) translateY(2px);
	visibility: visible;
}

.game-timeline__event.maracana-timeline-edge-start .maracana-timeline-detail {
	left: 0;
	transform: none;
}

.game-timeline__event.maracana-timeline-edge-start .maracana-timeline-detail::before {
	left: 13px;
	transform: none;
}

.game-timeline__event.maracana-timeline-edge-start:hover .maracana-timeline-detail,
.game-timeline__event.maracana-timeline-edge-start:focus .maracana-timeline-detail,
.game-timeline__event.maracana-timeline-edge-start:focus-within .maracana-timeline-detail {
	transform: translateY(2px);
}

.game-timeline__event.maracana-timeline-edge-end .maracana-timeline-detail {
	left: auto;
	right: 0;
	transform: none;
}

.game-timeline__event.maracana-timeline-edge-end .maracana-timeline-detail::before {
	left: auto;
	right: 13px;
	transform: none;
}

.game-timeline__event.maracana-timeline-edge-end:hover .maracana-timeline-detail,
.game-timeline__event.maracana-timeline-edge-end:focus .maracana-timeline-detail,
.game-timeline__event.maracana-timeline-edge-end:focus-within .maracana-timeline-detail {
	transform: translateY(2px);
}

.maracana-timeline-detail__title,
.maracana-timeline-detail__person {
	display: block;
	white-space: nowrap;
}

.maracana-timeline-detail__title {
	color: #2f3b48;
	font-size: 0.8rem;
	font-weight: 800;
	margin-bottom: 0.4rem;
	text-transform: uppercase;
}

.maracana-timeline-detail__person {
	color: #8f98a3;
	margin-top: 0.16rem;
}

.maracana-timeline-detail__person--out {
	color: #eb5757;
}

.maracana-timeline-detail__person--in {
	color: #27ae60;
}

.sp-event-performance td,
.sp-event-performance th {
	padding-bottom: 0.55rem;
	padding-top: 0.55rem;
}

.sp-section-content-timeline,
.sp-template-event-timeline,
.sp-template-event-timeline.card,
.sp-template-event-timeline .card__content {
	box-sizing: border-box;
	max-width: 100%;
	overflow-x: hidden !important;
	overflow-y: visible !important;
}

@media (min-width: 992px) {
	.game-timeline-wrapper--horizontal {
		box-sizing: border-box;
		max-width: 100%;
		min-width: 0;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		-webkit-overflow-scrolling: touch;
		scrollbar-gutter: stable;
	}

	.game-timeline-wrapper--horizontal {
		height: 210px !important;
		min-height: 210px;
		padding-bottom: 44px;
		padding-top: 26px;
	}

	.game-timeline-wrapper--horizontal .game-timeline {
		box-sizing: border-box;
		flex: 1 1 0 !important;
		height: 170px !important;
		min-height: 170px;
		min-width: 1800px;
		overflow: visible !important;
	}

	.game-timeline-wrapper--horizontal .game-timeline::before {
		right: -42px;
	}

	.game-timeline-wrapper--horizontal .game-timeline-teams,
	.game-timeline-wrapper--horizontal .game-timeline-ft {
		flex: 0 0 auto !important;
		max-width: none;
		min-width: 0;
	}

	.game-timeline-wrapper--horizontal .game-timeline-ft {
		flex-basis: 56px !important;
		width: 56px;
	}

	.game-timeline-wrapper--horizontal .game-timeline__event--ft .game-timeline__time {
		width: 2.5rem;
	}

	.game-timeline-wrapper--horizontal .game-timeline__event .maracana-timeline-detail {
		top: calc(50% + 0.75rem);
	}
}

.sp-template-event-performance table.sp-event-performance > tbody > tr,
.sp-template-event-performance-icons table.sp-event-performance > tbody > tr,
.sp-event-performance-teams table.sp-event-performance > tbody > tr {
	height: 48px !important;
	min-height: 0 !important;
}

.sp-template-event-performance .sp-event-performance > thead > tr > th,
.sp-template-event-performance .sp-event-performance > tbody > tr > td,
.sp-template-event-performance .sp-event-performance > tfoot > tr > td,
.sp-template-event-performance-icons .sp-event-performance > thead > tr > th,
.sp-template-event-performance-icons .sp-event-performance > tbody > tr > td,
.sp-template-event-performance-icons .sp-event-performance > tfoot > tr > td,
.sp-event-performance-teams .sp-event-performance > thead > tr > th,
.sp-event-performance-teams .sp-event-performance > tbody > tr > td,
.sp-event-performance-teams .sp-event-performance > tfoot > tr > td {
	height: 48px !important;
	padding-left: 0.35rem;
	padding-right: 0.35rem;
	padding-bottom: 0.18rem !important;
	padding-top: 0.18rem !important;
	vertical-align: middle !important;
}

.sp-template-event-performance .sp-event-performance > thead > tr > th,
.sp-template-event-performance-icons .sp-event-performance > thead > tr > th,
.sp-event-performance-teams .sp-event-performance > thead > tr > th {
	height: 44px !important;
}

.sp-template-event-performance .sp-event-performance > tbody > tr.maracana-lineup-subheader,
.sp-template-event-performance .sp-event-performance > tbody > tr.maracana-lineup-staff-subheader,
.sp-template-event-performance-icons .sp-event-performance > tbody > tr.maracana-lineup-subheader,
.sp-template-event-performance-icons .sp-event-performance > tbody > tr.maracana-lineup-staff-subheader,
.sp-event-performance-teams .sp-event-performance > tbody > tr.maracana-lineup-subheader,
.sp-event-performance-teams .sp-event-performance > tbody > tr.maracana-lineup-staff-subheader {
	height: 36px !important;
}

.sp-template-event-performance .sp-event-performance > tbody > tr.maracana-lineup-subheader > td,
.sp-template-event-performance .sp-event-performance > tbody > tr.maracana-lineup-staff-subheader > td,
.sp-template-event-performance-icons .sp-event-performance > tbody > tr.maracana-lineup-subheader > td,
.sp-template-event-performance-icons .sp-event-performance > tbody > tr.maracana-lineup-staff-subheader > td,
.sp-event-performance-teams .sp-event-performance > tbody > tr.maracana-lineup-subheader > td,
.sp-event-performance-teams .sp-event-performance > tbody > tr.maracana-lineup-staff-subheader > td {
	height: 36px !important;
}

.sp-template-event-performance .sp-event-performance > thead > tr > th:first-child,
.sp-template-event-performance .sp-event-performance > tbody > tr > td:first-child,
.sp-template-event-performance .sp-event-performance > tfoot > tr > td:first-child {
	padding-left: 0.85rem;
}

.sp-template-event-performance .sp-event-performance > thead > tr > th:last-child,
.sp-template-event-performance .sp-event-performance > tbody > tr > td:last-child,
.sp-template-event-performance .sp-event-performance > tfoot > tr > td:last-child {
	padding-right: 0.85rem;
}

.sp-template-event-performance .sp-event-performance .data-number,
.sp-template-event-performance-icons .sp-event-performance .data-number,
.sp-event-performance-teams .sp-event-performance .data-number {
	min-width: 1.8rem;
	padding-right: 0.12rem;
	width: 1.8rem;
}

.sp-template-event-performance .sp-event-performance .data-name,
.sp-template-event-performance-icons .sp-event-performance .data-name,
.sp-event-performance-teams .sp-event-performance .data-name {
	line-height: 1.18;
	padding-left: 0.12rem;
}

.sp-template-event-performance .sp-event-performance .data-name .sp-player-position,
.sp-template-event-performance .sp-event-performance .data-name small,
.sp-template-event-performance-icons .sp-event-performance .data-name .sp-player-position,
.sp-template-event-performance-icons .sp-event-performance .data-name small,
.sp-event-performance-teams .sp-event-performance .data-name .sp-player-position,
.sp-event-performance-teams .sp-event-performance .data-name small {
	line-height: 1.08;
	margin-top: 0.04rem;
}

.sp-template-event-performance .sp-event-performance .data-position,
.sp-template-event-performance-icons .sp-event-performance .data-position,
.sp-event-performance-teams .sp-event-performance .data-position {
	line-height: 1.2;
	padding-left: 0.2rem;
}

.sp-template-event-performance .sp-event-performance .sub-out::before,
.sp-template-event-performance .sp-event-performance .sub-in::before {
	margin-left: 0.15rem;
	margin-right: 0.18rem;
}

.sp-template-event-performance .card__content {
	padding-bottom: 0;
	padding-top: 0;
}

.sp-event-performance .maracana-lineup-subheader td,
.sp-event-performance .maracana-lineup-staff-subheader td,
.sp-template-event-performance .maracana-lineup-staff-title {
	padding-bottom: 0.55rem;
	padding-top: 0.55rem;
}

.sp-template-event-performance .sp-event-staff .list-unstyled {
	padding-bottom: 0.55rem;
	padding-top: 0.55rem;
}

@media (max-width: 991.98px) {
	.game-timeline__event .maracana-timeline-detail {
		left: auto;
		max-width: calc(100vw - 2rem);
		min-width: 0;
		right: 0;
		top: calc(100% + 0.35rem);
		transform: none;
		white-space: normal;
		width: min(22rem, calc(100vw - 2rem));
	}

	.maracana-timeline-detail__title,
	.maracana-timeline-detail__person {
		white-space: normal;
	}

	.game-timeline__event .maracana-timeline-detail::before {
		left: auto;
		right: 1rem;
		transform: none;
	}

	.game-timeline__event:hover .maracana-timeline-detail,
	.game-timeline__event:focus .maracana-timeline-detail,
	.game-timeline__event:focus-within .maracana-timeline-detail {
		display: block;
		transform: translateY(2px);
	}
}
