.page-home {
  --home-rail-w: 244px;
  --home-body-text: #4a3f39;
  --home-soft-line: 1px solid var(--mh-line);
  background: var(--mh-cream);
  color: var(--mh-ink);
  font-family: var(--mh-font-body);
  overflow-x: hidden;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  margin: 0;
  font-family: var(--mh-font-display);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.page-home p {
  margin: 0;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--mh-ink);
  color: var(--mh-cream);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .home-hero__bgimg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: grayscale(0.4) contrast(1.15);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -16%;
  left: -20%;
  width: 82%;
  height: 86%;
  background: linear-gradient(150deg, var(--mh-red) 0%, var(--mh-maroon) 82%);
  clip-path: polygon(0 0, 100% 0, 62% 100%, 0 82%);
  opacity: 0.9;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -12%;
  bottom: -18%;
  width: 56%;
  height: 54%;
  background: var(--mh-navy);
  clip-path: polygon(38% 0, 100% 14%, 100% 100%, 0 100%);
  opacity: 0.62;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 26px;
  padding-top: 34px;
  padding-bottom: 46px;
}

/* 左侧纵向分类轨道 */
.page-home .home-rail {
  align-self: start;
  padding: 16px 14px 12px;
  border: 1px solid rgba(247, 240, 227, 0.18);
  background: rgba(16, 27, 45, 0.74);
}

.page-home .home-rail__label {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mh-sand);
}

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

.page-home .home-rail__link {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 8px;
  padding: 10px 8px;
  border-left: 3px solid transparent;
  color: var(--mh-cream);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.page-home .home-rail__num {
  grid-row: 1 / span 2;
  align-self: start;
  padding-top: 4px;
  font-size: 11px;
  color: var(--mh-gray);
  transition: color 0.2s ease;
}

.page-home .home-rail__name {
  font-family: var(--mh-font-display);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.page-home .home-rail__desc {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(247, 240, 227, 0.66);
}

.page-home .home-rail__link:hover,
.page-home .home-rail__link:focus-visible {
  background: rgba(30, 107, 255, 0.18);
  border-left-color: var(--mh-blue);
  outline: none;
}

.page-home .home-rail__link:hover .home-rail__num,
.page-home .home-rail__link:focus-visible .home-rail__num {
  color: var(--mh-blue);
}

.page-home .home-rail__foot {
  display: block;
  margin-top: 12px;
  padding: 10px 8px 4px;
  border-top: 1px solid rgba(247, 240, 227, 0.18);
  font-size: 13px;
  color: var(--mh-sand);
  text-decoration: none;
}

.page-home .home-rail__foot:hover,
.page-home .home-rail__foot:focus-visible {
  color: var(--mh-cream);
  text-decoration: underline;
}

/* 首屏右侧 */
.page-home .home-hero__context {
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mh-sand);
}

.page-home .home-hero__title {
  max-width: 16em;
  font-size: clamp(30px, 7.4vw, 58px);
  color: var(--mh-cream);
}

.page-home .home-hero__lead {
  max-width: 46ch;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(247, 240, 227, 0.84);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.page-home .home-hero .mh-btn--ghost {
  border-color: rgba(247, 240, 227, 0.5);
  color: var(--mh-cream);
}

.page-home .home-hero .mh-btn--ghost:hover,
.page-home .home-hero .mh-btn--ghost:focus-visible {
  background: rgba(247, 240, 227, 0.12);
  color: var(--mh-cream);
}

/* 层叠战报卡片流 */
.page-home .home-hero__feed {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0 0 12px;
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .home-feed__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 16px 18px;
  border-top: 3px solid var(--mh-red);
  background: var(--mh-cream);
  color: var(--mh-ink);
  box-shadow: var(--mh-shadow-soft);
  scroll-snap-align: start;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.page-home .home-feed__item:nth-child(2) {
  border-top-color: var(--mh-blue);
}

.page-home .home-feed__item:nth-child(3) {
  border-top-color: var(--mh-orange);
}

.page-home .home-feed__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(30, 21, 18, 0.08), 0 22px 36px -26px rgba(30, 21, 18, 0.85);
}

.page-home .home-feed__title {
  font-size: 17px;
  line-height: 1.34;
}

.page-home .home-feed__text {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--home-body-text);
}

.page-home .home-feed__link {
  align-self: flex-start;
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--mh-red);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
}

.page-home .home-feed__link:hover,
.page-home .home-feed__link:focus-visible {
  color: var(--mh-blue);
}

