.servers_flex_block{
    width:100%;
},
.rating_flex_block {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.general_online {
    display: flex;
    background-color: var(--card-color);
    border-radius: 6px;
    justify-content: space-between;
    align-items: center;
    padding: 6px 15px 6px 0;
}

.general_online {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background-color: #101010;
    border: 1px solid var(--scrollbar-bg--color);
    border-radius: 6px;

    box-shadow: 0 6px 14px rgba(0,0,0,0.7);

    padding: 8px 15px;
    position: relative;
    overflow: hidden;

    transition: all 0.3s ease;
}

.general_online:hover {
    background-color: #111;
    transform: translateY(-2px);
    border-color: #555;
}

.general_online span {
    display: flex;
    gap: 6px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    color: var(--custom-text-color);
    align-items: center;
}

.general_online span svg {
    width: 14px;
    height: auto;
    fill: var(--span-color);
}

.general_online_count {
    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #111;
    border: 1px solid var(--scrollbar-bg--color);
    border-radius: 6px;

    padding: 6px 12px;

    font-size: 16px;
    font-weight: 800;

    color: var(--default-text-color);

    transition: all 0.3s ease;
}

.general_online:hover .general_online_count {
    color: var(--span-color);
    border-color: var(--span-color);
}

.first_circle {
    display: block;
    position: absolute;
}

.second_circle {
    display: block;
    position: absolute;
    border-radius: 50px;
}

.first_circle svg {
    width: 5px;
    height: 5px;
    fill: var(--green-color);
    opacity: 1;
    border-radius: 50px;
    animation: infinite 2s linear online_dot;
}

@keyframes online_dot {
    0% {
        box-shadow: 0 0 0 0 transparent;
    }

    50% {
        box-shadow: 0 0 0 4px rgb(133 244 121 / 10%);
    }

    100% {
        box-shadow: 0 0 0 7px transparent;
    }
}

@-webkit-keyframes online_dot {
    0% {
        box-shadow: 0 0 0 0 transparent;
    }

    50% {
        box-shadow: 0 0 0 4px rgb(133 244 121 / 10%);
    }

    100% {
        box-shadow: 0 0 0 7px transparent;
    }
}

.second_circle svg {
    width: 13px;
    height: 13px;
    fill: var(--green-color);
    opacity: .05;
}

.general_online_signal {
    display: flex;
    height: 35px;
    width: 35px;
    position: relative;
    align-items: center;
    justify-content: center;
}

.server_block{
    position: relative;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--card-color);
    transition: .2s;
    display: flex;
    align-items: center;
}

.server_block:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,.35);
}

.server_block:last-child {
    margin-bottom: 0;
}

.servers_block{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:10px;
    width:100%;
}

.ratings_block {
    display: flex;
    flex-direction: column;
    width: 100%; /* Растягиваем на всю ширину */
    gap: 3px;
}

.server_block:hover .map {
    opacity: .6;
    transition: .3s linear;
}

.server_info_block{
    position: relative;
    z-index: 2;
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    padding:10px 14px;
    gap:12px;
}

.server_map_image{
    position:absolute;
    inset:0;
    overflow:hidden;
}

.map{
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:.25;
    filter: blur(1px);
}

.server_map_image:after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg, rgba(0,0,0,.8), rgba(0,0,0,.3));
}

.map{
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:.25;
    filter: blur(1px);
}

svg.online_bar{
    display: none !important;
}

.server_players_block{
    display:flex;
    flex-direction:column;
    width:55px;
    align-items:center;
    flex-shrink:0;
}

.server_players_block div{
    background:#1b2c22;
    color:#6cff8a;
    padding:3px 8px;
    border-radius:6px;
    font-size:12px;
}

.server_players_block span {
    font-weight: 700;
    font-size: 10px;
    color: var(--default-text-color);
    opacity: .5;
    text-transform: uppercase;
    transition: .3s;
}

