body,
html {
    background-color: #02080f;
}
#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;
}
.list-films .item .icon-play,
.list-films .label-quality {
    background: #522e75;
}
.list-films .label-quality:after {
    border-left: 10px solid #522e75;
}
#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 {
    background: #181818;
}
.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 .number-rank {
    background: #c58560;
}
.breadcrumbs {
    background: #181818;
}
#page-info .blockbody .title {
    color: #ff9658;
}
.btn-download-link {
}
.btn-stream-link {
}
.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: #848484;
    background: #2d2d2d;
}
#footer .info {
    background: #353535;
}


@media (min-width: 250px) and (max-width: 979px) {
    #header .logo {
        display: block;
        text-align: center;
    }
    #header .logo img {
        width: 120px;
        height: 30px !important;
        margin-bottom: 0 !important;
    }
}

.server-episode-block {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #da843d;
}

/* Home layout: wider content and movie-card sections */
body.home .container {
    width: 100%;
    max-width: 1300px;
    box-sizing: border-box;
}

body.home #content .main-content > .container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    column-gap: 24px;
}

body.home #content .main-content > .container > .clear {
    flex-basis: 100%;
}

body.home #content .main-content > .container > .list-films.film-hot {
    flex: 0 0 100%;
    width: 100%;
}

body.home #content .main-content > .container > .left-content {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    float: none;
    margin: 0 0 24px;
}

body.home #content .main-content > .container > .right-content {
    flex: 0 0 320px;
    width: 320px;
    float: none;
}

body.home .list-films.film-new {
    clear: both;
    margin: 0 0 30px;
    padding: 18px;
    border: 1px solid rgba(218, 150, 110, 0.12);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(18, 24, 33, 0.72), rgba(5, 10, 16, 0.64));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

body.home .list-films.film-hot {
    margin: 34px 0 30px;
    padding: 18px;
    border: 1px solid rgba(218, 150, 110, 0.12);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(18, 24, 33, 0.58), rgba(5, 10, 16, 0.42));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

body.home .list-films.film-hot .title-box {
    display: flex;
    align-items: center;
    margin: 0 0 16px;
    padding: 0 0 10px;
    border-bottom: 1px solid rgba(218, 150, 110, 0.22);
}

body.home .list-films.film-hot .title-box .tophot {
    position: relative;
    padding: 0;
    color: #f0aa7d;
    font-family: Roboto, Arial, Tahoma, sans-serif;
    font-size: 22px;
    line-height: 1.25;
}

body.home .list-films.film-hot .title-box .tophot:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -11px;
    width: 88px;
    height: 2px;
    border-radius: 2px;
    background: #da966e;
}

body.home #film_hot {
    height: auto;
    padding-right: 0;
}

body.home #film_hot .item {
    width: auto;
    height: auto;
    margin: 0 8px;
    border-radius: 8px;
    overflow: hidden;
    background: #101720;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

body.home #film_hot .item > a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: #071019;
}

body.home #film_hot .item .img-film {
    display: block;
    width: 100%;
    object-fit: cover;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

body.home #film_hot .item:hover .img-film {
    transform: scale(1.04);
    opacity: 0.9;
}

body.home #film_hot .item .text {
    left: 0;
    right: 0;
    bottom: 0;
    box-sizing: border-box;
    padding: 10px;
    background: linear-gradient(180deg, rgba(4, 8, 13, 0), rgba(4, 8, 13, 0.96) 28%, rgba(4, 8, 13, 0.98));
}

body.home #film_hot .item .label,
body.home #film_hot .item .label1 {
    z-index: 3;
    border: 0;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.32);
    font-size: 11px;
    font-weight: 600;
}

body.home #film_hot .item .label {
    background: linear-gradient(135deg, #da966e, #b8663d);
}

body.home #film_hot .item .label1 {
    background: linear-gradient(135deg, #ff4d35, #c9180a);
}

body.home .list-films.film-new .title-box {
    display: flex;
    align-items: center;
    margin: 0 0 16px;
    padding: 0 0 10px;
    border-bottom: 1px solid rgba(218, 150, 110, 0.22);
}

body.home .list-films.film-new .title-box .tab {
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
    color: #f0aa7d;
    font-family: Roboto, Arial, Tahoma, sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.25;
    text-transform: uppercase;
}

body.home .list-films.film-new .title-box .tab:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -11px;
    width: 88px;
    height: 2px;
    border-radius: 2px;
    background: #da966e;
}

body.home .list-films.film-new ul.film-moi {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
}

body.home .list-films.film-new .item,
body.home .list-films.film-new .item.no-margin-left {
    float: none;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    border-radius: 8px;
    background: #101720;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.home .list-films.film-new .item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.32);
}

body.home .list-films.film-new .item > a {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: #071019;
}

body.home .list-films.film-new .item .img-film {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

body.home .list-films.film-new .item:hover .img-film {
    transform: scale(1.04);
    opacity: 0.88;
}

body.home .film-new .item .label {
    top: 8px;
    left: 0;
    z-index: 3;
    max-width: 86%;
    margin: 0;
    padding: 5px 8px;
    border: 0;
    border-radius: 0 6px 6px 0;
    background: linear-gradient(135deg, #da966e, #b8663d);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.32);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
}

body.home .film-new .item .name {
    left: 0;
    right: 0;
    bottom: 0;
    box-sizing: border-box;
    height: auto;
    min-height: 56px;
    padding: 9px 10px 10px;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(180deg, rgba(4, 8, 13, 0), rgba(4, 8, 13, 0.95) 20%, rgba(4, 8, 13, 0.98));
    opacity: 1;
    white-space: normal;
}

body.home h3.name-title {
    display: -webkit-box;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

body.home span.original-title-home {
    display: block;
    overflow: hidden;
    margin-top: 3px;
    color: #d5dae3;
    font-size: 11px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.home .list-films .item .icon-play {
    background: rgba(218, 150, 110, 0.9);
}

body.home .list-films .item:hover .icon-play {
    opacity: 1;
}

@media (max-width: 1199px) and (min-width: 980px) {
    body.home .container {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    body.home #content .main-content > .container {
        column-gap: 18px;
    }

    body.home #content .main-content > .container > .right-content {
        flex-basis: 300px;
        width: 300px;
    }

    body.home .list-films.film-new ul.film-moi {
        gap: 12px;
    }
}

@media (max-width: 979px) {
    body.home #content .main-content > .container {
        display: block;
    }

    body.home #content .main-content > .container > .left-content {
        width: 100%;
    }

    body.home .list-films.film-new {
        padding: 12px 8px;
        margin-bottom: 20px;
    }

    body.home .list-films.film-new ul.film-moi {
        display: block;
    }
}

/* Movie info page refresh */
body.single-ophim #content .main-content > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: flex-start;
    gap: 14px 24px;
    width: 100%;
    max-width: 1300px;
    box-sizing: border-box;
}

body.single-ophim #content .main-content > .container > .breadcrumb {
    grid-column: 1 / -1;
}

body.single-ophim #content .main-content > .container > .clear {
    display: none;
}

body.single-ophim #content .main-content > .container > .left-content {
    grid-column: 1;
    min-width: 0;
    width: 100%;
    float: none;
    margin: 0 0 24px;
}

body.single-ophim #content .main-content > .container > .right-content {
    grid-column: 2;
    width: 320px;
    float: none;
}

body.single-ophim #content .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: 16px 0 18px;
    padding: 10px 14px;
    overflow: hidden;
    list-style: none;
    border: 1px solid rgba(218, 150, 110, 0.24);
    border-left: 3px solid #d9915c;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(15, 19, 26, 0.96), rgba(5, 9, 14, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 30px rgba(0, 0, 0, 0.22);
}

body.single-ophim #content .breadcrumb > li {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    margin: 0;
    color: #c6ceda;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

body.single-ophim #content .breadcrumb > li + li::before {
    content: "\203A";
    margin: 0 7px 0 0;
    color: #d9915c;
    font-weight: 700;
    opacity: 0.8;
}

body.single-ophim #content .breadcrumb a {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    color: #f0a66c;
    text-decoration: none;
    transition: color 0.18s ease, opacity 0.18s ease;
}

body.single-ophim #content .breadcrumb a:hover {
    color: #f0a66c;
    opacity: 1;
}

