.page-home {
  --home-hair: rgba(20, 61, 46, 0.9);
  --home-line: rgba(154, 181, 165, 0.2);
  --home-soft: rgba(53, 242, 166, 0.12);
  background: var(--ks-night);
  color: var(--ks-bone);
  font-family: var(--ks-font-sans);
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(20px, 3vw, 34px) 0 clamp(38px, 5.5vw, 72px);
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.page-home .home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: saturate(0.45) contrast(1.15);
}

.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 26, 19, 0.5) 0%, rgba(6, 26, 19, 0.88) 58%, var(--ks-night) 100%);
}

.page-home .home-blueprint {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--home-hair) 1px, transparent 1px),
    linear-gradient(to bottom, var(--home-hair) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(130% 100% at 22% 0%, #000 8%, transparent 78%);
  mask-image: radial-gradient(130% 100% at 22% 0%, #000 8%, transparent 78%);
}

.page-home .home-hero__head {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3.4vw, 40px);
}

.page-home .home-hero__main {
  position: relative;
  padding-left: clamp(16px, 3vw, 30px);
  border-left: 1px solid var(--home-line);
}

.page-home .home-hero__main::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ks-neon);
  box-shadow: 0 0 14px var(--ks-neon);
}

.page-home .home-hero__title {
  margin: 0.4em 0 0.55em;
  font-family: var(--ks-font-display);
  font-weight: 700;
  font-size: clamp(28px, 6.6vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ks-bone);
}

.page-home .home-hero__title em {
  font-style: normal;
  color: var(--ks-neon);
}

.page-home .home-hero__lead {
  margin: 0 0 1.6em;
  max-width: 34em;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: var(--ks-mist);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.page-home .home-hero__ticks {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--home-line);
  display: grid;
  gap: 12px;
}

.page-home .home-hero__tick {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ks-mist);
}

.page-home .home-hero__tick b {
  font-family: var(--ks-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ks-neon);
}

/* 版本状态卡 */
.page-home .home-status {
  position: relative;
  overflow: hidden;
  padding: clamp(16px, 2.4vw, 26px);
  border: 1px solid rgba(244, 184, 74, 0.45);
  border-radius: var(--ks-radius);
  background: linear-gradient(165deg, rgba(15, 90, 66, 0.55) 0%, rgba(6, 26, 19, 0.94) 68%);
}

.page-home .home-status::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 68px;
  height: 68px;
  background: linear-gradient(225deg, rgba(244, 184, 74, 0.3), transparent 70%);
  pointer-events: none;
}

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

.page-home .home-status__state {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ks-mist);
}

.page-home .home-status__num {
  margin: 0.14em 0 0;
  font-family: var(--ks-font-mono);
  font-weight: 700;
  font-size: clamp(74px, 17vw, 136px);
  line-height: 0.82;
  letter-spacing: -0.06em;
  color: var(--ks-amber);
  text-shadow: 0 0 46px rgba(244, 184, 74, 0.26);
}

.page-home .home-status__cap {
  margin: 12px 0 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ks-bone);
}

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

.page-home .home-status__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--home-line);
  font-size: 13px;
}

.page-home .home-status__key {
  color: var(--ks-mist);
}

.page-home .home-status__val {
  font-family: var(--ks-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ks-neon);
}

.page-home .home-status__more {
  margin-top: 16px;
  font-size: 13px;
}

.page-home .home-status__more summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--ks-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ks-amber);
}

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

.page-home .home-status__more summary::before {
  content: "+ ";
}

.page-home .home-status__more[open] summary::before {
  content: "– ";
}

.page-home .home-status__more p {
  margin: 10px 0 0;
  line-height: 1.8;
  color: var(--ks-mist);
}

.page-home .home-status__img {
  margin-top: 18px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--home-line);
}

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

.page-home .home-status__go {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
}

