﻿.right {
    flex: 0 0 290px;
    width: 290px;
    padding: 22px;
    background: linear-gradient(145deg, #202126, #17181c);
    border: 1px solid rgba(190, 151, 83, 0.2);
    border-radius: 10px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.rank-title {
    margin-bottom: 20px;
    color: #e3c17e;
    font-size: 17px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.rank-box {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.rank-player {
    padding: 12px 10px;
    background: #292a30;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    transition: 0.2s;
}

.rank-player:hover {
    background: #33343a;
    border-color: rgba(190, 151, 83, 0.4);
    transform: translateX(3px);
}

.rank-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
}

.rank-pos {
    min-width: 27px;
    color: #c39a56;
    font-size: 13px;
    font-weight: bold;
}

.rank-name {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    color: #ddd;
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-level {
    color: #c5a66c;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
}

.rank-1 {
    border-color: rgba(218, 178, 91, 0.55);
    background: linear-gradient(90deg, rgba(139, 104, 42, 0.2), #292a30);
}

.rank-2 {
    border-color: rgba(180, 180, 180, 0.3);
}

.rank-3 {
    border-color: rgba(164, 105, 63, 0.4);
}

.status {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
}

.status.online {
    background: #65c979;
    box-shadow: 0 0 7px rgba(101, 201, 121, 0.6);
}

.status.offline {
    background: #777;
}

@media (max-width: 1100px) {
    .right {
        flex: none;
        width: 100%;
    }
}