body.single-ophim #content .breadcrumb span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.single-ophim #content .breadcrumb .fa-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-right: 6px;
    border-radius: 50%;
    color: #ff9f58;
    background: rgba(217, 145, 92, 0.14);
    box-shadow: inset 0 0 0 1px rgba(217, 145, 92, 0.2);
}

body.single-ophim #content .breadcrumb > li:last-child {
    color: #ffffff;
    font-weight: 700;
}

body.single-ophim #content .breadcrumb > li:last-child a {
    color: #ffffff;
}

@media (max-width: 767px) {
    body.single-ophim #content .breadcrumb {
        flex-wrap: nowrap;
        gap: 6px;
        margin: 12px 0 14px;
        padding: 9px 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body.single-ophim #content .breadcrumb::-webkit-scrollbar {
        display: none;
    }

    body.single-ophim #content .breadcrumb > li {
        flex: 0 0 auto;
        max-width: 62vw;
        font-size: 12px;
    }

    body.single-ophim #content .breadcrumb > li + li::before {
        margin-right: 6px;
    }
}

body.single-ophim #page-info.left-content {
    width: 100%;
    float: none;
    margin: 0;
}

body.single-ophim #page-info .blockbody {
    overflow: visible;
    padding: 0;
    background: transparent;
}

body.single-ophim #page-info .blockbody .info {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
    border: 1px solid rgba(218, 150, 110, 0.13);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(24, 29, 38, 0.96), rgba(12, 16, 22, 0.96));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

body.single-ophim #page-info .blockbody .poster {
    float: none;
    width: 100%;
    margin: 0;
    border-radius: 7px;
    overflow: hidden;
    background: #071019;
}

body.single-ophim #page-info .poster .adspruce-streamlink {
    position: relative;
    display: block;
    overflow: hidden;
}

body.single-ophim #page-info .poster img:not(.hidden) {
    display: block;
    width: 100%;
    max-height: none;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

body.single-ophim #page-info .poster .play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.76);
    border-radius: 999px;
    background: rgba(8, 12, 18, 0.52);
    color: #fff;
    font-size: 21px;
    line-height: 1;
    text-align: center;
    transform: translate(-50%, -50%);
    transition: background 0.18s ease, transform 0.18s ease;
}

body.single-ophim #page-info .poster .play-button:hover {
    background: rgba(218, 150, 110, 0.9);
    transform: translate(-50%, -50%) scale(1.05);
}

body.single-ophim #page-info .poster .play-button .fa-play {
    display: block;
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: 24px;
    line-height: 1;
    transform: translateX(2px);
}

body.single-ophim #page-info .poster .buttons {
    position: static;
    margin: 0;
    padding: 0;
    background: transparent;
}

body.single-ophim #page-info .poster .buttons li {
    display: block;
    width: 100%;
}

body.single-ophim #page-info .btn-stream-link,
body.single-ophim #page-info .btn-see {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0 0 7px 7px;
    background: linear-gradient(135deg, #ef2861, #d60043);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0;
}

body.single-ophim #page-info .blockbody .text {
    display: flex;
    min-width: 0;
    flex-direction: column;
    color: #d8dde7;
}

body.single-ophim #page-info .blockbody .text h1,
body.single-ophim #page-info .blockbody .text h2 {
    margin: 0;
}

body.single-ophim #page-info .blockbody .title {
    padding: 0;
    margin: 0 0 4px;
    color: #ff9658;
    font: 30px 'UTMCafetaRegular', Roboto, Arial, sans-serif;
    line-height: 1.1;
}

body.single-ophim #page-info .blockbody .real-name {
    margin-bottom: 12px;
    color: #b8c0ce;
    font-size: 13px;
}

body.single-ophim #page-info .dinfo,
body.single-ophim #page-info .slimScrollDiv {
    width: 100%;
}

body.single-ophim #page-info .dinfo .col {
    display: grid;
    grid-template-columns: minmax(92px, 118px) minmax(0, 1fr);
    gap: 7px 10px;
    float: none;
    width: 100%;
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.045);
    color: #d8dde7;
    font-size: 13px;
    line-height: 1.45;
}

body.single-ophim #page-info .dinfo .col dt,
body.single-ophim #page-info .dinfo .col dd {
    float: none;
    min-width: 0;
    margin: 0;
    line-height: 1.45;
}

body.single-ophim #page-info .dinfo dt {
    color: #dce3ee;
    font-weight: 700;
}

body.single-ophim #page-info .dinfo dd {
    color: #f3f5f8;
}

body.single-ophim #page-info .dinfo .col a {
    color: #fff;
}

body.single-ophim #page-info .dinfo .film-status .badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    background: #7f8793;
    color: #fff;
}

body.single-ophim #page-info .btn-groups {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    float: none;
    width: 100%;
    margin: 10px 0 0;
    padding: 12px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.045);
    color: #d8dde7;
}

body.single-ophim #page-info .btn-groups .col,
body.single-ophim #page-info .box-rating {
    float: none;
    width: auto;
    margin: 0;
}

body.single-ophim #page-info .box-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #e7ebf2;
}

body.single-ophim #page-info #div_average {
    color: #e7ebf2;
}

body.single-ophim #page-info .film-note,
body.single-ophim #page-info .cc-warning,
body.single-ophim #page-info .detail .tabs-content,
body.single-ophim #page-info .tags {
    border: 1px solid rgba(218, 150, 110, 0.13);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.045);
}

body.single-ophim #page-info .film-note,
body.single-ophim #page-info .cc-warning {
    margin: 12px 0 0;
    padding: 12px 14px;
    color: #f1f4f8;
    line-height: 1.55;
}

body.single-ophim #page-info .cc-warning {
    border-left: 3px solid #da966e;
}

body.single-ophim #page-info .cc-warning p {
    margin: 0;
}

body.single-ophim #page-info .detail {
    margin-top: 18px;
}

body.single-ophim #page-info .detail .tabs-content {
    padding: 14px;
}

body.single-ophim #page-info .blockbody .heading {
    display: block;
    margin: 0 0 10px;
    color: #f0aa7d;
    font-size: 15px;
    letter-spacing: 0;
}

body.single-ophim #page-info .detail .tab {
    color: #d7dde8;
    line-height: 1.65;
}

body.single-ophim #page-info .tags {
    margin-top: 12px;
    padding: 10px 12px;
}

body.single-ophim #page-info .tags li.caption {
    color: #f0aa7d;
}

body.single-ophim #page-info .tags a {
    display: inline-block;
    margin: 2px 3px 2px 0;
    padding: 4px 7px;
    border-radius: 4px;
    background: rgba(218, 150, 110, 0.12);
    color: #f1f4f8;
    line-height: 1.25;
}

body.single-ophim #page-info .tags a:hover {
    background: rgba(218, 150, 110, 0.28);
    color: #fff;
}

@media (max-width: 1199px) and (min-width: 980px) {
    body.single-ophim #content .main-content > .container {
        grid-template-columns: minmax(0, 1fr) 300px;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        gap: 14px 18px;
    }

    body.single-ophim #content .main-content > .container > .right-content {
        width: 300px;
    }

    body.single-ophim #page-info .blockbody .info {
        grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
    }
}

@media (max-width: 979px) {
    body.single-ophim #content .main-content > .container {
        display: block;
    }

    body.single-ophim #content .main-content > .container > .left-content,
    body.single-ophim #page-info.left-content {
        width: 100%;
    }
}

@media (max-width: 767px) {
    body.single-ophim #page-info .blockbody .info {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    body.single-ophim #page-info .blockbody .poster {
        max-width: 320px;
        margin: 0 auto;
    }

    body.single-ophim #page-info .dinfo .col {
        grid-template-columns: 1fr;
    }

    body.single-ophim #page-info .btn-groups {
        display: block;
    }
}

/* Motchill watch page refresh */
body.single-ophim #box-player {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0 0 12px;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid rgba(218, 150, 110, 0.14);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(10, 15, 22, 0.96), rgba(2, 7, 12, 0.98));
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

body.single-ophim #player.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    height: auto !important;
    padding: 0 !important;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 7px;
    background: #000;
}

body.single-ophim #player.embed-responsive > iframe,
body.single-ophim #player.embed-responsive > video,
body.single-ophim #player.embed-responsive > #jwplayer,
body.single-ophim #player.embed-responsive > #fake_jwplayer,
body.single-ophim #player.embed-responsive > .jwplayer {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

body.single-ophim #player.embed-responsive #videoFrame {
    display: block;
    background: #000;
}

