.page-home {
  --hm-onpaper: #16203F;
  --hm-bevel: 14px;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
}

.page-home .hm-block {
  padding: clamp(40px, 6vw, 88px) 0;
}

.page-home .hm-block--tight {
  padding: clamp(34px, 4.6vw, 62px) 0;
}

.page-home .hm-h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.3px;
  color: var(--text);
  max-width: 22em;
}

.page-home .hm-lead {
  margin: 14px 0 0;
  max-width: 42em;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.75;
}

/* ---------- 框景首屏 ---------- */
.page-home .hm-hero {
  padding-top: 16px;
}

.page-home .hm-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(168deg, #141C3B 0%, #0A1029 72%);
}

.page-home .hm-frame__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(147, 163, 201, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(147, 163, 201, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.page-home .hm-frame::before,
.page-home .hm-frame::after {
  content: "";
  position: absolute;
  width: 132px;
  height: 10px;
  pointer-events: none;
  background-image: repeating-linear-gradient(to right, var(--cyan) 0 2px, transparent 2px 12px);
  opacity: 0.55;
}

.page-home .hm-frame::before {
  top: 0;
  left: 0;
}

.page-home .hm-frame::after {
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(to right, var(--orange) 0 2px, transparent 2px 12px);
}

.page-home .hm-hero__head {
  position: relative;
  padding: clamp(20px, 4vw, 44px) clamp(18px, 3.4vw, 44px) clamp(20px, 3.6vw, 36px);
  border-bottom: 1px solid var(--line);
}

.page-home .hm-hero__metaline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.page-home .hm-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid rgba(33, 230, 193, 0.45);
  background: rgba(33, 230, 193, 0.08);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.page-home .hm-badge__dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(33, 230, 193, 0.9);
}

.page-home .hm-hero__title {
  margin: 14px 0 0;
  max-width: 17em;
  font-family: var(--font-display);
  font-size: clamp(34px, 5.8vw, 64px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.5px;
  color: var(--text);
}

.page-home .hm-hero__lead {
  margin: 16px 0 0;
  max-width: 42em;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.78;
}

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

.page-home .hm-hero__side {
  padding: 20px 18px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 16, 41, 0.45);
}

.page-home .hm-side__title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cyan);
  text-transform: uppercase;
}

.page-home .hm-side__note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.65;
  color: var(--mist);
}

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

.page-home .hm-watch {
  border-top: 1px solid var(--line);
}

.page-home .hm-watch:last-child {
  border-bottom: 1px solid var(--line);
}

.page-home .hm-watch__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 10px;
  width: 100%;
  min-height: 46px;
  padding: 8px 6px;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.16s var(--ease);
}

.page-home .hm-watch__row:hover,
.page-home .hm-watch__row:focus-visible {
  background: var(--lift);
}

.page-home .hm-watch__row:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-home .hm-watch__league {
  grid-column: 1;
  grid-row: 1;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.page-home .hm-watch__time {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mist);
}

.page-home .hm-watch__state {
  grid-column: 2;
  grid-row: 1 / span 2;
  padding: 4px 8px;
  border: 1px solid var(--line);
  color: var(--mist);
  font-size: 10px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.page-home .hm-watch__row[aria-pressed="true"] .hm-watch__state {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
  font-weight: 700;
}

.page-home .hm-side__cta {
  margin-top: 16px;
  width: 100%;
}

.page-home .hm-hero__stage {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(16px, 3vw, 28px);
}

.page-home .hm-hero__media {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
}

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

.page-home .hm-hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.page-home .hm-hero__foot p {
  margin: 0;
  max-width: 46em;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 四条主线 ---------- */
.page-home .hm-sec__head {
  display: grid;
  gap: 18px;
  margin-bottom: 26px;
}

.page-home .hm-channels__deco {
  margin: 0;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
}

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

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

.page-home .hm-ch {
  --hm-accent: var(--cyan);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 18px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--hm-bevel)), calc(100% - var(--hm-bevel)) 100%, 0 100%);
  transition: background 0.16s var(--ease), border-color 0.16s var(--ease), transform 0.16s var(--ease);
}

.page-home .hm-ch::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 4px;
  background: var(--hm-accent);
}

.page-home .hm-ch:hover,
.page-home .hm-ch:focus-within {
  transform: translateY(-2px);
  background: var(--lift);
  border-color: rgba(33, 230, 193, 0.4);
}

.page-home .hm-ch--orange {
  --hm-accent: var(--orange);
}

.page-home .hm-ch--violet {
  --hm-accent: var(--violet);
}

.page-home .hm-ch--mist {
  --hm-accent: var(--mist);
}

.page-home .hm-ch .ps-label {
  color: var(--hm-accent);
}

.page-home .hm-ch__title {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
}

.page-home .hm-ch__text {
  margin: 0;
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .hm-ch__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 6px;
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  align-self: flex-start;
}

.page-home .hm-ch__link::after {
  content: "→";
  color: var(--hm-accent);
  transition: transform 0.16s var(--ease);
}

.page-home .hm-ch__link:hover::after,
.page-home .hm-ch__link:focus-visible::after {
  transform: translateX(4px);
}

.page-home .hm-ch__link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ---------- 重点场次通栏 ---------- */
.page-home .hm-prime {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4.6vw, 52px) 0;
  background: var(--orange);
  color: var(--hm-onpaper);
}

.page-home .hm-prime::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(10, 16, 41, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 16, 41, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
}

.page-home .hm-prime__inner {
  position: relative;
  display: grid;
  gap: 22px;
}

