/* ===== 应用中心 / apps ===== */
.page-products {
  --p-pad: clamp(46px, 8vw, 104px);
  --p-gap: clamp(18px, 3.2vw, 38px);
  --p-line: rgba(74, 83, 89, .42);
  --p-soft: rgba(36, 42, 46, .72);
}

.page-products .crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-faint);
  margin-bottom: clamp(18px, 3vw, 34px);
}

.page-products .crumbs a {
  color: var(--ink-soft);
  text-decoration: none;
}

.page-products .crumbs a:hover {
  color: var(--lime);
}

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

.page-products .media__caption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-faint);
}

/* ---------- 首屏 ---------- */
.page-products .prod-hero {
  padding-block: clamp(30px, 5vw, 62px) clamp(50px, 8vw, 104px);
  position: relative;
  overflow: hidden;
}

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

.page-products .prod-hero__label {
  color: var(--lime);
  margin-bottom: 16px;
}

.page-products .prod-hero__title {
  margin: 0;
  max-width: 14ch;
}

.page-products .prod-hero__title span {
  display: block;
}

.page-products .prod-hero__title-em {
  color: var(--emerald);
  position: relative;
}

.page-products .prod-hero__lead {
  margin-top: clamp(18px, 3vw, 28px);
  color: var(--ink-soft);
  max-width: 56ch;
}

.page-products .prod-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3.5vw, 34px);
}

.page-products .prod-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: clamp(28px, 5vw, 46px) 0 0;
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid var(--p-line);
}

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

.page-products .prod-hero__fact dt {
  color: var(--ink-faint);
  margin-bottom: 8px;
}

.page-products .prod-hero__fact dd {
  margin: 0;
  font-size: 15px;
  color: var(--bone);
  white-space: nowrap;
}

.page-products .prod-hero__num {
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 700;
  color: var(--emerald);
  letter-spacing: .01em;
}

.page-products .prod-device {
  margin: 0;
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--p-line);
  background: linear-gradient(160deg, rgba(31, 191, 122, .16), rgba(23, 26, 28, .9));
}

.page-products .prod-device::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(74, 83, 89, .28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 83, 89, .28) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.page-products .prod-device img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

/* ---------- 01 直达入口 ---------- */
.page-products .prod-entry__grid {
  display: grid;
  gap: var(--p-gap);
}

.page-products .prod-entry__copy .section-title {
  margin-top: 12px;
}

.page-products .prod-steps {
  list-style: none;
  margin: clamp(24px, 4vw, 38px) 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.page-products .prod-steps__item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.page-products .prod-steps__idx {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--emerald);
  color: var(--emerald);
  font-size: 15px;
  font-weight: 700;
}

.page-products .prod-steps__h {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--bone);
}

.page-products .prod-steps__p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-products .prod-entry__aside {
  display: grid;
  gap: 18px;
  align-content: start;
}

.page-products .prod-entry__frag {
  padding: 22px 20px;
}

.page-products .prod-entry__fragnum {
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--bone);
  margin: 8px 0 6px;
  line-height: 1;
}

.page-products .frag--lime .prod-entry__fragnum {
  color: var(--seed);
}

/* ---------- 02 球员页 ---------- */
.page-products .prod-player .section-title {
  margin-top: 12px;
}

.page-products .prod-player__intro {
  margin-top: 18px;
}

.page-products .prod-player__banner {
  margin: clamp(26px, 4.5vw, 44px) 0 0;
  border: 1px solid var(--p-line);
  position: relative;
  overflow: hidden;
}

.page-products .prod-player__banner img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-products .prod-player__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(31, 191, 122, .22) 0%, rgba(23, 26, 28, 0) 58%);
  pointer-events: none;
}

.page-products .prod-player__banner .media__caption {
  padding: 0 4px 14px;
}

.page-products .prod-fields {
  list-style: none;
  margin: clamp(28px, 4.5vw, 46px) 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--p-line);
  border: 1px solid var(--p-line);
}

.page-products .prod-fields__item {
  background: var(--night);
  padding: 22px 20px;
  display: grid;
  gap: 8px;
}

.page-products .prod-fields__key {
  color: var(--lime);
}

.page-products .prod-fields__h {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--bone);
}

.page-products .prod-fields__p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ---------- 03 统计面板 ---------- */
.page-products .prod-stats .section-title {
  margin-top: 12px;
}

.page-products .prod-stats__intro {
  margin-top: 18px;
}

.page-products .prod-dim {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: clamp(24px, 4vw, 36px);
  padding: 16px 18px;
  border-left: 2px solid var(--emerald);
  background: rgba(31, 191, 122, .07);
}

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

