
.servers_wrap {
  display: grid;
  width: 100%;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(25em, 1fr)) !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-2-w);
  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(--transparent-4-w);
  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(--grey);
}

.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: 700;
  user-select: none;
}

.mon_header,
.mon_admins_header {
  padding: 8px 15px;
  display: grid;
  background-color: var(--transparent-2-w);
  border-radius: 8px;
  margin: 5px 0;
  user-select: none;
  width: 100%;
  justify-items: start;
}

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

@media (max-width: 768px) {
  .mon_header {
    grid-template-columns: 2fr 0.6fr;
  }

  .mon_admins_header {
    grid-template-columns: 2fr;
  }

  .mon_list_body li {
    grid-template-columns: 2fr 0.6fr;
  }

  .mon_admin_list_body li {
    grid-template-columns: 2fr;
  }

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

  .mon_none {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .mon_header {
    grid-template-columns: 2.5fr 0.5fr 0.58fr;
  }

  .mon_admins_header {
    grid-template-columns: 2fr;
  }

  .mon_list_body li {
    grid-template-columns: 2.5fr 0.5fr 0.58fr;
  }

  .mon_admin_list_body li {
    grid-template-columns: 2fr;
  }

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

  .mon_none {
    display: block;
  }
}

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

.mon_header svg,
.mon_admins_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),
.mon_admin_list_body li:not(:last-child) {
  margin-bottom: 3px;
}

.mon_list_body li span,
.mon_admin_list_body li span {
  font-size: 12.5px;
  font-weight: 500;
  -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,
.mon_admin_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;
  }
}

.players_modal {
  background: var(--button);
  color: var(--text-default) !important;
  opacity: 1 !important;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 12.5px !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(--span);
  padding: 0px 8px;
  border-radius: 25px;
  font-size: 12.5px;
  color: white;
  align-items: center;
  height: 22px;
}

.modal_admins_list {
  display: flex;
  gap: 5px;
  flex-direction: column;
  align-items: center;
}

.servers_wrap .server_block .server_map_image,
.servers_wrap .server_block .top_server_block,
.servers_wrap .server_block .bottom_server_block,
.servers_wrap .server_block .progress {
  display: none !important; 
}

.server_block {
  position: relative;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
}

.server_block:hover {
  transform: translateY(-1px);
}

.map_image_grad {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.map_image_grad img {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  filter: brightness(0.82) saturate(1.06) contrast(1.03);
  transform: scale(1);
  transform-origin: right center;
  will-change: transform, filter, opacity;
  transition: transform 0.35s ease, filter 0.35s ease, opacity 0.35s ease;
}

.map_image_grad::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.10) 100%);
  transition: opacity 0.35s ease;
}

.map_image_grad::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.03);
  transition: opacity 0.35s ease;
}

.server_block:hover .map_image_grad img {
  transform: scale(1.06);
  opacity: 0.7;
  filter: brightness(0.92) saturate(1.12) contrast(1.06);
}

.server_block:hover .map_image_grad::before {
  opacity: 0.55;
}

.server_block:hover .map_image_grad::after {
  opacity: 0.15;
}

.server_data {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px 46px;
}

.server_title_top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  background: transparent;
  min-width: 0;
}

.server_name {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--default-text-color);
}

.server_name svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  fill: var(--custom-text-color);
  opacity: 0.9;
}

.server_block.is-loading .server_name svg {
  animation: loading 1s linear infinite;
  opacity: 1;
}

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

.server_name_text {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  overflow: visible;
  line-height: 1.15;
}

@media (max-width: 768px) {
  .server_name {
    font-size: 13px;
  }
}

.server_meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.server_mapline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.map_block {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  height: 26px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  min-width: 0;
  overflow: hidden;
  opacity: 0.8;
  transition: opacity 0.18s ease;
}

.map_block .server_map_name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--custom-text-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 210px;
  user-select: none;
}

.server_cat_badge {
  display: inline-flex;
  align-items: center;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 5px 8px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.9);
  color: var(--default-text-color);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  user-select: none;
  opacity: 0.8;
  transition: opacity 0.18s ease;
}

.server_onlineline {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.server_players{
  min-width: 25%;
  height: 28px;
  padding: 0 10px;
  border-radius: 9px;
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.08);
  color: var(--custom-text-color);
  font-weight: 700;
  opacity: 0.8;
  transition: opacity 0.18s ease;
  user-select: none;
  font-size: 12.5px;

  /* важно: создаём отдельный stacking context, чтобы слои работали предсказуемо */
  isolation: isolate;

  /* дефолты переменных */
  --fill: 0%;
  --fillColor: var(--green);
}
/* ====== Animated fill (game vibe) ====== */
@keyframes monFillStripes {
  0%   { background-position: 0 0,   0 0; }
  100% { background-position: 40px 0, 200% 0; }
}

.server_players[data-has-players="1"]::before{
  /* 2 слоя: 1) диагональные полосы, 2) бегущий блик */
  background-image:
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.18) 0px,
      rgba(255,255,255,0.18) 8px,
      rgba(255,255,255,0.00) 8px,
      rgba(255,255,255,0.00) 16px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,0.00) 0%,
      rgba(255,255,255,0.28) 50%,
      rgba(255,255,255,0.00) 100%
    );

  /* базовый цвет заливки */
  background-color: var(--fillColor, var(--green));

  /* размеры/позиции слоёв */
  background-size: 24px 100%, 200% 100%;
  background-repeat: repeat, no-repeat;
  background-blend-mode: overlay, screen;

  /* постоянная анимация */
  animation: monFillStripes 2.2s linear infinite;
  will-change: background-position;
}

