.page-home {
  --home-cover-pad: clamp(22px, 3vw, 40px);
  background: var(--yx-paper);
}

.page-home .home-crumbs {
  padding: 14px 0 0;
}

.page-home .home-h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.7rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--yx-ink);
  margin: 0 0 10px;
}

.page-home .home-hot {
  color: var(--yx-orange);
  font-weight: 800;
}

/* ============ 首屏封面 ============ */
.page-home .home-cover {
  position: relative;
  overflow: hidden;
  background: var(--yx-ink);
  color: var(--yx-paper);
  padding: clamp(26px, 4vw, 54px) 0 clamp(38px, 5vw, 76px);
}

.page-home .home-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 4% 0%, var(--yx-cyan-16), transparent 58%),
    radial-gradient(90% 80% at 98% 6%, var(--yx-orange-14), transparent 62%),
    linear-gradient(118deg, transparent 47.6%, rgba(47, 224, 200, .05) 48.4%, transparent 49.4%),
    linear-gradient(32deg, transparent 47.6%, rgba(199, 208, 218, .045) 48.4%, transparent 49.4%);
}

.page-home .home-cover__grid {
  position: relative;
  display: grid;
  gap: clamp(22px, 3vw, 38px);
  grid-template-columns: 1fr;
}

.page-home .home-cover__lead {
  position: relative;
  overflow: hidden;
  border-radius: var(--yx-r-lg);
  border: 1px solid rgba(47, 224, 200, .22);
  background: linear-gradient(180deg, rgba(18, 58, 102, .62), rgba(10, 22, 34, .9));
  padding: var(--home-cover-pad);
}

.page-home .home-cover__scene {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: .26;
}

.page-home .home-cover__scene-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 60%;
  display: block;
}

.page-home .home-cover__copy {
  position: relative;
  z-index: 1;
}

.page-home .home-cover__eyebrow {
  color: var(--yx-cyan);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-home .home-cover__title {
  font-size: clamp(2.15rem, 4.6vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--yx-white);
  margin: 12px 0 14px;
  max-width: 12em;
}

.page-home .home-cover__lede {
  font-size: clamp(0.96rem, 1.05vw, 1.06rem);
  line-height: 1.78;
  color: rgba(245, 248, 251, .82);
  margin: 0;
  max-width: 34em;
}

.page-home .home-cover__actions {
  margin: 20px 0 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .home-cover__actions .yx-btn {
  flex: 0 1 auto;
}

/* 竖向航标导航 */
.page-home .home-beacon {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(199, 208, 218, .2);
}

.page-home .home-beacon__title {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--yx-silver);
}

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

.page-home .home-beacon__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px 9px 14px;
  border-radius: var(--yx-r-sm);
  color: rgba(245, 248, 251, .72);
  font-size: 0.95rem;
  text-decoration: none;
  transition: background .2s var(--yx-ease), color .2s var(--yx-ease);
}

.page-home .home-beacon__bar {
  width: 3px;
  height: 16px;
  border-radius: var(--yx-pill);
  background: rgba(199, 208, 218, .35);
  transition: background .2s var(--yx-ease), height .2s var(--yx-ease);
}

.page-home .home-beacon__item:hover,
.page-home .home-beacon__item:focus-visible {
  background: rgba(47, 224, 200, .1);
  color: var(--yx-white);
}

.page-home .home-beacon__item.is-active {
  background: rgba(47, 224, 200, .13);
  color: var(--yx-white);
}

.page-home .home-beacon__item.is-active .home-beacon__bar {
  background: var(--yx-cyan);
  height: 22px;
}

/* 首屏右栏 */
.page-home .home-cover__board {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-home .home-board__figure {
  margin: 0;
  height: clamp(110px, 15vw, 158px);
  border-radius: var(--yx-r-md);
  overflow: hidden;
  border: 1px solid rgba(199, 208, 218, .18);
}

.page-home .home-board__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .home-ticker {
  border-radius: var(--yx-r-md);
  border: 1px solid rgba(199, 208, 218, .2);
  background: var(--yx-night);
  padding: 14px 0;
  overflow: hidden;
}

.page-home .home-ticker__team {
  color: rgba(245, 248, 251, .82);
}

.page-home .home-ticker__score {
  display: inline-flex;
  gap: 4px;
  align-items: baseline;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--yx-white);
  margin: 0 8px;
}

.page-home .home-moves__wrap {
  border-radius: var(--yx-r-md);
  border: 1px solid rgba(199, 208, 218, .18);
  background: rgba(18, 58, 102, .5);
  padding: 16px 18px 12px;
}

.page-home .home-moves__head {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--yx-cyan);
}

