@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Manuale:ital,wght@0,300..800;1,300..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

.con_tg111 i {
  font-size: 15px !important;
  color: rgb(153, 143, 187) !important;
}

main {
  margin-top: 115px;
  width: 98%;
  padding: 10px;
  border-radius: 20px;
  background: rgb(40, 40, 40);
  margin-bottom: 50px;
}

@media (max-width: 900px) {
  main {
    margin-top: 10px;
    margin-bottom: 240px;
  }
}
@media (max-width: 900px) {
  footer {
    bottom: 160px !important;
    opacity: 0.8;
  }
}

.main_top {
  margin-left: 15px;
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 15px;
  gap: 20px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.773);
  align-items: center;
}

@media (max-width: 600px) {
  .main_top {
    margin-top: -25px;
    font-weight: 600;
    font-size: 17px;
  }
}

.main_top > span {
  font-size: 20px;
  font-weight: 700;
  color: rgb(135, 69, 252);
}

.main_flex {
  background-color: #00000015;
  border-radius: 30px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
  align-items: center;
}

@media (max-width: 600px) {
  .main_flex {
    gap: 10px;
    margin-top: 15px;
  }
}

.profile {
  width: 100%;
  border-radius: 30px;
  padding: 10px;
  display: flex;
  gap: 20px;
  background: linear-gradient(
    -90deg,
    rgb(41 41 41 / 85%),
    rgb(94 67 255 / 10%)
  );
  align-items: center;
  cursor: pointer;
}

@media (max-width: 600px) {
  .profile {
    gap: 9px;
  }
}

.profile:hover {
  transform: scale(0.98);
  opacity: 0.8;
}

.number {
  opacity: 0.7;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 28px;
  width: 28px;
  font-size: 17px;
  font-weight: 550;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.773);
  background: rgb(125 125 125 / 45%);
  box-shadow: 0 0 30px rgba(186, 89, 255, 0.233);
  margin-right: -10px;
}

@media (max-width: 600px) {
  .number {
    height: 23px;
    width: 23px;
    font-size: 12px;
    margin-right: 0px;
  }
}

.avatars {
  border-radius: 50%;
  height: 65px;
  width: 65px;
}

@media (max-width: 600px) {
  .avatars {
    height: 60px;
    width: 60px;
  }
}

.con_info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.con_info > h1 {
  font-size: 25px;
  color: rgba(231, 231, 231, 0.925);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 600px) {
  .con_info > h1 {
    gap: 5px;
    font-size: 17px;
  }
}

.con_infoo {
  display: flex;
  gap: 5px;
}

.con_infoo > div {
  min-width: 60px;
  padding: 5px 5px;
  border-radius: 15px;
  background-color: rgba(0, 0, 0, 0.195);
  font-size: 11px;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  color: rgb(173 91 255);
  background: rgb(123 31 250 / 25%);
}

.con_infoo > .number_offer {
  color: rgb(208 208 208 / 80%);
  background: #cccccc1c;
}

@media (max-width: 600px) {
  .con_infoo > div {
    min-width: 60px;
    font-size: 6px;
    font-weight: 600;
    padding: 3px;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}

.con_info_two {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

@media (max-width: 600px) {
  .con_info_two {
    gap: 3px;
  }
}

.con_info_two > .block {
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.416);
  justify-content: center;
  align-items: center;
  min-width: 100px;
  background-color: rgb(255 255 255 / 6%);
}

.search-results-grid .profile.search-result {
  width: 100%;
  min-width: 300px;
  max-width: 350px;
  margin: 0 auto;
  box-sizing: border-box;
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 350px));
  gap: 15px;
  justify-content: center;
}

.search-results-grid .profile.search-result .con_info {
  min-width: 0;
  flex: 1;
}

