.avatar_frame {
  position: absolute !important;
  transform: scale(1.18);
  border-radius: 0 !important;
  z-index: 2;
  box-shadow: none !important;
  outline: none !important;
}

.avatar_frame_small {
  width: 26px !important;
  height: 26px !important;
  position: absolute !important;
  transform: scale(1.18);
  border-radius: 0 !important;
  z-index: 2;
  box-shadow: none !important;
  outline: none !important;
}

.top_players_head {
  padding: 17px 20px;
  display: grid;
  grid-template-columns: 0.2fr 0.2fr 0.6fr 0.3fr 0.3fr 0.3fr 0.3fr 0.2fr 0.3fr 0.5fr 0.5fr;
  justify-items: start;
  background: var(--input-form);
  margin-bottom: 10px;
  border-radius: 12px;
}

.top_players_head span {
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-custom);
  opacity: 0.5;
  display: flex;
  align-items: center;
}

.top_players_head svg {
  width: 14px;
  height: 14px;
  fill: var(--text-custom);
}

.top_players_list_body li {
  background: var(--bg-table);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 0.2fr 0.2fr 0.6fr 0.3fr 0.3fr 0.3fr 0.3fr 0.2fr 0.3fr 0.5fr 0.5fr;
  padding: 20px;
  transition: 0.3s;
  position: relative;
  justify-items: start;
  align-items: center;
}

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

.top_players_list_body li span {
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  color: var(--text-custom);
  z-index: 2;
  position: relative;
}

.top_players_rank {
  width: 64px;
  height: auto;
}

.top_players_avatar {
  width: 26px !important;
  height: 26px !important;
  border-radius: 4px;
  outline: 2px solid var(--transparent);
  position: relative;
}

.user_online_status {
  position: relative;
  display: none;
}

.user_online_status::before {
  content: "";
  position: absolute;
  left: -26px;
  bottom: -13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.top_player_top:before {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  height: 100%;
  width: 262px;
  z-index: 0;
  border-radius: 4px;
}

li.pointer.player_top_login {
  background: linear-gradient(-270deg, var(--span-low), transparent);
  margin-bottom: 5px;
  border: 1px solid var(--span-low);
}

span.selected {
  color: var(--span);
  opacity: 1;
  font-weight: 700;
}

.hvr:hover {
  opacity: 1;
}

.top_list_scroll {
  height: 571px;
  overflow: hidden;
  overflow-y: scroll;
  margin-bottom: 5px;
}

.no-scrollbar {
  scrollbar-width: none;
}

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

.servers_wrap {
  flex-wrap: wrap;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: row;
  margin-bottom: -5px;
}

.servers_button {
  padding: 12px 18px;
  transition: 0.3s;
  margin-right: 6px;
  margin-bottom: 7px;
  color: var(--text-custom);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  border-radius: 4px;
  background: var(--button);
  cursor: pointer;
}

.servers_button:hover {
  color: var(--span);
  background: var(--button-hover);
}

.server_buttons_active {
  color: var(--span);
  background: var(--button);
}

@media (min-width: 769px) and (max-width: 1500px) {
  .top_players_head {
    grid-template-columns: 0.2fr 0.2fr 0.6fr 0.3fr 0.3fr 0.3fr 0.3fr 0.2fr 0.3fr;
  }

  .top_players_list_body li {
    grid-template-columns: 0.2fr 0.2fr 0.6fr 0.3fr 0.3fr 0.3fr 0.3fr 0.2fr 0.3fr;
    position: relative;
  }

  span.col_11,
  span.col_10 {
    display: none;
  }

  .top_players_list_body li .col_11,
  .top_players_list_body li .col_10 {
    display: none;
  }
}

@media (max-width: 768px) {
  .top_players_head {
    grid-template-columns: 0.2fr 0.6fr 0.3fr 0.3fr;
  }

  .top_players_list_body li {
    grid-template-columns: 0.2fr 0.6fr 0.3fr 0.3fr;
  }

  span.col_11,
  span.col_10,
  span.col_9,
  span.col_8,
  span.col_7,
  span.col_6,
  span.col_2 {
    display: none;
  }

  .top_players_list_body li .col_11,
  .top_players_list_body li .col_10,
  .top_players_list_body li .col_9,
  .top_players_list_body li .col_8,
  .top_players_list_body li .col_7,
  .top_players_list_body li .col_6,
  .top_players_list_body li .col_2 {
    display: none;
  }
}

/* -------------------- NEW ---------------------- */

.top_block_header {
  display: flex;
  position: relative;
  height: max-content;
  padding: 36px 30px;
  font-family: "Unbounded";
  font-size: 24px;
  font-weight: 700;
  color: var(--text-custom);
}
@media (max-width: 768.9px) {
  .top_block_header:before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    background-image: url("/../app/modules/module_page_leaderboard/assets/img/agent_top.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    height: 92%;
    width: 61%;
    z-index: 2;
    pointer-events: none;
  }
}
@media (min-width: 769px) {
  .top_block_header:before {
    content: "";
    position: absolute;
    right: -12px;
    bottom: 0;
    background-image: url("/../app/modules/module_page_leaderboard/assets/img/agent_top.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    height: 101%;
    width: 66%;
    z-index: 2;
    pointer-events: none;
  }
}

.top_block_header:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-image: linear-gradient(
    to left bottom,
    var(--text-custom),
    transparent
  );
  z-index: 0;
  border-radius: 16px;
  opacity: 0.2;
}

.top_block_header span {
  font-size: 14px;
  font-weight: 500;
  font-family: "SF Pro Display", sans-serif;
}

.top_block_content {
  display: flex;
  width: 100%;
  height: max-content;
  background: var(--card);
  border-radius: 16px;
  cursor: pointer;
  flex-direction: column;
  padding: 20px;
  gap: 15px;
}

.header_top-block-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  z-index: 1;
}

.users_data {
  display: flex;
  flex-direction: row;
  gap: 15px;
}

.users_data img {
  height: 46px;
  width: 46px;
  border-radius: 4px;
  outline: 3px solid var(--transparent);
}

.place_image {
  width: auto;
  height: 46px;
}

.bottom-block-content img {
  width: 100px;
  height: auto;
}

.bottom-block-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  z-index: 1;
}

.rating_value {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 14px;
  font-weight: 600;
}

.users_nickname {
  font-size: 18px;
  font-weight: 700;
  font-family: "Unbounded";
  max-width: 190px;
  text-overflow: ellipsis;
  overflow: hidden;
  text-wrap: nowrap;
}

.users_top_place {
  font-size: 13px;
  font-weight: 700;
}

.rang_title,
.rang_value {
  color: var(--text-custom);
}

.users_top_place1 {
  color: var(--top-one);
}

.users_top_place2 {
  color: var(--top-two);
}

.users_top_place3 {
  color: var(--top-three);
}

.users_place_nickname {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.back_top1,
.back_top2,
.back_top3 {
  position: relative;
}

.back_top1::before,
.back_top2::before,
.back_top3::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
  border-radius: 16px;
  opacity: 0.15;
}

.back_top1::before {
  background-image: linear-gradient(
    to left bottom,
    var(--top-one),
    transparent
  );
}

.back_top2::before {
  background-image: linear-gradient(
    to left bottom,
    var(--top-two),
    transparent
  );
}

.back_top3::before {
  background-image: linear-gradient(
    to left bottom,
    var(--top-three),
    transparent
  );
}

.top_three_block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 5px 0;
}