.page-home {
  --hp-line: rgba(242, 240, 236, .12);
  --hp-panel: #131519;
  --hp-panel-soft: #101216;
  --hp-glow-lava: rgba(255, 90, 31, .22);
  --hp-glow-ice: rgba(79, 195, 247, .18);
  display: block;
  color: var(--fh-bone);
  font-family: var(--fh-sans);
  overflow-x: clip;
}

.page-home h1,
.page-home h2,
.page-home h3,
.page-home p,
.page-home ul,
.page-home ol,
.page-home dl,
.page-home dd,
.page-home figure {
  margin: 0;
}

.page-home ul,
.page-home ol {
  padding: 0;
  list-style: none;
}

.page-home .hp-crumb {
  padding-block: 16px 2px;
}

/* ============ 通用小节头 ============ */
.page-home .hp-sec-head {
  max-width: 62ch;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.page-home .hp-sec-head .fh-h2 {
  margin-block: 10px 12px;
}

.page-home .hp-sec-sub {
  color: var(--fh-mist);
  font-size: 15.5px;
  line-height: 1.75;
}

/* ============ 首屏 Bento ============ */
.page-home .hp-hero {
  position: relative;
  padding-block: clamp(14px, 2.4vw, 28px) clamp(44px, 6vw, 80px);
}

.page-home .hp-hero::before {
  content: "";
  position: absolute;
  inset: -14% -18% auto -18%;
  height: 72%;
  background:
    radial-gradient(58% 62% at 28% 0%, var(--hp-glow-lava), transparent 70%),
    radial-gradient(52% 56% at 88% 8%, var(--hp-glow-ice), transparent 74%);
  pointer-events: none;
  z-index: 0;
}

.page-home .hp-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-home .hp-hero__main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--hp-line);
  border-radius: calc(var(--fh-radius) + 4px);
  background: var(--hp-panel-soft);
  padding: clamp(24px, 4.4vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
}

.page-home .hp-hero__main::after {
  content: "";
  position: absolute;
  top: -12%;
  bottom: -12%;
  right: -4%;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--fh-lava) 42%, transparent);
  transform: rotate(6deg);
  opacity: .8;
  z-index: 3;
  pointer-events: none;
}

.page-home .hp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
}

.page-home .hp-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(104deg, rgba(11, 12, 14, .95) 0%, rgba(11, 12, 14, .74) 48%, rgba(27, 58, 92, .42) 100%),
    linear-gradient(0deg, rgba(255, 90, 31, .16), transparent 60%);
}

.page-home .hp-hero__body {
  position: relative;
  z-index: 2;
}

.page-home .hp-hero__body .fh-h1 {
  margin-block: 12px 16px;
}

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

.page-home .hp-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--hp-line);
}

.page-home .hp-hero__facts dt {
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--fh-dim);
}

.page-home .hp-hero__facts dd {
  font-size: 19px;
  font-weight: 700;
  color: var(--fh-bone);
  margin-top: 4px;
}

.page-home .hp-hero__facts dd.fh-mono {
  color: var(--fh-ice);
}

/* 右侧竖排刻度尺 */
.page-home .hp-rail {
  border: 1px solid var(--hp-line);
  border-radius: calc(var(--fh-radius) + 4px);
  background:
    linear-gradient(180deg, var(--hp-glow-ice), transparent 34%),
    var(--fh-ink-2);
  padding: 24px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-home .hp-rail__line {
  border-left: 1px solid var(--hp-line);
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.page-home .hp-rail__line li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13.5px;
  color: var(--fh-dim);
}

.page-home .hp-rail__line li::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--hp-line);
  transform: translateY(-50%);
}

.page-home .hp-rail__line li.is-done {
  color: var(--fh-mist);
}

.page-home .hp-rail__line li.is-done::before {
  background: var(--fh-ice);
}

.page-home .hp-rail__line li.is-now {
  color: var(--fh-bone);
  font-weight: 600;
}

.page-home .hp-rail__line li.is-now::before {
  width: 13px;
  height: 2px;
  background: var(--fh-lava);
}

.page-home .hp-rail__code {
  color: var(--fh-gold);
  font-size: 12.5px;
  min-width: 26px;
}

.page-home .hp-rail__pulse {
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--fh-amber);
  box-shadow: 0 0 0 0 rgba(255, 176, 32, .55);
  animation: hp-pulse 4s ease-out infinite;
}

@keyframes hp-pulse {
  0%, 60%, 100% { box-shadow: 0 0 0 0 rgba(255, 176, 32, .5); }
  20% { box-shadow: 0 0 0 8px rgba(255, 176, 32, 0); }
}

.page-home .hp-rail__beat {
  display: grid;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px dashed var(--hp-line);
}

