/* ===== 页面作用域变量 ===== */
.page-products {
  --p-gold-line: rgba(255, 215, 0, 0.22);
  --p-gold-line-strong: rgba(255, 215, 0, 0.38);
  --p-ink-veil: linear-gradient(180deg, rgba(10,10,10,0.30) 0%, rgba(10,10,10,0.62) 55%, rgba(10,10,10,0.92) 100%);
  --p-red-shadow: rgba(230, 0, 0, 0.45);
}

/* ===== 面包屑 ===== */
.page-products .breadcrumb {
  padding-top: 18px;
  padding-bottom: 4px;
}

/* ===== 首屏 HERO ===== */
.page-products .prod-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 430px;
  overflow: hidden;
  border-bottom: 1px solid var(--p-gold-line);
  background: var(--c-dark);
}

.page-products .prod-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-products .prod-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--p-ink-veil);
}

.page-products .prod-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .prod-hero__wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 44px 20px 38px;
}

.page-products .prod-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--c-gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.page-products .prod-hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-red);
  box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.28);
}

.page-products .prod-hero__title {
  font-family: var(--font-head);
  font-size: 34px;
  line-height: 1.12;
  margin: 0 0 16px;
  color: var(--c-text);
}

.page-products .prod-hero__title::after {
  content: '';
  display: block;
  width: 46px;
  height: 4px;
  margin-top: 16px;
  background: var(--c-red);
  transform: skewX(-20deg);
  transform-origin: 0 0;
}

.page-products .prod-hero__title-accent {
  color: var(--c-gold);
}

.page-products .prod-hero__lead {
  max-width: 580px;
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(245, 245, 245, 0.82);
}

.page-products .prod-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-products .prod-hero__stat {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(245, 245, 245, 0.7);
  background: rgba(26, 26, 26, 0.86);
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 7px 10px;
}

.page-products .prod-hero__stat b {
  margin-right: 4px;
  font-size: 14px;
  font-weight: 400;
  color: var(--c-gold);
}

/* ===== 展区外壳 ===== */
.page-products .prod-exhibit {
  position: relative;
  padding: 48px 0 42px;
  background: var(--c-dark);
}

.page-products .prod-exhibit::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -10px;
  width: 46%;
  height: 7px;
  background: var(--c-red);
  transform: skewX(-21deg);
  transform-origin: left top;
  z-index: 1;
}

.page-products .prod-exhibit::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--p-gold-line);
}

.page-products .prod-exhibit--highlight {
  background: linear-gradient(180deg, var(--c-dark) 0%, #111111 100%);
}

.page-products .prod-exhibit--highlight::before {
  left: auto;
  right: -10px;
  width: 34%;
  background: var(--c-gold);
  transform: skewX(21deg);
}

.page-products .prod-exhibit--app {
  background: linear-gradient(180deg, #111111 0%, var(--c-dark) 100%);
}

/* ===== 展区标题 ===== */
.page-products .prod-exhibit__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  padding-left: 4px;
}

.page-products .prod-exhibit__index {
  font-family: var(--font-mono);
  font-size: 48px;
  line-height: 0.95;
  color: var(--c-red);
  letter-spacing: -0.05em;
}

.page-products .prod-exhibit--highlight .prod-exhibit__index {
  color: transparent;
  -webkit-text-stroke: 1px var(--c-gold);
  text-stroke: 1px var(--c-gold);
}

.page-products .prod-exhibit__headline {
  padding-top: 4px;
}

.page-products .prod-exhibit__kicker {
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.page-products .prod-exhibit__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 28px;
  line-height: 1.1;
  color: var(--c-text);
}

.page-products .prod-exhibit__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 0;
  margin-top: 2px;
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-gold);
  border: 1px solid rgba(255, 215, 0, 0.38);
  text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.15s var(--ease);
}

.page-products .prod-exhibit__badge:hover,
.page-products .prod-exhibit__badge:focus-visible {
  background: var(--c-gold);
  color: var(--c-dark);
}

