body {
  background: var(--bg-image), var(--bg-color);
  color: var(--text-color); 
  font-family: 'Inter', 'Roboto', Arial, sans-serif;
}

/* 🚀 Комментарии всегда открыты */
.add-comm-form {
  display: block !important;
  margin-top: 20px;
}

/* ❌ Скрываем кнопку открытия формы, если не нужна */
.add-comm-btn {
  display: none !important;
}

/* 🔗 ОБЁРТКА ДЛЯ SHARE-БЛОКА */
.video-share-box {
  margin: 20px auto;
  padding: 15px 20px;
  border: 1px solid #2b2b2b;
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

/* 🤲 ЭМОДЖИ И ЗАГОЛОВОК */
.share-emoji-wrapper {
  width: 100%;
  margin-bottom: 8px;
}
.share-emoji-wrapper .emoji-pointer {
  font-size: 20px;
}
.share-emoji-wrapper .share-label h2 {
  font-size: 18px;
  color: var(--text-color);
  margin: 5px 0;
  font-weight: 600;
}

/* 🖼 ОБЩИЕ СТИЛИ ДЛЯ КНОПОК */
.share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  color: #fff;
  transition: 0.3s ease;
  text-decoration: none;
}

/* 💬 TELEGRAM */
.share-icon.tg {
  background-color: #0088cc;
}
.share-icon.tg:hover {
  background-color: #006f9c;
}

/* 📱 WHATSAPP */
.share-icon.wa {
  background-color: #25d366;
}
.share-icon.wa:hover {
  background-color: #1da851;
}

/* 📞 VIBER */
.share-icon.vb {
  background-color: #665cac;
}
.share-icon.vb:hover {
  background-color: #574c91;
}

/* 🐦 TWITTER (X) */
.share-icon.x {
  background-color: #000000;
}
.share-icon.x:hover {
  background-color: #1a1a1a;
}

        
 
  
/* ⭐️ Блок рейтинга под тегами */
.fullstory-rating {
  display: flex;            /* 🔳 Строим inline-ряд */
  align-items: center;      /* ↕️ Выравнивание по вертикали */
  flex-wrap: wrap;          /* 📦 Мобильная адаптивность */
  gap: 10px 20px;           /* 🔘 Расстояние между элементами */
  margin: 20px 0 20px;      /* 📏 Отступ сверху и снизу */
  font-size: 14px;          /* 🔠 Базовый размер шрифта */
  line-height: 1.4;         /* 📐 Высота строки */
  color: var(--text-color);              /* 🎨 Цвет текста */
  padding-left: 10px;       /* 🪄 ОТДВИГАЕМ ОТ ЛЕВОГО КРАЯ */
}

/* 💬 Заголовок перед звёздами */
.fullstory-rating-label {
  font-weight: bold;        /* 🧱 Жирный шрифт */
  color: #ffb400;           /* 🎨 Жёлтый акцент */
  margin-right: 10px;       /* ↔️ Отступ от текста до звёзд */
}

/* 🔘 Контейнер с лайками, звёздами, дизлайками */
.rate {
  display: flex;            /* 🔳 В строку */
  align-items: center;      /* ↕️ По центру */
  gap: 10px;                /* 🔘 Промежутки */
  flex-wrap: wrap;          /* 📦 Адаптация на мобилках */
}

/* ⭐️ Звёздная оценка */
.rate_stars {
  font-size: 1.2em;         /* 🔠 Покрупнее */
  color: #ffb400;           /* 🌟 Жёлтые звёзды */
}

/* 👍 Блок «лайк» */
.rate_like,
.rate_like-dislike {
  display: flex;            /* 🔳 В строку */
  align-items: center;      /* ↕️ Центрирование */
  gap: 6px;                 /* 🔘 Промежутки между иконками */
   /* 🎨 Тёмный фон */
  border-radius: 4px;       /* 🟦 Скругления */
  padding: 6px 10px;        /* 📏 Внутренние отступы */
  font-weight: bold;        /* 🔠 Жирный текст */
  color: var(--text-color);              /* ⚪️ Белый текст */
  cursor: pointer;          /* 🖱️ Указатель */
  transition: background 0.3s; /* 🎞️ Плавность */
}

/* 🖱️ Наведение на лайк */
.rate_like:hover,
.rate_like-dislike:hover {
     /* 🎨 Подсветка при наведении */
}

/* 👆 Иконка + */
.plus_icon {
  font-size: 1.2em;         /* 🔍 Увеличиваем */
}

/* 👎 Минус красный */
.plus_icon.minus {
  color: #ff4444;           /* 🔴 Акцент на дизлайк */
}

/* 📱 Мобильная адаптация */
@media (max-width: 480px) {
  .fullstory-rating {
    flex-direction: column;    /* ⬇️ В столбик */
      /* ⬅️ Выравнивание влево */
    gap: 8px;
    padding-left: 0;           /* ❌ Убираем отступ на мобиле */
  }
  .rate {
    flex-direction: column;    /* ⬇️ Все оценки под друг другом */
    align-items: flex-start;
    gap: 6px;
  }
}

/* 🏷️ Блок тегов — единое поведение для всех устройств */
.vidoser-tags {
  display: flex;
  flex-wrap: nowrap;             /* 🚫 Без переноса */
  gap: 6px;
  font-size: 0.85rem;
  align-items: center;
  overflow-x: auto;              /* ⬅️ Горизонтальный скролл */
  overflow-y: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 10px 16px;
  margin-top: 20px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  scrollbar-width: thin;         /* Firefox */
}
.vidoser-tags::-webkit-scrollbar {
  height: 6px;
}
.vidoser-tags::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

/* 🔗 Стили самих тегов */
.vidoser-tags a,
.vidoser-tags span {
  background: #f0f0f0;
  color: #333;
  padding: 4px 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
  flex-shrink: 0;                 /* ❗ Не сжимать */
}

/* 🌗 Hover и адаптация */
.vidoser-tags a:hover,
.vidoser-tags span:hover {
  background: #795548;
  color: var(--bg-color);
}
[data-theme="dark"] .vidoser-tags a,
[data-theme="dark"] .vidoser-tags span {
  background: #2b2b2b;
  color: #eee;
}
[data-theme="dark"] .vidoser-tags a:hover,
[data-theme="dark"] .vidoser-tags span:hover {
  background: #bfae95;
  color: #111;
}








