@charset "utf-8";
/* CSS Document */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Microsoft YaHei",sans-serif;
}
/* 页眉外层容器 */
.header{
    width:100%;
    height:120px;
    background:#fff;
    border-bottom:1px solid #eee;
    display:flex;
    align-items:center;
    justify-content:center;
}
/* 内容固定宽度容器（控制整体居中，不贴边） */
.header-box{
    width:1200px;
    max-width:94%;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
/* 左侧logo+公司名区域 */
.header-left{
    display:flex;
    align-items:center;
    gap:15px;
}
/* logo样式 */
.logo{
    width:80px;
    height:80px;
    object-fit:contain;
}
/* 公司名称 */
.company-name{
    font-size:36px;
    font-weight:bold;
    font-family:"华文行楷";
    color:#333;
    white-space:nowrap; /* 强制文字不换行 */
}
/* 右侧咨询热线区域 */
.header-right{
    display:flex;
    align-items:center;
    gap:12px;
    white-space:nowrap; /* 整体不换行 */
}
/* 电话图标 */
.phone-icon{
    font-size:32px;
    color:#333;
}
/* 热线文字区域 */
.phone-wrap{
    line-height:1.2;
    text-align:center;
}
/* 热线标题 */
.phone-txt{
    font-size:20px;
    color:#666;
}
/* 手机号 */
.phone-num{
    font-size:32px;
    font-weight:bold;
    color:#0066ff;
}

/* ========== 移动端关键适配：手机端强制一行 ========== */
@media (max-width:768px){
    .header{
        height:auto;
        padding:12px 0;
    }
    .header-box{
        flex-direction:row !important; /* 强制横向一行，不换行 */
        flex-wrap:nowrap; /* 禁止换行 */
        gap:10px;
    }
    /* 缩小logo */
    .logo{
        width:40px;
        height:40px;
    }
    /* 缩小公司名 */
    .company-name{
        font-size:15px;
    }
    /* 缩小电话图标 */
    .phone-icon{
        font-size:15px;
    }
    /* 缩小热线标题 */
    .phone-txt{
        font-size:10px;
    }
    /* 缩小手机号 */
    .phone-num{
        font-size:13px;
    }
    /* 缩小左右间距 */
    .header-left{
        gap:6px;
    }
    .header-right{
        gap:5px;
    }
}


/**
*首行导航栏
*/	
.run {
			background-color:#2b3f78;
			width:100%;
		}
        nav {
            background-color: #2b3f78;
			width:100%;
			margin: 0 auto;
			position: relative; /* 必须加 */
    		z-index: 9999;      /* 必须加，让导航永远在最上层 */         
		}

        nav ul {
            list-style-type: none;
            display: flex;
            justify-content: space-around;
            flex-wrap: nowrap; /*强制不换行*/
			font-size:24px;
			padding: 0;
			margin: 0;
        }

        nav ul li {
            flex: 1; /* 让所有 li 等分剩余空间，自动缩小 */
            min-width: 0; /* 允许内容被压缩 */
            text-align: center;
        }

        nav ul li a {
            display: block;
            color: white;
            text-align: center;
            padding: 14px 8px;
            text-decoration: none;
            white-space: nowrap; /* 文字不换行 */
            overflow: hidden; /* 防止文字溢出 */
        }

        nav ul li a:hover {
            background-color: #ddd;
            color: black;
        }
		
		/* 新增：下拉菜单容器样式 */
        .dropdown {
            position: relative;
        }
        .dropdown-content {
            display: none; /* 默认隐藏 */
            position: absolute;
            top: 100%; /* 紧贴导航栏下方 */
            left: 0;
            width: 100%; /* 宽度和导航栏li一致 */
            background-color: #2b3f78;
            z-index: 999999; /* 确保在最上层 */
        }
        .dropdown-content a {
            font-size: 1.2vw; /* 下拉菜单文字比导航栏小 */
            padding: 10px 4px; /* 内边距适配 */
			overflow: hidden;   
			text-overflow: ellipsis; /* 极端情况才显示省略号，一般不会触发 */
            white-space: nowrap;
            text-align: center;
            border-bottom: 1px solid rgba(255,255,255,0.1); /* 可选：分隔线 */
        }
        /* 鼠标悬浮显示下拉菜单 */
        .dropdown:hover .dropdown-content {
            display: block;
        }
        /* 下拉菜单hover效果 */
        .dropdown-content a:hover {
            background-color: #ddd;
            color: black;
        }

        /* 滑动效果的样式 */
       .slider {
            position: relative;
            height: 4px;
            background-color: white;
            transition: left 0.2s ease;
        }
        @media (max-width: 768px) {
          nav ul {
            font-size: 14px; /* 移动端缩小字体 */
          }
          nav ul li a {
            padding: 12px 4px; /* 进一步减小内边距 */
          }
		  /* 下拉菜单移动端文字大小 */
          .dropdown-content a {
            font-size: 1.0vw; /* 比导航栏文字小 */
            padding: 8px 3px;
          }
        }
        
        @media (max-width: 480px) {
          nav ul {
            font-size: 12px; /* 更小屏幕再缩小 */
          }
		  /* 下拉菜单超小屏文字大小 */
          .dropdown-content a {
            font-size: 0.9vw;
            padding: 6px 2px;
          }
        }

.pro {
	width:100%;
	height:390px;
 	background-color:#F8F8F8;
	background:url(../image/产品中心/首页/未标题-3.jpg) no-repeat;
	background-size: cover; /*将元素填满同时保证图片尺寸不变形*/
	background-position: 50%;
}
/*平板*/
@media screen and (max-width:1024px){
  .pro{height:320px;}
}
/*手机端*/
@media screen and (max-width:768px){
  .pro{height:200px;}
}

 
 
/*位置*/
    .top-nav {
            background: #2b3f78;
            color: #fff;
            padding: 12px 0;
            font-size: 12px;
            position: relative;
            z-index: 9999;
        }
        .top-nav-inner {
            width: 98%;
            max-width: 1920px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .breadcrumb {
            color: #fff;
        }
        .breadcrumb a {
            color: #fff;
            text-decoration: none;
        }
        .breadcrumb span {
            margin: 0 5px;
            color: #ccc;
        }
        .menu-toggle {
            display: none;
            font-size: 22px;
            cursor: pointer;
            padding: 0 10px;
            z-index: 10000; /* 确保图标在最上层 */
        }
        
        
	/*主体部分*/
        .container {
            width: 95%;            
            max-width: 1920px;            
            margin: 15px auto;            
            padding: 0 0px;            
            display: flex;            
            gap: 20px;            
            align-items: flex-start;            
            position: relative;            
            min-height: calc(100vh - 30px);
            background: #f5f5f5;
        }
        
/*产品分类*/
.left {
    width: 280px;
    margin-right: 35px;
	margin-bottom:20px;
    position: sticky;
    top: 15px;
    /* 关键修复：允许滚动 + 隐藏滚动条但能滚 */
    overflow-y: auto !important;
    overflow-x: hidden !important;
    
    /* 隐藏滚动条（兼容所有浏览器） */
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
    z-index: 999;
}
/* 隐藏滚动条核心样式 */
.left::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

       .aside-nav {
            width: 100%;
            background-color: #ffffff;
            color: #2b3f78;
            border-radius: 12px;
            box-shadow: 0 3px 15px rgba(0,0,0,0.08);
            overflow: hidden;
        }
        .nav-title {
            height: 62px;
            line-height: 62px;
            text-align: center;
            font-size: 24px;
            font-weight: bold;
            background-color: #2b3f78;
            color: #fff;
        }
        .nav-list .parentNav {
            height: 54px;
            line-height: 54px;
            padding: 0 22px;
            font-size: 22px;
            background: #fff;
            border-bottom: 1px solid #f0f0f0;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .nav-list .parentNav:hover,
        .nav-list .item.actives .parentNav {
            background-color: #f0f4ff;
            padding-left: 28px;
        }
        .parentNav a {
            color: #2b3f78;
            text-decoration: none;
            flex: 1;
        }
        .nav-arrow {
            color: #999;
            font-style: normal;
            padding: 0 5px;
            font-size: 16px;
        }
        .item.actives .nav-arrow {
            transform: rotate(180deg);
        }
        .subNav {
            display: none;
            background: #f9f9f9;
            transition: none !important;
        }
        .item.actives .subNav {
            display: block;
        }
        .subNav li a {
            display: block;
            height: 46px;
            line-height: 46px;
            padding-left: 42px;
            font-size: 18px;
            color: #555;
            text-decoration: none;
            padding-left: 42px !important;
        }
        .subNav li a:hover {
            background: #e3ecff;
            color: #2b3f78;
        }
        ul {
            list-style: none;
        }
        @media (max-width: 1100px) and (min-width: 769px) {
            .left {
                width: 240px !important;
                margin-right: 20px !important;
                max-height: calc(100vh - 30px) !important;
            }
            .nav-title {
                font-size: 18px !important;
                height: 56px !important;
                line-height: 56px !important;
            }
            .nav-list .parentNav {
                font-size: 16px !important;
                height: 50px !important;
                line-height: 50px !important;
            }
            .subNav li a {
                font-size: 15px !important;
                height: 44px !important;
                line-height: 44px !important;
            }
        }
        @media (min-width: 769px) {
            .left {
                width: 280px;
                margin-right: 35px;
                position: sticky !important;
                top: 15px !important;
                max-height: calc(100vh - 30px) !important;
            }
            .main-wrapper {
                overflow: hidden;
            }
            .top-tabs {
                display: none;
            }
        }

/* 侧边栏文章资讯模块样式 */
.left-news {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #eee;
}
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.news-list li {
    line-height: 28px;
    border-bottom: 1px dashed #eee;
    padding: 2px 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.news-list li a {
    color: #666;
    text-decoration: none;
}
.news-list li a:hover {
    color: #0066cc;
}
.publish-time {
    font-size: 12px;
    color: #999;
    margin-left: 10px;
}
.no-news {
    color: #999;
    text-align: center;
}






		/*产品介绍*/
        .right-content {
            flex: 1;
            background: #fff;
            padding: 20px;
            border: 1px solid #eee;
            margin-bottom: 20px;
        }
		/*产品展示部分*/
        .product-top {
            display: flex;
            gap: 30px;
            margin-bottom: 30px;
            align-items: stretch;
        }
		/*轮播图*/
        .slider-box {
            width: 55%;
            position: relative;
            border: 1px solid #eee;
        }
        .slider-main {
            width: 100%;
            aspect-ratio: 4 / 3;
            overflow: hidden;
        }
        .slider-main img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: none;
        }
        .slider-main img.actives {
            display: block;
        }
        .slider-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background: rgba(0,0,0,0.3);
            color: #fff;
            text-align: center;
            line-height: 40px;
            cursor: pointer;
            z-index: 10;
        }
        .prev { left: 0; }
        .next { right: 0; }
		
		/*产品简单介绍*/
        .product-info {
            width: 45%;
            line-height: 2;
            font-size: 15px;
            display: flex;
            flex-direction: column;
        }
        .product-info h1 {
            font-size: 24px;
            color: #2b3f78;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px dashed #eee;
        }
        .info-block {
            margin-bottom: 12px;
        }
        .info-block strong {
            color: #2b3f78;
            font-size: 16px;
        }

        .contact-info {
            margin: 15px 0;
            font-size: 14px;
            line-height: 1.8;
        }
        .contact-item {
            display: flex;
            align-items: center;
            margin: 8px 0;
        }
        .contact-icon {
            font-size: 24px;
            margin-right: 10px;
            color: #000;
        }
        .contact-label {
            margin-right: 8px;
        }
        .contact-value {
            font-size: 18px;
            font-weight: bold;
            color: #0066cc;
        }
		
        .btn-group {
            margin-top: auto;
            display: flex;
            gap: 15px;
        }
        .btn {
            padding: 10px 22px;
            background: #2b3f78;
            color: #fff;
            border: none;
            border-radius: 4px;
            font-size: 15px;
            cursor: pointer;
        }
        .btn:hover {
            background: #1f2f5b;
        }

        .product-detail {
            margin: 30px 0;
        }
        .detail-title {
            font-size: 18px;
            color: #fff;
            background: #2b3f78;
            padding: 10px 15px;
            margin-bottom: 15px;
        }
        .detail-content {
            font-size: 15px;
            line-height: 1.9;
            color: #444;
        }
.detail-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 15px auto 20px; /* 上下外边距 + 居中 */
    border: 1px solid #eee;
    border-radius: 4px;
}
        /*文章内表格手机横向滚动*/
.product-detail .detail-content table{
  width:100%;
  border-collapse:collapse;
}
.product-detail .detail-content table th,
.product-detail .detail-content table td {
  /* clamp(最小字号, 动态计算值, 最大字号) */
  font-size: clamp(12px, 2vw, 16px);
  padding: clamp(6px, 1vw, 8px) clamp(8px, 1.5vw, 12px);
  word-break: break-word;
}
@media screen and (max-width:768px){
  .product-detail .detail-content{
    overflow-x:auto;
  }
  .product-detail .detail-content table{
    min-width:300px;
   }
   .detail-img {
       height: 200px; /* 移动端降低图片高度 */
        font-size: 18px;
        margin-bottom: 10px;
   }
}
        
		/*应用场景*/
        .scene {
            margin: 30px 0;
        }
        .scene-title {
            font-size: 18px;
            color: #fff;
            background: #2b3f78;
            padding: 10px 15px;
            margin-bottom: 15px;
        }
        .scene-content {
            display: flex;
            gap: 25px;
            align-items: center;
        }
        .scene-text {
            flex: 1;
            font-size: 15px;
            line-height: 2;
            color: #444;
        }
        
        .scene-img {
            width: 42%;
            aspect-ratio: 4/3;
            object-fit: cover;
            border: 1px solid #eee;
            border-radius: 4px;
        }
        
/* 案例容器：PC端两列，移动端自动切换单列 */
.case-container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px; /* 左右留边，防止手机上贴边 */
    flex-wrap: wrap; /* 自动换行，超出自动下一行 */
}