/* ---------- 通用章节 ---------- */
.page-home .home-section {
  position: relative;
  padding: 52px 0;
}

.page-home .home-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-bottom: 26px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--mh-ink);
}

.page-home .home-section__num {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--mh-red);
}

.page-home .home-section__title {
  font-size: clamp(22px, 5vw, 34px);
  max-width: 22em;
}

.page-home .home-section__note {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mh-gray);
}

/* ---------- 01 本周战报 ---------- */
.page-home .home-weekly {
  background: var(--mh-cream);
  border-top: 6px solid var(--mh-ink);
}

.page-home .home-weekly::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 46%;
  height: 6px;
  background: var(--mh-red);
}

.page-home .home-weekly__body {
  display: grid;
  gap: 24px;
}

.page-home .home-weekly__figure {
  margin: 0;
}

.page-home .home-weekly__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-top: 3px solid var(--mh-red);
}

.page-home .home-weekly__figure figcaption {
  margin-top: 8px;
  padding-left: 8px;
  border-left: 2px solid var(--mh-sand);
  font-size: 12px;
  line-height: 1.6;
  color: var(--mh-gray);
}

.page-home .home-weekly__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: var(--home-soft-line);
}

.page-home .home-weekly__item {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-bottom: var(--home-soft-line);
}

.page-home .home-weekly__when {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mh-orange);
}

.page-home .home-weekly__item h3 {
  font-size: 17px;
  line-height: 1.34;
}

.page-home .home-weekly__item h3 a {
  color: var(--mh-ink);
  text-decoration: none;
}

.page-home .home-weekly__item h3 a:hover,
.page-home .home-weekly__item h3 a:focus-visible {
  color: var(--mh-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .home-weekly__item p {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--home-body-text);
}

/* ---------- 02 赛事与场馆 ---------- */
.page-home .home-route {
  background: var(--mh-cream-deep);
  border-top: var(--home-soft-line);
  border-bottom: var(--home-soft-line);
}

.page-home .home-route__grid {
  display: grid;
  gap: 24px;
}

.page-home .home-route__figure {
  margin: 0;
  order: 1;
}

.page-home .home-route__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-left: 4px solid var(--mh-red);
}

.page-home .home-route__figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mh-gray);
}

.page-home .home-route__body {
  order: 0;
}

.page-home .home-route .home-section__head {
  margin-bottom: 20px;
}

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

.page-home .home-steps__item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 14px;
  border: var(--home-soft-line);
  background: rgba(247, 240, 227, 0.72);
}

.page-home .home-steps__n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--mh-ink);
  color: var(--mh-cream);
  font-size: 13px;
  line-height: 1;
}

.page-home .home-steps__item h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.page-home .home-steps__item p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--home-body-text);
}

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

.page-home .home-route__facts li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--home-body-text);
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--mh-line);
}

.page-home .home-route__num {
  flex: none;
  font-family: var(--mh-font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--mh-red);
}

/* ---------- 03 专家专栏 ---------- */
.page-home .home-experts {
  overflow: hidden;
  background: var(--mh-navy);
  color: var(--mh-cream);
}

.page-home .home-experts__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .home-experts__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  filter: grayscale(0.5);
}

.page-home .home-experts__inner {
  position: relative;
  z-index: 1;
}

.page-home .home-section__head--light {
  border-bottom-color: rgba(247, 240, 227, 0.45);
}

.page-home .home-section__head--light .home-section__title {
  color: var(--mh-cream);
}

.page-home .home-section__head--light .home-section__note {
  color: var(--mh-sand);
}

.page-home .home-experts__lead {
  max-width: 56ch;
  margin-bottom: 24px;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(247, 240, 227, 0.78);
}

.page-home .home-experts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.page-home .home-experts__card {
  padding: 16px 14px 18px;
  border: 1px solid rgba(247, 240, 227, 0.2);
  border-top: 3px solid var(--mh-orange);
  background: rgba(16, 27, 45, 0.66);
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.page-home .home-experts__card:nth-child(2) {
  border-top-color: var(--mh-red);
}

.page-home .home-experts__card:nth-child(3) {
  border-top-color: var(--mh-blue);
}

.page-home .home-experts__card:nth-child(4) {
  border-top-color: var(--mh-sand);
}

.page-home .home-experts__card:hover {
  transform: translateY(-3px);
}

.page-home .home-experts__card h3 {
  margin-bottom: 8px;
  font-size: 17px;
  color: var(--mh-cream);
}

.page-home .home-experts__card p {
  font-size: 13px;
  line-height: 1.72;
  color: rgba(247, 240, 227, 0.74);
}

.page-home .home-experts__subscribe {
  display: grid;
  gap: 16px;
  padding: 20px 0 0;
  border-top: 2px solid var(--mh-red);
}

.page-home .home-experts__subtitle {
  font-size: 19px;
  margin-bottom: 8px;
  color: var(--mh-cream);
}

.page-home .home-experts__subscribe p {
  max-width: 48ch;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(247, 240, 227, 0.78);
}

.page-home .home-experts__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.page-home .home-experts__meta {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mh-sand);
}

