/* ==========================================================================
   Page: home  —  作用域 .page-home
   ========================================================================== */

.page-home {
  --hm-band: linear-gradient(90deg,
      var(--jn-celadon) 0 32%,
      var(--jn-night) 32% 66%,
      var(--jn-vermilion) 66% 100%);
  --hm-veil: linear-gradient(180deg,
      rgba(16, 36, 58, .08) 0%,
      rgba(16, 36, 58, .58) 56%,
      rgba(16, 36, 58, .93) 100%);
}

/* ---------- 01 首屏 ---------- */

.page-home .hm-hero {
  padding-bottom: clamp(36px, 6vw, 68px);
}

.page-home .hm-hero__head {
  max-width: 48rem;
  margin: 0 0 clamp(20px, 3vw, 34px);
}

.page-home .hm-hero__crumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--jn-code);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--jn-mono);
}

.page-home .hm-hero__crumb::before {
  content: "";
  flex: none;
  width: 28px;
  height: 4px;
  background: var(--jn-vermilion);
  transform: skewX(-22deg);
}

.page-home .hm-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--jn-ink);
}

.page-home .hm-hero__lede {
  margin: 0;
  max-width: 40em;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.78;
  color: var(--jn-body);
}

/* 拼贴墙 */

.page-home .hm-collage {
  display: grid;
  gap: clamp(12px, 1.5vw, 18px);
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "stage"
    "focus"
    "ticker"
    "bar";
}

@media (min-width: 880px) {
  .page-home .hm-collage {
    grid-template-columns: minmax(0, 1.66fr) minmax(0, 1fr);
    grid-template-areas:
      "stage focus"
      "stage ticker"
      "bar   bar";
  }
}

.page-home .hm-stage {
  grid-area: stage;
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 22px;
  min-height: clamp(280px, 52vw, 468px);
  margin: 0;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--jn-night);
  border: 1px solid rgba(216, 207, 192, .45);
  box-shadow: var(--jn-shadow);
  overflow: hidden;
  color: var(--jn-white);
}

.page-home .hm-stage__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.page-home .hm-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hm-veil);
  pointer-events: none;
}

.page-home .hm-stage__top,
.page-home .hm-stage__bottom {
  position: relative;
  z-index: 1;
}

.page-home .hm-stage__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.page-home .hm-stage__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  background: var(--jn-vermilion);
  font-family: var(--jn-code);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.page-home .hm-stage__live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jn-white);
  animation: hm-blink 1.8s var(--jn-ease) infinite;
}

@keyframes hm-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}

.page-home .hm-stage__league {
  font-family: var(--jn-code);
  font-size: 12px;
  letter-spacing: .05em;
  color: rgba(255, 253, 248, .78);
}

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

.page-home .hm-stage__score {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
}

.page-home .hm-stage__team {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 700;
  color: rgba(255, 253, 248, .9);
}

.page-home .hm-stage__colon {
  font-family: var(--jn-code);
  font-size: 22px;
  color: rgba(255, 253, 248, .45);
}

.page-home .hm-stage .jn-num--score {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1;
  color: var(--jn-vermilion);
  text-shadow: 0 8px 26px rgba(198, 55, 43, .38);
}

/* 焦点卡 */

.page-home .hm-focus {
  grid-area: focus;
  display: grid;
  grid-template-rows: auto auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--jn-white);
}

.page-home .hm-focus__media {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--jn-night);
}

.page-home .hm-focus__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.page-home .hm-focus__body {
  display: grid;
  gap: 7px;
  padding: clamp(14px, 1.6vw, 20px);
}

.page-home .hm-focus__kicker {
  margin: 0;
  font-family: var(--jn-code);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--jn-celadon);
}

.page-home .hm-focus__title {
  margin: 0;
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--jn-ink);
}

.page-home .hm-focus__clock {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  color: var(--jn-mono);
}

.page-home .hm-focus__clock .jn-num {
  font-size: 20px;
  color: var(--jn-vermilion);
}

/* 状态面板与底条 */

.page-home .hm-ticker {
  grid-area: ticker;
  align-self: stretch;
}

.page-home .hm-bar {
  grid-area: bar;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding: 12px clamp(14px, 1.6vw, 20px);
  background: rgba(255, 253, 248, .62);
  border: 1px dashed var(--jn-line);
}

.page-home .hm-bar__note {
  margin: 0;
  font-family: var(--jn-code);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .03em;
  color: var(--jn-mono);
}

.page-home .hm-bar__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--jn-celadon);
  text-decoration: none;
  border-bottom: 1px solid var(--jn-celadon-2);
  padding-bottom: 2px;
  transition: color 150ms var(--jn-ease);
}

