/* Datalife Engine template
name: Cool Serial,
creation date: 13 april 2020,
version dle: 12-14
*/

/* DESIGN TOKENS — dark streaming-service theme
----------------------------------------------- */
:root {
    --bg-page: #090c10;
    --bg-surface: #121820;
    --bg-surface-2: #18202a;
    --bg-surface-3: #1c2733;
    --bg-inset: #101720;
    --border-subtle: #213044;
    --border-hover: #7F77DD;
    --text-body: #aac2e0;
    --text-muted: #8fa7c6;
    --text-dim: #6f88a7;
    --text-heading: #ffffff;
    --accent: #AFA9EC;
    --accent-2: #9B93E0;
    --accent-strong: #7F77DD;
    --link-visited: #534AB7;
    --danger: #ee3442;
    --success: #83bf45;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 20px;
    --shadow-card: 0 4px 14px rgba(0,0,0,.45);
    --shadow-card-hover: 0 14px 30px rgba(0,0,0,.55);
    --shadow-pop: 0 20px 60px rgba(0,0,0,.55);
    --ease: cubic-bezier(.2,.7,.3,1);
}

@media (prefers-reduced-motion: reduce) {
    * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}

::selection { background: var(--accent); color: #ffffff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-page); }
::-webkit-scrollbar-thumb { background: var(--bg-surface-3); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hover); }

:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 2px;
}

/* SET BASE
----------------------------------------------- */
* {
    background: transparent;
    margin: 0;
    padding: 0;
    outline: none;
    border: 0;
    box-sizing: border-box;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

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

input, select {
    vertical-align: middle;
}

article, aside, figure, figure img, hgroup, footer, header, nav, section, main {
    display: block;
}

img {
    max-width: 100%;
}

.clr {
    clear: both;
}

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

body {
    font: 15px 'Montserrat', sans-serif;
    line-height: normal;
    padding: 0;
    margin: 0;
    color: var(--text-body);
    background-color: var(--bg-page);
    background-image:
        radial-gradient(ellipse 900px 500px at 15% -10%, rgba(127,119,221,.12) 0%, transparent 60%),
        radial-gradient(ellipse 1100px 700px at 100% 0%, rgba(44,105,183,.14) 0%, transparent 55%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100%;
    width: 100%;
    font-weight: 400;
}

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

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

h1, h2, h3, h4, h5 {
    font-weight: 600;
    font-size: 18px;
}

button, textarea, select, input[type="text"], input[type="password"], input[type="button"], input[type="submit"] {
    appearance: none;
    -webkit-appearance: none;
    font-size: 16px;
    font-family: 'Montserrat' !important;
}

.button, .btn, .pagi-load a, .up-second li a, .usp-edit a, .qq-upload-button, button:not(.color-btn):not([class*=fr]):not(.search-btn):not([class*=owl-]), html input[type="button"], input[type="reset"], input[type="submit"], .meta-fav a, .usp-btn a {
    display: inline-block;
    text-align: center;
    padding: 0 20px;
    height: 40px;
    line-height: 40px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 500;
    background-color: var(--accent-strong);
    color: #ffffff;
    font-size: 15px;
    transition: background-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}

.button:hover, .btn:hover, .up-second li a:hover, .usp-edit a:hover, .qq-upload-button:hover, .pagi-load a:hover, .usp-btn a:hover, button:not(.color-btn):not([class*=fr]):not(.search-btn):not([class*=owl-]):hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .meta-fav a:hover {
    background-color: var(--link-visited);
    color: #fff;
    box-shadow: 0 10px 20px 0 rgba(0,0,0,.35);
}

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

input[type="text"], input[type="password"] {
    height: 40px;
    line-height: 40px;
    border-radius: 4px;
    border: 0;
    padding: 0 15px;
}

select {
    height: 40px;
    border: 0;
    padding: 0 15px;
}

textarea {
    padding: 15px;
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}

input[type="text"], input[type="password"], select, textarea {
    width: 100%;
    background-color: #303f52;
    color: #aac2e0;
    box-shadow: inset 0 0 0 1px #303f52, inset 1px 2px 5px rgba(0,0,0,0.1);
}

select {
    width: auto;
}

input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
    box-shadow: inset 0 0 0 1px #7F77DD, inset 1px 2px 5px rgba(0,0,0,0.1);
}

input::placeholder, textarea::placeholder {
    color: #aac2e0;
    opacity: 1;
    font-size: 14px;
}

input:focus::placeholder, textarea:focus::placeholder {
    color: transparent
}

.img-box, .img-wide, .img-resp, .img-resp-vert, .img-fit {
    overflow: hidden;
    position: relative;
}

.img-resp {
    padding-top: 70%;
}

.img-resp-vert {
    padding-top: 140%;
}

.img-box img, .img-resp img, .img-resp-vert img {
    width: 100%;
    min-height: 100%;
    display: block;
}

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

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

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

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

.fx-row, #dle-content, .razdok-content {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    background: black;
}

.sbokok-bc {
    background: #000000;
}

.kartochka-cols {
    background: #121820;
}

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

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

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

.kartochka-rates {
    background: #121820;
}

.fx-start {
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}

.fx-first {
    -ms-flex-order: -1;
    -webkit-order: -1;
    order: -1;
}

.fx-last {
    -ms-flex-order: 10;
    -webkit-order: 10;
    order: 10;
}

.fx-1 {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    min-width: 50px;
}

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

b, strong, .fw700 {
    font-weight: 600;
}

.icon-left [class*="fa-"], .icon-left .icon {
    margin-right: 10px;
}

.icon-right [class*="fa-"], .icon-right .icon {
    margin-left: 10px;
}

.hidden, #dofullsearch {
    display: none;
}

.anim, .btn, button, .topchik-item-img:before, .kartochka-item a, .sidebar a, .shapok-btn, .kartochka-img, .podvok a, .sbokok-nav a {
    transition: all .3s;
}

