.page-home {
  --home-rail-w: 92px;
  --home-gap: clamp(22px, 3vw, 44px);
  position: relative;
  display: block;
  background: var(--jb-night);
  color: var(--jb-mist);
  font-family: var(--jb-body);
  overflow-x: clip;
}

.page-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(180deg, rgba(242, 239, 230, 0.032) 0 1px, transparent 1px 5px);
}

.page-home > :not(.jb-progress) {
  position: relative;
  z-index: 1;
}

/* ── 页面上下文条 ───────────────────────────── */
.home-status {
  max-width: var(--jb-max);
  margin: 0 auto;
  padding: 22px var(--jb-pad) 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  border-bottom: 1px solid var(--jb-hair-soft);
}

.home-status__live {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--jb-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jb-dim);
}

.home-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jb-red);
  box-shadow: 0 0 0 4px rgba(255, 77, 109, 0.18);
  animation: home-pulse 2.2s ease-in-out infinite;
}

@keyframes home-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── 舞台与索引轨道 ─────────────────────────── */
.home-stage {
  max-width: var(--jb-max);
  margin: 0 auto;
  padding: clamp(24px, 3.6vw, 48px) var(--jb-pad) clamp(40px, 6vw, 84px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(34px, 4.6vw, 62px);
}

.home-stage__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(52px, 7vw, 110px);
}

.home-rail {
  border: 1px solid var(--jb-hair);
  background: linear-gradient(180deg, rgba(0, 245, 212, 0.07), rgba(7, 26, 31, 0.55));
  padding: 12px 10px 14px;
}

.home-rail__media {
  display: none;
}

.home-rail__cap {
  margin: 0 0 10px;
  font-family: var(--jb-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--jb-amber);
}

.home-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.home-rail__list::-webkit-scrollbar {
  display: none;
}

.home-rail__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--jb-hair);
  color: var(--jb-mist);
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.home-rail__link:hover,
.home-rail__link:focus-visible {
  border-color: var(--jb-cyan);
  color: var(--jb-cyan);
  background: rgba(0, 245, 212, 0.08);
}

.home-rail__k {
  font-family: var(--jb-head);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.home-rail__v {
  font-size: 12px;
  color: var(--jb-amber);
}

@media (min-width: 1040px) {
  .home-stage {
    grid-template-columns: var(--home-rail-w) minmax(0, 1fr);
    align-items: start;
  }

  .home-rail {
    position: sticky;
    top: 96px;
    padding: 12px 9px 16px;
  }

  .home-rail__media {
    display: block;
    margin: 0 0 12px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 1px solid var(--jb-hair-soft);
  }

  .home-rail__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.85) contrast(1.1);
  }

  .home-rail__list {
    flex-direction: column;
    overflow: visible;
  }

  .home-rail__link {
    flex-direction: column;
    gap: 3px;
    padding: 9px 4px;
    text-align: center;
    font-size: 12px;
  }
}

/* ── 框景首屏 ───────────────────────────────── */
.home-hero__frame {
  position: relative;
  overflow: hidden;
  background: var(--jb-deep);
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: saturate(0.6) contrast(1.12);
  z-index: 0;
}

.home-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(118deg, rgba(5, 46, 36, 0.96) 24%, rgba(5, 46, 36, 0.72) 58%, rgba(7, 26, 31, 0.94)),
    repeating-linear-gradient(90deg, rgba(0, 245, 212, 0.05) 0 1px, transparent 1px 48px);
}

.home-hero__body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 36px);
  padding: clamp(22px, 3.4vw, 48px);
}

.home-hero h1 {
  margin: 0 0 16px;
  font-family: var(--jb-head);
  font-weight: 800;
  font-size: clamp(1.95rem, 4.4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.012em;
  color: var(--jb-paper);
  text-wrap: balance;
}

.home-hero__lede {
  margin: 0 0 26px;
  max-width: 48ch;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.74;
  color: rgba(242, 239, 230, 0.78);
}

.home-hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 比分窗口 */
.home-board {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(0, 245, 212, 0.34);
  background: rgba(7, 26, 31, 0.84);
}

.home-board__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
  border-bottom: 1px solid var(--jb-hair);
  font-family: var(--jb-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jb-dim);
}

.home-board__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--jb-cyan);
}

