/* =====================================================
   BGTI UX Polish R1 — 视觉与交互升级
   挂在所有现有样式之后，覆盖按钮主次 / 付费区 / 报告页 /
   分享卡 / 沉浸式付费后视图。
   ====================================================== */

/* ---------- 1. 按钮主次三级体系 ---------- */
/* 主按钮（Primary）：仅用于关键转化行为：付费、开始测试、生成卡片 */
.btn-primary {
  position: relative;
  background: linear-gradient(135deg, #6d5dfc 0%, #12b3d6 60%, #6d5dfc 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.3px;
  border: 0;
  border-radius: 999px;
  padding: 16px 28px;
  font-size: 17px;
  min-height: 54px;
  cursor: pointer;
  box-shadow:
    0 14px 36px rgba(109, 93, 252, 0.32),
    0 4px 14px rgba(18, 179, 214, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: background-position .5s ease, transform .12s ease, box-shadow .25s ease;
}
.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow:
    0 18px 44px rgba(109, 93, 252, 0.42),
    0 6px 18px rgba(18, 179, 214, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}
.btn-primary:active {
  transform: translateY(1px) scale(0.985);
}

.btn-primary.btn-glow::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6d5dfc, #12b3d6, #ff6b8b, #6d5dfc);
  background-size: 300% 300%;
  z-index: -1;
  filter: blur(10px);
  opacity: .55;
  animation: bgtiBtnGlow 4s ease infinite;
}
@keyframes bgtiBtnGlow {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* 次按钮（Secondary）：辅助行为：复制、上一题、查询 */
.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: #141421;
  border: 1.5px solid rgba(20, 20, 33, 0.12);
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 700;
  min-height: 50px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(20, 20, 33, 0.04);
  transition: border-color .2s ease, transform .12s ease, background .2s ease;
}
.btn-secondary:hover {
  border-color: rgba(109, 93, 252, 0.5);
  background: rgba(255, 255, 255, 1);
}
.btn-secondary:active { transform: translateY(1px) scale(0.985); }

/* 三级按钮（文字 / 链接型）：返回、重测、跳过 */
.btn-text {
  background: transparent;
  color: #6f7285;
  border: 0;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.2px;
  border-radius: 12px;
  min-height: auto;
  box-shadow: none;
}
.btn-text:hover {
  color: #6d5dfc;
  background: rgba(109, 93, 252, 0.06);
}

/* 在 paywall 深色面板里，btn-secondary 要反转 */
.paywall .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}
.paywall .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}
.paywall .btn-text {
  color: rgba(255, 255, 255, 0.65);
}
.paywall .btn-text:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- 2. 付费卡视觉重做（paywall）---------- */
/* 注：bgti-result.js 已把 paywall 改成浅色（.bgti-v061-paywall），
   这里在浅色基础上增强：右上限时角标 + paygrid 锁状态 + 价格金色 */
#paywall.bgti-v061-paywall,
.paywall {
  position: relative;
}
#paywall.bgti-v061-paywall::before,
.paywall::before {
  content: "限时锁定";
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6b8b, #ffa45c);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 6px 18px rgba(255, 107, 139, 0.36);
  z-index: 2;
}

/* 价格强化：金色 + 锚定（用 #paywall 提升特异性，覆盖 bgti-result.js 的 v061 样式） */
#paywall h2[data-role="price"],
#paywall.bgti-v061-paywall h2[data-role="price"] {
  position: relative;
  display: inline-block;
  margin-top: 22px !important;
  margin-bottom: 0 !important;
  padding: 6px 0 !important;
  font-size: 64px !important;
  font-weight: 950 !important;
  letter-spacing: -2.5px !important;
  background: linear-gradient(135deg, #ffe17b 0%, #ffaf3d 60%, #ff7b3d 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 8px 24px rgba(255, 175, 61, 0.32));
  line-height: 1.1 !important;
}
#paywall h2[data-role="price"]::before,
#paywall.bgti-v061-paywall h2[data-role="price"]::before {
  content: "￥34";
  position: absolute;
  top: 18px;
  left: -68px;
  font-size: 22px;
  font-weight: 800;
  color: rgba(20, 20, 33, 0.42);
  text-decoration: line-through;
  background: none;
  -webkit-text-fill-color: rgba(20, 20, 33, 0.42);
  filter: none;
  letter-spacing: 0;
}
#paywall h2[data-role="price"]::after,
#paywall.bgti-v061-paywall h2[data-role="price"]::after {
  content: "限时";
  position: absolute;
  top: 16px;
  right: -56px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 175, 61, 0.18);
  border: 1px solid rgba(255, 175, 61, 0.4);
  color: #c25e0e;
  font-size: 13px;
  font-weight: 800;
  -webkit-text-fill-color: #c25e0e;
  filter: none;
  letter-spacing: 1px;
}

