.page-products{
  --tp-home:#FF5F2E;
  --tp-away:#31F0C0;
  --tp-glass:rgba(11,45,71,.72);
  --tp-archive-line:rgba(102,124,140,.42);
  --tp-archive-soft:rgba(102,124,140,.16);
  padding-block:clamp(20px,4vw,40px) clamp(56px,9vw,104px);
  overflow-x:clip;
}

/* ---------- 首屏 ---------- */
.page-products .ly-crumbs{margin-bottom:clamp(18px,3vw,30px);}

.page-products .tp-hero{
  display:grid;
  gap:clamp(20px,3vw,34px);
  grid-template-columns:1fr;
  align-items:start;
}

.page-products .tp-hero-copy h1{
  font-family:var(--font-display);
  font-weight:800;
  font-size:clamp(30px,6.4vw,54px);
  line-height:1.06;
  letter-spacing:-.02em;
  color:var(--ice);
  margin:.28em 0 .52em;
  text-wrap:balance;
}

.page-products .tp-hero-copy .ly-lede{
  margin:0 0 clamp(20px,3vw,30px);
}

.page-products .tp-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.page-products .tp-status{
  position:relative;
  overflow:hidden;
  padding:clamp(18px,2.6vw,28px);
  border-radius:var(--r-lg);
  border:1px solid var(--hairline-strong);
  background:linear-gradient(158deg,rgba(18,59,87,.94),rgba(5,26,43,.94));
}
.page-products .tp-status::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(49,240,192,.07) 1px,transparent 1px),
    linear-gradient(90deg,rgba(49,240,192,.07) 1px,transparent 1px);
  background-size:36px 36px;
  mask-image:radial-gradient(circle at 85% 8%,#000,transparent 72%);
}
.page-products .tp-status > *{position:relative;z-index:1;}

.page-products .tp-status-title{
  margin:0 0 16px;
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.2em;
  color:var(--aqua);
  text-transform:uppercase;
}

.page-products .tp-status-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}
.page-products .tp-status-list li{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:14px;
  padding-bottom:10px;
  border-bottom:1px solid var(--hairline);
  font-size:14px;
  color:var(--gray);
}
.page-products .tp-status-list li:last-child{border-bottom:0;padding-bottom:0;}
.page-products .tp-status-list b{
  font-family:var(--font-mono);
  font-size:17px;
  font-weight:700;
  color:var(--ice);
  white-space:nowrap;
}
.page-products .tp-status-list li:first-child b,
.page-products .tp-status-list li:nth-child(2) b{color:var(--aqua);}

.page-products .tp-status-note{
  margin:16px 0 0;
  font-size:13px;
  line-height:1.6;
  color:var(--gray);
}

/* ---------- 页内章节索引 ---------- */
.page-products .tp-index{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:clamp(26px,4vw,42px);
  padding-bottom:18px;
  border-bottom:1px solid var(--hairline);
}
.page-products .tp-index a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 15px;
  border-radius:var(--r-pill);
  border:1px solid var(--hairline);
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:.04em;
  color:var(--gray);
  text-decoration:none;
  transition:color .18s ease,background-color .18s ease,border-color .18s ease;
}
.page-products .tp-index a:hover,
.page-products .tp-index a:focus-visible{
  color:var(--aqua);
  border-color:var(--aqua-line);
}
.page-products .tp-index a[aria-current="true"]{
  color:var(--abyss);
  background:var(--aqua);
  border-color:var(--aqua);
}

/* ---------- 章节通用 ---------- */
.page-products .tp-sec{
  padding-top:clamp(46px,7vw,86px);
}
.page-products .tp-sec-head{
  max-width:72ch;
  margin-bottom:clamp(22px,3vw,34px);
}
.page-products .tp-sec-num{
  display:block;
  margin-bottom:10px;
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:.2em;
  color:var(--orange);
}
.page-products .tp-sec-title{
  margin:0 0 .55em;
  font-family:var(--font-display);
  font-weight:800;
  font-size:clamp(23px,3.6vw,36px);
  line-height:1.16;
  letter-spacing:-.01em;
  color:var(--ice);
  text-wrap:balance;
}

.page-products .tp-note{
  margin:clamp(18px,2.6vw,26px) 0 0;
  font-size:13.5px;
  line-height:1.7;
  color:var(--gray);
}
.page-products .tp-note a{
  color:var(--aqua);
  text-decoration:underline;
  text-underline-offset:3px;
}
.page-products .tp-note a:hover{color:var(--ice);}

