﻿html,
body {
    width: 100%;
    height: 100%;
}

a,
body,
button,
dd,
dl,
dt,
h1,
h2,
h3,
h4,
h5,
i,
img,
input,
li,
p,
select,
span,
strong,
textarea,
ul {
    margin: 0;
    padding: 0;
}

b,
h1,
h2,
h3,
h4,
h5,
h6,
strong {
    font-weight: 400;
}

body {
    font-family: "microsoft yahei", Arial;
    font-size: .26rem;
    line-height: 1;
    color: #333;
    user-select: none;
    -webkit-user-select: none;
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    -moz-text-size-adjust: 100% !important;
}

::-webkit-scrollbar {
    width: 0;
    height: 0;
}

* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

li {
    list-style-type: none;
    float: left;
}

a {
    text-decoration: none;
    color: #8c8c8c;
    outline: 0;
}

img {
    border: none;
    vertical-align: middle;
}

button {
    font-family: "microsoft yahei", Arial;
    outline: 0;
    cursor: pointer;
    font-size: .26rem;
    border: none;
}

.mobile-wrap {
    position: relative;
    min-height: 100vh;
    width: 100%;
    float: left;
    background-color: #ededee;
}

/* Overlay — scoped class */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    /* backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 9000;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Bottom Sheet Panel — all vars scoped here */
.message-panel {
    /* Scoped CSS custom properties */
    --mp-primary:    #6366f1;
    --mp-text-main:  #1e293b;
    --mp-text-dim:   #64748b;
    --mp-border:     #f1f5f9;
    --mp-font:       'Outfit', sans-serif;

    /* Layout */
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 100%;
    max-width: 600px;
    height: auto; /* Fit to content */
    max-height: 90vh; /* Safety limit */
    background: #ffffff;
    border-radius: 30px 30px 0 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    /* box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.3); */
    z-index: 9001;
    overflow: hidden;
    box-sizing: border-box;
    font-family: var(--mp-font);
}

.message-panel.show {
    transform: translateX(-50%) translateY(0);
}

/* Handle bar */
.message-panel .handle-bar {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 5px;
    background: #e2e8f0;
    border-radius: 3px;
}
/* Scrollable rows container */
.message-panel .rows-container {
    padding: 10px 10px;
    overflow-y: auto;
    flex-grow: 1;
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 transparent;
    box-sizing: border-box;
}

.message-panel .rows-container::-webkit-scrollbar {
    width: 6px;
}

.message-panel .rows-container::-webkit-scrollbar-thumb {
    background-color: #e2e8f0;
    border-radius: 10px;
}

/* Individual row */
.message-panel .row-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--mp-border);
    animation: mp-slide-in 0.5s ease forwards;
    opacity: 0;
    transform: translateY(10px);
    box-sizing: border-box;
}

.message-panel .row-item:last-child {
    border-bottom: none;
}

@keyframes mp-slide-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* App icon image */
.message-panel .app-icon {
    flex-shrink: 0;
    width: 53px;
    height: 53px;
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--mp-border);
    display: block;
}

/* Row text content */
.message-panel .row-content {
    flex-grow: 1;
}

.message-panel .row-content p {
    font-size: .9em;
    color: var(--mp-text-dim);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}
/* Download button */
.message-panel .download-btn {
    background-color: #2563eb;
    color: #eff6ff;
    border: none;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: .7em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    display: block;
    text-align: center;
}

.message-panel .download-btn:hover {
    background-color: #dbeafe;
    transform: translateY(-1px);
}

.message-panel .download-btn:active {
    transform: translateY(0);
}


