.page-home {
  --home-cut: 30px;
  --home-cut-sm: 14px;
  --home-gap: clamp(20px, 3.4vw, 44px);
  --home-section-y: clamp(56px, 8vw, 112px);
  --home-head-w: 34em;
  display: block;
}

/* ---------- 顶部上下文 ---------- */
.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 20px;
  padding-top: clamp(18px, 3vw, 32px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-blue);
}
.page-home .home-context .eyebrow {
  margin: 0;
}
.page-home .home-context__note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--warm);
  letter-spacing: .02em;
}

/* ---------- 首屏拼贴 ---------- */
.page-home .home-hero {
  position: relative;
  padding-top: clamp(20px, 3.4vw, 40px);
  padding-bottom: clamp(26px, 4.4vw, 52px);
  overflow: hidden;
}
.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(102deg, rgba(217, 228, 238, .5) 0 1px, transparent 1px 52px);
  opacity: .6;
  pointer-events: none;
}
.page-home .home-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
}

.page-home .home-hero__main {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(400px, 62vw, 600px);
  background: var(--navy);
  color: var(--paper);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
}
.page-home .home-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.page-home .home-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .34;
}
.page-home .home-hero__main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 23, 38, .18) 0%, rgba(6, 23, 38, .84) 66%, rgba(6, 23, 38, .96) 100%);
}
.page-home .home-hero__inner {
  position: relative;
  padding: clamp(24px, 4.6vw, 56px);
  max-width: 36em;
}
.page-home .home-hero h1 {
  margin: 0 0 .46em;
  font-size: clamp(29px, 5.4vw, 60px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -.012em;
  color: var(--paper);
}
.page-home .home-hero__lede {
  margin: 0 0 1.7em;
  font-size: clamp(15px, 1.5vw, 17.5px);
  line-height: 1.8;
  color: rgba(246, 241, 230, .86);
  max-width: 32em;
}
.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-hero__status {
  padding: clamp(20px, 3vw, 30px);
  background: var(--deep);
  color: var(--paper);
  border-left: 3px solid var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut-sm)), calc(100% - var(--home-cut-sm)) 100%, 0 100%);
}
.page-home .home-hero__pulse {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 12.5px;
  letter-spacing: .18em;
  color: var(--lime);
}
.page-home .home-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  animation: home-pulse 2.4s var(--ease) infinite;
}
@keyframes home-pulse {
  0% { box-shadow: 0 0 0 0 rgba(198, 255, 74, .55); }
  70% { box-shadow: 0 0 0 12px rgba(198, 255, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 255, 74, 0); }
}
.page-home .home-hero__statusline {
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(246, 241, 230, .78);
}
.page-home .home-inline-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.15em;
  color: var(--orange);
}
.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
  gap: 12px;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(217, 228, 238, .22);
}
.page-home .home-hero__stats dt {
  margin-bottom: 6px;
  font-size: 11.5px;
  letter-spacing: .14em;
  color: rgba(246, 241, 230, .58);
}
.page-home .home-hero__stats dd {
  margin: 0;
  font-size: 13.5px;
  color: rgba(246, 241, 230, .9);
}
.page-home .home-stat-num {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.15;
  color: var(--orange);
}

.page-home .home-hero__strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line-blue);
  border-bottom: 1px solid var(--line-blue);
  overflow-x: auto;
  scrollbar-width: none;
}
.page-home .home-hero__strip::-webkit-scrollbar {
  display: none;
}
.page-home .home-hero__strip-label {
  flex: 0 0 auto;
  font-size: 11.5px;
  letter-spacing: .3em;
  color: var(--warm);
  white-space: nowrap;
}
.page-home .home-hero__strip-list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .home-hero__strip-list li {
  flex: 0 0 auto;
  padding: 6px 13px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--navy);
  border: 1px solid var(--line-blue);
  background: rgba(255, 255, 255, .5);
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
}

