.page-products {
  --pp-shift: 32px;
  --pp-focus: 2px solid var(--neon);
  padding-bottom: clamp(48px, 8vw, 96px);
}

.page-products img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-products a:focus-visible,
.page-products button:focus-visible,
.page-products [tabindex="0"]:focus-visible {
  outline: var(--pp-focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ---------- 首屏引言 ---------- */

.prod-intro {
  display: grid;
  gap: 16px;
  padding-top: clamp(22px, 5vw, 48px);
  padding-bottom: clamp(26px, 5vw, 52px);
  border-bottom: 1px solid var(--line-soft);
}

.prod-intro__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 9vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 16ch;
}

.prod-intro__lede {
  max-width: 620px;
}

.prod-meta {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
}

.prod-meta li {
  border-left: 2px solid var(--line-green);
  padding-left: 12px;
}

.prod-meta__k {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 4px;
}

.prod-meta__v {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(18px, 4vw, 24px);
  color: var(--neon);
}

/* ---------- 五块面板 ---------- */

.panel-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.panel-card {
  position: relative;
  overflow: hidden;
  padding: 22px 20px 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(158deg, var(--panel-green) 0%, rgba(11, 36, 29, 0.92) 100%);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.panel-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--neon), var(--mist));
  transition: width 0.38s ease;
}

.panel-card:hover,
.panel-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--neon);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

.panel-card:hover::after,
.panel-card:focus-visible::after {
  width: 100%;
}

.panel-card__idx {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--line-green);
  filter: brightness(1.9);
}

.panel-card__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.1;
  color: var(--text);
}

.panel-card__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.panel-card__more {
  margin: 0;
  max-height: 0;
  padding-top: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.65;
  color: var(--mist);
  border-top: 1px dashed transparent;
  transition: max-height 0.34s ease, opacity 0.3s ease, padding-top 0.3s ease,
    margin-top 0.3s ease, border-color 0.3s ease;
}

.panel-card:hover .panel-card__more,
.panel-card:focus-visible .panel-card__more {
  max-height: 140px;
  opacity: 1;
  margin-top: 14px;
  padding-top: 12px;
  border-top-color: var(--line-soft);
}

/* ---------- 目录操作 ---------- */

.filter-demo {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.league-chips,
.sort-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sort-chips {
  padding-top: 4px;
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
}

.match-scroll {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  -webkit-overflow-scrolling: touch;
}

.match-list {
  min-width: 520px;
  display: grid;
  gap: 1px;
  background: var(--line-soft);
}

.match-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px 60px 60px;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  background: var(--panel-green);
  font-size: 14px;
}

.match-row--head {
  background: var(--stand-green);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.match-row--head span {
  text-align: right;
}

.match-row--head span:first-child {
  text-align: left;
}

.match-row__name {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-row__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--neon);
  text-align: right;
}

.filter-note {
  margin: 0;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 战报时间线 ---------- */

.report-grid {
  display: grid;
  gap: 28px;
  margin-top: 26px;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 4px 0 4px 26px;
  border-left: 2px solid var(--line-green);
  display: grid;
  gap: 22px;
}

.tl-item {
  position: relative;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--panel-green);
  border: 2px solid var(--neon);
}

.tl-item--shot::before {
  background: var(--shot);
  border-color: var(--shot);
}

.tl-minute {
  margin: 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  color: var(--neon);
}

.tl-item--shot .tl-minute {
  color: var(--shot);
}

.tl-title {
  margin: 4px 0 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.tl-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 52ch;
}

.report-side {
  align-self: start;
  padding: 22px 20px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--neon);
  border-radius: var(--radius-md);
  background: var(--stand-green);
}

.report-side__num {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 12vw, 72px);
  line-height: 0.9;
  color: var(--neon);
}

.report-side__num span {
  font-size: 18px;
  margin-left: 6px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.report-side__label {
  margin: 6px 0 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.report-side__text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
}

.report-side__link {
  display: inline-block;
  font-size: 14px;
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid var(--line-green);
  padding-bottom: 2px;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.report-side__link:hover {
  border-bottom-color: var(--neon);
  color: var(--mist);
}

/* ---------- 射门统计 ---------- */

.feature-split {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.feature-lead {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 4.6vw, 30px);
  line-height: 1.25;
  color: var(--text);
  max-width: 22ch;
}

.feature-text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
  max-width: 54ch;
}

.shot-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.shot-figure img {
  width: 100%;
  object-fit: cover;
}

.shot-map-wrap {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--stand-green);
}

