.page-home {
  --hm-shear: 7deg;
  --hm-lead: clamp(28px, 5.6vw, 72px);
  background: var(--ink-900);
  color: var(--bone);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- 封面首屏 ---------- */

.page-home .hm-cover {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 80% 8%, rgba(53, 230, 240, 0.13), transparent 62%),
    radial-gradient(95% 70% at 8% 92%, rgba(34, 48, 107, 0.55), transparent 66%),
    var(--ink-900);
}

.page-home .hm-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(44, 53, 82, 0.6) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(90deg, rgba(44, 53, 82, 0.6) 0 1px, transparent 1px 96px);
  opacity: 0.45;
  pointer-events: none;
}

.page-home .hm-cover__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(32px, 6vw, 60px);
  padding-block: clamp(44px, 9vw, 120px);
}

.page-home .hm-cover__vlab {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--cyan);
  writing-mode: horizontal-tb;
}

.page-home .hm-cover__ctx {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.page-home .hm-cover__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 6.2vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 16em;
}

.page-home .hm-cover__lede {
  margin: 22px 0 0;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.78;
  color: var(--bone);
  opacity: 0.86;
}

.page-home .hm-cover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.page-home .hm-cover__facts {
  list-style: none;
  margin: 34px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
}

.page-home .hm-cover__facts li {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-home .hm-cover__facts .num {
  margin-right: 6px;
  font-size: 20px;
  color: var(--amber);
}

.page-home .hm-cover__side {
  min-width: 0;
}

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

.page-home .hm-cover__media .media__frame {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(34, 48, 107, 0.6), rgba(6, 8, 15, 0.9));
}

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

/* 斜切比分卡 */

.page-home .hm-slips {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .hm-slip {
  padding: 14px 26px 14px 18px;
  background: linear-gradient(102deg, rgba(34, 48, 107, 0.95), rgba(20, 28, 58, 0.6));
  border-left: 2px solid var(--cyan);
  clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.page-home .hm-slip:nth-child(2) {
  margin-left: 18px;
}

.page-home .hm-slip:nth-child(3) {
  margin-left: 36px;
  border-left-color: var(--amber);
}

.page-home .hm-slip:hover {
  transform: translateX(-5px);
  border-left-color: var(--lime);
}

.page-home .hm-slip__tag {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-home .hm-slip__line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.page-home .hm-slip__team {
  font-size: 15px;
  color: var(--bone);
}

.page-home .hm-slip__score {
  font-size: 26px;
  color: var(--amber);
  white-space: nowrap;
}

.page-home .hm-slip__meta {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

/* ---------- 通用板块间距 ---------- */

.page-home .hm-rotate,
.page-home .hm-snap,
.page-home .hm-mod,
.page-home .hm-why,
.page-home .hm-sub {
  padding-block: clamp(60px, 8vw, 136px);
  border-top: 1px solid var(--line);
}

.page-home .section__head {
  max-width: 46em;
}

/* ---------- 版本轮换时间轴 ---------- */

.page-home .hm-rotate__art {
  margin: clamp(28px, 4vw, 48px) 0 0;
}

.page-home .hm-rotate__art .media__frame {
  border: 1px solid var(--line);
}

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

.page-home .hm-tl {
  list-style: none;
  margin: clamp(32px, 4vw, 56px) 0 0;
  padding: 0;
  position: relative;
  display: grid;
  gap: 26px;
}

.page-home .hm-tl::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan), var(--lime) 55%, var(--line));
}

.page-home .hm-tl__item {
  position: relative;
  padding-left: 34px;
}

.page-home .hm-tl__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--ink-900);
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}

.page-home .hm-tl__title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.page-home .hm-tl__text {
  margin: 10px 0 0;
  max-width: 32em;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .hm-rotate__foot {
  margin: clamp(28px, 4vw, 44px) 0 0;
  font-size: 14px;
  color: var(--mist);
}

.page-home .hm-rotate__foot a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 230, 240, 0.4);
}

/* ---------- 速览 ---------- */

.page-home .hm-snap__cols {
  margin-top: clamp(28px, 4vw, 48px);
}

.page-home .hm-snap__fixtures {
  margin-top: clamp(18px, 2.4vw, 28px);
}

.page-home .hm-rows {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.page-home .data-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "rank name score"
    "rank meta score";
  align-items: center;
  column-gap: 14px;
  row-gap: 4px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

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

.page-home .data-row__rank {
  grid-area: rank;
  align-self: start;
  font-size: 12px;
  color: var(--mist);
}

.page-home .data-row__name {
  grid-area: name;
  font-size: 15px;
  color: var(--bone);
}

.page-home .data-row__meta {
  grid-area: meta;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--mist);
}

.page-home .data-row__score {
  grid-area: score;
  font-size: 22px;
  color: var(--amber);
  white-space: nowrap;
}

.page-home .data-row--live {
  border-left: 2px solid var(--lime);
  padding-left: 12px;
}

.page-home .data-row--fixture .data-row__score {
  font-size: 16px;
  color: var(--cyan);
}

.page-home .hm-snap__more {
  margin: 26px 0 0;
}

/* ---------- 数据模块路径 ---------- */