.page-products .ly-media img{
  display:block;
  width:100%;
  height:auto;
  object-fit:cover;
}

/* ---------- 工具 Bento ---------- */
.page-products .tp-dash-media{margin-bottom:clamp(16px,2.4vw,24px);}

.page-products .tp-bento{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}

.page-products .tp-tool{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:clamp(18px,2.2vw,26px);
  border-radius:var(--r-md);
  border:1px solid var(--hairline);
  background:linear-gradient(158deg,rgba(18,59,87,.86),rgba(11,45,71,.92));
  overflow:hidden;
  transition:border-color .2s ease,transform .2s ease;
}
.page-products .tp-tool::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:2px;
  background:linear-gradient(90deg,var(--aqua-line),transparent 65%);
}
.page-products .tp-tool:hover{
  border-color:var(--aqua-line);
  transform:translateY(-2px);
}

.page-products .tp-tool--dash{
  background:linear-gradient(150deg,rgba(255,95,46,.18),rgba(11,45,71,.95) 48%);
  border-color:var(--orange-line);
}
.page-products .tp-tool--dash::before{
  background:linear-gradient(90deg,var(--orange),transparent 70%);
}

.page-products .tp-tool-title{
  margin:0;
  font-family:var(--font-display);
  font-weight:700;
  font-size:clamp(17px,2.2vw,21px);
  line-height:1.3;
  color:var(--ice);
}
.page-products .tp-tool-desc{
  margin:0;
  font-size:14.5px;
  line-height:1.7;
  color:var(--gray);
}
.page-products .tp-tool-meta{
  margin-top:auto;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding-top:6px;
}

/* ---------- 球员数据拆分 ---------- */
.page-products .tp-dims-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(18px,3vw,30px);
}
.page-products .tp-dims-tabs{min-width:0;}

.page-products .tp-tabbar{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:18px;
}

.page-products .tp-dim-list{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.page-products .tp-dim{
  padding:15px 17px;
  border-radius:var(--r-sm);
  border:1px solid var(--hairline);
  border-left:3px solid var(--aqua-line);
  background:rgba(5,26,43,.55);
}
.page-products .tp-dim h4{
  margin:0 0 6px;
  font-family:var(--font-display);
  font-weight:700;
  font-size:15.5px;
  color:var(--ice);
}
.page-products .tp-dim p{
  margin:0;
  font-size:13.5px;
  line-height:1.62;
  color:var(--gray);
}

/* ---------- 主客场镜像 ---------- */
.page-products .tp-mirror-tabs{
  padding:clamp(16px,2.4vw,24px);
  border-radius:var(--r-lg);
  border:1px solid var(--hairline);
  background:linear-gradient(120deg,rgba(11,45,71,.6),rgba(5,26,43,.8));
}

.page-products .tp-rank{
  display:grid;
  gap:14px;
}
.page-products .tp-rank-row{
  display:grid;
  grid-template-columns:minmax(62px,84px) minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
}
.page-products .tp-rank-name{
  font-family:var(--font-mono);
  font-size:12.5px;
  color:var(--gray);
  white-space:nowrap;
}
.page-products .tp-rank-track{
  position:relative;
  height:12px;
  border-radius:var(--r-pill);
  background:rgba(159,180,194,.14);
  overflow:hidden;
}
.page-products .tp-rank-fill{
  display:block;
  height:100%;
  width:var(--v,0%);
  border-radius:inherit;
  background:linear-gradient(90deg,rgba(255,95,46,.6),var(--orange));
}
.page-products .tp-mirror-panel--away .tp-rank-fill{
  background:linear-gradient(90deg,rgba(49,240,192,.5),var(--aqua));
}
.page-products .tp-rank-value{
  font-family:var(--font-mono);
  font-size:14px;
  font-weight:700;
  color:var(--ice);
  min-width:52px;
  text-align:right;
}

.page-products .tp-diff-track{
  position:relative;
  height:12px;
  border-radius:var(--r-pill);
  background:rgba(159,180,194,.14);
  overflow:hidden;
}
.page-products .tp-diff-track::after{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  bottom:0;
  width:1px;
  background:var(--hairline-strong);
}
.page-products .tp-diff-track i{
  position:absolute;
  top:0;
  bottom:0;
  width:calc(var(--v,0%) / 2);
  background:var(--orange);
}
.page-products .tp-diff-track i.pos{left:50%;border-radius:0 var(--r-pill) var(--r-pill) 0;}
.page-products .tp-diff-track i.neg{right:50%;background:var(--aqua);border-radius:var(--r-pill) 0 0 var(--r-pill);}

.page-products .tp-view-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  margin-top:clamp(18px,2.6vw,26px);
}
.page-products .tp-view-card{
  padding:clamp(16px,2.2vw,22px);
  border-radius:var(--r-md);
  border:1px solid var(--hairline);
  background:rgba(11,45,71,.55);
}
.page-products .tp-view-card h3{
  margin:0 0 12px;
  font-family:var(--font-display);
  font-weight:700;
  font-size:16px;
  color:var(--ice);
}
.page-products .tp-view-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px 14px;
}
.page-products .tp-view-list li{
  position:relative;
  padding-left:14px;
  font-size:13.5px;
  line-height:1.55;
  color:var(--gray);
}
.page-products .tp-view-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.62em;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--aqua);
}
.page-products .tp-view-note{
  margin:12px 0 0;
  font-size:12.5px;
  font-style:italic;
  line-height:1.6;
  color:var(--mist);
}

