.page-products {
  --fx-gap: clamp(1rem, 3vw, 2.25rem);
  --fx-panel-bg: linear-gradient(165deg, rgba(16, 27, 51, .96), rgba(10, 18, 36, .98));
  color: var(--mist);
}

.page-products .fx-crumbbar {
  padding-top: clamp(1rem, 3vw, 1.75rem);
}

/* ---------- 首屏 ---------- */
.page-products .fx-hero {
  display: grid;
  gap: var(--fx-gap);
  align-items: start;
}

.page-products .fx-hero__lead h1 {
  margin: .5rem 0 0;
  font-size: clamp(2rem, 7vw, 3.9rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--mist);
}

.page-products .fx-hero__intro {
  margin: 1.1rem 0 0;
  max-width: 34em;
  font-size: clamp(1rem, 2.2vw, 1.06rem);
  line-height: 1.75;
  color: var(--slate);
}

.page-products .fx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.6rem;
}

.page-products .fx-hero__board {
  position: relative;
  padding: clamp(1.1rem, 4vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(130% 120% at 100% 0%, rgba(34, 211, 238, .16), transparent 58%),
    radial-gradient(90% 90% at 0% 100%, rgba(217, 179, 108, .12), transparent 62%),
    var(--fx-panel-bg);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.page-products .fx-hero__board::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image:
    linear-gradient(rgba(230, 237, 247, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 237, 247, .04) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 78%);
}

.page-products .fx-board__head {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line-soft);
}

.page-products .fx-board__label {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-products .fx-board__live {
  font-size: .82rem;
  color: var(--slate);
}

.page-products .fx-board__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: .85rem;
  margin-top: 1.1rem;
}

.page-products .fx-board__cell {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: .7rem .75rem;
  border-left: 2px solid rgba(34, 211, 238, .34);
  background: rgba(34, 211, 238, .05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.page-products .fx-board__num {
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 7vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--mist);
}

.page-products .fx-board__unit {
  margin-left: .12em;
  font-size: .4em;
  color: var(--sand);
}

.page-products .fx-board__cap {
  font-size: .74rem;
  line-height: 1.45;
  color: var(--slate);
}

.page-products .fx-board__bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 62px;
  margin-top: 1.35rem;
}

.page-products .fx-board__bars span {
  flex: 1;
  height: 34%;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--cyan), rgba(34, 211, 238, .08));
}

.page-products .fx-board__bars span:nth-child(2) { height: 52%; }
.page-products .fx-board__bars span:nth-child(3) { height: 41%; }
.page-products .fx-board__bars span:nth-child(4) { height: 68%; background: linear-gradient(180deg, var(--orange), rgba(255, 122, 26, .1)); }
.page-products .fx-board__bars span:nth-child(5) { height: 47%; }
.page-products .fx-board__bars span:nth-child(6) { height: 74%; }
.page-products .fx-board__bars span:nth-child(7) { height: 58%; background: linear-gradient(180deg, var(--sand), rgba(217, 179, 108, .1)); }
.page-products .fx-board__bars span:nth-child(8) { height: 63%; }
.page-products .fx-board__bars span:nth-child(9) { height: 39%; }
.page-products .fx-board__bars span:nth-child(10) { height: 55%; }

.page-products .fx-board__foot {
  margin: .9rem 0 0;
  font-size: .82rem;
  line-height: 1.6;
  color: var(--slate);
}

/* ---------- 模块清单 ---------- */
.page-products .fx-modules__head {
  max-width: 40em;
}

.page-products .fx-modules__head h2 {
  margin: .5rem 0 0;
  font-size: clamp(1.55rem, 4vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -.01em;
}

.page-products .fx-modules__intro {
  margin: .9rem 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--slate);
}

.page-products .fx-modules__body {
  display: grid;
  gap: var(--fx-gap);
  margin-top: 2rem;
}

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