/* paywall 价格下方的副文案 */
.paywall .price-anchor {
  margin: 4px 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.6;
}
.paywall .price-anchor .anchor-pill {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 215, 122, 0.12);
  border: 1px solid rgba(255, 215, 122, 0.28);
  color: #ffd87a;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .3px;
}

/* v061 highlights 也加锁图标（v059 把原 paygrid 隐藏后用的是这个）*/
#paywall .bgti-v061-pay-highlights {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}
#paywall .bgti-v061-pay-highlights div {
  position: relative;
  padding: 10px 12px 10px 38px !important;
  background: rgba(109, 93, 252, 0.06) !important;
  border: 1px solid rgba(109, 93, 252, 0.18) !important;
  color: #141421 !important;
  border-radius: 12px !important;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
#paywall .bgti-v061-pay-highlights div::before {
  content: "🔒";
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  border-radius: 50%;
  background: rgba(255, 175, 61, 0.18);
  border: 1px solid rgba(255, 175, 61, 0.45);
}
#paywall .bgti-v061-pay-highlights div:hover {
  background: rgba(109, 93, 252, 0.1) !important;
  border-color: rgba(255, 175, 61, 0.45) !important;
  transform: translateY(-1px);
}

/* paygrid → 已锁/已解对照（浅色 paywall 适配）*/
.scl-price-anchor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  vertical-align: middle;
  font-weight: 600;
}
.scl-price-anchor .scl-old {
  color: #8a8a99;
  font-size: 18px;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255, 91, 91, 0.7);
  font-weight: 500;
}
.scl-price-anchor .scl-pill-inline {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5b5b, #ff8a3d);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 8px rgba(255, 91, 91, 0.35);
}
#paywall .paygrid,
.paygrid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 10px !important;
  margin: 14px 0 !important;
}
#paywall .payitem,
.payitem {
  position: relative;
  padding: 12px 12px 12px 42px !important;
  border-radius: 14px !important;
  background: rgba(109, 93, 252, 0.06) !important;
  border: 1px solid rgba(109, 93, 252, 0.18) !important;
  color: #141421 !important;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
#paywall .payitem::before,
.payitem::before {
  content: "🔒";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border-radius: 50%;
  background: rgba(255, 175, 61, 0.16);
  border: 1px solid rgba(255, 175, 61, 0.45);
}
#paywall .payitem b,
.payitem b {
  display: block;
  margin-bottom: 3px !important;
  color: #141421 !important;
  font-size: 14px;
}
#paywall .payitem span,
.payitem span {
  color: #6f7285 !important;
  font-size: 12.5px;
  line-height: 1.55;
}
#paywall .payitem:hover,
.payitem:hover {
  background: rgba(109, 93, 252, 0.1) !important;
  border-color: rgba(255, 175, 61, 0.45) !important;
  transform: translateY(-1px);
}

/* checkout box 微调（浅色 paywall）*/
#paywall .checkout-box,
.checkout-box {
  background: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid rgba(20, 20, 33, 0.08) !important;
  border-radius: 18px !important;
  padding: 16px !important;
  backdrop-filter: blur(8px);
}

/* paywall 内的主付款按钮（金色+大号，覆盖 v061 的样式） */
#paywall #payBtn,
#paywall.bgti-v061-paywall #payBtn,
#payBtn {
  width: 100%;
  margin-top: 6px;
  background: linear-gradient(135deg, #ffe17b, #ffaf3d, #ff7b3d) !important;
  background-size: 200% 100% !important;
  background-position: 0% 50%;
  color: #2a1b3d !important;
  font-size: 18px !important;
  font-weight: 950 !important;
  letter-spacing: 0.4px;
  padding: 18px 24px !important;
  min-height: 60px !important;
  box-shadow:
    0 18px 44px rgba(255, 175, 61, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
  border-radius: 999px !important;
  border: 0 !important;
  transition: background-position .5s ease, transform .12s ease, box-shadow .25s ease !important;
}
#paywall #payBtn:hover,
#payBtn:hover {
  background-position: 100% 50%;
  box-shadow:
    0 22px 52px rgba(255, 175, 61, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

/* ---------- 3. 报告区：章节卡升级 + 章节序号 ---------- */
#fullReport.bgti-immersive {
  position: relative;
  z-index: 1;
}
#fullReport h2:first-child {
  font-size: 32px;
  letter-spacing: -1.2px;
  margin: 28px 0 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
#fullReport .report-intro {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 22px;
  font-size: 15px;
}
.report-box {
  position: relative;
  border-radius: 24px !important;
  border: 1px solid rgba(20, 20, 33, 0.08) !important;
  background: linear-gradient(180deg, #ffffff 0%, #fafaff 100%) !important;
  padding: 22px !important;
  box-shadow: 0 6px 20px rgba(20, 20, 33, 0.04);
  transition: transform .25s ease, box-shadow .25s ease;
}
.report-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(20, 20, 33, 0.08);
}
.report-box h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  margin: 0 0 12px;
  letter-spacing: -0.2px;
}
.report-box h3::before {
  content: attr(data-chapter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  flex: 0 0 28px;
  box-shadow: 0 4px 12px rgba(109, 93, 252, 0.28);
}
.report-box h3:not([data-chapter])::before {
  display: none;
}

/* 报告页 nav-actions（重测）改成柔和返回栏 */
#fullReport .nav-actions {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(20, 20, 33, 0.06);
  display: flex;
  justify-content: center;
  gap: 14px;
}

