/*
 * Shared brand/source-of-truth layer for the current theme:
 * - default.css, styles.css, responsive.css keep the stable legacy base
 * - header.css owns header/search/menu presentation
 * - custom.css owns shared brand overrides and archive/detail/footer fixes
 * - home.css, rating.css and watch.css stay page-specific
 * Bundle artifacts were removed to avoid a second parallel CSS source
 */
body,
html {
    background-color: #02080f;
}

@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/fontawesome-webfont.woff2?v=4.3.0') format('woff2'),
         url('../fonts/fontawesome-webfont.woff?v=4.3.0') format('woff');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

.archive-entry-title {
    margin: 0.67em 0;
    font-size: 2em;
}

#header {
    background: #333333;
}
.main-menu {
    background: #2d2d2d;
}
.main-menu .menu-item.active > a,
.main-menu .menu-item a:hover {
    color: #c58560;
}
.title-box .tophot,
.right-content .block .caption {
    color: #da966e;
}
.main-menu .menu-item .sub-menu {
    background-color: #2d2d2d;
}
/* Card/sidebar source of truth moved here from default.css. */
.list-films {
    overflow: hidden;
}

.list-films .item {
    float: left;
    width: 160px;
    overflow: hidden;
    margin: 0 0 0 10px;
    position: relative;
}

.list-films #film_related .item {
    margin: 0 3px;
    float: left;
    width: 160px;
}

.list-films .film-new {
    margin-bottom: 10px;
}

.list-films .loading {
    margin: 20px 0;
    text-align: center;
}

.list-films.film-new .item {
    height: 310px;
    text-align: center;
    font-size: 12px;
}

#film_related .item .label,
.film-new .item .label {
    position: absolute;
    display: inline-block;
    white-space: normal;
    text-align: left;
    line-height: 1.2em;
    padding: 5px;
    font-size: 11px;
    font-weight: normal;
    color: #ffffff;
    top: 5px;
    border-radius: 0 5px 5px 0;
    box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.75);
}

.list-films .item .icon-play,
.list-films .label-quality {
    background: #ffffff7d !important;
}

.list-films .label-quality {
    position: absolute;
    color: #fff;
    font-size: 11px;
    font-weight: normal;
    padding: 4px 3px;
    bottom: 70px;
    left: 0;
    border-radius: 0 5px 5px 0;
}

.list-films .item:hover .icon-play {
    background: #ffffff7d !important;
}

.list-films .item .icon-play {
    height: 50px;
    width: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -25px 0 0 -25px;
    border-radius: 50%;
    opacity: 0;
    transform: scale(1.5);
    transition: all 0.3s ease-in-out;
}

.list-films .item .icon-play:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border: 15px solid transparent;
    border-left: 20px solid #ffffff;
    margin: -15px 0 0 -6px;
}

.list-films .item:hover .icon-play {
    transform: scale(1);
    opacity: 0.8;
}

.list-films .item .img-film,
.list-films.film-hot .item .img-film,
.list-films.film-related .item .img-film {
    display: block;
    height: auto !important;
    object-fit: cover;
}

.list-films .item .img-film {
    width: 160px;
    aspect-ratio: 160 / 214;
}

.list-films.film-hot .item .img-film {
    width: 180px;
    aspect-ratio: 180 / 243;
}

.list-films.film-related .item .img-film {
    width: 175px;
    aspect-ratio: 175 / 222;
}

.list-films.film-related .item {
    width: 175px;
}

.list-film .film-item-ver img.avatar {
    width: 75px;
    aspect-ratio: 75 / 87;
    object-fit: cover;
    float: left;
    margin: 3px 10px 0 0;
    border: 1px solid #efefef;
}

.list-films .label-quality:after {
    content: "";
    border: 10px solid transparent;
    border-left: 10px solid #ffffff7d !important;
    position: absolute;
    bottom: -8px;
    left: 0;
}

#film_hot .item .label,
#film_related .item .label,
.film-new .item .label {
    background: #a3765d;
    border-bottom: 2px solid #96674f;
}

