.page-products {
  --pr-line: rgba(168, 212, 240, .18);
  --pr-line-strong: rgba(168, 212, 240, .34);
  --pr-panel: linear-gradient(152deg, rgba(15, 76, 129, .42) 0%, rgba(10, 37, 64, .82) 62%, rgba(6, 23, 38, .92) 100%);
  --pr-panel-soft: linear-gradient(160deg, rgba(15, 76, 129, .26) 0%, rgba(6, 23, 38, .78) 100%);
  background: var(--lake-deep);
  color: var(--frost);
  overflow-x: hidden;
}

.page-products .cf-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 84px) clamp(18px, 4vw, 48px);
}

.page-products .cf-breadcrumb {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px clamp(18px, 4vw, 48px) 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--sky);
}

.page-products .cf-breadcrumb a {
  color: var(--sky);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}

.page-products .cf-breadcrumb a:hover,
.page-products .cf-breadcrumb a:focus-visible {
  color: var(--gold-soft);
  border-bottom-color: var(--gold);
}

.page-products .cf-breadcrumb__sep {
  color: rgba(168, 212, 240, .4);
}

.pr-line__no {
  margin: 0;
}

/* ---------- 首屏 ---------- */

.pr-hero {
  padding-top: clamp(20px, 3vw, 40px);
}

.pr-hero__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.pr-hero__meta {
  margin-top: clamp(18px, 2.4vw, 28px);
}

.pr-hero__frame {
  position: relative;
  aspect-ratio: 14 / 9;
  overflow: hidden;
  background: linear-gradient(150deg, var(--lake) 0%, var(--lake-deep) 58%, var(--ink) 100%);
  border: 1px solid var(--pr-line);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}

.pr-hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(168, 212, 240, .05) 0 1px, transparent 1px 46px);
  pointer-events: none;
}

.pr-hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- 产品线 ---------- */

.pr-lines__head {
  max-width: 46em;
}

.pr-lines__intro {
  margin-top: 16px;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.78;
  color: rgba(247, 250, 252, .78);
}

.pr-lines__grid {
  margin-top: clamp(26px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.2vw, 26px);
}

.pr-line {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2.6vw, 32px);
  background: var(--pr-panel);
  border: 1px solid var(--pr-line);
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}

.pr-line::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 26px;
  height: 26px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  opacity: .5;
  transition: opacity .3s ease;
}

.pr-line:hover,
.pr-line:focus-within {
  transform: translateY(-4px);
  border-color: var(--pr-line-strong);
}

.pr-line:hover::before,
.pr-line:focus-within::before {
  opacity: 1;
}

.pr-line__no {
  font-family: var(--font-num);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--gold);
}

.pr-line__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 1.9vw, 1.6rem);
  letter-spacing: .01em;
  color: var(--frost);
}

.pr-line__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(247, 250, 252, .76);
}

.pr-line__fig {
  margin: 2px 0 4px;
  border: 1px solid var(--pr-line);
  background: var(--pr-panel-soft);
  overflow: hidden;
}

.pr-line__fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pr-line__list {
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(247, 250, 252, .82);
  list-style: none;
  padding: 0;
}

.pr-line__list li {
  position: relative;
  padding-left: 20px;
}

.pr-line__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 9px;
  height: 2px;
  background: var(--gold);
}

/* ---------- 房间分类 ---------- */

.pr-rooms {
  background:
    radial-gradient(1100px 420px at 88% -10%, rgba(31, 111, 92, .22), transparent 68%),
    linear-gradient(180deg, rgba(6, 23, 38, 0) 0%, rgba(6, 23, 38, .55) 100%);
}

.pr-rooms__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.4vw, 44px);
  align-items: start;
}

