/* ==========================================================================
 * 天策AI (tiancexai.com) v4 极简精炼布局 + 3D 物理景深动效样式表
 * 保留 #tc-home3 / #tc-pdp4 挂载协议与分站白标兼容，全量展示所有在售商品与封面图
 * ========================================================================== */

@property --tc-ambient-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  --tc-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --tc-ease-standard: cubic-bezier(0.32, 0.72, 0, 1);
  --tc-ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --tc-dur-press: 75ms;
  --tc-dur-spring: 420ms;
}

@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --tc-ease-spring: linear(
      0, 0.009, 0.035 2.1%, 0.141 4.4%, 0.281 6.7%,
      0.723 12.9%, 0.938 16.7%, 1.017 19.4%, 1.061 22.1%,
      1.072 24.3%, 1.066 27.4%, 1.036 32.8%, 1.009 39.6%,
      0.996 46.9%, 0.993 53.8%, 0.998 69.8%, 1
    );
  }
}

/* 隐藏原版首页冗余节点，启用极简 v4 容器 */
html.tc-h3 main > *:not(#tc-home3),
body.tc-home3 main > *:not(#tc-home3),
body.tc-home3 #tc-strip {
  display: none !important;
}
html.tc-h3 main {
  background: transparent;
}

/* ---------- 1. 顶部导航栏极简瘦身（去大黄块、去账号检测/重置雷达等冗余项、突出卡密充值地址） ---------- */
html body .vault-scope header a[href*="/radar"],
html body .vault-scope header a[href*="/check"],
html body .vault-scope header nav a[href="/notice"] {
  display: none !important;
}

/* 导航项顺序排列：确保「使用教程」显示在「卡密充值网站」右侧 */
html body .vault-scope header nav a[href*="gptbaby.cc"],
html body .vault-scope header nav a[href="/recharge/"] {
  order: 10 !important;
}

html body .vault-scope header nav a[href*="/blog/"] {
  display: inline-flex !important;
  order: 11 !important;
}

html body .vault-scope header nav[class*="900px]:hidden"] {
  gap: 4px !important;
  background: rgba(22, 34, 30, 0.055) !important;
  padding: 4px !important;
  border-radius: 999px !important;
  margin-left: 16px !important;
  align-items: center;
  border: 1px solid rgba(22, 34, 30, 0.07);
}

html.dark body .vault-scope header nav[class*="900px]:hidden"] {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.08);
}

html body .vault-scope header nav[class*="900px]:hidden"] > a {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  padding: 7px 14px !important;
  border-radius: 999px !important;
  color: #3b4b45;
  white-space: nowrap;
  transition:
    scale 360ms var(--tc-ease-spring),
    background-color 160ms var(--tc-ease-out),
    color 160ms var(--tc-ease-out) !important;
}

html.dark body .vault-scope header nav[class*="900px]:hidden"] > a {
  color: #b7c4be;
}

html body .vault-scope header nav[class*="900px]:hidden"] > a:active {
  scale: 0.96;
}

/* 把原本刺眼的大面积纯黄块改成克制的黑金胶囊 */
html body .vault-scope header nav[class*="900px]:hidden"] > a[class*="amber"] {
  background: rgba(201, 138, 20, 0.12) !important;
  color: #9a6704 !important;
  border: 1px solid rgba(201, 138, 20, 0.28) !important;
  box-shadow: none !important;
  padding: 6px 13px !important;
  font-size: 13px !important;
}

html.dark body .vault-scope header nav[class*="900px]:hidden"] > a[class*="amber"] {
  background: rgba(245, 196, 81, 0.11) !important;
  color: #f5c451 !important;
  border: 1px solid rgba(245, 196, 81, 0.28) !important;
}

