/* =======================
   LORDSERIAL – CINEMA THEME
   ======================= */

body.lf-theme-cinema {
    /* ширина макета */
    --max-width: 1360px;

    /* фоновые цвета */
    --bg: #05060a;
    --bg-darker: #080a12;
    --bg-darker-1: #090c16;
    --bg-black: #05060a;
    --bg-blackest: #020308;

    /* текстовые цвета */
    --tt: #f5f5f5;
    --tt-fade-0: #d1d5db;
    --tt-fade: #9ca3af;

    /* бордеры, тени */
    --bdc: rgba(255,255,255,0.12);
    --bdc-soft: rgba(255,255,255,0.04);
    --bsh-long: 0 0 60px rgba(0,0,0,0.9);
    --bsh-block: 0 1px 5px rgba(0,0,0,0.7);

    /* элементы интерфейса */
    --ui-bg-inp: #0c101b;
    --ui-bdc-inp: #1f2835;
    --ui-bdc-inp-focus: #30d86c;
}

body.lf-theme-cinema {
    background-color: var(--bg);
}

body.lf-theme-cinema .wrapper__container--main {
    background-color: var(--bg);
    box-shadow: none;
}

body.lf-theme-cinema .content {
    background: transparent;
}

body.lf-theme-cinema .wrapper::before,
body.lf-theme-cinema .wrapper::after {
    background: var(--bg);
}

/* HEADER / ЛОГО / МЕНЮ */

.lf-header__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.lf-logo {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.lf-logo span {
    color: #ffcc33;
}

/* основное меню категорий */
.header__menu {
    gap: 18px;
}

.header__menu > li > a {
    display: flex;
    align-items: center;
    height: 70px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .05em;
    color: var(--tt-fade);
    opacity: 0.85;
}

.header__menu > li > a:hover,
.header__menu > li.active > a {
    color: #ffcc33;
    opacity: 1;
}

/* форма поиска в шапке */
body.lf-theme-cinema .search-block__input {
    background-color: var(--ui-bg-inp);
    border-color: var(--ui-bdc-inp);
    color: var(--tt);
}

body.lf-theme-cinema .search-block__input:focus {
    border-color: var(--ui-bdc-inp-focus);
}

/* кнопка логина */
body.lf-theme-cinema .header__btn-login {
    background-color: #30d86c;
    color: #05060a;
}

/* HERO (карусель на главной в main.tpl – если захочешь, потом доработаем) */

/* SECTIONS */

.lf-section {
    margin: 18px 0 22px;
}

.lf-section__title {
    font-size: 20px;
    color: #fff;
}

/* GRID & CARDS */

.grid-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.lf-card {
    border-radius: 16px;
    background: #0b0c12;
    border: 1px solid rgba(255,255,255,.05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    overflow: hidden;
    position: relative;
}

.lf-card__poster {
    display: block;
    position: relative;
}

.lf-card__poster img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.lf-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.1));
    opacity: 0;
    transition: opacity .2s ease;
}

.lf-card__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    backdrop-filter: blur(8px);
}

.lf-card__body {
    padding: 9px 9px 10px;
}

.lf-card__title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

.lf-card__meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--tt-fade);
}

.lf-card__badge {
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.16);
    padding: 2px 6px;
    font-size: 10px;
}

/* hover карточки */
.lf-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0,0,0,.7);
    border-color: rgba(255,255,255,.15);
}
.lf-card:hover .lf-card__overlay { opacity: 1; }

/* BREADCRUMBS */

.lf-breadcrumbs {
    font-size: 12px;
    margin: 14px 0;
    color: var(--tt-fade);
}

/* ===== FULL PAGE (страница сериала/фильма) ===== */

.lf-page {
    background: var(--bg-darker-1);
    border-radius: 18px;
    border: 1px solid var(--bdc-soft);
    padding: 18px 18px 22px;
    box-shadow: var(--bsh-long);
}

.lf-page__top {
    display: grid;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: 24px;
    align-items: flex-start;
}

/* мини-карточки ГОД/СТРАНА/ЖАНР/... */
.lf-page__meta-grid {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}

.lf-page__meta-item {
    padding: 6px 9px;
    border-radius: 10px;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.06);
    font-size: 13px;
}

.lf-page__meta-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--tt-fade);
    margin-bottom: 2px;
}

.lf-page__meta-value {
    color: #fff;
}

