.page-home {
  --home-gutter: 20px;
  --home-maxw: 1180px;
  display: block;
  background: var(--rock-deep);
  color: var(--bone);
  overflow-x: hidden;
}

.page-home .wrap {
  width: 100%;
  max-width: var(--home-maxw);
  margin-inline: auto;
  padding-inline: var(--home-gutter);
}

@media (min-width: 768px) {
  .page-home { --home-gutter: 36px; }
}

@media (min-width: 1024px) {
  .page-home {
    --home-gutter: 48px;
    padding-left: var(--rail-w);
  }
}

.page-home a { color: var(--cyan); }
.page-home a:hover { color: var(--bone); }

.page-home :focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ---------- 首屏 ---------- */

.page-home .hero {
  position: relative;
  padding-block: 44px 40px;
  overflow: hidden;
  background: var(--rock-deep);
}

@media (min-width: 1024px) {
  .page-home .hero { padding-block: 68px 56px; }
}

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

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .18;
}

.page-home .hero__wash {
  position: absolute;
  inset: 0;
  display: block;
  background:
    radial-gradient(72% 62% at 10% 4%, rgba(10, 92, 255, .34), transparent 66%),
    radial-gradient(60% 52% at 88% 20%, rgba(123, 44, 255, .22), transparent 70%),
    linear-gradient(180deg, rgba(11, 14, 19, .58) 0%, rgba(11, 14, 19, .9) 60%, var(--rock-deep) 100%);
}

.page-home .hero__grid {
  position: absolute;
  inset: 0;
  display: block;
  background-image:
    linear-gradient(to right, rgba(42, 49, 64, .62) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 49, 64, .62) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: .48;
  -webkit-mask-image: radial-gradient(120% 100% at 0% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 100% at 0% 0%, #000 0%, transparent 72%);
}

.page-home .hero__inner {
  position: relative;
  z-index: 1;
}

.page-home .hero__kicker {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .18em;
  color: var(--cyan);
}

.page-home .hero__title {
  margin: 0 0 16px;
  max-width: 20ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: .02em;
  color: var(--bone);
}

.page-home .hero__lede {
  margin: 0;
  max-width: 60ch;
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--mist);
}

@media (min-width: 900px) {
  .page-home .hero__lede { font-size: 1.0625rem; }
}

.page-home .hero__cols {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

@media (min-width: 940px) {
  .page-home .hero__cols {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 30px;
    margin-top: 46px;
    align-items: start;
  }
}

.page-home .hero__coltitle {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .16em;
  color: var(--mist);
}

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

@media (min-width: 560px) {
  .page-home .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

.page-home .step {
  position: relative;
  padding: 22px 20px 20px;
  background: rgba(20, 25, 34, .82);
  border: 1px solid var(--rock-line);
  border-radius: var(--radius);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.page-home .step::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, transparent 50%, rgba(42, 49, 64, .95) 50%);
  pointer-events: none;
}

.page-home .step:hover {
  border-color: var(--cyan);
  box-shadow: inset 0 0 0 1px rgba(0, 229, 208, .14), 0 10px 26px rgba(0, 0, 0, .45);
}

@media (min-width: 560px) {
  .page-home .step + .step::before {
    content: "";
    position: absolute;
    left: -17px;
    top: 50%;
    width: 18px;
    height: 1px;
    background-image: linear-gradient(to right, var(--cyan) 0 4px, transparent 4px 8px);
    background-size: 8px 1px;
    background-repeat: repeat-x;
    opacity: .65;
  }
}

.page-home .step__num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .18em;
  color: var(--cyan);
}

.page-home .step__title {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--bone);
}

