.page-home {
  display: block;
  background-color: var(--bp-900);
  color: var(--mist);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

/* ---------- 首屏框景 ---------- */
.page-home .hero {
  position: relative;
  padding: clamp(40px, 6vw, 84px) 0 clamp(34px, 5vw, 60px);
  overflow: hidden;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--navy-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--navy-line) 1px, transparent 1px);
  background-size: var(--grid-step) var(--grid-step);
  opacity: 0.24;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 62%, transparent 100%);
  pointer-events: none;
}

.page-home .hero-window {
  position: relative;
  z-index: 1;
  padding: clamp(18px, 2.8vw, 34px);
  border: 1px solid var(--navy-line);
  background:
    linear-gradient(155deg, rgba(16, 41, 77, 0.9) 0%, rgba(5, 18, 31, 0.96) 58%, rgba(5, 18, 31, 1) 100%);
  clip-path: polygon(
    0 var(--cut), var(--cut) 0,
    100% 0, 100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%, 0 100%
  );
}

.page-home .hero-window__corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid var(--orange);
  z-index: 3;
  pointer-events: none;
}

.page-home .hero-window__corner--tl {
  top: 9px;
  left: 9px;
  border-right: 0;
  border-bottom: 0;
}

.page-home .hero-window__corner--tr {
  top: 9px;
  right: 9px;
  border-left: 0;
  border-bottom: 0;
}

.page-home .hero-window__corner--bl {
  bottom: 9px;
  left: 9px;
  border-right: 0;
  border-top: 0;
}

.page-home .hero-window__corner--br {
  bottom: 9px;
  right: 9px;
  border-left: 0;
  border-top: 0;
}

.page-home .hero-window__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 6px 4px 14px;
  border-bottom: 1px solid var(--navy-line);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.page-home .hero-window__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3.4vw, 44px);
  padding: clamp(20px, 3vw, 36px) 4px 6px;
}

.page-home .hero-window__eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--orange);
}

.page-home .hero-window__title {
  margin: 0 0 18px;
  font-weight: 300;
  font-size: clamp(2.1rem, 7.2vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 15ch;
}

.page-home .hero-window__lede {
  margin: 0;
  max-width: 42ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .hero-facts {
  display: flex;
  flex-wrap: wrap;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--navy-line);
  border-left: 1px solid var(--navy-line);
}

.page-home .hero-facts li {
  flex: 1 1 120px;
  padding: 13px 15px;
  border-right: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
}

.page-home .hero-facts .fact__value {
  display: block;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--orange);
}

.page-home .hero-facts .fact__label {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.page-home .hero-window__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .hero-window__visual {
  position: relative;
  margin: 0;
  border: 1px solid var(--navy-line);
}

.page-home .hero-window__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
}

.page-home .hero-window__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 7px 12px;
  background: rgba(5, 18, 31, 0.88);
  border-top: 1px solid var(--navy-line);
  border-right: 1px solid var(--navy-line);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--lime);
}

/* ---------- 交叉统计台 ---------- */
.page-home .xstat {
  position: relative;
  padding: clamp(52px, 7.5vw, 100px) 0 clamp(38px, 5vw, 66px);
  border-top: 1px solid var(--navy-line);
}

.page-home .xstat__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3.6vw, 42px);
  margin-top: clamp(24px, 3.4vw, 40px);
}

.page-home .xstat__figure {
  margin: 0;
  border: 1px solid var(--navy-line);
}

.page-home .xstat__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
}

.page-home .xstat__board {
  background: var(--bp-800);
  border: 1px solid var(--navy-line);
  padding: clamp(16px, 2.4vw, 28px);
  clip-path: polygon(
    0 var(--cut), var(--cut) 0,
    100% 0, 100% 100%,
    var(--cut) 100%, 0 calc(100% - var(--cut))
  );
}

.page-home .xstat__tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--navy-line);
}

.page-home .xstat__tab {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 10px 16px 12px;
  margin-bottom: -1px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mist);
  cursor: pointer;
  transition: color 0.24s var(--ease), border-color 0.24s var(--ease);
}

.page-home .xstat__tab:hover {
  color: var(--orange-soft);
}

.page-home .xstat__tab:focus-visible {
  outline: 1px solid var(--lime);
  outline-offset: 2px;
}

