* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: "Helvetica Neue", Helvetica, "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    color: #333;
    background: #fff;
    padding-bottom: 10px;
    -webkit-text-size-adjust: 100%;
}
a { text-decoration: none; }
img { border: none; }
button, input, textarea { font-family: inherit; }
.container { width: 100%; margin: 0 auto; padding: 0 15px; }
@media (min-width: 768px) { .container { width: 750px; } }
@media (min-width: 992px) { .container { width: 970px; } }
@media (min-width: 1170px) { .container { width: 1170px; padding-left: 0; padding-right: 0; } }

.fl { float: left; }
.clearfix:before, .clearfix:after { display: table; content: ""; }
.clearfix:after { clear: both; }
.img-responsive { max-width: 100%; height: auto; display: block; }

.template-common .t-icon {
    background-color: #fff;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.template-common .t-icon img {
    width: 105px;
    height: 105px;
    border-radius: 30px;
    border: 1px solid #e5e5e5;
}
.template-common .template-btn-wrap { text-align: center; }
.ms-btn {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 0;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    background: none;
    border: 1px solid transparent;
}
.template-common .template-btn {
    color: #fff;
    background-color: #157df1;
    height: 50px;
    padding: 0 38px;
    line-height: 48px;
    font-size: 18px;
    margin: 0 auto 15px;
    display: inline-block;
}
.template-common .template-btn span:last-of-type { line-height: 50px; }
.template-common .template-btn .iconfont {
    font-size: 36px;
    margin-left: -5px;
    line-height: 50px;
}
.template-common .t-apply { color: #666; text-align: center; }
.template-common .t-code {
    color: #666;
    width: 200px;
    overflow: hidden;
    margin: 35px auto 0;
    text-align: center;
}
.template-common .t-code img,
#qrcode img,
#qrcode canvas {
    border: 1px solid #e5e5e5;
    width: 150px !important;
    height: 150px !important;
    margin: 0 auto 5px;
    display: block;
}
.template-common .t-name { color: #333; text-align: center; }
.template-common .t-name .name-info span { margin-right: 10px; color: #666; }
.template-common .t-name .tit { font-size: 28px; margin-bottom: 10px; margin-top: 15px; }
.template-common .t-introduce { color: #333; }
.template-common .t-introduce .tit { font-size: 20px; margin-top: 25px; }
.template-common .t-introduce p { margin-top: 5px; margin-bottom: 0; }
.template-footer { margin-top: 30px; }
.template-footer .t-footer { text-align: center; margin-top: 30px; padding-bottom: 30px; }
.template-footer .t-footer a { color: #157df1; }
.template-footer .t-footer a:hover { text-decoration: underline; }

.template-3 .t-bg-3 {
    background: url("../img/t-07.jpg") center;
    height: 160px;
}
.template-3 .content { margin-top: 20px; }

.guide-link { text-align: center; padding: 15px; }
.guide-link a { color: #157df1; font-size: 14px; }
.guide-link .hand {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: -2px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23157df1' d='M4 11l8-8 1.4 1.4L8.8 9H20v2H8.8l4.6 4.6L12 17z'/></svg>") center / contain no-repeat;
    transform: scaleX(-1);
}

#showtext { display: none; text-align: center; margin-top: 30px; }
#showtext .install-tip { color: #1abc9c; font-size: 14px; }
.loading {
    display: none;
    width: 45px;
    height: 45px;
    margin: 12px auto 0;
    border: 1px solid #1abc9c;
    border-radius: 50%;
    border-top-color: transparent;
    border-left-color: transparent;
    animation: rotate .6s linear infinite;
}
@keyframes rotate {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}

/* 微信 / QQ 内打开：与 567 分发页同一套遮罩 */
#weixin_ios, #weixin_android { display: none; }
.click_opacity {
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.6;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
}
.to_btn {
    position: fixed;
    top: 8px;
    right: 12px;
    left: 12px;
    z-index: 10001;
    font-family: "微软雅黑", "Microsoft YaHei", sans-serif;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.to_btn span { display: block; }
.to_btn img { height: auto; display: inline-block; }
.to_btn .span1 { margin-top: 0; line-height: 0; }
.to_btn .span1 img { width: 108px; height: auto; }
.to_btn .span2 {
    display: block;
    line-height: 34px;
    width: auto;
    max-width: 100%;
    margin: 8px 0 0;
    text-align: right;
    font-size: 16px;
}
.to_btn .span2 em {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #009dd9;
    color: #fff;
    font-size: 12px;
    text-align: center;
    line-height: 16px;
    border: 1px solid #fff;
    border-radius: 50%;
    margin-right: 3px;
    font-style: normal;
    vertical-align: 1px;
}
.to_btn .span2 img {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 0 5px;
    vertical-align: middle;
}
.to_btn .android_open img {
    display: inline-block;
    width: 150px;
    height: 34px;
}

.mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 20000;
}
.tip-modal {
    display: none;
    position: fixed;
    left: 50%;
    top: 28%;
    transform: translateX(-50%);
    width: 420px;
    max-width: calc(100% - 40px);
    background: #fff;
    border-radius: 6px;
    z-index: 20001;
    padding: 28px 22px;
    text-align: center;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
}
.sheet {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 560px;
    max-width: calc(100% - 30px);
    max-height: calc(100% - 40px);
    overflow: auto;
    background: #fff;
    border-radius: 6px;
    z-index: 20001;
    padding: 24px 22px 20px;
    color: #333;
}
.sheet h3, .sheet-tit {
    text-align: center;
    line-height: 40px;
    margin: 0 0 8px;
    font-size: 18px;
}
.sheet p { padding-top: 12px; line-height: 1.7; margin: 0; font-size: 14px; color: #444; }
.sheet-tips { color: #666 !important; }
.sheet-close, .btn-primary, .btn-ghost {
    border: 0;
    cursor: pointer;
    height: 40px;
    line-height: 40px;
    padding: 0 22px;
    font-size: 15px;
}
.sheet-close {
    display: block;
    margin: 18px auto 0;
    background: #157df1;
    color: #fff;
    border-radius: 4px;
}
.form-group { margin-top: 14px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; font-size: 14px; }
.form-group label span { color: #e74c3c; margin-left: 2px; }
.reason-list { list-style: none; margin: 0; padding: 0; overflow: hidden; }
.reason-list li {
    float: left;
    margin: 0 18px 8px 0;
    cursor: pointer;
    color: #333;
    font-size: 14px;
}
.icon-radio {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1px solid #ccc;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: -2px;
    position: relative;
}
.reason-list li.active .icon-radio { border-color: #157df1; }
.reason-list li.active .icon-radio:after {
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #157df1;
}
.form-group textarea, .form-group input[type="text"] {
    width: 100%;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 8px 10px;
    font-size: 14px;
    outline: none;
}
.form-group textarea { resize: vertical; }
.form-group .error { display: none; color: #e74c3c; font-size: 12px; margin-top: 4px; }
.form-group.form-error .error { display: block; }
.form-group.form-error textarea,
.form-group.form-error input { border-color: #e74c3c; }
.sheet-actions { margin-top: 16px; text-align: right; }
.btn-ghost { background: #fff; color: #666; border: 1px solid #e5e5e5; margin-right: 10px; }
.btn-primary { background: #157df1; color: #fff; }
.sheet-sm { width: 320px; text-align: center; }
.ok-mark {
    width: 46px;
    height: 46px;
    line-height: 46px;
    border-radius: 50%;
    background: #1abc9c;
    color: #fff;
    font-size: 26px;
    margin: 6px auto 8px;
}
.ok-title { font-weight: 700; font-size: 16px; padding-top: 4px !important; }
.ok-desc { color: #666 !important; }
.btn-block { display: block; width: 90px; margin: 16px auto 0; }

@media (max-width: 767px) {
    body { font-size: .28rem; }
    .template-3 .t-bg-3 {
        background: url("../img/t-08.jpg") center;
        height: .7rem;
        background-size: cover;
    }
    .template-3 .content { margin-top: 20px; }
    .template-3 .template-common .t-icon {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    }
    .template-3 .template-common .t-icon img {
        width: 65px;
        height: 65px;
        border-radius: 15px;
    }
    .template-common .t-name .tit {
        font-size: .4rem;
        font-weight: 600;
        margin-top: 10px;
        margin-bottom: 8px;
    }
    .template-common .t-name .name-info { font-size: .28rem; }
    .template-common .t-name .name-info span { color: #999; }
    .template-common .t-name .name-info span:last-of-type { display: block; }
    .template-common .t-apply { color: #999; font-size: .24rem; }
    .template-common .template-btn {
        padding: 0 35px;
        height: 40px;
        line-height: 38px;
        border-radius: 20px;
        font-size: .32rem;
        margin-top: 0;
        margin-bottom: .2rem;
    }
    .template-common .template-btn span:last-of-type { line-height: .8rem; }
    .template-common .template-btn .iconfont { font-size: 32px; line-height: .8rem; }
    .template-common .t-code { color: #999; font-size: .24rem; margin-top: 25px; width: 200px; }
    .template-common .t-code img,
    #qrcode img,
    #qrcode canvas {
        width: 130px !important;
        height: 130px !important;
    }
    .template-common .t-introduce .tit { font-size: .3rem; font-weight: 600; margin-bottom: 5px; }
    .template-common .t-introduce p { font-size: .24rem; }
    .template-footer { margin-top: 15px; }
    .template-footer .t-footer {
        margin-top: 0;
        margin-bottom: 20px;
        padding-bottom: .2rem;
        font-size: .24rem;
    }
    .guide-link { font-size: .28rem; }
    .sheet { padding: 18px 14px 16px; }
    .reason-list li { float: none; display: block; line-height: 28px; }
}
