
.mp-card .history-columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	overflow: visible;
}

.mp-card .history-col {
	flex: none;
	min-width: 0;
	padding: 0;
}

.mp-card .history-col-title {
	display: block;
	margin: 0 0 10px;
	padding: 0 2px 9px;
	border-bottom: 1px solid var(--mp-line);
	background: none;
	color: var(--mp-muted);
	font-size: 0.7rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mp-card .history-col:nth-child(2) .history-col-title {
	color: #fff;
	border-bottom-color: rgba(255, 45, 134, 0.6);
}

.mp-card .history-list {
	padding: 0;
	display: flex;
	flex-direction: column;
}

.mp-card .history-list > div + div {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mp-card .history-line {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 14px 4px;
	border: 0;
	background: transparent;
	border-radius: 8px;
	color: var(--mp-text);
	text-decoration: none;
	transition: background 0.16s ease;
}

.mp-card a.history-line:hover {
	background: rgba(255, 45, 134, 0.09);
}

.mp-card .history-logo {
	width: 26px;
	height: 26px;
	object-fit: contain;
	flex: 0 0 auto;
}

.mp-card .history-score {
	min-width: 16px;
	text-align: center;
	font-weight: 900;
	font-size: 1.05rem;
	color: #fff;
}

.mp-card .history-score.text-muted {
	color: rgba(255, 255, 255, 0.30) !important;
}

.mp-card .history-dash {
	color: rgba(255, 255, 255, 0.35);
	font-weight: 700;
}

.mp-card .match-separator {
	display: none;
}

#eventsModal .modal-dialog {
	max-width: 440px;
	margin: 0.8rem auto;
	width: calc(100% - 1.2rem);
}

#eventsModal .modal-premium-body {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
	padding: 16px 16px 14px;
	color: var(--mp-text);
}

#eventsModal .logo-club {
	max-height: 44px;
	margin-bottom: 0;
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}

#eventsModal .modal-premium-body .mb-3 {
	margin-bottom: 0.35rem !important;
}

#eventsModal .badge-primary {
	background: transparent !important;
	color: #fff !important;
	font-family: "Bangers", "Permanent Marker", "Sedgwick Ave Display", cursive;
	font-size: 2rem;
	font-weight: bold;
	line-height: 1;
	letter-spacing: 0.04em;
	padding: 0 2px;
	border-radius: 0;
}

#eventsModal .badge-primary + .badge-primary::before {
	content: "-";
	margin: 0 6px 0 2px;
	color: rgba(255, 255, 255, 0.40);
	font-family: "Titillium Web", sans-serif;
	font-size: 1.2rem;
	font-weight: 700;
	vertical-align: middle;
}

#eventsModal .trend-value {
	color: #fff;
	font-weight: 700;
}

#eventsModal .separator {
	background-color: var(--mp-line) !important;
	margin: 0.7rem 0 !important;
}

#eventsModal .timeline-with-icons {
	max-height: 46vh;
	overflow-y: auto;
	margin: 0;
	padding-right: 4px;
	scrollbar-width: thin;
}

#eventsModal .timeline-with-icons li {
	margin-bottom: 0;
}

#eventsModal .timeline-with-icons .mb-2 {
	margin-bottom: 0.2rem !important;
}

#eventsModal .timeline-with-icons .timeline-icon {
	max-width: 0.95rem;
}

#eventsModal .modal-premium-body .mt-4 {
	margin-top: 0.8rem !important;
}

@media (max-width: 480px) {
	.mp-card .history-columns {
		gap: 5px;
	}

	.mp-card .history-col-title {
		font-size: 0.6rem;
		padding-bottom: 6px;
	}

	.mp-card .history-line {
		gap: 3px;
		padding: 11px 2px;
	}

	.mp-card .history-logo {
		width: 20px;
		height: 20px;
	}

	.mp-card .history-score {
		min-width: 13px;
		font-size: 0.9rem;
	}
}