/* справа – заголовок, рейтинги и т.п. */

.lf-page__header {
    margin-bottom: 14px;
}

.lf-page__badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.lf-page__type-badge,
.lf-page__year-badge {
    font-size: 11px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--tt-fade-0);
}

.lf-page__year-badge {
    border-color: rgba(255,204,51,0.7);
    color: #ffcc33;
}

.lf-page__title {
    font-size: 26px;
    margin-bottom: 4px;
    color: #fff;
}

.lf-page__subtitle {
    font-size: 13px;
    color: var(--tt-fade);
    margin-bottom: 10px;
}

.lf-page__rating-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.lf-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(0,0,0,.5);
    border: 1px solid rgba(255,255,255,0.16);
    font-size: 12px;
    color: #f5f5f5;
}

.lf-rating-badge--user {
    border-color: #30d86c;
}

.lf-rating-badge__score {
    font-weight: 600;
}

.lf-page__people {
    margin-top: 6px;
    font-size: 13px;
}

.lf-page__meta-row {
    display: flex;
    gap: 6px;
    margin-bottom: 4px;
}

.lf-page__meta-row .lf-page__meta-label {
    margin-bottom: 0;
}

/* блок плеера */

.lf-page__player-block {
    margin-top: 10px;
}

.lf-page__player-iframe {
    margin-top: 10px;
}

/* Описание и «О проекте» */

.lf-block-title {
    font-size: 18px;
    margin-bottom: 8px;
    color: #fff;
}

.lf-page__synopsis {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.lf-page__synopsis .full-text p {
    margin-bottom: 8px;
}

.lf-page__extra-meta {
    margin-top: 16px;
    font-size: 13px;
}

/* ===== КОММЕНТАРИИ ===== */

.lf-comments {
    margin-top: 24px;
    padding: 18px 16px 20px;
    border-radius: 16px;
    background: #05060f;
    border: 1px solid rgba(255,255,255,0.12);
}

.lf-comments__title {
    margin-bottom: 10px;
}

.lf-comments__inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* форма добавления */

.lf-comments .add-comm,
.lf-add-comm {
    background: #080a14;
    border-radius: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,0.08);
}

.lf-comments textarea,
.lf-comments input[type="text"] {
    background-color: #05060f;
    border-color: rgba(255,255,255,0.14);
    color: #f5f5f5;
}

/* сами комментарии */

.lf-comments__list {
    margin-top: 4px;
}

.lf-comment,
.comments-tree .comment {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: #f5f5f5;
    font-size: 14px;
}

.lf-comment:last-child,
.comments-tree .comment:last-child {
    border-bottom: none;
}

.lf-comment__header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 4px;
}

.lf-comment__author {
    font-weight: 600;
}

.lf-comment__date {
    font-size: 12px;
    color: var(--tt-fade);
}

/* SEARCH RESULT SHORT */

.lf-sres {
    border-radius: 999px;
    border: 1px solid var(--bdc-soft);
    background: var(--bg-darker);
    font-size: 14px;
    margin-bottom: 8px;
    overflow: hidden;
}

.lf-sres__title {
    padding: 7px 11px;
}

.lf-sres__btn {
    font-size: 12px;
    text-transform: uppercase;
}

/* MOBILE MENU (фон, чтобы не был белый) */

.mobile-menu,
.mobile-menu__header,
.mobile-menu__content {
    background-color: var(--bg-black) !important;
}

.mobile-menu__content .header__menu li a {
    color: var(--tt) !important;
}

.mobile-menu__content .header__menu li.active > a {
    color: #ffcc33 !important;
}

/* ADAPTIVE */

@media (max-width: 900px) {
    .lf-page__top {
        grid-template-columns: minmax(0, 1fr);
    }
    .lf-page__meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    /* на мобиле убираем верхнее меню, оставляем бургер */
    .header__menu {display:none;}
}