.vipfile-container {
      position: relative;
      width: 100%;
      max-width: 800px; /* Фиксируем максимальную ширину */
      height: 450px; /* Фиксированная высота */
      margin: 0 auto; /* Центрируем контейнер */
      background: #f0f0f0; /* Светлый фон вместо черного */
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      border-radius: 8px; /* Скругленные углы */
      box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Тень для глубины */
    }
    .vipfile-container iframe {
      width: 100%;
      height: 100%;
      border: none;
      background: transparent; /* Прозрачный фон для плеера */
    }
    .vipfile-loader {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      color: #555;
      background: #f0f0f0;
      z-index: 2;
      font-family: Arial, sans-serif;
    }
    .vipfile-loader .spinner {
      width: 50px;
      height: 50px;
      border: 5px solid rgba(100, 100, 100, 0.2);
      border-top: 5px solid #4a6cf7;
      border-radius: 50%;
      animation: spin 1s linear infinite;
      margin-bottom: 15px;
    }
    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    @media (max-width: 850px) {
      .vipfile-container {
        height: auto; /* Автоматическая высота на мобильных */
        aspect-ratio: 16/9; /* Сохраняем пропорции */
        max-width: 100%;
      }
    }
/* 📦 ОБНУЛЕНИЕ И БАЗА
----------------------------------------------- */
html {
  box-sizing: border-box;
}
/*--- RATING ---*/
.rating {width: 105px; height: 21px; font-size: 0.9em;}


.unit-rating {list-style: none; margin:0; padding: 0; width: 100%; height: 100%;
position: relative; background: url("../dleimages/rating.png") repeat-x;}


.unit-rating li {text-indent: -90000px; padding: 0; margin: 0; float: left;}


.unit-rating li a {display: block; width: 21px; height: 21px; text-decoration: none; text-indent: -900px;
z-index: 17; position: absolute; padding: 0; overflow:hidden;}


.unit-rating li a:hover {background: url("../dleimages/rating.png") 0 -21px; z-index: 2; left: 0;}



.unit-rating a.r1-unit {left: 0;}


.unit-rating a.r1-unit:hover {width:21px;}


.unit-rating a.r2-unit {left: 21px;}


.unit-rating a.r2-unit:hover {width: 42px;}


.unit-rating a.r3-unit {left: 42px;}


.unit-rating a.r3-unit:hover {width: 63px;}


.unit-rating a.r4-unit { left: 63px;}


.unit-rating a.r4-unit:hover {width: 84px;}


.unit-rating a.r5-unit {left: 84px;}


.unit-rating a.r5-unit:hover {width: 105px;}



.unit-rating li.current-rating {background: url("../dleimages/rating.png") 0 -44px; position: absolute;
height: 21px; display: block; text-indent: -900px; overflow:hidden; z-index: 1;}




   
.cat-block-title a {
  color: var(--text-color, #222);
  text-decoration: none;
  transition: color 0.2s ease, border-bottom 0.2s ease;
  border-bottom: 2px solid transparent;
}

.cat-block-title a:hover {
  color: var(--accent, #ffb400);
  border-bottom: 2px solid var(--accent, #ffb400);
}
    
.cat-more-link {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 60px;
}

.cat-more-link a {
  display: inline-block;
  background-color: #f4b400; /* Ярко-жёлтый */
  color: #222; /* Контрастный текст */
  font-weight: bold;
  font-size: 15px;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: all 0.2s ease-in-out;
}

.cat-more-link a:hover {
  background-color: #d89c00;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

 
    .cat-block-title {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin: 100px 0 15px;
  border-bottom: 2px solid var(--accent, #795548);
  padding-bottom: 10px;
}

.cat-block-title a {
  color: var(--text-color, #222);
  text-decoration: none;
}

.cat-more-link {
  text-align: center;
  margin-top: 15px;
  margin-bottom: 50px;
}

.cat-more-link a {
  font-size: 14px;
  color: #000;
  font-weight: bold;
  text-decoration: underline;
}


*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 7px; /* ❗ оставить, если нужно везде округление */
  outline: none;
}


ol, ul {
  list-style: none;
}


blockquote, q {
  quotes: none;
}


table {
  border-collapse: collapse;
  border-spacing: 0;
}


input, select {
  vertical-align: middle;
}


article, aside, figure, hgroup, footer, header, nav, section, main {
  display: block;
}
:root {
  --bg-color: #f4f4f4;
  --text-color: #111;
  --accent-color: #ffb400;
  --input-bg: #fefefe;
  --input-text: #000;
  --bg-image: linear-gradient(135deg, #faf9f6 0%, #f4f4f4 100%);
  --header-bg-color: #979292;
}
[data-theme="dark"] {
  --bg-color: #1c1c1c;
  --text-color: #f0f0f0;
  --accent-color: #ffb400;
  --input-bg: #2b2b2b;
  --input-text: #fff;
  --bg-image: linear-gradient(135deg, #232323 0%, #181818 100%);
  --header-bg-color: #1c1c1c;
}


body {
  background-color: var(--bg-color);
  background-image: var(--bg-image);
  background-repeat: repeat;
  background-size: auto;
  color: var(--text-color);
  transition: background 0.3s ease, color 0.3s ease;
}




html::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), var(--bg-image);
  background-repeat: repeat;
  background-size: auto;
  opacity: 0.4;
  z-index: -9999; /* ниже всех */
  pointer-events: none;
}



/* 🌗 ПЕРЕКЛЮЧАТЕЛЬ ТЕМЫ */
.theme-switch-wrapper {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  font-size: 18px;
  user-select: none;
}



.theme-switch {
  position: relative;
  width: 50px;
  height: 26px;
  margin-right: 8px;
}


.theme-switch input {
  display: none;
}



.slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  border-radius: 34px;
  cursor: pointer;
  transition: background-color 0.4s ease;
}


.slider:before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.4s ease;
}



input:checked + .slider {
  background-color: #f01e14;
  box-shadow: 0 0 6px #f01e14, 0 0 10px #f01e14;
}


input:checked + .slider:before {
  transform: translateX(24px);
}



.theme-label {
  font-size: 16px;
  color: var(--text-color);
}



/* 🌈 НЕОНОВЫЙ ЭФФЕКТ ДЛЯ ТЁМНОЙ ТЕМЫ */
[data-theme="dark"] .theme-switch-wrapper {
  text-shadow: 0 0 5px #f01e14;
}


/* 💡 LIGHTBOX: полноэкранное изображение */
.lightbox-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  z-index: 10000;
}


.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  border-radius: 4px;
}



/* 📱 Кнопка открытия сайдбара на мобилках */
.btn-menu {
  display: none;
}



/* 🖥️ Desktop: сайдбар и колонки */
@media (min-width: 769px) {
  .cols.fx-row {
    display: flex;
    gap: 10px;
  }



  .usp-sidebar-panels {
    position: relative;
    transform: none;
    width: 230px;
    padding: 16px;
    background: var(--bg-color);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    z-index: 1000;
  }


}

/* 📱 Mobile: сайдбар выезжающий */
@media (max-width: 768px) {
  .btn-menu {
    display: block;
  }



  .cols.fx-row {
    display: block;
  }



  .usp-sidebar-panels {
    position: fixed;
    top: 0; left: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    padding: 16px;
    background: var(--bg-color);
    border: 1px solid #ddd;
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 0 12px rgba(0,0,0,0.15);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 2000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }



  .usp-sidebar-panels.open {
    transform: translateX(0);
  }



  body.no-scroll {
    overflow: hidden;
  }


}
/* 📦 Панель блока внутри сайдбара */
.usp-panel {
  background: var(--bg-color);
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  width: 100%;
}



/* 🟥 Заголовок панели */
.usp-panel__header {
  background: #f01e14;
  color: #fff;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 15px;
}



/* 📄 Список ссылок */
.usp-panel__body {
  display: flex;
  flex-direction: column;
}



/* 🔗 Ссылки внутри панели */
.usp-panel__body a {
  padding: 8px 14px;
  color: var(--text-color);
  text-decoration: none;
  border-top: 1px solid #eee;
  transition: background 0.2s ease, color 0.2s ease;
}



/* ❌ Убираем лишнюю границу у первой */
.usp-panel__body a:first-child {
  border-top: none;
}



/* ✨ Hover эффект */
.usp-panel__body a:hover {
  background: #f9f9f9;
  color: #f01e14;
}


/* 🧾 Контейнер описания под заголовком */
.main-description {
  background: rgba(255, 255, 255, 0); /* прозрачный */
  padding: 24px 32px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 32px;
  transition: all 0.3s ease;
}



/* 🟦 Заголовок h1 */
.main-description h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0168a5;
  margin-bottom: 16px;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}



