* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box
}

html {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center
}

body {
    font-family: "Microsoft Yahei", Arial, sans-serif;
    color: #392442;
    background-color: #f6f1fa;
}

a {
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    text-decoration: none;
    color: #392442
}

ol,
ul {
    list-style: none
}

button,
input[type=button],
input[type=reset],
input[type=submit] {
    appearance: none;
    border: none;
    background: 0 0;
    cursor: pointer
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block
}

@font-face {
    font-family: iconfont;
    src: url(iconfont.woff2) format('woff2'), url(iconfont.woff) format('woff'), url(iconfont.ttf) format('truetype');
    font-display: auto
}

.iconfont {
    font-family: iconfont !important;
    font-size: 20px;
}

@font-face {
    font-family: font;
    src: url(font.woff2) format('woff2'), url(font.woff) format('woff'), url(font.ttf) format('truetype');
    font-display: auto
}

.text::placeholder,
text {
    font-family: font !important
}

.fixed {
    position: fixed !important
}

.relative {
    position: relative !important
}

.absolute {
    position: absolute !important
}

.sticky {
    position: -webkit-sticky !important;
    position: sticky !important
}

.ye-x {
    position: relative;
    display: flex !important;
    flex-direction: row !important
}

.ye-x1 {
    position: relative;
    display: flex !important;
    flex-direction: row-reverse !important
}

.ye-y {
    position: relative;
    display: flex !important;
    flex-direction: column !important
}

.ye-y1 {
    position: relative;
    display: flex !important;
    flex-direction: column-reverse !important
}

.x {
    justify-content: center !important
}

.x1 {
    justify-content: flex-start !important
}

.x2 {
    justify-content: flex-end !important
}

.x3 {
    justify-content: space-between !important
}

.x4 {
    justify-content: space-around !important
}

.y {
    align-items: center !important
}

.y1 {
    align-items: flex-start !important
}

.y2 {
    align-items: flex-end !important
}

.head {
    position: fixed !important;
    z-index: 998;
    background-color: #f6f1fa;
    width: 100%;
    top: 0;
    left: 0;
    position: relative;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    transition: transform .3s
}

.head>ul {
    height: 60px;
    position: relative;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    background-color: #48265c;

}



.index {
    height: 60px;
    position: relative;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 1
}

.index>a {
    width: 100%;
    height: 50px;
    position: relative;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 10px
}

.index>a>p:nth-of-type(2) {
    width: 80%;
}

.type {
    height: 60px;
    position: relative;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important
}

.search {
    flex: .5;
    height: 60px;
    margin: 0 50px 0 0;
    position: relative;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 1
}

.search form {
    width: 100%;
    height: 35px;
    position: relative;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    background-color: #fff;
    border-radius: 50px
}

.search form input:nth-of-type(1) {
    width: 100%;
    height: 35px;
    margin-left: 15px;
    outline: 0;
    font-size: 13px;
    background-color: #fff;
    color: #392442;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    white-space: nowrap
}

.search form input:nth-of-type(2) {
    font-size: 15px;
    color: #907b9b !important;
    width: 60px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 0 4px 4px 0;
    border-left: 1px solid #bdbdbd;
}

.search form button {
    position: absolute;
    left: 10px;
    background-color: #f8f1fb;
    outline: 0;
    -webkit-tap-highlight-color: transparent
}

.search form button span {
    display: block;
    width: 18px;
    height: 18px
}

.search-icon {
    width: 18px;
    height: 18px;
    border: 2px solid #7e7e7e;
    border-radius: 50%;
    position: relative;
    background-color: #fff;
    z-index: 999
}

.search-icon::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 14px;
    height: 3px;
    border: 1px solid #7e7e7e;
    transform: rotate(-45deg);
    background-color: #392442;
    z-index: 1
}

.hover {
    width: 100%;
    height: 60px;
    position: absolute;
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
    align-items: center !important;
    z-index: 0
}