.page-home .hm-mod__grid {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
}

.page-home .hm-tree {
  list-style: none;
  margin: 0;
  padding: 0 0 0 22px;
  position: relative;
  display: grid;
  gap: 16px;
}

.page-home .hm-tree::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan), rgba(44, 53, 82, 0.1));
}

.page-home .hm-tree__node {
  position: relative;
  padding: 18px 20px;
  background: linear-gradient(100deg, rgba(20, 28, 58, 0.85), rgba(6, 8, 15, 0.4));
  border: 1px solid var(--line);
  transition: border-color 0.26s ease;
}

.page-home .hm-tree__node::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 24px;
  width: 11px;
  height: 11px;
  background: var(--ink-900);
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}

.page-home .hm-tree__node:hover {
  border-color: rgba(53, 230, 240, 0.55);
}

.page-home .hm-tree__no {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-home .hm-tree__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
}

.page-home .hm-tree__text {
  margin: 9px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--mist);
}

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

.page-home .hm-mod__art .media__frame {
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(34, 48, 107, 0.7), rgba(6, 8, 15, 0.9));
}

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

/* ---------- 选择理由 ---------- */

.page-home .hm-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: clamp(28px, 4vw, 44px) 0 0;
}

.page-home .hm-stats .stat {
  background: var(--ink-900);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .hm-stats .stat__value {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3.4vw, 36px);
  color: var(--amber);
  letter-spacing: -0.01em;
}

.page-home .hm-stats .stat__label {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-home .hm-why__cols {
  margin-top: clamp(18px, 2.6vw, 28px);
}

.page-home .hm-why__cols .panel__body {
  font-size: 15px;
  line-height: 1.76;
  color: var(--mist);
}

.page-home .hm-why__note {
  margin: clamp(24px, 3.4vw, 36px) 0 0;
  max-width: 48em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
  border-left: 2px solid var(--gobi);
  padding-left: 16px;
}

.page-home .hm-why__note a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 230, 240, 0.4);
}

/* ---------- 订阅提醒 ---------- */

.page-home .hm-sub {
  background:
    linear-gradient(160deg, rgba(14, 58, 71, 0.55), transparent 68%),
    var(--ink-900);
}

.page-home .hm-sub__grid {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.page-home .hm-sub__text {
  margin: 18px 0 26px;
  max-width: 32em;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist);
}

.page-home .hm-sub__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .hm-sub__list li {
  display: grid;
  grid-template-columns: minmax(76px, auto) minmax(0, 1fr);
  align-items: baseline;
  gap: 18px;
  padding: 18px 4px;
  background: rgba(6, 8, 15, 0.86);
}

.page-home .hm-sub__k {
  font-size: 22px;
  color: var(--lime);
  white-space: nowrap;
}

.page-home .hm-sub__v {
  font-size: 15px;
  line-height: 1.7;
  color: var(--bone);
}

/* ---------- 收尾 ---------- */

.page-home .hm-close {
  padding-block: clamp(56px, 7vw, 120px) clamp(64px, 8vw, 140px);
  border-top: 1px solid var(--line);
}

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

.page-home .hm-close__art .media__frame {
  border: 1px solid var(--line);
}

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

.page-home .hm-close__body {
  margin-top: clamp(28px, 4vw, 48px);
  max-width: 52em;
}

.page-home .hm-close__text {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .hm-close__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 26px 0 0;
}

.page-home .hm-close__links a {
  font-size: 14px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 230, 240, 0.35);
  padding-bottom: 2px;
}

/* ---------- 响应式 ---------- */

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

  .page-home .hm-stats .stat {
    padding: 26px 22px;
  }
}

@media (min-width: 960px) {
  .page-home .hm-cover__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    gap: clamp(32px, 4vw, 56px);
  }

  .page-home .hm-cover__lead {
    grid-column: 1 / span 6;
  }

  .page-home .hm-cover__side {
    grid-column: 8 / span 5;
    margin-top: clamp(30px, 6vw, 96px);
  }

  .page-home .hm-cover__vlab {
    writing-mode: vertical-rl;
    height: 118px;
    margin-bottom: 24px;
    letter-spacing: 0.24em;
  }

  .page-home .hm-tl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 40px);
  }

  .page-home .hm-tl::before {
    left: 0;
    right: 0;
    top: 7px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan), var(--lime) 55%, var(--line));
  }

  .page-home .hm-tl__item {
    padding-left: 0;
    padding-top: 40px;
  }

  .page-home .hm-tl__item::before {
    left: 0;
    top: 0;
  }

  .page-home .hm-mod__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 44px);
  }

  .page-home .hm-mod__head {
    grid-column: 1 / span 6;
  }

  .page-home .hm-tree {
    grid-column: 1 / span 7;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .hm-mod__art {
    grid-column: 9 / span 4;
    grid-row: 1 / span 2;
    align-self: end;
  }

  .page-home .hm-sub__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: clamp(32px, 4vw, 64px);
  }
}

@media (min-width: 1200px) {
  .page-home .hm-cover__side {
    grid-column: 8 / span 5;
  }

  .page-home .hm-slips {
    margin-top: 30px;
  }
}

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

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