.table-responsive { overflow-x: auto; }


.results-table {
    table-layout: fixed;
    border-collapse: collapse;
    width: auto;
    min-width: 100%;
    vertical-align: middle;
    text-align: center;
}

.results-table col.col-place { width: 1rem; }
.results-table col.col-total,
.results-table col.col-score { width: 5rem; white-space: nowrap; }

.results-table td.col-team {
    white-space: normal;
    word-break: break-all;
    text-align: left;
}




/* 3) Стиль колонки Итого */
.results-table th.col-total,
.results-table td.col-total {
  background-color: #f6e5ff; /* был rgba(226,202,255,0.6), стал сплошным */
  z-index: 2; /* ниже sticky */
  color: #0d5eed;
  font-weight: bold;
}
.results-table th.col-score,
.results-table td.col-score {
  z-index: 2; /* ниже sticky */
}


.results-table th,
.results-table td {
    z-index: 2;
    background: #fff;
    vertical-align: middle;
}
.results-table th {
    line-height: 1.05;
}
.results-table th.col-place {
    left: 0;
}
.results-table td.col-place {
    left: -1.2em;
}
.results-table th.col-place,
.results-table td.col-place {
    position: sticky;
    z-index: 3;
}

.results-table th.col-team,
.results-table td.col-team {
    position: sticky;
    left: 1em;
    z-index: 4;
    min-width: 22ch;
    max-width: 34ch;
    overflow: visible;
    text-overflow: initial;
    white-space: normal;
    word-break: break-word;
    transition: min-width 0.2s;
}


@media (max-width: 992px) {
    .results-table th, .results-table td {
        font-size: 0.93rem;
        padding: 0.30rem 0.25rem;
    }
    .nav-tabs .nav-link {
        font-size: 1rem;
        padding: 0.3rem 0.6rem;
    }
}

@media (max-width: 600px) {
    .results-table th,
    .results-table td {
        font-size: 0.89rem;
        padding: 0.18rem 0.15rem;
    }
    .game-header-flex h2,
    .game-header-flex .h4 {
        font-size: 1.12rem !important;
    }
}
.table-responsive {
    overflow-x: auto;
}
