/* BASIC LAYOUT
----------------------------------------------- */
.wrapper {min-width: 320px; position: relative; padding-top: 30px !important;
	background: url(../images/background.jpg) center top fixed no-repeat; background-size: 100% auto;}
.wrapper-container {max-width: var(--max-width); margin: 0 auto; position: relative; z-index: 20;}
.wrapper-main {min-height: 100vh; background-color: var(--bg); box-shadow: 0 30px 60px rgba(0,0,0,1);}
.header {position: absolute; z-index: 10; left: 0; top: 0; right: 0; height: 80px; padding-left: 30px; padding-right: 60px;}
.footer {background: url(../images/favicon.png) 30px center / 40px no-repeat; 
	background-color: var(--bg-3); color: var(--tt-dark); padding: 30px var(--indent); padding-left: 86px;}
.col-main {padding: 30px var(--indent); padding-bottom: 60px; padding-top: 110px;}
.col-side {background: var(--gradient); color: #fff; padding: 110px 30px; width: 240px; position: relative;}
	
#scrolltop {position: fixed; width: 60px; height: 60px; line-height: 60px; right: 10px; bottom: 10px;
	z-index: 990; display: none; background-color: var(--bg); color: var(--tt-2); 
	cursor: pointer; font-size: 24px; border-radius: 50%; text-align: center; box-shadow: 0 5px 10px rgba(0,0,0,0.1);}


/* HEADER, NAV
----------------------------------------------- */
.logo {display: inline-flex; flex-direction: column; justify-content: center; height: 60px; text-align: left;
	width: 210px; margin-right: var(--indent);}
.logo__title {text-transform: uppercase; color: #fff; font-size: 22px; letter-spacing: 5px; 
	font-weight: 400; line-height: 1; font-family: 'Fredoka One', sans-serif;}
.logo__caption {font-size: 10px; font-weight: 500; color: #fff; 
	opacity: 0.9; text-transform: uppercase; letter-spacing: 3px; margin-top: 5px;}

.header__menu > li {margin-right: 30px; position: relative;}
.header__menu > li > a {height: 80px; display: flex; align-items: center;}
.header__menu > li:hover > a {color: var(--accent);}
.header__btn {padding: 0; width: 40px; font-size: 14px; box-shadow: var(--bsh-2);}

.header__btn-menu {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 9999; /* чтобы была поверх всего */
}