.page-products .fx-mod {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .5rem .9rem;
  align-items: start;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.page-products .fx-mod__idx {
  font-size: .9rem;
  font-weight: 700;
  color: var(--cyan);
  padding-top: .18rem;
}

.page-products .fx-mod__name {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--mist);
}

.page-products .fx-mod__desc {
  margin: .35rem 0 0;
  font-size: .92rem;
  line-height: 1.65;
  color: var(--slate);
}

.page-products .fx-mod__link {
  align-self: center;
  padding: .3rem .7rem;
  border: 1px solid var(--line-cyan);
  border-radius: 999px;
  font-size: .78rem;
  color: var(--cyan);
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}

.page-products .fx-mod__link:hover,
.page-products .fx-mod__link:focus-visible {
  background: rgba(34, 211, 238, .14);
  color: var(--mist);
}

.page-products .fx-modules__media {
  margin: 0;
}

.page-products .fx-modules__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  object-fit: cover;
}

/* ---------- 积分榜 ---------- */
.page-products .fx-rank {
  background: linear-gradient(180deg, rgba(30, 27, 75, .55), rgba(10, 18, 36, 0) 72%);
  border-radius: var(--radius-lg);
}

.page-products .fx-rank__grid {
  display: grid;
  gap: var(--fx-gap);
}

.page-products .fx-rank__main h2 {
  margin: .5rem 0 0;
  font-size: clamp(1.55rem, 4vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -.01em;
}

.page-products .fx-rank__text {
  margin: 1rem 0 0;
  max-width: 36em;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--slate);
}

.page-products .fx-rank__figure {
  margin: 1.5rem 0 0;
}

.page-products .fx-rank__figure img,
.page-products .fx-time__figure img,
.page-products .fx-readback__figure img,
.page-products .fx-compat__figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  object-fit: cover;
  background: var(--ink-800);
}

.page-products .fx-rank__aside {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--fx-panel-bg);
}

.page-products .fx-rank__aside-title {
  margin: 0 0 .9rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--sand);
}

.page-products .fx-deflist {
  margin: 0;
}

.page-products .fx-deflist__row {
  padding: .7rem 0;
  border-top: 1px solid var(--line-soft);
}

.page-products .fx-deflist__row:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-products .fx-deflist dt {
  font-size: .88rem;
  font-weight: 600;
  color: var(--mist);
}

.page-products .fx-deflist dd {
  margin: .25rem 0 0;
  font-size: .86rem;
  line-height: 1.62;
  color: var(--slate);
}

.page-products .fx-refresh {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin: 1rem 0 0;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  line-height: 1.6;
  color: var(--slate);
}

/* ---------- 赛程时间 ---------- */
.page-products .fx-time__inner {
  display: grid;
  gap: var(--fx-gap);
  align-items: center;
}

.page-products .fx-time h2 {
  margin: .5rem 0 0;
  font-size: clamp(1.55rem, 4vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -.01em;
}

.page-products .fx-time__lead {
  margin: 1rem 0 0;
  max-width: 34em;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--slate);
}

.page-products .fx-time__list {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.page-products .fx-time__list li {
  position: relative;
  padding: .6rem 0 .6rem 1.4rem;
  border-top: 1px solid var(--line-soft);
  font-size: .94rem;
  line-height: 1.68;
  color: var(--slate);
}

.page-products .fx-time__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--sand);
  background: rgba(217, 179, 108, .35);
}

.page-products .fx-time__figure {
  margin: 0;
}

/* ---------- 回看 ---------- */
.page-products .fx-readback {
  background: linear-gradient(180deg, rgba(59, 15, 30, .42), rgba(10, 18, 36, 0) 70%);
  border-radius: var(--radius-lg);
}

.page-products .fx-readback__head {
  max-width: 42em;
}

.page-products .fx-readback h2 {
  margin: .5rem 0 0;
  font-size: clamp(1.55rem, 4vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -.01em;
}

.page-products .fx-readback__lead {
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--slate);
}

.page-products .fx-tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.6rem;
}

