.file-grid {
  margin-top: var(--file-card-spacer);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

body.search-unfixed .file-grid {
  margin-top: 0;
}

/* Если класс есть — title становится обычным */
body.search-unfixed .title {
  position: static;
  margin: 0 0 15px 0;
  width: auto;
  right: auto;
}

.title form {
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  font-size: 12px;
  gap: 8px;
}

.sort-left,
.sort-right {
  display: flex;
  gap: 8px;
  flex-direction: column;
}

.title h2 {
  color: var(--white);
  color: var(--white);
  left: 60%;
}

.subTitle {
  color: var(--white);
  margin-top: 0;
  margin-bottom: 0;
}
/* Стили для модального окна */

.bblock-modal-buttons {
  display: flex;
  justify-content: center;
  gap: .5rem;
}

#bblock-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 999999;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-family: Arial, sans-serif;
}

#bblock-modal-content {
  background: rgba(88, 88, 88, 0.6);
  padding: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
  left: 50%;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 100%;
}

#bblock-modal img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
  width: 100%;
  height: 100%;
}

#bblock-modal button {
  background-color: var(--ddark);
  color: var(--white);
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-size: 12px;
  cursor: pointer;
  transition: all .2s ease-in-out;
}

#bblock-modal button:hover {
  background-color: var(--bbb2);
}


.users-main {
  display: flex;
  justify-content: center;
}

.usr-loh {
  position: -webkit-sticky;
  position: sticky;
  width: 80%;
  max-width: 330px;
  height: -moz-fit-content;
  height: fit-content;
  top: 90px;
}

/* Контейнер в виде сетки */
.users-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  /* От 4 до 8 колонок */
  grid-gap: 15px;
  gap: 15px;
  padding: 20px;
  max-width: 1400px;
  /* margin: auto; */
}

/* Карточка пользователя */
.user-card {
  outline: 1px solid var(--outline-main);
  display: flex;
  white-space: nowrap;
  gap: 10px;

  text-decoration: none;
  text-overflow: ellipsis;
  align-items: center;
  background-color: var(--overlay-dark);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease-in-out;
  flex-direction: row;
}

.user-card:hover {
  transform: scale(1.02);
}

/* Аватар пользователя */
.user-avatar {
  width: 98%;
  height: 98%;
  object-fit: cover;
  border-radius: 50%;
  background-color: var(--darklite);
  position: relative;
  z-index: 1;
}

/* Информация о пользователе */
.user-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: hidden; 
  text-overflow: ellipsis;
}

.user-name {
  font-size: 16px;
  font-weight: bold;
  color: var(--white);
  max-width: 85%;
  overflow: hidden; 
  text-overflow: ellipsis;
}

.user-name a {
  text-decoration: none;
  color: inherit;
}

.user-date {
  font-size: 14px;
  color: var(--white2);;
}

/* Плейсхолдеры */
.placeholder-avatar {
  width: 50px;
  height: 50px;
  background: #444;
  border-radius: 50%;
  margin-right: 12px;
  animation: pulse 1.5s infinite ease-in-out;
}

.placeholder-text {
  width: 80%;
  height: 14px;
  background: #444;
  border-radius: 5px;
  margin-bottom: 6px;
  animation: pulse 1.5s infinite ease-in-out;
}

.placeholder-text.short {
  width: 50%;
}

/* Стили плейсхолдеров */
.placeholder {
  display: flex;
  align-items: center;
  background: #222;
  padding: 12px;
  border-radius: 12px;
  opacity: 0.7;
}

.hidden {
  display: none;
}

.loading-animation {
  width: 100%;
  text-align: center;
  padding: 20px;
  font-size: 18px;
  color: #bbb;
}

.loading-animation::after {
  content: "Загрузка...";
  display: block;
  font-size: 16px;
  animation: fadeInOut 1.5s infinite;
}

@keyframes fadeInOut {
  0% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.3;
  }
}


