/* ===== 首页 page-home ===== */
.page-home {
  background: var(--bg);
  color: var(--warm);
  overflow-x: clip;
}

.page-home .mono {
  font-family: var(--font-mono);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-home .hero__cut {
  position: absolute;
  inset: 0;
  background: linear-gradient(152deg, #0B1F1A 0%, #0B1F1A 44%, #122A24 100%);
  clip-path: polygon(48% 0, 100% 0, 100% 100%, 26% 100%);
}

.page-home .hero__cut img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(0.45) brightness(0.78);
}

.page-home .hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 76px 76px;
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}

.page-home .hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
  padding: clamp(28px, 5vw, 68px) 0 clamp(32px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.4vw, 44px);
}

.page-home .hero__side {
  display: grid;
  gap: 14px;
  align-content: start;
  padding-left: 16px;
  border-left: 2px solid var(--lime);
}

.page-home .hero__season {
  display: grid;
  gap: 2px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.page-home .hero__season-key {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home .hero__season-val {
  font-size: clamp(20px, 2.6vw, 28px);
  color: var(--lime);
  line-height: 1.1;
}

.page-home .hero__side-label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-home .hero__cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-home .hero__side-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--mint);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease);
}

.page-home .hero__side-link:hover,
.page-home .hero__side-link:focus-visible {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

.page-home .hero__main {
  min-width: 0;
}

.page-home .hero__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 5.6vw, 58px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 15em;
}

.page-home .hero__title::after {
  content: "";
  display: block;
  width: 88px;
  height: 5px;
  margin-top: 20px;
  border-radius: var(--r-pill);
  background: var(--lime);
}

.page-home .hero__lede {
  margin: 20px 0 0;
  max-width: 40em;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: var(--mist);
}

.page-home .hero__facts {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 14px;
}

.page-home .hero__fact {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 18px 20px;
  border-radius: var(--r-card);
  background: var(--panel-deep);
  border: 1px solid var(--line);
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}

.page-home .hero__fact:hover {
  transform: translateY(-2px);
  border-color: var(--mint);
}

.page-home .hero__fact .metric__value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1;
  color: var(--lime);
}

.page-home .hero__fact .metric__label {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mist);
}

.page-home .breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

/* ---------- 主体骨架 ---------- */
.page-home .home-body {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
  padding-block: clamp(36px, 5vw, 76px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
}

.page-home .index-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.page-home .index-rail__link {
  flex: 0 0 auto;
  white-space: nowrap;
}

.page-home .flow {
  min-width: 0;
  display: grid;
  gap: clamp(52px, 7vw, 100px);
}

.page-home .section-block {
  scroll-margin-top: calc(var(--header-h) + 28px);
}

.page-home .block-lede {
  margin: 18px 0 0;
  max-width: var(--measure);
  font-size: 16px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .block-foot {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .text-link {
  color: var(--mint);
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 227, 176, 0.4);
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease);
}

.page-home .text-link:hover,
.page-home .text-link:focus-visible {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

/* ---------- 01 焦点对局 ---------- */
.page-home .match-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .match-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px 20px;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}

.page-home .match-card:hover,
.page-home .match-card:focus-within {
  transform: translateY(-2px);
  border-color: var(--mint);
}

.page-home .match-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-home .match-card .card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
}

.page-home .match-card .card__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--lime);
}

.page-home .match-card .card__extra {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 02 历史交锋 ---------- */
.page-home .h2h-layout {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.page-home .h2h-scroll {
  overflow-x: auto;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--panel-deep);
}

.page-home .h2h-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 15px;
}

.page-home .h2h-caption {
  caption-side: top;
  text-align: left;
  padding: 16px 16px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-home .h2h-table th,
.page-home .h2h-table td {
  text-align: left;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.7;
}

.page-home .h2h-table thead th {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.page-home .h2h-table tbody tr {
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.page-home .h2h-table tbody tr:hover,
.page-home .h2h-table tbody tr:focus-within {
  background: var(--mint-soft);
  box-shadow: inset 3px 0 0 var(--lime);
}

.page-home .h2h-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-home .h2h-table td:first-child {
  font-weight: 600;
  color: var(--warm);
  white-space: nowrap;
}

.page-home .h2h-table td:nth-child(2) {
  color: var(--mist);
}

.page-home .mono-cell {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--mint);
  white-space: nowrap;
}

.page-home .h2h-figure {
  position: relative;
  margin: 0;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--panel);
}

.page-home .h2h-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.5) contrast(1.05);
}

