.container {
  width: 100%;
  height: 100%;
  flex-direction: column;
  max-width: 750px;
  margin: 0 auto;
}

.header{
    width: 100%;
    height: 1.5rem;
    max-width: 750px;
    position: fixed;
    top: 0;
    z-index: 999;
    background: url(../image/wap/header-bg.png) no-repeat;
    background-size: 100% 100%;
}

.header-store {
    margin: -0.38rem 0 0 4.5rem;
}

.header-store img{
    width: 2.01rem;
    height: 0.58rem;
}

.details-btn{
    width: 0.55rem;
    height: 0.48rem;
    margin: -0.3rem 0 0 0.3rem;
}

.nav {
    position: fixed;
    top: 0;
    right: -40rem; /* 初始位置在屏幕右侧外部 */
    width: 100%;
    /* height: 100%; */
    height: 100vh;
    background: url(../image/wap/nav-bg.png) no-repeat;
    background-size: 100% 100%;
    color: #fff;
    transition: right 1.5s ease; /* 动画效果 */
    z-index: 9999;
    overflow-y: auto;
    bottom: 0;
}

.nav-bar{
    width: 3.53rem;
    margin: 0 auto;
    text-align: center;
}

.nav .nav-bar li{
    width: 5.52rem;
    height: 1.08rem;
    margin-left: 50%;
    padding: 0;
    box-sizing: border-box;
    border: none;
    color: #fff;
    font-size: 0.4rem;
    line-height: 1.08rem;
    text-align: center;
    transform: translateX(-50%);
    transition: color 0.3s ease, background 0.3s ease;
    display: block;
}

.nav .nav-bar li:hover{
    color: #fff9a5;
    background: url(../image/wap/nav-hover.png) no-repeat;
    background-size: 100% 100%;
}

.nav.active {
    /* 激活时显示在右边 */
    right: 0;
}

.wrapper{
    position: relative;
}

.section1{
    width: 100%;
    height: 11.25rem;
    position: relative;
    overflow: hidden;
    /* background: url(../image/wap/section1-bg.png) no-repeat;
    background-size: 100% 100%; */
}

