@font-face {
    font-family: "logo";
    font-weight: 400;
    src: url("https://at.alicdn.com/wf/webfont/KRzAgl2aDS3m/sfuvhQwl1yQr.woff2") format("woff2"),
        url("https://at.alicdn.com/wf/webfont/KRzAgl2aDS3m/1zlCMSv8DFGR.woff") format("woff");
    font-variation-settings: normal;
    font-display: swap;
}

:root {
    --ch-color: #fff;
    --ch-gray: rgba(255, 255, 255, .8);
    --ch-hover: #00cc4c;
    --ch-black: #000;
    --ch-bg-gray:#1a1a1a;
}

a {
    color: var(--ch-color);
}

a:hover,
.active {
    color: var(--ch-hover);
}

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;
    background: var(--ch-black);
    color: var(--ch-color);
    overflow-x: clip;/*search 背景图导致滚动条 也可设置外warp*/
}

body,
button,
input,
select,
textarea {
    line-height: 1.42857143;
}

li {
    list-style: none;
}

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

.header {
    display: flex;
    align-items: center;
    justify-content: left;
}

.logo {
    padding: 30px 0;
    margin-right: 66px;
    font-family: "logo";
}

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

.logo a span {
    font-size: 22px;
}

.logo img {
    max-height: 40px;
    margin-right: 10px;
}

.menu {
    height: 40px;
    line-height: 40px;
}

.menu ul {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 18px;
}

.menu ul li {
    padding: 0 15px;
}

.menu .active a {
    color: var(--ch-hover);
}

.slogan {
    text-align: center;
    color: #fff;
    padding-top: 30px;
}

.search-wrap {
    margin-top: 45px;
    text-align: center;
    margin-bottom: 46px;
}

.search-wrap .search-box {
    position: relative;
    width: 1020px;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    animation: home-fade .6s ease-in-out 1;
    height: 58px;
    display: flex;
    align-items: center;
    color: #fff;
    box-sizing: border-box;
    border-radius: 999px;
    text-align: left;
    padding: 0 4px;
    font-size: 18px !important;
    transition: border .4s, background .4s, height .2s;
    border: 1px solid transparent;
    background: rgba(0, 10, 26, .4);
}

.search-wrap .search-input-cover {
    position: relative;
    z-index: 99;
    display: flex;
    align-items: center;
    height: 100%;
    font-size: 14px;
    color: #a6a5ad;
    user-select: none;
    cursor: default;
    text-align: left;
    white-space: nowrap;
    padding-left: 22px;
    flex: 1;
}

.search-wrap .search-input {
    position: relative;
    z-index: 99;
    flex: 1;
    min-width: 0;
    height: 100%;
    background: 0 0;
    color: #fff;
    box-sizing: border-box;
    text-align: left;
    font-size: 18px !important;
    transition: border .4s, background .4s;
    border: none;
    display: none;
    outline: none;
}

.search-wrap .search-input.show {
    display: flex;
}

.search-wrap .chameleon {
    position: relative;
    z-index: 99;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    cursor: pointer;
}

.search-wrap .chameleon button {
    cursor: pointer;
}

.search-wrap .chameleon .iconfont {
    font-size: 32px;
    color: rgba(235, 235, 245, .6);
    transition: color .3s ease-in-out;
}