/* Анимация загрузки */
@keyframes pulse {
  0% {
    background-color: #444;
  }

  50% {
    background-color: #555;
  }

  100% {
    background-color: #444;
  }
}

/* Адаптация под разные экраны */
@media (max-width: 1200px) {
  .users-container {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    max-width: unset;
    width: 100%;
  }
  .users-main {
    width: 90%;
  }
  .user-info {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .users-container {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    max-width: unset;
    width: 100%;
    
  }
  .users-main {
    width: 90%;
  }
  .user-info {
    max-width: 80%;
  }
}
.details-profile {
  position: relative;
}

.autorew {
  cursor: pointer;
}

.file-grid-users {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
}

.down-mods-con {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.down-mods-top {
  display: flex;
  flex-direction: row;
  gap: .5rem;
}

.mods-scroll-con {
  max-height: 50vh;
  overflow-y: auto;
  padding: 1rem;
}

.details-profile:after {
  content: attr(details-text);
  /* Подсказка будет содержать текст, указанный в title */
  position: absolute;
  bottom: 85%;
  /* Показываем подсказку над элементом */
  left: 50%;
  width: max-content;
  white-space: pre;
  transform: translateX(-50%);
  background-color: var(--dark-bg);
  /* Черный фон с прозрачностью */
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in-out, visibility 0.2s;
  z-index: 10;
}

.details:hover:after,
.details-profile:hover:after,
.details3:hover:after {
  opacity: 1;
  visibility: visible;
  /* Показываем подсказку при наведении */
}

.profile-s p {
  margin: 0;
}

.plans-bottom {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.subscription-plan {
  background: var(--gc2);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.subscription-plan .auto_renew {
  font-size: 12px;
  opacity: .5;
  transition: all .2s ease-in-out;
}

.subscription-plan .offer_agree {
  font-size: 8px;
}

.subscription-plan .auto_renew:hover {
  opacity: 1;
}

.subscription-plan form {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.left-top {
  background-color: var(--gc2);
  padding: 15px;
  border-radius: 8px;
  display: flex;
  margin: 0;
  flex-direction: column;
  gap: 10px;
  position: -webkit-sticky;
  position: sticky;
  align-items: center;
}

.left-top .profile-icon {
  width: 65px;
  height: 65px;
}

.left-top .profile-icon.subscribed:hover::before {
  filter: blur(8px);
}

.user-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}

.u {
  font-size: 15px;
  font-weight: bold;
  color: var(--white);
  margin: 0;
}

.user-info {
  font-size: 22px;
  font-weight: bold;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-auto-flow: column;
  grid-gap: 10px;
  gap: 10px;
  width: 100%;
}

.info-item {
  display: flex;
  cursor: default;
  align-items: center;
  background: var(--dark2);
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  color: var(--white);
}

.info-item i {
  color: var(--red);
  margin-right: 10px;
}

.right-top {
  min-width: 420px;
}

.auto_renew,
.offer_agree {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 14px;
  color: var(--white2);
  cursor: pointer;
}

.auto_renew input,
.offer_agree input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 12px;
  height: 12px;
  border: 2px solid var(--red);
  border-radius: 4px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.auto_renew input:checked,
.offer_agree input:checked {
  background: var(--red);
  border: 2px solid var(--red);
  position: relative;
}

.auto_renew input:checked::after,
.offer_agree input:checked::after {
  content: '\2713';
  font-size: 14px;
  color: var(--white);
  position: absolute;
}

.auto_renew input:disabled {
  cursor: not-allowed;
}

.auto_renew input:disabled+label {
  opacity: 0.5;
  /* Делаем текст тусклым */
  cursor: not-allowed;
}

.auto_renew input:disabled~span {
  color: #999999;
  /* Меняем цвет текста */
}

.subscription-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  cursor: default;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all .2s ease-in-out;
}

.subscription-status:hover {
  background-color: var(--gradient-color);
}

.auto-renew-enabled i {
  color: #28a745;
}

.auto-renew-disabled i {
  color: #dc3545;
}

.auto-renew-enabled {
  color: var(--white);
  background: var(--bbb2);
}

.auto-renew-disabled {
  color: var(--white);
  background: var(--bbb2);
}

.offer_agree a {
  text-decoration: none;
  color: var(--red);
}

.plans {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.plan-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--gc2);
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s ease;
}

.plan-option input {
  position: absolute;
  opacity: 0;
}

.plan-option input:checked+.plan-card {
  outline: 2px solid var(--red);
}

.plan-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  background: var(--dark2);
  border-radius: 8px;
  width: 80px;
}

.plan-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--white);
}

