/* ===== 首页 · 夜航档案 ===== */
.page-home {
  --home-line: rgba(52, 224, 224, .20);
  --home-line-soft: rgba(159, 176, 204, .16);
  --home-panel: linear-gradient(158deg, rgba(20, 42, 85, .94) 0%, rgba(11, 27, 58, .90) 100%);
  --home-glow: inset 0 0 0 1px rgba(52, 224, 224, .16), 0 22px 48px rgba(3, 9, 22, .45);
  position: relative;
  overflow-x: hidden;
  color: var(--cloud);
}

/* ---------- 首屏拼贴 ---------- */
.page-home .home-hero {
  position: relative;
  padding: 104px 0 48px;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(720px 420px at 80% 2%, rgba(52, 224, 224, .16), transparent 68%),
    radial-gradient(560px 400px at 6% 52%, rgba(123, 92, 255, .18), transparent 70%);
}

.page-home .home-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .hero-block {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
  background: var(--home-panel);
  box-shadow: var(--home-glow);
  overflow: hidden;
  isolation: isolate;
}

.page-home .hero-block--main {
  padding: 0;
  min-height: 380px;
  justify-content: flex-end;
}

.page-home .hero-block__bg {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}

.page-home .hero-block__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 27, 58, .30) 0%, rgba(11, 27, 58, .88) 58%, rgba(11, 27, 58, .97) 100%);
}

.page-home .hero-block__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
}

.page-home .hero-block__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 22px 28px;
}

.page-home .hero-block--main h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 5.4vw, 44px);
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--cloud);
}

.page-home .hero-block--main p {
  margin: 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .hero-block__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.page-home .hero-block__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--cloud);
}

.page-home .hero-block p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .hero-block__lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--cloud);
}

.page-home .hero-block--a::before,
.page-home .hero-block--b::before,
.page-home .hero-block--c::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.page-home .hero-block--b::before {
  background: linear-gradient(90deg, var(--violet), transparent);
}

.page-home .hero-block--c::before {
  background: linear-gradient(90deg, var(--aurora), transparent);
}

/* ---------- 主体骨架 ---------- */
.page-home .home-body {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 88px;
}

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

.page-home .home-rail .rail__title {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home .home-rail .rail__list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.page-home .home-rail .rail__list li {
  flex: 0 0 auto;
}

.page-home .index-link {
  display: block;
  padding: 9px 14px;
  border: 1px solid var(--home-line-soft);
  color: var(--mist);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: .09em;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.page-home .index-link:hover,
.page-home .index-link:focus-visible,
.page-home .index-link.is-active {
  color: var(--night);
  background: var(--cyan);
  border-color: var(--cyan);
}

.page-home .home-body__content {
  display: grid;
  gap: 68px;
  min-width: 0;
}

.page-home .home-sec {
  position: relative;
  min-width: 0;
}

.page-home .sec-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.6vw, 30px);
  line-height: 1.34;
  font-weight: 700;
  color: var(--cloud);
  margin: 0 0 10px;
}

.page-home .sec-sub {
  margin: 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .sec-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--cyan);
  margin-bottom: 8px;
}

.page-home .home-sec .sec-head {
  margin-bottom: 26px;
  padding-left: 16px;
  border-left: 1px solid var(--home-line);
}

.page-home .home-sec__foot {
  margin: 24px 0 0;
}

/* ---------- 索引墙 ---------- */
.page-home .index-wall {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.page-home .index-wall__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
}

.page-home .index-wall__tags .tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  font-size: 13px;
  letter-spacing: .1em;
  text-decoration: none;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .index-wall__tags .tag:hover,
.page-home .index-wall__tags .tag:focus-visible {
  color: var(--night);
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(52, 224, 224, .38);
}

.page-home .index-wall__side {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.page-home .index-wall__feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  background: linear-gradient(150deg, rgba(123, 92, 255, .22) 0%, rgba(20, 42, 85, .92) 62%);
  box-shadow: inset 0 0 0 1px rgba(185, 168, 255, .24);
  text-decoration: none;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .index-wall__feature:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(52, 224, 224, .45), 0 18px 40px rgba(3, 9, 22, .5);
}

.page-home .index-wall__feature h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--cloud);
}

.page-home .index-wall__feature p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--mist);
}

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

.page-home .media-frame__img {
  display: block;
  overflow: hidden;
}

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

.page-home .media-frame__caption {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
}

/* ---------- 横向主题带 ---------- */
.page-home .change-band .band__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.page-home .change-band .band__item {
  flex: 0 0 80%;
  scroll-snap-align: start;
  min-width: 0;
}

.page-home .change-card {
  position: relative;
  padding: 24px 20px 26px;
  background: var(--home-panel);
  border-left: 2px solid var(--cyan);
  box-shadow: var(--home-glow);
}

.page-home .change-card:nth-child(2) {
  border-left-color: var(--orange);
}

.page-home .change-card:nth-child(3) {
  border-left-color: var(--violet);
}

.page-home .change-card__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--mist);
  margin-bottom: 10px;
}

.page-home .change-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.38;
  font-weight: 700;
  color: var(--cloud);
}

