.page-products {
  --prod-frame-r: clamp(20px, 2.8vw, 30px);
  --prod-line-soft: #241f1d;
}

/* ---------- 首屏 ---------- */
.page-products .prod-hero {
  padding-block: clamp(36px, 5.5vw, 72px) clamp(20px, 3vw, 36px);
}

.page-products .prod-hero__title {
  margin: 14px 0 22px;
  font-size: clamp(2rem, 6.6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--paper);
}

.page-products .prod-hero__lead {
  max-width: 64ch;
  margin: 0 0 30px;
  color: var(--silver);
}

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

.page-products .prod-jump {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px 9px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--slate);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-products .prod-jump:hover,
.page-products .prod-jump:focus-visible {
  border-color: var(--flame);
  background: var(--prod-line-soft);
}

.page-products .prod-jump__idx {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--flame);
  letter-spacing: 0.04em;
}

/* ---------- 主题框架 ---------- */
.page-products .prod-band {
  padding-block: clamp(28px, 4.4vw, 56px);
}

.page-products .prod-frame {
  display: grid;
  gap: clamp(24px, 3.4vw, 44px);
  grid-template-columns: 1fr;
  border-radius: var(--prod-frame-r);
  padding: clamp(24px, 3.6vw, 52px) clamp(20px, 3.2vw, 48px);
  position: relative;
  overflow: hidden;
}

.page-products .prod-frame--dark {
  background: var(--slate);
  border: 1px solid var(--line);
  color: var(--paper);
}

.page-products .prod-frame--paper {
  background: var(--paper);
  color: var(--paper-ink);
}

.page-products .prod-frame__anchor {
  align-self: start;
}

.page-products .prod-anchor__idx {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--flame);
}

.page-products .prod-frame--paper .prod-anchor__idx {
  color: var(--flame-deep);
}

.page-products .prod-anchor__num {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(3.6rem, 13vw, 8rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.05em;
  color: var(--flame);
}

.page-products .prod-anchor__cap {
  margin: 10px 0 0;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: var(--silver);
}

.page-products .prod-frame__body {
  min-width: 0;
}

.page-products .prod-frame__lead {
  margin: 14px 0 24px;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--silver);
}

.page-products .prod-frame--paper .prod-frame__lead {
  color: #4a443f;
}

.page-products .prod-frame__media {
  margin: 0;
  border-radius: var(--r-soft);
  overflow: hidden;
}

.page-products .prod-frame--paper .section-title {
  color: var(--paper-ink);
}

/* ---------- 三栏数据卡 ---------- */
.page-products .prod-cols {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
  background: var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  margin-bottom: 20px;
}

.page-products .prod-col {
  background: var(--ink);
  padding: clamp(16px, 2.6vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-products .prod-col__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.page-products .prod-col__name {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--paper);
}

.page-products .prod-col__unit {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: var(--silver);
  white-space: nowrap;
}

.page-products .prod-col__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.page-products .prod-col__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--silver);
}

.page-products .prod-col__list b {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--mint);
  white-space: nowrap;
}

/* ---------- 胶囊与浮层口径 ---------- */
.page-products .prod-chips,
.page-products .prod-legend {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .prod-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.page-products .prod-chip {
  position: relative;
  cursor: help;
  outline-offset: 3px;
}

.page-products .prod-chip:hover,
.page-products .prod-chip:focus-visible {
  outline: 2px solid var(--mint);
}

.page-products .prod-chip__tip {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  width: min(74vw, 262px);
  padding: 10px 13px;
  border-radius: var(--r-soft);
  background: var(--paper);
  color: var(--paper-ink);
  font-size: 0.78rem;
  line-height: 1.6;
  letter-spacing: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
  pointer-events: none;
  z-index: 6;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42);
}

.page-products .prod-chip:hover .prod-chip__tip,
.page-products .prod-chip:focus-visible .prod-chip__tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- 过渡说明段 ---------- */
.page-products .prod-note {
  padding-block: clamp(18px, 2.6vw, 30px);
}

.page-products .prod-note__text {
  margin: 0;
  max-width: 60ch;
  padding-left: clamp(14px, 2vw, 24px);
  border-left: 2px solid var(--flame);
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--silver);
}

/* ---------- 复盘时间线 ---------- */
.page-products .tl {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.page-products .tl__item {
  position: relative;
  padding: 0 0 20px 40px;
}

.page-products .tl__item::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--flame-deep);
  z-index: 1;
}

.page-products .tl__item::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 19px;
  bottom: 0;
  width: 1px;
  background: rgba(31, 28, 26, 0.18);
}

.page-products .tl__item:last-child {
  padding-bottom: 0;
}

.page-products .tl__item:last-child::after {
  display: none;
}

.page-products .tl__min {
  margin: 0 0 2px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--flame-deep);
}

