/* 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: #9eea26;
    color: #262626;
}
@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: #9eea26; color: #262626; }
@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: #666; }
.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; }
.card .summary { font-size: 12px; color: #888; }
.summary {
    display: block;
    width: 100%;
}

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

/* Skeleton */
.skeleton { background: #f0f0f0; border-radius: 10px; animation: shimmer 1.5s infinite; }
.skeleton.card { height: 120px; }
.skeleton.date { height: 30px; width: 60px; margin: 5px; }
@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 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;
}
div#leagueTabs {
    background: #4a4a4a;
    border-radius: 5PX;
    padding: 6px;
}
.team span {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}
.skeleton.card {
    height: 88px;
    width: 35%;
    background: #817d7d;
}