.page-products {
  background: var(--ink);
  color: var(--paper);
  overflow-x: hidden;
  font-family: var(--font-sans);
}

.page-products .idx {
  display: inline-block;
  width: fit-content;
}

/* ---------- 面包屑 ---------- */
.page-products .crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: calc(var(--header-h) + 22px) 0 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.page-products .crumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

.page-products .crumb a {
  color: var(--muted);
  text-decoration: none;
}

.page-products .crumb a:hover,
.page-products .crumb a:focus-visible {
  color: var(--spring);
}

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  position: relative;
  padding: clamp(26px, 4vw, 46px) 0 clamp(40px, 5vw, 72px);
  overflow: hidden;
}

.page-products .pd-hero::before {
  content: "";
  position: absolute;
  top: -34%;
  right: -16%;
  width: min(720px, 86vw);
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(140deg, rgba(46, 212, 122, 0.24), rgba(46, 212, 122, 0) 60%),
    linear-gradient(320deg, rgba(91, 155, 255, 0.16), rgba(91, 155, 255, 0) 62%);
  clip-path: polygon(42% 0, 100% 0, 100% 100%, 0 76%);
  pointer-events: none;
  z-index: 0;
}

.page-products .pd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(42, 55, 66, 0.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 55, 66, 0.55) 1px, transparent 1px);
  background-size: 84px 84px;
  opacity: 0.32;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 84%);
  mask-image: linear-gradient(to bottom, #000, transparent 84%);
  pointer-events: none;
  z-index: 0;
}

.page-products .pd-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

@media (min-width: 900px) {
  .page-products .pd-hero-grid {
    grid-template-columns: minmax(0, 1fr) 296px;
    align-items: end;
  }
}

.page-products .pd-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-products h1 {
  margin: 0;
  font-size: clamp(30px, 5.4vw, 56px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.01em;
  max-width: 17em;
}

.page-products .pd-lede {
  margin: 22px 0 0;
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.8;
  color: #C3D0D8;
  max-width: 44ch;
}

.page-products .pd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-products .pd-hero-side {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-panel);
}

.page-products .pd-hero-side .stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.page-products .pd-hero-side .stat:last-child {
  border-bottom: 0;
}

.page-products .stat-value {
  font-family: var(--font-mono);
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 700;
  line-height: 1;
  color: var(--spring);
}

.page-products .pd-hero-side .stat:nth-child(2) .stat-value {
  color: var(--winter);
}

.page-products .pd-hero-side .stat:nth-child(3) .stat-value {
  color: var(--autumn);
}

.page-products .stat-label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  text-align: right;
}

/* ---------- 分段定位条 ---------- */
.page-products .pd-switch {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 12, 17, 0.94);
}

.page-products .pd-switch-inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page-products .pd-switch-inner::-webkit-scrollbar {
  display: none;
}

.page-products .pd-switch-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-right: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.page-products .pd-switch-link:first-child {
  border-left: 1px solid var(--line);
}

.page-products .pd-switch-link:hover,
.page-products .pd-switch-link:focus-visible {
  color: var(--paper);
  background: var(--panel);
}

.page-products .pd-switch-no {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--spring);
}

/* ---------- 通用区块 ---------- */
.page-products .pd-section {
  padding: clamp(48px, 7vw, 88px) 0;
}

.page-products .pd-section--paper {
  background: var(--paper);
  color: var(--ink);
}

.page-products .pd-section--slate {
  background: var(--slate);
}

.page-products .pd-section--schedule {
  padding-bottom: clamp(56px, 8vw, 96px);
}

.page-products .pd-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(28px, 4vw, 48px);
  max-width: 70ch;
}

