.page-home {
  --hm-ink-line: rgba(30, 28, 32, .14);
  --hm-dark-line: rgba(245, 241, 234, .16);
  display: block;
  background: var(--ms-paper);
  color: var(--ms-ink);
  font-family: var(--ms-font);
  overflow-x: clip;
}

/* ---------- 首屏目录台 ---------- */
.page-home .hm-desk {
  position: relative;
  overflow: hidden;
  padding-block: 32px 40px;
  background:
    radial-gradient(120% 90% at 90% 0%, #2b0d15 0%, rgba(18, 16, 15, 0) 62%),
    var(--ms-black);
  color: var(--ms-paper);
}

.page-home .hm-desk__diag {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .85;
  background-image: repeating-linear-gradient(45deg, rgba(200, 16, 46, .16) 0 1px, transparent 1px 26px);
}

.page-home .hm-desk__grid {
  position: relative;
  display: grid;
  gap: 32px;
}

.page-home .hm-desk__eyebrow {
  color: var(--ms-gold);
  margin-bottom: 14px;
}

.page-home .hm-desk__title {
  margin: 0 0 16px;
  font-size: clamp(30px, 7.4vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #fff;
}

.page-home .hm-desk__sub {
  margin: 0 0 22px;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(245, 241, 234, .78);
}

.page-home .hm-desk__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.page-home .hm-desk__next {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--hm-dark-line);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(245, 241, 234, .72);
}

.page-home .hm-desk__board {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 340px;
  border-radius: var(--ms-r-lg);
  overflow: hidden;
  background: var(--ms-charcoal);
  border: 1px solid var(--hm-dark-line);
}

.page-home .hm-desk__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .48;
}

.page-home .hm-desk__boardbody {
  position: relative;
  width: 100%;
  margin-top: 130px;
  padding: 22px 20px 18px;
  background: linear-gradient(180deg, rgba(18, 16, 15, 0) 0%, rgba(18, 16, 15, .9) 52%);
}

.page-home .hm-board__kicker {
  margin: 0 0 12px;
  font-family: var(--ms-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ms-gold);
}

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

.page-home .hm-jump__link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--hm-dark-line);
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(245, 241, 234, .86);
  text-decoration: none;
  transition: background 180ms ease, padding-left 180ms ease, color 180ms ease;
}

.page-home .hm-jump__link:hover,
.page-home .hm-jump__link:focus-visible {
  background: rgba(200, 16, 46, .24);
  color: #fff;
  padding-left: 18px;
}

.page-home .hm-jump__no {
  flex: none;
  font-family: var(--ms-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ms-gold);
}

/* ---------- 区块节奏 ---------- */
.page-home .hm-sec {
  padding-block: 56px;
}

.page-home .hm-head {
  margin-bottom: 28px;
}

.page-home .hm-head__title {
  margin: 8px 0 12px;
  font-size: clamp(24px, 5.4vw, 34px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ms-ink);
}

.page-home .hm-head__title--light {
  color: var(--ms-paper);
}

/* ---------- 两条主线 ---------- */
.page-home .hm-seg {
  position: relative;
}

.page-home .hm-seg__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.page-home .hm-seg__tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 2px solid var(--hm-ink-line);
  margin-bottom: 26px;
}

.page-home .hm-seg__tab {
  padding: 14px 8px;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--ms-gray);
  cursor: pointer;
  user-select: none;
  transition: color 180ms ease;
}

.page-home .hm-seg__bar {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 50%;
  height: 3px;
  background: var(--ms-red);
  transition: transform 220ms cubic-bezier(.4, 0, .2, 1);
}

.page-home .hm-seg__radio:nth-of-type(1):checked ~ .hm-seg__tabs .hm-seg__tab:nth-of-type(1),
.page-home .hm-seg__radio:nth-of-type(2):checked ~ .hm-seg__tabs .hm-seg__tab:nth-of-type(2) {
  color: var(--ms-red);
}

.page-home .hm-seg__radio:nth-of-type(1):focus-visible ~ .hm-seg__tabs .hm-seg__tab:nth-of-type(1),
.page-home .hm-seg__radio:nth-of-type(2):focus-visible ~ .hm-seg__tabs .hm-seg__tab:nth-of-type(2) {
  outline: 3px solid var(--ms-blue);
  outline-offset: 3px;
  border-radius: var(--ms-r-sm);
}

.page-home .hm-seg__radio:nth-of-type(2):checked ~ .hm-seg__tabs .hm-seg__bar {
  transform: translateX(100%);
}

.page-home .hm-seg__panel {
  display: none;
}