.shot-map {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

.shot-map__caption {
  margin: 10px 0 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* ---------- 移动端 ---------- */

.mobile-block {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.mobile-points {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.mobile-points li {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--panel-green);
  border: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.mobile-points__k {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--neon);
  margin-bottom: 4px;
}

.mobile-block__media .media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.mobile-block__media img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

/* ---------- 左右对照 ---------- */

.compare-block {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}

.compare-block__media .media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.compare-block__media img {
  width: 100%;
  object-fit: cover;
}

.compare-view {
  display: grid;
  gap: 20px;
  padding: 22px 20px 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--panel-green), rgba(5, 19, 15, 0.96));
}

.compare-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.compare-side {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: var(--text);
}

.compare-side span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.compare-side--b {
  text-align: right;
}

.metric {
  display: grid;
  gap: 8px;
}

.metric__name {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.bar-line {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 10px;
}

.bar-line__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.bar-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(31, 76, 65, 0.5);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: var(--w, 50%);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.bar-fill--a {
  background: linear-gradient(90deg, var(--neon), var(--mist));
}

.bar-fill--b {
  background: linear-gradient(90deg, var(--shot), var(--amber));
}

.bar-line__val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--text);
  text-align: right;
}

.compare-note {
  margin: 4px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 刷新与工艺 ---------- */

.craft-grid {
  display: grid;
  gap: 20px;
  margin-top: 26px;
}

.craft-card {
  padding-top: 18px;
  border-top: 2px solid var(--neon);
}

.craft-card--shot {
  border-top-color: var(--shot);
}

.craft-card__num {
  margin: 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(26px, 6vw, 34px);
  color: var(--neon);
}

.craft-card--shot .craft-card__num {
  color: var(--shot);
}

.craft-card__label {
  margin: 8px 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
}

.craft-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 40ch;
}

/* ---------- 场景 ---------- */

.scene-list {
  display: grid;
  gap: 1px;
  margin-top: 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line-soft);
}

.scene-row {
  display: grid;
  gap: 8px;
  padding: 20px 18px;
  background: var(--ink-abyss);
  transition: background 0.25s ease;
}

.scene-row:hover,
.scene-row:focus-within {
  background: var(--stand-green);
}

.scene-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--text);
}

.scene-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.scene-entry {
  margin: 0;
}

.scene-entry a {
  font-size: 13px;
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid var(--line-green);
  padding-bottom: 2px;
  transition: border-color 0.25s ease, opacity 0.25s ease;
}

.scene-entry a:hover {
  border-bottom-color: var(--neon);
}

.scene-figure {
  margin: 26px 0 0;
}

.scene-figure .media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.scene-figure img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

/* ---------- 版本 ---------- */

.version-grid {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.version-col {
  padding: 22px 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--panel-green);
}

.version-col--now {
  border-color: var(--neon);
  background: linear-gradient(150deg, rgba(59, 242, 200, 0.1), var(--panel-green) 60%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
}

.version-col__v {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  color: var(--muted);
}

.version-col--now .version-col__v {
  color: var(--neon);
}

.version-col__tag {
  margin: 6px 0 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--amber);
}

.version-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.version-list li {
  padding-left: 16px;
  position: relative;
}

.version-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 2px;
  background: var(--line-green);
  filter: brightness(1.8);
}

.version-col--now .version-list li::before {
  background: var(--neon);
  filter: none;
}

.version-figure {
  margin: 26px 0 0;
}

.version-figure .media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.version-figure img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}

/* ---------- 收尾 ---------- */

.cta-band {
  margin-top: clamp(40px, 7vw, 72px);
  display: grid;
  gap: 20px;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(126deg, var(--stand-green) 0%, var(--ink-abyss) 78%);
}

.cta-band__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 6vw, 42px);
  line-height: 1.1;
  color: var(--text);
}

.cta-band__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 56ch;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 响应式 ---------- */

@media (min-width: 720px) {
  .prod-meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .panel-card:nth-child(2) {
    margin-top: var(--pp-shift);
  }

  .craft-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .scene-row {
    grid-template-columns: minmax(0, 190px) minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
  }

  .version-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .report-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 44px;
    align-items: start;
  }

  .feature-split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 44px;
    align-items: start;
  }

  .mobile-block {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 48px;
    align-items: center;
  }

  .compare-block {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 32px;
    align-items: start;
  }

  .cta-band {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
  }
}

@media (min-width: 1080px) {
  .panel-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
  }

  .panel-card:nth-child(1),
  .panel-card:nth-child(2),
  .panel-card:nth-child(3) {
    grid-column: span 2;
  }

  .panel-card:nth-child(4),
  .panel-card:nth-child(5) {
    grid-column: span 3;
  }

  .panel-card:nth-child(2),
  .panel-card:nth-child(4) {
    margin-top: var(--pp-shift);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products *,
  .page-products *::before,
  .page-products *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

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