/* 视频竖版模块样式 */
.shipin_shuban_container {
    width: 100%;
    max-width: 100%;
    padding: 16px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
}

.shipin_shuban_item {
    flex: 0 0 auto;
    cursor: pointer;
}

.shipin_shuban_cover {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    overflow: hidden;
}

.shipin_shuban_cover_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shipin_shuban_overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 8px 8px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%
}

.shipin_shuban_overlay .shipin_shuban_title1 {
    font-family: PingFang SC, PingFang SC, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shipin_shuban_meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    gap: 4px;
}

.shipin_shuban_overlay .shipin_shuban_meta .shipin_shuban_author1,
.shipin_shuban_overlay .shipin_shuban_meta .shipin_shuban_time {
    font-family: PingFang SC, PingFang SC, sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shipin_shuban_author1 {
    flex: 1;
    min-width: 0;
}

.shipin_shuban_time {
    flex-shrink: 0;
}

body.shipin_shuban_player_open {
    overflow: hidden;
}

.shipin_shuban_player {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #000000;
}
.shipin_shuban_player_close_box{
    position: absolute;
    z-index: 2;
    width: 50px;
    height: 50px;
}
.shipin_shuban_player_close {
    position: absolute;
    top: calc(12px + env(safe-area-inset-top, 0px));
    left: 12px;
    z-index: 2;
    width: 12px;
    height: 24px;
    padding: 0;
    cursor: pointer;
}

.shipin_shuban_player_scroll {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

.shipin_shuban_player_scroll.is-scroll-locked {
    overflow: hidden;
    touch-action: none;
}

.shipin_shuban_player.is-progress-dragging {
    overscroll-behavior: none;
    touch-action: none;
}

.shipin_shuban_player_slide {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shipin_shuban_player_video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000000;
}

.shipin_shuban_player_video.is-landscape {
    object-fit: contain;
}

.shipin_shuban_player_slide.is-landscape {
    background: #000000;
}

.shipin_shuban_player_info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 16px 60px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
    box-sizing: border-box;
    pointer-events: auto;
    transition: opacity 0.2s ease;
}

.shipin_shuban_player_slide.is-progress-dragging .shipin_shuban_player_info {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.shipin_shuban_player_progress_wrap {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 44px;
    z-index: 3;
    pointer-events: auto;
    touch-action: none;
    padding: 12px 0;
    margin: -12px 0;
    box-sizing: content-box;
}

.shipin_shuban_player_progress_time {
    display: none;
    margin-bottom: 20px;
    font-family: PingFang SC, PingFang SC, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1;
    text-align: center;
}

.shipin_shuban_player_progress_wrap.is-dragging .shipin_shuban_player_progress_time {
    display: block;
}

.shipin_shuban_player_progress {
    position: relative;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    overflow: visible;
}

.shipin_shuban_player_progress_bar {
    height: 100%;
    width: 0;
    background: #ffffff;
    border-radius: 2px;
    transition: width 0.15s linear;
}

.shipin_shuban_player_progress_dot {
    position: absolute;
    top: 50%;
    left: 0;
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: left 0.15s linear;
    pointer-events: none;
}

.shipin_shuban_player_progress_wrap.is-dragging .shipin_shuban_player_progress_bar,
.shipin_shuban_player_progress_wrap.is-dragging .shipin_shuban_player_progress_dot {
    transition: none;
}

.shipin_shuban_player_author {
    font-family: PingFang SC, PingFang SC, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 1);
    line-height: 1.4;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shipin_shuban_player_desc_block {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    line-height: 20px;
}

.shipin_shuban_player_desc_block.is-expanded {
    display: block;
    font-size: 12px;
    line-height: 20px;
}

.shipin_shuban_player_desc_text {
    flex: 1;
    min-width: 0;
    font-family: PingFang SC, PingFang SC, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #ffffff;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shipin_shuban_player_desc_block.is-expanded .shipin_shuban_player_desc_text {
    display: inline;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
    line-height: 20px;
}

.shipin_shuban_player_desc_toggle {
    flex-shrink: 0;
    font-family: PingFang SC, PingFang SC, sans-serif;
    font-size: 12px;
    color: #ffffff;
    line-height: 20px;
    cursor: pointer;
    display: none;
    white-space: nowrap;
}

.shipin_shuban_player_desc_block.is-expanded .shipin_shuban_player_desc_toggle {
    display: inline;
    margin-left: 8px;
    vertical-align: baseline;
    line-height: 20px;
}

.shipin_shuban_player_play_hint {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.shipin_shuban_player_loading {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.shipin_shuban_player_loading.is-visible {
    display: flex;
}

.shipin_shuban_player_loading_spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 255, 255, 0.25);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: shipin_shuban_player_spin 0.8s linear infinite;
}

@keyframes shipin_shuban_player_spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
