.page-products {
  --pp-space: clamp(52px, 7.5vw, 104px);
  --pp-pad: clamp(14px, 1.6vw, 20px);
  display: block;
  color: var(--white);
  font-family: var(--font-sans);
  overflow-x: clip;
}

.page-products img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-products figure {
  margin: 0;
}

.page-products figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .crumb-wrap {
  padding-top: clamp(14px, 2vw, 24px);
}

.page-products .board {
  position: relative;
  padding-block: var(--pp-space);
}

.page-products .board--lead {
  padding-block-start: clamp(18px, 3vw, 34px);
  background:
    radial-gradient(120% 82% at 82% -12%, rgba(42, 75, 124, 0.66), rgba(10, 20, 40, 0) 62%);
}

.page-products .board--wide {
  background:
    linear-gradient(180deg, rgba(19, 36, 67, 0.72), rgba(10, 20, 40, 0) 46%);
}

.page-products .board--log {
  background:
    radial-gradient(90% 70% at 12% 100%, rgba(42, 75, 124, 0.42), rgba(10, 20, 40, 0) 64%);
}

.page-products .board--shift .wrap {
  padding-inline-start: calc(var(--gutter) + 0px);
}

@media (min-width: 1080px) {
  .page-products .board--shift .wrap {
    padding-inline-start: calc(var(--gutter) + 40px);
  }
}

.page-products .eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.page-products .board-title {
  margin: 8px 0 0;
  font-size: clamp(21px, 2.9vw, 33px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  font-weight: 800;
  color: var(--white);
}

.page-products .copy {
  margin: 16px 0 0;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.page-products .board-head {
  position: relative;
  padding-left: 18px;
  border-left: 4px solid var(--gold);
}

@media (min-width: 760px) {
  .page-products .board-head {
    padding-left: 22px;
  }
}

.page-products .board-head--wide {
  max-width: 78ch;
}

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

.page-products .lead-grid {
  display: grid;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}

@media (min-width: 960px) {
  .page-products .lead-grid {
    grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr);
    align-items: end;
  }
}

.page-products .lead-copy h1 {
  margin: 12px 0 0;
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.page-products .lead-text {
  margin: 20px 0 0;
  max-width: 46ch;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.85;
  color: var(--white);
}

.page-products .lead-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 34px);
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .lead-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
}

.page-products .stat-num {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--gold);
}

.page-products .stat-label {
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.page-products .lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
}

.page-products .lead-figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 28px 60px -34px rgba(0, 0, 0, 0.9);
}

/* ---------- 筛选 ---------- */

.page-products .filter-grid {
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  margin-top: clamp(24px, 3.4vw, 40px);
  align-items: start;
}

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

.page-products .step-list {
  counter-reset: ppstep;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.page-products .step-list li {
  position: relative;
  padding-left: 40px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.page-products .step-list li strong {
  color: var(--white);
  font-weight: 700;
}

.page-products .step-list li::before {
  counter-increment: ppstep;
  content: counter(ppstep);
  position: absolute;
  left: 0;
  top: 3px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--gold);
  color: var(--night);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.page-products .filter-figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.page-products .tagbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(22px, 3vw, 34px);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(31, 55, 96, 0.62);
}

.page-products .tag {
  display: inline-block;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: transparent;
}

.page-products .tag--gold {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--night);
  font-weight: 700;
}

/* ---------- 对阵清单 ---------- */

.page-products .fixtures {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: clamp(24px, 3.4vw, 40px);
}

@media (min-width: 780px) {
  .page-products .fixtures {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
  }
  .page-products .fixture {
    grid-column: span 4;
  }
  .page-products .fixture--banner {
    grid-column: span 12;
  }
  .page-products .fixture--mid-l {
    grid-column: 2 / span 5;
  }
  .page-products .fixture--mid-r {
    grid-column: 8 / span 5;
  }
}