/* 突出「卡密充值网站 / 充值地址」入口（呼吸绿点 + 翡翠胶囊） */
html body .vault-scope header nav a[href*="gptbaby.cc"],
html body .vault-scope header nav a[href="/recharge/"] {
  background: rgba(15, 122, 85, 0.12) !important;
  color: #0f7a55 !important;
  border: 1px solid rgba(15, 122, 85, 0.28) !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

html.dark body .vault-scope header nav a[href*="gptbaby.cc"],
html.dark body .vault-scope header nav a[href="/recharge/"] {
  background: rgba(43, 224, 122, 0.13) !important;
  color: #2be07a !important;
  border: 1px solid rgba(43, 224, 122, 0.32) !important;
}

html body .vault-scope header nav a[href*="gptbaby.cc"]::before,
html body .vault-scope header nav a[href="/recharge/"]::before {
  content: "";
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: tc-pulse-dot 2s ease-in-out infinite;
}

/* ---------- 2. #tc-home3 主题色板与主容器 ---------- */
#tc-home3 {
  --c-ink: #14201c;
  --c-ink2: #3b4b45;
  --c-mut: #687771;
  --c-card: #ffffff;
  --c-card2: #f5f8f7;
  --c-line: rgba(20, 32, 28, 0.09);
  --c-line2: rgba(20, 32, 28, 0.16);
  --c-green: #0f7a55;
  --c-green-bright: #13a06f;
  --c-gsoft: rgba(15, 122, 85, 0.1);
  --c-gold: #b57908;
  --c-gold-soft: rgba(201, 138, 20, 0.12);
  --c-chip: #f2f5f4;
  --c-spot: rgba(15, 122, 85, 0.08);
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px 56px;
  color: var(--c-ink);
  box-sizing: border-box;
}

html.dark #tc-home3 {
  --c-ink: #f3f4f6;
  --c-ink2: #c9cdd4;
  --c-mut: #868b94;
  --c-card: #121315;
  --c-card2: #181a1d;
  --c-line: rgba(255, 255, 255, 0.08);
  --c-line2: rgba(255, 255, 255, 0.15);
  --c-green: #2be07a;
  --c-green-bright: #2be07a;
  --c-gsoft: rgba(43, 224, 122, 0.12);
  --c-gold: #f5c451;
  --c-gold-soft: rgba(245, 196, 81, 0.12);
  --c-chip: #1b1d21;
  --c-spot: rgba(43, 224, 122, 0.13);
}

#tc-home3 *, #tc-home3 *::before, #tc-home3 *::after {
  box-sizing: border-box;
}

#tc-home3 a {
  text-decoration: none;
  color: inherit;
}

/* ---------- 3. 紧凑型极光点阵 Hero（省掉 60% 高度，让首屏直接露出两排商品！） ---------- */
#tc-home3 .v4-hero {
  --hx: 50%;
  --hy: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 20px;
  padding: 22px 26px 18px;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  animation: tc-rise-in 420ms var(--tc-ease-out) both;
}

/* 跟随鼠标亮起的翡翠点阵光场 */
#tc-home3 .v4-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(
    circle,
    rgba(43, 224, 122, 0.42) 1.1px,
    transparent 1.5px
  );
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(
    340px circle at var(--hx) var(--hy),
    #000 10%,
    rgba(0, 0, 0, 0.18) 58%,
    transparent 88%
  );
  mask-image: radial-gradient(
    340px circle at var(--hx) var(--hy),
    #000 10%,
    rgba(0, 0, 0, 0.18) 58%,
    transparent 88%
  );
}

html:not(.dark) #tc-home3 .v4-hero::before {
  background-image: radial-gradient(
    circle,
    rgba(15, 122, 85, 0.32) 1.1px,
    transparent 1.5px
  );
}

/* 右上角呼吸旋转极光柔晕 */
#tc-home3 .v4-hero::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  background: conic-gradient(
    from var(--tc-ambient-angle),
    rgba(43, 224, 122, 0.22),
    rgba(14, 165, 233, 0.12),
    rgba(245, 196, 81, 0.16),
    rgba(43, 224, 122, 0.22)
  );
  filter: blur(42px);
  animation: tc-spin-ambient 12s linear infinite;
}

#tc-home3 .v4-hero-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

#tc-home3 .v4-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#tc-home3 .h3-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-green);
  background: var(--c-gsoft);
  padding: 3px 11px;
  border-radius: 999px;
  margin-bottom: 2px;
}

#tc-home3 .v4-hero h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--c-ink);
}

#tc-home3 .v4-hero h1 em {
  font-style: normal;
  color: var(--c-green);
}

