
:root {
    --tx-color: #ff5b82;
    --tx-color2: #f7d0bf;
    --tx-border: #eee;
    --tx-bg2: #242424;
    --tx-bg3: #2e2e2e;
}

body {
    background-color: #1e1e1e;
    color: #909090;
}

.img-box[data-ratio="13"] {
    padding-top: 13%;
}
.img-box[data-ratio="13"] img{
    object-fit: fill!important;
}
.img-box[data-ratio="75"] {
    padding-top: 68%;
}

a,
.tx-c2 {
    color: var(--tx-color2);
}

.tx-c1 {
    color: var(--tx-color);
}

.tx-bg {
    background-color: var(--tx-color);
}

.tx-bg2 {
    background-color: var(--tx-bg2);
}

.tx-bg3 {
    background-color: var(--tx-bg3);
}

.tx-bg4 {
    background-color: #7378b2;
}

.bo-r5 {
    border-radius: 5px;
    overflow: hidden;
}
.img-box:hover img {
    transform: none;
}

.tx-wide {
    max-width: 1920;
    width: 100%;
    padding-left: 2%;
    padding-right: 2%;
}

.header {
    padding: 20px 0;
}

.logo * {
    line-height: 1;
    height: 50px;
    width: auto;
}

.nav {
    padding: 0 3em;
}

.nav ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.nav a {
    padding: 0 1em;
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.nav a>i,
.nav a .portrait-box,
.nav a img {
    width: 1em;
    height: 1em;
    line-height: 1;
    font-size: 2em;
}

.search form {
    width: 400px;
    position: relative;
    background-color: var(--tx-bg2);
    border-radius: 3px;
    padding: 0 80px 0 30px;
}

.search form>* {
    line-height: 46px;
    height: 46px;
    color: var(--tx-color2);
}

.search form>i {
    position: absolute;
    left: 0;
    top: 0;
    width: 2em;
    font-size: 1.6em;
    text-align: center;
}

.search form>button {
    position: absolute;
    right: 0;
    top: 0;
    width: 80px;
    background-color: #3a3636;
    text-align: center;
}

.search form>input,
.search form>input:focus {
    border: 0;
}

.header-user {
    justify-content: flex-end;
}

.header-user>a .portrait-box,
.header-user>img,
.header-user>a img {
    display: inline-flex;
    line-height: 1;
    width: 3.6em;
    height: 3.6em;
    border-radius: 50%;
    margin: 0 0.5em 0 0;
}

.header-user .portrait-box strong {
    font-size: 2em;
}

.header-user a {
    margin-left: 0.5em;
}

.home-imgleft li>* {
    display: flex;
    align-items: center;
    padding: 15px;
}

.home-imgleft li>* i {
    background-image: url(../images/homeico.png);
    background-repeat: no-repeat;
    background-size: auto 100%;
    flex: none;
    margin-right: 15px;
}

.home-imgleft li>* section {
    flex: auto;
}

.home-imgleft li>* h2 {
    margin-bottom: 5px;
}

.home-imgleft li>* p {
    line-height: 1.5;
    height: 3em;
    overflow: hidden;
}

.home-ico1 {
    width: 80px;
    height: 100px;
    background-position: -12px bottom;
    margin-bottom: -15px;
}

.home-ico2 {
    width: 120px;
    height: 85px;
    background-position: -90px bottom;
}

.home-ico3 {
    width: 80px;
    height: 90px;
    background-position: -218px bottom;
}

.home-ico4 {
    width: 120px;
    height: 90px;
    background-position: -320px bottom;
}

.home-flash .swiper-slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.swiper-pagination-bullet-active {
    background-color: var(--tx-color);
}

.home-tab .tab-hd>*,
.tab-hd-t>* {
    line-height: 3;
    border-radius: 5px;
}

.home-tab .tab-hd>*.on,
.tab-hd-t>*.on {
    background-color: var(--tx-bg3);
    color: var(--tx-color);
}

.item-auxiliary {
    position: absolute;
    bottom: 5px;
    left: 5px;
    display: flex;
    align-items: center;
    z-index: 11;
}

.item-auxiliary>* {
    background-color: rgba(0, 0, 0, .5);
    color: #fff;
    border-radius: 3px;
    margin-right: 2px;
    line-height: 1.8;
    height: 1.8em;
    padding: 0 4px;
    display: inline-flex;
    overflow: hidden;
}

.item-auxiliary>* img {
    height: 100%;
    width: auto;
    position: static;
    margin: 0 2px 0 -4px;
}

.more-a {
    background-color: var(--tx-bg3);
    padding: 0 1em;
    line-height: 2;
    border-radius: 2px;
}

.tx-flash-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.list-flash .swiper-wrapper,
.list-flash .swiper-container,
.list-flash .swiper-slide {
    height: 100%!important;
}

.list-flash .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer {
    padding: 3em 10% 1em 10%;
    color: var(--tx-color2);
    line-height: 1.7;
}

.fixed-right {
    position: fixed;
    right: 2em;
    bottom: 2em;
    z-index: 99;
    display: flex;
    flex-direction: column;
}

.fixed-right>a {
    display: inline-flex;
    width: 4em;
    height: 4em;
    margin-top: 5px;
    background-color: var(--tx-bg3);
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    padding: 0 1em;
    position: relative;
}

.fixed-right>a:hover,
.fixed-right>a.on {
    background-color: var(--tx-color);
    color: #fff;
}

.kefu-on::before {
    content: "";
    position: absolute;
    top: -4em;
    left: 0;
    width: 98%;
    height: 4em;
    background: url(../images/kefu.png) no-repeat center 0;
    background-size: cover;
}

.kefu-box {
    position: absolute;
    bottom: 0;
    right: 6em;
    width: 400px;
    background-color: var(--tx-bg2);
    border: 1px solid #3a3636;
    border-radius: 5px;
    overflow: hidden;
    transition: all .35s ease 0s;
    visibility: hidden;
    opacity: 0;
}

.kefu-title {
    background-color: #3a3636;
}

.kefu-box-on {
    visibility: visible;
    opacity: 1;
    right: 4.5em;
}

.kefu-off {
    display: inline-flex;
    align-items: center;
    background-color: #242424;
    color: var(--tx-color2);
    border-radius: 10px;
    padding: 0 1em;
    line-height: 2;
}

.kefu-qq {
    position: relative;
    padding: 0.3em 0 0 2em;
    display: block;
    height: 3em;
    margin-bottom: 6px;
}

.kefu-qq span {
    background-color: #fff;
    color: #333;
    padding: 0 1em 0 1.6em;
    border-radius: 0 5px 5px 0;
    line-height: 2.4;
    height: 2.4em;
    display: block;
    width: 100%;
    position: relative;
    z-index: 5;
}

.kefu-qq img {
    width: 3em;
    height: 3em;
    line-height: 1;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
}

.kefu-box input,
.kefu-box textarea {
    border: 1px solid #2c2c2c;
    background-color: #2c2c2c;
    border-radius: 5px;
    color: #fff;
}

.kefu-box button {
    position: absolute;
    right: 6px;
    bottom: 6px;
}

.auxiliary-ico1 {
    position: absolute;
    right: 0;
    top: 10px;
    z-index: 11;
    background-color: var(--tx-color);
    color: #fff;
    display: inline-flex;
    align-items: center;
    padding: 0.7em 1.3em;
    border-radius: 40px 0 0 40px;
    line-height: 1;
}

.auxiliary-ico1 .iconfont {
    font-size: 1.6em;
    margin: 0 5px 0 0;
}

a.auxiliary-ico1:hover {
    opacity: 0.9;
    color: #fff;
}

.img-box[data-ratio="65"] {
    padding-top: 65%
}

.w4em {
    width: 40px;
}

.w7em {
    width: 80px;
}

.info-auxiliary-txt li {
    display: flex;
    align-items: stretch;
    margin-bottom: 0.8em;
}

.info-auxiliary-txt li>span {
    margin: 0 1em 0 0;
    flex: none;
    color: #bebebe;
    min-width: 2em;
}

.info-btn-com {
    padding-left: 3em;
    margin-top: 2em;
}

.tags-box {
    display: flex;
    flex-wrap: wrap;
    height: 2em;
    overflow: hidden;
}

.tags-box a {
    display: inline-flex;
    background-color: #434343;
    color: #c0b2b2;
    padding: 0 1em;
    line-height: 2;
    height: 2em;
    margin: 0 0.5em 0.5em 0;
    border-radius: 3px;
    align-items: center;
    overflow: hidden;
}

.tags-box a:hover {
    background-color: var(--tx-color);
    color: #fff;
}

.info-down-btn {
    display: inline-flex;
    align-items: center;
    margin-right: 1.5em;
}

.info-down-btn img {
    width: auto;
    height: 1.3em;
    margin-right: 4px;
}

.info-tips {
    padding: 3em 1em;
    position: relative;
    margin-top: -16em;
    z-index: 11;
}

.info-tips>* {
    position: relative;
    z-index: 2;
}

.info-tips::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(200, 200, 200, 0.9) 0%, #454545 100%);
    z-index: 1;
}

.video-tips {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 11;
}

.info-down-box section {
    display: flex;
    flex-direction: column;
}

.info-video-txt,
.info-video-txt .swiper-container {
    line-height: 2;
    height: 2em;
    overflow: hidden;
}

.video-info {
    line-height: 1.8;
    height: 1.8em;
    overflow: hidden;
}