/* ---------- 4. 沉浸式付费后报告视图 ---------- */
/* 当 #fullReport 有 .bgti-fullscreen-report 时，盖住 paywall 那段，全屏展示报告 */
body.bgti-report-mode {
  overflow-x: hidden;
}
body.bgti-report-mode .paywall { display: none !important; }
body.bgti-report-mode #shareCardPreview { /* 还原由 js 控制 */ }

.bgti-report-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  margin: 0 -24px 22px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 20, 33, 0.08);
  border-radius: 0;
}
.bgti-report-topbar .topbar-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  padding: 8px 12px;
  border-radius: 12px;
  color: #6f7285;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  min-height: 40px;
}
.bgti-report-topbar .topbar-back:hover {
  background: rgba(109, 93, 252, 0.08);
  color: #6d5dfc;
}
.bgti-report-topbar .topbar-title {
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #141421;
  font-size: 15px;
  flex: 1;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bgti-report-topbar .topbar-share {
  background: linear-gradient(135deg, #6d5dfc, #12b3d6);
  color: #fff;
  border: 0;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  min-height: 36px;
  box-shadow: 0 6px 18px rgba(109, 93, 252, 0.28);
}

/* 报告进入动画 */
#fullReport.bgti-fullscreen-report {
  animation: bgtiReportIn .45s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes bgtiReportIn {
  0%   { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* paid hero（付费成功后顶部解锁庆祝条） */
.bgti-paid-hero {
  margin: 6px 0 22px;
  padding: 18px 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(18, 179, 214, 0.14));
  border: 1px solid rgba(16, 185, 129, 0.28);
  display: flex;
  align-items: center;
  gap: 14px;
}
.bgti-paid-hero .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #12b3d6);
  color: #fff;
  font-size: 18px;
  flex: 0 0 38px;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.34);
}
.bgti-paid-hero .text {
  flex: 1;
  line-height: 1.6;
}
.bgti-paid-hero .text b { color: #141421; }
.bgti-paid-hero .text small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

/* ---------- 5. 分享卡：未付费的模糊预览（钩子）---------- */
.share-card-locked-preview {
  margin-top: 22px;
  padding: 22px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(18, 179, 214, 0.18), transparent 34%),
    linear-gradient(135deg, #ffffff, #f5f5ff);
  border: 1px dashed rgba(109, 93, 252, 0.3);
  text-align: center;
}
.share-card-locked-preview .scl-mockup {
  margin: 0 auto;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(109, 93, 252, 0.78), rgba(18, 179, 214, 0.82));
  filter: blur(6px);
  opacity: .9;
  box-shadow: 0 18px 44px rgba(20, 20, 33, 0.18);
}
/* 纹理层叠在 blur 之上才不会被糊掉 */
.share-card-locked-preview::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  background:
    repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.32) 0 3px,
      transparent 3px 11px);
  pointer-events: none;
  z-index: 1;
  opacity: 1;
  mix-blend-mode: overlay;
}
.share-card-locked-preview .scl-overlay {
  z-index: 2;
}
.share-card-locked-preview .scl-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
}
.share-card-locked-preview .scl-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(20, 20, 33, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}
.share-card-locked-preview .scl-title {
  font-size: 20px;
  font-weight: 900;
  color: #141421;
  letter-spacing: -0.4px;
}
.share-card-locked-preview .scl-sub {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 280px;
}