.page-home .home-moves {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-moves__row {
  display: grid;
  grid-template-columns: 3.2ch 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(199, 208, 218, .14);
}

.page-home .home-moves__row:last-child {
  border-bottom: 0;
}

.page-home .home-moves__rank {
  color: var(--yx-cyan);
  font-weight: 700;
  font-size: 0.95rem;
}

.page-home .home-moves__name {
  color: var(--yx-white);
  font-size: 0.98rem;
}

.page-home .home-moves__delta {
  font-size: 0.85rem;
  color: var(--yx-slate);
  font-variant-numeric: tabular-nums;
}

.page-home .home-moves__delta--up {
  color: var(--yx-orange);
}

.page-home .home-moves__delta--down {
  color: var(--yx-silver);
}

/* ============ 两条主路径 ============ */
.page-home .home-split__head {
  max-width: 44em;
}

.page-home .home-split__grid {
  margin-top: clamp(20px, 3vw, 34px);
}

.page-home .home-split__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(20px, 2.4vw, 30px);
  border-radius: var(--yx-r-lg);
  border: 1px solid var(--yx-ink-06);
  background: var(--yx-white);
  transition: transform .25s var(--yx-ease), box-shadow .25s var(--yx-ease);
}

.page-home .home-split__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--yx-shadow-2);
}

.page-home .home-split__card--rank {
  background: linear-gradient(160deg, var(--yx-white), #EEF3F9 90%);
}

.page-home .home-split__card .yx-card__title {
  font-size: clamp(1.22rem, 1.9vw, 1.6rem);
  letter-spacing: -0.01em;
}

.page-home .home-split__card .yx-card__text {
  max-width: 32em;
}

.page-home .home-split__card .yx-btn {
  align-self: flex-start;
  margin-top: 6px;
}

/* ============ 追比分分区看板 ============ */
.page-home .home-zones__head {
  max-width: 44em;
}

.page-home .home-zones__body {
  margin-top: clamp(20px, 3vw, 34px);
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  grid-template-columns: 1fr;
}

.page-home .yx-panel {
  display: none;
}

.page-home .yx-panel.is-active {
  display: block;
}

.page-home .home-zones__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.page-home .home-fixtures {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-fixtures__row {
  display: grid;
  grid-template-columns: 4.6ch minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 8px;
  border-radius: var(--yx-r-sm);
  border: 1px solid var(--yx-ink-06);
  background: var(--yx-white);
  transition: border-color .2s var(--yx-ease), transform .2s var(--yx-ease);
}

.page-home .home-fixtures__row:hover {
  border-color: var(--yx-cyan);
  transform: translateX(3px);
}

.page-home .home-fixtures__time {
  color: var(--yx-slate);
  font-size: 0.9rem;
}

.page-home .home-fixtures__pair {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.page-home .home-fixtures__team {
  color: var(--yx-ink);
  font-weight: 600;
  font-size: 0.98rem;
}

.page-home .home-fixtures__vs {
  color: var(--yx-silver);
  font-size: 0.8rem;
}

.page-home .home-fixtures__score {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--yx-blue);
  white-space: nowrap;
}

.page-home .home-zones__note {
  margin: 16px 0 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--yx-slate);
  max-width: 40em;
}

.page-home .home-zones__figure {
  margin: 0;
  border-radius: var(--yx-r-lg);
  overflow: hidden;
}

.page-home .home-zones__figure .yx-media__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ============ 斜切过渡带 ============ */
.page-home .home-band {
  position: relative;
}

.page-home .home-band__inner {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  align-items: center;
}

.page-home .home-band__figure {
  margin: 0;
  border-radius: var(--yx-r-md);
  overflow: hidden;
}

.page-home .home-band__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-home .home-band__num {
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  font-weight: 800;
  color: var(--yx-cyan);
  letter-spacing: .02em;
  margin: 0 0 8px;
}

.page-home .home-band__text {
  margin: 0;
  color: var(--yx-paper);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 34em;
}

/* ============ 会员中心闭环 ============ */
.page-home .home-member__head {
  max-width: 44em;
}

.page-home .home-member__grid {
  margin-top: clamp(20px, 3vw, 34px);
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  grid-template-columns: 1fr;
}

.page-home .home-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: home-step;
}

.page-home .home-steps__item {
  position: relative;
  padding: 20px 22px 20px 74px;
  border-radius: var(--yx-r-md);
  border: 1px solid var(--yx-ink-06);
  background: var(--yx-white);
}

.page-home .home-steps__num {
  position: absolute;
  left: 20px;
  top: 20px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--yx-orange);
}

.page-home .home-steps__title {
  margin: 0 0 6px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--yx-ink);
}

.page-home .home-steps__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--yx-slate);
}

.page-home .home-member__aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .home-member__card {
  border-radius: var(--yx-r-lg);
  padding: 24px 26px;
}

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

.page-home .home-member__list li {
  position: relative;
  padding-left: 18px;
  color: var(--yx-paper);
  font-size: 0.95rem;
  line-height: 1.6;
}

