/* ============================================================
   CRM 站点移动端适配（v44 重新排版版）
   仅对 ≤768px 生效，桌面版（≥769px）完全不受影响
   覆盖顺序在 home.css / style.css / paybtn.css 之后引用
   查询页 = 独立移动版排版（蓝头 + 平台卡片 + 底部信息），
   与老系统手机端样式一致，而非桌面表格缩放
   ============================================================ */
/* 移动版容器默认隐藏（桌面不显示） */
.m-wrap { display: none; }

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    /* ---------- 通用容器：解除固定宽度 ---------- */
    .box, .box1 {
        min-width: 0 !important;
        width: 100% !important;
    }
    .box .top1 .content,
    .box .top2 .top_txt,
    .box .top2 .banner_content,
    .box .brdcont .wrap,
    .box .container .wrap {
        width: 100% !important;
    }

    /* ---------- 顶部导航 ---------- */
    .box .top1 .content .navigationBar {
        height: auto;
        min-height: 54px;
        flex-wrap: wrap;
        padding: 8px 12px;
        box-sizing: border-box;
        font-size: 14px;
        justify-content: space-between;
        align-items: center;
    }
    .box .top1 .content .navigationBar .navigationBar_left .logoText {
        font-size: 18px;
        font-weight: bold;
        color: #2B6AF5;
        margin-right: 14px;
        white-space: nowrap;
        line-height: 34px;
    }
    .box .top1 .content .navigationBar .navigationBar_left {
        flex-wrap: wrap;
        row-gap: 6px;
    }
    .box .top1 .content .navigationBar .navigationBar_left img {
        width: 96px;
        height: 30px;
        margin-right: 10px;
    }
    .box .top1 .content .navigationBar .navigationBar_left span {
        margin-right: 12px;
        font-size: 13px;
    }
    .box .top1 .content .navigationBar .navigationBar_right {
        width: 82px;
        height: 34px;
        line-height: 34px;
        font-size: 14px;
        margin-left: auto;
        flex: 0 0 auto;
    }

    /* ---------- 首页主视觉（banner 区重排为流式） ---------- */
    .box .top2 {
        margin-top: 54px;
    }
    .box .top2 .banner-container {
        min-width: 0;
        height: auto;
    }
    .box .top2 .banner-container img {
        position: static;
        width: 100%;
        height: auto;
        transform: none;
    }
    .box .top2 .top_txt {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        padding: 18px 16px 0;
        box-sizing: border-box;
        text-align: center;
    }
    .box .top2 .top_txt .txt {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 10px;
    }
    .box .top2 .top_txt h3 {
        font-size: 16px;
        margin-bottom: 14px;
    }
    .box .top2 .top_txt .block {
        justify-content: center;
        flex-wrap: wrap;
    }
    .box .top2 .top_txt .block div {
        width: auto;
        height: 34px;
        line-height: 30px;
        padding: 0 14px;
        font-size: 14px;
        margin: 4px;
        background-size: 100% 100%;
        box-sizing: border-box;
    }

    /* ---------- 首页搜索框 + 统计 ---------- */
    .box .top2 .banner_content {
        position: relative;
        height: auto;
        padding: 10px 14px 18px;
        box-sizing: border-box;
    }
    .box .top2 .banner_content .search {
        position: static;
        width: 100% !important;
        height: auto;
        top: auto;
        margin: 0;
        padding: 12px 0 4px;
        box-sizing: border-box;
    }
    .box .top2 .banner_content .search input {
        width: 72% !important;
        font-size: 15px;
    }
    .box .top2 .banner_content .search .mark {
        width: 26% !important;
        font-size: 15px;
    }
    .box .top2 .banner_content ul {
        display: flex;
        flex-wrap: wrap;
        margin-top: 10px;
    }
    .box .top2 .banner_content ul li {
        width: 50% !important;
        box-sizing: border-box;
        padding: 8px 4px;
        margin: 0 !important;
    }
    .box .top2 .banner_content ul li .border {
        display: none;
    }

    /* ---------- 首页各区内容 ---------- */
    .box .top3,
    .box .top4 .content,
    .box .top5 .content {
        padding: 0 14px;
        box-sizing: border-box;
    }
    .box .top3 h3 {
        font-size: 20px;
    }
    .box .top3 h4 {
        font-size: 13px;
        line-height: 1.6;
    }
    .box .top3 ul {
        display: flex;
        flex-wrap: wrap;
    }
    .box .top3 ul li {
        width: 50% !important;
        box-sizing: border-box;
        margin: 10px 0 !important;
    }
    .box .top4 .contents {
        width: 100% !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .box .top4 .contents > div:first-child {
        display: none;
    }
    .box .top4 .tst,
    .box .top4 .tst.auto,
    .box .top4 .tst.margin_left202 {
        width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 12px;
        box-sizing: border-box;
    }
    .box .top4 .content_txt {
        padding: 0 6px;
        box-sizing: border-box;
    }
    .box .top5 .process {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
    }
    .box .top5 .process .process_icom {
        transform: rotate(90deg);
        margin: 4px 0;
    }

    /* ---------- 首页页脚（.top10）流式 ---------- */
    .box .top10 .comment {
        display: block !important;
        width: 100% !important;
        padding: 16px;
        box-sizing: border-box;
    }
    .box .top10 .comment .left,
    .box .top10 .comment .right {
        width: 100% !important;
        float: none !important;
        margin: 10px 0 !important;
        text-align: center;
    }
    .box .top10 .comment .details {
        display: inline-block;
        vertical-align: top;
        margin: 0 10px;
    }
    .box .top10 .comment .right .text,
    .box .top10 .comment .wx {
        text-align: center;
    }
    .box .top10 .footer {
        padding: 10px 14px;
        font-size: 12px;
        line-height: 1.8;
    }

    /* ---------- 首页对比区（top6/top7） ---------- */
    .box .top6 .content,
    .box .top7 .content {
        width: 100% !important;
        padding: 24px 14px;
        box-sizing: border-box;
    }
    .box .top6 .content .left,
    .box .top6 .content .right,
    .box .top7 .content .left,
    .box .top7 .content .right {
        width: 100% !important;
        float: none !important;
        margin: 10px 0 !important;
        text-align: center;
        box-sizing: border-box;
    }
    .box .top6 .content .right .imges,
    .box .top7 .content .right .imges {
        display: inline-block;
        margin: 6px;
    }
    .box .top6 .content .right .imges img,
    .box .top7 .content .right .imges img {
        width: 140px;
        height: auto;
    }
    .box .top6 .content .left .tltle,
    .box .top7 .content .left .tltle {
        font-size: 22px;
    }

    /* ---------- 首页产品优势（top8） ---------- */
    .box .top8 .content {
        width: 100% !important;
        padding: 24px 14px;
        box-sizing: border-box;
    }
    .box .top8 .content .banner {
        width: 100% !important;
        height: auto !important;
    }
    .box .top8 .content .banner img {
        width: 100% !important;
        height: auto !important;
    }
    .box .top8 .content .banner .left_top,
    .box .top8 .content .banner .right_top,
    .box .top8 .content .banner .left_buttom,
    .box .top8 .content .banner .right_buttom {
        position: static !important;
        width: 100% !important;
        text-align: center;
        padding: 12px 4px;
        box-sizing: border-box;
    }
    .box .top8 .content .banner .module {
        width: 100% !important;
        justify-content: center;
        padding: 8px 0;
        box-sizing: border-box;
    }
    .box .top8 .content .comment_details {
        width: 100% !important;
        margin: 8px 0 !important;
        box-sizing: border-box;
    }
    .box .top8 .content .page .buttoms,
    .box .top8 .content .page .buttoms1 {
        width: 88px;
        height: 32px;
        line-height: 32px;
        font-size: 14px;
    }

    /* ---------- 首页 top9 选择我们 ---------- */
    .box .top9 .comment {
        padding: 0 14px;
        box-sizing: border-box;
    }
    .box .top9 .comment ul {
        display: flex;
        flex-wrap: wrap;
    }
    .box .top9 .comment ul li {
        width: 50% !important;
        box-sizing: border-box;
        margin: 10px 0 !important;
    }

    /* ---------- 首页 top5 下方模块 ---------- */
    .box .top5 .reveal .reveal_content {
        width: 100% !important;
        margin: 8px 0 !important;
        box-sizing: border-box;
    }

    /* ==================================================
       查询页：独立移动版排版（对齐老系统手机端样式）
       隐藏桌面版各区块，显示 m-wrap（蓝头/卡片/底部）
       ================================================== */
    .box .brdcont,
    .box .container,
    .box .top11 {
        display: none !important;
    }

    /* ---------- 移动版容器 ---------- */
    .m-wrap {
        display: block;
        margin-top: 54px;
    }

    /* ---------- 蓝色信息头 ---------- */
    .m-head {
        background: linear-gradient(135deg, #3D6BFF, #58B0FE);
        padding: 18px 16px 22px;
        box-sizing: border-box;
        position: relative;
    }
    .m-head-tip {
        color: rgba(255, 255, 255, .85);
        font-size: 13px;
        line-height: 1.6;
        margin-right: 122px;
    }
    .m-head-num {
        color: #fff;
        font-size: 27px;
        font-weight: 700;
        margin: 8px 122px 2px 0;
        letter-spacing: 1px;
    }
    .m-head-marks {
        color: #fff;
        font-size: 15px;
        margin-right: 122px;
    }
    .m-head-marks em {
        font-style: normal;
        color: #FFD54F;
        font-weight: 700;
    }
    .m-head-r {
        position: absolute;
        top: 18px;
        right: 14px;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
    }
    .m-cs {
        display: inline-block;
        background: rgba(255, 255, 255, .18);
        border: 1px solid rgba(255, 255, 255, .65);
        color: #fff;
        border-radius: 6px;
        padding: 5px 12px;
        font-size: 12px;
        cursor: pointer;
        text-decoration: none;
        text-align: center;
        min-width: 96px;
        box-sizing: border-box;
    }
    .m-cs:active {
        background: #fff;
        color: #2B6AF5;
    }

    /* ---------- 平台卡片列表（老版窄卡样式） ---------- */
    .m-cards {
        max-width: 340px;
        margin: 0 auto;
        padding: 14px 12px 6px;
        box-sizing: border-box;
    }
    .m-card {
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
        padding: 4px 16px;
        margin-bottom: 12px;
        box-sizing: border-box;
    }
    .m-card-row {
        display: flex;
        justify-content: flex-start;
        align-items: baseline;
        padding: 10px 0;
        border-bottom: 1px dashed #eee;
        font-size: 14px;
        line-height: 1.5;
    }
    .m-card-row:last-child {
        border-bottom: none;
    }
    .m-lb {
        color: #999;
        flex-shrink: 0;
        margin-right: 8px;
        font-size: 14px;
    }
    .m-val {
        color: #333;
        text-align: left;
        word-break: break-all;
        min-width: 0;
    }
    .m-val.m-lock {
        color: #1E6FF5;
    }
    .m-val.m-lock-btn {
        display: inline-block;
        background: #E8F3FF;
        color: #2E8DED;
        border-radius: 4px;
        padding: 6px 16px;
        font-size: 14px;
        text-align: center;
        min-width: 108px;
        box-sizing: border-box;
    }
    /* 已支付卡片中的操作按钮（复用桌面行样式） */
    .m-val .borderalink,
    .m-val a.borderalink {
        display: inline-block;
        padding: 6px 14px;
        margin: 3px 0;
        font-size: 14px;
        box-sizing: border-box;
        white-space: nowrap;
    }
    .m-val input[type="number"] {
        width: 100%;
        max-width: 150px;
        font-size: 15px;
        box-sizing: border-box;
    }
    /* 取消入口（对应平台申诉链接/说明） */
    .m-cancel-link {
        color: #1E6FF5;
        font-size: 14px;
        word-break: break-all;
    }
    .m-cancel-text {
        color: #333;
        font-size: 14px;
        line-height: 1.5;
    }

    /* ---------- 未支付购买入口 ---------- */
    .m-buy {
        display: block;
        background: #FF3F3F;
        color: #fff;
        border-radius: 8px;
        padding: 14px 0;
        text-align: center;
        font-size: 17px;
        margin: 6px 2px 8px;
        text-decoration: none;
        cursor: pointer;
    }
    .m-buy:active {
        opacity: .85;
    }

    /* ---------- 移动版底部 ---------- */
    .m-foot {
        max-width: 340px;
        margin: 0 auto;
        padding: 4px 12px 36px;
        text-align: center;
        box-sizing: border-box;
    }
    .m-expire {
        font-size: 12px;
        color: #888;
        line-height: 1.8;
        margin-bottom: 16px;
    }
    .m-back {
        display: inline-block;
        background: #1AB2FD;
        color: #fff;
        border-radius: 6px;
        padding: 11px 40px;
        font-size: 15px;
        text-decoration: none;
        cursor: pointer;
    }
    .m-back:active {
        opacity: .85;
    }
    .m-contact {
        font-size: 16px;
        color: #333;
        margin: 20px 0 10px;
    }
    .m-wx img {
        width: 128px;
        height: 128px;
        object-fit: contain;
        border-radius: 6px;
    }

    /* ---------- 客服弹窗（服务电话 / 客服微信） ---------- */
    .cs-mask {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, .5);
        z-index: 9999;
        display: none;
        align-items: center;
        justify-content: center;
    }
    .cs-mask.cs-show {
        display: flex;
    }
    .cs-box {
        width: 84%;
        max-width: 320px;
        background: #fff;
        border-radius: 12px;
        padding: 26px 18px 20px;
        position: relative;
        text-align: center;
        box-sizing: border-box;
    }
    .cs-close {
        position: absolute;
        top: 8px;
        right: 14px;
        font-size: 24px;
        color: #999;
        cursor: pointer;
        text-decoration: none;
        line-height: 1;
    }
    .cs-t {
        font-size: 16px;
        color: #333;
        margin-bottom: 10px;
        font-weight: 600;
    }
    .cs-tel {
        display: block;
        font-size: 26px;
        color: #2A75FF;
        font-weight: 700;
        text-decoration: none;
        margin: 10px 0;
    }
    .cs-qr {
        width: 170px;
        height: 170px;
        object-fit: contain;
        margin: 8px 0;
    }
    .cs-tip {
        font-size: 13px;
        color: #999;
    }
}

