.mc-page[data-live-match2="1"] .lm2-pending {
	display: none !important;
}

.mc-page[data-live-match2="1"].lm2-playing .mc-tl-item[data-live-system="completed"],
.mc-page[data-live-match2="1"].lm2-playing .mc-tl-item[data-live-system="motm"] {
	display: none !important;
}

.mc-page[data-live-match2="1"] .lm2-revealed {
	animation: lm2-reveal 420ms ease-out both;
}

@keyframes lm2-reveal {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: translateY(0); }
}

.lm2-popup-stage {
	pointer-events: none;
	position: fixed;
	right: 28px;
	top: 118px;
	z-index: 1060;
	width: min(360px, calc(100vw - 32px));
}

.lm2-popup {
	align-items: center;
	background: rgba(6, 17, 30, .97);
	border: 1px solid #39647f;
	box-shadow: 0 18px 48px rgba(0, 0, 0, .48);
	color: #f7fbff;
	display: grid;
	grid-template-columns: 58px 1fr;
	grid-template-rows: auto auto auto;
	gap: 4px 14px;
	opacity: 0;
	padding: 18px;
	transform: translateX(28px);
	transition: opacity 220ms ease, transform 220ms ease;
	visibility: hidden;
}

.lm2-popup.is-visible {
	opacity: 1;
	transform: translateX(0);
	visibility: visible;
}

.lm2-popup--a { min-height: 158px; }
.lm2-popup--b { min-height: 118px; }
.lm2-popup--goal {
	background: linear-gradient(145deg, rgba(5, 83, 36, .98), rgba(3, 26, 19, .98));
	border-color: #42df78;
	box-shadow: 0 18px 48px rgba(9, 112, 54, .38);
}
.lm2-popup--card {
	background: linear-gradient(145deg, rgba(104, 75, 2, .98), rgba(30, 24, 5, .98));
	border-color: #efbd34;
}
.lm2-popup--var, .lm2-popup--var-review {
	background: linear-gradient(145deg, rgba(66, 25, 105, .98), rgba(17, 10, 36, .98));
	border-color: #b679f0;
}
.lm2-popup--penalty, .lm2-popup--shootout {
	background: linear-gradient(145deg, rgba(4, 45, 74, .98), rgba(5, 17, 31, .98));
	border-color: #2ca7df;
}
.lm2-popup--injury {
	background: linear-gradient(145deg, rgba(92, 16, 18, .98), rgba(31, 8, 10, .98));
	border-color: #df554f;
}
.lm2-popup--sub,
.lm2-popup--sub_preparation,
.lm2-popup--sub-preparation {
	background: linear-gradient(145deg, rgba(8, 78, 35, .98), rgba(5, 25, 16, .98));
	border-color: #4fce7e;
}
.lm2-popup--tactic {
	background: linear-gradient(145deg, rgba(7, 60, 101, .98), rgba(5, 20, 35, .98));
	border-color: #4c9ddd;
}
.lm2-popup--red, .lm2-popup--second-yellow {
	background: linear-gradient(145deg, rgba(70, 10, 10, .98), rgba(21, 8, 8, .98));
	border-color: #e03c32;
}
.lm2-popup--added-time {
	background: linear-gradient(145deg, rgba(62, 45, 4, .98), rgba(18, 16, 8, .98));
	border-color: #d7aa25;
}
.lm2-popup--glt {
	background: linear-gradient(145deg, rgba(4, 53, 65, .98), rgba(5, 18, 29, .98));
	border-color: #20b8d4;
}
.lm2-popup--extra-time {
	background: linear-gradient(145deg, rgba(45, 20, 77, .98), rgba(10, 13, 29, .98));
	border-color: #9e70dc;
}
.lm2-popup--system:not(.lm2-popup--has-logo) .lm2-popup__eyebrow,
.lm2-popup--system:not(.lm2-popup--has-logo) .lm2-popup__title {
	grid-column: 1 / -1;
	text-align: center;
}