.server_name_map_content{
    display:flex;
    flex-direction:column;
    overflow:hidden;
    min-width:0;
}

@media (min-width:1385px) {
    .server_name_custom{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
}

@media (min-width:768px) and (max-width:1384px) {
    .server_name_custom {
        font-size: 14px;
        font-weight: 700;
        color: var(--span-color);
        transition: .3s;
        max-width: 88px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width:767px) {
    .server_name_custom {
        font-size: 14px;
        font-weight: 700;
        color: var(--span-color);
        transition: .3s;
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width:940px) {
    .play {
        display: none !important;
    }
}

.server_map_name {
    font-weight: 700;
    font-size: 10px;
    color: var(--default-text-color);
    opacity: .5;
    /* text-transform: uppercase; */
    transition: .3s;
}

.server_left_block{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
    flex:1;
}

.partition {
    content: '';
    display: block;
    height: 30px;
    width: 1px;
    background-color: rgb(255 255 255 / 10%);
}

.server_button{
    width:32px;
    height:32px;
    min-width:32px;
    min-height:32px;
    border-radius:6px;
    display:flex;
    align-items:center;
    justify-content:center;

    background:#111418; /* тёмный фон */
}

.server_button:hover {
    background-color: var(--button-color);
    transition: .3s;
}

.server_button svg {
    fill: var(--default-text-color);
    opacity: .6;
    width: 12px;
    height: 12px;
    transition: .3s;
}

.server_button:hover svg {
    fill: var(--span-color);
    opacity: 1;
    transition: .3s;
}

.server_right_block{
    display:flex;
    align-items:center;
    gap:6px;
    flex-shrink:0;
}

@media (max-width: 768px) {

    /* modal window */
    .modal-window-server {
        position: fixed;
        display: flex;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 500;
        transition: all 0.3s;
        pointer-events: auto;
        background: var(--modal-bg);
        opacity: 0;
        justify-content: center;
        align-items: center;
    }

    .modal-window-server>div {
        width: 30%;
    }

    .modal-window-server .card {
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
        border-radius: 2px;
    }

    .modal-window-server>div {
        position: absolute;
        width: 350px;
        margin: 0 auto;
        padding: 0 5px;
        transform: translate(-50%, -50%);
        background: linear-gradient(1turn, var(--card-color) -67.25%, var(--card-color) 195.71%);
        border-radius: 12px;
        border-bottom: 1px solid var(--bottom-line-table);
        box-shadow: 0px 0px 20px 20px rgb(0 0 0 / 16%);
        z-index: 5000;
    }

    .modal_players_online {
        visibility: hidden;
    }

    .modal_players_online.modal_show {
        opacity: 1;
        visibility: visible;
        transition: .3s;
    }

    .modal_players_online>.modal-card {
        transform: scale(0.95);
        transition: .3s;
        overflow: hidden;
    }

    .modal_players_online.modal_show>.modal-card {
        transform: scale(1);
        transition: .3s;
        overflow: hidden;
    }

    .modal-card__header {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 10px 10px 20px;
        font-size: 12px;
        text-transform: uppercase;
        overflow: hidden;
    }

    .modal-card__header svg {
        width: 17px;
        height: 17px;
        fill: var(--custom-text-color);
        transition: .3s;
    }

    .modal-card__header svg:hover {
        fill: var(--default-text-color);
        transition: .3s;
    }

    .server-modal__bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }

    .cover {
        height: 135px;
        overflow: hidden;
        background-size: contain;
        margin: 0 0 24px;
        border-radius: 12px 12px 0 0;
        box-shadow: 0 0 0 4px var(--bottom-line-table);
    }

    .server-modal__bg img {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 100%;
        height: 100%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    .server-modal__bg .shadow {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 147px;
        background: var(--modal-bg);
    }

    .server-modal__header {
        height: 120px;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }

    .modal-card__badge {
        padding: 8px 12px;
        margin: 0;
    }

    .modal-btn__close {
        position: absolute;
        top: 0;
        background-color: var(--modal-bg);
        right: 0;
        padding: 10px;
        border-radius: 0 0 0 12px;
        transition: .3s;
        display: flex;
        z-index: 1;
        opacity: .8;
    }

    .modal-btn__close:hover {
        color: var(--default-text-color);
        cursor: pointer;
        transition: .3s;
    }

    .modal-table {
        padding: 5px;
    }

    .modal-card__footer {
        display: flex;
        gap: 5px;
        align-items: center;
        justify-content: space-between;
        padding: 5px 0;
        border-top: 1px solid var(--bottom-line-table);
    }

    .modal-btn {
        display: none;
    }

    .modal-btn_copy {
        width: 100%;
        padding: 10px;
        color: var(--default-text-color);
        border-radius: 4px;
        text-transform: uppercase;
        font-weight: 700;
        font-size: 11px;
        transition: .3s;
        cursor: pointer;
        display: flex;
        gap: 10px;
        background-color: var(--grey-color);
        justify-content: center;
    }

    .modal-btn_copy:hover {
        background-color: var(--button-color);
        color: var(--span-color);
        transition: .3s;
    }

    .modal-btn_copy svg {
        width: 10px;
        margin-bottom: 1px;
        height: auto;
        fill: var(--default-text-color);
        transition: .3s;
    }

    .modal-btn_copy:hover svg {
        fill: var(--span-color);
        transition: .3s;
    }

    .server_map_name_second {
        position: relative;
        font-size: 20px;
        font-weight: 800;
        color: var(--span-color);
        z-index: 2;
        user-select: none;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 250px;
    }

    .server_map_now_play_text {
        position: relative;
        font-size: 10px;
        font-weight: 700;
        margin-bottom: -5px;
        color: var(--custom-text-color);
        user-select: none;
    }

    .map_name_block {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        z-index: 1;
        border-left: 2px solid rgb(255 255 255 / 12%);
        padding-left: 10px;
        height: 33px;
    }

    .map_pins {
        position: relative;
        width: 33px;
        height: auto;
    }
}

@media (min-width: 769px) and (max-width: 1499px) {
    /* modal window */

    .modal-window-server {
        position: fixed;
        display: flex;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 500;
        transition: all 0.3s;
        pointer-events: auto;
        background: var(--modal-bg);
        opacity: 0;
        justify-content: center;
        align-items: center;
    }

    .modal-window-server>div {
        width: 30%;
    }

    .modal-window-server .card {
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
        border-radius: 2px;
    }

    .modal-window-server>div {
        position: absolute;
        width: 500px;
        margin: 0 auto;
        padding: 0 5px;
        transform: translate(-50%, -50%);
        background: linear-gradient(1turn, var(--card-color) -67.25%, var(--card-color) 195.71%);
        border-radius: 12px;
        border-bottom: 1px solid var(--bottom-line-table);
        box-shadow: 0px 0px 20px 20px rgb(0 0 0 / 16%);
        z-index: 5000;
    }

    .modal_players_online {
        visibility: hidden;
    }

    .modal_players_online.modal_show {
        opacity: 1;
        visibility: visible;
        transition: .3s;
    }

    .modal_players_online>.modal-card {
        transform: scale(0.95);
        transition: .3s;
        overflow: hidden;
    }

    .modal_players_online.modal_show>.modal-card {
        transform: scale(1);
        transition: .3s;
        overflow: hidden;
    }

    .modal-card__header {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 10px 10px 20px;
        font-size: 12px;
        text-transform: uppercase;
        overflow: hidden;
    }

    .modal-card__header svg {
        width: 20px;
        height: 20px;
        fill: var(--custom-text-color);
        transition: .3s;
    }

    .modal-card__header svg:hover {
        fill: var(--default-text-color);
        transition: .3s;
    }

    .server-modal__bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }

    .cover {
        height: 135px;
        overflow: hidden;
        background-size: contain;
        margin: 0 0 24px;
        border-radius: 12px 12px 0 0;
        box-shadow: 0 0 0 4px var(--bottom-line-table);
    }

    .server-modal__bg img {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 100%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    .server-modal__bg .shadow {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 147px;
        background: var(--modal-bg);
    }

    .server-modal__header {
        height: 120px;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }

    .modal-card__badge {
        padding: 8px 12px;
        margin: 0;
    }

    .modal-btn__close {
        position: absolute;
        top: 0;
        background-color: var(--modal-bg);
        right: 0;
        padding: 10px;
        border-radius: 0 0 0 12px;
        transition: .3s;
        display: flex;
        z-index: 1;
        opacity: .8;
    }

    .modal-btn__close:hover {
        color: var(--default-text-color);
        cursor: pointer;
        transition: .3s;
    }

    .modal-table {
        padding: 5px;
    }

    .modal-card__footer {
        display: flex;
        gap: 5px;
        align-items: center;
        justify-content: space-between;
        padding: 5px 0;
        border-top: 1px solid var(--bottom-line-table);
    }

    .modal-btn {
        width: 100%;
        padding: 10px;
        color: var(--default-text-color);
        border-radius: 4px;
        text-transform: uppercase;
        font-weight: 700;
        font-size: 11px;
        transition: .3s;
        cursor: pointer;
        display: flex;
        gap: 10px;
        background-color: var(--grey-color);
        justify-content: center;
    }

    .modal-btn:hover {
        transition: .3s;
        color: var(--grey-color);
        background-color: var(--span-color);
    }

    .modal-btn svg {
        width: 10px;
        margin-bottom: 1px;
        height: auto;
        fill: var(--default-text-color);
        transition: .3s;
    }

    .modal-btn:hover svg {
        fill: var(--grey-color);
        transition: .3s;
    }

    .modal-btn_copy {
        width: 100%;
        padding: 10px;
        color: var(--default-text-color);
        border-radius: 4px;
        text-transform: uppercase;
        font-weight: 700;
        font-size: 11px;
        transition: .3s;
        cursor: pointer;
        display: flex;
        gap: 10px;
        background-color: var(--grey-color);
        justify-content: center;
    }

    .modal-btn_copy:hover {
        background-color: var(--button-color);
        color: var(--span-color);
        transition: .3s;
    }

    .modal-btn_copy svg {
        width: 10px;
        margin-bottom: 1px;
        height: auto;
        fill: var(--default-text-color);
        transition: .3s;
    }

    .modal-btn_copy:hover svg {
        fill: var(--span-color);
        transition: .3s;
    }

    .server_map_name_second {
        position: relative;
        font-size: 20px;
        font-weight: 800;
        color: var(--span-color);
        z-index: 2;
        user-select: none;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 350px;
    }

    .server_map_now_play_text {
        position: relative;
        font-size: 10px;
        font-weight: 700;
        margin-bottom: -5px;
        color: var(--custom-text-color);
        user-select: none;
    }

    .map_name_block {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        z-index: 1;
        border-left: 2px solid rgb(255 255 255 / 12%);
        padding-left: 10px;
        height: 33px;
    }

    .map_pins {
        position: relative;
        width: 33px;
        height: auto;
    }
}

@media (min-width: 1500px) {

    /* modal window */

    .modal-window-server {
        position: fixed;
        display: flex;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 500;
        transition: all 0.3s;
        pointer-events: auto;
        background: var(--modal-bg);
        opacity: 0;
        justify-content: center;
        align-items: center;
    }

    .modal-window-server>div {
        width: 30%;
    }

    .modal-window-server .card {
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
        border-radius: 2px;
    }

    .modal-window-server>div {
        position: absolute;
        width: 500px;
        margin: 0 auto;
        padding: 0 5px;
        transform: translate(-50%, -50%);
        background: linear-gradient(1turn, var(--card-color) -67.25%, var(--card-color) 195.71%);
        border-radius: 12px;
        border-bottom: 1px solid var(--bottom-line-table);
        box-shadow: 0px 0px 20px 20px rgb(0 0 0 / 16%);
        z-index: 5000;
    }

    .modal_players_online {
        visibility: hidden;
    }

    .modal_players_online.modal_show {
        opacity: 1;
        visibility: visible;
        transition: .3s;
    }

    .modal_players_online>.modal-card {
        transform: scale(0.95);
        transition: .3s;
        overflow: hidden;
    }

    .modal_players_online.modal_show>.modal-card {
        transform: scale(1);
        transition: .3s;
        overflow: hidden;
    }

    .modal-card__header {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 10px 10px 20px;
        font-size: 12px;
        text-transform: uppercase;
        overflow: hidden;
    }

    .modal-card__header svg {
        width: 20px;
        height: 20px;
        fill: var(--custom-text-color);
        transition: .3s;
    }

    .modal-card__header svg:hover {
        fill: var(--default-text-color);
        transition: .3s;
    }

    .server-modal__bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }

    .cover {
        height: 135px;
        overflow: hidden;
        background-size: contain;
        margin: 0 0 24px;
        border-radius: 12px 12px 0 0;
        box-shadow: 0 0 0 4px var(--bottom-line-table);
    }

    .server-modal__bg img {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 100%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    .server-modal__bg .shadow {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 147px;
        background: var(--modal-bg);
    }

    .server-modal__header {
        height: 120px;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }

    .modal-card__badge {
        padding: 8px 12px;
        margin: 0;
    }

    .modal-btn__close {
        position: absolute;
        top: 0;
        background-color: var(--modal-bg);
        right: 0;
        padding: 10px;
        border-radius: 0 0 0 12px;
        transition: .3s;
        display: flex;
        z-index: 1;
        opacity: .8;
    }

    .modal-btn__close:hover {
        color: var(--default-text-color);
        cursor: pointer;
        transition: .3s;
    }

    .modal-table {
        padding: 5px;
    }

    .modal-card__footer {
        display: flex;
        gap: 5px;
        align-items: center;
        justify-content: space-between;
        padding: 5px 0;
        border-top: 1px solid var(--bottom-line-table);
    }

    .modal-btn {
        width: 100%;
        padding: 10px;
        color: var(--default-text-color);
        border-radius: 4px;
        text-transform: uppercase;
        font-weight: 700;
        font-size: 11px;
        transition: .3s;
        cursor: pointer;
        display: flex;
        gap: 10px;
        background-color: var(--grey-color);
        justify-content: center;
    }

    .modal-btn:hover {
        transition: .3s;
        color: var(--grey-color);
        background-color: var(--span-color);
    }

    .modal-btn svg {
        width: 10px;
        margin-bottom: 1px;
        height: auto;
        fill: var(--default-text-color);
        transition: .3s;
    }

    .modal-btn:hover svg {
        fill: var(--grey-color);
        transition: .3s;
    }

    .modal-btn_copy {
        width: 100%;
        padding: 10px;
        color: var(--default-text-color);
        border-radius: 4px;
        text-transform: uppercase;
        font-weight: 700;
        font-size: 11px;
        transition: .3s;
        cursor: pointer;
        display: flex;
        gap: 10px;
        background-color: var(--grey-color);
        justify-content: center;
    }

    .modal-btn_copy:hover {
        background-color: var(--button-color);
        color: var(--span-color);
        transition: .3s;
    }

    .modal-btn_copy svg {
        width: 10px;
        margin-bottom: 1px;
        height: auto;
        fill: var(--default-text-color);
        transition: .3s;
    }

    .modal-btn_copy:hover svg {
        fill: var(--span-color);
        transition: .3s;
    }

    .server_map_name_second {
        position: relative;
        font-size: 20px;
        font-weight: 800;
        color: var(--span-color);
        z-index: 2;
        user-select: none;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 350px;
    }

    .server_map_now_play_text {
        position: relative;
        font-size: 10px;
        font-weight: 700;
        margin-bottom: -5px;
        color: var(--custom-text-color);
        user-select: none;
    }

    .map_name_block {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        z-index: 1;
        border-left: 2px solid rgb(255 255 255 / 12%);
        padding-left: 10px;
        height: 33px;
    }

    .map_pins {
        position: relative;
        width: 33px;
        height: auto;
    }
}

@media (max-width:768px) {
    .mon_header {
        padding: 10px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        background-color: var(--bottom-line-table);
        border-radius: 4px;
        margin: 5px 0;
        user-select: none;
        justify-items: center;
        width: 100%;
    }

    .mon_list_body li {
        height: 45px;
        background: var(--bg-table-color);
        border-radius: 4px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding: 0 10px;
        margin: 0;
        transition: .3s;
        position: relative;
        justify-items: center;
        align-content: center;
    }

    .mon_none {
        display: none !important;
    }
}

@media (min-width:769px) {
    .mon_header {
        padding: 15px 0px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        background-color: var(--bottom-line-table);
        border-radius: 4px;
        margin: 5px 0;
        user-select: none;
        width: 100%;
        justify-items: center;
    }

    .mon_list_body li {
        height: 45px;
        background: var(--bg-table-color);
        border-radius: 4px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding: 0px;
        margin: 0;
        transition: .3s;
        position: relative;
        justify-items: center;
        align-content: center;
    }

    .mon_none {
        display: block;
    }
}

.mon_header span {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--span-color);
    display: flex;
    gap: 12px;
    align-items: center;
}

.mon_header svg {
    width: 12px;
    height: 12px;
    fill: var(--span-color);
}

.mon_list_scroll {
    max-height: none;
    overflow: visible;
}

.mon_list_body li:not(:last-child) {
    margin-bottom: 3px;
}

.mon_list_body li:hover {
    transition: .3s;
    background-color: var(--button-color);
}

.mon_list_body li span {
    font-size: 11px;
    font-weight: 500;
    color: var(--custom-text-color);
    user-select: none;
    -webkit-user-drag: none;
    transition: .3s;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mon_list_body li a {
    color: var(--default-text-color);
    cursor: pointer;
    transition: .3s;
    font-weight: 700;
}

.hover_mon:hover span a {
    color: var(--span-color);
    transition: .3s;
}

.hover_mon:hover span {
    color: var(--default-text-color);
    transition: .3s;
}

.hover_mon span svg {
    display: inline-flex;
    width: 15px;
    height: 15px;
    margin-right: 10px;
    border-radius: 50px;
    fill: var(--custom-text-color);
    transition: .3s;
    opacity: .2;
}

.hover_mon:hover span svg {
    fill: var(--span-color);
    transition: .3s;
    opacity: 1;
}

.mon_player_name {
    font-weight: 700 !important;
    color: var(--span-color) !important;
    white-space: nowrap;
    width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left !important;
    justify-content: flex-start !important;
    align-items: center !important;
}

/* RATING */

.rating_title {
    display: flex;
    background-color: var(--card-color);
    border-radius: 6px;
    justify-content: center;
    align-items: center;
    height: 47px;
}

.rating_title span {
    display: flex;
    gap: 5px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    color: var(--custom-text-color);
    align-items: center;
}

.rating_title span svg{
    width: 12px;
    height: auto;
    fill: var(--custom-text-color);
}

.rating_block {
    display: flex;
    height: 60px;
    width: auto;
    gap: 10px;
    overflow: hidden;
    transition: .3s;
    border-radius: 6px;
    background-color: var(--card-color);
    margin-bottom: 3px;
    align-items: center;
    justify-content: space-between;
    padding: 5px 5px 5px 15px;
}

.rating_block:last-child {
    margin-bottom: 0;
}

.rating_server_name {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

@media (min-width:901px) {
    .rating_player_card {
        display: flex;
        flex-direction: row;
        gap: 5px;
        transition: .3s;
    }

    .rating_server_name_count {
        font-size: 12px;
        font-weight: 700;
        padding-top: 3px;
        border-top: 1px solid var(--bottom-line-table);
        white-space: nowrap;
        overflow: hidden;
        max-width: 130px;
        text-overflow: ellipsis;
    }

    .rating_server_name_title {
        font-size: 10px;
        color: var(--custom-text-color);
        opacity: .5;
    }
}

@media (max-width:900px) {
    .rating_player_card {
        display: flex;
        flex-direction: row;
        overflow: hidden;
        overflow-x: scroll;
        gap: 5px;
        transition: .3s;
    }

    .rating_server_name_count {
        font-size: 9px;
        font-weight: 700;
        padding-top: 3px;
        border-top: 1px solid var(--bottom-line-table);
        white-space: nowrap;
        overflow: hidden;
        max-width: 130px;
        text-overflow: ellipsis;
    }

    .rating_server_name_title {
        font-size: 8px;
        color: var(--custom-text-color);
        opacity: .5;
    }
}

.rating_player_info {
    display: flex;
    gap: 5px;
    position: relative;
    flex-direction: row;
    align-items: center;
    background-color: var(--grey-color);
    border-radius: 4px;
    padding: 5px;
    cursor: pointer;
    transition: .3s;
}

.rating_player_info:hover {
    background-color: var(--button-color);
    transition: .3s;
}

.rating_player_info:hover .rating_value {
    color: var(--default-text-color);
    transition: .3s;
}

.first_place {
    background: linear-gradient(45deg, rgb(255 219 92 / 13%), var(--grey-color));
}

.second_place {
    background: linear-gradient(45deg, rgb(191 224 255 / 13%), var(--grey-color));
}

.third_place {
    background: linear-gradient(45deg, rgb(248 167 133 / 13%), var(--grey-color));
}

.rating_avatar {
    border-radius: 2px;
}

.rating_info_right {
    display: flex;
    flex-direction: row;
    align-items: center;
}

@media (min-width: 1321px) {
    .rating_rank {
        height: 20px;
        width: auto;
        -webkit-user-drag: none;
    }
}

@media (max-width: 1320px) {
    .rating_rank {
        display: none;
    }
}

.rating_nick_value {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    overflow: hidden;
    width: 100px;
}

.rating_nick {
    font-size: 12px;
    font-weight: 700;
    color: var(--span-color);
}

.rating_value {
    font-size: 10px;
    color: var(--custom-text-color);
    transition: .3s;
}

@media (min-width:1068px) {
    .rating_place {
        width: 35px;
        height: 35px;
        display: flex;
        position: relative;
        align-items: center;
        justify-content: center;
        margin: 0 5px;
    }
}

@media (max-width:1067px) {
    .rating_place {
        display: none;
    }
}

.rating_place span {
    font-weight: 800;
    font-size: 13px;
    position: absolute;
    top: 3px;
    z-index: 1;
    color: var(--default-text-color);
}

.rating_place svg {
    position: absolute;
    width: 31px;
    height: auto;
    fill: var(--custom-text-color);
    opacity: .2;
}

svg.one {
    fill: var(--top-one-color);
    opacity: .5;
}

svg.two {
    fill: var(--top-two-color);
    opacity: .5;
}

svg.three {
    fill: var(--top-three-color);
    opacity: .5;
}

html.hidescroll {
    overflow: hidden;
}

@media (max-width:767px) {
    .fix_mobile {
        flex-direction: column-reverse;
    }
}

@media (min-width:768px) {
    .fix_mobile {
        flex-direction: row;
    }
}