/* Tabs */
.tabs { display: flex; gap: 10px; overflow-x: auto; white-space: nowrap; padding-bottom: 10px; }
.tab { padding: 8px 15px; background: #f0f0f0; border-radius: 4px; cursor: pointer; font-size: 14px; color: #262626; }
.tab.active {
    background: #b80000;
    color: #fff;
}
@media (max-width: 768px) { .tab { padding: 6px 12px; font-size: 12px; } }

/* Dates Slider */
.date-container { position: relative; padding: 10px 0; }
.date-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: #fff; color: #000; border: none; padding: 10px; cursor: pointer; }
.date-arrow.left { left: -38px; }
.date-arrow.right { right: -38px; }
.date-arrow.disabled { opacity: 0.3; cursor: default; }
.dates { display: flex; gap: 10px; overflow-x: hidden; padding: 0 30px; scroll-behavior: smooth; }
.date {
    padding: 1px 10px;
    background: #ddd;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    color: #262626;
    font-size: 14px;
    min-width: 100px;
}

.date.active { background: #b80000; color: #fff; }
@media (max-width: 768px) { .date { padding: 4px 8px;  font-size: 12px; } }

/* Scorecards */
.scorecard-container { position: relative; padding: 10px 0; }
.score-arrow { position: absolute; top: 50%; transform: translateY(-50%);  background: #fff; color: #000; border: none; padding: 10px; cursor: pointer; }
.score-arrow.left { left: -38px; }
.score-arrow.right {  right: -38px; }
.score-arrow.disabled { opacity: 0.3; cursor: default; }
.scorecards { display: flex; gap: 15px; overflow-x: hidden; padding: 0 0px; scroll-behavior: smooth; }
.card {
    background: #202020;
    border: 1px solid #ddd;
    flex: 0 0 auto;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}.card .match { font-size: 14px; color: #000; }
.card .teams {
    display: flex
;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0;
    flex-wrap: wrap;
}
.card .team {
    display: flex;
    align-items: center;
    width: 30%;
    flex-wrap: wrap;
    justify-content: center;
}
.card .team img { width: 20px; height: 20px; margin-right: 5px; }
.card .score { font-size: 18px; font-weight: bold; color: #fff}
.card .summary { font-size: 12px; color: #fff; }
.summary {
    display: block;
    width: 100%;
}

@media (max-width: 768px) { .card .score { font-size: 16px; } .card .team img { width: 18px; height: 18px; } }

/* Skeleton */
.scorecards .skeleton {
    flex: 0 0 auto;
    min-width: 280px;
    max-width: 320px;
    height: 140px;
    border-radius: 10px;
    background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.2s ease-in-out infinite;
}

.skeleton.date {
    height: 30px;
    width: 60px;
    margin: 5px;
    background: #ddd;
    border-radius: 10px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .container { padding: 10px; }
    .tabs, .dates, .scorecards { gap: 8px; }
    .date-arrow, .score-arrow { padding: 8px; }
	.dates,.scorecards {
		overflow-x: scroll;
	}
}

h2.live-score {
    font-size: 20px;
    margin: 14px 0;
	color: #fff;
}
div#leagueTabs {
    background: #4a4a4a;
    border-radius: 5PX;
    padding: 6px;
}
.team span {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
	color: #fff;
}
@media (max-width: 768px) {
    .scorecards .skeleton {
        min-width: 260px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .scorecards .skeleton {
        min-width: 240px;
    }
}