@media (max-width: 600px) {
    body.lf-theme-cinema .content {
        padding: 14px 10px 22px;
    }
    .grid-items {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
    .lf-page {
        padding: 14px 10px 18px;
    }
    .lf-page__meta-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================
   УНИФИКАЦИЯ РАЗМЕРА ПОСТЕРОВ
   ============================== */

/* 1. Карусель (Популярно сейчас) */
.carou__content .item__img,
.carou__content .item .img,
.carou__content .img-block {
    width: 100%;
    height: 270px;             /* ← можешь менять */
    max-height: 270px;
    overflow: hidden;
    position: relative;
}

.carou__content .item__img img,
.carou__content .item .img img,
.carou__content .img-block img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 2. Сетка (Сериалы / ТВ-шоу / и т.д.) */
.grid-items .item__img,
.grid-items .item .img,
.grid-items .img-block {
    width: 100%;
    height: 270px;             /* ← то же значение */
    max-height: 270px;
    overflow: hidden;
    position: relative;
}

.grid-items .item__img img,
.grid-items .item .img img,
.grid-items .img-block img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Гостевой блок в комментариях */
.lf-comments__note {
    background: #251509;
    border-radius: 12px;
    border: 1px solid rgba(255, 186, 120, 0.7);
    padding: 10px 12px;
    font-size: 13px;
    color: #fde7c7;
    margin-bottom: 10px;
    line-height: 1.4;
}

.lf-comments__note a {
    color: #fed7aa;
    text-decoration: underline;
}

/* на всякий случай приглушим старый message-info, если где-то ещё всплывёт */
.lf-comments .message-info {
    background: #251509 !important;
    color: #fde7c7 !important;
    border-color: rgba(255,186,120,0.8) !important;
}

/* ====== ОФОРМЛЕНИЕ ОПУБЛИКОВАННЫХ КОММЕНТАРИЕВ ====== */

.comments-tree {
    margin-top: 14px;
}

.comments-tree .comment {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
    background: #0a0b12;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 12px;
}

/* имя пользователя */
.comments-tree .comment .comm-author {
    font-weight: 700;
    color: #30d86c;   /* зелёный как кнопка Войти */
    font-size: 14px;
}

/* дата */
.comments-tree .comment .comm-info {
    font-size: 11px;
    color: #7e8295;
}

/* текст комментария */
.comments-tree .comment .comm-text {
    font-size: 14px;
    line-height: 1.4;
    color: #ffffff;
}

/* убрать лишний [logged] если появляется */
.comments-tree .comment [logged] {
    display: none !important;
}

/* === ЖЁСТКИЙ ФИКС ВЕРСТКИ ВНУТРИ КОММЕНТАРИЕВ === */
/* отключаем старые float-ы и табличную раскладку,
   чтобы всё шло одной нормальной колонкой */

.lf-comments .comment {
    display: block;
    width: 100%;
    overflow: hidden;
}

.lf-comments .comment *,
.lf-comments .comment *::before,
.lf-comments .comment *::after {
    float: none !important;
    max-width: 100% !important;
}

.lf-comments .comment table,
.lf-comments .comment tbody,
.lf-comments .comment tr,
.lf-comments .comment td {
    display: block;
    width: 100% !important;
}




/* Скрываем зелёный бейдж группы (Administrator и т.п.), 
   чтобы он не вылезал сбоку и не ломал блок комментария */
.comm__group {
    display: none !important;
}









/* ==== ФИКС РАЗМЕРА АВАТАРКИ В КОММЕНТАРИЯХ ==== */

.lf-comment__avatar {
    width: 38px;             /* ← уменьшил */
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.lf-comment__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* чтобы текст не прижимался */
.lf-comment__meta {
    line-height: 1.3;
}



.lf-comment {
    padding: 12px 16px;
    background: #0a0b12;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 12px;
}

.lf-comment__author {
    font-size: 14px;
    font-weight: 600;
    color: #30d86c;
}

.lf-comment__date {
    font-size: 11px;
    color: #7e8295;
}

.lf-comment__body {
    margin-top: 6px;
    font-size: 14px;
    color: #fff;
    line-height: 1.4;
}


















/* ================================
   Заголовки секций: Фильмы / Сериалы / ...
   ================================ */

body.lf-theme-cinema .lf-section__header {
    align-items: center;
}

/* базовый вид плашки */
body.lf-theme-cinema .lf-section__header .sect__title.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 6px 18px;
    border-radius: 999px;

    background: radial-gradient(circle at 0 0, rgba(255,255,255,0.15), transparent 60%);
    color: #f9fafb;

    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;

    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);

    position: relative;
    overflow: hidden;
    text-decoration: none;
}

/* убираем стандартные отступы h2 */
body.lf-theme-cinema .lf-section__header .sect__title.btn h2 {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

/* стрелочка справа */
body.lf-theme-cinema .lf-section__header .sect__title.btn::after {
    content: "›";
    font-size: 14px;
    opacity: 0.9;
}

/* лёгкий hover-эффект */
body.lf-theme-cinema .lf-section__header .sect__title.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.9);
    filter: brightness(1.08);
}


