.page-home {
  --hm-gap: clamp(14px, 2vw, 22px);
  --hm-tile-pad: clamp(18px, 2.6vw, 28px);
}

/* ---------- 首屏拼贴 ---------- */
.page-home .hm-hero {
  position: relative;
  overflow: hidden;
  background: var(--fh-night);
  color: var(--fh-paper);
}

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

.page-home .hm-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .34;
}

.page-home .hm-hero__glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(112deg, rgba(11, 27, 43, .95) 0%, rgba(11, 27, 43, .76) 46%, rgba(179, 58, 31, .58) 100%),
    radial-gradient(760px 380px at 86% 10%, rgba(255, 176, 32, .26), transparent 68%);
}

.page-home .hm-hero__inner {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--fh-header-h) + 32px);
  padding-bottom: clamp(42px, 6vw, 78px);
}

.page-home .hm-hero .fh-breadcrumb a,
.page-home .hm-hero .fh-breadcrumb li {
  color: rgba(255, 255, 255, .66);
  text-decoration: none;
}

.page-home .hm-hero .fh-breadcrumb li[aria-current] {
  color: var(--fh-paper);
}

.page-home .hm-hero__head {
  max-width: 46em;
  margin-top: clamp(18px, 3vw, 30px);
}

.page-home .hm-hero__title {
  margin: 12px 0 0;
  font-size: clamp(30px, 6.2vw, 60px);
  line-height: 1.06;
  letter-spacing: -.02em;
  font-weight: 900;
  color: var(--fh-paper);
}

.page-home .hm-hero__lede {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .8);
  max-width: 38em;
}

.page-home .hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 28px);
}

/* 拼贴卡片 */
.page-home .hm-collage {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hm-gap);
  margin-top: clamp(28px, 4.5vw, 48px);
}

.page-home .hm-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--hm-tile-pad);
  border-radius: var(--fh-r-md);
  transition: transform .35s var(--fh-ease), box-shadow .35s var(--fh-ease);
}

.page-home .hm-tile:hover,
.page-home .hm-tile:focus-within {
  transform: translateY(-4px);
}

.page-home .hm-tile--paper {
  background: var(--fh-paper);
  color: var(--fh-ink);
  box-shadow: 10px 10px 0 -1px rgba(255, 255, 255, .18), 10px 10px 0 0 rgba(16, 24, 32, .28);
}

.page-home .hm-tile--paper::before {
  content: "";
  position: absolute;
  left: 0;
  top: var(--hm-tile-pad);
  bottom: var(--hm-tile-pad);
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--fh-flame), var(--fh-amber));
}

.page-home .hm-tile--dark {
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--fh-line-dark);
  color: var(--fh-paper);
  backdrop-filter: blur(8px);
}

.page-home .hm-tile__title {
  margin: 2px 0 0;
  font-size: clamp(19px, 2.4vw, 25px);
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -.01em;
}

.page-home .hm-tile__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.66;
  color: var(--fh-slate);
}

.page-home .hm-tile--dark .hm-tile__text {
  color: rgba(255, 255, 255, .72);
}

.page-home .hm-tile__link {
  margin-top: auto;
  padding-top: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--fh-flame);
}

.page-home .hm-tile--dark .hm-tile__link {
  color: var(--fh-mint);
}

.page-home .hm-tile__link:hover {
  text-decoration: underline;
}

.page-home .hm-tile .fh-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
}

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

.page-home .hm-mini li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 7px;
  font-size: 14px;
  color: var(--fh-slate);
  border-bottom: 1px dashed var(--fh-line-soft);
}

.page-home .hm-mini li span {
  color: var(--fh-flame);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
}

/* ---------- 赛程时间轴 ---------- */
.page-home .hm-schedule {
  background: var(--fh-ash);
}

.page-home .hm-schedule__grid {
  display: grid;
  gap: clamp(26px, 4vw, 46px);
}

.page-home .hm-rail {
  background: var(--fh-paper);
  border: 1px solid var(--fh-line-soft);
  border-radius: var(--fh-r-lg);
  padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--fh-shadow-1);
}

.page-home .hm-rail .fh-title {
  margin: 10px 0 0;
}

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

.page-home .hm-timeline::before {
  content: "";
  position: absolute;
  left: 79px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: linear-gradient(180deg, var(--fh-flame), rgba(232, 69, 30, .08));
}

.page-home .hm-timeline__item {
  display: grid;
  grid-template-columns: 58px 22px 1fr;
  column-gap: 10px;
  align-items: start;
  padding: 11px 0;
}

.page-home .hm-timeline__time {
  text-align: right;
  font-size: 15px;
  font-weight: 700;
  color: var(--fh-ink);
  letter-spacing: .02em;
}