#tc-home3 .v4-hero-sub {
  margin: 0;
  font-size: 13.5px;
  color: var(--c-mut);
}

#tc-home3 .v4-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

#tc-home3 .v4-btn-recharge {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #16a06f, #0f7a55);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 22px -8px rgba(15, 122, 85, 0.55);
  transition:
    transform var(--tc-dur-spring) var(--tc-ease-spring),
    scale var(--tc-dur-spring) var(--tc-ease-spring),
    box-shadow 180ms var(--tc-ease-out);
}

html.dark #tc-home3 .v4-btn-recharge {
  background: linear-gradient(135deg, #2be07a, #14b45f);
  color: #03170c !important;
  box-shadow: 0 8px 24px -8px rgba(43, 224, 122, 0.48);
}

#tc-home3 .v4-btn-recharge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(43, 224, 122, 0.58);
}

#tc-home3 .v4-btn-recharge::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, 0.36) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform 540ms var(--tc-ease-out);
}

#tc-home3 .v4-btn-recharge:hover::after {
  transform: translateX(120%);
}

#tc-home3 .v4-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--c-card2);
  border: 1px solid var(--c-line2);
  color: var(--c-ink);
  font-weight: 600;
  font-size: 13.5px;
  transition:
    transform var(--tc-dur-spring) var(--tc-ease-spring),
    scale var(--tc-dur-spring) var(--tc-ease-spring),
    border-color 160ms var(--tc-ease-out);
}

#tc-home3 .v4-btn-ghost:hover {
  border-color: var(--c-green);
}

#tc-home3 .v4-press:active {
  scale: 0.965;
  transition-duration: var(--tc-dur-press);
}

/* 单行精炼支付与售后信任条 */
#tc-home3 .v4-assure {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--c-mut);
}

#tc-home3 .v4-assure-left,
#tc-home3 .v4-assure-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

#tc-home3 .v4-assure b {
  color: var(--c-ink);
  font-weight: 600;
}

#tc-home3 .v4-dot-sep {
  opacity: 0.45;
}

#tc-home3 .v4-mini-link {
  cursor: pointer;
  color: var(--c-ink2);
  transition: color 150ms ease;
}

#tc-home3 .v4-mini-link:hover {
  color: var(--c-green);
}

/* ---------- 4. 吸顶毛玻璃分类胶囊栏 + 码表计数 ---------- */
#tc-home3 .v4-toolbar {
  position: sticky;
  top: 64px;
  z-index: 20;
  margin-top: 16px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: tc-rise-in 420ms var(--tc-ease-out) 60ms both;
}

#tc-home3 #h3-cats {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  flex-wrap: wrap;
  isolation: isolate;
}

#tc-home3 #h3-cats[data-pill-ready="1"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: var(--pill-w, 0px);
  height: var(--pill-h, 0px);
  transform: translate3d(var(--pill-x, 0px), var(--pill-y, 0px), 0);
  border-radius: 999px;
  background: linear-gradient(135deg, #16a06f, #0f7a55);
  box-shadow: 0 4px 14px -4px rgba(15, 122, 85, 0.55);
  z-index: 0;
  pointer-events: none;
  transition:
    transform 360ms var(--tc-ease-spring),
    width 320ms var(--tc-ease-spring),
    height 320ms var(--tc-ease-spring);
}

html.dark #tc-home3 #h3-cats[data-pill-ready="1"]::before {
  background: linear-gradient(135deg, #2be07a, #14b45f);
  box-shadow: 0 4px 16px -4px rgba(43, 224, 122, 0.45);
}

#tc-home3 #h3-cats button {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  color: var(--c-mut);
  padding: 7px 15px;
  border-radius: 999px;
  font: 600 13.5px/1.15 inherit;
  cursor: pointer;
  transition:
    color 160ms var(--tc-ease-out),
    scale 360ms var(--tc-ease-spring);
}

#tc-home3 #h3-cats button:hover {
  color: var(--c-ink);
}

#tc-home3 #h3-cats button.on {
  color: #fff !important;
  font-weight: 700;
}

html.dark #tc-home3 #h3-cats button.on {
  color: #03170c !important;
}

#tc-home3 .v4-toolbar-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--c-mut);
  font-variant-numeric: tabular-nums;
}

