/* Стили скроллбара */
.topliders-container::-webkit-scrollbar {
    width: 0px;
}

.topliders-container::-webkit-scrollbar-thumb {
    background-color: none;
}


/* Контейнер таблицы */
.topliders-container {
    width: 100%;
    max-height: 470px;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: none;
    box-shadow:none;
    background-color: none;
    border: none;
}

/* Таблица */
.topliders {
    width: 100%;
    font-family: "Russo One", sans-serif;
    border-collapse: collapse;
    background-color: none;
    color: #ddd;
    table-layout: fixed;
}

/* Заголовки */
.topliders th {
    background-color:#ff7d03d9;
    padding: 0.6vw;
    text-align: center;
    font-size:  1.5vw;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 1;
    color: #fafafa;
    border-bottom: 3px solid #323232;
}

.topliders tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.05);
}

.topliders th img {
    width: 2vw;
    height: 2vw;
    object-fit: contain; /* Гарантирует, что картинка не обрежется */
    vertical-align: middle; /* Выравнивание по центру */
	user-drag: none; /* Для WebKit-браузеров */
    -webkit-user-drag: none; /* Для Safari */
    pointer-events: none;
}
/* Медали только для топ-3 */
.topliders tr:nth-child(2) td:nth-child(1)::after { content: "🥇"; }
.topliders tr:nth-child(3) td:nth-child(1)::after { content: "🥈"; }
.topliders tr:nth-child(4) td:nth-child(1)::after { content: "🥉"; }
.topliders td:nth-child(1){
    text-align: center;
    position: relative;
    padding-left: 1.5vw;
}

/* Столбец "№" (узкий, слева) */
.topliders th:first-child, 
.topliders td:first-child {
    width: 20%;
    font-size: 1vw;
    text-align: center;
}
/* Остальные столбцы (делят 42% оставшегося пространства) */
.topliders th:nth-child(n+3), 
.topliders td:nth-child(n+3) {
    width: 20%; /* Равномерное распределение */
    font-size: 1vw;
    text-align: center;
}
/* Имя игрока (широкий столбец) */
.topliders th:nth-child(2), 
.topliders td:nth-child(2) {
    width: 50%;
    text-align: center;
    font-size: 1vw;
    align-items: center;
    gap: 1.1vw; /* Отступ между медалью и именем */
}
