.page-home {
  --hm-cut: 18px;
  --hm-card: rgba(22, 32, 47, 0.86);
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(26px, 5vw, 60px) 0 clamp(40px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
}

.page-home .hm-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 38%;
  opacity: 0.34;
  filter: saturate(0.72);
}

.page-home .hm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, var(--ink) 0%, rgba(10, 17, 32, 0.88) 44%, rgba(10, 17, 32, 0.34) 100%),
    linear-gradient(180deg, rgba(10, 17, 32, 0) 62%, var(--ink) 100%);
  pointer-events: none;
}

.page-home .hm-hero-inner {
  position: relative;
}

.page-home .hm-context {
  margin: 0 0 clamp(16px, 2.6vw, 30px);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.page-home .hm-hero-title {
  margin: 0 0 clamp(18px, 2.6vw, 28px);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(46px, 8.6vw, 124px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-home .hm-title-line {
  display: block;
  color: var(--cyan);
}

.page-home .hm-hero-lede {
  max-width: 38em;
  margin: 0 0 clamp(22px, 3vw, 34px);
  font-size: 17px;
  line-height: 1.75;
  color: rgba(233, 239, 246, 0.86);
}

.page-home .hm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 clamp(26px, 3.6vw, 42px);
}

.page-home .hm-index {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0 14px;
  margin: 0 0 clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .hm-index-link {
  flex: 0 0 auto;
  padding: 7px 13px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.page-home .hm-index-link:hover,
.page-home .hm-index-link[aria-current] {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}

.page-home .hm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 3.6vw, 40px);
}

.page-home .hm-col-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-home .hm-col-title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
}

/* 前瞻摘要卡 */
.page-home .hm-preview-card {
  position: relative;
  padding: 18px 20px 20px;
  margin: 0 0 12px;
  background: linear-gradient(155deg, var(--hm-card), rgba(12, 44, 46, 0.55));
  transition: transform 0.25s ease, background 0.25s ease;
  clip-path: polygon(0 0, calc(100% - var(--hm-cut)) 0, 100% var(--hm-cut), 100% 100%, var(--hm-cut) 100%, 0 calc(100% - var(--hm-cut)));
}

.page-home .hm-preview-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--cyan);
}

.page-home .hm-preview-card--b::before {
  background: var(--orange);
}

.page-home .hm-preview-card--c::before {
  background: var(--mist);
}

.page-home .hm-preview-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(155deg, rgba(29, 27, 63, 0.9), rgba(12, 44, 46, 0.6));
}

.page-home .hm-card-meta {
  margin: 0 0 10px;
}

.page-home .hm-card-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.32;
  color: var(--text);
}

.page-home .hm-card-text {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(233, 239, 246, 0.78);
}

.page-home .hm-card-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* 时间轴 */
.page-home .hm-tl-media {
  margin: 0 0 22px;
}

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

.page-home .hm-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan) 0%, rgba(33, 230, 193, 0.06) 100%);
}

.page-home .hm-tl-item {
  position: relative;
  padding: 0 0 20px 32px;
  transition: background 0.25s ease;
}

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

.page-home .hm-tl-item:last-child {
  padding-bottom: 0;
}

.page-home .hm-tl-item:hover {
  background: rgba(33, 230, 193, 0.06);
}

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

.page-home .hm-tl-meta {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.page-home .hm-score {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  padding: 2px 10px;
  color: var(--ink);
  background: var(--cyan);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.page-home .hm-tl-text {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(233, 239, 246, 0.82);
}

.page-home .hm-tl-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 通用区块 ---------- */
.page-home .hm-section {
  padding: clamp(46px, 7vw, 96px) 0;
}

.page-home .hm-lede {
  max-width: 40em;
  margin: 0 0 clamp(22px, 3vw, 32px);
  font-size: 17px;
  line-height: 1.75;
  color: rgba(233, 239, 246, 0.84);
}

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

/* ---------- 入口清单 ---------- */
.page-home .hm-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-home .hm-chip {
  flex: 0 0 auto;
  white-space: nowrap;
  scroll-snap-align: start;
  padding: 9px 15px;
  font-size: 14px;
  line-height: 1.4;
}

.page-home .hm-entry-media {
  margin: clamp(22px, 3.6vw, 38px) 0 0;
}

/* ---------- 排名对照 ---------- */
.page-home .hm-standings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: start;
}

.page-home .hm-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  background: rgba(10, 17, 32, 0.42);
  padding: 4px 2px 6px;
}

.page-home .hm-table-caption {
  padding: 12px 14px 4px;
  text-align: left;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .hm-standings .data-table {
  min-width: 620px;
  width: 100%;
    border-collapse: collapse;
}

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

.page-home .hm-spark svg {
  display: block;
}

.page-home .hm-spark polyline {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home .hm-spark--down polyline {
  stroke: var(--orange);
}

.page-home .hm-standings-media {
  margin: 0;
}

/* ---------- 赛季快照 ---------- */
.page-home .hm-snapshot {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .hm-snapshot li {
  padding: 20px 20px 22px;
  background: rgba(10, 17, 32, 0.5);
  border-top: 3px solid var(--cyan);
  clip-path: polygon(0 0, calc(100% - var(--hm-cut)) 0, 100% var(--hm-cut), 100% 100%, var(--hm-cut) 100%, 0 calc(100% - var(--hm-cut)));
}

.page-home .hm-snapshot li:nth-child(2n) {
  border-top-color: var(--orange);
}

.page-home .hm-snapshot li:nth-child(3n) {
  border-top-color: var(--mist);
}

.page-home .hm-snap-num {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 50px);
  line-height: 1;
  color: var(--text);
}

.page-home .hm-snap-unit {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-home .hm-snap-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(233, 239, 246, 0.78);
}

/* ---------- 栏目直达 ---------- */
.page-home .hm-reach-sec {
  background: var(--ink);
}

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

.page-home .hm-reach-card {
  display: block;
  padding: 22px 22px 24px;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(150deg, var(--ink-2), rgba(29, 27, 63, 0.72));
  transition: transform 0.25s ease, background 0.25s ease;
  clip-path: polygon(0 0, calc(100% - var(--hm-cut)) 0, 100% var(--hm-cut), 100% 100%, var(--hm-cut) 100%, 0 calc(100% - var(--hm-cut)));
}

.page-home .hm-reach-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(150deg, #1b2738, rgba(12, 44, 46, 0.85));
}

.page-home .hm-reach-tag {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--orange);
}

.page-home .hm-reach-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}

.page-home .hm-reach-card p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.72;
  color: rgba(233, 239, 246, 0.78);
}

.page-home .hm-reach-go {
  display: inline-block;
  font-size: 14px;
  color: var(--cyan);
  border-bottom: 2px solid var(--cyan);
  padding-bottom: 2px;
}

.page-home .hm-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(26px, 4vw, 44px);
  padding: 22px 22px;
  border: 1px solid var(--line);
  background: rgba(56, 18, 31, 0.42);
  clip-path: polygon(0 0, calc(100% - var(--hm-cut)) 0, 100% var(--hm-cut), 100% 100%, var(--hm-cut) 100%, 0 calc(100% - var(--hm-cut)));
}

.page-home .hm-help-text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: rgba(233, 239, 246, 0.84);
}

.page-home .hm-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

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

@media (min-width: 900px) {
  .page-home .hm-hero-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-home .hm-preview-card {
    padding: 20px 22px 22px;
  }
}

@media (min-width: 1080px) {
  .page-home .hm-standings-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

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

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