/* 单个案例卡片 */
.case-card {
    /* 一行2个，减去间隙平分宽度 */
    flex: 0 0 calc(50% - 15px);
    box-sizing: border-box;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
}

/* 图片样式：自适应卡片宽度 */
.case-img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
    border-radius: 4px;
}

/* 标题样式 */
.case-title {
    font-size: 22px;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 段落样式 */
.case-text p {
    margin: 10px 0;
    line-height: 1.6;
    font-size: 16px;
}

/* ========== 移动端适配：屏幕宽度小于768px时生效 ========== */
@media (max-width: 768px) {
    .case-container {
        flex-direction: column; /* 两列变单列 */
        gap: 20px; /* 卡片之间的间距缩小 */
    }

    .case-card {
        flex: 0 0 100%; /* 移动端占满整行 */
        padding: 15px; /* 卡片内边距缩小 */
    }

    .case-title {
        font-size: 18px; /* 标题字号缩小 */
    }

    .case-text p {
        font-size: 14px; /* 正文字号缩小，更适合手机阅读 */
    }
}
        
.evidence-section {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
}

/* 单个卡片样式 */
.evidence-card {
    flex: 1;
    border: 1px dashed #ccc; /* 虚线边框，和截图一致 */
    padding: 20px;
    text-align: center;
}

/* 图片占位/显示区域 */
.evidence-img {
    width: 100%;
    height: 300px; /* 可根据需要调整高度 */
    background-color: #e0e0e0; /* 灰色占位背景 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 24px;
    margin-bottom: 30px;
}

/* 标题样式 */
.evidence-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* 正文文字 */
.evidence-text {
    font-size: 20px;
    line-height: 1.8;
    color: #333;
}

/* ========== 移动端适配 ========== */
@media (max-width: 768px) {
    .evidence-section {
        flex-direction: column; /* 两列变单列 */
        gap: 20px;
    }

    .evidence-card {
        padding: 15px;
    }

    .evidence-img {
        height: 200px; /* 移动端降低图片高度 */
        font-size: 18px;
        margin-bottom: 20px;
    }

    .evidence-title {
        font-size: 22px;
    }

    .evidence-text {
        font-size: 16px;
    }
}

 
        /*产品特点*/
        .product-features {
            margin: 30px 0;
        }
        .features-title {
            font-size: 18px;
            color: #fff;
            background: #2b3f78;
            padding: 10px 15px;
            margin-bottom: 20px;
        }
        .features-content ol {
          margin: 18px 0;
          padding-left: 16px;
          color: #444;
          font-size: 16px;
          font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
          line-height: 2;
          list-style-type: decimal;
        }
        
        .features-content ol li {
          margin-bottom: 10px;
        }
        
         
		/*相关产品*/
        .related-products {
            margin-top: 40px;
        }
        .related-title {
            font-size: 18px;
            color: #fff;
            background: #2b3f78;
            padding: 10px 15px;
            margin-bottom: 20px;
        }
        .related-list {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }
        .related-item {
            width: calc(25% - 15px);
            text-align: center;
            border: 1px solid #eee;
            padding: 10px;
            background: #fff;
			box-sizing: border-box;
        }
        .related-item img {
            width: 100%;
            aspect-ratio: 4/3;
            object-fit: cover;
            margin-bottom: 8px;
        }
        .related-item p {
            font-size: 14px;
            color: #333;
            margin-bottom: 8px;
        }
        .detail-link {
            display: inline-block;
            font-size: 15px;
            color: #2b3f78;
            font-weight: 500;
            cursor: pointer;
            padding: 4px 0;
        }
        .detail-link:hover {
            color: #1f2f5b;
        }

/* ====================== 只修改移动端 ====================== */
@media (max-width: 992px) {
  /* 显示图标 */
  .menu-toggle {
    display: block !important;
    position: relative;
    z-index: 99999 !important;
  }

  /* 左侧产品分类 → 移动端变成弹出层 */
  .left {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 85% !important;
    height: 100vh !important;
    background: #fff !important;
    z-index: 9999 !important;
    margin: 0 !important;
    padding-top: 60px !important;
    overflow-y: auto !important;
  }

  /* 弹出显示 */
  .left.show {
    display: block !important;
  }

  /* 遮盖层 */
  .menu-mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
  }
  .menu-mask.show {
    display: block;
  }

  /* 下面是你原有布局，我不动 */
  .container {
    flex-direction: column;
    align-items: unset;
    min-height: auto;
  }
  .product-top {
    flex-direction: column;
  }
  .slider-box, .product-info {
    width: 100%;
  }
  .scene-content {
    flex-direction: column;
  }
  .scene-img {
    width: 100%;
  }
  .adv-item {
    width: 100%;
  }
  .related-item {
    width: calc(50% - 10px);
  }
}



