/* LordFilm redesign — light catalog, inspired by a modern serial grid */

:root {
    --lf-bg: #e7ece8;
    --lf-card: #ffffff;
    --lf-ink: #2c2f2c;
    --lf-muted: #8b918a;
    --lf-line: #e6ebe6;
    --lf-soft: #f4f7f4;
    --lf-green: #6fbf32;
    --lf-green-d: #5aa628;
    --lf-kp: #ff8a00;
    --lf-imdb: #f5c400;
    --lf-shadow: 0 10px 32px rgba(40, 55, 40, 0.08);
    --lf-radius: 16px;
}

body {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: var(--lf-ink);
    background: var(--lf-bg) !important;
    background-image: none !important;
}

a { color: #3d4a38; }
a:hover, a:focus { color: var(--lf-green-d); }

.wrap {
    padding: 18px 12px 28px;
    min-width: 320px;
}
.wrap-center { max-width: 1240px; }
.wrap-main {
    background: var(--lf-card);
    border-radius: 0;
    box-shadow: var(--lf-shadow);
    overflow: hidden;
}
.header-in.wrap-center { max-width: none; }

/* HEADER
----------------------------------------------- */
.header {
    background: #fff;
    box-shadow: none;
    border-bottom: 1px solid var(--lf-line);
}
.header-in {
    min-height: 74px;
    padding: 10px 18px;
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: flex-start;
}
.logo {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    color: inherit;
}
.logo:hover { color: inherit; }
.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--lf-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(111, 191, 50, 0.35);
    flex: 0 0 42px;
}
.logo-mark:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-left: 3px;
    border-style: solid;
    border-width: 7px 0 7px 12px;
    border-color: transparent transparent transparent #fff;
}
.logo-words { display: flex; flex-direction: column; line-height: 1; }
.logo-title {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.04em;
    color: #1d1f1d;
}
.logo-title span { color: var(--lf-green); }
.logo-tag {
    margin-top: 4px;
    font-size: 10px;
    letter-spacing: 0.02em;
    color: #c47a12;
    font-weight: 600;
}
.logo-sm .logo-mark { width: 32px; height: 32px; flex-basis: 32px; border-radius: 8px; box-shadow: none; }
.logo-sm .logo-mark:before { border-width: 5px 0 5px 9px; }
.logo-sm .logo-title { font-size: 15px; }
.logo-sm .logo-tag { display: none; }