.video-info-h {
    height: auto;
}

.video-info-on {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #1e1e1e;
    padding: 0 0 0 1.5em;
    z-index: 11;
}

.column-box li section {
    display: flex;
    justify-content: space-between;
    border-radius: 5px;
}

.column-box li section>* {
    width: calc(100%);
    position: relative;
}

.bo-r10 {
    border-radius: 10px;
}

.page-tags-box {
    display: flex;
    flex-wrap: wrap;
}

.page-tags-box>* {
    display: inline-flex;
    flex-direction: column;
    border: 2px solid var(--tx-bg2);
    background-color: var(--tx-bg2);
    color: var(--tx-color2);
    align-items: center;
    padding: 0.5em 0;
    border-radius: 5px;
    margin: 0 1em 1em 0;
    overflow: hidden;
}

.page-tags-box>a:hover {
    border: 2px solid var(--tx-color);
    color: var(--tx-color);
}

.page-tags-box>*>* {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 1.5em;
    width: 100%;
    text-align: center;
}

.vip-wide {
    width: 100%;
    max-width: 980px;
    margin: 2em auto;
}

.vip-ul li {
    margin-bottom: 2.4em;
}

.vip-ul li p {
    margin-bottom: 0.6em;
}

.vip-ul li i.iconfont {
    font-size: 1.3em;
    line-height: 1;
    display: inline-flex;
}

.bg-blue1 {
    background-color: #787ddf;
}

.bg-yellow1 {
    background-color: #f0c568;
}

.bg-yellow2 {
    background-color: #bca094;
}

.vip-wide .bo-r5 .tx-btn-big {
    background-color: rgba(0, 0, 0, .3);
}

.page-nav li a {
    display: flex;
    align-items: center;
    background-color: var(--tx-bg2);
    padding: 0.7em 1em;
    border-radius: 5px;
    margin-bottom: 1em;
    color: var(--tx-color2);
}

.page-nav li a:hover,
.page-nav li.on a {
    background-color: var(--tx-color);
    color: #fff;
}

.page-nav li a i {
    font-size: 3.6em;
    line-height: 1;
    flex: none;
    margin-right: 10px;
}

.page-nav li a span {
    display: inline-flex;
    flex-direction: column;
    font-size: 0.85em;
    flex: auto;
}

.page-nav li a span strong {
    font-size: 1.5em;
}

.say-list li {
    display: flex;
    position: relative;
}

.say-list li>i {
    flex: none;
    color: var(--tx-color2);
    font-size: 2.4em;
    line-height: 1;
}

.say-list li>i:last-child {
    align-self: flex-end;
    margin-bottom: 20px;
}

.say-list li>div {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--tx-color2);
}

.user-wide {
    width: 100%;
    max-width: 980px;
    margin: 50px auto;
}

.user-title {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--tx-border);
}

.user-title>strong {
    line-height: 2;
    border-bottom: 3px solid var(--tx-color);
    color: var(--tx-color);
}

.user-nav-box {
    padding: 1em;
    background-color: var(--tx-bg2);
    border-radius: 5px;
}

.user-nav li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5em;
}

.user-nav li i {
    font-size: 1.4em;
    margin-right: 0.3em;
}

.user-nav li.on a,
.user-nav li.on a i {
    color: var(--tx-color);
}

.login-wide {
    width: 100%;
    max-width: 450px;
    margin: 5em auto;
    padding: 0 3vw;
}

.login-input input[type="text"],
.login-input input[type="password"] {
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--tx-color2);
    color: #909090;
    box-shadow: inset 0 0 0 1000px #1e1e1e !important;
    -webkit-text-fill-color: #909090;
}

.input-i input {
    padding-left: 2em;
}

.input-i>i {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--tx-color2);
    height: 100%;
    display: inline-flex;
    align-items: center;
    font-size: 1.2em;
    z-index: 11;
}

.place a {
    color: #909090;
}

.TXDiggoff {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    z-index: 1888
}

#TXDiggTip {
    position: fixed;
    top: 50%;
    left: 50%;
    background-color: #fff;
    padding: 1.5rem 3rem;
    display: none;
    text-decoration: none;
    border-radius: 4px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 1999
}

ins {
    text-decoration: none
}

.page-zan-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--tx-color);
    padding: 0.5em 1.5em;
    border-radius: 50px;
    color: #fff;
}

.page-zan-btn i {
    font-size: 1.6em;
    margin-right: 8px;
}

a.page-zan-btn:hover {
    background-color: var(--tx-color);
    color: #fff;
}

.info-bottom {
    display: none;
}

.vip-ico-box img {
    height: 1.4em;
    width: auto;
    margin-right: 6px;
}

.img-box .portrait-box {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.portrait-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
}

.portrait-box strong {
    font-size: 0.6em;
}

.portrait-1 {
    background-color: #e48181;
}

.portrait-2 {
    background-color: #fe4c4c;
}

.portrait-3 {
    background-color: #fe4c86;
}

.portrait-4 {
    background-color: #ff3eb9;
}

.portrait-5 {
    background-color: #be62e5;
}

.portrait-6 {
    background-color: #8762e5;
}

.portrait-7 {
    background-color: #6265e5;
}

.portrait-8 {
    background-color: #629de5;
}

.portrait-9 {
    background-color: #5aafc1;
}

.portrait-10 {
    background-color: #5ac199;
}

.portrait-11 {
    background-color: #679a73;
}

.portrait-12 {
    background-color: #698049;
}

.portrait-13 {
    background-color: #e9d41f;
}

.portrait-14 {
    background-color: #ffaf3d;
}

.portrait-15 {
    background-color: #ff6b3d;
}

.portrait-16 {
    background-color: #ff0000;
}

.portrait-17 {
    background-color: #745555;
}

.portrait-18 {
    background-color: #555874;
}

.portrait-19 {
    background-color: #695574;
}

.portrait-20 {
    background-color: #a47575;
}

.portrait-21 {
    background-color: #38606a;
}

.portrait-22 {
    background-color: #3c493b;
}

.portrait-23 {
    background-color: #362679;
}

.portrait-24 {
    background-color: #ff8dcb;
}

.portrait-25 {
    background-color: #ff8d92;
}

.portrait-26 {
    background-color: #ff4784;
}

.portrait-27 {
    background-color: #0600ff;
}

.portrait-28 {
    background-color: #00aeff;
}

.portrait-29 {
    background-color: #5bc49e;
}

.portrait-30 {
    background-color: #8887bc;
}


/* 分页条 */

.pagebar {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.pagebar>* {
    padding: 0 1em;
    line-height: 2.4;
    background-color: var(--tx-bg2);
    margin: 0 0.3em 0.3em 0;
    border-radius: 2px;
    color: var(--tx-color2);
}

.pagebar a:hover,
.pagebar .now-page {
    color: #fff;
    background-color: var(--tx-color);
}


/* 评论 */

.msgname .portrait-box {
    width: 3em;
    height: 3em;
    border-radius: 50%;
    margin-right: 1em;
}

.msgname .portrait-box strong {
    font-size: 1.6em;
}

.msgname {
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.msgusername {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.msg .msg {
    padding: 1em 1.2em;
    margin: 0.8em 0 0 4em;
    background-color: var(--tx-bg2);
    border-radius: 5px;
}

.msg .tx-btn-mini {
    line-height: 1.3;
    padding: 0 5px;
}

.tx-comment-textarea {
    position: relative;
    width: 100%;
}

.tx-comment-textarea .tx-textarea {
    background-color: var(--tx-bg2);
    border: 0;
    border-radius: 5px;
    color: #909090;
}

.reply-frm {
    padding: 1em;
    background-color: var(--tx-bg3);
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, .04);
    margin: 1em 0 0 0;
    position: relative;
}

.reply-frm #cancel-reply {
    position: absolute;
    right: 0;
    top: -2em;
    width: 1.5em;
    height: 1.5em;
    line-height: 1.5;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    opacity: 0.5;
}

.info-video-waptxt {
    display: none;
}


/**弹出提示文字框**/

@keyframes tx_animation_size {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes tx_animation_display {
    0% {
        opacity: 0;
        visibility: hidden;
    }
    100% {
        opacity: 1;
        visibility: visible;
    }
}

.tx-tips {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease 0s;
}

.tx-tips-on {
    opacity: 1;
    visibility: visible;
}

.tx-tips>span {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    padding: 0.8em 2em;
    background-color: #fff;
    color: var(--tx-color);
    border-radius: 3px;
    z-index: 2;
    border: 2px solid var(--tx-color);
    position: relative;
    transform: scale(0);
    transition: all .35s ease 0s;
}

.tx-tips-on>span {
    animation: tx_animation_size 0.3s ease 1;
    transform: scale(1);
}

.tx-tips>span del {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    position: absolute;
    top: -1.6em;
    right: -0.2em;
    width: 1.2em;
    height: 1.2em;
    line-height: 1;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
}

.tx-pop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-animation: tx_animation_display 0.2s ease 1;
    animation: tx_animation_display 0.2s ease 1;
}

.tx-tips::after,
.tx-pop>.tx-pop-off {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    content: "";
}

.tx-pop-txt {
    width: 420px;
    background-color: #fff;
    -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, .24);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .24);
    position: relative;
    z-index: 10;
    border-radius: 3px;
    overflow: hidden;
    transform: scale(1);
    transition: all .3s ease 0s;
    -webkit-animation: tx_animation_size 0.3s ease 1;
    animation: tx_animation_size 0.3s ease 1;
}