.plan-price {
  font-size: 14px;
  color: #bbb;
}

.buy-button2:disabled {
  text-shadow: none;
  color: initial;
  opacity: .4;
  background-color: gray;
  cursor: not-allowed;
}

.account-actions {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.pages-container {
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0px 20px 0px 20px;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.profile-header {
  display: flex;
  justify-content: space-between;
  background: var(--overlay-dark);
  outline: 1px solid var(--outline-main);
  border-radius: 10px;
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  padding: 20px;
  flex-direction: column;
}

.profile-header2 {
  display: flex;
  justify-content: space-between;
  background: var(--overlay-dark);
  outline: 1px solid var(--outline-main);
  border-radius: 10px;
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  padding: 20px;
  flex-direction: column;
}

.top-main-con {
  display: flex;
  gap: 20px;
  justify-content: space-around;
  padding: 20px;
}

.avatar-section img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
}

.user-details {
  flex-grow: 1;
}

.subscription-info {
  display: flex;
  gap: 10px;
  flex-direction: row;
  justify-content: center;
}

.dark-form-con {
  background-color: var(--gc2);
  padding: 15px;
  border-radius: 8px;
  display: flex;
  margin: 0;
  flex-direction: column;
  gap: 10px;
}

.subscription-select {
  background-color: var(--dark2);
  border: none;
  color: var(--white);
  padding: 10px;
  border-radius: 5px;
}

.subscription-button {
  background-color: var(--ds);
  color: var(--white);
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s;
}

.subscription-button:hover {
  background-color: var(--dslite);
}

.main-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  border-radius: 10px;
}

.subscription-description {
  background: var(--gc2);
  padding: 15px;
  border-radius: 8px;
}

.subscription-description h3 {
  margin-bottom: 10px;
  color: var(--white);
}

.subscription-description ul {
  list-style: none;
  padding: 0;
}

.subscription-description li {
  padding: 5px 0;
  color: var(--white);
}

.mods-list {
  display: grid;
  padding: 1px;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto;
  grid-gap: 10px;
  gap: 10px;
  overflow-y: auto;
  width: 100%;
  max-height: 220px;
  padding-right: 10px;
}

.mod-card {
  justify-content: space-between;
  align-items: center;
  background: rgba(77, 77, 77, 0.3);
  border-radius: 8px;
  display: flex;
  outline: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--arrow);
  flex-direction: column;
  padding: 20px;
  height: auto;
  max-height: min-content;
  border-radius: 8px;
  position: relative;
  transition: all 0.2s ease-in-out;
  transform: translateZ(0);
  will-change: transform, backdrop-filter
}

.mod-name {
  font-size: 14px;
  color: var(--white);
  font-weight: bold;
}

.liked-mods,
.disliked-mods {
  background: var(--gc2);
  width: 100%;
  padding: 15px;
  box-sizing: border-box;
  height: 100%;
  border-radius: 8px;
}

.liked-mods h3,
.disliked-mods h3 {
  margin-bottom: 10px;
  color: var(--white);
}

.liked-mods ul,
.disliked-mods ul {
  list-style: none;
  padding: 0;
}

.liked-mods li,
.disliked-mods li {
  padding: 5px 0;
  color: var(--white);
}

.payment-method {
  display: flex;
  gap: 15px;
}