.page-home .h2h-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.7;
}

.page-home .h2h-figure figcaption {
  position: relative;
  z-index: 1;
  padding: 12px 16px 14px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--mist);
  border-top: 1px solid var(--line);
}

/* ---------- 03 V3 ---------- */
.page-home .v3-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .v3-item {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px 22px;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}

.page-home .v3-item:hover {
  transform: translateY(-2px);
  border-color: var(--mint);
}

.page-home .v3-item__no {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--lime);
}

.page-home .v3-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
}

.page-home .v3-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 04 战报节奏 ---------- */
.page-home .report-layout {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.page-home .report-figure {
  margin: 0;
}

.page-home .report-figure .img-frame {
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--panel);
}

.page-home .report-figure img {
  filter: saturate(0.45) brightness(0.9);
}

.page-home .report-figure .img-frame__cap {
  display: block;
  padding-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mist);
}

.page-home .timeline__body h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
}

.page-home .timeline__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 05 手机竖屏 ---------- */
.page-home .mobile-layout {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.page-home .mobile-copy .block-lede {
  margin-top: 0;
}

.page-home .mobile-points {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .mobile-points li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--warm);
}

.page-home .mobile-points .mono {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--lime);
}

.page-home .mobile-device {
  display: flex;
  justify-content: center;
}

.page-home .phone {
  width: min(300px, 100%);
  padding: 10px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--panel), rgba(7, 13, 11, 0.9));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.page-home .phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  object-fit: cover;
}

/* ---------- 06 档案覆盖 ---------- */
.page-home .scope-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
}

.page-home .scope-cell {
  display: grid;
  gap: 6px;
  padding: 18px 18px 16px;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--panel-deep);
  border-top: 3px solid var(--lime);
}

.page-home .scope-cell .metric__value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1;
  color: var(--lime);
}

.page-home .scope-cell .metric__label {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .scope-layers {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .layer {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 20px;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--panel);
}

.page-home .layer__no {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--mint);
}

.page-home .layer h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}

.page-home .layer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .collapse {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--panel-deep);
  padding: 20px 22px;
}

.page-home .collapse__inner p {
  margin: 0 0 14px;
  max-width: var(--measure);
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--mist);
}

.page-home .collapse__inner p:last-child {
  margin-bottom: 0;
}

.page-home .collapse__toggle {
  margin-top: 16px;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease), background var(--t) var(--ease);
}

.page-home .collapse__toggle:hover,
.page-home .collapse__toggle:focus-visible {
  border-color: var(--lime);
  color: var(--lime);
  background: var(--lime-soft);
  outline: none;
}

/* ---------- 结尾 ---------- */
.page-home .outro {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: linear-gradient(135deg, rgba(18, 42, 36, 0.92), rgba(7, 13, 11, 0.94));
  padding: clamp(24px, 4vw, 46px);
}

.page-home .outro::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--lime-soft);
  pointer-events: none;
}

.page-home .outro__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.page-home .outro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.35;
  font-weight: 700;
}

.page-home .outro p {
  margin: 0;
  max-width: var(--measure);
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .outro .cluster {
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- 窄屏 ---------- */
@media (max-width: 639px) {
  .page-home .hero__side {
    padding-left: 12px;
  }
  .page-home .hero__title {
    font-size: clamp(27px, 8vw, 36px);
  }
  .page-home .h2h-table {
    min-width: 420px;
  }
}

/* ---------- 平板及以上 ---------- */
@media (min-width: 720px) {
  .page-home .match-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .scope-layers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .outro .cluster {
    display: flex;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 900px) {
  .page-home .h2h-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  }
  .page-home .report-layout {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  }
  .page-home .mobile-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.66fr);
  }
  .page-home .v3-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .page-home .hero__inner {
    grid-template-columns: 244px minmax(0, 1fr);
    align-items: start;
  }
  .page-home .hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .hero__facts > :nth-child(2) {
    transform: translateY(16px);
  }
  .page-home .hero__facts > :nth-child(2):hover {
    transform: translateY(14px);
  }
}

@media (min-width: 1080px) {
  .page-home .home-body {
    grid-template-columns: 216px minmax(0, 1fr);
    gap: 44px;
  }
  .page-home .index-rail {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    align-self: start;
    display: grid;
    gap: 4px;
    overflow: visible;
    padding-bottom: 0;
  }
}