.home-board__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jb-red);
  box-shadow: 0 0 0 4px rgba(255, 77, 109, 0.18);
  animation: home-pulse 1.9s ease-in-out infinite;
}

.home-board__rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-board__row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-bottom: 1px solid var(--jb-hair-soft);
  transition: background-color 0.2s ease;
}

.home-board__row:hover {
  background: rgba(0, 245, 212, 0.06);
}

.home-board__sport {
  font-family: var(--jb-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--jb-mist);
}

.home-board__phase {
  font-size: 12px;
  color: var(--jb-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-board__score {
  font-size: 17px;
  font-weight: 600;
  color: var(--jb-cyan);
  letter-spacing: 0.04em;
}

.home-board__foot {
  margin-top: auto;
  padding: 13px 15px;
  border-top: 1px solid var(--jb-hair);
}

.home-board__foot a {
  font-family: var(--jb-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--jb-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 245, 212, 0.35);
  padding-bottom: 2px;
}

.home-board__foot a:hover {
  border-bottom-color: var(--jb-cyan);
}

@media (min-width: 940px) {
  .home-hero__body {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

/* ── 共用小标题 ─────────────────────────────── */
.home-sec-head {
  max-width: 64ch;
  margin-bottom: clamp(22px, 3vw, 36px);
}

.home-sec-head h2 {
  margin: 0 0 12px;
  font-family: var(--jb-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.7vw, 2.3rem);
  line-height: 1.12;
  color: var(--jb-paper);
}

.home-sec-head p {
  margin: 0;
  font-size: 15px;
  line-height: 1.74;
  color: var(--jb-dim);
}

/* ── 战报卡片 ───────────────────────────────── */
.home-reports__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
}

.home-report {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: rgba(7, 26, 31, 0.74);
  border: 1px solid var(--jb-hair);
  border-left: 3px solid var(--jb-cyan);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.34);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-left-color 0.22s ease;
}

@media (hover: hover) {
  .home-report:hover {
    transform: translate(-3px, -3px);
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.44);
    border-left-color: var(--jb-amber);
  }
}

.home-report__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
  font-family: var(--jb-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--jb-dim);
}

.home-report h3 {
  margin: 0 0 10px;
  font-family: var(--jb-head);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.36;
  color: var(--jb-paper);
}

.home-report p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(216, 222, 217, 0.72);
}

.home-report__data {
  margin: 0 0 16px !important;
  font-family: var(--jb-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--jb-amber);
}

.home-report__more {
  margin-top: auto;
  align-self: flex-start;
  font-size: 13px;
  color: var(--jb-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 245, 212, 0.4);
  padding-bottom: 2px;
}

.home-report__more:hover {
  border-bottom-color: var(--jb-cyan);
}

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

  .home-reports__grid > .home-report:nth-child(even) {
    margin-top: 36px;
  }
}

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

  .home-reports__grid > .home-report:nth-child(even) {
    margin-top: 0;
  }

  .home-reports__grid > .home-report:nth-child(3n + 2) {
    margin-top: 42px;
  }
}

/* ── 数据条与统计 ───────────────────────────── */
.home-stats__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: center;
}

.home-stats__figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--jb-hair);
  border-left: 1px solid var(--jb-hair);
}

.home-fig {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px;
  border-right: 1px solid var(--jb-hair);
  border-bottom: 1px solid var(--jb-hair);
}

.home-fig__n {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 600;
  line-height: 1;
  color: var(--jb-paper);
}

.home-fig__n span {
  font-size: 0.6em;
  margin-left: 3px;
  color: var(--jb-cyan);
}

.home-fig__l {
  font-family: var(--jb-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jb-dim);
}

.home-stats__bars {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.home-stat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 6px 14px;
}

.home-stat__k {
  font-family: var(--jb-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--jb-mist);
}

.home-stat__v {
  font-size: 12px;
  color: var(--jb-amber);
  white-space: nowrap;
}

.home-stat .jb-bar {
  grid-column: 1 / -1;
  margin-top: 6px;
}

.home-stats__fig {
  margin: 0;
}

.home-stats__fig img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--jb-hair);
  filter: saturate(0.9) contrast(1.06);
}

@media (min-width: 880px) {
  .home-stats__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  }
}

/* ── 通勤阅读 ───────────────────────────────── */
.home-commute h2 {
  margin: 0 0 22px;
  max-width: 26ch;
  font-family: var(--jb-head);
  font-weight: 800;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.14;
  color: var(--jb-paper);
}

