/* Roboto — self-hosted (вариативный 400–700). Заменяет render-blocking @import Google Fonts. */
@font-face{font-family:'Roboto';font-style:normal;font-weight:400 700;font-display:swap;src:url('../fonts/roboto-cyrillic.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400 700;font-display:swap;src:url('../fonts/roboto-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400 700;font-display:swap;src:url('../fonts/roboto-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400 700;font-display:swap;src:url('../fonts/roboto-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

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

.page-description ul li {
    padding: 8px 0px;
}

.page-description ul {
    padding: 10px 18px;
}

.quote_body {
    padding: .5rem .7rem;
    border: 1px solid #FF9800;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
    color: #333;
    background-color: #FFF3E0;
    border-left-width: 5px;
    margin-bottom:10px;
    border-radius:8px;
}

.c-c-m-alabuga-img-main {
display: block;
width: 100%;
height: auto;
border-radius: 10px;    
}

.rc-anchor-error-message {
    display: none !important;
}

.full-story-header__add-fav-button a {
 color:white !important;   
 text-align:center !important;
}

.full-story-header__add-fav-button a:hover {
 color:white !important;   
 text-align:center !important;
}

.full-story-header__add-fav-button a:visited {
 color:white !important;   
 text-align:center !important;
}

.full-story-header__add-fav-button {
 color:white;   
}

.full-story-header__add-fav-button:hover {
 color:white;   
}

.night .top-description {
 color:white;   
}

.player {
 height:650px;   
}

.night .player {
 height:650px;   
}

.adv-container {
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 0px auto;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 10px;
    margin-top: 20px;
}

.center-full-story {
color: #black;   
font-weight: 800;
font-size: 18px;
line-height: 24px;
text-transform: uppercase;
margin: 30px 0px;
}

.night .center-full-story {
color: #fff;   
}

.night .adv-container {
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 0px auto;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 10px;
    margin-top: 20px;
}

.night .multirating-wrapper {
    background: #1c1c1c;
    padding-top: 15px;
    overflow: hidden;
    border-radius: 2px;
    border: 1px solid #181818;
    position: relative;
    width: fit-content;
    margin: 0 auto;
}

.night .multirating-wrapper * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.night .multirating-items-wrapper {
    margin: 0 auto;
    background: #11212e;
    border-radius: 2px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .1);
}

.night .multirating-items-wrapper:after {
    content: '';
    display: block;
    clear: both;
}

.night .multirating-error {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, .3);
    padding: 15px;
    width: 300px;
    max-width: 100%;
    cursor: pointer;
}

.night .multirating-error-text {
    padding: 11px 15px;
    background: #fff;
    border-radius: 0 1px 1px 0;
    border-left: 4px solid #f15941;
    font: normal 12px/18px Verdana;
    color: #333;
}

.night .multirating-item {
    position: relative;
    float: left;
    width: 230px;
    padding: 10px 8px 10px 85px;
    color: #ccc;
    transition: .4s;
    border-bottom: 1px solid #181818;
}

.night .multirating-item-rateval {
    position: relative;
    float: left;
    padding: 0;
    margin: 0 0 0 -73px;
}

.night .multirating-item-rateval canvas {
    display: block;
}

.night .multirating-loading .night .multirating-items-wrapper {
    opacity: .7;
}

.night .multirating-loading .night .multirating-item-rateval:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .8) url(loading.gif) no-repeat 50% 50%;
    border-radius: 50%;
}

.night .multirating-item-title {
    display: block;
    font: normal 19px/40px 'Trebuchet MS', Arial;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.night .multirating-item-rating {
    width: 140px;
    height: 11px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.night .multirating-item-rating li {
    position: relative;
    float: left;
    width: 14px;
    height: 11px;
    text-indent: -10000px;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
}

.night .multirating-rated .night .multirating-item-rating li {
    cursor: default;
}

.night .multirating-item-rating li:after {
    content: '';
    display: block;
    position: relative;
    top: 0;
    left: 0;
    width: 11px;
    height: 11px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3);
    border-radius: 50%;
}

.night .multirating-item-rating li.night .multirating-rate-active:after {
    background: #fff;
}


div.night .multirating-itog {
    margin-top: 15px;
    padding: 10px;
    background: #2c2c2c url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAyCAIAAAASmSbdAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAGUlEQVQImWPQ0dFhYmBgwIkZGRnJkqezPgCTxAD5UoTqzQAAAABJRU5ErkJggg==) repeat-x 0 100%;
    font: normal 20px/34px 'Trebuchet MS', Arial;
    color: #aaa;
    text-align: center;
    border-top: 1px solid #000;
    font-variant: small-caps;
    border-radius: 2px;
}

.night .multirating-itog-rateval {
    display: inline-block;
    padding: 0 10px;
    margin: 0 5px 0 5px;
    background: #090909;
    color: #fff;
    font-weight: normal;
    border-radius: 2px;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, .2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 1);
}

div.night .multirating-itog i {
    font-size: 14px;
    color: #888;
}


/* История оценок */
.night .multirating-log * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.night .multirating-log {
    display: none;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -150px;
    width: 300px;
    border: 1px solid #d0d0d0;
    background: #fff;
    padding-bottom: 7px;
    border-radius: 2px;
    box-shadow: 0 0 0 6px rgba(0, 0, 0, .12);
    font: normal 12px Verdana;
    color: #404040;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    z-index: 100;
}

.night .multirating-log-title {
    margin: 0;
    padding: 0 20px;
    position: relative;
    font: inherit;
    line-height: 40px;
    border-bottom: 1px solid #f0f0f0;
    background: #f7f7f8;
    cursor: move;
}

.night .multirating-log-close {
    position: absolute;
    top: 50%;
    right: 8px;
    margin-top: -10px;
    width: 20px;
    height: 20px;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAARklEQVQoU2NkYGBgmDlz5v/09HRGEBsdwOQYQQyYJLpiZDmwKdgUo4vBrUOWQLYeZguKu9AVIzuFdIVEWU2UZ0gOHkIBDgCoYj2fGI46DgAAAABJRU5ErkJggg==) no-repeat 50% 50%;
    opacity: .75;
}

.night .multirating-log-close:hover {
    opacity: 1;
}

.night .multirating-log-list {
    padding: 4px 50px 15px 13px;
    cursor: pointer;
    line-height: 28px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}

.night .multirating-log-list:nth-child(2n+1) {
    background: rgba(0, 0, 0, .02);
}

.night .multirating-log-list:hover {
    background: rgba(0, 100, 100, .04);
}

.night .multirating-log-group {
    font-size: 11px;
    color: #999;
}

.night .multirating-log-group:before {
    content: '|';
    color: #d3d5d7;
    margin: 0 7px;
}

.night .multirating-log-ratebar {
    list-style: none;
    white-space: nowrap;
    margin: 0;
    padding: 0;
    position: relative;
    background: #ddd;
    width: 230px;
    opacity: .6;
}

.night .multirating-log-ratebar:after {
    content: '';
    display: block;
    clear: both;
}

.night .multirating-log-ratebar li {
    width: 10%;
    height: 3px;
    float: left;
    position: relative;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}

.night .multirating-log-ratebar li.active {
    background: #f60;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    border: none;
    z-index: 0;
}

.night .multirating-log-list:hover .night .multirating-log-ratebar {
    opacity: 1;
}

.night .multirating-log-rate {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    line-height: 50px;
    text-align: center;
    font-weight: bold;
    font-size: 11px;
    color: #598ab9;
}

.night .multirating-log-detail {
    display: none;
    list-style: none;
    margin: 8px 0 0;
    padding: 0 0 0 10px;
}

