@charset "utf-8";

/* ==========================================================
   基础重置
   ========================================================== */
* {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    height: 100%;
}

body {
    height: 100%;
    background-color: #f5f5f5;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    padding-bottom: 76px;
    /* 预留底部悬浮条高度 */
}

img {
    border: 0;
    vertical-align: middle;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

/* ==========================================================
   布局（原 zui.css 只用到栅格，已精简合并进来）
   ========================================================== */
.wrap {
    max-width: 640px;
    margin: 0 auto;
    font-size: 16px;
}

.container {
    padding: 0 10px;
    margin: 0 auto;
}

.row {
    margin: 0 -10px;
    padding: 10px;
    background-color: #fff;
    margin-bottom: 10px;
}

.col-md-12 {
    width: 100%;
    float: left;
    min-height: 1px;
}

/* ==========================================================
   公众号头部
   ========================================================== */
.top {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    background: #f4f5f9;
    border: 1px solid #ccc;
    box-sizing: border-box;
    overflow: hidden;
}

.top_img {
    float: left;
    width: 130px;
    padding: 10px 10px 5px;
}

.top_img img {
    width: 100%;
    border: 1px solid #fff;
}

.top_title {
    width: 100%;
    line-height: 30px;
    padding-top: 20px;
}

.top_title .span1 {
    font-size: 22px;
    display: block;
}

.top_title .span2 {
    background: #ff7277;
    font-size: 10px;
    color: #fff;
    padding: 4px;
    border-radius: 5px;
    margin-left: 10px;
}

.top_title .span3 {
    color: #ccc;
}

.top_title .span3_1 {
    color: red;
}

/* ==========================================================
   正文
   ========================================================== */
.crumb {
    font-size: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e7e7eb;
    color: #607fa6;
}

p.date {
    width: 100%;
    text-align: left;
    color: #607fa6;
    font-size: 11px;
    margin-top: 10px;
}

p.date .border-radius {
    width: 40px;
    border: 1px solid #999;
    border-radius: 10px;
    text-align: center;
    font-size: 11px;
    display: inline-block;
}

.author {
    font-size: 16px;
    margin-bottom: 15px;
    color: #8c8c8c;
}

.p {
    font-size: 1em;
    line-height: 200%;
    padding: 10px;
    text-indent: 2em;
}

.p span.zd {
    color: #f00;
    font-weight: bolder;
}

.p img.emo {
    width: 20px;
    height: 20px;
    margin: -2px 2px 0;
    text-indent: 0;
}

.pic {
    width: 90%;
    margin: 1rem auto;
}

.pic img {
    width: 100%;
    display: block;
}

/* ==========================================================
   企业微信 CTA 按钮（获客助手）
   ========================================================== */
.cta {
    width: 90%;
    margin: 22px auto;
    text-align: center;
}

.cta-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #22d467, #07c160);
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(7, 193, 96, .32);
    -webkit-user-select: none;
    user-select: none;
    transition: transform .18s ease, box-shadow .18s ease;
    animation: cta-breath 2.4s ease-in-out infinite;
}

.cta-btn:active {
    transform: scale(.97);
    box-shadow: 0 3px 8px rgba(7, 193, 96, .3);
}

.cta-btn .sub {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 400;
    opacity: .9;
}

@keyframes cta-breath {
    0%, 100% { box-shadow: 0 6px 16px rgba(7, 193, 96, .32); }
    50% { box-shadow: 0 6px 24px rgba(7, 193, 96, .55); }
}

/* 正文中行内小按钮 */
.cta-inline {
    display: inline-block;
    padding: 2px 10px;
    margin: 0 2px;
    border: none;
    border-radius: 4px;
    background: #07c160;
    color: #fff;
    font-size: 15px;
    line-height: 1.8;
    cursor: pointer;
    vertical-align: baseline;
}

.cta-inline:active {
    background: #06ad56;
}

.cta-tip {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #9a9a9a;
    text-align: center;
}

/* ==========================================================
   底部悬浮条
   ========================================================== */
.fixed-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    max-width: 640px;
    margin: 0 auto;
    padding: 10px 12px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .08);
    display: flex;
    align-items: center;
    transform: translateY(110%);
    transition: transform .28s ease;
}

.fixed-bar.show {
    transform: translateY(0);
}

.fixed-bar__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex: 0 0 42px;
    margin-right: 10px;
    background: #07c160;
    color: #fff;
    font-size: 24px;
    line-height: 42px;
    text-align: center;
}

.fixed-bar__text {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}

.fixed-bar__text b {
    display: block;
    font-size: 15px;
    color: #333;
}

.fixed-bar__btn {
    flex: 0 0 auto;
    padding: 11px 18px;
    border: none;
    border-radius: 22px;
    background: linear-gradient(135deg, #22d467, #07c160);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(7, 193, 96, .3);
}

.fixed-bar__btn:active {
    opacity: .9;
}

/* ==========================================================
   阅读 / 点赞
   ========================================================== */
#zanlist {
    text-align: left;
    padding: 10px;
    color: #8c8c8c;
    font-size: 14px;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

#zanlist img {
    width: 21px;
    height: 21px;
    vertical-align: -4px;
}

#zanlist.have img {
    filter: grayscale(0);
    transform: scale(1.08);
}

/* ==========================================================
   评论区
   ========================================================== */
.comment-title {
    margin-top: 2em;
    text-align: center;
}

.comment-title span {
    display: inline-block;
    padding: 10px 18px;
    background: #07c160;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
    line-height: 2;
}

.comment {
    position: relative;
    padding-left: 45px;
    font-size: 16px;
    margin-top: 26px;
}

.comment__like {
    float: right;
    text-align: right;
    color: #8c8c8c;
    font-size: 14px;
    padding-top: 3px;
}

.comment__like img {
    width: 20px;
    height: 20px;
}

.comment__name {
    color: #999;
    font-weight: 400;
}

.comment__avatar {
    position: absolute;
    left: 0;
    top: 3px;
    width: 35px;
    height: 35px;
    border-radius: 2px;
    background-color: #ccc;
}

.comment__text {
    color: #3e3e3e;
    line-height: 1.5;
    word-break: break-word;
}

.comment__time {
    color: #bdbdbd;
    font-size: 13px;
}

.comment__reply {
    padding-top: .5em;
    padding-left: .4em;
    margin-top: .5em;
    border-top: 1px solid #eee;
}

.comment__reply-tag {
    display: inline-block;
    padding-left: 3px;
    color: #727272;
    border-left: 3px solid #02bb00;
    font-weight: 400;
}

.comment__reply-text {
    color: #3e3e3e;
    line-height: 1.5;
    padding-left: 5px;
    word-break: break-word;
}

.comment__reply-text img {
    width: 20px;
    height: 20px;
}

/* ==========================================================
   免责声明
   ========================================================== */
.disclaimer {
    padding: 14px 12px;
    margin-top: 10px;
    background: #fafafa;
    color: #9a9a9a;
    font-size: 12px;
    line-height: 1.7;
    text-align: left;
}

/* ==========================================================
   小屏适配
   ========================================================== */
@media screen and (max-width: 360px) {
    .p { font-size: 15px; }
    .cta-btn { font-size: 17px; }
    .top_title .span1 { font-size: 20px; }
}