.hover>p {
    position: absolute;
    right: 0;
    width: 50px;
    height: 50px;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer
}

.hover>p>span {
    font-size: 30px;
    color: #392442;
}

.hover>ul {
    display: none;
    position: absolute;
    z-index: 999;
    width: 100%;
    padding: 15px 10px;
    background-color: #fff;
    top: 60px;
    flex-wrap: wrap;
    flex-direction: row !important
}

.hover>ul li {
    padding: 5px 10px;
    width: 33.33%;
    text-align: center;
    border-radius: 5px
}

.hover>ul li a {
    color: #fff;
    background-color: #ead9f2;
    font-size: 13px;
    display: block;
    border-radius: 5px;
    padding: 10px
}

.hover>ul li:nth-of-type(1) a {
    background-color: #9455bc;
    color: #fff
}

.main {
    width: 100%;
}

.movie {
    box-shadow: 0 1px 4px rgb(0 0 0 / 7%);
}

.movie div {
    position: relative;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: space-between !important;
    align-items: center !important;
    background-color: #fff;
}

.movie div span a {
    color: #71577e;
    font-size: 14px;
}

.movie h3 {
    float: left;
    padding: 18px 5px;
    max-width: 60%;
    font-size: 18px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    white-space: nowrap;
    color: #392442;
}

.movie>span {
    float: right;
    padding: 23px 5px;
    font-size: 14px;
}

.movie-ul1 {
    width: 100%;
    position: relative;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center !important;
    background-color: #fff;
    padding: 0px 5px;
}

.movie-ul1 li a img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.movie-ul1 li a span {
    position: absolute;
    width: 100%;
    text-align: center;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    color: #392442;
}

.movie-ul2 {
    position: relative;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center !important;
    align-items: center !important;
    padding-top: 20px
}

.movie-ul2 li a {
    position: relative;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
    height: 100%;
    color: #392442;
    font-size: 12px
}

.movie-text {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 20px 5px 0 5px
}

.movie-text h3 {
    padding: 25px 0;
    font-size: 18px;
    font-weight: 700
}

.movie-text-ul1 {
    position: relative;
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%
}

.movie-text-ul1 li span {
    display: block;
    width: 100px;
    margin-right: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    white-space: nowrap
}

.movie-text-ul1 li a {
    display: block;
    flex: .99;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    white-space: nowrap
}

.movie-no {
    text-align: center;
    padding: 50px
}

.movie-no p img {
    width: 100px
}

.play {
    position: relative;
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%
}

.play-div1 {
    position: relative;
    width: 100%;
    padding-top: 56.2%;
    background-color: #000
}

.play-div1 iframe {
    position: absolute;
    z-index: 99;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0
}

.play-div1 div {
    position: absolute;
    background-color: #333;
    width: 100%;
    height: 40px;
    top: -40px;
    padding: 10px 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    white-space: nowrap
}

.play-div1 ul {
    position: absolute;
    background-color: #333;
    width: 100%;
    padding: 10px 5px
}

.play-div1 ul h4 {
    display: inline
}

.play-div1 ul p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.page {
    padding: 10px 0;
    text-align: center;
    background-color: #fff;
}

.page li {
    display: inline-block;
    margin: 2px
}

.page li a {
    padding: 10px 15px
}

.page_bg {
    background-color: #9455bc !important;
    color: #fff !important;
    border-radius: 5px
}

.page-default {
    display: inline-block;
    padding: 8px 30px;
    font-size: 12px;
    border-radius: 5px;
    background-color: #eee2f4;
    color: #333;
    box-shadow: 0 5px 10px rgba(246, 246, 246, .25)
}

