.page-home {
  --home-gap: clamp(1rem, 2.4vw, 1.75rem);
  background: var(--ink);
  color: var(--chalk);
}

.page-home .hero__wrap {
  position: relative;
}

/* ===== 首屏拼贴 ===== */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.1rem, 3vw, 2rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, var(--line-soft) 0 1px, transparent 1px 72px);
  opacity: 0.55;
}

.page-home .hero__crumb {
  position: relative;
  z-index: 1;
  margin: 0 0 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--fog);
}

.page-home .hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--home-gap);
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "head"
    "lede"
    "links"
    "media"
    "strip";
}

.page-home .hero__head { grid-area: head; }
.page-home .hero__lede { grid-area: lede; }
.page-home .hero__links { grid-area: links; }
.page-home .hero__media { grid-area: media; }
.page-home .hero__strip { grid-area: strip; }

.page-home .hero__title {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.05rem, 7.2vw, 4.3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.page-home .hero__title em {
  font-style: normal;
  color: var(--lime);
  box-shadow: inset 0 -0.14em 0 rgba(200, 255, 77, 0.26);
}

.page-home .hero__lede .lede {
  margin: 0;
  max-width: 42ch;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.8;
  color: rgba(244, 246, 241, 0.82);
}

.page-home .hero__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  align-content: start;
}

.page-home .hero__link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.7rem 0.8rem;
  text-decoration: none;
  color: var(--chalk);
  background: rgba(20, 52, 44, 0.62);
  border: 1px solid var(--line-soft);
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}

.page-home .hero__link b {
  font-family: var(--font-display);
  font-size: 0.94rem;
  letter-spacing: 0.01em;
}

.page-home .hero__link span {
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--fog);
}

.page-home .hero__link:hover {
  border-color: var(--lime);
  background: rgba(200, 255, 77, 0.09);
  transform: translate(-1px, -1px);
}

.page-home .hero__media {
  margin: 0;
  min-height: 190px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  box-shadow: 3px 3px 0 var(--ink-3), 7px 7px 0 rgba(200, 255, 77, 0.12);
}

.page-home .hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.page-home .hero__strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  align-items: center;
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--fog);
}

.page-home .hero__strip b {
  color: var(--lime);
  font-weight: 700;
}

/* ===== 数字总览带 ===== */
.page-home .stats {
  padding: clamp(2rem, 5vw, 3.25rem) 0;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
}

.page-home .stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 1rem;
}

.page-home .stat__num {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(1.8rem, 5.4vw, 3rem);
  line-height: 1;
  color: var(--lime);
}

.page-home .stat:nth-child(2) .stat__num { color: var(--amber); }
.page-home .stat:nth-child(3) .stat__num { color: var(--lime-soft); }
.page-home .stat:nth-child(4) .stat__num { color: var(--amber); }

.page-home .stat__label {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--fog);
}

.page-home .stats__note {
  margin: 1.6rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.86rem;
  line-height: 1.75;
  color: rgba(244, 246, 241, 0.72);
}

/* ===== 主体两列框架 ===== */
.page-home .home-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.page-home .home-index {
  position: sticky;
  top: calc(var(--header-h) + 4px);
  z-index: 6;
  background: rgba(10, 36, 32, 0.94);
  border-bottom: 1px solid var(--line);
}

.page-home .home-index__list {
  display: flex;
  gap: 0.3rem;
  margin: 0;
  padding: 0.4rem 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .home-index__list::-webkit-scrollbar { display: none; }

.page-home .home-index__link {
  display: block;
  padding: 0.3rem 0.55rem;
  white-space: nowrap;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--fog);
  border: 1px solid transparent;
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}

.page-home .home-index__link:hover { color: var(--lime-soft); }

.page-home .home-index__link[aria-current="true"],
.page-home .home-index__link.is-active {
  color: var(--ink-3);
  background: var(--lime);
  border-color: var(--lime);
}

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