/* v059 反制：不让 v059j-hidden 在我们的 preview 内（包括 preview 自身）生效 */
.share-card-locked-preview.bgti-v059j-hidden,
.share-card-locked-preview .bgti-v059j-hidden {
  display: initial !important;
  visibility: visible !important;
  opacity: 1 !important;
}
/* preview 容器自身被 hidden 时强制 block（display:initial 对 div 是 inline）*/
.share-card-locked-preview.bgti-v059j-hidden {
  display: block !important;
}

/* CTA 下方提示（未勾选协议时显示）*/
.bgti-cta-hint {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #ff5b5b;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* 双人测分享卡按钮 polish */
.bgti-order-plus-btn.primary {
  background: linear-gradient(135deg, #6d5dfc, #12b3d6) !important;
  border: 0 !important;
  color: #fff !important;
  font-weight: 900 !important;
  letter-spacing: 0.3px;
  border-radius: 999px !important;
  padding: 16px 24px !important;
  font-size: 16px !important;
  min-height: 54px !important;
  box-shadow:
    0 14px 36px rgba(109, 93, 252, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* ---------- 6. 移动端微调 ---------- */
@media (max-width: 620px) {
  .paywall h2:first-of-type { font-size: 22px !important; margin-right: 0 !important; }
  .paywall h2[data-role="price"] { font-size: 56px !important; }
  .paywall h2[data-role="price"]::before {
    position: static; display: block;
    text-align: center; margin-bottom: 4px;
    font-size: 18px;
  }
  .paywall h2[data-role="price"]::after {
    position: static; display: inline-block;
    margin-left: 10px; font-size: 12px;
  }
  .paywall::before { top: 14px; right: 14px; padding: 5px 10px; font-size: 11px; }

  .paygrid { grid-template-columns: 1fr !important; }

  .bgti-report-topbar {
    margin: 0 -18px 18px;
    padding: 12px 18px;
  }
  .bgti-report-topbar .topbar-title { font-size: 13.5px; }
  .bgti-report-topbar .topbar-share { font-size: 12px; padding: 7px 12px; }

  .bgti-paid-hero { padding: 14px 16px; gap: 10px; }
  .bgti-paid-hero .badge { width: 32px; height: 32px; flex: 0 0 32px; font-size: 16px; }

  #payBtn { font-size: 17px !important; padding: 16px 20px !important; }

  .report-box h3 { font-size: 16px; }
  .report-box h3::before { width: 26px; height: 26px; flex: 0 0 26px; font-size: 11px; }

  .share-card-locked-preview .scl-mockup { max-width: 240px; }
}

/* ============================================================ */
/* R1.2 结果页减负（用户反馈：太花里胡哨，信息说三遍）           */
/* ============================================================ */

/* (1) 干掉"下一步可以这样玩"提示条（剧透付费动作，打断阅读）*/
#bgtiV062ResultNudge {
  display: none !important;
}

/* (2) 隐藏冗余的 4 项锁定网格（与上面的"完整报告包含什么"重复）*/
#bgtiV061PayHighlights {
  display: none !important;
}

/* (3) "付款与退款提示"长段折成小字 + 右浮链接样式 */
#bgtiPayNotice {
  font-size: 12px !important;
  color: #999 !important;
  line-height: 1.6 !important;
  padding: 10px 12px !important;
  background: transparent !important;
  border: 0 !important;
  margin-top: 8px !important;
}
#bgtiPayNotice a, #bgtiPayNotice button {
  color: #999 !important;
  font-size: 12px !important;
  text-decoration: underline;
  background: transparent !important;
  border: 0 !important;
  padding: 0 4px !important;
}