.page-home .hm-bar__link:hover,
.page-home .hm-bar__link:focus-visible {
  color: var(--jn-vermilion);
  border-bottom-color: var(--jn-vermilion);
}

/* ---------- 通用章节头 ---------- */

.page-home .hm-head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  padding-top: 22px;
}

.page-home .hm-head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(180px, 44vw);
  height: 5px;
  background: var(--hm-band);
  transform: skewX(-26deg);
  transform-origin: left bottom;
}

.page-home .hm-head__num {
  font-family: var(--jn-code);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--jn-celadon);
}

.page-home .hm-head__title {
  margin: 0;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--jn-ink);
}

/* ---------- 02 回看集锦 ---------- */

.page-home .hm-replay__lead {
  display: grid;
  gap: clamp(16px, 2.2vw, 30px);
  margin-bottom: clamp(20px, 2.6vw, 30px);
}

@media (min-width: 880px) {
  .page-home .hm-replay__lead {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    align-items: center;
  }
}

.page-home .hm-replay__fig {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--jn-night);
  border: 1px solid var(--jn-line);
  box-shadow: var(--jn-shadow);
}

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

.page-home .hm-replay__fig::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36%;
  background: linear-gradient(180deg, rgba(16, 36, 58, 0) 0%, rgba(16, 36, 58, .84) 100%);
  pointer-events: none;
}

.page-home .hm-replay__text {
  display: grid;
  gap: 14px;
}

.page-home .hm-replay__text .jn-lede {
  margin: 0;
  max-width: 34em;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.72;
  color: var(--jn-ink);
}

.page-home .hm-replay__para {
  margin: 0;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--jn-body);
}

.page-home .hm-replay__filter {
  margin-bottom: clamp(14px, 1.8vw, 20px);
}

.page-home .hm-replay__cards {
  display: grid;
  gap: clamp(12px, 1.6vw, 18px);
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 720px) {
  .page-home .hm-replay__cards {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .page-home .hm-clip:nth-child(1) { grid-column: span 4; }
  .page-home .hm-clip:nth-child(2) { grid-column: span 2; }
  .page-home .hm-clip:nth-child(3) { grid-column: span 2; }
  .page-home .hm-clip:nth-child(4) { grid-column: span 4; }
}

.page-home .hm-clip {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: clamp(16px, 1.8vw, 22px);
  background: var(--jn-white);
  border: 1px solid var(--jn-line);
  box-shadow: var(--jn-shadow);
  transition: border-color 150ms var(--jn-ease);
}

.page-home .hm-clip::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 4px;
  height: 44px;
  background: var(--jn-celadon);
}

.page-home .hm-clip:hover {
  border-color: var(--jn-celadon-2);
}

.page-home .hm-clip__meta {
  margin: 0;
  font-family: var(--jn-code);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--jn-mono);
}

.page-home .hm-clip__title {
  margin: 0;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.36;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--jn-ink);
}

.page-home .hm-clip__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--jn-body);
}

.page-home .hm-clip__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 14px;
  margin: 6px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--jn-line);
  font-family: var(--jn-code);
  font-size: 12px;
  color: var(--jn-mono);
}

.page-home .hm-clip__spark {
  width: 96px;
  height: 26px;
  margin-top: 4px;
  color: var(--jn-celadon-2);
}

.page-home .hm-replay__more {
  margin: clamp(18px, 2.4vw, 26px) 0 0;
}

/* ---------- 03 战报节奏（深色分区） ---------- */

.page-home .jn-section--night .hm-head__title {
  color: var(--jn-white);
}

.page-home .jn-section--night .hm-head__num {
  color: var(--jn-celadon-2);
}

.page-home .hm-commute__grid {
  display: grid;
  gap: clamp(22px, 3vw, 42px);
}

@media (min-width: 880px) {
  .page-home .hm-commute__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    align-items: start;
  }
}

.page-home .hm-commute__copy {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
}

.page-home .hm-commute__copy .jn-lede {
  margin: 0;
  max-width: 34em;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.76;
  color: var(--jn-white);
}

.page-home .hm-commute__note {
  margin: 0;
  max-width: 38em;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 253, 248, .74);
}

.page-home .hm-commute__times {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(169, 195, 206, .28);
}

.page-home .hm-commute__slot {
  display: grid;
  gap: 4px 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(169, 195, 206, .28);
}

@media (min-width: 620px) {
  .page-home .hm-commute__slot {
    grid-template-columns: 152px minmax(0, 1fr);
    align-items: baseline;
  }
}