.pr-rooms__frame {
  aspect-ratio: 10 / 7;
  overflow: hidden;
  border: 1px solid var(--pr-line);
  background: var(--pr-panel-soft);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.pr-rooms__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pr-rooms__intro {
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(247, 250, 252, .78);
  max-width: 38em;
}

.pr-rooms__filter {
  margin-top: clamp(18px, 2.4vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pr-rooms__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.pr-rooms__btns .cf-filter__btn {
  appearance: none;
  font: inherit;
  font-size: 13.5px;
  letter-spacing: .04em;
  padding: 8px 16px;
  color: var(--sky);
  background: rgba(15, 76, 129, .3);
  border: 1px solid var(--pr-line);
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.pr-rooms__btns .cf-filter__btn:hover {
  border-color: var(--pr-line-strong);
  color: var(--frost);
}

.pr-rooms__btns .cf-filter__btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.pr-rooms__btns .cf-filter__btn[aria-pressed="true"] {
  background: rgba(242, 169, 59, .16);
  border-color: var(--gold);
  color: var(--gold-soft);
}

.pr-rooms__status {
  margin: 0;
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: .12em;
  color: rgba(168, 212, 240, .72);
}

.pr-rooms__list {
  margin: clamp(24px, 3.4vw, 40px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 20px);
}

.pr-room {
  position: relative;
  padding: 20px 20px 18px 24px;
  background: var(--pr-panel-soft);
  border: 1px solid var(--pr-line);
  transition: transform .3s ease, border-color .3s ease;
}

.pr-room::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(242, 169, 59, .12) 100%);
}

.pr-room:hover,
.pr-room:focus-within {
  transform: translateY(-3px);
  border-color: var(--pr-line-strong);
}

.pr-room__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pr-room__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.06rem;
  letter-spacing: .01em;
  color: var(--frost);
}

.pr-room__specs {
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}

.pr-room__specs > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pr-room__specs dt {
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(168, 212, 240, .62);
  white-space: nowrap;
}

.pr-room__specs dd {
  margin: 0;
  font-family: var(--font-num);
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--frost);
}

.pr-room__note {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(247, 250, 252, .62);
}

.pr-rooms__more {
  margin: clamp(22px, 3vw, 32px) 0 0;
  font-size: 14.5px;
  color: rgba(247, 250, 252, .72);
}

.page-products .cf-link {
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 169, 59, .45);
  transition: color .25s ease, border-color .25s ease;
}

.page-products .cf-link:hover,
.page-products .cf-link:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ---------- 出牌顺序与版本说明 ---------- */

.pr-order__head {
  max-width: 34em;
}

.pr-order__body {
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(247, 250, 252, .82);
}

.pr-order__body p {
  margin: 0 0 16px;
}

.pr-order__links {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14.5px;
}

.pr-order__links li {
  position: relative;
  padding-left: 20px;
}

.pr-order__links li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 9px;
  height: 2px;
  background: var(--sky);
}

/* ---------- 回放与叫分 ---------- */

.pr-replay {
  background: linear-gradient(180deg, rgba(6, 23, 38, .5) 0%, rgba(6, 23, 38, 0) 100%);
}

.pr-replay__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 3.6vw, 48px);
  align-items: center;
}

.pr-replay__frame {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--pr-line);
  background: var(--pr-panel);
  clip-path: polygon(26px 0, 100% 0, 100% 100%, 0 100%, 0 26px);
}

.pr-replay__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pr-replay__lead {
  margin: 16px 0 0;
  font-size: 15.5px;
  line-height: 1.82;
  color: rgba(247, 250, 252, .8);
  max-width: 36em;
}

.pr-replay__list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(247, 250, 252, .8);
}

.pr-replay__list li {
  position: relative;
  padding-left: 20px;
}

.pr-replay__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 9px;
  height: 2px;
  background: var(--gold);
}

.pr-replay__list strong {
  color: var(--frost);
  font-weight: 600;
}

.pr-replay__score {
  margin-top: clamp(22px, 3vw, 32px);
  padding: 20px 22px;
  background: rgba(6, 23, 38, .72);
  border: 1px solid var(--pr-line);
  border-left: 3px solid var(--gold);
}

.pr-replay__score-title {
  margin: 0;
  font-size: 12px;
  letter-spacing: .16em;
  color: rgba(168, 212, 240, .74);
}

.pr-replay__score-row {
  display: flex;
  gap: 10px;
  margin: 12px 0;
}

.pr-replay__score-num {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(150deg, var(--gold-soft) 0%, var(--gold) 100%);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.pr-replay__score-note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: rgba(247, 250, 252, .7);
}

/* ---------- 运行环境 ---------- */

.pr-env__head {
  max-width: 48em;
}

.pr-env__intro {
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(247, 250, 252, .78);
}

.pr-env__wrap {
  margin-top: clamp(22px, 3vw, 34px);
  overflow-x: auto;
  border: 1px solid var(--pr-line);
  background: rgba(6, 23, 38, .6);
}

