.popup-video__trigger {
  position: absolute;
  right: 3rem;
  bottom: 3rem;
  z-index: 9;
}
.popup-video__trigger button {
  all: unset;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: solid 0.1rem rgba(var(--color-foreground), 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background-color: rgba(var(--color-background));
  transition: 0.3s;
  box-shadow: 0 0.3rem 1.8rem rgba(0, 0, 0, 0.0588235294);
  cursor: pointer;
}
.popup-video__trigger button svg {
  color: rgba(var(--color-foreground));
  margin-left: 0.2rem;
}

.popup-video__trigger--style5, .popup-video__trigger--style6, .popup-video__trigger--style7 {
  position: -webkit-sticky;
  position: sticky;
  top: 17.6rem;
  width: fit-content;
  right: unset;
  bottom: unset;
}

.popup-video__trigger--style8, .popup-video__trigger--mobile {
  right: 1.5rem;
  bottom: 1.5rem;
}

.popup-video__trigger--style10 {
  right: 36%;
  bottom: 2.5rem;
}

.popup-video__trigger:hover button {
  background-color: rgba(var(--color-foreground));
  transform: scale(1.1);
}
.popup-video__trigger:hover svg {
  color: rgba(var(--color-background));
}

.popup-video__modal {
  z-index: 10001;
}

.popup-video__wrap {
  width: 70vw;
  aspect-ratio: 1000/563;
}
.popup-video__wrap iframe {
  width: 100%;
  height: 100%;
  border-radius: var(--modal-corner-radius);
}

.popup-video__close {
  cursor: pointer;
  position: absolute;
  top: -4rem;
}
[dir=ltr] .popup-video__close {
  right: 1rem;
}
[dir=rtl] .popup-video__close {
  left: 1rem;
}
.popup-video__close button {
  all: unset;
  width: 3.2rem;
  height: 3.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: 0.3s;
}
.popup-video__close svg {
  color: rgba(var(--color-foreground));
  line-height: 0;
}

.popup-video__close:hover button {
  background-color: rgba(var(--color-foreground));
  rotate: 180deg;
}
.popup-video__close:hover svg {
  color: rgba(var(--color-background));
}