.page-home {
  --hm-cut: 40px;
  --hm-glow: 320px;
  position: relative;
  overflow-x: clip;
  background: var(--ink);
  color: var(--snow);
}

/* 夜场灯带光晕 */
.page-home::before,
.page-home::after {
  content: "";
  position: absolute;
  width: var(--hm-glow);
  height: var(--hm-glow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(26px);
}

.page-home::before {
  top: 40px;
  left: calc(-160px - var(--gutter));
  background: radial-gradient(circle, rgba(46, 242, 166, 0.30) 0%, rgba(46, 242, 166, 0) 68%);
}

.page-home::after {
  top: 780px;
  right: calc(-160px - var(--gutter));
  background: radial-gradient(circle, rgba(255, 122, 41, 0.26) 0%, rgba(255, 122, 41, 0) 68%);
}

.hm-open,
.hm-band,
.hm-collage-section,
.hm-family,
.hm-feed,
.hm-local,
.hm-quick,
.hm-close {
  position: relative;
  z-index: 1;
}

/* ---------- 首屏文字层 ---------- */
.hm-open {
  padding: clamp(22px, 4vw, 42px) 0 clamp(16px, 3vw, 26px);
}

.hm-kicker {
  margin: 20px 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pulse);
}

.hm-title {
  margin: 0 0 18px;
  max-width: 20ch;
}

.hm-lede {
  margin: 0;
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 全宽比分横幅 ---------- */
.hm-band {
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px, 3.6vw, 36px) 0;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.hm-band__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hm-band__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
}

.hm-band__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 18, 31, 0.88) 0%, rgba(10, 32, 56, 0.95) 100%);
}

.hm-band__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-bottom: 16px;
}

.hm-band__title {
  margin: 0;
}

.hm-band__sync {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--mist);
  font-variant-numeric: tabular-nums;
}

.hm-scores {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 2px solid var(--line);
}

.hm-score {
  padding: 16px 18px 14px;
  background: var(--ink-2);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.hm-score:hover,
.hm-score:focus-within {
  background: #0d2a4a;
}

.hm-score__league {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--steel);
}

.hm-score__line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.hm-score__team {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--snow);
}

.hm-score__team--away {
  text-align: right;
}

.hm-score__num {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 50px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--snow);
}

.hm-score.is-live .hm-score__num {
  color: var(--pulse);
}

.hm-score__state {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--mist);
  font-variant-numeric: tabular-nums;
}

.hm-score__more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}

.hm-score:hover .hm-score__more,
.hm-score:focus-within .hm-score__more {
  max-height: 140px;
  opacity: 1;
}

.hm-score__stats {
  margin: 12px 0 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
  font-variant-numeric: tabular-nums;
}

.hm-link {
  color: var(--pulse);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hm-link:hover {
  color: var(--flare);
}

/* ---------- 拼贴区 ---------- */
.hm-collage-section {
  padding: clamp(28px, 5vw, 52px) 0 clamp(20px, 3vw, 32px);
}

.hm-collage-wrap {
  display: grid;
  gap: 22px;
}

.hm-rail {
  border-left: 2px solid var(--line);
  padding-left: 18px;
}

.hm-rail__title {
  margin: 0 0 16px;
}

.hm-rail__list {
  position: relative;
  margin: 0 0 18px;
  padding: 0 0 0 20px;
  list-style: none;
}

.hm-rail__list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}

.hm-rail__item {
  position: relative;
  padding-bottom: 16px;
}

.hm-rail__item::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--steel);
  border: 2px solid var(--ink);
  box-sizing: border-box;
}

.hm-rail__item.is-live::before {
  background: var(--pulse);
  animation: hm-node 4s ease-in-out infinite;
}

@keyframes hm-node {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(46, 242, 166, 0.55);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(46, 242, 166, 0);
    transform: scale(1.18);
  }
}

.hm-rail__time {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--snow);
  font-variant-numeric: tabular-nums;
}

