.servers_wrap {
    display: grid;
    width: 100%;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(23em, 1fr)) !important;
}

@media (min-width: 0px) and (max-width: 768px) {
    .server_block {
        display: flex;
        flex: 1 1 calc((100% / 1) - 2rem);
        position: relative;
        background-color: var(--card);
        border-radius: 16px;
        overflow: hidden;
        align-items: center;
        flex-direction: column;
        padding: 15px !important;
        gap: 15px;
        height: 100% !important;
    }
    .server_name_custom {
        font-size: 17px;
        font-weight: 700;
        color: white;
        transition: 0.3s;
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .modal_players_online.modal_show > .modal-card {
        transform: scale(1);
        transition: 0.2s;
        overflow: hidden;
        pointer-events: all;
    }
    .modal_players_online > .modal-card {
        transform: scale(0.95);
        transition: 0.2s;
        overflow: hidden;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .server_block {
        display: flex;
        flex: 1 1 calc((100% / 2) - 2rem);
        position: relative;
        background-color: var(--card);
        border-radius: 16px;
        overflow: hidden;
        align-items: center;
        flex-direction: column;
        padding: 15px !important;
        gap: 15px;
        height: 100% !important;
    }
    .modal_players_online.modal_show > .modal-card {
        transform: scale(1);
        transition: 0.2s;
        overflow: hidden;
        pointer-events: all;
        min-width: max-content;
    }
    .modal_players_online > .modal-card {
        transform: scale(0.95);
        transition: 0.2s;
        overflow: hidden;
        min-width: max-content;
    }
}

@media (min-width: 1025px) and (max-width: 1290px) {
    .server_block {
        display: flex;
        position: relative;
        background-color: var(--card);
        border-radius: 16px;
        overflow: hidden;
        align-items: center;
        flex-direction: column;
        padding: 15px !important;
        gap: 15px;
        height: 100% !important;
    }
    .modal_players_online.modal_show > .modal-card {
        transform: scale(1);
        transition: 0.2s;
        overflow: hidden;
        pointer-events: all;
        min-width: max-content;
    }
    .modal_players_online > .modal-card {
        transform: scale(0.95);
        transition: 0.2s;
        overflow: hidden;
        min-width: max-content;
    }
}

@media (min-width: 1291px) {
    .server_block {
        display: flex;
        position: relative;
        background-color: var(--card);
        border-radius: 16px;
        overflow: hidden;
        align-items: center;
        padding: 15px !important;
        gap: 15px;
        flex-direction: column;
        height: 100% !important;
    }
    .modal_players_online.modal_show > .modal-card {
        transform: scale(1);
        transition: 0.2s;
        overflow: hidden;
        pointer-events: all;
        min-width: max-content;
    }
    .modal_players_online > .modal-card {
        transform: scale(0.95);
        transition: 0.2s;
        overflow: hidden;
        min-width: max-content;
    }
    .server_name_custom {
        font-size: 17px;
        font-weight: 700;
        color: white;
        transition: 0.3s;
        max-width: 300px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.server_info_block {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 5px;
    align-items: flex-start;
    flex-direction: column;
}

.server_map_image {
    position: absolute;
    z-index: 0;
    left: 0;
    top: -60%;
}

.map {
    transition: 0.3s ease-in-out;
    height: auto;
    width: 100%;
}

.server_map_image:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
    background: linear-gradient(to right, rgb(0 0 0 / 60%), transparent);
    transition: 0.3s;
}

.server_block:hover .server_map_image::after {
    background-color: rgb(0 0 0 / 25%);
}

.server_block .server_map_image {
    filter: blur(0);
    transition: filter 0.3s ease-in-out;
}

.server_block:hover .server_map_image {
    filter: blur(2px);
}

.server_players_block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgb(10, 140, 10);
    padding: 0px 8px;
    border-radius: 20px;
}

.server_players_block > div {
    font-size: 12px;
    font-weight: normal;
    color: white;
    transition: 0.3s;
}

.server_players_block span {
    font-weight: 700;
    font-size: 12px;
    color: var(--text-default);
    transition: 0.3s;
}

.server_map_name {
    font-weight: normal;
    font-size: 12px;
    color: white;
    transition: 0.3s;
}

.server_name_ip {
    display: flex;
    gap: 10px;
    flex-direction: row;
    cursor: pointer;
    justify-content: flex-start;
    align-items: center;
}

.server_name_ip:hover .server_name_custom {
    color: var(--span);
}

.server_button {
    display: flex;
    height: 50px;
    width: 50px;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0), rgba(26, 26, 26, 0));
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0);
}

.server_button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: 0.3s ease-in-out;
    border-radius: 25px;
}

.server_button:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
    border: 2px solid rgba(255, 255, 255, 0);
}