.payment-method-inner {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 5px;
  gap: 5px;
  border-radius: 12px;
  /* Округлые углы */
  background-color: var(--bbb2);
  /* Цвет фона по умолчанию */
  transition: background-color 0.3s, box-shadow 0.3s;
  /* Плавный переход */
  border: 2px solid transparent;
  /* Обводка по умолчанию прозрачная */
}

/* Скрываем радио-кнопку */
.payment-method-item input {
  display: none;
}

/* Иконки */
.payment-icon {
  width: 20px;
  height: 20px;
  transition: box-shadow 0.3s;
  border-radius: 12px;
}

/* Стиль для выбранного input */
.payment-method-item input:checked+.payment-method-inner {
  outline: 2px solid var(--red);
  /* Обводка для всего лейбла при выборе */
  border-color: transparent;
  /* Убираем стандартную рамку */
  box-shadow: 0 0 20px var(--redopas);
  /* Тень для выбранного метода */
}

/* Настройки при наведении */
.payment-method-inner:hover {
  background-color: var(--gradient-color);
}

.payment-method-item input:not(:checked):hover {
  background-color: #d0d0d0;
  /* Тёмный фон для невыбранного элемента при наведении */
}

@media (max-width: 768px) {
  .top-main-con {
    flex-direction: column;
  }

  .profile-header2 {
    flex-direction: column;
  }
}


.topup-input-container {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
}

.topup-input-container input {
  flex: 1 1;
  padding: 8px;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

#topup-amount::-webkit-inner-spin-button,
#topup-amount::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#topup-amount {
  -moz-appearance: textfield;
  /* Для Firefox */
}

.preset-amounts {
  display: flex;
  gap: 8px;
}

.preset-button {
  padding: 10px 14px;
  font-size: 14px;
  border: none;
  font-weight: 600;
  background: var(--dark2);
  color: var(--white);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.preset-button:hover {
  background: var(--gradient-color);
}

.method-pay {
  flex-direction: row !important;
}

.subscription-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--overlay-dark);
  padding: 15px;
  border-radius: 10px;
  color: var(--white);
  margin: 0;
}

.subscription-select {
  background: var(--dark2);
  color: var(--white);
  border: none;
  padding: 8px;
  border-radius: 5px;
}

.toggle-container {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.switchpay {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.switchpay input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gradient-color);
  transition: .4s;
  border-radius: 20px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: var(--white);
  transition: .4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: var(--red);
}

input:checked+.slider:before {
  transform: translateX(20px);
}

#commission-info {
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out, max-height 0.5s ease-in-out;
}

#commission-info.visible {
  opacity: 1;
  visibility: visible;
  max-height: 200px;
  /* Максимальная высота блока (возможно, потребуется подкорректировать) */
}
.priv-container {
  width: 50rem;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--outline-main);
  background-color: var(--overlay-dark);
  color: var(--white);
  font-size: 0.875rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  max-height: 60vh;
}

.priv-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
  color: var(--white);
  flex-shrink: 0;
}