#tc-home3 #h3-count {
  font-weight: 700;
  color: var(--c-ink);
}

#tc-home3 .v4-all-link {
  color: var(--c-green);
  font-weight: 600;
}

/* ---------- 5. 真 3D 陀螺仪倾斜 + 三层 Z 轴景深悬浮商品网格 ---------- */
#tc-home3 #h3-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-top: 8px;
  perspective: 1000px;
}

#tc-home3 .h3-pc.tc-card-enter {
  animation: tc-card-3d-enter 340ms var(--tc-ease-out) calc(var(--stagger, 0) * 22ms) backwards;
}

#tc-home3 .h3-pc {
  --mx: 50%;
  --my: 50%;
  --edge-deg: 0deg;
  --foil-x: -130%;
  position: relative;
  width: 100%;
  min-height: 170px;
  padding: 16px 16px 14px 18px;
  border-radius: 18px;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    scale 380ms var(--tc-ease-spring),
    border-color 180ms var(--tc-ease-out),
    box-shadow 240ms var(--tc-ease-out);
}

#tc-home3 .h3-pc:hover {
  box-shadow: 0 22px 42px -20px rgba(0, 0, 0, 0.55), 0 0 26px -12px rgba(43, 224, 122, 0.22);
}

#tc-home3 .h3-pc:active {
  scale: 0.975;
  transition-duration: var(--tc-dur-press);
}

/* 卡片内部跟随鼠标柔光层 */
#tc-home3 .v4-spot {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

@media (hover: hover) and (pointer: fine) {
  #tc-home3 .v4-spot::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
      250px circle at var(--mx) var(--my),
      var(--c-spot),
      transparent 72%
    );
    opacity: 0;
    transition: opacity 200ms var(--tc-ease-out);
  }

  /* atan2 360° 极角流光边框 */
  #tc-home3 .v4-rim {
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1.5px;
    pointer-events: none;
    z-index: 4;
    background: conic-gradient(
      from calc(var(--edge-deg) - 48deg),
      transparent 0deg,
      var(--c-green-bright) 48deg,
      rgba(245, 196, 81, 0.85) 78deg,
      transparent 125deg,
      transparent 360deg
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 180ms var(--tc-ease-out);
  }

  #tc-home3 .h3-pc:hover .v4-spot::before,
  #tc-home3 .h3-pc:hover .v4-rim {
    opacity: 1;
  }
}

/* 第 1 层景深 (Z = +14px)：标题、角标、属性标签 */
#tc-home3 .v4-z-top {
  position: relative;
  z-index: 2;
  transform: translateZ(14px);
}

#tc-home3 .h3-pc .n {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--c-ink);
  padding-right: 76px;
}

#tc-home3 .h3-badge {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 11px;
  color: var(--c-green);
  background: var(--c-gsoft);
  border: 1px solid rgba(43, 224, 122, 0.25);
  border-radius: 7px;
  padding: 1.5px 8px;
  font-weight: 600;
  white-space: nowrap;
}

html:not(.dark) #tc-home3 .h3-badge {
  border-color: rgba(15, 122, 85, 0.25);
}

#tc-home3 .h3-badge.h {
  color: var(--c-gold);
  background: var(--c-gold-soft);
  border-color: rgba(245, 196, 81, 0.32);
}

#tc-home3 .h3-chips2 {
  margin-top: 4px;
}

#tc-home3 .h3-chip {
  display: inline-block;
  margin: 5px 5px 0 0;
  font-size: 11.5px;
  color: var(--c-mut);
  background: var(--c-chip);
  border: 1px solid var(--c-line);
  border-radius: 7px;
  padding: 1.5px 8px;
}

#tc-home3 .h3-chip.a {
  color: var(--c-green);
  border-color: rgba(43, 224, 122, 0.28);
}

/* 底部双层景深容器 */
#tc-home3 .h3-bt {
  position: relative;
  z-index: 3;
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  transform-style: preserve-3d;
}

/* 第 2 层景深 (Z = +22px)：库存与大字价格 */
#tc-home3 .h3-pl {
  min-width: 0;
  transform: translateZ(22px);
}

