.page-products {
  --pf-gap: 18px;
  --pf-accent: var(--cyan);
  padding-bottom: 76px;
  background:
    radial-gradient(120% 55% at 12% -5%, rgba(53, 242, 226, .09), transparent 62%),
    radial-gradient(100% 55% at 92% 4%, rgba(255, 107, 44, .08), transparent 60%);
}

.page-products [id] {
  scroll-margin-top: 96px;
}

/* ---------- 页面头部与索引 ---------- */

.page-products .pf-topbar {
  padding-top: 18px;
}

.page-products .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.page-products .breadcrumb-list li {
  display: inline-flex;
  align-items: center;
}

.page-products .pf-hero {
  padding-top: 20px;
  padding-bottom: 4px;
}

.page-products .pf-hero-grid {
  display: grid;
  gap: 20px;
}

.page-products .pf-index {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ink-800);
  padding: 16px;
  box-shadow: var(--shadow-panel);
}

.page-products .pf-index-label {
  margin: 0 0 12px;
  font-family: var(--font-condensed);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-products .pf-index-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.page-products .pf-index-list a {
  display: block;
  padding: 8px 10px;
  border-left: 2px solid transparent;
  border-radius: 0 8px 8px 0;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.page-products .pf-index-list a:hover,
.page-products .pf-index-list a:focus-visible {
  color: var(--text);
  border-left-color: var(--cyan);
  background: rgba(53, 242, 226, .08);
}

/* ---------- 首屏主体 ---------- */

.page-products .pf-hero-main h1 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 7vw, 58px);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--text);
}

.page-products .pf-lead {
  margin: 16px 0 0;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--muted);
}

.page-products .pf-lead-sm {
  margin: 12px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.page-products .pf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.page-products .pf-statstrip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--line);
}

.page-products .pf-statstrip li {
  --pf-accent: var(--cyan);
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  background: var(--ink-800);
  border-top: 2px solid var(--pf-accent);
}

.page-products .pf-statstrip li:nth-child(2) { --pf-accent: var(--orange); }
.page-products .pf-statstrip li:nth-child(3) { --pf-accent: var(--mint); }
.page-products .pf-statstrip li:nth-child(4) { --pf-accent: var(--cyan); }

.page-products .pf-stat-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--pf-accent);
}

.page-products .pf-stat-num em {
  font-style: normal;
  font-size: .5em;
  margin-left: 2px;
  color: var(--muted);
}

.page-products .pf-stat-key {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}

/* ---------- Bento 能力总览 ---------- */

.page-products .pf-bento {
  display: grid;
  gap: var(--pf-gap);
  margin-top: 24px;
}

.page-products .pf-tile {
  --pf-accent: var(--cyan);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(163deg, var(--ink-800) 0%, var(--ink-850) 100%);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
  transition: transform .28s var(--ease), border-color .28s var(--ease);
}

.page-products .pf-tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--pf-accent);
  opacity: .9;
}

.page-products .pf-tile--schedule { --pf-accent: var(--cyan); }
.page-products .pf-tile--standings { --pf-accent: var(--orange); }
.page-products .pf-tile--reports { --pf-accent: var(--mint); }
.page-products .pf-tile--casting { --pf-accent: var(--cyan); }
.page-products .pf-tile--tickets { --pf-accent: var(--orange); }

.page-products .pf-tile-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: rgba(16, 41, 74, .95);
  border: 1px solid var(--line);
  color: var(--pf-accent);
}

.page-products .pf-tile-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-products .pf-tile-kicker {
  margin: 4px 0 0;
  font-family: var(--font-condensed);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pf-accent);
}

.page-products .pf-tile-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--text);
}

.page-products .pf-tile-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.page-products .pf-tile-link {
  margin-top: auto;
  padding-top: 8px;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  color: var(--pf-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}

.page-products .pf-tile-link:hover,
.page-products .pf-tile-link:focus-visible {
  border-bottom-color: var(--pf-accent);
}

/* ---------- 分栏区块 ---------- */

.page-products .pf-split {
  display: grid;
  gap: 22px;
}

.page-products .pf-body {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
}

.page-products .pf-points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-products .pf-points li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--muted);
}

.page-products .pf-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
}

.page-products .pf-points strong {
  color: var(--text);
  font-weight: 700;
}

.page-products .pf-inline-link {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 2px;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 242, 226, .35);
  transition: border-color .2s var(--ease);
}

.page-products .pf-inline-link:hover,
.page-products .pf-inline-link:focus-visible {
  border-bottom-color: var(--cyan);
}

.page-products .pf-split-media {
  margin: 0;
  min-width: 0;
}

.page-products .pf-split-media figcaption,
.page-products .pf-tickets-media figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

.page-products .pf-media {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink-850);
}

.page-products .pf-media > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

/* ---------- 赛程筛选面板 ---------- */

.page-products .pf-filter-board {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-800);
  box-shadow: var(--shadow-panel);
}

.page-products .pf-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.page-products .pf-filter-label {
  min-width: 44px;
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--muted);
}

.page-products .pf-chip {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--ink-700);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  white-space: nowrap;
}

.page-products .pf-chip.is-on {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-900);
  font-weight: 700;
}

/* ---------- 排名速查 ---------- */

.page-products .pf-split-media--phone {
  display: grid;
  justify-items: center;
}

.page-products .pf-phone {
  width: 100%;
  max-width: 300px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--ink-800);
  box-shadow: var(--shadow-panel);
}

.page-products .pf-phone .pf-media {
  border-radius: 24px;
  aspect-ratio: 2 / 3;
}

