/* ==========================================
   活动顶部横幅 (Header Ad Banner) 专属样式
   ========================================== */

@font-face {
    font-family: 'AaHouDiHei';
    src: url('/static/cn/fonts/AaHouDiHei-2.ttf');
    font-weight: normal;
    font-style: normal;
}

.adbanner-header {
    width: 100%;
    height: 50px;
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1010;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* 背景图层适配控制 */
.adbanner-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('/static/cn/images/activity/adbanner_bg.webp') no-repeat center center;
    background-size: cover;
}

/* 内容布局包裹层 */
.adbanner-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
}

/* 文本条目区域（整块可点，跳登录/用户中心） */
.adbanner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* 活动大标题 / 标识 */
.adbanner-img {
    width: 130px;
    height: 43px;
    background: url('/static/cn/images/activity/adbanner_img.png') no-repeat;
    background-size: 100% 100%;
    flex-shrink: 0;
}

/* 分隔竖线 */
.adbanner-sep {
    display: inline-block;
    width: 1px;
    height: 31px;
    background: linear-gradient(180deg, #fcf7f2 3.13%, #ffc186 51.56%, #fcf7f2 100%);
    flex-shrink: 0;
}

/* 活动条目 */
.adbanner-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;

    font-family: OPPO;
    font-weight: 500;
    font-size: 19px;
    line-height: 22px;
    color: #191919;
}

/* 突出高亮文字 (数字/折扣/赠送) */
.adbanner-item .highlight {
    font-family: 'AaHouDiHei';
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    margin-left: 4px;
    display: inline-block;

    background: linear-gradient(180deg, #ea5437 0%, #d02f15 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;

    -webkit-text-stroke: 1px #ffe09e;
    filter: drop-shadow(0 0 1px #ffe09e);
}

/* 关闭按钮 */
.adbanner-close {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);

    width: 26px;
    height: 26px;
    background: url('/static/cn/images/activity/adbanner_close.webp') no-repeat;
    background-size: 100% 100%;
    cursor: pointer;
    border: none;
}

/* ==========================================
   响应式屏幕适配 (Media Queries)
   ========================================== */

@media (max-width: 991px) {
    .adbanner-content {
        gap: 8px;
    }

    .adbanner-item {
        font-size: 20px;
    }

    .adbanner-close {
        right: 12px;
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 800px) {
    .adbanner-content {
        gap: 8px;
    }
    .adbanner-item {
        font-size: 17px;
    }
    .adbanner-item .highlight {
        font-size: 20px;
    }
}

@media (max-width: 700px) {
    .adbanner-content {
        gap: 6px;
    }
    .adbanner-img {
        width: 90px;
        height: 30px;
    }

    .adbanner-item {
        font-size: 16px;
    }

    .adbanner-item .highlight {
        font-size: 19px;
    }
}

@media (max-width: 600px) {
    .adbanner-header {
        display: none !important;
    }
}

/* ==========================================
   活动弹窗 (Activity Popup Modal) 基础样式
   ========================================== */

#adpopup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 11000;
}

#adpopup-content {
    position: relative;
    width: 583px;
    height: 699px;
    min-width: 583px;
    min-height: 699px;
    background: url('/static/cn/images/activity/adpopup_bg.webp') no-repeat;
    background-size: 100% 100%;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    flex-shrink: 0;
}

/* 弹窗内容容器定位 */
.adpopup-body {
    position: absolute;
    top: 235px;
    left: 57px;
    width: 440px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 顶部小副标题 "◇ 买的越多，赠的越多 ◇" */
.adpopup-sub-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 10px;
}

.adpopup-sub-header::before,
.adpopup-sub-header::after {
    content: '';
    position: absolute;
    width: 49px;
    height: 1px;
}

