.page-home {
  --hm-cut: 18px;
  --hm-cut-sm: 10px;
  display: block;
  background: var(--c-night);
}

/* ============ 首屏 ============ */
.page-home .hm-hero {
  position: relative;
  isolation: isolate;
  background: var(--c-night);
  padding: clamp(24px, 5vw, 52px) 0 clamp(40px, 6vw, 84px);
  overflow: hidden;
}

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

.page-home .hm-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 38%;
  opacity: .28;
}

.page-home .hm-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--c-night) 0%, rgba(5, 19, 15, .5) 44%, var(--c-night) 100%),
    linear-gradient(90deg, var(--c-night) 0%, rgba(5, 19, 15, .3) 58%, rgba(5, 19, 15, .72) 100%);
}

.page-home .hm-hero__grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--c-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .3;
  -webkit-mask-image: radial-gradient(120% 90% at 72% 18%, #000 0%, transparent 68%);
  mask-image: radial-gradient(120% 90% at 72% 18%, #000 0%, transparent 68%);
  pointer-events: none;
}

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

.page-home .hm-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: clamp(22px, 4vw, 44px);
}

.page-home .hm-context .mono-note {
  color: var(--c-muted);
}

.page-home .hm-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
}

.page-home .hm-hero__lead .eyebrow {
  margin-bottom: 14px;
}

.page-home .hm-hero__lead h1 {
  margin: 0 0 18px;
  max-width: 14ch;
}

.page-home .hm-hero__lead .lede {
  max-width: 46ch;
  margin: 0 0 clamp(20px, 3vw, 32px);
}

.page-home .hm-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.page-home .hm-hero__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--c-muted);
}

.page-home .hm-hero__meta .num {
  color: var(--c-green);
  font-weight: 700;
  margin-right: 4px;
}

/* 比分牌 */
.page-home .hm-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-home .hm-score {
  position: relative;
  padding: clamp(14px, 2.4vw, 20px);
  background: var(--c-turf);
  border: 1px solid var(--c-line);
  clip-path: polygon(var(--hm-cut) 0, 100% 0, 100% calc(100% - var(--hm-cut)), calc(100% - var(--hm-cut)) 100%, 0 100%, 0 var(--hm-cut));
  transition: border-color 220ms var(--ease), transform 220ms var(--ease);
}

.page-home .hm-score:hover {
  border-color: var(--c-green);
  transform: translateY(-2px);
}

.page-home .hm-score--main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 172px;
  background: linear-gradient(150deg, var(--c-panel) 0%, var(--c-turf) 100%);
  border-color: var(--c-line);
}

.page-home .hm-score__clock {
  font-size: 20px;
  letter-spacing: .08em;
  color: var(--c-amber);
  font-weight: 700;
}

.page-home .hm-score__line {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 10vw, 88px);
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--c-amber);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-score__sep {
  color: var(--c-green);
  padding: 0 .06em;
}

.page-home .hm-score__label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-muted);
}

.page-home .hm-score__k {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: clamp(26px, 4.4vw, 34px);
  line-height: 1.1;
  color: var(--c-cyan);
}

.page-home .hm-score__t {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--c-muted);
}

/* ============ 修复状态 ============ */
.page-home .hm-fix {
  padding: clamp(30px, 5vw, 62px) 0;
}

.page-home .hm-fix__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3.4vw, 40px);
  padding: clamp(20px, 3.6vw, 42px);
  background: var(--c-turf);
  border-color: var(--c-line);
}

.page-home .hm-fix__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.page-home .hm-fix__head .h2 {
  margin: 0;
}

.page-home .hm-bar {
  position: relative;
  height: 30px;
  margin-top: 22px;
  background: var(--c-night);
  border: 1px solid var(--c-line);
  overflow: hidden;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.page-home .hm-bar__fill {
  display: block;
  height: 100%;
  width: 99.2%;
  background: linear-gradient(90deg, var(--c-panel) 0%, var(--c-green) 70%, var(--c-mint) 100%);
  animation: hm-fill 900ms var(--ease) both;
}

@keyframes hm-fill {
  from { width: 0; }
  to { width: 99.2%; }
}

.page-home .hm-bar__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.page-home .hm-bar__foot .mono-note:last-child {
  color: var(--c-green);
}

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

.page-home .hm-fix__figure {
  margin: 0;
}

.page-home .hm-fix__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--c-line);
  clip-path: polygon(var(--hm-cut) 0, 100% 0, 100% calc(100% - var(--hm-cut)), calc(100% - var(--hm-cut)) 100%, 0 100%, 0 var(--hm-cut));
}