.page-products .prod-exhibit__badge:active {
  transform: scale(0.95);
}

.page-products .prod-exhibit__badge-star {
  font-size: 13px;
  color: var(--c-red);
  transition: transform 0.35s var(--ease);
}

.page-products .prod-exhibit__badge:hover .prod-exhibit__badge-star,
.page-products .prod-exhibit__badge:focus-visible .prod-exhibit__badge-star {
  transform: rotate(18deg) scale(1.18);
}

/* ===== 展区布局 ===== */
.page-products .prod-exhibit__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

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

.page-products .prod-exhibit__visual--phone img {
  border-radius: 16px;
  border: 1px solid rgba(230, 0, 0, 0.42);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.5);
}

.page-products .prod-exhibit__lead {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.72;
  color: rgba(245, 245, 245, 0.85);
}

/* ===== 赛程覆盖 ===== */
.page-products .prod-coverage {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-products .prod-coverage__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.09);
}

.page-products .prod-coverage__league {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--c-text);
}

.page-products .prod-coverage__scope {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-grey);
}

/* ===== 日历 ===== */
.page-products .prod-cal {
  margin: 0 0 26px;
  padding: 16px;
  background: linear-gradient(145deg, rgba(26, 26, 26, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
  border: 1px solid rgba(255, 215, 0, 0.16);
}

.page-products .prod-cal__topline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.page-products .prod-cal__caption {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--c-text);
}

.page-products .prod-cal__season {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-gold);
}

.page-products .prod-cal__week {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0;
}

.page-products .prod-cal__day {
  position: relative;
  padding: 10px 6px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  outline-offset: 2px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-products .prod-cal__day:hover,
.page-products .prod-cal__day:focus-visible {
  background: rgba(230, 0, 0, 0.18);
  border-color: rgba(230, 0, 0, 0.55);
}

.page-products .prod-cal__dow {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-grey);
}

.page-products .prod-cal__date {
  display: block;
  font-family: var(--font-head);
  font-size: 24px;
  line-height: 1;
  color: var(--c-text);
}

.page-products .prod-cal__tag {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.3;
  color: rgba(245, 245, 245, 0.65);
}

.page-products .prod-cal__detail {
  display: none;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 215, 0, 0.22);
  font-size: 11px;
  line-height: 1.4;
  color: var(--c-gold);
}

.page-products .prod-cal__day:hover .prod-cal__detail,
.page-products .prod-cal__day:focus-visible .prod-cal__detail {
  display: block;
}

.page-products .prod-cal__day--hot {
  background: rgba(230, 0, 0, 0.16);
  border-color: rgba(230, 0, 0, 0.55);
}

.page-products .prod-cal__day--hot::after {
  content: '';
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-red);
  box-shadow: 0 0 8px rgba(230, 0, 0, 0.7);
}

.page-products .prod-cal__note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--c-grey);
}

/* ===== 同步架构 ===== */
.page-products .prod-sync img {
  display: block;
  max-width: 100%;
  height: auto;
  border-left: 3px solid var(--c-red);
}

.page-products .prod-sync__caption {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-grey);
}

/* ===== 集锦列表 ===== */
.page-products .prod-replay-list {
  margin: 0 0 26px;
  padding: 0 0 0 16px;
  list-style: none;
  border-left: 2px solid var(--c-red);
}

.page-products .prod-replay-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(245, 245, 245, 0.8);
}

.page-products .prod-replay-list__icon {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--c-gold);
}

/* ===== 集锦 CTA ===== */
.page-products .prod-replay-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.page-products .prod-replay-cta .btn:active {
  transform: scale(0.97);
}

.page-products .prod-replay-cta__note {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.45;
  color: var(--c-grey);
}

/* ===== 客户端日志 ===== */
.page-products .prod-app-log {
  margin: 0 0 26px;
}

.page-products .prod-app-log__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.12);
}

