.page-home {
  background: var(--ink-green);
  color: var(--mint);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

.page-home h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  color: var(--paper);
}

.page-home h3 {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--paper);
}

.page-home p {
  margin: 0;
  line-height: 1.78;
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(2.25rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(115% 85% at 84% 6%, rgba(198, 255, 74, 0.16), transparent 58%),
    radial-gradient(85% 70% at 8% 96%, rgba(240, 163, 60, 0.13), transparent 62%),
    var(--ink-green);
}

.page-home .hm-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  filter: saturate(0.55);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 100%);
}

.page-home .hm-hero__split {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.page-home .hm-hero__side {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem 1rem;
  align-items: start;
}

.page-home .hm-hero__side > *:not(.hm-hero__aside) {
  grid-column: 2;
  min-width: 0;
}

.page-home .hm-hero__aside {
  grid-row: span 6;
  align-self: stretch;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--slate);
  border-right: 1px solid var(--rule);
  padding-right: 0.55rem;
}

.page-home .hm-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--lime);
  text-transform: uppercase;
}

.page-home .hm-hero h1 {
  font-size: clamp(2rem, 5.4vw, 3.5rem);
  color: var(--paper);
  margin-top: 0.15rem;
}

.page-home .hm-hero__lead {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--mint);
  max-width: 36ch;
}

.page-home .hm-beat {
  display: flex;
  align-items: flex-end;
  gap: 0.9rem;
  margin-top: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

.page-home .hm-beat__num {
  font-family: var(--font-mono);
  font-size: clamp(3.4rem, 11vw, 6.4rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: var(--lime);
}

.page-home .hm-beat__label {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--mint);
  padding-bottom: 0.35rem;
  border-left: 2px solid var(--rule);
  padding-left: 0.7rem;
}

.page-home .hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.4rem;
}

.page-home .hm-hero__patches {
  display: grid;
  gap: 0.85rem;
}

.page-home .hm-patch {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.15rem 1.15rem 1.25rem;
  overflow: hidden;
  text-decoration: none;
  color: var(--paper);
  background: var(--field-green);
  border-top: 2px solid var(--rule);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.page-home .hm-patch:hover,
.page-home .hm-patch:focus-visible {
  transform: translateY(-3px);
  border-top-color: var(--lime);
  background: #16473a;
}

.page-home .hm-patch:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.page-home .hm-patch__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.7);
  z-index: 0;
}

.page-home .hm-patch--a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 31, 26, 0.15) 0%, rgba(10, 31, 26, 0.9) 72%);
  z-index: 0;
}

.page-home .hm-patch__body {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: flex-start;
}

.page-home .hm-patch--b .tag,
.page-home .hm-patch--c .tag {
  align-self: flex-start;
}

.page-home .hm-patch__title {
  font-size: clamp(1.02rem, 1.8vw, 1.3rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.page-home .hm-patch--a .hm-patch__title {
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
}

.page-home .hm-patch__meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--lime);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.page-home .hm-patch:hover .hm-patch__meta,
.page-home .hm-patch:focus-visible .hm-patch__meta {
  opacity: 1;
  transform: none;
}

.page-home .hm-patch__live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--amber);
}