.page-home .xstat__tab[aria-selected="true"] {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.page-home .xstat__panel {
  padding-top: clamp(18px, 2.4vw, 26px);
}

.page-home .xstat__panel[hidden] {
  display: none;
}

.page-home .xstat__metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: end;
}

.page-home .xstat__metric-label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mist);
}

.page-home .xstat__value {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(3rem, 11vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.page-home .xstat__plus {
  font-size: 0.42em;
  margin-left: 0.08em;
  color: var(--orange-soft);
}

.page-home .xstat__delta {
  display: inline-flex;
  align-items: center;
  margin: 12px 0 0;
  padding: 4px 10px;
  border: 1px solid rgba(199, 255, 79, 0.42);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--lime);
}

.page-home .xstat__sub {
  margin: 0;
  display: grid;
  gap: 10px;
}

.page-home .xstat__sub > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--navy-line);
}

.page-home .xstat__sub dt {
  font-size: 0.875rem;
  color: var(--mist);
}

.page-home .xstat__sub dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--white);
}

.page-home .xstat__chart {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 22px;
  overflow: visible;
}

.page-home .xstat__chart .chart-grid {
  stroke: var(--navy-line);
  stroke-width: 1;
  stroke-dasharray: 2 6;
  opacity: 0.7;
}

.page-home .xstat__chart .xstat__bar {
  fill: var(--bp-700);
}

.page-home .xstat__chart .xstat__bar--now {
  fill: var(--orange);
}

.page-home .xstat__chart .chart-line {
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.page-home .xstat__chart .chart-dot {
  fill: var(--orange);
  stroke: var(--bp-800);
  stroke-width: 2;
}

.page-home .xstat__axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
  opacity: 0.82;
}

.page-home .xstat__foot {
  margin: 14px 0 0;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--mist);
  opacity: 0.86;
}

/* ---------- 本月更新索引 ---------- */
.page-home .updates {
  padding: clamp(48px, 7vw, 92px) 0;
  border-top: 1px solid var(--navy-line);
}

.page-home .updates__list {
  margin: clamp(20px, 3vw, 34px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--navy-line);
}

.page-home .updates__item {
  border-bottom: 1px solid var(--navy-line);
}

.page-home .updates__entry summary {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
  padding: 15px 4px;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.24s var(--ease);
}

.page-home .updates__entry summary::-webkit-details-marker {
  display: none;
}

.page-home .updates__entry summary:hover {
  background: rgba(16, 41, 77, 0.5);
}

.page-home .updates__entry summary:focus-visible {
  outline: 1px solid var(--lime);
  outline-offset: -2px;
}

.page-home .updates__entry summary::after {
  content: "展开";
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--orange);
  white-space: nowrap;
}

.page-home .updates__entry[open] summary::after {
  content: "收起";
}

.page-home .updates__no {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--orange);
}

.page-home .updates__title {
  font-size: 1rem;
  color: var(--white);
}

.page-home .updates__body {
  margin: 0;
  padding: 0 4px 18px 76px;
  max-width: 62ch;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 排期与奖项双栏 ---------- */
.page-home .gateway {
  padding: clamp(48px, 7vw, 92px) 0;
  background: var(--bp-800);
  border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
}

.page-home .gateway__grid {
  margin-top: clamp(22px, 3vw, 36px);
}

.page-home .gateway__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(18px, 2.4vw, 28px);
  background: rgba(5, 18, 31, 0.62);
  border: 1px solid var(--navy-line);
  clip-path: polygon(
    0 var(--cut), var(--cut) 0,
    100% 0, 100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%, 0 100%
  );
}

.page-home .gateway__col--wide {
  border-left: 2px solid var(--orange);
}

.page-home .gateway__label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--orange);
}

.page-home .gateway__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--white);
}

.page-home .gateway__text {
  margin: 0;
  max-width: 42ch;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .gateway__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.page-home .gateway__list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .gateway__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 1px;
  background: var(--lime);
}

.page-home .gateway__col .btn {
  margin-top: auto;
  align-self: flex-start;
}

.page-home .gateway__media {
  margin: 0;
  border: 1px solid var(--navy-line);
}

.page-home .gateway__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.06);
}

/* ---------- 时间纵深 ---------- */
.page-home .timeline {
  position: relative;
  padding: clamp(52px, 7.5vw, 100px) 0;
}