/* ФИЛЬМЫ – лаймово-зелёные */
body.lf-theme-cinema .lf-section__header .sect__title.btn[href*="/filmy/"] {
    background: linear-gradient(135deg, #2fd66a, #8cf57a);
    color: #041108;
    border-color: rgba(143, 249, 159, 0.9);
}

/* СЕРИАЛЫ – бирюзовые */
body.lf-theme-cinema .lf-section__header .sect__title.btn[href*="/serialy/"] {
    background: linear-gradient(135deg, #1fd1c0, #53e3ff);
    color: #021015;
    border-color: rgba(123, 233, 255, 0.95);
}

/* МУЛЬТФИЛЬМЫ – оранжево-жёлтые */
body.lf-theme-cinema .lf-section__header .sect__title.btn[href*="/multfilmy/"] {
    background: linear-gradient(135deg, #ffb347, #ffdd63);
    color: #2a1604;
    border-color: rgba(255, 219, 130, 0.95);
}

/* ТВ-ШОУ – фиолетовые */
body.lf-theme-cinema .lf-section__header .sect__title.btn[href*="/tv-shou/"] {
    background: linear-gradient(135deg, #a855f7, #6366f1);
    color: #08051a;
    border-color: rgba(187, 153, 255, 0.95);
}

/* "Вы недавно смотрели" – стиль как у секций */
body.lf-theme-cinema .sect-recent {
    background: linear-gradient(135deg, #ff7eb3, #ffb86c);
    color: #11050a;
    border-color: rgba(255, 185, 168, 0.9);
}

body.lf-theme-cinema .sect-recent h2 {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}













/* ==== ТЕКСТ ПРИ РЕДАКТИРОВАНИИ ==== */
.editor-area,
#editarea,
textarea,
input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"] {
    background: #0c1016 !important;
    color: #f0f0f0 !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
}

/* Для CKEditor/DLE inline редактирования */
.cke_editable,
.cke_wysiwyg_frame {
    background: #0c1016 !important;
    color: #f0f0f0 !important;
}

/* Плавающее меню редактирования (тоже тёмным сделать) */
.cke_panel,
.cke_combo_panel,
.cke_menu,
.cke_menu_panel {
    background: #0c1016 !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
}

.cke_panel * {
    color: #e5e5e5 !important;
}

/* Курсор при выделении */
.editor-area::selection,
.cke_editable::selection {
    background: rgba(48, 216, 108, 0.5);
    color: #fff;
}








/* ===== СИСТЕМНЫЕ СООБЩЕНИЯ / ОШИБКИ / ПРЕДУПРЕЖДЕНИЯ ===== */

body.lf-theme-cinema .alert,
body.lf-theme-cinema .alert-warning,
body.lf-theme-cinema .alert-danger,
body.lf-theme-cinema .alert-info,
body.lf-theme-cinema .message,
body.lf-theme-cinema .message-error,
body.lf-theme-cinema .message-info,
body.lf-theme-cinema .mass,
body.lf-theme-cinema .mass-warning,
body.lf-theme-cinema .mass-error {
    background: #11131b !important;
    color: #f5f5f5 !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    border-radius: 10px;
    padding: 10px 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.7);
}

/* чтобы красная «лента» внутри не прятала текст */
body.lf-theme-cinema .alert span,
body.lf-theme-cinema .alert b,
body.lf-theme-cinema .alert strong,
body.lf-theme-cinema .message span,
body.lf-theme-cinema .message b,
body.lf-theme-cinema .message strong {
    color: #f97373 !important; /* спокойный красный, но читаемый */
}

/* ссылки в сообщениях */
body.lf-theme-cinema .alert a,
body.lf-theme-cinema .message a {
    color: #4ade80 !important;
    text-decoration: underline;
}







/* =======================
   ФОРМА КОММЕНТАРИЕВ
   ======================= */

body.lf-theme-cinema .lf-add-comm {
    border-radius: 16px;
    background: #05060f;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 14px 16px 16px;
    margin-top: 18px;
}

body.lf-theme-cinema .lf-add-comm textarea.textarea {
    width: 100%;
    resize: vertical;
    min-height: 90px;
    max-height: 240px;
    background: #0b0d14;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.16);
    color: #f5f5f5;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
}

body.lf-theme-cinema .lf-add-comm textarea.textarea::placeholder {
    color: #9ca3af;
}

body.lf-theme-cinema .lf-add-comm textarea.textarea:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 1px rgba(34,197,94,0.5);
}

/* низ формы: слева капча/вопрос, справа кнопка */
body.lf-theme-cinema .add-comm__bottom {
    margin-top: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

body.lf-theme-cinema .lf-add-comm__left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Вопрос (антиспам) */
body.lf-theme-cinema .lf-add-comm__question input[type="text"],
body.lf-theme-cinema .lf-add-comm__question input[type="text"]:not(.sec_input) {
    background: #0b0d14;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.18);
    color: #f5f5f5;
    padding: 7px 10px;
    max-width: 240px;
    outline: none;
    font-size: 14px;
}

/* КАПЧА – контейнер */
body.lf-theme-cinema .lf-add-comm__captcha {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* картинка капчи */
body.lf-theme-cinema .lf-add-comm__captcha img,
body.lf-theme-cinema .lf-add-comm__captcha .sec_code {
    max-width: 180px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.18);
    padding: 3px;
    background: #11131b;
    display: block;
}

/* поле ввода капчи — это именно то, что у тебя не видно */
body.lf-theme-cinema .lf-add-comm__captcha input[type="text"],
body.lf-theme-cinema .lf-add-comm__captcha .sec_input {
    width: 180px;
    padding: 7px 10px;
    border-radius: 8px;
    background: #0b0d14;
    border: 1px solid rgba(255,255,255,0.2);
    color: #f5f5f5;
    outline: none;
    font-size: 14px;
}

body.lf-theme-cinema .lf-add-comm__captcha input[type="text"]::placeholder,
body.lf-theme-cinema .lf-add-comm__captcha .sec_input::placeholder {
    color: #9ca3af;
}

body.lf-theme-cinema .lf-add-comm__captcha input[type="text"]:focus,
body.lf-theme-cinema .lf-add-comm__captcha .sec_input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 1px rgba(34,197,94,0.5);
}

/* кнопка отправки */
body.lf-theme-cinema .lf-add-comm__submit {
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* адаптив для мобильных, чтобы всё не ломалось */
@media (max-width: 700px) {
    body.lf-theme-cinema .add-comm__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    body.lf-theme-cinema .lf-add-comm__submit {
        align-self: flex-end;
    }
}





















/* ===== ФОРМА КОММЕНТАРИЕВ ===== */

body.lf-theme-cinema .lf-add-comm {
    border-radius: 16px;
    background: #05060f;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 14px 16px 16px;
    margin-top: 18px;
}

body.lf-theme-cinema .lf-add-comm textarea.textarea {
    width: 100%;
    resize: vertical;
    min-height: 90px;
    max-height: 240px;
    background: #0b0d14;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.16);
    color: #f5f5f5;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
}

body.lf-theme-cinema .lf-add-comm textarea.textarea::placeholder {
    color: #9ca3af;
}

body.lf-theme-cinema .lf-add-comm textarea.textarea:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 1px rgba(34,197,94,0.5);
}

/* низ формы */
body.lf-theme-cinema .add-comm__bottom {
    margin-top: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

body.lf-theme-cinema .lf-add-comm__left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.lf-theme-cinema .lf-add-comm__label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #9ca3af;
    margin-bottom: 3px;
}

/* вопрос */
body.lf-theme-cinema .lf-add-comm__question input[type="text"] {
    background: #0b0d14;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.18);
    color: #f5f5f5;
    padding: 7px 10px;
    max-width: 240px;
    outline: none;
    font-size: 14px;
}

/* ОБЫЧНАЯ КАПЧА (картинка + поле внутри {sec_code}) */
body.lf-theme-cinema .lf-add-comm__captcha {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

/* картинка */
body.lf-theme-cinema .lf-add-comm__captcha img {
    max-width: 180px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.18);
    padding: 3px;
    background: #11131b;
}

/* поле ввода, которое выводит DLE ВНУТРИ {sec_code} */
body.lf-theme-cinema .lf-add-comm__captcha input[type="text"] {
    max-width: 180px;
    padding: 7px 10px;
    border-radius: 8px;
    background: #0b0d14;
    border: 1px solid rgba(255,255,255,0.2);
    color: #f5f5f5;
    outline: none;
    font-size: 14px;
}

body.lf-theme-cinema .lf-add-comm__captcha input[type="text"]::placeholder {
    color: #9ca3af;
}

body.lf-theme-cinema .lf-add-comm__captcha input[type="text"]:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 1px rgba(34,197,94,0.5);
}

/* reCAPTCHA */
body.lf-theme-cinema .lf-add-comm__captcha--g {
    margin-top: 6px;
}

/* кнопка */
body.lf-theme-cinema .lf-add-comm__submit {
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* адаптив */
@media (max-width: 700px) {
    body.lf-theme-cinema .add-comm__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    body.lf-theme-cinema .lf-add-comm__submit {
        align-self: flex-end;
    }
}


/* поля для гостей (имя + e-mail) */
body.lf-theme-cinema .lf-add-comm__guest-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

body.lf-theme-cinema .lf-input {
    background: #0b0d14;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.16);
    padding: 8px 12px;
    color: #f5f5f5;
    outline: none;
    font-size: 14px;
}

body.lf-theme-cinema .lf-input::placeholder {
    color: #9ca3af;
}

body.lf-theme-cinema .lf-input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 1px rgba(34,197,94,0.4);
}



/* ===========================
   ФОРМА КОММЕНТАРИЕВ (lf-add-comm)
   =========================== */

.lf-add-comm {
    background: #080a14;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 14px 16px 16px;
    margin-top: 18px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.7);
}