.search-wrap .search-box:before {
    content: "";
    position: absolute;
    z-index: 10;
    inset: -3px;
    border: inherit;
    border-radius: inherit;
    background-origin: border-box;
    user-select: none;
    pointer-events: none;
    background-color: rgba(0, 10, 26, .39);
    background-image: url(../img/search-input.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
}

.search-wrap .search-box:after {
    content: '';
    position: absolute;
    width: 1930px;
    height: 958px;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    user-select: none;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: 238px center, right 160px center;
    background-size: 732px auto, 952px auto;
    background-image: url(../img/bg1.png), url(../img/bg2.png);
}

.slogan h1 {
    font-size: 42px;
    color: #FFF;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.slogan h2 {
    font-weight: 400;
    font-size: 18px;
    color: #FFF;
    text-align: center;
}

.slogan h2 span {
    color: #00f9e5;
}

@media (max-width:768px) {
    .container {
        padding: 20px;
    }
    .menu ul li {
    padding: 0 1.5%;
}
    .header {
        display: block;
        margin-top: 10px;
    }

    .logo {
        margin-right: 0;
        padding: 0 0 20px 0;
    }

    .logo a {
        justify-content: center;
    }

    .slogan {
        padding: 15px 0;
    }

    .search-wrap {
        margin-top: 0;
    }

    .search-wrap .search-box:before {
        background: 0 0;
        border: 1px solid #6ba19d;
    }

    .search-wrap {
        padding: 0 20px;
        margin-bottom: 20px;
    }

    .search-wrap .search-box {
        width: 100%;
        height: 36px;
    }

    .search-wrap .search-input {
        font-size: 16px !important;
    }

    .search-wrap .chameleon {
        width: 46px;
        height: 46px;
    }

    .search-wrap .chameleon .iconfont {
        font-size: 24px;
    }

    .search-wrap .search-input-cover {
        padding-left: 12px;
    }

    .search-wrap .search-box:after {
        background-image: url(../img/bg1-m.png), url(../img/bg2-m.png);
        background-size: 366px auto, 476px auto;
        background-position: -130px center, right -190px center;
        width: 100vw;
        height: 500px;
        top: -210px;
    }

    .slogan h1 {
        font-size: 22px;
    }

    .slogan h2 {
        font-size: 14px;
    }
}

.tab {
    display: flex;
    margin-bottom: 40px;
    overflow: hidden;
}

.tab-nav {
    display: flex;
    justify-content: center;
}

.tab-nav .tab-nav-item {
    height: 36px;
    padding: 0 20px;
    box-sizing: border-box;
    background-color: rgba(235, 235, 245, .2);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
    position: relative;
    white-space: nowrap;
}

.tab-nav .tab-nav-item.active {
    font-size: 14px;
    font-weight: 700;
    border: 1px solid rgba(107, 161, 157, 0);
    background-color: rgba(46, 59, 84, .3);
}

.tab-nav .tab-nav-item.active:before {
    content: "";
    position: absolute;
    inset: 0;
    border: inherit;
    border-radius: inherit;
    pointer-events: none;
    -webkit-mask: linear-gradient(red 0 0) padding-box, linear-gradient(red 0 0);
    mask: linear-gradient(red 0 0) padding-box, linear-gradient(red 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: .36;
    background: linear-gradient(120deg, #AAFC89 0, #00F9E5 44%, #2D60FF 100%) border-box;
}

.tab-nav .tab-nav-item.active span {
    color: transparent;
    background-image: linear-gradient(to right, #AAFC89, #20DACB 40%, #2D60FF);
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 14px;
    font-weight: 700;
}

.ys-con {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 40px 30px;
    line-break: anywhere;
}

.ys-con li a.pic {
    position: relative;
    display: block;
    aspect-ratio: 0.675;
    overflow: hidden;
    border-radius: 12px;
}

.ys-con li a.pic img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: filter 0.3s ease;
    transition: transform 300ms ease;
}

.ys-con li a.pic:hover img {
    filter: brightness(70%);
    transform: scale(1.1);
}

.ys-con li a.pic .tag {
    position: absolute;
    left: 0;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 10px;
    z-index: 1;
}

.ys-con li a.pic .tag span {
    /*background: rgba(0, 0, 0, 0.5);*/
    /*box-shadow: 0 8px 22px 0 rgba(0, 0, 0, 0.38);*/
    color: #fff;
    font-size: 12px;
    padding: 3px 5px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.ys-con li a.pic .tag span i {
    margin-right: 3px;
    color: var(--ch-hover);
}

.ys-con li a.pic .status {
    position: absolute;
    right: 10px;
    top: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 12px;
    padding: 3px 5px;
    border-radius: 8px;
    box-shadow: 0 8px 22px 0 rgba(0, 0, 0, 0.38);
}

.ys-con li a.pic .name {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    margin: 0 15px;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0 5px;
    transition: .2s;
    /*white-space: nowrap;*/
    /*text-overflow: ellipsis;*/
    /*overflow: hidden;*/
    z-index: 1;
}

.ys-con li a.pic .cover {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, #000000 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, #000000));
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, #000000 100%);
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, #000000 100%);
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, #000000 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000000 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#a6000000', GradientType=0);
    opacity: .85;
    -webkit-transition: opacity 800ms;
    -o-transition: opacity 800ms;
    transition: opacity 800ms;
}

.quick-nav {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 40px;
}

.quick-nav a {
    height: 36px;
    padding: 0 30px;
    box-sizing: border-box;
    background-color: #198754;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
    position: relative;
    white-space: nowrap;
}

.quick-nav a i {
    margin-left: 5px;
}

.footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
    font-size: 12px;
}

@media (max-width:768px) {
    .ys-con {
        gap: 30px 20px;
        grid-template-columns: repeat(2, 1fr);
    }

    .tab {
        margin-bottom: 30px;
    }

    .tab-nav .tab-nav-item {
        height: 30px;
    }

    .tab-nav {
        justify-content: left;
    }

    .quick-nav {
        margin-top: 0;
    }

}

/* list page */
h1.common-h1 {
    color: transparent;
    background-image: linear-gradient(106deg, #aafc89 0, #00f9e5 44%, #2d60ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    display: inline-block;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 20px;
}

.page {
    text-align: center;
    margin-top: 60px;
}

.page a {
    display: inline-block;
    background:var(--ch-bg-gray);
    min-width: 60px;
    border-radius: 50px;
    margin: 0 2px;
    line-height: 36px;
}

.page .page-active {
    background: var(--ch-hover);
}

.page .page-active:hover {
    color: unset;
}

.page .page-unactive {
    text-decoration: line-through;
}

.page-first,
.page-prev,
.page-next,
.page-last {
    padding: 0 20px;
}

@media (max-width:768px) {
    .page {
        margin-top: 0;
    }

    .page a:not(.page-first, .page-prev, .page-next, .page-last) {
        display: none;
    }

    h1.common-h1 {
        font-size: 18px;
    }
}

/* rank page */
.rank-box {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 30px;
    line-break: anywhere;
}

.rank-box a.pic {
    position: relative;
    display: block;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 12px;
}

.rank-box li a.pic img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: transform 300ms ease;
}

.rank-box li a.pic .cover {
    position: absolute;
    background: rgba(12, 12, 12, 0.38);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -webkit-transition: all .3s;
    transition: all .3s;
    z-index: 1;
}

.rank-box li a.pic .info {
    position: absolute;
    left: 50%;
    top: 50%;
    text-align: center;
    white-space: nowrap;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 100;
}

.rank-box li a.pic .info h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.rank-box li a.pic .info .desc {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 12px;
    padding: 3px 5px;
    border-radius: 8px;
    box-shadow: 0 8px 22px 0 rgba(0, 0, 0, 0.38);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width:768px) {
    .rank-box {
        gap: 30px 20px;
        grid-template-columns: repeat(2, 1fr);
    }

}

/* play page */
.play-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 0;
    margin-top: 20px;
    line-height: 30px;
    color: var(--ch-gray);
    position: relative;
}

.play-box .vod-img {
    padding: 20px;
}

.play-box .vod-img img {
    border-radius: 12px;
    object-fit: cover;
    height: 100%;
    max-height: 444px;
}

.play-box .vod-info {
    position: relative;
    padding: 20px;
}

.play-box .vod-info h1 {
    margin-bottom: 20px;
    color: var(--ch-color);
    line-height: 1.5;
}

.play-box .vod-desc {
    padding: 20px;
    border-radius: 12px;
    position: relative;
}

.play-box .vod-desc h2 {
    margin-bottom: 20px;
    color: var(--ch-color);
}

.player {
    height: 480px;
    position: relative;
}

.spl_logobg {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -1;
    border-radius: 12px;
    opacity: 0.4;
}

.qknext {
    position: absolute;
    width: 100%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: end;
    line-height: 24px;
    font-size: 12px;
    top: 15px;
    right: 0;
}

.qknext a {
    position: relative;
    padding: 0 10px;
    display: inline-flex;
    margin-right: 15px;
}

.qknext i {
    margin-right: 5px;
}

.qknext a:after {
    left: 0;
    content: "";
    background: rgba(255, 255, 255, .3);
    border-radius: 50px;
    opacity: 0.6;
    position: absolute;
    width: 100%;
    height: 100%;
}

.episodes-box {
    display: flex;
    overflow: hidden;
    margin-top: 40px;
    position: relative;
}

.episodes-nav {
    position: relative;
}

.episodes-nav a {
    padding: 0 20px;
    box-sizing: border-box;
    background-color: rgba(235, 235, 245, .2);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
    position: relative;
    white-space: nowrap;
    height: 36px;
    transition: all 0.2s;
}

.episodes-nav a.active,
.episodes-nav a:hover {
    color: var(--ch-hover);
    filter: brightness(90%);
}

/*@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(--ch-hover);*/
/*    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;*/
/*}*/

.like-box {
    margin-top: 20px;
}

.like-box .ys-con li a.pic {
    aspect-ratio: 16/9;
}

.like-box .ys-con li a.pic .name {
    bottom: 0px;
}

.name-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.name-box h1.common-h1 {
    margin-bottom: 0;
}

.node {
    position: relative;
    display: inline-block;
    min-width: 100px;
    text-align: center;
}

.node>a {
    display: inline-block;
    color: #fff;
    padding: 0 15px;
    height: 36px;
    line-height: 36px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.node>a:hover {
    background-color: rgba(235, 235, 245, .2);
}

.node ul {
    list-style: none;
    margin: 0;
    position: absolute;
    right: 0;
    top: 110%;
    background-color: rgba(235, 235, 245, .2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    display: none;
    width: 100%;
    overflow: hidden;
    z-index: 10;
    padding: 0 8px;
}

.node ul li a {
    display: block;
    line-height: 35px;
    font-size: 14px;
    color: var(--ch-color);
    /* 白色文字 */
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    border-bottom: solid 0.5px rgba(62, 62, 62, .2);
}

.node ul li a em {
    color: #ff8155;
    font-size:10px;
    font-style: normal;
}

.node ul li:last-child a {
    border-bottom:none;
}

.node ul li a:hover,.node ul li a.active {
    color: var(--ch-hover);
}


@media (max-width: 767px) {
    .play-box {
        grid-template-columns: repeat(1, 1fr);
        margin-top: 0;
        padding: 0;
        text-align: center;
    }
    
    .play-box .vod-img {
        padding-top: 0;
    }

    .play-box .vod-img img {
        max-height: 300px;
    }

    .player {
        height: 220px;
    }

    .episodes-box {
        margin-top: 40px;
    }

    .episodes-nav a {
        height: 30px;
    }

    .node-box {
        width: 100%;
    }

    .like-box {
        margin-top: 0px;
    }

    .node>a {
        height: 30px;
        line-height: 30px;
    }
}

/* 补充 */
.tag-new,
.tag-jian {
    font-weight: normal;
    color: #ff8155;
    margin-left: 3px;
    position: relative;
}

.tag-new:after {
    display: inline-block;
    content: "新";
}

.tag-jian:after {
    display: inline-block;
    content: "荐";
}

.filter,.ranklist {
    justify-content: left;
}
.filter .tab-nav,.ranklist .tab-nav {
    justify-content: left;
}
.rank-tag {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    height: 50px;
    width: 40px;
    color: #fff;
    ;
    text-align: center;
    z-index: 1;
    overflow: hidden;
    font-size: 30px;
    font-family: impact;
    border-radius: 5px;
    line-height: 1.6;
}

.rank-tag:after {
    content: '';
    position: absolute;
    left: -100%;
    top: -44%;
    z-index: -1;
    height: 150%;
    width: 150%;
    border-radius: 16px;
    transform: rotateZ(45deg);
    background: #7d99d1;
    border-radius: 10px;
}

.ys-con li:nth-of-type(1) .rank-tag:after {
    background: #fc4274
}

.ys-con li:nth-of-type(2) .rank-tag:after {
    background: #ff8155
}

.ys-con li:nth-of-type(3) .rank-tag:after {
    background: #fcb80a
}