/* 组合播放器样式 - 直播概念，无进度条 */

.composite-video-container {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.composite-canvas {
  display: block;
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  background: #000;
}

.composite-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 16px;
  text-align: center;
  padding: 20px 40px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.composite-loading::before {
  content: '';
  display: block;
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: composite-spin 0.8s linear infinite;
}

@keyframes composite-spin {
  to { transform: rotate(360deg); }
}

.composite-error {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ff6b6b;
  font-size: 14px;
  text-align: center;
  padding: 20px 40px;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 8px;
  z-index: 10;
  max-width: 80%;
  word-break: break-word;
}

.composite-mute-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}

.composite-mute-btn:hover {
  background: rgba(0, 0, 0, 0.85);
}

.composite-live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: #e53e3e;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  border-radius: 4px;
  z-index: 10;
  animation: composite-live-pulse 2s ease-in-out infinite;
}

.composite-ended {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  padding: 16px 32px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  z-index: 10;
  letter-spacing: 2px;
}

@keyframes composite-live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