.night .multirating-log-detail li {
    line-height: 22px;
    position: relative;
    padding-left: 5px;
    font-size: 11px;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.night .multirating-log-detail li b {
    position: absolute;
    top: 0;
    left: 100%;
    width: 50px;
    text-align: center;
}

.night .multirating-log-detail li i {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: #909090;
}

.night .multirating-log-navigation {
    padding: 10px 5px 0;
    text-align: center;
    font-size: 12px;
}

.night .multirating-log-navigation span {
    display: inline-block;
    margin: 0 2px 4px;
    padding: 4px 6px;
    border-radius: 2px;
    cursor: pointer;
    color: #0085b7;
}

.night .multirating-log-navigation span:hover {
    background: #f5f5f8;
    color: #222;
}

.night .multirating-log-navigation span.current {
    cursor: default;
    background: #0085b7;
    color: #fff;
}


@media screen and (max-width: 1360px) {
    div.night .multirating-items-wrapper {
        width: 460px;
    }
}

@media screen and (max-width: 630px) {
    div.night .multirating-items-wrapper {
        width: 230px;
    }
}


.full-story-header__poster-img img {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.DarkSide {
    display: none;
}

.episode-spoiler-btn {
    color: #fff;
    display: flex;
    margin: 32px auto 16px;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
}

.descript p {
    padding: 10px 0px;
    line-height: 140%;
}

.night .episode-spoiler-btn {
    color: #fff;
    display: flex;
    margin: 32px auto 16px;
    padding: 12px 16px;
    border: 1px solid #15485c;
    border-radius: 10px;
    background: #15485c;
    cursor: pointer;
}

.night .episode-spoiler-btn:hover {
    background: #0b3545;
    border: 1px solid #0b3545;
}

.episode-spoiler {
    display: none;
}

.episode-spoiler.is-open {
    display: block;
}

.telegram {
    float: right;
    text-align: right;
    margin: 0px 1px 0px 0px;
    width: 100%;
}

.details__images,
.found__item {
    border-bottom: 1px solid rgba(30, 30, 30, .4);
}

.details__img {
    height: 205px;
    object-fit: cover;
}

.details__img:hover,
.details__video:hover,
.popular__item:hover .popular__img {
    filter: brightness(90%);
}

.details__img,
.popular__item img {
    transition: .1s;
    width: 100%;
    border-radius: 10px;
}

.details__images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.night .DarkSide {
    text-align: center;
    font-weight: 800;
    font-size: 20px;
    line-height: 20px;
    text-transform: uppercase;
    margin: 30px auto;
    width: 100%;
    display: block;
}

.dark-side {
    color: #29b7d8;
}

.header__search {
    width: 210px;
    position: relative;
}

.night .pretimer {
    background: none !important;
}

.night .pretimer .countdown_text {
    color: white !important;
}

.night .m-rating-area {
    background: none !important;
}

.night .calendar__item-english-name {
    color: #c3bdbd !important;
}

.night .calendar__item-english-name {
    background: none !important;
}

.header__search input,
.header__search input:focus {
    padding: 0 30px 0 10px;
    border-radius: 10px;
    background: white;
    color: #000;
    height: 36px;
    line-height: 36px;
}

.header__search button {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0;
    width: 40px;
    height: 40px;
    background: none;
    color: #000;
    font-size: 14px;
}

.header__search button:hover {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0;
    width: 40px;
    height: 40px;
    background: none;
    color: var(--tt-3);
    font-size: 14px;
}

#searchsuggestions {
    z-index: 99998;
    width: 360px;
    font-size: 13px;
    background: white;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

#searchsuggestions a,
#searchsuggestions span.notfound {
    padding: 10px 15px;
    border-bottom: 1px solid var(--ui-bg-darker);
}

.header__search-box button {
    background: none !important;
}

#searchsuggestions a:hover {
    background-color: #e5ebed;
    color: #000;
}

#searchsuggestions a {
    color: #000 !important;
}

#searchsuggestions span.searchheading {
    margin-bottom: 10px;
    font-size: 16px;
}

#searchsuggestions span.searchheading+span {
    color: #949494;
}

#searchsuggestions a,
#searchsuggestions span {
    display: block;
}

#searchsuggestions a,
#searchsuggestions span {
    display: block;
}


.fal {
    font-family: 'Font Awesome 5 Pro';
    font-weight: 300 !important;
}

.fa-search:before {
    content: "\f002"
}

.container-dle-seo-text h2 {
    margin: 20px 0px;
    font-weight: 800;
}

.container-dle-seo-text p {
    margin: 10px 0;
    font-size: 14px;
    line-height: 24px;
}

.clock img {
    position: relative;
    top: 6px;
    left: 2px;
}

.header-dle-seo {
    text-align: center;
}

.other-name {
    font-size: 14px;
    line-height: 18px;
}

.comments-tree-list {
    width: 93%;
    margin-left: auto;
    margin-right: 0;
    list-style: none;
}

.guru {
    background-color: #ffeb00;
    color: #000;
    font-weight: 600 !important;
    font-size: 14px;
    border-radius: 6px;
    padding: 4px;
    margin-top: 5px;
    display: block;
    width: 70px;
    text-align: center;
}

.vet {
    background-color: #00aca4;
    color: #fff;
    font-weight: 600 !important;
    font-size: 14px;
    border-radius: 6px;
    padding: 4px;
    margin-top: 5px;
    display: block;
    width: 70px;
    text-align: center;
}

.mes {
    background-color: #da005b;
    color: #fff;
    font-weight: 600 !important;
    font-size: 14px;
    border-radius: 6px;
    padding: 4px;
    margin-top: 5px;
    display: block;
    width: 70px;
    text-align: center;
}

.nov {
    background-color: #3f90d6;
    color: #fff;
    font-weight: 600 !important;
    font-size: 14px;
    border-radius: 6px;
    padding: 4px;
    margin-top: 5px;
    display: block;
    width: 70px;
    text-align: center;
}

.comments__name img {
    width: 25px;
    height: 25px;
}

.calendar__item-names a {
    font-weight: 600;
    margin-bottom: 3px;
}

.full-story-new-series h3 {
    margin: 0px 0px !important;
}