/* ---------- 两步路径 ---------- */
.page-home .home-route {
  position: relative;
  padding: clamp(38px, 5.5vw, 76px) 0;
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-route__head {
  max-width: 46em;
  margin-bottom: clamp(22px, 3.2vw, 34px);
}

.page-home .home-route__head .ks-h2 {
  margin: 0.35em 0 0.5em;
}

.page-home .home-route__bar {
  position: relative;
  height: 2px;
  border-radius: 2px;
  background: var(--home-line);
  overflow: hidden;
  margin-bottom: clamp(24px, 3.6vw, 40px);
}

.page-home .home-route__bar span {
  display: block;
  height: 100%;
  width: 66%;
  background: linear-gradient(90deg, var(--ks-neon), var(--ks-amber));
}

.page-home .home-route__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(22px, 3vw, 34px);
}

.page-home .home-route__step {
  position: relative;
  padding-left: 52px;
}

.page-home .home-route__step::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 34px;
  bottom: -26px;
  width: 1px;
  background: var(--home-line);
}

.page-home .home-route__step:last-child::before {
  display: none;
}

.page-home .home-route__idx {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--ks-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ks-night);
  background: var(--ks-neon);
  box-shadow: 0 0 0 4px rgba(53, 242, 166, 0.14);
}

.page-home .home-route__title {
  margin: 0 0 0.5em;
  font-family: var(--ks-font-sans);
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ks-bone);
}

.page-home .home-route__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ks-mist);
}

.page-home .home-route__figure {
  margin: clamp(26px, 4vw, 44px) 0 0;
  position: relative;
  border: 1px solid var(--home-line);
  border-radius: var(--ks-radius);
  overflow: hidden;
  background: rgba(10, 36, 27, 0.6);
}

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

.page-home .home-route__figure .ks-media__cap {
  display: block;
  padding: 12px clamp(14px, 2vw, 20px);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ks-mist);
  border-top: 1px solid var(--home-line);
}

/* ---------- 常用入口与收藏 ---------- */
.page-home .home-cabinet {
  padding: clamp(38px, 5.5vw, 74px) 0;
  border-bottom: 1px solid var(--home-line);
  background: linear-gradient(180deg, rgba(10, 36, 27, 0.55), rgba(6, 26, 19, 0) 78%);
}

.page-home .home-cabinet__head {
  max-width: 40em;
  margin-bottom: clamp(22px, 3vw, 32px);
}

.page-home .home-cabinet__head .ks-h2 {
  margin: 0.35em 0 0;
}

.page-home .home-cabinet__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .home-cabinet__item {
  padding: 20px 20px 22px;
  border-left: 2px solid var(--ks-moss);
  background: rgba(10, 36, 27, 0.6);
  border-radius: 0 10px 10px 0;
}

.page-home .home-cabinet__item:first-child {
  border-left-color: var(--ks-neon);
}

.page-home .home-cabinet__num {
  margin: 0 0 10px;
  font-family: var(--ks-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--ks-amber);
}

.page-home .home-cabinet__item .ks-h3 {
  margin: 0 0 0.5em;
  font-size: 16px;
  font-weight: 800;
  color: var(--ks-bone);
}

.page-home .home-cabinet__item .ks-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--ks-mist);
}

.page-home .home-cabinet__more {
  margin: clamp(20px, 3vw, 28px) 0 0;
}

/* ---------- 反馈分流 ---------- */
.page-home .home-help {
  padding: clamp(38px, 5.5vw, 74px) 0;
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-help__head {
  max-width: 44em;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.page-home .home-help__head .ks-h2 {
  margin: 0.35em 0 0.5em;
}

.page-home .home-help__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-home .home-help__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--home-line);
  border-radius: var(--ks-radius);
  background: linear-gradient(155deg, rgba(15, 90, 66, 0.3), rgba(6, 26, 19, 0.9) 62%);
}

.page-home .home-help__card--alt {
  border-color: rgba(53, 242, 166, 0.34);
  background: linear-gradient(155deg, rgba(42, 107, 82, 0.34), rgba(6, 26, 19, 0.92) 62%);
}