.tx-pop-out .tx-pop-txt {
    transform: scale(0);
}

.tx-pop-txt>h2 {
    line-height: 2.8;
    padding: 0 1em;
    border-bottom: 1px solid var(--tx-border);
    background-color: rgba(0, 0, 0, .04);
}

.tx-pop-txt>button {
    position: absolute;
    right: 0;
    top: 0;
    width: 3em;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 2.8em;
    color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.tx-pop-btn {
    padding: 1em;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    font-size: 0.9em;
}

.tx-pop-btn button:not(:last-child) {
    margin-right: 1em;
}

@media screen and (max-width: 1198px) {
    .footer {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 920px) {
    .tx-wide {
        padding-left: 2.4vw;
        padding-right: 2.4vw;
    }
    .header {
        padding: 2.4vw 0;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .logo * {
        height: 9vw;
    }
    .nav {
        padding: 0;
    }
    .nav a {
        padding: 0 1.2vw;
    }
    .nav a>i,
    .nav a .portrait-box,
    .nav a>img {
        font-size: 1.6em;
    }
    .nav a .portrait-box,
    .nav a>img {
        border-radius: 50%;
    }
    .nav a .portrait-box strong {
        font-size: 0.6em;
    }
    .search {
        align-self: flex-end;
        width: 100%;
        margin-top: 2vw;
    }
    .search form {
        width: 100%;
    }
    .search form>* {
        line-height: 10vw;
        height: 10vw;
    }
    .home-flash .swiper-slide img {
        height: 42vw;
        min-height: 140px;
        max-height: 200px;
        object-fit: cover;
    }
    .home-imgleft li>* {
        padding: 2vw;
        font-size: 0.8em;
    }
    .home-imgleft li>* h2 {
        font-size: 1.2em;
    }
    .home-imgleft li>* i {
        margin-right: 2vw;
    }
    .home-ico1,
    .home-ico2,
    .home-ico3,
    .home-ico4 {
        width: 40px;
        height: 60px;
        margin-bottom: 0;
    }
    .home-ico2 {
        width: 60px;
        background-position: -70px bottom;
    }
    .home-ico3 {
        background-position: -150px bottom;
    }
    .home-ico4 {
        width: 60px;
        background-position: -225px bottom;
    }
    .msg img.avatar {
        width: 10vw;
        height: 10vw;
    }
    .msg .msg {
        margin: 1.5vw 0 0 0;
        padding: 2vw;
    }
    .nav {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .footer {
        padding: 2vw 0;
    }
    .footer>* {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }
    .footer>*>a {
        order: 10;
        text-align: center;
    }
    .footer>*>a img {
        height: 8vw;
        width: auto;
    }
    .copy {
        text-align: center;
    }
    .tx-pop-txt {
        width: 80%;
    }
    .info-thumbnail,
    .wap-100 {
        margin-left: -2.4vw;
        margin-right: -2.4vw;
    }
    .info-btn-com {
        padding-left: 0;
    }
    .wap-column2 {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    .wap-column2>* {
        width: calc(50% - 1.5vw);
        margin-left: 0;
        margin-right: 0;
    }
    .info-down-box ul {
        padding-left: 1em;
        margin-bottom: 3vw;
    }
    .info-down-box ul li {
        line-height: 1.8;
        height: 1.8em;
    }
    .info-down-box section {
        flex-direction: row;
        justify-content: center;
    }
    .info-down-box section>* {
        margin: 0 1vw;
    }
    .info-xg-box,
    .info-tj {
        overflow-y: hidden;
        overflow-x: scroll;
    }
    .info-xg-box>* {
        width: 180%;
    }
    .fixed-right {
        right: 2vw;
        bottom: 15vw;
    }
    .kefu-box-on {
        position: fixed;
        right: 2vw;
        width: calc(100% - 4vw);
    }
    .column-box li section {
        padding: 2vw;
    }
    .page-tags-box {
        justify-content: space-between;
    }
    .page-tags-box>* {
        width: calc(25% - 1vw);
        margin: 0 0 2vw 0;
    }
    .page-nav {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .page-nav>* {
        width: calc(50% - 1vw);
    }
    .page-nav li a {
        margin-bottom: 2vw;
    }
    .say-list li {
        margin-bottom: 5vw;
    }
    .say-list li>i {
        font-size: 1em;
    }
    .say-list li .img-box[data-ratio="60"] {
        padding-top: 7em;
    }
    .say-list li>div {
        border-bottom: 0;
        padding-bottom: 5vw;
    }
    .say-list li::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: -2.4vw;
        height: 1px;
        width: calc(100% + 4.8vw);
        border-bottom: 1px solid var(--tx-color2);
    }
    .user-wide {
        margin: 0 auto;
    }
    .user-nav-box {
        background: linear-gradient(to left, #ff799e 0%, #ff528b 100%);
        color: #fff;
        padding: 3vw;
    }
    .user-nav {
        display: flex;
        align-items: center;
        font-size: 0.9em;
        border-top: 1px dashed #fff;
        padding-top: 3vw;
    }
    .user-nav li {
        flex: 1;
    }
    .user-nav li a {
        flex-direction: column;
        align-items: center;
        color: #fff;
    }
    .user-nav li i {
        font-size: 2em;
        color: #fff;
        margin: 0 0 3px 0;
        line-height: 1;
    }
    .user-nav li.on a,
    .user-nav li.on a i {
        color: #fff;
    }
    .user-nav-img {
        padding: 0;
        margin-bottom: 3vw;
    }
    .user-nav-img>a {
        position: absolute;
        right: 0;
        top: 0;
        display: inline-flex;
        line-height: 2;
        color: #fff;
        padding: 0 1.4em;
        background-color: #ff81a5;
        border: 2px solid #fff;
        border-radius: 40px;
        font-size: 0.85em;
    }
    .user-nav-img .tx-c2 {
        color: #fff;
    }
    .user-nav-img .w7em {
        width: 5.4em;
    }
    .wap-user-box {
        background-color: var(--tx-bg2);
        border-radius: 5px;
        padding: 3vw;
    }
    .vip-bottom-dw {
        height: calc(3em + 2vw);
    }
    .vip-bottom {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 1vw;
        z-index: 98;
    }
    .vip-bottom>a {
        display: flex;
        line-height: 3;
        align-items: flex-end;
        justify-content: center;
        color: #fff;
        position: relative;
    }
    .vip-bottom>a span {
        position: relative;
        z-index: 2;
        line-height: 3em;
    }
    .vip-bottom>a::before {
        content: "";
        background: url(../images/kefu.png) no-repeat 0 bottom;
        background-size: cover;
        width: 5em;
        height: 5em;
        display: inline-flex;
        z-index: 2;
        margin-right: 2vw;
    }
    .vip-bottom>a::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 3em;
        display: block;
        background-color: var(--tx-color);
        z-index: 1;
        border-radius: 5px;
    }
    .info-bottom-dw {
        height: calc(3.6em + 4vw);
    }
    .info-bottom {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 98;
        background-color: var(--tx-bg2);
        padding: 2vw 3vw;
        display: flex;
    }
    .info-bottom>a.tx-btn {
        padding: 0 1em;
    }
    .info-bottom>a.tx-bg {
        padding-right: 1em;
    }
    .info-bottom>a img {
        height: 2em;
        width: auto;
        margin-right: 4px;
    }
    .fixed-right>a {
        display: none;
    }
    .wapflex {
        display: flex;
    }
}

@media screen and (max-width: 420px) {
    .page-tags-box>* {
        width: calc(33.3333% - 1vw);
    }
    .vip-wide .bo-r5 {
        font-size: 0.8em;
    }
    .vip-wide .f-30 {
        font-size: 1.6em;
    }
    .vip-wide .f-16 {
        font-size: 1em;
    }
    .item-auxiliary {
        font-size: 0.85em;
        bottom: 5px;
        left: 5px;
    }
}
.linear{
    width:100%;
    height:2px;
    background: linear-gradient( 
    to right, 
    rgba(0,0,0,0) 0%, 
    rgba(0,0,0,0) 0%, 
    rgba(254,91,130,0.3) 20%, 
    rgba(254,91,130,0.4) 30%, 
    rgba(254,91,130,0.5) 40%, 
    rgba(254,91,130,0.8) 50%,
    rgba(254,91,130,0.5) 60%, 
    rgba(254,91,130,0.4) 70%, 
    rgba(254,91,130,0.3) 80%, 
    rgba(0,0,0,0) 100%,
    rgba(0,0,0,0) 100%)
} 

/* Homepage compact category filter */
.home-filter {
    margin: 0 0 15px;
    padding: 10px 14px;
    background: var(--tx-bg2);
    border-radius: 5px;
}
.home-filter-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.home-filter-row + .home-filter-row {
    margin-top: 8px;
}
.home-filter-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    color: #b8b8b8;
    white-space: nowrap;
    border-radius: 3px;
    transition: color .2s ease, background-color .2s ease;
}
.home-filter-row a:hover,
.home-filter-row a.on {
    color: #09c9ef;
    background: rgba(9, 201, 239, .12);
}
.home-filter-row .home-filter-vip {
    margin-left: auto;
    color: #f2c76f;
    background: rgba(242, 199, 111, .12);
}

@media screen and (max-width: 920px) {
    .home-filter {
        padding: 8px;
    }
    .home-filter-row {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .home-filter-row::-webkit-scrollbar {
        display: none;
    }
    .home-filter-row a {
        min-height: 40px;
        padding: 0 13px;
    }
    .home-filter-row .home-filter-vip {
        margin-left: 0;
    }
}

@media screen and (max-width: 480px) {
    .home-poster-grid > li {
        width: 33.333333%;
    }
    .home-poster-grid .item-box h2 {
        font-size: 13px;
    }
}

/* Premium cinema homepage */
:root {
    --cinema-bg: #090b10;
    --cinema-surface: #11141b;
    --cinema-surface-2: #171b24;
    --cinema-line: rgba(255, 255, 255, .075);
    --cinema-text: #f4f6fa;
    --cinema-muted: #8f96a3;
    --cinema-accent: #ff4f7b;
    --cinema-gold: #d9b76e;
}

body {
    background: var(--cinema-bg);
    color: var(--cinema-muted);
}

.tx-wide {
    max-width: 1440px;
    min-height: 100vh;
    margin: 0 auto;
    background:
        radial-gradient(circle at 50% -12%, rgba(81, 91, 122, .18), transparent 34%),
        linear-gradient(180deg, #0d1016 0, var(--cinema-bg) 540px);
}

.header {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid var(--cinema-line);
}

.header .nav a,
.header-user a {
    color: #a8afbb;
    transition: color 180ms ease;
}

.header .nav li.on a,
.header .nav a:hover,
.header-user a:hover {
    color: var(--cinema-text);
}

.search form {
    overflow: hidden;
    background: rgba(255, 255, 255, .055);
    border: 1px solid var(--cinema-line);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.search form > button {
    background: rgba(255, 255, 255, .075);
    color: var(--cinema-text);
    font-weight: 600;
}

.linear {
    height: 1px;
    opacity: .45;
    background: linear-gradient(90deg, transparent, rgba(255, 79, 123, .55), transparent);
}

.home-flash {
    margin-top: 18px;
}

.home-flash .swiper-container {
    overflow: hidden;
    border: 1px solid var(--cinema-line);
    border-radius: 18px;
    background: var(--cinema-surface);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

.home-flash .swiper-slide a {
    position: relative;
    display: block;
}

.home-flash .swiper-slide img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    transition: transform 700ms ease;
}

.home-flash .swiper-slide-active img {
    transform: scale(1.015);
}

.home-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 7, 11, .92) 0, rgba(5, 7, 11, .54) 40%, transparent 72%),
        linear-gradient(0deg, rgba(5, 7, 11, .68), transparent 58%);
}

.home-hero-copy {
    position: absolute;
    z-index: 2;
    left: clamp(22px, 5vw, 72px);
    bottom: clamp(25px, 4vw, 58px);
    display: flex;
    max-width: 62%;
    flex-direction: column;
    align-items: flex-start;
    color: var(--cinema-text);
}

.home-hero-copy small {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
}

.home-hero-copy strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: clamp(22px, 3vw, 42px);
    line-height: 1.15;
    letter-spacing: -.02em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-hero-copy em {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin-top: 18px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(244, 246, 250, .94);
    color: #101218;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
}

.home-hero-copy em span {
    margin-left: 9px;
    font-size: 16px;
}

.home-flash .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, .55);
    opacity: .7;
    transition: width 180ms ease, opacity 180ms ease;
}

.home-flash .swiper-pagination-bullet-active {
    width: 22px;
    border-radius: 999px;
    background: var(--cinema-accent);
    opacity: 1;
}

.home-filter {
    margin: 0 0 26px;
    padding: 18px;
    border: 1px solid var(--cinema-line);
    border-radius: 16px;
    background: rgba(17, 20, 27, .88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025), 0 12px 34px rgba(0, 0, 0, .18);
    backdrop-filter: blur(18px);
}

.home-filter-heading,
.home-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.home-filter-heading {
    margin: 0 4px 14px;
}

.home-filter-heading strong,
.home-section-heading strong {
    color: var(--cinema-text);
    font-size: 20px;
    letter-spacing: -.01em;
}

.home-filter-heading span {
    color: #69717e;
    font-size: 12px;
}

.home-filter-row {
    gap: 8px;
}

.home-filter-row + .home-filter-row {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--cinema-line);
}

.home-filter-row a {
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #969daa;
    font-size: 14px;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.home-filter-row a:hover {
    transform: translateY(-1px);
}

.home-filter-row a:hover,
.home-filter-row a.on {
    border-color: rgba(255, 255, 255, .09);
    background: #f1f3f7;
    color: #11141a;
}

.home-filter-row .home-filter-vip,
.home-filter-row .home-filter-vip:hover {
    margin-left: auto;
    border-color: rgba(217, 183, 110, .3);
    background: rgba(217, 183, 110, .09);
    color: var(--cinema-gold);
}

.home-section-heading {
    margin: 4px 2px 14px;
}

.home-section-heading > div {
    display: flex;
    flex-direction: column;
}

.home-section-heading small {
    margin-bottom: 4px;
    color: var(--cinema-accent);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .18em;
}

.home-tab .tab-hd {
    position: relative;
    padding: 4px;
    border: 1px solid var(--cinema-line);
    border-radius: 12px;
    background: rgba(17, 20, 27, .82);
}

.home-tab .tab-hd > * {
    position: relative;
    line-height: 42px;
    border-radius: 9px;
    color: #7e8693;
    transition: color 180ms ease, background 180ms ease;
}

.home-tab .tab-hd > *.on {
    background: var(--cinema-surface-2);
    color: var(--cinema-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.home-tab .tab-hd > *.on::after {
    position: absolute;
    right: 38%;
    bottom: 4px;
    left: 38%;
    height: 2px;
    border-radius: 999px;
    background: var(--cinema-accent);
    content: "";
}

.home-poster-grid > li {
    margin-bottom: 26px;
}

.home-poster-grid .item-box .img-box {
    overflow: hidden;
    border: 1px solid var(--cinema-line);
    border-radius: 12px;
    background: var(--cinema-surface-2);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .23);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-poster-grid .item-box .img-box:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, .15);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .32);
}

.home-poster-grid .item-box .img-box img {
    transition: transform 180ms ease, filter 180ms ease;
}

.home-poster-grid .item-box .img-box:hover img {
    transform: scale(1.035);
    filter: saturate(1.06);
}

.home-poster-grid .item-auxiliary {
    right: 7px;
    bottom: 7px;
    left: 7px;
    justify-content: space-between;
}

.home-poster-grid .item-auxiliary > * {
    height: 22px;
    margin: 0;
    padding: 0 7px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    background: rgba(8, 10, 14, .62);
    color: rgba(255, 255, 255, .8);
    line-height: 20px;
    backdrop-filter: blur(8px);
}

.home-poster-grid .item-box h2 {
    margin-top: 10px;
    line-height: 1.45;
}

.home-poster-grid .item-box h2 a {
    color: #dfe3ea;
    transition: color 180ms ease;
}

.home-poster-grid .item-box h2 a:hover {
    color: #fff;
}

.footer {
    margin-top: 30px;
    border-top: 1px solid var(--cinema-line);
    color: #727a87;
}

.footer a,
.footer .tx-c1 {
    color: #aab1bd;
}

@media screen and (max-width: 920px) {
    .home-flash {
        margin-top: 8px;
    }

    .home-flash .swiper-container {
        border-radius: 15px;
    }

    .home-flash .swiper-slide img {
        height: clamp(150px, 46vw, 240px);
        min-height: 0;
        max-height: none;
    }

    .home-hero-copy {
        max-width: 72%;
    }

    .home-hero-copy em {
        min-height: 36px;
        margin-top: 12px;
        padding: 0 14px;
    }

    .home-filter {
        padding: 14px 10px;
    }

    .home-filter-row .home-filter-vip {
        margin-left: 0;
    }
}

@media screen and (max-width: 480px) {
    .tx-wide {
        padding-right: 12px;
        padding-left: 12px;
    }

    .home-flash {
        margin-bottom: 12px;
    }

    .home-flash .swiper-slide img {
        height: clamp(150px, 46vw, 190px);
    }

    .home-hero-shade {
        background:
            linear-gradient(90deg, rgba(5, 7, 11, .9) 0, rgba(5, 7, 11, .28) 68%, transparent),
            linear-gradient(0deg, rgba(5, 7, 11, .72), transparent 60%);
    }

    .home-hero-copy {
        left: 16px;
        bottom: 18px;
        max-width: 76%;
    }

    .home-hero-copy small {
        margin-bottom: 5px;
        font-size: 9px;
    }

    .home-hero-copy strong {
        font-size: 19px;
        -webkit-line-clamp: 1;
    }

    .home-hero-copy em {
        min-height: 32px;
        margin-top: 9px;
        padding: 0 12px;
        font-size: 11px;
    }

    .home-filter {
        margin-bottom: 22px;
        border-radius: 14px;
    }

    .home-filter-heading {
        margin: 0 4px 10px;
    }

    .home-filter-heading strong,
    .home-section-heading strong {
        font-size: 17px;
    }

    .home-filter-heading span {
        font-size: 10px;
    }

    .home-filter-row {
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 1px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .home-filter-row::-webkit-scrollbar {
        display: none;
    }

    .home-filter-row a {
        min-height: 40px;
        padding: 0 14px;
        font-size: 13px;
    }

    .home-section-heading {
        margin-bottom: 10px;
    }

    .home-tab .tab-hd > * {
        line-height: 40px;
        font-size: 13px;
    }

    .home-poster-grid {
        margin-right: -4px;
        margin-left: -4px;
    }

    .home-poster-grid > li {
        width: 33.333333%;
        margin-bottom: 18px;
        padding-right: 4px;
        padding-left: 4px;
    }

    .home-poster-grid .item-box .img-box {
        border-radius: 9px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
    }

    .home-poster-grid .item-auxiliary {
        right: 4px;
        bottom: 4px;
        left: 4px;
        font-size: 9px;
    }

    .home-poster-grid .item-auxiliary > * {
        height: 18px;
        padding: 0 4px;
        line-height: 16px;
    }

    .home-poster-grid .item-box h2 {
        display: block;
        overflow: hidden;
        margin-top: 7px;
        font-size: 12px;
        line-height: 1.4;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .footer {
        margin-top: 18px;
    }
}

/* header-text-nav */
.header .nav {
    min-width: 0;
    padding: 0 24px 0 0;
}

.header .nav ul {
    gap: 6px;
    flex-wrap: nowrap;
}

.header .nav li {
    flex: none;
}

.header .nav a {
    position: relative;
    min-height: 42px;
    padding: 0 13px;
    flex-direction: row;
    justify-content: center;
    color: #979eaa;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .03em;
}

.header .nav a > i,
.header .nav a > img,
.header .nav a .portrait-box,
.header-user img {
    display: none !important;
}

.header .nav li.on a,
.header .nav a:hover {
    color: var(--cinema-text);
}

.header .nav li.on a::after {
    position: absolute;
    right: 13px;
    bottom: 2px;
    left: 13px;
    height: 2px;
    border-radius: 999px;
    background: var(--cinema-accent);
    content: "";
}

.header-user > a {
    min-height: 40px;
    margin-left: 4px;
    padding: 0 8px;
}

@media screen and (max-width: 920px) {
    .header .nav {
        width: 100%;
        overflow-x: auto;
        padding: 0;
        flex-direction: row;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .header .nav::-webkit-scrollbar {
        display: none;
    }

    .header .nav ul {
        width: max-content;
        min-width: 100%;
        justify-content: flex-start;
    }

    .header .nav a {
        min-height: 40px;
        padding: 0 12px;
        font-size: 14px;
    }

    .header .nav li.on a::after {
        right: 12px;
        left: 12px;
    }

    .header .wap-top-user-img a,
    .header .wap-top-user-img a span {
        display: inline-flex;
        width: auto;
        height: auto;
        border-radius: 0;
    }
}

@media screen and (max-width: 480px) {
    .header .nav ul {
        gap: 0;
    }

    .header .nav a {
        padding: 0 11px;
        font-size: 13px;
    }

    .header .nav li.on a::after {
        right: 11px;
        left: 11px;
    }
}

/* Multilingual switcher */
.language-switcher { position: relative; z-index: 120; flex: none; margin-left: 10px; }
.language-switcher-button { display: inline-flex; min-width: 68px; min-height: 42px; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--cinema-line); border-radius: 999px; background: rgba(255,255,255,.055); color: var(--cinema-text); cursor: pointer; }
.language-switcher-button span { color: var(--cinema-accent); font-size: 18px; }
.language-switcher-button strong { font-size: 12px; letter-spacing: .05em; }
.language-switcher-menu { position: absolute; top: calc(100% + 9px); right: 0; display: none; min-width: 160px; overflow: hidden; padding: 6px; border: 1px solid var(--cinema-line); border-radius: 13px; background: rgba(17,20,27,.98); box-shadow: 0 20px 50px rgba(0,0,0,.45); backdrop-filter: blur(18px); }
.language-switcher.open .language-switcher-menu { display: block; }
.language-switcher-menu a { display: flex; min-height: 40px; align-items: center; padding: 0 12px; border-radius: 8px; color: #b4bac5; white-space: nowrap; }
.language-switcher-menu a:hover { background: rgba(255,255,255,.07); color: #fff; }
html[lang="zh-cn"] .language-switcher-menu a[data-lang="zh-cn"], html[lang="en"] .language-switcher-menu a[data-lang="en"], html[lang="vi"] .language-switcher-menu a[data-lang="vi"], html[lang="km"] .language-switcher-menu a[data-lang="km"], html[lang="th"] .language-switcher-menu a[data-lang="th"] { color: #fff; background: rgba(255,79,123,.12); }
@media screen and (max-width: 920px) {
    .header { padding-right: 74px; }
    .language-switcher { position: absolute; top: 8px; right: 0; margin: 0; }
    .language-switcher-button { min-width: 62px; min-height: 40px; }
}
/* Global compact catalogue theme — shared by every public page. */
:root {
    --cinema-bg: #09090b;
    --cinema-surface: #111115;
    --cinema-surface-2: #18181d;
    --cinema-line: rgba(255, 255, 255, .085);
    --cinema-text: #ededf1;
    --cinema-muted: #94949e;
    --cinema-accent: #08bdd8;
    --cinema-gold: #08bdd8;
}

html, body {
    background: var(--cinema-bg) !important;
    color: var(--cinema-text) !important;
    font-family: Inter, "Noto Sans Khmer", "Noto Sans Thai", "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body::before {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(circle at 50% -18%, rgba(8,189,216,.055), transparent 38%);
}

.tx-bg, .tx-bg2, .tx-bg3, .tx-bg4,
.vod-detail, .vod-info, .detail-info, .play-box, .play-list,
.page-box, .page-wide, .list-box, .art-info, .actor-info,
.topic-info, .website-info, .gbook-form, .login-box,
.tx-box, .tx-card, .member-box, .user-box {
    background-color: var(--cinema-surface) !important;
    color: var(--cinema-text) !important;
    border-color: var(--cinema-line) !important;
    box-shadow: 0 18px 50px rgba(0,0,0,.22);
}

a, h1, h2, h3, h4, h5, h6, strong, .tx-text, .title { color: var(--cinema-text); }
a:hover, .tx-text-theme, .tx-text-active, .active > a, .on > a { color: var(--cinema-accent) !important; }
.tx-text-muted, .text-muted, small, .desc, .remarks, .info { color: var(--cinema-muted) !important; }

input, textarea, select, .tx-input, .form-control {
    background: #0d0d10 !important; color: var(--cinema-text) !important;
    border: 1px solid var(--cinema-line) !important; border-radius: 10px !important;
}
input:focus, textarea:focus, select:focus {
    border-color: rgba(8,189,216,.58) !important;
    box-shadow: 0 0 0 3px rgba(8,189,216,.12) !important;
}

.tx-btn, button, [type="submit"], .btn {
    border-radius: 10px !important; border-color: var(--cinema-line) !important;
}
.tx-btn-bg, .tx-btn-theme, .btn-primary, [type="submit"] {
    color: #061114 !important; background: var(--cinema-accent) !important;
}

table, th, td, .tx-border, .tx-border-box, .page-nav li a {
    border-color: var(--cinema-line) !important;
}
tr:nth-child(even), .page-nav li a { background: var(--cinema-surface-2) !important; }
.page-nav li.on a, .page-nav li a:hover { background: var(--cinema-accent) !important; color: #fff !important; }

@media (max-width: 767px) {
    body { letter-spacing: .005em; }
    .tx-wide { padding-left: 12px; padding-right: 12px; }
}

/* Account access — a compact black-and-gold companion to the Kang start screen. */
.auth-page {
    --auth-bg: #090806;
    --auth-card: #13110e;
    --auth-field: #191611;
    --auth-line: rgba(214, 172, 88, .2);
    --auth-text: #f5efe4;
    --auth-muted: #938b7e;
    --auth-gold: #d6ac58;
    --auth-gold-soft: #b98b42;
    background:
        radial-gradient(circle at 50% 10%, rgba(214, 172, 88, .085), transparent 34%),
        var(--auth-bg) !important;
}
.auth-page .tx-wide {
    min-height: 100vh;
    background: transparent !important;
}
.auth-page .header {
    border-bottom: 1px solid rgba(214, 172, 88, .12);
    background: rgba(9, 8, 6, .92) !important;
}
.auth-page .header .search,
.auth-page .header-user {
    display: none !important;
}
.auth-page .header .nav li.on a::after {
    background: var(--auth-gold) !important;
}
.auth-page .header .nav a,
.auth-page .language-switcher-button {
    color: var(--auth-muted);
}
.auth-page .header .nav li.on a,
.auth-page .language-switcher-button strong {
    color: var(--auth-text);
}
.auth-page .language-switcher-button {
    border-color: var(--auth-line);
    background: rgba(255, 255, 255, .035);
}
.auth-page .language-switcher-button span {
    color: var(--auth-gold);
}
.auth-page .login-wide.auth-shell {
    width: min(100% - 28px, 470px);
    max-width: none;
    margin: clamp(42px, 9vh, 92px) auto;
    padding: 0;
}
.auth-card {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 5vw, 42px);
    border: 1px solid var(--auth-line);
    border-radius: 22px;
    background: linear-gradient(155deg, rgba(24, 21, 16, .98), rgba(14, 12, 10, .98));
    box-shadow: 0 30px 80px rgba(0, 0, 0, .42);
}
.auth-card::before {
    position: absolute;
    top: 0;
    right: 14%;
    left: 14%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--auth-gold), transparent);
    content: "";
}
.auth-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 28px;
}
.auth-heading h1 {
    margin: 0;
    color: var(--auth-text);
    font-size: clamp(22px, 5vw, 28px);
    font-weight: 650;
    letter-spacing: -.02em;
}
.auth-mark {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid rgba(214, 172, 88, .42);
    border-radius: 13px;
    color: var(--auth-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 700;
    box-shadow: inset 0 0 20px rgba(214, 172, 88, .08);
}
.auth-fields {
    margin: 0 0 24px !important;
}
.auth-fields .input-i {
    margin-bottom: 13px !important;
}
.auth-fields .input-i > i {
    left: 17px;
    color: var(--auth-gold);
    opacity: .82;
}
.auth-fields input[type="text"],
.auth-fields input[type="email"],
.auth-fields input[type="password"] {
    width: 100%;
    height: 54px;
    padding: 0 18px 0 48px;
    border: 1px solid rgba(255, 255, 255, .075) !important;
    border-radius: 13px !important;
    outline: 0;
    background: var(--auth-field) !important;
    box-shadow: none !important;
    color: var(--auth-text) !important;
    -webkit-text-fill-color: var(--auth-text) !important;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.auth-fields input::placeholder {
    color: var(--auth-muted);
    opacity: 1;
}
.auth-fields input:focus {
    border-color: rgba(214, 172, 88, .64) !important;
    background: #1d1913 !important;
    box-shadow: 0 0 0 3px rgba(214, 172, 88, .09) !important;
}
.auth-code-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
}
.auth-code-field > i {
    z-index: 2;
}
.auth-code-field #code {
    grid-column: 1 / -1;
    padding-right: 132px;
}
.auth-code-button {
    position: absolute;
    z-index: 3;
    top: 7px;
    right: 7px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(214, 172, 88, .3);
    border-radius: 9px;
    background: rgba(214, 172, 88, .1);
    color: var(--auth-gold);
    cursor: pointer;
    font-size: 12px;
    font-weight: 650;
}
.auth-code-button:disabled {
    cursor: wait;
    opacity: .55;
}
.auth-actions {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 11px;
}
.auth-primary,
.auth-secondary {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}
.auth-primary {
    border: 1px solid var(--auth-gold);
    background: linear-gradient(135deg, #dfb967, var(--auth-gold-soft));
    color: #171107;
    box-shadow: 0 12px 28px rgba(185, 139, 66, .18);
}
.auth-secondary {
    border: 1px solid var(--auth-line);
    background: rgba(255, 255, 255, .035);
    color: var(--auth-text);
}
.auth-primary:hover,
.auth-secondary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}
.auth-page .footer {
    display: none;
}
@media (max-width: 560px) {
    .auth-page .header {
        min-height: 58px;
        padding: 0 72px 0 0;
    }
    .auth-page .header .nav li {
        display: none;
    }
    .auth-page .header .nav li:first-child {
        display: block;
    }
    .auth-page .login-wide.auth-shell {
        margin: 28px auto;
    }
    .auth-card {
        padding: 24px 18px;
        border-radius: 18px;
    }
    .auth-actions {
        grid-template-columns: 1fr;
    }
}

/* Single-channel USDT recharge. */
.usdt-recharge-page {
    background: #090806 !important;
}
.usdt-shell {
    width: min(100% - 28px, 620px);
    margin: clamp(36px, 8vh, 82px) auto;
}
.usdt-card {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 6vw, 46px);
    border: 1px solid rgba(214,172,88,.22);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0, rgba(38,161,123,.12), transparent 34%),
        linear-gradient(155deg, #181510, #0f0d0a);
    box-shadow: 0 30px 80px rgba(0,0,0,.42);
}
.usdt-badge {
    position: absolute;
    top: 22px;
    right: 22px;
    padding: 7px 11px;
    border: 1px solid rgba(38,161,123,.36);
    border-radius: 999px;
    background: rgba(38,161,123,.1);
    color: #55c9a3;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
}
.usdt-kicker {
    margin: 0 0 8px;
    color: #d6ac58;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
}
.usdt-card h1 {
    margin: 0;
    color: #f5efe4;
    font-size: clamp(28px, 7vw, 42px);
}
.usdt-lead {
    margin: 9px 0 30px;
    color: #938b7e;
}
.usdt-network,
.usdt-address-box {
    padding: 17px 18px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 14px;
    background: rgba(255,255,255,.035);
}
.usdt-network {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.usdt-network span,
.usdt-address-box > span {
    color: #938b7e;
    font-size: 12px;
}
.usdt-network strong {
    color: #55c9a3;
}
.usdt-address-box > span {
    display: block;
    margin-bottom: 10px;
}
.usdt-address-box code {
    display: block;
    overflow-wrap: anywhere;
    color: #f5efe4;
    font: 600 14px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.usdt-address-box button {
    width: 100%;
    min-height: 44px;
    margin-top: 15px;
    border: 1px solid rgba(214,172,88,.36);
    border-radius: 11px;
    background: rgba(214,172,88,.1);
    color: #d6ac58;
    cursor: pointer;
    font-weight: 700;
}
.usdt-empty {
    display: block;
    color: #d6ac58;
    font-size: 14px;
}
.usdt-notes {
    margin: 22px 0 0;
    padding: 0;
    color: #938b7e;
    font-size: 12px;
    line-height: 1.8;
    list-style: none;
}
.usdt-notes li::before {
    margin-right: 8px;
    color: #55c9a3;
    content: "◆";
    font-size: 8px;
}
.usdt-notes strong {
    color: #f5efe4;
}

/* Category page: collected cover carousel and local icon avatars. */
.list-flash .swiper-slide > a { position: relative; display: block; overflow: hidden; }
.list-flash .swiper-slide img { width: 100%; height: 285px; object-fit: cover; display: block; }
.type-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg,transparent 35%,rgba(8,7,7,.9)); }
.type-hero-title { position: absolute; left: 22px; right: 22px; bottom: 22px; color: #fff; font-size: 18px; line-height: 1.45; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.type-category-avatar {
    display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin: 0 auto;
    color: #f7d4c4; background: linear-gradient(145deg,rgba(232,118,83,.3),rgba(216,170,99,.12));
    border: 1px solid rgba(232,118,83,.3); border-radius: 20px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.1),0 12px 25px rgba(0,0,0,.22);
}
.type-category-avatar .iconfont { font-size: 33px; }
.tx-flash-flex .col-12:last-child li:nth-child(1) .type-category-avatar .iconfont::before { content: "\e60c"; }
.tx-flash-flex .col-12:last-child li:nth-child(2) .type-category-avatar .iconfont::before { content: "\e645"; }
.tx-flash-flex .col-12:last-child li:nth-child(3) .type-category-avatar .iconfont::before { content: "\e601"; }
.tx-flash-flex .col-12:last-child li:nth-child(4) .type-category-avatar .iconfont::before { content: "\e602"; }
.tx-flash-flex .col-12:last-child li:nth-child(5) .type-category-avatar .iconfont::before { content: "\e706"; }
@media (max-width: 767px) {
    .list-flash .swiper-slide img { height: 210px; }
    .type-category-avatar { width: 58px; height: 58px; border-radius: 16px; }
    .type-category-avatar .iconfont { font-size: 27px; }
}

/* Image-free category directory. */
.cinema-category-directory {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
}
.cinema-category-group {
    padding: 20px; background: linear-gradient(145deg, rgba(36,33,30,.96), rgba(25,23,21,.96));
    border: 1px solid var(--cinema-line); border-radius: 14px;
    box-shadow: 0 16px 38px rgba(0,0,0,.18);
}
.cinema-category-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.cinema-category-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cinema-category-icon {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 42px;
    width: 42px; height: 42px; color: #f8d4c4;
    background: linear-gradient(145deg, rgba(232,118,83,.28), rgba(216,170,99,.12));
    border: 1px solid rgba(232,118,83,.32); border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 18px rgba(0,0,0,.16);
}
.cinema-category-icon .iconfont { font-size: 23px; }
.cinema-category-parent-2 .cinema-category-icon .iconfont::before { content: "\e633"; }
.cinema-category-parent-1 .cinema-category-icon .iconfont::before { content: "\e637"; }
.cinema-category-parent-31 .cinema-category-icon .iconfont::before { content: "\e706"; }
.cinema-category-parent-29 .cinema-category-icon .iconfont::before { content: "\e6ac"; }
.cinema-category-parent-30 .cinema-category-icon .iconfont::before { content: "\e604"; }
.cinema-category-heading strong { font-size: 20px; letter-spacing: .02em; }
.cinema-category-heading > a { color: var(--cinema-gold); font-size: 13px; white-space: nowrap; }
.cinema-category-links { display: flex; flex-wrap: wrap; gap: 9px; }
.cinema-category-links > a {
    display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px;
    color: var(--cinema-muted); background: rgba(255,255,255,.035);
    border: 1px solid var(--cinema-line); border-radius: 999px; transition: .2s ease;
}
.cinema-category-links > a .iconfont { color: rgba(216,170,99,.72); font-size: 14px; }

/* Unified global video index used by the four home sorting controls. */
.video-index-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
    margin: 18px 0 12px; padding: 24px; background: linear-gradient(145deg,var(--cinema-surface-2),var(--cinema-surface));
    border: 1px solid var(--cinema-line); border-radius: 14px;
}
.video-index-head small { display: block; margin-bottom: 5px; color: var(--cinema-gold); font-size: 11px; letter-spacing: .18em; }
.video-index-head h1 { margin: 0; font-size: 25px; }
.video-sort-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.video-sort-nav a, .video-index-types a {
    padding: 9px 14px; color: var(--cinema-muted); border: 1px solid var(--cinema-line); border-radius: 999px;
}
.video-sort-nav a.on, .video-sort-nav a:hover, .video-index-types a:hover {
    color: #fff !important; background: rgba(232,118,83,.18); border-color: rgba(232,118,83,.45) !important;
}
.video-index-types { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; padding: 14px 18px; background: var(--cinema-surface); border: 1px solid var(--cinema-line); border-radius: 12px; }
@media (max-width: 767px) {
    .video-index-head { display: block; padding: 18px; }
    .video-sort-nav { margin-top: 16px; }
    .video-sort-nav a { flex: 1 1 calc(50% - 5px); text-align: center; }
}
.cinema-category-links > a:hover {
    color: #fff !important; border-color: rgba(232,118,83,.48) !important;
    background: rgba(232,118,83,.16) !important; transform: translateY(-1px);
}
@media (max-width: 767px) {
    .cinema-category-directory { grid-template-columns: 1fr; gap: 10px; }
    .cinema-category-group { padding: 16px; }
    .cinema-category-heading strong { font-size: 18px; }
}