.priv-scroll-area {
  overflow-y: auto;
  padding-right: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.priv-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.priv-subtitle {
  font-weight: bold;
  color: var(--white);
}

.priv-container p {
  margin: 0;
}

.priv-container a {
  text-decoration: underline;
  color: var(--pink);
}

.priv-container ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

/* Стили для модального окна */
.contact-modal {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

/* Контент модального окна */
.contact-modal-content {
  position: absolute;
  background-color: rgba(51, 51, 51, 0.90);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  outline: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateX(-50%);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  max-width: 300px;
  width: 100%;
  color: #fff;
}

.contact-modal-content p {
  margin: 0;
}

/* Кнопка закрытия */
.contact-close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  transition: all .3s ease-in-out;
}

.contact-close:hover,
.contact-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Стили для списка контактов */
.contact-ul {
  list-style-type: none;
  padding: 0;
}

.contact-ul li {
  margin: 10px 0;
}

.pay2-ul {
  list-style-type: disc;
  padding: 0;
}

.pay2-ul li {
  margin: 10px 0;
  text-align: left;
}

.contact-a {
  text-decoration: none;
  color: #007bff;
  font-size: 16px;
  transition: all .3s ease-in-out;
}

.contact-a:hover {
  color: var(--red);
  text-shadow: 0px 0px 8px var(--redopas);
}

.pay-ul {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.pay-modal-content {
  left: 50%;
  position: absolute;
  background-color: rgba(51, 51, 51, 0.90);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  outline: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateX(-50%);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  max-width: 850px;
  width: 100%;
  color: #fff;
}
/* Стили для модального окна */
.custom-modal {
  background-color: var(--overlay-dark);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  outline: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(11px);
          backdrop-filter: blur(11px);
  color: var(--arrow);
  max-width: 320px;
  width: 100%;
  padding: 20px;
  border-radius: 8px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: auto;
  max-height: 80vh;
  overflow: hidden;
  z-index: 1000;
  transition: all 0.2s ease-in-out;
}

.comments-scroll {
  flex: 1 1;
  width: 100%;
  overflow-y: auto;
  margin-bottom: 10px;
  padding-right: 5px;
  max-height: 60vh;
}

.comments-scroll::-webkit-scrollbar {
  width: 4px;
}

.comments-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.comment {
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  margin-bottom: 10px;
}

.comment-header {
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.comment-date {
  font-size: 0.85em;
  color: #777;
}

.comment-text {
  font-size: 1em;
  line-height: 1.5;
  color: var(--white);
}


.comment strong {
  display: block;
  font-size: 14px;
  margin-bottom: 3px;
}

.comment-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comment-form textarea {
  width: 100%;
  resize: none;
  min-height: 60px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 6px;
  outline: none;
}

.comment-form button {
  align-self: flex-end;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.comment-form button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.close-modal-comments {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 20px;
  color: var(--white);
  cursor: pointer;
}

/* Стили для кнопки */
.btn-open-comments {
  align-items: center;
  font-size: .7rem;
  padding: 5px 10px 5px 10px;
  display: flex;
  gap: 5px;
  margin: 0;
  font-family: var(--bulma-family-code);
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  border-radius: 5px;
  transition: all .2s;
  border: none;
  background-color: var(--bbb2);
}

.btn-open-comments:hover {
  background-color: var(--redopas);
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

  /* Основной контейнер для плейсхолдера */
.placeholder-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-left: 0.8px;
}

#logo-svg {
  overflow: visible;
}

.animated-title {
  display: inline-flex;
  gap: 0.05em;
}

.char {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  animation: bounceUp 0.6s ease-out forwards;
}

@keyframes bounceUp {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  50% {
    transform: translateY(-30%);
    opacity: 1;
  }
  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}

#showmore-trigger {
  text-align: center;
  margin: 10px 0;
  padding: 10px 0;
  cursor: pointer;
  color: var(--white);
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

/* Карточка плейсхолдера */
.placeholder-card {
  background: var(--overlay-dark);
  display: flex;
  outline: 1px solid var(--outline-main);
  color: var(--arrow);
  flex-direction: column;
  align-items: flex-start;
  max-width: 300px;
  padding: 20px;
  height: auto;
  max-height: min-content;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease-in-out;
  transform: translateZ(0);
  will-change: transform, backdrop-filter;
}

/* Миниатюра плейсхолдера */
.placeholder-thumbnail {
    height: 120px;
    border-radius: 15px;
    width: 100%;
    background: var(--skeleton-footer-grad);
    background-size: 400% 100%;
    animation: placeholder-shimmer 1.5s infinite;
}

/* Контент плейсхолдера */
.placeholder-content {
  width: 100%;
  padding-top: 10px;
}

.placeholder-title,
.placeholder-description, .placeholder-button {
    height: 14px;
    background: var(--skeleton-footer-grad);
    background-size: 400% 100%;
    animation: placeholder-shimmer 1.5s infinite;
    margin-bottom: 10px;
    border-radius: 4px;
}

.placeholder-button {
  height: 28px;
  background: var(--skeleton-footer-grad);
  background-size: 400% 100%;
  animation: placeholder-shimmer 1.5s infinite;
  margin-bottom: 10px;
  border-radius: 4px;
  width: 36%;
}

.placeholder-title {
    width: 80%;
}

.placeholder-description {
  width: 55%;
  height: 20px;
}

/* Анимация шимеринга */
@keyframes placeholder-shimmer {
    0% {
        background-position: -400% 0;
    }
    100% {
        background-position: 400% 0;
    }
}

/* Основное меню */
.dropdown-menu {
  position: absolute;
  top: 50px;
  width: max-content;
  right: 0;
  background-color: var(--color-dark-variant);
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  z-index: 100;
  text-align: left;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
}

.settings-row {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  flex-wrap: wrap; /* чтобы влезали на маленьких экранах */
}

.dropdown-menu span {
  display: flex;
  color: var(--white);
  flex-direction: column;
  align-items: center;
  
  justify-content: center;
}

/* Блок с реферальным кодом */
.referral-item {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    font-size: 14px;
    color: var(--white);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease-in-out;
}

.referral-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Поле ввода реферального кода */
.referral-input {
    display: flex;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    align-items: center;
}

.referral-code {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

/* Инпут для ввода реферального кода */
.search-input2 {
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 14px;
}

.search-input2::placeholder {
    color: var(--white2);
}

/* Кнопка "Применить" */
.apply-promo-button {
    padding: 8px 12px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    background-color: var(--bbb);
    color: var(--white);
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.apply-promo-button:hover {
  background-color: var(--overlay-dark);
}

/* --- 🔹 Верхний блок с профилем --- */
.dropdown-header {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.dropdown-header-overlay {
  position: absolute;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.dropdown-xmark {
  width: 40px;
  height: 40px;
  font-size: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: all .2s ease-in-out;
}

.dropdown-xmark:hover {
  background: var(--overlay-lite-dark);
}

.dropdown-xmark:active {
  background: var(--ddark);
}

.dropdown-logo {
  width: 80px;
}
.dropdown-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

/* --- 🟠 Аватар + никнейм --- */
.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  z-index: 5;
}

.profile-section .profile-icon {
  width: 60px;
  height: 60px;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--white);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- 📌 Информация о пользователе --- */
.username {
  font-size: 16px;
  font-weight: bold;
  color: var(--white);
}

.user-meta {
  font-size: 12px;
  color: var(--gray-text);
  opacity: 0.8;
}

/* --- 📌 Основной список меню --- */
.menu-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* --- 📌 Элементы меню (почта, подписка и т.д.) --- */
.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--white);
  background: var(--overlay-lite-dark);
  transition: background 0.2s ease-in-out;
  cursor: pointer;
}

.menu-item:hover {
  background: var(--ddark);
}

/* --- 📌 Иконки в меню --- */
.menu-item .icon {
  font-size: 18px;
  color: var(--primary);
}

/* --- 🔹 Подписка (Плюс) --- */
.subscription-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--white);
}

.subscription-badge {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 12px;
  background: linear-gradient(45deg, #ff4d4d, #ff66cc);
  color: white;
  font-weight: bold;
}

/* --- 🔻 Разделитель --- */
.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 10px 0;
}

.theme-switch-label {
  color: var(--white);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-select {
  background-color: var(--bbb);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 14px;
}

.theme-select:focus {
  outline: 2px solid var(--ds);
  outline-offset: 2px;
}

/* --- 🔥 Кнопка выхода --- */
.logout-button {
  background: var(--ddark);
  color: var(--white);
  font-size: 14px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}

.logout-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* --- 📌 Если не залогинен --- */
.login-section {
  padding: 15px;
  text-align: center;
}

.login-section .login-button {
  width: 100%;
}

.other-form-container {
  color: var(--white);
  border-radius: 16px;
  padding: 24px;
  width: 50%;
  max-width: 95vw;
  font-family: var(--bulma-family-primary);
  animation: fadeIn 0.2s ease-out;
  background-color: var(--overlay-dark);
  outline: 1px solid var(--outline-main);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  margin: .8px;
}

.other-form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.other-col {
  flex: 1 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.other-form-container input,
.other-form-container textarea,
.other-form-container select {
  background: var(--dark2);
  color: var(--white);
  border: 1px solid var(--outline-main);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  transition: border 0.2s ease;
}

.other-form-container input:focus,
.other-form-container textarea:focus,
.other-form-container select:focus {
  border-color: var(--dslite);
}

.other-form-container textarea {
  resize: vertical;
  min-height: 80px;
}

.other-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.other-row select {
  flex: 1 1;
}

.other-toggles {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  justify-content: center;
  align-items: flex-start;
}

.other-toggles label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  font-size: 14px;
}

/* Стили для кастомного чекбокса */
.other-toggles input[type="checkbox"] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; /* Убираем стандартный стиль чекбокса */
  width: 45px; /* Ширина слайдера */
  height: 25px; /* Высота слайдера */
  background-color: var(--dark2); /* Цвет фона по умолчанию */
  border-radius: 50px; /* Скругляем углы */
  position: relative;
  transition: background-color 0.3s ease; /* Плавный переход фона */
  cursor: pointer;
  outline: 1px solid var(--outline-main);
}

/* Ползунок слайдера */
.other-toggles input[type="checkbox"]:before {
  content: "";
  position: absolute;
  top: 4.5px;
  left: 4.5px;
  width: 15px;
  height: 15px;
  background-color: var(--white); /* Цвет ползунка */
  border-radius: 50%; /* Скругляем ползунок */
  transition: left 0.3s ease; /* Плавный переход ползунка */
}

/* Когда чекбокс активен, меняем фоновый цвет и передвигаем ползунок */
.other-toggles input[type="checkbox"]:checked {
  background-color: var(--dslite); /* Цвет фона, когда чекбокс выбран */
}

.other-toggles input[type="checkbox"]:checked:before {
  left: 26px; /* Перемещаем ползунок в правую часть */
}

/* При наведении на чекбокс */
.other-toggles input[type="checkbox"]:hover {
  background-color: var(--dark3); /* Цвет фона при наведении */
}

.other-submit {
  background: var(--dslite);
  color: var(--white);
  padding: 10px 24px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.other-submit:hover {
  background: var(--ds);
}

.other-drop-zone {
  border: 2px dashed var(--outline-main);
  padding: 1.5rem;
  text-align: center;
  border-radius: 12px;
  background: var(--darklite);
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.other-drop-zone:hover {
  border-color: var(--dslite);
}

.other-file-label {
  font-size: 14px;
  margin-top: 10px;
  font-weight: 500;
  color: var(--white);
}

.other-file-list {
  list-style: none;
  padding-left: 0;
  margin-top: 8px;
  border: 1px solid var(--outline-main);
  border-radius: 8px;
  background: var(--dark2);
  max-height: 160px;
  overflow-y: auto;
}

.other-file-list li {
  padding: 8px 12px;
  border-bottom: 1px solid var(--outline-main);
  font-size: 13px;
}

.other-file-list li:last-child {
  border-bottom: none;
}

.other-markdown-preview {
  margin-top: 4px;
  background: var(--darklite);
  border: 1px dashed var(--outline-main);
  border-radius: 8px;
  padding: 10px;
  color: var(--white);
  font-size: 13px;
  width: 100%;
  max-height: 160px;
  overflow-y: auto;
  box-sizing: border-box;
}

.other-progress {
  margin-top: 20px;
}

.other-progress-bar-wrapper {
  width: 100%;
  height: 8px;
  background: var(--darklite);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 6px;
}

.other-progress-bar {
  height: 100%;
  background: var(--dslite);
  transition: width 0.2s ease;
}

.other-speed {
  font-size: 13px;
  color: var(--white);
  opacity: 0.8;
}

.other-image-preview {
  margin-top: 10px;
  border-radius: 8px;
  overflow: hidden;
  max-height: 200px;
  border: 1px solid var(--outline-main);
  background: var(--dark2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.other-image-preview img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.other-youtube-preview {
  margin-top: 10px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--outline-main);
  background: var(--dark2);
}

.other-youtube-preview iframe {
  width: 100%;
  height: 180px;
  border: none;
}

.other-file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--dark2);
  color: var(--white);
  padding: 6px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
  gap: 8px;
}

.other-file-index {
  color: var(--white);
  font-size: 13px;
  width: 20px;
  text-align: right;
}

.other-drag-handle {
  cursor: -webkit-grab;
  cursor: grab;
  font-size: 16px;
  color: var(--white);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  padding: 0 6px;
}

.other-drag-handle:hover {
  color: var(--dslite);
}

.other-rename-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1;
}

.other-file-name {
  flex: 1 1;
  background: var(--dark2);
  border: 1px solid var(--outline-main);
  color: var(--white);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-family: var(--bulma-family-primary);
}

.other-file-ext {
  font-size: 13px;
  color: var(--white);
  background: var(--darklite);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px dashed var(--outline-main);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.other-file-name:focus {
  border-bottom: 1px solid var(--dslite);
}

.other-file-remove {
  background: transparent;
  color: var(--red);
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.other-drop-zone[title] {
  cursor: pointer;
}

.other-total-size {
  margin-top: 8px;
  font-size: 13px;
  color: var(--white);
  opacity: 0.7;
}

/* Адаптивность */
@media (max-width: 900px) {

  header {
    height: 70px;
  }

  .sitlogo {
    margin: 0px 10px 0px 10px;
  }

  footer {
    width: 100% !important;
    right: unset;
    margin: unset;
    border-radius: 15px 15px 0px 0px;
  }

  .sidebar-container {
    position: fixed;
    z-index: 99;
    left: -250px;
    transition: all .3s ease-in-out;
  }

  .promo-code-con,
  .referral-system {
    display: none;
  }

  .logo {
    margin-left: 0;
    margin-right: auto;
  }

  /* .gta5 {
    display: none !important;
  } */
  .scroll-to-top {
    bottom: 160px;
    width: 80px;
    font-size: 24px;
    height: 80px;
  }

  #subscribe-notification {
    display: none !important;
  }

  .pay-modal-content {
    max-width: 550px;
  }

  .file-card {
    backdrop-filter: unset;
    -webkit-backdrop-filter: unset;
  }

  .file-container-head {
    flex-direction: column;
  }

  .info-file-preview {
    width: 100% !important;
    height: 350px;
    max-height: 350px !important;
  }

  .mod-form,
  .mods-list,
  .loh-block3,
  .review-form,
  .reviews-list,
  .loh-block2 {
    width: auto !important;
  }

  .other-form-container,
  .umods-list,
  .priv-container {
    width: auto;
  }

  .loh-block3,
  .loh-block2 {
    max-width: none !important;
  }

  .file-title {
    font-size: 20px;
  }

  .mod-container,
  .review-container {
    flex-direction: column;
  }

  .footer-bottom {
    display: flex;
    gap: 5px;
    padding: unset;
    align-items: center;
    flex-direction: column;
  }

  .title form {
    font-size: 16px;
    gap: 6px;
  }

  .title-new {
    margin: 0 20px;
    width: auto;
    right: 0;
  }
}

@media (max-width: 800px) {
  .file-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  }

  .placeholder-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  }

  .file-controls {
    gap: 5px;
  }

  .title-new {
    margin: 0 20px;
    width: auto;
    right: 0;
  }
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }
}

/* Открытие сайтбара */
.sidebar-container.active {
  left: 0;
}

.sidebar-container.active {
  opacity: 1;
  visibility: visible;
}