.page-home .hm-timeline__dot {
  width: 12px;
  height: 12px;
  margin: 4px auto 0;
  border-radius: 50%;
  background: var(--fh-paper);
  border: 2px solid var(--fh-flame);
  position: relative;
  z-index: 1;
}

.page-home .hm-timeline__item.is-now .hm-timeline__dot {
  background: var(--fh-mint);
  border-color: var(--fh-mint);
  box-shadow: 0 0 0 5px rgba(43, 224, 166, .18);
}

.page-home .hm-timeline__body h3 {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 800;
  color: var(--fh-ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.page-home .hm-timeline__body p {
  margin: 0;
  font-size: 13px;
  color: var(--fh-slate);
}

.page-home .hm-schedside {
  align-self: start;
}

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

.page-home .hm-points li {
  position: relative;
  padding: 14px 16px 14px 20px;
  background: var(--fh-paper);
  border-radius: var(--fh-r-sm);
  border-left: 3px solid var(--fh-flame);
  font-size: 15px;
  line-height: 1.62;
  color: var(--fh-ink);
  box-shadow: var(--fh-shadow-1);
}

.page-home .hm-schedside__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* ---------- 平板排名 ---------- */
.page-home .hm-rank {
  background: var(--fh-night);
  color: var(--fh-paper);
}

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

.page-home .hm-rank__body .fh-lede {
  color: rgba(255, 255, 255, .78);
  margin: 14px 0 0;
}

.page-home .hm-rank__body .fh-title {
  color: var(--fh-paper);
  margin: 10px 0 0;
}

.page-home .hm-shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--fh-r-md);
  border: 1px solid var(--fh-line-dark);
  background: var(--fh-night-2);
}

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

.page-home .hm-shot--tall img {
  aspect-ratio: 3 / 2;
}

.page-home .hm-shot--wide img {
  aspect-ratio: 2 / 1;
}

.page-home .hm-shot .fh-media__tag {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(11, 27, 43, .82);
  color: var(--fh-mint);
  border: 1px solid rgba(43, 224, 166, .4);
  border-radius: var(--fh-r-pill);
  padding: 4px 12px;
  font-size: 12px;
  letter-spacing: .06em;
}

.page-home .hm-rank__media .fh-note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .58);
}

.page-home .hm-rankcards {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.page-home .hm-rankcard {
  padding: 16px 16px 18px;
  border-radius: var(--fh-r-sm);
  background: rgba(255, 255, 255, .055);
  border: 1px solid var(--fh-line-dark);
}

.page-home .hm-rankcard__idx {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--fh-flame);
  font-weight: 700;
}

.page-home .hm-rankcard h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: var(--fh-paper);
}

.page-home .hm-rankcard p:last-child {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.62;
  color: rgba(255, 255, 255, .7);
}

/* ---------- 阵容确认 ---------- */
.page-home .hm-lineup {
  background: var(--fh-paper);
}

.page-home .hm-lineup__card {
  display: grid;
  gap: clamp(24px, 3.4vw, 42px);
  padding: clamp(22px, 4vw, 46px);
  border-radius: var(--fh-r-lg);
  color: var(--fh-paper);
  background:
    linear-gradient(148deg, var(--fh-night) 0%, var(--fh-night-2) 56%, rgba(179, 58, 31, .88) 100%);
  box-shadow: 14px 14px 0 -1px rgba(230, 233, 239, .9), 14px 14px 0 0 rgba(16, 24, 32, .12);
}

.page-home .hm-eyebrow--mint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fh-mint);
}

.page-home .hm-title--light {
  color: var(--fh-paper);
  margin: 10px 0 0;
}

.page-home .hm-lineup__lede {
  margin: 16px 0 0;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.72;
  color: rgba(255, 255, 255, .78);
}

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

.page-home .hm-checks li {
  padding: 14px 16px;
  border-radius: var(--fh-r-sm);
  border: 1px solid var(--fh-line-dark);
  background: rgba(255, 255, 255, .05);
  font-size: 14px;
  line-height: 1.62;
  color: rgba(255, 255, 255, .78);
}

.page-home .hm-checks__label {
  display: block;
  margin-bottom: 4px;
  font-weight: 800;
  font-size: 14.5px;
  color: var(--fh-mint);
  letter-spacing: .02em;
}

.page-home .hm-lineup__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ---------- 信任区 ---------- */
.page-home .hm-trust {
  background: var(--fh-ash);
}

.page-home .hm-trust__head {
  max-width: 44em;
}

.page-home .hm-trust__head .fh-title {
  margin: 10px 0 0;
}

.page-home .hm-trust__head .fh-lede {
  margin: 14px 0 0;
  color: var(--fh-slate);
}

.page-home .hm-trust__grid {
  display: grid;
  gap: clamp(24px, 3.4vw, 40px);
  margin-top: clamp(26px, 3.6vw, 40px);
}

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