/* ---------- 章节骨架 ---------- */
.page-home .home-section {
  position: relative;
  padding-block: var(--home-section-y);
}
.page-home .home-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
}
.page-home .home-section__head .section-index {
  display: block;
  margin: 0 0 clamp(8px, 1.4vw, 18px);
  font-family: var(--font-mono);
  font-size: clamp(38px, 7vw, 82px);
  line-height: .88;
  letter-spacing: -.03em;
  color: var(--orange);
}
.page-home .home-section h2 {
  margin: 0 0 14px;
  font-size: clamp(25px, 3.5vw, 44px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
}
.page-home .home-section__lede {
  margin: 0;
  max-width: var(--home-head-w);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.85;
  color: var(--warm);
}
.page-home .home-section__body {
  min-width: 0;
}
.page-home .home-section__head--wide {
  max-width: 52em;
  margin-bottom: clamp(26px, 4vw, 46px);
}

/* ---------- 01 赛事 ---------- */
.page-home .home-leagues__figure {
  margin: 0 0 clamp(20px, 3vw, 30px);
  background: var(--navy);
  border: 1px solid var(--line-blue);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}
.page-home .home-leagues__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-home .home-leagues__figure .media__caption {
  display: block;
  padding: 12px 16px;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: rgba(246, 241, 230, .72);
  background: var(--navy);
}
.page-home .home-leagues__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .home-league a {
  display: block;
  height: 100%;
  padding: 17px 18px 18px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--line-blue);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: background .24s var(--ease), border-color .24s var(--ease), transform .24s var(--ease);
}
.page-home .home-league a:hover,
.page-home .home-league a:focus-visible {
  background: var(--orange-pale);
  border-color: var(--orange);
  transform: translateY(-3px);
}
.page-home .home-league__mark {
  display: block;
  width: 26px;
  height: 3px;
  margin-bottom: 13px;
  background: var(--orange);
  transform: skewX(-24deg);
}
.page-home .home-league__name {
  display: block;
  margin-bottom: 6px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .02em;
}
.page-home .home-league__desc {
  display: block;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--warm);
}

/* ---------- 02 时间线 ---------- */
.page-home .home-timeline {
  background: var(--deep);
  color: var(--paper);
}
.page-home .home-timeline h2 {
  color: var(--paper);
}
.page-home .home-timeline .home-section__lede {
  color: rgba(246, 241, 230, .74);
}
.page-home .home-timeline__list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .home-timeline__list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(217, 228, 238, .22);
}
.page-home .home-node {
  position: relative;
  padding: 0 0 30px 30px;
}
.page-home .home-node:last-child {
  padding-bottom: 0;
}
.page-home .home-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--line-blue);
  box-shadow: 0 0 0 4px var(--deep);
}
.page-home .home-node--live::before {
  background: var(--lime);
  animation: home-pulse 2.4s var(--ease) infinite;
}
.page-home .home-node__time {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 7px;
  font-size: 11.5px;
  letter-spacing: .2em;
  color: rgba(246, 241, 230, .5);
}
.page-home .home-node__clock {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--lime);
}
.page-home .home-node__title {
  margin: 0 0 8px;
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 700;
  color: var(--paper);
}
.page-home .home-node__meta {
  margin: 0 0 11px;
  max-width: 32em;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(246, 241, 230, .72);
}
.page-home .home-node__state {
  display: inline-block;
  padding: 3px 11px;
  font-size: 11.5px;
  letter-spacing: .12em;
  border: 1px solid currentColor;
}
.page-home .home-node__state--done {
  color: rgba(246, 241, 230, .48);
}
.page-home .home-node__state--live {
  color: var(--lime);
  background: rgba(198, 255, 74, .1);
}
.page-home .home-node__state--soon {
  color: var(--orange);
}

/* ---------- 03 升降级区间 ---------- */
.page-home .home-zones__bar {
  position: relative;
  display: flex;
  height: 16px;
  margin: 0 0 clamp(22px, 3vw, 32px);
}
.page-home .home-zones__seg {
  height: 100%;
}
.page-home .home-zones__seg--1 { flex: 2; background: var(--orange); }
.page-home .home-zones__seg--2 { flex: 3; background: var(--navy-mid); }
.page-home .home-zones__seg--3 { flex: 6; background: var(--line-blue); }
.page-home .home-zones__seg--4 { flex: 4; background: var(--orange-pale); }
.page-home .home-zones__seg--5 { flex: 2; background: var(--warm); }
.page-home .home-zones__pin {
  position: absolute;
  top: -9px;
  left: 46%;
  width: 2px;
  height: 34px;
  background: var(--lime);
}
.page-home .home-zones__pin::after {
  content: "";
  position: absolute;
  left: -3px;
  top: -5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}
.page-home .home-zones__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .home-zone {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .58);
  border: 1px solid var(--line-blue);
}
.page-home .home-zone__swatch {
  grid-row: 1 / 3;
  width: 12px;
  min-height: 100%;
}
.page-home .home-zone:nth-child(1) .home-zone__swatch { background: var(--orange); }
.page-home .home-zone:nth-child(2) .home-zone__swatch { background: var(--navy-mid); }
.page-home .home-zone:nth-child(3) .home-zone__swatch { background: var(--line-blue); }
.page-home .home-zone:nth-child(4) .home-zone__swatch { background: var(--orange-pale); }
.page-home .home-zone:nth-child(5) .home-zone__swatch { background: var(--warm); }
.page-home .home-zone__name {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink);
}
.page-home .home-zone__desc {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--warm);
}
.page-home .home-zones__figure {
  margin: clamp(22px, 3vw, 32px) 0 0;
  background: var(--paper);
  border: 1px solid var(--line-blue);
}
.page-home .home-zones__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-home .home-zones__figure .media__caption {
  display: block;
  padding: 11px 16px;
  font-size: 12.5px;
  letter-spacing: .05em;
  color: var(--warm);
  border-top: 1px solid var(--line-blue);
}

