.succ-window {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  &.open-prize {
    display: block;
  }
  .succ-window-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80vw;
    transform: translate(-50%, -50%);
    .succ-icon {
      width: 80vw;
      height: 400/600 * 80vw;
      max-width: 400px;
      max-height: 400/600 * 400px;
      margin: 0 auto 10vw;
      background: center/contain no-repeat;
    }
    .succ-title,
    .succ-prize-lv,
    .succ-prize-content {
      font-size: 20px;
      width: 100%;
      color: #fee79b;
      text-align: center;
      &.succ-prize-lv {
        margin-top: 1em;
      }
    }
    .buttons {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      margin-top: 3em;
    }
    .succ-btn {
      max-width: 12em;
      width: 80%;
      line-height: 3em;
      height: 3em;
      font-size: 20px;
      border-radius: 3em;
      margin: 0.75em 0.5em;
      font-weight: bolder;

      &.succ-btn-receive {
        color: #a16014;
        background: linear-gradient(
          0deg,
          #fdb67d 0%,
          #fbe57d 2%,
          #f8e390 45%,
          #feedad 52%,
          #f6df95 96%,
          #fef8e6 98%,
          #f5dc91 100%
        );
        box-shadow: 0 18px 20px 0 rgba(60, 26, 3, 0.3);
        // , 0 3px 2px 1px rgba(254, 248, 229, 0.8);
        // , -1px -1px 2px 0 rgba(250, 160, 73, 0.42);
      }
      &.succ-btn-again {
        color: #fff;
        background: linear-gradient(0deg, #fb4346 0%, #d90910 2%, #f55 98%, #f55 100%);
        box-shadow: 0 18px 20px 0 rgba(60, 26, 3, 0.3);
        // , 0 3px 2px 0 rgba(254, 248, 229, 0.8);
        // , -1px -1px 2px 0 rgba(250, 160, 73, 0.42);
      }
    }
  }
}
.succ-window-close {
  position: absolute;
  top: 1em;
  right: 1em;
  color: #fff;
  font-size: 24px;
  text-align: center;
  cursor: pointer;
  width: 1.5em;
  height: 1.5em;
  line-height: 1.5em;
  background-color: rgba(128, 128, 128, 0.6);
  border-radius: 50%;

  &:before {
    position: absolute;
    content: '\00D7';
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
  }
  &:hover {
    background-color: rgba(128, 128, 128, 0.8);
  }
}