/* Category directory: same restrained line-icon language as the home navigation. */
.cinema-category-icon {
    position: relative;
    overflow: hidden;
    color: #f4cabb;
    background: rgba(232,118,83,.09);
    border-color: rgba(232,118,83,.24);
    border-radius: 13px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}
.cinema-category-icon::after {
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(216,170,99,.1);
    border-radius: 9px;
    content: "";
}
.cinema-category-icon .iconfont {
    position: relative;
    z-index: 1;
    width: 23px;
    height: 23px;
    background: currentColor;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
}
.cinema-category-icon .iconfont::before { content: none !important; }
.cinema-category-parent-2 .cinema-category-icon .iconfont {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5.5 9.5V21h13V9.5M9 21v-6h6v6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5.5 9.5V21h13V9.5M9 21v-6h6v6'/%3E%3C/svg%3E");
}
.cinema-category-parent-1 .cinema-category-icon .iconfont {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M7.5 14.5c1.2 2.3 3.1 3.5 5.8 3.5M8 9.5h.01M16 9.5h.01M10 12.5h4'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M7.5 14.5c1.2 2.3 3.1 3.5 5.8 3.5M8 9.5h.01M16 9.5h.01M10 12.5h4'/%3E%3C/svg%3E");
}
.cinema-category-parent-31 .cinema-category-icon .iconfont {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3.5 12h17M12 3c2.4 2.5 3.6 5.5 3.6 9S14.4 18.5 12 21c-2.4-2.5-3.6-5.5-3.6-9S9.6 5.5 12 3Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3.5 12h17M12 3c2.4 2.5 3.6 5.5 3.6 9S14.4 18.5 12 21c-2.4-2.5-3.6-5.5-3.6-9S9.6 5.5 12 3Z'/%3E%3C/svg%3E");
}
.cinema-category-parent-29 .cinema-category-icon .iconfont {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12s3.4-5 9-5 9 5 9 5-3.4 5-9 5-9-5-9-5Z'/%3E%3Ccircle cx='12' cy='12' r='2.4'/%3E%3Cpath d='m5 19 14-14'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12s3.4-5 9-5 9 5 9 5-3.4 5-9 5-9-5-9-5Z'/%3E%3Ccircle cx='12' cy='12' r='2.4'/%3E%3Cpath d='m5 19 14-14'/%3E%3C/svg%3E");
}
.cinema-category-parent-30 .cinema-category-icon .iconfont {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 1.7 5.3L19 10l-5.3 1.7L12 17l-1.7-5.3L5 10l5.3-1.7L12 3Z'/%3E%3Cpath d='m18.5 15 .7 2.3 2.3.7-2.3.7-.7 2.3-.7-2.3-2.3-.7 2.3-.7.7-2.3Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 1.7 5.3L19 10l-5.3 1.7L12 17l-1.7-5.3L5 10l5.3-1.7L12 3Z'/%3E%3Cpath d='m18.5 15 .7 2.3 2.3.7-2.3.7-.7 2.3-.7-2.3-2.3-.7 2.3-.7.7-2.3Z'/%3E%3C/svg%3E");
}
.cinema-category-links > a {
    gap: 9px;
    min-height: 38px;
    padding: 8px 13px;
    background: rgba(255,255,255,.025);
    border-color: rgba(222,202,184,.13);
}
.cinema-category-links > a .iconfont {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    background: rgba(216,170,99,.78);
    border-radius: 2px;
    transform: rotate(45deg);
}
.cinema-category-links > a .iconfont::before { content: none !important; }
.cinema-category-heading > a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(216,170,99,.16);
    border-radius: 999px;
}
.category-directory-page .tab-hd-t {
    border: 1px solid var(--cinema-line);
    border-radius: 12px;
    background: var(--cinema-surface) !important;
}
.category-directory-page .tab-hd-t > * { border-radius: 9px; }
.category-directory-page .tab-hd-t > *.on {
    color: #fff;
    background: linear-gradient(135deg,rgba(232,118,83,.26),rgba(216,170,99,.12));
    box-shadow: inset 0 0 0 1px rgba(232,118,83,.18);
}

