.page-home {
  --hm-gap: clamp(16px, 2.4vw, 28px);
  --hm-section: clamp(52px, 7vw, 100px);
  --hm-cyan-soft: rgba(67, 245, 207, 0.14);
  --hm-card-bg: rgba(7, 26, 20, 0.55);
  background:
    radial-gradient(110% 70% at 88% -8%, rgba(67, 245, 207, 0.13), transparent 62%),
    radial-gradient(80% 60% at 4% 26%, rgba(30, 74, 58, 0.5), transparent 66%),
    var(--field);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-home .hm-hero {
  position: relative;
  isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(20px, 4vw, 44px));
  padding-bottom: clamp(28px, 4vw, 52px);
}

.page-home .hm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(201, 216, 210, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 216, 210, 0.14) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: radial-gradient(90% 62% at 50% 0%, #000 10%, transparent 74%);
  mask-image: radial-gradient(90% 62% at 50% 0%, #000 10%, transparent 74%);
  opacity: 0.55;
}

.page-home .hm-hero__ctx {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(22px, 4vw, 42px);
}

.page-home .hm-signal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
}

.page-home .hm-signal__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px var(--hm-cyan-soft);
}

.page-home .hm-title {
  margin: 0 0 16px;
  max-width: 17ch;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(31px, 7.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--cream);
  text-wrap: balance;
}

.page-home .hm-lead {
  max-width: 58ch;
  margin: 0 0 clamp(20px, 3vw, 30px);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.78;
  color: var(--ink-soft);
}

.page-home .hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(26px, 4vw, 46px);
}

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

/* 纵向赛季时间轴 */
.page-home .hm-rail {
  padding: clamp(16px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(30, 74, 58, 0.44), rgba(7, 26, 20, 0.18));
}

.page-home .hm-rail .eyebrow {
  margin: 0;
}

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

.page-home .hm-step {
  position: relative;
  margin-left: 6px;
  padding: 12px 0 12px 22px;
  border-left: 1px solid var(--line-strong);
}

.page-home .hm-step::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--moss);
  border: 1px solid var(--line-strong);
}

.page-home .hm-step--now::before {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 0 5px var(--hm-cyan-soft);
}

.page-home .hm-step__tag {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--stone);
}

.page-home .hm-step--now .hm-step__tag {
  color: var(--cyan);
}

.page-home .hm-step__name {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.page-home .hm-step__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink-mute);
}

/* 监视器预览 */
.page-home .hm-screen {
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, var(--night), rgba(7, 26, 20, 0.92));
  box-shadow: 0 40px 90px -52px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(201, 216, 210, 0.08);
}

.page-home .hm-screen__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 4px 10px;
}

.page-home .hm-screen__live {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-home .hm-screen__media {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-l) - 10px);
  background: var(--moss);
}

.page-home .hm-screen__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-home .hm-board {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(12px, 2vw, 18px);
  background: linear-gradient(180deg, rgba(7, 26, 20, 0), rgba(7, 26, 20, 0.94) 58%);
}

.page-home .hm-board__title {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

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

.page-home .hm-board__list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-soft);
}

.page-home .hm-board__score {
  color: var(--amber);
  font-weight: 700;
}

.page-home .hm-screen__foot {
  padding: 12px 6px 4px;
}

.page-home .hm-screen__link {
  display: inline-block;
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}

.page-home .hm-screen__link:hover {
  border-bottom-color: var(--cyan);
}

/* 页内胶囊导航 */
.page-home .hm-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(20px, 3vw, 32px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.page-home .hm-jump a {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .hm-jump a:hover {
  color: var(--field);
  background: var(--cyan);
  border-color: var(--cyan);
}

.page-home .hm-jump a[aria-current="true"] {
  color: var(--cyan);
  border-color: var(--line-cyan);
  background: var(--hm-cyan-soft);
}

/* 通用区块 */
.page-home .hm-section {
  position: relative;
  padding-block: var(--hm-section);
}

.page-home .hm-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 24px;
  padding-bottom: 16px;
  margin-bottom: clamp(18px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}

.page-home .hm-head .eyebrow {
  width: 100%;
  margin: 0;
}

.page-home .hm-head h2 {
  margin: 0;
}

.page-home .hm-head__more {
  margin-left: auto;
  font-size: 14px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}

.page-home .hm-head__more:hover {
  border-bottom-color: var(--cyan);
}

/* 资讯速览 */
.page-home .hm-brief {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 42, 33, 0.55), transparent 65%);
}

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

.page-home .hm-brief__list > li {
  border-bottom: 1px solid var(--line);
}

.page-home .hm-item {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 18px 0 18px 16px;
  text-decoration: none;
  color: inherit;
}

.page-home .hm-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--cyan);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--dur) var(--ease);
}

.page-home .hm-item:hover::before,
.page-home .hm-item:focus-visible::before {
  transform: scaleY(1);
}

.page-home .hm-item__time {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--clay);
}

.page-home .hm-item__title {
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.35;
  color: var(--cream);
  transition: color var(--dur) var(--ease);
}