/* ============ 当轮战报 ============ */
.page-home .hm-reports {
  padding: clamp(30px, 5vw, 66px) 0;
}

.page-home .hm-reports__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-bottom: clamp(26px, 4vw, 46px);
}

.page-home .hm-reports__head .prose {
  max-width: 56ch;
}

.page-home .hm-reports__figure {
  margin: 0;
}

/* 时段切换 */
.page-home .hm-league {
  position: relative;
}

.page-home .hm-league__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .hm-league__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.page-home .hm-league__tabs label {
  cursor: pointer;
  padding: 9px 18px;
  font-size: 14px;
  color: var(--c-muted);
  background: var(--c-turf);
  border: 1px solid var(--c-line);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: color 200ms var(--ease), border-color 200ms var(--ease), background-color 200ms var(--ease);
}

.page-home .hm-league__tabs label:hover {
  color: var(--c-text);
  border-color: var(--c-green);
}

.page-home #hm-lg-a:checked ~ .hm-league__tabs label[for="hm-lg-a"],
.page-home #hm-lg-b:checked ~ .hm-league__tabs label[for="hm-lg-b"],
.page-home #hm-lg-c:checked ~ .hm-league__tabs label[for="hm-lg-c"] {
  color: var(--c-night);
  background: var(--c-green);
  border-color: var(--c-green);
  font-weight: 700;
}

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

.page-home #hm-lg-a:checked ~ .hm-league__panels [data-panel="a"],
.page-home #hm-lg-b:checked ~ .hm-league__panels [data-panel="b"],
.page-home #hm-lg-c:checked ~ .hm-league__panels [data-panel="c"] {
  display: block;
}

.page-home .hm-tl {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .hm-tl__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 16px 0 16px 16px;
  border-left: 2px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  transition: border-left-color 220ms var(--ease), transform 220ms var(--ease), background-color 220ms var(--ease);
}

.page-home .hm-tl__item:hover {
  border-left-color: var(--c-green);
  transform: translateX(3px);
  background: var(--c-turf);
}

.page-home .hm-tl__stamp {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--c-cyan);
}

.page-home .hm-tl__item .h3 {
  margin: 0;
  font-size: clamp(16px, 2vw, 19px);
}

.page-home .hm-tl__item .tag {
  justify-self: start;
}

/* ============ 四条入口 ============ */
.page-home .hm-lines-sec {
  padding: clamp(30px, 5vw, 66px) 0;
}

.page-home .hm-lines-sec .h2 {
  margin-bottom: clamp(22px, 3.4vw, 38px);
}

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

.page-home .hm-line {
  display: block;
  padding: clamp(18px, 3vw, 28px);
  background: var(--c-turf);
  border: 1px solid var(--c-line);
  text-decoration: none;
  color: inherit;
  clip-path: polygon(var(--hm-cut) 0, 100% 0, 100% calc(100% - var(--hm-cut)), calc(100% - var(--hm-cut)) 100%, 0 100%, 0 var(--hm-cut));
  transition: border-color 220ms var(--ease), transform 220ms var(--ease), background-color 220ms var(--ease);
}

.page-home .hm-line:hover {
  border-color: var(--c-green);
  transform: translateY(-3px);
  background: var(--c-panel);
}

.page-home .hm-line__no {
  display: block;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--c-green);
  margin-bottom: 12px;
}

.page-home .hm-line .h3 {
  margin: 0 0 10px;
}

.page-home .hm-line p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-muted);
  max-width: 46ch;
}

.page-home .hm-line__go {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-amber);
}

.page-home .hm-line:hover .hm-line__go {
  color: var(--c-mint);
}

