/* 高流量文章留存增强 v20260615 */
.art-retention-progress {
  position: fixed;
  top: 55px;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 9990;
  background: linear-gradient(90deg, #10B981, #059669);
  transition: width 0.12s linear;
  pointer-events: none;
}

body.blog-hub-page .art-retention-progress,
body.compact-business .art-retention-progress,
body.news-article-page .art-retention-progress {
  top: 55px;
}

.art-share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 12px 16px;
  margin: 16px 0 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13px;
}

.art-share-bar__label {
  color: #64748b;
  font-weight: 600;
  margin-right: 4px;
}

.art-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.art-share-btn:hover {
  border-color: #10B981;
  color: #047857;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.12);
}

.art-share-btn.is-copied {
  border-color: #10B981;
  background: #ecfdf5;
  color: #047857;
}

.art-mid-cta {
  margin: 28px 0;
  padding: 18px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
  border: 1px solid #a7f3d0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.art-mid-cta p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #065f46;
  flex: 1 1 200px;
}

.art-mid-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #10B981;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.art-mid-cta a:hover {
  background: #059669;
}

.sidebar-card.sidebar-contextual {
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  background: linear-gradient(180deg, #f0fdf4, #fff);
}

.sidebar-contextual .sidebar-context-lead {
  font-size: 13px;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 12px;
}

.sidebar-context-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-context-list li {
  margin: 0 0 10px;
  padding: 0;
  border: none;
}

.sidebar-context-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: all 0.2s;
}

.sidebar-context-list a:hover {
  border-color: #10B981;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.sidebar-context-list .ctx-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.sidebar-context-list .ctx-desc {
  display: block;
  font-size: 11px;
  color: #64748b;
  line-height: 1.45;
}

.sidebar-context-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.sidebar-context-tools a {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  text-decoration: none;
  font-weight: 600;
}

.sidebar-context-tools a:hover {
  background: #d1fae5;
}

.news-side-card.sidebar-contextual {
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  background: linear-gradient(180deg, #f0fdf4, #fff);
}

.related-articles.related-articles--enhanced h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-articles--enhanced .related-card {
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
}

.related-articles--enhanced .related-card:hover {
  border-color: #10B981;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.12);
}

.art-seo-deep-appendix {
  margin: 32px 0 0;
  padding: 20px 18px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.art-seo-deep-appendix__title {
  font-size: 1rem !important;
  color: #64748b !important;
  margin: 0 0 12px !important;
  font-weight: 600 !important;
}

.art-seo-deep-body h2 {
  font-size: 0.95rem !important;
  color: #64748b !important;
  margin-top: 1rem !important;
}

.art-seo-deep-fold {
  display: none;
}

.art-retention-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
  gap: 8px;
}

.art-retention-mobile-bar.is-visible {
  display: flex;
}

.art-retention-mobile-bar a {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.art-retention-mobile-bar .bar-read {
  background: #f1f5f9;
  color: #334155;
}

.art-retention-mobile-bar .bar-cta {
  background: #10B981;
  color: #fff;
}

@media (min-width: 901px) {
  .art-retention-mobile-bar {
    display: none !important;
  }
}