.page-products .tl__title {
  margin: 0 0 3px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--paper-ink);
}

.page-products .tl__desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.7;
  color: #524c46;
}

/* ---------- 跑动三指标 ---------- */
.page-products .prod-metrics {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin-bottom: 22px;
}

.page-products .prod-metric {
  padding: 16px 18px;
  border-radius: var(--r-soft);
  background: var(--ink);
  border: 1px solid var(--line);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-products .prod-metric:hover {
  border-color: var(--flame);
  background: var(--prod-line-soft);
}

.page-products .prod-metric__name {
  margin: 0 0 8px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--silver);
}

.page-products .prod-metric__val {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.7rem, 4.6vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--mint);
}

.page-products .prod-metric__unit {
  margin-left: 5px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--silver);
}

.page-products .prod-metric__desc {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.68;
  color: var(--silver);
}

/* ---------- 图表带 ---------- */
.page-products .prod-chartband {
  padding-block: clamp(28px, 4.4vw, 60px);
}

.page-products .prod-chartband__inner {
  border-radius: var(--prod-frame-r);
  background: var(--ink);
  border: 1px solid var(--line);
  padding: clamp(22px, 3.2vw, 44px) clamp(18px, 3vw, 40px);
  display: grid;
  gap: clamp(20px, 3vw, 34px);
}

.page-products .prod-chartband__head {
  max-width: 68ch;
}

.page-products .prod-chartband__desc {
  margin: 12px 0 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--silver);
}

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

.page-products .prod-chart svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 760px;
  margin-inline: auto;
}

.page-products .prod-chart__grid line {
  stroke: var(--line);
  stroke-width: 1;
}

.page-products .prod-chart__axis text {
  fill: var(--silver);
  font-family: var(--font-mono);
  font-size: 11px;
}

.page-products .prod-chart__line path {
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-width 0.2s var(--ease);
}

.page-products .prod-chart__line:hover path,
.page-products .prod-chart__line:focus-within path {
  stroke-width: 5;
}

.page-products .prod-chart__line--bundesliga path { stroke: var(--mint); }
.page-products .prod-chart__line--epl path { stroke: var(--flame); }
.page-products .prod-chart__line--seriea path { stroke: var(--clay); }
.page-products .prod-chart__line--ligue1 path { stroke: var(--moss); }
.page-products .prod-chart__line--laliga path { stroke: #7b7469; }
.page-products .prod-chart__line--liga path { stroke: #4b4642; }

.page-products .prod-legend {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.page-products .prod-legend__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--silver);
}

.page-products .prod-legend__item b {
  margin-left: auto;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--paper);
}

.page-products .prod-legend__dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: currentColor;
}

.page-products .prod-legend__item--bundesliga { color: var(--mint); }
.page-products .prod-legend__item--epl { color: var(--flame); }
.page-products .prod-legend__item--seriea { color: var(--clay); }
.page-products .prod-legend__item--ligue1 { color: var(--moss); }
.page-products .prod-legend__item--laliga { color: #7b7469; }
.page-products .prod-legend__item--liga { color: #4b4642; }

.page-products .prod-legend__item {
  color: var(--silver);
}

.page-products .prod-legend__item span.prod-legend__dot {
  background: var(--dot-c, var(--silver));
}

.page-products .prod-legend__item--bundesliga .prod-legend__dot { --dot-c: var(--mint); }
.page-products .prod-legend__item--epl .prod-legend__dot { --dot-c: var(--flame); }
.page-products .prod-legend__item--seriea .prod-legend__dot { --dot-c: var(--clay); }
.page-products .prod-legend__item--ligue1 .prod-legend__dot { --dot-c: var(--moss); }
.page-products .prod-legend__item--laliga .prod-legend__dot { --dot-c: #7b7469; }
.page-products .prod-legend__item--liga .prod-legend__dot { --dot-c: #4b4642; }

.page-products .prod-chartband__media {
  margin: 0;
  border-radius: var(--r-card);
  overflow: hidden;
}

/* ---------- 名单追踪 ---------- */
.page-products .prod-roster {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-bottom: 20px;
}

.page-products .prod-roster__col {
  padding: 16px 18px;
  border-radius: var(--r-soft);
  background: var(--ink);
  border: 1px solid var(--line);
}

.page-products .prod-roster__name {
  margin: 0 0 12px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--paper);
}

.page-products .prod-roster__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.page-products .prod-roster__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--silver);
}

.page-products .prod-roster__list b {
  font-weight: 600;
  color: var(--paper);
  text-align: right;
}

/* ---------- 版本演进 ---------- */
.page-products .prod-history {
  padding-block: clamp(34px, 5.4vw, 76px);
}

.page-products .prod-history__media {
  margin: 0 0 clamp(26px, 4vw, 48px);
  border-radius: var(--prod-frame-r);
  overflow: hidden;
}

.page-products .prod-history__head {
  max-width: 64ch;
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.page-products .prod-history__lead {
  margin: 12px 0 0;
  font-size: 0.98rem;
  line-height: 1.78;
  color: var(--silver);
}

.page-products .prod-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
  grid-template-columns: 1fr;
}

.page-products .prod-timeline__item {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  padding: 18px 20px;
  border-radius: var(--r-soft);
  background: var(--slate);
  border: 1px solid var(--line);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-products .prod-timeline__item:hover {
  border-color: var(--flame);
  background: var(--prod-line-soft);
}

.page-products .prod-timeline__season {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--flame);
}

.page-products .prod-timeline__name {
  margin: 0 0 5px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--paper);
}

