a.mr-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 11px 10px;
	border-radius: 12px;
	color: #e9e9ea;
	text-decoration: none;
	transition: background 0.15s ease;
}

a.mr-row:hover {
	background: rgba(255, 255, 255, 0.05);
	color: #e9e9ea;
	text-decoration: none;
}

a.mr-row:focus-visible {
	outline: 2px solid rgba(255, 45, 134, 0.6);
	outline-offset: -2px;
}

a.mr-row.popular-gold {
	background: linear-gradient(90deg, rgba(251, 191, 36, 0.12), rgba(251, 191, 36, 0) 75%);
}

a.mr-row.popular-silver {
	background: linear-gradient(90deg, rgba(203, 213, 225, 0.09), rgba(203, 213, 225, 0) 75%);
}

a.mr-row.popular-bronze {
	background: linear-gradient(90deg, rgba(217, 119, 6, 0.09), rgba(217, 119, 6, 0) 75%);
}

.mr-teams {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.mr-team {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 20px;
	color: #fff;
}

.mr-team span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mr-team.is-lose {
	color: rgba(255, 255, 255, 0.5);
}

.mr-team .team-logo {
	flex: none;
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.mr-league {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	font-size: 0.68rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.56);
}

.mr-league span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mr-flag {
	flex: none;
	width: 18px;
	height: 12px;
	border-radius: 2px;
	object-fit: cover;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.mr-status {
	display: flex;
	align-items: center;
	gap: 10px;
	align-self: end;
}

.mr-time {
	margin-bottom: 11px;
	font-family: "Bangers", "Titillium Web", sans-serif;
	font-size: 1.2rem;
	letter-spacing: 0.04em;
	line-height: 1;
	color: #fff;
}

.mr-label {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.6rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.56);
}

.mr-label i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #f43f5e;
	animation: mr-pulse 1.4s ease-in-out infinite;
}

.mr-label.is-live {
	color: #f43f5e;
}

.mr-goals {
	display: grid;
	gap: 4px;
	min-width: 12px;
	text-align: right;
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 20px;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.mr-goals .is-lose {
	color: rgba(255, 255, 255, 0.5);
}

@keyframes mr-pulse {
	50% {
		opacity: 0.3;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mr-label i {
		animation: none;
	}
}

.mr-list {
	container-type: inline-size;
}

.mr-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 6px 10px 2px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	cursor: pointer;
}

.mr-head-logo {
	flex: none;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.92);
}

.mr-head-logo img {
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.mr-head-text {
	flex: 1;
	display: grid;
	gap: 2px;
	min-width: 0;
}

.mr-head-title {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.mr-head .league-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #fff;
}

.mr-head-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	font-size: 0.72rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.56);
}

.mr-head-meta span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mr-star {
	flex: none;
	padding: 4px;
}

.mr-chev {
	flex: none;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.34);
	transition: transform 0.2s ease;
}

.mr-head.collapsed .mr-chev {
	transform: rotate(-90deg);
}

.mr-rows {
	display: grid;
	padding-top: 4px;
}

.mr-rows a.mr-row + a.mr-row {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 0;
}

@container (min-width: 640px) {
	.mr-rows {
		grid-template-columns: 1fr 1fr;
		column-gap: 24px;
	}

	.mr-rows a.mr-row + a.mr-row {
		border-top: 0;
	}

	.mr-rows a.mr-row:nth-child(n + 3) {
		border-top: 1px solid rgba(255, 255, 255, 0.06);
	}
}

/* Match populaire : son fond suffit à le détacher, il garde ses coins arrondis et pas de séparateur. */
.mr-rows a.mr-row + a.mr-row:is(.popular-gold, .popular-silver, .popular-bronze) {
	border-radius: 12px;
	border-top-color: transparent;
}

#matchByFavorites a.mr-row {
	background: rgba(255, 255, 255, 0.045);
}

.mr-now {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 4px 0 14px;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #ff2d86;
}

.mr-now::before,
.mr-now::after {
	content: "";
	height: 1px;
	background: rgba(255, 45, 134, 0.6);
}

.mr-now::before {
	width: 14px;
}

.mr-now::after {
	flex: 1;
}

.mr-slot {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 10px;
}

.mr-slot-hour {
	padding-top: 12px;
	text-align: right;
}

.mr-slot-hour .league-name {
	font-family: "Bangers", "Titillium Web", sans-serif;
	font-size: 1.25rem;
	font-weight: 400;
	letter-spacing: 0.04em;
	color: #fff;
}

.mr-slot.is-past .mr-slot-hour .league-name {
	color: rgba(255, 255, 255, 0.34);
}

.mr-slot-rail {
	position: relative;
	display: grid;
	gap: 8px;
	padding: 6px 0 14px 16px;
	border-left: 2px solid rgba(255, 255, 255, 0.10);
}

.mr-slot.is-past .mr-slot-rail {
	border-left-color: rgba(255, 255, 255, 0.05);
}

.mr-slot-rail::before {
	content: "";
	position: absolute;
	top: 20px;
	left: -6px;
	width: 10px;
	height: 10px;
	border: 2px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	background: #0a0f1f;
}

.mr-slot.is-live .mr-slot-rail::before {
	border-color: #f43f5e;
	background: #f43f5e;
}

.mr-timeline a.mr-row {
	background: rgba(255, 255, 255, 0.045);
	border-radius: 14px;
}

.mr-timeline a.mr-row:hover {
	background: rgba(255, 255, 255, 0.08);
}

.mr-timeline a.mr-row.popular-gold,
.mr-timeline a.mr-row.popular-silver,
.mr-timeline a.mr-row.popular-bronze {
	background: rgba(255, 255, 255, 0.045);
}

.mr-timeline a.mr-row.popular-gold {
	box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.45);
}

.mr-timeline a.mr-row.popular-silver {
	box-shadow: inset 0 0 0 1px rgba(203, 213, 225, 0.35);
}

.mr-timeline a.mr-row.popular-bronze {
	box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.35);
}

.mr-slot.is-past a.mr-row {
	opacity: 0.62;
}

@container (min-width: 640px) {
	.mr-slot {
		grid-template-columns: 72px minmax(0, 1fr);
	}

	.mr-slot-rail {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
}

/* Match ouvert avec un Pass Matchs : simple repère, sans libellé. */
.mr-open {
	color: #c084fc;
	font-size: 0.78rem;
	opacity: 0.85;
}

.mr-open--time {
	margin-bottom: 11px;
}