.search-results-grid .profile.search-result .con_info > h1 {
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-results-grid .profile.search-result .con_infoo > div {
  min-width: 45px;
  width: auto;
  white-space: nowrap;
}

.search-results-grid .profile.search-result .con_info_two .block {
  min-width: 70px;
}
@media (max-width: 600px) {
  .con_info_two > .block {
    padding: 10px;
    border-radius: 15px;
    min-width: 20px;
  }
}

.block > h1 {
  color: rgba(149, 0, 255, 0.886);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

@media (max-width: 600px) {
  .block > h1 {
    font-size: 12px;
  }
}

.block:nth-child(2) > h1 {
  color: rgb(255, 201, 4);
}
h1 > span {
  color: rgb(255, 201, 4);
}

@media (max-width: 600px) {
  .material-symbols-outlined {
    font-size: 13px;
  }
}

.block > p {
  color: rgba(255, 255, 255, 0.658);
  font-size: 10px;
  font-weight: 600;
}

@media (max-width: 600px) {
  .block > p {
    font-size: 8px;
  }
}

.premium-verified {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: rgb(135, 36, 255) !important;
  font-size: 20px !important;
  font-variation-settings: "FILL" 1 !important;
  vertical-align: middle !important;
  line-height: 1 !important;
}

/* ===== АНИМАЦИЯ БЛЕСКА ДЛЯ ПРЕМИУМ-ПОЛЬЗОВАТЕЛЕЙ ===== */
.profile[data-premium="true"] {
  position: relative;
  overflow: hidden;
}

.profile[data-premium="true"]::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(196, 164, 255, 0.068) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: premiumShine 10s infinite;
  pointer-events: none;
}

@keyframes premiumShine {
  0% {
    left: -60%;
  }
  20% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
}

@media (max-width: 430px) {
  .gradient-avatar {
    font-size: 20px !important;
  }
}

.material-symbols-outlined {
  transition: all 0.2s ease;
  font-variation-settings: "FILL" 1 !important;
}

.search-block {
  margin-bottom: 30px;
  background: rgb(36 36 36);
  border-radius: 30px;
  padding: 15px;
}

.search-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 15px;
  display: none;
}

.search-header span {
  color: rgb(135, 69, 252);
  font-size: 28px;
}

.search-header h2 {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.773) !important;
  margin: 0;
}

.search-input-container {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.search-input-container > span {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.774);
  pointer-events: none;
}

#search-user-input {
  width: 100%;
  padding: 15px 18px 14px 48px;
  border-radius: 17px;
  background: rgba(102, 102, 102, 0.225);
  font-size: 15px;
  outline: none;
  font-weight: 550;
  transition: all 0.3s;
  box-sizing: border-box;
}

#search-user-input:focus {
  outline: none;
  border-color: rgb(135, 69, 252);
  background: #1c1c1c;
}

#search-user-btn {
  padding: 10px 30px;
  border-radius: 30px;
  box-shadow: 0px 0px 40px 0px rgba(103, 23, 232, 0.418);
  background: linear-gradient(
    151.96deg,
    rgba(123, 31, 250, 0.94) -2.612%,
    rgba(60, 22, 158, 0.94) 128.153%
  );
  border: none;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 15px;
}

#search-user-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(135, 69, 252, 0.5);
}

#search-user-btn:active {
  transform: scale(0.98);
}

#search-user-btn span {
  font-size: 20px;
}

#search-results {
  display: none;
  margin-bottom: 30px;
  animation: fadeIn 0.4s ease;
}

#search-results h3 {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
  font-weight: 500;
}

#search-results-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
}

.search-results-grid .profile.search-result {
  background: linear-gradient(
    -90deg,
    rgba(0, 0, 0, 0),
    rgba(135, 69, 252, 0.08)
  );
  border: 2px solid rgba(135, 69, 252, 0.15);
  transition: all 0.3s ease;
  margin: 0;
}

.search-results-grid .profile.search-result:hover {
  border: 2px solid rgb(135, 69, 252);
  background: linear-gradient(
    -90deg,
    rgba(0, 0, 0, 0),
    rgba(135, 69, 252, 0.15)
  );
  transform: scale(1.02) translateY(-2px);
}

.search-results-grid .number.search-number {
  background-color: rgba(135, 69, 252, 0.25);
  color: white;
  font-weight: 700;
  font-size: 18px;
}

.loading-search {
  grid-column: 1/-1;
  text-align: center;
  padding: 40px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
}

#no-results {
  display: none;
  text-align: center;
  padding: 40px;
  background: rgb(40, 40, 40);
  border-radius: 20px;
  margin-bottom: 30px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  animation: fadeIn 0.4s ease;
}

#no-results span {
  font-size: 50px;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 15px;
  display: block;
}