.list-films.film-new .item .name {
    margin: 0;
    color: #fff;
    font-weight: normal;
    height: 40px;
    background: #181818;
    padding: 5px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.list-films.film-new .item .name-real {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: none;
}

.list-films.film-new .item .name:hover {
    color: #c8c8ca;
}

.list-films.film-hot {
    margin-bottom: 30px;
    overflow: hidden;
}

#film_hot {
    position: relative;
    padding-right: 5px;
    height: 265px;
    overflow: hidden;
}

#film_hot .item {
    margin: 0 10px 10px;
    position: relative;
    width: 175px;
    float: left;
    height: 256px;
}

#film_hot .owl-item .item {
    height: auto;
}

#film_related {
    margin: 0 0 20px;
    height: 225px;
    overflow: hidden;
}

#film_hot .item .label {
    position: absolute;
    padding: 5px;
    font-size: 11px;
    color: #ffffff;
    top: 5px;
    z-index: 2;
    font-weight: normal;
    border-radius: 0 5px 5px 0;
}

.list-films.film-hot .item:first-child {
    margin-left: 0;
}

.list-films .item a {
    color: #ffffff;
}

.list-films .item a .title:hover {
    color: #c8c8ca;
}

.list-films.film-hot .item:hover img {
    transform: scale(1.2);
}

.list-films.film-hot .item img {
    transition: all 0.3s ease-in-out;
}

