
    /* 弹窗样式（保持不变） */
.open-button {
    padding: 10px 20px;
    background-color: #077FFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px;
}

.open-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #077FFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px;
    cursor: pointer;
}

.overlay2 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay2.show {
    opacity: 1;
}

.popup {
    display: none;
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 93%;
    background-color: white;
    border-radius: 35px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    padding: 20px;
    padding-bottom: 80px;
    box-sizing: border-box;
    transition: bottom 0.3s ease;
}

.popup.show {
    bottom: 15px;
}

.popup-button {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 89%;
    padding: 14px;
    background-color: #077FFF;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 17px;
    cursor: pointer;
}

.popup-button.gray {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 89%;
    padding: 14px;
    background-color: #F5F5F5;
    color: #333;
    font-size: 16px;
    border: none;
    border-radius: 17px;
    cursor: pointer;
}

.popup-button1 {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 89%;
    padding: 15px;
    background-color: #077FFF;
    color: white;
    font-size: 18px;
    font-weight: 580;
    border: none;
    border-radius: 17px;
    cursor: pointer;
}

.popup-button.gray1 {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 89%;
    padding: 15px;
    background-color: #EEEEEE;
    color: #333;
    font-size: 18px;
    font-weight: 580;
    border: none;
    border-radius: 17px;
    cursor: pointer;
}