/* ===== 章节通用 ===== */
.page-home .home-section {
  padding: clamp(2.5rem, 7vw, 5rem) 0;
  border-top: 1px solid var(--line-soft);
  scroll-margin-top: calc(var(--header-h) + 70px);
}

.page-home .home-body__main > .home-section:first-child { border-top: 0; }

.page-home .sec__title {
  margin: 0.4rem 0 0.8rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 4.3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.page-home .sec__intro {
  margin: 0;
  max-width: 56ch;
  font-size: clamp(0.92rem, 1.6vw, 1rem);
  line-height: 1.8;
  color: rgba(244, 246, 241, 0.78);
}

.page-home .sec__foot {
  margin: 1.2rem 0 0;
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--fog);
}

.page-home .sec__foot a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 255, 77, 0.5);
}

.page-home .sec__foot a:hover { color: var(--lime-soft); }

/* ===== 赛前对比 ===== */
.page-home .cmp {
  margin-top: 1.6rem;
  position: relative;
}

.page-home .cmp__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .cmp__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin-bottom: 0.9rem;
}

.page-home .cmp__switch {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--amber);
  border: 1px solid var(--line-amber);
  background: rgba(255, 138, 71, 0.08);
  transition: background 200ms ease, color 200ms ease;
}

.page-home .cmp__switch:hover { background: rgba(255, 138, 71, 0.18); }

.page-home .cmp__input:checked ~ .cmp__bar .cmp__switch {
  background: var(--amber);
  color: var(--ink-3);
}

.page-home .cmp__input:focus-visible ~ .cmp__bar .cmp__switch {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.page-home .cmp__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-home .cmp__side {
  padding: 0.95rem 1rem;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
}

.page-home .cmp__side--a {
  border-top: 3px solid var(--lime);
  box-shadow: 3px 3px 0 rgba(200, 255, 77, 0.12);
  order: 1;
}

.page-home .cmp__side--b {
  border-top: 3px solid var(--amber);
  box-shadow: 3px 3px 0 rgba(255, 138, 71, 0.12);
  order: 3;
}

.page-home .cmp__input:checked ~ .cmp__body .cmp__side--a { order: 3; }
.page-home .cmp__input:checked ~ .cmp__body .cmp__side--b { order: 1; }

.page-home .cmp__team {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .cmp__role {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--fog);
}

.page-home .cmp__team h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.page-home .cmp__list {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .cmp__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 0.85rem;
  color: rgba(244, 246, 241, 0.76);
}

.page-home .cmp__list li:last-child { border-bottom: 0; }

.page-home .cmp__list b {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
}

.page-home .cmp__side--a .cmp__list b { color: var(--lime); }
.page-home .cmp__side--b .cmp__list b { color: var(--amber); }

.page-home .cmp__axis {
  order: 2;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.2rem 0;
}

.page-home .cmp__axis-item {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.3rem 0.55rem;
  background: rgba(200, 255, 77, 0.08);
  border: 1px solid var(--line);
  font-size: 0.75rem;
}

.page-home .cmp__axis-item b { color: var(--lime-soft); font-weight: 600; }

.page-home .cmp__axis-count {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--fog);
}

.page-home .cmp__verdict { margin-top: 1rem; }

.page-home .cmp__verdict p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--chalk);
}

.page-home .cmp__figure {
  margin: 1.6rem 0 0;
  border: 1px solid var(--line-soft);
  background: var(--ink-2);
}

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

.page-home .cmp__figure figcaption {
  padding: 0.55rem 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--fog);
  border-top: 1px solid var(--line-soft);
}

/* ===== 排名条带 ===== */
.page-home .rank__figure {
  margin: 1.4rem 0 1rem;
  border: 1px solid var(--line-soft);
}

.page-home .rank__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: cover;
}

.page-home .rank-strip {
  display: flex;
  gap: 0.85rem;
  padding: 0.25rem 0 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}