/* FAQ卡片容器 所有问答同级独立 */
.faq-box{background:#fff;border-radius:8px;overflow:hidden;border:1px solid #eee;margin-bottom:12px;}
/* 问题栏样式 */
.faq-que{width:100%;padding:18px 20px;background:#fff;border:none;text-align:left;font-size:16px;font-weight:500;color:#223;cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:all 0.3s;}
.faq-que:hover{background:#f0f7ff;}
.faq-que i{color:#1976d2;transition:transform 0.3s;}
/* 答案栏样式 默认隐藏 */
.faq-ans{padding:0 20px;height:0;overflow:hidden;font-size:15px;line-height:1.8;color:#555;background:#fafdff;transition:all 0.3s ease;}
.faq-ans-inner{padding-bottom:18px;}
/* 展开激活类 */
.faq-active .faq-que{background:#f0f7ff;}
.faq-active .faq-ans{padding-top:18px;height:auto;}
.faq-active i{transform:rotate(180deg);}
/* 序号标红优化 */
.faq-num{color:#1976d2;font-weight:bold;margin-right:6px;}



 /* 底栏整体 */
        footer{
            background-color:#33383f;
            color:#ffffff;
            padding:60px 80px 30px;
        }

        /* 上半部分：三栏信息区 */
        .foot-main{
            display:flex;
            justify-content:space-between;
            flex-wrap:wrap;
            gap:20px;
            margin-bottom:40px;
        }
        .foot-left,.foot-center,.foot-right{
            width:32%;
        }
        .foot-left h3,.foot-center h3,.foot-right h3{
            font-size:24px;
            margin-bottom:25px;
        }
        .foot-left p{
            font-size:16px;
            line-height:2.2;
            margin-bottom:8px;
        }
        .wechat-qrcode{
            margin-top:20px;
        }
        .wechat-qrcode img{
            width:100px;
            height:100px;
        }
        .wechat-qrcode span{
            display:block;
            font-size:14px;
            margin-top:8px;
        }
        .foot-center a{
            display:block;
            color:#fff;
            text-decoration:none;
            font-size:16px;
            line-height:2.2;
            margin-bottom:8px;
        }
        .foot-center a:hover{
            color:#a0cfff;
        }
        .foot-right a{
            display:block;
            color:#fff;
            text-decoration:none;
            font-size:16px;
            line-height:1.5;
            margin-bottom:8px;
        }
        .foot-right a:hover{
            color:#a0cfff;
        }

        /* ========== 版权区（你要的效果在这里） ========== */
        .foot-copyright{
            text-align:center;
            border-top:1px solid rgba(255,255,255,0.15);
            padding-top:25px;
            font-size:15px;
            line-height:2.2;
        }
        /* 所有链接默认：白色，无下划线 */
        .foot-copyright a{
            color:#ffffff !important;
            text-decoration:none !important;
            margin:0 6px;
            transition:all 0.3s;
        }
        /* 鼠标悬浮：浅蓝色 */
        .foot-copyright a:hover{
            color:#a0cfff !important;
        }
        .police-icon{
            width:18px;
            height:18px;
            vertical-align:middle;
            margin:0 4px;
        }

        /* ========== 移动端适配 ========== */
        @media (max-width:768px){
            footer{padding:30px 20px 20px;}
            .foot-main{flex-direction:column;}
            .foot-left,.foot-center,.foot-right{width:100%;margin-bottom:25px;}
            .foot-left h3,.foot-center h3,.foot-right h3{font-size:20px;margin-bottom:15px;}
            .wechat-qrcode img{width:80px;height:80px;}
            .foot-copyright{font-size:14px;line-height:2;}
        }
        
        
/* 右侧悬浮容器 */
    .float-sidebar {
      position: fixed;
      right: 15px;
      top: 50%;
bottom: 30px;
z-index: 9999999;
      display: flex;
      flex-direction: column;
      gap: 8px; /* 按钮间距再缩小 */
    }

    /* 单个按钮盒子 再次缩小 */
    .float-btn {
      width: 48px;
      height: 48px;
      background: rgba(255, 255, 255, 0.5);
      border-radius: 10px;
      box-shadow: 0 1px 6px rgba(0,0,0,0.05);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      position: relative;
      transition: all 0.2s;
      backdrop-filter: blur(2px);
    }
    .float-btn:hover {
      background: rgba(255, 255, 255, 0.98);
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    /* SVG图标整体缩小 */
    .float-icon {
      width: 28px;
      height: 28px;
      fill: none;
      stroke: #666;
      stroke-width: 2.2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    /* 文字提示弹窗 */
    .tip-text {
      position: absolute;
      right: 58px;
      padding: 6px 12px;
      background: #333;
      color: #fff;
      border-radius: 5px;
      white-space: nowrap;
      opacity: 0;
      visibility: hidden;
      transition: 0.2s;
      pointer-events: none;
      font-size: 12px;
    }
    .float-btn.active .tip-text {
      opacity: 1;
      visibility: visible;
    }

    /* 微信二维码弹窗同步缩小 */
    .tip-qrcode {
      position: absolute;
      right: 58px;
      padding: 8px;
      background: rgba(255,255,255,0.1);
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      text-align: center;
      opacity: 0;
      visibility: hidden;
      transition: 0.2s;
      pointer-events: none;
      width: 120px;
    }
    .float-btn.active .tip-qrcode {
      opacity: 1;
      visibility: visible;
    }
    .tip-qrcode img {
      width: 100%;
      display: block;
      border-radius: 4px;
    }
    .tip-qrcode p {
      margin-top: 4px;
      color: #666;
      font-size: 10px;
    }

    /* 箭头旋转 */
    .arrow-icon {
        transition: transform 0.3s ease;
        transform: rotate(180deg); /* 默认向下 */
    }
    .arrow-icon.up {
        transform: rotate(0deg); /* 滑到底部恢复向上 */
    }
   @media screen and (max-width: 768px) {
  /* 正文取消右侧留白，手机空间小 */
  body {
    padding-right: 0;
  }

  /* 侧边栏右下角适配 */
  .float-sidebar {
    right: 8px;
    bottom: 20px; /* 手机底部距离缩小 */
    gap: 6px;
  }

  /* 按钮进一步缩小，适配手机 */
  .float-btn {
    width: 40px;
    height: 52px;
    border-radius: 8px;
  }

  /* 图标同步缩小 */
  .float-icon {
    width: 22px;
    height: 22px;
    stroke-width: 2;
  }

  /* 文字弹窗距离按钮更近，缩小内边距字号 */
  .tip-text {
    right: 48px;
    padding: 4px 8px;
    font-size: 10px;
  }

  /* 二维码弹窗缩小宽度 */
  .tip-qrcode {
    right: 48px;
    width: 100px;
    padding: 6px;
  }
  .tip-qrcode p {
    font-size: 9px;
    margin-top: 2px;
  }
}

/* 超小手机屏幕 ≤480px 再压缩 */
@media screen and (max-width: 480px) {
  .float-sidebar {
    right: 5px;
    bottom: 15px;
  }
  .float-btn {
    width: 36px;
    height: 46px;
  }
  .float-icon {
    width: 20px;
    height: 20px;
  }
  .tip-qrcode {
    width: 90px;
  }
}