@media (hover: none) {
  .page-home .hm-patch__meta {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 900px) {
  .page-home .hm-hero__split {
    grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
    align-items: start;
  }

  .page-home .hm-hero__patches {
    grid-template-columns: 1.2fr 0.9fr;
    grid-template-rows: auto auto;
    min-height: 26rem;
  }

  .page-home .hm-patch--a {
    grid-column: 1;
    grid-row: 1 / span 2;
    padding: 1.5rem;
  }

  .page-home .hm-patch--b {
    grid-column: 2;
    grid-row: 1;
  }

  .page-home .hm-patch--c {
    grid-column: 2;
    grid-row: 2;
  }
}

/* ---------- 联赛刻度带 ---------- */
.page-home .hm-leagues {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background: var(--field-green);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.page-home .hm-leagues__head {
  display: grid;
  gap: 0.6rem;
  max-width: 46ch;
  margin-bottom: 1.5rem;
}

.page-home .hm-leagues__head p {
  color: var(--mint);
  font-size: 0.95rem;
}

.page-home .hm-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
}

.page-home .hm-switch .league-chip {
  appearance: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.85rem;
  color: var(--mint);
  background: transparent;
  border: 1px solid var(--rule);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.page-home .hm-switch .league-chip:hover {
  color: var(--paper);
  border-color: var(--slate);
}

.page-home .hm-switch .league-chip[aria-pressed="true"] {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.page-home .hm-switch .league-chip:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.page-home .hm-rail {
  display: flex;
  gap: 0.85rem;
  margin: 0;
  padding: 0 0 1rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--slate) transparent;
}

.page-home .hm-rail:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.page-home .hm-rail__item {
  flex: 0 0 min(78vw, 20rem);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.2rem 1.1rem 1.35rem;
  background: var(--ink-green);
  border-left: 2px solid var(--slate);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.page-home .hm-rail__item--sum {
  border-left-color: var(--lime);
  background: #0e2a23;
}

.page-home .hm-rail__kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--slate);
}

.page-home .hm-rail__item--sum .hm-rail__kicker {
  color: var(--lime);
}

.page-home .hm-rail__item p {
  font-size: 0.88rem;
  color: var(--mint);
  line-height: 1.7;
}

.page-home .hm-rail__ticks {
  display: block;
  height: 22px;
  margin-top: 0.25rem;
  border-bottom: 1px solid var(--rule);
  background-image:
    repeating-linear-gradient(90deg, var(--slate) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 10px);
  background-size: 100% 14px, 100% 7px;
  background-position: bottom, bottom;
  background-repeat: repeat-x;
}

.page-home .hm-rail__foot {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--mint);
}

/* ---------- 规则与版本对照 ---------- */
.page-home .hm-compare {
  padding: clamp(2.5rem, 6vw, 4.75rem) 0;
  background: var(--ink-green);
}

.page-home .hm-compare__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.page-home .hm-roundcol {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.page-home .hm-roundcol .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--amber);
}

.page-home .hm-roundcol__lead {
  font-size: 0.95rem;
  color: var(--mint);
  max-width: 40ch;
}

.page-home .hm-roundlist {
  list-style: none;
  margin: 0.4rem 0 0.6rem;
  padding: 0;
  width: 100%;
  border-top: 1px solid var(--rule);
}

.page-home .hm-roundlist li {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
}

.page-home .hm-roundlist__num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.04em;
}

.page-home .hm-roundlist__text {
  font-size: 0.92rem;
  color: var(--paper);
  line-height: 1.6;
}

.page-home .hm-versions {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.1rem;
  background: var(--field-green);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%);
}

.page-home .hm-versions__img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  opacity: 0.5;
  filter: saturate(0.6);
}

.page-home .hm-versions__pair {
  display: grid;
  gap: 0.75rem;
}

.page-home .hm-vcard {
  padding: 0.95rem 0.95rem 1.05rem;
  background: var(--ink-green);
  border-top: 2px solid var(--slate);
}

.page-home .hm-vcard--b {
  border-top-color: var(--amber);
}

.page-home .hm-vcard__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.page-home .hm-vcard__round {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--mint);
}

.page-home .hm-vcard__body {
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--mint);
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(42, 74, 63, 0.8);
}

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

.page-home .hm-vcard__body--diff {
  color: var(--paper);
  box-shadow: inset 3px 0 0 var(--amber);
  padding-left: 0.6rem;
}

.page-home .hm-versions__note {
  font-size: 0.85rem;
  color: var(--mint);
  line-height: 1.7;
  border-top: 1px solid var(--rule);
  padding-top: 0.8rem;
}

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

  .page-home .hm-versions {
    padding: 1.4rem;
  }

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

/* ---------- 更新脉冲 ---------- */
.page-home .hm-notes {
  position: relative;
  isolation: isolate;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background: var(--field-green);
  border-top: 1px solid var(--rule);
  overflow: hidden;
}

.page-home .hm-notes__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: saturate(0.5);
  pointer-events: none;
}

.page-home .hm-notes__inner {
  display: grid;
  gap: 1.5rem;
}

.page-home .hm-notes__head {
  display: grid;
  gap: 0.6rem;
  max-width: 44ch;
}

.page-home .hm-notes__head p {
  font-size: 0.95rem;
  color: var(--mint);
}

.page-home .hm-notes__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.page-home .hm-note {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 0.4rem 0.9rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}

.page-home .hm-note__round {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--lime);
  line-height: 1.2;
  position: relative;
  padding-left: 0.85rem;
}