.page-home .rank-strip::-webkit-scrollbar { height: 4px; }
.page-home .rank-strip::-webkit-scrollbar-thumb { background: var(--line-amber); }

.page-home .rank-card {
  flex: 0 0 min(80vw, 300px);
  scroll-snap-align: start;
  padding: 0.9rem;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
}

.page-home .rank-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  padding-bottom: 0.55rem;
  margin-bottom: 0.3rem;
  border-bottom: 1px solid var(--line);
}

.page-home .rank-card__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
}

.page-home .rank-row {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: baseline;
  padding: 0.3rem 0.3rem;
  font-size: 0.85rem;
  color: rgba(244, 246, 241, 0.82);
}

.page-home .rank-row--top {
  background: rgba(200, 255, 77, 0.08);
  color: var(--chalk);
}

.page-home .rank-row__no {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--amber);
}

.page-home .rank-row__val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--lime);
}

/* ===== 战报流 ===== */
.page-home .reports {
  display: grid;
  gap: var(--home-gap);
  margin-top: 1.6rem;
}

.page-home .reports__figure {
  margin: 0;
  border: 1px solid var(--line-soft);
  background: var(--ink-2);
  box-shadow: 3px 3px 0 rgba(5, 19, 15, 0.6);
}

.page-home .reports__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
}

.page-home .report-list {
  display: grid;
  gap: 0.7rem;
}

.page-home .report {
  padding: 0.8rem 0.95rem;
  background: rgba(20, 52, 44, 0.65);
  border-left: 2px solid var(--line);
  transition: border-color 200ms ease, background 200ms ease;
}

.page-home .report:hover {
  border-left-color: var(--lime);
  background: rgba(20, 52, 44, 0.95);
}

.page-home .report__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.7rem;
}

.page-home .report__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.page-home .report__data {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin: 0.5rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--fog);
}

.page-home .report__data b { color: var(--lime-soft); font-weight: 600; }

/* ===== 公告 ===== */
.page-home .bulletin {
  margin-top: 1.4rem;
  border-top: 1px solid var(--line-soft);
}

.page-home .bulletin__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem 0.9rem;
  align-items: start;
  padding: 0.95rem 0.2rem;
  text-decoration: none;
  color: var(--chalk);
  border-bottom: 1px solid var(--line-soft);
  transition: background 200ms ease;
}

.page-home .bulletin__item:hover { background: rgba(200, 255, 77, 0.06); }

.page-home .bulletin__tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--amber);
  border: 1px solid var(--line-amber);
  padding: 0.15rem 0.4rem;
  white-space: nowrap;
}

.page-home .bulletin__body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.page-home .bulletin__title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  line-height: 1.55;
}

.page-home .bulletin__item:hover .bulletin__title { color: var(--lime); }

.page-home .bulletin__meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--fog);
}

/* ===== 团队 ===== */
.page-home .team {
  display: grid;
  gap: var(--home-gap);
  margin-top: 1.6rem;
}

.page-home .team__text p {
  margin: 0 0 1rem;
  font-size: 0.94rem;
  line-height: 1.85;
  color: rgba(244, 246, 241, 0.8);
}

.page-home .team__years {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.page-home .team__years li {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(244, 246, 241, 0.78);
}

.page-home .team__years b {
  font-family: var(--font-mono);
  color: var(--lime);
  font-weight: 600;
}

.page-home .team__counts {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.page-home .team__count {
  padding: 0.8rem 0.9rem;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
}

.page-home .team__num {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.7rem, 4.6vw, 2.4rem);
  line-height: 1;
  color: var(--lime);
}

.page-home .team__count p {
  margin: 0.35rem 0 0.55rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--fog);
}

.page-home .team__bar {
  display: block;
  height: 5px;
  background: var(--ink-3);
}

.page-home .team__bar i {
  display: block;
  height: 100%;
  background: var(--lime);
}

.page-home .team__bar--a i { width: 41%; }
.page-home .team__bar--b i { width: 23%; background: var(--amber); }
.page-home .team__bar--c i { width: 36%; background: var(--lime-soft); }