.page-home .step__desc {
  margin: 0;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .hero__stepnote {
  margin: 14px 0 0;
  font-size: .8125rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .dashboard {
  position: relative;
  padding: 14px;
  background: rgba(20, 25, 34, .9);
  border: 1px solid var(--rock-line);
  border-radius: var(--radius);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.page-home .dashboard:hover {
  border-color: var(--cyan);
  box-shadow: inset 0 0 0 1px rgba(0, 229, 208, .12), 0 14px 32px rgba(0, 0, 0, .45);
}

.page-home .dashboard::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, transparent 50%, rgba(42, 49, 64, .95) 50%);
  pointer-events: none;
}

.page-home .dashboard__art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--rock-line);
  border-radius: var(--radius);
  background: var(--slate-deep);
}

.page-home .dashboard__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
  border: 1px solid var(--rock-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .meter {
  min-width: 0;
  padding: 12px 10px 14px;
  background: rgba(16, 21, 29, .72);
  border-right: 1px solid var(--rock-line);
}

.page-home .meter:last-child { border-right: 0; }

.page-home .meter__key {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .1em;
  color: var(--mist);
}

.page-home .meter__val {
  display: block;
  font-family: var(--font-mono);
  font-size: .8125rem;
  line-height: 1.4;
  letter-spacing: .03em;
  color: var(--bone);
  overflow-wrap: anywhere;
}

.page-home .hero__index {
  margin-top: 36px;
  border-top: 1px solid var(--rock-line);
}

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

.page-home .hero__index li { border-bottom: 1px solid var(--rock-line); }

.page-home .hero__index a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 4px 14px;
  align-items: baseline;
  padding: 14px 6px;
  color: var(--bone);
  text-decoration: none;
  transition: background-color .18s var(--ease), padding-left .18s var(--ease);
}

.page-home .hero__index a:hover,
.page-home .hero__index a:focus-visible {
  background: rgba(0, 229, 208, .06);
  padding-left: 14px;
}

.page-home .idx__num {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .14em;
  color: var(--cyan);
}

.page-home .idx__label {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--bone);
  transition: color .18s var(--ease);
}

.page-home .hero__index a:hover .idx__label { color: var(--cyan); }

.page-home .idx__tip {
  grid-column: 2;
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--mist);
}

@media (min-width: 720px) {
  .page-home .hero__index a { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .page-home .idx__tip { grid-column: 3; text-align: right; }
}

.page-home .hero__stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 26px 0 0;
  padding: 0;
  background: var(--rock-line);
  border: 1px solid var(--rock-line);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.page-home .hero__stats .stat {
  padding: 16px 14px 18px;
  background: rgba(16, 21, 29, .88);
}

.page-home .hero__stats .stat__value {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  letter-spacing: .04em;
  color: var(--bone);
}

.page-home .hero__stats .stat__key {
  display: block;
  margin-top: 6px;
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--mist);
}

/* ---------- 章节骨架 ---------- */

.page-home .chapter {
  position: relative;
  padding-block: 52px;
  border-top: 1px solid var(--rock-line);
  scroll-margin-top: 96px;
}

@media (min-width: 900px) {
  .page-home .chapter { padding-block: 84px; }
}

.page-home .chapter__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 24px;
  margin-bottom: 26px;
}

.page-home .chapter__num {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: .9;
  letter-spacing: .02em;
  background: linear-gradient(165deg, rgba(10, 92, 255, .9), rgba(123, 44, 255, .34) 68%, rgba(42, 49, 64, .4));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .chapter__headtext {
  flex: 1 1 340px;
  min-width: 0;
}

.page-home .chapter__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 3vw, 1.95rem);
  line-height: 1.28;
  letter-spacing: .01em;
  color: var(--bone);
}

.page-home .chapter__lede {
  margin: 0;
  max-width: 62ch;
  font-size: .9375rem;
  line-height: 1.72;
  color: var(--mist);
}

@media (min-width: 900px) {
  .page-home .chapter__lede { font-size: 1rem; }
}

.page-home .chapter__state {
  flex: 0 0 auto;
  margin-left: auto;
  align-self: flex-start;
}