.header__search {position:relative; border-bottom: 1px solid var(--bdc); width: 260px;}
.header__search input, .header__search input:focus {padding: 0; border-radius: 0px; 
	background: none; box-shadow: none; color: #fff; padding-left: 30px;}
.header__search input:not(:focus)::placeholder {color: #fff; opacity: 0.6; font-size: 14px;} 
.header__search button {position:absolute; left: 0; top: 0; padding: 0; 
	background: none; color: #fff; opacity: 0.8; font-size: 14px;}


/* TOP ITEM
----------------------------------------------- */
.carou {padding: 30px var(--indent); margin: 0 var(--indent-negative); 
	background-color: var(--bg-2); position: relative; padding-bottom: 60px; margin-top: -30px;}
.carou__content:not(.owl-carousel) {display: flex; overflow: hidden;}
.carou__content > .top {width: calc((100% - 75px)/6); flex-shrink: 0; margin-right: 15px;}
.top {background-color: var(--bg-3);}
.top__desc {position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; padding: 15px; color: #fff;}


/* SECTION
----------------------------------------------- */
.sect:not(:last-child) {margin-bottom: 60px;}
.sect__header {margin-bottom: 30px;}
.sect__title {font-size: 24px; font-weight: 700;}
.sect__subtitle {font-size: 21px;}
.desc {display: grid; grid-gap: 20px; line-height: 1.7; color: var(--tt-3); background: var(--bg-2); 
	margin: 0 var(--indent-negative); margin-bottom: -60px; margin-top: 20px; padding: 60px var(--indent);}
.desc h1, .desc h2, .desc h3 {font-weight: 700; font-size: 18px; color: var(--tt); line-height: 1.3;}
.desc a {text-decoration: underline;}
.desc ul li {position: relative; padding-left: 25px; margin-left: 25px;}
.desc ul li::before {content:"\f00c"; font-weight: 300; font-family:'Font Awesome 5 Pro'; 
	color: var(--accent); position: absolute; left: 0; top: 0;}
.speedbar {font-size: 14px; color: var(--tt-2); background-color: var(--bg-2);
	margin: 0 var(--indent-negative); margin-bottom: -60px; margin-top: 30px; padding: 30px var(--indent);}
.speedbar a:after {color: var(--tt); display: inline; content: '/'; margin: 0 5px;}
.speedbar a:hover {text-decoration: underline;}
.sect__btn-filter {display: flex; align-items: center; height: 30px; border-radius: 15px; padding: 0 15px; 
	font-size: 10px; text-transform: uppercase; font-weight: 500; letter-spacing: 1px; 
	border: 1px solid var(--accent); color: var(--tt); cursor: pointer; margin-left: 20px;}


/* POSTER ITEM
----------------------------------------------- */
.poster__img {box-shadow: var(--bsh); margin-bottom: 15px;}
.poster__desc {position: relative;}
.poster__rating {height: 17px; width: 85px; position: absolute; right: 5px; top: 4px; pointer-events: none;
	background: url(../dleimages/rating.svg); transform: scale(0.8,0.8); transform-origin: right top;}
.poster__rating-fill {position: absolute; left: 0; top: 0; height: 100%; z-index: 1; 
	background: url(../dleimages/rating.svg) 0 -34px repeat-x;}
.poster__title {font-size: 15px; font-weight: 500; padding-right: 80px;}
.poster__subtitle li {display: inline-block; font-size: 0.9em; margin-top: 6px; color: var(--tt-2); margin-right: 4px;}
.poster__subtitle li a {color: var(--tt-2);}
.poster__subtitle li:not(:last-child)::after {margin-left: 6px; content: '/'; opacity: 0.6;}
.poster__label {position: absolute; left: 0; top: 5px; z-index: 10; padding: 6px 10px; 
	background-color: rgba(0, 0, 0, 0.78); color: #fff; font-size: 12px; font-weight: 500;}

.poster-ext.not-loaded {display: flex; padding: 30px; flex-direction: column; justify-content: center;}
.poster-ext.not-loaded::before {height: 100%; top: 0; margin: 0;}
.poster-ext {position: fixed !important; left: 0; bottom: 20px; z-index: 999; background: var(--bg); 
	box-shadow: var(--bsh); width: 500px; padding: 15px 15px 15px 165px; min-height: 180px;}
.poster-ext h1 {font-size: 15px; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.poster-ext .pmovie__header-list {width: 100%; margin: 0;}
.poster-ext .page__text {max-height: 100px; overflow: hidden; margin: 0 0 -6px 0; position: relative; font-size: 13px;}
.poster-ext .page__text::before {content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 80%; 
	background: linear-gradient(to top, #2c2d33, transparent); z-index: 1;}
.poster-ext .pmovie__header-list li {margin: 0 !important; position: relative; z-index: 2;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
.poster-ext .pmovie__header-list li > div:first-child {display: inline; margin: 0; font-size: 13px;}
.poster-ext .pmovie__poster {position: absolute; left: 0; top: 0; width: 150px; height: 100%;}
.poster-ext .not-shown-ajax {display: none !important;}

@media (max-width: 768px) {
    .poster__label {
        background-color: rgba(0, 0, 0, 0.78); /* 78% непрозрачности */
    }
}

/* VHS-блок в стиле панели управления */
.side-block {
  background: linear-gradient(180deg, #222, #111);
  border: 2px solid #666;
  padding: 30px;
  border-radius: 10px;
  font-family: 'Courier New', Courier, monospace;
  color: #0ff;
  box-shadow: inset 0 0 5px #000, 0 0 20px #000;
  text-transform: uppercase;
  position: relative;
  margin-bottom: 20px;
}

/* Металлическая декоративная рамка */
.side-block::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 2px groove #aaa;
  border-radius: 14px;
  pointer-events: none;
  opacity: 0.3;
}

/* Заголовок — как надпись на корпусе */
.title-wrapper {
  display: flex;
  justify-content: center;
  text-align: center;
}

.side-block__title {
  font-size: 16px;
  font-weight: bold;
  color: #ff003c;
  background: #000;
  padding: 5px 10px;
  margin-bottom: 20px;
  border: 1px solid #ff003c;
  text-shadow: 0 0 3px #ff003c;
  letter-spacing: 2px;
  max-width: 250px;       /* ограничиваем ширину */
  white-space: normal;   /* разрешаем переносы строк */
  line-height: 1.3;
}

.popular {
  background: linear-gradient(135deg, #1a001a, #330033);
  border: 1px solid #ff00cc;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
  box-shadow: 0 0 8px #ff00cc;
  font-family: 'Courier New', monospace;
}

/* VHS-рамка */
.vhs-frame {
  position: relative;
  border: 4px solid #222;
  border-radius: 6px;
  background: radial-gradient(ellipse at center, #000 60%, #111 100%);
  box-shadow: 0 0 10px #0ff inset, 0 0 5px #ff00cc;
  padding: 6px;
  margin-bottom: 10px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

/* Картинка */
.vhs-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  filter: contrast(1.1) brightness(0.95);
}

/* Индикаторы */
.vhs-indicators {
  position: absolute;
  top: 6px;
  left: 6px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.vhs-indicator {
  font-size: 11px;
  color: #ff003c;
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 6px;
  border-radius: 3px;
  text-shadow: 0 0 4px #ff003c;
  font-weight: bold;
  letter-spacing: 1px;
}

.vhs-indicator.play {
  color: #0ff;
  text-shadow: 0 0 4px #0ff;
}

/* Описание под рамкой */
.popular__desc {
  margin-top: 8px;
  text-align: center;
}

.popular__title {
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: none;
  display: block;
  margin-bottom: 5px;
  text-decoration: none;
  word-break: break-word; /* разрешаем перенос по словам */
}

.popular__title:hover {
  text-decoration: underline;
}

.poster__subtitle {
  font-size: 13px;
  color: #ff00cc;
  opacity: 0.85;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Меню в виде кнопок магнитофона */
.side-block__menu > li {
  margin-bottom: 15px;
  position: relative;
}

.side-block__menu > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  font-size: 13px;
  background: linear-gradient(to bottom, #333, #111);
  border: 2px solid #555;
  border-radius: 4px;
  color: #fff;
  text-shadow: none;
  box-shadow: inset 0 0 4px #000, 0 2px 5px #000;
  transition: all 0.2s ease;
  font-weight: bold;
  position: relative;
}

/* Иконка на "кнопке" */
.side-block__menu > li > a::before {
  margin-right: 10px;
  font-size: 14px;
  color: #00ffff;
  text-shadow: 0 0 5px #0ff;
}

.side-block__menu > li > a:hover {
  background: linear-gradient(to bottom, #ff00cc, #00ffff);
  color: #000;
  text-shadow: none;
  border-color: #fff;
  box-shadow: 0 0 10px #fff, inset 0 0 10px #0ff;
}

/* Подсветка-подпись под кнопкой */
.side-block__menu li span:not(.fal) {
  background-color: #000;
  font-size: 10px;
  position: absolute;
  right: 10px;
  top: 6px;
  padding: 2px 5px;
  border-radius: 2px;
  color: #ff00cc;
  border: 1px dashed #ff00cc;
  text-shadow: 0 0 4px #ff00cc;
}

/* Всплывающее подменю */
.side-block__menu-hidden {
  position: absolute;
  left: 100%;
  top: 0;
  z-index: 999;
  width: 250px;
  background: linear-gradient(to bottom, #222, #111);
  padding: 15px;
  border-left: 4px solid #ff00cc;
  box-shadow: 0 0 15px #ff00cc;
  visibility: hidden;
  opacity: 0;
  transform: translateX(15px);
  transition: 0.3s ease;
}

.side-block__menu > li:hover .side-block__menu-hidden {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

.side-block__menu-hidden li {
  margin-bottom: 8px;
}

.side-block__menu-hidden a {
  color: #fff;
  font-size: 12px;
  padding: 6px;
  display: block;
  text-shadow: 0 0 3px #0ff;
}

.side-block__menu-hidden a:hover {
  background: rgba(0, 255, 255, 0.2);
  color: #0ff;
  border-left: 3px solid #0ff;
}


/* Кнопка "Показать всё" как маленький тумблер */
.showitems-btn {
  margin-top: 20px;
  cursor: pointer;
  background: #111;
  color: #00ffff;
  border: 1px solid #0ff;
  padding: 6px 12px;
  border-radius: 3px;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: bold;
  text-shadow: 0 0 3px #0ff;
  box-shadow: 0 0 5px #0ff inset;
}

.showitems-btn:hover {
  background: #00ffff;
  color: #000;
  text-shadow: none;
  box-shadow: 0 0 10px #fff;
}

/* Социальные иконки как светящиеся лампочки */

.soc-channels__item {
  background-color: #111;
  border: 2px solid #666;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 4px #000, 0 0 8px #ff00cc;
  transition: all 0.3s ease;
}

.soc-channels__item:hover {
  transform: scale(1.1);
  box-shadow: 0 0 12px #00ffff, 0 0 20px #ff00cc;
}
.vk {background-image: url(../images/i-vk.svg); background-size: 20px;}

/* Только для блока в основной части страницы */
/* Убираем фон и рамку у блока, оставляем только отступ */
.main-inline {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: 30px;
}

/* Список кнопок в ряд */
.main-inline .side-block__menu {
  display: flex;
  justify-content: space-between; /* равномерно по ширине */
  gap: 10px; /* отступы между кнопками */
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Элемент списка растягивается */
.main-inline .side-block__menu li {
  flex: 1;
  margin: 0;
}

/* Кнопки: твой стиль по умолчанию */
.main-inline .side-block__menu li a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 4px;
  border: 2px solid #ff00cc;
  color: #fff;
  text-shadow: none;
  background: linear-gradient(135deg, #1a001a, #330033);
  transition: all 0.3s ease;
  box-shadow: 0 0 5px #ff00cc, 0 0 10px #00ffff inset;
  text-transform: uppercase;
  text-align: center;
  width: 100%; /* растянуть на всю ширину родителя */
  box-sizing: border-box;
}

/* Наведение: яркий градиент, тёмный текст, светлая обводка и glow */
.main-inline .side-block__menu li a:hover {
  background: linear-gradient(135deg, #ff00cc, #00ffff);
  color: #000;
  text-shadow: none;
  box-shadow: 0 0 10px #fff, 0 0 20px #0ff;
  border-color: #fff;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
  .main-inline .side-block__menu {
    flex-direction: column;   /* кнопки в колонку */
    gap: 10px;                /* вертикальные отступы */
  }
}

/* FOOTER, PAGINATION
----------------------------------------------- */
.footer__btn {margin: 0 30px; height: 30px; border-radius: 15px; padding: 0 15px; text-transform: none;}
.footer__text {font-size: 13px; line-height: 1.7;}

.pagination {text-align: center; padding-top: 10px;}
.pagination__pages > a, .pagination__pages > span, .pagination__pages-btn > a, 
.pagination__pages-btn > span {display: inline-block; margin: 10px 5px 0 5px; line-height: 38px; 
	padding: 0 10px; min-width: 40px; font-size: 14px; border: 1px solid var(--bdc); border-radius: 20px;}
.pagination__pages1 > span:not(.nav_ext), .pagination__pages a:hover, .pagination__btn-loader a:hover,   
.pagination__pages-btn > a {background: var(--accent); color: #fff; border-color: var(--accent);}
.pagination__pages--full a, .pagination__pages--full span {line-height: 30px; min-width: 30px; font-size: 14px;}
.pagination__pages > span:not(.nav_ext), .pagination__pages-btn > span {background: var(--bg-2); color: var(--tt-3);}


/* INNER PAGE
----------------------------------------------- */
.page__subcols {padding: 60px var(--indent); margin: 0 var(--indent-negative); 
	background-color: var(--bg-2); position: relative; margin-top: -30px; margin-bottom: 30px;}
.page__subcol-side {width: 200px; margin-right: 30px;}
.page__subcol-side2 {width: 300px; margin-left: 30px;}
.pmovie__poster {width: 200px; height: 300px; box-shadow: var(--bsh);}
.pmovie__poster .poster__label {border-radius: 0 0 4px 0; right: auto; bottom: auto; left: 0; top: 0;}
.pmovie__original-title {color: var(--tt-2); text-transform: uppercase; font-size: 12px; 
	margin-top: 2px; font-weight: 500; letter-spacing: 1px;}
.page__subcol-main h1 {font-size: 22px; font-weight: 700;}
.page__subcol-main h1 a {margin-left: 10px; font-size: 14px; font-weight: 400;}
.pmovie__year {margin-top: 15px;}
.pmovie__genres {margin: 15px 0 20px 0; font-size: 13px; color: var(--tt-2);}
.pmovie__header-list {line-height: 1.5; font-size: 13px; color: var(--tt-3);}
.pmovie__header-list li + li {margin-top: 15px;}
.pmovie__header-list li > div:first-child {color: var(--tt); font-size: 14px; margin-bottom: 3px;}
.pmovie__header-list li a {border-bottom: 1px dotted var(--accent-2); color: var(--accent-2);}
.ya-share2 {height: 36px; padding-top: 6px; padding-bottom: 6px;}
.pmovie__ratings-caption {width: 100%; margin-bottom: 15px;}
.pmovie__rating {position: relative; margin-right: 30px;}
.pmovie__rating--site .poster__rating {position: static; transform: none;}
.pmovie__rating--site .pmovie__rating-content {height: 17px; margin: 9px 0 7px;}
.pmovie__rating--site .poster__rating-fill {height: 17px; top: 9px;}
.pmovie__rating-content {font-size: 24px;}
.pmovie__rating-caption {margin-top: 2px; color: var(--tt-2); font-size: 12px;}
.pmovie__subinfo {margin-top: 30px;}
.pmovie__subinfo > * {white-space: nowrap; width: 48%; padding: 0; text-align: center;}
.pmovie__btn {background: var(--gradient); text-transform: none; font-size: 14px;}
.pmovie__fav a {display: flex; align-items: center; justify-content: center; 
	height: 40px; border-radius: 20px; padding: 0 15px; 
	font-size: 14px; border: 3px solid var(--bdc); color: var(--tt-3);}

.page__subtitle {font-size: 16px; font-weight: 700; text-align: center; margin-bottom: 20px;}
.page__text {margin-bottom: 26px;}
.pmovie__player {position: relative; margin-bottom: 30px;}
.pmovie__complaint {position: absolute; right: 0; top: 100%; white-space: nowrap;}
.pmovie__complaint a {background-color: #eb4d4b; color: #fff; display: inline-block; padding: 5px 10px;}
.tabs-block__select span {cursor: pointer; display: inline-block;}
.tabs-block__select span {height: 40px; line-height: 40px; padding: 0 20px; 
	margin-right: 10px; background-color: var(--bg-2); color: var(--tt-3); font-weight: 500;}
.tabs-block__select span.is-active, .tabs-block__select span:hover {background: var(--accent); color: #fff;}
.pmovie__rating-likes {position: absolute; right: -10px; top: 0;}
.pmovie__rating-likes > * {display: flex; align-items: center; height: 30px; border-radius: 15px; 
	background-color: #6ab04c; color: #fff; box-shadow: var(--bsh-2); padding: 0 15px 0 10px; 
	font-weight: 500; margin-right: 10px;}
.pmovie__rating-likes > * .fal {font-size: 16px; margin-right: 10px;}
.pmovie__rating-likes > * + * {background-color: #eb4d4b;}
.pmovie__rating-likes > a:hover {background-color: var(--accent); color: #fff;}

.not-loaded {overflow: hidden; position: relative; text-align: center;}
.not-loaded::after {content: 'Загрузка...'; display: inline-block; position: relative; z-index: 1;}
.not-loaded::before {background: repeating-linear-gradient(45deg,#111,#111 10px,#222 10px,#222 20px); 
	animation: move 10s infinite linear; animation-direction: alternate; content: ''; width: 200%; height: 20px; 
	position: absolute; left: 0; top: 50%; margin-top: -10px;}
@keyframes move {
	from {transform: translateX(-50%);}
	to {transform: translateX(0%);}
}

/* VIDEO BLOCK
----------------------------------------------- */
.video-responsive {padding-top: 60%; position: relative;}
.video-responsive > iframe, .video-responsive > video {position: absolute; left: 0; top: 0; width: 100%; height: 100%;}

/* COMMENTS
----------------------------------------------- */
.page__comments {margin: 0;}
.page__comments-title {font-size: 22px; font-weight: 500; margin-bottom: 20px;}
.page__comments-info {font-size: 14px; margin-bottom: 15px; margin-top: -15px; 
	color: var(--tt-3); line-height: 1.5;}
.page__comments-info .fal {color: #eb4d4b; margin-right: 6px;}
.page__comments-list {padding: 0;}
.page__comments-list--not-comments {padding: 0; border: 0;}
.add-comments-form.form {padding: 0; margin-bottom: 20px;}
.add-comments-form .form__input, .add-comments-form__input, .add-comments-form .form__textarea-inside textarea, 
.mass_comments_action select {box-shadow: inset 0 0 0 1px #111; border-radius: 0;}
.add-comments-form__input {margin-left: 20px;}
.add-comments-form .d-none, .comments_subscribe + br {display: none;}
.mass_comments_action {display: flex; align-items: center; max-width: 800px; white-space: nowrap; margin-bottom: 20px;}
.mass_comments_action select {flex: 1 1 0; margin: 0 -8px 0 20px;}
.mass_comments_action .bbcodes {border-radius: 0; padding: 0 10px;}

.comment-item__title {font-weight: 500; font-size: 18px; margin-bottom: 20px;}
.comment-item {margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--bdc);}
.comment-item__img {width: 40px; height: 40px; border-radius: 50%; margin-right: 10px;}
.comment-item__letter {width: 100%; height: 100%; text-transform: uppercase; font-weight: 500; 
	position: absolute; left: 0; top: 0; z-index: 5; color: #fff; font-size: 18px;}
.comment-item__author {font-weight: 500; font-size: 14px;}
.comment-item__date {color: var(--tt-3); margin-top: 4px; font-size: 12px;}
.comment-item__main {margin: 8px 0 6px 0; font-size: 15px;}
.comment-item__rating {white-space: nowrap; font-size: 14px;}
.comment-item__rating a {margin-left: 6px;}
.comment-item__rating a > span:first-child {color: #6ab04c; margin-right: 2px;}
.comment-item__rating a:last-child > span:first-child {color: #eb4d4b;}
.comment-item__reply a {font-size: 12px; margin-right: 20px; color: var(--tt-2);}
.comment-item__reply a .fal {margin-left: 5px;}
.comment-item__reply + .comment-item__reply a .fal {margin-left: 0; margin-right: 5px;}
.comment-item__controls {text-align: right; font-size: 12px; margin-right: -15px;}
.comment-item__controls li {display: inline-block; vertical-align: middle; margin: 0 0 0 10px; height: 16px; line-height: 16px;}
.comment-item__controls a:not(:hover) {color: var(--tt-2);}
.comment-item__footer a:hover {text-decoration: underline;}
.comment-item__rating a:hover > span:first-child {text-decoration: none;}
.comment-item__controls .checkbox {transform: scale(0.8,0.8); margin-left: 5px;}


/* LOGIN
----------------------------------------------- */
.login {position: fixed; z-index: 999; left: 50%; top: 50%; transform: translate(-50%,-50%); overflow: hidden;
	background-color: var(--ui-bg); border-radius: 4px; width: 400px; 
	box-shadow: 0 0 0 10px rgba(255,255,255,0.2), 0 15px 45px rgba(0,0,0,1);}
.login__header {padding: 20px 40px; background-color: var(--ui-bg-darker);}
.login__title {font-size: 17px; font-weight: 500; padding: 1px 0; text-transform: capitalize;}
.login__close {cursor: pointer; font-size: 24px; opacity: 0.6; margin-left: 20px;}
.login__title a {border-bottom: 1px dotted var(--tt-3); margin-left: 10px; font-weight: 400; color: var(--tt-3);}
.login__content {padding: 20px 40px;}
.login__row {margin-bottom: 20px; position: relative; display: block; font-size: 14px; color: var(--tt-3);}
.login__caption {font-size: 14px; color: var(--tt); margin-bottom: 10px;}
.login__caption a {text-decoration: underline; margin-left: 6px; color: var(--accent);}
.login__input input {padding-left: 40px;}
.login__row .fal {opacity: 0.5; position: absolute; left: 0; bottom: 0; line-height: 40px; width: 40px; text-align: center;}
.login__row button {width: 100%;}
.login__social {background-color: var(--ui-bg-darker); padding: 20px 40px; text-align: center;}
.login__social-caption {font-size: 11px; text-transform: uppercase; margin-bottom: 10px;}
.login__social-btns a {display:inline-block; margin: 0 3px; vertical-align:top;}
.login__social-btns img {display:block; width:30px; height: 30px; border-radius: 50%;}
.login__avatar {width: 40px; height: 40px; border-radius: 50%; margin-right: 10px;}
.login__menu {padding-left: 35px; padding-right: 35px; margin-bottom: -10px;}
.login__menu li {flex: 1 1 0; min-width: auto; max-width: 100%; margin: 0 5px 10px 5px;}
.login__menu a {display: block; border-radius: 6px; padding: 10px; text-align: center; white-space: nowrap;
	background-color: var(--ui-bg-darker); box-shadow: inset 0 0 10px rgba(0,0,0,0.1); font-size: 13px;}
.login__menu .fal {display: block; height: 30px; font-size: 24px; opacity: 0.3;}


/**
 * Owl Carousel v2.3.4
 * Copyright 2013-2018 David Deutsch
 * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
 */
 .owl-carousel {width: 100%; position: relative; z-index: 1;}
 .owl-carousel .owl-stage {position: relative; display:flex; justify-content:flex-start;}
 .owl-carousel .owl-stage-outer {position: relative; overflow: hidden; transform: translate3d(0px, 0px, 0px);}
 .owl-carousel .owl-item {position: relative; min-height: 10px;}
 .owl-carousel .owl-nav.disabled, .owl-carousel .owl-dots.disabled, .owl-carousel.owl-refresh .owl-item {display: none;}
 .owl-carousel.owl-loaded, .owl-carousel.owl-loading, .no-js .owl-carousel {display: block; opacity: 1;}
 .owl-carousel.owl-drag .owl-item {user-select: none;}
 .owl-carousel.owl-grab {cursor: move; cursor: grab;}
 .owl-carousel .animated {animation-duration: 1000ms; animation-fill-mode: both;}
 .owl-carousel .owl-animated-in {z-index: 0;}
 .owl-carousel .owl-animated-out {z-index: 1;}
 .owl-carousel .fadeOut {animation-name: fadeOut;}
 @keyframes fadeOut { 0% {opacity: 1;} 100% {opacity: 0;} }
 .owl-height {transition: height 500ms ease-in-out;}
 .owl-carousel .owl-item .owl-lazy {opacity: 0; transition: opacity 400ms ease;}
 .owl-carousel .owl-item img.owl-lazy {transform-style: preserve-3d;}
 .owl-nav {position: absolute; left: 0; right: 0; top: 50%;}
 .owl-prev, .owl-next {display: flex; cursor: pointer; box-shadow: none; width: 40px; height: 30px; 
	background: none; color: var(--tt-2); position: absolute; top: 0; font-size: 28px; margin-top: -15px;}
 .owl-prev {left: -50px;}
 .owl-next {right: -50px;}
 .owl-prev:hover, .owl-next:hover {background: none; color: var(--accent);}
 .owl-dots {text-align: center; position: absolute; left: 0; right: 0; bottom: -37px;}
 .owl-dot {display: inline-block; width: 16px; height: 16px; border-radius: 50%; 
	cursor: pointer; background: var(--bg); margin: 0 5px; box-shadow: var(--bsh-2);}
.owl-dot.active, .owl-dot:hover {background: var(--accent);}


/* ADAPTIVE, MOBILE MENU
----------------------------------------------- */
.overlay {position: fixed; z-index: 998; left: 0; top: 0; width: 100%; height: 100%; 
	opacity: 0.6; background-color: #000; cursor: pointer; display: none;}
.mobile-menu {width: 280px; height: 100%; overflow-x: hidden; overflow-y: auto;
	padding: 10px 20px; z-index: 999; position: fixed; left: -320px; top: 0; transition: left .4s; 
	background: var(--gradient); color: #fff;}
.mobile-menu.is-active {left: 0;}
.mobile-menu-close {cursor: pointer; display: block; left: 280px; top: -40px; position: fixed; z-index: 999;
	width: 40px; height: 40px; line-height: 40px; text-align: center; font-size: 18px; opacity: 0;
	background-color: #e84e36; color: #fff; transition: top .4s, opacity .4s;}
.mobile-menu-close.is-active {top: 0px; opacity: 1;}
body.mobile-menu-is-opened {overflow: hidden; width: 100%; height: 100%;}
.mobile-menu .header__menu, .mobile-menu .side-block__menu-hidden {margin: 0; padding: 10px 20px; display: block; background: var(--bg-3); 
	width: calc(100% + 40px); margin: -10px -20px 25px -20px; max-width: none;}
.mobile-menu .header__menu > li {width: 100%; margin: 0; padding: 0;}
.mobile-menu .header__menu > li > a {height: 40px; color: #fff;}
.mobile-menu .side-block__menu-hidden {background-color: var(--bg); position: static; 
	opacity: 1; visibility: visible; transform: none; border: 0; margin-top: 30px; padding-top: 20px;}

@media screen and (max-width: 1220px) {
	body {background-image: none;}
	.wrapper {padding: 0; background-image: none; overflow: hidden;}
	.wrapper-container {max-width:1000px;}
	.header__menu, .col-side .js-this-in-mobile-menu11, .pagination__pages-btn {display: none;}
	.header__btn {background-color: var(--bg-2); color: var(--tt-2);}
	.header__btn-menu {cursor: pointer; width: 40px; height: 40px; border-radius: 50%; line-height: 40px; 
		text-align: center; box-shadow: var(--bsh-2); background: var(--gradient); color: #fff; 
		display: block; margin-left: 10px; font-size: 18px;}
	.header__search {flex: 1 1 0; margin: 0 20px; max-width: 100%; min-width: 50px;}
	.header {margin-bottom: 0; position: static; padding: 0 var(--indent);}
	.carou {padding: 20px; padding-bottom: 60px;}
	.d-grid, #dle-content {grid-gap: 20px 20px; grid-template-columns: repeat(auto-fill,minmax(140px,1fr));}
	.col-main {padding-top: 30px;}
	.col-side {width: 220px; padding: 30px 20px 100px 20px; order: 10;}
	.side-block + .side-block {padding: 30px 20px 0 20px; margin-left: -20px; margin-right: -20px;}
	#scrolltop {width: 40px; height: 40px; line-height: 40px; font-size: 18px;}
	.logo__title, .logo__caption {color: var(--tt);}
	.logo {width: auto; margin: 0;}

	.page__subcols {padding-top: 20px; padding-bottom: 20px;}
	.page__subcol-side {margin-right: 20px;}
	.page__subcol-side2, .page__col-side {width: 100%; margin: 0; margin-top: 20px;}
	.pmovie__header-list li + li {margin-top: 5px;}
	.pmovie__player {margin-left: var(--indent-negative); margin-right: var(--indent-negative);}
	.tabs-block__select span {margin: 0;}
	.pmovie__rating-likes {position: static; margin-top: 20px; padding-left: 20px;}
	.pmovie__complaint {margin-top: -50px;}
}

@media screen and (max-width: 950px) {
	.wrapper-container {max-width:768px;}
	.carou__content > .top {width: calc((100% - 60px)/5);}
	.col-side {width: 100%; padding-top: 0;}
	.col-side .js-this-in-mobile-menu {display: none;}
	.footer {justify-content: center; text-align: center; background-image: none; padding: 20px;}
	.footer__text {min-width: 100%; margin: 0 0 20px 0;}
}

@media screen and (max-width: 760px) {
	.wrapper-container {max-width:640px;}
	.carou__content > .top {width: calc((100% - 30px)/3);}
	.header__search {order: 10; min-width: 100%; margin: 0;}
	.header {height: auto; padding-bottom: 20px;}
	.logo {flex: 1 1 0; min-width: 50px; max-width: 100%; margin-right: 20px;}

	.page__text .quote {margin-left: var(--indent-negative); margin-right: var(--indent-negative); padding-right: var(--indent);}
	.full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5 {font-size: 18px;}
	
	.add-comments-form__input {min-width: 100%; margin: 0 0 10px 0;}
	.add-comments-form__btn {width: 100%; order: 10;}
	.add-comments-form .form__row--protect .form__caption {width: 100%; margin: 0 0 10px 0;}
	.mass_comments_action, .comment-item__controls, .comment-item__rating-caption {display: none;}
}

@media screen and (max-width: 590px) {
	.wrapper-container22 {max-width:480px;}
	.login {max-width: 90%; max-height: 90%; overflow-x: hidden; overflow-y: auto;}
	.login__header, .login__content, .login__social, .pages-bg {padding-left: 20px; padding-right: 20px;}
	.carou__content > .top {width: calc((100% - 30px)/3);}
	.footer .btn {width: 100%; margin: 0; margin-bottom: 20px;}

	.page__subcols {display: block; position: relative;}
	.page__subcol-side {width: 120px; float: left; margin-right: 10px;}
	.pmovie__poster {width: 120px; height: 180px;}
	.page__subcol-main h1 {font-size: 18px;}
	.page__subcol-main {display: inline;}
	.pmovie__ratings {margin: 0; justify-content: space-between;}
	.pmovie__ratings-caption {display: none;}
	.pmovie__rating {margin: 0;}
	.pmovie__rating--site {margin-right: 0px;}
	.pmovie__ratings {width: 100%; padding-top: 5px;}
	.pmovie__ratings::before {content: ""; display: table; clear: both; width: 100%;}
	.pmovie__subinfo {justify-content: space-between; margin: 0; margin-top: 20px;}
	.pmovie__share {min-width: 100%; text-align: center;}
	.tabs-block__select span {flex: 1 1 0; min-width: auto; max-width: 100%; white-space: nowrap; text-align: center;}
}

@media screen and (max-width: 470px) {
	.wrapper-container22 {max-width:360px;}
	.carou__content > .top {width: calc((100% - 20px)/3); margin-right: 10px;}
	.top__desc {padding: 10px; font-size: 13px;}
	.header__logo > * {white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
}

.filter-block {margin-bottom: 0px;}
.filter-block__form {display: flex; flex-wrap: wrap;}
.filter-block__cell {margin-left: 10px;}
.filter-block__cell--full-width {grid-column: 1 / -1;}
.filter-block__cell-caption {margin-bottom: 10px;}
.filter-block__cell-content > * {width: 100%; display: block;}
.filter-block__cell-content--two-columns {display: flex; justify-content: space-between;}
.filter-block__cell-content--two-columns > * {width: calc((100% - 10px)/2) !important;}
.filter-block__cell-content select, .filter-block__cell-content input[type="text"], 
.filter-block__cell-content--check-group {height: 40px; line-height: 36px; background-position: right 14px top 54%;
	background-color: var(--bg); color: var(--tt); border: 2px solid var(--bdc); border-radius: 20px; 
	box-shadow: none; font-size: 14px;  padding: 0 15px; background-size: 10px; display: inline-block;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: auto; box-sizing: border-box;}
.filter-block__cell-content select {padding: 0 30px 0 10px;}
.filter-block__cell-content input[type="text"]::placeholder {opacity: 1; color: var(--tt); font-size: 14px;}
.filter-block__cell-content input[type="text"]:focus::placeholder {opacity: 0;}
.filter-block__cell-content--inp-year input {width: 80px !important;}
[data-dlefilter="reset"] {width: 40px; background-color: var(--bg-2); color: var(--tt-2); 
	padding: 0; font-size: 18px; border: 1px solid var(--bdc);}
@media screen and (max-width: 1220px) {
	.filter-block {width: 100%; margin-bottom: -10px; margin-top: 20px;}
	.filter-block__cell {margin: 0 10px 10px 0;}
}
@media screen and (max-width: 470px) {
	.filter-block__form {justify-content: space-between;}
	.filter-block__cell {margin-right: 0; width: 48%;}
	.filter-block__cell:first-child {width: calc(100% - 50px); order: 10;}
	.filter-block__cell-content > * {width: 100% !important;}
	.filter-block__cell-content--inp-year input {width: 100% !important;}
	.filter-block__cell--btns {width: 40px; order: 11;}
}
	
/* FLEX FALLBACK FOR SMART TV
----------------------------------------------- */
/*
@media screen and (min-width: 1800px) {
    #dle-content, .d-grid {display: flex; justify-content: space-between; flex-wrap: wrap; grid-gap: 0 0;}
    #dle-content > *:not(.grid-item), #dle-content {width: 100%;}
    .poster {width: 23%; margin-bottom: 30px;}
	.pagination {margin-top: -10px;}
	.page__comments {margin-top: -30px;}
}
*/
	
/* ==== СТИЛИ ПАГИНАЦИИ ==== */
.pagination, .navigation {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
    font-family: 'Courier New', Courier, monospace; /* ретро-машинописный шрифт */
}

.pagination a,
.pagination span,
.navigation a,
.navigation span {
    display: inline-block;
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 4px;
    border: 2px solid #ff00cc;
    color: #fff;
    text-shadow: none;
    background: linear-gradient(135deg, #1a001a, #330033);
    transition: all 0.3s ease;
    box-shadow: 0 0 5px #ff00cc, 0 0 10px #00ffff inset;
    text-transform: uppercase;
}

.pagination a:hover,
.navigation a:hover {
    background: linear-gradient(135deg, #ff00cc, #00ffff);
    color: #000;
    text-shadow: none;
    box-shadow: 0 0 10px #fff, 0 0 20px #0ff;
    border-color: #fff;
}

.pagination span.nav_ext,
.navigation span.nav_ext {
    font-weight: bold;
    background: #000;
    border: 2px dashed #ff00cc;
    color: #ff00cc;
    text-shadow: 0 0 5px #ff00cc;
}

/* Обёртка VHS-кассеты */
.vhs-tape-scroll {
  max-height: calc((100vw / 18 * 2.5) * 1.5 + 12px); /* 1,5 карточки + отступы */
  overflow-y: auto;
  scroll-behavior: smooth;
}

.vhs-tape-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 10px;
}

/* Кассета */
.vhs-tape {
  display: flex;
  align-items: center;
  background: #000;
  border-radius: 12px;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 18 / 2.5;
  padding: 0;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  flex-shrink: 0;
}

/* Наклейка */
.vhs-label {
  background: #fff url(../images/paper-texture.png) repeat;
  background-size: cover;
  filter: contrast(1.05);
  display: flex;
  align-items: center;
  border-radius: 6px;
  height: calc(100% - 1em);
  margin: 0.5em 1.5em 0.5em 8em;
  padding: 0 1em;
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* Текст */
.vhs-title {
  font-family: 'Courier New', monospace;
  font-size: 18px;
  color: #000;
  line-height: 1.2;
  flex: 1;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 10px;
}

/* VHS-логотип */
.vhs-logo-img {
  height: 60px;
  transform: rotate(90deg);
  transform-origin: center;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .vhs-tape {
    aspect-ratio: 18 / 2.4; /* более вытянутая кассета на мобилках */
    border-radius: 8px;
  }

  .vhs-label {
    margin: 0.4em 1em 0.4em 6em;
    border-radius: 4px;
    height: calc(100% - 0.6em);
    padding: 0 0.8em;
  }

  .vhs-title {
    font-size: 14px;
    -webkit-line-clamp: 2;
  }

  .vhs-logo-img {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .vhs-tape {
    aspect-ratio: 16 / 2.5;
  }

  .vhs-label {
    margin: 0.2em 0.8em 0.2em 3.6em;
    padding: 0 0.6em;
  }

  .vhs-title {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }

  .vhs-logo-img {
    height: 30px;
  }
}

/* Корневой контейнер полной новости */
.vhs-full{
  position: relative;          /* для псевдо-элементов */
  overflow: visible;           /* чтобы нижняя анимация не обрезалась */
  isolation: isolate;          /* отдельный контекст смешивания — безопасно для blend-mode */
}

/* ———  НЕОНОВЫЙ H1 (бледно-голубой) ——— */
.vhs-full h1{
  color: #e8f8ff;              /* мягкий голубовато-белый */
  text-shadow:
    0 0 6px rgba(160,235,255,.7),
    0 0 14px rgba(0,255,255,.35);
  letter-spacing: .3px;
  margin-bottom: 18px;
}

/* Чуть тише на мобильных, чтобы не «светило» слишком сильно */
@media (max-width: 600px){
  .vhs-full h1{
    text-shadow:
      0 0 5px rgba(160,235,255,.55),
      0 0 10px rgba(0,255,255,.25);
  }
}

/* ———  СЛОЙ С ЛЁГКИМ ЗЕРНИСТЫМ ШУМОМ ——— */
/* Используем псевдо-элемент поверх фона, но под текстом */
.vhs-full::before{
  content:"";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;                 /* под контентом */
  background:
    /* тонкая зернистость */
    url('{theme}/images/noise-128.png'); /* 128×128 или 256×256 прозрачная PNG c зерном */
  background-size: 160px 160px;
  opacity: .08;                /* 8% — еле заметно */
  mix-blend-mode: soft-light;  /* мягко влияет на фон, не мешает тексту */
}

/* ———  НИЖНЯЯ «НЕСТАБИЛЬНОСТЬ СИГНАЛА» ——— */
.vhs-full::after{
  content:"";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42px;                /* тонкая полоса внизу */
  pointer-events: none;
  opacity: .15;                /* ненавязчиво */
  /* Полупрозрачные бегущие полосы + лёгкий градиент вверх */
  background:
    linear-gradient(to top, rgba(0,0,0,.15), rgba(0,0,0,0)) ,
    repeating-linear-gradient(
      0deg,
      rgba(180,255,255,.22) 0px,
      rgba(180,255,255,.22) 1px,
      rgba(0,0,0,0)         2px,
      rgba(0,0,0,0)         3px
    );
  background-blend-mode: screen;
  animation: vhs-signal 3.6s ease-in-out infinite;
}

/* Ключевые кадры — лёгкий дрейф/дёргание полос */
@keyframes vhs-signal{
  0%   { transform: translateY(0) }
  35%  { transform: translateY(-1px) }
  50%  { transform: translateY(0) }
  70%  { transform: translateY(1px) }
  100% { transform: translateY(0) }
}

/* ———  Контент: делаем фон чуть менее контрастным к белому тексту ——— */
.vhs-full{
  /* мягкий тёмный фон, не абсолютный чёрный, чтобы белый текст не «жёг» глаза */
  background: linear-gradient(180deg, #121216, #0f0f13 60%, #0e0e12);
  /* если у вас уже есть общий фон у страницы — можно убрать строчку выше */
}

/* Текст внутри */
.vhs-full,
.vhs-full p,
.vhs-full li{
  color: #fff;                 /* белый текст по задаче */
}

/* Ссылки — спокойный акцент */
.vhs-full a{
  color: #aef4ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.vhs-full a:hover{
  color: #e6fbff;
}

/* ———  УВАЖАЕМ ПРЕДПОЧТЕНИЯ ПОЛЬЗОВАТЕЛЯ ——— */
@media (prefers-reduced-motion: reduce){
  .vhs-full::after{
    animation: none;
  }
}

/* ———  НЕ МЕНЯЕМ ВАШИ СУЩЕСТВУЮЩИЕ ОТСТУПЫ full-text ——— */
/* Если нужно, вы можете смягчить межстрочный интервал: */
.vhs-full.full-text{
  line-height: 1.75;
}