#tc-home3 .h3-stk {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  margin-bottom: 2px;
}
#tc-home3 .h3-stk.in { color: #10b981; }
#tc-home3 .h3-stk.low { color: #d97706; }
#tc-home3 .h3-stk.out { color: #8b9390; }

#tc-home3 .h3-pr {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--c-ink);
  line-height: 1.08;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

#tc-home3 .h3-pr small {
  font-size: 12.5px;
  color: var(--c-mut);
  font-weight: 500;
  letter-spacing: 0;
}

/* 第 3 层景深 (Z = +34px)：原版商品封面图 + 全息斜向金属光泽带 */
#tc-home3 .v4-art-box {
  position: relative;
  flex: none;
  width: 136px;
  height: 60px;
  border-radius: 11px;
  overflow: hidden;
  background: #182420;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateZ(34px);
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.65);
}

#tc-home3 .h3-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#tc-home3 .v4-art-box::after {
  content: "";
  position: absolute;
  inset: -25%;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 32%,
    rgba(255, 255, 255, 0.44) 48%,
    rgba(43, 224, 122, 0.24) 54%,
    transparent 68%
  );
  transform: translateX(var(--foil-x));
  mix-blend-mode: overlay;
}

/* ---------- 6. 底部浓缩黑金合伙人折叠抽屉 (#h3-partner) ---------- */
#tc-home3 #h3-partner {
  margin-top: 22px;
  border-radius: 18px;
  background: var(--c-card);
  border: 1px solid rgba(245, 196, 81, 0.26);
  padding: 15px 20px;
  transition: border-color 200ms ease, box-shadow 240ms ease;
}

#tc-home3 #h3-partner:hover {
  border-color: rgba(245, 196, 81, 0.45);
}

#tc-home3 .v4-drawer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  cursor: pointer;
  user-select: none;
}

#tc-home3 .v4-drawer-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
}

#tc-home3 .h3-tier {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--c-gold);
  background: var(--c-gold-soft);
  border: 1px solid rgba(245, 196, 81, 0.35);
  padding: 2.5px 10px;
  border-radius: 999px;
}

#tc-home3 .v4-drawer-hint {
  font-size: 13px;
  color: var(--c-mut);
}

#tc-home3 .v4-drawer-toggle {
  border: 1px solid var(--c-line2);
  background: var(--c-card2);
  color: var(--c-ink);
  font: 600 12.5px/1 inherit;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: scale 360ms var(--tc-ease-spring), border-color 160ms ease;
}

#tc-home3 .v4-drawer-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 380ms var(--tc-ease-spring),
    opacity 240ms var(--tc-ease-out),
    margin-top 320ms var(--tc-ease-spring);
}

#tc-home3 #h3-partner.open .v4-drawer-body {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 16px;
}

#tc-home3 .v4-drawer-inner {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
}

#tc-home3 .h3-cd {
  font-size: 20px;
  font-weight: 800;
  color: var(--c-green);
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}

#tc-home3 .h3-mu {
  font-size: 12.5px;
  color: var(--c-mut);
  line-height: 1.5;
}

#tc-home3 .h3-track {
  margin: 12px 0 8px;
}

#tc-home3 .h3-trk {
  height: 8px;
  background: var(--c-chip);
  border-radius: 999px;
  overflow: hidden;
}

#tc-home3 .h3-trk i {
  display: block;
  height: 100%;
  width: 2%;
  background: linear-gradient(90deg, #14b45f, #f5c451);
  border-radius: 999px;
  transition: width 600ms var(--tc-ease-out);
}

#tc-home3 .h3-nodes {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  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: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--c-line2);
  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: var(--c-green);
  border-color: var(--c-green);
}

#tc-home3 .h3-nodes small {
  font-size: 11px;
  color: var(--c-mut);
  font-weight: 400;
}

#tc-home3 .v4-tier-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

#tc-home3 .v4-tier-item {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--c-card2);
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

#tc-home3 .v4-tier-item b {
  font-size: 13.5px;
  color: var(--c-ink);
}

#tc-home3 .v4-tier-item span {
  font-size: 12px;
  color: var(--c-green);
  font-weight: 600;
}