/* ---------- 苹果端比分入口 ---------- */
.page-products .tp-score-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(26px,4vw,40px);
}
.page-products .tp-score-visual{
  position:relative;
  padding-bottom:56px;
}
.page-products .tp-float{
  position:relative;
  margin:-34px 12px 0;
  padding:16px 20px;
  max-width:340px;
  border-radius:var(--r-md);
  border:1px solid var(--aqua-line);
  background:linear-gradient(155deg,rgba(18,59,87,.94),rgba(11,45,71,.78));
  backdrop-filter:blur(14px);
  box-shadow:0 22px 54px rgba(0,0,0,.48);
}
.page-products .tp-float-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.page-products .tp-float-label{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.06em;
  color:var(--gray);
}
.page-products .tp-float-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--aqua);
  box-shadow:0 0 0 4px rgba(49,240,192,.16);
  flex:none;
}
.page-products .tp-float-score{
  margin:10px 0 12px;
  font-family:var(--font-mono);
  font-size:34px;
  font-weight:700;
  line-height:1;
  color:var(--ice);
  letter-spacing:-.01em;
}
.page-products .tp-float-score span{color:var(--orange);margin:0 4px;}
.page-products .tp-float-foot{
  display:flex;
  gap:18px;
  padding-top:12px;
  border-top:1px solid var(--hairline);
  font-size:12.5px;
  color:var(--aqua);
}

.page-products .tp-score-copy h3{
  margin:0 0 8px;
  font-family:var(--font-display);
  font-weight:700;
  font-size:17px;
  color:var(--ice);
}
.page-products .tp-score-copy h3 + p{
  margin:0 0 20px;
  font-size:14.5px;
  line-height:1.75;
  color:var(--gray);
}

/* ---------- 资料下载与旧版存档 ---------- */
.page-products .tp-archive-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(18px,3vw,30px);
}
.page-products .tp-archive-figure{min-width:0;}

.page-products .tp-batch{
  margin-bottom:12px;
  border-radius:var(--r-md);
  border:1px solid var(--tp-archive-line);
  background:linear-gradient(160deg,var(--tp-archive-soft),rgba(5,26,43,.78));
  overflow:hidden;
}
.page-products .tp-batch summary{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  min-height:56px;
  padding:14px 18px;
  cursor:pointer;
  list-style:none;
}
.page-products .tp-batch summary::-webkit-details-marker{display:none;}
.page-products .tp-batch summary:focus-visible{
  outline:2px solid var(--aqua);
  outline-offset:-2px;
}
.page-products .tp-batch summary::after{
  content:"＋";
  margin-left:auto;
  font-family:var(--font-mono);
  font-size:15px;
  color:var(--mist);
}
.page-products .tp-batch[open] summary::after{content:"－";}

.page-products .tp-batch-tag{
  font-family:var(--font-mono);
  font-style:italic;
  font-size:12.5px;
  color:var(--mist);
  padding:3px 10px;
  border-radius:var(--r-pill);
  border:1px solid var(--tp-archive-line);
  background:rgba(170,183,193,.1);
}
.page-products .tp-batch-name{
  font-size:14.5px;
  color:var(--ice);
}
.page-products .tp-batch-meta{
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--mist);
}

