/* 首页移动端双列布局。此文件只由 index.jsp 引入，避免影响产品体验页。 */
/* HS banner download buttons are only visible on mobile. */
.home-page .banner_list > .bannerHS > .banner-mobile-buttons {
    display: none;
}

@media screen and (max-width: 768px) {
    .home-page .banner_list > .bannerHS > a {
        display: none;
    }

    /* Match the QR / platform cards in the current JSP. */
    /*.home-page .banner_list > .bannerHS > .banner-mobile-buttons {
        --hs-card-size: clamp(80px, 22vw, 128px);
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 78px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        gap: clamp(8px, 2.4vw, 14px);
        color: #111;
        text-align: center;
    }*/
    .home-page .banner_list > .bannerHS > .banner-mobile-buttons {
        --hs-card-size: clamp(72px, 18vw, 128px);
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 85px;
        display: flex;
        align-items: flex-start;
        justify-content: left;
        gap: clamp(8px, 2.4vw, 14px);
        color: #111;
        text-align: center;
    }
    .home-page .bannerHS .hero-qr {
        box-sizing: border-box;
        flex: 0 0 var(--hs-card-size);
        width: var(--hs-card-size);
        overflow: hidden;
        border: 1px solid #4085ff;
        border-radius: 9px;
        background: #fff;
    }

    .home-page .bannerHS .hero-qr > img {
        box-sizing: border-box;
        display: block;
        width: 100%;
        height: calc(var(--hs-card-size) - 2px);
        padding: 5px;
        object-fit: contain;
    }

    .home-page .bannerHS .hero-qr > span {
        display: block;
        height: 24px;
        background: linear-gradient(110deg, #478cfc, #2875f5);
        color: #fff;
        font-size: 12px;
        line-height: 24px;
    }

    .home-page .bannerHS .download-options {
        display: flex;
        align-items: flex-start;
        gap: clamp(8px, 2.4vw, 14px);
    }

    .home-page .bannerHS .platform-option {
        flex: 0 0 auto;
        width: var(--hs-card-size);
        min-width: 0;
    }

    .home-page .bannerHS .platform-download {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 100%;
        height: var(--hs-card-size);
        margin: 0;
        padding: 6px;
        border: 1px solid #4085ff;
        border-radius: 9px;
        background: #fff;
        color: #191d21;
        font-family: inherit;
        cursor: pointer;
        appearance: none;
    }

    .home-page .bannerHS .platform-download > svg,
    .home-page .bannerHS .platform-download > img {
        display: block;
        flex: 0 0 auto;
        width: clamp(20px, 5.5vw, 30px);
        height: clamp(20px, 5.5vw, 30px);
        object-fit: contain;
        fill: currentColor;
    }

    .home-page .bannerHS .platform-download > span {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        width: 100%;
    }

    .home-page .bannerHS .platform-download small {
        font-size: clamp(11px, 2.8vw, 14px);
        font-weight: 400;
        line-height: 1.3;
    }

    .home-page .bannerHS .platform-download strong {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0px;
        /*width: 80%;*/
        /*max-width: 90px;*/
        height: clamp(15px, 3.5vw, 30px);
        border-radius: 18px;
        background: linear-gradient(110deg, #478cfc, #2875f5);
        color: #fff;
        font-size: 9px;
        font-weight: 400;
        line-height: 1;
        white-space: nowrap;
    }

    .home-page .bannerHS .platform-download .download-icon {
        width: 12px;
        height: 12px;
        fill: currentColor;
    }

    .home-page .bannerHS .platform-caption {
        display: block;
        height: 24px;
        font-size: 12px;
        font-weight: 600;
        line-height: 24px;
        white-space: nowrap;
    }

    /*.home-page .bannerHS .platform-download:focus-visible {
        outline: 2px solid #1677ff;
        outline-offset: 3px;
    }*/

    .home-page .second_screen > .screen > section,
    .home-page .third_screen > .screen > section,
    .home-page .fourth_screen > .screen > section {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-items: stretch;
        gap: 12px !important;
    }

    .home-page .second_screen > .screen > section > a,
    .home-page .third_screen > .screen > section > a {
        box-sizing: border-box;
        display: flex !important;
        float: none !important;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100% !important;
        min-width: 0;
        min-height: 164px;
        height: auto !important;
        margin: 0 !important;
        padding: 16px 8px !important;
        overflow: hidden;
    }

    .home-page .second_screen > .screen > section > a img,
    .home-page .third_screen > .screen > section > a img {
        flex: 0 0 auto;
        width: 56px !important;
        height: 56px !important;
        margin: 0 auto !important;
        object-fit: contain;
    }

    .home-page .second_screen > .screen > section > a h4,
    .home-page .third_screen > .screen > section > a h4 {
        display: -webkit-box;
        width: 100%;
        min-height: 42px;
        margin: 10px 0 5px !important;
        overflow: hidden;
        color: #333;
        font-size: 15px !important;
        line-height: 21px !important;
        text-align: center;
        word-break: break-word;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .home-page .second_screen > .screen > section > a p,
    .home-page .third_screen > .screen > section > a p {
        display: -webkit-box;
        width: 100%;
        min-height: 38px;
        max-height: 38px;
        margin: 0 !important;
        overflow: hidden;
        color: #777;
        font-size: 12px !important;
        line-height: 19px !important;
        text-align: center;
        word-break: break-word;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .home-page .second_screen > .screen > section > a > span,
    .home-page .third_screen > .screen > section > a > span {
        display: none !important;
    }

    .home-page .third_screen > .screen > section > a.more img {
        margin-top: 8px !important;
    }

    .home-page .fourth_screen > .screen > section {
        margin-bottom: 28px !important;
    }

    .home-page .fourth_screen > .screen > section > article {
        box-sizing: border-box;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        width: 100% !important;
        min-width: 0;
        min-height: 190px;
        margin: 0 !important;
        padding: 16px 8px !important;
        border: 1px solid #edf0f4 !important;
        border-radius: 8px;
        background: #fff;
        text-align: center;
    }

    .home-page .fourth_screen > .screen > section > article img {
        width: 54px !important;
        height: 54px !important;
        object-fit: contain;
    }

    .home-page .fourth_screen > .screen > section > article h4 {
        display: -webkit-box;
        width: 100%;
        min-height: 42px;
        margin: 10px 0 5px !important;
        overflow: hidden;
        font-size: 15px !important;
        line-height: 21px !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .home-page .fourth_screen > .screen > section > article p {
        display: -webkit-box;
        width: 100%;
        max-height: 57px;
        margin: 0 !important;
        overflow: hidden;
        color: #777;
        font-size: 12px !important;
        line-height: 19px !important;
        word-break: break-word;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    /* 数据统计：去掉 PC 端占位列，移动端三项等宽并列。 */
    .home-page .Counter {
        position: relative;
        display: flex;
        align-items: center;
        min-height: 190px;
        height: auto !important;
        overflow: hidden;
        background-position: center center !important;
    }

    .home-page .Counter::before {
        position: absolute;
        z-index: 0;
        inset: 0;
        content: "";
        background: rgba(20, 61, 111, .20);
        pointer-events: none;
    }

    .home-page .Counter > div,
    .home-page .Counter > section > span {
        display: none !important;
    }

    .home-page .Counter > section {
        position: relative;
        z-index: 1;
        box-sizing: border-box;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        align-items: start;
        width: 100% !important;
        margin: 0 !important;
        padding: 38px 10px !important;
        gap: 0 !important;
    }

    .home-page .Counter > section > dl {
        position: relative;
        box-sizing: border-box;
        display: block !important;
        width: 100% !important;
        min-width: 0;
        margin: 0 !important;
        padding: 0 8px;
        text-align: center;
    }

    .home-page .Counter > section > dl + dl::before {
        position: absolute;
        top: 3px;
        bottom: 3px;
        left: 0;
        width: 1px;
        content: "";
        background: rgba(255, 255, 255, .35);
    }

    .home-page .Counter > section > dl dt {
        margin: 0 0 10px;
        color: #e5ff22;
        font-size: 30px !important;
        font-weight: 500;
        line-height: 1;
        white-space: nowrap;
    }

    .home-page .Counter > section > dl dd {
        margin: 0;
        color: #fff;
        font-size: 12px !important;
        line-height: 18px;
        text-align: center;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .home-page .fifth_screen > .screen > section > .this_div {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-items: stretch;
        gap: 12px 10px;
        width: 100% !important;
    }

    .home-page .fifth_screen > .screen > section > .this_div > dl {
        box-sizing: border-box;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        width: 100% !important;
        min-width: 0;
        margin: 0 !important;
        padding: 10px 6px !important;
    }

    .home-page .fifth_screen > .screen > section > .this_div > dl dt {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 68px;
    }

    .home-page .fifth_screen > .screen > section > .this_div > dl img {
        width: 100% !important;
        max-width: 135px;
        height: 64px !important;
        object-fit: contain;
    }

    .home-page .fifth_screen > .screen > section > .this_div > dl dd {
        display: -webkit-box;
        width: 100%;
        min-height: 38px;
        margin-top: 7px;
        overflow: hidden;
        font-size: 13px !important;
        line-height: 19px !important;
        text-align: center;
        word-break: break-word;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
    .banner-mobile-buttons{display:flex;align-items:flex-start;gap:14px}.hero-qr{width:136px;display:flex;flex-direction:column;align-items:center;overflow:hidden;border:1px solid #3b87f5;border-radius:10px;background:#fff;font-size:13px;line-height:1.5}.hero-qr img{width:134px;height:134px}.hero-qr span{width:100%;padding:5px 4px;text-align:center;color:#fff;background:linear-gradient(135deg,#4a8df7,#2877ef)}
    .platform-download strong{min-width:42px;border-radius:22px;padding:2px 8px;}
    .platform-download:active{transform:translateY(0);box-shadow:0 4px 12px rgba(52,122,240,.14)}
    .platform-download:focus-visible{outline-color:var(--blue);background:#fff}
}

@media screen and (max-width: 360px) {
    .home-page .second_screen > .screen > section,
    .home-page .third_screen > .screen > section,
    .home-page .fourth_screen > .screen > section {
        gap: 9px !important;
    }

    .home-page .second_screen > .screen > section > a,
    .home-page .third_screen > .screen > section > a,
    .home-page .fourth_screen > .screen > section > article {
        padding-right: 6px !important;
        padding-left: 6px !important;
    }

    .home-page .second_screen > .screen > section > a h4,
    .home-page .third_screen > .screen > section > a h4,
    .home-page .fourth_screen > .screen > section > article h4 {
        font-size: 14px !important;
    }

    .home-page .Counter {
        min-height: 178px;
    }

    .home-page .Counter > section {
        padding-right: 6px !important;
        padding-left: 6px !important;
    }

    .home-page .Counter > section > dl {
        padding-right: 4px;
        padding-left: 4px;
    }

    .home-page .Counter > section > dl dt {
        font-size: 27px !important;
    }

    .home-page .Counter > section > dl dd {
        font-size: 11px !important;
        line-height: 17px;
    }


    .hero-downloads{gap:5px}.hero-qr{width:106px}.hero-qr img{width:104px;height:104px}
}
