.handbol-category-standings {
    font-family: "Roboto Condensed", sans-serif;
}

.handbol-category-standings .handbol-tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.handbol-category-standings .handbol-tab-btn {
    font-family: "Roboto Condensed", sans-serif;
    background: #f3f3f3;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    white-space: nowrap;
}

.handbol-category-standings .handbol-tab-btn.active {
    background: #7a182aeb;
    color: #fff;
}

.handbol-category-standings .handbol-tab-panel {
    display: none;
}

.handbol-category-standings .handbol-tab-panel.active {
    display: block;
}

.handbol-category-standings .handbol-subtab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.handbol-category-standings .handbol-subtab-btn {
    font-family: "Roboto Condensed", sans-serif;
    background: #f3f3f3;
    border: 1px solid #7a182aeb;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #7a182aeb;
    cursor: pointer;
    white-space: nowrap;
}

.handbol-category-standings .handbol-subtab-btn.active {
    background: #7a182aeb;
    color: #fff;
}

.handbol-category-standings .handbol-subtab-panel {
    display: none;
}

.handbol-category-standings .handbol-subtab-panel.active {
    display: block;
}

.handbol-category-standings .standings-mini {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
}

.handbol-category-standings .standings-header,
.handbol-category-standings .standings-row {
    padding: 8px 12px;
    display: grid;
    grid-template-columns: 30px 1fr repeat(4, 32px);
    align-items: center;
    gap: 6px;
}

.handbol-category-standings .standings-header {
    background: #000;
    color: #fff;
    font-weight: 600;
}

.handbol-category-standings .standings-row {
    background: #f3f3f3;
}

.handbol-category-standings .pos {
    text-align: center;
    font-weight: 600;
}

.handbol-category-standings .team {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.handbol-category-standings .team img {
    height: 22px;
    width: auto;
    border-radius: 50%;
}

.handbol-category-standings .stat {
    text-align: center;
    font-size: 13px;
}

@media (max-width: 768px) {
    .handbol-category-standings .handbol-tab-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .handbol-category-standings .handbol-tab-buttons::-webkit-scrollbar {
        display: none;
    }

    .handbol-category-standings .handbol-tab-btn {
        flex-shrink: 0;
        scroll-snap-align: start;
        font-size: 13px;
        padding: 7px 14px;
    }
}