body.single-ophim #player.embed-responsive .motchill-player-message {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #d8dde7;
    font-size: 14px;
    text-align: center;
    background: #000;
}

@supports not (aspect-ratio: 16 / 9) {
    body.single-ophim #player.embed-responsive {
        height: 0 !important;
        padding-bottom: 56.25% !important;
    }
}

body.single-ophim .tip-change-server {
    display: inline-flex;
    align-items: center;
    grid-column: 1;
    justify-self: start;
    gap: 8px;
    width: auto;
    margin: 4px 0 16px;
    padding: 6px;
    border: 1px solid rgba(218, 150, 110, 0.58);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(21, 31, 43, 0.94), rgba(6, 11, 17, 0.96)),
        rgba(0, 0, 0, 0.46);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

body.single-ophim .tip-change-server .server-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 5px;
    color: #f8efe8;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

body.single-ophim .tip-change-server .server-label .fa {
    color: #da966e;
}

body.single-ophim .tip-change-server .server-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

body.single-ophim .tip-change-server .streaming-server {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    min-height: 36px;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    background: linear-gradient(180deg, #2e7ebc, #226397);
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-decoration: none;
    transition: border-color 0.18s ease, filter 0.18s ease, transform 0.18s ease;
}

body.single-ophim .tip-change-server .streaming-server:hover,
body.single-ophim .tip-change-server .streaming-server:focus {
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
    filter: brightness(1.08);
    transform: translateY(-1px);
    text-decoration: none;
}

body.single-ophim .tip-change-server .streaming-server.btn-success {
    background: linear-gradient(180deg, #36b85a, #208a39);
    border-color: rgba(173, 255, 198, 0.32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 18px rgba(32, 138, 57, 0.22);
}

body.single-ophim #player-video.left-content-player {
    grid-column: 1;
    max-width: none;
    min-width: 0;
    width: 100%;
    float: none;
    margin: 0 0 24px;
    padding: 14px;
    box-sizing: border-box;
    border: 1px solid rgba(218, 150, 110, 0.12);
    border-radius: 8px;
    background: rgba(5, 11, 17, 0.72);
}

body.single-ophim #player-video .control-box {
    margin: 0 0 16px;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.045);
}

body.single-ophim #player-video .server-episode-block {
    margin: 0 0 10px;
    color: #f0aa7d;
    font-size: 15px;
    font-weight: 700;
}

body.single-ophim #player-video .episodes .list-episode {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.single-ophim #player-video .list-episode > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 40px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 700;
}

body.single-ophim #player-video .list-episode > a.current,
body.single-ophim #player-video .list-episode > a:hover {
    background: linear-gradient(180deg, #da966e, #c37b52);
    color: #fff;
}

body.single-ophim #player-video .details {
    margin: 12px 0 0;
    padding: 16px;
    border: 1px solid rgba(218, 150, 110, 0.12);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(22, 28, 37, 0.94), rgba(12, 17, 24, 0.94));
}

body.single-ophim #player-video .details .name {
    float: none;
    width: auto;
    margin: 0 0 12px;
}

body.single-ophim #player-video .details .name h1 {
    margin: 0 0 4px;
    color: #ff9658;
    font: 30px 'UTMCafetaRegular', Roboto, Arial, sans-serif;
    line-height: 1.12;
}

body.single-ophim #player-video .details .name h1 a,
body.single-ophim #player-video .details .name span {
    color: #ff9658;
}

body.single-ophim #player-video .details .name h2.real-name {
    margin: 0;
    color: #d8dee9;
    font-size: 14px;
    font-weight: 400;
}

body.single-ophim #player-video .details .name h2.real-name a {
    color: #d8dee9;
}

body.single-ophim #player-video .short-description {
    margin: 10px 0 12px;
    padding: 13px 15px;
    border: 1px solid rgba(218, 150, 110, 0.14);
    border-left: 3px solid #da966e;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.045);
    color: #f1f4f8;
    font-size: 13px;
    line-height: 1.65;
}

body.single-ophim #player-video .short-description a {
    color: #ffd0af;
    font-weight: 700;
}

body.single-ophim #player-video .social-icon {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    float: none;
    margin: 0 0 10px;
}

body.single-ophim #player-video .box-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    float: none;
    width: auto;
    color: #e7ebf2;
}

body.single-ophim #player-video #div_average {
    color: #e7ebf2;
}

body.single-ophim #player-video #comment-tab {
    margin-top: 16px;
}

body.single-ophim #player-video #tabs-facebook {
    overflow: hidden;
    border-radius: 7px;
}

/* Shared related carousel on movie info and watch pages */
body.single-ophim #page-info .list-films.film-hot,
body.single-ophim #player-video .container1 .list-films.film-hot {
    margin: 18px 0 0;
    padding: 14px;
    border: 1px solid rgba(218, 150, 110, 0.12);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(20, 26, 35, 0.95), rgba(8, 13, 20, 0.95));
    overflow: visible;
}

body.single-ophim #page-info .list-films.film-hot .title-box,
body.single-ophim #player-video .container1 .list-films.film-hot .title-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    padding: 0 0 10px;
    border-bottom: 1px solid rgba(218, 150, 110, 0.2);
    color: #f0aa7d;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

body.single-ophim #page-info .list-films.film-hot .title-box a,
body.single-ophim #player-video .container1 .list-films.film-hot .title-box a {
    color: #fff;
}

body.single-ophim #film_related {
    height: auto;
    margin: 0;
    overflow: visible;
}

body.single-ophim #film_related .owl-wrapper-outer {
    border-radius: 8px;
}

body.single-ophim #film_related .owl-wrapper {
    display: block;
}

body.single-ophim .list-films #film_related .item,
body.single-ophim #film_related .item {
    float: none;
    width: calc(100% - 16px);
    height: auto;
    margin: 0 8px;
    box-sizing: border-box;
    border-radius: 8px;
    background: #101720;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

body.single-ophim #film_related .owl-item {
    float: left;
}

body.single-ophim #film_related .item > a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: #071019;
}

body.single-ophim #film_related .item .img-film {
    display: block;
    width: 100%;
    object-fit: cover;
    transition: transform 0.22s ease;
}

body.single-ophim #film_related .item:hover .img-film {
    transform: scale(1.04);
}

body.single-ophim #film_related .item .label {
    position: absolute;
    top: 8px;
    left: 0;
    z-index: 3;
    max-width: calc(100% - 12px);
    padding: 5px 8px;
    border: 0;
    border-radius: 0 6px 6px 0;
    background: linear-gradient(180deg, #c58a67, #a86b4a);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.28);
}

body.single-ophim #film_related .item .text {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 10px 10px;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.82));
}

body.single-ophim #film_related .item .text a {
    display: -webkit-box;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

body.single-ophim #film_related .item .icon-play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    background: rgba(6, 10, 16, 0.48);
    color: #fff;
    margin: 0;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

body.single-ophim #film_related .item:hover .icon-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

body.single-ophim #film_related .owl-controls .owl-buttons div {
    position: absolute;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 64px;
    margin-top: -32px;
    border-radius: 8px;
    background: rgba(7, 12, 18, 0.78);
    color: #fff;
    font-size: 38px;
    opacity: 0.95;
}

body.single-ophim #film_related .owl-controls .owl-prev {
    left: -10px;
}

body.single-ophim #film_related .owl-controls .owl-next {
    right: -10px;
}

body.single-ophim #page-info #film_related:not(.owl-carousel),
body.single-ophim #player-video #film_related:not(.owl-carousel) {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow: hidden;
}

body.single-ophim #page-info #film_related.owl-carousel,
body.single-ophim #player-video #film_related.owl-carousel {
    display: block;
}

body.single-ophim #page-info #film_related:not(.owl-carousel) .item,
body.single-ophim #player-video #film_related:not(.owl-carousel) .item {
    flex: 0 0 calc((100% - 36px) / 4);
    width: calc((100% - 36px) / 4);
    margin: 0;
}

body.single-ophim #page-info #film_related:not(.owl-carousel) .item:nth-child(n+5),
body.single-ophim #player-video #film_related:not(.owl-carousel) .item:nth-child(n+5) {
    display: none;
}

body.single-ophim #page-info #film_related .item > a,
body.single-ophim #player-video #film_related .item > a {
    aspect-ratio: 2 / 3;
}

body.single-ophim #page-info #film_related .item .img-film,
body.single-ophim #player-video #film_related .item .img-film {
    height: 100%;
}