.page-home .hp-rail__beat li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--fh-mist);
}

.page-home .hp-rail__beat .fh-mono {
  color: var(--fh-ice);
}

.page-home .hp-rail__jump {
  display: grid;
  gap: 6px;
}

.page-home .hp-rail__jump-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--hp-line);
  border-radius: var(--fh-radius-sm);
  color: var(--fh-bone);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: border-color .3s var(--fh-ease), background .3s var(--fh-ease), transform .3s var(--fh-ease);
}

.page-home .hp-rail__jump-link:hover,
.page-home .hp-rail__jump-link:focus-visible {
  border-color: rgba(255, 90, 31, .6);
  background: rgba(255, 90, 31, .1);
  transform: translateX(3px);
}

.page-home .hp-rail__idx {
  font-size: 11.5px;
  color: var(--fh-lava);
}

/* ============ 全宽横条 ============ */
.page-home .hp-band {
  margin-block: clamp(30px, 4.4vw, 60px);
}

.page-home .hp-band__title {
  font-family: var(--fh-serif);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: .01em;
  margin-bottom: 16px;
  color: var(--fh-bone);
}

.page-home .hp-band__fig {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--hp-line);
}

.page-home .hp-band__fig img {
  display: block;
  width: 100%;
  height: clamp(190px, 33vw, 400px);
  object-fit: cover;
  filter: saturate(.85) brightness(.78);
}

.page-home .hp-band__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  padding: 22px clamp(20px, 4vw, 46px);
  background: linear-gradient(0deg, rgba(11, 12, 14, .94), transparent);
  font-size: 14px;
  color: var(--fh-mist);
}

.page-home .hp-band__cap .fh-mono {
  color: var(--fh-lava);
  letter-spacing: .1em;
  font-size: 12px;
}

/* ============ 四块数据面板 ============ */
.page-home .hp-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .hp-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
  border: 1px solid var(--hp-line);
  border-radius: var(--fh-radius);
  background: var(--fh-ink-2);
  overflow: hidden;
  transition: border-color .35s var(--fh-ease), transform .35s var(--fh-ease), background .35s var(--fh-ease);
}

.page-home .hp-tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--fh-lava), var(--fh-amber) 45%, transparent);
  opacity: .85;
}

.page-home .hp-tile:hover,
.page-home .hp-tile:focus-within {
  border-color: var(--fh-line-strong);
  background: #17191f;
  transform: translateY(-3px);
}

.page-home .hp-tile--offside {
  background:
    linear-gradient(170deg, var(--hp-glow-ice), transparent 46%),
    var(--fh-ink-2);
}

.page-home .hp-tile--offside::before {
  background: linear-gradient(90deg, var(--fh-ice), var(--fh-ice-deep) 55%, transparent);
}

.page-home .hp-tile--scorer::before {
  background: linear-gradient(90deg, var(--fh-gold), var(--fh-amber) 50%, transparent);
}

.page-home .hp-tile--bracket {
  background:
    linear-gradient(100deg, rgba(255, 90, 31, .12), transparent 52%),
    var(--fh-ink-2);
}

.page-home .hp-tile__tag {
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--fh-dim);
  text-transform: uppercase;
}

.page-home .hp-tile__desc {
  font-size: 15px;
  line-height: 1.78;
  color: var(--fh-mist);
  max-width: 46ch;
}

.page-home .hp-tile__figure {
  margin-top: 2px;
}

.page-home .hp-tile__chain {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.page-home .hp-tile__chain li {
  position: relative;
  padding: 6px 12px;
  border: 1px solid var(--hp-line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--fh-bone);
  background: rgba(11, 12, 14, .55);
}

.page-home .hp-tile__chain li:last-child {
  border-color: rgba(255, 90, 31, .55);
  color: var(--fh-amber);
}

.page-home .hp-tile__hint {
  font-size: 13px;
  line-height: 1.7;
  color: var(--fh-ice);
  border-left: 2px solid rgba(79, 195, 247, .5);
  padding-left: 10px;
}

.page-home .hp-tile__link {
  margin-top: auto;
  padding-top: 10px;
  align-self: flex-start;
  color: var(--fh-bone);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 90, 31, .7);
  padding-bottom: 3px;
  transition: color .3s var(--fh-ease), border-color .3s var(--fh-ease);
}

.page-home .hp-tile__link:hover,
.page-home .hp-tile__link:focus-visible {
  color: var(--fh-lava);
  border-color: var(--fh-lava);
}

