/* ============================================================
   shuobocha.com · 合作推广卡片组件 (sponsor-card)
   命名空间 .sp-*，避免与现网样式冲突。
   配色：暖金体系，刻意区别于客观内容的蓝 #185fa5 / 深蓝 #1b2e4e，
   保证合作内容一眼可辨，满足广告可识别性要求。
   使用方式：在页面加 <div class="spon-mount" data-spon-mode="sidebar"></div>
   再引入 sponsor-card.css / sponsored-data.js / sponsor-card.js
   ============================================================ */

/* —— 公共：合作推广标签 + 底部署名 —— */
.sp-tag {
  display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto;
  font-size: 11px; font-weight: 600; color: #9a6a00;
  background: #fff3d6; border: 1px solid #f0d28a;
  padding: 2px 8px; border-radius: 4px; line-height: 1.5; letter-spacing: .3px;
}
.sp-tag svg { width: 12px; height: 12px; fill: #9a6a00; }
.sp-disc {
  font-size: 11px; color: #b0892f; margin-top: 12px; padding-top: 10px;
  border-top: 1px dashed #f0e2c0; line-height: 1.5;
}
.sp-disc b { color: #9a6a00; font-weight: 600; }

/* —— 模式一：详情页右侧栏卡片 —— */
.sp-card {
  background: #fffdf8; border: 1px solid #f0e2c0; border-radius: 8px;
  padding: 18px 20px; margin-bottom: 16px;
}
.sp-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  padding-bottom: 12px; border-bottom: 1px solid #f0e2c0;
}
.sp-title { font-size: 15px; font-weight: 600; color: #1a1a2e; margin: 0; }
.sp-logo {
  width: 44px; height: 44px; border-radius: 8px; flex: 0 0 auto;
  background: #fff3d6; border: 1px solid #f0d28a;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #9a6a00;
}
.sp-name { font-size: 14px; font-weight: 600; color: #1a1a2e; }
.sp-sub { font-size: 12px; color: #888888; margin-top: 2px; }
.sp-points { list-style: none; margin: 14px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sp-points li { font-size: 12.5px; color: #444; padding-left: 14px; position: relative; }
.sp-points li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: #9a6a00;
}
.sp-btn {
  display: block; text-align: center; width: 100%; height: 40px; line-height: 40px;
  background: #9a6a00; color: #fff; border-radius: 6px; font-size: 14px;
  font-weight: 500; cursor: pointer; text-decoration: none;
}
.sp-btn:hover { background: #7d5600; }

/* —— 模式二：资讯中心信息流内联卡片 —— */
.sp-inline {
  background: #fffdf8; border-left: 3px solid #f0e2c0;
  border-radius: 0 6px 6px 0; padding: 14px 18px; margin: 0 0 12px;
}
.sp-inline .sp-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.sp-inline .sp-title { font-size: 15px; font-weight: 500; }
.sp-inline .sp-meta { font-size: 12px; color: #aaaaaa; }
.sp-inline .sp-meta span { margin-right: 14px; }
.sp-inline .sp-cta {
  display: inline-block; margin-top: 8px; padding: 0 18px; height: 34px; line-height: 34px;
  background: #9a6a00; color: #fff; border-radius: 6px; font-size: 13px; text-decoration: none;
}
.sp-inline .sp-cta:hover { background: #7d5600; }
.sp-inline .sp-disc { margin-top: 10px; }
