.hvm {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.hvm.is-open {
  display: block;
}

.hvm__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.hvm__panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2vw, 24px);
}

.hvm__video {
  width: min(1200px, 100%);
  max-height: calc(100dvh - 2 * clamp(12px, 2vw, 24px));
  height: auto;
  background: #000;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hvm__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 15px;
  line-height: 44px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.hvm__close:hover {
  background: rgba(255, 255, 255, 0.25);
}