.page-products .prod-timeline__body p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.72;
  color: var(--silver);
}

/* ---------- 组合路径 ---------- */
.page-products .prod-paths {
  padding-block: clamp(34px, 5.4vw, 76px) clamp(44px, 6.6vw, 96px);
}

.page-products .prod-paths__head {
  max-width: 64ch;
  margin-bottom: clamp(22px, 3.2vw, 38px);
}

.page-products .prod-paths__lead {
  margin: 12px 0 0;
  font-size: 0.98rem;
  line-height: 1.78;
  color: var(--silver);
}

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

.page-products .prod-path {
  padding: 22px 22px 24px;
  border-radius: var(--r-card);
  background: var(--slate);
  border: 1px solid var(--line);
  border-top: 3px solid var(--flame);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-products .prod-path:hover {
  border-color: var(--flame);
  transform: translateY(-3px);
}

.page-products .prod-path__idx {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--mint);
  line-height: 1;
}

.page-products .prod-path__name {
  margin: 0 0 10px;
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--paper);
}

.page-products .prod-path__desc {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.78;
  color: var(--silver);
}

.page-products .prod-path__desc a,
.page-products .prod-paths__foot a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.page-products .prod-path__desc a:hover,
.page-products .prod-path__desc a:focus-visible,
.page-products .prod-paths__foot a:hover,
.page-products .prod-paths__foot a:focus-visible {
  color: var(--flame);
  border-color: var(--flame);
}

.page-products .prod-paths__foot {
  margin: clamp(20px, 3vw, 30px) 0 0;
  max-width: 66ch;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--silver);
}

/* ---------- 折叠区适配 ---------- */
.page-products .fold {
  margin-top: 4px;
}

.page-products .fold__body p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.75;
}

/* ---------- 响应式 ---------- */
@media (min-width: 560px) {
  .page-products .prod-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-products .prod-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-products .prod-roster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-products .prod-legend {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .page-products .prod-frame {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    align-items: start;
  }
  .page-products .prod-frame--flip {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }
  .page-products .prod-frame--flip .prod-frame__media {
    grid-column: 1;
    grid-row: 1;
  }
  .page-products .prod-frame--flip .prod-frame__body {
    grid-column: 2;
    grid-row: 1;
  }
  .page-products .prod-frame--dark .prod-frame__media {
    grid-column: 2;
    grid-row: 1;
  }
  .page-products .prod-frame--dark .prod-frame__anchor {
    grid-column: 1;
    grid-row: 1;
  }
  .page-products .prod-frame--dark .prod-frame__body {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-top: 8px;
  }
  .page-products .prod-frame--dark .prod-frame__media {
    grid-row: 1;
  }
  .page-products .prod-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .page-products .prod-timeline__item {
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
  }
  .page-products .prod-paths__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .page-products .prod-chartband__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
  }
  .page-products .prod-chartband__head {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .page-products .prod-chart {
    grid-column: 1;
    grid-row: 2;
  }
  .page-products .prod-legend {
    grid-column: 2;
    grid-row: 2;
    grid-template-columns: 1fr;
    align-self: start;
  }
  .page-products .prod-chartband__media {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

@media (min-width: 1120px) {
  .page-products .prod-hero__title {
    max-width: 20ch;
  }
  .page-products .prod-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-products .prod-timeline__item {
    grid-template-columns: 1fr;
  }
  .page-products .prod-chartband__inner {
    grid-template-columns: minmax(0, 8fr) minmax(0, 3fr);
  }
  .page-products .prod-chartband__media {
    grid-column: 2;
    grid-row: 3;
    max-width: 340px;
    justify-self: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .prod-jump,
  .page-products .prod-chip__tip,
  .page-products .prod-metric,
  .page-products .prod-chart__line path,
  .page-products .prod-timeline__item,
  .page-products .prod-path,
  .page-products .prod-path__desc a,
  .page-products .prod-paths__foot a {
    transition: none;
  }
  .page-products .prod-path:hover {
    transform: none;
  }
}