.hm-rail__item.is-live .hm-rail__time {
  color: var(--pulse);
}

.hm-rail__pair {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mist);
}

.hm-rail__link {
  width: 100%;
  text-align: center;
}

.hm-collage {
  display: grid;
  gap: 16px;
}

.hm-tile {
  padding: 20px;
}

.hm-tile__title {
  margin: 0 0 14px;
}

.hm-teams {
  display: flex;
  gap: 8px;
  margin: 0 0 16px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.hm-chip {
  flex: 0 0 auto;
  padding: 7px 14px;
  border: 2px solid var(--line);
  background: var(--ink);
  color: var(--mist);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.hm-chip:hover {
  border-color: var(--pulse);
  color: var(--snow);
}

.hm-team-radio:checked + .hm-chip {
  border-color: var(--pulse);
  background: rgba(46, 242, 166, 0.14);
  color: var(--pulse);
}

.hm-team-radio:focus-visible + .hm-chip {
  outline: 2px solid var(--pulse);
  outline-offset: 2px;
}

.hm-tile__shot {
  width: 100%;
  height: 176px;
  margin: 0 0 14px;
  overflow: hidden;
  aspect-ratio: auto;
}

.hm-tile__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hm-tile__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--mist);
}

.hm-tile__body {
  padding-top: 2px;
}

.hm-tile__body .bd-h3 {
  margin: 10px 0 8px;
}

.hm-tile__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--mist);
}

.hm-tile--pulse {
  background: linear-gradient(160deg, var(--ink-2) 0%, var(--ink) 88%);
}

.hm-tile--pulse .bd-h3 {
  margin: 0 0 16px;
}

.hm-pulse-stats {
  display: grid;
  gap: 12px;
}

/* ---------- 家庭回看 ---------- */
.hm-family {
  padding: clamp(30px, 5vw, 56px) 0;
  border-top: 2px solid var(--line);
}

.hm-family__grid {
  display: grid;
  gap: 24px;
}

.hm-family__copy .bd-h2 {
  margin: 8px 0 14px;
}

.hm-family__copy > p {
  margin: 0 0 18px;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--mist);
}

.hm-family__list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hm-family__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--snow);
}

.hm-family__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--flare);
}

.hm-family__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hm-family__shot {
  margin: 0;
}

/* ---------- 集锦卡片流 ---------- */
.hm-feed {
  padding: clamp(30px, 5vw, 56px) 0;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 55%, var(--ink) 100%);
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.hm-feed__head {
  margin-bottom: 24px;
}

.hm-feed__head p {
  margin: 10px 0 0;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--mist);
}

.hm-feed__grid {
  display: grid;
  gap: 16px;
}

.hm-post {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hm-post__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hm-post .bd-h3 {
  margin: 0;
}

.hm-post > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--mist);
}

.hm-feed__more {
  margin: 22px 0 0;
}

/* ---------- 山东本地赛事 ---------- */
.hm-local {
  padding: clamp(30px, 5vw, 56px) 0;
}

.hm-local__cut {
  padding: 2px;
  background: var(--line);
  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)));
}

.hm-local__panel {
  padding: clamp(22px, 4vw, 42px);
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
}

.hm-local__panel .bd-h2 {
  margin: 8px 0 14px;
}

.hm-local__lede {
  margin: 0 0 22px;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--mist);
}

.hm-local__list {
  display: grid;
  gap: 2px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 2px solid var(--line);
}

.hm-local__list li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: var(--ink);
}

.hm-local__k {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--amber);
}

.hm-local__v {
  font-size: 14px;
  line-height: 1.65;
  color: var(--mist);
}

.hm-local__link {
  align-self: flex-start;
}

/* ---------- 三标签检索快捷条 ---------- */
.hm-quick {
  padding: clamp(28px, 4.5vw, 50px) 0;
}

.hm-quick .bd-h2 {
  margin: 0 0 12px;
}

.hm-quick__note {
  margin: 0 0 22px;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--mist);
}

