.page-products {
  --prod-cut: 24px;
  --prod-gap: clamp(22px, 4vw, 44px);
  background: var(--ink-900);
  color: var(--paper);
  font-family: var(--font-body);
  line-height: 1.75;
  overflow-x: hidden;
}

.page-products .shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-products h1,
.page-products h2,
.page-products h3 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

.page-products h1 {
  font-size: clamp(2rem, 7.2vw, 3.5rem);
  line-height: 1.06;
  font-weight: 800;
  margin-top: 14px;
}

.page-products h2 {
  font-size: clamp(1.45rem, 4vw, 2.2rem);
  line-height: 1.18;
  font-weight: 700;
  margin-top: 10px;
}

.page-products h3 {
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  line-height: 1.3;
  margin-top: 12px;
}

.page-products p {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: clamp(0.95rem, 2vw, 1rem);
}

.page-products .mono,
.page-products .prod-dl__ver,
.page-products .tagrow__combo,
.page-products .prod-stat__num,
.page-products .prod-step__num,
.page-products .fmt__code {
  font-family: var(--font-mono);
}

.page-products .kicker {
  color: var(--teal);
  letter-spacing: 0.18em;
  font-size: 12px;
  text-transform: uppercase;
}

/* 面包屑 */
.page-products .prod-crumbs {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 18px var(--gutter) 0;
}

.page-products .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
}

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

.page-products .breadcrumb a {
  color: var(--dim);
  text-decoration: none;
}

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

.page-products .breadcrumb [aria-current="page"] {
  color: var(--paper);
}

/* 首屏 */
.page-products .prod-hero {
  position: relative;
  padding: clamp(26px, 5vw, 58px) 0 clamp(34px, 6vw, 72px);
  overflow: hidden;
}

.page-products .prod-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(118deg, transparent 0 36px, rgba(61, 245, 200, 0.045) 36px 37px);
  pointer-events: none;
}

.page-products .prod-hero__grid {
  position: relative;
  display: grid;
  gap: var(--prod-gap);
  align-items: start;
}

.page-products .prod-hero__lead {
  max-width: 46ch;
  font-size: clamp(1rem, 2.4vw, 1.08rem);
  color: var(--dim);
  margin-top: 18px;
}

.page-products .prod-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-products .prod-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 26px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.04em;
}

.page-products .prod-hero__facts .mono {
  color: var(--amber);
}

.page-products .prod-hero__panel {
  position: relative;
  background: linear-gradient(158deg, var(--ink-800), var(--ink-900) 72%);
  border: 1px solid var(--line);
  padding: clamp(20px, 3vw, 28px);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}

.page-products .prod-hero__panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--amber), transparent 72%);
}

.page-products .prod-panel__state {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--teal);
  text-transform: uppercase;
}

.page-products .prod-panel__list {
  margin: 0;
}

.page-products .prod-panel__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 14px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.page-products .prod-panel__row dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.page-products .prod-panel__row dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--paper);
}

/* 仪表板 */
.page-products .prod-dash {
  padding: clamp(34px, 6vw, 72px) 0;
  background: var(--ink-800);
  border-block: 1px solid var(--line);
}

.page-products .prod-dash__head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(22px, 4vw, 38px);
}

.page-products .prod-dash__board {
  position: relative;
  overflow: hidden;
  background: var(--ink-900);
  padding: clamp(20px, 4vw, 44px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.page-products .prod-dash__texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  pointer-events: none;
}

.page-products .prod-dash__stats {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.page-products .prod-dash__stats > li {
  background: var(--ink-900);
  padding: 18px 16px 20px;
  min-width: 0;
}

.page-products .prod-stat__num {
  display: block;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1;
  color: var(--teal);
  letter-spacing: -0.02em;
}

.page-products .prod-stat__num--amber {
  color: var(--amber);
}

.page-products .prod-stat__label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--dim);
  line-height: 1.5;
}

.page-products .prod-dash__foot {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.03em;
}

/* 进失球分布 */
.page-products .prod-dist {
  padding: clamp(38px, 7vw, 86px) 0;
}

.page-products .prod-dist__grid {
  display: grid;
  gap: var(--prod-gap);
  align-items: center;
}

.page-products .prod-dist__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.page-products .prod-dist__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
}

.page-products .legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  vertical-align: middle;
}

.page-products .legend-dot--teal {
  background: var(--teal);
}

.page-products .legend-dot--amber {
  background: var(--amber);
}

.page-products .prod-dist__figure {
  margin: 0;
  padding: 10px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.page-products .prod-dist__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.9);
}

.page-products .prod-dist__figure figcaption {
  margin-top: 12px;
  font-size: 12px;
  color: var(--dim);
  line-height: 1.6;
}

/* 标签流 */
.page-products .prod-tags {
  padding: clamp(34px, 6vw, 80px) 0;
  background: var(--ink-800);
}

.page-products .prod-tags__head {
  max-width: 62ch;
}

.page-products .prod-tags__grid {
  display: grid;
  gap: var(--prod-gap);
  margin-top: clamp(22px, 4vw, 36px);
}

.page-products .tagfilter__hint {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--dim);
  margin: 0 0 14px;
}

.page-products .tagfilter__rail {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.page-products .tagfilter__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

.page-products .tagfilter__rail label.tag {
  cursor: pointer;
  background: var(--ink-900);
}

.page-products .tagfilter__input:checked + label.tag {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal);
}

.page-products .tagfilter__input:focus-visible + label.tag {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.page-products .tagfilter__rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
}