.page-products .fixture {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--pp-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-products .fixture::before {
  content: "";
  position: absolute;
  inset-block: 12px;
  inset-inline-start: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--line);
}

.page-products .fixture:hover,
.page-products .fixture:focus-within {
  transform: translateY(-3px);
  border-color: rgba(91, 141, 239, 0.6);
}

.page-products .fixture-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.page-products .fixture-time {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--gold);
}

.page-products .fixture-round {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.page-products .fixture-teams {
  display: grid;
  gap: 8px;
}

.page-products .team {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.page-products .crest {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset 0 0 0 4px var(--panel);
}

.page-products .crest--blue {
  background: var(--blue);
}
.page-products .crest--green {
  background: var(--green);
}
.page-products .crest--red {
  background: var(--red);
}
.page-products .crest--gold {
  background: var(--gold);
}

.page-products .fixture-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

.page-products .fixture-state {
  color: var(--blue);
  font-weight: 600;
}

.page-products .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--red);
}

.page-products .live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.page-products .fixture--banner {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 28px);
  border-color: rgba(245, 194, 74, 0.42);
  background:
    linear-gradient(120deg, rgba(245, 194, 74, 0.1), rgba(19, 36, 67, 0) 52%),
    var(--panel);
}

@media (min-width: 860px) {
  .page-products .fixture--banner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
  }
}

.page-products .fixture--banner::before {
  inset-block: 0;
  width: 4px;
  border-radius: 0;
  background: var(--gold);
}

.page-products .banner-note {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-products .fav-link {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-decoration: none;
}

.page-products .fav-link:hover,
.page-products .fav-link:focus-visible {
  background: var(--gold);
  color: var(--night);
}

.page-products .banner-more {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
}

.page-products .banner-more summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--blue);
}

.page-products .banner-more summary::-webkit-details-marker {
  display: none;
}

.page-products .banner-more summary::after {
  content: "▾";
  font-size: 11px;
}

.page-products .banner-more[open] summary::after {
  content: "▴";
}

.page-products .banner-more p {
  margin: 10px 0 0;
  line-height: 1.8;
}

.page-products .field-notes {
  display: grid;
  gap: 16px;
  margin: clamp(26px, 3.4vw, 42px) 0 0;
}

@media (min-width: 760px) {
  .page-products .field-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 30px;
  }
}

.page-products .field-notes > div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.page-products .field-notes dt {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.page-products .field-notes dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.page-products .crest-figure {
  margin-top: clamp(26px, 3.4vw, 42px);
}

.page-products .crest-figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
}

/* ---------- 排名 ---------- */

.page-products .standings-figure {
  margin-top: clamp(24px, 3.4vw, 40px);
}

.page-products .standings-figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-products .table-scroll {
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  -webkit-overflow-scrolling: touch;
}

.page-products .standings {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .standings caption {
  padding: 16px 18px 12px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.page-products .standings th,
.page-products .standings td {
  padding: 12px 14px;
  text-align: right;
  white-space: nowrap;
  border-top: 1px solid var(--line);
}

.page-products .standings th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: rgba(31, 55, 96, 0.55);
}

.page-products .standings th:nth-child(1),
.page-products .standings th:nth-child(2),
.page-products .standings td:nth-child(1),
.page-products .standings td:nth-child(2) {
  text-align: left;
}

.page-products .standings th:first-child,
.page-products .standings td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--panel);
}

.page-products .standings th:nth-child(2),
.page-products .standings td:nth-child(2) {
  position: sticky;
  left: 52px;
  z-index: 2;
  background: var(--panel);
}

.page-products .standings tbody tr:nth-child(even) td {
  background: rgba(38, 56, 92, 0.28);
}

.page-products .standings tbody tr:nth-child(even) td:first-child,
.page-products .standings tbody tr:nth-child(even) td:nth-child(2) {
  background: #172a4d;
}

.page-products .standings tbody tr:hover td {
  background: rgba(91, 141, 239, 0.14);
}