.list-films.film-related .item .text,
.list-films.film-hot .item .text {
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    text-align: center;
    color: #ffffff;
    padding: 8px;
    font-size: 14px;
    font-family: 'roboto';
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.list-film .film-item-ver {
    overflow: hidden;
    margin: 5px 0 0 5px;
}

.list-film .film-item-ver .name {
    color: #fff;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 5px;
}

.list-film .film-item-ver .name a {
    color: #fff;
}

.list-film .film-item-ver:hover .name {
    color: #da966e;
}

.list-film .film-item-ver .view,
.list-film .film-item-ver .real-name {
    font-size: 12px;
    color: #bababa;
}

.list-film li:nth-child(even) {
    background: rgb(24 24 24);
}

.title-box .tab.active,
.title-box .tab:hover {
    color: #da966e;
    border-bottom: 2px solid #907863;
}

.most-view .list-film .item {
    position: relative;
    padding: 5px 0 5px 35px;
}

.most-view .list-film .item:first-child {
    border-top: none;
}

.most-view .list-film .item .number-rank {
    background: #c58560;
    color: #fff;
    font-weight: bold;
    left: 5px;
    top: 17px;
    width: 23px;
    height: 23px;
    line-height: 23px;
    text-align: center;
    font-size: 13px;
    border-radius: 15px;
}

.most-view .list-film .item a {
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
}

.most-view .list-film .item .count_view {
    color: #bababa;
    font-size: 12px;
    margin: 3px 0 0;
    font-style: italic;
}

.most-view .tabs .tab {
    width: 33.33%;
    padding: 8px 0;
    float: left;
    border-radius: 0;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
}

.most-view .tabs .tab:hover {
    color: #ffffff;
    background: #333;
}

.most-view .tabs .tab.active {
    background-color: #5d5d5d;
}

.right-content .most-view .fa-play {
    font-size: 9px;
    color: #0072bd;
    margin: 0 2px 0 0;
    position: absolute;
    left: 0;
    top: 10px;
}
.archive-intro {
    margin: 0 0 18px;
    padding: 16px 18px;
    background: #151515;
    border-left: 3px solid #a8775a;
}

.archive-intro__title {
    margin: 0 0 8px;
    color: #efefef;
    font-family: 'Roboto Condensed', 'Roboto', Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
}

.archive-intro__description {
    margin: 0;
    color: #c8c8c8;
    font-size: 14px;
    line-height: 1.75;
}

.rating-empty {
    color: #c9ccd1;
    font-size: 12px;
    font-style: normal;
    letter-spacing: 0.01em;
}

/* Detail-page and sidebar overrides live here; default.css keeps only neutral legacy layout. */
.breadcrumbs {
    align-items: center;
    background: #181818;
    border: 0;
    border-radius: 3px;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    margin: 0 0 14px;
    overflow: visible;
    padding: 14px 18px;
}

.left-content .breadcrumbs {
    border-bottom: 0;
    padding: 14px 18px;
}

.breadcrumbs li,
.breadcrumbs .active {
    align-items: center;
    color: #cfcfcf;
    display: inline-flex;
    float: none;
    list-style: none;
    margin: 0;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    position: relative;
}

.breadcrumbs li + li::before {
    color: #8d8d8d;
    content: "/";
    flex: 0 0 auto;
    line-height: 1;
    margin: 0 10px;
}

.breadcrumbs a,
.breadcrumbs h1,
.breadcrumbs span {
    background: transparent;
    display: inline-block;
    float: none;
    margin: 0;
    min-width: 0;
    padding: 0;
    position: relative;
}

.breadcrumbs a {
    align-items: center;
    color: #ffffff;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    max-width: 100%;
    text-decoration: none;
    text-transform: uppercase;
}

.breadcrumbs .active a,
.breadcrumbs .active span {
    color: #d6d6d6;
}

.breadcrumbs span,
.breadcrumbs h1 {
    line-height: 1.35;
    max-width: min(72vw, 720px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.breadcrumbs a:after,
.breadcrumbs span:after {
    content: none;
    display: none;
}

.breadcrumbs a.active,
.breadcrumbs a:hover,
.breadcrumbs a:hover:after {
    background: transparent;
    color: #da966e;
    text-decoration: none;
}

@media (max-width: 479px) {
    .breadcrumbs {
        margin-bottom: 10px;
        padding: 12px;
    }

    .breadcrumbs li + li::before {
        margin: 0 8px;
    }

    .breadcrumbs span,
    .breadcrumbs h1 {
        max-width: calc(100vw - 116px);
    }
}
.detail-page .breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 16px;
    padding: 12px 16px;
    border-bottom: 0;
}

.detail-page .breadcrumbs li {
    list-style: none;
    float: none;
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.detail-page .breadcrumbs li + li::before {
    content: "/";
    color: #8d8d8d;
    margin-right: 10px;
}

.detail-page .breadcrumbs a,
.detail-page .breadcrumbs .active {
    float: none;
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

.detail-page .breadcrumbs a:after,
.detail-page .breadcrumbs span:after {
    content: none;
    display: none;
}
#page-info .blockbody .title {
    color: #ff9658;
}
.detail-page #page-info .blockbody .info {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.detail-page .poster .detail-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    background: transparent;
    padding: 0;
    margin: 0;
    text-align: initial;
}

.detail-page .poster .detail-action-buttons li {
    display: block;
    width: 100%;
}

.detail-page .poster .detail-action-buttons .btn-see {
    width: 100%;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    font-weight: 700;
    border: 0;
    border-radius: 0;
    box-sizing: border-box;
}

.detail-page .poster .detail-action-buttons .btn-disabled {
    background: #4b4b4b;
    color: #d0d0d0;
    cursor: not-allowed;
    pointer-events: none;
}

.detail-page #page-info .blockbody .poster {
    align-self: stretch;
    float: none;
    flex: 0 0 45%;
    border-radius: 5px;
    overflow: hidden;
    width: 45%;
    margin: 0 10px 0 0;
}

.detail-page .poster .adspruce-streamlink {
    display: block;
    height: 100%;
}

.detail-page #page-info .blockbody .text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.detail-page #page-info .blockbody .poster img {
    display: block;
    height: 100%;
    max-height: none;
    object-fit: cover;
    width: 100%;
}

.detail-page .btn-groups {
    background: transparent;
    float: none;
    margin: 12px 0 0;
    padding: 0;
    width: 100%;
}

.detail-page .btn-groups .box-btn,
.detail-page .btn-groups > .clear {
    display: none;
}

.detail-page .btn-groups .col {
    float: none;
    margin: 0;
    width: 100%;
}

.detail-page .btn-groups .col .box-rating {
    margin-top: 0;
}

.detail-page .dinfo {
    flex: 1 1 auto;
}

.detail-page #page-info .dinfo dd.meta-expand {
    display: block;
    overflow: hidden;
}

.detail-page #page-info .dinfo dd.meta-expand--director {
    min-height: 26px;
}

