.page-products {
  --fx-line: rgba(155, 171, 196, 0.16);
  --fx-line-soft: rgba(155, 171, 196, 0.10);
  --fx-edge: rgba(255, 107, 26, 0.42);
  --fx-ink: rgba(7, 20, 39, 0.58);
  position: relative;
  overflow-x: clip;
  color: var(--text);
  background:
    radial-gradient(110% 55% at 88% -6%, rgba(255, 107, 26, 0.11), transparent 62%),
    radial-gradient(90% 60% at 0% 100%, rgba(0, 201, 167, 0.06), transparent 60%),
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 38%, var(--ink-800) 100%);
}

.page-products .fx-hero {
  position: relative;
  padding: calc(var(--header-h) + 44px) 0 60px;
  border-bottom: 1px solid var(--fx-line);
}

.page-products .fx-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 88px;
  background-image: repeating-linear-gradient(90deg, rgba(155, 171, 196, 0.07) 0 1px, transparent 1px 64px);
  pointer-events: none;
}

.page-products .fx-hero__grid {
  position: relative;
  display: grid;
  gap: 36px;
  align-items: start;
}

.page-products .fx-crumb {
  margin-bottom: 22px;
}

.page-products .fx-kicker {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--orange);
}

.page-products .fx-hero__lead h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 6vw, 66px);
  font-weight: 200;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.page-products .fx-hero__lede {
  margin: 0 0 26px;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.page-products .fx-hero__chips {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-products .fx-hero__chips li {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--fx-line);
  border-radius: 2px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(18, 48, 92, 0.28);
}

.page-products .fx-hero__chips .tz {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--orange);
}

.page-products .fx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .fx-hero__figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  overflow: hidden;
}

.page-products .fx-hero__figure::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 1px;
  background: var(--orange);
  z-index: 3;
}

.page-products .fx-hero__figure::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 1px;
  height: 28px;
  background: var(--orange);
  z-index: 3;
}

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

.page-products .fx-hero__figure img {
  aspect-ratio: 3 / 2;
}

.page-products .fx-shell {
  display: block;
  padding-top: 56px;
  padding-bottom: 72px;
}

.page-products .fx-index {
  margin-bottom: 40px;
  padding: 18px;
  border: 1px solid var(--fx-line);
  border-radius: 4px;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.page-products .fx-index__head {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--fx-line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

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

.page-products .fx-index__link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 8px;
  border-left: 2px solid transparent;
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease), color 160ms var(--ease);
}

.page-products .fx-index__link:hover,
.page-products .fx-index__link:focus-visible {
  border-left-color: var(--orange);
  background: rgba(255, 107, 26, 0.09);
  color: var(--orange-soft);
}

.page-products .fx-index__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.page-products .fx-index__note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--fx-line);
}

.page-products .fx-index__note p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .fx-main {
  min-width: 0;
  display: grid;
  gap: 72px;
}

.page-products .fx-section {
  min-width: 0;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.page-products .fx-section .section-head {
  margin-bottom: 26px;
}

.page-products .fx-section:target .section-head__index {
  color: var(--mint);
}

/* ---------- 01 检索台 ---------- */
.page-products .fx-console {
  display: grid;
  gap: 20px;
}

.page-products .fx-console__screen {
  padding: 20px 18px;
}

.page-products .fx-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 14px 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--fx-ink);
}

.page-products .fx-field__key {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  padding: 1px 7px;
  border-radius: 2px;
  color: var(--ink-950);
  background: var(--orange);
}

.page-products .fx-field__text {
  flex: 1 1 160px;
  min-width: 0;
  font-size: 14px;
  color: var(--muted);
}

.page-products .fx-field__hint {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mint);
}