.page-home .hm-prime__label {
  color: rgba(10, 16, 41, 0.72);
}

.page-home .hm-prime__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(23px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.3px;
  color: var(--hm-onpaper);
  max-width: 16em;
}

.page-home .hm-prime__note {
  margin: 12px 0 0;
  max-width: 34em;
  font-size: 13px;
  line-height: 1.72;
  color: rgba(10, 16, 41, 0.78);
}

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

.page-home .hm-prime__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  padding: 11px 0;
  border-top: 1px solid rgba(10, 16, 41, 0.28);
}

.page-home .hm-prime__item:last-child {
  border-bottom: 1px solid rgba(10, 16, 41, 0.28);
}

.page-home .hm-prime__time {
  min-width: 8.5em;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--hm-onpaper);
}

.page-home .hm-prime__desc {
  flex: 1 1 12em;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(10, 16, 41, 0.82);
}

.page-home .hm-prime__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 48px;
  padding: 0 24px;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--paper);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}

.page-home .hm-prime__cta:hover,
.page-home .hm-prime__cta:focus-visible {
  background: transparent;
  color: var(--hm-onpaper);
}

.page-home .hm-prime__cta:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* ---------- 版本与批次 ---------- */
.page-home .hm-version__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

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

.page-home .hm-fact {
  padding: 12px 14px;
  background: var(--panel);
}

.page-home .hm-fact dt {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.page-home .hm-fact dd {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

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

.page-home .hm-ruler__cell {
  padding: 9px 0 7px;
  border-top: 2px solid var(--cyan);
  background: linear-gradient(180deg, rgba(33, 230, 193, 0.16), transparent);
  font-family: var(--font-mono);
  font-size: 10px;
  text-align: center;
  color: var(--mist);
}

.page-home .hm-ruler__cell--now {
  border-top-color: var(--orange);
  background: linear-gradient(180deg, rgba(255, 122, 26, 0.3), transparent);
  color: var(--text);
  font-weight: 700;
}

.page-home .hm-version__caption {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-home .hm-version__cta {
  margin-top: 18px;
}

.page-home .hm-version__media {
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--line);
}

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

/* ---------- 周末连看 ---------- */
.page-home .hm-weekend__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

.page-home .hm-weekend__media {
  margin: 0;
  aspect-ratio: 3 / 4;
  max-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
}

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

.page-home .hm-steps {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.page-home .hm-step {
  padding: 16px 16px 16px 18px;
  background: var(--panel);
  border-left: 2px solid var(--line);
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease);
}

.page-home .hm-step:hover {
  background: var(--lift);
  border-left-color: var(--cyan);
}

.page-home .hm-step__no {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-home .hm-step h3 {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

.page-home .hm-step p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .hm-weekend__cta {
  margin-top: 20px;
}

/* ---------- 服务与支持 ---------- */
.page-home .hm-support {
  padding: clamp(40px, 6vw, 76px) 0;
  background: var(--paper);
  color: var(--hm-onpaper);
}

.page-home .hm-support__kicker {
  color: #0F6B5C;
}

.page-home .hm-support__title {
  color: var(--hm-onpaper);
}

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

.page-home .hm-support__card {
  padding: 18px 16px;
  background: #FBFAF4;
  border: 1px solid rgba(10, 16, 41, 0.16);
}

.page-home .hm-support__card .ps-label {
  color: rgba(10, 16, 41, 0.6);
}

.page-home .hm-support__val {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
  color: var(--hm-onpaper);
}

.page-home .hm-support__val--text {
  font-family: var(--font-body);
  font-size: 16px;
}

.page-home .hm-support__desc {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(10, 16, 41, 0.72);
}

.page-home .hm-support__link {
  display: inline-block;
  min-height: 44px;
  margin-top: 10px;
  line-height: 44px;
  color: var(--hm-onpaper);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid rgba(10, 16, 41, 0.5);
}

.page-home .hm-support__link:hover {
  border-bottom-color: var(--hm-onpaper);
}

.page-home .hm-support__link:focus-visible {
  outline: 2px solid #0F6B5C;
  outline-offset: 3px;
}

.page-home .hm-support__note {
  margin: 18px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(10, 16, 41, 0.66);
}

.page-home .hm-support__note .hm-support__link {
  display: inline;
  min-height: 0;
  margin: 0;
  line-height: inherit;
}

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

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

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

@media (min-width: 900px) {
  .page-home .hm-hero__split {
    grid-template-columns: minmax(264px, 288px) minmax(0, 1fr);
  }

  .page-home .hm-hero__side {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .page-home .hm-hero__head {
    padding-bottom: 30px;
  }

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

  .page-home .hm-prime__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
    align-items: start;
    gap: 32px;
  }

  .page-home .hm-prime__cta {
    align-self: center;
  }

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

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

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

@media (min-width: 1120px) {
  .page-home .hm-channels__grid {
    grid-template-columns: 1.32fr 1fr 1fr 0.9fr;
    align-items: start;
  }

  .page-home .hm-ch--orange {
    margin-top: 26px;
  }

  .page-home .hm-ch--violet {
    margin-top: 52px;
  }

  .page-home .hm-ch--mist {
    margin-top: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-ch,
  .page-home .hm-ch__link::after,
  .page-home .hm-step,
  .page-home .hm-prime__cta {
    transition: none;
  }

  .page-home .hm-ch:hover,
  .page-home .hm-ch:focus-within {
    transform: none;
  }
}
