.container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
}

// .playWindow {
//   width: 100%;
//   height: 300px;
//   margin-bottom: 16px;
//   background-color: #000;
//   position: relative;
// }

// .videoList {
//   display: flex;
//   gap: 10px;
//   overflow-x: auto;
//   padding-bottom: 10px;
// }


.videoItem {
  width: 357px;
  height: 206px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  
  &:hover {
    width: 357px;
    height: 209px;
    border: 4px solid rgb(188, 224, 255);
    box-sizing: border-box;
    box-shadow: 0px 0px 30px 0px rgb(0, 136, 255);

    .titleArea {
      background: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(4px);
    }
    
    .videoTitle {
      color: rgb(255, 255, 255);
      font-size: 32px;
      line-height: 38px;
    }
  }
}

.videoThumbnail {
  width: 100%;
  height: 100%;
  background-color: rgba(30, 107, 180, 0.5);
  display: flex;
  position: relative;
  z-index: 1;
}

/* 标题区域 */
.titleArea {
  width: 60px;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
  z-index: 20;
}

.videoTitle {
  color: rgb(213, 235, 255);
  font-family: 'DingTalk JinBuTi';
  font-size: 26px;
  font-weight: 400;
  writing-mode: vertical-lr;
  letter-spacing: 2px;
  // transform: rotate(180deg);
  text-align: center;
  transition: all 0.3s;
}

/* 播放器包装容器 */
.playerWrapper {
  flex: 1;
  height: 100%;
  position: relative;
}

/* 海康播放器容器样式 */
.playerContainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* 确保播放器在底层 */
}

.active {
  border: 4px solid rgb(188, 224, 255);
  box-sizing: border-box;
  box-shadow: 0px 0px 30px 0px rgb(0, 136, 255);
  
  .titleArea {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
  }
  
  .videoTitle {
    color: rgb(255, 255, 255);
    font-size: 32px;
    line-height: 38px;
  }
}

.videoPlaceholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 151px;
  height: 56px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 20px 0px 20px 0px;
  transition: all 0.3s;
  z-index: 20; /* 确保在播放器上层 */
  pointer-events: none; /* 允许点击穿透 */
}

.noVideo {
  position: absolute;
  z-index: 20;
  color: white;
  font-size: 16px;
  pointer-events: none; /* 允许点击穿透 */
}