.page-home {
  --home-gutter: 20px;
  --home-num-track: 54px;
  background: var(--fx-paper);
  color: var(--fx-ink);
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--fx-ink);
  color: var(--fx-white);
  padding: calc(var(--fx-header-h) + 26px) 0 46px;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
}

.page-home .hero::after {
  content: "";
  position: absolute;
  right: -34%;
  top: -14%;
  width: 104%;
  height: 76%;
  z-index: -1;
  background: linear-gradient(140deg, var(--fx-orange), var(--fx-ember));
  opacity: 0.17;
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
}

.page-home .hero__inner {
  position: relative;
  display: grid;
  gap: 40px;
}

.page-home .hero__eyebrow {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  letter-spacing: 0.2em;
}

.page-home .hero__title {
  margin: 14px 0 0;
  font-size: clamp(36px, 9.4vw, 76px);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.page-home .hero__title-em {
  display: block;
  color: var(--fx-orange);
}

.page-home .hero__lede {
  max-width: 46ch;
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.76);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .hero .fx-btn--ghost {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--fx-white);
}

.page-home .hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 32px 0 0;
  padding: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.page-home .hero__stat {
  background: var(--fx-ink);
  padding: 13px 15px 14px;
}

.page-home .hero__stat dt {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.48);
}

.page-home .hero__stat dd {
  margin: 6px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
}

.page-home .hero__stat .fx-num {
  margin-right: 3px;
  font-size: 26px;
  font-weight: 800;
  color: var(--fx-orange);
}

.page-home .hero__visual {
  position: relative;
  padding-top: 8px;
}

.page-home .hero__figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  clip-path: polygon(0 7%, 100% 0, 100% 100%, 0 100%);
}

.page-home .hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.page-home .hero__round {
  position: absolute;
  top: -6px;
  left: 0;
  z-index: 2;
  display: grid;
  padding: 8px 14px 10px;
  background: var(--fx-orange);
  color: var(--fx-ink);
}

.page-home .hero__round-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.page-home .hero__round-num {
  font-size: clamp(46px, 14vw, 86px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.05em;
}

.page-home .hero__chip {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 12px;
  background: rgba(18, 18, 18, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.82);
}

.page-home .hero__chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fx-green);
}

/* ---------- 章节索引轨 ---------- */
.page-home .rail {
  display: none;
}

/* ---------- 通用章节头 ---------- */
.page-home .sec-head {
  max-width: 62ch;
  margin-bottom: 30px;
}

.page-home .sec-head__title {
  margin: 12px 0 0;
  font-size: clamp(26px, 5.6vw, 50px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--fx-ink);
}

.page-home .sec-head__lede {
  margin: 15px 0 0;
  font-size: 15px;
  line-height: 1.76;
  color: var(--fx-ink-soft);
}

.page-home .sec-head--dark .sec-head__title {
  color: var(--fx-white);
}

.page-home .sec-head--dark .sec-head__lede {
  color: rgba(255, 255, 255, 0.64);
}

.page-home .sec-head--dark .fx-eyebrow {
  color: var(--fx-orange);
}

/* ---------- 轮次时间轴 ---------- */
.page-home .timeline {
  background: var(--fx-paper);
  padding: 54px 0 46px;
}

.page-home .timeline__layout {
  display: grid;
  gap: 30px;
}

.page-home .timeline__list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .timeline__list::before {
  content: "";
  position: absolute;
  left: calc(var(--home-num-track) / 2);
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--fx-line);
}

.page-home .timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: var(--home-num-track) minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 28px;
}

.page-home .timeline__item:last-child {
  padding-bottom: 0;
}

.page-home .timeline__num {
  position: relative;
  z-index: 1;
  padding: 3px 0;
  background: var(--fx-paper);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  color: var(--fx-orange);
}

.page-home .timeline__meta {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fx-warm-deep);
}

.page-home .timeline__title {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--fx-ink);
}

.page-home .timeline__text {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.74;
  color: var(--fx-ink-soft);
}

.page-home .timeline__figure {
  margin: 0;
}

.page-home .timeline__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--fx-line);
}

.page-home .timeline__figure figcaption {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--fx-warm-deep);
}

.page-home .timeline__foot {
  margin: 26px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--fx-line-soft);
  font-size: 13px;
  color: var(--fx-ink-soft);
}

.page-home .timeline__foot a {
  color: var(--fx-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--fx-orange);
  padding-bottom: 1px;
}

.page-home .timeline__foot a:hover {
  color: var(--fx-orange);
}

/* ---------- 近期战绩区间 ---------- */
.page-home .zones {
  background: var(--fx-ink);
  color: var(--fx-white);
  padding: 54px 0 48px;
}

.page-home .zones__layout {
  display: grid;
  gap: 30px;
}