/* ============ 双档形势 ============ */
.page-home .hp-tier__switch {
  position: relative;
  border: 1px solid var(--hp-line);
  border-radius: calc(var(--fh-radius) + 4px);
  background:
    linear-gradient(125deg, var(--hp-glow-ice), transparent 40%),
    linear-gradient(315deg, var(--hp-glow-lava), transparent 44%),
    var(--fh-ink-3);
  padding: clamp(20px, 3vw, 34px);
  overflow: hidden;
}

.page-home .hp-tier__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .hp-tier__tabs {
  position: relative;
  z-index: 2;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--hp-line);
  border-radius: 999px;
  background: rgba(11, 12, 14, .72);
  margin-bottom: 24px;
}

.page-home .hp-tier__tab {
  cursor: pointer;
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--fh-mist);
  transition: color .3s var(--fh-ease), background .3s var(--fh-ease);
}

.page-home .hp-tier__radio:first-of-type:checked ~ .hp-tier__tabs > .hp-tier__tab:first-child,
.page-home .hp-tier__radio:last-of-type:checked ~ .hp-tier__tabs > .hp-tier__tab:last-child {
  color: #14100C;
  background: linear-gradient(120deg, var(--fh-lava), var(--fh-amber));
}

.page-home .hp-tier__radio:focus-visible ~ .hp-tier__tabs > .hp-tier__tab {
  outline: 1px dashed var(--fh-ice);
  outline-offset: 3px;
}

.page-home .hp-tier__panel {
  display: none;
  position: relative;
  z-index: 2;
}

.page-home .hp-tier__radio:first-of-type:checked ~ .hp-tier__panels > .hp-tier__panel:first-child,
.page-home .hp-tier__radio:last-of-type:checked ~ .hp-tier__panels > .hp-tier__panel:last-child {
  display: block;
}

.page-home .hp-tier__lead {
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--fh-bone);
}

.page-home .hp-tier__points {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.page-home .hp-tier__points li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--fh-mist);
}

.page-home .hp-tier__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 8px;
  height: 8px;
  border: 1px solid var(--fh-lava);
  transform: rotate(45deg);
}

.page-home .hp-tier__band {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 3px;
  margin-top: 28px;
  border-radius: 999px;
  overflow: hidden;
  height: 42px;
}

.page-home .hp-tier__seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
}

.page-home .hp-tier__seg--up {
  flex: 1 1 50%;
  color: #14100C;
  background: linear-gradient(100deg, var(--fh-amber), var(--fh-lava));
}

.page-home .hp-tier__seg--down {
  flex: 1 1 50%;
  color: var(--fh-bone);
  background: linear-gradient(100deg, var(--fh-ice-deep), var(--fh-ink-2));
  border: 1px solid rgba(79, 195, 247, .4);
  border-radius: 999px;
}

/* ============ 十年时间线 ============ */
.page-home .hp-history__line {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  position: relative;
}

.page-home .hp-history__item {
  position: relative;
  padding-left: 22px;
  border-left: 1px solid var(--hp-line);
}

.page-home .hp-history__item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--fh-ink);
  border: 2px solid var(--fh-ice);
}

.page-home .hp-history__item:last-child::before {
  border-color: var(--fh-lava);
  background: var(--fh-lava);
}

.page-home .hp-history__year {
  display: block;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--fh-gold);
  margin-bottom: 8px;
}

.page-home .hp-history__title {
  font-family: var(--fh-sans);
  font-weight: 900;
  font-size: 17px;
  transform: skewX(-4deg);
  display: inline-block;
  margin-bottom: 8px;
  color: var(--fh-bone);
}

.page-home .hp-history__item p {
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--fh-mist);
  max-width: 42ch;
}

/* ============ 合作生态 ============ */
.page-home .hp-eco__box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--hp-line);
  border-radius: calc(var(--fh-radius) + 6px);
  padding: clamp(26px, 4vw, 58px);
  display: grid;
  gap: 30px;
}

.page-home .hp-eco__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .38;
}

.page-home .hp-eco__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(98deg, rgba(11, 12, 14, .95) 6%, rgba(11, 12, 14, .74) 56%, rgba(27, 58, 92, .6) 100%);
}

.page-home .hp-eco__body {
  position: relative;
  z-index: 2;
  max-width: 64ch;
}

.page-home .hp-eco__body .fh-h2 {
  margin-block: 10px 14px;
}

.page-home .hp-eco__body p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--fh-mist);
}

.page-home .hp-eco__stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  border-top: 1px solid var(--hp-line);
  padding-top: 24px;
}