/* (4) 双人 ¥19.9 大字砸一半（按钮上已经有价格，不需要重复）*/
.bgti-order-fix-box .bgti-order-fix-price {
  font-size: 18px !important;
  color: #888 !important;
  font-weight: 600 !important;
  margin: 4px 0 !important;
  line-height: 1.3 !important;
}

/* (5) 折叠版分享卡 - summary 一行小条样式 */
.share-card-locked-foldable {
  /* 折叠态：覆盖原 preview 的大尺寸样式，让它变成小条 */
  height: auto !important;
  min-height: 0 !important;
  background: linear-gradient(135deg, #faf8ff, #f0eeff) !important;
  border: 1px solid rgba(109, 93, 252, 0.15) !important;
  border-radius: 12px !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.share-card-locked-foldable .scl-summary {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  font-size: 14px;
  color: #4a4280;
  font-weight: 600;
}
.share-card-locked-foldable .scl-summary::-webkit-details-marker {
  display: none;
}
.share-card-locked-foldable .scl-summary-icon {
  font-size: 16px;
}
.share-card-locked-foldable .scl-summary-text {
  flex: 1;
}
.share-card-locked-foldable .scl-summary-link {
  font-size: 12px;
  color: #6d5dfc;
  font-weight: 500;
}
.share-card-locked-foldable[open] .scl-summary-link {
  display: none;
}
/* 展开时才显示 mockup + overlay */
.share-card-locked-foldable .scl-mockup,
.share-card-locked-foldable .scl-overlay {
  display: none;
}
.share-card-locked-foldable[open] .scl-mockup,
.share-card-locked-foldable[open] .scl-overlay {
  display: block;
}
.share-card-locked-foldable[open] {
  padding: 14px !important;
}

/* (6) #bgtiReportValueCard "完整报告包含什么" 卡 - 字号收缩 */
#bgtiReportValueCard {
  font-size: 13.5px !important;
}
#bgtiReportValueCard h2,
#bgtiReportValueCard h3,
#bgtiReportValueCard .bgti-final-card-title {
  font-size: 16px !important;
  margin-bottom: 8px !important;
}

/* (10) "完整报告包含什么"列表 — 重写为 title + 白话钩子双行 */
.bgti-report-item-r12 {
  display: flex !important;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px !important;
  text-align: left !important;
}
.bgti-report-item-r12 .bri-title {
  font-size: 14px;
  font-weight: 700;
  color: #2b2540;
  line-height: 1.3;
}
.bgti-report-item-r12 .bri-sub {
  font-size: 12px;
  color: #6f6a85;
  line-height: 1.4;
}
#paywall .paygrid {
  display: none !important;
}