.lm2-popup__eyebrow {
	color: #9fc5dc;
	font-size: 12px;
	font-weight: 800;
	grid-column: 2;
	letter-spacing: 0;
	text-transform: uppercase;
}

.lm2-popup__logo {
	grid-column: 1;
	grid-row: 1 / span 3;
	height: 54px;
	object-fit: contain;
	width: 54px;
}

.lm2-popup__title {
	font-size: 22px;
	grid-column: 2;
	line-height: 1.15;
	overflow-wrap: anywhere;
}

.lm2-popup__score {
	color: #75e39a;
	font-size: 28px;
	grid-column: 2;
}

.lm2-popup__meta {
	color: #ced9e0;
	font-size: 13px;
	grid-column: 2;
}

.lm2-popup__detail {
	color: #dce6ec;
	display: -webkit-box;
	font-size: 13px;
	grid-column: 1 / -1;
	line-height: 1.4;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.lm2-popup__sub-list {
	display: grid;
	gap: 7px;
	grid-column: 2;
	margin-top: 4px;
}

.lm2-popup__sub-row {
	display: grid;
	grid-template-columns: 16px minmax(0, 1fr) 16px minmax(0, 1fr);
	align-items: center;
	gap: 5px;
	font-size: 13px;
}

.lm2-popup__sub-row .is-in { color: #66e39c; }
.lm2-popup__sub-row .is-out { color: #ff776f; }
.lm2-popup__sub-row b { overflow-wrap: anywhere; }

.lm2-popup--added-time:not(.lm2-popup--has-logo) .lm2-popup__eyebrow,
.lm2-popup--added-time:not(.lm2-popup--has-logo) .lm2-popup__title,
.lm2-popup--added-time:not(.lm2-popup--has-logo) .lm2-popup__meta {
	grid-column: 1 / -1;
	text-align: center;
}

.lm2-halftime {
	align-items: center;
	background: rgba(2, 10, 19, .9);
	display: none;
	inset: 0;
	justify-content: center;
	position: fixed;
	z-index: 1055;
}

.lm2-halftime.is-visible { display: flex; }

.lm2-halftime__panel {
	background: #08182a;
	border: 1px solid #31536d;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
	color: #f5f8fb;
	max-width: 520px;
	padding: 28px;
	text-align: center;
	width: calc(100vw - 40px);
}

.lm2-halftime__panel h2 {
	font-size: 30px;
	letter-spacing: 0;
	margin: 0 0 8px;
}

.lm2-halftime__teams {
	align-items: center;
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	margin: 18px 0;
}

.lm2-halftime__teams > div {
	align-items: center;
	display: flex;
	flex-direction: column;
	font-weight: 700;
	gap: 8px;
	min-width: 0;
}

.lm2-halftime__teams img {
	height: 64px;
	object-fit: contain;
	width: 64px;
}

.lm2-halftime__teams span { overflow-wrap: anywhere; }

.lm2-halftime__score {
	color: #fff;
	font-size: 38px;
	font-weight: 800;
	line-height: 1;
	margin: 0;
}

.lm2-halftime__stats {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 0 20px;
}

.lm2-halftime__stats span {
	background: #0d2238;
	border: 1px solid #23445f;
	color: #aebfcd;
	font-size: 13px;
	padding: 10px;
}

.lm2-halftime__stats b {
	color: #f5f8fb;
	display: block;
	font-size: 17px;
}

.lm2-halftime__panel p { color: #b7c7d5; margin: 0 0 20px; }
.lm2-halftime__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.lm2-halftime__actions .btn { margin: 0; }

@media (max-width: 720px) {
	.lm2-popup-stage { left: 16px; right: 16px; top: 88px; width: auto; }
	.lm2-popup { grid-template-columns: 46px 1fr; padding: 14px; }
	.lm2-popup__logo { height: 44px; width: 44px; }
	.lm2-popup__title { font-size: 18px; }
}