.hmenu {
    padding: 0 6px;
    gap: 2px;
    flex-wrap: nowrap;
    align-self: stretch;
    align-items: stretch;
}
.hmenu > li {
    margin-right: 2px;
    position: relative;
    display: flex;
    align-items: center;
    align-self: stretch;
}
.hmenu > li > a {
    height: auto;
    line-height: 1.2;
    padding: 8px 10px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2a2a2a;
    opacity: 1;
    border-radius: 8px;
    display: flex;
    align-items: center;
}
.hmenu > li:hover > a,
.hmenu > li > a.is-active {
    color: var(--lf-green-d);
    background: #f3faec;
    box-shadow: none;
    opacity: 1;
}
.hidden-menu {
    width: 640px;
    border: 0;
    border-radius: 12px;
    padding: 14px 8px;
    top: 100%;
    left: 0;
    margin-top: 0;
    transform: none;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
.hidden-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -28px;
    height: 28px;
}
.hmenu > li:hover .hidden-menu,
.hmenu > li:focus-within .hidden-menu {
    pointer-events: auto;
    opacity: 1;
    transform: none;
}
.hm-col li { height: auto; line-height: 1.2; padding: 7px 10px 2px; color: var(--lf-muted); font-size: 12px; }
.hm-col a {
    border-radius: 6px;
    font-size: 13px;
    opacity: 1;
    color: #333;
    line-height: 28px;
    height: 28px;
}
.hm-col a:hover { background: var(--lf-green); color: #fff; }

.search-wrap {
    margin-left: auto;
    flex: 0 1 250px;
    max-width: 280px;
    min-width: 160px;
}
.search-box input,
.search-box input:focus {
    height: 38px;
    line-height: 38px;
    border-radius: 10px;
    border: 1px solid #e1e6e0;
    background: #fff;
    box-shadow: none;
    padding: 0 40px 0 14px;
    font-size: 14px;
    color: #333;
}
.search-box button {
    top: 0 !important;
    height: 38px;
    color: var(--lf-green) !important;
    font-size: 15px !important;
}

.theme-btn,
.js-theme-toggle {
    width: 36px;
    height: 36px;
    margin-left: 4px;
    padding: 0 !important;
    border-radius: 8px;
    background: var(--lf-green) !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 16px !important;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    flex: 0 0 36px;
}
.js-theme-toggle:hover { background: var(--lf-green-d) !important; color: #fff !important; }

.header .btn-login {
    height: 36px;
    line-height: 34px;
    margin-left: 4px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid var(--lf-green);
    background: #fff !important;
    color: #2c2c2c !important;
    box-shadow: none !important;
    text-transform: none;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}
.header .btn-login .fa { color: var(--lf-green); margin-right: 6px; }
.header .btn-login:hover,
.header .btn-login:focus {
    background: #fff !important;
    color: #2c2c2c !important;
    cursor: pointer;
}

.btn-menu {
    margin-left: auto;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--lf-soft);
    color: #333;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
}

.header.sticky {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border-radius: 0;
}
.header.sticky .header-in { max-width: 1240px; margin: 0 auto; }

/* BUTTONS / FIELDS
----------------------------------------------- */
body .button,
body .btn,
body .pagi-load a,
body button:not(.color-btn):not([class*=fr]):not(.DLEPush-close):not(.watchlist-btn):not(.hot-toggle-btn),
body input[type="button"],
body input[type="reset"],
body input[type="submit"] {
    border-radius: 8px;
    box-shadow: none;
    background: var(--lf-green);
    text-transform: none;
    font-weight: 600;
    height: 40px;
    line-height: 40px;
}
body .button:hover,
body .btn:hover,
body .pagi-load a:hover,
body button:not(.color-btn):not(.watchlist-btn):not(.hot-toggle-btn):hover,
body input[type="submit"]:hover {
    background: var(--lf-green-d);
    color: #fff;
    box-shadow: none;
}
.filter-btn.btn {
    background: #fff !important;
    color: #333 !important;
    box-shadow: inset 0 0 0 1px #d7ddd6 !important;
}
.filter-btn.btn:hover { background: #f3faec !important; }

input[type="text"],
input[type="password"],
textarea,
select {
    border-radius: 8px;
    border: 1px solid #e1e6e0;
    box-shadow: none;
    background: #fff;
    color: #222;
}
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
    box-shadow: 0 0 0 2px rgba(111, 191, 50, 0.25);
}

/* CONTENT / SECTIONS
----------------------------------------------- */
.content { padding: 8px 18px 22px; }
.speedbar {
    margin: 8px 0 14px;
    font-size: 12px;
    color: #9aa199;
}
.speedbar a { color: #7d8b78; }

.sect { margin-bottom: 26px; }
.sect-header { margin-bottom: 14px; gap: 8px; align-items: center; }
.sect-title,
.sect-tabs span {
    height: 34px;
    line-height: 34px;
    padding: 0 14px;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 600;
}
.sect-title {
    background: var(--lf-green);
    color: #fff !important;
    margin-right: 8px;
}
.sect-title .fa { font-size: 12px; margin-left: 6px; }
a.sect-title:hover { text-decoration: none; filter: brightness(0.96); }
.sect-tabs span { color: #8d938c; background: transparent; font-weight: 500; }
.sect-tabs span.is-active { background: var(--lf-green); color: #fff; }
.sect-tabs span:not(.is-active):hover { background: #eef3ee; color: #333; }

.sect-items {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px 12px;
    margin: 0;
}
.sect-items.clearfix:after { display: none; content: none; }
.sect-items > #dle-content { display: contents; }
.bottom-nav { grid-column: 1 / -1; text-align: center; }
.th-item {
    float: none;
    width: auto;
    padding: 0;
    margin: 0;
    min-width: 0;
}
.th-in {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: transform .18s ease, box-shadow .18s ease;
}
.th-in:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
    color: inherit;
}
.th-img { background: #1c1c1c; }
.th-img:before { display: none; }
.th-img img { object-fit: cover; }
.th-series {
    left: 8px;
    top: 8px;
    z-index: 6;
    padding: 3px 7px;
    border-radius: 4px;
    background: var(--lf-green);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}
.th-rates {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6;
    margin: 0;
    padding: 26px 8px 7px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
    pointer-events: none;
}
.th-rate { font-size: 14px; line-height: 1.05; font-weight: 800; }
.th-rate:before { display: none; }
.th-rate b { display: block; }
.th-rate i {
    display: block;
    margin-top: 2px;
    font-style: normal;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.78);
    text-transform: uppercase;
}
.th-rate-kp { color: var(--lf-kp); }
.th-rate-imdb { color: var(--lf-imdb); text-align: right; }
.th-desc {
    position: static;
    padding: 8px 8px 11px;
    color: var(--lf-ink);
    text-align: center;
}
.th-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.th-mask { display: none; }

/* SEO + FOOTER
----------------------------------------------- */
.desc-text {
    background: var(--lf-soft);
    margin: 8px 0 0;
    padding: 18px 20px;
    border-radius: 12px;
    color: #4d554d;
}
.desc-text h1, .desc-text h2, .desc-text h3 { font-size: 20px; }
.desc-text a { color: var(--lf-green-d); }

.footer {
    background: #fff;
    color: #8d938c;
    border-top: 1px solid var(--lf-line);
    padding: 16px 20px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.ft-side { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer a { color: #667066; }
.footer a:hover { color: var(--lf-green-d); }
.ft-copy { font-size: 13px; }

/* FULL STORY
----------------------------------------------- */
.fmain {
    background: transparent;
    box-shadow: none;
    margin: 0;
}
.fcols {
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 28px;
}
.fposter-col { width: 220px; flex: 0 0 220px; max-width: 220px; }
.fleft-img-in {
    position: relative;
    box-shadow: none;
    border-radius: 10px;
    margin-bottom: 12px;
}
.fposter { border-radius: 10px; overflow: hidden; background: #111; }
.fposter img { display: block; width: 100%; border-radius: 10px; }
.poster-rates {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}
.poster-rate {
    min-width: 46px;
    padding: 4px 6px 3px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.55);
    text-align: center;
    line-height: 1.05;
}
.poster-rate span { display: block; font-weight: 800; font-size: 14px; }
.poster-rate:before {
    content: attr(data-text);
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.75);
}
.poster-rate-kp span { color: var(--lf-kp); }
.poster-rate-imdb span { color: var(--lf-imdb); }

.ftools {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}
.flikes {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 50px minmax(0, 1fr);
    align-items: center !important;
    justify-items: center;
    width: 100%;
    height: 50px !important;
    min-height: 50px;
    margin: 0 !important;
    padding: 0 !important;
    gap: 8px;
    flex-wrap: nowrap;
}
.flikes .rate-plus,
.flikes .rate-minus {
    display: flex !important;
    align-items: center !important;
    align-self: center !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}
.flikes .rate-plus { justify-content: flex-end !important; }
.flikes .rate-minus { justify-content: flex-start !important; }
.slide-circle {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    justify-self: center;
    margin: 0 !important;
    flex: 0 0 50px;
    width: 50px !important;
    height: 50px !important;
    min-width: 50px;
    min-height: 50px;
    border-radius: 50%;
    background: transparent !important;
    box-shadow: none !important;
}
.slide-circle canvas {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 50px !important;
    height: 50px !important;
    margin: 0 !important;
}
.slide-circle > div {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: none !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-align: center !important;
    color: #2c2c2c;
    z-index: 2;
}
.slide-circle > div div { display: none !important; }
.rate-plus, .rate-minus {
    flex: 1 1 0;
    min-width: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #666;
    font-weight: 700;
}
.rate-plus { justify-content: flex-start; }
.rate-minus { justify-content: flex-end; }
.flikes .fa {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    font-size: 14px;
    margin: 0 !important;
    vertical-align: middle !important;
}
.flikes .psc,
.flikes .msc {
    display: inline-flex;
    align-items: center;
    height: 32px;
    line-height: 1;
    margin: 0 4px;
}
.rate-plus .fa { background: #3cb54a; }
.rate-minus .fa { background: #e24b3b; }

.lalikus,
.lalikus > span,
.lalikus [data-guest],
.CallendarButtons {
    display: block;
    width: 100%;
    margin: 0;
}
.lalikus .ffav1,
.ffav1,
.button34,
.episodeCallendarButton {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    max-width: 100%;
    min-height: 42px;
    margin: 0 !important;
    padding: 0 12px;
    border-radius: 8px;
    box-sizing: border-box;
    box-shadow: none;
    font-weight: 600;
    line-height: 1.2;
}
.lalikus .ffav1,
.ffav1,
.button34 {
    border: 1px solid #e3e6e1;
    background: #fff;
    color: #333;
}
.lalikus .ffav1:hover { background: #f6f8f6; }
.CallendarButtons { margin: 0; }
.episodeCallendarButton {
    background: var(--lf-green);
    border: 0;
    color: #fff !important;
}
.episodeCallendarButton:hover { background: var(--lf-green-d); }

.finfo {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    max-width: calc(100% - 248px);
    padding-top: 2px;
    overflow: visible;
}
.finfo h1 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lf-green);
}
.finfo h1 span,
.finfo h1 small { font-weight: 700; font-size: inherit; }
.forig {
    margin: -2px 0 10px;
    color: #9aa199;
    font-style: italic;
}
.fdesc { color: #5c655c; font-size: 14px; line-height: 1.55; margin-bottom: 14px; }
.slice-btn span {
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid #e3e6e1;
    background: #fff;
}
.fmeta {
    margin: 0 0 14px;
    padding: 0;
}
.fmeta li {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 10px;
    padding: 3px 0;
    font-size: 14px;
    line-height: 1.45;
}
.fmeta li > span { font-weight: 700; color: #222; }
.fmeta b,
.fmeta a { color: var(--lf-green-d); font-weight: 500; }
.fmeta a { border-bottom: 0; }
.fmeta li.fmeta-cast {
    display: block;
    grid-template-columns: none;
    margin-top: 12px;
    padding: 12px 14px;
    background: var(--lf-soft);
    border-radius: 10px;
}
.fmeta li.fmeta-cast > span {
    display: block;
    margin: 0 0 6px;
    font-weight: 700;
    color: #222;
}
.fcast-names,
.fmeta-cast b,
.fmeta-cast .fcast-names,
.fmeta-cast .fcast-names a,
.fmeta-cast a {
    display: inline;
    color: #3d4a38 !important;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.55;
    white-space: normal;
    word-break: break-word;
    visibility: visible;
    opacity: 1;
}
.fmeta-cast a:hover { color: var(--lf-green-d) !important; }

.fsubtitle {
    display: flex;
    align-items: center;
    gap: 14px;
    width: auto;
    margin: 22px 0 0;
    padding: 8px 0 0;
    border: 0;
    text-align: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}
.fsubtitle:before,
.fsubtitle:after {
    content: "";
    flex: 1;
    height: 2px;
    background: var(--lf-green);
}

.fplayer { margin-top: 0; }
.fctrl {
    background: transparent;
    color: #666;
    padding: 14px 0 0;
    align-items: flex-end;
}
.fplayer .tabs-sel span {
    height: 36px;
    line-height: 36px;
    padding: 0 16px;
    border-radius: 7px 7px 0 0;
    background: #e7efe3;
    color: #3d4a38;
}
.fplayer .tabs-sel span.current,
.fplayer .tabs-sel span:hover { background: var(--lf-green); color: #fff; }
.fplayer .tabs-b,
.js .tabs-b { background: #111; }
.video-box,
.fplayer .video-box {
    height: auto !important;
    aspect-ratio: 16 / 9;
    background: #111;
    position: relative;
}
.video-box embed,
.video-box object,
.video-box video,
.video-box iframe,
.video-box frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
}
.flight { color: #777; }
.fcompl a, .ffav a { color: #777; }
.fshare { padding: 12px 0 4px; }
.fplayer-below-player { margin-top: 8px; }

.fcomms { padding-top: 26px; }
.frels {
    margin: 8px 0 0;
    padding: 8px 0 0;
    background: transparent;
    color: inherit;
    position: static;
}
.frels-title {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    height: auto;
    min-height: 34px;
    padding: 7px 14px;
    border-radius: 7px;
    background: var(--lf-green);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}
.frels-title .fa {
    margin: 0 !important;
    line-height: 1;
    position: static;
}
.full-comms, .add-comms { width: 48%; }
.add-comm-form,
.add-comms > form {
    background: var(--lf-soft);
    border-radius: 12px;
    padding: 14px;
    width: 100%;
    box-sizing: border-box;
}
.ac-submit { width: 100%; }
.ac-submit button,
.add-comm-form button[type="submit"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px !important;
    line-height: 1.2 !important;
    padding: 0 16px !important;
    box-sizing: border-box;
    text-align: center;
}
.comm-item {
    background: var(--lf-soft);
    border-radius: 12px;
    padding: 12px 14px 12px 52px;
    margin-bottom: 10px;
    min-height: 0;
}
.comm-letter { left: 12px; top: 14px; }
.comm-item:before { display: none; }
.comm-one > span.comm-author,
.comm-one > span.comm-author a { color: var(--lf-green-d); }

.navigation a,
.navigation span,
.pnext a,
.pprev a,
.pprev > span,
.pnext > span {
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid #e5e8e4;
    background: #fff;
}
.navigation span:not(.nav_ext),
.pagi-nav a:hover,
.navigation a:hover {
    background: var(--lf-green);
    color: #fff;
    border-color: var(--lf-green);
}

.login-box {
    border-radius: 16px;
    border-top: 4px solid var(--lf-green);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.side-panel {
    background: #fff;
    padding: 14px;
}
.side-panel .hmenu > li > a { border-radius: 8px; }
.side-panel .hmenu > li > a:hover { background: #f3faec; }
.side-panel .hidden-menu {
    position: static;
    width: calc(100% + 20px);
    opacity: 1;
    transform: none;
    pointer-events: auto;
    border-radius: 10px;
    background: var(--lf-soft);
    box-shadow: none;
}
.side-panel .hidden-menu::before { display: none; }
.header, .header-in { overflow: visible; }
.btn-close { background: var(--lf-green); border-radius: 0 8px 8px 0; }
#gotop {
    background: var(--lf-green);
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(111, 191, 50, 0.35);
}
.berrors {
    background: #fff6f5;
    border: 1px solid #f3d2ce;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
}
.mtitle, .sub-title h1 { font-size: 22px; font-weight: 700; }

#hotBlock .hot-title {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 7px;
    background: var(--lf-green);
    color: #fff;
    font-weight: 600;
}
#hotBlock .hot-dropdown-btn {
    background: var(--lf-soft);
    border-radius: 8px;
}

/* DARK
----------------------------------------------- */
body.dt {
    --lf-bg: #141716;
    --lf-card: #1c201e;
    --lf-ink: #e6e8e4;
    --lf-muted: #9aa299;
    --lf-line: #2c322e;
    --lf-soft: #262b27;
    background: #141716 !important;
    color: #e6e8e4;
}
body.dt a { color: #c9d0c6; }
body.dt a:hover { color: #8ed85a; }
body.dt .wrap-main,
body.dt .header,
body.dt .footer,
body.dt .login-box,
body.dt .side-panel,
body.dt .hidden-menu {
    background: #1c201e;
    color: #e6e8e4;
}
body.dt .header,
body.dt .footer { border-color: #2c322e; }
body.dt .logo-title,
body.dt .hmenu > li > a,
body.dt .finfo h1,
body.dt .fsubtitle,
body.dt .fmeta li > span,
body.dt .th-title,
body.dt .fcast-label { color: #f2f4f1; }
body.dt .hmenu > li:hover > a { background: #243024; color: #8ed85a; }
body.dt .th-in { background: #262b27; box-shadow: none; }
body.dt .search-box input,
body.dt input[type="text"],
body.dt input[type="password"],
body.dt textarea,
body.dt select {
    background: #141816;
    color: #eee;
    border-color: #333;
}
body.dt .header .btn-login,
body.dt .header .btn-login:hover,
body.dt .header .btn-login:focus,
body.dt .filter-btn.btn,
body.dt .ffav1,
body.dt .slice-btn span {
    background: transparent !important;
    color: #eee !important;
    border-color: #3a423a;
}
body.dt .desc-text,
body.dt .fmeta li.fmeta-cast,
body.dt .comm-item,
body.dt .add-comm-form,
body.dt .add-comms > form,
body.dt #hotBlock .hot-dropdown-btn { background: #262b27; color: #d5dbd4; }
body.dt .fdesc,
body.dt .speedbar { color: #aeb6ad; }
body.dt .fmain,
.dt .fmain {
    background: transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
}
body.dt .fmeta li.fmeta-cast > span { color: #f3f5f2; }
body.dt .fmeta li.fmeta-cast b,
body.dt .fmeta li.fmeta-cast a,
body.dt .fmeta li.fmeta-cast .fcast-names { color: #d7ddd4 !important; }
body.dt .slide-circle { background: transparent !important; box-shadow: none !important; }
body.dt .slide-circle > div { color: #f2f4f1; }
body.dt .navigation a,
body.dt .navigation span { background: #262b27; color: #ddd; border-color: #333; }
body.dt .fplayer .tabs-sel span { background: #2a312a; color: #d5dbd4; }
body.dt .fplayer .tabs-sel span.current,
body.dt .fplayer .tabs-sel span:hover { background: var(--lf-green); color: #fff; }
body.dt .slice-masked:before {
    background: linear-gradient(to bottom, rgba(28, 32, 30, 0), #1c201e 100%);
}
body.dt .hm-col a { color: #ddd; }
body.dt .btn-menu { background: #262b27; color: #eee; }

/* ADAPTIVE
----------------------------------------------- */
@media screen and (max-width: 1220px) {
    .header .hmenu { display: none; }
    .btn-menu { display: inline-flex; }
    .header .search-wrap,
    .header .btn-login { display: none; }
    .sect-items { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .video-box, .fplayer .video-box { height: auto !important; }
    .sect-header.fx-start {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center;
        white-space: normal;
        overflow: visible;
        gap: 8px;
    }
    .sect-header.fx-start .sect-title {
        flex: 0 0 auto;
        width: auto;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .sect-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        flex: 0 1 auto;
        gap: 6px;
    }
    .sect-tabs span { white-space: nowrap; }
}
@media screen and (max-width: 1100px) {
    body,
    body.dt { background: var(--lf-card) !important; }
    .wrap { padding: 0 !important; }
    .wrap-main { box-shadow: none; }
    .sect-header.fx-start {
        flex-wrap: wrap !important;
        align-items: stretch;
        overflow: visible;
        gap: 8px;
    }
    .sect-header.fx-start .sect-title {
        flex: 0 0 auto;
        width: auto;
        max-width: 100%;
        height: 34px;
        line-height: 34px;
        margin-right: 0;
        padding: 0 12px;
        overflow: visible;
        text-overflow: clip;
        font-size: 14px;
    }
    .sect-tabs {
        flex: 1 1 100%;
        width: 100%;
        gap: 6px;
    }
    .sect-tabs span {
        flex: 1 1 0;
        height: 34px;
        line-height: 34px;
        padding: 0 6px;
        font-size: 13px;
        text-align: center;
        background: #eef2ee;
        color: #3d4a38;
        border-radius: 7px;
    }
    .sect-tabs span.is-active { background: var(--lf-green); color: #fff; }
    body.dt .sect-tabs span:not(.is-active) {
        background: #2a312c;
        color: #f4f6f3;
    }
    .fsubtitle:before,
    .fsubtitle:after { display: none; }
    .fsubtitle { font-size: 15px; line-height: 1.35; }
}
@media screen and (max-width: 950px) {
    .content, .header-in, .footer { padding-left: 12px; padding-right: 12px; }
    .sect-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .full-comms, .add-comms { width: 100%; }
    .frels, .fmain, .fsubtitle { margin-left: 0; margin-right: 0; }
}
a[href],
button,
.btn,
.btn-login,
.js-login,
.js-theme-toggle,
.btn-menu,
.sect-tabs span,
.th-in,
.watchlist-btn,
.watchlist-tabs a,
.dle_emote_item,
.rate-plus,
.rate-minus,
.ffav1,
.episodeCallendarButton,
.fshare .fa,
.hmenu a,
.hm-col a,
.flight,
.filter-btn,
.navigation a,
.pagi-load a,
.hot-dropdown-btn,
.login-box label {
    cursor: pointer;
}
@media screen and (max-width: 760px) {
    body,
    body.dt { background: var(--lf-card) !important; }
    .wrap { padding: 0 !important; }
    .wrap-main { box-shadow: none; }
    .content, .header-in, .footer { padding-left: 14px; padding-right: 14px; }
    .speedbar { margin: 0 0 10px; }
    .sect-header.fx-start {
        flex-wrap: wrap !important;
        align-items: stretch;
        overflow: visible;
        gap: 8px;
    }
    .sect-header.fx-start .sect-title {
        flex: 0 0 auto;
        width: auto;
        max-width: 100%;
        height: 34px;
        line-height: 34px;
        margin-right: 0;
        padding: 0 12px;
        overflow: visible;
        text-overflow: clip;
        white-space: nowrap;
        font-size: 14px;
    }
    .sect-tabs {
        flex: 1 1 100%;
        width: 100%;
        gap: 6px;
    }
    .sect-tabs span {
        flex: 1 1 0;
        height: 32px;
        line-height: 32px;
        padding: 0 4px;
        font-size: 12px;
        text-align: center;
        background: #eef2ee;
        color: #3d4a38;
        border-radius: 7px;
    }
    .sect-tabs span.is-active { background: var(--lf-green); color: #fff; }
    body.dt .sect-tabs span:not(.is-active) {
        background: #2a312c;
        color: #f4f6f3;
    }
    .sect-items { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
    .fcols { display: block; }
    .fposter-col {
        width: 220px;
        max-width: 220px;
        flex: none;
        margin: 0 auto 16px;
    }
    .fleft-img-in,
    .fposter,
    .ftools,
    .flikes,
    .lalikus,
    .lalikus > span,
    .CallendarButtons {
        width: 100% !important;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .finfo { max-width: none; width: 100%; }
    .fmeta li { grid-template-columns: 110px minmax(0, 1fr); }
    .footer { display: flex; flex-direction: column; align-items: flex-start; }
    .th-title { font-size: 12px; }
    .header-in { gap: 8px; }
    .btn-menu, .js-theme-toggle, .theme-btn { flex: 0 0 36px; }
    .side-panel .search-wrap,
    .side-panel .btn-login {
        display: block !important;
        width: 100% !important;
        max-width: none;
        margin: 0 0 10px;
        flex: none;
    }
    .side-panel .btn-login { text-align: center; }
    .filter-btn.btn,
    .pagi-load a,
    .ac-inputs input,
    .ac-submit button,
    .add-comm-form button[type="submit"],
    .episodeCallendarButton,
    .lalikus .ffav1,
    .ffav1,
    .button34,
    .side-panel .btn-login {
        width: 100% !important;
        max-width: 100% !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 12px !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        box-sizing: border-box;
    }
    .fplayer .tabs-sel {
        display: flex !important;
        width: 100%;
        gap: 6px;
    }
    .fplayer .tabs-sel span {
        flex: 1 1 0;
        height: 42px;
        line-height: 42px;
        padding: 0 8px;
        text-align: center;
        font-size: 13px;
    }
    .fplayer-below-player { padding-left: 0; padding-right: 0; }
    .fplayer-below-player .watchlist-controls,
    .fplayer-below-player__watchlist .watchlist-controls {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 6px !important;
        width: 100% !important;
    }
    .fplayer-below-player .watchlist-btn,
    .fplayer-below-player button.watchlist-btn,
    .fplayer-below-player__watchlist .watchlist-btn,
    .fplayer-below-player .watchlist-controls .watchlist-btn:nth-child(5) {
        grid-column: auto !important;
        width: auto !important;
        max-width: none !important;
        min-height: 54px !important;
        height: auto !important;
        margin: 0 !important;
        padding: 6px 2px !important;
        font-size: 9px !important;
        line-height: 1.15 !important;
        gap: 3px !important;
        white-space: normal;
    }
    .fplayer-below-player .watchlist-btn::before,
    .fplayer-below-player__watchlist .watchlist-btn::before {
        font-size: 15px !important;
    }
    .fplayer .tabs-sel span {
        padding: 0 12px;
        font-size: 13px;
    }
    .flikes { width: 100%; }
}
@media screen and (max-width: 520px) {
    .wrap { padding: 0 !important; }
    .wrap-main { border-radius: 0; box-shadow: none; }
    .sect-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .finfo h1 { font-size: 18px; }
    .fsubtitle { font-size: 14px; gap: 8px; }
}

@media screen and (max-width: 720px) {
    .fplayer-below-player .watchlist-controls,
    .fplayer-below-player__watchlist .watchlist-controls,
    article.full .fplayer-below-player .watchlist-controls {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }
    .fplayer-below-player .watchlist-btn,
    .fplayer-below-player button.watchlist-btn,
    article.full .fplayer-below-player .watchlist-btn,
    article.full .fplayer-below-player button.watchlist-btn,
    .fplayer-below-player__watchlist .watchlist-btn,
    .fplayer-below-player .watchlist-controls .watchlist-btn:nth-child(5) {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        height: 58px !important;
        min-height: 58px !important;
        margin: 0 !important;
        padding: 6px 2px !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        font-size: 11px !important;
        line-height: 1 !important;
        border-radius: 8px !important;
    }
    .fplayer-below-player .watchlist-btn::before,
    article.full .fplayer-below-player .watchlist-btn::before,
    .fplayer-below-player__watchlist .watchlist-btn::before {
        font-size: 16px !important;
        line-height: 1 !important;
        margin: 0 !important;
    }
    .fplayer-below-player .watchlist-btn-text,
    article.full .fplayer-below-player .watchlist-btn-text,
    .fplayer-below-player__watchlist .watchlist-btn-text {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        margin: -1px !important;
        padding: 0 !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }
    .fplayer-below-player .watchlist-btn::after,
    article.full .fplayer-below-player .watchlist-btn::after,
    .fplayer-below-player__watchlist .watchlist-btn::after {
        display: block !important;
        font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif !important;
        font-weight: 600 !important;
        font-style: normal !important;
        font-size: 11px !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
    }
    .watchlist-btn[data-list-id="1"]::after { content: "Готово" !important; }
    .watchlist-btn[data-list-id="2"]::after { content: "Смотрю" !important; }
    .watchlist-btn[data-list-id="3"]::after { content: "План" !important; }
    .watchlist-btn[data-list-id="4"]::after { content: "Потом" !important; }
    .watchlist-btn[data-list-id="5"]::after { content: "Бросил" !important; }
}

.side-panel {
    width: min(320px, calc(100vw - 48px));
    box-sizing: border-box;
}
.btn-close { left: min(320px, calc(100vw - 48px)); }
.side-panel .hmenu {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    padding: 0 !important;
    gap: 2px !important;
}
.side-panel .hmenu > li {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    flex: none !important;
    align-self: stretch !important;
}
.side-panel .hmenu > li > a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: auto !important;
    min-height: 40px;
    line-height: 1.2 !important;
    padding: 10px 12px !important;
    box-sizing: border-box;
}
.side-panel .hmenu > li:has(.hidden-menu) > a::after {
    content: "\f107";
    font-family: FontAwesome, sans-serif;
    font-weight: normal;
    margin-left: auto;
    font-size: 14px;
    opacity: 0.7;
}
.side-panel .hmenu > li.is-open > a::after { content: "\f106"; }
.side-panel .hidden-menu {
    position: static !important;
    display: none !important;
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    top: auto !important;
    margin: 0 0 6px !important;
    padding: 6px !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    box-shadow: none !important;
    overflow: hidden;
    box-sizing: border-box;
}
.side-panel .hmenu > li.is-open > .hidden-menu { display: block !important; }
.side-panel .hidden-menu::before { display: none !important; }
.side-panel .hm-col {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
}
.side-panel .hm-col li {
    height: auto !important;
    line-height: 1.3 !important;
    padding: 6px 8px 0 !important;
    white-space: normal !important;
}
.side-panel .hm-col a {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    height: auto !important;
    min-height: 0;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding: 5px 8px !important;
}

.filter-btn { display: none !important; }

body.dt #hotBlock .hot-title,
body.dt .sect-title,
body.dt a.sect-title,
body.dt .sect-tabs span.is-active,
body.dt .episodeCallendarButton,
body.dt .ac-submit button,
body.dt .theme-btn,
body.dt .js-theme-toggle,
body.dt .pagi-load a,
body.dt .button,
body.dt input[type="submit"] {
    background: #6fbf32 !important;
    color: #fff !important;
    border-color: transparent !important;
}
body.dt #hotBlock .hot-dropdown-btn {
    background: #2a312c !important;
    color: #f4f6f3 !important;
    border: 1px solid #4d5a4e !important;
    box-shadow: none !important;
}
body.dt .header .btn-login,
body.dt .header .btn-login:hover,
body.dt .header .btn-login:focus,
body.dt .side-panel .btn-login,
body.dt .ffav1,
body.dt .lalikus .ffav1,
body.dt .slice-btn span {
    background: #2a312c !important;
    color: #f4f6f3 !important;
    border: 1px solid #4d5a4e !important;
}
body.dt .sect-tabs span:not(.is-active) { color: #d5ddd4; }
body.dt .fplayer-below-player .watchlist-btn,
body.dt .fplayer-below-player button.watchlist-btn,
body.dt article.full .fplayer-below-player .watchlist-btn {
    color: #e7ece6 !important;
}
body.dt .fplayer-below-player .watchlist-btn.active,
body.dt .fplayer-below-player button.watchlist-btn.active,
body.dt article.full .fplayer-below-player .watchlist-btn.active {
    color: #b6e86a !important;
    background: rgba(111, 191, 50, 0.2) !important;
}

.side-panel .btn-login,
.fplayer-below-player__watchlist,
.watchlist-widget,
[data-watchlist-widget],
.watchlist-controls,
.watchlist-btn,
article.full .fplayer-below-player .watchlist-btn,
.watchlist-page,
.watchlist-panel,
.watchlist-tabs,
.movie-rate-watchlist,
.super__watchlist-menu,
#dropdown_watchlist,
a.watchlist_btn {
    display: none !important;
}