.page-home .change-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .change-band__media {
  overflow: hidden;
  margin: 0;
  min-height: 160px;
}

.page-home .change-band__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
}

/* ---------- 更新速览 ---------- */
.page-home .update-board {
  position: relative;
  padding: 26px 20px;
  overflow: hidden;
  background: var(--home-panel);
  box-shadow: var(--home-glow);
}

.page-home .update-board__bg {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}

.page-home .update-board__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(11, 27, 58, .78) 0%, rgba(11, 27, 58, .93) 70%);
}

.page-home .update-board__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
}

.page-home .update-board__list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
}

.page-home .update-row {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--home-line-soft);
}

.page-home .update-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .update-row h3 {
  margin: 10px 0 6px;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--cloud);
}

.page-home .update-row p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--mist);
}

/* ---------- 固定分类 ---------- */
.page-home .fixed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .fixed-card {
  position: relative;
  padding: 22px 20px;
  background: var(--home-panel);
  box-shadow: var(--home-glow);
}

.page-home .fixed-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--cloud);
}

.page-home .fixed-card h3::before {
  content: "▍";
  color: var(--cyan);
  margin-right: 6px;
  font-size: 15px;
}

.page-home .fixed-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .fixed-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  background: var(--home-line-soft);
  border: 1px solid var(--home-line-soft);
}

.page-home .fixed-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  background: rgba(11, 27, 58, .92);
}

.page-home .fixed-stats .stat__num {
  font-family: var(--font-mono);
  font-size: 28px;
  line-height: 1;
  color: var(--cyan);
}

.page-home .fixed-stats .stat__label {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--mist);
}

/* ---------- 服务分带 ---------- */
.page-home .support-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--home-line-soft);
  border: 1px solid var(--home-line-soft);
}

.page-home .support-band__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 20px;
  background: rgba(11, 27, 58, .94);
}

.page-home .support-band__item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--cloud);
}

.page-home .support-band__item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .support-band__link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(52, 224, 224, .4);
  padding-bottom: 2px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .support-band__link:hover,
.page-home .support-band__link:focus-visible {
  color: var(--orange);
  border-color: var(--orange);
}

/* ---------- 悬停浮出说明（桌面） ---------- */
@media (min-width: 900px) {
  .page-home .index-wall__tags .tag::after {
    content: attr(data-note);
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    transform: translate(-50%, 6px);
    width: max-content;
    max-width: 230px;
    padding: 8px 12px;
    background: var(--deep);
    color: var(--cloud);
    border: 1px solid var(--home-line);
    font-size: 12px;
    letter-spacing: 0;
    line-height: 1.55;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    z-index: 6;
    transition: opacity 180ms var(--ease), transform 180ms var(--ease);
  }

  .page-home .index-wall__tags .tag:hover::after,
  .page-home .index-wall__tags .tag:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* ---------- 平板 ---------- */
@media (min-width: 700px) {
  .page-home .home-hero {
    padding-top: 124px;
  }

  .page-home .hero-block {
    padding: 28px 26px;
  }

  .page-home .hero-block--main {
    padding: 0;
  }

  .page-home .hero-block__body {
    padding: 32px 30px 34px;
  }

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

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

  .page-home .change-band .band__item {
    flex: 0 0 46%;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 1040px) {
  .page-home .home-hero {
    padding-top: 140px;
  }

  .page-home .home-hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .hero-block--main {
    grid-column: 1 / 8;
    grid-row: 1 / 3;
    min-height: 440px;
  }

  .page-home .hero-block--a {
    grid-column: 8 / 13;
    grid-row: 1 / 2;
  }

  .page-home .hero-block--b {
    grid-column: 8 / 11;
    grid-row: 2 / 3;
  }

  .page-home .hero-block--c {
    grid-column: 11 / 13;
    grid-row: 2 / 3;
  }

  .page-home .home-body {
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 56px;
    padding-bottom: 104px;
  }

  .page-home .home-rail {
    position: sticky;
    top: 104px;
    align-self: start;
    border-top: 1px solid var(--home-line);
  }

  .page-home .home-rail .rail__list {
    flex-direction: column;
    gap: 6px;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-home .index-link {
    white-space: normal;
  }

  .page-home .home-body__content {
    gap: 84px;
  }

  .page-home .index-wall {
    grid-template-columns: minmax(0, 1.42fr) minmax(0, .58fr);
    gap: 34px;
    align-items: start;
  }

  .page-home .change-band .band__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .92fr);
    gap: 18px;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-home .change-band .band__item {
    flex: none;
  }

  .page-home .change-band__media {
    min-height: 100%;
  }

  .page-home .update-board {
    padding: 34px 32px;
  }

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

  .page-home .update-row {
    padding-bottom: 0;
    border-bottom: 0;
    border-left: 1px solid var(--home-line-soft);
    padding-left: 22px;
  }

  .page-home .update-row:first-child {
    border-left: 0;
    padding-left: 0;
  }

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

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

/* ---------- 大屏 ---------- */
@media (min-width: 1320px) {
  .page-home .home-hero {
    padding-top: 156px;
  }

  .page-home .home-body {
    grid-template-columns: 252px minmax(0, 1fr);
    gap: 68px;
  }
}
<<<END>>>
