@charset "UTF-8";
/**
 *
 * m_base.css
 *
 * @authors leiTingGame-Tp
 * @date    2021-03-10
 * @version v2021
 *
 */
 @charset "utf-8";
* {margin: 0;padding: 0;outline: none;border: 0;}
body {font-size: .24rem;font-family: "Microsoft YaHei";-webkit-text-size-adjust: none;-webkit-user-select: none;-webkit-tap-highlight-color: transparent;}
ul,ol,li{ list-style:none;}
i, em{ font-style:normal;}
img{ border:none;vertical-align:top;}
a {text-decoration: none;-webkit-tap-highlight-color: transparent;color:#000;}
input {outline: none;-webkit-appearance: none;border-radius:0;}
select:focus{ outline: none;}
textarea{ outline:none; resize:none;}
button,optgroup,select,textarea{-webkit-tap-highlight-color:rgba(0,0,0,0);}
input,
textarea {
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
    -webkit-appearance: none;
    appearance: none;
}
video { outline: none }

.fl{ float:left;}
.fr{ float:right;}
.pr { position:relative;}
.pa { position:absolute;}
.hid{ display: none !important;}
.clearfix:after{content:""; display:block; clear:both;}
.clearfix{zoom:1;} 

.bg_auto{ width: 100%;}
.m_body{ max-width: 640px; margin: 0 auto; box-shadow: 0 0 5px #000;}

/*footer*/
.footer{ background-color: #000; color: #b1b1b1; line-height: .3rem; text-align: center; padding: .3rem; }
.footer a{ color: #b1b1b1;}

/*极验调整*/
.LT_popup .geetest_holder.geetest_wind{ min-width: 246px;}

/*阿里验证调整*/
.sm-pop{ left: 0 !important; top: 0 !important; height:100% !important; line-height:100% !important; box-sizing:border-box; width: 100% !important; overflow: hidden;}
.sm-pop-inner{top: 4px !important;left: 50% !important;margin-left: -150px !important;}
.sm-btn{ box-sizing:border-box; height: 100%;}
#rectMask{ display: none !important;}


        /* 全局样式重置 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: Arial, sans-serif;
            height: 200vh; /* 用于测试滚动效果 */
            background-color: #f5f5f5;
        }

        /* 悬浮客服按钮样式 */
        .float-service {
            position: fixed;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            z-index: 1000;
            /* 保持简单的过渡效果 */
            transition: transform 0.3s ease;
        }

        .float-service img {
            /* 使用图片实际大小，移除所有边框和阴影 */
            width: 60px;
            height: 160px;
            display: block;
            border: none;
            outline: none;
            box-shadow: none;
        }

        .float-service:hover {
            transform: translateY(-50%) scale(1.05);
            /* 移除hover时的阴影 */
            box-shadow: none;
        }

        /* 二维码弹窗样式 */
        .qr-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1100;
        }

        .qr-modal.active {
            display: flex;
        }

        .qr-content {
            background-color: #ffffff;
            padding: 20px;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: scale(0.8);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .qr-image {
            width: 200px;
            height: 200px;
            margin-bottom: 15px;
            border: 2px solid #f0f0f0;
            border-radius: 8px;
            /* 确保图片正确显示 */
            display: block;
            object-fit: cover;
        }

        .qr-title {
            font-size: 18px;
            font-weight: bold;
            color: #333333;
            margin-bottom: 10px;
        }

        .qr-desc {
            font-size: 14px;
            color: #666666;
            margin-bottom: 20px;
        }

        .close-btn {
            background-color: #07C160;
            color: #ffffff;
            border: none;
            padding: 10px 20px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s ease;
        }

        .close-btn:hover {
            background-color: #06b355;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .float-service {
                /* 在移动端仍保持图片实际大小 */
                width: auto;
                height: auto;
                right: 10px;
            }

            .qr-image {
                width: 150px;
                height: 150px;
            }

            .qr-content {
                padding: 15px;
            }
        }
