.page-products {
  --pp-gap: clamp(18px, 2.4vw, 28px);
  --pp-block: clamp(52px, 7vw, 96px);
  display: block;
  padding-bottom: clamp(56px, 8vw, 104px);
}

/* ---------- 面包屑 ---------- */
.page-products .breadcrumb {
  margin: 22px 0 0;
  font-size: 13px;
}

.page-products .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--mist);
}

.page-products .breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

.page-products .breadcrumb a {
  color: var(--mist);
  text-decoration: none;
  transition: color var(--t-fast);
}

.page-products .breadcrumb a:hover,
.page-products .breadcrumb a:focus-visible {
  color: var(--cyan);
}

/* ---------- 首屏 ---------- */
.page-products .tools-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(30px, 5vw, 64px) 0 clamp(36px, 6vw, 76px);
}

.page-products .tools-hero::before {
  content: "";
  position: absolute;
  inset: -12% -18% 6%;
  z-index: -1;
  background:
    radial-gradient(58% 58% at 20% 16%, rgba(52, 245, 208, 0.13), transparent 68%),
    radial-gradient(48% 48% at 84% 6%, rgba(255, 122, 47, 0.1), transparent 70%);
  pointer-events: none;
}

.page-products .tools-hero__inner {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.page-products .tools-hero__eyebrow {
  margin: 0;
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  text-transform: uppercase;
}

.page-products .tools-hero__title {
  margin: 14px 0 0;
  max-width: 20ch;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 5.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-products .tools-hero__text {
  margin: 18px 0 26px;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--mist);
}

/* 右侧时间点面板 */
.page-products .tools-hero__pulse {
  position: relative;
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, rgba(30, 58, 110, 0.55), rgba(12, 23, 48, 0.92) 62%);
  overflow: hidden;
}

.page-products .tools-hero__pulse::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.page-products .tools-hero__pulse-title {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.page-products .pulse-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .pulse-item {
  display: grid;
  gap: 4px;
  padding: 14px 0 14px 14px;
  border-top: 1px solid var(--line);
  border-left: 2px solid transparent;
  transition: border-color var(--t-base), background var(--t-base);
}

.page-products .pulse-item:first-child {
  border-top: 0;
}

.page-products .pulse-item:hover {
  border-left-color: var(--cyan);
  background: rgba(30, 58, 110, 0.35);
}

.page-products .pulse-item--live {
  border-left-color: var(--orange);
}

.page-products .pulse-item__k {
  font-size: 15px;
  color: var(--cyan);
}

.page-products .pulse-item--live .pulse-item__k {
  color: var(--orange);
}

.page-products .pulse-item__v {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 通用章节标题 ---------- */
.page-products .pp-section {
  padding-bottom: var(--pp-block);
}

.page-products .pp-section--index {
  padding-top: clamp(8px, 2vw, 20px);
}

.page-products .pp-head {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(22px, 3vw, 38px);
}

.page-products .pp-head__no,
.page-products .chap-head__no {
  margin: 0;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

.page-products .pp-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(30px, 5.2vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-products .pp-head__note {
  margin: 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 工具索引 ---------- */
.page-products .tool-index {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-products .tool-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  align-items: baseline;
  padding: 20px 16px 20px 14px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  transition: background var(--t-base), border-color var(--t-base);
}

.page-products .tool-row:hover,
.page-products .tool-row:focus-within {
  background: rgba(30, 58, 110, 0.38);
  border-left-color: var(--cyan);
}

.page-products .tool-row__no {
  font-size: 13px;
  color: var(--cyan);
  grid-row: 1;
}

.page-products .tool-row__name {
  grid-row: 1;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-products .tool-row__what {
  grid-column: 1 / -1;
  font-size: 14px;
  line-height: 1.72;
  color: var(--mist);
}

.page-products .tool-row__time {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--mist);
}

.page-products .tool-row__go {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 4px;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--white);
  text-decoration: none;
  transition: border-color var(--t-base), color var(--t-base), background var(--t-base);
}

.page-products .tool-row__go:hover,
.page-products .tool-row__go:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(52, 245, 208, 0.08);
}

/* ---------- 工具章节 ---------- */
.page-products .tool-chapter {
  padding-bottom: var(--pp-block);
  scroll-margin-top: 120px;
}

.page-products .tool-chapter--alt {
  padding-top: clamp(30px, 4vw, 52px);
  background: linear-gradient(180deg, rgba(12, 23, 48, 0.72), transparent 88%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-products .chap-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  align-items: baseline;
  padding-bottom: 16px;
  margin-bottom: clamp(22px, 3vw, 38px);
  border-bottom: 1px solid var(--line);
}

.page-products .chap-head__main {
  grid-column: 2;
}

.page-products .chap-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-products .chap-head__sub {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--mist);
}

.page-products .chap-head__state {
  grid-column: 1 / -1;
  justify-self: start;
}

.page-products .tool-body {
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}

.page-products .tool-body p {
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--white);
}

.page-products .media-frame__cap {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mist);
}

.page-products .replay-shot {
  max-width: 280px;
  margin: 0 auto;
}

.page-products .replay-copy > p {
  max-width: 62ch;
}

.page-products .beat-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.page-products .beat-list__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--mist);
  border-bottom: 1px solid var(--line);
}

