.ayuve-lm-table-wrap,
.ayuve-lm-calendar,
.ayuve-lm-featured {
	width: 100%;
	margin: 1.5rem 0;
	font-size: 15px;
}

.ayuve-lm-table-wrap {
	overflow-x: auto;
	max-width: 100%;
}

.ayuve-lm-standings {
	width: 100%;
	border-collapse: collapse;
	min-width: 720px;
	color: #4b5563;
}

.ayuve-lm-standings th,
.ayuve-lm-standings td {
	padding: 13px 12px;
	border-bottom: 1px solid #e6e8eb;
	text-align: center;
}

.ayuve-lm-standings th {
	background: #fff;
	color: #56606b;
	font-weight: 700;
	font-size: 0.9rem;
}

.ayuve-lm-standings tbody tr:nth-child(odd) {
	background: #f7f7f8;
}

.ayuve-lm-standings tbody tr td:first-child {
	border-left: 5px solid var(--ayuve-row-marker, transparent);
	font-weight: 700;
}

.ayuve-lm-standings td:nth-child(3),
.ayuve-lm-standings th:nth-child(3) {
	text-align: left;
}

.ayuve-lm-main-team {
	color: #fff;
	font-weight: 700;
}

.ayuve-lm-main-team td {
	border-bottom-color: rgba(255, 255, 255, 0.25);
}

.ayuve-lm-logo {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	object-fit: cover;
	vertical-align: middle;
	margin: 0 8px;
	background: #f3f4f6;
	display: inline-block;
}

.ayuve-lm-logo-empty {
	border: 1px solid #d1d5db;
}

.ayuve-lm-standings .ayuve-lm-logo {
	width: 44px;
	height: 44px;
	border-radius: 4px;
	border: 1px solid #d9dde3;
	background: #fff;
	padding: 3px;
}

.ayuve-lm-legend {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 12px;
	color: #374151;
}

.ayuve-lm-legend i {
	width: 14px;
	height: 14px;
	display: inline-block;
	border-radius: 0;
	margin-right: 6px;
	vertical-align: -2px;
}

.ayuve-lm-matchday {
	margin-bottom: 22px;
	border-top: 3px solid #111827;
	padding-top: 12px;
}

.ayuve-lm-calendar-slider {
	position: relative;
}

.ayuve-lm-calendar-controls {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) 42px;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.ayuve-lm-calendar-controls button {
	width: 42px;
	height: 42px;
	border: 1px solid #d1d5db;
	background: #fff;
	color: #111827;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.ayuve-lm-calendar-controls button:hover {
	background: #111827;
	color: #fff;
}

.ayuve-lm-calendar-select-wrap {
	text-align: center;
}

.ayuve-lm-calendar-select {
	min-width: 180px;
	max-width: 100%;
	padding: 9px 34px 9px 14px;
	border: 1px solid #d1d5db;
	background: #fff;
	color: #374151;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
}

.ayuve-lm-calendar-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 100%;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.ayuve-lm-calendar-track::-webkit-scrollbar {
	display: none;
}

.ayuve-lm-calendar-slide {
	scroll-snap-align: start;
	margin-bottom: 0;
	padding: 18px;
	border: 1px solid #e5e7eb;
	border-top: 3px solid #111827;
	background: #fff;
}

.ayuve-lm-matchday h3,
.ayuve-lm-card h3 {
	margin: 0 0 6px;
	font-size: 1.1rem;
}

.ayuve-lm-date {
	color: #6b7280;
	margin: 0 0 10px;
}

.ayuve-lm-fixture {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr) 100px;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid #e5e7eb;
}

.ayuve-lm-fixture .home {
	text-align: right;
}

.ayuve-lm-fixture .away {
	text-align: left;
}

.ayuve-lm-fixture .score {
	background: #111827;
	color: #fff;
	border-radius: 6px;
	padding: 6px 10px;
	text-align: center;
	font-weight: 700;
}

.ayuve-lm-fixture .status,
.ayuve-lm-card .status {
	color: #4b5563;
	font-size: 0.9rem;
}

.ayuve-lm-featured {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.ayuve-lm-card {
	border: 1px solid #d1d5db;
	border-radius: 8px;
	padding: 16px;
	background: #fff;
}

.ayuve-lm-card-teams {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr);
	gap: 8px;
	align-items: center;
	text-align: center;
}

.ayuve-lm-card-teams strong {
	background: #111827;
	color: #fff;
	border-radius: 6px;
	padding: 7px;
}

.ayuve-lm-first-team {
	--ayuve-accent: #4f3a75;
	width: 100%;
	margin: 2rem 0;
	color: #2f3542;
}

.ayuve-lm-first-team > h2 {
	margin: 0 0 26px;
	text-align: center;
	color: var(--ayuve-accent);
	font-size: 1.7rem;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: uppercase;
}

.ayuve-lm-first-team-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.ayuve-lm-team-card {
	border: 1px solid #e1e4e8;
	border-radius: 2px;
	background: #fff;
	min-height: 250px;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
	text-align: center;
	display: flex;
	flex-direction: column;
}

.ayuve-lm-team-card h3 {
	margin: 0;
	padding: 16px;
	border-bottom: 1px solid #eceff3;
	font-size: 0.95rem;
	text-transform: uppercase;
	font-weight: 700;
	color: #56606b;
}

.ayuve-lm-team-card-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	padding: 34px 26px 22px;
	flex: 1;
}

.ayuve-lm-team-side {
	display: grid;
	gap: 12px;
	justify-items: center;
	min-width: 0;
}