.page-home .timeline__track {
  position: relative;
  display: flex;
  gap: 0;
  margin: clamp(24px, 3.4vw, 44px) 0 0;
  padding: 0 0 8px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-home .timeline__track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 33px;
  height: 1px;
  background: var(--navy-line);
  pointer-events: none;
}

.page-home .timeline__node {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  padding-right: 18px;
  min-width: 0;
}

.page-home .timeline__year {
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--white);
  padding-bottom: 14px;
}

.page-home .timeline__dot {
  display: block;
  position: relative;
  z-index: 1;
  width: 13px;
  height: 13px;
  margin-bottom: 18px;
  background: var(--bp-900);
  border: 1px solid var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
}

.page-home .timeline__node--now .timeline__dot {
  background: var(--lime);
  border-color: var(--lime);
}

.page-home .timeline__label {
  display: block;
  font-size: 0.9375rem;
  color: var(--white);
}

.page-home .timeline__note {
  margin: 8px 0 0;
  max-width: 20ch;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--mist);
  opacity: 0.86;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}

.page-home .timeline__node:hover .timeline__note,
.page-home .timeline__node:focus-within .timeline__note,
.page-home .timeline__node:focus .timeline__note {
  opacity: 1;
  color: var(--orange-soft);
}

.page-home .timeline__node:focus-visible {
  outline: 1px solid var(--lime);
  outline-offset: 4px;
}

.page-home .timeline__foot {
  margin: 26px 0 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-home .timeline__foot a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 26, 0.5);
}

.page-home .timeline__foot a:hover {
  color: var(--orange-soft);
}

/* ---------- 地方赛事切片 ---------- */
.page-home .local {
  position: relative;
  padding: clamp(60px, 9vw, 128px) 0 clamp(72px, 10vw, 136px);
  border-top: 1px solid var(--navy-line);
  overflow: hidden;
}

.page-home .local::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--navy-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--navy-line) 1px, transparent 1px);
  background-size: var(--grid-step) var(--grid-step);
  opacity: 0.2;
  -webkit-mask-image: linear-gradient(0deg, #000 0%, transparent 78%);
  mask-image: linear-gradient(0deg, #000 0%, transparent 78%);
  pointer-events: none;
}

.page-home .local__grid {
  position: relative;
  z-index: 1;
  align-items: end;
}

.page-home .local__title {
  margin: 14px 0 0;
  font-weight: 300;
  font-size: clamp(1.75rem, 4.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--white);
  max-width: 16ch;
}

.page-home .local__text {
  margin: 18px 0 0;
  max-width: 44ch;
  font-size: 0.9375rem;
  line-height: 1.78;
  color: var(--mist);
}

.page-home .local__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin: 26px 0 0;
  padding: 20px 0;
  list-style: none;
  border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
}

.page-home .local__stats li {
  min-width: 104px;
}

.page-home .local__num {
  display: block;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--orange);
}

.page-home .local__cap {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.page-home .local__copy .btn {
  margin-top: 26px;
}

.page-home .local__media {
  margin: 0;
  border: 1px solid var(--navy-line);
}

.page-home .local__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
}

/* ---------- 断点 ---------- */
@media (min-width: 700px) {
  .page-home .xstat__metrics {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 28px;
  }
}

@media (min-width: 900px) {
  .page-home .hero-window__grid {
    grid-template-columns: 7fr 6fr;
    align-items: end;
  }

  .page-home .xstat__layout {
    grid-template-columns: 6fr 10fr;
    align-items: start;
  }

  .page-home .xstat__figure img {
    aspect-ratio: 4 / 5;
  }

  .page-home .timeline__track {
    overflow-x: visible;
  }

  .page-home .timeline__node {
    flex: 1 1 0;
    width: auto;
  }

  .page-home .gateway__col--narrow {
    padding-left: 22px;
  }
}

@media (min-width: 1100px) {
  .page-home .hero-window {
    padding: 34px 40px 30px;
  }

  .page-home .hero-window__grid {
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 699px) {
  .page-home .updates__entry summary {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .page-home .updates__body {
    padding-left: 58px;
  }

  .page-home .timeline__track::before {
    right: auto;
    width: 1180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .xstat__tab,
  .page-home .updates__entry summary,
  .page-home .timeline__note {
    transition: none;
  }
}
