/* channels.css - стили для страницы каналов */

.channels-main {
  margin-top: 115px;
  width: 98%;
  padding: 15px;
  border-radius: 20px;
  background: rgb(40, 40, 40);
  overflow-x: visible;
  margin-bottom: 50px;
}

.con_tg111 i {
  font-size: 15px !important;
  color: rgb(153, 143, 187) !important;
}
@media (max-width: 900px) {
  .channels-main {
    margin-top: 10px;
    margin-bottom: 140px;
  }
}

.channels-header {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 15px;
  gap: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.773);
  align-items: center;
}

.channels-header span {
  font-weight: 800;
  color: rgb(135, 69, 252);
}

.channels-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 900px) {
  .channels-categories-side {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }
}
.channels-category-btn {
  justify-content: center !important;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(102, 102, 102, 0.226);
  color: rgb(200, 200, 200);
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
  transition: all 0.3s ease;
}

.channels-category-btn:hover {
  transform: scale(1.01) rotate(1deg) translateY(-1px);
}

.channels-category-btn.active {
  box-sizing: border-box;
  box-shadow: 0px 0px 40px 0px rgb(102 23 232 / 60%);
  background: linear-gradient(
    151.96deg,
    rgba(123, 31, 250, 0.94) -2.612%,
    rgba(60, 22, 158, 0.94) 128.153%
  );
}

.channels-category-btn span {
  font-size: 18px;
  color: rgb(200, 200, 200);
}

.channels-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow-x: visible;
}

.channel-card {
  border-radius: 35px;
  padding: 15px 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
}

.channel-card:hover {
  opacity: 0.9;
  transform: scale(0.99);
}

.channel-card.my-channel {
  border: 1px solid #7a4ef300 !important;
  overflow: visible;
  position: relative;
}

.channel-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.channel-avatar-gradient {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  font-size: 24px;
  flex-shrink: 0;
}

.channel-info {
  flex: 1;
  min-width: 0;
}

.channel-name {
  font-size: 20px;
  font-weight: 600;
  color: #ffffffeb;
  display: flex;
  align-items: start;
  gap: 3px;
  align-items: center;
}

.channel-name span {
  color: #c5c5c5;
}

.channel-description {
  font-weight: 400;
  font-size: 13px;
  color: rgb(255 255 255 / 40%);
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.channel-category-badge {
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.605);
  color: rgba(255, 255, 255, 0.605);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.channel-subscribers {
  margin-right: 15px;
  font-size: 15px;
  font-weight: 550;
  color: rgba(255, 255, 255, 0.605);
  display: flex;
  align-items: center;
  gap: 3px;
  justify-content: flex-start;
}

.channel-subscribers span {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.605);
}

.channel-card.my-channel .channel-actions {
  position: absolute;
  right: 10px;
  top: -1%;
  transform: translateY(-50%);
  z-index: 5;
  margin: 0;
}

.channel-promote-btn {
  background: linear-gradient(
    135deg,
    rgba(92, 10, 199, 0.879),
    rgba(92, 10, 199, 0.258)
  );
  border: 1.5px solid #7a4ef3;
  padding: 3px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  color: #8f66ff;
  white-space: nowrap;
  box-shadow: 0 10px 50px rgba(154, 52, 255, 0.135);
  opacity: 1;
}

.channel-promote-btn:hover {
  opacity: 1 !important;
  transform: scale(1.1);
  background: linear-gradient(
    135deg,
    rgba(124, 24, 255, 0.838),
    rgba(127, 29, 255, 0.377)
  );
  color: #9771ff;
}

.channel-promote-btn .material-symbols-outlined {
  font-size: 25px;
  color: #8f66ff;
}

.no-channels {
  text-align: center;
  padding: 50px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
}

.channels-loading {
  text-align: center;
  padding: 50px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.channels-loading .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(122, 78, 243, 0.3);
  border-top-color: #7a4ef3;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.add-channel-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #7a4ef3, #5a2ae0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(122, 78, 243, 0.4);
  transition: all 0.3s ease;
  z-index: 100;
}

.add-channel-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(122, 78, 243, 0.6);
}

.add-channel-fab .material-symbols-outlined {
  font-size: 28px;
}

.channel-add-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.channel-add-modal-content {
  background: #2a2a2a;
  border-radius: 30px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  border: 1px solid #7a4ef3;
  animation: slideUp 0.3s ease;
}

