/* =========================================================
   Portal Corbélia — Player de vídeo com preroll de publicidade
   (cvp = corbelia video player)
   ========================================================= */

:root {
  --cvp-radius: 10px;
  --cvp-accent: #d62828;
  --cvp-bg: #05070d;
}

.cvp {
  width: 100%;
}

.cvp-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--cvp-bg);
  border-radius: var(--cvp-radius);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.cvp-ad-stage,
.cvp-content-stage {
  position: absolute;
  inset: 0;
}

.cvp-ad-player,
.cvp-ad-player iframe,
.cvp-content-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.cvp-ad-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 999px;
  pointer-events: none;
}

.cvp-skip-btn,
.cvp-mute-btn {
  position: absolute;
  bottom: 14px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.cvp-skip-btn {
  right: 14px;
}

.cvp-mute-btn {
  right: 154px;
}

.cvp-skip-btn:disabled {
  cursor: default;
  opacity: 0.85;
}

.cvp-skip-btn:not(:disabled):hover,
.cvp-mute-btn:hover {
  background: var(--cvp-accent);
  border-color: var(--cvp-accent);
}

.cvp-error {
  color: #fff;
  text-align: center;
  padding-top: 45%;
  font-size: 14px;
}

.cvp-title {
  margin-top: 10px;
  font-weight: 600;
}
