$deviceWidth: 750;
@function vmin($rpx) {
  @return #{$rpx * 100 / $deviceWidth}vmin;
}

@mixin gift-ver {
  width: vmin(72);
  height: vmin(72);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: vmin(40);
  .gift-icon-ver {
    width: vmin(48);
    height: vmin(48);
    background: 100% / cover url(https://commonresource-1252524126.cdn.xiaoeknow.com/image/lymg162h0qz8.png) no-repeat;
  }
}

.gift-ver {
  @include gift-ver;
}

// 竖屏pad
@media screen and (min-width: 768px) and (orientation: portrait) {
  $deviceWidth: 1536 !global;
  .gift-ver {
    @include gift-ver;
  }
}
// 横屏pad
@media screen and (min-height: 768px) and (orientation: landscape) {
  $deviceWidth: 1536 !global;
  .gift-ver {
    @include gift-ver;
  }
}