.page-products .tagrow {
  background: var(--ink-900);
  padding: 15px 16px;
  display: grid;
  gap: 5px;
  min-width: 0;
}

.page-products .tagrow__combo {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--teal);
}

.page-products .tagrow__text {
  display: block;
  font-size: 14px;
  color: var(--dim);
  line-height: 1.65;
}

.page-products .tagfilter:has(#dim-league:checked) .tagrow:not(.tagrow--league),
.page-products .tagfilter:has(#dim-season:checked) .tagrow:not(.tagrow--season),
.page-products .tagfilter:has(#dim-team:checked) .tagrow:not(.tagrow--team),
.page-products .tagfilter:has(#dim-venue:checked) .tagrow:not(.tagrow--venue),
.page-products .tagfilter:has(#dim-half:checked) .tagrow:not(.tagrow--half),
.page-products .tagfilter:has(#dim-time:checked) .tagrow:not(.tagrow--time) {
  display: none;
}

.page-products .prod-tags__figure {
  margin: 0;
}

.page-products .prod-tags__figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  filter: saturate(0.85);
}

.page-products .prod-tags__figure figcaption {
  margin-top: 12px;
  font-size: 12px;
  color: var(--dim);
  line-height: 1.6;
}

/* 下载面板 */
.page-products .prod-dl {
  padding: clamp(36px, 6vw, 84px) 0;
}

.page-products .prod-dl__panel {
  display: grid;
  background: var(--ink-800);
  border: 1px solid var(--amber-line);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}

.page-products .prod-dl__body {
  padding: clamp(22px, 4vw, 40px);
  min-width: 0;
}

.page-products .prod-dl__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-products .prod-dl__ver {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--amber);
}

.page-products .prod-dl__formats {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid var(--amber-line);
}

.page-products .fmt {
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  outline-offset: 3px;
}

.page-products .fmt:focus-visible {
  outline: 2px solid var(--teal);
}

.page-products .fmt__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
}

.page-products .fmt__code {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--amber);
}

.page-products .fmt__desc {
  font-size: 14px;
  color: var(--paper);
}

.page-products .fmt__more {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--dim);
  transition: max-height 0.2s var(--ease), opacity 0.2s var(--ease), margin-top 0.2s var(--ease);
}

.page-products .fmt:hover .fmt__more,
.page-products .fmt:focus .fmt__more {
  max-height: 6em;
  opacity: 1;
  margin-top: 8px;
}

.page-products .prod-dl__figure {
  position: relative;
  margin: 0;
  min-height: 180px;
  overflow: hidden;
}

.page-products .prod-dl__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.page-products .prod-dl__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--ink-800), rgba(11, 30, 51, 0) 65%);
  pointer-events: none;
}

/* 三步 */
.page-products .prod-steps {
  padding: clamp(34px, 6vw, 76px) 0;
  background: var(--ink-800);
  border-top: 1px solid var(--line);
}

.page-products .prod-steps__list {
  list-style: none;
  margin: clamp(22px, 4vw, 34px) 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
}

.page-products .prod-step {
  background: var(--ink-800);
  padding: clamp(18px, 3vw, 28px);
  min-width: 0;
}

.page-products .prod-step__num {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--teal);
  letter-spacing: 0.04em;
}

.page-products .prod-steps__more {
  margin-top: 20px;
}

.page-products .prod-steps__more a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid var(--amber-line);
  padding-bottom: 2px;
}

.page-products .prod-steps__more a:hover,
.page-products .prod-steps__more a:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

/* 场景与版本 */
.page-products .prod-plan {
  padding: clamp(40px, 7vw, 86px) 0;
}

.page-products .prod-plan__head {
  max-width: 60ch;
}

.page-products .prod-plan__list {
  list-style: none;
  margin: clamp(22px, 4vw, 36px) 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
}

.page-products .prod-plan__item {
  background: var(--ink-900);
  padding: clamp(20px, 3vw, 30px);
  border-top: 2px solid transparent;
  min-width: 0;
}

.page-products .prod-plan__item--featured {
  background: var(--ink-800);
  border-top-color: var(--amber);
}

.page-products .prod-plan__figure {
  margin: clamp(24px, 4vw, 40px) 0 0;
}

.page-products .prod-plan__figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  filter: saturate(0.8);
}

.page-products .prod-plan__figure figcaption {
  margin-top: 12px;
  font-size: 12px;
  color: var(--dim);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

/* 收尾 */
.page-products .prod-cta {
  padding: clamp(30px, 5vw, 60px) 0 clamp(44px, 8vw, 92px);
}

.page-products .prod-cta__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(22px, 4vw, 42px);
  background:
    linear-gradient(132deg, var(--teal-soft), transparent 62%),
    var(--ink-800);
  border: 1px solid var(--teal-line);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.page-products .prod-cta__inner > div {
  min-width: 0;
  flex: 1 1 260px;
}

.page-products .prod-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 断点 */
@media (min-width: 620px) {
  .page-products .tagrow {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
    align-items: baseline;
    gap: 6px 18px;
  }
}

@media (min-width: 860px) {
  .page-products .prod-dash__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 20px 40px;
  }

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

  .page-products .prod-steps__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .prod-plan__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-products .prod-hero__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
    gap: clamp(34px, 5vw, 64px);
  }

  .page-products .prod-dist__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .page-products .prod-dl__panel {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
  }
}

@media (min-width: 960px) {
  .page-products .prod-tags__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .fmt__more {
    transition: opacity 0.01ms linear;
  }
}
</
