.share-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  /* display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column; */
}

.share-popup-box {
  position: relative;
  width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #F2F2F2;
  margin: 40px auto 0;
  border-radius: 24px;
  padding-top: 16px;
}

.share-popup-box-h5 {
  width: 100%;
  background: transparent;
}

.share-close-box {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 999;
}

.share-close-box img {
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.share-popup-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.share-popup-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px 8px 0px 0px;
  background: var(--Brand-Theme, #7751ff);
  padding: 12px 16px;
  width: 311px;
}

.share-popup-header img {
  width: 90px;
}
.share-popup-header div {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}
.share-popup-header span {
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
  font-family: "PingFang SC";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px; /* 133.333% */
}

.share-popup-content {
  width: 311px;
  height: 423px;
  border-radius: 24px 24px 0px 0px;
}

.share-popup-content img {
  width: 90%;
  height: 100%;
}

.share-popup-footer {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  border-radius: 0px 0px 24px 24px;
  background: var(--Text-static-white, #fff);
  padding: 16px;
}

.share-popup-footer .logo {
  width: 48px;
  height: 48px;
}

/* .share-popup-footer div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-left: 8px;
} */

.share-popup-footer div span {
  color: var(--text-primary-label, #1a1a1a);
  font-family: "PingFang SC";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 14px; /* 87.5% */
}

.share-popup-footer div label {
  color: var(--text-primary-label, #1a1a1a);
  font-family: "PingFang SC";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px; /* 116.667% */
  margin-top: 4px;
}

.share-popup-footer .share-qrcode {
  position: absolute;
  width: 48px;
  height: 48px;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.share-popup-footer-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.share-popup-footer-logo {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-direction: row !important;
  margin-bottom: 6px;
}

.share-popup-footer-logo .logo1 {
  height: 24px;
}

.share-links {
  position: relative;
  width: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  border-radius: 0 0 24px 24px;
  padding: 24px;
}

.share-links div {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  cursor: pointer;
}

.share-links div img {
  width: 48px;
  height: 48px;
}

.share-links div span {
  color: #1a1a1a;
  text-align: center;
  text-overflow: ellipsis;
  font-family: "PingFang SC";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px; /* 183.333% */
}
.share-tips {
  margin-top: 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.share-tips img {
  width: 16px;
  height: 16px;
}

.share-tips span {
  color: var(--Text-static-white, #fff);
  font-family: "PingFang SC";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px; /* 157.143% */
  margin-left: 8px;
}

.share-close {
  margin-top: 24px;
}

.share-close img {
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.swiper {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 311px !important;
  border-radius: 24px;
}

/* .swiper-slide img {
  display: block;
  width: 95%;
} */

/* .swiper-slide-prev {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.8) -0.03%, rgba(0, 0, 0, 0.2) 99.9%);
}

.swiper-slide-next {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0.1%, rgba(0, 0, 0, 0.2) 100.03%);
} */

.share-line {
  display: none !important;
}

.share-links-box {
  flex-direction: row !important;
}

@media screen and (max-width: 768px) {
  .share-tips,
  .share-close {
    display: none;
  }
  .share-popup-inner {
    position: fixed;
    top: 64px;
    left: 50%;
    transform: translateX(-50%);
  }
  .swiper {
    height: calc(100vh - 180px);
  }
  .swiper-slide .share-popup-inner {
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .share-popup {
    justify-content: flex-start;
  }
  .share-links {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-top: 30px;
    padding-bottom: 8px;
    margin-top: 0;
    border-radius: 16px 16px 0px 0px;
    background: var(--Fill-Page-White, #fff);
    animation: fadeInUpBig 0.2s ease both;
    z-index: 1;
  }
  .out {
    animation: fadeOutDownBig 0.2s ease both;
  }
  .share-links-box div {
    flex: inherit;
  }
  .share-links-box div span {
    color: var(--text-primary-label, #1a1a1a);
  }
  .share-line {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 5px;
    margin: 0 !important;
  }
  .share-links-box {
    position: relative;
    display: flex;
    flex-direction: row !important;
    width: 100% !important;
  }
  .h5-share {
    padding-top: 90px;
  }
  .share-close-h5 {
    position: absolute;
    top: 8px;
    left: 50%;
    margin-left: -18px;
    width: 36px !important;
    height: 5px;
    border-radius: 3px;
    background: #D9D9D9;
  }
  .h5-share-title {
    font-weight: Bold;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    text-transform: capitalize;
    color: #1a1a1a;
  }
  .h5-share-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .h5-share-link span {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0%;
    color: #404040;
  }
  .share-links .share-line {
    display: flex !important;
  }
  .share-line img {
    width: 100% !important;
    height: 100% !important;
  }
  .cw-share-mesg {
    width: 90%;
    align-items: start !important;
    margin: 0 !important;
  }
  .cw-share-link {
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
    display: flex !important;
    justify-content: start !important;
    align-items: center !important;
    position: absolute;
    flex-direction: row !important;
    top: 0;
  }
  .cw-share-link .logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    margin-right: 10px;
  }
  .cw-share-link-tilte {
    font-size: 15px;
    font-family: PingFangSC-Light, PingFang SC;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 0.2rem;
    align-items: center !important;
    flex-direction: row !important;
  }
  .cw-share-link-tilte img {
    width: 12px !important;
    height: 12px !important;
    margin-left: 5px;
  }
  .cw-share-link-url {
    margin: 0 !important;
  }
  .cw-share-link-url .url {
    font-size: 0.13rem;
    font-family: PingFangSC-Light, PingFang SC;
    font-weight: 400;
    color: #a1a1a6;
    line-height: 0.18rem;
    flex: 1;
    max-width: 90%;
    word-break: break-all;
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
  }
  .cw-share-link-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
  }
}

@keyframes fadeInUpBig {
  0% {
    opacity: 0;
    -webkit-transform: translateY(2000px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}

@keyframes fadeOutDownBig {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(2000px);
  }
}
