.beit-fms-standings-wrapper {
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
    max-width: 960px;
    box-sizing: border-box;
}

.beit-fms-standings {
    padding: 2rem;
    box-sizing: border-box;
}

.beit-fms-standings__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.beit-fms-standings__header h2 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
}

.beit-fms-standings__filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.beit-fms-standings__filter--hidden {
    display: none;
}

.beit-fms-standings__filter select {
    padding: 0.45rem 1.35rem;
    font-size: 0.95rem;
    appearance: none;
}

.beit-fms-standings__tables {
    width: 100%;
}

.beit-fms-standings__table {
    display: none;
}

.beit-fms-standings__table.is-active {
    display: block;
}

.beit-fms-standings__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.beit-fms-standings__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.beit-fms-standings__table table {
    width: 100%;
    border-collapse: collapse;
}

.beit-fms-standings__table thead {
    background: #0d1d3b;
    color: #ffffff;
}

.beit-fms-standings__table th,
.beit-fms-standings__table td {
    padding: 0.85rem 1rem;
    text-align: center;
    font-size: 0.92rem;
}

.beit-fms-standings__table table th:first-child,
.beit-fms-standings__table table td:first-child {
    text-align: left;
}

.beit-fms-standings__table th {
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.beit-fms-standings__table tbody tr:nth-child(even) {
    background: #f5f5f5;
}

.beit-fms-standings__team {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: flex-start;
}

.beit-fms-standings__team-logo {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.beit-fms-standings__team-logo img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.beit-fms-standings__team-name {
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
}

.beit-fms-standings__table td:last-child {
    font-weight: 700;
}

.beit-fms-standings--compact .beit-fms-standings__table table {
    table-layout: fixed;
}

.beit-fms-standings--compact .beit-fms-standings__team-name {
    font-size: 0.92rem;
}

.beit-fms-standings--compact .beit-fms-standings__table th:nth-child(1),
.beit-fms-standings--compact .beit-fms-standings__table td:nth-child(1) {
    width: 60%;
}

.beit-fms-standings--compact .beit-fms-standings__table th:nth-child(2),
.beit-fms-standings--compact .beit-fms-standings__table td:nth-child(2),
.beit-fms-standings--compact .beit-fms-standings__table th:nth-child(3),
.beit-fms-standings--compact .beit-fms-standings__table td:nth-child(3),
.beit-fms-standings--compact .beit-fms-standings__table th:nth-child(4),
.beit-fms-standings--compact .beit-fms-standings__table td:nth-child(4) {
    width: 13%;
}

.beit-fms-standings__notice {
    margin: 0 auto 3rem;
    max-width: 960px;
    padding: 1rem 1.5rem;
    text-align: center;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .beit-fms-standings {
        padding: 1.5rem;
    }

    .beit-fms-standings__table th,
    .beit-fms-standings__table td {
        padding: 0.65rem 0.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 640px) {
    .beit-fms-standings__table table,
    .beit-fms-standings__table thead {
        display: none;
    }

    .beit-fms-standings__table tbody,
    .beit-fms-standings__table tr,
    .beit-fms-standings__table td {
        display: block;
        width: 100%;
        text-align: right;
    }

    .beit-fms-standings__table tr {
        margin-bottom: 1rem;
        padding: 0.75rem 1rem;
    }

    .beit-fms-standings__table td {
        padding: 0.4rem 0;
        font-size: 0.9rem;
    }

    .beit-fms-standings__table td::before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
    }

    .beit-fms-standings__team {
        justify-content: flex-end;
    }
}