.channel-add-modal-content h2 {
  color: #7a4ef3;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.channel-add-modal-content h2 .material-symbols-outlined {
  font-size: 28px;
}

.channel-add-modal-content .input-group {
  margin-bottom: 20px;
}

.channel-add-modal-content input,
.channel-add-modal-content select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 30px;
  background: #1e1e1e;
  border: 1.5px solid #333;
  color: white;
  font-size: 14px;
  transition: all 0.3s;
  box-sizing: border-box;
}

.channel-add-modal-content input:focus,
.channel-add-modal-content select:focus {
  outline: none;
  border-color: #7a4ef3;
  background: #252525;
}

.channel-add-modal-content select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 20px;
}

.channel-add-modal-buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.channel-add-modal-buttons button {
  flex: 1;
  padding: 12px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.channel-add-modal-buttons .cancel-btn {
  background: #444;
  color: white;
}

.channel-add-modal-buttons .cancel-btn:hover {
  background: #555;
}

.channel-add-modal-buttons .add-btn {
  background: linear-gradient(160deg, rgb(107, 0, 184), #7e20ff);
  color: white;
}

.channel-add-modal-buttons .add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(122, 78, 243, 0.4);
}

.channel-add-modal-buttons .add-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.channel-toast.error {
  border-color: #ff6b6b;
}

.channel-toast .material-symbols-outlined {
  font-size: 20px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
@media (max-width: 700px) {
  .channel-card {
    padding: 10px 13px;
    gap: 15px;
  }

  .channel-name {
    font-size: 17px;
  }

  .channel-description {
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .channel-stats {
    gap: 5px;
  }

  .channel-category-badge {
    margin-right: 5px !important;
    font-size: 10px;
    padding: 2px 5px;
  }

  .add-channel-fab {
    bottom: 100px;
    right: 20px;
    width: 48px;
    height: 48px;
  }

  .add-channel-fab .material-symbols-outlined {
    font-size: 24px;
  }

  .channel-add-modal-content {
    padding: 20px;
  }

  .channel-add-modal-content h2 {
    font-size: 20px;
  }

  .channel-add-modal-content input,
  .channel-add-modal-content select {
    padding: 12px 15px;
    font-size: 13px;
  }

  .channel-card.my-channel .channel-actions {
    margin-top: -68% !important;
    left: 10px;
  }

  .channel-promote-btn {
    padding: 3px;
  }

  .channel-promote-btn .material-symbols-outlined {
    font-size: 20px;
  }
}
@media (max-width: 550px) {
  .channel-card {
    flex-wrap: wrap;
  }

  .channel-stats {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-top: -15px;
  }

  .channel-category-badge {
    margin-left: auto;
  }

  .channel-subscribers {
    font-size: 15px;
  }

  .channel-card.my-channel .channel-actions {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 5px;
  }
}
@media (max-width: 700px) {
  .channels-categories {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    gap: 8px;
    padding: 20px 0 25px 0;
    margin-bottom: 15px;
  }

  .channels-categories::-webkit-scrollbar {
    height: 3px;
  }

  .channels-categories::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
  }

  .channels-categories::-webkit-scrollbar-thumb {
    background: #7a4ef3;
    border-radius: 10px;
  }

  .channels-category-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 6px 14px;
    font-size: 13px;
  }
}

.channel-card.empty-channel {
  background: linear-gradient(
    -90deg,
    rgba(97, 97, 97, 0.17),
    rgba(112, 112, 112, 0.045)
  );
  border-radius: 30px;
  padding: 15px 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px dashed rgba(110, 102, 122, 0.5);
  margin-bottom: 10px;
}

.channel-card.empty-channel:hover {
  transform: scale(1.01);
  border-color: #7a4ef3;
  background: linear-gradient(
    -90deg,
    rgba(97, 97, 97, 0.17),
    rgba(153, 0, 255, 0.051)
  );
}

.empty-channel-info {
  flex: 1;
  min-width: 0;
  margin-left: 10px;
}

.empty-channel-name {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.empty-channel-description {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.empty-channel-btn {
  background: linear-gradient(160deg, rgb(107, 0, 184), #7e20ff);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin-right: 5px;
}

.empty-channel-btn .material-symbols-outlined {
  font-size: 18px;
}
@media (max-width: 700px) {
  .empty-channel-name {
    font-size: 15px;
  }

  .channel-card.empty-channel {
    padding: 20px 10px;
  }

  .empty-channel-btn {
    padding: 8px 10px;
  }

  .empty-channel-btn .material-symbols-outlined {
    font-size: 15px;
  }
}

.all-channels-section {
  margin-top: 10px;
}

.all-channels-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.all-channels-header span:first-child {
  color: rgba(255, 255, 255, 0.6);
  font-size: 22px;
}

.all-channels-header h3 {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.all-channels-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: #00000015;
  padding: 10px;
  border-radius: 40px;
}

.my-channel {
  padding: 10px;
  border-radius: 30px;
}

@media (max-width: 451px) {
  .my-channel {
    width: 100%;
  }
}

.channels-content {
  width: 100%;
}

@media (max-width: 900px) {
  .channels-layout {
    gap: 0px !important;
    margin-bottom: 0px !important;
  }

  .channels-filters {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    background: rgb(34 34 34) !important;
    padding: 12px 16px 20px 16px !important;
    margin: 0 !important;
  }

  .channels-search {
    margin-bottom: 10px !important;
  }

  .channels-search input {
    background: rgba(30, 30, 30, 0.9) !important;
  }

  .channels-categories-side {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 10px !important;
    padding: 5px;
    padding-bottom: 5px;
    scrollbar-width: thin;
    scrollbar-color: #7a4ef313 rgba(255, 255, 255, 0.1);
    border-radius: 20px;
  }

  .channels-categories-side .channels-category-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  .channels-categories-side::-webkit-scrollbar {
    height: 3px;
  }
  .channels-categories-side::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
  }
  .channels-categories-side::-webkit-scrollbar-thumb {
    background: #7a4ef3;
    border-radius: 10px;
  }

  .channels-layout {
    flex-direction: column !important;
  }
}
@media (max-width: 900px) {
  .channels-filters {
    position: fixed !important;
    bottom: 110px;
    left: 5% !important;
    right: 0 !important;
    background: rgb(34 34 34) !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;
    border: 0px !important;
  }
  @media (max-width: 400px) {
    .channels-filters {
      bottom: 97px;
    }
  }
  .channels-filters.hide-mobile-filters {
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
  }
}

.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;
}

.market_con1_blockcon1_srch {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .market_con1_blockcon1_srch {
    margin-bottom: 1px;
  }
}

.market_con1_blockcon1_srch_search {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  background: rgba(102, 102, 102, 0.226);
  border-radius: 17px;
  padding: 15px 15px 12px 45px;
  font-size: 15px;
  font-weight: 550;
}

@media (max-width: 900px) {
  .market_con1_blockcon1_srch {
    width: 117%;
  }
}

.market_con1_blockcon1_srch_search:focus {
  outline: none;
  border-color: rgb(135, 69, 252);
  background: #252525;
}

.market_con1_blockcon1_srch .material_category_search {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgb(216, 216, 216);
  font-size: 20px;
}
@media (max-width: 600px) {
  .market_con1_blockcon1_srch_search {
    font-size: 12px;
  }
}
@media (max-width: 600px) {
  .market_con1_blockcon1_srch .material_category_search {
    font-size: 18px;
    left: 10px;
  }
}

.scroll-top-btn {
  right: 30px !important;
}

.channel-block228 {
  display: flex;
}

.channels_idii {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.6;
}

.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;
  }
}

