.public_pay_popup {
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    box-sizing: border-box;
    overflow-y: auto;
    padding: 24px 18px;
    background: rgba(15, 23, 42, .68);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.public_pp_box {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 390px;
    margin: max(5vh, 24px) auto;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 65px rgba(15, 23, 42, .28);
    color: #1f2937;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.public_pp_head {
    padding: 28px 42px 17px;
    background: linear-gradient(135deg, #eef6ff 0%, #f8fbff 100%);
}

.public_pp_badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 99px;
    background: #dbeafe;
    color: #2563eb;
    font-size: 12px !important;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .4px;
}

.public_pp_tit {
    margin: 10px 0 5px;
    padding: 0;
    color: #172033;
    font-size: 20px !important;
    font-weight: 700;
    line-height: 1.35;
}

.public_pp_subtitle {
    margin: 0;
    color: #718096;
    font-size: 13px;
    line-height: 1.5;
}

.public_pp_close {
    position: absolute;
    z-index: 2;
    top: 12px !important;
    right: 12px !important;
    box-sizing: border-box;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .78);
    color: #64748b;
    cursor: pointer;
    font-size: 26px !important;
    font-weight: 300;
    line-height: 28px;
}

.public_pp_close:active { background: #e2e8f0; }

.public_pp_price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    padding: 17px 20px 14px;
}

.public_pp_price > span {
    color: #64748b;
    font-size: 14px !important;
}

.public_pp_price strong {
    color: #ef4444;
    font-size: 30px !important;
    font-weight: 700;
    line-height: 1;
}

.public_pp_price strong i {
    margin-right: 2px;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
}

.public_pp_divider {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 26px;
    color: #94a3b8;
    font-size: 12px;
}

.public_pp_divider:before,
.public_pp_divider:after {
    height: 1px;
    flex: 1;
    background: #edf1f5;
    content: "";
}

.public_pay_box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 24px 14px;
}

.public_pay_box a {
    position: relative;
    display: flex;
    box-sizing: border-box;
    width: 100% !important;
    min-height: 50px;
    margin: 0 !important;
    padding: 0 16px 0 56px;
    border: 1px solid transparent;
    border-radius: 12px !important;
    background-image: none !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600;
    line-height: 50px;
    text-align: left;
    text-indent: 0;
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.public_pay_box a:after {
    position: absolute;
    right: 17px;
    color: rgba(255,255,255,.75);
    content: "›";
    font-size: 24px;
    font-weight: 300;
}

.public_pay_box a:before {
    position: absolute;
    top: 50%;
    left: 17px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(255,255,255,.22);
    color: #fff;
    content: "¥";
    font-size: 16px;
    font-weight: 700;
    line-height: 25px;
    text-align: center;
    transform: translateY(-50%);
}

.public_pay_box a:active {
    filter: brightness(.94);
    transform: scale(.985);
}

#publicPayPopup .public_pay_box .pay_wx { background-color: #20b962 !important; background-image: linear-gradient(135deg, #20b962, #31cf75) !important; border-color: #20b962 !important; box-shadow: 0 8px 16px rgba(32,185,98,.2); }
#publicPayPopup .public_pay_box .pay_zfb { background-color: #1677ff !important; background-image: linear-gradient(135deg, #1677ff, #3a9cff) !important; border-color: #1677ff !important; box-shadow: 0 8px 16px rgba(22,119,255,.2); }
#publicPayPopup .public_pay_box .pay_paypal { background-color: #113984 !important; background-image: linear-gradient(135deg, #113984, #1f5eb6) !important; border-color: #113984 !important; box-shadow: 0 8px 16px rgba(17,57,132,.2); }
#publicPayPopup .public_pay_box .jifen { background-color: #f59e0b !important; background-image: linear-gradient(135deg, #f59e0b, #f7b733) !important; border-color: #f59e0b !important; box-shadow: 0 8px 16px rgba(245,158,11,.2); }
#publicPayPopup .public_pay_box .vip { background-color: #30343b !important; background-image: linear-gradient(135deg, #30343b, #111827) !important; border-color: #30343b !important; box-shadow: 0 8px 16px rgba(17,24,39,.2); }
#publicPayPopup .public_pay_box .stripe { background-color: #635bff !important; background-image: linear-gradient(135deg, #635bff, #857cff) !important; border-color: #635bff !important; box-shadow: 0 8px 16px rgba(99,91,255,.2); }

.public_pay_tip {
    margin: 0 20px 20px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f8fafc;
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
    text-align: left;
}

.public_pay_tip i {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 4px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    font-size: 10px;
    font-style: normal;
    line-height: 15px;
    text-align: center;
}

@media (max-width: 360px) {
    .public_pay_popup { padding: 16px 12px; }
    .public_pp_box { margin-top: 16px; }
    .public_pp_head { padding-top: 24px; }
    .public_pay_box { padding-right: 18px; padding-left: 18px; }
}

