/* 天策AI 新首页 v3 + 全站导航胶囊风格（2026-11-01）
   - 首页(/)：替换原首页内容，?old=1 可回到旧首页
   - 全站头部导航：改成胶囊分组风格，内页与首页一致
   撤销：删除 index.html 里对应的 <link>/<script> 即可 */

/* ---------- 1) 首页：隐藏旧内容，防闪烁 ---------- */
html.tc-h3 main > *:not(#tc-home3){display:none!important}
html.tc-h3 main{background:transparent}
body.tc-home3 main > *:not(#tc-home3){display:none!important}

/* ---------- 2) 全站头部导航（桌面）胶囊风格 ---------- */
html body .vault-scope header nav[class*="900px]:hidden"]{
  gap:2px!important;background:rgba(22,34,30,.055);padding:4px!important;border-radius:99px;margin-left:16px!important;align-items:center}
html body .vault-scope header nav[class*="900px]:hidden"] > a{
  font-size:14.5px!important;font-weight:600!important;padding:8px 14px!important;border-radius:99px!important;color:#3b4b45;white-space:nowrap}
html body .vault-scope header nav[class*="900px]:hidden"] > a:hover{background:rgba(15,122,85,.10)!important;color:#0f7a55!important}
html body .vault-scope header nav[class*="900px]:hidden"] > a.router-link-exact-active:not([class*="amber"]){
  background:#fff!important;color:#0f7a55!important;box-shadow:0 2px 8px -3px rgba(22,34,30,.35)}
html body .vault-scope header nav[class*="900px]:hidden"] > a[class*="amber"]{margin-left:4px!important;padding:7px 16px!important;font-size:14px!important}
html.dark body .vault-scope header nav[class*="900px]:hidden"]{background:rgba(255,255,255,.07)}
html.dark body .vault-scope header nav[class*="900px]:hidden"] > a{color:#c3d0ca}
html.dark body .vault-scope header nav[class*="900px]:hidden"] > a.router-link-exact-active:not([class*="amber"]){background:#25352d!important;color:#3ddc97!important;box-shadow:none}

/* ---------- 3) 新首页 ---------- */
#tc-home3{
  --c-ink:#16221e;--c-ink2:#3b4b45;--c-mut:#6b7a74;--c-card:#fff;--c-line:rgba(22,34,30,.09);--c-soft:#f3f6f5;
  --c-green:#0f7a55;--c-green2:#13a06f;--c-gsoft:rgba(15,122,85,.10);--c-gold:#c98a14;--c-chip:#f3f6f5;--c-heat:#e1ebe7;
  max-width:1280px;margin:0 auto;padding:18px 24px 56px;color:var(--c-ink);font-family:inherit;box-sizing:border-box}
html.dark #tc-home3{
  --c-ink:#f1f1f3;--c-ink2:#cfcfd5;--c-mut:#8b8b93;--c-card:#111113;--c-line:rgba(255,255,255,.08);--c-soft:#0e0e10;
  --c-green:#2be07a;--c-green2:#13a06f;--c-gsoft:rgba(43,224,122,.12);--c-gold:#e0b13c;--c-chip:#1b1b1e;--c-heat:#26262a}
#tc-home3 *{box-sizing:border-box}
#tc-home3 a{text-decoration:none;color:inherit}
#tc-home3 .h3-card{background:var(--c-card);border:1px solid var(--c-line);border-radius:18px}

/* 活动细条 */
#tc-home3 .h3-promo{display:flex;align-items:center;gap:22px;padding:13px 24px;border-radius:14px;color:#fff;background:linear-gradient(100deg,#0f7a55,#13a06f 55%,#7d8f2a)}
#tc-home3 .h3-promo .tag{font-size:12px;letter-spacing:2px;opacity:.85}
#tc-home3 .h3-promo .big{font-size:28px;font-weight:800;line-height:1.1;white-space:nowrap}
#tc-home3 .h3-promo .big s{font-size:13px;font-weight:500;opacity:.7;margin-left:8px}
#tc-home3 .h3-promo .tx{flex:1;font-size:13.5px;line-height:1.5;min-width:0}
#tc-home3 .h3-promo .tx b{font-size:15.5px;display:block}
#tc-home3 .h3-pb{display:inline-block;background:#fff;color:#0f7a55;border-radius:10px;padding:9px 18px;font-weight:700;font-size:14px;white-space:nowrap}
#tc-home3 .h3-pb.g{background:rgba(255,255,255,.16);color:#fff;border:1px solid rgba(255,255,255,.4)}

/* 横幅（扁平） */
#tc-home3 .h3-hero{display:flex;margin-top:16px;overflow:hidden;min-height:226px}
#tc-home3 .h3-hl{flex:1.6;padding:26px 40px}
#tc-home3 .h3-eyebrow{display:inline-block;font-size:12.5px;color:var(--c-green);background:var(--c-gsoft);padding:3px 13px;border-radius:99px;font-weight:600}
#tc-home3 .h3-hl h1{font-size:34px;line-height:1.22;margin:10px 0 8px;font-weight:800;letter-spacing:-.5px;color:var(--c-ink)}
#tc-home3 .h3-hl h1 em{font-style:normal;color:var(--c-green)}
#tc-home3 .h3-hl p{font-size:15px;color:var(--c-mut);margin:0}
#tc-home3 .h3-cta{display:flex;gap:12px;margin-top:16px;align-items:center;flex-wrap:wrap}
#tc-home3 .h3-btn{background:linear-gradient(135deg,#16a06f,#0f7a55);color:#fff!important;display:inline-block;border-radius:13px;padding:11px 26px;font-weight:700;font-size:15.5px;white-space:nowrap}
#tc-home3 .h3-btn2{display:inline-flex;align-items:center;gap:9px;border:1px solid var(--c-line);border-radius:13px;padding:8px 16px;font-size:14.5px;font-weight:600;color:var(--c-ink);white-space:nowrap}
#tc-home3 .h3-btn2 i{width:24px;height:24px;border-radius:50%;background:#16a06f;color:#fff;font-style:normal;font-size:13px;text-align:center;line-height:24px;font-weight:700}
#tc-home3 .h3-btn2 small{color:var(--c-mut);font-weight:400}
#tc-home3 .h3-chips{display:flex;gap:8px;margin-left:4px;flex-wrap:wrap}
#tc-home3 .h3-chips span{font-size:12.5px;color:var(--c-ink2);background:var(--c-chip);border:1px solid var(--c-line);padding:4px 12px;border-radius:99px;white-space:nowrap}
#tc-home3 .h3-hr{flex:1;position:relative;min-height:226px;background:radial-gradient(circle at 50% 50%,#1c2a24,#0a100d 75%)}
#tc-home3 .h3-ring{position:absolute;left:50%;top:50%;border-radius:50%;border:1.5px solid rgba(255,255,255,.12)}
#tc-home3 .h3-core{position:absolute;left:50%;top:50%;width:68px;height:68px;margin:-34px 0 0 -34px;border-radius:19px;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 0 44px rgba(19,160,111,.65);overflow:hidden}
#tc-home3 .h3-core img{width:46px;height:46px;object-fit:contain}
#tc-home3 .h3-sv{position:absolute;white-space:nowrap;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);color:#fff;font-size:12.5px;padding:4px 11px 4px 8px;border-radius:99px}
#tc-home3 .h3-sv i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px}

/* 工具卡 */
html.dark #tc-home3 .h3-btn,html.dark #tc-home3 .h3-in button{background:linear-gradient(135deg,#2be07a,#14b45f)!important;color:#03170c!important}
html.dark #tc-home3 .h3-hero{background:linear-gradient(180deg,#141416,#101012)}
html.dark #tc-home3 .h3-btn2 i{background:#2be07a;color:#03170c}
#tc-home3 .h3-tools{display:flex;gap:16px;margin-top:16px}
#tc-home3 .h3-tc{flex:1;min-width:0;padding:16px 18px}
#tc-home3 .h3-tc h4{margin:0;font-size:15.5px;display:flex;justify-content:space-between;align-items:center;font-weight:700;color:var(--c-ink)}
#tc-home3 .h3-tc h4 a{font-size:13px;color:var(--c-green);font-weight:500}
#tc-home3 .h3-live{font-size:11.5px;color:var(--c-green);background:var(--c-gsoft);padding:2px 9px;border-radius:99px;font-weight:600}
#tc-home3 .h3-cd{font-size:28px;font-weight:800;color:var(--c-green);margin:6px 0 2px;letter-spacing:-.5px;font-variant-numeric:tabular-nums;white-space:nowrap}
#tc-home3 .h3-mu{font-size:12.5px;color:var(--c-mut);line-height:1.5}
#tc-home3 .h3-heat{display:flex;gap:4px;margin-top:9px;flex-wrap:nowrap;overflow:hidden}
#tc-home3 .h3-heat i{flex:none;width:14px;height:14px;border-radius:4px;background:var(--c-heat);display:block}
#tc-home3 .h3-heat i.g{background:#13a06f}#tc-home3 .h3-heat i.b{background:#c98a14}
#tc-home3 .h3-in{display:flex;gap:8px;margin-top:9px}
#tc-home3 .h3-in textarea{flex:1;min-width:0;height:40px;resize:none;border:1px solid var(--c-line);border-radius:11px;padding:9px 12px;font:13px/1.4 inherit;color:var(--c-ink);background:var(--c-soft);outline:none}
#tc-home3 .h3-in textarea:focus{border-color:#13a06f}
#tc-home3 .h3-in button{border:0;background:#0f7a55;color:#fff;border-radius:11px;padding:0 18px;font-weight:700;font-size:14px;cursor:pointer;white-space:nowrap}
#tc-home3 .h3-in button:disabled{opacity:.6}
#tc-home3 .h3-res{margin-top:8px;font-size:13px;color:var(--c-ink2);line-height:1.5}
#tc-home3 .h3-res b{color:var(--c-green)}#tc-home3 .h3-res .e{color:#c9342f}
#tc-home3 .h3-bar{height:9px;background:var(--c-heat);border-radius:99px;overflow:hidden;margin:11px 0 6px}
#tc-home3 .h3-bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#0f7a55,#c98a14);transition:width .6s}
#tc-home3 .h3-lv{display:flex;justify-content:space-between;font-size:12px;color:var(--c-mut)}

/* 商品大厅 */
#tc-home3 .h3-sec{display:flex;align-items:flex-end;justify-content:space-between;margin-top:28px;gap:12px;flex-wrap:wrap}
#tc-home3 .h3-sec h2{margin:0;font-size:25px;font-weight:800;color:var(--c-ink)}
#tc-home3 .h3-sec h2 small{font-size:13.5px;color:var(--c-mut);font-weight:500;margin-left:10px}
#tc-home3 .h3-sec a.all{font-size:14px;color:var(--c-green);font-weight:600}
#tc-home3 .h3-cats{display:flex;gap:8px;margin-top:13px;flex-wrap:wrap}
#tc-home3 .h3-cats button{padding:7px 17px;border-radius:99px;font-size:14px;background:var(--c-card);border:1px solid var(--c-line);color:var(--c-ink2);cursor:pointer;font-family:inherit}
#tc-home3 .h3-cats button.on{background:#0f7a55;border-color:#0f7a55;color:#fff}
#tc-home3 .h3-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:15px}
#tc-home3 .h3-pc{position:relative;display:flex;flex-direction:column;min-height:172px;padding:15px 16px 14px 18px;transition:transform .15s,border-color .15s}
#tc-home3 .h3-pc:hover{transform:translateY(-2px);border-color:rgba(19,160,111,.5)}
#tc-home3 .h3-pc .n{font-size:16.5px;font-weight:700;line-height:1.35;color:var(--c-ink);padding-right:78px}
#tc-home3 .h3-badge{position:absolute;right:12px;top:13px;font-size:11.5px;color:var(--c-green);background:var(--c-gsoft);border:1px solid rgba(15,122,85,.25);border-radius:7px;padding:1px 8px;font-weight:600;white-space:nowrap}
#tc-home3 .h3-badge.h{color:#8a5c05;background:rgba(201,138,20,.12);border-color:rgba(201,138,20,.35)}
html.dark #tc-home3 .h3-badge.h{color:#e0b13c}
#tc-home3 .h3-chips2{margin-top:2px}
#tc-home3 .h3-chip{display:inline-block;margin:6px 6px 0 0;font-size:12px;color:var(--c-mut);background:var(--c-chip);border:1px solid var(--c-line);border-radius:7px;padding:1px 9px}
#tc-home3 .h3-chip.a{color:var(--c-green);border-color:rgba(15,122,85,.3)}
#tc-home3 .h3-bt{margin-top:auto;padding-top:10px;display:flex;justify-content:space-between;align-items:flex-end;gap:10px}
#tc-home3 .h3-pl{min-width:0}
#tc-home3 .h3-stk{display:block;font-size:11.5px;font-weight:600;margin-bottom:2px}
#tc-home3 .h3-stk.in{color:#0f9d6b}#tc-home3 .h3-stk.low{color:#b06b00}#tc-home3 .h3-stk.out{color:#9aa3a0}
#tc-home3 .h3-pr{font-size:28px;font-weight:800;letter-spacing:-1px;color:var(--c-ink);line-height:1.1;white-space:nowrap}
#tc-home3 .h3-pr small{font-size:13px;color:var(--c-mut);font-weight:500;letter-spacing:0}
#tc-home3 .h3-pr .tip{display:block;font-size:11.5px;font-weight:600;color:var(--c-gold);letter-spacing:0;margin-top:2px}
#tc-home3 .h3-art{flex:none;width:140px;height:62px;border-radius:11px;object-fit:cover;background:#1c2a24}
#tc-home3 .h3-fill{grid-column:span var(--s4,1);display:flex;flex-direction:column;justify-content:center;gap:6px;padding:18px 24px;min-height:172px;background:linear-gradient(120deg,var(--c-card),var(--c-gsoft))}
#tc-home3 .h3-fill b{font-size:17px;color:var(--c-ink)}#tc-home3 .h3-fill span{font-size:13.5px;color:var(--c-mut);line-height:1.6}
#tc-home3 .h3-fill a{color:var(--c-green);font-weight:600;font-size:13.5px}

/* 怎么买 / 支付 / 底部 */
#tc-home3 .h3-how{margin-top:16px;padding:16px 22px;display:flex;gap:26px;align-items:center;flex-wrap:wrap}
#tc-home3 .h3-how h4{margin:0;font-size:16px;color:var(--c-ink);white-space:nowrap}
#tc-home3 .h3-steps{display:flex;gap:18px;flex:1;min-width:300px;flex-wrap:wrap}
#tc-home3 .h3-st{display:flex;gap:10px;flex:1;min-width:150px}
#tc-home3 .h3-st i{flex:none;width:26px;height:26px;border-radius:50%;border:1.5px solid #13a06f;color:var(--c-green);font-style:normal;font-size:13px;text-align:center;line-height:23px;font-weight:700}
#tc-home3 .h3-st b{font-size:14.5px;display:block;color:var(--c-ink)}#tc-home3 .h3-st span{font-size:12.5px;color:var(--c-mut)}
#tc-home3 .h3-pay{display:flex;align-items:center;gap:12px;margin-top:14px;font-size:14px;color:var(--c-ink2);flex-wrap:wrap}
#tc-home3 .h3-pay span{background:var(--c-card);border:1px solid var(--c-line);border-radius:10px;padding:5px 13px}
#tc-home3 .h3-pay span.inv{background:rgba(201,138,20,.12);border-color:rgba(201,138,20,.35);color:#8a5c05}
html.dark #tc-home3 .h3-pay span.inv{color:#e0b13c}
#tc-home3 .h3-ft{display:flex;gap:16px;margin-top:16px}
#tc-home3 .h3-fc{flex:1;min-width:0;display:flex;gap:14px;align-items:center;padding:15px 18px;cursor:pointer}
#tc-home3 .h3-fc i{flex:none;width:42px;height:42px;border-radius:12px;background:var(--c-gsoft);display:flex;align-items:center;justify-content:center;font-style:normal;font-weight:800;color:var(--c-green)}
#tc-home3 .h3-fc b{font-size:15px;display:block;color:var(--c-ink)}#tc-home3 .h3-fc span{font-size:12.5px;color:var(--c-mut)}

/* ---------- 平板 / 手机 ---------- */
@media(max-width:1100px){#tc-home3 .h3-grid{grid-template-columns:repeat(3,1fr)}#tc-home3 .h3-fill{grid-column:span var(--s3,1)}}
@media(max-width:860px){
  #tc-home3{padding:12px 14px 44px}
  #tc-home3 .h3-promo{flex-wrap:wrap;gap:10px;padding:12px 16px}#tc-home3 .h3-promo .tx{flex-basis:100%;order:3}
  #tc-home3 .h3-hero{flex-direction:column}#tc-home3 .h3-hl{padding:18px 18px 20px}#tc-home3 .h3-hl h1{font-size:25px}
  #tc-home3 .h3-hr{display:none}
  #tc-home3 .h3-hl h1 em{display:block}
  #tc-home3 .h3-tools{flex-direction:column}
  #tc-home3 .h3-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  #tc-home3 .h3-fill{grid-column:1/-1;min-height:0;padding:14px 16px}
  #tc-home3 .h3-pc{min-height:0;padding:12px 12px 12px 14px}
  #tc-home3 .h3-pc .n{font-size:14.5px;padding-right:0}
  #tc-home3 .h3-badge{position:static;align-self:flex-start;margin-top:6px}
  #tc-home3 .h3-art{width:60px;height:42px;border-radius:8px}
  #tc-home3 .h3-pr{font-size:22px}
  #tc-home3 .h3-ft{flex-direction:column}
  #tc-home3 .h3-chips{margin-left:0}
  /* 手机顶部导航：可横向滑动，保证所有入口都点得到 */
  html body .vault-scope header nav[class*="900px]:flex"]{overflow-x:auto;flex-wrap:nowrap!important;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  html body .vault-scope header nav[class*="900px]:flex"]::-webkit-scrollbar{display:none}
  html body .vault-scope header nav[class*="900px]:flex"] > a{flex:none;white-space:nowrap}
}

/* ---------- 合伙人面板 ---------- */
#tc-home3 .h3-pp{display:flex;gap:28px;margin-top:16px;padding:20px 24px}
#tc-home3 .h3-ppl{flex:0 0 360px;min-width:0}
#tc-home3 .h3-ppl h4{margin:0 0 4px;font-size:16px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--c-ink)}
#tc-home3 .h3-tier{font-size:12px;font-weight:700;color:#3a2600;background:linear-gradient(135deg,#ffd24a,#f5a30a);padding:2px 10px;border-radius:99px}
#tc-home3 .h3-track{margin:14px 0 6px}
#tc-home3 .h3-trk{height:8px;background:var(--c-heat);border-radius:99px;overflow:hidden}
#tc-home3 .h3-trk i{display:block;height:100%;width:2%;background:linear-gradient(90deg,#14b45f,#e0b13c);border-radius:99px;transition:width .6s}
#tc-home3 .h3-nodes{display:flex;justify-content:space-between;margin-top:8px;font-size:12.5px;color:var(--c-mut)}
#tc-home3 .h3-nodes span{display:flex;flex-direction:column;align-items:center;gap:2px;flex:1}
#tc-home3 .h3-nodes em{width:12px;height:12px;border-radius:50%;border:2px solid var(--c-heat);background:var(--c-card)}
#tc-home3 .h3-nodes span.on{color:var(--c-ink);font-weight:700}#tc-home3 .h3-nodes span.on em{background:#13a06f;border-color:#13a06f}
#tc-home3 .h3-nodes small{font-size:11px;color:var(--c-mut);font-weight:400}
#tc-home3 .h3-ppr{flex:1;min-width:0}
#tc-home3 .h3-pph{font-size:15px;font-weight:700;color:var(--c-ink);margin-bottom:8px}#tc-home3 .h3-pph small{font-size:12.5px;font-weight:400;color:var(--c-mut)}
#tc-home3 .h3-tw{overflow-x:auto}
#tc-home3 .h3-tt{width:100%;border-collapse:collapse;font-size:13.5px;min-width:520px}
#tc-home3 .h3-tt th,#tc-home3 .h3-tt td{padding:8px 10px;text-align:center;border-bottom:1px solid var(--c-line);color:var(--c-ink2);white-space:nowrap}
#tc-home3 .h3-tt thead th{color:var(--c-mut);font-weight:600;font-size:12.5px}
#tc-home3 .h3-tt tbody th{text-align:left;color:var(--c-ink);font-weight:600}
#tc-home3 .h3-tt small{display:block;font-size:11px;font-weight:400;color:var(--c-mut)}
#tc-home3 .h3-tt td small{color:var(--c-green)}
#tc-home3 .h3-tt .hi{background:var(--c-gsoft);color:var(--c-ink);font-weight:700}
@media(max-width:1100px){#tc-home3 .h3-pp{flex-direction:column;gap:16px}#tc-home3 .h3-ppl{flex:none}}
@media(max-width:860px){#tc-home3 .h3-pp{padding:16px 14px}}
