.page-products {
  --pp-gap: 10px;
  --pp-pad: 22px;
}

@media (min-width: 880px) {
  .page-products {
    --pp-gap: 8px;
    --pp-pad: 30px;
  }
}

/* ===== 首屏框景 ===== */
.page-products .pp-hero {
  padding: 26px 0 44px;
  background: linear-gradient(180deg, var(--concrete-light) 0%, var(--stand-white) 100%);
}

.page-products .pp-hero .breadcrumb {
  margin-bottom: 18px;
}

.page-products .pp-hero__frame {
  position: relative;
  padding: 28px 18px 32px;
  background: var(--stand-white);
  border: 1px solid var(--edge-strong);
  clip-path: polygon(
    0 0,
    calc(100% - 18px) 0,
    100% 18px,
    100% 100%,
    18px 100%,
    0 calc(100% - 18px)
  );
}

.page-products .pp-hero__frame::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed var(--edge);
  pointer-events: none;
}

.page-products .pp-hero__frame::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
  background-image: repeating-linear-gradient(90deg, var(--edge-strong) 0 1px, transparent 1px 13px);
  pointer-events: none;
}

.page-products .pp-hero__frame > * {
  position: relative;
  z-index: 1;
}

.page-products .pp-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 6.4vw, 56px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 12px 0 18px;
  max-width: 20ch;
}

.page-products .pp-hero .lead {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  max-width: 62ch;
  margin: 0;
}

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

.page-products .pp-hero__stats {
  list-style: none;
  margin: 30px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--edge);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.page-products .pp-hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.page-products .pp-stat__num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--turf);
  letter-spacing: -0.02em;
}

.page-products .pp-stat__label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--note);
}

/* ===== 分区标题 ===== */
.page-products .pp-section-head {
  max-width: 68ch;
  margin-bottom: 28px;
}

.page-products .pp-section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.24;
  color: var(--ink);
  margin: 10px 0 14px;
}

.page-products .pp-section-head .prose {
  font-size: 16px;
  line-height: 1.85;
  color: var(--note);
  margin: 0;
}

.page-products .pp-section-head--light h2,
.page-products .pp-section-head--light .prose {
  color: var(--stand-white);
}

.page-products .pp-section-head--light .prose {
  color: rgba(245, 246, 243, 0.72);
}

/* ===== 筛选胶囊 ===== */
.page-products .pp-filterbar,
.page-products .pp-timeline .chipbar {
  margin-bottom: 22px;
}

.page-products .pp-filterbar .chipbar,
.page-products .pp-timeline .chipbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== Bento 拼板 ===== */
.page-products .pp-bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--pp-gap);
  padding: var(--pp-gap);
  background: var(--concrete-light);
}

.page-products .pp-module {
  position: relative;
  display: grid;
  gap: 18px;
  align-content: start;
  padding: var(--pp-pad);
  background: var(--stand-white);
  border: 1px solid var(--edge);
  overflow: hidden;
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.2s ease, filter 0.2s ease;
}

.page-products .pp-module::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.22s ease;
}

.page-products .pp-module.is-out,
.page-products .pp-round.is-out {
  opacity: 0.28;
  filter: grayscale(0.55);
}

@media (hover: hover) {
  .page-products .pp-module:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(20, 23, 26, 0.12);
  }

  .page-products .pp-module:hover::after {
    border-color: var(--turf);
  }
}

.page-products .pp-module__num {
  font-family: var(--font-mono);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--turf);
  margin: 0;
}

.page-products .pp-module__title {
  font-family: var(--font-heading);
  font-size: clamp(21px, 3.2vw, 27px);
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}

.page-products .pp-module__text {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  margin: 0;
  max-width: 60ch;
}

.page-products .pp-module__body {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
}

/* ===== 赛程中心模块 ===== */
.page-products .pp-module--schedule {
  background: var(--night);
  color: var(--stand-white);
  min-height: 380px;
}

.page-products .pp-module__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-products .pp-module__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.75) contrast(0.95);
}

.page-products .pp-module--schedule::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(27, 42, 51, 0.42) 0%, rgba(20, 23, 26, 0.94) 76%);
  pointer-events: none;
}

.page-products .pp-module--schedule > .pp-module__body {
  position: relative;
  z-index: 2;
}

.page-products .pp-module--schedule .pp-module__num {
  -webkit-text-stroke-color: var(--turf-soft);
}

.page-products .pp-module--schedule .pp-module__title {
  color: var(--stand-white);
}

.page-products .pp-module--schedule .pp-module__text {
  color: rgba(245, 246, 243, 0.82);
}

.page-products .pp-routes {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.page-products .pp-routes li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(245, 246, 243, 0.22);
}

.page-products .pp-routes__key {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--turf-soft);
  min-width: 62px;
}

.page-products .pp-routes__val {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(245, 246, 243, 0.9);
}

.page-products .pp-module__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 246, 243, 0.2);
}

.page-products .pp-figure {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
}

.page-products .pp-figure__num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--warn-yellow);
}

.page-products .pp-figure__label {
  font-size: 13px;
  color: rgba(245, 246, 243, 0.7);
}

/* ===== 球队库模块 ===== */
.page-products .pp-module--teams .pp-band--square img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.94);
}

.page-products .pp-fields {
  margin: 0;
  display: grid;
}

.page-products .pp-fields__row {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid var(--edge);
}

.page-products .pp-fields__row:last-child {
  border-bottom: 1px solid var(--edge);
}

.page-products .pp-fields dt {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--turf);
}