/* ✍️ Параграф */
.main-description p {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 12px;
}



/* 📱 Адаптив под планшеты и телефоны */
@media (max-width: 768px) {
  .main-description {
    padding: 20px;
    margin-bottom: 24px;
  }







  .main-description p {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }


}

/* 📦 Off-canvas боковая панель (мобилки/планшеты) */
@media screen and (max-width: 1024px) {
  .usp-sidebar-panels {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100%;
    background: var(--bg-color);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 2px 0 5px rgba(0,0,0,0.15);
    overflow-y: auto;
    display: block;
  }



  #close-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
  }



  #close-overlay.open {
    display: block;
  }



  .cols.fx-row.shifted {
    transform: translateX(260px);
    transition: transform 0.3s ease;
  }



  .cols.fx-row {
    flex-direction: column;
  }


}





}
/* 📱 Дополнительная адаптация для телефонов */
@media (max-width: 480px) {
  .main-description {
    padding: 16px;
    margin-bottom: 20px;
  }


  .main-description p {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }


}

/* 🧩 Подвал: список тегов */
.podvalchik-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 0;
  background: none;
}



.podvalchik-menu a,
.podvalchik-menu span {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  font-size: 0.875rem;
  border-radius: 1.2rem;
  text-decoration: none;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}



.podvalchik-menu a:hover,
.podvalchik-menu span:hover {
  background-color: #ffffff;
  color: #fff;
  transform: translateY(-1px);
}



/* 📱 Адаптация футера на очень узких экранах */
@media (max-width: 480px) {
  .podvalchik-menu {
    justify-content: space-around;
  }


  .podvalchik-menu a,
  .podvalchik-menu span {
    flex: 1 1 45%;
    text-align: center;
  }


}

/* 📈 Полоса прокрутки страницы */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  z-index: 9999;
}



#reading-progress__bar {
  width: 0%;
  height: 100%;
  background: #f01e14;
  transition: width 0.1s ease-out;
}

h1[itemprop="name"] {
  color: #fff !important;
}


/* 🎠 Карусель — адаптивная настройка */
@media (max-width: 768px) {
  .my-carousel__list {
    padding: 0 40px;
    gap: 10px;
  }


  .my-carousel__list .recommended-item {
    width: 120px;
  }


  .my-carousel__arrow--left,
  .my-carousel__arrow--right {
    left: 25px;
    right: 25px;
  }


}

@media (max-width: 600px) {
  .my-carousel__wrap {
    padding: 12px 0;
  }


  .my-carousel__list {
    padding: 0 48px;
    gap: 8px;
  }


  .my-carousel__list .recommended-item {
    width: 100px;
  }



  .my-carousel__arrow {
    padding: 12px !important;
  }



  .my-carousel__arrow--left {
    left: 30px !important;
    right: auto !important;
  }


  .my-carousel__arrow--right {
    right: 30px !important;
    left: auto !important;
  }



  .my-carousel__arrow::before {
    border-top-width: 17px !important;
    border-bottom-width: 17px !important;
    border-right-width: 28px !important;
    border-left-width: 28px !important;
  }


}






}

/* 🛠️ Удалено: временные outline (замени при отладке на box-shadow или подсветку) */

/* 📦 Общая обёртка */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
    
}





/* ⏱️ Метаданные (дата, лайки, закладки) */
.vidoser-meta {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}


.vidoser-meta .icon-l {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-color);
}


.vidoser-meta .icon-l span.fa {
  color: #f00;
}



/* 📌 Кнопка "Добавить в закладки" — современная анимация, без жёлтого свечения */
#add-to-bookmarks {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #795548;
  color: var(--text-color, #fff);
  padding: 5px 14px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  animation: pulseGlow 1.7s infinite;
  transition: background 0.2s, transform 0.1s, box-shadow 0.25s;
  box-shadow: 0 1px 5px rgba(120, 70, 30, 0.10);
  outline: none;
}

#add-to-bookmarks:hover,
#add-to-bookmarks:focus {
  background: #cf711f;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 2px 12px rgba(207, 113, 31, 0.15);
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 1px 5px rgba(120, 70, 30, 0.10);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 14px 4px rgba(207, 113, 31, 0.13);
    transform: scale(1.04);
  }
}






/* 💬 Комментарии */
.vidoser-comms {
  margin-top: 30px;
}