.mtitle, .sub-title h1, .form-wrap h1 {
    margin-bottom: 30px;
    font-size: 18px !important;
    font-weight: 600;
}

#dle-content > *, .razdok-content > * {
    width: 100%;
}

/* BASIC GRID
----------------------------------------------- */
.wrap {
    min-width: 320px;
    position: relative;
    padding: 30px;
}

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

.wrap-main {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-pop);
}

.shapok {
    padding: 20px 40px;
    background-color: #000;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.cols {
    padding: 40px 40px;
}

.main {
    min-height: 100vh;
}

.sidebar {
    width: 300px;
    margin-right: 40px;
}

.podvok {
    background: #090c10 url(../images/logo.svg) 40px 12px / 40px no-repeat;
    padding: 20px 40px 20px 90px;
    color: #8fa7c6;
    border-radius: 0 0 10px 10px;
}

.podvok a {
    color: #AFA9EC;
    text-decoration: underline;
}

#gotop {
    position: fixed;
    width: 60px;
    height: 60px;
    line-height: 60px;
    right: 10px;
    bottom: 10px;
    z-index: 990;
    display: none;
    background-color: #090c10;
    color: #8fa7c6;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 23px 57px rgba(0,0,0,0.6);
}

/* HEADER
----------------------------------------------- */
.logo {
    display: block;
    height: 50px;
    line-height: 60px;
    color: #aac2e0;
    font-weight: 300;
    margin-top: -10px;
    font-size: 34px;
    background: url(../images/logo.svg) 0 center / 40px no-repeat;
    padding-left: 45px;
}

.logo span {
    font-weight: 600;
    color: #AFA9EC;
}

.logo span.logo-domain {
    color: #8fa7c6;
    font-size: 18px;
    font-weight: 300;
}

.shapok-btn {
    padding: 0 40px;
}

.search-wrap {
    position: relative;
    margin: 0 20px 0 40px;
}

.search-box input, .search-box input:focus {
    padding: 0 50px 0 16px;
    border-radius: 10px;
    box-shadow: 0 10px 16px 0 rgba(0,0,0,0.3);
}

.search-box input:not(:focus)::placeholder {
    color: #aac2e0;
    opacity: 1;
    font-size: 12px;
}

.search-box button {
    position: absolute;
    right: 0px;
    top: 0px;
    z-index: 10;
    width: 50px;
    cursor: pointer;
    background: none;
    color: #aac2e0;
    line-height: 40px;
    text-align: center;
    border-radius: 0 20px 20px 0;
}

.vertok-content {
    height: 200px;
}
.carou-menu-item {
    display: block;
    flex-wrap: wrap;
    flex-direction: row;
    position: relative;
    height: 100%;
}

.carou-menu {
    background: rgb(8 8 8 / 64%);
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    row-gap: 10px;
}

.carou-menu-item {
    border: 2px solid #3a3566;
    padding: 10px;
    display: inline-block;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 10px;
}

.carou-menu-item:hover {
    background: rgb(127 119 221 / 20%);
}


.vertok-sect {
    padding: 20px 40px;
    background-color: rgb(44 105 183 / 22%);
}

.vertok-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
}

.topchik-item-img {
    display: block;
    border-radius: 10px;
    height: 200px;
}

.topchik-item-title {
    position: absolute;
    z-index: 10;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 20px;
    color: #aac2e0;
    font-weight: 500;
    word-wrap: break-word;
}