#no-results p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .search-block {
    padding: 15px;
  }

  .search-header h2 {
    font-size: 14px !important;
  }

  .search-header span {
    font-size: 20px;
  }

  #search-user-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 13px;
  }

  #search-user-btn {
    width: 100%;
    justify-content: center;
    padding: 8px 20px;
  }

  .search-results-grid {
    grid-template-columns: 1fr;
  }

  #no-results {
    padding: 20px 15px;
  }

  #no-results span {
    font-size: 40px;
  }

  #no-results p {
    font-size: 15px;
  }
}
@media (max-width: 600px) {
  .con_info > h1 {
    white-space: normal;
    font-size: 20px;
    word-break: break-word;
    line-height: 1.2;
  }
}
@media (max-width: 400px) {
  .con_info > h1 {
    max-width: 90px;
  }
}
@media (max-width: 600px) {
  .con_info {
    width: auto;
    flex: 1;
    min-width: 0;
  }

  .con_info > h1 {
    max-width: 99%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .con_infoo {
    display: flex;
    gap: 5px;
    width: 80%;
    flex-direction: row;
  }

  .con_infoo > div {
    opacity: 0.8;
    min-width: 70px;
    width: auto;
    flex: 0 1 auto;
    padding: 3px 5px;
    font-size: 9px;
    white-space: nowrap;
    text-align: center;
  }

  .id,
  .number_offer {
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }
}
@media (max-width: 500px) {
  .data_prof {
    display: none !important;
  }
}

.block_channel {
  background-color: rgba(0, 0, 0, 0.307);
  border-radius: 30px;
  padding: 10px;
  width: 95%;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 10px;
  cursor: pointer;
}

.block_channel:hover {
  transform: scale(1.02);
}

.ava_channel {
  width: 50px;
  height: 50px;
  background-color: red;
  border-radius: 50%;
}

.info_channel {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 5px;
}
.info_channel > h1 {
  font-size: 15px;
  font-weight: 600;
}
.info_channel > p {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.7;
  width: 130px;
}

.end_channel {
  display: flex;
  height: 100%;
  justify-content: space-between;
  align-items: end;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  margin-right: 10px;
}

.end_channel > p {
  opacity: 0.7;
  font-weight: 600;
  font-size: 8px;
}

.category_chan_block {
  display: flex;
  align-items: center;
  font-size: 12px;
  gap: 3px;
  color: rgba(126, 32, 255, 0.85);
  padding: 5px 8px;
  height: 20px;
  min-height: 25px;
  border: 1.5px solid rgba(126, 32, 255, 0.85);
  border-radius: 15px;
  background: rgba(84, 9, 184, 0.2);
  font-weight: 550;
  white-space: nowrap;
  box-sizing: border-box;
}

.ctg_chnl {
  font-size: 9px !important;
}
@media (max-width: 900px) {
  .search-block {
    position: fixed !important;
    left: 8px !important;
    width: 98% !important;
    background: rgb(40, 40, 40) !important;
    border-radius: 30px 30px 0 0 !important;
    margin: 0 !important;
    padding: 12px 16px 20px !important;
    z-index: 1 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0);
    border: 1px solid rgba(255, 255, 255, 0);
    height: 240px;
  }
  .search-header h2 {
    font-size: 18px !important;
  }

  .search-input-container {
    margin-bottom: 5px !important;
  }
}

.channel-name .offer-highlight {
  display: inline;
  vertical-align: baseline;
  line-height: inherit;
  background-color: rgba(126, 32, 255, 0.3);
  color: #fff;
  border-radius: 4px;
  padding: 0 2px;
  font-weight: 600;
}

.channel-description .offer-highlight {
  font-size: 12px;
  display: inline;
  vertical-align: baseline;
  line-height: inherit;
  background-color: rgba(126, 32, 255, 0.2);
  color: #cacaca;
  border-radius: 4px;
  padding: 0 2px;
  font-weight: 500;
}

.mobile-sort-buttons {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  gap: 8px !important;
  scrollbar-width: thin;
  scrollbar-color: #7a4ef313 rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  width: 100%;
}
@media (max-width: 900px) {
  .mobile-sort-buttons {
    width: 85%;
  }
}
.mobile-sort-buttons::-webkit-scrollbar {
  height: 3px;
}
.mobile-sort-buttons::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.mobile-sort-buttons::-webkit-scrollbar-thumb {
  background: #7a4ef3;
  border-radius: 10px;
}

.sort-criterion-btn {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: 20px;
  background: rgba(102, 102, 102, 0.225);
  color: rgb(200, 200, 200);
  font-size: 15px;
  font-weight: 550;
  cursor: pointer;
  transition: all 0.3s ease;
}
@media (max-width: 900px) {
  .sort-criterion-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 13px;
    padding: 10px 10px;
  }
}
@media (max-width: 600px) {
  .sort-criterion-btn {
    padding: 7px;
    gap: 5px;
  }
}

.sort-criterion-btn.active-sort {
  background: linear-gradient(
    151.96deg,
    rgba(123, 31, 250, 0.94) -2.612%,
    rgba(60, 22, 158, 0.94) 128.153%
  );
  border: 1px solid #7a4ef3;
  color: white;
  box-shadow: 0 0 15px rgba(102, 23, 232, 0.5);
}