.page-products .prod-tables {
  margin-top: clamp(26px, 4.5vw, 44px);
}

.page-products .prod-tables .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.page-products .prod-tables .tab {
  background: transparent;
  border: 1px solid var(--p-line);
  color: var(--ink-soft);
  padding: 10px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  cursor: pointer;
  transition: color .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease);
}

.page-products .prod-tables .tab:hover {
  color: var(--bone);
  border-color: var(--emerald);
}

.page-products .prod-tables .tab[aria-selected="true"] {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--seed);
  font-weight: 700;
}

.page-products .prod-table__wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--p-line);
  background: rgba(16, 19, 15, .35);
}

.page-products .prod-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .prod-table__cap {
  text-align: left;
  padding: 16px 16px 4px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--ink-faint);
  caption-side: top;
}

.page-products .prod-table th,
.page-products .prod-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--p-line);
  vertical-align: top;
}

.page-products .prod-table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 700;
  border-bottom-color: var(--emerald);
}

.page-products .prod-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .prod-table tbody tr:hover {
  background: rgba(31, 191, 122, .08);
}

.page-products .prod-table td:first-child {
  font-weight: 700;
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-products .prod-table td:last-child {
  color: var(--ink-soft);
}

.page-products .prod-compare {
  margin-top: clamp(30px, 5vw, 50px);
  padding: clamp(22px, 3.5vw, 34px);
  border: 1px solid rgba(139, 123, 255, .34);
  background: linear-gradient(150deg, rgba(139, 123, 255, .1), rgba(23, 26, 28, .4));
}

.page-products .prod-compare__h {
  margin: 10px 0 0;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--bone);
  max-width: 30ch;
}

.page-products .prod-compare__slots {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.page-products .prod-compare__slot {
  border: 1px dashed rgba(139, 123, 255, .55);
  padding: 18px 16px;
  background: rgba(16, 19, 15, .45);
  min-height: 116px;
}

.page-products .prod-compare__slot--b {
  border-style: solid;
  border-color: var(--violet);
}

.page-products .prod-compare__name {
  margin: 10px 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--bone);
}

.page-products .prod-compare__meta {
  margin: 0;
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: .04em;
}

.page-products .prod-compare__vs {
  justify-self: center;
  color: var(--lime);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .1em;
}

.page-products .prod-compare__note {
  margin: 20px 0 0;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ---------- 04 伤停追踪 ---------- */
.page-products .prod-injury__grid {
  display: grid;
  gap: var(--p-gap);
}

.page-products .prod-injury__media {
  margin: 0;
  border: 1px solid rgba(255, 138, 61, .32);
  overflow: hidden;
}

.page-products .prod-injury__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-products .prod-injury__copy .section-title {
  margin-top: 12px;
}

.page-products .prod-sev {
  list-style: none;
  margin: clamp(22px, 3.5vw, 32px) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.page-products .prod-sev li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-products .prod-sev__t {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: .04em;
}

.page-products .sev {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.6;
}

.page-products .sev--light {
  color: #FFC08A;
  background: rgba(255, 192, 138, .1);
}

.page-products .sev--watch {
  color: #FFA35E;
  background: rgba(255, 163, 94, .12);
}

.page-products .sev--suspend {
  color: var(--amber);
  background: rgba(255, 138, 61, .15);
}

.page-products .sev--season {
  color: #E86A2A;
  background: rgba(232, 106, 42, .16);
}

.page-products .prod-timeline {
  list-style: none;
  margin: clamp(26px, 4vw, 40px) 0 0;
  padding: 0 0 0 22px;
  border-left: 1px solid rgba(255, 138, 61, .4);
  display: grid;
  gap: 22px;
}

.page-products .prod-timeline__item {
  position: relative;
  padding: 16px 18px;
  background: rgba(16, 19, 15, .42);
  border: 1px solid var(--p-line);
}

.page-products .prod-timeline__dot {
  position: absolute;
  left: -28px;
  top: 22px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 138, 61, .18);
}

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

.page-products .prod-timeline__text {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.page-products .prod-injury__note {
  margin-top: clamp(20px, 3vw, 28px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 138, 61, .28);
  color: var(--ink-faint);
  max-width: 62ch;
}

/* ---------- 05 复盘 ---------- */
.page-products .prod-review__grid {
  display: grid;
  gap: var(--p-gap);
  align-items: center;
}

.page-products .prod-review__list {
  list-style: none;
  margin: clamp(20px, 3vw, 28px) 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .prod-review__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-products .prod-review__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  background: var(--violet);
  transform: rotate(45deg);
}

.page-products .prod-review__cta {
  margin-top: clamp(20px, 3vw, 28px);
}

.page-products .prod-review__media {
  margin: 0;
  border: 1px solid rgba(139, 123, 255, .32);
  overflow: hidden;
}

.page-products .prod-review__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-products .prod-track {
  margin-top: clamp(30px, 5vw, 52px);
  gap: 16px;
  padding-bottom: 10px;
}

.page-products .prod-track__card {
  flex: 0 0 min(84vw, 320px);
  scroll-snap-align: start;
  padding: 22px 20px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.page-products .prod-track__h {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--bone);
}

.page-products .prod-track__p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-soft);
}