/* Общие ряды */
.lf-add-comm__row,
.add-comm__row {
    margin-bottom: 12px;
}

/* Поля ИМЯ / EMAIL для гостей */
.lf-add-comm__row--guest {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.lf-input {
    width: 100%;
    box-sizing: border-box;
    background: #05060f;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.18);
    padding: 8px 11px;
    font-size: 14px;
    color: #f5f5f5;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.lf-input::placeholder {
    color: #6b7280;
}

.lf-input:focus {
    border-color: #30d86c;
    box-shadow: 0 0 0 1px rgba(48,216,108,0.5);
    background: #070913;
}

/* Редактор комментария {editor} */
.lf-add-comm .textarea,
.lf-add-comm textarea,
.lf-add-comm .bb-editor textarea {
    width: 100%;
    min-height: 100px;
    max-height: 260px;
    resize: vertical;
    background: #05060f;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 12px;
    font-size: 14px;
    color: #f5f5f5;
    outline: none;
}

.lf-add-comm .textarea::placeholder,
.lf-add-comm textarea::placeholder {
    color: #6b7280;
}

.lf-add-comm .textarea:focus,
.lf-add-comm textarea:focus {
    border-color: #30d86c;
    box-shadow: 0 0 0 1px rgba(48,216,108,0.5);
}

/* Подписи к полям (Проверка / Защита от спама) */
.lf-add-comm__label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #9ca3af;
    margin-bottom: 4px;
}

