/* ============================================================
   hikVideo - 海康威视 Web 无插件通道
   实时分屏板覆盖层 + 状态提示 + 回放窗口
   ============================================================ */
.vp-grid-wrap {
    position: relative;
}

.vp-hik-layer {
    position: absolute;
    inset: 0;
    z-index: 18;
    display: none;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
}

.vp-hik-layer.active {
    display: block;
}

.vp-hik-host {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.vp-hik-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 16px;
    color: #fff;
    background: #1677ff;
    vertical-align: 1px;
}

.vp-hik-board-hint {
    position: absolute;
    right: 12px;
    bottom: 10px;
    z-index: 20;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, .82);
    background: rgba(15, 23, 42, .62);
    pointer-events: none;
}

/* 回放页主窗口 */
.vp-pb-wrap {
    background: #0b1220;
    border-radius: 8px;
    padding: 8px;
    height: calc(100vh - 290px);
    min-height: 380px;
    position: relative;
}

.vp-pb-host {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
}

.vp-pb-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #52657a;
    font-size: 13px;
    pointer-events: none;
    z-index: 3;
}

.vp-pb-empty.hide {
    display: none;
}