/* (9) "退款规则 / 隐私 / 用户协议"在勾选行的紫色 chip 已承担同意功能，
       页脚也有同名链接，正文里这组链接重复，缩成更小不抢主 CTA */
#bgtiPayNotice .bgti-pay-notice-actions {
  display: none !important;
}
.scl-pill-inline {
  display: none !important;
}
#paywall::before,
#paywall.bgti-v061-paywall::before,
.paywall::before,
.paywall.bgti-v061-paywall::before {
  display: none !important;
  content: none !important;
}

/* ========== R1.3 (2026-05-24) ========== */

/* (R1.3-A) 删除"付费后生成你的专属分享卡看看长啥样"折叠条
   用户：信息冗余，不需要 */
#bgtiShareCardLockPreview,
#bgtiPairShareCardLockPreview,
.share-card-locked-preview,
.share-card-locked-foldable {
  display: none !important;
}

/* (R1.3-B) hero 黑色 .scan-card 换深紫 + 渐变 + 紫色外发光，融入页面背景
   用户：黑色太突兀，跟大背景融合一下
   不动 :root --dark token，只覆盖 .scan-card 自身
   v2 (R1.3-B2) vision 反馈：再提亮 + 子卡半透明白 + 强化光晕
   v3 (R1.3-B3) vision 反馈：hero 右半区加同色光斑呼应 + 光晕拆双层 + 子卡文字层级降档 */

/* hero 容器加双光斑做色彩呼应：右上 + 卡片下方延伸
   .hero 是 section overflow:visible，::before/::after 伪元素能溢出延伸 */
.hero {
  position: relative;
  isolation: isolate;
  /* 极淡紫调铺底，让外层光晕"看得见" */
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.025) 0%, rgba(124, 92, 255, 0.015) 60%, transparent 100%);
}
.hero::before {
  /* 右上小光斑：原 ::after 位置，更亮饱和 */
  content: "";
  position: absolute;
  top: 40px;
  right: -120px;
  width: 880px;
  height: 880px;
  background: radial-gradient(closest-side, rgba(124, 92, 255, 0.22) 0%, rgba(124, 92, 255, 0.10) 40%, transparent 75%);
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  filter: blur(6px);
}
.hero::after {
  /* 大椭圆：覆盖卡片下方 + 左侧，让卡片"坐在紫雾里"，中心色再深一档 */
  content: "";
  position: absolute;
  top: 380px;
  right: -200px;
  width: 1100px;
  height: 600px;
  background: radial-gradient(closest-side, rgba(124, 92, 255, 0.22) 0%, rgba(124, 92, 255, 0.10) 50%, transparent 80%);
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  filter: blur(20px);
}

.scan-card {
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(159, 132, 255, 0.45) 0%, transparent 55%),
    linear-gradient(155deg, #4a3a85 0%, #3a2d70 55%, #2e2358 100%) !important;
  /* 三层光晕 + 大范围软投影：让卡片"坐进"底色而不是"贴"在底色上 */
  box-shadow:
    0 4px 12px rgba(124, 92, 255, 0.30),
    0 16px 40px rgba(124, 92, 255, 0.20),
    0 60px 140px rgba(94, 70, 200, 0.16),
    0 40px 80px -20px rgba(120, 80, 220, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(159, 132, 255, 0.30) !important;
}
.scan-card .scan-item {
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
}
/* 子卡标签更弱 + 主数值带微高光 + 字号字重再拉一档 */
.scan-card .scan-item small {
  color: rgba(255, 255, 255, 0.46) !important;
  font-size: 11px !important;
  letter-spacing: 0.5px !important;
}
.scan-card .scan-item b {
  color: #F0E8FF !important;
  font-weight: 800 !important;
  font-size: 17px !important;
  /* 双层高光：1px 描边亮提 + 大范围紫色 glow */
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25),
    0 0 12px rgba(180, 150, 255, 0.35) !important;
  display: inline-block !important;
  margin-top: 2px !important;
}
/* 进度条改同色系亮色，跟主数值字色呼应，收敛卡片色板 */
.scan-card .fake-progress span,
.fake-progress span {
  background: linear-gradient(90deg, rgba(240, 232, 255, 0.85) 0%, rgba(196, 181, 255, 0.95) 100%) !important;
}