.hm-quick__tabs {
  display: flex;
  border: 2px solid var(--line);
  background: var(--ink-2);
}

.hm-quick__tabs label {
  flex: 1 1 0;
  padding: 13px 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--mist);
  cursor: pointer;
  border-right: 2px solid var(--line);
  transition: background 0.22s ease, color 0.22s ease;
}

.hm-quick__tabs label:last-child {
  border-right: 0;
}

.hm-quick__tabs label:hover {
  color: var(--snow);
  background: #0d2a4a;
}

.hm-quick__panels {
  border: 2px solid var(--line);
  border-top: 0;
  background: var(--ink);
  padding: 18px;
}

.hm-quick__panel {
  display: none;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.hm-quick__cta {
  margin-top: 20px;
}

.hm-quick:has(#hm-q-sched:checked) .hm-quick__panel--sched,
.hm-quick:has(#hm-q-score:checked) .hm-quick__panel--score,
.hm-quick:has(#hm-q-clip:checked) .hm-quick__panel--clip {
  display: block;
}

.hm-quick:has(#hm-q-sched:checked) .hm-quick__tabs label[for="hm-q-sched"],
.hm-quick:has(#hm-q-score:checked) .hm-quick__tabs label[for="hm-q-score"],
.hm-quick:has(#hm-q-clip:checked) .hm-quick__tabs label[for="hm-q-clip"] {
  background: var(--pulse);
  color: var(--ink);
}

.hm-quick__radio:focus-visible + .hm-quick__tabs {
  outline: 2px solid var(--pulse);
  outline-offset: 2px;
}

/* 无 :has 支持时，默认展开第一个面板 */
.hm-quick__panel--sched {
  display: block;
}

.hm-quick:has(#hm-q-score:checked) .hm-quick__panel--sched,
.hm-quick:has(#hm-q-clip:checked) .hm-quick__panel--sched {
  display: none;
}

/* ---------- 收口条 ---------- */
.hm-close {
  padding: 0 0 clamp(38px, 6vw, 64px);
}

.hm-close__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
  border: 2px solid var(--line);
  border-left: 6px solid var(--flare);
  background: var(--ink-2);
  box-shadow: var(--shadow-hard);
}

.hm-close__copy .bd-h3 {
  margin: 0 0 8px;
}

.hm-close__copy p {
  margin: 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .hm-scores {
    grid-template-columns: repeat(3, 1fr);
  }

  .hm-collage {
    grid-template-columns: repeat(2, 1fr);
  }

  .hm-tile--watch {
    grid-column: 1 / -1;
  }

  .hm-feed__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hm-pulse-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .hm-collage-wrap {
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
  }

  .hm-rail {
    position: sticky;
    top: 104px;
  }

  .hm-collage {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(0, auto);
  }

  .hm-tile--watch {
    grid-column: span 3;
    grid-row: span 2;
  }

  .hm-tile--clip {
    grid-column: span 3;
  }

  .hm-tile--pulse {
    grid-column: span 3;
  }

  .hm-tile__shot {
    height: 200px;
  }

  .hm-family__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 34px;
    align-items: center;
  }

  .hm-local__list li {
    grid-template-columns: 148px minmax(0, 1fr);
    align-items: baseline;
    gap: 16px;
  }
}

@media (min-width: 1040px) {
  .hm-feed__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hm-post--wide {
    grid-column: span 2;
  }
}

@media (max-width: 420px) {
  .hm-score__line {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "home num"
      "away num";
    align-items: center;
    row-gap: 4px;
  }

  .hm-score__team {
    grid-area: home;
  }

  .hm-score__num {
    grid-area: num;
  }

  .hm-score__team--away {
    grid-area: away;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-rail__item.is-live::before {
    animation: none;
  }

  .hm-score__more,
  .hm-chip,
  .hm-quick__tabs label,
  .hm-score {
    transition: none;
  }
}
<<<END>>>
