.donators-container {
  display: flex;
  gap: 5px;
  justify-content: space-between;
  padding: 10px;
  flex-direction: column;
}

.donate_left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.top_three_avatar_donater {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 20px 0 0;
}

.top_border3 img {
  outline: 2px solid var(--top-three);
}

.donate_user {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 20px 0 0;
}

.top_donater {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  color: var(--text-custom);
}

.top_three_nick3 {
  font-weight: 700;
  color: var(--top-three);
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.count_of_donate_total {
  display: flex;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--money);
  background-color: var(--money-bg);
  padding: 10px 15px;
  border-radius: 6px;
  margin-right: 13px;
  min-width: max-content;
}

.count_of_donate_total svg {
  width: 13px;
  fill: var(--money);
}

.place_img_top1 {
  background-image: url(/app/modules/module_page_lk_top/assets/img/1.svg);
  background-position: center;
  background-repeat: no-repeat;
  width: 27px;
  margin-left: -9px;
  color: rgb(255 255 255 / 0%) !important;
}

.place_img_top2 {
  background-image: url(/app/modules/module_page_lk_top/assets/img/2.svg);
  background-position: center;
  background-repeat: no-repeat;
  width: 27px;
  margin-left: -9px;
  color: rgb(255 255 255 / 0%) !important;
}

.place_img_top3 {
  background-image: url(/app/modules/module_page_lk_top/assets/img/3.svg);
  background-position: center;
  background-repeat: no-repeat;
  width: 27px;
  margin-left: -9px;
  color: rgb(255 255 255 / 0%) !important;
}

.donate_count {
  color: var(--money) !important;
  font-weight: 700 !important;
}

.top_donate_block {
  display: flex;
  height: 50px;
  background-color: var(--bottom-line-table);
  align-items: center;
  padding: 0 10px;
  border-radius: 12px;
  gap: 10px;
  justify-content: space-between;
}

.top_three_avatar_donater {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 20px 0 0;
}

.top_three_avatar_donater img {
  height: 35px;
  width: 35px;
  border-radius: 10px;
}

.top_three_avatar_donater span {
  margin-top: 12px;
  font-weight: 700;
  width: 130px;
  display: flex;
  justify-content: center;
  overflow: hidden !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top_donate_place_count {
  display: flex;
  color: var(--top-one);
  font-weight: 800;
  font-size: 45px;
  z-index: 2;
}

.top_three_place_donate1 {
  font-size: 16px;
  font-family: 'Unbounded';
  font-weight: 600;
  color: var(--top-one);
}

.top_three_place_donate2 {
  font-size: 16px;
  font-family: 'Unbounded';
  font-weight: 600;
  color: var(--top-two);
}

.top_three_place_donate3 {
  font-size: 16px;
  font-family: 'Unbounded';
  font-weight: 600;
  color: var(--top-three);
}

.top_border1 img {
  outline: 2px solid var(--top-one);
}

.top_border2 img {
  outline: 2px solid var(--top-two);
}

.top_border3 img {
  outline: 2px solid var(--top-three);
}

.donate_user {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 20px 0 0;
}

.top_three_nick1 {
  font-weight: 700;
  color: var(--top-one);
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top_three_nick2 {
  font-weight: 700;
  color: var(--top-two);
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top_three_nick3 {
  font-weight: 700;
  color: var(--top-three);
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.top_donater {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  color: var(--text-custom);
}

.avatar_frame {
  position: absolute !important;
  transform: scale(1.18);
  border-radius: 0 !important;
  z-index: 2;
  box-shadow: none !important;
  outline: none !important;
}

.top_donate_infoblock {
  display: flex;
  flex-direction: row;
  padding: 10px;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.donators-list-con {
  display: flex;
  gap: 10px;
  width: 1100px;
}

.header-top-donators {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header-top-donators h3 {
  display: flex;
  color: var(--text-custom);
  font-weight: 600;
  font-size: 16px;
  font-family: 'Unbounded';
  gap: 5px;
  cursor: pointer;
  transition: .3s ease-in-out;
}

.header-top-donators h3>svg {
  fill: currentColor;
  width: 16px;
  display: none;
}

.header-top-donators h3:hover {
  color: var(--span);
}

.main-donators-block {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.timer-don-btns {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: 9px;
  background: var(--span-low);
  color: var(--span);
  transition: .3s linear;
  outline: 2px solid transparent;
  cursor: pointer;
  font-family: 'SF Pro Display';
  font-weight: 500;
  font-size: 14px;
}

.timer-don-btns:hover {
  outline: 2px solid var(--span);
  background: var(--span-middle);
}

.timer-don-btns.active {
  outline: 2px solid transparent;
  background: var(--span);
  color: var(--text-default);
}

.timer-don-btns.active:hover {
  background: var(--span);
  color: var(--text-default);
}

.time-buttons {
  display: flex;
  gap: 7px;
  margin-top: 5px;
}

.no-data {
  display: flex;
  font-family: 'unbounded';
  font-weight: 500;
  font-size: 15px;
  padding: 5px;
  background: linear-gradient(45deg, var(--span-middle) 5%, transparent 95%);
  border-radius: 7px;
  width: 500px;
}

/* Mobile adapt */

@media (min-width: 100px) and (max-width: 1175px) {
  .donators-list-con {
    flex-direction: column;
    width: 100%;
  }

  .main-donators-block {
    flex-direction: column;
  }

  .main-donators-block>.pay_button {
    width: 100%;
  }
}

@media (min-width: 100px) and (max-width: 770px) {
  .time-buttons {
    flex-direction: column;
    width: 100%;
  }
}

@media (min-width: 100px) and (max-width: 500px) {
  .no-data {
    font-size: 12px;
    width: 280px;
  }
}

@media (min-width: 100px) and (max-width: 425px) {
  .donate_user {
    font-size: 11px;
  }

  .count_of_donate_total {
    font-size: 10px;
  }

  .top_three_nick1,
  .top_three_nick2,
  .top_three_nick3 {
    max-width: calc(45px + (130 - 45) * (100vw - 320px) / (425 - 320));
  }
}

@media (min-width: 100px) and (max-width: 320px) {
  .count_of_donate_total {
    display: none;
  }
}

.top_three_place_count {
  margin: 0 15px;
  display: flex;
  justify-content: center;
  width: 13.44px;
}

.count_of_donate_total {
    display: flex;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--money);
    background-color: var(--money-bg);
    padding: 10px 15px;
    border-radius: 6px;
    margin-right: 13px;
    /* Новые свойства */
    box-sizing: border-box; /* Учитываем padding в ширине */
    white-space: nowrap; /* Запрещаем перенос текста */
    justify-content: center; /* Центрируем содержимое */
    transition: width 0.3s; /* Плавное изменение ширины */
}

.top_donate_block {
    display: flex;
    height: 50px;
    background-color: var(--bottom-line-table);
    align-items: center;
    padding: 0 10px;
    border-radius: 12px;
    gap: 10px;
    /* Новое свойство */
    justify-content: space-between; /* Равномерное распределение */
}