.page-home {
  --hm-gap: 14px;
  --hm-lift: 2px;
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  position: relative;
  padding-block: 26px 38px;
  background:
    radial-gradient(120% 88% at 90% 4%, rgba(56, 242, 208, 0.15), transparent 58%),
    radial-gradient(96% 70% at 4% 98%, rgba(255, 138, 61, 0.1), transparent 62%);
}

.page-home .hm-hero::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cy) 34%, var(--or) 68%, transparent);
  opacity: 0.8;
}

.page-home .hm-hero__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

.page-home .hm-hero__title {
  margin: 10px 0 16px;
  font-family: var(--font-head);
  font-size: clamp(38px, 9.2vw, 74px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--hi);
  max-width: 12ch;
}

.page-home .hm-hero__lead {
  max-width: 40ch;
  color: var(--tx);
}

.page-home .hm-hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-home .hm-hero__meta {
  margin: 20px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--cy);
  font-size: 14px;
  line-height: 1.7;
  color: var(--tx2);
  max-width: 46ch;
}

.page-home .hm-hero__visual {
  position: relative;
  margin: 0;
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--rule);
  background: linear-gradient(160deg, var(--grad), var(--ink) 72%);
  aspect-ratio: 4 / 5;
}

.page-home .hm-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  filter: saturate(0.85) contrast(1.08);
}

.page-home .hm-board {
  position: absolute;
  inset-inline: 12px;
  bottom: 12px;
}

.page-home .hm-board__svg {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.46);
  border-radius: 20px;
}

.page-home .hm-board__tag,
.page-home .hm-board__meta {
  font-family: var(--font-data);
  fill: var(--tx2);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.page-home .hm-board__num {
  font-family: var(--font-data);
  font-size: 74px;
  font-weight: 700;
  fill: var(--hi);
}

.page-home .hm-board__sep {
  font-family: var(--font-data);
  font-size: 54px;
  fill: var(--or);
}

/* ---------- 速览数据带 ---------- */
.page-home .hm-stats {
  position: relative;
  border-top: 1px solid var(--rule);
}

.page-home .hm-stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hm-gap);
  margin-top: 26px;
}

.page-home .hm-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px 22px;
  border-radius: var(--r-m);
  background: var(--panel);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--cy);
}

.page-home .hm-stat--warm {
  border-left-color: var(--or);
}

.page-home .hm-stat--lg {
  background: linear-gradient(150deg, var(--raise), var(--panel) 70%);
  padding: 24px 20px 26px;
}

.page-home .hm-stat__v {
  font-family: var(--font-data);
  font-size: clamp(48px, 13vw, 76px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cy);
}

.page-home .hm-stat--lg .hm-stat__v {
  font-size: clamp(72px, 22vw, 138px);
  color: var(--hi);
  margin-inline-start: -0.04em;
}

.page-home .hm-stat--warm .hm-stat__v {
  color: var(--or);
}

.page-home .hm-stat__plus {
  font-size: 0.5em;
  color: var(--cy);
  vertical-align: super;
  margin-inline-start: 2px;
}

.page-home .hm-stat__k {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--hi);
}

.page-home .hm-stat__n {
  font-size: 14px;
  line-height: 1.7;
  color: var(--tx2);
}

.page-home .hm-stats__figure {
  margin: 0;
  border-radius: var(--r-m);
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--raise);
}

.page-home .hm-stats__figure img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  display: block;
  opacity: 0.78;
}

/* ---------- 四项动作 ---------- */
.page-home .hm-actions-sec {
  border-top: 1px solid var(--rule);
}

.page-home .hm-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hm-gap);
  margin-top: 26px;
}

.page-home .hm-act {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 18px 22px;
  border-radius: var(--r-m);
  background: var(--panel);
  border: 1px solid var(--rule);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-home .hm-act:hover {
  transform: translateY(calc(-1 * var(--hm-lift)));
  background: var(--raise);
}

.page-home .hm-act--lead {
  background:
    linear-gradient(180deg, rgba(56, 242, 208, 0.08), transparent 52%),
    var(--panel);
  border-color: rgba(56, 242, 208, 0.28);
  padding: 24px 20px 26px;
}

.page-home .hm-act__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-home .hm-act__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--hi);
}

.page-home .hm-act--lead .hm-act__title {
  font-size: clamp(30px, 8vw, 44px);
}

.page-home .hm-act__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--tx);
  max-width: 46ch;
}

.page-home .hm-act__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .hm-act__list li {
  position: relative;
  padding-left: 18px;
  font-family: var(--font-data);
  font-size: 14px;
  line-height: 1.6;
  color: var(--tx2);
}

.page-home .hm-act__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 2px;
  background: var(--cy);
}

.page-home .hm-act__go {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-data);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--cy);
  text-decoration: none;
  border-bottom: 1px solid rgba(56, 242, 208, 0.34);
  align-self: flex-start;
  transition: color var(--dur) var(--ease);
}

.page-home .hm-act__go:hover {
  color: var(--or);
  border-bottom-color: rgba(255, 138, 61, 0.5);
}

/* ---------- 联赛轨道 ---------- */
.page-home .hm-leagues {
  position: relative;
  isolation: isolate;
  padding-bottom: 30px;
}

.page-home .hm-leagues__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  opacity: 0.16;
}

.page-home .hm-leagues__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) saturate(0.8);
}

.page-home .hm-leagues__track {
  margin-top: 22px;
  padding-inline: clamp(16px, 5vw, 34px);
  padding-bottom: 14px;
  scrollbar-width: thin;
}