/* ---------- 06 版本能力 ---------- */
.page-products .prod-version .section-title {
  margin-top: 12px;
}

.page-products .prod-version__intro {
  margin-top: 18px;
}

.page-products .prod-version__banner {
  margin: clamp(24px, 4vw, 38px) 0 0;
  border: 1px solid var(--p-line);
  overflow: hidden;
  position: relative;
}

.page-products .prod-version__banner img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-products .prod-version__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 26, 28, .86) 0%, rgba(23, 26, 28, .2) 62%, rgba(31, 191, 122, .18) 100%);
  pointer-events: none;
}

.page-products .prod-version__list {
  list-style: none;
  margin: clamp(28px, 4.5vw, 46px) 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--p-line);
}

.page-products .prod-version__node {
  position: relative;
  padding: 22px 0 22px 26px;
  border-bottom: 1px solid var(--p-line);
}

.page-products .prod-version__node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 30px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grid);
}

.page-products .prod-version__node--now::before {
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(198, 255, 61, .16), 0 0 18px rgba(198, 255, 61, .5);
}

.page-products .prod-version__node--now {
  background: rgba(31, 191, 122, .07);
}

.page-products .prod-version__v {
  display: block;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--emerald);
  margin-bottom: 6px;
}

.page-products .prod-version__h {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--bone);
}

.page-products .prod-version__p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink-soft);
  max-width: 58ch;
}

.page-products .prod-req {
  margin-top: clamp(30px, 4.5vw, 46px);
  padding: clamp(20px, 3vw, 28px);
  border-left: 2px solid var(--emerald);
  background: rgba(31, 191, 122, .06);
}

.page-products .prod-req__h {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--bone);
}

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

.page-products .prod-req__list li {
  display: grid;
  gap: 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-products .prod-req__list .label {
  color: var(--lime);
}

/* ---------- 收尾 ---------- */
.page-products .prod-cta__inner {
  display: grid;
  gap: var(--p-gap);
  align-items: end;
}

.page-products .prod-cta__copy .section-title {
  margin-top: 12px;
}

.page-products .prod-cta__p {
  margin-top: 16px;
  color: rgba(16, 19, 15, .78);
}

.page-products .prod-cta__copy .label,
.page-products .prod-cta__copy .section-title,
.page-products .prod-cta__copy .prose {
  color: var(--seed);
}

.page-products .prod-cta__copy .section-title::after {
  background: var(--seed);
}

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

/* ---------- 平板及以上 ---------- */
@media (min-width: 720px) {
  .page-products .prod-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-products .prod-entry__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }

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

  .page-products .prod-compare__slots {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
  }

  .page-products .prod-compare__vs {
    align-self: center;
  }

  .page-products .prod-cta__inner {
    grid-template-columns: minmax(0, 1.15fr) auto;
  }

  .page-products .prod-version__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--p-line);
  }

  .page-products .prod-version__node {
    padding: 26px 16px 22px;
    border-bottom: 0;
    border-right: 1px solid var(--p-line);
  }

  .page-products .prod-version__node:last-child {
    border-right: 0;
  }

  .page-products .prod-version__node::before {
    top: 14px;
    left: 16px;
    width: 12px;
    height: 12px;
  }

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

/* ---------- 桌面 ---------- */
@media (min-width: 1040px) {
  .page-products .prod-hero__title {
    max-width: 12ch;
  }

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

  .page-products .prod-player__banner .media__caption {
    padding: 0 6px 18px;
  }

  .page-products .prod-injury__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-products .prod-injury__fig {
    position: sticky;
    top: calc(var(--m-head, 110px) + 24px);
  }

  .page-products .prod-review__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  }

  .page-products .prod-track__card {
    flex: 0 0 320px;
  }
}

/* ---------- 窄屏兜底 ---------- */
@media (max-width: 419px) {
  .page-products .prod-hero__facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .page-products .prod-hero__fact dd {
    white-space: normal;
  }

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

  .page-products .prod-table {
    min-width: 380px;
  }
}