/* (R1.3-C) 反馈 Bug 浮动按钮 → 收进 footer，桌面/移动端通杀 hide
   用户：太烦了，不要一直跟着 */
#bgtiV060DFeedbackBtn {
  display: none !important;
}

/* (R1.3-D) footer 反馈按钮：跟"联系我们"一排同款样式 */
.bgti-legal-link.bgti-r13-feedback-link {
  /* 继承 .bgti-legal-link 原有样式，无需额外覆盖 */
}

/* ============================================================
   R1.4 — 付费冲动加码（哑光金价格 + 倒计时 pill + 协议折叠）
   - 不动 v05/v051/v067 的判定逻辑，只换皮
   - checkbox 仍存在，只视觉折叠 + JS 默认 checked=true
   - R1.4a：vision 吸收（哑光金调低饱和、删旧"限时"标签去重、链接降调）
============================================================ */

/* (R1.4-A) ¥12.9 主价格 → 哑光金（低饱和、偏褐）+ 1px 内描边模拟金属感
   v0XX 把价格放在 #paywall.bgti-v061-paywall h2 第二个 h2。
   R1.4b 调一档：中段 #A88842 → #A07B33（明度+5），让数字"立起来" */
#paywall.bgti-v061-paywall h2 {
  background: linear-gradient(135deg, #D4B26A 0%, #B6913F 50%, #8E6E2C 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow:
    0 1px 0 rgba(255, 230, 180, 0.10),
    0 0 0.5px rgba(138, 106, 42, 0.30) !important;
}
/* 第一个 h2（"解锁完整后台报告"标题）不能金，吃回去 */
#paywall.bgti-v061-paywall > h2:first-of-type {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  text-shadow: none !important;
}
/* 原价 ¥34 划线 提亮度 + 字号收一档 */
.scl-price-anchor .scl-old {
  color: #9CA3AF !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  margin-right: 6px !important;
  -webkit-text-fill-color: #9CA3AF !important;
}
/* 旧的 R1 "限时"小 pill 跟新倒计时 pill 重复 → 隐藏 */
.scl-price-anchor .scl-pill-inline {
  display: none !important;
}

/* (R1.4-B) 限时倒计时 pill — 24h 滚动，跟哑光金同色系（金棕） */
.bgti-r14-countdown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #FAF3E2;
  border: 1px solid rgba(184, 146, 74, 0.28);
  color: #8A6A2A;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-variant-numeric: tabular-nums;
  vertical-align: middle;
  text-shadow: none !important;
  -webkit-text-fill-color: #8A6A2A !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
}
.bgti-r14-countdown::before {
  content: "限时";
  margin-right: 2px;
  color: #6B5118;
  -webkit-text-fill-color: #6B5118 !important;
  font-weight: 800;
}
.bgti-r14-countdown .bgti-r14-cd-num {
  color: #6B5118;
  -webkit-text-fill-color: #6B5118 !important;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* (R1.4-C) 协议勾选 → 折叠成"点击即视为同意"小灰字 */
.bgti-consent-box {
  margin-top: 8px !important;
  padding: 6px 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.bgti-consent-box .bgti-consent-row {
  display: block !important;
}
.bgti-consent-box input#bgtiConsentCheckbox {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
}
.bgti-consent-box label[for="bgtiConsentCheckbox"] {
  display: block !important;
  margin: 0 !important;
  padding: 4px 0 !important;
  font-size: 12px !important;
  color: #9CA3AF !important;
  line-height: 1.6 !important;
  text-align: center !important;
  font-weight: 400 !important;
  letter-spacing: 0.1px !important;
}
/* "我已阅读并同意" → JS 在 init 时把 label 文案改成"点击「解锁」即视为同意"
   这里 CSS 只管样式，不做 visibility 杂耍 */
/* 法务按钮做成内联灰字（不抢戏，但 hover 提色） */
.bgti-consent-box label[for="bgtiConsentCheckbox"] .bgti-legal-link {
  display: inline !important;
  font-size: 12px !important;
  color: #6B7280 !important;
  background: none !important;
  border: none !important;
  padding: 0 2px !important;
  text-decoration: underline dotted !important;
  text-underline-offset: 2px !important;
  font-weight: 400 !important;
  cursor: pointer !important;
  transition: color 0.15s ease !important;
}
.bgti-consent-box label[for="bgtiConsentCheckbox"] .bgti-legal-link:hover {
  color: #4B5563 !important;
}
/* warning 永远隐藏 */
#bgtiConsentWarning {
  display: none !important;
}
/* payBtn 之前 v051 里的 .bgti-pay-notice 也压扁一点 */
.bgti-pay-notice {
  font-size: 11px !important;
  padding: 8px 10px !important;
  margin-top: 8px !important;
  color: #6b7080 !important;
  background: rgba(120, 120, 150, 0.04) !important;
  border: 1px solid rgba(120, 120, 150, 0.12) !important;
}

