/* 
Datalife Engine template, 
name: Lord Film Remaster, creation date: 25 september 2024, version dle: 15 and higher
*/

/* ДИЗАЙН-ТОКЕНЫ — светлая тема (класс .lt на body).
   Тёмная тема переопределяет их ниже в блоке .dt */
:root {
	/* поверхности */
	--bg: #ffffff; --bg-darker: #eef1f4; --bg-darker-1: #e3e8ed; --bg-black: #151920; --bg-blackest: #0d1015;
	/* текст */
	--tt: #1b1f27; --tt-fade-0: #3f4653; --tt-fade: #667081;
	/* границы и тени */
	--bdc: rgba(16,20,28,0.12); --bsh-long: 0 24px 60px rgba(10,14,20,0.35); --bsh: 0 1px 2px rgba(10,14,20,0.10);
	--bsh-block: 0 1px 3px rgba(10,14,20,0.10);
	/* акцент и статусы */
	--accent: #5aab2e; --accent-soft: rgba(90,171,46,0.12);
	--green: #2f9e44; --red: #e03131; --orange: #f08c00;
	--grey: #868e96; --yellow: #f5b800; --blue: #1c6fd0;
	--kp: #ff6d00; --imdb: #d9a900;

	/* элементы управления */
	--ui-elem-height: 40px; --ui-elem-padding: 18px; --ui-elem-gap: 8px; --ui-elem-bdrs: 6px;
	--ui-bg-btn: #5aab2e; --ui-tt-btn: #fff; --ui-bg-btn-hover: #4c9226;
	--ui-bg-inp: #fff; --ui-bdc-inp: #d3dae1; --ui-bdc-inp-focus: #5aab2e;

	--ui-bg: #fff; --ui-bg-darker: #f2f5f8; --ui-bg-darkest: #e5eaef; --ui-accent: #1c6fd0;
	--ui-bdc: rgba(16,20,28,0.12); --ui-tt-fade: #667081; --ui-fw-bolder: 500; --ui-fw-fa: 300;
	--ui-bsh: 0 24px 60px rgba(10,14,20,0.28); --ui-bsh-inset: none; --ui-bdrs: 6px;
	--ui-gradient: linear-gradient(to bottom, #2a3140, #1b2029); --ui-bg-black: #1b2029;
	--ui-bg-attention: #fff6e5; --ui-bd-attention: #f08c00;

	/* геометрия и ритм */
	--bdrs-card: 8px; --bdrs-poster: 8px;
	--indent-negative: -20px; --indent: 20px; --max-width: 1280px;
	--head-h: 60px;
	/* типографическая шкала */
	--fs-xs: 11px; --fs-sm: 12px; --fs-base: 14px; --fs-md: 16px;
	--fs-lg: 18px; --fs-xl: 22px; --fs-2xl: 28px;
	--font-display: 'Oswald', 'inter', sans-serif;
}

/* RESET, BASIC UI SETTINGS
----------------------------------------------- */
* {background: none; margin: 0; padding: 0; outline: none; border: 0; box-sizing: border-box;}
ol, ul {list-style: none;}
table {border-collapse: collapse; border-spacing: 0;}
img, table, iframe, video, frame, embed, object {max-width: 100%;}
body {font-family: 'inter', sans-serif; font-size: var(--fs-base); font-weight: 400; line-height: calc(1em + 0.5rem);
	color: var(--tt); background-color: var(--bg-blackest); width: 100%;
	-webkit-text-size-adjust: 100%; text-size-adjust: 100%;}
a {color: var(--tt); text-decoration: none;}
a:focus {color: var(--tt); text-decoration: none;}
h1, h2, h3, h4, h5 {font-weight: 500; font-size: var(--fs-xl); line-height: 1.25;}
::selection {background: var(--accent); color: #fff;}

/* Видимый фокус с клавиатуры — обязателен для доступности */
:focus-visible {outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px;}
a:focus-visible, button:focus-visible, [tabindex]:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {outline: 2px solid var(--accent); outline-offset: 2px;}
b, strong, .bolder {font-weight: 500;}

button, select, textarea, input[type="text"], input[type="password"], input[type="button"], [type="reset"], input[type="submit"] 
{appearance: none; -webkit-appearance: none; font-size: 16px; font-family: inherit; font-weight: inherit;}
input[type="button"], input[type="submit"] {font-size: 14px; font-weight: 400;}
button, .btn, [type="button"], [type="reset"], [type="submit"], .pmessages__links a, .qq-upload-button, .plupload_button, 
.pagination__btn-loader a 
{display: inline-flex; justify-content: center; align-items: center; cursor: pointer; white-space: nowrap;
	height: var(--ui-elem-height); padding: 0 var(--ui-elem-padding); gap: var(--ui-elem-gap);
	border-radius: var(--ui-elem-bdrs); background-color: var(--ui-bg-btn); color: var(--ui-tt-btn);
	font-size: var(--fs-base); font-weight: 500; text-transform: none; letter-spacing: 0;}
button:active, input[type="button"]:active, input[type="submit"]:active {box-shadow: inset 0 1px 4px 0 rgba(0,0,0,0.1);}
.color-btn, [class*=fr], [class*=plyr], .owl-prev, .owl-next, .owl-dot, [id*=mceu], [class*=tox-], .ui-dialog-titlebar-close {padding: 0; margin: 0; 
	line-height: 1.4; border: 0; box-shadow: none; background: none; border-radius: 0;}

[type="text"], [type="password"], [type="email"], select, textarea  {height: var(--ui-elem-height); 
	padding: 0 var(--ui-elem-padding); line-height: calc(var(--ui-elem-height) - 1px); 
	width: 100%; background-color: var(--ui-bg-inp); border: 1px solid var(--ui-bdc-inp); 
	border-radius: var(--ui-elem-bdrs); box-shadow: none; font-size: 14px; display: block;}
[type="text"]:focus, [type="password"]:focus, [type="email"]:focus, textarea:focus {border-color: var(--ui-bdc-inp-focus);}

select:not([multiple]) {background-image: url(../dleimages/chevron-down.svg); padding-right: 30px;
	background-repeat: no-repeat; background-position: right 15px top 50%; background-size: 12px auto;}
select option {padding: 6px 10px; font-weight: 400;}
select[multiple] option {padding: 3px 10px; font-weight: 400;}
select[multiple] {padding: 9px 5px;}
textarea {padding-top: 20px; padding-bottom: 20px; overflow: auto; resize: vertical;}
input::placeholder, textarea::placeholder {color: var(--tt-fade); opacity: 1; font-size: 14px;} 
input:focus::placeholder, textarea:focus::placeholder {color: transparent}


/* USEFUL CLASSES
----------------------------------------------- */
.img-wide, .img-responsive, .img-fixed-size, .expand-link, .p-relative, .img-block {position: relative;}
.img-responsive {padding-top: 60%;}
.img-responsive > img, .img-fixed-size img, .img-block img {width: 100%; height: 100%; object-fit: cover; border-radius: inherit;}
.img-responsive > img {position: absolute; left: 0; top: 0;}
.img-wide img, .img-wide > a, .img-block img {width: 100%; display: block;}
.img-block > img {position: absolute; left: 0; top: 0; width: 100%; height: 100%; 
	border-radius: inherit; display: block; object-fit: cover;}
/* Скрыто визуально, но доступно скринридерам (подписи полей и т.п.) */
.visually-hidden {position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;}
.clr {clear: both;}
.clearfix::after {content: ""; display: table; clear: both;}
.ws-nowrap {white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;}
.line-clamp-2, .line-clamp-3, .line-clamp-4, .line-clamp-5, .line-clamp-6 
{display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
.line-clamp-3 {-webkit-line-clamp: 3; line-clamp: 3;} .line-clamp-4 {-webkit-line-clamp: 4; line-clamp: 4;}
.line-clamp-5 {-webkit-line-clamp: 5; line-clamp: 5;} .line-clamp-6 {-webkit-line-clamp: 6; line-clamp: 6;}
.vw100 {margin:0 calc((100% - 100vw)/2); padding:0 calc((100vw - 100%)/2);}
.img-mask::after {content: ''; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 60%; 
	background: linear-gradient(to top, #000 0%, transparent 100%); opacity: 1;}
.expand-link__trg::after {content: ''; position: absolute; inset: 0; z-index: 10;}
.img-overlay-icon::before {position: absolute; inset: 0; z-index: 5; border-radius: inherit; opacity: 0;
	background-color: rgba(0,0,0,0.66); color: #fff; font-size: 34px; display: grid; place-items: center;}

.d-flex {display: flex; flex-wrap: wrap; flex-direction: row;}
.fd-column {flex-direction: column; flex-wrap: nowrap;} 
.jc-space-between {justify-content: space-between;}
.jc-flex-start {justify-content: flex-start;}
.jc-center {justify-content: center;}
.jc-flex-end {justify-content: flex-end;}
.ai-flex-start {align-items: flex-start;}
.ai-center {align-items: center;}
.ai-flex-end {align-items: flex-end;}
.order-first {order: -1;}
.order-last {order: 10;}
.flex-grow-1, .ui-dialog-title, .ac-form__bottom .comments_subscribe, .flex-1 {flex: 1 1 0; max-width: 100%; min-width: 50px;}
.flex-grow-1-column, .flex-1-col {flex: 1 0 min-content}
.pi-center {display: grid; place-items: center;}
.ta-center {text-align: center;}

.grid-items {display: grid; gap: 22px 14px; grid-template-columns: repeat(auto-fill,minmax(min(42vw,168px),1fr));}
.grid-items > *:not(.grid-items__item), #dle-content > *:not(.grid-items__item) {grid-column: 1 / -1;}
.grid-items > #dle-content {display: inherit; gap: inherit; grid-template-columns: inherit;}

.r-gap-5 {row-gap: 5px;} .r-gap-10 {row-gap: 10px;} .r-gap-15 {row-gap: 15px;} .r-gap-20 {row-gap: 20px;}
.r-gap-25 {row-gap: 25px;} .r-gap-30 {row-gap: 30px;} .r-gap-35 {row-gap: 35px;} .r-gap-40 {row-gap: 40px;}
.c-gap-5 {column-gap: 5px;} .c-gap-10 {column-gap: 10px;} .c-gap-15 {column-gap: 15px;} .c-gap-20 {column-gap: 20px;}
.c-gap-25 {column-gap: 25px;} .c-gap-30 {column-gap: 30px;} .c-gap-35 {column-gap: 35px;} .c-gap-40 {column-gap: 40px;}
.p-relative {position: relative;} .o-hidden {overflow: hidden;} .d-block {display: block;} 
.w-100 {width: 100%; min-width: 100% !important; grid-column: 1 / -1;} .bdrs-50 {border-radius: 50%;}
.ml-auto {margin-left: auto;} .mr-auto {margin-right: auto;} .mt-auto {margin-top: auto;} .mb-auto {margin-bottom: auto;}
.ratio-3-2 {aspect-ratio: 3 / 2;} .ratio-2-3 {aspect-ratio: 2 / 3;} .ratio-1-1 {aspect-ratio: 1 / 1;}

.btn-smaller {--ui-elem-height: 30px; font-size: 12px; padding: 0 10px;}
.btn-bigger {--ui-elem-height: 50px; --ui-elem-padding: 40px}
.btn-square {aspect-ratio: 1 / 1; padding: 0;}
.btn-rounded {border-radius: calc(var(--ui-elem-height)/2);}
.btn-border {background: none; border: 1px solid var(--bdc); color: var(--tt); box-shadow: none;}
.btn-nobg {background: none; color: var(--tt); box-shadow: none; padding: 0;}
.btn-fade {background-color: var(--bg-darker); color: var(--tt-fade); --ui-btn-bsh: var(--bg-darkest);}

.hidden, .d-none, .full-text .quote + br, 
#category option:empty, .ui-helper-hidden-accessible:empty, #related_news:empty, #result-registration:empty, 
.info br, #fullsearch + form .mass_comments_action, .bb-sep, .bb-pane > .clr, .comm__ctrl-menu li:empty, 
.has-checkbox:empty {display: none;} 
.login__social:has(.login__social-caption:last-child), .serv__social:has(.serv__subtitle:last-child) {display: none;}
.anim, button, .btn, a, .anim-before::before, .anim-after::after
{transition: color 0.18s ease, background-color 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease,
	transform 0.18s ease, border-color 0.18s ease, scale 0.18s ease, rotate 0.18s ease, translate 0.18s ease;}

/* Уважаем системную настройку «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important; scroll-behavior: auto !important;}
}

@font-face {font-family: 'inter'; src: url('../webfonts/inter-400.woff2') format('woff2');
	font-weight: 400; font-style: normal; font-display: swap;}
@font-face {font-family: 'inter'; src: url('../webfonts/inter-500.woff2') format('woff2');
	font-weight: 500; font-style: normal; font-display: swap;}
@font-face {font-family: 'Oswald'; src: url('../webfonts/oswald-700.woff2') format('woff2');
	font-weight: 700; font-style: normal; font-display: swap;}
@font-face {font-family: 'Righteous-Regular'; src: url('../webfonts/Righteous-Regular.woff2') format('woff2');
	font-weight: 400; font-style: normal; font-display: swap;}


@media (hover: hover) and (pointer: fine) {
	a:hover {color: var(--tt); text-decoration: none;}
	button:hover, .btn:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, 
	.pmessages__links a:hover, .qq-upload-button:hover, .us__btn a:hover, .plupload_button:hover, 
	#searchsuggestions span.seperator a:hover, .pagination__btn-loader a:hover 
	{background-color: var(--ui-bg-btn-hover); color: var(--ui-tt-btn); border-color: var(--ui-bg-btn-hover);}
	.ui-dialog-titlebar-close:hover, .login__close:hover, .trl__close:hover {background-color: var(--ui-red); color: var(--tt-btn);}
	.xfieldimagegallery a:hover, .comments-image-gallery a:hover {opacity: 0.8;}
	.fs-result:hover {background-color: var(--ui-bg-darker);}

	.header__menu li:hover > a {opacity: 1; color: var(--accent);}
	.header__menu li:hover .header__menu-hidden {opacity: 1; visibility: visible; translate: 0 0;}
	.item:hover .item__btn-info {translate: 0 0; opacity: 1;}
	.header__menu-hidden a:hover, .footer__menu a:hover, .header__login a:hover, .lgn__ctrl > a:hover, .lgn__menu a:hover,  
	.speedbar a:hover, .page__complaint a:hover, .comm__action a:hover, .comm__ctrl-menu a:hover, 
	.fr__title:hover, .page__fav > *:hover, .tuser__name a:hover {text-decoration: underline;}
	.owl-nav button:hover {opacity: 1; background-color: var(--accent); color: #fff;}
	.sect__tabs button:not(.is-active):hover, .pagination > a:hover, .header__btn1:hover, .page__likes a:hover, 
	.pagination__pages a:hover, .sect__grid-select button:hover {background-color: var(--accent); color: #fff;}
	.item:hover .img-overlay-icon::before {opacity: 1;}
	.header__ava:hover, .comm__rating a:hover {opacity: 0.8;}

	.trl__close:hover, .mobile-menu__btn-close:hover, .lgn__btn-close:hover {background-color: var(--red); color: #fff;}
	.page__rating-ext a:hover .fal, .page__likes a:hover {background-color: var(--accent) !important;}
	.comm__ctrl-btn:hover {color: var(--accent); background: none;}
}


.dt {
	--bg: #141821; --bg-darker: #0e1117; --bg-darker-1: #1b2029; --bg-black: #0c0f14; --bg-blackest: #080a0e;
	--tt: #e9ecf1; --tt-fade-0: #c3cad6; --tt-fade: #929cad;
	--bdc: rgba(255,255,255,0.10); --bsh-long: 0 24px 60px rgba(0,0,0,0.6); --bsh: 0 1px 2px rgba(0,0,0,0.5);
	--bsh-block: 0 1px 3px rgba(0,0,0,0.45);

	--accent: #7ac943; --accent-soft: rgba(122,201,67,0.14);
	--ui-bg-btn: #5aab2e; --ui-bg-btn-hover: #68bd38;
	--ui-bg-inp: rgba(255,255,255,0.05); --ui-bdc-inp: rgba(255,255,255,0.12); --ui-bdc-inp-focus: #7ac943;

	--ui-bg: #141821; --ui-bg-darker: #1b2029; --ui-bg-darkest: #0e1117; --ui-accent: #5fa8ff;
	--ui-bdc: rgba(255,255,255,0.10); --ui-tt-fade: #929cad;
	--ui-bsh: 0 24px 60px rgba(0,0,0,0.6); --ui-bsh-inset: none;
	--ui-gradient: linear-gradient(to bottom, #232a36, #151a23); --ui-bg-black: #151a23;
	--ui-bg-attention: #2a2314; --ui-bd-attention: #b57c07;
	--blue: #5fa8ff; --imdb: #f5c518;
}
.dt {color-scheme: dark;}
.dt select:not([multiple]) {background-image: url(../dleimages/chevron-down-light.svg);}
.dt .header__menu > li > a:not(:hover) {opacity: 1; color: #fff;}
.dt .search-block__input, .dt .search-block__input:focus {box-shadow: none;}
.dt .logo, .dt .sect__title, .dt .lgn__title, .dt .sect__tabs button.is-active, .dt .header__menu-hidden li:not(:has(a)),
.dt .th-text h1, .dt .page__header h1, .dt .top-users__title {--tt: #fff; color: #fff;}

.dt .page__poster, .dt .show-text {box-shadow: var(--bsh-block);}
.dt .page__text .full-text, .dt .rkl--holder {color: var(--tt-fade-0);}
.dt .page__list a {--blue: #60afff;}
.dt .page__cols-right {background-color: rgba(255,255,255,0.06);}
.dt .page__cols:has(.page__player) .page__cols-right {background-color: var(--bg-black);}
.dt .ac-form__header input, .dt .ac-form__editor textarea, .dt .top-users, .dt .comm {background-color: rgba(0,0,0,0.3);}
.dt .comm.pos {background-color: rgba(59, 179, 59, 0.15);}
.dt .comm.neg {background-color: rgba(235, 77, 75,0.15);}

.dt .filter__cell select, .dt .tail-select-container, .dt .select-label, .dt .irs-line
{background-color: rgba(255,255,255,0.05);}
/* Иконки этих элементов заданы SVG-масками в css/styles.css — иконочный шрифт больше не нужен */