/* ============================================
   person.html 内容区域移动端自适应样式
   仅在 @media (max-width: 768px) 生效，不影响 PC 端
   导航栏和页脚已使用公共组件（common/include.js），
   其移动端样式由 /styles.css 统一处理
   ============================================ */

@media (max-width: 768px) {

    /* ---------- 基础容器 ---------- */
    html,
    body {
        overflow-x: hidden;
        width: 100%;
    }

    /* ---------- Banner 轮播 ---------- */
    .banner .item,
    .banner .meiyebanneritem {
        height: 220px !important;
        padding: 0 20px !important;
        background-size: cover !important;
    }
    .banner {
        margin-top: 40px;
    }

    .banner-title {
        font-size: 20px !important;
    }

    .banner-title span {
        font-size: 14px !important;
    }

    .banner-content {
        font-size: 13px !important;
    }

    .play img {
        width: 30px !important;
        height: auto;
    }

    .play span {
        font-size: 12px !important;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 36px !important;
        height: 36px !important;
    }

    .swiper-button-prev:after,
    .swiper-button-next:after {
        font-size: 16px !important;
    }

    /* ---------- 应用数字人区块 (.use) ---------- */
    .use-detail,
    .advantage,
    .characteristic,
    .detail-step,
    .mark-con,
    .mark-four-con,
    .show,
    .how {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .use-title {
        font-size: 18px !important;
        padding: 0 15px;
    }

    .use-title img {
        height: 16px !important;
        margin-right: 8px !important;
    }

    .message {
        font-size: 14px !important;
        padding: 0 15px;
    }

    .use-content {
        padding: 0 15px;
    }

    .use-content .message .message-title {
        font-size: 15px !important;
        padding: 10px 0 0 10px !important;
    }

    .use-content .message .message-content {
        font-size: 12px !important;
        padding: 0 0 0 10px !important;
    }

    /* advantage 绝对定位改为静态流式 */
    .advantage {
        position: static !important;
        height: auto !important;
        margin: 15px !important;
        padding: 15px !important;
        top: auto !important;
    }

    .step {
        position: static !important;
        width: 100% !important;
        height: 200px !important;
        margin-top: 15px;
        right: auto !important;
        top: auto !important;
    }

    .step-one,
    .step-two,
    .step-three {
        position: static !important;
        width: auto !important;
        display: block;
        padding: 8px 15px;
        text-align: center;
    }

    .part-two {
        margin-top: 30px !important;
    }

    .how {
        margin: 20px auto !important;
        left: auto !important;
        padding: 0 15px;
    }

    /* characteristic 绝对定位项目改为列表流式 */
    .characteristic {
        position: static !important;
        height: auto !important;
        left: auto !important;
        background-image: none !important;
        padding: 15px;
        margin: 15px !important;
    }

    .characteristic-item {
        position: static !important;
        width: 100% !important;
        padding: 8px 0;
        border-bottom: 1px solid #eee;
        font-size: 13px !important;
    }

    .characteristic-item:last-child {
        border-bottom: none;
    }

    .characteristic-item span {
        font-size: 16px !important;
        display: block;
        margin-bottom: 4px;
    }

    /* detail-step 横向改纵向 */
    .detail-step {
        flex-direction: column !important;
        height: auto !important;
        padding: 15px !important;
        margin: 15px !important;
    }

    .detail-step .step-content {
        width: 100% !important;
        order: 2;
    }

    .step-video {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        top: auto !important;
        order: 1;
        margin-bottom: 15px;
    }

    .video-menu {
        flex-wrap: wrap;
    }

    .video-menu li {
        margin-right: 15px !important;
        margin-bottom: 8px;
        font-size: 12px !important;
    }

    #video {
        height: 200px !important;
    }

    .part3,
    .part4 {
        padding: 0 15px;
    }

    /* ---------- 定制数字人区块 (.mark) ---------- */
    .mark-one,
    .mark-two,
    .mark-three,
    .mark-four {
        padding: 0 15px;
    }

    .mark-title {
        font-size: 17px !important;
        height: auto !important;
        padding: 15px 0 !important;
    }

    .mark-con {
        flex-direction: column !important;
        top: 0 !important;
        padding: 10px 0;
    }

    .mark-con .left,
    .mark-con .right {
        width: 100% !important;
        padding: 10px 0 !important;
    }

    .mark-con .right .right-top {
        font-size: 13px !important;
        margin-bottom: 15px !important;
    }

    .mark-con .right .test {
        font-size: 13px !important;
        height: auto !important;
        line-height: 24px !important;
    }

    .mark-four-con {
        flex-direction: column !important;
        top: 0 !important;
        margin: 15px !important;
    }

    .mark-four-con li {
        width: 100% !important;
        padding: 20px 15px !important;
        margin-bottom: 15px;
        box-sizing: border-box;
    }

    .mark-four-con li .img {
        right: 15px !important;
    }

    /* ---------- 贴牌数字人区块 (.copy) ---------- */
    .copy {
        padding: 0 15px;
    }

    .part4 img {
        width: 100% !important;
    }

    /* ---------- 旧页脚相关（已被公共页脚替换，保留以防残留） ---------- */
    .footer-con {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        padding: 15px !important;
        gap: 10px;
    }

    /* ---------- 弹窗表单 ---------- */
    .submit-con,
    .zl-con,
    .hz-con,
    .dz-con {
        width: 92vw !important;
        max-width: 375px;
        height: auto !important;
        min-height: 400px;
        box-sizing: border-box;
    }

    .dz-con {
        width: 92vw !important;
        padding: 30px 15px 15px !important;
    }

    .dz-con .img {
        height: 200px !important;
    }

    .dz-con .img .qskuang {
        width: 180px !important;
        height: 180px !important;
    }

    .dz-con .img .qscode {
        width: 160px !important;
        height: 160px !important;
    }

    .hz-con {
        padding-top: 200px !important;
    }

    /* ---------- 右侧浮动栏 ---------- */
    .right-box {
        display: none !important;
    }
    .ad{
        display: none !important;
    }
}

/* 超小屏幕（≤480px）进一步压缩 */
@media (max-width: 480px) {
    .banner .item,
    .banner .meiyebanneritem {
        height: 180px !important;
    }

    .banner-title {
        font-size: 17px !important;
    }

    .use-title {
        font-size: 16px !important;
    }

    .mark-title {
        font-size: 15px !important;
    }
}
