.page-home {
  --hm-rail: 76px;
  --hm-gap: clamp(16px, 2.2vw, 30px);
  --hm-pad: clamp(40px, 6vw, 84px);
  --hm-soft: #b9c7bf;
  --hm-ink-soft: #4a5a52;
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  position: relative;
  overflow: hidden;
  color: var(--mist);
  padding-block: clamp(20px, 3.6vw, 40px) clamp(36px, 6vw, 76px);
  border-bottom: 1px solid var(--line-dark);
  background:
    radial-gradient(115% 85% at 88% -10%, rgba(30, 158, 104, 0.32), transparent 62%),
    linear-gradient(158deg, #071a2f 0%, #0a2138 52%, #0e2a44 100%);
}

.page-home .hm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(221, 229, 220, 0.055) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(221, 229, 220, 0.055) 0 1px, transparent 1px 64px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 88%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 88%);
}

.page-home .hm-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-home .hm-hero .breadcrumb {
  margin-bottom: clamp(18px, 3vw, 32px);
}

.page-home .hm-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--hm-gap);
}

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

.page-home .hm-hero-copy h1 {
  margin: 10px 0 14px;
  font-size: clamp(2.1rem, 6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--mist);
}

.page-home .hm-lede {
  max-width: 46ch;
  margin: 0;
  font-size: clamp(0.98rem, 1.1vw, 1.06rem);
  line-height: 1.8;
  color: #c6d3cb;
}

.page-home .hm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(18px, 2.6vw, 28px);
}

.page-home .hm-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .hm-hero-figure {
  margin: 0;
  position: relative;
  border: 1px solid var(--line-dark-strong);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a2138;
}

.page-home .hm-hero-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hm-hero-figure .media-caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--neon);
}

/* ---------- 赛事日历 ---------- */
.page-home .hm-calendar {
  padding-block: var(--hm-pad);
  color: var(--mist);
  border-bottom: 1px solid var(--line-dark);
  background: linear-gradient(180deg, #0a2138 0%, #071a2f 100%);
}

.page-home .hm-calendar .section-title {
  color: var(--mist);
}

.page-home .hm-calendar .section-note {
  color: var(--hm-soft);
}

.page-home .hm-cal-list {
  list-style: none;
  margin: clamp(20px, 3vw, 34px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line-dark-strong);
}

.page-home .hm-cal-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
}

.page-home .hm-round {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}

.page-home .hm-match-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--mist);
}

.page-home .hm-team {
  font-weight: 700;
}

.page-home .hm-score {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: var(--neon);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.page-home .hm-match-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 0;
}

.page-home .hm-cal-state {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--turf-lit);
}

.page-home .hm-cal-figure {
  margin: clamp(24px, 3.6vw, 40px) 0 0;
  border: 1px solid var(--line-dark);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #0e2a44;
}

.page-home .hm-cal-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hm-cal-figure .media-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel);
  padding-top: 8px;
}

/* ---------- 双栏 ---------- */
.page-home .hm-duo {
  padding-block: var(--hm-pad);
  color: var(--ink);
  background: var(--mist);
  border-block: 1px solid var(--paper);
}

.page-home .hm-duo .section-title {
  color: var(--ink);
}

.page-home .hm-duo .section-note {
  color: var(--hm-ink-soft);
}

.page-home .hm-duo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--hm-gap);
  margin-top: clamp(20px, 3vw, 34px);
}

.page-home .hm-panel {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--paper);
  padding: clamp(16px, 2.2vw, 28px);
}

.page-home .hm-panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 56px;
  height: 3px;
  background: var(--turf);
}

.page-home .hm-panel--form::before {
  background: var(--home-away);
}

.page-home .hm-panel-title {
  margin: 0 0 14px;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  color: var(--ink);
}

.page-home .hm-tabs .tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  border: 0;
}

.page-home .hm-tabs .tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  appearance: none;
  padding: 6px 10px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-tag);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.page-home .hm-tabs .tab .tab-num {
  font-weight: 700;
  color: var(--turf);
}

.page-home .hm-tabs .tab:hover {
  border-color: var(--turf);
}

.page-home .hm-tabs .tab[aria-selected="true"] {
  background: var(--night);
  border-color: var(--night);
  color: var(--mist);
}