.page-home .hm-seg__radio:nth-of-type(1):checked ~ .hm-seg__panels .hm-seg__panel:nth-child(1),
.page-home .hm-seg__radio:nth-of-type(2):checked ~ .hm-seg__panels .hm-seg__panel:nth-child(2) {
  display: grid;
}

.page-home .hm-line {
  gap: 24px;
  align-items: center;
}

.page-home .hm-line__body h3 {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ms-ink);
}

.page-home .hm-line__body p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ms-gray);
}

.page-home .hm-media {
  border-radius: var(--ms-r-lg);
  overflow: hidden;
  background: var(--ms-charcoal);
}

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

.page-home .hm-facts {
  margin: 0 0 20px;
  border-top: 2px solid var(--ms-ink);
}

.page-home .hm-facts__row {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hm-ink-line);
}

.page-home .hm-facts__k {
  font-family: var(--ms-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ms-red);
}

.page-home .hm-facts__v {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ms-ink);
}

/* ---------- 本周更新 ---------- */
.page-home .hm-weekly__grid {
  display: grid;
  gap: 28px;
}

.page-home .hm-weekly__text {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ms-gray);
}

.page-home .hm-weekly__stamp {
  display: inline-block;
  margin: 0;
  padding: 14px 20px;
  border-radius: var(--ms-pill);
  background: var(--ms-blue-soft);
  border: 1px solid rgba(27, 95, 190, .22);
  font-size: 14px;
  color: var(--ms-ink);
}

.page-home .hm-weekly__stampnum {
  font-family: var(--ms-mono);
  font-weight: 700;
  color: var(--ms-blue);
  margin-inline: .1em;
}

.page-home .hm-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ms-ink);
}

.page-home .hm-feed__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  align-items: start;
  padding: 14px 6px;
  border-bottom: 1px solid var(--hm-ink-line);
  transition: background 180ms ease;
}

.page-home .hm-feed__item:hover {
  background: var(--ms-rose);
}

.page-home .hm-feed__no {
  font-family: var(--ms-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ms-red);
  padding-top: 3px;
}

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

.page-home .hm-feed__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ms-ink);
}

.page-home .hm-feed__note {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ms-gray);
  transition: max-height 260ms ease, opacity 220ms ease, margin-top 260ms ease;
}

.page-home .hm-feed__item:hover .hm-feed__note {
  max-height: 6em;
  opacity: 1;
  margin-top: 6px;
}

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

/* ---------- 场地标签 ---------- */
.page-home .hm-tags {
  display: grid;
  gap: 16px;
}

.page-home .hm-tagcard {
  padding: 20px;
  border: 1px solid var(--hm-ink-line);
  border-radius: var(--ms-r);
  background: #fff;
  border-top-width: 4px;
  border-top-style: solid;
}

.page-home .hm-tagcard--home {
  border-top-color: var(--ms-red);
  color: var(--ms-red);
}

.page-home .hm-tagcard--away {
  border-top-color: var(--ms-blue);
  color: var(--ms-blue);
}

.page-home .hm-tagcard--neutral {
  border-top-color: var(--ms-gold);
  color: #a8760d;
}

.page-home .hm-tagcard__icon {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
}

.page-home .hm-tagcard__name {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 800;
  color: var(--ms-ink);
}

.page-home .hm-tagcard__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ms-gray);
}

.page-home .hm-axis {
  margin-top: 34px;
  padding-bottom: 6px;
}

.page-home .hm-axis__svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .hm-pick {
  margin-top: 28px;
  padding: 22px 20px;
  border-radius: var(--ms-r-lg);
  background: var(--ms-blue-soft);
  border: 1px solid rgba(27, 95, 190, .2);
}

.page-home .hm-pick__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.page-home .hm-pick__count {
  font-family: var(--ms-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ms-blue);
}

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

.page-home .hm-pick__item {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: baseline;
  padding: 11px 14px;
  border-radius: var(--ms-r-sm);
  background: rgba(255, 255, 255, .78);
}

.page-home .hm-pick__date {
  flex: none;
  font-family: var(--ms-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ms-ink);
}

.page-home .hm-pick__name {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ms-gray);
}

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

.page-home .hm-pick__tip a {
  color: var(--ms-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 换设备 ---------- */
.page-home .hm-handoff__grid {
  display: grid;
  gap: 32px;
}

.page-home .hm-handoff__text {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ms-gray);
}

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

.page-home .hm-steps__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.page-home .hm-steps__no {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ms-rose);
  font-family: var(--ms-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--ms-red-deep);
}

.page-home .hm-steps__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ms-gray);
}

.page-home .hm-steps__text strong {
  color: var(--ms-ink);
  font-weight: 800;
}