@media (max-width: 979px) {
    body.single-ophim #box-player,
    body.single-ophim #player-video.left-content-player {
        max-width: none;
        width: 100%;
    }

    body.single-ophim .tip-change-server {
        display: flex;
        width: 100%;
        box-sizing: border-box;
    }

    body.single-ophim .tip-change-server .server-actions {
        flex-wrap: wrap;
    }

    body.single-ophim #page-info #film_related:not(.owl-carousel),
    body.single-ophim #player-video #film_related:not(.owl-carousel) {
        gap: 10px;
    }

    body.single-ophim #page-info #film_related:not(.owl-carousel) .item,
    body.single-ophim #player-video #film_related:not(.owl-carousel) .item {
        flex-basis: calc((100% - 30px) / 4);
        width: calc((100% - 30px) / 4);
    }
}

@media (max-width: 767px) {
    body.single-ophim #box-player {
        padding: 6px;
    }

    body.single-ophim #player-video.left-content-player {
        padding: 10px;
    }

    body.single-ophim #player-video .details {
        padding: 12px;
    }

    body.single-ophim #player-video .details .name h1 {
        font-size: 24px;
    }

    body.single-ophim #player-video .list-episode > a {
        min-width: 44px;
        min-height: 44px;
    }

    body.single-ophim .tip-change-server {
        align-items: stretch;
    }

    body.single-ophim .tip-change-server .server-actions {
        flex: 1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.single-ophim .tip-change-server .streaming-server {
        min-width: 0;
        padding-right: 10px;
        padding-left: 10px;
    }

    body.single-ophim #film_related .item {
        margin: 0 5px;
    }

    body.single-ophim #page-info #film_related:not(.owl-carousel),
    body.single-ophim #player-video #film_related:not(.owl-carousel) {
        gap: 8px;
    }

    body.single-ophim #page-info #film_related:not(.owl-carousel) .item,
    body.single-ophim #player-video #film_related:not(.owl-carousel) .item {
        flex-basis: calc((100% - 8px) / 2);
        width: calc((100% - 8px) / 2);
    }

    body.single-ophim #page-info #film_related:not(.owl-carousel) .item:nth-child(n+3),
    body.single-ophim #player-video #film_related:not(.owl-carousel) .item:nth-child(n+3) {
        display: none;
    }

    body.single-ophim #film_related .owl-controls .owl-buttons div {
        width: 36px;
        height: 52px;
        margin-top: -26px;
        font-size: 30px;
    }
}

/* Motchill sidebar refresh */
.right-content .widget-area {
    display: block;
}

.right-content .block {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 12px;
    margin-bottom: 18px;
    border: 1px solid rgba(218, 150, 110, 0.13);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(19, 25, 34, 0.96), rgba(8, 14, 21, 0.96));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.right-content .block .caption {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 28px;
    margin: 0 0 12px;
    padding: 0 0 10px;
    border-bottom: 1px solid rgba(218, 150, 110, 0.22);
    color: #f0aa7d;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.25;
}

.right-content .block .caption:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 54px;
    height: 2px;
    border-radius: 2px;
    background: #da966e;
}

.right-content .block ul.list-film {
    margin: 0;
    padding: 0;
}

.right-content .most-view .list-film .item {
    display: block;
    min-height: 46px;
    margin: 0 0 6px;
    padding: 8px 10px 8px 44px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.025);
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.right-content .most-view .list-film .item:nth-child(even) {
    background: rgba(255, 255, 255, 0.055);
}

.right-content .most-view .list-film .item:hover {
    transform: translateX(2px);
    border-color: rgba(218, 150, 110, 0.24);
    background: rgba(218, 150, 110, 0.11);
}

.right-content .most-view .list-film .item .number-rank {
    left: 10px;
    top: 50%;
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #e7a474, #b86f45);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.28);
    transform: translateY(-50%);
}

.right-content .most-view .list-film .item a {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.right-content .most-view .list-film .item a:hover {
    color: #ffd0af;
}

.right-content .most-view .list-film .item .count_view {
    margin-top: 3px;
    color: #9fa8b8;
    font-size: 11px;
    line-height: 1.25;
}

.right-content .trailer .list-film .film-item-ver {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 7px;
    align-items: start;
    min-height: 84px;
    margin: 0 0 8px;
    padding: 7px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.035);
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.right-content .trailer .list-film .film-item-ver > a {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.right-content .trailer .list-film .film-item-ver:hover {
    transform: translateX(2px);
    border-color: rgba(218, 150, 110, 0.24);
    background: rgba(218, 150, 110, 0.1);
}

.right-content .trailer .list-film .film-item-ver img.avatar {
    float: none;
    width: 58px;
    height: 76px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 5px;
    object-fit: cover;
    background: #111822;
}

.right-content .trailer .list-film .film-item-ver .title {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding-top: 2px;
}

.right-content .trailer .list-film .film-item-ver .name {
    margin: 0 0 4px;
    font-size: 13px;
    line-height: 1.35;
}

.right-content .trailer .list-film .film-item-ver .name a {
    display: -webkit-box;
    overflow: hidden;
    color: #fff;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.right-content .trailer .list-film .film-item-ver:hover .name a {
    color: #ffd0af;
}

.right-content .trailer .list-film .film-item-ver .real-name {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0;
    padding: 3px 8px;
    border: 1px solid rgba(218, 150, 110, 0.18);
    border-radius: 999px;
    background: rgba(218, 150, 110, 0.1);
    color: #f0c2a4;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.right-content .trailer .list-film .film-item-ver .top-star {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    display: inline-flex;
    align-items: center;
    gap: 1px;
    width: fit-content;
    margin: 0;
    padding: 4px 7px;
    border: 1px solid rgba(255, 185, 72, 0.18);
    border-radius: 999px;
    background: rgba(255, 185, 72, 0.1);
    line-height: 1;
}

.right-content .trailer .list-film .film-item-ver .top-star img {
    width: 13px;
    height: 13px;
    margin: 0;
}

/* Responsive movie listings: home, search, archive and taxonomy pages */
body.search #content .main-content > .container,
body.archive #content .main-content > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: flex-start;
    gap: 18px 24px;
    width: 100%;
    max-width: 1300px;
    box-sizing: border-box;
}

body.search #content .main-content > .container > .breadcrumb,
body.archive #content .main-content > .container > .breadcrumb,
body.search #content .main-content > .container > .clear,
body.archive #content .main-content > .container > .clear {
    grid-column: 1 / -1;
}

body.search #content .main-content > .container > .left-content,
body.archive #content .main-content > .container > .left-content {
    grid-column: 1 / 2;
    width: auto;
    min-width: 0;
    float: none;
    margin: 0;
}

body.search #content .main-content > .container > .right-content,
body.archive #content .main-content > .container > .right-content {
    width: 320px;
    float: none;
}

body.search .form-filter,
body.archive .form-filter {
    display: flex;
    grid-column: 1 / 2;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    margin: 0 0 18px;
    padding: 12px;
    border: 1px solid rgba(218, 150, 110, 0.14);
    border-radius: 8px;
    background: rgba(12, 18, 26, 0.9);
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(218, 150, 110, 0.65) rgba(255, 255, 255, 0.08);
}

body.search .form-filter .filter-item,
body.archive .form-filter .filter-item {
    flex: 0 0 auto;
    margin: 0;
}

body.search .form-filter select,
body.archive .form-filter select,
body.search .form-filter input[type="text"],
body.archive .form-filter input[type="text"] {
    min-height: 40px;
    min-width: 145px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    background: #101720;
    color: #e8edf5;
}

body.search .form-filter input[type="submit"],
body.archive .form-filter input[type="submit"],
body.search .form-filter button,
body.archive .form-filter button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, #da966e, #b8663d);
    color: #fff;
    font-weight: 700;
}

body.home .list-films.film-new,
body.search .list-films.film-new,
body.archive .list-films.film-new {
    box-sizing: border-box;
}

body.search .list-films.film-new,
body.archive .list-films.film-new {
    margin: 0 0 24px;
    padding: 18px;
    border: 1px solid rgba(218, 150, 110, 0.12);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(18, 24, 33, 0.72), rgba(5, 10, 16, 0.64));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

body.search .list-films.film-new .title-box,
body.archive .list-films.film-new .title-box {
    display: flex;
    align-items: center;
    margin: 0 0 16px;
    padding: 0 0 10px;
    border-bottom: 1px solid rgba(218, 150, 110, 0.22);
}