.topchik-item-img:before {
    content: '';
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70%;
    background: linear-gradient(to bottom, transparent 0%,#18202a 100%);
    opacity: 1;
}

.topchik-item:hover .topchik-item-img:before, .topchik-item:hover .topchik-item-title {
    opacity: 0;
}

/* SIDEBAR
----------------------------------------------- */
.sbokok-box {
    margin-bottom: 40px;
}

.sbokok-bt {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
}

.mb-remove {
    margin-bottom: -20px;
}

.nav-col {
    width: 55%;
}

.nav-col + .nav-col {
    width: 40%;
}

.nav-title {
    font-weight: 500;
    margin-bottom: 9px;
}

.nav-menu + .nav-title {
    margin-top: 12px;
}

.nav-menu a {
    display: block;
    padding: 5px 0;
    font-size: 13px;
    color: #8fa7c6;
}

.nav-menu a:hover, a.kartochka-title:hover, .sbokok-topchik-item:hover .sbokok-topchik-item-title {
    text-decoration: underline;
    color: #AFA9EC;
}

.sbokok-topchik-item {
    margin-bottom: 20px;
}

.sbokok-topchik-item-img {
    width: 70px;
    height: 90px;
    border-radius: 6px;
    margin-right: 20px;
}

.sbokok-topchik-item-title {
    font-weight: 500;
}

.sbokok-topchik-item-info {
    color: #8fa7c6;
    margin-top: 10px;
    font-size: 13px;
}

.sbokok-topchik-item-date {
    color: #8fa7c6;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 300;
}

.sbokok-recommend-item {
    display: block;
    margin-bottom: 20px;
    width: 46.6%;
}

.sbokok-recommend-item-img {
    border-radius: 10px;
}

.sbokok-recommend-item:hover {
    opacity: 0.8;
}

.mnenie {
    margin-bottom: 20px;
}

.ltitle {
    display: block;
    line-height: 1;
    font-weight: 300;
    font-size: 13px;
    margin-top: 10px;
    padding-left: 2px;
}

.ltext {
    line-height: 1.3;
    background-color: #121820;
    padding: 10px;
    border-radius: 10px;
}

.lmeta {
    font-size: 13px;
    margin: 10px 0;
    color: #8fa7c6;
    font-weight: 300;
}

.ldate, .lav, .lname {
    display: inline-block;
    vertical-align: middle;
    margin-right: 7px;
}

.lav {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.mnenie .comm-letter {
    line-height: 20px;
    font-size: 12px;
}

.lname {
    color: #8fa7c6;
    font-weight: 400;
}

/* SECTION
----------------------------------------------- */
.razdok {
    margin-bottom: 40px;
}

.razdok-header {
    margin-bottom: 20px;
}

.razdok:last-child {
    margin-bottom: 0;
}

.razdok-title {
    font-weight: 600;
    font-size: 18px;
    display: flex;
}

.razdok-title [class*=fa-], .sbokok-bt [class*=fa-], .speedbar [class*=fa-], .vertok-title [class*=fa-] {
    color: #AFA9EC;
    margin-right: 15px;
}

.sorter, .razdok-link {
    position: relative;
    cursor: pointer;
    height: 30px;
    line-height: 30px;
    margin-left: 15px;
    padding: 0 10px;
    background-color: #121820;
    border-radius: 6px;
    font-size: 13px;
    display: block;
}

.sorter:before {
    content: attr(data-label);
    display: inline-block;
    vertical-align: top;
}

.sorter > span {
    display: inline-block;
    vertical-align: top;
    margin-left: 2px;
}

.sorter form {
    display: none;
    background-color: #090c10;
    padding: 10px;
    line-height: 26px;
    box-shadow: 0 0 15px 0 rgba(0,0,0,0.6);
    position: absolute;
    right: 0;
    top: 100%;
    width: 160px;
    z-index: 999;
    border-radius: 4px;
}

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

.sort li.asc a:after, .sort li.desc a:after {
    content: "\f063";
    font-family: "Font Awesome 5 Pro";
    display: inline-block;
    margin-left: 10px;
    font-weight: 300;
}

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

.sorter:hover, .razdok-link:hover {
    background-color: #2c69b7;
    color: #fff;
}

/* SHORT ITEM
----------------------------------------------- */
.kartochka-item {
    margin-bottom: 20px;
    padding: 20px;
    border-radius: var(--radius-md);
    background-color: var(--bg-surface);
    box-shadow: var(--shadow-card);
    transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}

.kartochka-item:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.kartochka-img {
    width: 170px;
    height: 250px;
    margin-right: 20px;
    display: block;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 10px rgba(0,0,0,0.6);
    aspect-ratio: 170 / 250;
}

.kartochka-header {
    margin-bottom: 10px;
    background: #121820;
}

.kartochka-title {
    display: block;
    font-size: 20px;
    font-weight: 500;
    background: #121820;
    line-height: 1.5;
}

.kartochka-text {
    font-size: 14px;
    line-height: 1.7;
}

.kartochka-list li {
    position: relative;
    padding-left: 120px;
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.5;
}

.kartochka-list li > span:first-child {
    position: absolute;
    left: 0;
    top: 0;
    color: #6e84a0;
}

.kartochka-list a {
    color: #AFA9EC;
    border-bottom: 1px dotted #AFA9EC;
}

.kartochka-meta {
    margin-top: 10px;
    color: #ffffff;
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 300;
}

.kartochka-meta-item {
    margin-right: 20px;
}

.kartochka-rating {
    line-height: 28px;
    background-color: #18202a;
    padding: 0 10px;
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.8);
    margin-right: 20px;
}

.kartochka-rating .fa-thumbs-up {
    color: #83bf45;
    margin-right: 10px;
}

.kartochka-rating .fa-thumbs-down {
    color: #ee3442;
    margin: 0 10px;
}

.kartochka-label {
    background-color: var(--accent);
    color: #000;
    padding: 3px 6px;
    border-radius: 6px;
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 10;
    font-size: 12px;
    font-weight: 500;
}

.polnik-label {
    background-color: rgba(9,12,16,.82);
    backdrop-filter: blur(2px);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 10;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    pointer-events: none;
}

.kartochka-btn {
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    padding: 0 10px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

.kartochka-rate-in {
    line-height: 30px;
    border-radius: 6px;
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
    padding: 0 6px;
    margin-left: 10px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.kartochka-rate-in:before {
    content: attr(data-text);
    display: inline;
    margin-right: 3px;
    text-transform: uppercase;
}

.kartochka-rate-kp {
    background-color: #f60;
    color: #fff;
}

.kartochka-rate-imdb {
    background-color: #fc0;
    color: #000;
}

.mrating {
    margin-right: 20px;
    overflow: hidden;
}

.mrating a {
    transition: none
}

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

/* SEO DESCRIPTION
----------------------------------------------- */
.site-desc {
    line-height: 1.7;
    color: #8fa7c6;
    font-size: 14px;
    padding-top: 40px;
}

.site-desc:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 5px;
}

.site-desc h1, .site-desc h2 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #aac2e0;
}

.site-desc li {
    list-style-type: disc;
    margin-left: 40px;
}

.site-desc p {
    margin-bottom: 10px;
}

.site-desc > *:last-child {
    margin-bottom: 0;
}

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

.site-desc img {
    float: left;
    max-width: 200px;
    margin: 0 10px 10px 0;
}

/* BOTTOM NAVIGATION
----------------------------------------------- */
.bottom-nav {
    margin-bottom: -10px;
    text-align: center;
}

.navigation a, .navigation span, .pnext a, .pprev a, .pprev > span, .pnext > span {
    display: inline-block;
    padding: 0 10px;
    margin: 0 10px 10px 0px;
    line-height: 50px;
    min-width: 50px;
    background-color: #121820;
    border-radius: 10px;
    font-weight: 500;
    font-size: 18px;
}

.navigation span:not(.nav_ext), .pagi-nav a:hover {
    background-color: #2c69b7;
    color: #aac2e0;
}

/* FULL
----------------------------------------------- */
.speedbar {
    font-size: 13px;
    color: #8fa7c6;
    margin-bottom: 20px;
}

.speedbar .fal {
    margin-right: 8px;
}

.polnik-left {
    width: 200px;
    margin-right: 20px;
}

.polnik-img {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.polnik-text {
    margin: 20px 0;
}

.polnik-cols .kartochka-list li {
    font-size: 13px;
}

.polnik-cols .kartochka-meta-item:last-child {
    margin-right: 0;
}

h1 a {
    margin-left: 10px;
    font-size: 15px;
}

.polnik-cols {
    padding: 20px;
    border-radius: 10px;
    background-color: #121820;
}

.polnik-rels .topchik-item-img:before {
    background: linear-gradient(to bottom, transparent 0%,#090c10 100%);
    opacity: 1;
}

.polnik-subtitle {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
}

.polnik-player {
    position: relative;
    /* background-color: #121820; */
    /* padding: 4px; */
}
.banner1500 {
    background-image: url(https://hdserials.online/templates/hdserials/images/vjpsa21kcuy6hjxubqsv.gif);
    width: 100%;
    height: 250px;
    display: block;
    background-size: contain;
}
.polnik-ctrl {
    padding-right: 20px;
}

.polnik-player .tabs-sel span {
    display: inline-block;
    padding: 0 20px;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
    background-color: rgba(0,0,0,0.6);
    font-weight: 500;
}

.polnik-player .tabs-sel span.current {
    background-color: #2c69b7;
    color: #aac2e0;
}

.polnik-player .tabs-sel span:hover {
    text-decoration: underline;
}

.js .tabs-b {
    background-color: #000;
    display: none;
    padding: 5px;
    background: #121820;
}

.js .tabs-b.visible {
    display: block;
}

.polnik-compl a:hover, .polnik-fav a:hover, .polnik-fav span:hover {
    color: #AFA9EC;
    cursor: pointer;
}

.polnik-compl, .polnik-fav {
    margin-left: 20px;
}

.polnik-bookmarks {
    margin-left: 20px;
    white-space: nowrap;
}

.polnik-bookmarks:hover {
    color: #AFA9EC;
}

@media screen and (max-width: 760px) {
    .series-episode-page .polnik-left {
        width: 100%;
    }

    .series-episode-page .polnik-img {
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

.polnik-share {
    padding: 10px;
    text-align: center;
    white-space: nowrap;
}

.epscape_tr {
    color: white;
    padding: 8px;
    display: flex;
}
.polnik-share .fab, .polnik-share .fas {
    width: 50px;
    height: 30px;
    border-radius: 6px;
    text-align: center;
    line-height: 30px;
    background-color: #C70003;
    color: #fff;
    font-size: 14px;
    margin: 0 2px;
    cursor: pointer;
}

.polnik-share .fa:hover {
    opacity: 0.8;
}

.fab.fa-vk {
    background-color: #5075a5;
}

.fab.fa-facebook-f {
    background-color: #4b6baf;
}

.fab.fa-twitter {
    background-color: #2daae1;
}

.fab.fa-odnoklassniki, .fa.fa-rss {
    background-color: #FC6D00;
}

.fas.fa-paper-plane {
    background-color: #5682a3;
}

.fshare .fa-facebook-f::before {
    content: "\f39e" !important;
}

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

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

.full-text {
    line-height: 1.7;
    font-size: 15px;
}

.full-text img:not(.emoji) {
    max-width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

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

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

.full-text a {
    text-decoration: underline;
    color: #06c;
}

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

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

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

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

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

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

/* COMMENTS
----------------------------------------------- */
.add-comms {
    margin-bottom: 26px;
    padding: 20px;
    background-color: var(--bg-surface, #121820);
    border-radius: var(--radius-md, 10px);
    box-shadow: var(--shadow-card);
}

.ac-inputs input {
    width: 48.5%;
    margin-bottom: 15px;
}

.ac-textarea textarea {
    height: 100px;
    margin-bottom: 15px;
}

.add-comms input, .add-comms textarea, .ac-submit button {
}

.ac-submit button {
    border-radius: var(--radius-sm);
}

.ac-protect, .ac-textarea .bb-editor + br {
    display: none;
}

.comments_subscribe input {
    margin-right: 10px;
}

.comments_subscribe {
    display: block;
}

.mass_comments_action {
    display: none;
}

.last-comm-link {
    display: inline-block;
    padding-bottom: 20px;
    color: var(--accent);
    font-size: 18px;
    font-weight: 600;
}

.comm-avatar {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--bg-page);
}

.comm-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.comm-letter {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    line-height: 40px;
    text-align: center;
    background-color: var(--bg-page);
    color: var(--accent);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

.comm-item {
    font-size: 13px;
    padding-left: 55px;
    position: relative;
    min-height: 40px;
    margin-bottom: 20px;
}

.comm-two {
    margin: 5px 0 10px 0;
}

.comm-one > span {
    margin-right: 15px;
    opacity: 0.6;
}

.comm-one > span.comm-author, .comm-one > span.comm-author a {
    font-weight: 500;
    opacity: 1;
}

.comm-three-left > a, .comm-three-right li a {
    opacity: 0.6;
}

.comm-three-right li {
    display: inline-block;
    margin-left: 15px;
}

.comm-rate3 {
    white-space: nowrap;
    margin-right: 15px;
    height: 20px;
    line-height: 20px;
    display: inline-block;
    vertical-align: top;
    position: relative;
    top: -3px;
}

.comm-rate3 a {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    opacity: 0.8;
}

.comm-rate3 a:first-child {
    top: -5px;
}

.comm-rate3 > span {
    margin: 0 5px;
}

.comm-rate3 > span > span.ratingtypeplus {
    color: #06b601;
}

.comm-rate3 > span > span.ratingplus {
    color: #95c613;
}

.comm-rate3 > span > span.ratingminus {
    color: #ff0e0e;
}

.comm-three a:hover {
    border-bottom-color: transparent;
}

.comm-three-left > a {
    opacity: 1;
    color: #8fa7c6;
    border-bottom: 1px dotted #8fa7c6;
}

/* LOGIN
----------------------------------------------- */
.overlay-box {
    position: fixed;
    z-index: 998;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    background-color: #000;
    cursor: pointer;
}

.login-box {
    position: fixed;
    z-index: 999;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background-color: #18202a;
    padding: 30px 60px 40px 60px;
    border-top: 5px solid #7F77DD;
    width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.login-close {
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: -30px;
    right: -30px;
    color: #fff;
}

.login-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.login-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    text-align: center;
    line-height: 60px;
    font-size: 24px;
    background-color: #090c10;
    color: #8fa7c6;
}

.login-input {
    margin-bottom: 15px;
}

.login-btn button {
    width: 100%;
    margin: 15px 0;
}

.login-btm a {
    border-bottom: 1px dotted #2c69b7;
    color: #2c69b7;
    font-size: 13px;
}

.login-check {
    position: relative;
    font-size: 14px;
}

.login-check input {
    opacity: 0;
    position: absolute;
    cursor: pointer;
}

.login-check span {
    display: block;
    padding-left: 36px;
    height: 30px;
    line-height: 30px;
    color: #939393;
}

.login-check span:before, .login-check span:after {
    content: '';
    position: absolute;
    top: 50%;
    transition: .3s;
}

.login-check span:before {
    left: 0;
    height: 10px;
    margin-top: -5px;
    width: 26px;
    border-radius: 5px;
    background: #090c10;
    box-shadow: inset 0 1px 4px rgba(0,0,0,0.3);
}

.login-check span:after {
    left: 1px;
    height: 12px;
    width: 12px;
    margin-top: -6px;
    background: #2ecc71;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0);
}

.login-check input:checked + span:before {
    background-color: #fff;
}

.login-check input:checked + span:after {
    left: 13px;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.login-menu {
    border-top: 1px solid #090c10;
    border-left: 1px solid #090c10;
}

.login-menu li {
    text-align: center;
    border-right: 1px solid #090c10;
    border-bottom: 1px solid #090c10;
    width: 50%;
}

.login-menu a {
    display: block;
    padding: 10px 5px;
    font-size: 13px;
}

.login-menu li .fa {
    display: none;
    height: 28px;
    font-size: 22px;
    color: #2c69b7;
}

.login-admin {
    text-align: center;
    margin: -10px 0 25px 0;
}

.login-soc-title {
    display: flex;
    align-items: center;
    margin: 30px 0 15px 0;
}

.login-soc-title:before, .login-soc-title:after {
    content: '';
    height: 1px;
    background-color: #090c10;
    flex: 1;
}

.login-soc-title:before {
    margin-right: 15px;
}

.login-soc-title:after {
    margin-left: 15px;
}

.login-soc-btns {
    text-align: center;
}

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

.login-soc-btns img {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

/**
 * 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 {
    display: none;
    opacity: 0;
    transition: opacity .3s linear;
    width: 100%;
    position: relative;
    z-index: 10;
}

.owl-carousel .owl-stage {
    position: relative;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}

.owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    -webkit-transform: translate3d(0px, 0px, 0px);
}

.owl-carousel .owl-item {
    position: relative;
    min-height: 1px;
}

.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-loading, .owl-carousel.owl-hidden {
    opacity: 0;
}

.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;
    right: 0;
    top: 0;
    z-index: 1;
}

.owl-prev, .owl-next {
    display: block;
    cursor: pointer;
    background: none;
    color: #AFA9EC;
    box-shadow: none;
    height: 20px;
    line-height: 20px;
    position: absolute;
    top: -46px;
    box-shadow: none;
    font-size: 28px;
}

.owl-prev {
    right: 45px;
    color: #AFA9EC;
}

.owl-next {
    right: 0px;
}

.owl-prev:hover, .owl-next:hover {
    color: #aac2e0;
}

/* ADAPTIVE
----------------------------------------------- */
.btn-menu {
    display: none;
}

.side-panel {
    width: 280px;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #000000;
    padding: 20px;
    z-index: 9999;
    position: fixed;
    left: -320px;
    top: 0;
    transition: left .4s;
}

.side-panel.active {
    left: 0;
}

.close-overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9998;
    display: none;
}

.btn-close {
    cursor: pointer;
    display: block;
    left: 280px;
    top: -40px;
    position: fixed;
    z-index: 9999;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 18px;
    background-color: #e84e36;
    color: #fff;
    transition: top .4s;
}

.btn-close.active {
    top: 0px;
}

body.opened-menu {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.side-panel .sbokok-nav a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.side-panel .sbokok-box {
    margin-bottom: 20px;
}

@media screen and (max-width: 1220px) {
    .wrap {
        padding: 0;
        overflow: hidden;
    }

    .shapok, .podvok, .cols, .vertok-sect {
        padding-left: 20px;
        padding-right: 20px;
        border-radius: 0;
        background-image: none;
    }

    .wrap-center {
        max-width: 1000px;
        border-radius: 0;
    }

    .sidebar {
        display: none;
    }

    .btn-menu {
        display: block;
        font-size: 28px;
        margin-left: 20px;
        cursor: pointer;
        color: #AFA9EC;
    }

    .cols {
        padding-top: 20px;
    }

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

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

    .kartochka-meta-item:not(.mrating-count) {
        display: none;
    }

    .podvok {
        display: block;
        text-align: center;
    }

    .podvok-copyright {
        margin: 0 0 20px 0;
    }
}

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

    .not-logged .login-avatar {
        display: none;
    }

    .nav-menu a {
        padding: 9px 0;
        font-size: 14px;
    }

    .kartochka-btn, .shapok-btn, .btn-menu, .search-box button {
        min-height: 40px;
    }

    .login-close {
        top: -5px;
    }

    .login-title {
        font-size: 18px;
    }

    .login-box {
        max-width: calc(100% - 60px);
        padding: 15px;
    }

    .search-wrap {
        -ms-flex-order: 10;
        -webkit-order: 10;
        order: 10;
        min-width: 100%;
        margin: 0;
        margin-top: 20px;
    }

    .shapok-btn {
        padding: 0 10px;
    }

    .logo {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
        min-width: 50px;
        position: relative;
        margin-right: 20px;
    }

    .polnik-cols {
        display: block;
        padding: 0;
        background-color: transparent;
    }

    .polnik-left {
        margin: 0 auto 10px auto;
    }

    .polnik-cols:after {
        content: "";
        display: table;
        clear: both;
    }

    .kartochka-rates {
        width: 100%;
        margin: 10px 0 0 -10px;
        justify-content: flex-start;
    }

    .polnik-cols .kartochka-list li {
        padding-left: 100px;
    }

    .mrating-count {
        text-align: right;
        margin-right: 0;
        margin-left: -20px;
    }

    .polnik-fav, .polnik-compl {
        display: none;
    }

    .polnik-player .tabs-sel > span {
        width: 50%;
        text-align: center;
    }

    .polnik-ctrl {
        padding: 0;
    }

    .polnik-player {
        margin-left: -20px;
        margin-right: -20px;
    }

    .dcont button {
        font-size: 12px;
        padding: 0 15px !important;
    }

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

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

    .mass_comments_action {
        display: none;
    }
}

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

    .kartochka-item {
        width: 47% !important;
        margin-bottom: 10px;
        padding: 0;
        background-color: transparent;
        border: 0;
    }

    .kartochka-item .kartochka-img {
        width: 100%;
        margin: 0;
        margin-bottom: 10px;
        padding-top: 140%;
        height: auto;
    }

    .kartochka-item .kartochka-meta, .kartochka-item .kartochka-list, .kartochka-item .kartochka-rates, .razdok-title .fal {
        display: none;
    }

    .kartochka-item .kartochka-title {
        white-space: normal;
        font-size: 15px;
    }

    .kartochka-item .kartochka-img img {
        position: absolute;
        left: 0;
        top: 0;
    }

    .navigation {
        justify-content: center;
    }

    .razdok-title, .logo {
        font-size: 18px;
    }

    .ac-inputs input {
        width: 100%;
    }

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

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

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

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

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

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

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

    .attach-info {
        float: none;
    }
}

@media screen and (max-width: 470px) {
    .wrap-center22 {
        max-width:360px;
    }

    .polnik-left {
        width: 100%;
    }

    .polnik-img {
        height: 140px;
    }

    .polnik-img img {
        height: 100%;
        object-fit: cover;
    }

    .polnik-img:before {
        content: '';
        position: absolute;
        z-index: 5;
        left: 0;
        right: 0;
        bottom: 0;
        height: 70%;
        background: linear-gradient(to bottom, transparent 0%,#090c10 100%);
        opacity: 1;
    }

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

/* Series module: LostFilm template integration */
.series-page .polnik-cols {
	align-items: flex-start;
	margin-bottom: 20px;
}
.series-page .polnik-right { min-width: 0; }
.series-page .polnik-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
@media screen and (min-width: 761px) {
	.series-episode-page .polnik-cols { align-items: stretch; }
	.series-episode-page .polnik-left { display: flex; }
	.series-episode-page .polnik-img { flex: 1; min-height: 100%; }
	.series-episode-page .polnik-img img {
		position: absolute;
		inset: 0;
	}
}
.series-page .kartochka-header { gap: 15px; }
.series-page .kartochka-title h1 {
	margin: 0;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.35;
}
.series-page .kartochka-meta {
	gap: 8px 14px;
	flex-wrap: wrap;
	margin: 8px 0 12px;
	color: #8fa7c6;
}
.series-page .kartochka-list { margin-top: 0; }
.series-page .kartochka-list li { line-height: 1.45; }
.series-page .kartochka-list li > span:first-child { color: #6f88a7; }
.series-episode-page .kartochka-list li {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	column-gap: 12px;
	align-items: start;
	padding-left: 0;
}
.series-episode-page .kartochka-list li > span:first-child {
	position: static;
	min-width: 0;
}
.series-season-tabs,
.series-season-links {
	display: flex;
	align-items: center;
	gap: 7px;
	flex-wrap: wrap;
	margin-top: 15px;
}
.series-season-tabs__label {
	margin-right: 3px;
	color: #6f88a7;
}
.series-season-tab,
.series-season-link {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 6px 11px;
	border: 1px solid #213044;
	border-radius: 5px;
	background-color: #121820;
	color: #aac2e0;
	line-height: 1;
}
.series-season-tab:hover,
.series-season-tab:focus,
.series-season-link:hover,
.series-season-link:focus,
.series-season-tab.is-active {
	border-color: #9B93E0;
	background-color: #182232;
	color: #fff;
	text-decoration: none;
}
.series-season-tabs--episodes {
	flex-wrap: nowrap;
	overflow-x: auto;
	margin: 0 0 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid #213044;
	scrollbar-width: thin;
}
.series-season-tabs--episodes .series-season-tab { flex: 0 0 auto; }
.series-story {
	margin: 0 0 20px;
	padding: 16px 18px;
	border-radius: 6px;
	background-color: #121820;
	color: #aac2e0;
	line-height: 1.65;
}
.series-faq {
	margin: 0 0 20px;
	padding: 18px;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	background: linear-gradient(180deg, var(--bg-surface-2), var(--bg-surface));
	color: var(--text-body);
}
.series-faq.full-text > h2 {
	position: relative;
	margin: 0 0 16px;
	padding-left: 34px;
	color: var(--text-heading);
	font-size: 22px;
	line-height: 1.35;
}
.series-faq.full-text > h2::before {
	position: absolute;
	top: 1px;
	left: 0;
	display: grid;
	width: 25px;
	height: 25px;
	place-items: center;
	border-radius: 50%;
	background-color: var(--accent-strong);
	color: #fff;
	content: '?';
	font-size: 15px;
	font-weight: 700;
}
.series-faq.full-text > h3 {
	position: relative;
	margin: 12px 0 0;
	padding: 14px 48px 14px 16px;
	border: 1px solid var(--border-subtle);
	border-bottom: 0;
	border-radius: var(--radius-sm) var(--radius-sm) 0 0;
	background-color: var(--bg-inset);
	color: var(--text-heading);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
}
.series-faq.full-text > h3::after {
	position: absolute;
	top: 50%;
	right: 15px;
	display: grid;
	width: 24px;
	height: 24px;
	place-items: center;
	border: 1px solid var(--accent-2);
	border-radius: 50%;
	color: var(--accent);
	content: '?';
	font-size: 13px;
	line-height: 1;
	transform: translateY(-50%);
}
.series-faq.full-text > h3 + p {
	margin: 0;
	padding: 0 16px 16px;
	border: 1px solid var(--border-subtle);
	border-top: 0;
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
	background-color: var(--bg-inset);
	color: var(--text-body);
	line-height: 1.7;
}
.series-faq.full-text > h3 + p::before {
	display: block;
	width: 42px;
	height: 2px;
	margin-bottom: 12px;
	background-color: var(--accent-strong);
	content: '';
}
.series-faq__item {
	margin-top: 10px;
	overflow: hidden;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-sm);
	background-color: var(--bg-inset);
	transition: border-color .2s ease, background-color .2s ease;
}
.series-faq__item:hover,
.series-faq__item[open] {
	border-color: var(--accent-strong);
	background-color: var(--bg-surface-3);
}
.series-faq__question {
	position: relative;
	display: block;
	padding: 14px 52px 14px 16px;
	color: var(--text-heading);
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
	list-style: none;
	user-select: none;
}
.series-faq__question::-webkit-details-marker { display: none; }
.series-faq__question::marker { content: ''; }
.series-faq__question::after {
	position: absolute;
	top: 50%;
	right: 15px;
	display: grid;
	width: 26px;
	height: 26px;
	place-items: center;
	border: 1px solid var(--accent-2);
	border-radius: 50%;
	color: var(--accent);
	content: '+';
	font-size: 19px;
	font-weight: 400;
	line-height: 1;
	transform: translateY(-50%);
}
.series-faq__item[open] > .series-faq__question::after {
	content: '\2212';
}
.series-faq__answer {
	padding: 0 16px 16px;
	color: var(--text-body);
}
.series-faq__answer::before {
	display: block;
	width: 42px;
	height: 2px;
	margin-bottom: 12px;
	background-color: var(--accent-strong);
	content: '';
}
.series-faq.full-text .series-faq__answer-text {
	margin: 0;
	line-height: 1.7;
}
.series-faq script[type="application/ld+json"] { display: none; }
.series-section { margin-top: 20px; }
.series-section .vertok-title .fal { margin-right: 8px; color: #9B93E0; }
.series-section .razdok-content { display: block; padding: 15px; }
.series-intro { margin-bottom: 15px; color: #8fa7c6; }
.series-seasons-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}
.series-season-card {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 62px;
	flex-direction: column;
	justify-content: center;
	padding: 10px 12px;
	border: 1px solid #213044;
	border-radius: 6px;
	background-color: #121820;
	color: #fff;
}
.series-season-card:hover,
.series-season-card:focus {
	border-color: #9B93E0;
	background-color: #182232;
	color: #fff;
	text-decoration: none;
}
.series-season-card__num { font-weight: 600; }
.series-season-card__count { margin-top: 3px; color: #8fa7c6; font-size: 12px; }
.series-season-card__current {
	position: absolute;
	top: 6px;
	right: 7px;
	color: #9B93E0;
	font-size: 10px;
	text-transform: uppercase;
}
.series-episode-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
}
.series-season-title {
	grid-column: 1 / -1;
	margin: 10px 0 0;
	padding-bottom: 8px;
	border-bottom: 1px solid #213044;
	color: #fff;
	font-size: 17px;
	font-weight: 500;
}
.series-season-title:first-child { margin-top: 0; }
.series-season-panel { display: none; }
.series-season-panel:first-child { display: block; }
.series-season-panels.is-ready .series-season-panel { display: none; }
.series-season-panels.is-ready .series-season-panel.is-active { display: block; }
.series-episode-card { min-width: 0; }
.series-episode-card a {
	display: grid;
	grid-template-columns: 145px minmax(0, 1fr);
	gap: 12px;
	min-height: 108px;
	padding: 10px;
	border: 1px solid #1c293a;
	border-radius: 6px;
	background-color: #101720;
	color: #aac2e0;
}
.series-episode-card.is-active a,
.series-episode-card a:hover {
	border-color: #9B93E0;
	background-color: #172232;
	color: #fff;
	text-decoration: none;
}
.series-episode-img {
	height: 86px;
	overflow: hidden;
	border-radius: 4px;
	background-color: #090c10;
}
.series-episode-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.series-episode-body { min-width: 0; }
.series-episode-title { margin-bottom: 3px; color: #fff; font-weight: 600; }
.series-episode-name { overflow: hidden; margin-bottom: 5px; color: #9B93E0; text-overflow: ellipsis; white-space: nowrap; }
.series-episode-text {
	display: -webkit-box;
	overflow: hidden;
	color: #8fa7c6;
	font-size: 12px;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}
.series-player { margin-top: 20px; background-color: #090c10; }
.series-video-box { height: 500px; }
.series-video-box iframe,
.series-video-box video-player { display: block; width: 100%; height: 100%; }
.series-video-box { position: relative; overflow: visible; }
.series-video-box .pleft { left: 8px; }
.series-video-box .pright { right: 8px; }
.series-video-box .pleft,
.series-video-box .pright {
	position: absolute;
	top: 50%;
	z-index: 99;
	width: 44px;
	height: 44px;
	margin-top: -22px;
}
.series-video-box .pleft a,
.series-video-box .pright a {
	display: block;
	width: 44px;
	height: 44px;
}
.series-video-box .pleft a .fa,
.series-video-box .pright a .fa {
	position: absolute;
	z-index: 99;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 2px solid #7F77DD;
	border-radius: 50%;
	background-color: #090c10;
	color: #7F77DD;
	font-size: 34px;
	line-height: 1;
}
.series-video-box .pleft a .fa { left: 0; }
.series-video-box .pright a .fa { right: 0; }
.series-video-box .pleft .ser-p,
.series-video-box .pright .ser-p {
	position: absolute;
	z-index: 98;
	visibility: hidden;
	min-width: 200px;
	height: 44px;
	margin: 0;
	box-sizing: border-box;
	border-radius: 40px;
	background-color: #7F77DD;
	color: #ffffff;
	line-height: 44px;
	opacity: 0;
	text-align: center;
	transition: all .2s ease .1s;
}
.series-video-box .pleft .ser-p { left: 0; padding: 0 10px 0 54px; text-align: left; }
.series-video-box .pright .ser-p { right: 0; padding: 0 54px 0 10px; text-align: right; }
.series-video-box .pleft a:hover .fa,
.series-video-box .pright a:hover .fa { background-color: #7F77DD; color: #ffffff; }
.series-video-box .pleft a:hover .ser-p,
.series-video-box .pright a:hover .ser-p { visibility: visible; opacity: 1; }
.series-player-nav {
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin: 15px 0 20px;
}
.series-player-nav .btn { height: 36px; line-height: 36px; padding: 0 14px; }
.series-player-nav .fal { margin: 0 6px; }

@media screen and (min-width: 1500px) {
	.series-seasons-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
	.series-episode-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media screen and (max-width: 760px) {
	.series-seasons-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.series-episode-list { grid-template-columns: 1fr; }
	.series-episode-card a { grid-template-columns: 125px minmax(0, 1fr); }
	.series-video-box { height: 320px; }
	.series-episode-page .series-player {
		margin-right: -20px;
		margin-left: -20px;
	}
	.series-episode-page .series-player .polnik-ctrl {
		padding-right: 8px;
		padding-left: 8px;
	}
}
@media screen and (max-width: 470px) {
	.series-page .kartochka-header { display: block; }
	.series-page .kartochka-title h1 { font-size: 20px; }
	.series-episode-page .kartochka-list li {
		grid-template-columns: minmax(120px, 42%) minmax(0, 1fr);
		column-gap: 8px;
		padding-left: 0;
	}
	.series-story { padding: 13px; }
	.series-faq { padding: 13px; }
	.series-faq.full-text > h2 { padding-left: 30px; font-size: 19px; }
	.series-faq.full-text > h3 { padding: 12px 42px 12px 13px; font-size: 15px; }
	.series-faq.full-text > h3 + p { padding: 0 13px 13px; }
	.series-faq__question { padding: 12px 45px 12px 13px; font-size: 15px; }
	.series-faq__question::after { right: 12px; width: 24px; height: 24px; }
	.series-faq__answer { padding: 0 13px 13px; }
	.series-season-tabs,
	.series-season-links { gap: 6px; }
	.series-season-tabs__label { width: 100%; }
	.series-season-tab { min-height: 30px; padding: 6px 9px; }
	.series-section .razdok-content { padding: 10px; }
	.series-seasons-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
	.series-season-card { min-height: 56px; padding: 8px 10px; }
	.series-episode-card a { grid-template-columns: 112px minmax(0, 1fr); gap: 9px; }
	.series-episode-img { height: 76px; }
	.series-episode-text { -webkit-line-clamp: 2; }
	.series-player-nav .btn { width: 100%; text-align: center; }
	.series-video-box { height: 250px; }
}

/* CCDN CALENDAR / FRANCHISE MODULES
----------------------------------------------- */
.ccdn_franchise_name {
    color: var(--text-heading);
}

.ccdn_franchise_items,
.ccdn_seasons_items,
.ccdn_season_episodes,
.ccdn_calendar-item,
.calendar-table {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ccdn_franchise_items li,
.ccdn_season_item,
.ccdn_season_episodes li {
    padding: 8px 12px;
    margin-bottom: 6px;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
}

.ccdn_franchise_items li a,
.ccdn_calendar-item a {
    color: var(--text-body);
}

.ccdn_franchise_items li a:hover,
.ccdn_calendar-item a:hover {
    color: var(--accent);
}

.ccdn_franchise_items li.ccdn_current_part {
    border-color: var(--accent);
    color: var(--accent);
}

.ccdn_season_episodes li.ccdn_calendar_full_has_episode {
    border-color: var(--accent);
    color: var(--accent);
}

.ccdn_calendar {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 14px;
}

.ccdn_calendar-day {
    margin-bottom: 14px;
}

.ccdn_calendar-day h4 {
    color: var(--text-heading);
    margin: 0 0 8px;
    font-size: 14px;
}

.ccdn_calendar-day.ccdn_calendar_active_date h4 {
    color: var(--accent);
}

.ccdn_calendar-item {
    padding: 8px 10px;
    margin-bottom: 4px;
    background: var(--bg-surface-2);
    border-radius: var(--radius-sm);
    font-size: 13px;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.calendar-table td, .calendar-table th {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-body);
    text-align: left;
}

.calendar-table thead td {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
}

.calendar-table tr.ccdn_calendar_full_has_episode th {
    color: var(--accent);
}