#tc-home3 .v4-tier-item small {
  font-size: 11.5px;
  color: var(--c-mut);
}

/* ---------- 7. 详情页 #tc-pdp4 弹簧交互与价格跳动 ---------- */
#tc-pdp4 .p4-card {
  animation: tc-rise-in 380ms var(--tc-ease-out) both;
}

#tc-pdp4 .p4-submit,
#tc-pdp4 .p4-sku,
#tc-pdp4 .p4-tile,
#tc-pdp4 .p4-qty button {
  transition:
    transform var(--tc-dur-spring) var(--tc-ease-spring),
    scale var(--tc-dur-spring) var(--tc-ease-spring),
    box-shadow 160ms var(--tc-ease-out),
    border-color 160ms var(--tc-ease-out);
}

#tc-pdp4 .p4-submit {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

#tc-pdp4 .p4-submit::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 26%, rgba(255, 255, 255, 0.34) 50%, transparent 74%);
  transform: translateX(-120%);
  transition: transform 540ms var(--tc-ease-out);
}

#tc-pdp4 .p4-submit:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(43, 224, 122, 0.5);
}

#tc-pdp4 .p4-submit:not(:disabled):hover::after {
  transform: translateX(120%);
}

#tc-pdp4 .p4-submit:not(:disabled):active,
#tc-pdp4 .p4-sku:not(:disabled):active,
#tc-pdp4 .p4-tile:not(:disabled):active,
#tc-pdp4 .p4-qty button:not(:disabled):active {
  scale: 0.965;
  transition-duration: var(--tc-dur-press);
}

#tc-pdp4 .p4-price,
#tc-pdp4 .p4-total,
#tc-pdp4 .p4-fee {
  font-variant-numeric: tabular-nums;
}

#tc-pdp4 .p4-price.tc-price-pop {
  animation: tc-price-roll 220ms var(--tc-ease-out) both;
}

#tc-pdp4 .p4-sku.on,
#tc-pdp4 .p4-tile.on {
  box-shadow: 0 0 0 1px var(--p-green), 0 8px 22px -10px rgba(43, 224, 122, 0.45);
}

/* ---------- 8. View Transitions 主题切换与响应式 ---------- */
html.tc-theme-vt *,
html.tc-theme-vt *::before,
html.tc-theme-vt *::after {
  transition: none !important;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 320ms;
  animation-timing-function: var(--tc-ease-out);
}

@keyframes tc-pulse-dot {
  0%, 100% { opacity: 1; scale: 1; }
  50% { opacity: 0.45; scale: 0.8; }
}

@keyframes tc-spin-ambient {
  to { --tc-ambient-angle: 360deg; }
}

@keyframes tc-rise-in {
  from { opacity: 0; transform: translateY(10px); filter: blur(2px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes tc-card-3d-enter {
  from {
    opacity: 0;
    transform: perspective(900px) rotateX(-9deg) translateY(12px) scale(0.975);
    filter: blur(2.5px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@keyframes tc-price-roll {
  0% { opacity: 0.3; transform: translateY(5px); filter: blur(2px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@media (max-width: 1120px) {
  #tc-home3 #h3-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  #tc-home3 { padding: 10px 14px 44px; }
  #tc-home3 .v4-hero { padding: 18px 16px 14px; }
  #tc-home3 .v4-hero h1 { font-size: 22px; }
  #tc-home3 .v4-toolbar { top: 56px; }
  #tc-home3 #h3-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #tc-home3 .h3-pc { min-height: 0; padding: 13px 13px 12px 14px; transform: none !important; }
  #tc-home3 .h3-pc .n { font-size: 14.5px; padding-right: 0; }
  #tc-home3 .h3-badge { position: static; display: inline-block; margin-top: 5px; }
  #tc-home3 .v4-art-box { width: 72px; height: 42px; border-radius: 8px; transform: none; }
  #tc-home3 .h3-pr { font-size: 21px; }
  #tc-home3 .v4-drawer-inner { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 520px) {
  #tc-home3 .v4-tier-cards { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  #tc-home3 *, #tc-home3 *::before, #tc-home3 *::after,
  #tc-pdp4 *, #tc-pdp4 *::before, #tc-pdp4 *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scale: none !important;
  }
}