body.search .list-films.film-new .title-box .tab,
body.archive .list-films.film-new .title-box .tab {
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
    color: #f0aa7d;
    font-family: Roboto, Arial, Tahoma, sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.25;
    text-transform: uppercase;
}

body.search .list-films.film-new .title-box .tab:after,
body.archive .list-films.film-new .title-box .tab:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -11px;
    width: 88px;
    height: 2px;
    border-radius: 2px;
    background: #da966e;
}

body.search .list-films.film-new > ul,
body.archive .list-films.film-new > ul {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
}

body.search .list-films.film-new .item,
body.search .list-films.film-new .item.no-margin-left,
body.archive .list-films.film-new .item,
body.archive .list-films.film-new .item.no-margin-left {
    float: none;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    border-radius: 8px;
    background: #101720;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.search .list-films.film-new .item:hover,
body.archive .list-films.film-new .item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.32);
}

body.search .list-films.film-new .item > a,
body.archive .list-films.film-new .item > a {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: #071019;
}

body.search .list-films.film-new .item .img-film,
body.archive .list-films.film-new .item .img-film {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

body.search .list-films.film-new .item:hover .img-film,
body.archive .list-films.film-new .item:hover .img-film {
    transform: scale(1.04);
    opacity: 0.88;
}

body.search .film-new .item .label,
body.archive .film-new .item .label {
    top: 8px;
    left: 0;
    z-index: 3;
    max-width: 86%;
    margin: 0;
    padding: 5px 8px;
    border: 0;
    border-radius: 0 6px 6px 0;
    background: linear-gradient(135deg, #da966e, #b8663d);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.32);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
}

body.search .film-new .item .name,
body.archive .film-new .item .name {
    left: 0;
    right: 0;
    bottom: 0;
    box-sizing: border-box;
    height: auto;
    min-height: 56px;
    padding: 9px 10px 10px;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(180deg, rgba(4, 8, 13, 0), rgba(4, 8, 13, 0.95) 20%, rgba(4, 8, 13, 0.98));
    opacity: 1;
    white-space: normal;
}

body.search .film-new h3.name-title,
body.archive .film-new h3.name-title {
    display: -webkit-box;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

body.search .film-new span.original-title-home,
body.archive .film-new span.original-title-home {
    display: block;
    overflow: hidden;
    margin-top: 3px;
    color: #d5dae3;
    font-size: 11px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.search .pagination,
body.archive .pagination {
    clear: both;
    margin: 20px 0 0;
    text-align: center;
}

body.search .pagination a,
body.search .pagination span,
body.archive .pagination a,
body.archive .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    box-sizing: border-box;
    margin: 3px;
    padding: 0 10px;
    border-radius: 6px;
    background: #20252c;
    color: #fff;
    font-weight: 700;
}

body.search .pagination .current,
body.archive .pagination .current,
body.search .pagination a:hover,
body.archive .pagination a:hover {
    background: linear-gradient(135deg, #da966e, #b8663d);
    color: #fff;
}

@media (max-width: 1199px) and (min-width: 980px) {
    body.search #content .main-content > .container,
    body.archive #content .main-content > .container {
        max-width: 100%;
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 18px;
        padding-left: 16px;
        padding-right: 16px;
    }

    body.search #content .main-content > .container > .right-content,
    body.archive #content .main-content > .container > .right-content {
        width: 300px;
    }

    body.search .list-films.film-new > ul,
    body.archive .list-films.film-new > ul {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 979px) {
    body.home .list-films.film-new ul.film-moi,
    body.search .list-films.film-new > ul,
    body.archive .list-films.film-new > ul {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    body.search #content .main-content > .container,
    body.archive #content .main-content > .container {
        display: block;
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    body.search #content .main-content > .container > .left-content,
    body.archive #content .main-content > .container > .left-content,
    body.search #content .main-content > .container > .right-content,
    body.archive #content .main-content > .container > .right-content {
        width: 100%;
    }
}

@media (max-width: 767px) {
    body.home .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    body.home .list-films.film-new,
    body.search .list-films.film-new,
    body.archive .list-films.film-new {
        max-width: 520px;
        margin: 14px auto 18px;
        padding: 10px 6px 8px;
        border-radius: 0;
        border-color: rgba(218, 150, 110, 0.22);
        background: #02070c;
        box-shadow: none;
    }

    body.home .list-films.film-new .title-box,
    body.search .list-films.film-new .title-box,
    body.archive .list-films.film-new .title-box {
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    body.home .list-films.film-new .title-box .tab,
    body.search .list-films.film-new .title-box .tab,
    body.archive .list-films.film-new .title-box .tab {
        font-size: 16px;
        line-height: 1.25;
    }

    body.home .list-films.film-new .title-box .tab:after,
    body.search .list-films.film-new .title-box .tab:after,
    body.archive .list-films.film-new .title-box .tab:after {
        bottom: -9px;
        width: 58px;
    }

    body.home .list-films.film-new ul.film-moi,
    body.search .list-films.film-new > ul,
    body.archive .list-films.film-new > ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    body.home .list-films.film-new .item,
    body.home .list-films.film-new .item.no-margin-left,
    body.search .list-films.film-new .item,
    body.search .list-films.film-new .item.no-margin-left,
    body.archive .list-films.film-new .item,
    body.archive .list-films.film-new .item.no-margin-left {
        width: 100% !important;
        margin: 0 !important;
        border-radius: 0;
        background: #071019;
        box-shadow: none;
        transform: none;
    }

    body.home .list-films.film-new .item > a,
    body.search .list-films.film-new .item > a,
    body.archive .list-films.film-new .item > a {
        border-radius: 0;
    }

    body.home .film-new .item .label,
    body.search .film-new .item .label,
    body.archive .film-new .item .label {
        top: 4px;
        padding: 3px 5px;
        border-radius: 0 4px 4px 0;
        font-size: 9px;
        line-height: 1.2;
    }

    body.home .film-new .item .name,
    body.search .film-new .item .name,
    body.archive .film-new .item .name {
        min-height: 34px;
        padding: 14px 5px 5px;
        border-radius: 0;
        text-align: center;
    }

    body.home h3.name-title,
    body.search .film-new h3.name-title,
    body.archive .film-new h3.name-title {
        font-size: 10px;
        line-height: 1.25;
        text-align: center;
    }

    body.home span.original-title-home,
    body.search .film-new span.original-title-home,
    body.archive .film-new span.original-title-home {
        margin-top: 1px;
        font-size: 8px;
        line-height: 1.2;
        text-align: center;
    }

    body.search .form-filter,
    body.archive .form-filter {
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        padding: 10px;
        border-radius: 0;
    }

    body.search .form-filter .filter-item,
    body.archive .form-filter .filter-item {
        width: auto;
    }

    body.search .form-filter select,
    body.archive .form-filter select,
    body.search .form-filter input[type="text"],
    body.archive .form-filter input[type="text"] {
        width: auto;
        min-width: 138px;
    }

    body.search .form-filter input[type="submit"],
    body.archive .form-filter input[type="submit"],
    body.search .form-filter button,
    body.archive .form-filter button {
        width: auto;
        min-width: 92px;
    }
}

@media (max-width: 479px) {
    body.home .container,
    body.search #content .main-content > .container,
    body.archive #content .main-content > .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    body.home .list-films.film-new,
    body.search .list-films.film-new,
    body.archive .list-films.film-new {
        padding-left: 5px;
        padding-right: 5px;
    }
}

/* MSC comments: Motchill dark theme override */
.msc-comment-tab {
    margin-top: 18px;
}

.msc-comment-tab .msc-wrap {
    --msc-motchill-bg: #070d14;
    --msc-motchill-panel: #101720;
    --msc-motchill-panel-soft: #151c27;
    --msc-motchill-card: #1a202b;
    --msc-motchill-border: rgba(218, 150, 110, 0.16);
    --msc-motchill-border-strong: rgba(218, 150, 110, 0.34);
    --msc-motchill-text: #f4f7fb;
    --msc-motchill-muted: #9aa5b5;
    --msc-motchill-soft: #c7cfdb;
    --msc-motchill-accent: #da966e;
    --msc-motchill-accent-dark: #b86f45;
    --msc-motchill-accent-soft: rgba(218, 150, 110, 0.12);
    max-width: none;
    margin: 0;
    padding: 16px;
    box-sizing: border-box;
    border: 1px solid var(--msc-motchill-border);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(16, 23, 32, 0.96), rgba(7, 13, 20, 0.96));
    color: var(--msc-motchill-text);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.msc-comment-tab .msc-title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--msc-motchill-border);
    color: var(--msc-motchill-text);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.msc-comment-tab .msc-title:before {
    content: "\f086";
    color: var(--msc-motchill-accent);
    font-family: FontAwesome;
    font-size: 15px;
    font-weight: normal;
}

.msc-comment-tab .msc-form-acc {
    margin: 0 0 16px;
    border: 1px solid var(--msc-motchill-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
    overflow: hidden;
}

.msc-comment-tab .msc-form-acc-toggle {
    min-height: 48px;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(218, 150, 110, 0.12);
    background: linear-gradient(180deg, rgba(218, 150, 110, 0.09), rgba(255, 255, 255, 0.02));
    color: var(--msc-motchill-text);
}

.msc-comment-tab .msc-form-acc-toggle:hover {
    background: linear-gradient(180deg, rgba(218, 150, 110, 0.15), rgba(255, 255, 255, 0.035));
}

.msc-comment-tab .msc-form-acc-title {
    font-size: 16px;
    line-height: 1.25;
}

.msc-comment-tab .msc-form-acc-caret {
    border-color: var(--msc-motchill-accent);
}

.msc-comment-tab .msc-form-acc-panel {
    padding: 14px;
    background: rgba(5, 10, 16, 0.45);
}

.msc-comment-tab .msc-form-card,
.msc-comment-tab .msc-form {
    margin: 0;
}

.msc-comment-tab .msc-form textarea,
.msc-comment-tab .msc-form input[type="text"],
.msc-comment-tab .msc-form input[type="email"] {
    min-height: 44px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    background: #0c131d;
    color: var(--msc-motchill-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.msc-comment-tab .msc-form textarea {
    min-height: 118px;
    resize: vertical;
}

.msc-comment-tab .msc-form textarea:focus,
.msc-comment-tab .msc-form input[type="text"]:focus,
.msc-comment-tab .msc-form input[type="email"]:focus {
    border-color: var(--msc-motchill-border-strong);
    background: #0f1722;
    box-shadow: 0 0 0 3px rgba(218, 150, 110, 0.11);
}

.msc-comment-tab .msc-form textarea::placeholder,
.msc-comment-tab .msc-form input::placeholder {
    color: #788394;
}

.msc-comment-tab .msc-grid {
    gap: 12px;
    margin-top: 12px;
}

.msc-comment-tab .msc-avatar-input-group {
    gap: 10px;
}

.msc-comment-tab .msc-avatar-picker-btn {
    width: 44px;
    height: 44px;
    border: 1px dashed var(--msc-motchill-border-strong);
    background: rgba(218, 150, 110, 0.08);
}

.msc-comment-tab .msc-avatar-picker-btn:hover {
    border-color: var(--msc-motchill-accent);
    background: rgba(218, 150, 110, 0.16);
}

.msc-comment-tab .msc-btn,
.msc-comment-tab .msc-loadmore,
.msc-comment-tab .msc-loadmore-replies {
    min-height: 40px;
    border: 0;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--msc-motchill-accent), var(--msc-motchill-accent-dark));
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

.msc-comment-tab .msc-btn:hover,
.msc-comment-tab .msc-loadmore:hover,
.msc-comment-tab .msc-loadmore-replies:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.msc-comment-tab .msc-note {
    color: var(--msc-motchill-muted);
}

.msc-comment-tab .msc-admin-logged-notice {
    border-color: rgba(218, 150, 110, 0.26);
    background: rgba(218, 150, 110, 0.09);
    color: #ffd8bd;
}

.msc-comment-tab .msc-list-header {
    gap: 12px;
    margin: 0 0 12px;
    padding: 0 2px;
}

.msc-comment-tab .msc-list-title {
    color: var(--msc-motchill-text);
    font-size: 16px;
}

.msc-comment-tab .msc-sort-select {
    min-height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 7px;
    background: #0c131d;
    color: var(--msc-motchill-soft);
}

.msc-comment-tab .msc-sort-select:hover,
.msc-comment-tab .msc-sort-select:focus {
    border-color: var(--msc-motchill-border-strong);
}

.msc-comment-tab .msc-list {
    gap: 10px;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--msc-motchill-text);
    box-shadow: none;
}

.msc-comment-tab .msc-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.msc-comment-tab .msc-item:hover {
    border-color: var(--msc-motchill-border-strong);
    background: rgba(218, 150, 110, 0.07);
}

.msc-comment-tab .msc-avatar img,
.msc-comment-tab .msc-avatar-initials {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(218, 150, 110, 0.28);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.msc-comment-tab .msc-avatar-initials {
    background: linear-gradient(135deg, #2b3544, #111822);
    color: #ffd4b6;
}

.msc-comment-tab .msc-head {
    margin-bottom: 6px;
}

.msc-comment-tab .msc-name {
    color: #fff;
    font-weight: 700;
}

.msc-comment-tab .msc-time {
    color: var(--msc-motchill-muted);
    opacity: 1;
}

.msc-comment-tab .msc-content {
    color: #dce3ee;
    font-size: 14px;
    line-height: 1.65;
}

.msc-comment-tab .msc-content a,
.msc-comment-tab .msc-timestamp {
    color: #86c8ff;
}

.msc-comment-tab .msc-empty {
    margin: 0;
    padding: 14px;
    border: 1px dashed var(--msc-motchill-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--msc-motchill-muted);
    opacity: 1;
}

.msc-comment-tab .msc-actions {
    gap: 8px;
    margin-top: 10px;
}

.msc-comment-tab .msc-actions .msc-reply-toggle,
.msc-comment-tab .msc-replies-acc-btn,
.msc-comment-tab .msc-reaction-btn {
    min-height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--msc-motchill-soft);
}

.msc-comment-tab .msc-actions .msc-reply-toggle:hover,
.msc-comment-tab .msc-replies-acc-btn:hover,
.msc-comment-tab .msc-reaction-btn:hover {
    border-color: var(--msc-motchill-border-strong);
    background: var(--msc-motchill-accent-soft);
    color: #fff;
}

.msc-comment-tab .msc-like-btn.is-active {
    border-color: rgba(239, 68, 68, 0.45);
    background: rgba(239, 68, 68, 0.14);
    color: #ff9a9a;
}

.msc-comment-tab .msc-dislike-btn.is-active {
    border-color: rgba(96, 165, 250, 0.45);
    background: rgba(96, 165, 250, 0.12);
    color: #9ecbff;
}

.msc-comment-tab .msc-replies-acc-panel {
    margin-top: 10px;
}

.msc-comment-tab .msc-replies {
    gap: 8px;
    margin-top: 8px;
    padding-left: 12px;
    border-left: 2px solid var(--msc-motchill-border);
    border-radius: 0;
}

.msc-comment-tab .msc-item .msc-replies .msc-item {
    background: rgba(0, 0, 0, 0.16);
}

.msc-comment-tab .msc-badge-admin,
.msc-comment-tab .msc-badge-pinned,
.msc-comment-tab .msc-badge-pin {
    background: linear-gradient(135deg, #ffd4b6, var(--msc-motchill-accent));
    color: #16100c;
}

.msc-comment-tab .msc-alert {
    border-color: var(--msc-motchill-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--msc-motchill-soft);
}

.msc-comment-tab .msc-success {
    border-color: rgba(32, 201, 151, 0.45);
}

.msc-comment-tab .msc-error {
    border-color: rgba(239, 68, 68, 0.45);
}

.msc-comment-tab .msc-turnstile-wrap {
    margin-top: 10px;
}

.msc-comment-tab .msc-avatar-modal {
    background: rgba(0, 0, 0, 0.72);
}

.msc-comment-tab .msc-avatar-modal-content {
    border: 1px solid var(--msc-motchill-border);
    border-radius: 8px;
    background: #101720;
    color: var(--msc-motchill-text);
}

.msc-comment-tab .msc-avatar-modal-header {
    border-bottom-color: var(--msc-motchill-border);
}

.msc-comment-tab .msc-avatar-modal-close {
    color: var(--msc-motchill-muted);
}

.msc-comment-tab .msc-avatar-option {
    background: rgba(255, 255, 255, 0.05);
}

.msc-comment-tab .msc-avatar-option:hover,
.msc-comment-tab .msc-avatar-option.is-selected {
    border-color: var(--msc-motchill-accent);
    background: rgba(218, 150, 110, 0.12);
}

@media (max-width: 620px) {
    .msc-comment-tab .msc-wrap {
        padding: 12px;
    }

    .msc-comment-tab .msc-list-header {
        align-items: stretch;
    }

    .msc-comment-tab .msc-sort-select {
        width: 100%;
    }

    .msc-comment-tab .msc-item {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 10px;
    }

    .msc-comment-tab .msc-avatar img,
    .msc-comment-tab .msc-avatar-initials {
        width: 38px;
        height: 38px;
    }
}

/* MSC comments: always-open form and no email field */
.msc-comment-tab .msc-form-acc {
    margin: 0 0 16px;
    border: 0;
    background: transparent;
    overflow: visible;
}

.msc-comment-tab .msc-form-acc-toggle {
    display: none;
}

.msc-comment-tab .msc-form-acc-panel {
    display: block !important;
    padding: 0;
    background: transparent;
}

.msc-comment-tab .msc-grid {
    grid-template-columns: 1fr;
}

.msc-comment-tab .msc-grid > .msc-col:nth-child(2),
.msc-comment-tab .msc-form input[name="comment_author_email"],
.msc-comment-tab .msc-form label[for="msc-email"] {
    display: none;
}

.msc-comment-tab .msc-grid > .msc-col:first-child {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
    align-items: start;
}

.msc-comment-tab .msc-avatar-input-group,
.msc-comment-tab .msc-admin-logged-notice,
.msc-comment-tab .msc-turnstile-wrap,
.msc-comment-tab .msc-note,
.msc-comment-tab .msc-status {
    grid-column: 1 / -1;
}

.msc-comment-tab .msc-btn {
    justify-self: end;
    margin-top: 0;
    padding-left: 18px;
    padding-right: 18px;
}

@media (max-width: 620px) {
    .msc-comment-tab .msc-grid > .msc-col:first-child {
        display: block;
    }

    .msc-comment-tab .msc-btn {
        width: 100%;
        margin-top: 10px;
    }
}

/* MSC comments: compact name row with inline submit */
.msc-comment-tab .msc-note {
    display: none;
}

.msc-comment-tab .msc-grid > .msc-col:first-child {
    position: relative;
    display: block;
}

.msc-comment-tab .msc-avatar-input-group {
    grid-column: auto;
    margin-bottom: 8px;
}

.msc-comment-tab .msc-avatar-input-group input[name="comment_author"] {
    padding-right: 104px;
}

.msc-comment-tab .msc-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 88px;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0 12px;
    border-radius: 0 8px 8px 0;
    box-shadow: none;
}

.msc-comment-tab .msc-btn:hover {
    transform: none;
    box-shadow: none;
}

@media (max-width: 620px) {
    .msc-comment-tab .msc-avatar-input-group {
        flex-wrap: wrap;
    }

    .msc-comment-tab .msc-avatar-input-group input[name="comment_author"] {
        padding-right: 14px;
    }

    .msc-comment-tab .msc-btn {
        position: static;
        width: 100%;
        margin-top: 10px;
        border-radius: 7px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    }
}

/* Movie cast strip */
#page-info .motchill-cast-section {
    clear: both;
    margin-top: 18px;
    padding-top: 4px;
    color: #fff;
}

#page-info .motchill-cast-group {
    position: relative;
    margin-top: 18px;
}

#page-info .motchill-cast-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

#page-info .motchill-cast-head h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

#page-info .motchill-cast-actions {
    display: flex;
    gap: 8px;
}

#page-info .motchill-cast-nav {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    background: #151d28;
    color: #eaf0f8;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

#page-info .motchill-cast-nav:hover {
    border-color: rgba(218, 150, 110, 0.42);
    background: rgba(218, 150, 110, 0.18);
    color: #fff;
}

#page-info .motchill-cast-track {
    display: flex;
    gap: 18px;
    margin: 0;
    list-style: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    padding: 0 2px 10px;
    -webkit-overflow-scrolling: touch;
}

