.page-home {
  --hm-line: 2px solid var(--line);
}

/* ---------- 01 首屏 ---------- */
.page-home .hm-hero-top {
  display: grid;
  gap: 26px;
  margin: 0 0 36px;
}

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

.page-home .hm-kicker {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--mint);
}

.page-home .hm-h1 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-size: clamp(30px, 7vw, 58px);
}

.page-home .hm-lead {
  margin: 20px 0 0;
  max-width: 34em;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-2);
}

.page-home .hm-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  padding: 11px 15px;
  border: var(--hm-line);
  background: var(--track);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.24s var(--ease), transform 0.24s var(--ease);
}

.page-home .hm-badge:hover,
.page-home .hm-badge:focus-visible {
  border-color: var(--mint);
  transform: translate(-2px, -2px);
}

.page-home .hm-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--amber);
}

.page-home .hm-badge-k {
  font-size: 14px;
  color: var(--ink-2);
}

.page-home .hm-badge-v {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-window {
  position: relative;
  border: var(--hm-line);
  background: var(--stand);
  box-shadow: var(--shadow);
}

.page-home .hm-tick {
  position: absolute;
  width: 14px;
  height: 14px;
  z-index: 3;
  pointer-events: none;
  border: 0 solid var(--mint);
}

.page-home .hm-tick.tl {
  top: -2px;
  left: -2px;
  border-top-width: 2px;
  border-left-width: 2px;
}

.page-home .hm-tick.tr {
  top: -2px;
  right: -2px;
  border-top-width: 2px;
  border-right-width: 2px;
}

.page-home .hm-tick.bl {
  bottom: -2px;
  left: -2px;
  border-bottom-width: 2px;
  border-left-width: 2px;
}

.page-home .hm-tick.br {
  bottom: -2px;
  right: -2px;
  border-bottom-width: 2px;
  border-right-width: 2px;
}

.page-home .hm-hero-grid {
  display: grid;
}

.page-home .hm-board {
  min-width: 0;
  padding: 20px 18px 18px;
}

.page-home .hm-board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: var(--hm-line);
}

.page-home .hm-board-head h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.page-home .hm-board-more {
  font-size: 14px;
  color: var(--mint);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}

.page-home .hm-board-more:hover,
.page-home .hm-board-more:focus-visible {
  border-bottom-color: var(--mint);
}

.page-home .hm-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: 14px;
  margin: 16px 0 0;
  padding: 0 0 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .hm-card {
  min-width: 0;
  scroll-snap-align: start;
  border: var(--hm-line);
  background: var(--night);
  padding: 12px 12px 8px;
}

.page-home .hm-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.page-home .hm-league {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.page-home .hm-round {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

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

.page-home .hm-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 40px 44px;
  align-items: center;
  gap: 6px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

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

.page-home .hm-rank {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-team {
  font-size: 15px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .hm-pts {
  font-family: var(--font-mono);
  font-size: 16px;
  text-align: right;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-delta {
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: right;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-delta--flat {
  color: var(--ink-3);
}

.page-home .hm-board-foot {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-3);
}

.page-home .hm-board-foot a {
  color: var(--mint);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.page-home .hm-board-foot a:hover,
.page-home .hm-board-foot a:focus-visible {
  border-bottom-color: var(--mint);
}

.page-home .hm-screen {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border-top: var(--hm-line);
  background: var(--night);
}

.page-home .hm-screen img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---------- 02 三条主线 ---------- */
.page-home .chapter-title {
  font-size: clamp(24px, 4.4vw, 40px);
  line-height: 1.2;
}

.page-home .hm-lines {
  display: grid;
  gap: 22px;
  margin: 44px 0 0;
}

.page-home .hm-line {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 20px 24px;
  border: var(--hm-line);
  background: var(--stand);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s var(--ease);
}

.page-home .hm-line:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--mint);
}

.page-home .hm-axis {
  display: block;
  width: 66px;
  height: 66px;
  margin: 0 0 16px;
  color: var(--line);
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.page-home .hm-axis-dot {
  fill: var(--amber);
  stroke: none;
}

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

.page-home .hm-line h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.35;
}

.page-home .hm-line p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}

.page-home .hm-line-list {
  list-style: none;
  margin: 16px 0 22px;
  padding: 0;
}

.page-home .hm-line-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-3);
}

.page-home .hm-line-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 2px;
  background: var(--mint);
}

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