/* ============ 数据面板看点 ============ */
.page-home .hm-panel-feature {
  padding: clamp(30px, 5vw, 66px) 0;
  background: var(--c-turf);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.page-home .hm-panel-feature__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.6vw, 48px);
  align-items: center;
}

.page-home .hm-panel-feature__figure {
  margin: 0;
}

.page-home .hm-panel-feature__text .prose {
  max-width: 54ch;
  margin-bottom: clamp(18px, 2.6vw, 28px);
}

.page-home .hm-metrics {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--c-line);
}

.page-home .hm-metrics__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-line);
}

.page-home .hm-metrics__row dt {
  font-size: 14px;
  color: var(--c-muted);
}

.page-home .hm-metrics__row dd {
  margin: 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 16px;
  color: var(--c-cyan);
}

/* ============ 关注动态 ============ */
.page-home .hm-watch {
  padding: clamp(30px, 5vw, 66px) 0;
}

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

.page-home .hm-watch__col .prose {
  max-width: 52ch;
}

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

.page-home .hm-stat {
  padding: clamp(16px, 2.4vw, 22px);
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  clip-path: polygon(var(--hm-cut-sm) 0, 100% 0, 100% calc(100% - var(--hm-cut-sm)), calc(100% - var(--hm-cut-sm)) 100%, 0 100%, 0 var(--hm-cut-sm));
}

.page-home .hm-stat__num {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(24px, 3.6vw, 32px);
  line-height: 1.1;
  color: var(--c-amber);
}

.page-home .hm-stat__cap {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-muted);
}

/* ============ 继续看赛 ============ */
.page-home .hm-help {
  padding: clamp(30px, 5vw, 70px) 0 clamp(44px, 7vw, 90px);
}

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

.page-home .hm-help__left .prose {
  max-width: 52ch;
  margin-bottom: clamp(18px, 2.6vw, 26px);
}

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

.page-home .hm-help__card {
  padding: clamp(20px, 3.2vw, 32px);
  background: var(--c-turf);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-green);
  clip-path: polygon(var(--hm-cut) 0, 100% 0, 100% calc(100% - var(--hm-cut)), calc(100% - var(--hm-cut)) 100%, 0 100%, 0 var(--hm-cut));
}

.page-home .hm-help__card .h3 {
  margin-top: 0;
}

.page-home .hm-help__card > p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-muted);
}

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

.page-home .hm-help__contact li {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--c-line);
}

.page-home .hm-help__contact li:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-home .hm-help__val {
  font-size: 15px;
  color: var(--c-text);
  word-break: break-all;
}

.page-home .hm-copy {
  justify-self: start;
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--c-green);
  cursor: pointer;
  word-break: break-all;
  text-align: left;
  transition: color 200ms var(--ease);
}

.page-home .hm-copy:hover {
  color: var(--c-mint);
  text-decoration: underline;
}

.page-home .hm-copy[data-copied="true"] {
  color: var(--c-amber);
}

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

@media (min-width: 700px) {
  .page-home .hm-scoreboard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .hm-score--main {
    grid-column: 1 / 3;
  }

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

  .page-home .hm-line--wide:nth-of-type(1) { grid-column: span 4; }
  .page-home .hm-line:nth-of-type(2) { grid-column: span 2; }
  .page-home .hm-line:nth-of-type(3) { grid-column: span 2; }
  .page-home .hm-line--wide:nth-of-type(4) { grid-column: span 4; }

  .page-home .hm-tl__item {
    grid-template-columns: 108px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
  }

  .page-home .hm-tl__item .tag {
    justify-self: end;
  }

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

@media (min-width: 880px) {
  .page-home .hm-hero__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    align-items: end;
  }

  .page-home .hm-fix__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
  }

  .page-home .hm-reports__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
    align-items: end;
  }

  .page-home .hm-panel-feature__grid {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  }

  .page-home .hm-watch__grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: start;
  }

  .page-home .hm-help__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .page-home .hm-scoreboard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
  }

  .page-home .hm-score--main {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-bar__fill {
    animation: none;
    width: 99.2%;
  }

  .page-home .hm-score,
  .page-home .hm-line,
  .page-home .hm-tl__item {
    transition: none;
  }
}
</final>
</main>