#page-info .motchill-cast-track::-webkit-scrollbar {
    height: 6px;
}

#page-info .motchill-cast-track::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

#page-info .motchill-cast-track::-webkit-scrollbar-thumb {
    background: rgba(218, 150, 110, 0.35);
    border-radius: 999px;
}

#page-info .motchill-cast-item {
    flex: 0 0 78px;
    scroll-snap-align: start;
    margin: 0;
    padding: 0;
    list-style: none;
}

#page-info .motchill-cast-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #f8fbff;
    text-align: center;
    text-decoration: none;
}

#page-info .motchill-cast-card:hover {
    color: #ffb27d;
    text-decoration: none;
}

#page-info .motchill-cast-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #e8e8e8;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.26);
}

#page-info .motchill-cast-avatar img,
#page-info .motchill-cast-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

#page-info .motchill-cast-avatar img {
    object-fit: cover;
}

#page-info .motchill-cast-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef1f6, #d8dde6);
    color: #8c95a3;
    font-size: 18px;
    font-weight: 800;
}

#page-info .motchill-cast-name {
    display: -webkit-box;
    max-width: 88px;
    min-height: 32px;
    overflow: hidden;
    color: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (min-width: 768px) {
#page-info .motchill-cast-item {
        flex-basis: 84px;
    }

    #page-info .motchill-cast-avatar {
        width: 78px;
        height: 78px;
    }
}

