.ranking-player-card {
    position: relative;
    display: grid;
    grid-template-columns: 34px 50px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 54px;
    margin: 0;
    padding: 2px 5px;
    overflow: hidden;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #e8ece9;
}

.ranking-player-position {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f1f4f2;
    color: #26332b;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.ranking-position-first {
    background: #f4c542;
    color: #4b3a00;
    box-shadow: 0 2px 8px rgba(194, 148, 0, .22);
}

.ranking-position-second {
    background: #d9dde2;
    color: #3e4650;
}

.ranking-position-third {
    background: #d49a6a;
    color: #4a2d16;
}

.ranking-player-photo {
    position: relative;
    display: block;
    width: 48px;
    height: 48px;
    text-decoration: none;
}

.ranking-player-face {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
    object-position: center bottom;
}

.ranking-team-shield {
    position: absolute;
    right: -2px;
    bottom: -1px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    padding: 2px;
    background: #fff;
    border: 1px solid #e1e6e3;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(15, 35, 23, .12);
}

.ranking-team-shield img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ranking-player-main {
    min-width: 0;
}

.ranking-player-name {
    display: block;
    overflow: hidden;
    color: #1d2b22;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-player-name:hover,
.ranking-player-name:focus {
    color: #0b8740;
}

.ranking-player-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    margin-top: 3px;
    color: #748078;
    font-size: 11px;
    line-height: 1;
}

.ranking-player-pos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 17px;
    padding: 0 4px;
    border-radius: 4px;
    background: #f0f3f1;
    color: #455149;
    font-size: 10px;
    font-weight: 700;
}

.ranking-player-team-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-player-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 40px;
    padding: 4px 6px;
    background: #edf8f1;
    border: 1px solid #d5edde;
    border-radius: 8px;
    color: #087536;
    font-variant-numeric: tabular-nums;
}

.ranking-player-score strong {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.05;
}

.ranking-player-score span {
    margin-top: 1px;
    color: #5f7567;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .2px;
    line-height: 1;
}

@media (max-width: 600px) {
    .ranking-player-card {
        grid-template-columns: 30px 46px minmax(0, 1fr) auto;
        gap: 6px;
        min-height: 48px;
        margin: 0;
        padding: 1px;
    }

    .ranking-player-position {
        width: 27px;
        height: 27px;
        font-size: 13px;
    }

    .ranking-player-photo,
    .ranking-player-face {
        width: 44px;
        height: 44px;
    }

    .ranking-team-shield {
        right: -1px;
        width: 18px;
        height: 18px;
    }

    .ranking-player-name {
        font-size: 14px;
    }

    .ranking-player-meta {
        margin-top: 2px;
    }

    .ranking-player-team-name {
        display: none;
    }

    .ranking-player-score {
        min-width: 49px;
        min-height: 36px;
        padding: 3px 5px;
        border-radius: 7px;
    }

    .ranking-player-score strong {
        font-size: 16px;
    }
}

@media (max-width: 370px) {
    .ranking-player-card {
        grid-template-columns: 28px 43px minmax(0, 1fr) auto;
        gap: 5px;
    }

    .ranking-player-position {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }

    .ranking-player-photo,
    .ranking-player-face {
        width: 41px;
        height: 41px;
    }

    .ranking-player-score {
        min-width: 46px;
        padding-right: 4px;
        padding-left: 4px;
    }
}
