/*
作者：天兴工作室
网址：https://www.txcstx.com
邮箱：admin@txcstx.cn
*/
@import "css/txui.min.css";

body {
    --tx-color: #ff8500;
    --tx-border: #d9d9d9;
    --tx-light: #707070;
    --tx-btn-bg: #e0e0e0;
    --tx--radius: 10px;
    background-color: var(--tx-bg);
}

body.tx-night {
    --tx-border: #000;
    --tx-light: #707070;
    --tx-btn-bg: #070707;
    --tx-bg: #161616;
    --tx-boxbg: #161616;
    --tx-link: #fff;
    --tx-txt: #fff;
}

.tx-wide {
    width: 1460px;
}

.f-24 {
    font-size: 24px;
}

.img-box img,
.img-box:hover img {
    transform: none;
    transition: none;
}

.t-i999 {
    text-indent: -999em;
}

.top {
    background-color: #000;
    color: #b8b8b8;
    font-size: 12px;
    height: 30px;
    display: flex;
    align-items: center;
}

.top a,
.top span {
    margin: 0 2em 0 0;
    color: #b8b8b8;
}

.header {
    padding: 12px 0 11px 0;
    position: relative;
    z-index: 90;
}

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

.search-box form {
    width: 630px;
    border: 1px solid var(--tx-light);
    border-radius: var(--tx--radius);
    overflow: hidden;
    padding: 0 15px;
}

.search-box form input,
.search-box form input:focus,
.search-box form button {
    background-color: var(--tx-boxbg);
    border: 0;
    height: 40px;
}

.v-btn1 {
    display: inline-flex;
    height: 40px;
    align-items: center;
    padding: 0 32px;
    color: var(--tx-light);
    border-radius: var(--tx--radius);
}

.v-btn1:hover,
.sort-btn:hover {
    box-shadow: 0px 4px 14px rgba(255, 133, 0, 0.5);
}

.user-top-box section {
    position: absolute;
    top: 120%;
    right: 0;
    display: flex;
    flex-direction: column;
    background-color: var(--tx-btn-bg);
    border-radius: var(--tx--radius);
    overflow: hidden;
    display: none;
}

.user-top-box section>* {
    display: flex;
    height: 2.7em;
    align-items: center;
    white-space: nowrap;
    padding: 0 2em;
    color: var(--tx-light);
}

.nav-box {
    border-top: 1px solid var(--tx-border);
    border-bottom: 1px solid var(--tx-border);
}

.nav {
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    align-items: center;
}

.nav::after {
    display: none;
}

.nav li a {
    display: inline-flex;
    height: 50px;
    align-items: center;
    padding: 0 20px;
    position: relative;
    color: var(--tx-light);
    white-space: nowrap;
}

.nav li a::after,
.video-tab>*::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 2px;
    background: var(--tx-color);
    -webkit-transition: width 0.3s;
    -o-transition: width 0.3s;
    transition: width 0.3s;
}

.nav li:hover a::after,
.nav li.on a::after,
.video-tab>*.on::after {
    width: 100%;
}



.home-menu .swiper-slide {
    flex: none;
    width: auto;
}

.tags-grop {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.home-menu .swiper-slide a,
.tags-grop>* {
    display: inline-flex;
    height: 42px;
    align-items: center;
    padding: 0 15px;
    border-radius: var(--tx--radius);
    border: 1px solid var(--tx-color);
    color: var(--tx-color);
}

.home-menu .swiper-slide a:hover,
.tags-grop>*:hover {
    background-color: rgba(255, 133, 0, 0.16);
}

.tags-grop>* {
    margin-right: 5px;
}

.user-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    overflow: hidden;
    line-height: 1;
}