/* Homepage — compact mobile catalogue matching the supplied reference. */
.vifan-home {
    background: #09090b;
    color: #96969d;
}
.start-screen-open {
    overflow: hidden;
}
.site-start-screen {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 46%, #342615 0, #0b0a08 45%, #050505 100%);
    opacity: 1;
    visibility: visible;
    transition: opacity .48s ease, visibility .48s ease;
}
.site-start-screen.is-leaving {
    opacity: 0;
    visibility: hidden;
}
.site-start-screen.is-skipped {
    display: none;
}
.site-start-enter {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    cursor: pointer;
}
.site-start-enter img {
    display: block;
    width: auto;
    max-width: 100vw;
    height: auto;
    max-height: 100vh;
    max-height: 100dvh;
    object-fit: contain;
    filter: drop-shadow(0 30px 70px rgba(0,0,0,.48));
}
.site-start-enter:focus-visible {
    outline: 2px solid #d6ac58;
    outline-offset: -4px;
}
@media (max-aspect-ratio: 768/1376) {
    .site-start-enter img {
        width: 100vw;
        height: auto;
        max-height: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .site-start-screen { transition: none; }
}
.vifan-home .tx-wide {
    max-width: 680px;
    padding: 0;
    background: #0b0b0e;
}
.vifan-home .header {
    position: relative;
    min-height: 70px;
    padding: 0 86px;
    border-bottom: 1px solid #202025;
    background: #0b0b0e;
}
.vifan-home .header::before {
    position: absolute;
    top: 0;
    right: 80px;
    bottom: 0;
    left: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f3f3f5;
    font-size: 18px;
    font-weight: 500;
    content: "康城影视";
}
.vifan-home .header .nav,
.vifan-home .header .search,
.vifan-home .header-user {
    display: none !important;
}
.vifan-home .language-switcher {
    position: absolute;
    z-index: 3;
    top: 14px;
    right: 14px;
}
.vifan-home .vifan-header-login {
    position: absolute;
    z-index: 3;
    top: 14px;
    right: 92px;
    display: inline-flex;
    min-width: 64px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid #08bdd8;
    border-radius: 8px;
    background: rgba(8,189,216,.12);
    color: #08bdd8;
    font-size: 14px;
    font-weight: 700;
}
.vifan-home .language-switcher-button {
    min-height: 42px;
    padding: 0 11px;
    border-color: #2b2b31;
    border-radius: 8px;
    background: #151519;
}
.vifan-home-main {
    padding: 14px 18px 28px;
}
.vifan-filter {
    overflow: hidden;
    margin: 0 -18px 20px;
    padding: 0 18px 10px;
    border-bottom: 1px solid #17171b;
}
.vifan-filter-row {
    display: flex;
    gap: 0;
    overflow-x: auto;
    margin-bottom: 8px;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.vifan-filter-row::-webkit-scrollbar { display: none; }
.vifan-filter-row > a {
    display: flex;
    min-width: 102px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    color: #b9b9c0;
    font-size: 15px;
    line-height: 1;
}
.vifan-filter-row > .vifan-filter-label {
    min-width: 112px;
    margin-right: 4px;
    color: #08bdd8;
    background: #092329;
}
.vifan-filter-row > .vifan-filter-label.on {
    background: #09262e;
    box-shadow: inset 0 0 0 1px rgba(0,197,226,.04);
}
.vifan-poster-grid {
    margin: 0 -7px;
}
.vifan-poster-grid > li {
    width: 33.333333% !important;
    margin-bottom: 24px;
    padding: 0 7px;
}
.vifan-poster-grid .item-box .img-box {
    padding-top: 138%;
    border: 0;
    border-radius: 3px;
    background: #17171b;
    box-shadow: none;
}
.vifan-poster-grid .item-box .img-box img {
    object-fit: cover;
}
.vifan-poster-grid .item-auxiliary {
    right: 5px;
    bottom: 5px;
    left: 5px;
}
.vifan-poster-grid .item-auxiliary > * {
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.88);
    font-size: 11px;
    line-height: 1.3;
    text-shadow: 0 1px 3px #000;
    backdrop-filter: none;
}
.vifan-poster-grid .item-box h2 {
    overflow: hidden;
    margin: 9px 0 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.vifan-poster-grid .item-box h2 a { color: #dddde1; }
.vifan-home .footer {
    margin: 0 18px;
}

/* Inner pages inherit the homepage's black/cyan visual system without changing content structure. */
body:not(.vifan-home) .tx-wide {
    background: #0b0b0e;
}
body:not(.vifan-home) .header {
    background: #0b0b0e;
    border-bottom-color: #202025;
}
body:not(.vifan-home) .header .nav li.on a::after {
    background: var(--cinema-accent);
}
body:not(.vifan-home) .search form {
    background: #101014;
    border-color: #29292f;
    border-radius: 8px;
}
body:not(.vifan-home) .search form > button {
    background: #09262e;
    color: #08c4df;
}
body:not(.vifan-home) .language-switcher-button {
    border-color: #2b2b31;
    border-radius: 8px;
    background: #151519;
}
.language-switcher-menu {
    border-color: #29292f;
    border-radius: 8px;
    background: #111115;
}
html[lang="zh-cn"] .language-switcher-menu a[data-lang="zh-cn"],
html[lang="en"] .language-switcher-menu a[data-lang="en"],
html[lang="vi"] .language-switcher-menu a[data-lang="vi"],
html[lang="km"] .language-switcher-menu a[data-lang="km"],
html[lang="th"] .language-switcher-menu a[data-lang="th"] {
    color: #08c4df;
    background: #09262e;
}
.category-page-hero,
.cinema-category-group,
.video-index-head {
    background: #111115;
    border-color: #29292f;
    border-radius: 8px;
    box-shadow: none;
}
.category-page-hero {
    background: linear-gradient(180deg,#131318,#0f0f12);
}
.category-page-hero::before {
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg,transparent,var(--cinema-accent),transparent);
    box-shadow: none;
}
.category-sibling-nav,
.video-index-types,
.home-tab .tab-hd,
.category-directory-page .tab-hd-t {
    border-color: #29292f !important;
    border-radius: 8px;
    background: #101014 !important;
}
.category-sibling-nav a,
.video-index-types a,
.video-sort-nav a {
    border-radius: 3px;
}
.category-sibling-nav a.on,
.category-sibling-nav a:hover,
.video-index-types a:hover,
.video-sort-nav a.on,
.video-sort-nav a:hover {
    border-color: #0b333a !important;
    background: #09262e !important;
    color: #08c4df !important;
}
.cinema-category-icon {
    color: #08c4df;
    background: #09262e;
    border-color: #0b3b44;
    border-radius: 8px;
}
.cinema-category-links > a {
    border-color: #29292f;
    border-radius: 4px;
    background: #151519;
}
.cinema-category-links > a .iconfont {
    background: #08bdd8;
}
.cinema-category-heading > a {
    color: #08bdd8;
    border-color: #0b3b44;
    border-radius: 4px;
}
.category-pagination .pagebar > a,
.category-pagination .pagebar > span,
.pagebar > a,
.pagebar > span {
    border-color: #29292f !important;
    border-radius: 4px !important;
    background: #151519 !important;
}
.category-pagination .pagebar .laypage_curr,
.pagebar .now-page {
    border-color: #08bdd8 !important;
    background: #09262e !important;
    color: #08c4df !important;
}
.item-box .img-box,
.list-flash .swiper-container,
.info-video-box,
.vod-detail,
.detail-info,
.play-box,
.play-list,
.page-box,
.page-wide,
.list-box,
.user-wide,
.login-box {
    border-color: #29292f !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}
.tags-box a,
.page-tags-box > *,
.info-auxiliary-txt a {
    border-color: #29292f !important;
    border-radius: 4px !important;
    background: #151519 !important;
}
.tags-box a:hover,
.page-tags-box > *:hover,
.info-auxiliary-txt a:hover {
    color: #08c4df !important;
    background: #09262e !important;
}
.user-nav li.on a,
.user-nav li.on i,
.page-nav li.on a,
.page-nav li a:hover {
    color: #08c4df !important;
    background: #09262e !important;
}
.tx-c1,
.tx-c2,
.video-info-on,
.more-a {
    color: #08bdd8 !important;
}
.tx-bg,
.vip-btn {
    background: #08bdd8 !important;
    color: #061114 !important;
}
@media (max-width: 480px) {
    .vifan-home .tx-wide { padding: 0; }
    .vifan-home .header {
        min-height: 58px;
        padding: 0 72px;
    }
    .vifan-home .header::before {
        right: 72px;
        left: 72px;
        font-size: 16px;
    }
    .vifan-home .language-switcher {
        top: 9px;
        right: 10px;
    }
    .vifan-home .vifan-header-login {
        top: 9px;
        right: 80px;
        min-width: 52px;
        min-height: 40px;
        padding: 0 10px;
        font-size: 13px;
    }
    .vifan-home .language-switcher-button {
        min-height: 40px;
        font-size: 11px;
    }
    .vifan-home-main { padding: 14px 12px 24px; }
    .vifan-filter {
        margin-right: -12px;
        margin-left: -12px;
        padding-right: 12px;
        padding-left: 12px;
    }
    .vifan-filter-row > a {
        min-width: 88px;
        height: 38px;
        padding: 0 6px;
        font-size: 14px;
    }
    .vifan-filter-row > .vifan-filter-label {
        min-width: 98px;
    }
    .vifan-poster-grid { margin: 0 -5px; }
    .vifan-poster-grid > li {
        margin-bottom: 21px;
        padding: 0 5px;
    }
    .vifan-poster-grid .item-box h2 {
        margin-top: 8px;
        font-size: 11px;
    }
    .vifan-home .footer { margin: 0 12px; }
}

/* Category results — visually continuous with the home cinema experience. */
.category-page-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    margin: 18px 0 12px;
    padding: 30px 32px 28px;
    border: 1px solid var(--cinema-line);
    border-radius: 18px;
    background:
        radial-gradient(circle at 88% 20%, rgba(216,170,99,.13), transparent 28%),
        linear-gradient(145deg, rgba(36,33,30,.98), rgba(25,23,21,.96));
    box-shadow: 0 22px 55px rgba(0,0,0,.24);
}
.category-page-hero::before {
    position: absolute;
    top: 0;
    right: 7%;
    left: 7%;
    height: 2px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, transparent, var(--cinema-accent), var(--cinema-gold), transparent);
    box-shadow: 0 0 22px rgba(232,118,83,.48);
    content: "";
}
.category-page-copy small {
    display: block;
    margin-bottom: 7px;
    color: var(--cinema-gold) !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .17em;
}
.category-page-copy h1 {
    margin: 0;
    font-size: clamp(27px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -.025em;
}
.category-page-copy p {
    margin: 9px 0 0;
    color: var(--cinema-muted);
    font-size: 13px;
}
.category-page-count {
    display: flex;
    min-width: 92px;
    flex-direction: column;
    align-items: flex-end;
}
.category-page-count strong {
    color: var(--cinema-gold);
    font-size: 32px;
    line-height: 1;
}
.category-page-count span {
    margin-top: 5px;
    color: var(--cinema-muted);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.category-sibling-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 26px;
    padding: 12px;
    border: 1px solid var(--cinema-line);
    border-radius: 14px;
    background: rgba(25,23,21,.9);
    scrollbar-width: none;
}
.category-sibling-nav::-webkit-scrollbar { display: none; }
.category-sibling-nav a {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--cinema-muted);
    line-height: 38px;
    transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease;
}
.category-sibling-nav a:hover { transform: translateY(-1px); }
.category-sibling-nav a.on,
.category-sibling-nav a:hover {
    border-color: rgba(232,118,83,.4);
    background: rgba(232,118,83,.14);
    color: #fff !important;
}
.category-section-heading > span {
    color: var(--cinema-muted);
    font-size: 12px;
}
.category-poster-grid { margin-bottom: 4px; }
.category-pagination .pagebar {
    gap: 6px;
    margin: 8px 0 34px;
}
.category-pagination .pagebar > a,
.category-pagination .pagebar > span {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--cinema-line);
    border-radius: 10px;
    background: var(--cinema-surface);
    color: var(--cinema-muted);
}
.category-pagination .pagebar .laypage_curr {
    border-color: rgba(232,118,83,.5) !important;
    background: var(--cinema-accent) !important;
    color: #fff;
}
.type-home-flash { margin-bottom: 18px; }
.type-home-filter .home-filter-types {
    display: flex;
    flex-wrap: wrap;
}
.type-parent-nav { border-top-color: rgba(216,170,99,.18) !important; }

@media (prefers-reduced-motion: reduce) {
    .category-sibling-nav a,
    .home-poster-grid .item-box .img-box,
    .home-poster-grid .item-box .img-box img { transition: none !important; }
}

@media (max-width: 767px) {
    .category-page-hero {
        margin-top: 10px;
        padding: 22px 18px 20px;
        border-radius: 15px;
    }
    .category-page-copy h1 { font-size: 27px; }
    .category-page-copy p { font-size: 11px; }
    .category-page-count { min-width: 65px; }
    .category-page-count strong { font-size: 25px; }
    .category-sibling-nav {
        margin-bottom: 20px;
        padding: 9px;
        border-radius: 12px;
    }
    .category-sibling-nav a {
        min-height: 38px;
        padding: 0 14px;
        font-size: 12px;
        line-height: 36px;
    }
    .category-section-heading > span { display: none; }
    .type-home-filter .home-filter-types {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .category-pagination .pagebar {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }
}