@media (max-width: 620px) {
    #page-info .motchill-cast-section {
        margin-top: 14px;
    }

    #page-info .motchill-cast-head h3 {
        font-size: 16px;
    }

    #page-info .motchill-cast-track {
        gap: 14px;
    }

#page-info .motchill-cast-item {
        flex-basis: 70px;
    }

    #page-info .motchill-cast-avatar {
        width: 64px;
        height: 64px;
    }

    #page-info .motchill-cast-name {
        max-width: 76px;
        font-size: 11px;
    }
}

/* Motchill header/footer refresh */
#header.deskContent {
    margin: 0 0 26px;
    padding: 12px 0 0;
    border-bottom: 1px solid rgba(218, 150, 110, 0.12);
    background: linear-gradient(180deg, #14191f 0%, #10151b 54%, #0b1016 100%);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

#header.deskContent .top {
    display: flex;
    align-items: center;
    gap: 26px;
    min-height: 64px;
    margin: 0;
}

#header.deskContent .left.logo,
#header.deskContent .right-header,
#header.deskContent .search-container,
#header.deskContent .actions-user {
    float: none;
}

#header.deskContent .left.logo {
    flex: 0 0 auto;
}

#header.deskContent .logo a {
    display: inline-flex;
    align-items: center;
}

#header.deskContent .logo img {
    display: block;
    height: auto;
    max-height: 52px;
    filter: drop-shadow(0 7px 15px rgba(0, 0, 0, 0.34));
}

#header.deskContent .right-header {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: auto;
    min-width: 0;
}

#header.deskContent .search-container {
    flex: 1 1 430px;
    max-width: 520px;
    margin: 0;
}

#header.deskContent #form-filter {
    position: relative;
}

#header.deskContent #keyword {
    height: 40px;
    box-sizing: border-box;
    padding: 0 44px 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.08);
    color: #f6f6f6;
    font-size: 14px;
    font-style: italic;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#header.deskContent #keyword::placeholder {
    color: rgba(255, 255, 255, 0.64);
}

#header.deskContent #keyword:focus {
    border-color: rgba(218, 150, 110, 0.7);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 0 0 3px rgba(218, 150, 110, 0.12);
}

#header.deskContent .search-container .fa-search {
    right: 13px;
    top: 50%;
    color: #da966e;
    font-size: 19px;
    transform: translateY(-50%);
}

#header.deskContent .actions-user {
    padding: 0;
    white-space: nowrap;
}

#header.deskContent .actions-user ul {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#header.deskContent .actions-user ul li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.04);
}

#header.deskContent .actions-user a,
#header.deskContent .actions-user .fa {
    color: rgba(255, 255, 255, 0.9);
}

#header.deskContent .actions-user ul li:hover {
    border-color: rgba(218, 150, 110, 0.22);
    background: rgba(218, 150, 110, 0.1);
}

#header.deskContent .actions-user ul li:hover a,
#header.deskContent .actions-user ul li:hover .fa {
    color: #f0b28c;
}