.home-menu .swiper-button-next {
    right: 0;
    height: 42px;
    z-index: 30;
    padding: 0 10px 0 30px;
    width: auto;
    background-color: transparent;
    background-image: linear-gradient(to right, transparent, #fff);

}

.home-menu .swiper-button-prev {
    background-image: linear-gradient(to right, #fff, transparent);
    left: 0;
    padding: 0 30px 0 10px;
    width: auto;
    height: 42px;
    z-index: 30;
}

.home-menu .swiper-button-next::after,
.home-menu .swiper-button-prev::after {
    font-size: 20px;
    color: var(--tx-light);
}

.item-box1 {
    display: block;
    overflow: hidden;
}

.item-box1-bottom {
    position: absolute;
    right: 5px;
    bottom: 5px;
    display: flex;
    align-items: center;
    font-size: 12px;
    z-index: 20;
    width: calc(100% - 10px);
}

.item-box1-bottom>* {
    background: rgba(0, 0, 0, 0.8);
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    color: #ffffff;
    border-radius: 5px;
    padding: 0px 6px;
    font-weight: 700;
    margin-left: 5px;
}

.item-box1-bottom>*.t {
    background-color: var(--tx-color);
    color: #fff;
}

.item-box1-bottom i {
    flex: auto;
}

.item-box1-top {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    z-index: 20;
    transition: all 0.3s;
    -webkit-transform: translate3d(-40px, -40px, 0);
    transform: translate3d(-40px, -40px, 0);
}

.item-box1:hover .item-box1-top {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.item-box1-top>* {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--tx--radius);
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    margin-right: 5px;
    color: #fff;
    font-size: 16px;
}

.item-box1-top>*:hover,
.item-box1-top>*.on,
.more-btn:hover,
.v-btn1:hover,
.sort-btn:hover,
.sort-box section>*:hover,
.video-btn-grop>*:hover,
.video-btn2:hover,
.user-top-box section>*:hover {
    background-color: var(--tx-color);
    color: #000;
}

.item-box2 {
    display: block;
    position: relative;
}

.item-box2 section {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(1px);
    padding: 10px;
    z-index: 20;
    color: #fff;
}

.more-btn {
    display: inline-flex;
    height: 36px;
    align-items: center;
    background-color: var(--tx-btn-bg);
    padding: 0 3em;
    border-radius: var(--tx--radius);
    color: var(--tx-light);
    font-size: 12px;
}

.fixed-kf {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 99;
}

.sort-box {
    width: 170px;
    position: relative;
    z-index: 50;
}

.sort-btn {
    display: inline-flex;
    height: 36px;
    align-items: center;
    background-color: var(--tx-btn-bg);
    width: 170px;
    justify-content: center;
    border-radius: var(--tx--radius);
    overflow: hidden;
}

.sort-box section {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--tx-btn-bg);
    ;
    display: flex;
    flex-direction: column;
    border-radius: 0 0 var(--tx--radius) var(--tx--radius);
    transition: all 0.3s;
    transform: translate3d(0, 35px, 0);
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
}

.sort-box section>* {
    display: inline-flex;
    width: 100%;
    height: 36px;
    align-items: center;
    justify-content: center;
    flex: none;
    color: var(--tx-light);
}

.sort-box.on section {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
}

.sort-box.on .sort-btn {
    background-color: var(--tx-color);
    color: #000;
    border-radius: var(--tx--radius) var(--tx--radius) 0 0;
}

.sort-box.on .sort-btn i {
    transform: rotate(180deg);
}

.footer {
    border-top: 1px solid var(--tx-border);
    padding: 44px 0 14px 0;
    text-align: center;
    color: var(--tx-light);
}

.footer .tx-wide>* {
    margin-bottom: 30px;
}

.footer-nav>* {
    margin: 0 1em;
}

.footer a {
    color: var(--tx-light);
}

.footer a:hover {
    color: var(--tx-color);
}

.gotop {
    position: fixed;
    right: 80px;
    bottom: 80px;
    width: 50px;
    height: 50px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--tx--radius);
    background-color: #4b5057;
    color: #fff;
}

.video-tab {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--tx-border);
    font-size: 16px;
}

.video-tab>* {
    display: inline-flex;
    flex: none;
    align-items: center;
    height: 45px;
    position: relative;
    margin: 0 3em 0 0;
}

.user-info-box {
    background-color: #f1f1f1;
    padding: 50px 0;
    margin-top: -30px;
}

