.container {
    height:100%;
    padding:0 !important;
    overflow:hidden;
}
.back_nav{
    height:2.5rem;
    width:100%;
    background-color: rgba(255,255,255,0.1);
    line-height:2.5rem;
    padding-left:1rem;
    display:flex;
    align-items:center;
    position:fixed;
    top:0;
    left:0;
    z-index:999;
}
.back_nav span:first-child{
    font-size:1.5rem;
    color:white;
    margin-right:0.5rem;
    display:flex;
    align-items:center;
}
.video-container-detail{
    position:relative;
    width:100%;
    height:100%;
    overflow:hidden;
}
.swiper-container{
    height:100%;
}
.video-js{
    width:100%;
    height:calc(100vh - 40px);
    overflow:hidden;
}
video{
    height:100% !important;
}
.episode-list{
    position:fixed;
    bottom:-37.25rem;
    left:0;
    right:0;
    background-color: #1C1F25;
    z-index:999;
    padding:0.5rem;
    overflow:hidden;
    /* min-height:300px; */
    border-top-left-radius:20px;
    border-top-right-radius:20px;
    color:white;
    right:0;
    padding:16px;
    transition:all 0.3s ease-in-out;
    max-width: 480px;
    margin:0 auto;
}
#episode-list{
    width:100%;
    display: grid;
    grid-template-columns: 15% 15% 15% 15%  15% 15%;
    grid-gap: 2%;   
    box-sizing: border-box;
    max-height: 25rem;
    overflow-y: auto;
    overflow-x: hidden;
    position:relative;
    /* margin-top:60px; */
}
.episode-list-show{
    bottom:0 !important;
}
.episcode-chager{
    position:absolute;
    bottom:15px;
    left:0;
    right:0;
    z-index:909;
    width:85%;
    margin:0 auto;
    display:flex;
    height:40px;
    line-height:40px;
    border-radius:15px;
    background-color:rgb(26,26,26);
    padding:5px 16px;
    
}
.episode-info{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex:1;
    flex-wrap:nowrap;
}
p{
    margin:0;
}
.All{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:45px;
}
ul,li{
    margin:0;
    padding:0;
    list-style:none;
}
.episode-item{
    width:100%;
    aspect-ratio: 1;
    height: auto;
    background: #ffffff1a;
    border-radius: 10px;
    position: relative;
    text-align: center;
    /* line-height:  3.75rem; */
    font-family: Gilroy, Gilroy;
    font-weight: 500;
    font-size: 1rem;
    color: #fffc;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    font-size: 1.1rem;
}
#episodes_title{
    /* position: inherit; */
    height:60px;
    /* line-height:60px; */
    font-size:1.5rem;
    width:100%;
    margin-top:20px;
}
.close-button{
    position: absolute;
}
#episode-list-container .close-button{
    right:16px;
}
#episode-list .active{
    color:#FD0252;
}
#episode-list .locked:after{
    content: "";
    position: absolute;
    top: 0;
    right:0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background:url('/images/locked.webp') no-repeat center center;
}
.movie-info-container{
    position:absolute;
    bottom:100px;
    width:90%;
    left:1rem;
}
.movie-info-title{
    font-size:1.5rem;
    margin-bottom:1rem;
}
.movie-info-detail{
    display: -webkit-box;              /* 使用 Flexbox 布局 */  
    -webkit-box-orient: vertical;      /* 垂直方向布局 */  
    -webkit-line-clamp: 3;             /* 限制显示三行 */  
    overflow: hidden;                   /* 隐藏溢出文本 */  
    text-overflow: ellipsis;           /* 显示省略号 */  
    line-height: 1.5;                  /* 行高设置（可以根据设计需求调整） */  
    max-height: 4.5em;    
}

  /* 进度条样式 */
  .progress-bar-container {
    width:95%;
    height:4px;
    background: #ddd;
    cursor: pointer;
    /* margin: 10px auto; */
    position: absolute;
    bottom: 70px;
    z-index: 99;
    left: 2.5%;
}

.progress-bar {
    height: 100%;
    background: rgb(253,2,82);
    width: 0%;
}
.play-button {
    position: absolute;
    top: calc(50% - 40px);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

 .play-button {
    opacity: 1;
}

.play-button svg {
    fill: #fff;
    width: 30px;
    height: 30px;
}
.click_marsk{
    width:100%;
    height:80%;
    top:10%;
    position:absolute;
    background-color:transparent;
}
.movie-pay-mask{
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color:rgba(0,0,0,0.5);
    z-index:19;
    display:none;
}
.movie-pay-title{
    margin-top:30px;
}
.movie-pay-container{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:70%;
    background-color:#fff;
    /* padding:20px; */
    border-radius:10px;
    padding: 25px;
    background: linear-gradient(135deg, rgb(255, 32, 3), rgb(233, 26, 136), rgb(253, 105, 7));
    text-align: center;
}
.dialog_top{
    margin: 20px auto;
    width: 100%;
    height: 200px;
    overflow: hidden;
    vertical-align: text-top;
}
.dialog_top img{
    width: 100%;
    margin-top: -50%;
}
#watchAdButton{
    background: #fcb600;
    display: block;
    margin: 0 auto;
    color: #fff;
    padding: .8em;
    font-size: 15px;
    font-weight: 700;
}
.loadWatchedButton #watchAdButton{
    background: #cdc3c3;
    pointer-events: none;
}

input[type="button"]{
    border:none;
    border-radius:5px;
}
#coins{
    position: absolute;
    top: 10px;
    left: 10px;
    display:flex;
    gap:5px;
    background-color: #fff;
    color:#fcb600;
    align-items:center;
    padding:0 10px;
    border-radius:5px;
    font-size:1.2rem;
}
.close-pay-mask{
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
}
.xgplayer .xgplayer-start .xg-icon-pause, .xgplayer .xgplayer-start[data-state=pause] .xg-icon-play{
    display:block !important;
}
.xgplayer .xgplayer-start[data-state=pause] .xg-icon-pause, .xgplayer .xgplayer-start.interact{
    display:none !important;
}
#loading_overlay{
    position:absolute;
    z-index:9999;
    top:50%;
    left:50%;
    /* transform:translate(-50%,-50%); */
    animation: rotate 3s linear infinite;
}
@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}