.page-products .pf-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.page-products .pf-slot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-pill);
  background: var(--ink-800);
  font-size: 12.5px;
  color: var(--muted);
}

.page-products .pf-slot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
}

.page-products .pf-slot.is-filled {
  border-style: solid;
  border-color: rgba(110, 240, 184, .45);
  color: var(--text);
}

.page-products .pf-slot.is-filled::before {
  background: var(--mint);
}

/* ---------- 投屏 ---------- */

.page-products .pf-cast-grid {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.page-products .pf-cast-side .pf-body {
  margin-top: 0;
}

.page-products .pf-ratio-pair {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.page-products .pf-ratio-screen {
  display: grid;
  gap: 6px;
  align-content: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--ink-700), var(--ink-850));
  box-shadow: inset 0 0 0 1px rgba(53, 242, 226, .06);
}

.page-products .pf-ratio--169 .pf-ratio-screen { aspect-ratio: 16 / 9; }
.page-products .pf-ratio--219 .pf-ratio-screen { aspect-ratio: 21 / 9; }

.page-products .pf-ratio-screen span {
  display: block;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--cyan);
  opacity: .85;
}

.page-products .pf-ratio-screen span:nth-child(1) {
  width: 84%;
  height: 10px;
  background: var(--orange);
}

.page-products .pf-ratio-screen span:nth-child(2) {
  width: 66%;
  background: var(--cyan);
}

.page-products .pf-ratio-screen span:nth-child(3) {
  width: 48%;
  background: var(--mint);
}

.page-products .pf-ratio-screen span:nth-child(4) {
  width: 34%;
  background: var(--muted);
}

.page-products .pf-ratio-label {
  margin: 8px 0 0;
  font-family: var(--font-condensed);
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--muted);
}

.page-products .pf-note {
  margin: 18px 0 0;
  padding-left: 12px;
  border-left: 2px solid var(--line);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 票务 ---------- */

.page-products .pf-tickets-layout {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.page-products .pf-table-wrap {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-800);
  overflow-x: auto;
  box-shadow: var(--shadow-panel);
}

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

.page-products .pf-table-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.page-products .pf-table thead th {
  padding: 14px 16px;
  text-align: left;
  background: var(--ink-700);
  color: var(--cyan);
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  white-space: nowrap;
}

.page-products .pf-table tbody th {
  padding: 16px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-weight: 700;
  white-space: nowrap;
}

.page-products .pf-table tbody td {
  padding: 16px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.65;
  color: var(--text);
}

.page-products .pf-table tbody tr:nth-child(even) td,
.page-products .pf-table tbody tr:nth-child(even) th {
  background: rgba(16, 41, 74, .45);
}

.page-products .pf-tickets-media {
  margin: 0;
  min-width: 0;
}

.page-products .pf-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}

.page-products .pf-links-row .pf-inline-link {
  margin-top: 0;
}

/* ---------- 使用流程 ---------- */

.page-products .pf-steps {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .pf-step {
  position: relative;
  padding: 20px 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ink-800);
  overflow: hidden;
}

.page-products .pf-step::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--cyan);
  opacity: .55;
}

.page-products .pf-step:nth-child(2)::after { background: var(--orange); }
.page-products .pf-step:nth-child(3)::after { background: var(--mint); }
.page-products .pf-step:nth-child(4)::after { background: var(--cyan); }

.page-products .pf-step-num {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-products .pf-step:nth-child(2) .pf-step-num { color: var(--orange); }
.page-products .pf-step:nth-child(3) .pf-step-num { color: var(--mint); }
.page-products .pf-step:nth-child(4) .pf-step-num { color: var(--cyan); }

.page-products .pf-step-title {
  margin: 10px 0 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

.page-products .pf-step-text {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

/* ---------- 收束 ---------- */

.page-products .pf-closing-card {
  display: grid;
  gap: 20px;
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(140deg, rgba(53, 242, 226, .13), rgba(255, 107, 44, .1) 72%, transparent),
    var(--ink-800);
  box-shadow: var(--shadow-panel);
}

.page-products .pf-closing-title {
  margin: 8px 0 0;
  font-size: clamp(22px, 3.6vw, 32px);
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--text);
}

.page-products .pf-closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

@media (min-width: 720px) {
  .page-products .pf-statstrip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

@media (min-width: 900px) {
  .page-products .pf-bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .page-products .pf-tile { grid-column: span 6; }
  .page-products .pf-tile--schedule { grid-column: span 7; }
  .page-products .pf-tile--standings { grid-column: span 5; }
  .page-products .pf-tile--reports { grid-column: span 5; }
  .page-products .pf-tile--casting { grid-column: span 7; }
  .page-products .pf-tile--tickets { grid-column: span 12; }

  .page-products .pf-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 34px;
    align-items: center;
  }

  .page-products .pf-split--flip {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }

  .page-products .pf-split--flip .pf-split-body { order: 2; }
  .page-products .pf-split--flip .pf-split-media { order: 1; }

  .page-products .pf-cast-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }

  .page-products .pf-closing-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
    padding: 34px 32px;
  }
}

@media (min-width: 960px) {
  .page-products .pf-hero-grid {
    grid-template-columns: 216px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }

  .page-products .pf-index {
    position: sticky;
    top: 24px;
  }

  .page-products .pf-tickets-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
  }
}

@media (min-width: 1080px) {
  .page-products .pf-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .page-products .pf-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(53, 242, 226, .42);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pf-tile,
  .page-products .pf-index-list a,
  .page-products .pf-inline-link,
  .page-products .pf-tile-link {
    transition: none;
  }

  .page-products .pf-tile:hover {
    transform: none;
  }
}