.vip-banner {
    background-image: linear-gradient(to right, #bf392b, #5e46be);
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: -30px;
}

.vip-tips-list li {
    margin-bottom: 1em;
    display: flex;
    align-items: center;
    color: var(--tx-light);
}

.vip-tips-list li i {
    font-size: 1.25em;
    margin-right: 5px;
}

.vip-ask li {
    background-color: var(--tx-btn-bg);
    margin-bottom: 10px;
}

.vip-ask li h2 {
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 1em;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
}

.vip-ask li h2 i {
    font-size: 1.25em;
    margin-right: 5px;
}

.vip-ask li h2.on i {
    transform: rotate(180deg);
}

.vip-ask li>div {
    padding: 0.5em 1em;
    color: var(--tx-light);
    display: none;
}

.vip-ask li>div>* {
    margin: 0.5em 0;
}


.vip-item-box {
    display: flex;
    align-items: center;
    border-radius: 5px;
    background-color: #20212A;
    border: 2px solid #20212A;
    margin-bottom: 5px;
    min-height: 100px;
}

.vip-item-box.active {
    border: 2px solid #E36A0C;
    background-color: var(--tx-color);
}

.vip-item-box>section {
    padding: 0 20px;
    flex: auto;
    color: var(--tx-light);
}

.vip-item-box.active>section,
.vip-item-box.active>section h3 {
    color: #000;
}

.vip-item-box.active>section .vip-price,
.vip-item-box.active>section h3 i {
    color: #F02941;
}

.vip-item-box>span {
    flex: none;
    width: 160px;
    font-weight: bold;
    font-size: 30px;
    min-height: 100px;
    display: flex;
    color: #fff;
    align-items: center;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    justify-content: center;
    background-color: #2A2F49;
}

.vip-item-box.active>span {
    background-color: rgba(245, 154, 35, 0.7);
}

.pay_select {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pay_select .pay_item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    width: calc(33% - 5px);
    flex: none;
    background-color: #222;
    border: 2px solid #222;
    height: 50px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    margin-bottom: 15px;
}

.pay_select .pay_item:hover {
    border: 2px solid #4E92E2;
}

.pay_select .pay_item .pay_icon {
    margin-right: 10px;
}

.pay_select .pay_item.active {
    border: 2px solid #4E92E2;
    background-color: #3E6EA8;
}

/* 分页条 */

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

.pagebar>* {
    display: inline-flex;
    height: 2.4em;
    align-items: center;
    padding: 0 1em;
    background-color: var(--tx-btn-bg);
    margin: 0.2em;
    border-radius: var(--tx-radius);
    color: var(--tx-light);
    flex: none;
}

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


/* 评论 */

.msg img.avatar {
    width: 3em;
    height: 3em;
    border-radius: 50%;
    margin-right: 1em;
}

.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: rgba(0, 0, 0, 0.03);
    border-radius: 4px;
}

.msg .tx-btn-mini {
    font-size: 0.65em;
    font-weight: 400;
    line-height: 1.3;
    padding: 0 5px;
}

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

.tx-comment-textarea .tx-btn {
    position: absolute;
    right: 0;
    bottom: 0;
}

.reply-frm {
    padding: 1em;
    background-color: var(--tx-boxbg);
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--tx-border);
    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;
}


.player {
    width: 100%;
    height: 200px;
    background-color: rgba(0, 0, 0, 0.8);
}