.page-products .fx-field__echo {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .fx-field__echo li {
  position: relative;
  padding-left: 14px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .fx-field__echo li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
}

.page-products .fx-hl {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 0 4px;
  border-radius: 2px;
  color: var(--ink-950);
  background: var(--mint);
}

.page-products .fx-console__dims {
  display: grid;
  gap: 14px;
}

.page-products .fx-dim {
  padding: 18px 16px 16px;
  border: 1px solid var(--fx-line);
  border-top: 2px solid var(--orange);
  border-radius: 0 0 3px 3px;
  background: var(--ink-700);
}

.page-products .fx-dim__k {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.page-products .fx-dim__t {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.page-products .fx-dim__d {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
}

/* ---------- 02 球员名录 ---------- */
.page-products .fx-band {
  position: relative;
  margin: 0 0 26px;
  border: 1px solid var(--fx-line);
  border-radius: 4px;
  overflow: hidden;
}

.page-products .fx-band img {
  aspect-ratio: 16 / 9;
}

.page-products .fx-two {
  display: grid;
  gap: 20px;
}

.page-products .fx-filters {
  padding: 20px 18px;
}

.page-products .fx-criteria {
  margin: 16px 0 0;
  display: grid;
  gap: 14px;
}

.page-products .fx-criteria__row {
  display: grid;
  gap: 8px;
}

.page-products .fx-criteria__row dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.page-products .fx-criteria__row dd {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-products .fx-filters__note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--fx-line);
  font-size: 12.5px;
  line-height: 1.7;
}

.page-products .fx-result {
  min-width: 0;
}

.page-products .fx-result__count {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--fx-line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.page-products .fx-result__count b {
  margin-right: 4px;
  font-size: 22px;
  font-weight: 500;
  color: var(--orange);
}

.page-products .fx-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr));
}

.page-products .fx-card {
  padding: 16px 14px 14px;
  border: 1px solid var(--fx-line);
  border-left: 2px solid var(--orange-soft);
  background: var(--ink-700);
}

.page-products .fx-card__no {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-products .fx-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}

.page-products .fx-card__id {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--mint);
}

.page-products .fx-card__meta {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- 03 教练履历 ---------- */
.page-products .fx-coach {
  display: grid;
  gap: 24px;
}

.page-products .fx-coach__figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  overflow: hidden;
}

.page-products .fx-coach__figure img {
  aspect-ratio: 3 / 4;
}

.page-products .fx-coach__list {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.page-products .fx-entry {
  border: 1px solid var(--fx-line);
  border-radius: 3px;
  background: var(--ink-700);
  overflow: hidden;
}

.page-products .fx-entry[open] {
  border-color: var(--line-orange);
}

.page-products .fx-entry > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  color: var(--text);
}

.page-products .fx-entry > summary::-webkit-details-marker {
  display: none;
}

.page-products .fx-entry__id {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-products .fx-entry__name {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.page-products .fx-entry__chev {
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--orange);
  border-bottom: 1.5px solid var(--orange);
  transform: rotate(45deg);
  transition: transform 180ms var(--ease);
}

.page-products .fx-entry[open] .fx-entry__chev {
  transform: rotate(-135deg);
}

.page-products .fx-entry__body {
  display: grid;
  gap: 18px;
  padding: 16px;
  border-top: 1px solid var(--fx-line);
}

.page-products .fx-entry__col ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.page-products .fx-entry__col li {
  position: relative;
  padding-left: 12px;
  font-size: 13px;
  line-height: 1.68;
  color: var(--muted);
}

.page-products .fx-entry__col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 4px;
  height: 4px;
  background: var(--orange-soft);
}

/* ---------- 04 赛事日历 ---------- */
.page-products .fx-calendar {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--fx-line);
  border-radius: 4px;
  background: var(--ink-900);
  overflow: hidden;
}

.page-products .fx-calendar__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: saturate(0.7);
  z-index: -1;
}

.page-products .fx-calendar__grid {
  padding: 20px 18px;
}