.search-confirm-btn:hover {
  transform: translateY(-50%) scale(1.05);
}
.search-confirm-btn:active {
  transform: translateY(-50%) scale(0.95);
}
/* ===== КРУГЛАЯ КНОПКА ПОИСКА (КАК НА БИРЖЕ) ===== */
.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;
}
.search_circle:hover {
  transform: scale(1.1);
}
.con_search_cat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-direction: column;
  align-items: start;
}
@media (max-width: 900px) {
  .con_search_cat {
    flex-direction: row;
  }

  .platform-separator {
    display: none;
  }

  .category_platforms_con {
    justify-content: center !important;
    width: auto !important;
  }

  .category_platforms_con {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 8px !important;
    padding: 5px;
    scrollbar-width: thin;
    scrollbar-color: #7a4ef313 rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 13% !important;
    background-color: rgba(0, 0, 0, 0.202);
  }
}
@media (max-width: 900px) {
  .market_con1_blockcon1_srch {
    display: none;
  }
  .market_con1_blockcon1_srch.mobile-search-visible {
    display: flex !important;
  }
}

/* ===== ИНДИКАТОР ЗАГРУЗКИ ДЛЯ ПАГИНАЦИИ ===== */
.channels-loading {
  text-align: center;
  padding: 30px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  grid-column: 1/-1;
}