.page-home .tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 1.6rem;
  padding: 0.85rem 1rem;
  background: rgba(5, 19, 15, 0.5);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--lime);
}

.page-home .tools__title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--chalk);
}

/* ===== 合作 ===== */
.page-home .collab {
  display: grid;
  gap: var(--home-gap);
  align-items: start;
}

.page-home .collab__lead .btn { margin-top: 1.1rem; }

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

.page-home .collab__list li {
  display: grid;
  gap: 0.3rem;
  padding: 0.85rem 0 0.85rem 0.9rem;
  border-left: 2px solid var(--line-amber);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .collab__list b {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--amber);
}

.page-home .collab__list span {
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(244, 246, 241, 0.76);
}

/* ===== 中等屏 ===== */
@media (min-width: 700px) {
  .page-home .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas:
      "head head"
      "lede lede"
      "links media"
      "strip strip";
    align-items: start;
  }

  .page-home .hero__media { min-height: 260px; }
  .page-home .hero__media img { min-height: 260px; }

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

  .page-home .reports {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .collab {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* ===== 桌面：右侧章节索引 + 拉锯分栏 ===== */
@media (min-width: 1080px) {
  .page-home .home-body {
    grid-template-columns: minmax(0, 1fr) 168px;
    column-gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
    padding-top: clamp(2rem, 4vw, 3.5rem);
  }

  .page-home .home-index {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: calc(var(--header-h) + 28px);
    align-self: start;
    background: transparent;
    border-bottom: 0;
    border-left: 1px solid var(--line-soft);
    padding-left: 0.9rem;
  }

  .page-home .home-index__list {
    flex-direction: column;
    gap: 0.1rem;
    overflow: visible;
    padding: 0;
  }

  .page-home .home-index__link {
    margin-left: -1px;
    padding: 0.35rem 0 0.35rem 0.55rem;
    border: 0;
    border-left: 2px solid transparent;
    letter-spacing: 0.1em;
  }

  .page-home .home-index__link[aria-current="true"],
  .page-home .home-index__link.is-active {
    background: transparent;
    color: var(--lime);
    border-left-color: var(--lime);
  }

  .page-home .home-body__main {
    grid-column: 1;
    grid-row: 1;
  }

  .page-home .home-body__main > .home-section:first-child { padding-top: 0; }

  .page-home .hero__grid {
    grid-template-columns: 1.08fr 1fr 0.92fr;
    grid-template-areas:
      "head head media"
      "lede links media"
      "strip strip strip";
    gap: clamp(1.1rem, 2vw, 1.8rem);
  }

  .page-home .hero__media { min-height: 320px; }
  .page-home .hero__media img { min-height: 320px; }

  .page-home .cmp__body {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
  }

  .page-home .cmp__side { flex: 1 1 0; min-width: 0; }
  .page-home .cmp__side--a { padding-right: 1.2rem; }

  .page-home .cmp__axis {
    flex: 0 0 172px;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0.4rem 0 0.4rem 1rem;
    border-left: 1px solid var(--line-amber);
  }

  .page-home .cmp__axis-item {
    position: relative;
    justify-content: space-between;
    background: transparent;
    border: 0;
    padding: 0.42rem 0;
    font-size: 0.82rem;
  }

  .page-home .cmp__axis-item::before {
    content: "";
    position: absolute;
    left: -1.28rem;
    top: 50%;
    width: 6px;
    height: 6px;
    transform: translateY(-50%) rotate(45deg);
    background: var(--lime-soft);
  }

  .page-home .team {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    column-gap: clamp(1.5rem, 3vw, 2.6rem);
  }

  .page-home .rank-strip { padding-right: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero__link,
  .page-home .report,
  .page-home .bulletin__item,
  .page-home .home-index__link,
  .page-home .cmp__switch {
    transition: none;
  }

  .page-home .hero__link:hover { transform: none; }
}
<<<END>>>