.page-products .standings tbody tr:hover td:first-child,
.page-products .standings tbody tr:hover td:nth-child(2) {
  background: #1a3054;
}

.page-products .standings .rank {
  color: var(--muted);
}

.page-products .standings .club {
  display: table-cell;
  font-weight: 600;
  color: var(--white);
}

.page-products .standings .club .crest {
  display: inline-block;
  vertical-align: -3px;
  margin-right: 9px;
  box-shadow: inset 0 0 0 4px var(--panel);
}

.page-products .standings .pts {
  font-weight: 700;
  color: var(--gold);
}

.page-products .pos {
  color: var(--green);
}

.page-products .neg {
  color: var(--red);
}

.page-products .sort-arrow {
  font-size: 10px;
  color: var(--gold);
}

.page-products .table-note {
  margin: 16px 0 0;
  max-width: 66ch;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 收藏 ---------- */

.page-products .collection-grid {
  display: grid;
  gap: clamp(24px, 3.4vw, 44px);
  align-items: start;
}

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

.page-products .collection-steps {
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.page-products .collection-steps li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.page-products .step-mark {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue);
}

.page-products .collection-card {
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
}

.page-products .collection-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.page-products .collection-title .num {
  font-family: var(--font-mono);
  color: var(--gold);
}

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

.page-products .collection-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--white);
}

.page-products .collection-list .crest {
  box-shadow: inset 0 0 0 4px var(--glass);
}

.page-products .fav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  margin-left: auto;
}

.page-products .collection-hint {
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 移动端 ---------- */

.page-products .mobile-grid {
  display: grid;
  gap: clamp(24px, 3.4vw, 48px);
  align-items: start;
}

@media (min-width: 900px) {
  .page-products .mobile-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }
}

.page-products .login-pair {
  display: grid;
  gap: 16px;
  margin-top: clamp(22px, 3vw, 32px);
}

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

.page-products .login-card {
  padding: clamp(16px, 2vw, 22px);
  border-radius: var(--radius);
}

.page-products .login-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.page-products .login-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.page-products .login-card--glass {
  border: 1px solid rgba(91, 141, 239, 0.5);
  background: rgba(31, 55, 96, 0.6);
  color: var(--muted);
}

.page-products .login-card--glass h3 {
  color: var(--blue);
}

.page-products .login-card--solid {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
}

.page-products .login-card--solid h3 {
  color: var(--gold);
}

.page-products .mobile-facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 32px);
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 0;
  list-style: none;
}

.page-products .mobile-facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 12px;
  border-left: 2px solid var(--line);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.page-products .mobile-facts .num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.page-products .mobile-link {
  margin: clamp(18px, 2.6vw, 26px) 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.page-products .mobile-link a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .mobile-figure img {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.page-products .mobile-figure figcaption {
  max-width: 420px;
  margin-inline: auto;
  text-align: center;
}

/* ---------- 版本记录 ---------- */

.page-products .changelog {
  margin: clamp(24px, 3.4vw, 40px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

@media (min-width: 860px) {
  .page-products .changelog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 clamp(20px, 3vw, 34px);
  }
}

.page-products .changelog li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.page-products .version-tag {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.page-products .version-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 尾块 ---------- */

.page-products .board--tail .wrap {
  padding-block: clamp(26px, 3.4vw, 40px);
}

.page-products .tail-grid {
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}

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

.page-products .tail-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.page-products .tail-links li {
  border-bottom: 1px solid var(--line);
}

.page-products .tail-links a {
  display: block;
  padding: 14px 2px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.page-products .tail-links a:hover,
.page-products .tail-links a:focus-visible {
  color: var(--gold);
  padding-left: 10px;
}

@media (prefers-reduced-motion: reduce) {
  .page-products .fixture,
  .page-products .tail-links a {
    transition: none;
  }
  .page-products .fixture:hover,
  .page-products .fixture:focus-within {
    transform: none;
  }
}