.detail-page #page-info .dinfo dd.meta-expand--actors {
    min-height: 52px;
}

.detail-page .meta-expand__content {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.detail-page .meta-expand.is-expanded .meta-expand__content {
    display: block;
    overflow: visible;
}

.detail-page .meta-expand__toggle {
    display: none;
    background: transparent;
    border: 0;
    color: #da966e;
    cursor: pointer;
    font-size: 11px;
    line-height: 1.2;
    margin-top: 2px;
    padding: 0;
}

.detail-page .meta-expand.has-toggle .meta-expand__toggle {
    display: inline-block;
}

.btn-source-link {
    background: #d8ab47;
    color: #111111;
}

.btn-source-link:hover {
    background: #e7b85b;
    color: #111111;
}

.btn-stream-link {
    background: #b93d33;
    color: #ffffff;
}
.dinfo .film-status {
}
#page-info .latest-episode > a:hover,
.list-episode > a:hover,
.list-episode > a.current,
ul.server-backup li span.active,
ul.server-backup li span:hover {
    background: #c58560;
}

#player-video .details .name h1 a,
#player-video .details .name span {
    color: #da966e;
}
.film-note {
    border: 1px solid #e8a568;
    background: #181818;
}
#player-video .bottom-content {
    background: #181818;
}
.mp-tips {
    color: #fff;
}
#suggestions ul.autocomplete-list li span,
#suggestions ul.autocomplete-list li strong,
#suggestions ul.autocomplete-list li.last a {
    color: #da966e;
}
.most-view .list-film .item a:hover,
.list-film .film-item-ver .name a:hover {
    color: #da966e;
}
.most-view .tabs .tab:hover {
    background: #333;
}
#footer {
    color: #d7d7d7;
    background: #171717;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 12px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
#footer .info {
    background: #2f2f2f;
}
#footer .container {
    display: flex;
    align-items: stretch;
    gap: 28px;
}
#footer .desc {
    float: none;
    flex: 1 1 auto;
    max-width: 720px;
    padding: 12px 0 14px;
    width: auto;
}
#footer .desc p {
    margin: 0 0 6px;
}
#footer .desc,
#footer .desc a {
    color: #f1f1f1;
}
#footer .desc b,
#footer .desc strong {
    font-weight: 700;
}
#footer .info {
    float: none;
    display: flex;
    gap: 26px;
    width: 260px;
    padding: 18px 20px;
    box-sizing: border-box;
}
#footer .info .column {
    float: none;
    width: 50%;
}
#footer .info .column ul {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}
#footer .info .column ul li {
    list-style: none;
    margin: 0 0 4px;
}
#footer .info a {
    color: #ededed;
}
#footer .info .heading {
    color: #ffffff;
    font-weight: 700;
}
.most-view .list-film .item .count_view {
    white-space: nowrap;
}
@media (max-width: 979px) {
    #footer .container {
        display: block;
    }

    #footer .desc {
        max-width: none;
        padding-right: 0;
    }

    #footer .info {
        display: flex;
        gap: 18px;
        margin-top: 12px;
        width: 100%;
    }
}

.top-star {
    --rating-percent: 0%;
    display: inline-block;
    position: relative;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 1px;
    min-height: 12px;
}

.top-star::before,
.top-star::after {
    content: "\f005\f005\f005\f005\f005";
    font-family: FontAwesome;
    white-space: nowrap;
}

.top-star::before {
    color: rgba(255, 255, 255, 0.22);
}

.top-star::after {
    color: #f3bc2a;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: var(--rating-percent);
}


@media (min-width: 250px) and (max-width: 979px) {
    .archive-intro {
        margin-bottom: 14px;
        padding: 14px;
    }

    .archive-intro__title {
        font-size: 22px;
    }

    #header .logo {
        display: block;
        text-align: center;
    }
    #header .logo img {
        width: 120px;
        height: 30px !important;
        margin-bottom: 0 !important;
    }

    .detail-page #page-info .blockbody .info {
        display: block;
    }

    .detail-page #page-info .blockbody .poster {
        float: none;
        display: block;
        flex: none;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 14px;
    }

    .detail-page #page-info .blockbody .text {
        display: block;
    }

    .detail-page #page-info .blockbody .poster img {
        width: 100%;
        height: auto;
        max-height: none;
    }

    .detail-page .poster .detail-action-buttons {
        left: 0;
        right: 0;
        bottom: 0;
        gap: 4px;
    }

    .detail-page .poster .detail-action-buttons .btn-see {
        padding: 8px 10px;
        font-size: 14px;
    }

    .detail-page .btn-groups {
        margin-top: 12px;
    }
}