.page-home .hm-commute__t {
  font-family: var(--jn-code);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--jn-celadon-2);
}

.page-home .hm-commute__label {
  display: block;
  margin-bottom: 3px;
  font-weight: 700;
  color: var(--jn-white);
}

.page-home .hm-commute__desc {
  display: block;
  font-size: 15px;
  line-height: 1.72;
  color: rgba(255, 253, 248, .7);
}

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

.page-home .hm-commute .jn-cta--quiet {
  color: var(--jn-white);
  border-bottom: 1px solid rgba(255, 253, 248, .45);
}

.page-home .hm-commute__phone {
  margin: 0 auto;
  width: 100%;
  max-width: 300px;
}

.page-home .hm-commute__phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: rgba(255, 253, 248, .06);
  border: 1px solid rgba(169, 195, 206, .35);
}

.page-home .hm-commute__cap {
  margin-top: 12px;
  font-family: var(--jn-code);
  font-size: 12px;
  line-height: 1.65;
  color: rgba(255, 253, 248, .58);
}

/* ---------- 04 三步订阅 ---------- */

.page-home .hm-sub__lede {
  margin: 0 0 clamp(20px, 2.6vw, 30px);
  max-width: 42em;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.76;
  color: var(--jn-body);
}

.page-home .hm-sub__steps {
  display: grid;
  gap: clamp(14px, 1.8vw, 20px);
  list-style: none;
  margin: 0 0 clamp(22px, 3vw, 32px);
  padding: 0;
}

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

.page-home .hm-sub__step {
  padding: clamp(18px, 2vw, 24px);
  background: var(--jn-white);
  border: 1px solid var(--jn-line);
  border-top: 4px solid var(--jn-celadon);
  box-shadow: var(--jn-shadow);
}

.page-home .hm-sub__step:nth-child(2) {
  border-top-color: var(--jn-night);
}

.page-home .hm-sub__step:nth-child(3) {
  border-top-color: var(--jn-vermilion);
}

.page-home .hm-sub__idx {
  display: block;
  margin-bottom: 8px;
  font-family: var(--jn-code);
  font-size: 26px;
  font-weight: 700;
  color: var(--jn-celadon-2);
}

.page-home .hm-sub__step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--jn-ink);
}

.page-home .hm-sub__step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--jn-body);
}

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

.page-home .hm-sub__foot .jn-meta {
  margin: 0;
}

/* ---------- 05 覆盖范围 ---------- */

.page-home .hm-scope__grid {
  display: grid;
  gap: clamp(18px, 2.6vw, 34px);
}

@media (min-width: 880px) {
  .page-home .hm-scope__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
  }
}

.page-home .hm-scope__sub {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--jn-ink);
}

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

.page-home .hm-scope__copy {
  margin: 0;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.82;
  color: var(--jn-body);
}

/* ---------- 06 常见疑问 ---------- */

.page-home .hm-faq__grid {
  display: grid;
  gap: clamp(14px, 1.8vw, 20px);
}

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

.page-home .hm-faq__item {
  padding: clamp(18px, 2vw, 24px);
  background: rgba(255, 253, 248, .92);
  border: 1px solid var(--jn-line);
  border-left: 3px solid var(--jn-celadon-2);
}

.page-home .hm-faq__item h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--jn-ink);
}

.page-home .hm-faq__item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--jn-body);
}

.page-home .hm-faq__more {
  margin: clamp(18px, 2.4vw, 26px) 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--jn-body);
}

.page-home .hm-faq__more a {
  color: var(--jn-celadon);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .hm-faq__more a:hover,
.page-home .hm-faq__more a:focus-visible {
  color: var(--jn-vermilion);
}

/* ---------- 收尾带 ---------- */

.page-home .hm-close__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  padding: clamp(20px, 2.6vw, 30px);
  background: var(--jn-night);
  border-left: 5px solid var(--jn-vermilion);
}

.page-home .hm-close__text {
  margin: 0;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(255, 253, 248, .8);
}

.page-home .hm-close__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.page-home .hm-close .jn-cta--quiet {
  color: var(--jn-white);
  border-bottom: 1px solid rgba(255, 253, 248, .45);
}

/* ---------- 响应式细节与动效 ---------- */

@media (max-width: 480px) {
  .page-home .hm-stage {
    min-height: 360px;
  }
  .page-home .hm-focus__media {
    aspect-ratio: 16 / 10;
  }
  .page-home .hm-commute__phone {
    max-width: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-stage__live::before {
    animation: none;
  }
  .page-home .hm-clip,
  .page-home .hm-bar__link {
    transition: none;
  }
}
</main>