#header.deskContent .main-menu {
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(9, 13, 18, 0.88);
}

#header.deskContent .main-menu ul.container {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-right: auto;
    margin-left: auto;
    padding: 0;
    list-style: none;
}

#header.deskContent .main-menu .menu-item {
    float: none;
}

#header.deskContent .main-menu .menu-item > a {
    position: relative;
    padding: 16px 13px 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
}

#header.deskContent .main-menu .menu-item:first-child > a {
    border-bottom: 0;
}

#header.deskContent .main-menu .menu-item > a:before {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 0;
    left: 12px;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: #da966e;
    opacity: 0;
    transform: translateY(2px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

#header.deskContent .main-menu .menu-item.active > a,
#header.deskContent .main-menu .menu-item > a:hover {
    color: #f0b28c;
}

#header.deskContent .main-menu .menu-item.active > a:before,
#header.deskContent .main-menu .menu-item > a:hover:before {
    opacity: 1;
    transform: translateY(0);
}

#header.deskContent .main-menu .menu-item .sub-menu {
    padding: 10px;
    border: 1px solid rgba(218, 150, 110, 0.14);
    border-radius: 0 0 8px 8px;
    background: rgba(14, 19, 26, 0.98);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}

#header.deskContent .sub-menu .sub-menu-item a {
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
}

#header.deskContent .sub-menu .sub-menu-item a:hover {
    background: rgba(218, 150, 110, 0.1);
    color: #f0b28c;
}

#header.phoneContent {
    margin: 0 0 16px;
    border-bottom: 1px solid rgba(218, 150, 110, 0.12);
    background: linear-gradient(180deg, #14191f, #0d131a);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

#header.phoneContent .btn-humber p {
    background: #f0b28c;
}

#header.phoneContent .fa-search.mobile {
    color: #f0b28c;
}

#header.phoneContent #mform_search {
    border-color: rgba(218, 150, 110, 0.22);
    border-radius: 7px;
    background: rgba(10, 15, 21, 0.96);
}

#footer {
    margin-top: 38px;
    border-top: 1px solid rgba(218, 150, 110, 0.12);
    background:
        radial-gradient(circle at top left, rgba(218, 150, 110, 0.09), transparent 34%),
        linear-gradient(180deg, #10161d 0%, #080d13 100%);
    color: rgba(255, 255, 255, 0.68);
}

#footer .container {
    display: flex;
    gap: 24px;
    align-items: stretch;
    padding-top: 24px;
    padding-bottom: 24px;
}

#footer .desc,
#footer .info {
    float: none;
    box-sizing: border-box;
}

#footer .desc {
    flex: 1;
    width: auto;
    padding: 4px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.75;
}

#footer .desc a {
    color: #f0b28c;
    font-weight: 700;
}

#footer .info {
    flex: 0 0 340px;
    width: auto;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 12px;
}

#footer .info .column {
    width: 50%;
}

#footer .info .column .heading {
    margin-bottom: 8px;
    color: #f0b28c;
    font-size: 13px;
    text-transform: uppercase;
}

#footer .info .column ul {
    margin: 0;
    padding-left: 16px;
}

#footer .info .column ul li {
    margin-top: 7px;
}

#footer .info a {
    color: rgba(255, 255, 255, 0.76);
}

#footer .info a:hover,
#footer .desc a:hover {
    color: #fff;
}

#footer .copyright {
    padding: 12px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.48);
}

@media (max-width: 1199px) {
    #header.deskContent .top {
        gap: 18px;
    }

    #header.deskContent .actions-user ul li {
        padding-right: 8px;
        padding-left: 8px;
    }
}

@media (max-width: 979px) {
    #footer .container {
        display: block;
        padding-right: 12px;
        padding-left: 12px;
    }

    #footer .desc,
    #footer .info {
        width: 100%;
    }

    #footer .info {
        margin-top: 16px;
    }
}

/* Unified breadcrumb refresh - CSS only */
#content .main-content > .container > ol.breadcrumb,
#content .main-content > .container > ol.breadcrumbs {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    width: 100%;
    box-sizing: border-box;
    margin: 16px 0 18px;
    padding: 11px 14px;
    overflow: hidden;
    list-style: none;
    border: 1px solid rgba(218, 150, 110, 0.22);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(218, 150, 110, 0.10), transparent 34%),
        linear-gradient(180deg, rgba(15, 20, 28, 0.96), rgba(5, 10, 16, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 10px 28px rgba(0, 0, 0, 0.22);
}

#content .main-content > .container > ol.breadcrumb::before,
#content .main-content > .container > ol.breadcrumbs::before {
    content: "";
    flex: 0 0 auto;
    width: 3px;
    align-self: stretch;
    min-height: 22px;
    border-radius: 99px;
    background: linear-gradient(180deg, #ffad72, #c58560);
    box-shadow: 0 0 18px rgba(218, 150, 110, 0.38);
}

#content .main-content > .container > ol.breadcrumb > li,
#content .main-content > .container > ol.breadcrumbs > li {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    margin: 0;
    color: #cad2dd;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

#content .main-content > .container > ol.breadcrumb > li + li::before,
#content .main-content > .container > ol.breadcrumbs > li + li::before {
    content: "\203A";
    margin: 0 7px 0 0;
    color: #f0a66c;
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
    opacity: 0.9;
}

#content .main-content > .container > ol.breadcrumb a,
#content .main-content > .container > ol.breadcrumbs a {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    margin: -2px -6px;
    padding: 2px 6px;
    border-radius: 999px;
    background: transparent;
    color: #f0a66c;
    text-decoration: none;
    transition: color 0.18s ease, opacity 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

#content .main-content > .container > ol.breadcrumb a::after,
#content .main-content > .container > ol.breadcrumb span::after,
#content .main-content > .container > ol.breadcrumbs a::after,
#content .main-content > .container > ol.breadcrumbs span::after {
    content: none;
}

#content .main-content > .container > ol.breadcrumb a:hover,
#content .main-content > .container > ol.breadcrumbs a:hover {
    background: transparent;
    box-shadow: none;
    color: #f0a66c;
    opacity: 1;
}

#content .main-content > .container > ol.breadcrumb span,
#content .main-content > .container > ol.breadcrumbs span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#content .main-content > .container > ol.breadcrumb .fa-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 7px;
    border-radius: 50%;
    color: #ffad72;
    background: rgba(218, 150, 110, 0.14);
    box-shadow: inset 0 0 0 1px rgba(218, 150, 110, 0.22);
}

#content .main-content > .container > ol.breadcrumb > li:last-child,
#content .main-content > .container > ol.breadcrumbs > li:last-child,
#content .main-content > .container > ol.breadcrumbs > li.active {
    color: #ffffff;
    font-weight: 800;
}

#content .main-content > .container > ol.breadcrumb > li:last-child a,
#content .main-content > .container > ol.breadcrumbs > li:last-child a,
#content .main-content > .container > ol.breadcrumbs > li.active a {
    color: #ffffff;
}

@media (max-width: 767px) {
    #content .main-content > .container > ol.breadcrumb,
    #content .main-content > .container > ol.breadcrumbs {
        flex-wrap: nowrap;
        gap: 6px;
        margin: 12px 0 14px;
        padding: 9px 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    #content .main-content > .container > ol.breadcrumb::-webkit-scrollbar,
    #content .main-content > .container > ol.breadcrumbs::-webkit-scrollbar {
        display: none;
    }

    #content .main-content > .container > ol.breadcrumb > li,
    #content .main-content > .container > ol.breadcrumbs > li {
        flex: 0 0 auto;
        max-width: 68vw;
        font-size: 12px;
    }

    #content .main-content > .container > ol.breadcrumb > li + li::before,
    #content .main-content > .container > ol.breadcrumbs > li + li::before {
        margin-right: 6px;
    }
}

#btn-login,
#btn-register,
#btn-bookmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #1e232a;
    border: 1px solid #333a42;
    outline: none;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 6px;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    transition: all 0.2s ease;
}

#btn-login i,
#btn-register i,
#btn-bookmark i {
    color: #a0aec0;
    font-size: 15px;
    transition: color 0.2s ease;
}

#btn-login:hover,
#btn-register:hover,
#btn-bookmark:hover {
    background-color: #252b33;
    border-color: #4f5b66;
    color: #ffffff;
}

#btn-login:hover i,
#btn-register:hover i,
#btn-bookmark:hover i {
    color: #ffffff;
}