body .seo-heading {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body .deskContent {
    display: block !important;
}

body .phoneContent {
    display: none !important;
}

@media (max-width: 479px) {
    body .deskContent {
        display: none !important;
    }

    body .phoneContent {
        display: block !important;
    }
}

.home-brand-points {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 18px;
}

.home-brand-point,
.home-crawl-surface__block,
.trust-page-copy {
    background: linear-gradient(180deg, rgba(25, 25, 25, 0.96), rgba(18, 18, 18, 0.96));
    border: 1px solid #252525;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.home-brand-point {
    padding: 16px 18px;
}

.home-brand-point__title,
.home-crawl-surface__block h2,
.trust-page-copy h2 {
    color: #f1f1f1;
    font-size: 22px;
    line-height: 1.2;
    margin: 0 0 8px;
}

.home-brand-point__description,
.home-crawl-surface__block p,
.trust-page-copy p,
.trust-page-copy li {
    color: #c9c9c9;
    font-size: 14px;
    line-height: 1.75;
}

.home-crawl-surface {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    margin: 0 0 22px;
}

.home-crawl-surface__block {
    padding: 18px;
}

.home-fresh-links,
.home-hub-group ul,
.trust-page-copy ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-fresh-links {
    columns: 2;
    column-gap: 20px;
}

.home-fresh-links li,
.home-hub-group li {
    break-inside: avoid;
    margin: 0 0 8px;
}

.home-fresh-links a,
.home-hub-group a,
.footer-mini-note a,
.trust-page-copy a {
    color: #f3bc2a;
}

.home-fresh-links span {
    color: #8d8d8d;
    display: inline-block;
    font-size: 12px;
    margin-left: 6px;
}

.home-hub-groups {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-hub-group h3 {
    color: #ffffff;
    font-size: 16px;
    margin: 0 0 8px;
}

.trust-page-copy {
    margin-top: 14px;
    padding: 18px 20px;
}

.trust-page-copy ul {
    margin-bottom: 14px;
}

.trust-page-copy li {
    padding-left: 16px;
    position: relative;
}

.trust-page-copy li::before {
    color: #f3bc2a;
    content: "\2022";
    left: 0;
    position: absolute;
    top: 0;
}

.footer-mini-note {
    margin: 10px 0 0;
}

@media (max-width: 979px) {
    .home-brand-points,
    .home-crawl-surface,
    .home-hub-groups {
        grid-template-columns: 1fr;
    }

    .home-fresh-links {
        columns: 1;
    }

    .home-brand-point,
    .home-crawl-surface__block,
    .trust-page-copy {
        padding: 14px;
    }

    .home-brand-point__title,
    .home-crawl-surface__block h2,
    .trust-page-copy h2 {
        font-size: 20px;
    }
}

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

.detail-page .schema-review-only {
    display: none;
}

#footer {
    background: #07111b;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    color: #93a0ae;
    font-family: Arial, Tahoma, sans-serif;
    font-size: 14px;
    line-height: 1.8;
}

#footer .container {
    display: block;
    padding: 18px 16px 20px;
    box-sizing: border-box;
}

#footer .info,
#footer .desc {
    display: none;
}

#footer .footer-simple-copy {
    max-width: none;
}

#footer .footer-simple-copy p {
    color: #98a7b7;
    margin: 0 0 6px;
}

#footer .footer-simple-copy a {
    color: #ffffff;
    font-weight: 700;
}

@media (max-width: 979px) {
    #footer .container {
        padding: 14px 12px 16px;
    }

    #footer .footer-simple-copy p {
        font-size: 13px;
        line-height: 1.75;
    }
}