@media (max-width: 640px) {
  .page-home .chapter__headtext { flex-basis: 100%; }
  .page-home .chapter__state { margin-left: 0; }
}

/* ---------- 通用块 ---------- */

.page-home .duo {
  display: grid;
  gap: 16px;
}

@media (min-width: 760px) {
  .page-home .duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

.page-home .panel {
  padding: 22px 20px;
  background: rgba(20, 25, 34, .72);
  border: 1px solid var(--rock-line);
  border-radius: var(--radius);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.page-home .panel:hover {
  border-color: rgba(0, 229, 208, .5);
  box-shadow: inset 0 0 0 1px rgba(0, 229, 208, .1);
}

.page-home .panel__title {
  margin: 0 0 12px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--bone);
}

.page-home .panel p {
  margin: 0 0 .8em;
  font-size: .9375rem;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .panel p:last-child { margin-bottom: 0; }

.page-home .notes {
  margin-top: 22px;
  padding: 22px 20px;
  background: rgba(16, 21, 29, .7);
  border: 1px solid var(--rock-line);
  border-left: 2px solid var(--blue);
  border-radius: var(--radius);
}

.page-home .notes__title {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bone);
}

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

@media (min-width: 760px) {
  .page-home .notes__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

.page-home .notes__list li {
  position: relative;
  padding-left: 16px;
  font-size: .875rem;
  line-height: 1.68;
  color: var(--mist);
}

.page-home .notes__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.page-home .notes__list strong {
  color: var(--bone);
  font-weight: 600;
}

.page-home .notes__foot {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--rock-line);
  font-size: .875rem;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 版本章节 ---------- */

.page-home .media-frame {
  margin: 0 0 26px;
}

.page-home .catrow {
  display: grid;
  gap: 1px;
  margin-top: 4px;
  background: var(--rock-line);
  border: 1px solid var(--rock-line);
  border-radius: var(--radius);
  overflow: hidden;
}

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

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

.page-home .catrow__item {
  padding: 18px 16px 20px;
  background: rgba(16, 21, 29, .9);
  transition: background-color .18s var(--ease);
}

.page-home .catrow__item:hover { background: rgba(20, 25, 34, 1); }

.page-home .catrow__item h3 {
  margin: 0 0 8px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--bone);
}

.page-home .catrow__item p {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.62;
  color: var(--mist);
}

.page-home .callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px dashed rgba(255, 159, 28, .5);
  background: rgba(255, 159, 28, .06);
  border-radius: var(--radius);
}

.page-home .callout__mark {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  color: var(--amber);
  border: 1px solid rgba(255, 159, 28, .45);
  border-radius: var(--radius);
  padding: 4px 8px;
}

.page-home .callout p {
  flex: 1 1 240px;
  margin: 0;
  font-size: .875rem;
  line-height: 1.68;
  color: var(--bone);
}

.page-home .vline {
  margin: 22px 0 0;
  font-size: .875rem;
  line-height: 1.9;
  color: var(--mist);
}

.page-home .copy-tag {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--cyan);
  background: rgba(0, 229, 208, .08);
  border: 1px solid rgba(0, 229, 208, .38);
  border-radius: var(--radius);
  padding: 3px 8px;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.page-home .copy-tag:hover {
  background: rgba(0, 229, 208, .18);
  color: var(--bone);
}

.page-home .copy-tag.is-copied {
  border-color: var(--moss);
  color: var(--moss);
}

.page-home .copy-status {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .08em;
  color: var(--moss);
}

/* ---------- 资料章节 ---------- */

.page-home .lib {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .page-home .lib {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 34px;
    align-items: start;
  }
}

.page-home .foldable {
  margin-bottom: 10px;
  background: rgba(20, 25, 34, .6);
  border: 1px solid var(--rock-line);
  border-radius: var(--radius);
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}

.page-home .foldable:hover { border-color: rgba(0, 229, 208, .4); }