/* Блок вопроса */
.lf-add-comm__question {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Капча */
.lf-add-comm__captcha {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lf-add-comm__captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* инпут капчи */
.lf-add-comm__captcha-wrapper .lf-input#sec_code {
    max-width: 200px;
}

/* картинка капчи */
.lf-add-comm__captcha-wrapper img,
.lf-add-comm__captcha img {
    display: inline-block;
    max-height: 60px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.22);
    background: #0b0d14;
    padding: 3px;
}

/* блок reCAPTCHA чуть отступаем */
.lf-add-comm__captcha--g {
    margin-top: 6px;
}

/* Низ формы: подписка + кнопка */
.lf-add-comm__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Подписка на комментарии */
.lf-add-comm__right .has-checkbox {
    font-size: 13px;
    color: #d1d5db;
}

.lf-add-comm__right .has-checkbox input[type="checkbox"] {
    margin-right: 6px;
}

/* Кнопка отправки */
.lf-add-comm__submit {
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* Перенастройка нижней строки на мобилках */
.add-comm__bottom {
    margin-top: 10px;
}

/* Адаптив */
@media (max-width: 768px) {
    .lf-add-comm__row--guest {
        flex-direction: column;
    }

    .add-comm__bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .lf-add-comm__right {
        justify-content: space-between;
    }

    .lf-add-comm__right,
    .lf-add-comm__left {
        width: 100%;
    }

    .lf-add-comm__captcha-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
    }
}

