.page-home {
  --home-glow-cyan: rgba(45, 226, 230, 0.20);
  --home-glow-amber: rgba(242, 181, 68, 0.15);
  --home-line: rgba(34, 65, 95, 0.9);
  --home-card-bg: linear-gradient(160deg, rgba(13, 31, 54, 0.95), rgba(7, 20, 38, 0.88));
  position: relative;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  overflow-x: clip;
}

/* ===== 首屏封面 ===== */
.page-home .home-hero {
  position: relative;
  padding: clamp(26px, 7vw, 58px) 0 0;
  background:
    radial-gradient(58% 62% at 88% 6%, var(--home-glow-cyan), transparent 70%),
    radial-gradient(52% 58% at 6% 96%, var(--home-glow-amber), transparent 72%),
    var(--ink);
  overflow: hidden;
}

.page-home .home-hero__inner {
  display: grid;
  gap: clamp(26px, 5vw, 46px);
  align-items: start;
}

.page-home .home-hero__copy {
  position: relative;
  z-index: 2;
}

.page-home .home-hero__title {
  margin: 14px 0 0;
  font-size: clamp(32px, 7.4vw, 66px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .home-hero__title span {
  display: inline-block;
  color: var(--cyan-soft);
}

.page-home .home-hero__lede {
  margin: 16px 0 0;
  max-width: 60ch;
  color: var(--body-dim);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
}

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

.page-home .home-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-home .home-hero__facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-home .home-hero__facts li::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--cyan);
  opacity: 0.8;
}

.page-home .home-hero__stage {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
}

.page-home .home-hero__figure {
  position: absolute;
  inset: -14px -6px 8px -6px;
  margin: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(200deg, #000 10%, rgba(0, 0, 0, 0.25) 78%, transparent);
  mask-image: linear-gradient(200deg, #000 10%, rgba(0, 0, 0, 0.25) 78%, transparent);
}

.page-home .home-hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) brightness(0.78);
}

.page-home .home-hero__card {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(18px, 3vw, 26px);
  background: var(--home-card-bg);
  border: 1px solid var(--steel);
  border-top: 2px solid var(--cyan);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.page-home .home-hero__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-home .home-hero__round {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(50px, 13vw, 84px);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.04em;
  color: var(--cyan-soft);
}

.page-home .home-hero__round em {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--mist);
  margin-left: 8px;
}

.page-home .home-hero__round-cap {
  margin: 10px 0 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--body-dim);
}

.page-home .home-hero__rows {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-hero__rows li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px dashed var(--home-line);
  font-size: 13.5px;
  color: var(--paper);
}

.page-home .home-hero__row-no {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-home .home-hero__row-state {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--amber);
}

.page-home .home-hero__card .by-btn {
  margin-top: 18px;
  width: 100%;
  justify-content: center;
}

.page-home .home-hero__vert {
  display: none;
}

/* ===== 轮次轨迹装饰 ===== */
.page-home .home-track {
  width: 100%;
  max-width: var(--shell);
  margin: clamp(20px, 4vw, 34px) auto 0;
  padding: 0 var(--pad);
}

.page-home .home-track svg {
  display: block;
  width: 100%;
  height: 40px;
}

/* ===== 栏目索引栏 ===== */
.page-home .home-rail {
  margin-top: 14px;
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
  background: linear-gradient(90deg, rgba(13, 31, 54, 0.92), rgba(7, 20, 38, 0.55));
}

.page-home .home-rail__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 12px;
  padding-bottom: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.page-home .home-rail__label {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mist);
}

.page-home .home-rail__list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-rail__list .by-index__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  white-space: nowrap;
  font-size: 13px;
  color: var(--body-dim);
  text-decoration: none;
  background: rgba(13, 31, 54, 0.6);
  border: 1px solid var(--steel);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-home .home-rail__list .by-index__link .by-index__no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-home .home-rail__list .by-index__link:hover,
.page-home .home-rail__list .by-index__link:focus-visible,
.page-home .home-rail__list .by-index__link.is-active {
  color: var(--paper);
  border-color: var(--cyan);
  background: rgba(45, 226, 230, 0.08);
}

/* ===== 数据条 ===== */
.page-home .home-stats {
  border-bottom: 1px solid var(--steel);
  background: linear-gradient(180deg, rgba(13, 31, 54, 0.7), rgba(7, 20, 38, 0));
}

.page-home .home-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding-top: 1px;
  padding-bottom: 1px;
  background: var(--home-line);
}

.page-home .home-stats__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  background: var(--ink);
}

.page-home .home-stats__num {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cyan-soft);
}

.page-home .home-stats__cap {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

/* ===== 章节通用 ===== */
.page-home .home-sec {
  padding: clamp(40px, 7vw, 78px) 0;
  scroll-margin-top: 92px;
}

.page-home .home-sec--last {
  padding-bottom: clamp(48px, 8vw, 90px);
}

.page-home .home-h2 {
  margin: 12px 0 0;
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.page-home .home-p {
  margin: 14px 0 0;
  max-width: 68ch;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--body-dim);
}

.page-home .home-split {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
  align-items: center;
}

.page-home .home-sec__head {
  max-width: 68ch;
}

.page-home .home-linkrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin: 24px 0 0;
}