/* ==========================================================
 * R1.5 — 付费完成后整页只剩完整报告（A 方案）
 * 触发：bgti-ux-r1.js 的 startFullReportFocus 监听 #fullReport.hidden
 *       解除时给 body 加 .bgti-r15-paid（不依赖 v0XX 的 body class）
 * 思路：付费态下，#resultPage > .panel 内除 #fullReport / 返回按钮 / 末尾免责
 *       全部隐藏；fullReport 内的双人 upsell CTA 也隐藏。
 *       视觉上等于"独立的完整报告页"。
 * 风险控制：纯展示层，零支付判定改动；revert 回 r1-21 即可。
 * ========================================================== */

/* 1) .panel 子节点：默认全部隐藏，再单独白名单显示返回按钮 / fullReport / 末尾免责声明 */
body.bgti-r15-paid #resultPage > .panel > * {
  display: none !important;
}
body.bgti-r15-paid #resultPage > .panel > #bgtiV059JBack,
body.bgti-r15-paid #resultPage > .panel > #fullReport,
body.bgti-r15-paid #resultPage > .panel > .footer-note:last-child {
  display: block !important;
}

/* 2) fullReport 内的双人 upsell CTA 也隐藏，避免付费后再次推付费 */
body.bgti-r15-paid #fullReport #bgtiV061PairCta,
body.bgti-r15-paid #fullReport [id*="PairCta"],
body.bgti-r15-paid #fullReport .bgti-v068f-pair-consent {
  display: none !important;
}

/* 3) fullReport 顶部"完整后台报告"标题去掉冗余 margin-top */
body.bgti-r15-paid #resultPage #fullReport > h2:first-child {
  margin-top: 4px !important;
}

/* 4) 整页背景顶部加一条小徽标（视觉上"新页面"反馈） */
body.bgti-r15-paid #resultPage > .panel::before,
body.bgti-r15-paid #pairFullReportPage > .panel::before {
  content: "✓ 完整报告已解锁";
  display: block;
  margin: 0 0 14px;
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(212,178,106,0.18), rgba(184,146,74,0.10));
  color: #6b5118;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  text-align: center;
  border: 1px solid rgba(184,146,74,0.28);
}

/* 双人完整报告本身就是独立 <main id="pairFullReportPage">，
 * 由 bgti-pair.js 的 hidePage/showPage 切换；不需要额外 CSS。 */

/* 5) 付费态下隐藏 homePage / quizPage / 右侧悬浮二维码 / 营销介绍区
 *    （某些 v0XX 会反复 remove 'hidden' class，CSS 强制压制） */
body.bgti-r15-paid #homePage,
body.bgti-r15-paid #quizPage,
body.bgti-r15-paid #bgtiV057BottomInfo,
body.bgti-r15-paid #bgtiCornerQr,
body.bgti-r15-paid [id*="cornerQr" i],
body.bgti-r15-paid [class*="corner-qr" i] {
  display: none !important;
}
