```css
/* RUINES DZ — page Classements */
.rankings-page,
main.section:has(.ranking-tabs) {
    color: #e7edf2;
}

/* BARRE PRINCIPALE : ONGLETS + RECHERCHE SUR UNE LIGNE */
.ranking-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    margin-bottom: 18px;
}

/* ONGLETS */
.ranking-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
    min-width: 0;
}

.ranking-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 19px;
    border: 1px solid #34434e;
    border-radius: 6px;
    background: linear-gradient(180deg, #1b2730, #121a21);
    color: #b8c4cd;
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .07em;
    white-space: nowrap;
    transition: border-color .18s, background .18s, color .18s;
}

.ranking-tabs a:hover,
.ranking-tabs a.active {
    color: #fff;
    border-color: #4b9ac2;
    background: linear-gradient(180deg, #234354, #172832);
    box-shadow: inset 0 -2px 0 #5db4df;
}

/* RECHERCHE */
.ranking-search-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 0 0 auto;
    margin: 0;
    flex-wrap: nowrap;
}

.ranking-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(100%, 340px);
    min-height: 44px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px solid #34434e;
    border-radius: 6px;
    background: linear-gradient(180deg, #18232b, #10171d);
    color: #7f9aaa;
    transition: border-color .18s, box-shadow .18s;
}

.ranking-search:focus-within {
    border-color: #58a9d5;
    box-shadow: 0 0 0 3px rgba(65, 157, 204, .13);
}

.ranking-search-icon {
    font-size: 25px;
    line-height: 1;
    color: #66b6df;
    transform: rotate(-20deg);
}

.ranking-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: #edf4f8;
    font: inherit;
    font-size: 13px;
    box-shadow: none;
}

.ranking-search input::placeholder {
    color: #82929c;
}

.ranking-search input::-webkit-search-cancel-button {
    display: none;
}

.ranking-search-clear {
    width: 25px;
    height: 25px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #293943;
    color: #dce8ee;
    font-size: 20px;
    cursor: pointer;
}

.ranking-search-clear[hidden] {
    display: none;
}

.ranking-search-count {
    min-width: 82px;
    color: #91a3ae;
    font-size: 12px;
    text-align: right;
    white-space: nowrap;
}

/* TABLEAU DU CLASSEMENT */
.ranking-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #293943;
    border-radius: 8px;
    background: rgba(12, 18, 23, .88);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .16);
}

.ranking-table-head,
.ranking-row {
    display: grid;
    grid-template-columns: 45px minmax(190px, 1.8fr) repeat(3, minmax(80px, .7fr));
    align-items: center;
    gap: 10px;
    min-width: 650px;
    padding: 13px 18px;
    box-sizing: border-box;
}
.ranking-table-head {
    background: #19252d;
    color: #8fa5b2;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    border-bottom: 1px solid #34434e;
}

.ranking-row {
    min-height: 62px;
    border-bottom: 1px solid rgba(67, 86, 98, .36);
    color: #dbe4e9;
    font-size: 13px;
}

.ranking-row:last-of-type {
    border-bottom: 0;
}

.ranking-row:nth-child(even) {
    background: rgba(255, 255, 255, .018);
}

.ranking-row:hover {
    background: rgba(70, 146, 181, .08);
}

.ranking-row[hidden] {
    display: none !important;
}

/* POSITIONS */
.ranking-position {
    color: #91a4af;
    font-weight: 800;
}

.rank-first {
    color: #f3d16c;
}

.rank-second {
    color: #c9d5dd;
}

.rank-third {
    color: #d49a70;
}

/* JOUEURS */
.ranking-player {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.ranking-avatar {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #526b79;
}

.ranking-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #202f38;
    color: #9cb1bd;
    font-weight: 800;
}

.reputation-red {
    border-color: #d94b4b;
}

.reputation-orange {
    border-color: #dc873e;
}

.reputation-yellow {
    border-color: #d9c14f;
}

.reputation-white {
    border-color: #dce5eb;
}

.reputation-blue {
    border-color: #5b9fdb;
}

.reputation-green {
    border-color: #64a77a;
}

.ranking-player-link {
    overflow: hidden;
    color: #e4edf2;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-player-link:hover {
    color: #72c5ee;
}

/* MESSAGES */
.ranking-empty {
    padding: 28px 18px;
    color: #93a4ae;
    text-align: center;
}

.ranking-search-empty[hidden] {
    display: none;
}

/* TABLETTES ET MOBILES */
@media (max-width: 900px) {
    .ranking-toolbar {
        flex-wrap: wrap;
    }

    .ranking-tabs {
        flex: 1 1 100%;
    }

    .ranking-search-row {
        width: 100%;
        justify-content: flex-start;
    }

    .ranking-search {
        flex: 1 1 250px;
        width: auto;
    }
}

@media (max-width: 760px) {
    .ranking-toolbar {
        align-items: stretch;
        gap: 12px;
    }

    .ranking-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .ranking-tabs a {
        padding: 0 10px;
        font-size: 11px;
    }

    .ranking-search-row {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .ranking-search {
        width: 100%;
        flex: 1 1 100%;
    }

    .ranking-search-count {
        width: 100%;
        text-align: left;
    }

.ranking-table-head,
.ranking-row {
    grid-template-columns: 42px minmax(150px, 1.6fr) repeat(3, minmax(62px, .7fr));
    padding: 12px;
    gap: 8px;
}}
```