.server_button:hover::before {
    opacity: 1;
}

.server_button svg {
    fill: white;
    width: 25px;
    height: 25px;
    margin-left: 2px;
    transition: 0.3s ease-in-out;
    z-index: 1;
}

.server_button:hover svg {
    transform: scale(1.2);
    fill: var(--span);
    opacity: 1;
}

.server_button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: 0.3s ease-in-out;
    border-radius: 25px;
}

.server_button:hover::after {
    opacity: 1;
}

.progress {
    background: rgb(0 0 0 / 15%);
    backdrop-filter: blur(6px);
    justify-content: flex-start;
    border-radius: 100px;
    align-items: center;
    position: relative;
    display: flex;
    height: 5px;
    width: 100%;
}

.progress-value {
    transition: 2s ease-in-out;
    border-radius: 5px;
    background: var(--span);
    height: 5px;
    width: 0;
}

.server_players_mapname {
    display: flex;
    width: 100%;
    height: 18px;
    gap: 10px;
    align-items: center;
}

.servers_filter {
    display: flex;
    padding: 5px;
    gap: 10px;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.filter_chips {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.fill_width {
    flex: 1 1 calc((100% / 10) - 0.5rem);
}

.filter_hide_server {
    display: none;
}

.bottom_server_block {
    display: flex;
    width: 100%;
    z-index: 1;
}

.top_server_block {
    display: flex;
    justify-content: space-between;
    width: 100%;
    z-index: 1;
}

.update_element {
    display: flex;
    background: transparent;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    position: relative;
}

a#updateservers {
    display: flex;
    background: var(--bottom-line-table);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

a#updateservers svg {
    width: 21px;
    height: 21px;
    stroke: var(--text-custom);
    stroke-linecap: round;
    stroke-dasharray: 100, 150;
    stroke-dashoffset: 0;
}

.server_city {
    display: flex;
    text-wrap: nowrap;
    font-size: 12px;
    color: white;
}

.server_country img {
    width: 13px;
    height: 13px;
    display: block;
    border-radius: 25px;
}

.server_geoip {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    transition: 0.3s;
}

.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(--bg-modal);
    opacity: 0;
    justify-content: center;
    align-items: center;
}

.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;
}

@media (max-width: 768.9px) {
    .modal-window-server > div {
        width: 25em;
    }
}

@media (min-width: 769px) {
    .modal-window-server > div {
        width: 33em;
    }
}

.modal-window-server > div {
    position: absolute;
    margin: 0 auto;
    padding: 15px;
    transform: translate(-50%, -50%) scale(0.95);
    background: var(--card);
    border-radius: 16px;
    box-shadow: 0px 0px 20px 20px rgb(0 0 0 / 16%);
    z-index: 5000;
    pointer-events: none;
}

.modal_players_online {
    visibility: hidden;
}

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

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

.copy-steam {
    display: flex;
    gap: 5px;
    z-index: 1;
    transition: 0.5s;
    cursor: pointer;
    align-items: center;
}

.copy-steam:hover {
    color: var(--span);
}

.copy-svg {
    width: 10px !important;
    height: 10px !important;
    transition: 0.5s !important;
    opacity: 1 !important;
    fill: #b7b7b7 !important;
}

.copy-steam:hover .copy-svg {
    fill: var(--span) !important;
}

.modal-card__header svg {
    width: 24px;
    height: 24px;
    fill: var(--text-default);
    opacity: 0.3;
    transition: 0.3s;
}

.modal-card__header svg:hover {
    fill: var(--text-default);
    opacity: 1;
}

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

.cover {
    height: 135px;
    overflow: hidden;
    background-size: contain;
    margin: 0 0 24px;
}

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

.server-modal__bg .shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--card), transparent), linear-gradient(0deg, var(--card), transparent);
}

.server-modal__header {
    height: 120px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    z-index: 1;
}

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

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

.modal-refresh:hover {
    color: var(--default-text-color);
    cursor: pointer;
}

.modal-btn__close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    transition: 0.3s;
    display: flex;
    z-index: 1;
    opacity: 0.8;
}

.modal-table {
    padding: 5px;
}

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

.server_map_name_second {
    position: relative;
    font-size: 30px;
    font-weight: 700;
    font-family: "Unbounded";
    color: var(--text-custom);
    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: 14px;
    font-weight: normal;
    color: var(--text-default);
    user-select: none;
    text-transform: none;
    opacity: 0.7;
}

.map_name_block {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    justify-content: space-between;
}

.server_map_score {
    display: flex;
    gap: 10px;
    align-items: center;
    border-left: 2px solid rgb(255 255 255 / 12%);
    padding-left: 10px;
    position: relative;
}