.comms-title {
  font-weight: bold;
  margin-bottom: 12px;
}


.add-comm-btn {
  cursor: pointer;
  background: #795548;
  color: var(--bg-color);
  padding: 6px 12px;
  border-radius: 4px;
}


/* 👍👎 РЕЙТИНГ */
.vmeta-rate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}



.rate-action {
  display: inline-flex;
  padding: 4px;
  font-size: 1.1rem;
  color: #666;
  transition: color 0.2s ease;
  cursor: pointer;
}



.rate-action:hover {
  color: #795548;
}



.rate-action.active[data-type="plus"] {
  color: #e67e22;
}



.rate-action.active[data-type="minus"] {
  color: #333;
}



.rate-counts .rate-num {
  font-weight: bold;
  min-width: 24px;
  text-align: center;
}



/* 🎠 КАРУСЕЛЬ РЕКОМЕНДАЦИЙ */
.my-carousel {
  margin: 40px 0;
}



.my-carousel__wrap {
  position: relative;
  overflow: hidden;
  border: 2px solid #e67e22;
  border-radius: 8px;
  padding: 16px 0;
  background: var(--bg-color);
}



.my-carousel__list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 48px;
  margin: 0;
}



.my-carousel__list::-webkit-scrollbar {
  display: none;
}



/* 🧱 Карточки */
.my-carousel__list .recommended-item {
  flex: 0 0 auto;
  width: 140px;
  background: #f9f9f9;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}



.my-carousel__list .recommended-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}



/* 🔳 Превью в карточке */
.my-carousel__list .recommended-thumb {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  background: #ddd;
}



.my-carousel__list .recommended-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* 📄 Текст карточки */
.preview-text {
  padding: 8px;
  background: var(--bg-color);
}



.preview-title {
  line-height: 1.2;
  height: 2.4em;
  overflow: hidden;
  transition: color 0.2s ease;
}



.preview-title:hover {
  color: #e67e22;
}



/* ➡️⬅️ Стрелки */
.my-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 10;
  padding: 14px;
  width: 0;
  height: 0;
}



/* ⬅️ Левая */
.my-carousel__arrow--left {
  left: 30px;
}


.my-carousel__arrow--left::before {
  content: "";
  display: block;
  border-top: 21px solid transparent;
  border-bottom: 21px solid transparent;
  border-right: 32px solid #e67e22;
}


.my-carousel__arrow--left:hover::before {
  border-right-color: #cf711f;
}



/* ➡️ Правая */
.my-carousel__arrow--right {
  right: 30px;
}


.my-carousel__arrow--right::before {
  content: "";
  display: block;
  border-top: 21px solid transparent;
  border-bottom: 21px solid transparent;
  border-left: 32px solid #e67e22;
}


.my-carousel__arrow--right:hover::before {
  border-left-color: #cf711f;
}


/* 📊 Полоса прокрутки (Reading Progress) */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  z-index: 9999;
}



/* ⛳️ Основная шапка сайта */
/* ==========================================================================  
   ШАПКА  
   ========================================================================== */



:root {
  --header-bg-color: #ffffff; /* светлая тема */
}



[data-theme="dark"] {
  --header-bg-color: #1c1c1c; /* тёмная тема */
}


/* 🔼 СКРОЛЛ В ПОДМЕНЮ (верхнее меню) */
.main-menu li.has-submenu > .submenu {
  max-height: 500px;                   /* ограничиваем высоту */
  overflow-y: auto;                    /* вертикальный скролл */
  overscroll-behavior: contain;        /* не «выламывается» */
}



/* 🎛️ Стилизация скролл-бара */
.main-menu li.has-submenu > .submenu::-webkit-scrollbar {
  width: 6px;
}


.main-menu li.has-submenu > .submenu::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}



/* 🧭 УПРАВЛЕНИЕ СКРОЛЛОМ ВНУТРИ ЭЛЕМЕНТОВ */
/* 1️⃣ Теги с горизонтальным скроллом */
.tags-inner-scroll {
  -webkit-overflow-scrolling: auto; /* отключаем inertia */
  touch-action: pan-x;              /* только горизонтальные жесты */
}




/* ⬇️ ГЛАВНЫЙ ОТСТУП ПОД ШАПКУ */
.page__wrapper,
.main,
.content {
  padding-top: calc(60px + env(safe-area-inset-top));
}






/* 🔍 КНОПКА ПОИСКА */
.search-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  background: transparent;
  border: 1px solid var(--text-color);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
  z-index: 10;
}


.search-button__text {
  line-height: 1;
}


.search-button i {
  pointer-events: none;
}


.search-button:hover {
  background: var(--text-color);
  color: var(--bg-color);
}


.search-button:active {
  transform: scale(0.95);
}


/* 🔎 Форма поиска */
.search-form {
  display: flex;
  align-items: center;
  gap: 6px;
}



.search-form input[type="text"] {
  flex: 1;
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: var(--bg-color);
  color: var(--text-color);
}



.search-form button {
  padding: 6px 12px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: #fff;
  transition: background 0.2s ease;
}



.search-form button:hover {
  background: #005c94;
}



/* 🧊 Всплывающее окно поиска */
.search-box-fixed {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  background: #392420;
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}



.search-box-fixed.active {
  opacity: 1;
  pointer-events: auto;
}




/* 📱 Контейнер мобильного меню */
#mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 20px;
  background: #795548;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 998;
  box-sizing: border-box;
}



/* 📏 Адаптивные точки переключения навигации */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none !important;
  }




}

html {
  background-color: var(--bg-color);
  background-image: var(--bg-image);
  background-repeat: repeat;
  background-attachment: fixed;
  background-size: auto;
  z-index: 0; /* гарантия, что фон ниже */
}










 .speedbar {font-size: 13px; color: var(--text-color); border-bottom: 1px solid #111; margin: 15px -30px 15px -20px; padding: 0 30px 15px 30px;}


        .speedbar .fa {color: #f01e14; margin-right: 10px;}


          /* Контейнер навигации — только для позиционирования в шапке */
.desktop-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  padding: 0 80px; /* контролируем отступы от логотипа и поиска */
}



/* Сам список ul — НЕ трогаем отступы между li */
.desktop-nav ul {
  display: flex;
  gap: 60px; /* оставляем как есть */
  margin: 0;
  padding: 0;
  list-style: none;
}


/* Оставляем безопасный gap */
.desktop-nav ul {
  display: flex;
  gap: 20px; /* норм для подменю */
  margin: 0;
  padding: 0;
  list-style: none;
}



/* ДОБАВЛЯЕМ отступы только к верхним элементам шапки */
.main-menu > li {
  margin: 0 10px; /* ← увеличиваешь как хочешь */
}



/* Чтобы submenu не наследовал этот отступ — сбросим */
.submenu li {
  margin: 0 !important;
}




.clr {clear: both;}


.clearfix:after {content: ""; display: table; clear: both;}


a {color:var(--text-color); text-decoration: none;}


a:hover, a:focus {color:var(--text-color); text-decoration: none;}


h1, h2, h3, h4, h5 {font-weight:400; font-size:22px;}

}
.sub-title h1 {margin-bottom:15px; font-size:24px; font-weight:700;}

}