.page-warm {
    display: inline-block;
    padding: 8px 30px;
    font-size: 12px;
    border-radius: 5px;
    background-color: #9455bc;
    background: linear-gradient(to right, #9455bc 0, #c37ed8 100%);
    box-shadow: 0 5px 10px rgba(148, 85, 188, .25)
}

.foot {
    text-align: center;
    padding: 30px 10px
}

.foot p {
    padding: 30px 0;
    color: #392442;
    font-weight: bold;
}

@media (max-width:1000px) {
    body {
        width: 100%;
        font-size: 13px
    }

    .head>ul {
        width: 100%
    }

    .index>a {
        flex-direction: column !important
    }
    
    .index>a>img {
        height: 60px;
    }

    .index>a>p:nth-of-type(1)>span {
        white-space: nowrap;
        color: #9455bc;
        font-size: 20px;
        font-weight: 700
    }

    .index>a>p:nth-of-type(2)>span {
        white-space: nowrap;
        color: #fff;
        font-size: 12px
    }

    .search {
        flex: 1
    }

    .hover>ul li a {
        padding: 5px
    }

    .movie-ul1 li {
        position: relative;
        width: 50%;
        padding-top: 34%;
        margin-bottom: 50px;
        border: 5px solid #fff;
        border-top: 0px;
    }

    .movie-ul1 li a {
        display: block;
        position: absolute;
        z-index: 99;
        top: 0%;
        left: 0%;
        right: 0%;
        bottom: 0%;
        font-size: 12px
    }

    .movie-ul1 li a span {
        top: 100%;
        margin-top: 10px
    }

    .movie-ul2 li {
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 30px;
        background-color: #fff;
        color: #392442;
        margin: 5px 5px;
        border-radius: 5px;
        font-size: 12px
    }

    .movie-text-ul1 li {
        position: relative;
        display: flex !important;
        flex-wrap: wrap;
        flex-direction: row !important;
        align-items: center !important;
        width: 100%;
        padding: 3px 0
    }

    .page-visible {
        display: inline-block !important
    }

    .page-hidden {
        display: none !important
    }
}

@media (min-width:1000px) {
    body {
        width: 1000px;
        font-size: 14px
    }

    .head>ul {
        width: 1020px
    }

    .head>ul:before {
        content: "";
        position: absolute;
        border-color: transparent #392442 transparent transparent;
        bottom: -10px;
        border-style: solid;
        border-width: 0px 10px 10px 0px;
    }
    
    .head>ul:after  {
        content: "";
        position: absolute;
        border-color: transparent transparent  transparent #392442;
        right: 0px;
        bottom: -10px;
        border-style: solid;
        border-width: 0px 0px 10px 10px;
    }
    
    .index>a {
        flex-direction: row !important
    }

    .index>a>img {
        height: 80px;
    }

    .index>a>p:nth-of-type(1)>span {
        white-space: nowrap;
        color: #9455bc;
        font-size: 30px;
        font-weight: 700;
        padding-right: 20px
    }

    .index>a>p:nth-of-type(2)>span {
        white-space: nowrap;
        color: #fff;
        font-size: 18px
    }

    .search {
        flex: .3
    }

    .hover>ul li a {
        padding: 10px
    }

    .movie-ul2 li {
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 60px;
        height: 30px;
        background-color: #fff;
        color: #392442;
        margin: 5px 10px;
        border-radius: 5px;
        font-size: 12px
    }

    .movie-ul1 li {
        position: relative;
        width: 25%;
        padding-top: 17%;
        margin-bottom: 50px;
        border: 5px solid #fff;
        border-top: 0px;
    }

    .movie-ul1 li a {
        display: block;
        position: absolute;
        z-index: 99;
        top: 0%;
        right: 0%;
        left: 0%;
        bottom: 0%;
        font-size: 13px
    }

    .movie-ul1 li a span {
        top: 100%;
        margin-top: 10px
    }

    .movie-text-ul1 li {
        position: relative;
        display: flex !important;
        flex-wrap: wrap;
        flex-direction: row !important;
        align-items: center !important;
        width: 50%;
        padding: 3px 0
    }

    .page-hidden {
        display: inline-block !important
    }

    .page-visible {
        display: none !important
    }
}
/* AI短剧竖图、详情与共用选集 */
.movie-posters li { width:16.666667%; padding-top:25%; }
.detail-breadcrumb { padding:18px 15px; color:#8c7598; font-size:13px; }
.detail-breadcrumb a { color:#7a6387; }
.detail-card { display:flex; gap:28px; padding:24px; background:#fff; border-radius:10px; box-shadow:0 1px 4px rgb(0 0 0 / 7%); }
.detail-cover { width:200px; height:300px; object-fit:cover; border-radius:10px; background:#eee2f4; }
.detail-info { flex:1; min-width:0; }
.detail-tag { display:inline-block; padding:5px 10px; border-radius:5px; color:#8646a0; background:#f2e5fa; font-size:12px; }
.detail-info h1 { margin:12px 0 8px; font-size:28px; overflow-wrap:anywhere; }
.detail-status { color:#8c7598; margin-bottom:18px; }
.detail-meta { display:grid; grid-template-columns:1fr 1fr; gap:12px 20px; }
.detail-meta div { display:flex; gap:12px; line-height:1.7; min-width:0; }
.detail-meta dt { color:#907b9b; flex-shrink:0; }
.detail-meta dd { overflow-wrap:anywhere; }
.detail-play,.detail-select { display:inline-block; margin:22px 10px 0 0; padding:12px 22px; border-radius:6px; }
.detail-play { background:#9455bc; color:#fff; }
.detail-select { background:#f3eaf8; color:#71577e; }
.detail-description,.episode-panel { background:#fff; margin:16px 0; padding:22px 24px; border-radius:10px; box-shadow:0 1px 4px rgb(0 0 0 / 7%); }
.detail-description h2,.section-heading h2 { font-size:18px; }
.detail-content { margin-top:16px; color:#7a6387; line-height:1.9; overflow-wrap:anywhere; }
.section-heading { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-bottom:20px; }
.section-heading span,.empty-hint { color:#907b9b; font-size:13px; }
.episode-source + .episode-source { margin-top:24px; padding-top:20px; border-top:1px solid #eee2f4; }
.episode-source h3 { font-size:14px; color:#7a6387; margin-bottom:12px; }
.episode-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(110px,1fr)); gap:10px; }
.episode-link { display:flex; align-items:center; justify-content:center; min-height:42px; height:100%; padding:10px 8px; background:#f8f1fb; border:1px solid #eee2f4; border-radius:6px; text-align:center; overflow-wrap:anywhere; line-height:1.5; }
.episode-link:hover,.episode-link.is-current { color:#fff; background:#9455bc; border-color:#9455bc; }
.episode-link:focus-visible,.detail-play:focus-visible,.detail-select:focus-visible { outline:2px solid #9455bc; outline-offset:3px; }
.play-caption { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 15px; background:#fff; }
.play-caption h1 { font-size:20px; overflow-wrap:anywhere; }
.play-caption a { flex-shrink:0; color:#8646a0; }
#episodes { scroll-margin-top:76px; }
@media (max-width:1000px) { .movie-posters li { width:33.333333%; padding-top:50%; } }
@media (max-width:600px) {
.detail-card { padding:16px; gap:16px; border-radius:0; }
.detail-cover { width:110px; height:165px; }
.detail-info h1 { font-size:20px; margin:8px 0; }
.detail-status { margin-bottom:12px; }
.detail-meta { grid-template-columns:1fr; gap:6px; font-size:12px; }
.detail-play,.detail-select { padding:10px 12px; margin-top:14px; margin-right:4px; }
.detail-description,.episode-panel { padding:18px 15px; border-radius:0; }
.episode-grid { grid-template-columns:repeat(auto-fill,minmax(85px,1fr)); gap:8px; }
}

/* demo030_purple theme interactions */
.movie a:hover,.detail-breadcrumb a:hover { color:#9455bc; }
a:focus-visible { outline:2px solid #9455bc; outline-offset:3px; }
