.servers_wrap {
  display: grid;
  width: 100%;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(25em, 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;
  }
}

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

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

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

.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 .map {
  scale: 1.02;
}

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

.server_players_block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.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_name_custom {
  font-size: 17px;
  font-weight: 700;
  color: white;
  transition: 0.3s;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.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-color: var(--transparent);
  outline: 1px solid rgb(255 255 255 / 20%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.server_button:hover {
  outline: 1px solid var(--span);
}

.server_button svg {
  fill: white;
  width: 15px;
  height: 15px;
  margin-left: 2px;
  transition: 0.3s;
}

.server_button:hover svg {
  transform: scale(1.2);
  fill: var(--span);
  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 */

.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_players_online > .modal-card {
  transform: scale(0.95);
  transition: 0.2s;
  overflow: hidden;
}

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

.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: 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%;
  -webkit-transform: translate(-50%, -50%);
  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;
  justify-content: flex-start;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.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: flex-start;
  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) {
  .mon_header {
    grid-template-columns: 2fr 0.6fr;
    padding: 8px 15px;
    display: grid;
    background-color: var(--transparent);
    border-radius: 8px;
    margin: 5px 0;
    user-select: none;
    width: 100%;
    justify-items: start;
  }

  .mon_list_body li {
    height: 44px;
    background: transparent;
    border: 1px solid var(--transparent);
    border-radius: 8px;
    display: grid;
    grid-template-columns: 2fr 0.6fr;
    padding: 15px;
    margin: 0;
    transition: 0.3s;
    position: relative;
    justify-items: start;
    align-content: center;
  }

  li.hover_mon:nth-of-type(2n) li {
    background: var(--transparent);
    border: 1px solid transparent;
  }

  .mon_none {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .mon_header {
    padding: 8px 15px;
    display: grid;
    grid-template-columns: 2.5fr 0.5fr 0.58fr;
    background-color: var(--transparent);
    border-radius: 8px;
    margin: 5px 0;
    user-select: none;
    width: 100%;
    justify-items: start;
  }

  .mon_list_body li {
    height: 44px;
    background: transparent;
    border: 1px solid var(--transparent);
    border-radius: 8px;
    display: grid;
    grid-template-columns: 2.5fr 0.5fr 0.58fr;
    padding: 15px;
    margin: 0;
    transition: 0.3s;
    position: relative;
    justify-items: start;
    align-content: center;
  }

  li.hover_mon:nth-of-type(2n) {
    background: var(--transparent);
    border: 1px solid transparent;
  }

  .mon_none {
    display: block;
  }
}

.mon_header span {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-custom);
  opacity: 0.7;
  display: flex;
  gap: 10px;
  align-items: center;
}

.mon_header svg {
  width: 10px;
  height: 10px;
  fill: var(--text-custom);
  opacity: 0.6;
}

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

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

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

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

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

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

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

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

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

@media (min-width: 768.9px) {
  .non_mob {
    display: flex;
  }
}

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

.row-mode {
  gap: 20px;
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  padding-top: 20px;
  justify-content: center;
  align-content: center;
  align-items: center;
  min-height: calc(100vh - 480px);
}
.col-md-mode {
  width: 230px;
  height: 520px;
  cursor: pointer;
  background: linear-gradient(0deg, #171717 0.02%, rgba(23, 23, 23, 0) 76.15%);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: .3s;
}
.col-md-mode:hover {
  background: none;
}
.col-md-mode:hover h1 {
  transform: translate(-50%, 100px);
  opacity: 0;
}
.col-md-mode:hover .radial-gradient, .col-md-mode:hover img {
  opacity: 1;
}
.col-md-mode .radial-gradient {
  opacity: .5;
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  transition: .3s;
  transform: rotate(180deg);
  background: radial-gradient(163.07% 163.07% at 0% -94.34%, #9E2FDF 24.76%, #561A79 60.83%, #171717 99.5%);
}
.col-md-mode img {
  opacity: .5;
  z-index: -1;
  height: 327px;
  position: absolute;
  bottom: 0px;
  left: 50%;
  transition: .3s;
  transform: translate(-50%, 0%);
}
.col-md-mode h1 {
  font-family: 'Unbounded', sans-serif;
  position: absolute;
  left: 50%;
  font-size: 40px;
  line-height: 48.77px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translate(-50%, 0%);
  opacity: 1;
  bottom: 50px;
}
.col-md-online {
  display: flex;
  gap: 10px;
  top: 30px;
  right: 30px;
  position: absolute;
  align-items: center;
}
.col-md-online stats {
  display: flex;
  color: var(--text-default);
  font-size: 16px;
  font-weight: 700;
}
.col-md-online-point {
  width: 8px;
  height: 8px;
  margin-bottom: 2px;
  background-color: rgba(97, 200, 159, 1);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1s infinite;
  box-shadow: 0 0 10px rgba(97, 200, 159, 1);
}
@keyframes pulse {
  0%, 100% {
      transform: scale(0.85);
      opacity: 0.9;
  }

  50% {
      transform: scale(0.95);
      opacity: 1;
  }
}
.loader-18px {
  width: 16px;
  height: 16px;
  border: 2px solid;
  border-color: rgba(97, 200, 159, 1) transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation-loader 1s linear infinite;
}
@keyframes rotation-loader {
  0% {
      transform: rotate(0deg);
  }

  100% {
      transform: rotate(360deg);
  }
}

.block-monitoring-server {
  display: flex;
  align-items: center;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  width: 400px;
  min-height: 100%;
  height: 100px;
  max-height: 100px;
  background: linear-gradient(180deg, #171717 50%, rgba(104, 255, 154, 0.25) 150%);
}

.monitoring-server-img {
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: .3;
  object-fit: cover;
  position: absolute;
  border-radius: 16px;
}

.monitoring-server-info {
  display: flex;
  gap: 30px;
  flex-grow: 1;
  padding: 30px 0px 30px 30px;
  z-index: 2;
  color: var(--text-default);
  align-items: center;
}

.monitoring-server-info-1 {
  position: absolute;
}

.monitoring-server-info-1 h5 {
  font-size: 14px;
  font-family: 'Unbounded', sans-serif;
  margin: 0;
}

.monitoring-server-info-1 span {
  display: flex;
  font-weight: 700;
  font-size: 10px;
  margin-top: 2px;
  gap: 15px;
  align-items: center;
  color: #888888;
  fill: #888888;
}

.monitoring-server-info-1 span svg {
  fill: unset;
  height: 10px;
  width: 10px;
}

.monitoring-server-info-1 span img {
  height: 10px;
  width: 10px;
}

.monitoring-server-info-ms {
  display: flex;
  line-height: 10px;
  align-items: center;
}

.monitoring-server-info-local {
  display: flex;
  gap: 5px;
  line-height: 10px;
  align-items: center;
}

.monitoring-server-info-2 {
  display: grid;
  justify-items: end;
  margin-left: auto;
  line-height: 20px;
  align-content: center;
}

.monitoring-server-info-2 span {
  display: flex;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  transition: .3s;
  align-items: center;
}

.monitoring-server-info-players {
  display: flex;
  align-items: baseline;
  color: #888888;
  transition: .3s;
}

.monitoring-server-info-players h5 {
  display: flex;
  font-size: 14px;
  align-items: baseline;
  color: var(--text-default);
  transition: .3s;
}

.monitoring-server-info-players.js-players:hover {
  cursor: pointer;
  color: var(--text-default);
}

.monitoring-server-info-map {
  font-size: 14px;
  font-weight: 700;
  color: #888888;
}

.monitoring-server-point {
  width: 6px;
  height: 6px;
  background-color: rgba(97, 200, 159, 1);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1s infinite;
  box-shadow: 0 0 10px rgba(97, 200, 159, 1);
}

.monitoring-server-button {
  display: grid;
  gap: 5px;
  padding: 15px 30px 15px 30px;
  height: 100%;
  z-index: 2;
  margin-left: auto;
  align-content: space-between;
}

.monitoring-server-button-copy,
.monitoring-server-button-play {
  border: none;
  background: none;
  padding: 0;
  text-align: center;
}

.monitoring-server-button-copy svg,
.monitoring-server-button-play svg {
  fill: #888888;
  width: 16px;
  height: 16px;
  cursor: pointer;
  transition: .3s;
}

.monitoring-server-button-copy svg:hover,
.monitoring-server-button-play svg:hover {
  fill: var(--text-default);
}

#servers-mode {
  padding-top: 20px;
}

.block-knopka-servers {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  position: relative;
  border-radius: 8px;
  margin: 25px 25px 45px 25px;
  justify-content: space-between;
}

.block-knopka-servers > div {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.knopka-server {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Unbounded', sans-serif;
  color: rgba(136, 136, 136, 1);
  height: 40px;
  min-width: 100px;
  padding: 3px 30px 0px 30px;
  display: flex;
  gap: 10px;
  position: relative;
  align-items: center;
  justify-content: center;
  transition: .5s;
}

.knopka-server > stats {
  display: flex;
}

.knopka-server:hover {
  color: var(--text-default);
}

.knopka-server.knopka-active {
  color: var(--text-default);
}

.more-info-menu {
  font-family: 'SF Pro Display', sans-serif;
  color: #90edb3;
  margin-bottom: 3px;
  padding: 0px 5px;
  border-radius: 8px;
  background-color: hsl(143deg 72% 75% / 10%);
}