.home-commute__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--jb-hair);
}

.home-commute__card {
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--jb-hair-soft);
}

.home-commute__idx {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--jb-amber);
}

.home-commute__card h3 {
  margin: 0 0 8px;
  font-family: var(--jb-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--jb-paper);
}

.home-commute__card p {
  margin: 0;
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.72;
  color: var(--jb-dim);
}

.home-commute__foot {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--jb-dim);
}

.home-commute__foot a {
  color: var(--jb-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 245, 212, 0.4);
}

.home-commute__foot a:hover {
  border-bottom-color: var(--jb-cyan);
}

@media (min-width: 820px) {
  .home-commute__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 clamp(20px, 2.6vw, 38px);
  }

  .home-commute__card {
    border-bottom: 0;
  }
}

/* ── 归档时间轴 ─────────────────────────────── */
.home-archive {
  position: relative;
  margin-top: clamp(44px, 6vw, 92px);
  overflow: hidden;
  background: var(--jb-deep);
  border-top: 2px solid rgba(0, 245, 212, 0.3);
  border-bottom: 2px solid rgba(0, 245, 212, 0.3);
}

.home-archive__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  filter: sepia(0.32) saturate(0.7) contrast(1.1);
  z-index: 0;
}

.home-archive__inner {
  position: relative;
  z-index: 1;
  max-width: var(--jb-max);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 74px) var(--jb-pad);
}

.home-archive__inner h2 {
  margin: 0 0 14px;
  font-family: var(--jb-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.7vw, 2.3rem);
  line-height: 1.14;
  color: var(--jb-paper);
}

.home-archive__lede {
  margin: 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.74;
  color: var(--jb-dim);
}

.home-archive__rail {
  list-style: none;
  margin: clamp(26px, 3.4vw, 44px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  border-top: 1px solid var(--jb-hair);
}

.home-archive__node {
  position: relative;
  padding: 24px 14px 4px 0;
  border-right: 1px solid var(--jb-hair-soft);
}

.home-archive__node:last-child {
  border-right: 0;
}

.home-archive__node::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 26px;
  height: 2px;
  background: var(--jb-amber);
}

.home-archive__node a {
  display: block;
  text-decoration: none;
}

.home-archive__yr {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  font-weight: 600;
  line-height: 1;
  color: var(--jb-paper);
  transition: color 0.2s ease;
}

.home-archive__lb {
  display: block;
  font-family: var(--jb-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jb-dim);
}

.home-archive__node a:hover .home-archive__yr,
.home-archive__node a:focus-visible .home-archive__yr {
  color: var(--jb-cyan);
}

.home-archive__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3.6vw, 44px);
}

/* ── 品牌信任尾栏 ───────────────────────────── */
.home-trust {
  background: var(--jb-night);
}

.home-trust__inner {
  max-width: var(--jb-max);
  margin: 0 auto;
  padding: clamp(38px, 5vw, 78px) var(--jb-pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
}

.home-trust__lead h2 {
  margin: 0 0 14px;
  font-family: var(--jb-head);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.16;
  color: var(--jb-paper);
}

.home-trust__lead p {
  margin: 0 0 14px;
  max-width: 48ch;
  font-size: 15px;
  line-height: 1.74;
  color: var(--jb-dim);
}

.home-trust__note {
  font-family: var(--jb-mono);
  font-size: 12px !important;
  letter-spacing: 0.04em;
  color: var(--jb-amber) !important;
}

.home-trust__facts {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--jb-hair);
}

.home-trust__fact {
  display: grid;
  gap: 5px;
  padding: 15px 0;
  border-bottom: 1px solid var(--jb-hair-soft);
}

.home-trust__fact dt {
  font-family: var(--jb-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jb-dim);
}

.home-trust__fact dd {
  margin: 0;
  font-size: 14px;
  color: var(--jb-paper);
  word-break: break-word;
}

@media (min-width: 620px) {
  .home-trust__fact {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
    align-items: baseline;
  }
}

@media (min-width: 900px) {
  .home-trust__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }
}

/* ── 动效降级 ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .home-status__dot,
  .home-board__dot {
    animation: none;
  }

  .home-report,
  .home-archive__yr,
  .home-rail__link {
    transition: none;
  }

  .home-report:hover {
    transform: none;
  }
}