.page-products .beat-list__item:last-child {
  border-bottom: 0;
}

.page-products .beat-list__dot {
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--cyan);
}

.page-products .replay-extra {
  margin: 22px 0 20px;
}

.page-products .note-block {
  margin: 4px 0 18px;
  padding: 14px 16px;
  border-left: 2px solid var(--cyan);
  background: rgba(30, 58, 110, 0.34);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

.page-products .note-block p {
  margin: 0;
  font-size: 14px;
  color: var(--mist);
}

.page-products .tool-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 14px;
  color: var(--white);
  text-decoration: none;
  transition: border-color var(--t-base), color var(--t-base), background var(--t-base);
}

.page-products .tool-more::after {
  content: "→";
  font-family: var(--font-num);
  color: var(--cyan);
}

.page-products .tool-more:hover,
.page-products .tool-more:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(52, 245, 208, 0.08);
}

/* ---------- 反馈栏目 ---------- */
.page-products .feedback-copy > p {
  max-width: 62ch;
}

.page-products .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.page-products .tag-cloud__note {
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.page-products .feedback-copy__lead {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.page-products .iter {
  margin: 0 0 22px;
  padding: 0 0 0 20px;
  list-style: none;
  border-left: 1px solid var(--line);
}

.page-products .iter__item {
  position: relative;
  padding: 0 0 18px 14px;
}

.page-products .iter__item::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -25px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(52, 245, 208, 0.14);
}

.page-products .iter__item--next::before {
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 47, 0.16);
}

.page-products .iter__time {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-products .iter__item--next .iter__time {
  color: var(--orange);
}

.page-products .iter__text {
  margin: 5px 0 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 球队库 ---------- */
.page-products .teams-copy > p {
  max-width: 62ch;
}

.page-products .nest {
  margin: 20px 0 26px;
  padding: 0;
  list-style: none;
}

.page-products .nest__sub {
  margin: 10px 0 0 14px;
  padding: 0 0 0 18px;
  list-style: none;
  border-left: 1px dashed var(--line);
}

.page-products .nest__row {
  margin-bottom: 10px;
}

.page-products .nest__chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  font-size: 14px;
  line-height: 1.4;
}

.page-products .nest__chip--l1 {
  background: rgba(52, 245, 208, 0.12);
  border: 1px solid var(--cyan-deep);
  color: var(--white);
}

.page-products .nest__chip--l2 {
  background: rgba(110, 231, 255, 0.1);
  border: 1px solid var(--ice);
  color: var(--white);
}

.page-products .nest__leaf {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--mist);
}

