/* HEPAN_INKGOLD_20261007：合盘（情感/合作/家庭）整套改成「墨底金字」点缀 + 白底黑字，取代旧金棕渐变皮。
   原则：大面积一律白底（不做大黑块）；只有按钮、选中态、徽章、印章、分数标签这类小元素用墨底 #1c1d21 + 金字 #e8c877；
   不用粉/黄/蓝底色；风险项只把关键词改朱砂字。 */
body.stitch3-hepan{ --hp-ink:#1c1d21; --hp-gold:#e8c877; --hp-gold2:#a98132; --hp-txt:#18232c; --hp-soft:#7e8f9e; --hp-line:#e4e9ed; --hp-grey:#f4f4f6; }
body.stitch3-hepan, body.stitch3-hepan .wrap, body.stitch3-hepan #result{ background:#fff!important; }

/* ── 落地页：三张关系卡 ── */
body.stitch3-hepan .tj-relcard{ border:1px solid var(--hp-line)!important; }
body.stitch3-hepan .tj-relcard::before{ background:var(--hp-ink)!important; width:4px; }
body.stitch3-hepan .tj-relcard .tj-relicon{ background:var(--hp-ink)!important; box-shadow:none; }
body.stitch3-hepan .tj-tag.hot, body.stitch3-hepan .tj-tag.plain{ background:var(--hp-ink)!important; color:var(--hp-gold)!important; border-radius:4px; }
body.stitch3-hepan .tj-price b{ color:var(--hp-txt)!important; }
body.stitch3-hepan .tj-arrow{ background:var(--hp-grey)!important; color:var(--hp-txt)!important; }
body.stitch3-hepan #myrecBtn{ color:var(--hp-txt)!important; border:1px solid var(--hp-line); }

/* ── 填写页 ── */
body.stitch3-hepan .tj-seal{ background:var(--hp-ink)!important; color:var(--hp-gold)!important; }
body.stitch3-hepan .tj-ptag.gold, body.stitch3-hepan .tj-ptag.plain{ background:var(--hp-grey)!important; color:#4a5d6e!important; border:1px solid #dcdce1; }
body.stitch3-hepan .tj-ptag.gold{ background:var(--hp-ink)!important; color:var(--hp-gold)!important; border-color:var(--hp-ink); }
body.stitch3-hepan .tj-phd .pick, body.stitch3-hepan #form .pick{ background:none!important; border:0!important; color:var(--hp-gold2)!important; }
body.stitch3-hepan .tj-person .seg, body.stitch3-hepan #form .seg{ background:var(--hp-grey)!important; border:0!important; }
body.stitch3-hepan .seg b.on, body.stitch3-hepan .tj-person .seg b.on{ background:var(--hp-ink)!important; color:var(--hp-gold)!important; }
body.stitch3-hepan .go, body.stitch3-hepan #form #go, body.stitch3-hepan .tj-btn.go,
body.stitch3-hepan #result .go:not([style*="background:none"]), body.stitch3-hepan #unlockBoth{
  background:var(--hp-ink)!important; background-image:none!important; color:var(--hp-gold)!important;
  border:1px solid rgba(223,194,122,.35)!important; box-shadow:0 4px 12px rgba(28,29,33,.18)!important; }
body.stitch3-hepan #unlockBoth small{ color:var(--hp-gold); }
body.stitch3-hepan .tj-btn .tj-ic{ color:var(--hp-gold)!important; }
body.stitch3-hepan .invbanner{ background:#fff!important; border:1px solid var(--hp-line)!important; color:var(--hp-txt)!important; }
body.stitch3-hepan .invrow b, body.stitch3-hepan #form #doInvite b{ color:var(--hp-txt)!important; text-decoration-color:var(--hp-gold2)!important; }

/* ── 结果页 ── */
body.stitch3-hepan #result .systoggle{ background:none!important; border:0!important; }
body.stitch3-hepan #result .systoggle b{ background:var(--hp-grey)!important; color:#4a5d6e!important; border:1px solid #dcdce1!important; font-weight:500; }
body.stitch3-hepan #result .systoggle b.on{ background:var(--hp-ink)!important; color:var(--hp-gold)!important; border-color:var(--hp-ink)!important; font-weight:700; }
/* 分数卡：白底，不做大黑块；分数墨色，类型标签墨底金字 */
body.stitch3-hepan #result .score{ background:#fff!important; background-image:none!important; border:1px solid var(--hp-line)!important; box-shadow:0 1px 3px rgba(0,0,0,.05)!important; color:var(--hp-txt)!important; }
body.stitch3-hepan #result .score .n{ color:var(--hp-txt)!important; }
body.stitch3-hepan #result .score .n small{ color:var(--hp-soft)!important; }
body.stitch3-hepan #result .score .tag{ background:var(--hp-ink)!important; color:var(--hp-gold)!important; border:0!important; border-radius:4px!important; }
body.stitch3-hepan #result .score .desc{ color:#4a5d6e!important; }
body.stitch3-hepan #result .card{ background:#fff!important; border-color:var(--hp-line)!important; }
body.stitch3-hepan #result .card h3{ color:var(--hp-txt)!important; }
/* 盘面速览：灰底标签，关键词墨色加粗；风险项关键词朱砂字，不用粉底 */
body.stitch3-hepan #result .fact, body.stitch3-hepan #result .fact:not(.bad), body.stitch3-hepan #result .fact.bad{
  background:var(--hp-grey)!important; border:1px solid #dcdce1!important; color:#4a5d6e!important; border-radius:4px!important; }
body.stitch3-hepan #result .fact b{ color:var(--hp-txt)!important; }
body.stitch3-hepan #result .fact.bad b{ color:#b33939!important; }
body.stitch3-hepan #result .chap .ct{ color:var(--hp-txt)!important; }
body.stitch3-hepan #result .chap .cn{ background:var(--hp-ink)!important; color:var(--hp-gold)!important; border:0!important; }
body.stitch3-hepan #result .lockbox{ background:#fff!important; border:1px dashed #c9ced4!important; }
body.stitch3-hepan #result .lockbox .t{ color:var(--hp-txt)!important; }
body.stitch3-hepan #result .lockbox .s{ color:var(--hp-soft)!important; }
body.stitch3-hepan .qk{ background:#fff!important; border:1px solid var(--hp-line)!important; color:var(--hp-txt)!important; }
body.stitch3-hepan .aiq{ color:var(--hp-txt)!important; }
body.stitch3-hepan .backrel{ color:#4a5d6e!important; }
/* 底部导航选中、记录弹层 */
body.stitch3-hepan .tab-nav a[aria-current=page]{ color:var(--hp-txt)!important; }
body.stitch3-hepan .pickitem:active{ background:var(--hp-grey)!important; }
/* 二轮修正：系统切换不做通栏黑条；「重新测一对」保持描边次按钮；支付按钮不折行；家庭图标换成深底看得清的 */
body.stitch3-hepan #result .systoggle{ justify-content:center; }
body.stitch3-hepan #result .systoggle b{ flex:0 0 auto!important; padding:6px 18px!important; border-radius:4px!important; font-size:13px!important; }
body.stitch3-hepan #result .go[style*="background:none"]{ background:#fff!important; color:#4a5d6e!important; border:1px solid #dcdce1!important; box-shadow:none!important; letter-spacing:.1em!important; }
body.stitch3-hepan #result #unlockOne, body.stitch3-hepan #result #unlockBoth{ letter-spacing:.04em!important; white-space:nowrap; font-size:15px!important; }
body.stitch3-hepan .tj-relcard{ overflow:hidden; }
body.stitch3-hepan #result .fact b{ white-space:nowrap; }
