html {
    font-size: 14px;
}

body {
    font-family: microsoft jhenghei, -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;
    color: var(--gx-color);
    line-height: 1.857;
    background: #111214;
}

:root {
    --gx-color: #fff;
    --gx-color-grey: rgba(255, 255, 255, 0.7);
    --gx-hovercolor: #00d157;
    --gx-bgwhite: #fff;
    --gx-bggrey: #101218;
}

a:hover {
    color: var(--gx-hovercolor);
}

.active {
    color: var(--gx-hovercolor);
}

.container {
    max-width: 1080px;
    margin: 0 auto;
}

.clamp1 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1 !important;
}

.clamp2 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2 !important;
}

.clamp3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3 !important;
}

.nowrap {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.mt15 {
    margin-top: 15px;
}

.mt50 {
    margin-top: 50px !important;
}

.pb0 {
    padding-bottom: 0px !important;
}

li img:hover {
    filter: brightness(70%);
}

/*视频筛选*/
.filter-box {
    padding: 15px;
    border-radius: 16px;
    /* box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .08); */
}

.filter {
    line-height: 36px;
    margin-bottom: 15px;
}

.filter dl {
    display: flex;
    margin-top: 10px;
    align-items: center;
}

.filter dl:nth-child(1) {
    margin-top: 0;
}

.filter dl dd {
    line-height: 2;
    overflow: auto;
}

.filter dl dd span {
    padding: 0 12px;
    margin-right: 6px;
    display: inline-flex;
}

.filter dl dd span.active {
    background-color: #00c4521a;
    border: 1px solid #00c45229;
    border-radius: 14px;
}

.filter dl dt {
    padding-right: 12px;
    white-space: nowrap;
}
@media (max-width:767px) {
    .filter dl dd {
        white-space: nowrap;
    }
}


/*视频列表*/
.list {
    margin-top: 12px;
}

.list ul {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px 16px;
}

.list ul li {
    background: #1c1d1f;
    padding-bottom: 10px;
    background-image: linear-gradient(180deg, #222, #111214), linear-gradient(180deg, #ffffff3d, hsla(0, 0%, 100%, .026), #fff0);
    background-origin: padding-box, border-box;
    border: 1px solid #0000;
    border-radius: 12px;
    display: flex;
    filter: blur(0);
    flex-direction: column;
    transition: filter .3s;
    width: 100%;
    background-clip: padding-box, border-box;
    overflow: hidden;
}

.list ul li:hover img {
    transform: scale(1.1);
    /* 鼠标悬停时放大1.1倍 */
}

.list ul li .pic {
    position: relative;
    aspect-ratio: 216 / 260;
}

.list ul li .pic:hover {
    filter: brightness(70%);
}

.list ul li .pic img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 12px 12px 0 0;
    transition: transform 0.3s ease;
}

.list ul li .pic .year {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background-color: #00000080;
    color: #fff;
    font-size: 11px;
    border-radius: 3px;
    line-height: 11px;
    padding: 0 2px;
}

.list ul li .pic .label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #00000080;
    color: #fff;
    font-size: 11px;
    border-radius: 3px;
    line-height: 1.5;
    padding: 0 5px;
}

.list ul li .pic .label.new {
    color: #ff8155;
}

.list ul li .pic .score {
    position: absolute;
    right: 10px;
    bottom: 10px;
    color: #e6cd98;
    font-size: 11px;
    border-radius: 3px;
    line-height: 11px
}