.page-home .zones__grid {
  display: grid;
  gap: 14px;
}

.page-home .zone {
  padding: 17px 15px 19px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.32);
}

.page-home .zone__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .zone__team {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--fx-white);
}

.page-home .zone__tag {
  flex: none;
  padding: 3px 8px;
  border: 1px solid currentColor;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.page-home .zone__tag--green { color: var(--fx-green); }
.page-home .zone__tag--blue { color: var(--fx-blue); }
.page-home .zone__tag--orange { color: var(--fx-orange); }

.page-home .zone__meta {
  margin: 10px 0 14px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.46);
}

.page-home .zone__bars {
  display: grid;
  gap: 10px;
}

.page-home .zone__bar {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.page-home .zone__bar-key {
  font-family: var(--fx-font-num);
  letter-spacing: 0.04em;
}

.page-home .zone__bar-track {
  display: block;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.page-home .zone__bar-fill {
  display: block;
  width: var(--w, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--fx-orange), var(--fx-ember));
}

.page-home .zone__bar-fill--green {
  background: linear-gradient(90deg, var(--fx-green), #7fbf1f);
}

.page-home .fx-js .zone__bar-fill {
  width: 0;
}

.page-home .fx-js .zone.is-in .zone__bar-fill {
  width: var(--w, 0%);
  transition: width 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.page-home .zone__bar:nth-child(2) .zone__bar-fill { transition-delay: 60ms; }
.page-home .zone__bar:nth-child(3) .zone__bar-fill { transition-delay: 120ms; }
.page-home .zone__bar:nth-child(4) .zone__bar-fill { transition-delay: 180ms; }

.page-home .zone__bar-val {
  font-family: var(--fx-font-num);
  font-size: 12px;
  text-align: right;
  color: rgba(255, 255, 255, 0.8);
}

.page-home .zones__figure {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px;
}

.page-home .zones__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .zones__figure figcaption {
  margin-top: 12px;
  padding: 0 2px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.56);
}

/* ---------- 苹果设备 ---------- */
.page-home .device {
  background: var(--fx-paper);
  padding: 54px 0 48px;
}

.page-home .device__layout {
  display: grid;
  gap: 28px;
}

.page-home .device__tabs .fx-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: -1px;
}

.page-home .device__tabs .fx-tab {
  appearance: none;
  padding: 10px 14px;
  border: 1px solid var(--fx-line);
  border-bottom-color: transparent;
  background: transparent;
  font-family: var(--fx-font);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--fx-warm-deep);
  cursor: pointer;
}

.page-home .device__tabs .fx-tab:hover {
  color: var(--fx-ink);
}

.page-home .device__tabs .fx-tab[aria-selected="true"] {
  background: var(--fx-ink);
  border-color: var(--fx-ink);
  color: var(--fx-white);
}

.page-home .device__tabs .fx-tabs__panel {
  padding: 22px 0 0;
  border-top: 1px solid var(--fx-ink);
  font-size: 14px;
  line-height: 1.76;
  color: var(--fx-ink-soft);
}

.page-home .device__tabs .fx-tabs__panel[hidden] {
  display: none;
}

.page-home .device__tabs .fx-tabs__panel p {
  margin: 0;
}

.page-home .device__list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .device__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
}

.page-home .device__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 9px;
  height: 2px;
  background: var(--fx-orange);
}

.page-home .device__cta {
  margin: 22px 0 0;
}

.page-home .device__figure {
  margin: 0;
}

.page-home .device__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--fx-line);
  box-shadow: var(--fx-shadow);
}

.page-home .device__figure figcaption {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fx-warm-deep);
}

/* ---------- 路径对比 ---------- */
.page-home .paths {
  background: var(--fx-charcoal);
  color: var(--fx-white);
  padding: 54px 0 48px;
}

.page-home .paths__grid {
  display: grid;
  gap: 14px;
}

.page-home .paths__col {
  padding: 18px 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.page-home .paths__col--new {
  border-color: rgba(255, 107, 26, 0.62);
  background: rgba(255, 107, 26, 0.09);
}

.page-home .paths__label {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fx-warm-gray);
}

.page-home .paths__col--new .paths__label {
  color: var(--fx-orange);
}

.page-home .paths__col h3 {
  margin: 10px 0 16px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--fx-white);
}

.page-home .paths__steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .paths__steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.16);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.page-home .paths__steps li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.page-home .paths__step-num {
  font-size: 12px;
  color: var(--fx-orange);
}

.page-home .paths__col--new .paths__step-num {
  color: var(--fx-green);
}

.page-home .paths__more {
  margin-top: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.page-home .paths__more summary {
  padding: 13px 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--fx-warm-gray);
  cursor: pointer;
  list-style: none;
}

.page-home .paths__more summary::-webkit-details-marker {
  display: none;
}