.pr-env__table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.pr-env__table thead th {
  padding: 14px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  color: rgba(168, 212, 240, .8);
  background: rgba(15, 76, 129, .5);
  border-bottom: 1px solid var(--pr-line);
  white-space: nowrap;
}

.pr-env__table tbody th {
  padding: 16px;
  text-align: left;
  font-weight: 600;
  color: var(--frost);
  border-bottom: 1px solid rgba(168, 212, 240, .1);
  white-space: nowrap;
}

.pr-env__table tbody td {
  padding: 16px;
  color: rgba(247, 250, 252, .78);
  border-bottom: 1px solid rgba(168, 212, 240, .1);
  line-height: 1.65;
}

.pr-env__table tbody tr:last-child th,
.pr-env__table tbody tr:last-child td {
  border-bottom: none;
}

.pr-env__table tbody tr:hover th,
.pr-env__table tbody tr:hover td,
.pr-env__table tbody tr:focus-within th,
.pr-env__table tbody tr:focus-within td {
  background: rgba(42, 125, 191, .14);
}

.pr-env__table tbody td:nth-child(2) {
  font-family: var(--font-num);
  font-size: 16px;
  letter-spacing: .04em;
  color: var(--gold-soft);
}

.pr-env__note {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(247, 250, 252, .68);
}

/* ---------- 更新节奏 ---------- */

.pr-cycle {
  background:
    radial-gradient(900px 360px at 6% 0%, rgba(15, 76, 129, .35), transparent 70%),
    linear-gradient(180deg, rgba(6, 23, 38, .4) 0%, rgba(6, 23, 38, 0) 100%);
}

.pr-cycle__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 3.6vw, 52px);
}

.pr-cycle__lead {
  margin: 16px 0 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(247, 250, 252, .78);
  max-width: 34em;
}

.pr-cycle__timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  border-left: 1px solid var(--pr-line);
}

.pr-cycle__timeline li {
  position: relative;
  padding: 0 0 clamp(24px, 3vw, 34px) 26px;
}

.pr-cycle__timeline li:last-child {
  padding-bottom: 0;
}

.pr-cycle__timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: .42em;
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
}

.pr-cycle__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.04rem;
  color: var(--frost);
  letter-spacing: .01em;
}

.pr-cycle__timeline p {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(247, 250, 252, .72);
  max-width: 40em;
}

/* ---------- 选择建议 ---------- */

.pr-pick__head {
  max-width: 40em;
}

.pr-pick__grid {
  margin-top: clamp(24px, 3.4vw, 40px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 22px);
}

.pr-pick__item {
  padding: 22px 22px 24px;
  background: var(--pr-panel);
  border: 1px solid var(--pr-line);
  border-top: 3px solid rgba(242, 169, 59, .55);
  transition: transform .3s ease, border-color .3s ease;
}

.pr-pick__item:hover {
  transform: translateY(-3px);
  border-color: var(--pr-line-strong);
  border-top-color: var(--gold);
}

.pr-pick__who {
  margin: 0;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--sky);
}

.pr-pick__what {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--frost);
}

.pr-pick__why {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.78;
  color: rgba(247, 250, 252, .74);
}

.pr-pick__cta {
  margin-top: clamp(26px, 3.6vw, 44px);
}

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

@media (min-width: 620px) {
  .pr-rooms__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pr-pick__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 880px) {
  .pr-hero__layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .pr-rooms__top {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  }

  .pr-replay__layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .pr-cycle__layout {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }
}

@media (min-width: 1060px) {
  .pr-lines__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .pr-line--a {
    grid-column: span 7;
  }

  .pr-line--b {
    grid-column: span 5;
  }

  .pr-line--c {
    grid-column: span 5;
  }

  .pr-line--d {
    grid-column: span 7;
  }

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

  .pr-pick__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .pr-room__specs {
    grid-template-columns: 1fr;
  }

  .pr-hero__frame {
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  }

  .pr-replay__score-num {
    width: 46px;
    height: 46px;
    font-size: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pr-line,
  .page-products .pr-room,
  .page-products .pr-pick__item {
    transition: none;
  }

  .page-products .pr-line:hover,
  .page-products .pr-room:hover,
  .page-products .pr-pick__item:hover {
    transform: none;
  }
}