.page-home .foldable[open] {
  border-color: rgba(0, 229, 208, .55);
  background: rgba(20, 25, 34, .92);
}

.page-home .foldable__trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--bone);
}

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

.page-home .foldable__trigger::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1;
  color: var(--cyan);
  transition: transform .18s var(--ease);
}

.page-home .foldable[open] .foldable__trigger::after { transform: rotate(45deg); }

.page-home .foldable__name { flex: 0 0 auto; }

.page-home .foldable__count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .1em;
  color: var(--mist);
}

.page-home .foldable__body {
  padding: 0 18px 18px;
  font-size: .875rem;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .foldable__body p { margin: 0; }

.page-home .aside-card {
  padding: 20px;
  background: linear-gradient(180deg, rgba(10, 92, 255, .1), rgba(20, 25, 34, .86) 52%);
  border: 1px solid var(--rock-line);
  border-radius: var(--radius);
}

@media (min-width: 900px) {
  .page-home .aside-card {
    position: sticky;
    top: calc(var(--topbar-h) + 24px);
  }
}

.page-home .aside-card__art {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 18px;
  border: 1px solid var(--rock-line);
  border-radius: var(--radius);
  background: var(--slate-deep);
}

.page-home .aside-card__title {
  margin: 0 0 14px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--bone);
}

.page-home .facts {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
}

.page-home .facts li {
  position: relative;
  padding-left: 16px;
  font-size: .875rem;
  line-height: 1.66;
  color: var(--mist);
}

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

.page-home .aside-card__btn {
  display: inline-block;
  text-decoration: none;
}

/* ---------- 帮助章节 ---------- */

.page-home .scenes {
  list-style: none;
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--rock-line);
  border: 1px solid var(--rock-line);
  border-radius: var(--radius);
  overflow: hidden;
}

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

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

.page-home .scene {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 18px 24px;
  background: rgba(16, 21, 29, .92);
  transition: background-color .18s var(--ease), box-shadow .18s var(--ease);
}

.page-home .scene:hover {
  background: rgba(20, 25, 34, 1);
  box-shadow: inset 0 -2px 0 var(--cyan);
}

.page-home .scene__num {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  color: var(--mist);
}

.page-home .scene__name {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--bone);
}

.page-home .scene__desc {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.62;
  color: var(--mist);
}

.page-home .scene__count {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--cyan);
}

.page-home .entry {
  margin-top: 22px;
  padding: 22px 20px;
  background: rgba(10, 92, 255, .07);
  border: 1px solid var(--rock-line);
  border-radius: var(--radius);
}

.page-home .entry p {
  margin: 0 0 18px;
  max-width: 62ch;
  font-size: .9375rem;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .entry__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .entry__actions .btn { text-decoration: none; }

/* ---------- 联系章节 ---------- */

.page-home .contact-card {
  padding: 20px;
  background: rgba(20, 25, 34, .76);
  border: 1px solid var(--rock-line);
  border-radius: var(--radius);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.page-home .contact-card:hover {
  border-color: rgba(0, 229, 208, .5);
  box-shadow: inset 0 0 0 1px rgba(0, 229, 208, .1);
}

.page-home .contact-card__key {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  color: var(--mist);
}

.page-home .contact-card p {
  margin: 12px 0 0;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .contact-card__text {
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--bone);
  word-break: break-word;
}

.page-home .assure {
  margin-top: 24px;
  padding: 24px 20px;
  border: 1px solid var(--rock-line);
  border-top: 2px solid var(--moss);
  background: rgba(16, 21, 29, .72);
  border-radius: var(--radius);
}

.page-home .assure__title {
  margin: 0 0 14px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--bone);
}

.page-home .assure p {
  margin: 0 0 .9em;
  max-width: 70ch;
  font-size: .9375rem;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .assure p:last-child { margin-bottom: 0; }

.page-home .assure__link { font-size: .875rem; }

.page-home .btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  text-decoration: none;
}
<<<END>>>