.page-home .paths__more[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--fx-white);
}

.page-home .paths__more p {
  margin: 0;
  padding: 16px;
  font-size: 13px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- 关注球队 ---------- */
.page-home .teams {
  background: var(--fx-paper);
  padding: 54px 0 46px;
}

.page-home .teams__flow {
  display: grid;
  gap: 12px;
}

.page-home .teams__step {
  position: relative;
  padding: 20px 16px 18px;
  background: var(--fx-white);
  border: 1px solid var(--fx-line);
  box-shadow: 0 8px 24px rgba(18, 18, 18, 0.06);
}

.page-home .teams__step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 3px;
  background: var(--fx-orange);
}

.page-home .teams__step-num {
  display: block;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: var(--fx-orange);
}

.page-home .teams__step-title {
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.42;
  color: var(--fx-ink);
}

.page-home .teams__step-text {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--fx-ink-soft);
}

.page-home .teams__note {
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--fx-line-soft);
  font-size: 13px;
  line-height: 1.7;
  color: var(--fx-warm-deep);
}

.page-home .teams__note a {
  color: var(--fx-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--fx-orange);
}

.page-home .teams__note a:hover {
  color: var(--fx-orange);
}

/* ---------- 收束 ---------- */
.page-home .closing {
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 107, 26, 0.3), transparent 58%),
    var(--fx-ink);
  color: var(--fx-white);
  padding: 54px 0 58px;
}

.page-home .closing__inner {
  display: grid;
  gap: 26px;
}

.page-home .closing__title {
  margin: 12px 0 0;
  font-size: clamp(25px, 5.4vw, 44px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.015em;
}

.page-home .closing__text {
  max-width: 54ch;
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.7);
}

.page-home .closing__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.page-home .closing .fx-btn--ghost {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--fx-white);
}

.page-home .closing__link {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--fx-orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 26, 0.5);
  padding-bottom: 2px;
}

.page-home .closing__link:hover {
  color: var(--fx-white);
  border-bottom-color: var(--fx-white);
}

/* ---------- 平板 ---------- */
@media (min-width: 640px) {
  .page-home .hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .zones__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .teams__flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .paths__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 900px) {
  .page-home {
    --home-num-track: 72px;
  }

  .page-home .hero {
    padding: calc(var(--fx-header-h) + 62px) 0 88px;
  }

  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    align-items: center;
    gap: 56px;
  }

  .page-home .hero__lede {
    font-size: 16px;
  }

  .page-home .hero__visual {
    padding-top: 0;
  }

  .page-home .hero__round {
    top: -22px;
    left: -18px;
  }

  .page-home .timeline,
  .page-home .zones,
  .page-home .device,
  .page-home .paths,
  .page-home .teams {
    padding-top: 88px;
    padding-bottom: 82px;
  }

  .page-home .sec-head {
    margin-bottom: 44px;
  }

  .page-home .sec-head__lede {
    font-size: 16px;
  }

  .page-home .timeline__layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 54px;
    align-items: start;
  }

  .page-home .timeline__item {
    gap: 22px;
    padding-bottom: 36px;
  }

  .page-home .timeline__num {
    font-size: 28px;
  }

  .page-home .timeline__title {
    font-size: 20px;
  }

  .page-home .timeline__text {
    font-size: 15px;
  }

  .page-home .zones__layout {
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
    gap: 34px;
    align-items: start;
  }

  .page-home .zones__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .zone {
    padding: 20px 18px 22px;
  }

  .page-home .device__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 46px;
    align-items: start;
  }

  .page-home .teams__flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .page-home .closing {
    padding: 84px 0 92px;
  }

  .page-home .closing__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 40px;
  }

  .page-home .closing__actions {
    justify-content: flex-end;
  }

  .page-home .paths__col {
    padding: 24px 22px 26px;
  }
}

/* ---------- 章节索引轨（超宽屏） ---------- */
@media (min-width: 1360px) {
  .page-home .rail {
    position: fixed;
    right: 16px;
    top: 50%;
    z-index: 20;
    display: block;
    transform: translateY(-50%);
  }

  .page-home .rail__list {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .page-home .rail__list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-left: 1px solid var(--fx-line);
    background: rgba(246, 239, 230, 0.76);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--fx-warm-deep);
    text-decoration: none;
    transition: color 200ms ease, border-color 200ms ease;
  }

  .page-home .rail__list a span {
    font-family: var(--fx-font-num);
    font-size: 9px;
    opacity: 0.65;
  }

  .page-home .rail__list a:hover,
  .page-home .rail__list a[aria-current] {
    border-left-color: var(--fx-orange);
    color: var(--fx-ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .fx-js .zone.is-in .zone__bar-fill {
    transition: none;
  }
}

.page-home {
  --w: 1rem;
}