/* ---------- 04 收藏清单 ---------- */
.page-home .home-shelf {
  background: var(--mh-cream);
}

.page-home .home-shelf__grid {
  display: grid;
  gap: 24px;
}

.page-home .home-shelf__lead {
  max-width: 52ch;
  margin-bottom: 20px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--home-body-text);
}

.page-home .home-shelf__groups {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.page-home .home-shelf__groups li {
  padding: 10px 12px;
  border-left: 3px solid var(--mh-sand);
  background: rgba(239, 228, 207, 0.6);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--home-body-text);
}

.page-home .home-shelf__groups span {
  display: block;
  margin-bottom: 2px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--mh-red);
}

.page-home .home-shelf__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .home-shelf__panel {
  padding: 20px 18px 18px;
  background: var(--mh-ink);
  color: var(--mh-cream);
  border-top: 4px solid var(--mh-red);
}

.page-home .home-shelf__panel-label {
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mh-sand);
}

.page-home .home-shelf__stats {
  display: grid;
  gap: 14px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.page-home .home-shelf__stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(247, 240, 227, 0.16);
}

.page-home .home-shelf__stat-num {
  font-family: var(--mh-font-display);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  color: var(--mh-cream);
}

.page-home .home-shelf__stats li:nth-child(2) .home-shelf__stat-num {
  color: var(--mh-orange);
}

.page-home .home-shelf__stat-label {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(247, 240, 227, 0.72);
}

.page-home .home-shelf__panel-note {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--mh-sand);
}

/* ---------- 05 内容库与信任 ---------- */
.page-home .home-proof {
  background: var(--mh-cream-deep);
  border-top: 6px solid var(--mh-red);
}

.page-home .home-proof__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.page-home .home-proof__item {
  padding: 10px 0 10px 12px;
  border-left: 3px solid var(--mh-ink);
}

.page-home .home-proof__num {
  display: block;
  font-family: var(--mh-font-display);
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--mh-red);
}

.page-home .home-proof__label {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--home-body-text);
}

.page-home .home-proof__footer {
  display: grid;
  gap: 18px;
  padding-top: 20px;
  border-top: var(--home-soft-line);
}

.page-home .home-proof__text {
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--home-body-text);
}

.page-home .home-proof__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-home .home-hero__inner {
    padding-top: 44px;
    padding-bottom: 56px;
  }

  .page-home .home-hero__feed {
    grid-auto-columns: 46%;
  }

  .page-home .home-weekly__body {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
    gap: 32px;
  }

  .page-home .home-experts__subscribe {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .page-home .home-shelf__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: start;
    gap: 32px;
  }

  .page-home .home-proof__footer {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .page-home .home-section {
    padding: 64px 0;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero__inner {
    grid-template-columns: var(--home-rail-w) minmax(0, 1fr);
    align-items: start;
    gap: 40px;
    padding-top: 52px;
    padding-bottom: 64px;
  }

  .page-home .home-hero__feed {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 24px;
    scroll-snap-type: none;
  }

  .page-home .home-feed__item:nth-child(2) {
    transform: translateY(18px);
  }

  .page-home .home-feed__item:nth-child(3) {
    transform: translateY(36px);
  }

  .page-home .home-feed__item:nth-child(2):hover {
    transform: translateY(15px);
  }

  .page-home .home-feed__item:nth-child(3):hover {
    transform: translateY(33px);
  }

  .page-home .home-route__grid {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    align-items: start;
    gap: 40px;
  }

  .page-home .home-route__figure {
    order: 0;
  }

  .page-home .home-route__body {
    order: 1;
  }

  .page-home .home-proof__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-feed__item,
  .page-home .home-experts__card {
    transition: none;
  }

  .page-home .home-feed__item:hover,
  .page-home .home-experts__card:hover,
  .page-home .home-feed__item:nth-child(2):hover,
  .page-home .home-feed__item:nth-child(3):hover {
    transform: none;
  }
}
