@import url('uyghur.css');
/* 基础布局 */
html,body{
    min-width: 320px;
    max-width: 767px;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    overflow:hidden;
    background:#000;
    margin:0;padding:0;
    font-family: 'UKIJ Tor';
}

.headers{
    max-width: 400px;
    min-width: 320px;
    width: 95%;
    margin: 0 auto;
    /* padding: 0 12px; */
    position: fixed;
    top: 0;
    z-index: 99 !important;
}
.show-head {
    width: 100%;
    height: 50px;
    background: transparent;
    color: #fff;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    padding: 0 12px;
}

.show-h-title {
    color: #fff;
    text-align: center;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
    direction: rtl;
}

.show-h-ishome {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.show-h-isback {
    width: 40px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.swiper-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.swiper-wrapper {
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}
.swiper-slide {
    width: 100%;
    height: 100vh;
    position: relative;
}
.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}
.episode-title {
    position: absolute;
    top: 50px;
    left: 20px;
    color: #fff;
    font-size: 18px;
    z-index: 10;
    text-shadow: 0 0 5px #000;
    direction: rtl;
}

/* 中间播放按钮 */
.play-btn-center{
    position:absolute;
    left:50%;top:50%;
    transform:translate(-50%,-50%);
    width:70px;height:70px;
    background:rgba(0,0,0,0.5);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:999;
}
.play-btn-center::after{
    content:'▶';
    color:#fff;
    font-size:30px;
    padding-left:5px;
}

/* 底部选集栏 */
.episode-selector{
    max-width: 380px;
    position:fixed;
    bottom:80px;
    left:0;
    width:100%;
    padding:10px;
    z-index:999;
}
.episode-grid{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 220px;
    overflow-y: auto;
    padding-bottom: 10px;
    justify-content: center;
    align-items: center;
}
.episode-item{
    width:60px;height:60px;
    background:rgba(0,0,0,0.6);
    color:#fff;
    border-radius:8px;
    display:grid;
    place-content:center;
    font-size:14px;
    border:1px solid #444;
}
.episode-item.active{
    background:#ff4500;
    border-color:#ff4500;
    color:#fff;
}

/* 选集按钮 */
.toggle-ep-btn{
    position:fixed;
    bottom:20px;left:50%;
    transform:translateX(-50%);
    background:#ff4500;
    color:#fff;
    border:none;
    border-radius:30px;
    padding:8px 20px;
    font-size:14px;
    z-index:9999;
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    z-index: 9;
}
.auth-modal {
    position: fixed;
    margin: 0 auto;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
}
.modal-content {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    width: 85%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 5px;
}
.modal-desc{
    margin: 5px;
    font-size: 14px;
    line-height: 1.6;
}
.buy-btn {
    padding: 12px 25px; margin:5px;
    border:none; border-radius:6px;
    background:#ff4500; color:#fff;
}
.vip-btn {
    padding:12px 25px; margin:5px;
    border:none; border-radius:6px;
    background:#ffd700; color:#000;
}