/* если пользователь просит меньше анимаций */
@media (prefers-reduced-motion: reduce){
  .server_players[data-has-players="1"]::before{
    animation: none;
  }
}

/* ЗАЛИВКА */
.server_players::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;

  width: 0;
  background: var(--fillColor, var(--green));
  border-radius: inherit;
  pointer-events: none;

  z-index: 0;
  transition: width 250ms ease;
  will-change: width;
}

/* если игроки есть — ширина = max(6px, процент) */
.server_players[data-has-players="1"]::before{
  width: max(6px, var(--fill, 0%));
}

/* ЛЁГКИЙ БЛИК ПОВЕРХ (не перекрывает заливку полностью) */
.server_players::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(0,0,0,0));
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

/* ТЕКСТ ПОВЕРХ ВСЕГО */
.server_players_count{
  position: relative;
  z-index: 2;
  line-height: 1;
  font-size: 12.5px;
  white-space: nowrap;
}


@media (max-width: 768px) {
  .server_players {
    height: 26px;
  }
  .server_players_count {
    font-size: 12.5px;
  }
}

.server_block:hover .map_block,
.server_block:hover .server_cat_badge,
.server_block:hover .server_players {
  opacity: 1;
}

.server_buttons_bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30px;
  display: flex;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
}

.server_button_left,
.server_button_right {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--default-text-color);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server_button_left {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.server_button_left svg,
.server_button_right svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  flex: 0 0 auto;
}

.server_button_left:hover,
.server_button_right:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--span-color);
}

.server_buttons_bottom button {
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}

@media (max-width: 768px) {
  .server_data {
    padding: 10px 12px 44px;
  }
  .server_buttons_bottom {
    height: 36px;
  }
  .server_button_left,
  .server_button_right {
    font-size: 10px;
  }
}

.modal-card__footer .modal-btn,
.modal-card__footer .modal-btn_copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--transparent-2-w, rgba(255, 255, 255, 0.06));
  color: var(--default-text-color);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.modal-card__footer .modal-btn svg,
.modal-card__footer .modal-btn_copy svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex: 0 0 auto;
}

.modal-card__footer .modal-btn {
  background: var(--button, rgba(255, 255, 255, 0.08));
}

.modal-card__footer .modal-btn:hover,
.modal-card__footer .modal-btn_copy:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);
  color: var(--span-color, var(--span));
  transform: translateY(-1px);
}

.modal-card__footer .modal-btn:active,
.modal-card__footer .modal-btn_copy:active {
  transform: translateY(0);
}
.server_block:not(.is-loading) .server_name > svg {
  display: none !important;
}
.servers_filter_right{
  display: flex;
  gap: 10px;
  align-items: center;
}

.servers_total_online{
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  border-radius: 4px;
  user-select: none;
}

.servers_total_text{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--text-custom);
  opacity: 0.85;
  white-space: nowrap;
}

.servers_total_value{
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
}

.servers_filter_right{
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 6px;
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.20);
}

.servers_total_online{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  height: 32px;
  padding: 0 14px;

  user-select: none;

  border-right: 1px solid rgba(255, 255, 255, 0.10);
  margin-right: 6px;
}

.servers_total_icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.servers_total_icon svg{
  width: 18px;
  height: 18px;
  fill: currentColor;
  opacity: 0.95;
}

.servers_total_value{
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

a#updateservers{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 32px;
  width: 44px;
  border-radius: 10px;

  background: transparent;
  cursor: pointer;

  transition: background 0.18s ease, transform 0.18s ease;
}

a#updateservers:hover{
  background: rgba(255, 255, 255, 0.06);
}

a#updateservers:active{
  transform: scale(0.98);
}

a#updateservers svg{
  width: 18px;
  height: 18px;
  fill: var(--text-custom);
  opacity: 0.95;
}

a#updateservers .spinner{
  width: 18px;
  height: 18px;
}

a#updateservers .spinner .path{
  stroke: var(--text-custom);
  stroke-linecap: round;
  stroke-dasharray: 90, 140;
  stroke-dashoffset: 0;
}
/* Wi-Fi pulse animation (only for TOTAL ONLINE icon) */
.servers_total_icon svg path{
  opacity: 0.28;
}

/* точку оставим постоянно яркой */
.servers_total_icon svg path:nth-child(1){
  opacity: 1;
}

/* внутренняя дуга */
.servers_total_icon svg path:nth-child(2){
  animation: wifiPulse 1.35s ease-in-out infinite;
  animation-delay: 0.15s;
}

/* внешняя дуга */
.servers_total_icon svg path:nth-child(3){
  animation: wifiPulse 1.35s ease-in-out infinite;
  animation-delay: 0.35s;
}

@keyframes wifiPulse{
  0%, 100% { opacity: 0.25; }
  45%      { opacity: 1; }
}

@media (prefers-reduced-motion: reduce){
  .servers_total_icon svg path:nth-child(2),
  .servers_total_icon svg path:nth-child(3){
    animation: none;
    opacity: 0.85;
  }
}
.servers_total_online{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center;
}

/* иконка */
.servers_total_icon{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 18px;
}

.servers_total_icon svg{
  display: block !important;
      margin-bottom: 5px;
}
.servers_filter_right{
  display: inline-flex;
  align-items: center;

  padding: 2px;             
  gap: 4px;                 
  border-radius: 12px;      

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);

    margin: 1px 0px;
  box-shadow: none;
}

.servers_total_online{
  height: 32px;             
  margin-right: 4px;         
}

.servers_total_icon svg{
  display: block !important;
  transform: translateY(1px);      
}
