.page-home {
  --home-grid: 72px;
  --home-pad-y: clamp(42px, 6vw, 88px);
  position: relative;
  overflow-x: clip;
  background-image:
    linear-gradient(to right, rgba(200, 211, 207, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(200, 211, 207, .055) 1px, transparent 1px);
  background-size: var(--home-grid) var(--home-grid);
  background-position: center top;
  padding-bottom: clamp(40px, 6vw, 80px);
}

.page-home h2 {
  margin: 10px 0 0;
  font-size: clamp(23px, 3.6vw, 38px);
  line-height: 1.14;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--fog);
}

.page-home .section-head > p:not(.label) {
  margin: 12px 0 0;
  max-width: 64ch;
  color: var(--silver);
  line-height: 1.78;
  font-size: clamp(14.5px, 1.5vw, 16.5px);
}

.page-home .label {
  letter-spacing: .14em;
}

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

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
  filter: saturate(.75) contrast(1.06);
}

.page-home .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 17, 15, .45) 0%, rgba(6, 17, 15, .9) 62%, var(--ink) 100%),
    linear-gradient(90deg, var(--ink) 0%, rgba(6, 17, 15, .55) 48%, rgba(6, 17, 15, .25) 100%);
}

.page-home .hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 40px);
  padding-block: clamp(30px, 5vw, 74px);
}

.page-home .hero__main { order: 1; }
.page-home .hero__index { order: 2; }
.page-home .hero__status { order: 3; }

.page-home .hero h1 {
  margin: 14px 0 0;
  max-width: 16em;
  font-size: clamp(31px, 6.2vw, 62px);
  line-height: 1.06;
  letter-spacing: -.025em;
  font-weight: 800;
  color: var(--fog);
}

.page-home .hero h1 em {
  font-style: normal;
  color: var(--cyan);
}

.page-home .hero__lead {
  margin: 18px 0 0;
  max-width: 48ch;
  color: var(--silver);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.82;
}

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

.page-home .hero__index {
  border-top: 1px solid var(--line-strong);
  padding-top: 14px;
}

.page-home .hero__index-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.page-home .hero__index-list > li { flex: 0 0 auto; }

.page-home .hero__index-link {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid transparent;
  color: var(--silver);
  text-decoration: none;
  font-size: 13.5px;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.page-home .hero__index-num {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--cyan);
}

.page-home .hero__index-link:hover,
.page-home .hero__index-link:focus-visible {
  color: var(--fog);
  background: rgba(57, 255, 208, .07);
}

.page-home .hero__index-link[aria-current="true"] {
  color: var(--cyan);
  border-color: var(--line-strong);
  background: rgba(57, 255, 208, .08);
}

.page-home .hero__status {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(11, 33, 28, .78);
  box-shadow: 8px 8px 0 -1px rgba(18, 58, 50, .5);
}

.page-home .hero__status .stat + .stat {
  border-top: 1px dashed var(--line);
  padding-top: 13px;
}

/* ---------- 通用数据 ---------- */
.page-home .stat {
  display: grid;
  gap: 3px;
}

.page-home .stat__value {
  font-family: var(--mono);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--cyan);
  font-size: clamp(23px, 3vw, 32px);
}

.page-home .stat__unit {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--fog);
}

.page-home .stat__label {
  font-size: 12px;
  line-height: 1.55;
  color: var(--stone);
}

/* ---------- 区块通用 ---------- */
.page-home .entry,
.page-home .league,
.page-home .path,
.page-home .status,
.page-home .help {
  position: relative;
  padding-block: var(--home-pad-y);
}

.page-home .league {
  background: linear-gradient(180deg, rgba(11, 33, 28, .55), rgba(6, 17, 15, 0) 70%);
  border-top: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 0 100%);
}

/* ---------- 双通道 ---------- */
.page-home .entry__grid {
  display: grid;
  gap: 16px;
  margin-top: clamp(22px, 3vw, 34px);
}

.page-home .entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(11, 33, 28, .97), rgba(6, 17, 15, .97));
  box-shadow: 10px 10px 0 -1px rgba(18, 58, 50, .55);
}

.page-home .entry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 3px;
  background: var(--cyan);
}

.page-home .entry-card--android::before { background: var(--orange); }

.page-home .entry-card--android .label { color: var(--orange); }
.page-home .entry-card--android .label::before { background: var(--orange); }

.page-home .entry-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  filter: saturate(.9);
}

.page-home .entry-card__body {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
}

.page-home .entry-card h3,
.page-home .team-card h3 {
  margin: 0;
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.25;
  letter-spacing: -.015em;
  font-weight: 800;
  color: var(--fog);
}

.page-home .entry-card > p,
.page-home .entry-card__body > p {
  margin: 0;
  color: var(--silver);
  line-height: 1.78;
  font-size: 14.5px;
}

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

.page-home .entry-card__list li {
  position: relative;
  padding-left: 16px;
  color: var(--silver);
  font-size: 13.5px;
  line-height: 1.7;
}

.page-home .entry-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 8px;
  height: 1px;
  background: var(--cyan);
}

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

/* ---------- 联赛导航 ---------- */
.page-home .league__filters {
  margin-top: clamp(22px, 3vw, 32px);
}

.page-home .league__filters .chip-row { margin-top: 10px; }

.page-home .league__rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  margin-top: 20px;
  padding: 4px 4px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--seam) transparent;
  scrollbar-width: thin;
}

.page-home .league-card {
  flex: 0 0 min(266px, 76vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--seam);
  background: var(--ink-2);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.page-home .league-card:hover {
  transform: translateY(-3px);
  border-left-color: var(--cyan);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}

.page-home .league-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .league-card__tag {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--cyan);
}

.page-home .league-card__state {
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--orange);
  border: 1px solid var(--line-warm);
  padding: 2px 7px;
}