.page-home .hm-stat {
  padding: 16px;
  border-radius: var(--fh-r-sm);
  background: var(--fh-paper);
  border: 1px solid var(--fh-line-soft);
  border-top: 3px solid var(--fh-flame);
}

.page-home .hm-stat__num {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--fh-ink);
  letter-spacing: -.01em;
}

.page-home .hm-stat__unit {
  margin-left: 3px;
  font-size: .46em;
  font-weight: 700;
  color: var(--fh-flame);
}

.page-home .hm-stat__label {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--fh-slate);
}

.page-home .hm-trust__media {
  align-self: start;
}

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

.page-home .hm-trust__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.68;
  color: var(--fh-slate);
}

.page-home .hm-trust__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fh-flame);
}

/* ---------- 服务与联系 ---------- */
.page-home .hm-next {
  background: var(--fh-paper);
}

.page-home .hm-next .fh-title {
  margin: 10px 0 0;
}

.page-home .hm-next__grid {
  display: grid;
  gap: 18px;
  margin-top: clamp(24px, 3.4vw, 36px);
}

.page-home .hm-nextcard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--fh-r-md);
  border: 1px solid var(--fh-line-soft);
  background: var(--fh-ash);
}

.page-home .hm-nextcard--flame {
  background: linear-gradient(160deg, rgba(232, 69, 30, .12), rgba(255, 176, 32, .12));
  border-color: rgba(232, 69, 30, .32);
}

.page-home .hm-nextcard--night {
  background: linear-gradient(160deg, rgba(11, 27, 43, .06), rgba(127, 182, 217, .14));
  border-color: rgba(58, 74, 90, .24);
}

.page-home .hm-nextcard h3 {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.3;
  font-weight: 800;
  color: var(--fh-ink);
}

.page-home .hm-nextcard > p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--fh-slate);
}

.page-home .hm-nextcard .fh-btn {
  align-self: flex-start;
  margin-top: auto;
}

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

.page-home .hm-contact li {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fh-ink);
}

.page-home .hm-contact li span {
  flex: 0 0 42px;
  font-weight: 700;
  color: var(--fh-flame-deep);
}

.page-home .hm-contact a {
  color: var(--fh-ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 69, 30, .4);
}

.page-home .hm-contact a:hover {
  color: var(--fh-flame);
}

/* ---------- 动态笔记 ---------- */
.page-home .hm-notes {
  background: var(--fh-ash);
}

.page-home .hm-notes__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.page-home .hm-notes__more {
  font-size: 14px;
  font-weight: 700;
  color: var(--fh-flame);
  text-decoration: none;
}

.page-home .hm-notes__more:hover {
  text-decoration: underline;
}

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

.page-home .hm-note {
  padding: 18px 20px;
  border-radius: var(--fh-r-sm);
  background: var(--fh-paper);
  border: 1px solid var(--fh-line-soft);
  border-left: 3px solid var(--fh-amber);
}

.page-home .hm-note__time {
  margin: 0 0 6px;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--fh-flame-deep);
  font-weight: 700;
}

.page-home .hm-note h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: var(--fh-ink);
}

.page-home .hm-note p:last-child {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.64;
  color: var(--fh-slate);
}

/* ---------- 回到顶部浮岛 ---------- */
.page-home .hm-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 30;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--fh-r-pill);
  background: var(--fh-flame);
  color: var(--fh-paper);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 28px -14px rgba(232, 69, 30, .95);
  transition: transform .3s var(--fh-ease), background .3s var(--fh-ease);
}

.page-home .hm-top:hover,
.page-home .hm-top:focus-visible {
  transform: translateY(-3px);
  background: var(--fh-flame-deep);
}

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

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

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

@media (min-width: 760px) {
  .page-home .hm-collage {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .hm-tile--schedule {
    grid-column: 1 / span 6;
    grid-row: 1 / span 2;
  }

  .page-home .hm-tile--rank {
    grid-column: 7 / span 6;
    grid-row: 1;
    margin-left: clamp(0px, 1.6vw, 22px);
  }

  .page-home .hm-tile--lineup {
    grid-column: 7 / span 6;
    grid-row: 2;
    margin-left: clamp(0px, 3.2vw, 44px);
  }
}

@media (min-width: 900px) {
  .page-home .hm-schedule__grid {
    grid-template-columns: 1.06fr 0.94fr;
    align-items: start;
  }

  .page-home .hm-rank__grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .page-home .hm-lineup__card {
    grid-template-columns: 1.06fr 0.94fr;
    align-items: center;
  }

  .page-home .hm-trust__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

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

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

  .page-home .hm-tile:hover,
  .page-home .hm-tile:focus-within,
  .page-home .hm-top:hover,
  .page-home .hm-top:focus-visible {
    transform: none;
  }
}