.player-vip-tips {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.player-vip-tips::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.player-vip-tips>* {
    position: relative;
    z-index: 10;
    color: #fff;
}

.player-vip-tips .tx-btn {
    background: linear-gradient(to bottom right, #EF4765, #FF9A5A);
    border-radius: 12px;
}

.video-btn-grop>*,
.video-btn2,
.video-btn-user {
    display: inline-flex;
    height: 2.8em;
    align-items: center;
    padding: 0 15px;
    background: var(--tx-btn-bg);
    border-radius: var(--tx--radius);
    color: var(--tx-light);
}

.video-btn2.s1 {
    background-color: #fff;
    height: 2.4em;
}

.video-btn-grop>*.on,
.video-btn2.on {
    background-color: #101010;
    color: #fff;
}

.video-btn-user {
    padding: 0;
    overflow: hidden;
}

.video-btn-user span {
    background-color: #626262;
    color: #fff;
    padding: 0 15px;
    height: 100%;
    display: inline-flex;
    align-items: center;
}

.video-btn-user strong {
    padding: 0 12px;
}

.item-sub {
    background-color: var(--tx-btn-bg);
    border-radius: var(--tx--radius);
    padding: 15px;
}

.vip-buy {
    background-image: linear-gradient(to bottom, #ffdc7f, #ffb02c);
    border-radius: var(--tx--radius);
    padding: 15px;
}

.vip-buy .tx-btn,
.tx-btn.s2 {
    border-radius: 15px;
    color: #FFE3AA;
    font-size: 0.9em;
    font-weight: bold;
    background-image: linear-gradient(to bottom, #3c2d20, #493727);
}

.vip-buy .tx-btn i {
    background-color: #FFE3AA;
    display: inline-flex;
    width: 1em;
    height: 1em;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #413123;
}

.tx-night .nav-box,
.tx-night .footer,
.tx-night .user-info-box {
    background-color: #000;
}

.dplayer-video-wrap .dplayer-video {
    width: 100%; /* 设置你想要的宽度 */
    max-height: 640px; /* 设置你想要的高度 */
}


@media screen and (max-width: 767px) {
    body.nav-open {
        height: 100%;
        overflow: hidden;
    }

    .search-box {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 10px 12px;
        background-color: var(--tx-boxbg);
        display: flex;
        align-items: center;
        width: calc(100% - 40px);
        transition: all 0.3s;
        transform: translate(-100%, 0);
    }

    .search-box.on {
        transform: translate(0, 0);
    }


    .logo {
        flex: auto;
        text-align: center;

    }

    .logo * {
        height: 40px;
    }

    .search-on,
    .nav-colse {
        display: inline-flex;
        height: 40px;
        width: 40px;
        align-items: center;
        justify-content: center;
        color: var(--tx-light);
    }

    .nav-box {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100vw;
        height: 100%;
        background-color: var(--tx-boxbg);
        display: none;
        z-index: 99;
    }

    .nav {
        flex-direction: column;
    }

    .nav li a {
        height: 2.8em;
    }

    .nav-b {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
    }

    .nav-b>*{
        margin-bottom: 0.5em;
    }

    .tx-style-on {
        position: absolute;
        top: 10px;
        right: 20px;
    }

    .msg img.avatar {
        width: 10vw;
        height: 10vw;
    }

    .msg .msg {
        margin: 1.5vw 0 0 0;
        padding: 2vw;
    }

    .footer {
        padding: 10px 0 75px 0;
    }

    .footer .tx-wide>* {
        margin-bottom: 10px;
    }

    .gotop {
        right: 16px;
        bottom: 80px;
    }

    .wap-nav {
        background-color: #101010;
        height: 50px;
        display: flex;
        align-items: center;
        overflow-y: hidden;
        overflow-x: auto;
        padding: 0 1em;
        position: relative;
    }

    .wap-nav>* {
        flex: none;
        padding: 0 0.5em;
        color: var(--tx-light);
    }

    .wap-nav a {
        color: var(--tx-light);
    }

    .wap-nav a.nav-on {
        position: absolute;
        right: 0;
        top: 0;
        height: 50px;
        width: 50px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: #101010;
        color: #fff;
    }

    .wap-nav ul {
        display: none;
    }

    .wap-bottom-menu {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100vw;
        background-color: #252525;
        height: 65px;
        z-index: 200;
        padding: 0 25px;
    }

    .wap-bottom-menu ul {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .wap-bottom-menu ul li {
        flex: none;
    }

    .wap-bottom-menu a {
        display: inline-flex;
        height: 65px;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        color: #c2c2c2;
    }

    .wap-bottom-menu a i {
        font-size: 26px;
    }

    .wap-bottom-menu .on a {
        color: var(--tx-color);
    }

    .video-btn-grop-box {
        justify-content: center;
    }

    .vip-item-box>span {
        width: 90px;
        font-size: 20px;
    }

    .pay_select {
        flex-wrap: wrap;
    }

    .pay_select .pay_item {
        width: 100%;
        margin-bottom: 5px;
    }

    .vip-banner,
    .user-info-box {
        margin-top: -1.59vw;
    }

    .user-info-box {
        padding: 5vw 0;
        background-color: var(--tx-boxbg);
        margin-bottom: 0;
    }

    .user-info-box .mr30 {
        margin-right: 5vw;
    }

    .vip-buy {
        margin-top: 3vw;
    }

    .pagebar>* {
        padding: 0 0.8em;
        justify-content: center;
    }

    .pagebar>span {
        flex: auto;
    }

    .user-ico-list {
        flex-wrap: wrap;
        border: 0;
        background-color: var(--tx-btn-bg);
        border-radius: var(--tx--radius);
        padding: 5px;
        margin-top: 3vw;
    }

    .user-ico-list>* {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 20%;
        flex: none;
        margin: 2vw 0;
        color: var(--tx-light);
        font-size: 12px;
    }

    .user-ico-list>* i {
        font-size: 2.6em;
        color: var(--tx-color);
    }

    .user-ico-list>*::after{
        display: none;
    }

    .dplayer-video-wrap .dplayer-video {
        max-height: 220px; /* 设置你想要的高度 */
    }
}