.page-products .pp-fields dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
}

.page-products .pp-module .note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--note);
  margin: 0;
}

/* ===== 伤停模块 ===== */
.page-products .pp-band {
  margin: 0;
  overflow: hidden;
}

.page-products .pp-band--wide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 4;
  object-fit: cover;
  filter: saturate(0.78) contrast(0.96);
}

.page-products .pp-tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--edge);
}

.page-products .pp-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.page-products .pp-table th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: left;
  white-space: nowrap;
  padding: 10px 12px;
  color: var(--stand-white);
  background: var(--concrete-dark);
}

.page-products .pp-table td {
  padding: 16px 12px;
  vertical-align: top;
  line-height: 1.7;
  color: var(--note);
  background: var(--stand-white);
  border-top: 1px solid var(--edge);
}

/* ===== PC 端模块 ===== */
.page-products .pp-module--pc {
  grid-template-columns: minmax(0, 1fr);
}

.page-products .pp-pc-media {
  margin: 0;
  overflow: hidden;
}

.page-products .pp-pc-media img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  filter: saturate(0.6) brightness(0.86);
}

.page-products .pp-metrics {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.page-products .pp-metrics li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 12px;
  border-left: 2px solid var(--turf-soft);
}

.page-products .pp-metrics__num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--score-red);
}

.page-products .pp-metrics__label {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--note);
}

.page-products .pp-inline-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--turf);
  text-decoration: underline;
  text-underline-offset: 4px;
  align-self: start;
}

/* ===== 三轮更新 ===== */
.page-products .pp-rounds-section {
  position: relative;
}

.page-products .pp-timeline {
  margin-top: 8px;
}

.page-products .pp-rail {
  display: block;
  width: 100%;
  height: 22px;
  margin: 4px 0 22px;
}

.page-products .pp-rounds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--pp-gap);
}

.page-products .pp-round {
  padding: 22px 20px;
  background: rgba(245, 246, 243, 0.06);
  border: 1px solid var(--edge-light);
  border-left: 3px solid var(--turf);
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.22s ease;
}

@media (hover: hover) {
  .page-products .pp-round:hover {
    transform: translateY(-2px);
    background: rgba(245, 246, 243, 0.1);
  }
}

.page-products .pp-round__time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--turf-soft);
  margin: 0 0 8px;
}

.page-products .pp-round__title {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.35;
  color: var(--stand-white);
  margin: 0 0 10px;
}

.page-products .pp-round p:last-child {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(245, 246, 243, 0.78);
  margin: 0;
}

/* ===== 四条路径 ===== */
.page-products .pp-paths {
  display: grid;
  gap: var(--pp-gap);
}

.page-products .pp-path {
  padding: 22px 20px;
  background: var(--stand-white);
  border: 1px solid var(--edge);
  border-top: 3px solid var(--concrete-dark);
}

.page-products .pp-path__key {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--turf);
  margin: 0 0 10px;
}

.page-products .pp-path h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 10px;
}

.page-products .pp-path p:last-child {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--note);
  margin: 0;
}

.page-products .pp-paths__media {
  margin: var(--pp-gap) 0 0;
  overflow: hidden;
}

.page-products .pp-paths__media img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  filter: saturate(0.55) brightness(0.92);
}

/* ===== 收束 ===== */
.page-products .pp-cta__inner {
  display: grid;
  gap: 22px;
}

.page-products .pp-cta__copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(23px, 3.6vw, 34px);
  line-height: 1.28;
  color: var(--stand-white);
  margin: 10px 0 14px;
}

.page-products .pp-cta__copy p {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(245, 246, 243, 0.78);
  margin: 0;
  max-width: 62ch;
}

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

.page-products .pp-cta__note {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(245, 246, 243, 0.6);
  margin: 0;
}

.page-products .pp-cta__note a {
  color: var(--turf-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== 浮动入口 ===== */
.page-products .pp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--stand-white);
  background: var(--turf);
  border: 1px solid var(--turf);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 22px rgba(20, 23, 26, 0.26);
  clip-path: none;
}

.page-products .pp-float:focus-visible {
  outline: 3px solid var(--warn-yellow);
  outline-offset: 2px;
}

/* ===== 响应式 ===== */
@media (min-width: 700px) {
  .page-products .pp-hero__frame {
    padding: 40px 44px 44px;
  }

  .page-products .pp-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

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

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

  .page-products .pp-paths__media img {
    height: 200px;
  }

  .page-products .pp-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px 40px;
  }

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

@media (min-width: 880px) {
  .page-products .pp-bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .page-products .pp-module--schedule {
    grid-column: span 8;
    min-height: 460px;
  }

  .page-products .pp-module--teams {
    grid-column: span 4;
  }

  .page-products .pp-module--injury {
    grid-column: span 7;
  }

  .page-products .pp-module--pc {
    grid-column: span 5;
    grid-template-columns: 118px minmax(0, 1fr);
    align-items: stretch;
  }

  .page-products .pp-pc-media img {
    height: 100%;
    min-height: 260px;
  }

  .page-products .pp-module--teams .pp-band--square img {
    height: 260px;
  }

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

@media (min-width: 1100px) {
  .page-products .pp-hero h1 {
    max-width: 18ch;
  }

  .page-products .pp-paths__media img {
    height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pp-module,
  .page-products .pp-round,
  .page-products .pp-module::after {
    transition: none;
  }

  .page-products .pp-module:hover,
  .page-products .pp-round:hover {
    transform: none;
    box-shadow: none;
  }
}