/* 关键：去除按钮点击时的蓝色/高亮背景 */
.popup-button1:active {
    background-color: transparent;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

/* 关键：去除按钮点击时的蓝色/高亮背景 */
.popup-button.gray1:active {
    background-color: transparent;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.popup-double-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
    position: absolute;
    bottom: 22px;
    left: 0;
    box-sizing: border-box;
    padding: 0 5%;
}

.double-btn {
    width: 50%;
    padding: 14px;
    font-size: 16px;
    border: none;
    border-radius: 17px;
    cursor: pointer;
    box-sizing: border-box;
    /* 新增：统一去除点击高亮 */
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.double-btn.gray {
    background-color: #F5F5F5;
    color: #333;
}

.double-btn.blue {
    background-color: #077FFF;
    color: white;
}

/* ========== 新增：独立弹窗标题样式 ========== */
.popup-title {
    font-size: 16.5px;
    font-weight: 510;
    color: #111;
    text-align: center;
    margin: 4px 0 12px 0;
}

/* ========== 新增：独立弹窗内容样式 ========== */
.popup-content {
    font-size: 15px;
    color: #000;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* 弹窗内小字辅助文本样式（适配你原来的灰色小字） */
.popup-sub-text {
    font-size: 13px;
    color: #d0d0d0;
    display: block;
    margin-top: 6px;
}



/* 锁定位置，不跟随页面移动的按钮 */




/* 核心：用fixed+top替代bottom，同时强制脱离父容器影响 */
.popup-double-buttons1 {
    position: fixed !important;
    top: auto !important; /* 取消顶部定位 */
    bottom: 45px !important; /* 固定在底部向上45px */
    left: 0 !important;
    right: 0 !important; /* 左右拉满，确保宽度100% */
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 0 5% !important;
    box-sizing: border-box !important;
    pointer-events: auto !important; /* 确保按钮能点击 */
    margin: 0 !important;
}

.double-btn1 {
    width: 50%;
    padding: 14px;
    font-size: 16px;
    border: none;
    border-radius: 17px;
    cursor: pointer;
    box-sizing: border-box;
}
.double-btn1.gray1 { background: #F5F5F5; color: #333; }
.double-btn1.blue1 { background: #077FFF; color: white; }

/* 关键：去除按钮点击时的蓝色/高亮背景 */
.double-btn1.gray1:active {
    background-color: transparent; /* 覆盖点击时的背景色为透明 */
    -webkit-tap-highlight-color: transparent; /* 解决移动端点击高亮问题 */
    outline: none; /* 去除PC端点击时的默认轮廓（可选） */
}


/* 关键：去除按钮点击时的蓝色/高亮背景 */
.double-btn1.blue1:active {
    background-color: transparent; /* 覆盖点击时的背景色为透明 */
    -webkit-tap-highlight-color: transparent; /* 解决移动端点击高亮问题 */
    outline: none; /* 去除PC端点击时的默认轮廓（可选） */
}








.popup-button.gray2 {
    position: fixed; /* 改为固定定位，相对于浏览器窗口 */
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    width: 89%;
    padding: 13px;
    background-color: #EEEEEE;
    color: #333;
    font-size: 18px;
    font-weight: 440;
    border: none;
    border-radius: 17px;
    cursor: pointer;
}

/* 关键：去除按钮点击时的蓝色/高亮背景 */
.popup-button.gray2:active {
    background-color: transparent; /* 覆盖点击时的背景色为透明 */
    -webkit-tap-highlight-color: transparent; /* 解决移动端点击高亮问题 */
    outline: none; /* 去除PC端点击时的默认轮廓（可选） */
}

  .popup-button.blue2 {
    position: fixed; /* 改为固定定位，相对于浏览器窗口 */
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    width: 89%;
    padding: 13px;
    background-color: #077FFF;
    color: #333;
    font-size: 18px;
    font-weight: 440;
    border: none;
    border-radius: 17px;
    cursor: pointer;
}

/* 关键：去除按钮点击时的蓝色/高亮背景 */
.popup-button.blue2:active {
    background-color: transparent; /* 覆盖点击时的背景色为透明 */
    -webkit-tap-highlight-color: transparent; /* 解决移动端点击高亮问题 */
    outline: none; /* 去除PC端点击时的默认轮廓（可选） */
}







/* 加载进度条按钮样式 */

   .popup-button.gray2 {
            position: fixed !important;
            bottom: 45px !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
            width: 89% !important;
            font-size: 18px !important;
            font-weight: 440 !important;
            border: none !important;
            border-radius: 17px !important;
            cursor: pointer !important;
            text-align: center !important;
            z-index: 9999 !important;
            padding: 13px !important;
        }
        .start-btn {
            background-color: #077FFF !important;
            color: white !important;
        }
        .popup-button.gray2:active {
            background-color: transparent !important;
            -webkit-tap-highlight-color: transparent !important;
            outline: none !important;
        }
        .progress-container {
            background-color: #EEEEEE !important;
            padding: 13px 0 !important;
            overflow: hidden !important;
            position: relative !important;
        }
        .progress-bar {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 0%;
            background-color: #077FFF !important;
            transition: width linear;
            border-top-left-radius: 17px;
            border-bottom-left-radius: 17px;
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
        }
        .progress-text {
            position: relative;
            z-index: 2;
            pointer-events: none;
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
            background-image: linear-gradient(to right, white 0%, white 0%, #333 0%, #333 100%);
        }
        /* 更改隐藏类名为 progress-hidden，避免冲突 */
        .progress-hidden {
            display: none !important;
        }












/* 多个Toast样式（保持动画，统一基础样式，改为65%液态玻璃） */
.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    /* 仅替换背景为65%白液态玻璃，新增两行毛玻璃 */
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    color: #333;
    border-radius: 12px;
    /* 仅修改阴影，底部淡投影，无四周黑包围 */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.06);
    font-size: 15px;
    font-weight: 350;
    z-index: 99999999;
    display: none;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.toast.has-img {
    padding: 10px 16px;
}

.toast.no-img {
    padding: 12px 16px;
}

.toast .app-icon {
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    border-radius: 7px;
    object-fit: cover;
}

.toast .toast-text {
    line-height: 1.4;
}

/* 完全保留你原本的toast.show，没有改动任何选择器 */
.toast.show {
    display: flex;
    animation: fadeIn 0.3s ease-out, fadeOut 0.3s ease-in 2.7s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translate(-50%, 0); }
    to { opacity: 0; transform: translate(-50%, 20px); }
}








      
    
    
    
    
    
    
    
    
     /* 上拉弹窗css代码（已优化层级为最高级） */

 .overlay {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.5);
     /* 最高层级 */
     z-index: 9997;
 }
 .modal1 {
     position: fixed;
     bottom: 0;
     left: 0;
     width: 100%;
     height: 70%;
     background: #f5f5f5;
     border-top-left-radius: 20px;
     border-top-right-radius: 20px;
     box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
     transition: transform 0.3s ease-out;
     /* 比遮罩更高，确保弹窗在遮罩上面 */
     z-index: 9998;
     overflow: hidden;
     transform: translateY(100%);
 }
 .modal1.open1 {
     transform: translateY(0);
 }
 .handle {
     width: 50px;
     height: 5px;
     background: #ccc;
     border-radius: 5px;
     margin: 10px auto;
     touch-action: none;
 }
 .content1 {
     padding: 20px;
     overflow-y: auto;
     height: calc(100% - 30px);
     box-sizing: border-box;
 }
 
  
  
  
  
  
  
  

      
      /* 图片样式的css */
      
       
        /* 仅作用于类名为 image-container 的 div 内部的图片 */
        .image-container {
            /* 让 div 自身在页面中水平居中（可选，根据布局需求） */
            margin: 50px auto;
            /* 限制 div 宽度，避免图片过宽（可根据图片尺寸调整） */
            width: 100%;
            /* 若需 div 也有背景等样式，可在此添加，不影响图片核心需求 */
        }

        /* 核心样式：仅该 div 内的图片生效 */
        .image-container img {
            /* 图片在 div 内水平+垂直居中（需配合 div 的 text-align 和 line-height） */
            display: block; /* 消除图片默认inline的空隙 */
            margin: 0 auto; /* 水平居中 */
            /* 四周圆角15px */
            border-radius: 15px;
            /* 避免图片超出 div 范围 */
            max-width: 100%;
            height: auto;
        }
   
   
       /* 加载动画的css */
   
   
      
         .loader {
             width: 32px;
             height: 32px;
             position: relative;
         }
         .outer-ring {
             position: absolute;
             width: 100%;
             height: 100%;
             border: 3px solid #000;
             border-radius: 50%;
             box-sizing: border-box;
         }
         .rotate-track {
             position: absolute;
             width: calc(100% - 6px - 10px);
             height: calc(100% - 6px - 10px);
             top: 50%;
             left: 50%;
             transform: translate(-50%, -50%);
             animation: rotate 1.5s linear infinite;
         }
         /* 圆球尺寸微调至4.5px，轻微加粗 */
         .inner-dot {
             width: 4.5px;
             height: 4.5px;
             background: #000;
             border-radius: 50%;
             position: absolute;
             top: 0;
             left: 50%;
             transform: translate(-50%, -50%);
         }
         @keyframes rotate {
             from { transform: translate(-50%, -50%) rotate(0deg); }
             to { transform: translate(-50%, -50%) rotate(360deg); }
         }
     
   
   
   
   
   
      

      /* 滑块按钮的css */
         /* 滑块按钮布局及样式 */
        .toggle-wrapper {
            display: flex;
            align-items: center;
            justify-content: space-between;
          
        }

        .toggle-text {
            font-size: 16px;
            color: #333; /* 文字颜色 */
        }

        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 45px;
            height: 25.5px;
        }

        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc; /* 关闭时灰色 */
            transition: .4s;
            border-radius: 34px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 4px;
            bottom: 4px;
            background-color: white; /* 滑块白色 */
            transition: .4s;
            border-radius: 50%;
        }

        input:checked + .slider {
            background-color: #2196F3; /* 开启时蓝色 */
        }

        input:checked + .slider:before {
            transform: translateX(20px);
        }

        /* 禁用状态样式 */
        input:disabled + .slider {
            background-color: #dbdbdb;
            cursor: not-allowed;
        }

        input:disabled + .slider:before {
            background-color: #ebebeb;
        }