.new-anime {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

.lord {
    color: #fff;
    font-size: 14px;
    background: linear-gradient(#ff0000, #a100e9);
    font-weight: 600 !important;
    border-radius: 6px;
    padding: 4px;
    margin-top: 5px;
    display: block;
    width: 70px;
    text-align: center;
}

.dlecomments-editor {
    margin-bottom: 15px;
}

@font-face {
    font-family: "GothamProRegular";
    src: url("https://ani-media.online/templates/Anime/css/Gotham-Pro.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

/* Весь блок*/
.m-rating-area {
    height: 80px;
    display: inline-block;
    padding-left: 90px;
    position: relative;
}

.m-error {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 0 15px;
    display: none;
    border: 1px solid #db4a39;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    font: normal 12px/28px Arial;
    color: #444;
}

.m-load {
    background:#f0f0f0 url('{THEME}/images/m_load.gif') 50% 50% no-repeat !important;
}

/* Суммарный рейтинг */
.m-rating-rate {
    float: left;
    margin-left: -90px;
    width: 80px;
    border-right: 1px solid #ddd;
    font: bold 27px/60px Arial;
    text-align: center;
    color: white;
    height: 80px;
    border-radius: 8px;
}

/* Количество голосов в суммарном рейтинге */
.m-rating-rate-votes {
    font: normal 11px/20px Arial;
    margin-top: -15px;
    text-shadow: none;
}

/* Разбивкав 2 колонки */
.m-rating-column {
    float: left;
    height: 80px;
}

/* Область одного рейтинга */
.m-rating-field {
    padding: 5px 0 15px 40px;
    float: left;
    vertical-align: middle;
    margin: 20px 30px;
}

/* Оценка */
.m-rating-value {
    float: left;
    cursor: pointer;
    margin-left: -40px;
    width: 30px;
    height: 30px;
    color: #fff;
    font: bold 15px/30px Arial;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 1px 0 #fff;
    -webkit-box-shadow: 0 1px 0 #fff;
    box-shadow: 0 1px 0 #fff;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.m-rating-field:hover .m-rating-value {
    background: #c50725;
    opacity: .7;
}

/* Сам рейтинг */
.m-rating {
    margin: 0;
    padding: 0;
    list-style: none;
    padding-top: 10px;
}

.m-rating:after {
    content: "";
    display: table;
    clear: both;
}

.m-rating li {
    float: left;
    padding: 0 1px;
}

.m-rating li span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: #ccc;
    text-indent: -10000px;
    cursor: pointer;
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.25), 0 1px 0 #fff;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.25), 0 1px 0 #fff;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.25), 0 1px 0 #fff;
}

.m-rating li.m-current span {
    background: #44a0de;
}

.m-rating li.m-hover span {
    background: #c50725;
    opacity: .7;
}

/* CSS3 gradients & backgrounds */
.m-rating-area {
    background: #fcfcfc;
    background: -moz-linear-gradient(top, rgba(253, 253, 253, 1) 0%, rgba(250, 250, 250, 1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(253, 253, 253, 1)), color-stop(100%, rgba(250, 250, 250, 1)));
    background: -webkit-linear-gradient(top, rgba(253, 253, 253, 1) 0%, rgba(250, 250, 250, 1) 100%);
    background: -o-linear-gradient(top, rgba(253, 253, 253, 1) 0%, rgba(250, 250, 250, 1) 100%);
    background: -ms-linear-gradient(top, rgba(253, 253, 253, 1) 0%, rgba(250, 250, 250, 1) 100%);
    background: linear-gradient(to bottom, rgba(253, 253, 253, 1) 0%, rgba(250, 250, 250, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdfdfd', endColorstr='#fafafa', GradientType=0);
}

.m-rating-rate {
    background: #c50725;

}

.m-rating-value {
    background: #44a0de;
    background: -moz-linear-gradient(top, rgba(72, 169, 234, 1) 0%, rgba(64, 151, 209, 1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(72, 169, 234, 1)), color-stop(100%, rgba(64, 151, 209, 1)));
    background: -webkit-linear-gradient(top, rgba(72, 169, 234, 1) 0%, rgba(64, 151, 209, 1) 100%);
    background: -o-linear-gradient(top, rgba(72, 169, 234, 1) 0%, rgba(64, 151, 209, 1) 100%);
    background: -ms-linear-gradient(top, rgba(72, 169, 234, 1) 0%, rgba(64, 151, 209, 1) 100%);
    background: linear-gradient(to bottom, rgba(72, 169, 234, 1) 0%, rgba(64, 151, 209, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#48a9ea', endColorstr='#4097d1', GradientType=0);
}

.m-error {
    background: #fafafa;

    background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(245, 245, 245, 1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(245, 245, 245, 1)));
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(245, 245, 245, 1) 100%);
    background: -o-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(245, 245, 245, 1) 100%);
    background: -ms-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(245, 245, 245, 1) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(245, 245, 245, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);
}



.new-series__number_black {
    font-size: 24px;
    line-height: 20px;
    color: #000;
    font-weight: 600;
    opacity: .9;
    margin-left: 8px;
}

.new-series__number_black i {
    font-size: 16px;
    font-style: normal;
}

.submitlinebase {
    margin: 0 auto;
    text-align: center;
}

.pretimer .countdown_title {
    font-weight: 600;
}

.pretimer {
    border-bottom: 0px solid #E9E9E9 !important;
    border-top: 0px solid #E9E9E9 !important;
}

::-webkit-scrollbar {
    width: 11px;
    background-color: #f9f9f9;
}

.night ::-webkit-scrollbar {
    background-color: #11212e;
}

::-webkit-scrollbar-thumb {
    background-color: #c50725;
    border-radius: 10px;
}

.night ::-webkit-scrollbar-thumb {
    background-color: #028894;
}

.anim,
button,
.btn,
a,
a img,
.btn-accent,
.header__btn-search {
    transition: all .3s;
}

.theme-toggle {
    background-image: url(../images/night-theme.svg);
    background-repeat: no-repeat;
    background-size: 24px;
    background-position: center;
}

.night .theme-toggle {
    background-image: url(../images/light-theme.svg);
}

.filter-block {
    margin-bottom: 10px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
}

.night .filter-block {
    background-color: #11212e;
}

.filter-block__form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-gap: 10px 20px;
}

.filter-block__cell-content--two-columns {
    display: flex;
    justify-content: space-between;
}

.irs--flat.irs-with-grid {
    height: 60px;
}

.filter-block__cell-content>* {
    width: 100%;
    display: block;
}

.irs-grid {
    position: absolute;
    display: none;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
}

.irs--flat .irs-bar {
    top: 25px;
    height: 12px;
    background-color: #ed5565;
}

.irs-bar {
    position: absolute;
    display: block;
    left: 0;
    width: 0;
}

.irs {
    position: relative;
    display: block;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 12px;
    font-family: Arial, sans-serif;
}

.night .irs--flat .irs-handle>i:first-child,
.night .irs--flat .irs-from,
.night .irs--flat .irs-single,
.night .irs--flat .irs-to,
.night .irs--flat .irs-bar {
    background-color: #028894;
}

.night .irs--flat .irs-from::before,
.night .irs--flat .irs-single::before,
.night .irs--flat .irs-to::before {
    border-top-color: #028894;
}

.night .filter-block__cell-content select,
.night .filter-block__cell-content input[type="text"],
.night .filter-block__cell-content--check-group {
    background-color: #263b4d;
    border: 1px solid #263b4d;
}

.night .filter-block__cell-content--check-group label+label {
    border-color: #11212e;
}

.night .filter-block__cell-content--check-group label input:checked+div {
    background-color: #028894;
}

.night .filter-block__cell-content input[type="button"][data-dlefilter="reset"] {
    background: #1b2935;
}

.night .multirating-wrapper {
    background: #11212e;
}

.night .multirating-item-title {
    color: #cfcfcf;
}

.night div.multirating-itog {
    background: #11212e;
    border-color: #1b2935;
    color: #fff;
}

.night .multirating-item {
    border: none;
}

.night .multirating-item-rating li.multirating-rate-active:after {
    background: #29b7d8;
}

.night .multirating-itog-rateval {
    background: #15485c;
    box-shadow: none;
}

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

select {
    height: 40px;
    padding: 0 15px;
    display: block;
}

input[type="text"],
input[type="password"],
select,
textarea {
    width: 100%;
    background: #f9f9f9;
    color: #161616;
    outline: 1px solid #dddddd;
}

.filter-block__cell-content>* {
    width: 100%;
    display: block;
}

.filter-block__cell-content--two-columns>* {
    width: calc((100% - 10px) / 2) !important;
}

select:not([multiple]) {
    background-image: url(../dleimages/chevron.svg);
    padding-right: 30px;
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: .6em auto;
}

.filter-block__cell-content select,
.filter-block__cell-content input[type="text"],
.filter-block__cell-content--check-group {
    height: 36px;
    line-height: 34px;
    background-position: right 8px top 50%;
    background-color: #fff;
    color: #757b85;
    border: 1px solid #f2f2f2;
    border-radius: 4px;
    box-shadow: none;
    font-size: 14px;
    padding: 0 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.night .filter-block__cell-content select,
.night .filter-block__cell-content input[type="text"],
.night .filter-block__cell-content--check-group {
    color: #a5adbb;
}

.filter-block__cell-content select {
    padding: 0 20px 0 4px;
}

select option {
    padding: 6px 10px;
}

.filter-block__cell-content>* {
    width: 100%;
    display: block;
}

.filter-block__cell-content--two-columns>* {
    width: calc((100% - 10px) / 2) !important;
}

.filter-block__cell-content label {
    position: relative;
    padding-left: 50px;
    cursor: pointer;
    height: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 14px;
}

.filter-block__cell-content label input {
    display: inline-block;
    appearance: none;
    -webkit-appearance: none;
    height: 20px;
    width: 40px;
    border-radius: 10px;
    background-color: #8c8c8c;
    cursor: pointer;
    transition: all .2s linear;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -10px;
}

.filter-block__cell-content label input::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 10px;
    position: absolute;
    left: 1px;
    top: 1px;
    background-color: #fff;
    transition: all .2s linear;
}

.filter-block__cell-content label input:checked::before {
    left: 21px;
}

.filter-block__cell-content label input:checked {
    background-color: #6ab04c;
}

.filter-block__cell-content--check-group {
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.filter-block__cell-content--check-group label {
    padding: 0;
    text-align: center;
    white-space: nowrap;
    flex: 1 1 0;
    min-width: 30px;
    max-width: 100%;
}

.filter-block__cell-content--check-group label input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 5;
}

.filter-block__cell-content--check-group label div {
    height: 36px;
    font-size: 13px;
}

.filter-block__cell-content--check-group label input:checked+div {
    background-color: #c50725;
    color: #ffffff;
}

.filter-block__cell-content--check-group label+label {
    border-left: 1px solid #fff;
}

button,
.btn,
input[type="button"],
input[type="reset"],
input[type="submit"],
.form__btn,
.qq-upload-button,
.pm__links a,
.usp__btn a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-align: center;
    height: 35px;
    min-width: 35px;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    background-color: #c50725;
    color: #fff;
    border-radius: 5px;
    box-shadow: none;
}

.night button,
.night .btn,
.night input[type="button"],
.night input[type="reset"],
.night input[type="submit"],
.night .form__btn,
.night .qq-upload-button,
.night .pm__links a,
.night .usp__btn a {
    background-color: #15485c;
}

.filter-block__cell-content input[type="button"],
.filter-block__cell-content button {
    cursor: pointer;
    height: 36px;
    display: inline-flex;
    justify-content: center;
    padding: 0 10px;
    box-shadow: none;
    border-radius: 4px;
}

button:hover,
.btn:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.form__btn:hover,
.qq-upload-button:hover,
.pm__links a:hover,
.usp__btn a:hover {
    background-color: #87081c;
    color: #fff;
    border-color: #87081c;
}

.night button:hover,
.night .btn:hover,
.night input[type="button"]:hover,
.night input[type="reset"]:hover,
.night input[type="submit"]:hover,
.night .form__btn:hover,
.night .qq-upload-button:hover,
.night .pm__links a:hover,
.night .usp__btn a:hover {
    background-color: #0b3545;
}

.filter-block__cell-content input[type="button"][data-dlefilter="reset"] {
    background: #fff;
    color: #757b85;
}

/* Блок рейтинга в новости */
.rating-emoji {
    display: flex;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 6px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    justify-content: space-between;
    gap: 5px;
}

.night .rating-emoji {
    background: #11212e;
}

.rating-emoji .rating-emoji-item {
    text-align: center;
    text-decoration: none;
    padding: 10px 0 5px;
    font-size: 28px;
    line-height: 38px;
    position: relative;
    width: calc((100% - 55px) / 12);
    border-radius: 10px;
    color: #161616;
}

a.rating-emoji-item:hover {
    background: #00000024;
    font-size: 40px;
    border-radius: 10px;
    color: #161616;
}

.rating-emoji-item-count {
    display: block;
    font-size: 14px;
    line-height: 20px;
    margin-top: 3px;
}

a.rating-emoji-item.active {
    background-image: linear-gradient(to right, #5f2e35, #c50725);
    color: #fff;
}

.night a.rating-emoji-item.active {
    background-image: linear-gradient(to right, #15485c, #20b3d5);
}

#scrolltop {
    position: fixed;
    width: 60px;
    height: 60px;
    line-height: 60px;
    right: 10px;
    bottom: 10px;
    z-index: 990;
    display: none;
    background: #ddd url(../images/arrow-up.svg) center no-repeat;
    background-size: 26px;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.night #scrolltop {
    background-color: #263b4d;
}

body {
    font-size: 16px;
    font-family: 'GothamProRegular', sans-serif;
    padding: 20px !important;
    counter-reset: num;
}

.night body {
    background-color: #1b2935;
    color: #e4e4e4;
}

a:link,
a:visited {
    text-decoration: none;
    color: #c50725;
    transition: 0.3s;
}

.night a:link,
.night a:visited {
    color: #29b7d8;
    font-weight: 600;
}

a:hover {
    text-decoration: none;
    color: #c50725;
}

.full-story-header__params H1 {
    margin: 5px 0px !important;
}

.night a:hover {
    color: #00a0b0;
}

.center {
    text-align: center;
    font-weight: 800;
}

.my-20 {
    margin: 30px 0;
}

.hide {
    display: none !important;
}

.visible {
    display: block !important;
}

H1 {
    font-weight: 500;
    font-size: 26px;
    line-height: 24px;
    text-transform: uppercase;
    margin: 30px 0px;
}

H2 {
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
    margin: 30px 0px;
}

H3,
H4,
H5 {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    margin: 30px 0px;
}


.button {
    background: #c50725;
    padding: 8px 16px;
    border-radius: 3px;
    color: #fff;
    font-size: 12px;
    line-height: 16px;
    transition: all 0.3s;
    cursor: pointer;
    user-select: none;
}

.button:hover {
    background-color: #a50725;
}

.button.disabled {
    background: whitesmoke;
    color: #acb1bc;
    cursor: default;
}

header,
main,
footer {
    max-width: 1420px;
    margin: 0 auto;
    width: 100%;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

header .logo {
    width: 170px;
    height: 28px;
    background-image: url(../images/logo.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.night header .logo {
    background-image: url(../images/logo-night.svg);
}

.header__nav {
    flex-grow: 1;
}

.header__nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.header__nav ul li {
    text-transform: uppercase;
    margin-left: 20px;
    font-weight: 600;
}

.header__nav ul li span {
    cursor: pointer;
    transition: all .3s;
}

.header__nav ul li span:hover {
    color: #c50725;
}

.header__nav ul li ul {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 10px 0px #7c7c7c;
    padding: 15px;
    position: absolute;
    top: 62px;
    z-index: 9;
    display: flex;
    flex-wrap: wrap;
    width: 800px;
    gap: 10px;
}

.night .header__nav ul li ul {
    background: #263b4d;
    box-shadow: none;
}

.header__nav ul li ul li {
    width: calc(100% / 4 - 8px);
    margin: 0;
    text-transform: none;
}

.header__nav ul li ul li a {
    padding: 5px 10px;
    border-radius: 5px;
}

.header__nav ul li ul li a:hover {
    background: #c50725;
    color: #fff;
}

.night .header__nav ul li ul li a:hover {
    background: #15485c;
}

.header__nav ul li.nav__close {
    display: none;
    background: url(../images/close.svg) center no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    cursor: pointer;
    margin: 0 auto;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.header__nav ul li.nav__close:hover {
    background-color: #c50725;
}

.header__submenu-button {
    background: #2f2e2d;
    border-radius: 5px;
    padding: 5px 10px;
    color: #fff;
    padding-right: 25px;
    position: relative;
}

.night .header__submenu-button {
    background: #15485c;
}

.header__submenu-button:hover {
    background: #c50725;
    color: #fff !important;
}

.night .header__submenu-button:hover {
    background: #0b3545;
}

.header__submenu-button::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 9px;
    width: 8px;
    height: 8px;
    background: url(../images/play.svg) 0px center no-repeat;
    background-size: 8px;
    transform: rotate(90deg) translateX(-50%);
    filter: invert(1);
}

.search {
    display: flex;
    align-items: center;
}

.search__input {
    border: 0;
    background: whitesmoke;
    padding: 8px;
    border-radius: 10px;
}

.night .search__input {
    background: #11212e;
    color: #fff;
}

.search__input:focus {
    outline: 1px solid #c50725;
}

.night .search__input:focus {
    outline: 1px solid #29b7d8;
}

.search__button {
    background-image: url(../images/search.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    border: 0;
    width: 30px;
    height: 30px;
    cursor: pointer;
    margin-left: -36px;
}

.night .search__button {
    background-image: url(../images/search-light.svg);
    background-color: transparent;
}

.night .search__button:hover {
    background-color: transparent;
}

.search__button:hover {
    background-color: transparent;
}

.user-button,
.mobile-menu-button {
    background: #c50725;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.user-button {
    background-image: url(../images/user.svg);
}

.night .user-button,
.night .mobile-menu-button {
    background-color: #15485c;
}

.mobile-menu-button {
    display: none;
    background-image: url(../images/menu.svg);
}

.user-button:hover,
.mobile-menu-button:hover {
    background-color: #a50725;
}

.top100__title {
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
    color: #161616;
    width: 100%;
}

.night .top100__title {
    color: #fff;
}

.top100__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.top100__items .full-story-recommend__link {
    position: relative;
}

.top100__items .full-story-recommend__link::before {
    content: counter(num);
    counter-increment: num;
    color: #757b85;
    opacity: 0.3;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    font-weight: 700;
}

.top100__description {
    background: whitesmoke;
    border-radius: 5px;
    padding: 20px;
    width: 100%;
}

.night .top100__description {
    background: #11212e;
}

.schedule {
    width: 100%;
}

.schedule__title {
    font-size: 20px;
}

.schedule__block {
    background: whitesmoke;
    border-radius: 5px;
    padding: 20px;
    width: 100%;
}

.night .schedule__block {
    background: #11212e;
}

.schedule__warning-button {
    color: #c50725;
    cursor: pointer;
    display: inline-block;
    line-height: 44px;
    margin-bottom: 20px;
}

.schedule__warning-button::before {
    background-color: #c50725;
    color: #fff;
    content: "!";
    display: block;
    float: left;
    font-size: 26px;
    font-weight: bold;
    height: 36px;
    line-height: 39px;
    margin: 3px 5px;
    text-align: center;
    width: 36px;
    border-radius: 10px;
}

.schedule__warning-button.active::before {
    content: "\2212";
}

.schedule__warning-block {
    display: none;
    gap: 20px;
    flex-direction: column;
    font-size: 14px;
    color: #161616;
    margin-bottom: 20px;
}

.schedule__warning-block.active {
    display: flex;
}

.schedule__buttons {
    display: flex;
    list-style-type: none;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.schedule__buttons li {
    background: #f9f9f9;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    width: calc((100% - 30px) / 7);
    padding: 20px 5px;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.5;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
    cursor: pointer;
    border-radius: 10px;
}

.night .schedule__buttons li {
    background: #11212e;
}

.schedule__buttons li.active {
    cursor: default;
    background: #cacaca;
}

.night .schedule__buttons li.active {
    background: #15485c;
}

.schedule__movies {
    width: 100%;
    display: none;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.schedule__movies.active {
    display: flex;
}

.new-series__date span {
    color: #c50725;
    font-weight: 500;
}

.carousel {
    background: #c50725;
    margin: 20px 0;
    border-radius: 5px;
    display: flex;
    gap: 15px;
    padding: 20px 0;
    justify-content: space-between;
    align-items: center;
}

.night .carousel {
    background: #15485c;
}

.carousel__item {
    position: relative;
}

.carousel__item-link {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.carousel__item-image-block {
    position: relative;
    height: 270px;
}

.carousel__item .kodik_poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    transition: all 0.3s;
    position: absolute;
    left: 0;
    top: 0;
    min-height: 100%;
    display: block;
}

.carousel__item .kodik_poster:hover {
    --webkit-filter: saturate(200%);
    filter: saturate(200%);
}

.carousel__item-text {
    color: #fff;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
    overflow: hidden;
    text-align: center;
}

/**
 * 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: 5;
    padding: 20px 40px;
}

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

.owl-prev,
.owl-next {
    display: block;
    width: 36px;
    height: 36px;
    background: url(../images/arrow.svg) 0px 3px no-repeat;
    background-size: contain;
    border-radius: 0 0 5px 5px;
    transition: all 0.3s;
    top: -50%;
    border: none;
    position: absolute;
    cursor: pointer;
}

.owl-prev {
    transform: rotate(270deg) translateX(-50%);
    left: 0;
}

.owl-next {
    transform: rotate(90deg) translateX(50%);
    right: 0;
}

.owl-prev:hover,
.owl-next:hover {
    background-color: #323232;
    cursor: pointer;
}

.owl-dots {
    text-align: center;
    padding-top: 10px;
}

.owl-dot {
    cursor: pointer;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 10px 5px 0 5px;
    background: #e74a62;
    border: 0;
}

.owl-dot.active {
    background: #f9f9f9;
}

.new-series {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin: 20px 0;
}

.new-series__link {
    display: block;
    width: calc(50% - 10px);
    overflow: hidden;
}

.new-series__block {
    display: flex;
    border-radius: 5px;
    background: whitesmoke;
    transition: background-color 0.3s;
}

.night .new-series__block {
    background: #11212e;
}

.new-series__block:hover {
    background-color: #ebebeb;
}

.night .new-series__block:hover {
    background-color: #000000;
}

.new-series__block .kodik_poster {
    width: 55px;
    height: 80px;
    border-radius: 5px;
}

.new-series__block:hover .kodik_poster {
    --webkit-filter: saturate(200%);
    filter: saturate(200%);
}

.new-series__desc {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    width: 550px;
}

.new-series__title {
    text-wrap: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: calc(100vw / 2 - 200px);
    max-width: 550px;
    color: #000;
}

.night .new-series__title {
    color: #fff;
}

.new-series__date {
    font-size: 12px;
    line-height: 16px;
    color: #757b85;
}

.new-series__num {
    display: flex;
    flex-direction: column;
    padding: 15px;
    align-items: center;
    justify-content: center;
    width: 100px;
}

.new-series__number {
    font-size: 24px;
    line-height: 18px;
    color: #c50725;
    font-weight: 600;
    opacity: .7;
}

.night .new-series__number {
    color: #3ed4f7;
}

.new-series__type {
    color: #a9a9a9;
}

.new-series__nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.new-anime #dle-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

.new-anime__link {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    max-width: 218px;
    min-width: 218px;
    width: calc((100% - 75px) / 6);
}

.new-anime__item {
    position: relative;
    width: 100%;
    height: calc(100vw / 6 + 85px);
    max-height: 330px;
}

.new-anime__series {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fff;
    color: #c50725;
    border-radius: 5px;
    padding: 5px;
    font-weight: 500;
    box-shadow: 0 0 3px #33333338;
    font-weight: 600;
}

.new-anime__rating {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 10px;
    right: 10px;
    gap: 2px;
    font-weight: 600;
}

.new-anime__rating span {
    color: #c50725;
    border-radius: 5px;
    padding: 5px;
    font-weight: 600;
    background-size: 16px;
    padding-left: 24px;
    box-shadow: 0 0 3px #33333338;
}

.new-anime__rate1 {
    background: #fff url(../images/logoani_red.svg) 4px 4px no-repeat;
}

.new-anime__rate2 {
    background: #fff url(../images/shiki.svg) 4px 4px no-repeat;
}

.new-anime__link .kodik_poster {
    width: 100%;
    height: 100%;
    transition: all 0.3s;
    border-radius: 5px;
    position: absolute;
    left: 0;
    top: 0;
    object-fit: cover;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 5px 15px;
}

.new-anime__title {
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    text-align: center;
    font-weight: 600;
}

.pretimer .lt {
    text-align: center;
}

.pretimer .rt {
    text-align: center;
}

.new-anime__link:hover .kodik_poster {
    --webkit-filter: saturate(200%);
    filter: saturate(200%);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 20px auto;
    flex-wrap: wrap;
    width: 100%;
}

.pagination span,
.pagination a {
    display: block;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    color: #606060;
    font-weight: 500;
    text-align: center;
    line-height: 35px;
}

.pagination span {
    background: #c50725;
    color: #fff;
}

.night .pagination span {
    background: #15485c;
}

.pagination a:hover {
    background: #606060;
    color: #fff;
}

.night .pagination a:hover {
    background: #0000007d;
}

.pagination span.nav_ext {
    background: none;
    color: #525252;
}

#dle-comments-list ol {
    list-style: none;
}

.comments {
    display: flex;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.comments__item {
    display: flex;
    gap: 20px;
    width: calc(50% - 10px);
    padding: 12px 0;
}

.mass_comments_action {
    display: none;
}

.full-comments .comments__item {
    width: 100%;
}

.comments__avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comments__image {
    width: 70px;
    height: 70px;
    border-radius: 5px;
    margin-bottom: 5px;
    object-fit: cover;
}

.comments__badge {
    background-color: #3f90d6;
    color: #fff;
    border-radius: 5px;
    font-size: 10px;
    width: 100%;
    text-align: center;
    height: 20px;
    line-height: 20px;
}

.comments__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.comments__name {
    display: flex;
    gap: 10px;
    align-items: center;
}

.comments__icon {
    width: 20px;
    height: 20px;
}

.comments__username {
    font-size: 12px;
    font-weight: bold;
    margin: 0 0 0 10px;
    color: #f34f00;
}

.night .comments__username {
    color: #207b94;
    font-weight: bold;
    margin: 0 0 0 10px;
    font-size: 12px;
}

.comments__count {
    color: #4d4d4d;
    background: #f3d500;
    border-radius: 5px;
    font-size: 12px;
    line-height: 12px;
    padding: 4px 6px;
}

.comments__text {
    background: #daf0f1;
    border-radius: 5px;
    padding: 10px;
    position: relative;
}

.night .comments__text {
    background: #2f4b62;
}

.comments__text::before {
    border: 11px solid transparent;
    border-top: 19px solid #daf0f1;
    border-bottom: 0;
    height: 0;
    width: 0;
    border-top-width: 17px;
    content: '';
    display: block;
    position: absolute;
    left: 1px;
    top: 15px;
    transform-origin: center;
    transform: rotate(92deg) skew(331deg) translateY(17px);
}

.night .comments__text::before {
    border-top: 19px solid #2f4b62;
}

.comments__date {
    font-size: 11px;
    line-height: 16px;
    color: #a9a9a9;
}

.comment-item__controls {
    display: flex;
}

.comment-item__controls-elem {
    margin-right: 10px;
}

.add-comment {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 650px;
    margin: 0 auto;
}

.add-comment textarea {
    border-radius: 10px;
    border: 1px solid #d1d1d1;
    width: 100%;
    font-size: 16px;
    padding: 10px;
    font-family: 'GothamProRegular', sans-serif;
}

#dle-comments-form {
    width: 100%;
    text-align: left;
}

.add-comments-form__btn {
    background: #c50725;
    border: 0;
    color: #fff;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    height: 40px;
    margin-top: 10px;
}

.add-comments-form__btn:hover {
    background: #87081c;
}

.add-comment__fields {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 10px;
}

.add-comment__fields input {
    border-radius: 10px;
    border: 1px solid #d1d1d1;
    width: 100%;
    font-size: 16px;
    padding: 10px;
}

.add-comment__sec-code {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
    align-items: center;
    margin-top: 10px;
}

.add-comment__sec-code input {
    border-radius: 10px;
    border: 1px solid #d1d1d1;
    font-size: 16px;
    padding: 10px;
}

.search-block {
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: center;
}

#fullsearch {
    width: 100%;
}

#searchinput {
    width: 100%;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #d1d1d1;
    font-size: 16px;
}

.search-block__button {
    background: #c50725;
    border: 0;
    color: #fff;
    width: 100%;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.search-block__button:hover {
    background: #87081c;
}

.ui-dialog-titlebar-close {
    background-color: #f9f9f9 !important;
}

.ui-dialog {
    color: #000 !important;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 5px #52525269;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-height: none;
    z-index: 999999;
    max-width: 600px;
}

.ui-dialog-titlebar {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding: 10px 20px;
    border-bottom: 1px solid #f5f5f5;
}

.ui-dialog-content {
    padding: 0 20px;
    font-size: 14px;
}

.ui-button {
    background: #c50725;
    border: 0;
    color: #fff;
    width: 100%;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.ui-button:hover {
    background: #87081c;
}

.ui-dialog-titlebar-close {
    cursor: pointer;
    width: 26px;
    height: 26px;
    background: url(../images/close.svg) no-repeat;
    background-size: contain;
    text-indent: -9999999px;
    padding: 0;
    transition: all .3s;
}

.ui-dialog-titlebar-close:hover {
    background: url(../images/close.svg) no-repeat;
    background-size: contain;
    opacity: .8;
}

.ui-dialog-title {
    font-weight: 500;
}

.ui-widget-content {
    height: auto !important;
    width: 100% !important;
}

#dle-promt-text {
    border: 1px solid #e2e2e2;
    border-radius: 5px;
    font-size: 16px;
    padding: 5px;
    height: 54px !important;
    line-height: 130%;
}

#dle-promt-mail {
    border: 1px solid #e2e2e2;
    border-radius: 5px;
    font-size: 16px;
    padding: 5px;
    height: 32px !important;
}

.ui-dialog-buttonpane {
    padding: 10px 20px;
    border-top: 1px solid #f5f5f5;
}

.ui-dialog-buttonset {
    display: flex;
    gap: 10px;
}

#dle-promt-text.ui-state-error {
    border: 1px solid #c50725;
    box-shadow: inset 0 0 3px #c5072566;
}

.message-info {
    background: #000000;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.category-name {
    width: 100%;
    text-align: center;
}

.page-description {
    background: whitesmoke;
    border-radius: 5px;
    padding: 20px;
}

.night .page-description {
    background: #11212e;
    color: #b1b1b1;
}

.page-description p {
    margin: 10px 0;
    font-size: 14px;
    line-height: 24px;
}

.page-description p:last-child {
    margin-bottom: 0;
}

.full-story-header {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.full-story-header__poster {
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.full-story-header__poster-img {
    width: 260px;
    height: 380px;
    position: relative;
    object-fit: contain;
}

.1full-story-header__poster-img::before {
    content: '';
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60%;
    background: linear-gradient(to top, #000 0%, transparent 100%);
    opacity: 0.8;
    border-radius: 10px;
}

.full-story-header__poster-img img {
    border-radius: 10px;
    width: 100%;
    height: 100%;
}

.full-story-header__rating {
    position: absolute;
    bottom: 20px;
    left: 50%;
    display: flex;
    gap: 20px;
    transform: translateX(-50%);
    z-index: 9;
}

.full-story-header__rating a {
    min-width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: all .3s;
    padding-left: 50px;
    padding-right: 15px;
}

.full-story-header__rating a:hover {
    opacity: .8;
}

.full-story-header__rating a:first-child {
    background: #1e98c4 url(../images/thumb-up.svg) 7px 7px no-repeat;
    background-size: 26px;
}

.full-story-header__rating a:last-child {
    background: #dd5161 url(../images/thumb-down.svg) 7px 7px no-repeat;
    background-size: 26px;
}

.full-story-header__add-fav-button {
    background: #c50725;
    border: 0;
    color: #fff !important;
    width: 100%;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center !important;
}

.full-story-header__add-fav-button:hover {
    background: #87081c;
}

.full-story-header__params {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.full-story-header__title {
    font-size: 20px;
    font-weight: 600;
}

.full-story-header__alt-title {
    color: gray;
}

.full-story-header__categories {
    display: flex;
    gap: 5px;
    list-style-type: none;
    flex-wrap: wrap;
}

.full-story-header__categories a {
    display: inline-block;
    background: whitesmoke;
    color: #333;
    padding: 5px 10px;
    border-radius: 10px;
    transition: all 0.3s;
    text-transform: lowercase;
    font-weight: 600;
}

.night .full-story-header__categories a {
    background: #11212e;
}

.full-story-header__categories a:hover {
    background: #c50725;
    color: #fff;
}

.night .full-story-header__categories a:hover {
    background: #15485c;
}

.full-story-header__table {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.full-story-header__table-row {
    display: flex;
}

.full-story-header__table-row a {
    color: #c50725;
    transition: all 0.3s;
}

.full-story-header__table-row a:hover {
    color: #3883ad;
}

.night .full-story-header__table-row a:hover {
    color: #fff !important;
}

.full-story-header__table-row span:first-child {
    color: #000000;
    min-width: 200px;
    display: inline-block;
}

.night .full-story-header__table-row span:first-child {
    color: #ffffff !important;
    min-width: 200px;
    display: inline-block;
}

.full-story-header__table-series {
    color: #c50725;
    /*font-weight: bold;*/
}

.night .full-story-header__table-series {
    color: #29b7d8;
}

.full-story-header__rates {
    display: flex;
    gap: 5px;
}

.full-story-header__rates span {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 10px;
    width: 250px;
    font-size: 16px;
    padding-left: 32px;
}

.full-story-header__rates span.full-story-header__rate1 {
    background: #f5f5f5 url(../images/shiki.svg) 7px 5px no-repeat;
    background-size: 20px;
    text-align: center;
    margin-top: 10px;
}

.night .full-story-header__rates span.full-story-header__rate1 {
    background-color: #15485c;
}

.full-story-header__rates span.full-story-header__rate2 {
    background: #f5f5f5 url(../images/logoani_red.svg) 7px 8px no-repeat;
    background-size: 20px;
}

.night .full-story-header__rates span.full-story-header__rate2 {
    background-color: #15485c;
}

.full-story-content {
    display: flex;
    gap: 20px;
    margin:0px 0px !important;
}

.full-story-new-series {
    width: 250px;
}

.full-story-new-series .new-series {
    gap: 10px;
}

.full-story-new-series .new-series__block {
    justify-content: space-between;
}

.full-story-new-series .new-series__link {
    width: 100%;
}

.night .dle_emote_list_block {
    background: #11212e;
}

.night .dle_emote_item .svg-icon {
    fill: white;
}

.full-story-new-series .kodik_poster {
    max-width: 44px;
    height: 55px;
    border-radius: 5px;
    display: block;
}

.full-story-new-series .new-series__desc {
    width: auto;
    padding: 5px;
    flex-grow: 1;
}

.full-story-new-series .new-series__title {
    width: 100%;
    max-width: 140px;
}

.full-story-new-series .new-series__num {
    padding: 5px;
    width: 60px;
}

.full-story-new-series .new-series__number {
    font-size: 22px;
    line-height: 22px;
}

.full-story-new-series .new-series__type {
    font-size: 12px;
}

.full-story-player {
    flex-grow: 1;
}

.full-story-player-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.full-story-player-top a {
    color: #c50725;
}

.full-story-player-top a:hover {
    text-decoration: underline;
}

.full-story-player iframe {
    width: calc(100vw - 320px);
    height: calc(100vw - 40px - 270px - 34vw);
    max-width: 1150px;
    max-height: 648px;
}

.full-story-related {
    display: flex;
    flex-direction: column;
    list-style-type: none;
}

.full-story-related li {
    /*display: flex;*/
    width: 100%;
    background: #f5f5f5;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.night .full-story-related li {
    background: #11212e;
}

.full-story-related li:nth-child(2n) {
    background: #fff;
}

.night .full-story-related li:nth-child(2n) {
    background: #162c3f;
}

.full-story-related li:hover {
    background: #ededed;
}

.night .full-story-related li:hover {
    background: #09141c;
}

.full-story-related li:before {
    content: counter(num);
    counter-increment: num;
    width: 40px;
    text-align: center;
    margin-top: -1px;
    color: #c50725;
    font-weight: 600;
    /*position: absolute;*/
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
}

.night .full-story-related li:before {
    color: #207b94;
}

.full-story-related li a:first-child {
    height: 40px;
    line-height: 40px;
    padding-left: 25px;
    flex-grow: 1;
}

.full-story-related li a:last-child {
    width: auto;
}

.full-story-recommend {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.full-story-recommend__link {
    display: flex;
    width: calc((60% - 20px) / 3);
    max-width: 466px;
    gap: 10px;
    background: whitesmoke;
    border-radius: 10px;
    transition: all 0.3s;
    font-size: 15px;
    margin-bottom: 10px;

}

.night .full-story-recommend__link {
    background: #11212e;
}

.full-story-recommend__link:hover {
    background: #ededed;
}

.night .full-story-recommend__link:hover {
    background: #000000;
}

.full-story-recommend__poster {
    width: 90px;
    height: 120px;
    object-fit: contain;
    position: relative;
    max-width: 90px;
    min-width: 90px;
}

.full-story-recommend__poster-overlay {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000094;
    border-radius: 10px;
    transition: all 0.3s;
}

.full-story-recommend__poster-overlay:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: #fff url(../images/play.svg) 13px center no-repeat;
    background-size: 16px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.full-story-recommend__link:hover .full-story-recommend__poster-overlay {
    opacity: 1;
}

.full-story-recommend__poster img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.full-story-recommend__info {
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.full-story-recommend__title {
    font-weight: 500;
    color: #c50725;
}

.night .full-story-recommend__title {
    color: #2caacd;
}

.full-story-recommend__alt-title {
    font-size: 12px;
    color: gray;
}

.night .full-story-recommend__alt-title {
    color: #9d9d9d;
}

.full-story-recommend__rate {
    background: url(../images/shiki.svg) 0 0 no-repeat;
    background-size: 20px;
    padding-left: 24px;
}

.night .full-story-recommend__rate {
    color: #161616;
    filter: invert(1);
}

footer {
    background: #c50725;
    color: #fff;
    border-radius: 5px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    font-size: 14px;
}

.night footer {
    background: #15485c;
}

.footer__top {
    display: flex;
    justify-content: space-between;
}

.footer__menu {
    display: flex;
    gap: 20px;
    list-style-type: none;
}

.footer__menu a {
    color: #fff;
}

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

.footer__bottom {
    display: flex;
}

.footer__social {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style-type: none;
}

.footer__social a {
    display: block;
    width: 25px;
    height: 25px;
    background-size: contain;
}

.footer__social a:hover {
    opacity: 0.7;
}

.social-tg {
    background: url('../images/social-tg.svg') 0 0 no-repeat;
}

.social-discord {
    background: url('../images/social-discord.svg') 0 0 no-repeat;
}

/* player selection */
.tabs-block__select {
    display: flex;
    gap: 10px;
}

.tabs-block__select-item {
    background-color: #f5f5f5;
    border-radius: 5px 5px 0 0;
    color: #334252;
    padding: 10px 15px;
    cursor: pointer;
    transition: all .3s;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    width: calc((100vw - 50px) / 2);
    max-width: 207px;
    text-align: center;
    display: block;
    overflow: hidden;
}

.night .tabs-block__select-item {
    color: #ccc;
}

.tabs-block__select-item:hover,
.tabs-block__select-item.is-active {
    background-color: #c50725;
    color: #ebebeb;
}

.night .tabs-block__select-item:hover,
.tabs-block__select-item.is-active {
    background-color: #03719b;
    color: #ccc;
}

.d-none {
    display: none;
}

.banner__wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.new-series {
    display: none;
}

.new-series.active {
    display: flex;
}

.js-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 20px auto;
    flex-wrap: wrap;
    width: 100%;
}

.js-pagination span {
    display: block;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    color: #606060;
    font-weight: 500;
    text-align: center;
    line-height: 35px;
    cursor: default;
    background: #f5f5f5;
}

.js-pagination span.active {
    background: #c50725;
    color: #fff;
}

.night .js-pagination span.active {
    background: #15485c;
}

.js-pagination span:not(.active):hover {
    background: #606060;
    color: #fff;
    cursor: pointer;
}

/* Поиск lazydev */
.searchpage {
    width: 100%;
}

.box_in {
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: center;
}

.searchtable {
    width: 100%;
}

#fullsearch table {
    width: 100%;
}

#fullsearch .search div {
    width: 100%;
}

#fullsearch .textin,
#fullsearch .bbcodes {
    width: 100% !important;
}

@media (max-width: 1360px) {
    .carousel__item .kodik_poster {
        height: 250px;
    }
}

@media (max-width: 1200px) {
    .full-story-new-series {
        display: none;
    }

    .full-story-player iframe {
        width: calc(100vw - 50px);
        height: calc(100vw - 40px - 42vw);
        max-width: 1150px;
        max-height: 648px;
    }
}

@media (max-width: 1100px) {
    .footer__top {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .footer__menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .new-anime__link {
        min-width: calc((100% - 50px) / 4);
    }

    .new-anime__item {
        height: calc(100vw / 4 + 85px);
    }

    .carousel__item-image-block {
        height: 220px;
    }
}

@media (max-width: 1050px) {
    .rating-emoji .rating-emoji-item {
        width: calc((100% - 25px) / 6);
    }

    header {
        margin-bottom: 20px;
    }

    .header__nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 9;
        height: 100%;
        overflow: scroll;
        z-index: 99;
    }

    .night .header__nav {
        background: #263b4d;
    }

    .header__nav ul {
        flex-direction: column;
        gap: 5px;
    }

    .header__nav ul li {
        background: #c50725;
        padding: 10px;
        margin-left: 0;
        color: #fff;
    }

    .night .header__nav ul li {
        background-color: #263b4d;
    }

    .header__nav ul li a,
    .header__nav ul li span {
        color: #fff !important;
        width: 100%;
        display: block;
    }

    .header__nav ul li ul {
        background: #c50725;
        border-radius: 5px;
        padding: 0;
        display: flex;
        flex-wrap: nowrap;
        gap: 0;
        flex-direction: column;
        width: 100%;
        position: static;
        box-shadow: none;
        margin-bottom: -5px;
        margin-top: 3px;
    }

    .header__nav ul li ul li {
        width: 100%;
        padding-left: 16px;
        border-top: 1px solid #db1d3b;
        border-bottom: 1px solid #8d0c20;
        position: relative;
    }

    .night .header__nav ul li ul li {
        border-color: transparent;
    }

    .header__nav ul li ul li:first-child {
        border-top: none;
    }

    .header__nav ul li ul li:last-child {
        border-bottom: none;
    }

    .header__nav ul li ul li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 7px;
        background: url(../images/play.svg) 0px center no-repeat;
        background-size: contain;
        filter: invert(1);
    }

    .header__nav ul li ul li a {
        padding: 0;
        border-radius: 0;
        color: #fff !important;
    }

    .mobile-menu-button,
    .header__nav ul li.nav__close {
        display: block;
    }

    .header__submenu-button::before {
        width: 10px;
        height: 10px;
        background-size: 10px;
    }

    .search {
        flex-grow: 1;
    }

    .search__input {
        width: 100%;
        height: 40px;
    }

    .carousel__item-image-block {
        height: 260px;
    }

    .full-story-header {
        align-items: center;
        flex-direction: column;
        gap: 20px;
    }

    .full-story-header__title {
        text-align: center;
    }

    .full-story-header__categories {
        justify-content: center;
        margin-top: 5px;
    }

    .header__submenu-button {
        background: #c50725;
        padding: 0;
    }
}

@media (max-width: 970px) {
    .full-story-player-top {
        flex-direction: column-reverse;
        gap: 10px;
    }
}

@media (max-width: 800px) {
    .comments__item {
        width: 100%;
    }

    .full-story-recommend__link {
        width: calc((100% - 25px) / 2);
    }

    .schedule__buttons li {
        width: calc((100% - 5px) / 2);
    }
}

@media (max-width: 720px) {
    header {
        margin-bottom: 30px;
    }

    .new-series {
        gap: 10px;
    }

    .new-series__link {
        width: 100%;
    }

    .new-series__title {
        width: calc(100vw - 200px);
    }

    .new-anime__link {
        min-width: calc((100% - 30px) / 3);
    }

    .new-anime__item {
        height: calc(100vw / 3 + 65px);
    }

    header .search {
        position: absolute;
        top: 65px;
        width: calc(100% - 40px);
    }

    header .logo {
        flex-grow: 1;
    }
}

@media (max-width: 650px) {
    .add-comments-form__btn {
        width: 100%;
    }

    .carousel {
        display: none !important;
    }

    .add-comment__fields,
    .add-comment__sec-code {
        flex-direction: column;
    }

    .add-comment form {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .footer__bottom {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .footer__copyright {
        text-align: center;
    }

    .full-story-recommend__link {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 545px) {
    .full-story-header__rates {
        flex-direction: column;
    }
}

@media (max-width: 500px) {
    .rating-emoji .rating-emoji-item {
        width: calc((100% - 15px) / 4);
    }

    .new-anime__link {
        min-width: calc((100% - 30px) / 2);
    }

    .new-anime__item {
        height: calc(100vw / 2 + 45px);
    }
}

.scs-info {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: #fff;
    color: #c50725;
    border-radius: 5px;
    padding: 5px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 0 3px #33333338;
    text-align: center;
}

.scs-info__small {
    font-size: 12px;
}

/* новый плеер */
.player-wrapper {
    width: 100%;
    height: 600px;
}

@media screen and (max-width: 768px) {
    .player-wrapper {
        height: 450px;
    }
}

@media screen and (max-width: 425px) {
    .player-wrapper {
        height: 350px;
    }
}


.main-extra-block__shedule-days-buttons li.active {
    background: #c50725;
    color: #fff;
    cursor: default;
}

.main-extra-block__shedule-days-buttons li {
    border-radius: 5px;
    cursor: pointer;
    background: #000;
    color: #fff;
    margin-left: 6px;
    width: 55px;
    height: 35px;
    text-align: center;
    line-height: 32px;
}

.main-extra-block__shedule-days-buttons {
    display: flex;
    margin: 10px 0;
    list-style: none;
    justify-content: center;
}

.main-extra-block__shedule-list-container {
    display: none;
    width: 630px;
}

.main-extra-block__shedule-scroll {
    max-height: 790px;
    overflow-y: scroll;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.main-extra-block__shedule-list-item {
    display: flex;
    padding: 10px 0;
    gap: 10px;
}

.calendar__item-img {
    margin-right: 10px;
    width: 75px;
    height: 110px;
    flex-shrink: 0;
}

.main-extra-block__shedule-list-container.active {
    display: block;
    max-width: 100%;
    margin-bottom: 30px;
}

.main-extra-block__shedule-list-container {
    display: none;
    width: 100%;
    margin: 0px 6px;
}

.calendar__item-names {
    padding-top: 0px !important;
}

.calendar__item-name {
    overflow: hidden;
    text-overflow: ellipsis;
    color: #060077;
    text-decoration: none;
    font-size: 15px;
    line-height: 16px;
    -webkit-transition: color 0.1s ease;
    transition: color 0.1s ease;
    white-space: pre-wrap;
}

.calendar__item-english-name {
    background: #f9f9f9;
    border-radius: 4px;
}

.calendar__item-img img {
    display: block;
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #938989;
}

.calendar__item-img img:hover {
    --webkit-filter: saturate(200%);
    filter: saturate(200%);
}

.calendar__item-number {
    opacity: 0.4;
    font-size: 14px;
    line-height: 1.29;
    color: #1f1f1f;
    margin-right: 5px;
    position: absolute;
    top: 5px;
    left: -25px;
}

.main-extra-block__shedule-currdate {
    margin: 20px 0;
    display: block;
    text-align: center;
    font-weight: 600;
}

.m-rating li {
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .main-extra-block__shedule-scroll {
        grid-template-columns: repeat(2, 1fr);
    }

    .full-story-related li a:first-child {
        height: auto;
        line-height: 150%;
        padding-left: 15px;
    }

    .m-rating-area.ignore-select {
        padding-left: 0;
        padding: 15px;
    }

    .m-rating-column {
        height: auto;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        text-align: center;
    }

    .m-rating-rate {
        float: unset;
        margin: auto;
        margin-bottom: 30px;
    }

    .m-rating-value {
        margin: auto;
        margin-bottom: 20px;
        float: unset;
    }

    .m-rating-area {
        background: #fcfcfc;
        height: auto;
    }

    .m-rating {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .m-rating-field {
        margin: 0;
        padding-left: 0;
    }

    .full-story-related li {
        padding: 10px;
        margin-bottom: 12px;
    }

    .full-story-related li a {
        padding-left: 15px !important;
    }
}

@media (max-width: 620px) {
    .main-extra-block__shedule-scroll {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}

@media (max-width:1400px) {
    .telegram {
        text-align: center;
        width: auto;
    }
}

/* =========================================================
   CLS-ФИКСЫ (Пакет 1) — резервирование места под элементы,
   которые подгружаются/инициализируются с задержкой.
   Все резервы — только там, где элемент реально виден.
   ========================================================= */

/* Карусель скрыта (display:none) до инициализации owl.js и появляется
   позже. Её собственный margin:20px "возникает" в этот момент и толкает
   контент вниз (~20px) — это давало почти весь CLS (0.9). Лечим так:
   1) убираем margin у самой карусели (ниже),
   2) переносим стабильный отступ на обёртку (она всегда в потоке),
   3) min-height с запасом, чтобы появление карусели не меняло высоту.
   На <=650px карусель display:none, поэтому резерв и отступ = 0. */
.carousel {
    margin: 0;
}
.carousel-reserve {
    min-height: 380px;
    margin: 20px 0;
}
@media (max-width: 1100px) {
    .carousel-reserve { min-height: 350px; }
}
@media (max-width: 650px) {
    .carousel-reserve { min-height: 0; margin: 0; }
}

/* Рекламные баннеры (970x250 / 728x90) — резерв только на десктопе.
   Сами теги [banner_...] условные: div появляется лишь при наличии
   баннера, поэтому пустых просветов на мобильных не возникает. */
@media (min-width: 651px) {
    .ad-slot--leaderboard { min-height: 250px; }
    .ad-slot--billboard  { min-height: 90px; }
}

/* Резерв высоты под in-content блоки adfinity (17501/17502) УБРАН:
   реклама в эти слоты фактически не подгружается, поэтому резерв
   создавал видимые пустые разрывы (между кадрами и плеером и под
   плеером), не предотвращая при этом никакого сдвига. CLS карточки
   и без него остаётся ~0 (его держит фикс карусели выше). Если в
   будущем реклама в эти слоты начнёт грузиться — вернуть резерв
   под фактическую высоту объявления. */

/* =========================================================
   ФАСАД ВИДЕОПЛЕЕРА (Пакет 2) — постер с кнопкой ▶ вместо
   тяжёлого плеера; реальный плеер грузится по клику.
   Высота 500px совпадает с высотой плеера, чтобы при замене
   по клику не было визуального скачка.
   ========================================================= */
.player-facade {
    position: relative;
    width: 100%;
    height: 500px;
    background: #0b1622 center / cover no-repeat;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.player-facade::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8, 14, 22, .55);
}
.player-facade__btn {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    background: none;
    border: 0;
    padding: 0;
    color: #fff;
    cursor: pointer;
    font: inherit;
}
.player-facade__icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: #c50725;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .45);
    transition: transform .2s, background .2s;
    position: relative;
}
.player-facade__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 13px 0 13px 22px;
    border-color: transparent transparent transparent #fff;
}
.player-facade:hover .player-facade__icon {
    transform: scale(1.08);
    background: #e10b2c;
}
.player-facade__label {
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}
.player-facade iframe,
.player-facade .player-block,
.player-facade .player {
    width: 100%;
}