/* ---------- 03 大屏观赛 ---------- */
.page-home .hm-screen-grid {
  display: grid;
  gap: 30px;
  margin: 44px 0 0;
}

.page-home .hm-screen-fig {
  margin: 0;
  min-width: 0;
  border: var(--hm-line);
  background: var(--stand);
  box-shadow: var(--shadow-sm);
}

.page-home .hm-screen-fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-home .hm-screen-fig .media-caption {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
}

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

.page-home .hm-spec {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .hm-spec:first-child {
  padding-top: 0;
}

.page-home .hm-spec-k {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-mono);
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-spec p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}

.page-home .hm-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ---------- 04 更新节奏 ---------- */
.page-home .hm-pub {
  display: grid;
  gap: 30px;
  margin: 44px 0 0;
}

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

.page-home .hm-pub-main .lead {
  margin: 0;
  max-width: 34em;
}

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

.page-home .hm-stat {
  padding-top: 12px;
  border-top: 2px solid var(--mint);
}

.page-home .hm-stat b {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(15px, 3vw, 20px);
  line-height: 1.25;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-stat span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-3);
}

.page-home .hm-pub-note {
  margin: 24px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}

.page-home .hm-pub-note a {
  color: var(--mint);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.page-home .hm-pub-note a:hover,
.page-home .hm-pub-note a:focus-visible {
  border-bottom-color: var(--mint);
}

.page-home .hm-details {
  min-width: 0;
  align-self: start;
  border: var(--hm-line);
  background: var(--stand);
}

.page-home .hm-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.page-home .hm-details summary::-webkit-details-marker {
  display: none;
}

.page-home .hm-details summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--mint);
}

.page-home .hm-details[open] summary {
  border-bottom: 1px solid var(--line);
}

.page-home .hm-details[open] summary::after {
  content: "–";
}

.page-home .hm-pub-groups {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.page-home .hm-group-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
}

.page-home .hm-group-title .num {
  color: var(--amber);
  margin-left: 4px;
}

.page-home .hm-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 9px 0 0;
  padding: 0;
}

.page-home .hm-group li {
  padding: 3px 8px;
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ---------- 05 判罚速查 ---------- */
.page-home .hm-rules {
  display: grid;
  gap: 30px;
  margin: 44px 0 0;
}

.page-home .hm-rules-fig {
  margin: 0;
  min-width: 0;
  border: var(--hm-line);
  background: var(--stand);
}

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

.page-home .hm-rules-fig .media-caption {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
}

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

.page-home .hm-rule {
  margin-bottom: 26px;
  padding: 2px 0 2px 18px;
  border-left: 2px solid var(--amber);
}

.page-home .hm-rule h3 {
  margin: 0 0 9px;
  font-size: 19px;
  line-height: 1.4;
}

.page-home .hm-rule p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}

.page-home .hm-rule-foot {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-3);
}

.page-home .hm-rule-foot a {
  color: var(--mint);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.page-home .hm-rule-foot a:hover,
.page-home .hm-rule-foot a:focus-visible {
  border-bottom-color: var(--mint);
}

/* ---------- 06 共建与联系 ---------- */
.page-home .hm-banner {
  margin: 44px 0 0;
  border: var(--hm-line);
  overflow: hidden;
  background: var(--stand);
}

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

.page-home .hm-together {
  display: grid;
  gap: 26px;
  margin: 30px 0 0;
}

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

.page-home .hm-together-copy .lead {
  margin: 0 0 16px;
  max-width: 34em;
}

.page-home .hm-together-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}

.page-home .hm-together-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-home .hm-track {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }
}

@media (min-width: 900px) {
  .page-home .hm-hero-top {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 56px;
  }

  .page-home .hm-hero-grid {
    grid-template-columns: 58fr 42fr;
  }

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

  .page-home .hm-screen {
    border-top: 0;
    border-left: var(--hm-line);
    position: relative;
  }

  .page-home .hm-screen img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

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

  .page-home .hm-pub {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 52px;
    align-items: start;
  }
}

@media (min-width: 920px) {
  .page-home .hm-screen-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 44px;
    align-items: start;
  }

  .page-home .hm-rules {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
  }

  .page-home .hm-together {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 44px;
  }

  .page-home .hm-together-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

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

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