.page-products .teams-copy__sub {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-products .teams-copy__foot {
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: rgba(30, 58, 110, 0.28);
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 赛程时间轴 ---------- */
.page-products .timeline-shot {
  margin: 0 0 clamp(20px, 3vw, 32px);
}

.page-products .slate {
  margin: 14px 0 clamp(30px, 4vw, 48px);
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-products .slate__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  align-items: center;
  padding: 14px 14px 14px 16px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  transition: background var(--t-base), border-color var(--t-base);
}

.page-products .slate__item:hover {
  background: rgba(30, 58, 110, 0.38);
  border-left-color: var(--cyan);
}

.page-products .slate__time {
  font-size: 15px;
  color: var(--orange);
}

.page-products .slate__match {
  grid-column: 1;
  font-size: 14px;
  color: var(--white);
}

.page-products .slate__state {
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
}

.page-products .countdown__head {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(19px, 2.4vw, 24px);
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-products .countdown {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.page-products .countdown__step {
  position: relative;
  padding: 18px 18px 18px 62px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: linear-gradient(150deg, rgba(30, 58, 110, 0.36), rgba(12, 23, 48, 0.6));
  transition: transform var(--t-base), border-color var(--t-base);
}

.page-products .countdown__step:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 245, 208, 0.55);
}

.page-products .countdown__no {
  position: absolute;
  top: 20px;
  left: 18px;
  font-size: 16px;
  color: var(--cyan);
}

.page-products .countdown__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  color: var(--white);
}

.page-products .countdown__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 场景对照表 ---------- */
.page-products .table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-products .scene-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.page-products .scene-table th,
.page-products .scene-table td {
  padding: 15px 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
  border-bottom: 1px solid var(--line);
}

.page-products .scene-table thead th {
  font-family: var(--font-num);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--mist);
  border-bottom-color: var(--stand);
}

.page-products .scene-table tbody th {
  font-weight: 500;
  color: var(--white);
}

.page-products .scene-table tbody td {
  color: var(--mist);
}

.page-products .scene-table tbody td:nth-child(2) {
  color: var(--white);
  font-weight: 500;
}

.page-products .scene-table tbody tr {
  transition: background var(--t-base), box-shadow var(--t-base);
}

.page-products .scene-table tbody tr:hover {
  background: rgba(30, 58, 110, 0.38);
  box-shadow: inset 2px 0 0 var(--cyan);
}

/* ---------- 从哪里开始 ---------- */
.page-products .pp-section--start {
  padding-bottom: 0;
}

.page-products .start-grid {
  display: grid;
  gap: 16px;
}

.page-products .start-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: linear-gradient(155deg, rgba(30, 58, 110, 0.4), rgba(5, 11, 24, 0.86));
  transition: transform var(--t-base), border-color var(--t-base);
}

.page-products .start-card:hover,
.page-products .start-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(52, 245, 208, 0.55);
}

.page-products .start-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-products .start-card__text {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

.page-products .start-card .tool-more {
  margin-top: auto;
}

/* ---------- 焦点可见性 ---------- */
.page-products a:focus-visible,
.page-products button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: var(--r-pill);
}

/* ---------- 断点 ---------- */
@media (min-width: 720px) {
  .page-products .pp-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 20ch);
    align-items: end;
    column-gap: 32px;
  }

  .page-products .pp-head__no {
    grid-column: 1 / -1;
  }

  .page-products .pp-head__title {
    grid-column: 1;
    grid-row: 2;
  }

  .page-products .pp-head__note {
    grid-column: 2;
    grid-row: 2;
  }

  .page-products .tool-row {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 6px 20px;
    align-items: center;
  }

  .page-products .tool-row__no,
  .page-products .tool-row__name {
    grid-row: 1;
  }

  .page-products .tool-row__name {
    grid-column: 2;
  }

  .page-products .tool-row__what {
    grid-column: 2 / -1;
  }

  .page-products .tool-row__time {
    grid-column: 2;
  }

  .page-products .tool-row__go {
    grid-column: 3;
    grid-row: 2 / span 2;
    align-self: center;
    justify-self: end;
  }

  .page-products .chap-head {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: end;
  }

  .page-products .chap-head__state {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .page-products .slate__state {
    grid-column: 3;
  }

  .page-products .slate__item {
    grid-template-columns: 130px 1fr auto;
  }

  .page-products .slate__match {
    grid-column: 2;
  }

  .page-products .start-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-products .tools-hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }

  .page-products .tool-body--replay {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: clamp(28px, 4vw, 56px);
  }

  .page-products .replay-shot {
    margin: 0;
    position: sticky;
    top: 128px;
  }

  .page-products .tool-body--feedback {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-products .tool-body--teams {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .page-products .countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .start-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .scene-table col.c1 {
    width: 22%;
  }

  .page-products .scene-table col.c2 {
    width: 36%;
  }

  .page-products .scene-table col.c3 {
    width: 42%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .tool-row,
  .page-products .countdown__step,
  .page-products .start-card,
  .page-products .tool-more,
  .page-products .pulse-item {
    transition: none;
  }

  .page-products .countdown__step:hover,
  .page-products .start-card:hover,
  .page-products .start-card:focus-within {
    transform: none;
  }
}