.page-products .prod-app-log__row dt {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--c-text);
}

.page-products .prod-app-log__row dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(245, 245, 245, 0.7);
}

/* ===== 版本信息 ===== */
.page-products .prod-app-version {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.page-products .prod-app-version__label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-grey);
}

.page-products .prod-app-version__num {
  font-family: var(--font-mono);
  font-size: 30px;
  letter-spacing: -0.03em;
  color: var(--c-gold);
}

.page-products .prod-app-version__link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-text);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 215, 0, 0.35);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-products .prod-app-version__link:hover,
.page-products .prod-app-version__link:focus-visible {
  color: var(--c-gold);
  border-color: var(--c-gold);
}

/* ===== 平台标识 ===== */
.page-products .prod-app-actions__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-grey);
}

.page-products .prod-app-actions__note::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-green);
}

/* ===== 更新日志 ===== */
.page-products .prod-notes {
  padding: 40px 0 44px;
  background: var(--c-dark-lt);
  border-bottom: 1px solid var(--p-gold-line);
}

.page-products .prod-notes__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--c-text);
}

.page-products .prod-notes__title::before {
  content: '';
  width: 18px;
  height: 4px;
  background: var(--c-red);
  transform: skewX(-18deg);
}

.page-products .prod-notes__list {
  counter-reset: notes;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.page-products .prod-notes__list li {
  counter-increment: notes;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(245, 245, 245, 0.82);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.09);
}

.page-products .prod-notes__list li::before {
  content: counter(notes, decimal-leading-zero);
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-gold);
}

.page-products .prod-notes__footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-grey);
}

.page-products .prod-notes__footer a {
  color: var(--c-red);
  text-decoration: none;
  border-bottom: 1px solid rgba(230, 0, 0, 0.3);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-products .prod-notes__footer a:hover,
.page-products .prod-notes__footer a:focus-visible {
  color: var(--c-red-hover);
  border-color: var(--c-red-hover);
}

/* ===== 交互协议滚动目标 ===== */
.page-products #v460-changelog {
  scroll-margin-top: 24px;
}

/* ===== 桌面端增强 ===== */
@media (min-width: 768px) {
  .page-products .prod-hero {
    min-height: 520px;
  }

  .page-products .prod-hero__wrap {
    padding: 64px 0 52px;
  }

  .page-products .prod-hero__title {
    font-size: 50px;
  }

  .page-products .prod-hero__lead {
    font-size: 17px;
  }

  .page-products .prod-exhibit__layout {
    grid-template-columns: 5fr 7fr;
    gap: 40px;
    align-items: start;
  }

  .page-products .prod-exhibit__layout--replay {
    grid-template-columns: 6fr 6fr;
  }

  .page-products .prod-exhibit__layout--app {
    grid-template-columns: 7fr 5fr;
    align-items: center;
  }

  .page-products .prod-exhibit__badge {
    margin-left: auto;
    margin-top: 0;
  }

  .page-products .prod-replay-cta {
    flex-direction: row;
    align-items: center;
  }

  .page-products .prod-app-log__row {
    grid-template-columns: 180px 1fr;
    align-items: baseline;
  }

  .page-products .prod-notes {
    padding: 48px 0 52px;
  }
}

@media (min-width: 1024px) {
  .page-products .prod-exhibit {
    padding: 64px 0 60px;
  }

  .page-products .prod-exhibit__index {
    font-size: 72px;
  }

  .page-products .prod-exhibit__title {
    font-size: 40px;
  }

  .page-products .prod-exhibit__lead {
    font-size: 16px;
    line-height: 1.75;
  }

  .page-products .prod-exhibit__visual {
    transform: rotate(-1deg);
  }

  .page-products .prod-exhibit__visual--phone {
    transform: rotate(1.5deg);
  }

  .page-products .prod-notes__title {
    font-size: 30px;
  }

  .page-products .prod-notes__footer {
    flex-direction: row;
    justify-content: space-between;
  }
}