.page-home .hp-eco__stats li {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.page-home .hp-eco__num {
  font-size: 30px;
  font-weight: 700;
  color: var(--fh-lava);
  letter-spacing: -.01em;
  min-width: 80px;
}

.page-home .hp-eco__label {
  font-size: 14px;
  color: var(--fh-mist);
}

/* ============ 下一步 ============ */
.page-home .hp-next__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .hp-next__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px 24px;
  border: 1px solid var(--hp-line);
  border-radius: var(--fh-radius);
  background: var(--fh-ink-2);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: border-color .35s var(--fh-ease), transform .35s var(--fh-ease), background .35s var(--fh-ease);
}

.page-home .hp-next__card::after {
  content: "";
  position: absolute;
  right: -30%;
  bottom: -60%;
  width: 70%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(255, 90, 31, .28), transparent);
  opacity: 0;
  transition: opacity .4s var(--fh-ease);
  pointer-events: none;
}

.page-home .hp-next__card:hover,
.page-home .hp-next__card:focus-visible {
  border-color: rgba(255, 90, 31, .55);
  background: #17191f;
  transform: translateY(-4px);
}

.page-home .hp-next__card:hover::after,
.page-home .hp-next__card:focus-visible::after {
  opacity: 1;
}

.page-home .hp-next__idx {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--fh-ice);
}

.page-home .hp-next__card p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--fh-mist);
}

.page-home .hp-next__go {
  margin-top: auto;
  padding-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--fh-amber);
  border-top: 1px solid var(--hp-line);
}

.page-home .hp-next__foot {
  margin-top: 26px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--fh-dim);
}

.page-home .hp-next__foot a {
  color: var(--fh-ice);
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 195, 247, .45);
}

.page-home .hp-next__foot a:hover,
.page-home .hp-next__foot a:focus-visible {
  color: var(--fh-bone);
}

/* ============ 图片通用 ============ */
.page-home img {
  max-width: 100%;
  height: auto;
}

/* ============ 窄屏收敛 ============ */
@media (max-width: 479px) {
  .page-home .hp-hero__main {
    min-height: 360px;
    padding: 22px 18px 24px;
  }

  .page-home .hp-hero__facts {
    gap: 10px 22px;
  }

  .page-home .hp-hero__facts dd {
    font-size: 17px;
  }

  .page-home .hp-tile,
  .page-home .hp-next__card {
    padding: 20px 18px;
  }

  .page-home .hp-eco__num {
    font-size: 25px;
    min-width: 66px;
  }

  .page-home .hp-tier__tab {
    padding: 8px 16px;
    font-size: 13.5px;
  }
}

/* ============ 悬停展开一行结论 ============ */
@media (hover: hover) and (min-width: 760px) {
  .page-home .hp-tile__hint {
    max-height: 0;
    opacity: 0;
    padding-block: 0;
    overflow: hidden;
    transition: max-height .4s var(--fh-ease), opacity .35s var(--fh-ease), padding .4s var(--fh-ease);
  }

  .page-home .hp-tile:hover .hp-tile__hint,
  .page-home .hp-tile:focus-within .hp-tile__hint {
    max-height: 90px;
    opacity: 1;
    padding-block: 2px;
  }
}

/* ============ 桌面栅格 ============ */
@media (min-width: 760px) {
  .page-home .hp-bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(140px, auto);
    gap: 20px;
  }

  .page-home .hp-tile--transfer {
    grid-column: span 4;
    grid-row: span 2;
  }

  .page-home .hp-tile--offside {
    grid-column: span 2;
    grid-row: span 1;
  }

  .page-home .hp-tile--scorer {
    grid-column: span 2;
    grid-row: span 1;
  }

  .page-home .hp-tile--bracket {
    grid-column: span 6;
    grid-row: span 1;
  }

  .page-home .hp-tile--bracket {
    padding-right: clamp(24px, 22vw, 300px);
  }

  .page-home .hp-eco__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .page-home .hp-eco__stats li {
    flex-direction: column;
    gap: 6px;
  }

  .page-home .hp-next__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (min-width: 900px) {
  .page-home .hp-hero__grid {
    grid-template-columns: minmax(0, 7.4fr) minmax(0, 4.6fr);
    gap: 22px;
  }

  .page-home .hp-hero__grid {
    align-items: stretch;
  }

  .page-home .hp-hero__main {
    min-height: 540px;
  }

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

  .page-home .hp-history__line::before {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    top: 5px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--fh-ice), var(--fh-lava) 62%, var(--fh-gold));
    opacity: .6;
  }

  .page-home .hp-history__item {
    padding-left: 0;
    padding-top: 26px;
    border-left: 0;
  }

  .page-home .hp-history__item::before {
    left: 0;
    top: 0;
    width: 11px;
    height: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hp-rail__pulse {
    animation: none;
  }

  .page-home .hp-tile,
  .page-home .hp-next__card,
  .page-home .hp-rail__jump-link {
    transition: none;
  }
}