.page-products .fx-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.page-products .fx-tabs__label,
.page-products .fx-filter__label {
  display: inline-flex;
  align-items: center;
  padding: .45rem .95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .84rem;
  color: var(--slate);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.page-products .fx-tabs__label:hover,
.page-products .fx-filter__label:hover {
  color: var(--mist);
  border-color: var(--line-cyan);
}

.page-products .fx-input:checked + .fx-tabs__label,
.page-products .fx-input:checked + .fx-filter__label {
  color: var(--ink-900);
  background: var(--sand);
  border-color: var(--sand);
  font-weight: 600;
}

.page-products .fx-input:focus-visible + .fx-tabs__label,
.page-products .fx-input:focus-visible + .fx-filter__label {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-products .fx-tabs__panels {
  flex-basis: 100%;
  margin-top: .9rem;
}

.page-products .fx-tabpanel {
  display: none;
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--sand);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--fx-panel-bg);
}

.page-products #rb-day:checked ~ .fx-tabs__panels #panel-day,
.page-products #rb-month:checked ~ .fx-tabs__panels #panel-month,
.page-products #rb-season:checked ~ .fx-tabs__panels #panel-season {
  display: block;
}

.page-products .fx-tabpanel__title {
  margin: 0 0 .6rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--mist);
}

.page-products .fx-tabpanel p {
  margin: 0;
  font-size: .94rem;
  line-height: 1.72;
  color: var(--slate);
}

.page-products .fx-readback__figure {
  margin: 1.6rem 0 0;
}

.page-products .fx-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin: 1.2rem 0 0;
  font-size: .86rem;
  color: var(--slate);
}

/* ---------- 兼容 ---------- */
.page-products .fx-compat h2 {
  margin: .5rem 0 0;
  font-size: clamp(1.55rem, 4vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -.01em;
}

.page-products .fx-compat__lead {
  margin: 1rem 0 0;
  max-width: 40em;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--slate);
}

.page-products .fx-compat__figure {
  margin: 1.5rem 0 0;
}

.page-products .fx-filter {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-top: 1.8rem;
}

.page-products .fx-filter__title {
  flex-basis: 100%;
  margin: 0 0 .2rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-products .fx-matrix__wrap {
  flex-basis: 100%;
  margin-top: .6rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ink-800);
}

.page-products .fx-matrix {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: .86rem;
}

.page-products .fx-matrix th,
.page-products .fx-matrix td {
  padding: .8rem .85rem;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.page-products .fx-matrix thead th {
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--sand);
  background: rgba(217, 179, 108, .07);
}

.page-products .fx-matrix tbody th {
  font-weight: 600;
  color: var(--mist);
}

.page-products .fx-matrix tbody tr:last-child th,
.page-products .fx-matrix tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .fx-cell {
  display: inline-flex;
  align-items: center;
  padding: .12rem .5rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .74rem;
}

.page-products .fx-cell--ok {
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, .38);
  background: rgba(52, 211, 153, .1);
}

.page-products .fx-cell__note {
  display: block;
  margin-top: .3rem;
  font-size: .76rem;
  line-height: 1.5;
  color: var(--slate);
}

.page-products #fx-chrome:checked ~ .fx-matrix__wrap .fx-row:not(.fx-row--chrome),
.page-products #fx-edge:checked ~ .fx-matrix__wrap .fx-row:not(.fx-row--edge),
.page-products #fx-firefox:checked ~ .fx-matrix__wrap .fx-row:not(.fx-row--firefox),
.page-products #fx-safari:checked ~ .fx-matrix__wrap .fx-row:not(.fx-row--safari) {
  display: none;
}

.page-products .fx-compat__subtitle {
  margin: 2.2rem 0 .9rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--mist);
}

.page-products .fx-compat__acc .accordion__trigger {
  font-size: .96rem;
}

/* ---------- 状态 ---------- */
.page-products .fx-status__grid {
  display: grid;
  gap: var(--fx-gap);
  align-items: start;
}