.page-home .hm-note__round::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  animation: hm-pulse 2.4s ease-in-out infinite;
}

.page-home .hm-note__main h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.page-home .hm-note__main p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.page-home .hm-note .tag {
  grid-column: 2;
  justify-self: start;
}

.page-home .hm-notes__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

@keyframes hm-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

@media (min-width: 760px) {
  .page-home .hm-note {
    grid-template-columns: 3.4rem minmax(0, 1fr) auto;
    align-items: center;
  }

  .page-home .hm-note .tag {
    grid-column: 3;
    justify-self: end;
    align-self: center;
  }
}

@media (min-width: 980px) {
  .page-home .hm-notes__inner {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr);
    gap: 1.75rem 3rem;
    align-items: start;
  }

  .page-home .hm-notes__head {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .page-home .hm-notes__list {
    grid-column: 2;
    grid-row: 1;
  }

  .page-home .hm-notes__actions {
    grid-column: 2;
    grid-row: 2;
  }
}

/* ---------- 本地服务范围 ---------- */
.page-home .hm-local {
  padding: clamp(2.5rem, 6vw, 4.75rem) 0;
  background: var(--paper);
  color: var(--ink);
}

.page-home .hm-local h2 {
  color: var(--ink);
}

.page-home .hm-local h3 {
  color: var(--ink);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2f5a4c;
}

.page-home .hm-local__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.page-home .hm-local__col {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
}

.page-home .hm-local__col .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: #2f5a4c;
}

.page-home .hm-local__col p {
  font-size: 0.95rem;
  color: #24382f;
  line-height: 1.8;
  max-width: 46ch;
}

.page-home .hm-local__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.4rem;
}

.page-home .hm-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 1rem 1rem;
  background: #e6e0d0;
  border-left: 4px solid var(--amber);
}

.page-home .hm-stat__num {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.page-home .hm-stat__num small {
  font-size: 0.5em;
  margin-left: 0.15em;
  font-weight: 500;
}

.page-home .hm-stat__label {
  font-size: 0.8rem;
  color: #3d554b;
}

.page-home .hm-local__col--aside {
  padding: clamp(1.1rem, 3vw, 1.75rem);
  background: #e9e4d6;
  border-top: 6px solid var(--field-green);
}

.page-home .hm-local__list {
  list-style: none;
  margin: 0 0 0.4rem;
  padding: 0;
  width: 100%;
}

.page-home .hm-local__list li {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #24382f;
  padding: 0.6rem 0 0.6rem 1.1rem;
  border-bottom: 1px solid rgba(6, 18, 14, 0.12);
  position: relative;
}

.page-home .hm-local__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 6px;
  height: 6px;
  background: var(--field-green);
  transform: rotate(45deg);
}

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

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

/* ---------- 下一步 ---------- */
.page-home .hm-next {
  padding: clamp(2.25rem, 5vw, 3.75rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--ink-green);
}

.page-home .hm-next h2 {
  margin-bottom: 1.4rem;
}

.page-home .hm-next__grid {
  display: grid;
  gap: 0.85rem;
}

.page-home .hm-next__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "idx name"
    "idx desc";
  gap: 0.2rem 1rem;
  padding: 1.15rem 1.1rem 1.25rem;
  text-decoration: none;
  color: var(--paper);
  background: var(--field-green);
  border-left: 3px solid var(--rule);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  transition: border-left-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.page-home .hm-next__card:hover,
.page-home .hm-next__card:focus-visible {
  border-left-color: var(--lime);
  background: #16473a;
  transform: translateX(3px);
}

.page-home .hm-next__card:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.page-home .hm-next__idx {
  grid-area: idx;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.04em;
}

.page-home .hm-next__name {
  grid-area: name;
  font-size: 1.02rem;
  font-weight: 700;
}

.page-home .hm-next__desc {
  grid-area: desc;
  font-size: 0.83rem;
  color: var(--mint);
  line-height: 1.6;
}

@media (min-width: 720px) {
  .page-home .hm-next__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .hm-note__round::before {
    animation: none;
  }

  .page-home .hm-patch,
  .page-home .hm-next__card,
  .page-home .hm-patch__meta {
    transition: none;
  }

  .page-home .hm-patch:hover,
  .page-home .hm-patch:focus-visible,
  .page-home .hm-next__card:hover,
  .page-home .hm-next__card:focus-visible {
    transform: none;
  }
}
<<<END>>>
