@import "../../../../common.less";

.drawsucmodal {
  width: 100vw;
  height: 100vh;
  left: 0rpx;
  top: 0rpx;
  position: fixed;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;

  // 蒙层
  .drawsucmodal-mask {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }

  // 弹窗内容
  .drawsucmodal-content {
    width: 550rpx;
    height: 616rpx;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .drawsucmodalbg {
    width: 550rpx;
    height: 616rpx;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  .drawsucmodalawardimg {
    width: 180rpx;
    height: 180rpx;
    position: absolute;
    top: 150rpx;
    left: 185rpx;
    object-fit: contain;
    z-index: 3;
  }

  .drawsucmodalawardname {
    width: 348rpx;
    height: 30rpx;
    position: absolute;
    top: 365rpx;
    left: 101rpx;
    font-size: 29rpx;
    line-height: 30rpx;
    color: rgba(0, 0, 0, 1);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .drawsucmodalhappygetbtn {
    width: 465rpx;
    height: 97rpx;
    position: absolute;
    top: 434rpx;
    left: 42rpx;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 0.3s ease;

    &:hover {
      opacity: 0.8;
    }
  }

  .drawsucmodalclosebtn {
    width: 60rpx;
    height: 59rpx;
    position: absolute;
    top: 660rpx;
    left: 245rpx;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 0.3s ease;

    &:hover {
      opacity: 0.8;
    }
  }
}