/* ---------- 更小屏（≤480px）额外压缩 ---------- */
@media (max-width: 480px) {
    .box .top2 .top_txt .txt {
        font-size: 24px;
        line-height: 32px;
    }
    .box .top2 .top_txt h3 {
        font-size: 14px;
    }
    .box .top1 .content .navigationBar .navigationBar_left span {
        margin-right: 8px;
        font-size: 12px;
    }
    .box .top1 .content .navigationBar .navigationBar_left img {
        width: 84px;
        height: 26px;
    }
    .box .top1 .content .navigationBar .navigationBar_right {
        width: 74px;
        height: 30px;
        line-height: 30px;
        font-size: 13px;
    }
    .box .top2 .banner_content .search input {
        width: 66% !important;
    }
    .box .top2 .banner_content .search .mark {
        width: 32% !important;
    }
    /* 移动版蓝头更紧凑 */
    .m-head {
        padding: 16px 14px 18px;
    }
    .m-head-num {
        font-size: 24px;
    }
    .m-head-r {
        top: 14px;
        right: 10px;
        gap: 5px;
    }
    .m-cs {
        min-width: 88px;
        padding: 4px 10px;
        font-size: 12px;
    }
    .m-cards {
        padding: 12px 10px 4px;
    }
    .m-card {
        padding: 4px 14px;
    }
    .m-val input[type="number"] {
        max-width: 130px;
    }
}