.page-home .hm-league {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 100%;
  padding: 18px 16px 20px;
  border-radius: var(--r-m);
  background: rgba(16, 42, 35, 0.86);
  border: 1px solid var(--rule);
  text-decoration: none;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .hm-league:hover {
  transform: translateY(calc(-1 * var(--hm-lift)));
  border-color: rgba(56, 242, 208, 0.4);
}

.page-home .hm-league--full {
  border-top: 3px solid var(--cy);
}

.page-home .hm-league__name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--hi);
}

.page-home .hm-league__round {
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--or);
}

.page-home .hm-league__meta {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--tx);
}

.page-home .hm-league__time {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--tx2);
}

/* ---------- 最近更新流 ---------- */
.page-home .hm-updates {
  border-top: 1px solid var(--rule);
}

.page-home .hm-updates__figure {
  margin: 26px 0 0;
  border-block: 1px solid var(--rule);
  overflow: hidden;
  background: var(--raise);
}

.page-home .hm-updates__figure img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  display: block;
  opacity: 0.72;
}

.page-home .hm-feed {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  position: relative;
}

.page-home .hm-feed::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--cy), var(--rule) 42%, transparent);
}

.page-home .hm-feed__item {
  position: relative;
  padding: 16px 0 18px 26px;
  border-bottom: 1px dashed var(--rule);
}

.page-home .hm-feed__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cy);
  box-shadow: 0 0 0 4px rgba(56, 242, 208, 0.12);
}

.page-home .hm-feed__type {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cy);
  border: 1px solid rgba(56, 242, 208, 0.36);
}

.page-home .hm-feed__type--report {
  color: var(--hi);
  border-color: var(--rule);
}

.page-home .hm-feed__type--data {
  color: var(--or);
  border-color: rgba(255, 138, 61, 0.42);
}

.page-home .hm-feed__title {
  margin: 10px 0 6px;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--hi);
}

.page-home .hm-feed__meta {
  margin: 0;
  font-family: var(--font-data);
  font-size: 13px;
  line-height: 1.6;
  color: var(--tx2);
}

.page-home .hm-updates__more {
  margin-top: 24px;
}

/* ---------- 订阅引导 ---------- */
.page-home .hm-sub {
  border-top: 1px solid var(--rule);
}

.page-home .hm-sub__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  padding: 26px 20px 28px;
  border-radius: var(--r-l);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255, 138, 61, 0.12), transparent 60%),
    linear-gradient(150deg, var(--grad), var(--panel) 76%);
  border: 1px solid var(--rule);
}

.page-home .hm-sub__title {
  margin: 10px 0 14px;
  font-family: var(--font-head);
  font-size: clamp(28px, 7.4vw, 44px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--hi);
  max-width: 16ch;
}

.page-home .hm-sub__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--tx);
  max-width: 48ch;
}

.page-home .hm-sub__list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .hm-sub__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--tx2);
}

.page-home .hm-sub__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 2px;
  background: var(--cy);
}

.page-home .hm-sub__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-home .hm-sub__side {
  display: grid;
  gap: var(--hm-gap);
  align-content: start;
}

.page-home .hm-sub__badge {
  padding: 18px 16px 20px;
  border-radius: var(--r-m);
  background: rgba(11, 31, 26, 0.62);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--cy);
}

.page-home .hm-sub__badge--warm {
  border-left-color: var(--or);
}

.page-home .hm-sub__badge-v {
  display: block;
  font-family: var(--font-data);
  font-size: clamp(46px, 12vw, 64px);
  font-weight: 700;
  line-height: 1;
  color: var(--hi);
  letter-spacing: -0.03em;
}

.page-home .hm-sub__badge--warm .hm-sub__badge-v {
  color: var(--or);
}

.page-home .hm-sub__badge-k {
  display: block;
  margin-top: 8px;
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--tx2);
}

.page-home .hm-sub__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--tx2);
}

.page-home .hm-sub__note a {
  color: var(--cy);
  text-decoration: none;
  border-bottom: 1px solid rgba(56, 242, 208, 0.34);
}

.page-home .hm-sub__note a:hover {
  color: var(--or);
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-home .hm-stats__grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }

  .page-home .hm-stat--lg {
    grid-column: span 6;
  }

  .page-home .hm-stat {
    grid-column: span 2;
  }

  .page-home .hm-stats__figure {
    grid-column: span 6;
    max-height: 240px;
  }
}

@media (min-width: 860px) {
  .page-home .hm-hero {
    padding-block: 40px 56px;
  }

  .page-home .hm-hero__wrap {
    grid-template-columns: 1.04fr 0.96fr;
    gap: 46px;
  }

  .page-home .hm-hero__visual {
    aspect-ratio: 4 / 5;
  }

  .page-home .hm-board {
    inset-inline: 20px;
    bottom: 20px;
  }

  .page-home .hm-actions {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }

  .page-home .hm-act--lead {
    grid-column: span 3;
    grid-row: span 3;
  }

  .page-home .hm-act {
    grid-column: span 3;
  }

  .page-home .hm-feed__item {
    padding-left: 34px;
  }

  .page-home .hm-sub__panel {
    grid-template-columns: 1.35fr 0.65fr;
    gap: 40px;
    padding: 40px 38px 42px;
  }
}

@media (min-width: 1120px) {
  .page-home .hm-stat--lg {
    grid-column: span 3;
  }

  .page-home .hm-stat {
    grid-column: span 3;
  }

  .page-home .hm-stats__figure {
    grid-column: span 3;
    max-height: none;
    grid-row: span 2;
  }

}