/* css */
.section img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.center-wrapper {
    position: relative;
    width: 100%;
    margin-top: -1.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.tips {
    display: flex;
    flex-direction: column;
    align-items: center;

}
.tips .title {
    position: relative;
    width: 5.62rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0.1rem;
    gap: 0.1rem;
    height: 0.59rem;
    background: #139BFE;
    color: #FFFFFF;
    font-size: 0.32rem;
    border-radius: 0.1rem;

    flex: none;
    order: 0;
    flex-grow: 0;
}
.tips .title::after {
  content: "";
  position: absolute;
  /* 定位在父容器底部正中间 */
  bottom: -0.09rem;      /* 这里的负值等于三角形的高度，使其刚好贴在底部外侧 */
  left: 50%;
  transform: translateX(-50%); /* 完美的水平居中对齐 */
  
  /* 使用边框绘制倒三角形 */
  border-left: 0.1rem solid transparent;  /* 左边框透明 */
  border-right: 0.1rem solid transparent; /* 右边框透明 */
  border-top: 0.1rem solid #139BFE;          /* 上边框颜色决定倒三角的颜色，宽度决定高度 */
}
.tips .qiudiid {
    width: 100%;
    cursor: pointer;
    text-align: center;
    color: #139BFE;
    font-size: 0.32rem;
    font-weight: 600;
    line-height: 0.5rem;
    height: 0.5rem;
    margin: 0.2rem 0;
}
.tips .desc {
    letter-spacing: 0.01rem;
    font-weight: 400;
    font-size: 0.3rem;
    line-height: 0.42rem;
    display: flex;
    align-items: center;
    text-align: center;

    color: #083765;
}
.banner {
    width: 100%;
    aspect-ratio: 750 / 1060; 
    position: relative;
    overflow: hidden;
}

.section-site {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin: 0.39rem 0.09rem;
    
}
.section-site .title {
    background: transparent;
}
.section-site .site {
    margin-inline:  0.16rem;
    display: flex;
    flex: 1;
    justify-content: space-between;
    border: 0.03rem solid #FFF;
    border-radius: 0.1rem;
    padding: 0.2225rem 0 0.2725rem 0.21rem;
    background: #F3F8FD;
}
.section-site .site .left {
    display: flex;
    justify-content: center;
    gap: 0.2rem;
}
.section-site .site .left .logo {
    width: 1.06rem;
    height: 1.06rem;
}
.section-site .site .left .logo.qiudi {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFF;
    border-radius: .2rem;
}
.section-site .site .info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.section-site .site .info img {
    display: inline;
}
.section-site .site .info .line1 {
    font-size: 0.2rem;
    color: #666B89;
    font-weight: 600;   
} 
.section-site .site .line1 img {
    width:0.26rem;
    height:0.26rem;
} 
.section-site .site .info .line2 {
    display: flex;
    align-items: center;
    font-size: .28rem; 
    font-weight: 700;
    color: #262930;
} 
.section-site .site .line2 img {
    width:0.3rem;
    margin-right: 0.05rem;
} 
.section-site .site .info .line3 {
    font-size: 0.2rem;
    color: #666B89;    
    font-weight: 600;   
}
.section-site .cover {
    width: 1.06rem;

}
.section-site .right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 0.23rem;
}
.section-site .right .btn {
    display: block;
    width: 1.2rem;
    height: 0.5rem;
    background: url(../image/btn-goto.svg) no-repeat center center;
    background-size: cover;
}

.section-activity img:first-child {
    margin-top: 0.2rem;
}

.section-activity img:nth-child(2) {
    margin-top: 0.4rem;
    padding: 0 0 0 0.25rem;
}

.section-service {
    margin-top: 0.4rem;
    padding: 0 0.25rem;
}

.section-bottom {
    margin-top: 0.4rem;
    height: 2.93rem;
    margin-bottom: .4rem;
}

.section-download {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0866FF;
    /* left: 0;
    right: 0;
    margin: 0 auto;  */

    width: 100%;
    max-width: 750px;
    z-index: 100;

     /* 修复闪烁的核心代码 */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateX(-50%) translateZ(0); 
    will-change: transform;
}

.section-download .download-btn {
    position: absolute;
    bottom:0.17rem;
    right: 0.245rem;
    display: block;
    width:1.6rem;
    height:0.66rem;
    background: url(../image/goto.svg) no-repeat center center;
    background-size: contain;
    animation: myfirst 1s infinite;
}

@-webkit-keyframes myfirst {
    from {
        transform: scale(1);
    }

    50% {
        transform: scale(.9);
    }

    to {
        transform: scale(1);
    }
}

@keyframes myfirst {
    from {
        transform: scale(1);
    }

    50% {
        transform: scale(.9);
    }

    to {
        transform: scale(1);
    }
}