.pipContainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.pip {
  position: absolute;
  width: 180px;
  height: 135px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  pointer-events: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: opacity 300ms ease-in-out, transform 300ms ease-in-out;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.pip:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Positioning */
.pipTopLeft {
  top: 16px;
  left: 16px;
}

.pipBottomRight {
  bottom: 80px; /* Above controls footer */
  right: 16px;
}

/* Video element */
.pipVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Label overlay */
.pipLabel {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

/* Tablet responsive */
@media (max-width: 768px) {
  .pip {
    width: 120px;
    height: 90px;
  }

  .pipLabel {
    font-size: 11px;
    padding: 3px 6px;
  }

  .pipBottomRight {
    bottom: 70px;
    right: 12px;
  }

  .pipTopLeft {
    top: 12px;
    left: 12px;
  }
}

/* Mobile responsive */
@media (max-width: 480px) {
  .pip {
    width: 100px;
    height: 75px;
  }

  .pipLabel {
    font-size: 10px;
    padding: 2px 5px;
  }

  .pipBottomRight {
    bottom: 60px;
    right: 8px;
  }

  .pipTopLeft {
    top: 8px;
    left: 8px;
  }
}