.page-home .hm-item:hover .hm-item__title {
  color: var(--cyan);
}

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

/* 订阅收藏 */
.page-home .hm-sub {
  border-top: 1px solid var(--line);
}

.page-home .hm-sub__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.page-home .hm-sub__media {
  margin: 0;
}

.page-home .hm-sub__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-l);
  border: 1px solid var(--line-strong);
}

.page-home .hm-sub__media figcaption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-mute);
}

.page-home .hm-sub__body h2 {
  margin: 8px 0 12px;
}

.page-home .hm-sub__body .t-lead {
  margin: 0 0 20px;
}

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

.page-home .hm-steps li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: rgba(30, 74, 58, 0.28);
}

.page-home .hm-steps__num {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--cyan);
}

.page-home .hm-steps__title {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 700;
  color: var(--cream);
}

.page-home .hm-steps__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-mute);
}

.page-home .hm-note {
  margin: 0 0 22px;
  padding-left: 12px;
  border-left: 2px solid var(--clay);
  font-size: 13px;
  line-height: 1.72;
  color: var(--ink-mute);
}

/* 大屏适配 */
.page-home .hm-big {
  background: linear-gradient(180deg, transparent, rgba(14, 42, 33, 0.72) 28%, rgba(14, 42, 33, 0.72) 72%, transparent);
}

.page-home .hm-big__band {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-l);
  margin-bottom: clamp(18px, 3vw, 28px);
  background: var(--moss);
}

.page-home .hm-big__band img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .hm-big__ratios {
  position: absolute;
  left: clamp(12px, 2vw, 20px);
  bottom: clamp(12px, 2vw, 20px);
  display: flex;
  gap: 8px;
}

.page-home .hm-ratio {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: rgba(7, 26, 20, 0.8);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.page-home .hm-ratio--on {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--field);
}

.page-home .hm-big__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--hm-gap);
}

.page-home .hm-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--hm-card-bg);
}

.page-home .hm-card__k {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-home .hm-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.4;
  color: var(--cream);
}

.page-home .hm-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-soft);
}

/* 赛后复盘 */
.page-home .hm-replay {
  border-top: 1px solid var(--line);
}

.page-home .hm-replay__band {
  position: relative;
  overflow: hidden;
  margin: 0 0 clamp(18px, 3vw, 26px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-l);
  background: var(--moss);
}

.page-home .hm-replay__band img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 3;
  object-fit: cover;
}

.page-home .hm-replay__band figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(14px, 2.4vw, 26px);
  background: linear-gradient(180deg, rgba(7, 26, 20, 0), rgba(7, 26, 20, 0.92));
}

.page-home .hm-replay__kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-home .hm-replay__cap {
  margin: 0;
  max-width: 48ch;
  font-size: clamp(14px, 1.7vw, 17px);
  line-height: 1.6;
  color: var(--cream);
}

.page-home .hm-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(232px, 80%);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
}

.page-home .hm-track > * {
  scroll-snap-align: start;
}

.page-home .hm-replay__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 186px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: linear-gradient(160deg, rgba(30, 74, 58, 0.5), rgba(7, 26, 20, 0.42));
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .hm-replay__card:hover {
  border-color: var(--line-cyan);
  transform: translateY(-3px);
}

.page-home .hm-replay__no {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--stone);
}

.page-home .hm-replay__tag {
  font-size: 12px;
  color: var(--clay);
}

.page-home .hm-replay__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--cream);
}

.page-home .hm-replay__desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-mute);
}

/* 服务与联系 */
.page-home .hm-service {
  border-top: 1px solid var(--line);
}

.page-home .hm-service__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.page-home .hm-service__body h2 {
  margin: 8px 0 14px;
}

.page-home .hm-service__body .t-lead {
  margin: 0 0 14px;
}

.page-home .hm-service__hint {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-mute);
}

.page-home .hm-service__hint a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--line-cyan);
}

.page-home .hm-service__card dl {
  margin: 0;
  display: grid;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: rgba(14, 42, 33, 0.6);
}

.page-home .hm-service__card dl > div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.page-home .hm-service__card dl > div:last-child {
  border-bottom: none;
}

.page-home .hm-service__card dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}

.page-home .hm-service__card dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--cream);
  word-break: break-word;
}

@media (min-width: 640px) {
  .page-home .hm-track {
    grid-auto-columns: minmax(248px, 46%);
  }
}

@media (min-width: 760px) {
  .page-home .hm-item {
    grid-template-columns: 128px minmax(0, 1fr);
    column-gap: 26px;
    align-items: baseline;
    padding-left: 20px;
  }

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

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

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

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

@media (min-width: 920px) {
  .page-home .hm-hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .page-home .hm-sub__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .page-home .hm-service__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .hm-track {
    grid-auto-columns: minmax(252px, 1fr);
  }
}

@media (min-width: 1080px) {
  .page-home .hm-title {
    max-width: 18ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-item::before,
  .page-home .hm-replay__card {
    transition: none;
  }

  .page-home .hm-replay__card:hover {
    transform: none;
  }
}
