.vs-video-consent {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: var(--vs-video-aspect-ratio, 16 / 9);
  background-color: #111;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.vs-video-consent::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.38);
}

.vs-video-consent.is-loaded::before {
  display: none;
}

.vs-video-consent iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.vs-video-consent__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
}

.vs-video-consent__button {
  border: 0;
  border-radius: 999px;
  padding: 10px 22px;
  background: #fff;
  color: #c9001b;
  font-weight: 700;
  cursor: pointer;
  font: inherit;
}

.vs-video-consent__button:hover,
.vs-video-consent__button:focus-visible {
  background: #c9001b;
  color: #fff;
}

.vs-video-consent__text {
  max-width: 560px;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.vs-video-consent__text a {
  color: #fff;
  text-decoration: underline;
}

.vs-video-consent__text a:hover,
.vs-video-consent__text a:focus-visible {
  color: #c9001b;
}

.vs-video-consent--facebook {
  background: #1877f2;
}

.vs-video-consent--facebook::after {
  content: "f";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(80px, 16vw, 180px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.vs-video-consent--vimeo {
  background: #1ab7ea;
}

.vs-video-consent--vimeo::after {
  content: "v";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(80px, 16vw, 180px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.vs-video-consent--instagram {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 8%, #fd5949 38%, #d6249f 62%, #285aeb 100%);
}

.vs-video-consent--instagram::after {
  content: "◎";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(80px, 16vw, 180px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.vs-video-consent--facebook .vs-video-consent__overlay,
.vs-video-consent--vimeo .vs-video-consent__overlay,
.vs-video-consent--instagram .vs-video-consent__overlay {
  background: rgba(0, 0, 0, 0.42);
}

.vs-video-consent--facebook .vs-video-consent__button {
  color: #1877f2;
}

.vs-video-consent--facebook .vs-video-consent__button:hover,
.vs-video-consent--facebook .vs-video-consent__button:focus-visible {
  background: #1877f2;
  color: #fff;
}

.vs-video-consent--vimeo .vs-video-consent__button {
  color: #1ab7ea;
}

.vs-video-consent--vimeo .vs-video-consent__button:hover,
.vs-video-consent--vimeo .vs-video-consent__button:focus-visible {
  background: #1ab7ea;
  color: #fff;
}

.vs-video-consent--instagram .vs-video-consent__button {
  color: #d6249f;
}

.vs-video-consent--instagram .vs-video-consent__button:hover,
.vs-video-consent--instagram .vs-video-consent__button:focus-visible {
  background: #d6249f;
  color: #fff;
}

.vs-video-consent--facebook .vs-video-consent__text a:hover,
.vs-video-consent--facebook .vs-video-consent__text a:focus-visible {
  color: #1877f2;
}

.vs-video-consent--vimeo .vs-video-consent__text a:hover,
.vs-video-consent--vimeo .vs-video-consent__text a:focus-visible {
  color: #1ab7ea;
}

.vs-video-consent--instagram .vs-video-consent__text a:hover,
.vs-video-consent--instagram .vs-video-consent__text a:focus-visible {
  color: #d6249f;
}

@media (max-width: 600px) {
  .vs-video-consent__overlay {
    padding: 16px;
    gap: 10px;
  }

  .vs-video-consent__button {
    padding: 9px 18px;
    font-size: 14px;
  }

  .vs-video-consent__text {
    font-size: 12px;
    line-height: 1.3;
  }
}