.channels-loading .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(122, 78, 243, 0.3);
  border-top-color: #7a4ef3;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.end-of-channels {
  grid-column: 1/-1;
  text-align: center;
  padding: 20px;
  opacity: 0.3;
  font-size: 14px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 900px) {
  .search_circle {
    display: none;
  }
  .channels-filters {
    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-channel {
  pointer-events: none;
  opacity: 0.8;
}

.skeleton-channel .channel-avatar {
  background: #2a2a2a;
}

.skeleton-channel:hover {
  transform: none !important;
  opacity: 0.8 !important;
}
.channels-category-btn.platform-filter {
  width: 45px !important;
  height: 45px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  justify-content: center !important;
  align-items: center !important;
  display: inline-flex !important;
  flex-shrink: 0 !important;
}

.channels-category-btn.platform-filter i {
  opacity: 0.7;
  font-size: 22px;
  margin: 0;
}

.platform-separator {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  margin: 10px 0;
}

.channels-category-btn.platform-filter.active {
  border: 1px solid #7a4ef3 !important;
  background: linear-gradient(
    151.96deg,
    rgba(123, 31, 250, 0.94) -2.612%,
    rgba(60, 22, 158, 0.94) 128.153%
  ) !important;
  box-shadow: 0px 0px 40px 0px rgba(102, 23, 232, 0.7) !important;
}

@media (max-width: 900px) {
  .channels-category-btn.platform-filter {
    width: 44px !important;
    height: 44px !important;
  }
}
.category_platforms_con {
  justify-content: center !important;
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: -10px;
}
@media (min-width: 900px) {
  .channels-filters {
    position: relative;
    top: 1px;
  }
  .category_platforms_con {
    background: rgb(35 35 35);
    border-radius: 30px;
    padding: 5px;
    right: 0px;
    position: relative;
  }
}
@media (max-width: 900px) {
  .channels-filters {
    position: relative;
    bottom: 110px;
    width: 77% !important;
  }

  .category_platforms_con {
    position: absolute;
    bottom: 0px;
    background: rgb(39 39 39);
    border-radius: 30px;
    padding: 0px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    right: -115px;
    width: 16% !important;
  }
}
@media (max-width: 800px) {
  .category_platforms_con {
    right: -105px;
    width: 16% !important;
  }
  .channels-categories-side {
    width: 90%;
  }
}
@media (max-width: 700px) {
  .category_platforms_con {
    right: -95px;
    width: 16% !important;
  }
}
@media (max-width: 600px) {
  .category_platforms_con {
    right: -80px;
    width: 16% !important;
    padding: 3px;
    bottom: -1px;
  }
  .channels-categories-side {
    width: 80%;
  }
  .channels-category-btn.platform-filter {
    width: 40px !important;
    height: 40px !important;
  }
}
@media (max-width: 400px) {
  .category_platforms_con {
    right: -65px;
    width: 16% !important;
  }
}
@media (max-width: 450px) {
  .category_platforms_con {
    right: -58px;
    width: 16% !important;
  }
}
@media (max-width: 400px) {
  .channels-filters {
    bottom: 100px;
  }
}

.promoted-channels-scroll-block {
  margin-bottom: 10px;
  background: linear-gradient(90deg, rgb(88 28 255 / 15%), rgb(28 53 48 / 80%));
  border-radius: 35px;
  padding: 10px;
  display: none;
}

.promoted-channels-scroll {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 80px;
  overflow-x: auto;
  gap: 20px;
  flex-shrink: 0;
  box-sizing: border-box;
  flex-wrap: nowrap;
  align-items: center;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(67, 67, 67, 0.09) #2a2a2a;
  background: #00000020;
  border-radius: 35px;
  padding: 10px 10px 10px 10px;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 0 0 10px;
}

.promoted-channels-scroll::-webkit-scrollbar {
  height: 5px;
}
.promoted-channels-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.promoted-channels-scroll::-webkit-scrollbar-thumb {
  background: #7a4ef3;
  border-radius: 10px;
}

.promoted-channels-scroll .channel-card {
  flex: 0 0 auto;
  width: 420px;
  scroll-snap-align: start;
  background: rgb(40, 40, 40);
  border-radius: 35px;
  padding: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
}
.promoted-channels-scroll .channel-card:hover {
  opacity: 0.9;
}

.scroll-arrows {
  display: flex;
  gap: 5px;
  margin-left: auto;
}
.scroll-arrow {
  background: rgba(119, 70, 255, 0.299);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.scroll-arrow:hover {
  background: rgba(122, 78, 243, 0.6);
  transform: scale(0.95);
}
.scroll-arrow .material-symbols-outlined {
  font-size: 20px;
  color: white;
}
.scroll-block-header {
  display: flex;
  margin-left: 10px;
  margin-bottom: 10px;
}
.scroll-block-header > span {
  color: #7a4ef3;
  font-size: 28px;
}
.scroll-block-header > h3 {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.749);
  margin-left: 10px;
}
@media (max-width: 600px) {
  .scroll-arrows {
    margin-left: 13px;
  }
}

@media (max-width: 600px) {
  .scroll-arrow {
    width: 28px;
    height: 28px;
  }
}
@media (max-width: 600px) {
  .scroll-block-header > h3 {
    font-size: 16px;
  }
}

.channel-platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 16px;
}

.channel-platform-icon i {
  font-size: 15px;
}

.channel-platform-icon .fa-telegram,
.channel-platform-icon .fa-youtube,
.channel-platform-icon .fa-vk {
  color: rgba(255, 255, 255, 0.605);
}
.promoted-channels-scroll .channel-card {
  flex: 0 0 auto !important;
  width: 100% !important;
  scroll-snap-align: start !important;
}
@media (min-width: 900px) {
  .promoted-channels-scroll .channel-card {
    width: 49% !important;
  }
}
.promoted-channels-scroll-block {
  overflow: hidden !important;
}

.btn_my_chann {
  background: #ffffff30;
}
.channels-filters-ad {
  opacity: 0.9;
  background: rgb(40, 40, 40);
  border-radius: 30px;
  box-sizing: border-box;
  background-image: url(/static/img/add4.jpg);
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 90px;
  width: 257px;
  height: 250px;
  left: -15px;
}

@media (max-width: 900px) {
  .channels-filters-ad {
    display: none;
  }
}
@media (max-width: 600px) {
  .channel-name {
    max-width: 13ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (max-width: 600px) {
  .channel-name i,
  .channel-name .fab {
    display: none;
  }
}

.channel-name > span {
  font-size: 20px;
  font-weight: 600;
  color: #ffffffeb;
  display: flex;
  align-items: start;
  gap: 3px;
  align-items: center;
}
@media (max-height: 720px) {
  .channels-filters-ad {
    height: 215px;
    top: 80px;
  }
}
@media (max-height: 680px) {
  .channels-filters-ad {
    height: 200px;
    top: 75px;
  }
}
@media (max-height: 650px) {
  .channels-filters-ad {
    height: 150px;
  }
}
@media (max-height: 580px) {
  .channels-filters-ad {
    height: 120px;
    border-radius: 20px;
  }
}
@media (max-height: 550px) {
  .channels-filters-ad {
    height: 80px;
    top: 70px;
  }
}
@media (max-width: 900px) {
  .btn_my_chann {
    width: 125px !important;
  }
}

.channel-promote-btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(255, 116, 52, 0.15);
  border-radius: 20px;
  padding: 4px 5px;
  cursor: pointer;
  white-space: nowrap;
  min-width: 52px;
  margin-right: 6px;
}

.channel-promote-btn-small i {
  font-size: 10px;
  color: #ff7949;
}

.channel-promote-btn-small span {
  font-size: 11px;
  font-weight: 600;
  color: #ff7949;
}

.channel-promote-btn-small:hover {
  transform: scale(0.97);
  background: rgba(255, 116, 52, 0.25);
}
.channels-filters-ad:hover {
  opacity: 1;
  cursor: pointer;
}