.ayuve-lm-team-side .ayuve-lm-logo {
	width: 64px;
	height: 64px;
	margin: 0;
}

.ayuve-lm-team-side strong {
	font-size: 0.95rem;
	line-height: 1.25;
}

.ayuve-lm-team-score {
	border: 2px solid var(--ayuve-accent);
	padding: 12px 8px;
	color: var(--ayuve-accent);
}

.ayuve-lm-team-score span {
	display: block;
	font-size: 0.78rem;
	font-weight: 700;
}

.ayuve-lm-team-score-date,
.ayuve-lm-team-score-time {
	display: block;
	line-height: 1.2;
}

.ayuve-lm-team-score-time {
	margin-top: 4px;
	font-size: 0.9rem;
}

.ayuve-lm-team-score strong {
	display: block;
	font-size: 1.45rem;
	line-height: 1.1;
	margin-top: 8px;
}

.ayuve-lm-outline-button {
	align-self: center;
	margin: 0 0 24px;
	padding: 13px 26px;
	border: 2px solid var(--ayuve-accent);
	color: var(--ayuve-accent);
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 0.8rem;
}

.ayuve-lm-outline-button:hover {
	background: var(--ayuve-accent);
	color: #fff;
}

.ayuve-lm-team-card-empty {
	padding: 42px 18px;
	color: #697386;
}

.ayuve-lm-mini-standings table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 30px;
}

.ayuve-lm-mini-standings td {
	padding: 10px 18px;
	border-bottom: 1px solid #eceff3;
	text-align: left;
	font-weight: 700;
}

.ayuve-lm-mini-standings td:first-child,
.ayuve-lm-mini-standings td:last-child {
	width: 44px;
	text-align: center;
}

.ayuve-lm-mini-standings .is-main td {
	background: var(--ayuve-accent);
	color: #fff;
}

.ayuve-lm-nearby-slider {
	--ayuve-accent: #4f3a75;
	--ayuve-columns: 3;
	position: relative;
	width: 100%;
	margin: 2.2rem 0;
	padding: 0 54px;
	color: #344054;
}

.ayuve-lm-nearby-slider > h2 {
	margin: 0 0 44px;
	text-align: center;
	color: var(--ayuve-accent);
	font-size: 1.75rem;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: uppercase;
}

.ayuve-lm-nearby-viewport {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.ayuve-lm-nearby-viewport::-webkit-scrollbar {
	display: none;
}

.ayuve-lm-nearby-track {
	display: flex;
	align-items: stretch;
}

.ayuve-lm-nearby-track::before,
.ayuve-lm-nearby-track::after {
	content: "";
	flex: 0 0 calc((100% - (100% / var(--ayuve-columns))) / 2);
}

.ayuve-lm-nearby-card {
	position: relative;
	flex: 0 0 calc(100% / var(--ayuve-columns));
	min-width: 210px;
	padding: 0 24px 8px;
	scroll-snap-align: center;
	border-right: 1px solid #dfe3e8;
}

.ayuve-lm-nearby-card::before {
	content: "";
	position: absolute;
	left: 0;
	top: 78px;
	bottom: 8px;
	border-left: 1px solid #dfe3e8;
}

.ayuve-lm-nearby-card h3 {
	margin: 0 0 14px;
	font-size: 0.9rem;
	font-weight: 500;
	text-transform: uppercase;
	color: #56606b;
}

.ayuve-lm-nearby-date {
	margin: 0 0 10px;
	font-size: 0.9rem;
	color: #5f6b7a;
}

.ayuve-lm-nearby-teams {
	display: grid;
	gap: 10px;
}

.ayuve-lm-nearby-team {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.ayuve-lm-nearby-team .ayuve-lm-logo {
	width: 42px;
	height: 42px;
	margin: 0;
	border-radius: 4px;
	border: 1px solid #e0e4ea;
	background: #fff;
	padding: 3px;
}

.ayuve-lm-nearby-team span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ayuve-lm-nearby-team.is-main span,
.ayuve-lm-nearby-card.is-active h3 {
	color: var(--ayuve-accent);
	font-weight: 700;
}

.ayuve-lm-nearby-goals {
	color: var(--ayuve-accent);
	font-size: 1.1rem;
	font-weight: 700;
	text-align: right;
	min-width: 1.3em;
}

.ayuve-lm-nearby-nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 4px;
	background: #d9dde3;
	color: #6b7280;
	font-size: 30px;
	line-height: 30px;
	cursor: pointer;
	transform: translateY(-10%);
}

.ayuve-lm-nearby-nav:hover {
	background: var(--ayuve-accent);
	color: #fff;
}

.ayuve-lm-nearby-prev {
	left: 0;
}

.ayuve-lm-nearby-next {
	right: 0;
}

@media (max-width: 700px) {
	.ayuve-lm-fixture,
	.ayuve-lm-featured,
	.ayuve-lm-first-team-grid,
	.ayuve-lm-team-card-body {
		grid-template-columns: 1fr;
	}

	.ayuve-lm-fixture .home,
	.ayuve-lm-fixture .away,
	.ayuve-lm-fixture .status {
		text-align: center;
	}

	.ayuve-lm-calendar-slide {
		padding: 14px;
	}

	.ayuve-lm-nearby-slider {
		--ayuve-columns: 1 !important;
		padding: 0 42px;
	}

	.ayuve-lm-nearby-slider > h2 {
		margin-bottom: 24px;
		font-size: 1.35rem;
	}

	.ayuve-lm-nearby-card {
		padding: 0 16px 8px;
	}
}