/* ---------- 04 球队指标 ---------- */
.page-home .home-squad__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .home-metric {
  position: relative;
  padding: 24px 22px 26px;
  background: #FFFFFF;
  border: 1px solid var(--line-blue);
  border-top: 3px solid var(--navy);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.page-home .home-metric:nth-child(2) { border-top-color: var(--navy-mid); }
.page-home .home-metric:nth-child(3) { border-top-color: var(--orange); }
.page-home .home-metric:nth-child(4) { border-top-color: var(--lime); }
.page-home .home-metric__num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--orange);
}
.page-home .home-metric__title {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
}
.page-home .home-metric__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--warm);
}
.page-home .home-squad__note {
  margin: clamp(22px, 3vw, 32px) 0 0;
  padding: 16px 18px;
  max-width: 60em;
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink);
  background: var(--orange-pale);
  border-left: 4px solid var(--orange);
}

/* ---------- 05 多队核对 ---------- */
.page-home .home-compare {
  background: var(--navy);
  color: var(--paper);
}
.page-home .home-compare h2 {
  color: var(--paper);
}
.page-home .home-compare .home-section__lede {
  color: rgba(246, 241, 230, .78);
}
.page-home .home-compare__figure {
  margin: 0 0 clamp(20px, 3vw, 28px);
  background: var(--deep);
  border: 1px solid rgba(217, 228, 238, .24);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}
.page-home .home-compare__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-home .home-compare__figure .media__caption {
  display: block;
  padding: 11px 16px;
  font-size: 12.5px;
  letter-spacing: .05em;
  color: rgba(246, 241, 230, .7);
}
.page-home .home-compare__scenes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .home-scene {
  padding: 22px 20px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(217, 228, 238, .22);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}
.page-home .home-scene__title {
  margin: 0 0 10px;
  font-size: 17.5px;
  font-weight: 800;
  color: var(--lime);
}
.page-home .home-scene__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(246, 241, 230, .82);
}
.page-home .home-compare__note {
  margin: clamp(20px, 3vw, 28px) 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(246, 241, 230, .7);
}

/* ---------- 06 更新节奏 ---------- */
.page-home .home-update__steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .home-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line-blue);
}
.page-home .home-step:last-child {
  border-bottom: 1px solid var(--line-blue);
}
.page-home .home-step__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1;
  color: var(--orange);
}
.page-home .home-step__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}
.page-home .home-step__desc {
  margin: 0;
  max-width: 52em;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--warm);
}
.page-home .home-update__facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: clamp(28px, 4vw, 46px);
}
.page-home .home-fact {
  padding: 22px 20px;
  background: var(--navy);
  color: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.page-home .home-fact__num {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1;
  color: var(--lime);
}
.page-home .home-fact__label {
  display: block;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(246, 241, 230, .8);
}

/* ---------- 07 下一步 ---------- */
.page-home .home-next {
  padding-bottom: clamp(64px, 9vw, 132px);
}
.page-home .home-next__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .home-next__grid > li {
  display: flex;
}
.page-home .home-next-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 24px 22px 26px;
  color: var(--ink);
  text-decoration: none;
  background: #FFFFFF;
  border: 1px solid var(--line-blue);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  transition: background .24s var(--ease), border-color .24s var(--ease), transform .24s var(--ease);
}
.page-home .home-next-card:hover,
.page-home .home-next-card:focus-visible {
  background: var(--orange-pale);
  border-color: var(--orange);
  transform: translateY(-3px);
}
.page-home .home-next-card__label {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 3px 10px;
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--paper);
  background: var(--navy);
}
.page-home .home-next-card__title {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 800;
}
.page-home .home-next-card__desc {
  display: block;
  margin-top: auto;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--warm);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .home-leagues__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .home-zones__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .home-update__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .home-next__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
  }
  .page-home .home-hero__main {
    grid-column: 1 / 9;
  }
  .page-home .home-hero__status {
    grid-column: 9 / 13;
    margin-top: clamp(28px, 4.6vw, 68px);
  }
  .page-home .home-hero__strip {
    grid-column: 1 / 13;
    margin-left: calc(var(--gutter) * -1);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .page-home .home-section__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(30px, 4.4vw, 68px);
  }
  .page-home .home-section__grid--flip .home-section__head {
    grid-column: 2 / 3;
    grid-row: 1;
  }
  .page-home .home-section__grid--flip .home-section__body {
    grid-column: 1 / 2;
    grid-row: 1;
  }
  .page-home .home-section__body {
    display: grid;
    align-content: start;
  }

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

@media (min-width: 1080px) {
  .page-home .home-leagues__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .home-squad__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-home .home-next__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-dot,
  .page-home .home-node--live::before {
    animation: none;
  }
  .page-home .home-league a,
  .page-home .home-next-card {
    transition: none;
  }
}
</main>