.page-home .league-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--fog);
}

.page-home .league-card > p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--silver);
}

.page-home .league-card__meta {
  margin: auto 0 0;
  padding-top: 11px;
  border-top: 1px dashed var(--line);
  display: grid;
  gap: 6px;
}

.page-home .league-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.page-home .league-card__row dt {
  font-size: 12px;
  color: var(--stone);
}

.page-home .league-card__row dd {
  margin: 0;
  font-size: 12.5px;
  color: var(--fog);
}

/* ---------- 读赛路径 ---------- */
.page-home .path__grid {
  display: grid;
  gap: 18px;
  margin-top: clamp(22px, 3vw, 34px);
}

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

.page-home .step {
  position: relative;
  padding: 18px 18px 18px 62px;
  border: 1px solid var(--line);
  background: rgba(11, 33, 28, .6);
}

.page-home .step::after {
  content: "";
  position: absolute;
  left: 26px;
  bottom: -12px;
  width: 1px;
  height: 12px;
  background: var(--line-strong);
}

.page-home .path__steps li:last-child::after { display: none; }

.page-home .step__num {
  position: absolute;
  left: 16px;
  top: 18px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--cyan);
}

.page-home .step h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--fog);
}

.page-home .step p {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--silver);
}

.page-home .path__figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  min-height: 220px;
}

.page-home .path__figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  filter: saturate(.85) contrast(1.05);
}

.page-home .team-card {
  display: grid;
  margin-top: 18px;
  border: 1px solid var(--line-strong);
  background: var(--ink-2);
  overflow: hidden;
}

.page-home .team-card__body {
  padding: clamp(20px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .team-card__body p {
  margin: 0;
  color: var(--silver);
  font-size: 14.5px;
  line-height: 1.78;
  max-width: 56ch;
}

.page-home .team-card__body .btn { align-self: flex-start; margin-top: 6px; }

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

/* ---------- 更新节奏 ---------- */
.page-home .status .panel { margin-top: clamp(22px, 3vw, 32px); }

.page-home .status__stamp {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--orange);
  border: 1px solid var(--line-warm);
  padding: 3px 9px;
}

.page-home .status__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.page-home .status__list li {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--silver);
  font-size: 14px;
  line-height: 1.72;
}

.page-home .status__list li:first-child { padding-top: 4px; }
.page-home .status__list li:last-child { border-bottom: 0; padding-bottom: 4px; }

.page-home .status__k {
  color: var(--cyan);
  font-size: 12.5px;
  letter-spacing: .1em;
}

.page-home .status__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 20px;
  border: 1px solid var(--line);
  background: var(--line);
}

.page-home .status__stats .stat {
  background: var(--ink-2);
  padding: 18px 15px;
}

.page-home .status__phases {
  margin-top: 22px;
}

.page-home .status__phases .chip-row { margin-top: 10px; }

/* ---------- 帮助与联络 ---------- */
.page-home .help__grid {
  display: grid;
  gap: 24px;
}

.page-home .help__faq h2 { margin-bottom: 6px; }

.page-home .help__item {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

.page-home .help__item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--fog);
}

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

.page-home .help__item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--mono);
  color: var(--cyan);
}

.page-home .help__item[open] summary::after { content: "–"; }

.page-home .help__item p {
  margin: 10px 0 0;
  max-width: 58ch;
  color: var(--silver);
  font-size: 14px;
  line-height: 1.8;
}

.page-home .help__more { margin-top: 22px; }

.page-home .help__contact {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line-strong);
  background: linear-gradient(170deg, rgba(18, 58, 50, .6), rgba(6, 17, 15, .92));
  box-shadow: 10px 10px 0 -1px rgba(18, 58, 50, .45);
}

.page-home .help__contact-lead {
  margin: 0;
  color: var(--silver);
  font-size: 13.5px;
  line-height: 1.72;
}

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

.page-home .help__contact-list li {
  display: grid;
  gap: 5px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.page-home .help__contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }

.page-home .help__k {
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--stone);
}

.page-home .help__v {
  color: var(--fog);
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
}

.page-home .help__contact .copy-btn {
  justify-self: start;
  max-width: 100%;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-all;
  text-align: left;
}

.page-home .help__contact .btn { justify-self: start; }

/* ---------- 响应式 ---------- */
@media (min-width: 520px) {
  .page-home .entry-card--android {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }

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

@media (min-width: 680px) {
  .page-home .hero__index {
    border-top: 0;
    border-left: 1px solid var(--line-strong);
    padding-top: 0;
    padding-left: 16px;
  }

  .page-home .hero__index-list {
    flex-direction: column;
    overflow: visible;
    gap: 2px;
  }

  .page-home .status__list li {
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 18px;
    align-items: baseline;
  }

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

@media (min-width: 820px) {
  .page-home .entry__grid {
    grid-template-columns: 1.06fr .94fr;
    align-items: stretch;
  }

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

  .page-home .team-card { grid-template-columns: minmax(0, 1fr) 320px; }
}

@media (min-width: 920px) {
  .page-home .hero__grid {
    grid-template-columns: 206px minmax(0, 1fr) 192px;
    align-items: start;
    gap: clamp(24px, 3vw, 46px);
  }

  .page-home .hero__main { order: 2; }
  .page-home .hero__index { order: 1; }
  .page-home .hero__status { order: 3; }

  .page-home .help__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    align-items: start;
  }

  .page-home .league-card { flex-basis: 268px; }
}

@media (min-width: 1180px) {
  .page-home .hero__lead { max-width: 52ch; }
  .page-home .entry-card { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .league-card,
  .page-home .hero__index-link {
    transition: none;
  }

  .page-home .league-card:hover {
    transform: none;
  }
}