.page-home .home-help__card .ks-h3 {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 800;
  color: var(--ks-bone);
}

.page-home .home-help__card .ks-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ks-mist);
}

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

.page-home .home-help__list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ks-bone);
}

.page-home .home-help__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 1px;
  background: var(--ks-neon);
}

.page-home .home-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}

/* ---------- 目录动态主题带 ---------- */
.page-home .home-tape {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(38px, 5.5vw, 74px) 0;
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-tape__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.page-home .home-tape__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.13;
  filter: saturate(0.5);
}

.page-home .home-tape__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 26, 19, 0.75), rgba(6, 26, 19, 0.96));
}

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

.page-home .home-tape__head {
  max-width: 40em;
  margin-bottom: clamp(20px, 2.8vw, 28px);
}

.page-home .home-tape__head .ks-h2 {
  margin: 0.35em 0 0;
}

.page-home .home-tape__tags {
  list-style: none;
  margin: 0 0 clamp(18px, 2.6vw, 26px);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .home-tape__tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--home-line);
  background: rgba(6, 26, 19, 0.7);
  font-family: var(--ks-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ks-mist);
}

.page-home .home-tape__tag--on {
  border-color: var(--ks-neon);
  background: var(--ks-neon);
  color: var(--ks-night);
}

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

.page-home .home-tape__row {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-tape__meta {
  font-family: var(--ks-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ks-amber);
}

.page-home .home-tape__title {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ks-bone);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ks-ease), color 0.3s var(--ks-ease);
}

.page-home .home-tape__title:hover,
.page-home .home-tape__title:focus-visible {
  color: var(--ks-neon);
  border-bottom-color: var(--ks-neon);
}

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

.page-home .home-tape__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(20px, 3vw, 30px);
}

/* ---------- 运营数据 ---------- */
.page-home .home-stats {
  padding: clamp(36px, 5vw, 68px) 0 clamp(42px, 6vw, 80px);
}

.page-home .home-stats__head {
  max-width: 40em;
  margin-bottom: clamp(20px, 2.8vw, 30px);
}

.page-home .home-stats__head .ks-h2 {
  margin: 0.35em 0 0;
}

.page-home .home-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--home-line);
  border: 1px solid var(--home-line);
  border-radius: var(--ks-radius);
  overflow: hidden;
}

.page-home .home-stats__item {
  padding: 18px 16px 20px;
  background: rgba(6, 26, 19, 0.95);
}

.page-home .home-stats__num {
  margin: 0;
  font-family: var(--ks-font-mono);
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ks-neon);
}

.page-home .home-stats__label {
  margin: 9px 0 0;
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--ks-mist);
}

.page-home .home-stats__note {
  margin: clamp(20px, 3vw, 30px) 0 0;
  display: grid;
  gap: 12px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ks-mist);
}

.page-home .home-stats__mail {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-home .home-stats__mail .ks-mono {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ks-bone);
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-home .home-hero__ticks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

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

  .page-home .home-tape__row {
    grid-template-columns: 108px minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 20px;
  }
}

@media (min-width: 860px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.82fr);
    align-items: start;
    gap: clamp(28px, 4vw, 56px);
  }

  .page-home .home-status__num {
    font-size: clamp(96px, 10vw, 136px);
  }

  .page-home .home-route__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .page-home .home-route__step {
    padding: 0 clamp(16px, 2vw, 26px) 0 52px;
  }

  .page-home .home-route__step::before {
    left: 17px;
    top: 36px;
    bottom: auto;
    width: calc(100% - 17px);
    height: 1px;
  }

  .page-home .home-route__step:last-child::before {
    display: block;
    width: calc(100% - 17px);
  }

  .page-home .home-help__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

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

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

  .page-home .home-stats__note {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .home-tape__title {
    transition: none;
  }
}
