.classificacao-container .table-responsive {
    container-type: inline-size;
}

.classificacao-container {
    background: transparent;
}

.tabela-classificacao {
    --bs-table-bg: transparent;
    --bs-table-color: #151515;
    --espaco-celulas: 5px;
    border-collapse: separate;
    border-spacing: 0 var(--espaco-celulas);
    margin-bottom: 0;
    font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    font-size: clamp(0.875rem, 2.25vw, 1.5rem);
    font-size: clamp(0.875rem, 2.25cqw, 1.5rem);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.tabela-classificacao th,
.tabela-classificacao td {
    padding: 4px 6px;
    border: 0;
    vertical-align: middle;
    white-space: nowrap;
}

.tabela-classificacao th {
    font-size: 0.88em;
    font-weight: 700;
}

.tabela-classificacao td {
    height: 38px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #dedede;
    font-weight: 800;
}

.tabela-classificacao td:first-child {
    min-width: 1.8em;
    background: #000000 !important;
    color: #ffffff !important;
    border-radius: 4px 0 0 4px;
    box-shadow: inset 5px 0 var(--faixa-posicao, transparent);
    font-weight: 700;
}

.tabela-classificacao .bg-success {
    --faixa-posicao: #198754;
}

.tabela-classificacao .bg-danger {
    --faixa-posicao: #dc3545;
}

.tabela-classificacao td:nth-child(n+2):nth-child(-n+3) {
    box-shadow: inset 0 1px #dedede, inset 0 -1px #dedede;
}

.tabela-classificacao td:nth-child(2) {
    padding-inline: 8px 4px;
}

.tabela-classificacao td:nth-child(3) {
    width: 31%;
    white-space: normal;
    overflow-wrap: anywhere;
    padding-left: 4px;
    font-family: "Arial Narrow", "Roboto Condensed", "Arial Black", Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.tabela-classificacao th:nth-child(n+4),
.tabela-classificacao td:nth-child(n+4) {
    width: 6%;
    border-left: var(--espaco-celulas) solid transparent;
}

.tabela-classificacao td:nth-child(n+4) {
    background-clip: padding-box;
}

.tabela-classificacao td:last-child {
    border-radius: 0 4px 4px 0;
}

.tabela-classificacao .sigla-clube {
    display: none;
}

@media (max-width: 768px) {

    .tabela-classificacao td:first-child {
        box-shadow: inset 40px 0 var(--faixa-posicao, transparent);
    }

    .tabela-classificacao {
        --espaco-celulas: 3px;
    }

    .tabela-classificacao th,
    .tabela-classificacao td {
        padding-inline: 3px;
    }

    .tabela-classificacao td {
        height: 31px;
    }

    .tabela-classificacao td:nth-child(2) {
        padding-inline: 3px 1px;
    }

    .tabela-classificacao td:nth-child(2) img {
        width: 20px;
        height: 20px;
    }
}

@media (width < 960px) {
    .tabela-classificacao .nome-clube {
        display: none;
    }

    .tabela-classificacao .sigla-clube {
        display: inline;
    }

    .tabela-classificacao td:nth-child(3) {
        width: 1%;
        white-space: nowrap;
    }

    .tabela-classificacao th:nth-child(n+4),
    .tabela-classificacao td:nth-child(n+4) {
        width: auto;
        min-width: 2em;
    }
}