/*--- SET ---*/
.button, .pagi-load a, .up-second li a, .usp-edit a, .qq-upload-button, button:not(.color-btn):not([class*=fr]), 
html input[type="button"], input[type="reset"], input[type="submit"], .meta-fav a, .usp-btn a {
padding:0 20px; display:inline-block; line-height:40px; border-radius:0px; cursor:pointer; 
background-color:#f01e14; var(--bg-color); text-align:center;}


button::-moz-focus-inner, input::-moz-focus-inner {border:0; padding:0;}


button[disabled], input[disabled] {cursor:default;}


.button:hover,
.up-second li a:hover,
.usp-edit a:hover,
.qq-upload-button:hover,
.pagi-load a:hover,
.usp-btn a:hover,
button:not(.color-btn):hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.meta-fav a:hover {
  background-color: #5d4037; /* ✅ тёмно-коричневый в тему */
  color: #fff;
  transition: background 0.2s ease-in-out;
  border-radius: 6px;
}



button:active, html input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active 
{box-shadow: inset 0 1px 4px 0 rgba(0,0,0,0.1);}



input[type="text"], input[type="password"] {display:block; width:100%; height:40px; line-height:40px; padding:0 15px;
color:#000000; background-color:#f8f8f8; border-radius:0px; -webkit-appearance: none; 
box-shadow:0 0 0 1px #EDEDED,inset 1px 1px 3px 0 rgba(0,0,0,0.1);}

}

input:focus::-webkit-input-placeholder {color: transparent}


input:focus::-moz-placeholder {color: transparent}


input:focus:-moz-placeholder {color: transparent}


input:focus:-ms-input-placeholder {color: transparent}

 

select {height:40px; border:1px solid #e3e3e3; background-color:var(--bg-color);}


textarea {display:block; width:100%; padding:10px; border:1px solid #e3e3e3; background-color:#F8F8F8; 
border-radius:0; overflow:auto; vertical-align:top; resize:vertical; 
box-shadow:0 0 0 1px #EDEDED,inset 1px 1px 3px 0 rgba(0,0,0,0.1);}



.img-box, .img-wide, .img-resp-h, .img-resp-v {overflow:hidden; position:relative; background-color:#000;}


.img-resp-h {padding-top:55%;}


.img-resp-v {padding-top:130%;}


.img-box img, .img-resp-h img, .img-resp-v img {width:100%; min-height:100%;}


.img-resp-h img, .img-resp-v img {position:absolute; left:0; top:0;}


.img-wide img {width:100%; display:block;}


.img-square img {width:150%; max-width:150%; margin-left:-25%;}


.nowrap {white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}


button, .topchik-menu a {transition: all .3s;}


.button, .preview-img img {transition: color .3s, background-color .3s, opacity .3s;}


.ps-link {cursor:pointer;}


.icon-l .fa {margin-right:10px;}


.icon-r .fa {margin-left:10px;}



.fx-row {display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;
-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;}


.fx-center{-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}


.fx-between{-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}


.fx-stretch{-ms-flex-align:stretch;-webkit-align-items:stretch;align-items:stretch}


.fx-top{-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}


.fx-middle{-ms-flex-align:center;-webkit-align-items:center;align-items:center}


.fx-bottom{-ms-flex-align:end;-webkit-align-items:flex-end;align-items:flex-end}


.fx-col{display:-ms-flexbox;display:-webkit-flex;display:flex; 
-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}


.fx-wrap{-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}



.pages {background-color:var(--bg-color); box-shadow:0 1px 2px 0 rgba(0,0,0,0.1); padding:20px;}






/* BASIC GRID
----------------------------------------------- */
.wrap {min-width:320px; overflow:hidden;}


.center {max-width:1200px; margin:0 auto; position:relative; z-index:20;}


.topchik-one {background-color:#7f512a; height:60px; padding:0 2010px; margin:0 -2000px;}


.topchik-two {background-color:var(--bg-color); height:5px; padding:0 2010px; margin:0 -2000px; 
box-shadow:0 20px 20px -20px rgba(0,0,0,0.2);}


.cols {margin:20px 0; padding:0 10px;}


.bochello {width:240px; background-color:#f5f5f5;}


.contello {
  padding-left: 20px;
  padding-top: calc(30px + env(safe-area-inset-top)); /* отступ сверху под шапку 😊 */
  min-height: 600px;
}



.footer {background-color:#fff0; padding:20px 2010px; margin:0 -2000px; color: var(--text-color);; text-align:center; 
box-shadow:0 -20px 20px -20px rgba(0,0,0,0.2); position:relative;}




/* HEADER
----------------------------------------------- */
.logo {display:block; float:left; width:240px; height:60px; margin-right:60px;}


.logo img {display:block;}



.search-box {width:400px; float:left; margin-top:10px;}


.search-field {width:100%; position:relative;}


.search-field input, .search-field input:focus {width:100%; border-radius: 7px; padding:0 50px 0 10px; 
background-color:#fff; color:#2a2a2a; height:40px; line-height:40px; box-shadow:none;}


.search-box button {position:absolute; right:0; top:0;
padding:0 !important; width:40px; height:40px !important; line-height:40px !important; 
font-size:18px; background-color:transparent !important; color:#f01e14 !important;}



.btns-log {height:60px; line-height:60px; white-space:nowrap; float:right;}


.btns-log a {display:inline-block; padding:0 20px; color:var(--bg-color);}


.show-login {background-color:#f01e14; border-radius: 8px; color:var(--bg-color); cursor:pointer; display:inline-block; padding:0 20px;}


.btns-log a:hover, .show-login:hover {text-decoration:underline;}



.topchik-menu, .topchik-menu li {float:left;}


.topchik-menu a {display:block; line-height:30px; padding:0 10px; background-color:#f2f2f2; margin:10px 10px 0 0;}


.topchik-menu a span {background-color:#fa5800; color:var(--bg-color); display:inline-block; vertical-align:top; 
height:20px; line-height:20px; padding:0 5px; margin:5px 0 0 10px;}



.sorter {display:inline-block; float:right; position:relative; cursor:pointer; margin-top:10px;
padding:0 10px; line-height:30px;}


.sorter:before {content:attr(data-label); float:left; padding:0 10px 0 0;}


.sorter form {display:none; background-color:var(--bg-color); padding:10px; line-height:26px; box-shadow:0 0 15px 0 rgba(0,0,0,0.2); 
position:absolute; right:0; top:100%; width:160px; z-index:999;}


.sorter a:hover {text-decoration:underline;}


.sort li.asc a:after, .sort li.desc a:after {content:"\f063"; font-family:FontAwesome; display:inline-block; margin-left:10px;}


.sort li.desc a:after {content:"\f062"}




/* SEO DESCRIPTION
----------------------------------------------- */
.site-desc {color:var(--text-color); line-height:18px; text-align:justify;}


.site-desc h1 {font-size:26px; margin-bottom:10px; 
padding-bottom:10px; border-bottom:1px solid #795548;}


.site-desc h2 {font-size:25px; margin-bottom:10px; 
padding-bottom:10px; border-bottom:1px solid #f01e14;}


.site-desc h3 {font-size:20px; margin-bottom:10px; 
padding-bottom:10px; border-bottom:1px solid #f01e14;}

}
.site-desc p + p {margin-top:5px;}


.site-desc a {color:#f01e14; text-decoration:underline;}




/* THUMB
----------------------------------------------- */
.floats {margin:0 -5px;}


.vidos {width:33.33%; float:left; padding:0 5px 10px 5px;}


.preview-in {background-color:var(--bg-color); position:relative; box-shadow:0 1px 2px 0 rgba(0,0,0,0.1);}


.preview-img {display:block; height:240px;}


.preview-img:hover img {opacity:0.8;}


.preview-rate {display:inline-block; padding:5px 10px; background-color:rgba(250,88,0,0.8); color:var(--bg-color);
position:absolute; right:0px; top:10px; z-index:20; font-size:16px; white-space:nowrap;}


.preview-time {display:inline-block; padding:5px 10px; background-color:rgba(0,0,0,0.5); color:#ffffff;
position:absolute; left:0px; top:10px; z-index:20; font-size:16px;}


.preview-text {padding:15px 10px;}


.preview-title {display:block; font-size:20px; font-weight:300; line-height:22px; height:44px; overflow:hidden;}




/* SIDE
----------------------------------------------- */
.bochello-box {padding:10px;}


.bochello-bt {font-size:18px; padding-bottom:10px; margin-bottom:10px; border-bottom:1px solid #f01e14;}



.bochello-nav {background-color:#f01e14888; color:var(--bg-color);}


.bochello-nav .bochello-bt {border-bottom:0; margin:-10px -10px 10px -10px; padding:10px; background-color:#f01e14; color:var(--bg-color);}


.bochello-nav a {border-bottom:1px solid #f01e14; box-shadow:0 1px #f01e14; display:block; 
padding:10px 50px 10px 0; color:var(--bg-color); font-size:14px;}


.bochello-nav li:last-child a {border-bottom:0; box-shadow:none;}


.bochello-nav a:hover {color:#f01e14;}


.bochello-nav li {position:relative;}


.bochello-nav li span {position:absolute; right:10px; top:10px; opacity:0.8;}




/* FOOTER
----------------------------------------------- */
.podvalchik-copyr {margin-bottom:10px; font-size:18px;}


.podvalchik-menu a {
  color: var(--text-color);
  display: inline-block;
  vertical-align: top;
  padding: 1px 10px;
  transition: background 0.3s, color 0.3s;
}



.podvalchik-menu a:hover {
  background: #795548;
  color: #fff;
}



.podvalchik-menu a + a {border-left:1px solid #86636f;}


.podvalchik-menu a:hover {color:var(--bg-color); text-decoration:underline;}


.counter {display:inline-block; height:31px; background-color:#795548; 
position:absolute; left:0; bottom:20px; margin-left:2010px;}




/* BOTTOM NAVIGATION
----------------------------------------------- */
.bottom-nav {line-height:46px; text-align:left; padding:20px 5px 0 5px;}


.pagi-nav {max-width:100%; display:inline-block;}


.pagi-nav > span {display:inline-block;}

}
.pnext a, .pprev a, .pprev > span, .pnext > span {display:block; width:46px; text-align:center;}


.navigation {text-align:center;}


.navigation a, .navigation span, .pnext a, .pprev a, .pprev > span, .pnext > span {display:inline-block; padding:0 5px; 
min-width:46px; background-color:#795548; margin:5px 5px 0 0; border-radius:0px; border:0px solid #ddd; 
box-shadow:0 3px 5px 0 rgba(0,1,1,0); font-size:18px;}


.navigation span, .pagi-nav a:hover {background-color:#555454; var(--bg-color);}


.navigation span.nav_ext {background-color:var(--bg-color); color:#555454;}


.pagi-nav a:hover {background-color:#55545469; colorvar(--bg-color);}


.dle-comments-navigation .pagi-nav {margin-bottom:0;}




/* FULL
----------------------------------------------- */
.vidoser-in {background-color:var(--bg-color); box-shadow:0 1px 2px 0 rgba(0,0,0,0.1); margin-bottom:20px;}


.player-box {background-color:#000;}


.player-box .video-box {max-width:700px; margin:0 auto;}


.vidoser-in h1 {font-size:22px; padding:10px;}


.vidoser h1 a {color:#fa5800; margin-left:10px;}


.vidoser-meta {padding:10px;}


.vmeta-fav, .btn-scr, .btn-dl, .vmeta-time, .vmeta-views {float:left; margin:0 0 0 20px; cursor:pointer; line-height:40px; position:relative;}


.vmeta-time, .vmeta-views {float:right;}


.vmeta-desc {padding:10px; background-color:var(--bg-color); margin:0 10px 10px 10px;}



.vmeta-screens {padding:10px 5px 0 5px; border:1px solid #f0f0f0; background-color:#f2f2f2; text-align:center; margin-bottom:10px; display:none;}


.vmeta-screens a, .vmeta-screens > img {display:inline-block; vertical-align:top; margin:0 5px 10px 5px; 
max-width:250px; max-height:150px; overflow:hidden;}


.vmeta-screens a img {display:block;}


.vmeta-screens br {display:none;}



.btn-dl ul {position:absolute; left:0; top:100%; z-index:100; background-color:rgba(0,0,0,0.8); color:var(--bg-color);
width:200px; padding:5px 0; display:none;}


.btn-dl ul li {padding:5px 10px; line-height:normal; text-transform:none;}


.btn-dl ul li a {color:var(--bg-color);}


.btn-dl li:hover {background-color:#000;}



.vmeta-rate {float:left; white-space:nowrap; text-align:center; border-radius:4px; overflow:hidden; 
background-color:#f5f5f5; box-shadow:0 0 0 1px #e3e3e3; width:246px;}


.rate-plus, .rate-minus, .rate-counts {display:inline-block; vertical-align:middle;}


.rate-data {display:none;}


.rate-counts {width:160px; padding:0 10px; padding-top:3px; height:40px;}


.rate-plus, .rate-minus {cursor:pointer; width:40px; height:40px; text-align:center; font-size:24px; 
background: linear-gradient(to bottom, #fff 0%,#e6e6e6 100%); line-height:40px;}


.rate-plus {color:#1e9b05; border-right:1px solid #e3e3e3;}


.rate-minus {color:#d00707; border-left:1px solid #e3e3e3;}


.rate-plus:hover, .rate-minus:hover {background: linear-gradient(to top, #fff 0%,#e6e6e6 100%);}


.rate-bar {width:100%; min-height:6px; height:6px; border-radius:4px; overflow:hidden; 
position:relative; background-color:#ef4559;}


.rate-fill {width:50%; height:100%; position:absolute; left:0; top:0; background-color:#7bbc00; transition:width 1s linear;}


.rate-perc {margin-right:5px; font-size:18px; color:#1e9b05;}



.rels-t {margin-bottom:10px; font-size:24px;}


.vidoser .vidos {padding:10px 5px 0px 5px;}




/* FULL STORY STATIC
----------------------------------------------- */
.video-box embed, .video-box object, .video-box video, .video-box iframe, .video-box frame 
{max-width:100% !important; display:block; width:100%; height:400px;}


.mejs-container {max-width:100% !important;}


.vidoser-text {font-size:14px; line-height:40px; color:var(--text-color);}


.vidoser-text img:not(.emoji) {max-width:100%; margin:10px 0;}


.vidoser-text > img[style*="left"], .vidoser-text > .highslide img[style*="left"] {margin:0 10px 10px 0;}


.vidoser-text > img[style*="right"], .vidoser-text > .highslide img[style*="right"] {margin:0 0 10px 10px;}


.vidoser-text a {text-decoration:underline; color:#3366cc;}


.vidoser-text a:hover {text-decoration:none;}


.vidoser-text h2, .vidoser-text h3, .vidoser-text h4, .vidoser-text h5 {margin:10px 0; font-size:18px; font-weight:700;}


.vidoser-text p {margin-bottom:10px;}


.vidoser-text ul, .vidoser-text ol {margin:0;}


.vidoser-text ul li {list-style:disc; margin-left:40px;}


.vidoser-text ol li {list-style:decimal; margin-left:40px;}



.vidoser-taglist a {color:#e13d7a;}


.vidoser-taglist {margin-top:20px;}


.vidoser-taglist span:not(.fa):not(:last-child):after {content:","; display:inline;}




/* COMMENTS
----------------------------------------------- */
.vidoser-comms {padding:10px; background-color:var(--bg-color);}


.comms-title {line-height:40px;}


.comms-title > span {font-size:16px;}


.add-comm-form {position:relative; margin:20px 0; display:none;}


.ac-soc {position:absolute; right:0px; top:-8px;}


.ac-soc:before {content:attr(data-label); display:inline-block; vertical-align:top; line-height:30px; margin-right:5px;}


.ac-soc a {display:inline-block; margin:0 0 0 3px; vertical-align:top;}


.ac-soc img {display:block; width:30px;}


.ac-inputs, .ac-textarea {margin-bottom:15px;}



.ac-av {width:40px; height:40px; border-radius:0%; float:left; margin-right:10px;
background:#fff url(../dleimages/noavatar.png) no-repeat; background-size:contain;}


.ac-title {font-weight:700; margin-bottom:15px; text-transform:uppercase;}


.ac-inputs input {width:49%; background-color:#ffffff; box-shadow:0 0 0 1px #EDEDED,inset 1px 1px 3px 0 rgba(0,0,0,0.1);}


.ac-textarea textarea {height:85px;}

}
.sec-answer + .sec-label {margin-top:10px;}


.ac-protect {margin-top:-10px; display:none;}


.ac-protect .label {font-size:12px;}


.ac-protect .sep-input {padding:10px 10px 10px 160px;}


.ac-protect input {background-color:var(--bg-color);}



.mass_comments_action {text-align:right; padding:5px 15px; background-color:#f0f0f0; margin:20px 0 0 0;}


.last-comm-link {font-size:16px; margin-bottom:10px;}


.last-comm-link a {text-decoration:underline;}

}

.comm {background-color:var(--bg-color); padding:10px; padding-left:60px; margin-top:10px;}


.comm-av {width:40px; height:40px; float:left; margin-left:-50px;}


.comm-meta {margin-bottom:8px;}


.comm-meta span + span {margin-left:10px; opacity:0.8;}


.comm-author {font-weight:700;}


.comm-text {font:14px/18px Arial, Helvetica, sans-serif;}




/* LOGIN
----------------------------------------------- */
.login-box {background-color:var(--bg-color); padding:20px; display:none;}


.lb-user {margin:-20px -20px 20px -20px; padding:20px; background-color:var(--bg-color);  
display:flex; flex-flow:row wrap; justify-content:center; align-items:center;}


.lb-ava {width:80px; height:80px; border-radius:50%; margin-right:20px;}


.lb-name div {font-size:18px;}


.lb-name a {margin-top:10px;}


.lb-menu a {display:block; line-height:30px; padding:0 10px; background-color:var(--bg-color);}


.lb-menu a:hover, .lb-menu a:hover .fa {background-color:#e13d7a; color:var(--bg-color);}


.lb-menu a .fa {color:#593136;}


.login-box input[type="text"], .login-box input[type="password"], .login-box button, .lb-check 
{display:block; margin-bottom:20px; width:100%;}


.lb-check input {display:none;}


.lb-check input + label:before {width:14px; height:14px; margin-right:7px; cursor:pointer; position:relative; top:3px;
border-radius:3px; border:1px solid #ccc; content:""; background-color:#f01e14; display:inline-block;}


.lb-check input:checked + label:before {background-color:#e5050b;}


.lb-soc {margin:20px -20px -20px -20px; padding:20px; background-color:#f6f6f6; text-align:center;}


.lb-soc a {display:inline-block; margin:10px 3px 0 3px; vertical-align:top;}


.lb-soc img {display:block; width:30px;}




/* GO TOP BUTTON */
#gotop{position:fixed; width:40px; height:40px; line-height:36px; right:10px; bottom:10px; cursor:pointer; font-size:20px;
z-index:9998; display:none; opacity:0.7; background-color:#000; color:var(--bg-color); border-radius:0%; text-align:center;}





/* ADAPTIVE
----------------------------------------------- */
/* ==========================================================================
   Общие стили для страницы
   ========================================================================== */
  .vipfile-banner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 860px;
    margin: 20px auto;
    padding: 16px;
    background: #005a98;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background .3s, box-shadow .3s;
  }


  .vipfile-banner:hover {
    background: #005a98;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }



  /* 1) CSS logo */
  .vipfile-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
  }


  .vipfile-logo .fa-cloud-upload {
    margin-right: 8px;
  }


  .vipfile-logo .vipfile-text {
    text-transform: none;
  }



  /* 2) Video icon */
  .vipfile-banner .icon-video {
    width: 32px;
    height: 32px;
    fill: #ff6b00;
    margin: 0 12px;
    flex-shrink: 0;
  }



  /* 3) CTA text + arrow */
  .vipfile-banner .text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
  }


  .vipfile-banner .arrow {
    display: inline-block;
    margin-left: 8px;
    color: #ff6b00;
    animation: bounce 1s ease-in-out infinite;
    vertical-align: middle;
  }


  @keyframes bounce {
    0%,100% { transform: translateY(0) }


    50%     { transform: translateY(-4px) }


  }

  /* 4) Responsive tweaks */
  @media (max-width: 600px) {
    .vipfile-banner {
      flex-direction: column;
      text-align: center;
      padding: 12px;
    }


    .vipfile-logo {
      font-size: 1.3rem;
      margin-bottom: 8px;
    }


    .vipfile-banner .icon-video {
      width: 28px; height: 28px;
      margin: 0 0 8px;
    }


    .vipfile-banner .text {
      font-size: 1.1rem;
      white-space: normal;
    }


    .vipfile-banner .arrow {
      margin-top: 8px;
      margin-left: 0;
      font-size: 1.3rem;
    }


  }

@media screen and (max-width: 1400px) {
.preview-img {height:200px;}


    
}    
    
@media screen and (max-width: 1220px) {
.center {max-width:1000px;}


    .preview-img {height:202px;}


    .vidos {
    width: 49.33%;
    float: left;
    padding: 0 5px 10px 5px;
}



.vmeta-fav, .btn-scr, .btn-dl, .vmeta-time, .vmeta-views {margin:0 0 0 10px;}


}

@media screen and (max-width: 950px) {
.center {max-width:768px;}


.search-box {width:250px;}


.btns-log a, .topchik-menu, .bochello {display:none;}


.contello {width:100%; padding-left:0;}


.counter {position:static; margin:10px 0 0 0;}



.btn-menu {background-color:#f01e14; color:var(--bg-color); cursor:pointer; display:block; float:left; 
width:50px; height:50px; line-height:50px; text-align:center; font-size:18px;}


}

@media screen and (max-width: 760px) {
.center {max-width:640px;}


.vidos {width:50%;}


.topchik-one {height:100px; position:relative;}


.search-box {width:auto; float:none; margin-top:0; position:absolute; top:60px; left:2010px; right:2010px;}


.search-field input, .search-field input:focus {height:30px; line-height:30px;}


.search-box button {width:30px; height:30px !important; line-height:30px !important;}



.ac-protect {margin-top:0px;}


.comments-tree-list .comments-tree-list {padding-left:0px !important;}


.comments-tree-list .comments-tree-list:before {display:none;}


.mass_comments_action {display:none;}


.sub-title h1 {font-size:18px; line-height:24px;}


}

@media screen and (max-width: 590px) {
.center {max-width:480px;}



.vidoser-in h1, .rels-t {font-size:18px;}


.vidoser-meta {text-align:center;}


.vmeta-rate {float:none; margin:0 auto 10px auto;}


.vmeta-fav, .btn-scr, .btn-dl, .vmeta-time, .vmeta-views {float:none; margin:0 5px; line-height:20px; display:inline-block; vertical-align:top;}



.video-box embed, .video-box object, .video-box video, .video-box iframe, .video-box frame {height:300px;}



.ac-soc {position:static;}


.ac-inputs input {width:100%; margin-top:10px;}


.ac-protect {width:100%; float:none; margin:0;}


.ui-dialog {width:100% !important;}


.upop-left, .upop-right {float:none !important; width:100% !important; margin:0; padding:0 20px;}


.upop-left {margin-bottom:10px; text-align:center;}


.ui-dialog-buttonset button {display:block; margin:0 0 5px 0; width:100%;}


#dofullsearch, #searchsuggestions span.seperator {display:none !important;}


.attach .download-link {margin:0 -15px 0 0; float:none; display:block; padding:0 10px;}


.attach-info {float:none;}


}

@media screen and (max-width: 470px) {
.center2 {max-width:320px;}


.show-login {padding:0 5px; font-size:12px; max-width:60px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}


.logo {width:260px; overflow:hidden; margin:0;}


.vidos {width:100%;}


.site-desc {display:none;}


    .preview-img {height:190px;}



.add-comm-btn {padding:0 10px;}


.comms-title2 {text-align:center; display:block !important;}



.video-box embed, .video-box object, .video-box video, .video-box iframe, .video-box frame {height:250px;}
    

/* 📌 Speedbar — Хлебные крошки, адаптив и обрезка */
.speedbar {
  font-size: 13px;
  color: var(--text-color);
  border-bottom: 1px solid #111;
  margin: 15px -30px 15px -20px;
  padding: 0 30px 15px;
  white-space: nowrap;         /* ❗ Не переносить строки */
  overflow: hidden;            /* ✂️ Скрыть лишнее */
  text-overflow: ellipsis;     /* … если не влезло */
  display: block;
}

/* 🟥 Иконки FontAwesome */
.speedbar .fa {
  color: #f01e14;
  margin-right: 10px;
}
    