.adpopup-sub-header::before {
    left: -49px;
    background: linear-gradient(90deg, #fcf5e3 0%, #fa9534 100%);
}

.adpopup-sub-header::after {
    right: -49px;
    background: linear-gradient(90deg, #fa9534 0%, #fcf3db 100%);
}

.adpopup-diamond {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    transform: rotate(-45deg);
    background: linear-gradient(225deg, #ffdb9d 0%, #fcf1de 100%);
    border: 1px solid #fa9534;
}

.adpopup-sub-title {
    font-family: OPPO;
    font-weight: 500;
    font-size: 20px;
    line-height: 23px;
    color: #914321;
}

/* Hero 核心标题 */
.adpopup-hero {
    width: 100%;
    margin-top: 14px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.adpopup-hero-text {
    display: flex;
    flex-direction: column;

    font-family: OPPO;
    font-weight: 600;
    font-size: 34px;
    line-height: 40px;
    color: #191919;
}

.adpopup-hero-badge {
    font-family: 'AaHouDiHei';
    font-weight: 400;
    font-size: 82px;
    line-height: 103px;
    display: inline-block;

    background: linear-gradient(180deg, #ea5437 0%, #d02f15 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;

    -webkit-text-stroke: 2px #ffe09e;
    filter: drop-shadow(0px 4px 0px #b12f1a);
}

/* 三列福利卡片 */
.adpopup-cards {
    width: 100%;
    min-height: 160px;
    margin-top: 10px;

    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
}

.adpopup-card {
    flex: 1;
    border-radius: 10px;
    background: #fffbf0;
    border: 1px solid #ffd370;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    box-sizing: border-box;
}

.card-title {
    font-family: OPPO;
    font-weight: 500;
    font-size: 18px;
    line-height: 21px;
    color: #191919;
    white-space: nowrap;
}

.card-divider {
    width: 30px;
    border-top: 1px solid #ffd370;
}

.card-desc {
    font-family: OPPO;
    font-weight: 500;
    font-size: 18px;
    line-height: 21px;
    color: #914321;

    white-space: nowrap;
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.card-highlight {
    font-family: 'AaHouDiHei';
    font-weight: 400;
    font-size: 40px;
    line-height: 50px;
    display: inline-block;

    background: linear-gradient(180deg, #ea5437 0%, #d02f15 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;

    -webkit-text-stroke: 1px #ffe09e;
    filter: drop-shadow(0px 1px 0px #b12f1a);
}

/* 活动提示横条 */
.adpopup-tip-bar {
    margin-top: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 9px 30px;
    background: linear-gradient(180deg, #fff5e2 0%, #ffe5b7 100%);
    border: 1px solid #ffa892;
    border-radius: 70px;
}

.gift-icon {
    width: 22px;
}

.tip-text {
    font-family: OPPO;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #fa6422;
}

/* 立刻抢购按钮 */
.adpopup-buy-btn {
    margin-top: 34px;
    width: 304px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

/* 背景2：在下面（底层，Offset向下） */
.adpopup-buy-btn::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/static/cn/images/activity/adpopup_btn_bg2.webp') no-repeat center center;
    background-size: 100% 100%;
    z-index: 1;
}

/* 背景1：在上面（顶层按钮图案） */
.adpopup-buy-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/static/cn/images/activity/adpopup_btn_bg1.webp') no-repeat center center;
    background-size: 100% 100%;
    z-index: 2;
}

/* 文字在最上层 (z-index: 3) 居中正常显示 */
.adpopup-buy-btn .btn-text,
.adpopup-btn {
    position: relative;
    z-index: 3;
    font-family: AaHouDiHei, 'OPPO', sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 38px;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.adpopup-close {
    position: absolute;
    bottom: -70px;
    left: 47%;
    transform: translateX(-50%);

    width: 38px;
    height: 38px;
    cursor: pointer;
    background: url('/static/cn/images/activity/adpopup_close.webp') no-repeat center center;
    background-size: 100% 100%;
    transition: transform 0.2s ease;
}

/* 618 活动弹窗等比例缩放与小屏适配 */
@media (max-width: 680px), (max-height: 820px) {
    #adpopup-content {
        transform: scale(0.9);
        transform-origin: center center;
    }
}
@media (max-width: 600px), (max-height: 740px) {
    #adpopup-content {
        transform: scale(0.8);
        transform-origin: center center;
    }
}
@media (max-width: 530px), (max-height: 660px) {
    #adpopup-content {
        transform: scale(0.7);
        transform-origin: center center;
    }
}
@media (max-width: 460px), (max-height: 580px) {
    #adpopup-content {
        transform: scale(0.6);
        transform-origin: center center;
    }
}
@media (max-width: 400px), (max-height: 500px) {
    #adpopup-content {
        transform: scale(0.52);
        transform-origin: center center;
    }
}
@media (max-width: 350px) {
    #adpopup-content {
        transform: scale(0.45);
        transform-origin: center center;
    }
}

/* 移动端/矮屏关闭按钮定位优化，防止被内容高度挤出屏幕 */
@media (max-width: 768px), (max-height: 820px) {
    #adpopup-close-btn {
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0;
        z-index: 12000;
        transition: transform 0.2s ease;
    }
    #adpopup-close-btn:hover {
        transform: translateX(-50%) scale(1.15);
    }
}

/* ==========================================
   活动顶部跑马灯广告栏 专属样式
   ========================================== */

.header_marquee_wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    min-width: 410px;
    width: auto;
    height: 54px;
    margin-left: 50px;
    padding: 0 20px;
    background: url('/static/cn/images/activity/marquee_bg.webp') no-repeat;
    background-size: 100% 100%;
    cursor: pointer;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.header_marquee_wrapper .marquee_arrow {
    width: 18px;
    height: 18px;
    margin-bottom: 10px;
    background: url('/static/cn/images/activity/marquee_arrow.webp') no-repeat;
    background-size: 100% 100%;
}

.header_marquee_wrapper .marquee_arrow.next {
    transform: scaleX(-1);
}

.header_marquee_wrapper .marquee_container {
    flex: 1;
    height: 100%;
    overflow: hidden;
    position: relative;
    margin: 0 6px;
}

.header_marquee_wrapper .el-carousel {
    width: 100%;
    height: 100%;
}

.header_marquee_wrapper .marquee_slide {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    white-space: nowrap;
    will-change: transform, opacity;
    transform: translateZ(0);
    padding-bottom: 9px;
}

.header_marquee_wrapper .marquee_slide .title {
    font-family: 'OPPO Sans 4.0';
    font-weight: 500;
    font-size: 15px;
    line-height: 18px;
    color: #191919;
}

.header_marquee_wrapper .marquee_slide .hr {
    width: 1px;
    min-width: 1px;
    height: 14px;
    background: #914322;
    flex-shrink: 0;
    display: inline-block;
    margin-bottom: 2px;
}

.header_marquee_wrapper .marquee_slide .text_box {
    display: flex;
    align-items: flex-end;
}

.marquee_slide .text_box .desc {
    font-family: 'OPPO Sans 4.0';
    font-weight: 600;
    font-size: 15px;
    line-height: 18px;
    color: #914322;
}

.marquee_slide .text_box .highlight {
    display: inline-flex;
    align-items: flex-end;
    font-family: 'OPPO Sans 4.0';
    font-weight: 500;
    font-size: 15px;
    line-height: 18px;
    color: #191919;
}

.marquee_slide .text_box .highlight span {
    font-family: 'AaHouDiHei';
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
    margin: 0 6px;
    display: inline-block;

    background: linear-gradient(180deg, #ea5437 0%, #d02f15 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;

    -webkit-text-stroke: 1px #ffe09e;
    filter: drop-shadow(0px 1px 0px #b12f1a);
}

/* ==========================================
   左侧目录 专属样式
   ========================================== */
.left_menu_box .menu_main .menu_vertical_demo.el-menu .el-menu-item .menu_title_wrap {
    display: flex;
    align-items: center;
    flex: 1;
}

.left_menu_box .menu_main .menu_vertical_demo.el-menu .el-menu-item .menu_label {
    width: 58px;
    height: 32px;
    padding-bottom: 2px;
    margin-bottom: 7px;
    margin-left: auto;

    display: flex;
    align-items: flex-end;
    justify-content: center;
    box-sizing: border-box;

    font-family: 'OPPO Sans 4.0';
    font-weight: 600;
    font-size: 10px;
    line-height: 20px;
    background: linear-gradient(180deg, #ea5437 0%, #d02f15 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    position: relative;
}

.left_menu_box .menu_main .menu_vertical_demo.el-menu .el-menu-item .menu_label::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/static/cn/images/activity/menu_label.png') no-repeat;
    background-size: 100% 100%;
}

/* ==========================================
   概览-代理产品 专属样式
   ========================================== */
.product_intro_item .buy_jump .activity_tag {
    position: absolute;
    top: 0;
    right: 0;

    width: 72px;
    height: 26px;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 12px;
    background: linear-gradient(270deg, #ffe5b7 0%, #fff5e2 100%);
    border: 1px solid #ffa892;
    display: flex;
    align-items: center;
    justify-content: center;

    font-family: 'OPPO Sans 4.0';
    font-weight: 400;
    font-size: 13px;
    line-height: 15px;
    color: #ea5437;
}

/* ==========================================
   信息页面 专属样式
   ========================================== */

.proxy_price_box.is_activity {
    gap: 8px;
}

.is_activity .price_activity {
    width: auto;
    padding: 0 18px 0 14px;
    position: relative;

    font-family: 'OPPO Sans 4.0';
    font-weight: 400;
    font-size: 13px;
    line-height: 15px;
    color: #191919;
}

.is_activity .price_activity::before {
    content: '';
    width: 100%;
    height: 38px;
    background: url('/static/cn/images/activity/price_activity2.svg') no-repeat;
    background-size: 100% 100%;

    position: absolute;
    top: -17px;
    left: 0;
    z-index: -1;
}

.is_activity .price_activity.bg1::before {
    background: url('/static/cn/images/activity/price_activity.svg') no-repeat;
}

.is_activity .price_activity span {
    font-weight: 600;
    color: #d02f15;
}

/* ==========================================
   动态价格 专属样式
   ========================================== */
.activity_card .activity_badge {
    width: 70px;
    height: 26px;
    border-top-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background: linear-gradient(180deg, #fff5e2 0%, #ffe5b7 100%);
    border: 1px solid #ffa892;

    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.activity_card .activity_badge.unlimited {
    width: 52px;
}

.activity_card .activity_badge2 {
    width: 84px;
    height: 40px;
    padding: 7px 0 0 14px;
    background: url('/static/cn/images/activity/activity_badge.webp') no-repeat;
    background-size: 100% 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
}

.activity_card .activity_badge p,
.activity_card .activity_badge2 p {
    font-family: 'OPPO Sans 4.0';
    font-weight: 400;
    font-size: 13px;
    line-height: 15px;
    background: linear-gradient(180deg, #ea5437 0%, #d02f15 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.activity_title_wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.activity_title_wrap .title {
    font-family: 'OPPO Sans 4.0';
    font-weight: 500;
    font-size: 18px;
    line-height: 21px;
    color: #30303b;
}

.activity_title_wrap .traffic {
    width: 100%;
    height: 42px;
    padding-top: 17px;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    color: #191919;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.activity_title_wrap .traffic::before {
    content: '';
    width: 190px;
    height: 42px;
    background: url('/static/cn/images/activity/activity_traffic_bg.webp') no-repeat;
    background-size: 100% 100%;

    position: absolute;
    top: 0;
    left: -5px;
    z-index: -1;
}

.activity_title_wrap .traffic span {
    font-weight: 600;
    color: #d02f15;
}

.center_card.is_hot.activity_dynamic {
    background: linear-gradient(180deg, #ffeede 0%, #ffffff 100%);
    border-color: #efeae8;
}

.is_hot.activity_dynamic .hot_badge {
    width: 184px;
    height: 30px;
    left: calc(50% - 92px);
    border-radius: 20px;
    background: linear-gradient(180deg, #ea5437 0%, #d02f15 100%);
    border: 2px solid #ffe09e;
    box-shadow: 0px 2px 0px 0px #b12f1a;
}

.is_hot.activity_dynamic .btn_hot,
.is_hot.activity_dynamic .btn_hot:focus,
.is_hot.activity_dynamic .btn_hot:hover {
    margin-top: 6px;
    background: #e05a3d;
    color: #ffffff;
    border-color: transparent;
}

.box_price_buy .activity_dynamic .card_price_area {
    width: 100%;
}

.box_price_buy .is_hot.activity_dynamic .card_title,
.box_price_buy .is_hot.activity_dynamic:hover .card_title {
    background: #fff5ed;
}

.activity_traffic_num {
    height: 42px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.activity_title_wrap .traffic.left::before {
    left: 5px;
}

.activity_card .tab_unl_li_body {
    position: relative;
}

/* ==========================================
   静态价格 专属样式
   ========================================== */
.activity_static_tag {
    position: relative;
}

.activity_static_tag .active {
    content: '';
    display: inline-block;
    width: 78px;
    height: 24px;

    font-family: 'OPPO Sans 4.0';
    font-weight: 500;
    font-size: 13px;
    line-height: 15px;
    color: #ea5437;

    padding: 5px 10px 4px 16px;
    position: absolute;
    right: -80px;
    z-index: 10;
}

.activity_static_tag .active::before {
    content: '';
    display: inline-block;
    width: 78px;
    height: 24px;
    background: url('/static/cn/images/activity/static_tag.webp') no-repeat;
    background-size: 100% 100%;
    position: absolute;
    top: 0;
    right: 0px;
    z-index: -1;
}

.activity_static_tag.right_88::before {
    right: -88px;
}

.activity_price_right {
    margin-top: 16px;
    padding: 4px 13px;

    width: 100%;
    height: 42px;
    border-radius: 12px;
    background: #fef8f2;
    border: 1px solid #ffe8d2;

    display: flex;
    align-items: center;
    gap: 3px;
}

.activity_price_right img {
    width: 34px;
    height: 34px;
}

.activity_price_right p {
    font-family: 'OPPO Sans 4.0';
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #333333;
}

.activity_price_img {
    margin-top: 20px;
    width: 100%;
}

.static_activity {
    margin-top: 20px;
    width: 100%;
    height: 34px;
    padding: 6px 14px;
    border-radius: 10px;
    background: #fffbf0;
    border: 1px solid #ffd370;

    display: flex;
    align-items: center;
    gap: 2px;
}

.static_activity img {
    width: 22px;
    height: 22px;
}

.static_activity .warning_text {
    flex: 1;
    font-family: 'OPPO Sans 4.0';
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #914321;

    overflow: hidden;
    white-space: nowrap;
}

.static_activity .warning_text .text-item {
    display: inline-block;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.static_activity .warning_text .text-item {
    animation: marquee-seamless 10s linear infinite;
}

@keyframes marquee-seamless {
    0% {
        transform: translateZ(0);
    }
    100% {
        transform: translateX(-50%) translateZ(0);
    }
}

/* ==========================================
   IPWO钱包 专属样式
   ========================================== */
.activity_bonus {
    position: absolute;
    top: 8px;
    right: 8px;

    padding: 5px 12px 6px;
    height: 26px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    background: linear-gradient(90deg, #fff5e2 0%, #ffe5b7 100%);
    border: 1px solid #ffa892;
}

.activity_bonus p {
    font-family: 'OPPO Sans 4.0';
    font-weight: 500;
    font-size: 13px;
    line-height: 15px;
    background: linear-gradient(180deg, #ea5437 0%, #d02f15 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* ==========================================
   福利中心 专属样式
   ========================================== */
.double_experience {
    margin-left: 7px;
    padding: 4px 14px;
    border-radius: 20px;
    background: #ffeade;
    border: 1px solid #ffdeca;

    display: flex;
    align-items: center;
    gap: 4px;
}

.double_experience img {
    width: 18px;
}

.balance_title .double_experience p {
    font-family: 'OPPO Sans 4.0';
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #ff8236;
    white-space: nowrap;
}

.activity_unlimited_tag {
    position: relative;
}

.activity_unlimited_tag::before {
    content: '75折';
    display: inline-block;
    width: 60px;
    height: 24px;
    background: url('/static/cn/images/activity/static_tag.webp') no-repeat;
    background-size: 100% 100%;

    font-family: 'OPPO Sans 4.0';
    font-weight: 500;
    font-size: 13px;
    line-height: 15px;
    color: #ea5437;

    padding: 5px 10px 4px 16px;
    position: absolute;
    right: -60px;
}

/* ==========================================
   支付页面 专属样式
   ========================================== */
.activity_free {
    margin-bottom: 25px;
}

.activity_free .item_value2 p,
.activity_free .item_value3 p {
    position: relative;
    display: inline-block;
}

.activity_free .item_value2 span,
.activity_free .item_value3 span {
    width: 68px;
    height: 26px;
    padding: 8px 10px 4px;
    position: absolute;
    top: 20px;
    right: 0px;
    z-index: 2;

    font-family: 'OPPO Sans 4.0';
    font-weight: 500;
    font-size: 12px;
    line-height: 14px;
    color: #ea5437;
    white-space: nowrap;
}

.activity_free .item_value2 span::before,
.activity_free .item_value3 span::before {
    content: '';
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: -1;

    width: 68px;
    height: 26px;
    padding: 8px 10px 4px;
    background: url(/static/cn/images/activity/free_traffic_bg.webp) no-repeat center center;
    background-size: 100% 100%;
}

.event_discount {
    width: 100%;
    height: 34px;
    margin-top: 16px;
    padding: 0 10px;
    border-radius: 8px;
    background: #fdf1f2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.event_discount .discount_title,
.event_discount .discount_text {
    font-family: 'OPPO Sans 4.0';
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #ff1e3f;
}

.activity_order_list {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.activity_order_list .price_total {
    font-family: 'OPPO Sans 4.0';
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #25242d;
}

.activity_order_list .price_amount {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity_order_list .price_amount .new_amount {
    font-family: OPPO Sans 4;
    font-weight: 500;
    font-size: 26px;
    line-height: 20px;
    color: #25242d;
}

.activity_order_list .price_amount .discount_amount {
    font-family: 'OPPO Sans 4.0';
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #ff1e3f;
    text-align: end;
}

/* ==========================================
   旧版支付页 (payment/index.html) 活动样式适配
   ========================================== */

/* activity_free 标签：作用于旧版 .item-value */
.activity_free.item-value {
    position: relative;
    padding-bottom: 30px;
}

.activity_free.item-value > span:first-child {
    position: relative;
    display: inline-block;
}

/* "活动赠送" / "限时加赠" 文字标签背景 */
.activity_free.item-value > span:first-child > span {
    display: inline-block;
    width: 68px;
    height: 26px;
    padding: 4px 6px;
    position: absolute;
    top: 21px;
    right: -5px;
    z-index: 2;

    font-family: 'OPPO Sans 4.0';
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    color: #ea5437;
    white-space: nowrap;
    text-align: center;
}

.activity_free.item-value > span:first-child > span::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    width: 68px;
    height: 26px;
    background: url(/static/cn/images/activity/free_traffic_bg.webp) no-repeat center center;
    background-size: 100% 100%;
}

/* event_discount 块：活动折扣条 */
.event_discount {
    width: 100%;
    height: 34px;
    margin-top: 16px;
    padding: 0 10px;
    border-radius: 8px;
    background: #fdf1f2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.event_discount .discount_title,
.event_discount .discount_text {
    font-family: 'OPPO Sans 4.0';
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #ff1e3f;
}

/* 活动总计：已优惠提示 */
.item-price .item-value.amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}


.card_title_wrap{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.card_title_wrap .traffic_num{
    line-height: 35px;
    margin: 0;
}