.server_map_score_t_img {
    position: relative;
    width: 17px;
    height: 17px;
    -webkit-user-drag: none;
}

.server_map_score_t_img,
.server_map_score_ct_img {
    width: 33px;
    height: 33px;
}

.server_map_score_ct_t {
    font-size: 18px;
    font-weight: 800;
    user-select: none;
}

@media (max-width: 768px) {
    .players-table {
        position: static;
        border-collapse: collapse;
        border-spacing: 0;
        margin: 0px;
    }
    .players-table thead tr {
        background-color: var(--bg-table);
        box-shadow: 0 0 10px rgb(0 0 0 / 50%);
        position: sticky;
        top: 0;
        z-index: 1;
    }
    .players-table tbody tr {
        background-color: var(--fon);
        border-radius: 6px;
        transition: 0.5s;
    }
    .mon_none {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .players-table {
        position: static;
        border-collapse: collapse;
        border-spacing: 0;
        margin: 0px;
        white-space: nowrap;
    }
    .players-table thead tr {
        background-color: var(--bg-table);
        box-shadow: 0 0 10px rgb(0 0 0 / 50%);
        position: sticky;
        top: 0;
        z-index: 1;
    }
    .players-table tbody tr {
        background-color: var(--fon);
        border-radius: 6px;
        transition: 0.5s;
    }
    .player-rank-icon {
        transform: scale(2.5);
		max-width: 25px;
        max-height: 22px;
    }
    .player-faceit-icon {
        transform: scale(1.9);
        width: 15px;
    }
    .rswap {
        margin-left: 10px;
    }
    .players-table tbody tr:nth-of-type(2n) {
        background: var(--transparent);
        border: 1px solid transparent;
    }
    .mon_none {
        display: table-cell;
    }
}

.players-table th {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-dark);
    vertical-align: middle;
    padding: 10px;
}

.players-table td {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-custom);
    user-select: none;
    -webkit-user-drag: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mon_list_scroll {
    max-height: 250px;
    overflow: hidden;
    overflow-y: scroll;
    width: 100%;
    margin-bottom: 5px;
}

.players-table td a {
    color: var(--default-text-color);
    cursor: pointer;
    transition: 0.3s;
    font-weight: 700;
}

.hover.mon:hover td a {
    color: var(--span-color);
}

.hover.mon:hover td {
    color: var(--default-text-color);
}

.mon_player_name {
    white-space: nowrap;
    width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left !important;
    justify-content: flex-start !important;
    align-items: center !important;
}

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

.modal-btn_copy {
    background: var(--grey) !important;
}

.modal-btn_copy:hover {
    background: var(--grey) !important;
    color: var(--text-custom) !important;
}

.modal-btn_copy svg {
    fill: var(--text-custom) !important;
}

.modal-btn_copy:hover svg {
    fill: var(--text-custom) !important;
}

.players_modal {
    background: rgb(100 206 130 / 20%);
    color: var(--green) !important;
    opacity: 1 !important;
    padding: 2px 10px;
    border-radius: 14px;
    font-size: 11px !important;
}

.btn-clipboard svg {
    width: 17px;
    height: 16px;
    fill: white;
    transition: 0.3s;
}

.server_name_ip:hover .btn-clipboard svg {
    fill: var(--span);
}

.server_badge {
    display: flex;
    background: var(--purple);
    padding: 0px 8px;
    border-radius: 25px;
    font-size: 11px;
    color: white;
    align-items: center;
    height: 22px;
    white-space: nowrap;
}

@keyframes glow-green {
    0% { box-shadow: 0 0 5px var(--green); }
    50% { box-shadow: 0 0 20px var(--green); }
    100% { box-shadow: 0 0 5px var(--green); }
}

@keyframes glow-orange {
    0% { box-shadow: 0 0 5px var(--orange); }
    50% { box-shadow: 0 0 20px var(--orange); }
    100% { box-shadow: 0 0 5px var(--orange); }
}

@keyframes glow-red {
    0% { box-shadow: 0 0 5px var(--red); }
    50% { box-shadow: 0 0 20px var(--red); }
    100% { box-shadow: 0 0 5px var(--red); }
}

.modal-window-server {
    transition: width 0.5s ease-in-out;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.mon_header {
    display: flex;
    border-radius: 6px;
    flex-direction: column;
    position: relative;
    max-height: 310px;
    overflow-y: scroll;
}

.players-table thead th > svg {
    height: 10px;
    fill: var(--text-default);
}

.hidestat {
    display: none;
}

.tleft {
    text-align: left;
}

.tcenter {
    text-align: center;
}

.show-status-modal {
    display: flex;
    position: relative;
    height: 50px;
    color: #b7b7b7;
    justify-content: center;
    align-items: center;
    margin: 0px 35px;
}

.show-status-modal #toggle-more-info-btn {
    cursor: pointer;
    user-select: none;
    transition: 0.5s;
    text-decoration: underline #b7b7b7;
    position: absolute;
    right: 0;
}

