/* Pre-roll overlay — sits inside .player / #to--expand */

.player.wstream-preroll--active,
#to--expand.wstream-preroll--active {
  position: relative;
  overflow: hidden;
}

.wstream-preroll {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  background: #000;
}

.wstream-preroll__stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: #0a0a0a;
}

.wstream-preroll__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  cursor: pointer;
}

.wstream-preroll__loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f3f4f6;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  background: #0a0a0a;
}

.wstream-preroll__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  pointer-events: none;
}

.wstream-preroll__label {
  color: #e5e7eb;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wstream-preroll__skip {
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 8px 12px;
  cursor: pointer;
}

.wstream-preroll__skip:disabled {
  opacity: 0.55;
  cursor: default;
}

.wstream-preroll__skip:not(:disabled):hover {
  background: rgba(255, 255, 255, 0.12);
}

.player.wstream-preroll--active .fke-player {
  pointer-events: none;
}

