/* 文章末尾分享条（2026-11-22）
   只在挂了 .share-bar 的页面渲染，官网其余页面不受影响。
   不写任何 body / 全局选择器，避免污染既有布局。 */

.share-bar {
  margin: 28px 0 4px;
  padding: 20px 0 0;
  border-top: 1px solid #E6EAF0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.share-bar-t {
  font-size: 14px;
  color: #8A94A6;
  margin-right: 14px;
  letter-spacing: .5px;
  white-space: nowrap;
}
.share-bar-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.share-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 36px;
  padding: 0 15px 0 11px;
  margin: 0 10px 10px 0;
  border: 1px solid #E3E8EF;
  border-radius: 18px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  color: #3B4657;
  cursor: pointer;
  -webkit-transition: border-color .18s, box-shadow .18s, background-color .18s;
          transition: border-color .18s, box-shadow .18s, background-color .18s;
  outline: none;
  -webkit-appearance: none;
}
.share-btn:hover,
.share-btn:focus {
  border-color: #C6D1E0;
  background: #F7F9FC;
  box-shadow: 0 2px 8px rgba(20, 40, 80, .08);
}
.share-btn:active { background: #EFF3F9; }
.share-btn svg {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  display: block;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
/* 按钮左侧的品牌色细条，让图标在灰底上更跳 */
.share-btn.sb-wx   { border-left: 3px solid #07C160; padding-left: 9px; }
.share-btn.sb-wb   { border-left: 3px solid #E6162D; padding-left: 9px; }
.share-btn.sb-qq   { border-left: 3px solid #1EBAFC; padding-left: 9px; }
.share-btn.sb-cp   { border-left: 3px solid #B9C2CE; padding-left: 9px; }

/* ---------- 二维码弹层 ---------- */
.share-modal {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 99998;
  display: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: rgba(16, 24, 40, .55);
}
.share-modal.on { display: -webkit-box; display: -ms-flexbox; display: flex; }
.share-dialog {
  position: relative;
  width: 306px;
  max-width: 88vw;
  padding: 26px 24px 20px;
  border-radius: 14px;
  background: #fff;
  text-align: center;
  box-shadow: 0 20px 52px rgba(16, 24, 40, .26);
}
.share-dialog-h {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 600;
  color: #1F2A37;
}
.share-dialog-s {
  margin: 0 0 16px;
  font-size: 13px;
  color: #8A94A6;
}
.share-qr-box {
  width: 200px;
  height: 200px;
  margin: 0 auto 14px;
  border: 1px solid #EEF1F6;
  border-radius: 10px;
  background: #fff url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7) center no-repeat;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: hidden;
}
.share-qr-box img { width: 100%; height: 100%; display: block; }
.share-tip {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: #6B7686;
  text-align: left;
}
.share-tip b { color: #1F2A37; font-weight: 600; }
.share-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 22px;
  line-height: 28px;
  color: #A7B0BF;
  cursor: pointer;
  border-radius: 50%;
  -webkit-appearance: none;
}
.share-close:hover { color: #5A6577; background: #F2F5F9; }

/* 复制成功的小提示 */
.share-toast {
  position: fixed;
  left: 50%;
  bottom: 46px;
  z-index: 99999;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  padding: 9px 18px;
  border-radius: 20px;
  background: rgba(30, 40, 56, .9);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity .2s;
          transition: opacity .2s;
}
.share-toast.on { opacity: 1; }

@media (max-width: 767px) {
  .share-bar { margin-top: 22px; }
  .share-btn { height: 34px; padding: 0 12px 0 9px; font-size: 13px; }
  .share-btn svg { width: 16px; height: 16px; margin-right: 6px; }
}
