.page-home {
  --home-gap: clamp(.8rem, 2vw, 1.35rem);
  --home-rail-w: 208px;
}

.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .9rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: .8125rem;
  letter-spacing: .06em;
  color: var(--muted);
}
.page-home .home-context__text { color: var(--paper); }
.page-home .home-context__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--cyan);
  letter-spacing: .08em;
}
.page-home .pulse-dot {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, .18);
}

/* ---------- 首屏拼贴 ---------- */
.page-home .hero-board {
  position: relative;
  padding-block: clamp(1.1rem, 3vw, 2rem) clamp(2rem, 4.5vw, 3.25rem);
  background-image:
    radial-gradient(58% 76% at 82% 0%, rgba(53, 242, 208, .08), transparent 68%),
    repeating-linear-gradient(90deg, rgba(36, 68, 59, .30) 0 1px, transparent 1px 92px);
  background-repeat: no-repeat, repeat;
}
.page-home .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
}
.page-home .hero-main { order: -1; }

.page-home .hero-rail {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: .95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(22, 35, 44, .62);
  min-width: 0;
}
.page-home .hero-rail__label {
  margin: 0;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
}
.page-home .rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.page-home .rail-list a {
  display: block;
  padding: .38rem 0 .38rem .65rem;
  border-left: 2px solid var(--line);
  color: var(--paper);
  text-decoration: none;
  font-size: .875rem;
  line-height: 1.45;
  transition: border-color .16s var(--ease), color .16s var(--ease), background-color .16s var(--ease);
}
.page-home .rail-list a:hover,
.page-home .rail-list a:focus-visible {
  border-left-color: var(--cyan);
  color: var(--cyan);
  background: rgba(53, 242, 208, .05);
  outline: none;
}
.page-home .rail-cta {
  font-size: .8125rem;
  letter-spacing: .04em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
  transition: border-color .16s var(--ease), color .16s var(--ease);
}
.page-home .rail-cta:hover,
.page-home .rail-cta:focus-visible {
  color: var(--mint);
  border-bottom-color: var(--cyan);
}
.page-home .hero-rail__media {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
}
.page-home .hero-rail__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hero-main {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(20rem, 52vw, 30rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  min-width: 0;
}
.page-home .hero-main__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .34;
  filter: saturate(.65) contrast(1.06);
}
.page-home .hero-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 19, 15, .30) 0%, rgba(6, 19, 15, .86) 58%, var(--ink) 100%);
}
.page-home .hero-main__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: clamp(1.1rem, 2.8vw, 2.1rem);
}
.page-home .hero-main__body h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 4.6vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--paper);
  max-width: 20ch;
}
.page-home .hero-main__lead {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(.92rem, 1.4vw, 1rem);
  line-height: 1.75;
  color: var(--paper);
  opacity: .84;
}
.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
}
.page-home .hero-stat {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}
.page-home .hero-stat__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.3rem, 3.6vw, 2.05rem);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--cyan);
}
.page-home .hero-stat__label {
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--muted);
}
.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .25rem;
}

.page-home .hero-side {
  display: grid;
  gap: var(--home-gap);
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}
.page-home .board-card {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: inherit;
  text-decoration: none;
  min-width: 0;
  transition: border-color .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease);
}
.page-home .board-card:hover,
.page-home .board-card:focus-visible {
  border-color: var(--cyan);
  background: var(--slate);
  box-shadow: inset 3px 0 0 var(--orange);
  outline: none;
}
.page-home .board-card--accent {
  background: linear-gradient(158deg, rgba(53, 242, 208, .10), transparent 62%), var(--panel);
}
.page-home .board-card__num {
  margin: .15rem 0 .1rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2.3rem, 6.4vw, 3.4rem);
  line-height: .95;
  letter-spacing: -.05em;
  color: var(--orange);
}
.page-home .board-card__num small {
  margin-left: .22em;
  font-size: .28em;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--amber);
}
.page-home .board-card__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--paper);
}
.page-home .board-card__note {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- 通用区块 ---------- */
.page-home .home-block {
  padding-block: clamp(2.25rem, 5.5vw, 3.75rem);
  border-top: 1px solid var(--line);
}
.page-home .block-head {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  max-width: 62ch;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.page-home .block-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.4vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--paper);
}
.page-home .block-lead {
  margin: 0;
  font-size: .95rem;
  line-height: 1.78;
  color: var(--muted);
}

