.page-products {
  --apps-cut: 14px;
  --apps-cut-sm: 9px;
  --apps-gap: clamp(14px, 2.6vw, 28px);
}

/* 面包屑 */
.page-products .breadcrumb {
  padding-top: clamp(18px, 3vw, 30px);
}

/* 首屏 */
.apps-hero {
  padding-block: clamp(28px, 5vw, 60px) clamp(24px, 4vw, 48px);
}

.apps-hero__grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: minmax(0, 1fr);
}

.apps-hero__lead .display {
  margin: 10px 0 16px;
}

.apps-hero__lead .lede {
  margin: 0;
  max-width: 40em;
}

.apps-hero__readout {
  margin: 0;
  display: grid;
  gap: 1px;
  background: var(--steel);
  border: 1px solid var(--steel);
  clip-path: polygon(0 0, calc(100% - var(--apps-cut)) 0, 100% var(--apps-cut), 100% 100%, 0 100%);
}

.apps-hero__readout-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  background: var(--night-blue);
  padding: 13px 18px;
}

.apps-hero__readout-row dt {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.apps-hero__readout-row dd {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: clamp(20px, 4vw, 26px);
  color: var(--cyan);
}

.apps-hero__unit {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

@media (min-width: 900px) {
  .apps-hero__grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 68px);
    align-items: end;
  }
}

/* 主体骨架：左索引 + 右内容 */
.apps-shell {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: clamp(48px, 8vw, 96px);
}

.apps-index {
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
  padding-block: 14px;
}

.apps-index__head {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--mist);
  text-transform: uppercase;
}

.apps-index__list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.apps-index__list a {
  display: block;
  padding: 7px 10px;
  font-size: 14px;
  color: var(--mist);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.apps-index__list a:hover,
.apps-index__list a:focus-visible {
  color: var(--ice);
  border-left-color: var(--cyan);
  background: var(--teal-deep);
}

.apps-index__list a[aria-current="true"] {
  color: var(--ice);
  border-left-color: var(--orange);
  background: var(--teal-deep);
}

.apps-index__foot {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
}

.apps-index__foot a {
  color: var(--cyan);
}

@media (min-width: 1024px) {
  .apps-shell {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: start;
  }

  .apps-index {
    position: sticky;
    top: 96px;
    border-bottom: 0;
    padding-bottom: 0;
  }

  .apps-index__list {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 2px;
  }
}

.apps-body {
  display: grid;
  gap: clamp(48px, 7vw, 92px);
  min-width: 0;
}

.apps-block {
  min-width: 0;
}

.apps-block h2 {
  margin: 10px 0 12px;
}

.apps-block h3 {
  margin: 0 0 8px;
}

/* 三端形式 */
.apps-forms {
  display: grid;
  gap: var(--apps-gap);
  grid-template-columns: minmax(0, 1fr);
  margin-top: clamp(20px, 3vw, 32px);
}

.apps-form {
  position: relative;
  min-width: 0;
  background: var(--night-blue);
  border: 1px solid var(--steel);
  clip-path: polygon(0 0, calc(100% - var(--apps-cut)) 0, 100% var(--apps-cut), 100% 100%, 0 100%);
  padding: clamp(20px, 3vw, 30px);
  transition: transform 190ms ease, border-color 190ms ease;
}

.apps-form::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--steel);
  transition: background-color 190ms ease;
}

.apps-form:hover,
.apps-form:focus-within {
  transform: translateY(-4px);
}

.apps-form:hover::before,
.apps-form:focus-within::before {
  background: var(--cyan);
}

.apps-form .chip {
  display: inline-block;
  margin-bottom: 12px;
}

.apps-form h3 {
  font-size: clamp(17px, 2.4vw, 21px);
  color: var(--ice);
}

.apps-form p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.apps-form__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.apps-form__points li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--mist);
}

.apps-form__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 1px;
  background: var(--orange);
}

.apps-form__media {
  margin: 16px 0 0;
}

@media (min-width: 900px) {
  .apps-forms {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .apps-form--web {
    grid-column: span 6;
  }

  .apps-form--desktop {
    grid-column: span 3;
  }

  .apps-form--mobile {
    grid-column: span 3;
  }
}

/* 赛程查询 */
.apps-schedule__shot {
  margin-top: clamp(20px, 3vw, 32px);
}

.apps-clues {
  list-style: none;
  margin: clamp(26px, 4vw, 40px) 0 0;
  padding: 0;
  display: grid;
  gap: var(--apps-gap);
  grid-template-columns: minmax(0, 1fr);
}

.apps-clue {
  border-top: 2px solid var(--steel);
  padding-top: 14px;
  min-width: 0;
}

.apps-clue__no {
  display: block;
  font-size: 14px;
  color: var(--orange);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.apps-clue__title {
  font-size: 16px;
  color: var(--ice);
}

.apps-clue__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--mist);
}