.section1-bg {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.section1-store{
    width: 4.54rem;
    height: 1.32rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 9.4rem;
}

.section2-1{
    width: 100%;
    height: 10.10rem;
    position: relative;
    overflow: hidden;
    background: url(../image/wap/section2-1-bg.png) no-repeat;
    background-size: 100% 100%;
}

.select-info {
    width: 6.63rem;
    height: 0.91rem;
    margin: 7.1rem auto 0; 
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    padding: 0 0.23rem;
    background: url(../image/wap/select-info.png) no-repeat center / 100% 100%;
    position: relative;
}

.select-info::after {
    content: "";
    width: 1px;
    height: 0.49rem;
    background: #d7d1d1;
    position: absolute;
    left: 2.26rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.select-info select {
    outline: none;
    padding: 0 0.34rem 0 0.08rem;
    box-sizing: border-box;
    border: 0;
    color: #532a22;
    width: 2.03rem;
    height: 0.75rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url(../image/wap/select-icon.png) no-repeat calc(100% - 0.12rem) calc(50%) / 0.24rem 0.17rem;
    font-weight: 700;
    font-size: 0.30rem;
    cursor: pointer;
}

.select-info input {
    outline: none;
    padding: 0 0.08rem 0 0.44rem;
    min-width: 0;
    flex: 1;
    box-sizing: border-box;
    border: 0;
    height: 0.75rem;
    font-weight: 400;
    font-size: 0.30rem;
    background: transparent;
    caret-color: #000;
}

.select-info input::placeholder {
  color: #aa9697;
  opacity: 1;
}

input:focus {
  outline: none;
}

.section2-1-btn{
    width: 3.86rem;
    height: 1.07rem;
    margin: 0.5rem auto 0;
}

.section2-2{
    width: 100%;
    height: 8.43rem;
    position: relative;
    overflow: hidden;
    background: url(../image/wap/section2-2-bg.png) no-repeat;
    background-size: 100% 100%;
}

.section2-2-store{
    width: 3.86rem;
    height: 1.07rem;
    margin: 6.9rem auto 0;
}

.section2-3{
    width: 100%;
    height: 10.89rem;
    position: relative;
    overflow: hidden;
    background: url(../image/wap/section2-3-bg.png) no-repeat;
    background-size: 100% 100%;
}

.section2-3-btn{
    width: 3.86rem;
    height: 1.09rem;
    margin: 9.2rem auto 0;
}

.section3-1{
    width: 100%;
    height: 11.73rem;
    position: relative;
    overflow: hidden;
    background: url(../image/wap/section3-1-bg.png) no-repeat;
    background-size: 100% 100%;
}

.hegemony-text,
.rebel-text {
    position: absolute;
    top: 10.53rem;
    width: 50%;
    text-align: center;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01rem;
}

.hegemony-text {
    left: 0;
    color: #ed3934;
}

.rebel-text {
    right: 0;
    color: #f6cb65;
}

.section3-2{
    width: 100%;
    height: 8.55rem;
    position: relative;
    overflow: hidden;
    background: url(../image/wap/section3-2-bg.png) no-repeat;
    background-size: 100% 100%;
}

.section3-text{
    width: 4.59rem;
    height: 0.16rem;
    display: block;
    margin: 0.2rem auto 0;
}

.join-box {
    width: 100%;
    height: 0.37rem;
    background: url(../image/wap/join-box.png) no-repeat; 
    background-size: 100% 100%;
    position: absolute;
    top: 11.3rem;
    left: 0;
    overflow: hidden;
}

.join-hegemony-content,
.join-rebel-content {
    width: 50%;
    min-width: 0;
    height: 100%;
    overflow: hidden;
}

.join-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 100%;
    overflow: hidden;
}

.join-slide .bd,
.join-slide .tempWrap {
    width: 100% !important;
    height: 0.37rem !important;
    overflow: hidden;
}

.join-box ul li {
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 0 0.1rem;
    font-size: 0.2rem;
    font-weight: 400;
    line-height: 0.37rem;
    letter-spacing: 0.01rem;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.join-slide .prev,
.join-slide .next {
    display: none;
}

.join-btn img{
    width: 2.99rem;
    height: 0.82rem;
    margin: 0.2rem auto 0;
}

.message-box {
    width: 6.95rem;
    height: 3.53rem;
    background: url(../image/wap/message-box.png) no-repeat; 
    background-size: 100% 100%;
    margin: 0.2rem auto 0;
    position: relative;
    display: flow-root;
}

.message-content{
    width: 6.65rem;
    height: 2.4rem;
    overflow: hidden;
    margin: 0.2rem auto 0;
    position: relative;
}

.notice-slide .notice-empty {
    text-align: center;
    color: #999;
    line-height: 40px; /* 根据你容器高度调整 */
    list-style: none;
}

.message-content .bd,
.message-content .tempWrap {
    width: 100% !important;
    height: 2.4rem !important;
    overflow: hidden;
}

.message-content .bd {
    touch-action: pan-y;
    overscroll-behavior: auto;
}

.message-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.message-content li {
    width: 98%;
    height: 0.6rem;
    line-height: 0.6rem;
    color: #fff;
    font-size: 0.25rem;
    padding: 0 0.05rem;
    box-sizing: border-box;
    border-bottom: 1px solid #4f4f4f;
    letter-spacing: 0.01rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.message-content li.is-self {
    color: #ff4545;
    font-weight: 700;
}

.message-scrollbar {
    width: 0.06rem;
    height: 2.28rem;
    position: absolute;
    top: 0.06rem;
    right: 0.01rem;
    z-index: 2;
    border-radius: 0.03rem;
    background: rgba(255, 255, 255, 0.16);
    cursor: pointer;
    touch-action: none;
}

.message-scrollbar.is-hidden {
    display: none;
}

.message-scrollbar-thumb {
    width: 100%;
    min-height: 0.36rem;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: inherit;
    background: #b8aaa3;
    box-shadow: 0 0 0.03rem rgba(0, 0, 0, 0.7);
}

.message-scrollbar:focus-visible {
    outline: 1px solid #fff17a;
    outline-offset: 0.02rem;
}

.message-content .prev,
.message-content .next {
    display: none;
}

.message-form {
    width: 6.1rem;
    height: 0.57rem;
    margin: 0.12rem auto 0;
    display: flex;
    align-items: center;
    gap: 0.14rem;
}

.message-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    box-sizing: border-box;
    padding: 0 0.12rem;
    border: 0;
    border-radius: 0.03rem;
    background: #fff;
    color: #241711;
    font-size: 0.25rem;
    caret-color: #241711;
}

.message-submit {
    width: 1.59rem;
    height: 0.57rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.message-submit.is-disabled {
    opacity: 0.65;
    pointer-events: none;
}

.message-toast {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 100000;
    max-width: 6.2rem;
    padding: 0.18rem 0.28rem;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.86);
    color: #fff;
    font-size: 0.26rem;
    line-height: 1.5;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
}

.message-toast.is-visible {
    opacity: 1;
}

.invite-friend-btn {
    width: 3.23rem;
    height: 0.75rem;
    margin: 1.2rem 0 0 3.8rem;
}

.rule-btn {
    width: 1.31rem;
    height: 0.36rem;
    margin: 0.8rem auto 0;
}

.section4{
    width: 100%;
    height: 14.02rem;
    position: relative;
    overflow: hidden;
    background: url(../image/wap/section4-bg.gif) no-repeat;
    background-size: 100% 100%;
}

.position-achieve{
    width: 1.22rem;
    height: 1.27rem;
    position: absolute;
    left: 0.05rem;
}

.num100{
    top: 3.5rem;
}

.num80{
    top: 5.7rem;
}

.num50{
    top: 7.8rem;
}

.num30{
    top: 9.8rem;
}

.num10{
    top: 11.7rem;
}

.section5{
    position: relative;
    height: 11.52rem;
    overflow: hidden;
}

.role-detail{
    width: 100%;
    height: 11.52rem;
    display: none;
}

.role-detail.block{
    display: block;
}

.role-line{
    position: absolute;
    inset: 0;
    background: url(../image/wap/role-line.png) no-repeat 0.6rem 4.17rem / 5.23rem 5.67rem;
}

.role-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.95rem;
    height: 0.98rem;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.role-icon img {
    width: 0.75rem;
    height: 0.77rem;
}

.role-icon.is-active img {
    width: 0.95rem;
    height: 0.98rem;
}

.role-icon[data-index="0"] {
    left: 1.06rem;
    top: 4.45rem;
}

.role-icon[data-index="1"] {
    left: 0.43rem;
    top: 5.34rem;
}

.role-icon[data-index="2"] {
    left: 0.22rem;
    top: 6.5rem;
}

.role-icon[data-index="3"] {
    left: 0.43rem;
    top: 7.61rem;
}

.role-icon[data-index="4"] {
    left: 1.06rem;
    top: 8.51rem;
}

.section6{
    width: 100%;
    height: 12.7rem;
    background: url(../image/wap/section6-bg.png) no-repeat;
    background-size: 100% 100%;
    position: relative;
    overflow: hidden;
}

.out-swiper{
    width: 100%;
    margin: 2.3rem auto 0;
}

.out-swiper > .swiper-container {
    height: 4.12rem;
}

.out-swiper .swiper-slide img{  
    width: 6.91rem;
    height: 4.12rem;
    margin: 0 auto;
}

.swiper-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 5.3rem;
    height: 0.54rem;
    margin: 0.22rem auto 0;
}

.section6 .icon-prev,
.section6 .icon-next {
    flex: 0 0 0.6rem;
    width: 0.6rem;
    height: 0.54rem;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.section6 .icon-prev img {
    transform: rotate(180deg);
}

.drop-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 0.54rem;
}

.drop-img.swiper-pagination-bullet {
    flex: 0 0 0.45rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 0;
    opacity: 1;
    background: transparent url(../image/wap/no-check.png) no-repeat center center;
    background-size: contain;
    outline: none;
    margin: 0 0.06rem;
}

.drop-img.swiper-pagination-bullet-active {
    flex-basis: 0.52rem;
    width: 0.52rem;
    height: 0.54rem;
    background: transparent url(../image/wap/checked.png) no-repeat center center;
    background-size: contain;
    margin: 0 0.025rem;
}

.other-btn{
    margin: 0.5rem 0 0.3rem 0;
}

.other-btn img{
    width: 1.88rem;
    height: 0.64rem;
    margin: 0 0.4rem;
}

.fot{
    width: 100%;
    overflow: hidden;
    max-width: 750px;
    margin: 0 auto;
    position: fixed;
    bottom: 0;
    z-index: 99;
    box-sizing: content-box;
}

.fot.is-footer-docked {
    position: relative;
    bottom: auto;
}

.fot-bg1{
    height: 2.61rem;
    background: url(../image/wap/fc-bot1.png) no-repeat;
    background-size: 100% 100%;
}

.fot-bg2{
    height: 3.35rem;
    background: url(../image/wap/fc-bot2.png) no-repeat;
    background-size: 100% 100%;
}

.fot1-store{
    width: 3.18rem;
    height: 0.92rem;
    margin: 1.45rem 0 0 4.05rem;
}

.fot2-store{
    width: 3.2rem;
    height: 0.93rem;
    margin: 2.2rem 0 0 4.05rem;
}

.footer{
    width: 7.49rem;
    height: 2.8rem;
    position: relative;
    bottom: 0;
    left: 0;
    background: url(../image/wap/footer-bg.png) no-repeat;
    background-size: 100% 100%;
    overflow: hidden;
}

.footer-bg{
    width: 100%;
    height: 1.4rem;
    background-color: transparent;
}

.rule-text{
    margin: 2rem auto; 
    color: #fff;
}

.fwtk,.yszc{
    display: inline-block;
    width: 1.07rem;
    height: 0.29rem;
    margin: 0 0.3rem;
}

.fwtk{
    background: url(../image/wap/fwtk-text.png) no-repeat center center;
    background-size: 100% 100%;
}

.yszc{
    background: url(../image/wap/yszc-text.png) no-repeat center center;
    background-size: 100% 100%;
}

/* 弹框 */
.close-btn{
    width: 0.33rem;
    height: 0.33rem;
    position: absolute;
}

.delayed-close-popup > .close-btn {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.delayed-close-popup > .close-btn.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.phone-popup-1{
    width: 7.5rem;
    height: 12.92rem;
    background: url(../image/wap/phone-popup-1.png) no-repeat center center;
    background-size: 100% 100%;
    position: relative;
}

.phone-popup-2{
    width: 7.5rem;
    height: 11.18rem;
    background: url(../image/wap/phone-popup-2.png) no-repeat center center;
    background-size: 100% 100%;
    position: relative;
}

.popup-phone-2-prize,.popup-phone-3-prize{
    width: 6.7rem;
    height: 2.48rem;
    position: absolute;
    top: 1.38rem;
    left: 0.6rem;
}

.phone-popup-2-title,.phone-popup-3-title{
    width: 6.88rem;
    height: 3.71rem;
    position: absolute;
    top: 7.55rem;
    left: 0rem;
}

.phone-popup-3{
    width: 7.5rem;
    height: 11.18rem;
    background: url(../image/wap/phone-popup-3.png) no-repeat center center;
    background-size: 100% 100%;
    position: relative;
}

.countdown-time{
    width: fit-content;
    height: 0.38rem;
    line-height: 0.38rem;
    font-size: 0.26rem;
    color: #eb3327;
}

.select-popup-info {
    width: 6.73rem;
    height: 0.97rem;
    position: absolute;
    top: 10.1rem;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    padding: 0 0.23rem;
    background: url(../image/wap/select-popup-info.png) no-repeat center / 100% 100%;
}

.select-popup-info::after {
    content: "";
    width: 1px;
    height: 0.49rem;
    background: #caccc7;
    position: absolute;
    left: 2.08rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.select-popup-info select {
    outline: none;
    padding: 0.15rem 0.34rem 0 0.08rem;
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
    color: #772e0b;
    width: 1.85rem;
    height: 0.75rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url(../image/wap/select-icon.png) no-repeat calc(100% - 0.12rem) calc(50% + 0.08rem) / 0.24rem 0.17rem;
    font-weight: 400;
    font-size: 0.30rem;
    cursor: pointer;
}

.select-popup-info input {
    outline: none;
    padding: 0.15rem 0.08rem 0 0.38rem;
    min-width: 0;
    flex: 1;
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
    height: 0.75rem;
    font-weight: 400;
    font-size: 0.30rem;
    background: transparent;
    caret-color: #000;
}

.select-popup-info input::placeholder {
    color: #b19587;
    opacity: 1;
}

.popup-phone-1-btn {
    width: 4.23rem;
    height: 1.31rem;
    position: absolute;
    top: 11.3rem;
    left: 50%;
    transform: translateX(-50%);
}

.popup-phone-1-prize{
    width: 7.5rem;
    height: 3.27rem;
    position: absolute;
    top: 12.8rem;
    left: 50%;
    transform: translateX(-50%);
}

.first-complete-popup{
    width: 7.33rem;
    height: 3.69rem;
    background: url(../image/wap/first-complete-popup.png) no-repeat center center;
    background-size: 100% 100%;
    position: relative;
}

.first-complete-popup-prize{
    width: 7.33rem;
    height: 3.69rem;
    margin: 2.8rem auto 0;
}

.popup-store-btn{
    width: 4.36rem;
    height: 1.68rem;
    margin: 0 auto;
}

.complete-popup{
    width: 7.33rem;
    height: 3.69rem;
    background: url(../image/wap/first-complete-popup.png) no-repeat center center;
    background-size: 100% 100%;
    position: relative;
}

.complete-popup-prize{
    width: 7.5rem;
    height: 3.27rem;
    margin: 3rem auto 0;
}

.not-first-complete-popup{
    width: 7.19rem;
    height: 3.72rem;
    background: url(../image/wap/not-first-complete-popup.png) no-repeat center center;
    background-size: 100% 100%;
    position: relative;
}

.not-first-complete-popup-prize{
    width: 7.5rem;
    height: 3.27rem;
    margin: 3rem auto 0.3rem;
}

.popup-reward-selectable {
    position: relative;
}

.popup-phone-1-prize.popup-reward-selectable {
    position: absolute;
}

.popup-reward-selectable > img {
    pointer-events: none;
}

.popup-reward-options {
    width: 100%;
    aspect-ratio: 750 / 327;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: absolute;
    top: 0;
    left: 0;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.popup-reward-options::after {
    content: "";
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #6f501c 12%, #d9a839 50%, #6f501c 88%, transparent);
    position: absolute;
    bottom: 0.3rem;
    left: 0;
    pointer-events: none;
}

.popup-reward-option {
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: none;
    appearance: none;
    background: transparent;
    position: relative;
    z-index: 1;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.popup-reward-option::after {
    content: "";
    width: 0.38rem;
    height: 0.38rem;
    box-sizing: border-box;
    border: 0.03rem solid #a77a27;
    border-radius: 0.03rem;
    background: rgba(19, 8, 3, 0.92);
    position: absolute;
    bottom: 0.11rem;
    left: 50%;
    transform: translateX(-50%);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.popup-reward-option::before {
    content: "";
    width: 0.1rem;
    height: 0.2rem;
    border-right: 0.05rem solid #ffe16a;
    border-bottom: 0.05rem solid #ffe16a;
    position: absolute;
    bottom: 0.21rem;
    left: 50%;
    z-index: 2;
    opacity: 0;
    transform: translateX(-50%) rotate(45deg);
    transition: opacity 0.15s ease;
}

.popup-reward-option.is-selected::after {
    border-color: #ffe16a;
    box-shadow: 0 0 0.08rem rgba(255, 209, 65, 0.8);
}

.popup-reward-option.is-selected::before {
    opacity: 1;
}

.popup-reward-option:focus-visible::after {
    outline: 0.03rem solid #fff2ae;
    outline-offset: 0.04rem;
}

.store-success{
    width: 7.5rem;
    height: 8.44rem;
    background: url(../image/wap/store-success.png) no-repeat;
    background-size: 100% 100%;
    position: relative;
}

.store-success-btn{
    width: 4.82rem;
    height: 2.41rem;
    margin: 7.5rem auto 0;
}

.fb-success{
    width: 7.43rem;
    height: 8.83rem;
    background: url(../image/wap/fb-success.png) no-repeat;
    background-size: 100% 100%;
    position: relative;
}

.fb-success-btn{
    width: 4.96rem;
    height: 2.56rem;
    margin: 8.3rem auto 0;
}

.select-join-dominion-popup{
    width: 7.5rem;
    height: 8.05rem;
    background: url(../image/wap/select-join-dominion-popup.png) no-repeat;
    background-size: 100% 100%;
    position: relative;
}

.popup-join-btn{
    width: 4.6rem;
    height: 1.56rem;
}

.select-join-rebel-popup{
    width: 7.5rem;
    height: 7.65rem;
    background: url(../image/wap/select-join-rebel-popup.png) no-repeat;
    background-size: 100% 100%;
    position: relative;
}

.join-dominion-success-popup{
    width: 7.5rem;
    height: 7.5rem;
    background: url(../image/wap/join-dominion-success-popup.png) no-repeat;
    background-size: 100% 100%;
    position: relative;
}

.code-text{
    text-align: center;
    color: #fff;
    margin-top: 1.3rem;
    font-size: 0.22rem;
}

.invite-btn{
    width: 4.6rem;
    height: 1.56rem;
    margin: 5rem auto 0;
}

.join-rebel-success-popup{
    width: 7.5rem;
    height: 7.5rem;
    background: url(../image/wap/join-rebel-success-popup.png) no-repeat;
    background-size: 100% 100%;
    position: relative;
}

.copy-share-popup {
    width: 6.51rem;
    height: 3.43rem;
    box-sizing: border-box;
    overflow: hidden;
    background: url(../image/wap/copy-share-popup.png) no-repeat center / 100% 100%;
    position: relative;
}

.copy-share-text {
    width: 3.58rem;
    height: 0.3rem;
    position: absolute;
    top: 0.59rem;
    left: 50%;
    transform: translateX(-50%);
}

.copy-link {
    width: calc(100% - 0.8rem);
    margin: 0;
    margin: 1.43rem 0 0 0.4rem;
    color: #fff;
    font-size: 0.28rem;
    font-weight: 400;
    line-height: 0.38rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.copy-share-btn {
    width: 2.07rem;
    height: 0.57rem;
    margin: 0.5rem auto 0;
    cursor: pointer;
}

.activity-rules-popup,
.activity-details-popup {
    width: 6.51rem;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    color: #fff;
    background: url(../image/wap/activity-popup.png) no-repeat center / 100% 100%;
}

.activity-rules-popup {
    height: 6.96rem;
}

.activity-details-popup {
    height: 13.43rem;
}

.activity-popup-title {
    margin: 0.25rem auto;
    color: #fff17a;
    font-size: 0.35rem;
    font-weight: 700;
    line-height: 0.42rem;
    text-align: center;
    text-shadow: 0 0 0.04rem rgba(255, 209, 43, 0.65);
}

.activity-popup-content {
    width: 90%;
    margin: 0 auto;
    box-sizing: border-box;
    overflow-y: auto;
    color: #fff;
    font-size: 0.24rem;
    font-weight: 400;
    scrollbar-width: none;
}

.my-rewards {
    width: 6.51rem;
    height: 6.22rem;
    box-sizing: border-box;
    overflow: hidden;
    background: url(../image/wap/my-rewards.png) no-repeat center / 100% 100%;
    position: relative;
}

.my-rewards > .close-btn {
    top: 0.18rem;
    right: 0.20rem;
    z-index: 2;
    cursor: pointer;
}

.my-rewards-table {
    width: 5.98rem;
    height: 5.18rem;
    margin: 0;
    position: absolute;
    top: 0.55rem;
    left: 0.27rem;
    overflow: hidden;
}

.my-rewards-table table {
    width: 100%;
    border: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

.my-rewards-table thead {
    width: 5.79rem;
    display: block;
}

.my-rewards-table thead tr,
.my-rewards-table tbody tr {
    width: 5.79rem;
    display: table;
    table-layout: fixed;
}

.my-rewards-table thead tr {
    height: 0.53rem;
}

.my-rewards-table tbody {
    width: 5.98rem;
    height: 4.65rem;
    display: block;
    overflow-x: hidden;
    overflow-y: scroll;
    overscroll-behavior: contain;
    scrollbar-color: #f5f1e9 #050302;
    scrollbar-width: thin;
}

.my-rewards-table tbody::-webkit-scrollbar {
    width: 0.05rem;
}

.my-rewards-table tbody::-webkit-scrollbar-track {
    background: #050302;
    border-radius: 0.03rem;
}

.my-rewards-table tbody::-webkit-scrollbar-thumb {
    background: #f5f1e9;
    border-radius: 0.03rem;
}

.my-rewards-table th,
.my-rewards-table td {
    padding: 0.04rem;
    box-sizing: border-box;
    border: 0;
    border-bottom: 1px solid rgba(137, 116, 106, 0.48);
    color: #fff;
    font-size: 0.23rem;
    font-weight: 400;
    line-height: 0.28rem;
    text-align: center;
    vertical-align: middle;
}

.my-rewards-table th {
    color: #fff17a;
    font-size: 0.24rem;
    font-weight: 700;
    line-height: 0.3rem;
}

.my-rewards-table tbody tr {
    height: 0.75rem;
}

.my-rewards-table th:nth-child(1),
.my-rewards-table td:nth-child(1) {
    width: 1.2rem;
}

.my-rewards-table th:nth-child(2),
.my-rewards-table td:nth-child(2) {
    width: 1.85rem;
}

.my-rewards-table td:nth-child(2) {
    padding-left: 0.08rem;
    text-align: left;
}

.my-rewards-table th:nth-child(3),
.my-rewards-table td:nth-child(3) {
    width: 1.55rem;
}

.my-rewards-table th:nth-child(4),
.my-rewards-table td:nth-child(4) {
    width: 1.19rem;
}

.my-rewards-table td:last-child {
    padding-right: 0;
    padding-left: 0.05rem;
}

/* 手机端固定缩放比例，避免 Chrome 与 Safari 因工具栏高度不同而显示大小不一致。 */
@media screen and (max-width: 750px) {
    .phone-popup-1 {
        transform: translateY(-50%) scale(0.92);
        transform-origin: center center;
    }
}

/* PC 端将预约弹框整体等比缩小。 */
@media screen and (min-width: 751px) {
    .phone-popup-1,
    .phone-popup-2,
    .phone-popup-3 {
        transform: scale(0.55) translateY(-50%);
        transform-origin: top center;
    }

    .first-complete-popup,
    .complete-popup,
    .not-first-complete-popup,
    .store-success {
        transform: scale(0.7) translateY(-50%);
        transform-origin: top center;
    }
}

/* 较矮的 PC 视口继续收缩，避免弹框上下内容超出屏幕。 */
@media screen and (min-width: 751px) and (max-height: 800px) {
    .phone-popup-1,
    .phone-popup-2,
    .phone-popup-3 {
        transform: scale(0.42) translateY(-50%);
    }

    .first-complete-popup,
    .complete-popup,
    .not-first-complete-popup,
    .store-success {
        transform: scale(0.62) translateY(-50%);
    }
}