.list ul li .tit {
    margin-top: 14px;
    line-height: 21px;
    padding: 0 10px;

    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.list ul li .desc {
    margin-top: 3px;
    line-height: 21px;
    color: var(--gx-color-grey);
    font-size: 13px;
    padding: 0 10px;
}

.list ul li .desc p {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.list ul li .desc p em {
    font-style: normal;
}

@media (max-width:767px) {
    .list ul {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px 10px;
    }

    .list ul li .tit {
        padding: 0 5px;
        margin-top: 7px;
    }

    .list ul li .desc {
        padding: 0 5px;
        font-size: 12px;
    }

    .list ul li .pic .year {
        left: 5px;
        bottom: 5px;
    }

    .list ul li .pic .score {
        right: 5px;
        bottom: 5px;
    }

    .list ul li .pic .label {
        left: 5px;
        top: 5px;
    }
}

.list-tit {
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    margin-bottom: 16px;
}

/*分页*/
.page {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 32px;
}

.page ul {
    display: flex;

}

.page li {
    margin: 0 5px;
    line-height: 2;
}

.page li:not(.unclick):hover {
    animation: hoverAnimation .2s ease-in-out;
}

.page li a {
    display: block;
    min-width: 46px;
    background: #1c1d1f;
    border-radius: 20px;
    color: var(--gx-bgwhite);
}

.page li a.active,
.page li a:hover {
    color: #fff;
    background-color: var(--gx-hovercolor);
}

.page li.unclick a {
    text-decoration: line-through;
}

.page li a.first,
.page li a.last {
    width: 56px;
}

@keyframes hoverAnimation {
    0% {
        opacity: 20%
    }

    95% {
        opacity: 50%
    }

    to {
        opacity: 100%
    }
}

@media (max-width:767px) {
    .page li.none {
        display: none;
    }
}

/* subject by gx */

.subject {
    padding: 15px;
    line-height: 1.4;
    position: relative;
}

.subject-cover {
    position: absolute;
    width: calc(100% - 0px);
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(16px);
    z-index: -1;
    left: 0;
    top: 0;
    background: transparent !important;
    filter: blur(0) !important;
}

.sub-info {
    display: flex;
    overflow: hidden;
}

.sub-desc {
    margin-left: 16px;
    overflow: hidden;
}

.sub-pic img {
    min-width: 120px;
    width: 120px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.sub-title {
    font-size: 23px;
    color: #fff;
}

.sub-title-en {
    font-size: 14px;
    color: #fff;

}

.sub-meta {
    padding: 5px 0 5px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

.sub-rank {
    margin: 10px 0 5px;
    color: #333;
}

.sub-actor {
    padding: 5px 0 5px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 2;
}

.info-rank {
    display: inline-block;
    background-color: #FEF0B3;
    background: linear-gradient(#FFF3E6, #FEF0B3);
    padding-left: 9px;
    padding-right: 11px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    line-height: 24px;
    min-width: 48px;
    box-sizing: border-box;
}

.info-scope {
    background: linear-gradient(45deg, #FFD395, #FEC36E);
    line-height: 24px;
    display: inline-block;
    margin-left: -1px;
    padding: 0 10px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    min-width: 90px;
    box-sizing: border-box;
}

.info-play {
    margin-top: 10px;
}

.info-play a {
    height: 30px;
    line-height: 1;
    display: flex;
    align-items: center;
    background-color: #fff;
    color: #191919;
    border-radius: 4px;
    margin-right: 10px;
    font-size: 13px;
    text-align: center;
    justify-content: center;
    max-width: 50%;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    box-flex: 1;
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.sub-plot {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    padding: 13px 15px;
    margin-top: 10px;
    line-height: 2;
}
/* common ad */
.common-ad {
    flex: 1;
    text-align: center;
}

.common-ad-pc {
    margin-left: 16px;
}

.common-ad-m {
    margin-top: 16px;
}

@media (max-width:767px) {
    .common-ad-pc {
        display: none;
    }

    .common-ad-m {
        display: block;
    }
}

@media (min-width:767px) {
    .common-ad-pc {
        display: block;
    }

    .common-ad-m {
        display: none;
    }
}

.like-box {
    padding: 15px;
}

/* 播放页 */
.playbox {
    padding: 15px;
    display: flex;
}

.play {
    width: calc(100% - 300px);
}

.player {
    height: 380px;

}

.vodinfo .tit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.vodinfo .tit a {
    display: inline-block;
    border: solid 1px var(--gx-color-grey);
    border-radius: 20px;
    text-align: center;
    width: 64px;
    filter: brightness(70%);
}

.vodinfo .tit a i {
    font-size: 18px;
}

.vodinfo h1 {
    font-size: 24px;
    font-weight: bold;
}

.extend {
    display: flex;
    line-height: 2;
}

.extend a {
    color: var(--gx-color-grey);
}

.extend a:hover {
    color: var(--gx-hovercolor);
}

.extend .line {
    width: 2px;
    height: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #e6e6e6;
    margin: 0px 6px;
    display: inline-block;
}

.extend .style {
    margin-left: 10px;
}

.extend .style a {
    background: #ffffff14;
    border-radius: 4px;
    font-size: 12px;
    padding: 0 6px;
    margin-right: 6px;
    height: 20px;
    display: inline-flex;
    align-items: center;
}

.vodnode {
    display: flex;
    overflow: hidden;
    margin-top: 10px;
}

.vodnode a {
    background: #ffffff14;
    border-radius: 4px;
    font-size: 14px;
    line-height: 2.5;
    text-align: center;
    filter: brightness(70%);
}

.vodnode a.active,
.vodnode a:hover {
    color: var(--gx-hovercolor);
}

.episodes {
    display: flex;
    overflow: hidden;
    margin-top: 10px;
}

.episodes a {
    display: inline-block;
    padding: 0px 10px;
    text-align: center;
    background: #ffffff14;
    border-radius: 4px;
    font-size: 14px;
    line-height: 2.5;
    text-align: center;
    margin-right: 10px;
    position: relative;
    filter: brightness(70%);
}

.episodes a.active,
.episodes a:hover {
    color: var(--gx-hovercolor);
}

.synopsis {
    color: var(--gx-color-grey);
    margin-top: 15px;
}

.playlike {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 16px;
    width: 300px;
    margin-left: 15px;
    height: 80%;
}

.playlike a {
    display: inline-block;
    text-align: center;
}

.playlike img {
    aspect-ratio: 71 / 100;
    transition: all .3s;
    border-radius: 12px
}

.playlike img:hover {
    filter: brightness(70%);
}

.playlike .item span.actor {
    color: var(--gx-color-grey);
    font-size: 13px;
}

@keyframes playon {
    0% {
        height: 70%
    }

    50% {
        height: 100%
    }

    100% {
        height: 35%
    }
}

.playon {
    height: 8px;
    position: absolute;
    left: calc(50% - 11px);
    bottom: 0;
}

.playon i {
    width: 4px;
    height: 6px;
    border-radius: 5px 5px 0 0;
    background-color: var(--gx-hovercolor);
    position: absolute;
    bottom: 0;
    left: 0;
}

.playon i:nth-last-child(1) {
    animation: playon .8s .3s infinite;
}

.playon i:nth-last-child(2) {
    animation: playon .8s .1s infinite;
    left: 6px;
}

.playon i:nth-last-child(3) {
    animation: playon .6s .2s infinite;
    left: 12px;
}

.playon i:nth-last-child(4) {
    animation: playon 1s .3s infinite;
    left: 18px;
}

.serie-box {
    padding: 15px;
    position: relative;
    overflow: hidden;
}

.serie-tit {
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    margin-bottom: 16px;
}

.list-serie {
    display: flex;
    justify-content: center;
    align-items: center;
}

.list-serie ul li .pic {
    position: relative;
    aspect-ratio: 16/9;
}

.list-serie ul {
    display: flex;
    gap: 0;
}

.list-serie ul li {
    background-image: none;
}

.list-serie ul li .desc {
    display: none;
}

@media (max-width:767px) {
    .playbox {
        display: block;
    }

    .play {
        width: 100%;
    }

    .episodes {
        grid-template-columns: repeat(4, 1fr);
    }

    .playlike {
        display: none;
    }

    .player {
        height: 220px;
    }
}

/* 底部 */
.footer {
    position: relative;
    padding: 0;
    filter: brightness(70%);
}

.rukou em {
    font-weight: 600;
    color: var(--gx-hovercolor);
    font-style: normal;
}

.footer .footer-block {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 10px;
}

.footer-block .copyright {
    font-size: 12px;
}

.footer-block .sitemap {
    position: relative;
    z-index: 100;
    font-size: 12px;
    text-align: center;
    padding: 5px 0 10px 0
}

.footer-block .sitemap .space-line-bold {
    border-radius: 5px;
    background: #c2c6d0;
    float: none;
    display: inline-block;
    width: 1px;
    margin: 0 5px;
    height: 6px
}

/* 搜索 */
.search-tit {
    text-align: center;
    padding: 15px 0 15px 0;
}

.search-tit h1 {
    font-weight: bold;
    font-size: 26px;
}

.search-tit p {
    color: var(--gx-color-grey);
}

.search-res {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    line-break: anywhere;

}

.search-res .sub-info {
    background: #26272ade;
    border-radius: 5px;
    padding: 15px;
}

.search-res .sub-info img:hover {
    filter: brightness(70%);
}

@media (max-width:767px) {
    .search-res {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
}

/* 头部 */
header {
    position: fixed;
    z-index: 999;
    left: 0px;
    top: 0px;
    width: 100%;
    /* -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px); */
    background-color: rgba(17, 18, 20, .604);
}

.header-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    max-height: 50px;
    position: relative;
}

.menu ul {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    font-weight: 600;
    font-size: 16px;
}

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

.logo img {
    max-height: 22px;
}

.logo span {
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    margin-left: 10px;
}

.search {
    background: var(--gx-bggrey);
    height: 30px;
    text-align: center;
    display: flex;
    border-radius: 30px;
    border: 1px solid #ffffff4d;
}

.search:hover {
    border: 1px solid #ffffff;
}

.vodsearch {
    display: flex
}

.search .search-input {
    width: 200px;
    height: 100%;
    padding: 0 15px 0 15px;
    outline: none;
    border: none;
    background: transparent
}

.search .search-btn {
    color: #fff;
    padding-right: 15px;
    outline: none;
    border: none;
    background: transparent
}

.search .search-btn i {
    width: 20px;
    text-align: center;
    color: var(--gx-hovercolor)
}

.menu-m {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-toggle i {
    font-size: 26px;
}

.nav {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-100vh);
    position: absolute;
    right: 15px;
    top: 54px;
    z-index: 998;
    border-radius: 5px;
    background-color: rgba(17, 18, 20, .604);
    border: 1px solid hsla(0, 0%, 100%, .141);
}

.nav ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 15px;
    text-align: center;
    z-index: 999;
    min-width: 260px;
}

.nav ul li a {
    display: block;
    line-height: 1.3;
}

.nav ul li a:hover,
.nav ul li a.active {
    color: #00d157;
}

.nav ul li i {
    font-size: 22px;
}

.nav ul li span {
    display: block;
}

@media (max-width:767px) {
    .search-box {
        flex: 1;
        margin: 0 10px;
    }

    .search .search-input {
        width: 100px !important
    }

    .menu {
        display: none;
    }
}

@media (min-width:767px) {
    .menu-m {
        display: none;
    }
}

/* 首页 */
.block {
    padding: 15px;
}

.block .list ul li {
    background-image: none;
}

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

.block .block-name h2 {
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
}

.block .block-name a {
    color: var(--gx-color-grey);
}

.block .block-name a:hover {
    color: var(--gx-hovercolor);
}

/*new menu*/
.new-nav-box {
    display: flex;
    overflow: hidden;
}

.new-nav-box li {
    border-radius: 5px;
    border: 2px solid transparent;
    transition: border 0.3 ease;
}

.new-nav-box li:hover,
.new-nav-box li.active {
    border: 2px solid #ffffff29;
}

.new-nav-box li:nth-child(1) {
    background: #36502d;
}

.new-nav-box li:nth-child(2) {
    background: #23667B;
}

.new-nav-box li:nth-child(3) {
    background: #3e2c46;
}

.new-nav-box li:nth-child(4) {
    background: #83a4a1;
}

.new-nav-box li a {
    display: block;
    padding: 10px;
    position: relative;
}

.new-nav-box li a:hover {
    color: var(--gx-hovercolor);
    transition: all 0.3s;
}

.new-nav-box li .img {
    aspect-ratio: 16 / 9;
    height: 80px;
}

.new-nav-box li .img img {
    max-width: 60px;
    border-radius: 5px;
    object-fit: cover;
    height: 100%;
}

.new-nav-box li .tit {
    margin-top: 5px;
    font-weight: bold;
}

.new-nav-box li .desc {
    font-size: 12px;
    line-height: 1.4;
}

.new-nav-box li .tag {
    position: absolute;
    right: 1px;
    top: 4px;
    transform: rotateZ(45deg);
    opacity: 0.5;
    font-size: 12px;
}