.page-products .fx-mini {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.page-products .fx-mini__dow {
  padding-bottom: 4px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.page-products .fx-mini__slot {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--fx-line);
  border-radius: 2px;
  background: var(--fx-ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.page-products .fx-mini__slot.is-match {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--ink-950);
  font-weight: 500;
}

.page-products .fx-mini__slot.is-review {
  border-color: var(--mint);
  background: var(--mint);
  color: var(--ink-950);
  font-weight: 500;
}

.page-products .fx-mini__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.page-products .fx-mini__dot {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  margin-left: 8px;
}

.page-products .fx-mini__dot:first-child {
  margin-left: 0;
}

.page-products .fx-mini__dot--match {
  background: var(--orange);
}

.page-products .fx-mini__dot--review {
  background: var(--mint);
}

.page-products .fx-calendar__side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-products .fx-take__note {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
}

.page-products .fx-take__note + .fx-take__note {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--fx-line);
}

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

.page-products .fx-simple li {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
}

.page-products .fx-simple b {
  margin-right: 6px;
  font-weight: 900;
  color: var(--text);
}

/* ---------- 05 积分榜同步 ---------- */
.page-products .fx-sync {
  display: grid;
  gap: 22px;
  margin-bottom: 28px;
}

.page-products .fx-stats {
  display: grid;
  gap: 12px;
}

.page-products .fx-stat {
  padding: 18px 16px;
  border: 1px solid var(--fx-line);
  border-top: 2px solid var(--orange);
  border-radius: 3px;
  background: var(--ink-700);
}

.page-products .fx-stat__v {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--orange);
}

.page-products .fx-stat__l {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.page-products .fx-sync__figure {
  margin: 0;
  border: 1px solid var(--fx-line);
  border-radius: 4px;
  overflow: hidden;
}

.page-products .fx-sync__figure img {
  aspect-ratio: 1 / 1;
}

.page-products .fx-table-cap {
  padding-bottom: 12px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* ---------- 06 球队页模板 ---------- */
.page-products .fx-wire {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .fx-wire__col {
  padding: 22px 18px;
  border: 1px solid var(--fx-edge);
  border-radius: 3px;
  background: rgba(18, 48, 92, 0.34);
}

.page-products .fx-wire__no {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--orange);
}

.page-products .fx-wire__t {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.page-products .fx-wire__bars {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.page-products .fx-wire__bars span {
  height: 6px;
  border-radius: 2px;
  background: rgba(155, 171, 196, 0.16);
}

.page-products .fx-wire__bars span:nth-child(2) {
  width: 82%;
}

.page-products .fx-wire__bars span:nth-child(3) {
  width: 54%;
}

.page-products .fx-wire__col p:last-child {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
}

/* ---------- 07 跨端 ---------- */
.page-products .fx-duo {
  display: grid;
  gap: 16px;
}

.page-products .fx-cross {
  padding: 20px 18px;
}

/* ---------- 后续指引 ---------- */
.page-products .fx-next {
  padding: 22px 20px;
}

.page-products .fx-next__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .fx-next__list li {
  position: relative;
  padding-left: 14px;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
}

.page-products .fx-next__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 5px;
  height: 5px;
  background: var(--orange);
}

.page-products .fx-next__list a {
  margin-right: 6px;
  font-weight: 900;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line-orange);
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.page-products .fx-next__list a:hover,
.page-products .fx-next__list a:focus-visible {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ---------- 响应式 ---------- */
@media (min-width: 620px) {
  .page-products .fx-console__dims {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media (min-width: 780px) {
  .page-products .fx-wire {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media (min-width: 560px) {
  .page-products .fx-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .page-products .fx-console {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 28px;
    align-items: start;
  }

  .page-products .fx-two {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 28px;
    align-items: start;
  }

  .page-products .fx-coach {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 32px;
    align-items: start;
  }

  .page-products .fx-sync {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 32px;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .page-products .fx-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
    align-items: end;
  }

  .page-products .fx-calendar {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 26px;
    padding: 28px;
  }
}

@media (min-width: 1060px) {
  .page-products .fx-shell {
    display: grid;
    grid-template-columns: var(--index-w) minmax(0, 1fr);
    gap: 52px;
    align-items: start;
  }

  .page-products .fx-index {
    position: sticky;
    top: calc(var(--header-h) + 28px);
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .fx-index__link,
  .page-products .fx-entry__chev,
  .page-products .fx-next__list a {
    transition: none;
  }
}