.page-products .pd-head h2 {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-products .pd-head-note {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 56ch;
}

.page-products .pd-section--paper .pd-head-note {
  color: #5B6B75;
}

.page-products .pd-sub {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-products .pd-sub + .pd-skills,
.page-products .pd-keys + .pd-sub {
  margin-top: 26px;
}

/* ---------- 六类入口 ---------- */
.page-products .pd-entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (min-width: 760px) {
  .page-products .pd-entry-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  .page-products .pd-entry-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.page-products .pd-entry {
  background: var(--ink);
  padding: 22px 22px 24px;
  display: grid;
  gap: 12px;
  align-content: start;
  transition: background-color 0.2s ease;
}

.page-products .pd-entry:hover {
  background: var(--panel);
}

.page-products .pd-entry-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.page-products .pd-entry-no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-products .pd-entry-head h3 {
  margin: 0 auto 0 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.page-products .pd-entry p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: #AEBBC6;
}

.page-products .pd-entry-meta {
  font-family: var(--font-mono);
  font-size: 13px !important;
  letter-spacing: 0.02em;
  color: var(--muted) !important;
}

/* ---------- 日历双视图 ---------- */
.page-products .pd-cal {
  display: grid;
  gap: clamp(26px, 4vw, 46px);
}

@media (min-width: 980px) {
  .page-products .pd-cal {
    grid-template-columns: 296px minmax(0, 1fr);
    align-items: start;
  }
}

.page-products .pd-stick {
  position: static;
}

@media (min-width: 980px) {
  .page-products .pd-stick {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

.page-products .pd-keys {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .pd-keys li {
  display: grid;
  gap: 4px;
  padding-left: 14px;
  border-left: 2px solid var(--line);
  font-size: 14.5px;
  line-height: 1.7;
  color: #AEBBC6;
}

.page-products .pd-key {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--spring);
}

.page-products .pd-section--paper .pd-keys li {
  border-left-color: #C6D3CC;
  color: #4E5D67;
}

.page-products .pd-section--paper .pd-key {
  color: #1B8B52;
}

.page-products .panel-note {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .pd-section--paper .panel-note {
  border-top-color: #CFDAD4;
  color: #64747E;
}

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

.page-products .pd-frame-wide {
  aspect-ratio: 12 / 7;
}

.page-products .pd-frame-3x2 {
  aspect-ratio: 3 / 2;
}

.page-products .pd-frame-tall {
  aspect-ratio: 3 / 4;
}

.page-products .pd-frame-banner {
  aspect-ratio: 32 / 15;
}

.page-products .pd-figure {
  margin: 0 0 clamp(22px, 3vw, 32px);
}

.page-products .pd-figure:last-child {
  margin-bottom: 0;
}

.page-products .img-caption {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

.page-products .pd-section--paper .img-caption {
  color: #6B7B85;
}

/* ---------- 转会与轮换 ---------- */
.page-products .pd-two {
  display: grid;
  gap: clamp(18px, 2.6vw, 28px);
}

@media (min-width: 880px) {
  .page-products .pd-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-products .pd-card .panel-head {
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.page-products .pd-card .panel-head h3 {
  margin: 0 auto 0 0;
  font-size: 20px;
  font-weight: 700;
}

.page-products .pd-card .panel-body p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: #AEBBC6;
}

.page-products .pd-field-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .pd-field-list li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 14px;
  background: var(--ink);
  font-size: 14.5px;
  line-height: 1.65;
  color: #B6C3CD;
}

.page-products .pd-field {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* ---------- 赛后战报 ---------- */
.page-products .pd-report {
  display: grid;
  gap: clamp(26px, 4vw, 46px);
}

@media (min-width: 980px) {
  .page-products .pd-report {
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
  }

  .page-products .pd-report-main {
    order: 1;
  }

  .page-products .pd-report-side {
    order: 2;
  }
}

.page-products .pd-side-note {
  margin: 22px 0 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: #4E5D67;
}

.page-products .pd-snippet {
  margin-top: 26px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--spring);
  background: var(--ink);
  color: var(--paper);
  display: grid;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.page-products .pd-snippet-tag {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--spring);
}

/* ---------- 租借名单 ---------- */
.page-products .pd-loans {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

@media (min-width: 900px) {
  .page-products .pd-loans {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
  }
}

.page-products .pd-loans-copy p {
  margin: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.75;
  color: #AEBBC6;
  max-width: 52ch;
}

.page-products .pd-update {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--paper);
}

.page-products .pd-loans-figure {
  margin: 0;
}

/* ---------- 多端阅读 ---------- */
.page-products .pd-devices {
  display: grid;
  gap: 18px;
}

@media (min-width: 820px) {
  .page-products .pd-devices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .page-products .pd-device--tablet {
    margin-top: 22px;
  }

  .page-products .pd-device--desktop {
    margin-top: 44px;
  }
}

.page-products .pd-device {
  position: relative;
  padding: 26px 20px 24px;
  border: 1px solid var(--line);
  background: var(--ink);
}

.page-products .pd-device::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
}

.page-products .pd-device--phone::before {
  background: var(--spring);
}

.page-products .pd-device--tablet::before {
  background: var(--winter);
}

.page-products .pd-device--desktop::before {
  background: var(--autumn);
}

.page-products .pd-device h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
}

.page-products .pd-device p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #AEBBC6;
}

.page-products .pd-devices-note {
  margin: clamp(24px, 3vw, 36px) 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- 更新时刻表 ---------- */
.page-products .pd-banner {
  margin: 0 0 clamp(30px, 4vw, 48px);
}

.page-products .pd-timetable {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-products .pd-slot {
  display: grid;
  gap: 8px 22px;
  padding: 18px 14px 18px 12px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  transition: background-color 0.22s ease, border-left-color 0.22s ease;
}

.page-products .pd-slot:hover,
.page-products .pd-slot:focus-within {
  background: rgba(46, 212, 122, 0.06);
  border-left-color: var(--spring);
}

@media (min-width: 820px) {
  .page-products .pd-slot {
    grid-template-columns: 210px minmax(0, 1fr) auto;
    align-items: center;
  }
}

.page-products .pd-slot-time {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--winter);
}

.page-products .pd-slot-body h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
}

.page-products .pd-slot-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .pd-slot .tag {
  justify-self: start;
}

@media (min-width: 820px) {
  .page-products .pd-slot .tag {
    justify-self: end;
  }
}

/* ---------- 结尾入口 ---------- */
.page-products .pd-section--cta {
  padding-top: 0;
}

.page-products .pd-section--cta .pd-head {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-products .pd-cta-links {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (min-width: 720px) {
  .page-products .pd-cta-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1060px) {
  .page-products .pd-cta-links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-products .pd-cta-link {
  display: grid;
  gap: 8px;
  padding: 22px 20px 24px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.page-products .pd-cta-link span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .pd-cta-link:hover,
.page-products .pd-cta-link:focus-visible {
  background: var(--panel);
  color: var(--spring);
}

.page-products .pd-cta-link:hover span,
.page-products .pd-cta-link:focus-visible span {
  color: #AEBBC6;
}

/* ---------- 焦点可见性 ---------- */
.page-products a:focus-visible,
.page-products button:focus-visible {
  outline: 2px solid var(--spring);
  outline-offset: 2px;
}

/* ---------- 低动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-products .pd-entry,
  .page-products .pd-switch-link,
  .page-products .pd-slot,
  .page-products .pd-cta-link {
    transition: none;
  }
}