.page-products .fx-status h2 {
  margin: .5rem 0 0;
  font-size: clamp(1.55rem, 4vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -.01em;
}

.page-products .fx-status__text > p {
  margin: 1rem 0 0;
  max-width: 32em;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--slate);
}

.page-products .fx-status__list {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.page-products .fx-status__list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .62rem 0;
  border-top: 1px solid var(--line-soft);
  font-size: .92rem;
  line-height: 1.66;
  color: var(--slate);
}

.page-products .fx-status__list .status-dot {
  margin-top: .5rem;
  flex: none;
}

.page-products .fx-status__panel {
  padding: 1.35rem;
}

.page-products .fx-status__panel-title {
  margin: 0 0 .9rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cyan);
}

.page-products .fx-status__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .6rem 0;
  border-top: 1px solid var(--line-soft);
}

.page-products .fx-status__row:first-of-type {
  border-top: 0;
}

.page-products .fx-status__key {
  font-size: .86rem;
  color: var(--slate);
}

.page-products .fx-status__val {
  font-size: .92rem;
  font-weight: 600;
  color: var(--mist);
  text-align: right;
}

.page-products .fx-status__note {
  margin: 1rem 0 0;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  line-height: 1.62;
  color: var(--slate);
}

/* ---------- 场景 ---------- */
.page-products .fx-scenes__head h2 {
  margin: .5rem 0 0;
  font-size: clamp(1.55rem, 4vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -.01em;
}

.page-products .fx-scenes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.8rem;
}

.page-products .fx-scene {
  position: relative;
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--fx-panel-bg);
  overflow: hidden;
}

.page-products .fx-scene::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--orange), rgba(255, 122, 26, 0));
}

.page-products .fx-scene__tag {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .16em;
  color: var(--orange);
}

.page-products .fx-scene__title {
  margin: .5rem 0 0;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--mist);
}

.page-products .fx-scene__text {
  margin: .6rem 0 0;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--slate);
}

/* ---------- 下一步 ---------- */
.page-products .fx-next__head h2 {
  margin: .5rem 0 0;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -.01em;
}

.page-products .fx-next__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.8rem;
}

.page-products .fx-next__card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ink-800);
  text-decoration: none;
  transition: border-color .22s ease, transform .22s ease, background .22s ease;
}

.page-products .fx-next__card:hover,
.page-products .fx-next__card:focus-visible {
  border-color: var(--line-cyan);
  background: rgba(34, 211, 238, .07);
  transform: translateY(-2px);
}

.page-products .fx-next__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--mist);
}

.page-products .fx-next__text {
  margin: 0;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--slate);
}

.page-products .fx-next__go {
  margin-top: .3rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--sand);
}

.page-products .fx-next__card:hover .fx-next__go,
.page-products .fx-next__card:focus-visible .fx-next__go {
  color: var(--cyan);
}

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

@media (min-width: 900px) {
  .page-products .fx-hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: clamp(1.5rem, 4vw, 3rem);
  }

  .page-products .fx-modules__body {
    grid-template-columns: minmax(0, 1.42fr) minmax(0, .58fr);
    align-items: start;
    gap: clamp(1.5rem, 4vw, 3rem);
  }

  .page-products .fx-rank__grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr);
    gap: clamp(1.5rem, 4vw, 2.75rem);
    align-items: start;
  }

  .page-products .fx-time__inner {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(1.5rem, 4vw, 3rem);
  }

  .page-products .fx-time__figure {
    order: 2;
  }

  .page-products .fx-time__text {
    order: 1;
  }

  .page-products .fx-status__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(1.5rem, 4vw, 3rem);
  }
}

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

  .page-products .fx-hero__board {
    padding: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .fx-mod__link,
  .page-products .fx-next__card,
  .page-products .fx-tabs__label,
  .page-products .fx-filter__label {
    transition: none;
  }

  .page-products .fx-next__card:hover,
  .page-products .fx-next__card:focus-visible {
    transform: none;
  }
}