.page-products .tp-file-list{
  list-style:none;
  margin:0;
  padding:0 18px 16px;
  display:grid;
  gap:0;
}
.page-products .tp-file-list li{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:14px;
  padding:10px 0;
  border-top:1px solid rgba(102,124,140,.24);
  font-size:13.5px;
  color:var(--gray);
}
.page-products .tp-fmt{
  flex:none;
  font-family:var(--font-mono);
  font-size:11.5px;
  padding:2px 9px;
  border-radius:var(--r-pill);
  color:var(--mist);
  border:1px solid var(--tp-archive-line);
}

/* ---------- 开户指引 ---------- */
.page-products .tp-open-media{margin-bottom:clamp(18px,2.6vw,26px);}

.page-products .tp-steps{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
.page-products .tp-step{
  position:relative;
  padding:clamp(18px,2.4vw,26px);
  border-radius:var(--r-md);
  border:1px solid var(--hairline);
  background:linear-gradient(158deg,rgba(11,45,71,.72),rgba(5,26,43,.86));
}
.page-products .tp-step::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:56px;
  height:2px;
  background:var(--orange);
}
.page-products .tp-step-num{
  display:block;
  margin-bottom:12px;
  font-family:var(--font-mono);
  font-size:28px;
  font-weight:700;
  line-height:1;
  color:var(--orange);
}
.page-products .tp-step h3{
  margin:0 0 8px;
  font-family:var(--font-display);
  font-weight:700;
  font-size:16.5px;
  color:var(--ice);
}
.page-products .tp-step p{
  margin:0;
  font-size:14px;
  line-height:1.72;
  color:var(--gray);
}

/* ---------- 收尾 ---------- */
.page-products .tp-cta{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
  margin-top:clamp(46px,7vw,82px);
  padding:clamp(24px,4vw,42px);
  border-radius:var(--r-lg);
  border:1px solid var(--orange-line);
  background:linear-gradient(120deg,rgba(255,95,46,.2),rgba(11,45,71,.92) 58%);
}
.page-products .tp-cta-title{
  margin:0 0 10px;
  font-family:var(--font-display);
  font-weight:800;
  font-size:clamp(21px,3vw,28px);
  line-height:1.2;
  color:var(--ice);
}
.page-products .tp-cta-text{
  margin:0;
  max-width:56ch;
  font-size:14.5px;
  line-height:1.72;
  color:var(--gray);
}
.page-products .tp-cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

/* ---------- 响应式 ---------- */
@media (min-width:720px){
  .page-products .tp-dim-list{grid-template-columns:repeat(2,minmax(0,1fr));}
  .page-products .tp-steps{grid-template-columns:repeat(3,minmax(0,1fr));}
  .page-products .tp-view-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media (min-width:900px){
  .page-products .tp-hero{
    grid-template-columns:minmax(0,1.55fr) minmax(290px,.85fr);
    gap:clamp(26px,4vw,52px);
  }
  .page-products .tp-score-grid{
    grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
    align-items:center;
  }
  .page-products .tp-score-visual{padding-bottom:0;}
  .page-products .tp-float{
    position:absolute;
    right:10px;
    bottom:-26px;
    margin:0;
    width:min(320px,78%);
    transform:rotate(-1.4deg);
  }
  .page-products .tp-archive-grid{
    grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
    align-items:start;
  }
  .page-products .tp-cta{
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
  }
}

@media (min-width:980px){
  .page-products .tp-bento{
    grid-template-columns:repeat(3,minmax(0,1fr));
    grid-template-areas:
      "dash dash mirror"
      "dash dash score"
      "digest download download"
      "archive archive open";
  }
  .page-products .tp-tool--dash{grid-area:dash;}
  .page-products .tp-tool--mirror{grid-area:mirror;}
  .page-products .tp-tool--score{grid-area:score;}
  .page-products .tp-tool--digest{grid-area:digest;}
  .page-products .tp-tool--download{grid-area:download;}
  .page-products .tp-tool--archive{grid-area:archive;}
  .page-products .tp-tool--open{grid-area:open;}

  .page-products .tp-dims-grid{
    grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);
    align-items:start;
  }
}

@media (prefers-reduced-motion:reduce){
  .page-products .tp-tool,
  .page-products .tp-index a{
    transition:none;
  }
  .page-products .tp-tool:hover{transform:none;}
  .page-products .tp-float{transform:none;}
}

.page-products {
  --v: 1rem;
}