/* ---------- 目录分类 ---------- */
.page-home .cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.page-home .cat-row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: .35rem .9rem;
  align-items: center;
  padding: 1rem .2rem;
  border-bottom: 1px solid var(--line);
  transition: background-color .16s var(--ease), box-shadow .16s var(--ease);
}
.page-home .cat-row:hover {
  background: rgba(53, 242, 208, .045);
  box-shadow: inset 3px 0 0 var(--orange);
}
.page-home .cat-row__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--cyan);
}
.page-home .cat-row__body {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}
.page-home .cat-row__body strong {
  font-size: .975rem;
  color: var(--paper);
}
.page-home .cat-row__body span {
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--muted);
}
.page-home .cat-row__go {
  grid-column: 2;
  justify-self: start;
  font-size: .75rem;
  letter-spacing: .1em;
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: .12rem;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.page-home .cat-row__go:hover,
.page-home .cat-row__go:focus-visible {
  color: var(--orange);
  border-bottom-color: var(--orange);
  outline: none;
}
.page-home .cat-path {
  margin: 1.25rem 0 0;
  max-width: 64ch;
  font-size: .875rem;
  line-height: 1.75;
  color: var(--muted);
  padding-left: .9rem;
  border-left: 2px solid var(--orange);
}

/* ---------- 战报节奏 ---------- */
.page-home .report-steps {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: rstep;
}
.page-home .report-steps li {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding-left: .9rem;
  border-left: 2px solid var(--line);
  transition: border-color .16s var(--ease);
}
.page-home .report-steps li:hover { border-left-color: var(--cyan); }
.page-home .report-steps li::before {
  counter-increment: rstep;
  content: counter(rstep, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--orange);
}
.page-home .report-steps__t {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
}
.page-home .report-steps li strong {
  font-size: 1rem;
  color: var(--paper);
}
.page-home .report-steps li p {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 射门统计 ---------- */
.page-home .shots {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.35rem, 3vw, 2.25rem);
  align-items: center;
}
.page-home .shots__copy { display: flex; flex-direction: column; gap: .75rem; }
.page-home .shots__list {
  list-style: none;
  margin: .25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.page-home .shots__list li {
  position: relative;
  padding-left: 1.05rem;
  font-size: .875rem;
  line-height: 1.65;
  color: var(--paper);
}
.page-home .shots__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: .5rem;
  height: 2px;
  background: var(--cyan);
}
.page-home .shots__figure {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-width: 0;
}
.page-home .shots__media {
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.page-home .shots__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-home .shots__num {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  margin: 0;
  padding-top: .75rem;
  border-top: 1px solid var(--line);
}
.page-home .shots__num span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  line-height: .9;
  letter-spacing: -.05em;
  color: var(--orange);
}
.page-home .shots__num small {
  flex: 1;
  font-size: .78rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- iOS ---------- */
.page-home .ios {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.35rem, 3vw, 2.25rem);
  align-items: center;
}
.page-home .ios__media {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.page-home .ios__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-home .ios__media .media__caption {
  color: var(--muted);
  font-size: .75rem;
}
.page-home .ios__copy {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  min-width: 0;
}
.page-home .ios__list {
  list-style: none;
  margin: .2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.page-home .ios__list li {
  padding: .6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .875rem;
  line-height: 1.65;
  color: var(--muted);
}
.page-home .ios__list strong {
  color: var(--paper);
  margin-right: .45rem;
}

/* ---------- 帮助折叠 ---------- */
.page-home .accordion { border-top: 1px solid var(--line); }
.page-home .accordion__summary {
  cursor: pointer;
  padding-block: 1rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: color .16s var(--ease), padding-left .16s var(--ease);
}
.page-home .accordion__summary:hover,
.page-home .accordion__summary:focus-visible {
  color: var(--cyan);
  padding-left: .5rem;
  outline: none;
}
.page-home .accordion__body p {
  margin: 0;
  padding: .85rem 0 1rem;
  max-width: 66ch;
  font-size: .875rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 服务条 ---------- */
.page-home .contact-strip.home-block { padding-block: 0; }
.page-home .contact-strip {
  background:
    radial-gradient(70% 120% at 12% 0%, rgba(53, 242, 208, .09), transparent 70%),
    var(--slate);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.page-home .contact-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: clamp(1.75rem, 4.5vw, 2.75rem);
}
.page-home .contact-strip__copy {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  max-width: 58ch;
}
.page-home .contact-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

/* ---------- 桌面栅格 ---------- */
@media (min-width: 720px) {
  .page-home .hero-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .cat-row {
    grid-template-columns: 4.2rem minmax(0, 1fr) auto;
    gap: .5rem 1.25rem;
    padding: 1.15rem .3rem;
  }
  .page-home .cat-row__go { grid-column: 3; justify-self: end; }
  .page-home .report-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
}

@media (min-width: 1024px) {
  .page-home .hero-grid {
    grid-template-columns: var(--home-rail-w) minmax(0, 1.55fr) minmax(0, 1fr);
    align-items: stretch;
  }
  .page-home .hero-main { order: 0; }
  .page-home .hero-rail {
    position: sticky;
    top: 92px;
    align-self: start;
  }
  .page-home .hero-rail__media { aspect-ratio: 3 / 4; }
  .page-home .hero-side { grid-template-columns: minmax(0, 1fr); }
  .page-home .shots { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .page-home .ios { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
}

@media (min-width: 1280px) {
  .page-home .hero-grid { grid-template-columns: var(--home-rail-w) minmax(0, 1.7fr) minmax(0, 1fr); }
}