.admin-count {
    position: absolute;
    left: 0;
}

.admin-player {
    color: var(--red);
}

.no-players {
    transition: 0.5s;
    position: absolute;
}

.match-score-img-25 {
    position: relative;
    width: 40px;
    height: 40px;
}

.cheak-monitoring-info-menu {
    display: grid;
    justify-items: center;
    gap: 5px;
}

.server_all_info {
    position: absolute;
    display: flex;
    top: 105px;
    z-index: 100;
    width: 100%;
    gap: 30px;
}

.server_all_info_loading {
    position: absolute;
    display: flex;
    top: 105px;
    z-index: 100;
    width: 100%;
    gap: 30px;
}

.cheak-monitoring-info-menu.display-1 {
    flex: 1 1 0%;
}

.cheak-monitoring-info-menu.display-2 {
    flex-shrink: 0;
}

.cheak-monitoring-info-menu.display-3 {
    flex: 1 1 0%;
}

.cheak-monitoring-map {
    font-size: 0.8rem;
}

.cheak-monitoring-score {
    position: absolute;
    display: flex;
    top: 50px;
    left: 0px;
    right: 0px;
    z-index: 2;
    align-items: center;
    justify-content: center;
    gap: 15px;
    white-space: nowrap;
}

.match-score-t-score {
    color: var(--t);
}

.match-score-ct-score {
    color: var(--ct);
}

.cheak-monitoring-info-menu h6 {
    color: #b7b7b7;
    white-space: nowrap;
}

.cheak-monitoring-info-menu h5 {
    font-size: 0.83em;
    white-space: nowrap;
}

.refresh-icon {
    transition: transform 0.3s ease-out;
}

.refresh-icon.rotate {
    animation: spin 1s linear;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.load_info {
    width: 20px;
    height: 20px;
    border: 3px solid var(--span);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation_modal 1s linear infinite;
}

.load_info::after {
    content: '';
    position: absolute;
    box-sizing: border-box;
    left: 5px;
    top: 10px;
    border: 5px solid transparent;
    border-right-color: var(--span);
    transform: rotate(-40deg);
}

@keyframes rotation_modal {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.gray-rank, .wblue-rank, .blue-rank, .purple-rank, .pink-rank, .red-rank, .gold-rank {
    font-weight: 700;
    padding: 2px 4px 2px 10px;
    -webkit-transform: skewX(-10deg);
    transform: skewX(-10deg);
    display: inline-block;
    width: 50px;
    height: 25px;
    line-height: 20px;
    text-align: center;
    position: relative;
    margin: 0 auto;
}

.gray-rank:after, .wblue-rank:after, .blue-rank:after, .purple-rank:after, .pink-rank:after, .red-rank:after, .gold-rank:after {
    left: 0px;
}

.gray-rank:before, .wblue-rank:before, .blue-rank:before, .purple-rank:before, .pink-rank:before, .red-rank:before, .gold-rank:before {
    left: 5px;
}

.gray-rank:after, .gray-rank:before, 
.wblue-rank:after, .wblue-rank:before, 
.blue-rank:after, .blue-rank:before, 
.purple-rank:after, .purple-rank:before, 
.pink-rank:after, .pink-rank:before, 
.red-rank:after, .red-rank:before, 
.gold-rank:after, .gold-rank:before {
    content: "";
    height: 100%;
    position: absolute;
    top: 0;
    width: 3px;
}

.gray-rank {
    background-color: #2f2f2f;
    color: #a0a0a0;
}
.gray-rank:after, .gray-rank:before {
    background-color: #a0a0a0;
}


.wblue-rank {
    background-color: #1a2f4f;
    color: #b3c9ff;
}
.wblue-rank:after, .wblue-rank:before {
    background-color: #b3c9ff;
}

.blue-rank {
    background-color: #1f2758;
    color: #697ce9;
}
.blue-rank:after, .blue-rank:before {
    background-color: #697ce9;
}

.purple-rank {
    background-color: #422158;
    color: #ba69f2;
}
.purple-rank:after, .purple-rank:before {
    background-color: #ba69f2;
}

.pink-rank {
    background-color: #5a005e;
    color: #df16ec;
}
.pink-rank:after, .pink-rank:before {
    background-color: #df16ec;
}

.red-rank {
    background-color: #590c03;
    color: #ec4143;
}
.red-rank:after, .red-rank:before {
    background-color: #ec4143;
}

.gold-rank {
    background-color: #4c3900;
    color: #fdd608;
}
.gold-rank:after, .gold-rank:before {
    background-color: #fdd608;
}