.page-home .home-textlink {
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: var(--cyan-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 226, 230, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .home-textlink:hover,
.page-home .home-textlink:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

/* ===== 图片框 ===== */
.page-home .home-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--steel);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

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

.page-home .home-figure--square img {
  aspect-ratio: 9 / 7;
}

.page-home .home-figure--tall img {
  aspect-ratio: 3 / 4;
  max-height: 520px;
}

.page-home .home-figure--banner {
  margin-top: clamp(22px, 4vw, 34px);
}

.page-home .home-figure--banner img {
  aspect-ratio: 2 / 1;
  max-height: 420px;
}

.page-home .home-figure__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 26px 16px 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--body-dim);
  background: linear-gradient(180deg, transparent, rgba(7, 20, 38, 0.9));
}

/* ===== 要点列表 ===== */
.page-home .home-points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.page-home .home-points li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0 0;
  border-top: 1px solid var(--home-line);
}

.page-home .home-points__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--amber);
  padding-top: 2px;
}

.page-home .home-points strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
}

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

/* ===== 安卓步骤 ===== */
.page-home .home-steps {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.page-home .home-steps li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--home-line);
}

.page-home .home-steps li:last-child {
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-steps__no {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cyan);
  line-height: 1.2;
}

.page-home .home-steps strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
}

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

.page-home .home-split__body .by-note {
  margin-top: 20px;
  font-size: 13px;
}

/* ===== 筛选说明 ===== */
.page-home .home-filters {
  display: grid;
  gap: 20px;
  margin-top: clamp(24px, 4vw, 36px);
}

.page-home .home-filter {
  position: relative;
  padding: 4px 0 4px 16px;
  border-left: 2px solid var(--teal);
}

.page-home .home-filter:nth-child(2) {
  border-left-color: var(--cyan);
}

.page-home .home-filter:nth-child(3) {
  border-left-color: var(--amber);
}

.page-home .home-filter__no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.page-home .home-filter h3 {
  margin: 6px 0 0;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--paper);
}

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

/* ===== 跟队索引 ===== */
.page-home .home-index {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.page-home .home-index__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--body-dim);
  background: var(--panel);
  border: 1px solid var(--steel);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-home .home-index__link:hover,
.page-home .home-index__link:focus-visible {
  color: var(--paper);
  border-color: var(--cyan);
  background: rgba(45, 226, 230, 0.07);
}

.page-home .home-index__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-home .home-index__text {
  font-size: 14.5px;
}

.page-home .home-index li.is-current .home-index__link {
  background: linear-gradient(100deg, rgba(242, 181, 68, 0.14), rgba(13, 31, 54, 0.9));
  border-color: var(--amber);
  color: var(--paper);
}

.page-home .home-index li.is-current .home-index__no {
  color: var(--amber);
}

.page-home .home-index__tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--amber);
}

/* ===== 状态与联系 ===== */
.page-home .home-status {
  display: grid;
  gap: clamp(22px, 4vw, 34px);
}

.page-home .home-status__panel {
  padding: clamp(20px, 3.4vw, 34px);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(45, 226, 230, 0.1), transparent 68%),
    var(--panel);
  border: 1px solid var(--steel);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

.page-home .home-status__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.page-home .home-status__contact {
  padding: clamp(20px, 3.4vw, 30px);
  background: rgba(13, 31, 54, 0.6);
  border: 1px solid var(--steel);
  border-left: 3px solid var(--amber);
}

.page-home .home-status__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--cyan-soft);
}

.page-home .home-status__mono {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--paper);
  word-break: break-word;
}

.page-home .home-status__small {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--mist);
}

/* ===== 窄屏与桌面布局 ===== */
@media (max-width: 560px) {
  .page-home .home-hero__stage {
    min-height: 0;
  }

  .page-home .home-hero__figure {
    inset: -8px 0 0 0;
    opacity: 0.4;
  }

  .page-home .home-figure--tall img {
    max-height: 380px;
  }
}

@media (min-width: 700px) {
  .page-home .home-stats__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-home .home-filters {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 26px;
  }

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

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: end;
    gap: clamp(30px, 4vw, 56px);
  }

  .page-home .home-hero__stage {
    min-height: 460px;
    padding-bottom: 6px;
  }

  .page-home .home-hero__figure {
    inset: -30px -40px -20px -30px;
    opacity: 0.62;
  }

  .page-home .home-hero__vert {
    display: block;
    position: absolute;
    right: -30px;
    top: 8px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.28em;
    color: var(--mist);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }

  .page-home .home-split {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }

  .page-home .home-split--flip {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .page-home .home-split--flip .home-figure {
    order: 2;
  }

  .page-home .home-track svg {
    height: 56px;
  }
}

@media (min-width: 1180px) {
  .page-home .home-hero {
    padding-top: 66px;
  }

  .page-home .home-hero__stage {
    min-height: 500px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-rail__list .by-index__link,
  .page-home .home-index__link,
  .page-home .home-textlink {
    transition: none;
  }
}