.page-home .hm-tabs .tab[aria-selected="true"] .tab-num {
  color: var(--neon);
}

.page-home .hm-tabs .tab:focus-visible {
  outline: 2px solid var(--turf-lit);
  outline-offset: 2px;
}

.page-home .hm-tabs .tabpanel {
  padding-top: 16px;
}

.page-home .hm-panel-lead {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--hm-ink-soft);
}

.page-home .hm-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--paper);
}

.page-home .hm-metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: #ffffff;
}

.page-home .hm-metric dt {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--hm-ink-soft);
}

.page-home .hm-metric dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--turf);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.page-home .hm-form-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
}

.page-home .hm-form-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.page-home .hm-form-k {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--home-away);
}

/* ---------- 数据中心 ---------- */
.page-home .hm-data {
  padding-block: var(--hm-pad);
  color: var(--mist);
  background: linear-gradient(180deg, #071a2f 0%, #0e2a44 100%);
  border-bottom: 1px solid var(--line-dark);
}

.page-home .hm-data .section-title {
  color: var(--mist);
}

.page-home .hm-data .section-note {
  color: var(--hm-soft);
}

.page-home .hm-data-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--hm-gap);
  margin-top: clamp(20px, 3vw, 34px);
}

.page-home .hm-card {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid var(--line-dark-strong);
  background: rgba(14, 42, 68, 0.72);
}

.page-home .hm-card h3 {
  margin: 0 0 16px;
  font-size: clamp(1.1rem, 1.5vw, 1.32rem);
  color: var(--mist);
}

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

.page-home .hm-tiers li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 12px 0;
  border-top: 1px dashed var(--line-dark-strong);
}

.page-home .hm-tiers li:last-child {
  border-bottom: 1px dashed var(--line-dark-strong);
}

.page-home .hm-tier-name {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--neon);
}

.page-home .hm-tier-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--hm-soft);
}

.page-home .hm-shot-scroll {
  overflow-x: auto;
}

.page-home .hm-shot-table {
  width: 100%;
  min-width: 300px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-home .hm-shot-table thead th {
  padding: 8px 6px;
  border-bottom: 1px solid var(--line-dark-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--steel);
  text-align: right;
}

.page-home .hm-shot-table thead th:first-child {
  text-align: left;
}

.page-home .hm-shot-table tbody th {
  padding: 9px 6px;
  border-bottom: 1px solid var(--line-dark);
  font-weight: 400;
  text-align: left;
  color: var(--hm-soft);
}

.page-home .hm-shot-table tbody td {
  padding: 9px 6px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--neon);
  text-align: right;
}

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

.page-home .hm-data-figure {
  margin: clamp(24px, 3.6vw, 40px) 0 0;
  border: 1px solid var(--line-dark);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #0a2138;
}

.page-home .hm-data-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hm-data-figure .media-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel);
  padding-top: 8px;
}

/* ---------- 规模数据条 ---------- */
.page-home .hm-strip {
  padding-block: clamp(26px, 3.6vw, 44px);
  background: var(--night);
  border-bottom: 1px solid var(--line-dark);
}

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

.page-home .hm-strip-grid li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 12px;
  border-left: 2px solid var(--turf);
}

.page-home .hm-stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--neon);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.page-home .hm-stat-label {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--steel);
}

/* ---------- 战报归档 ---------- */
.page-home .hm-reports {
  padding-block: var(--hm-pad);
  color: var(--ink);
  background: var(--mist);
  border-bottom: 1px solid var(--paper);
}

.page-home .hm-reports .section-title {
  color: var(--ink);
}

.page-home .hm-reports .section-note {
  color: var(--hm-ink-soft);
}

.page-home .hm-report-list {
  list-style: none;
  margin: clamp(20px, 3vw, 34px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
}

.page-home .hm-report-item a {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
  text-decoration: none;
  color: var(--ink);
  transition: background-color 160ms ease, padding-left 160ms ease;
}

.page-home .hm-report-item a:hover,
.page-home .hm-report-item a:focus-visible {
  background: rgba(18, 107, 74, 0.06);
  padding-left: 8px;
}

.page-home .hm-report-no {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--turf);
}

.page-home .hm-report-title {
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  font-weight: 600;
  line-height: 1.5;
}