.sort-criterion-btn:hover {
  transform: scale(1.02);
  border-color: #7a4ef3;
}
@media (min-width: 901px) {
  .mobile-sort-buttons {
    display: none;
  }
}
@media (max-width: 900px) {
  .search-block {
    position: fixed !important;
    bottom: 110px;
    left: 5% !important;
    right: 0 !important;
    background: rgb(40 40 40 / 95%) !important;
    margin: 0 !important;
    padding: 0px !important;
    border-radius: 30px !important;
    z-index: 1 !important;
    top: auto !important;
    height: 44px;
    width: 90% !important;
    transition:
      transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1),
      opacity 0.3s,
      visibility 0.3s;
  }
}
@media (max-width: 400px) {
  .search-block {
    bottom: 97px;
  }
}
@media (max-width: 600px) {
  #search-user-input {
    font-size: 12px;
  }
}
.search-block.hide-mobile-filters {
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1),
    opacity 0.3s,
    visibility 0.3s;
}
.scroll-top-btn {
  right: 30px !important;
}
.search-confirm-btn {
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.search-confirm-btn:hover {
  transform: translateY(-50%) scale(1.05);
}
.search-confirm-btn:active {
  transform: translateY(-50%) scale(0.95);
}
.search-confirm-btn {
  position: absolute;
  right: 0px;
  top: 49.5%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgb(135, 69, 252);
  border: medium;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 5;
}
@media (min-width: 600px) {
  .search-confirm-btn {
    right: -1px;
    top: 50%;
    width: 43px;
    height: 43px;
  }
}

.offer-highlight {
  display: inline;
  vertical-align: baseline;
  line-height: inherit;
  background-color: rgba(126, 32, 255, 0.3);
  color: #ffffffcc !important;
  border-radius: 4px;
  padding: 0 2px;
  font-weight: 600;
  font-size: 20px;
}

.search_circle {
  background: linear-gradient(
    151.96deg,
    rgba(123, 31, 250, 0.94) -2.612%,
    rgba(60, 22, 158, 0.94) 128.153%
  );
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.search_circle > span {
  font-weight: 700;
  font-size: 24px;
}
.search_circle:hover {
  transform: scale(1.1);
}
.con_search_cat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
@media (max-width: 900px) {
  .search-input-container {
    display: none;
  }
  .search-input-container.mobile-search-visible {
    display: flex !important;
  }
}
@media (min-width: 900px) {
  .search_circle {
    display: none;
  }
  .search-block {
    flex-direction: column-reverse !important;
    display: flex;
  }
}

.skeleton {
  background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 8px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-profile {
  background: #2a2a2a;
  border-radius: 30px;
  padding: 15px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .skeleton-profile {
    flex-wrap: wrap;
  }
}

.skeleton-profile .skeleton-avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  flex-shrink: 0;
}

.skeleton-profile .skeleton-info {
  flex: 1;
  min-width: 120px;
}

.skeleton-profile .skeleton-name {
  width: 150px;
  height: 24px;
  margin-bottom: 10px;
}

.skeleton-profile .skeleton-id {
  width: 80px;
  height: 16px;
}

.skeleton-profile .skeleton-stats {
  display: flex;
  gap: 15px;
  margin-left: auto;
}

.skeleton-profile .skeleton-stat {
  width: 80px;
  height: 50px;
  border-radius: 20px;
  background: #2a2a2a;
}

@media (max-width: 600px) {
  .skeleton-profile .skeleton-stats {
    width: 100%;
    margin-left: 0;
    margin-top: 10px;
  }
  .skeleton-profile .skeleton-stat {
    flex: 1;
  }
}
@media (min-width: 1200px) {
  .main_flex {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    width: 100% !important;
  }

  .profile {
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
  }
}
@media (min-width: 1200px) {
  .main_flex {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .profile {
    width: 100% !important;
    margin: 0 !important;
  }
}

.top-controls-wrapper {
  gap: 20px;
  align-items: stretch;
  margin-bottom: 30px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.top-controls-wrapper .search-block {
  margin-bottom: 0;
  min-width: 0;
}

.info-block {
  background: rgba(36, 36, 36, 0.999);
  border-radius: 30px;
  padding: 20px;

  background-image: url(/static/img/premium.JPEG);
  background-position: 50% 20%;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.85;
  cursor: pointer;
}

@media (max-width: 1290px) {
  .info-block {
    background-position: 50% 50%;
  }
}

.info-block:hover {
  opacity: 1;
}
@media (max-width: 900px) {
  .top-controls-wrapper {
    flex-direction: column;
    gap: 15px;
  }

  .top-controls-wrapper .search-block {
    margin-bottom: 0;
  }

  .info-block {
    display: none;
  }
}
