.page-home {
  --home-blue-soft: #EAF3FF;
  --home-green-soft: #EAF6F0;
  --home-orange-soft: #FFF2EC;
}

/* ===== 首屏：目录型章节预览 ===== */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  background: var(--c-night);
  color: var(--c-white);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.32;
  z-index: 0;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(11, 16, 32, 0.94) 0%, rgba(11, 16, 32, 0.72) 38%, rgba(10, 61, 98, 0.55) 72%, rgba(30, 144, 255, 0.3) 100%);
  pointer-events: none;
  z-index: 1;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(46%, 560px);
  height: 18px;
  background: linear-gradient(90deg, var(--c-orange) 0%, var(--c-orange) 68%, var(--c-yellow) 68%, var(--c-yellow) 100%);
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 3;
  pointer-events: none;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
  padding: 36px 0 56px;
}

.page-home .home-hero__crumb {
  margin-bottom: 24px;
  max-width: 100%;
  overflow-x: auto;
}

.page-home .home-hero__crumb .crumb__link {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.page-home .home-hero__crumb .crumb__link:hover {
  color: var(--c-yellow);
}

.page-home .home-hero__crumb .crumb__item {
  color: rgba(255, 255, 255, 0.42);
}

.page-home .home-hero__crumb .crumb__sep {
  color: rgba(255, 255, 255, 0.3);
}

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

.page-home .home-hero__kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-yellow);
  border: 1px solid rgba(255, 215, 0, 0.34);
  background: rgba(255, 215, 0, 0.1);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.page-home .home-hero__version {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.56);
}

.page-home .home-hero__title {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: 17ch;
}

.page-home .home-hero__sub {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.84);
  max-width: 72ch;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.page-home .home-hero__actions .btn {
  white-space: nowrap;
}

.page-home .home-hero__chapters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .home-chapter {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--c-white);
  text-decoration: none;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.page-home .home-chapter:hover,
.page-home .home-chapter:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

.page-home .home-chapter:focus-visible {
  outline: 2px solid var(--c-yellow);
  outline-offset: 2px;
}

.page-home .home-chapter__num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.page-home .home-chapter__name {
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 1.25;
}

.page-home .home-chapter__hint {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.66);
}

/* ===== 赛事档案总览 ===== */
.page-home .home-overview {
  background: var(--c-white);
  position: relative;
}

.page-home .home-overview__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}

.page-home .home-overview__heading .section-title {
  margin: 0;
}

.page-home .home-overview__lead {
  margin: 0;
  color: var(--c-blue-deep);
  line-height: 1.7;
  max-width: 60ch;
}

.page-home .home-overview__curve {
  display: block;
  width: min(100%, 640px);
  height: auto;
  margin: 28px 0 28px;
}

.page-home .home-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.page-home .home-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  border-radius: var(--radius);
  color: var(--c-white);
  box-shadow: var(--shadow-sm);
}

.page-home .home-stat--night {
  background: var(--c-night);
}

.page-home .home-stat--blue {
  background: var(--c-blue-deep);
}

.page-home .home-stat--green {
  background: var(--c-green);
}

.page-home .home-stat--orange {
  background: var(--c-orange);
}

.page-home .home-stat__number {
  font-family: var(--font-mono);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 700;
}

.page-home .home-stat__label {
  font-family: var(--font-head);
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.84);
}

.page-home .home-overview__legend {
  margin: 0;
}

/* ===== 旧版本爱体育对比表入口 ===== */
.page-home .home-legacy {
  background: linear-gradient(135deg, var(--c-white) 0%, var(--home-blue-soft) 70%, #DCEBFF 100%);
}

.page-home .home-legacy__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-home .home-legacy__content .section-title {
  margin: 0 0 16px;
}

.page-home .home-legacy__content p {
  margin: 0 0 24px;
  line-height: 1.7;
  color: var(--c-blue-deep);
}

.page-home .home-legacy__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}

.page-home .home-legacy__list li {
  position: relative;
  padding-left: 26px;
  color: var(--c-blue-deep);
  font-size: 15px;
  line-height: 1.6;
}

.page-home .home-legacy__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--c-green);
}

.page-home .home-legacy__visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

/* ===== CHAIN阵容变动对照参考 ===== */
.page-home .home-chain {
  background: var(--c-white);
}

.page-home .home-chain .section-head {
  margin-bottom: 32px;
}

.page-home .home-chain__layout {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-home .home-chain__table .table-wrap {
  margin-bottom: 16px;
}

.page-home .home-chain__more {
  display: inline-flex;
}

.page-home .home-chain__visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  order: -1;
}

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

/* ===== 赛后战报变更说明对照 ===== */
.page-home .home-report {
  background: linear-gradient(180deg, #F7FAFF 0%, var(--home-blue-soft) 100%);
}

.page-home .home-report .section-head {
  margin-bottom: 28px;
}

.page-home .home-report__filter {
  display: grid;
  gap: 18px;
}

.page-home .home-report__list {
  display: grid;
  gap: 12px;
}

.page-home .home-report__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--c-white);
  border-left: 4px solid var(--c-gray);
  box-shadow: var(--shadow-sm);
}

.page-home .home-report__item--warn {
  border-left-color: var(--c-orange);
}

.page-home .home-report__item--ok {
  border-left-color: var(--c-green);
}

.page-home .home-report__item--normal {
  border-left-color: var(--c-blue);
}

.page-home .home-report__date {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--c-blue-deep);
}

.page-home .home-report__match {
  flex: 1 1 220px;
  color: var(--c-blue-deep);
}

.page-home .home-report__visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 20px;
}

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

/* ===== 全站内容路线图 ===== */
.page-home .home-roadmap {
  background: linear-gradient(140deg, var(--c-night) 0%, #101D3C 55%, var(--c-blue-deep) 120%);
  color: var(--c-white);
}

.page-home .home-roadmap .section-title {
  color: var(--c-white);
}

.page-home .home-roadmap .section-sub {
  color: rgba(255, 255, 255, 0.7);
}

.page-home .home-timeline {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  margin-bottom: 40px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-home .home-timeline__item {
  flex: 0 0 260px;
  scroll-snap-align: start;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--c-white);
  color: var(--c-blue-deep);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.page-home .home-timeline__tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-orange);
  background: var(--home-orange-soft);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  border: 1px solid rgba(255, 69, 0, 0.2);
}

.page-home .home-timeline__item h3 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 1.3;
  color: var(--c-blue-deep);
}

.page-home .home-timeline__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-blue-deep);
}

.page-home .home-timeline__meta {
  display: block;
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-orange);
}

.page-home .home-roadmap .grid {
  margin-top: 12px;
}

.page-home .home-roadmap .card {
  height: 100%;
}

/* ===== 响应式增强 ===== */
@media (min-width: 620px) {
  .page-home .home-hero__chapters {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .home-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .home-report__filter {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 900px) {
  .page-home .home-overview__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .page-home .home-overview__lead {
    width: 50%;
  }

  .page-home .home-overview__curve {
    margin-top: 32px;
  }

  .page-home .home-legacy__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }
}

@media (min-width: 960px) {
  .page-home .home-chain__layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 44px;
  }

  .page-home .home-chain__visual {
    order: 2;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero__inner {
    padding: 48px 0 64px;
  }

  .page-home .home-hero__chapters {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 1fr;
  }

  .page-home .home-chapter--archive {
    grid-column: span 2;
  }

  .page-home .home-timeline__item {
    flex-basis: 280px;
  }
}