.page-home .hm-report-meta {
  grid-column: 2;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--steel);
}

.page-home .hm-archive {
  margin-top: 16px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--paper);
}

.page-home .hm-archive summary {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--turf);
}

.page-home .hm-archive summary:focus-visible {
  outline: 2px solid var(--turf-lit);
  outline-offset: 3px;
}

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

.page-home .hm-archive-list li {
  padding: 8px 0;
  border-top: 1px dashed var(--line-light);
  font-size: 14px;
  line-height: 1.7;
}

.page-home .hm-archive-list a {
  color: var(--ink);
  text-decoration: none;
}

.page-home .hm-archive-list a:hover,
.page-home .hm-archive-list a:focus-visible {
  color: var(--turf);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 三步路径 ---------- */
.page-home .hm-path {
  padding-block: var(--hm-pad);
  color: var(--mist);
  background:
    radial-gradient(90% 120% at 92% 0%, rgba(201, 255, 61, 0.16), transparent 60%),
    linear-gradient(155deg, #0b2540 0%, #126b4a 140%);
}

.page-home .hm-path .section-title {
  color: var(--mist);
}

.page-home .hm-path-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
}

.page-home .hm-path-lead {
  margin: 12px 0 16px;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.8;
  color: #d3e2d9;
}

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

.page-home .hm-steps li {
  padding-top: 14px;
  border-top: 2px solid var(--neon);
}

.page-home .hm-step-no {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--neon);
}

.page-home .hm-steps h3 {
  margin: 8px 0 8px;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  color: var(--mist);
}

.page-home .hm-steps p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.75;
  color: #c6d3cb;
}

.page-home .hm-path-note {
  margin: clamp(24px, 3.4vw, 38px) 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark-strong);
  font-size: 14px;
  line-height: 1.8;
  color: #c6d3cb;
}

/* ---------- 通用链接 ---------- */
.page-home .hm-link {
  display: inline-block;
  font-size: 14px;
  color: var(--turf-lit);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 160ms ease;
}

.page-home .hm-link:hover,
.page-home .hm-link:focus-visible {
  color: var(--neon);
}

.page-home .hm-duo .hm-link,
.page-home .hm-reports .hm-link {
  color: var(--turf);
}

.page-home .hm-duo .hm-link:hover,
.page-home .hm-duo .hm-link:focus-visible,
.page-home .hm-reports .hm-link:hover,
.page-home .hm-reports .hm-link:focus-visible {
  color: var(--ink);
}

.page-home .hm-path-note a {
  color: var(--neon);
  text-underline-offset: 4px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-home .hm-cal-row {
    grid-template-columns: 96px minmax(0, 1fr) 210px;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
  }

  .page-home .hm-cal-state {
    text-align: right;
  }

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

  .page-home .hm-report-item a {
    grid-template-columns: 56px minmax(0, 1fr) 170px;
    align-items: baseline;
  }

  .page-home .hm-report-meta {
    grid-column: 3;
    text-align: right;
  }

  .page-home .hm-form-list li {
    grid-template-columns: 74px minmax(0, 1fr);
    align-items: baseline;
  }
}

@media (min-width: 900px) {
  .page-home .hm-hero-inner {
    grid-template-columns: var(--hm-rail) minmax(0, 1.06fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(22px, 3vw, 44px);
  }

  .page-home .hm-scale {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-top: 6px;
    padding-right: 14px;
    border-right: 1px solid var(--line-dark);
  }

  .page-home .hm-scale-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.06em;
    color: var(--steel);
  }

  .page-home .hm-scale-item b {
    font-weight: 700;
    color: var(--neon);
  }

  .page-home .hm-duo-grid {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .hm-panel--form {
    margin-top: 40px;
  }

  .page-home .hm-data-grid {
    grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(20px, 3vw, 40px);
  }

  .page-home .hm-card--shot {
    margin-top: 48px;
  }

  .page-home .hm-path-grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
  }

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

@media (min-width: 1120px) {
  .page-home .hm-cal-figure {
    aspect-ratio: 21 / 8;
  }

  .page-home .hm-data-figure {
    aspect-ratio: 21 / 7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-link,
  .page-home .hm-tabs .tab,
  .page-home .hm-report-item a {
    transition: none;
  }
}
