
/* =================================
   1. 全局设置
================================= */

* {
    user-select: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =================================
   2. 页面基础设置
================================= */

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

body {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
}

/* =================================
   3. 图片自适应
================================= */

img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* =================================
   4. 客服悬浮按钮
================================= */

.kf {
    position: fixed;
    top: 230px;
    right: max(0px, calc((100vw - 750px) / 2));
    z-index: 9999;
}

.kf .floatright {
    width: 80px !important;
    height: auto !important;
}

/* =================================
   5. 底部下载栏
================================= */

.fullpages-footer {
    position: fixed !important;
    bottom: 0 !important;
    width: 100%;
    max-width: 750px;
    height: 84px;
    left: 50% !important;
    transform: translateX(-50%);
    z-index: 1100;
    overflow: hidden;
    color: #fff;
    background: url(../images/top@bg.png) no-repeat center / cover;
}

/* =================================
   6. 底部图标
================================= */

.fullpages-footer img {
    width: 42px;
    height: 42px;
    float: left;
    display: block;
    border-radius: 5px;
    margin: 20px 5px 5px 10px;
}

/* =================================
   7. 底部文字链接
================================= */

.fullpages-footer a {
    padding: 4px 5px;
    color: #ff3e6a;
    font-weight: 600;
    border-radius: 13px;
    text-decoration: none;
    font-size: 15px;
    margin-right: 2px;
    background: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 0 6px #fff;
    display: none;
}

/* =================================
   8. 底部下载按钮
================================= */

.fullpages-footer a.start-btn {
    background-color: #ff3e6a;
    box-shadow: 0 0 6px #ff3e6a;
    color: #fff;
}

/* =================================
   9. 底部说明文字
================================= */

.fullpages-footer p {
    margin-top: 22px;
    font-size: 13px;
    margin-bottom: 5px;
    display: block;
    width: 130px;
    line-height: 35px;
    float: left;
    font-weight: bold;
}

/* =================================
   10. 底部按钮区域
================================= */

.fullpages-footer-btn {
    float: left;
    width: calc(100% - 192px);
    padding-top: 27px;
    text-align: right;
}

/* =================================
   11. 手机端适配
   页面宽度：100%
================================= */

@media screen and (max-width: 767px) {

    body {
        width: 100%;
        max-width: 750px;
    }

    .fullpages-footer {
        width: 100%;
        max-width: 750px;
    }

    .kf {
        right: 0;
    }

}

/* =================================
   12. 电脑端适配
   页面宽度：屏幕的 30%
================================= */

@media screen and (min-width: 768px) {

    body {
        width: 30%;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .fullpages-footer {
        width: 30%;
        max-width: none;
        left: 50% !important;
        transform: translateX(-50%);
    }

    .kf {
        right: 35%;
    }

}