.page-home .hm-handoff__meta {
  margin: 0 0 22px;
  padding: 14px 18px;
  border-left: 4px solid var(--ms-red);
  background: var(--ms-rose);
  border-radius: 0 var(--ms-r-sm) var(--ms-r-sm) 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ms-red-deep);
}

/* ---------- 规模 ---------- */
.page-home .hm-band {
  position: relative;
  overflow: hidden;
  padding-block: 56px;
  background: var(--ms-black);
  color: var(--ms-paper);
}

.page-home .hm-band__diag {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .7;
  background-image: repeating-linear-gradient(135deg, rgba(217, 162, 39, .1) 0 1px, transparent 1px 30px);
}

.page-home .hm-band__inner {
  position: relative;
}

.page-home .hm-band__eyebrow {
  color: var(--ms-gold);
}

.page-home .hm-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 20px;
  margin-top: 26px;
}

.page-home .hm-stat {
  padding-top: 14px;
  border-top: 2px solid var(--ms-red);
}

.page-home .hm-stat__v {
  display: block;
  font-family: var(--ms-mono);
  font-size: clamp(26px, 5.6vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--ms-gold);
}

.page-home .hm-stat__l {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(245, 241, 234, .72);
}

.page-home .hm-scale__foot {
  margin: 34px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--hm-dark-line);
  font-size: 15px;
  line-height: 1.85;
  color: rgba(245, 241, 234, .7);
}

.page-home .hm-scale__foot a {
  color: var(--ms-gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 直达入口 ---------- */
.page-home .hm-go__grid {
  display: grid;
  gap: 18px;
}

.page-home .hm-go__card {
  display: block;
  padding: 26px 22px;
  border: 1px solid var(--hm-ink-line);
  border-radius: var(--ms-r-lg);
  background: #fff;
  color: var(--ms-ink);
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.page-home .hm-go__card:hover,
.page-home .hm-go__card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(18, 16, 15, .13);
  border-color: var(--ms-red);
}

.page-home .hm-go__card--primary {
  background: var(--ms-red);
  border-color: var(--ms-red);
  color: #fff;
}

.page-home .hm-go__card--primary:hover,
.page-home .hm-go__card--primary:focus-visible {
  border-color: var(--ms-red-deep);
}

.page-home .hm-go__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.page-home .hm-go__text {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ms-gray);
}

.page-home .hm-go__card--primary .hm-go__text {
  color: rgba(255, 255, 255, .86);
}

.page-home .hm-go__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ms-red);
}

.page-home .hm-go__card--primary .hm-go__more {
  color: #fff;
}

.page-home .hm-go__more::after {
  content: "";
  width: 16px;
  height: 2px;
  background: currentColor;
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-home .hm-tags {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .hm-feed__item {
    grid-template-columns: 44px 1fr auto;
    gap: 0 16px;
    align-items: center;
    padding: 15px 8px;
  }

  .page-home .hm-feed__item > .ms-tag {
    grid-column: auto;
    justify-self: end;
  }

  .page-home .hm-facts__row {
    grid-template-columns: 120px 1fr;
    gap: 16px;
    align-items: baseline;
  }
}

@media (min-width: 900px) {
  .page-home .hm-desk {
    padding-block: 44px 56px;
  }

  .page-home .hm-desk__grid {
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: stretch;
  }

  .page-home .hm-desk__board {
    min-height: 420px;
  }

  .page-home .hm-sec {
    padding-block: 72px;
  }

  .page-home .hm-head {
    margin-bottom: 36px;
  }

  .page-home .hm-seg__tabs {
    max-width: 460px;
  }

  .page-home .hm-line {
    grid-template-columns: 5fr 7fr;
    gap: 40px;
  }

  .page-home .hm-line--flip {
    grid-template-columns: 7fr 5fr;
  }

  .page-home .hm-weekly__grid {
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: start;
  }

  .page-home .hm-handoff__grid {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: center;
  }

  .page-home .hm-band {
    padding-block: 72px;
  }

  .page-home .hm-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 28px;
  }

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

@media (min-width: 1200px) {
  .page-home .hm-desk__grid {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
  }

  .page-home .hm-desk__boardbody {
    padding: 26px 28px 22px;
  }
}

@media (hover: none) {
  .page-home .hm-feed__note {
    max-height: 6em;
    opacity: 1;
    margin-top: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-seg__bar,
  .page-home .hm-jump__link,
  .page-home .hm-feed__note,
  .page-home .hm-go__card {
    transition: none;
  }

  .page-home .hm-go__card:hover,
  .page-home .hm-go__card:focus-visible {
    transform: none;
  }
}
