/* 当前详情页内的视频播放弹窗，不跳页面 */
#hhVideoModalPlayer{
    position:fixed !important;
    inset:0 !important;
    z-index:2147483600 !important;
    display:none !important;
    background:rgba(0,0,0,.88) !important;
    backdrop-filter:blur(8px) !important;
    -webkit-backdrop-filter:blur(8px) !important;
    box-sizing:border-box !important;
    padding:calc(env(safe-area-inset-top,0px) + 10px) 10px calc(env(safe-area-inset-bottom,0px) + 10px) !important;
}

#hhVideoModalPlayer.hh-show{
    display:flex !important;
    flex-direction:column !important;
}

.hh-video-modal-top{
    height:48px !important;
    min-height:48px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    position:relative !important;
    z-index:2147483640 !important;
    pointer-events:auto !important;
}

.hh-video-modal-close{
    height:40px !important;
    padding:0 18px !important;
    border-radius:999px !important;
    border:1px solid rgba(255,255,255,.38) !important;
    background:linear-gradient(135deg,#7c3aed,#111827) !important;
    color:#fff !important;
    font-size:15px !important;
    font-weight:900 !important;
    box-shadow:0 0 18px rgba(168,85,247,.58) !important;
    pointer-events:auto !important;
}

.hh-video-modal-title{
    flex:1 !important;
    text-align:right !important;
    font-size:13px !important;
    font-weight:800 !important;
    color:rgba(255,255,255,.72) !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}

.hh-video-modal-box{
    flex:1 1 auto !important;
    min-height:0 !important;
    width:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:18px !important;
    overflow:hidden !important;
    background:#000 !important;
    border:1px solid rgba(168,85,247,.35) !important;
    box-shadow:0 16px 42px rgba(0,0,0,.55),0 0 26px rgba(168,85,247,.22) !important;
    position:relative !important;
    z-index:2147483610 !important;
}

#hhVideoModalPlayer video{
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    max-height:calc(100dvh - 92px) !important;
    display:block !important;
    object-fit:contain !important;
    background:#000 !important;
    position:relative !important;
    z-index:1 !important;
}

@media(max-width:768px){
    #hhVideoModalPlayer{
        padding:calc(env(safe-area-inset-top,0px) + 8px) 8px calc(env(safe-area-inset-bottom,0px) + 8px) !important;
    }

    .hh-video-modal-top{
        height:46px !important;
        min-height:46px !important;
    }

    .hh-video-modal-close{
        height:38px !important;
        padding:0 16px !important;
        font-size:14px !important;
    }

    #hhVideoModalPlayer video{
        max-height:calc(100dvh - 84px) !important;
    }
}