.page-home .home-member__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: var(--yx-pill);
  background: var(--yx-cyan);
}

.page-home .home-member__loop {
  border-radius: var(--yx-r-lg);
  border: 1px solid var(--yx-ink-12);
  background: linear-gradient(150deg, #EAF2FA, var(--yx-white));
  padding: 24px 26px;
}

.page-home .home-member__loop-title {
  margin: 0 0 8px;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--yx-blue);
}

.page-home .home-member__loop-text {
  margin: 0 0 16px;
  font-size: 0.93rem;
  line-height: 1.76;
  color: var(--yx-slate);
}

.page-home .home-member__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============ 版本对照 ============ */
.page-home .home-versions__head {
  max-width: 44em;
}

.page-home .home-versions__switch {
  margin-top: clamp(18px, 2.6vw, 30px);
}

.page-home .home-versions__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.page-home .home-versions__panel {
  border-radius: var(--yx-r-lg);
  border: 1px solid var(--yx-ink-06);
  background: var(--yx-white);
  padding: clamp(18px, 2.4vw, 28px);
}

.page-home .home-compare {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-compare__row {
  display: grid;
  gap: 4px;
  padding: 15px 0;
  border-bottom: 1px solid var(--yx-ink-06);
}

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

.page-home .home-compare__key {
  font-size: 0.8rem;
  letter-spacing: .12em;
  color: var(--yx-slate);
}

.page-home .home-compare__val {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--yx-ink);
  font-weight: 600;
}

.page-home .home-compare--prev .home-compare__val {
  color: var(--yx-slate);
  font-weight: 500;
}

/* ============ 编辑部入口索引 ============ */
.page-home .home-index__head {
  max-width: 44em;
}

.page-home .home-index__list {
  list-style: none;
  margin: clamp(16px, 2.4vw, 28px) 0 0;
  padding: 0;
  border-top: 1px solid var(--yx-ink-12);
}

.page-home .home-index__list .yx-index__row {
  border-bottom: 1px solid var(--yx-ink-12);
}

.page-home .home-index__link {
  display: grid;
  grid-template-columns: 3.2ch minmax(0, 1fr);
  grid-template-areas: "num label" ". meta";
  align-items: baseline;
  gap: 4px 14px;
  padding: 16px 4px;
  text-decoration: none;
  transition: padding .22s var(--yx-ease), background .22s var(--yx-ease);
}

.page-home .home-index__link .yx-index__num {
  grid-area: num;
  color: var(--yx-cyan);
  font-weight: 700;
  font-size: 0.95rem;
}

.page-home .home-index__link .yx-index__label {
  grid-area: label;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--yx-ink);
}

.page-home .home-index__link .yx-index__meta {
  grid-area: meta;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--yx-slate);
}

.page-home .home-index__link:hover,
.page-home .home-index__link:focus-visible {
  background: rgba(47, 224, 200, .08);
  padding-left: 12px;
}

.page-home .home-index__link:hover .yx-index__label {
  color: var(--yx-blue);
}

/* ============ 自适应 ============ */
@media (min-width: 700px) {
  .page-home .home-band__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 30px;
  }

  .page-home .home-compare__row {
    grid-template-columns: 8.5em minmax(0, 1fr);
    gap: 20px;
    align-items: baseline;
  }

  .page-home .home-member__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 900px) {
  .page-home .home-cover__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: start;
  }

  .page-home .home-zones__body {
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .home-zones__figure {
    position: sticky;
    top: 110px;
  }
}

@media (min-width: 1120px) {
  .page-home .home-member__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }

  .page-home .home-index__link {
    grid-template-columns: 4ch 12em minmax(0, 1fr);
    grid-template-areas: "num label meta";
    gap: 20px;
  }
}

@media (max-width: 560px) {
  .page-home .home-cover__title {
    max-width: none;
  }

  .page-home .home-cover__actions .yx-btn {
    flex: 1 1 100%;
    text-align: center;
  }

  .page-home .home-fixtures__row {
    grid-template-columns: 4.6ch minmax(0, 1fr) auto;
    gap: 8px;
    padding: 12px 12px;
  }

  .page-home .home-fixtures__team {
    font-size: 0.92rem;
  }

  .page-home .home-steps__item {
    padding: 18px 18px 18px 60px;
  }

  .page-home .home-steps__num {
    left: 16px;
    top: 18px;
  }

  .page-home .home-member__card,
  .page-home .home-member__loop {
    padding: 20px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-split__card,
  .page-home .home-fixtures__row,
  .page-home .home-index__link,
  .page-home .home-beacon__item,
  .page-home .home-beacon__bar {
    transition: none;
  }

  .page-home .home-split__card:hover,
  .page-home .home-fixtures__row:hover {
    transform: none;
  }
}