@media (min-width: 720px) {
  .apps-clues {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .apps-clues {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* 场馆对照 */
.apps-venue__shot {
  margin-top: clamp(20px, 3vw, 32px);
}

.apps-venue__fields {
  display: grid;
  gap: var(--apps-gap);
  grid-template-columns: minmax(0, 1fr);
  margin-top: clamp(24px, 3vw, 36px);
}

.apps-venue__field {
  border-left: 2px solid var(--steel);
  padding-left: 14px;
  min-width: 0;
}

.apps-venue__field h3 {
  font-size: 16px;
  color: var(--ice);
}

.apps-venue__field p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

.apps-venue__lower {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  grid-template-columns: minmax(0, 1fr);
  margin-top: clamp(28px, 4vw, 46px);
  align-items: center;
}

.apps-venue__plan {
  margin: 0;
}

.apps-venue__export p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.apps-venue__export h3 {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--ice);
}

.apps-venue__export a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(44, 229, 210, 0.45);
  text-decoration: none;
}

.apps-venue__export a:hover,
.apps-venue__export a:focus-visible {
  border-bottom-color: var(--cyan);
}

@media (min-width: 720px) {
  .apps-venue__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .apps-venue__fields {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .apps-venue__lower {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  }
}

/* 9 个评测维度 */
.apps-review {
  display: grid;
  gap: var(--apps-gap);
  grid-template-columns: minmax(0, 1fr);
  margin-top: clamp(22px, 3vw, 34px);
}

.apps-metric {
  position: relative;
  min-width: 0;
  background: var(--night-blue);
  border: 1px solid var(--steel);
  clip-path: polygon(0 0, calc(100% - var(--apps-cut-sm)) 0, 100% var(--apps-cut-sm), 100% 100%, 0 100%);
  padding: 16px 18px 18px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.apps-metric:hover,
.apps-metric:focus-within {
  transform: translateY(-4px);
  border-color: var(--cyan);
}

.apps-metric__no {
  display: block;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--amber);
  margin-bottom: 10px;
}

.apps-metric__title {
  font-size: 16px;
  color: var(--ice);
}

.apps-metric__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mist);
}

.apps-review__note {
  margin: clamp(22px, 3vw, 32px) 0 0;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ice);
  background: var(--teal-deep);
  border-left: 3px solid var(--cyan);
  clip-path: polygon(0 0, calc(100% - var(--apps-cut-sm)) 0, 100% var(--apps-cut-sm), 100% 100%, 0 100%);
}

@media (min-width: 640px) {
  .apps-review {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .apps-review {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 刷新机制横带 */
.apps-band {
  position: relative;
  padding-block: clamp(28px, 5vw, 52px);
  padding-inline: clamp(16px, 3vw, 32px);
  background: linear-gradient(150deg, var(--night-blue) 0%, var(--deep-sea) 62%, var(--teal-deep) 100%);
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
  clip-path: polygon(0 0, calc(100% - var(--apps-cut)) 0, 100% var(--apps-cut), 100% 100%, 0 100%);
  overflow: hidden;
}

.apps-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    -22deg,
    transparent 0 46px,
    rgba(44, 229, 210, 0.06) 46px 47px
  );
}

.apps-band__inner {
  position: relative;
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.apps-band__media {
  margin: 0;
  border: 1px solid var(--steel);
  clip-path: polygon(0 0, calc(100% - var(--apps-cut)) 0, 100% var(--apps-cut), 100% 100%, 0 100%);
  overflow: hidden;
}

.apps-band__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.apps-band__body h2 {
  margin: 10px 0 12px;
  color: var(--ice);
}

.apps-band__body > p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.apps-band__facts {
  display: grid;
  gap: 1px;
  margin: 0 0 16px;
  background: var(--steel);
  border: 1px solid var(--steel);
}

.apps-band__fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  background: var(--deep-sea);
  padding: 12px 16px;
}

.apps-band__fact dt {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.apps-band__fact dd {
  margin: 0;
  font-size: 17px;
  color: var(--amber);
}

@media (min-width: 900px) {
  .apps-band__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
}

/* 版本迭代 */
.apps-version {
  display: grid;
  gap: var(--apps-gap);
  grid-template-columns: minmax(0, 1fr);
  margin-top: clamp(22px, 3vw, 34px);
  align-items: start;
}

.apps-version__stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  background: var(--night-blue);
  border: 1px solid var(--steel);
  clip-path: polygon(0 0, calc(100% - var(--apps-cut)) 0, 100% var(--apps-cut), 100% 100%, 0 100%);
  padding: clamp(22px, 3vw, 34px);
}

.apps-version__stat .numeral--xl {
  color: var(--amber);
  line-height: 0.86;
}

.apps-version__stat-label {
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--ice);
}

.apps-version__stat-sub {
  font-size: 13px;
  color: var(--mist);
}

.apps-version__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.apps-version__list li {
  position: relative;
  padding: 0 0 14px 18px;
  border-bottom: 1px dashed var(--steel);
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.apps-version__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 1px;
  background: var(--orange);
}

.apps-version__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

@media (min-width: 800px) {
  .apps-version {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.45fr);
    gap: clamp(24px, 4vw, 48px);
  }
}

/* 收尾 */
.apps-next {
  border-top: 1px solid var(--steel);
  padding-top: clamp(26px, 4vw, 40px);
}

.apps-next h2 {
  margin: 10px 0 12px;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--ice);
}

.apps-next p {
  margin: 0;
  max-width: 44em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

.apps-next a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(44, 229, 210, 0.45);
  text-decoration: none;
}

.apps-next a:hover,
.apps-next a:focus-visible {
  border-bottom-color: var(--cyan);
}

/* 图片通用 */
.page-products .media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .page-products .apps-form,
  .page-products .apps-metric,
  .page-products .apps-form::before {
    transition: none;
  }

  .page-products .apps-form:hover,
  .page-products .apps-form:focus-within,
  .page-products .apps-metric:hover,
  .page-products .apps-metric:focus-within {
    transform: none;
  }
}
