.page-home {
  --home-line-soft: rgba(143, 163, 184, 0.22);
  --home-glow: rgba(36, 224, 255, 0.55);
  position: relative;
  padding: 24px 0 96px;
}

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

/* ---------- 左侧刻度导轨 ---------- */
.page-home .home-rail {
  position: relative;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--home-line-soft);
  overflow-x: auto;
  scrollbar-width: none;
}
.page-home .home-rail::-webkit-scrollbar {
  display: none;
}
.page-home .rail-cap,
.page-home .annotation-side {
  display: none;
}
.page-home .rail-nav {
  display: flex;
  gap: 8px;
  min-width: max-content;
}
.page-home .rail-nav .anchor-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--home-line-soft);
  border-radius: var(--radius);
  color: var(--slate);
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.page-home .rail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}
.page-home .rail-nav .anchor-link:hover {
  color: var(--mist);
  border-color: var(--line);
}
.page-home .rail-nav .anchor-link[aria-current="true"] {
  color: var(--cyan);
  border-color: var(--line);
  background: rgba(36, 224, 255, 0.09);
}

/* ---------- 右侧内容轨道 ---------- */
.page-home .home-track {
  display: flex;
  flex-direction: column;
  gap: 78px;
  min-width: 0;
}

/* ---------- 首屏：入口状态 + 查询台 ---------- */
.page-home .home-open {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}
.page-home .eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lemon);
}
.page-home .display-xl {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 8.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--mist);
}
.page-home .lead {
  margin: 18px 0 0;
  max-width: 44ch;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--slate);
}
.page-home .open-status {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-home .open-status li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--mist);
}
.page-home .open-status .status-dot {
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px rgba(91, 231, 169, 0.7);
}
.page-home .open-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.page-home .bookmark-hint {
  margin: 10px 0 0;
  min-height: 18px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--cyan);
}

/* 查询台控制台卡片 */
.page-home .console {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(122, 43, 255, 0.16), transparent 58%),
    linear-gradient(165deg, rgba(14, 42, 51, 0.92), rgba(11, 18, 32, 0.96));
  box-shadow:
    0 0 0 1px rgba(36, 224, 255, 0.06),
    0 26px 60px -34px var(--home-glow);
}
.page-home .console::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--magenta), var(--cyan));
}
.page-home .console__head {
  margin-bottom: 16px;
}
.page-home .console__head .eyebrow {
  font-size: 11px;
  color: var(--lemon);
}
.page-home .console__head h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--mist);
}
.page-home .query-row {
  display: flex;
  gap: 10px;
}
.page-home .query-input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--home-line-soft);
  border-radius: var(--radius);
  background: rgba(11, 18, 32, 0.8);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 15px;
}
.page-home .query-input::placeholder {
  color: var(--slate);
}
.page-home .query-input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(36, 224, 255, 0.15);
}
.page-home .qlist {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.page-home .qlist li {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px dashed var(--home-line-soft);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--mist);
}
.page-home .qlist .tag {
  justify-self: start;
  font-size: 12px;
}
.page-home .console__shot {
  margin: 16px 0 0;
  aspect-ratio: 2.2 / 1;
  border: 1px solid var(--line-ghost);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(150deg, rgba(14, 42, 51, 0.9), rgba(43, 27, 90, 0.55));
}
.page-home .console__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-home .console__foot {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--slate);
}
.page-home .console__foot a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.page-home .home-open__visual {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--home-line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(120deg, rgba(11, 18, 32, 0.92), rgba(14, 42, 51, 0.85) 45%, rgba(43, 27, 90, 0.72));
}
.page-home .home-open__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 通用章节 ---------- */
.page-home .home-sec {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.page-home .sec-head {
  max-width: 720px;
}
.page-home .section-title,
.page-home .sec-head h2 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 5.4vw, 32px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--mist);
}
.page-home .section-note {
  margin: 12px 0 0;
  max-width: 60ch;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--slate);
}
.page-home .sec-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 安装包通道 ---------- */
.page-home .apps-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}
.page-home .cat-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-home .cat-chips li {
  padding: 7px 13px;
  border: 1px solid var(--home-line-soft);
  border-radius: 999px;
  background: rgba(14, 42, 51, 0.6);
  font-size: 13.5px;
  color: var(--mist);
}
.page-home .cat-chips .chip-more {
  border-color: var(--line);
  color: var(--cyan);
}
.page-home .apps-note {
  margin: 18px 0 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--slate);
}
.page-home .apps-copy .btn {
  margin-top: 22px;
}
.page-home .apps-visual {
  margin: 0;
  aspect-ratio: 4 / 3;
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
  background: linear-gradient(140deg, rgba(14, 42, 51, 0.95), rgba(43, 27, 90, 0.6));
}
.page-home .apps-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
}

/* ---------- 案例合集 ---------- */
.page-home .updates-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
.page-home .updates-count {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--lemon);
  border-radius: var(--radius);
  background: rgba(14, 42, 51, 0.65);
}
.page-home .updates-count .stat-value {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 700;
  color: var(--lemon);
  font-variant-numeric: tabular-nums;
}
.page-home .updates-count .stat-label {
  font-size: 13px;
  color: var(--slate);
}
.page-home .issue-card {
  min-width: 262px;
  max-width: 300px;
  padding: 18px;
  border: 1px solid var(--home-line-soft);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(14, 42, 51, 0.85), rgba(11, 18, 32, 0.92));
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.page-home .issue-card:hover {
  border-color: var(--line);
  box-shadow: 0 0 0 1px rgba(36, 224, 255, 0.12), 0 20px 42px -30px var(--home-glow);
}
.page-home .issue-card .card-num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}
.page-home .issue-card .card-title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--mist);
}
.page-home .issue-card .tag {
  display: inline-block;
  margin-top: 16px;
}

/* ---------- 换机重登 ---------- */
.page-home .migrate-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}
.page-home .steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-home .step {
  position: relative;
  padding: 20px 0 20px 62px;
  border-top: 1px solid var(--home-line-soft);
}
.page-home .step:last-child {
  border-bottom: 1px solid var(--home-line-soft);
}
.page-home .step-num {
  position: absolute;
  left: 0;
  top: 20px;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.page-home .step h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--mist);
}
.page-home .step p {
  margin: 8px 0 0;
  max-width: 48ch;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--slate);
}
.page-home .migrate-visual {
  margin: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(150deg, rgba(43, 27, 90, 0.72), rgba(11, 18, 32, 0.92));
}
.page-home .migrate-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 平台规模 ---------- */
.page-home .scale-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.page-home .scale-item {
  padding: 20px 18px;
  border: 1px solid var(--home-line-soft);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(14, 42, 51, 0.7), rgba(11, 18, 32, 0.88));
}
.page-home .scale-item .stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--mist);
  font-variant-numeric: tabular-nums;
}
.page-home .scale-item .stat-label {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--slate);
}

/* ---------- 收尾 ---------- */
.page-home .home-close {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(43, 27, 90, 0.55), rgba(11, 18, 32, 0.92) 62%),
    rgba(11, 18, 32, 0.92);
}
.page-home .home-close::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan), transparent);
}
.page-home .home-close h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--mist);
}
.page-home .home-close p {
  margin: 12px 0 0;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate);
}
.page-home .close-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.page-home .close-fine {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(143, 163, 184, 0.85);
}
.page-home .close-fine a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

/* ---------- 桌面栅格 ---------- */
@media (min-width: 900px) {
  .page-home .home-open {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 44px 36px;
    align-items: start;
  }
  .page-home .home-open__visual {
    aspect-ratio: 2.9 / 1;
    margin-top: 8px;
  }
  .page-home .apps-body {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 40px;
    align-items: center;
  }
  .page-home .migrate-body {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 44px;
    align-items: center;
  }
  .page-home .updates-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 36px;
  }
}

@media (min-width: 1024px) {
  .page-home {
    padding-bottom: 120px;
  }
  .page-home .home-frame {
    grid-template-columns: var(--rail-w) minmax(0, 1fr);
    gap: 52px;
    align-items: start;
  }
  .page-home .home-rail {
    position: sticky;
    top: calc(var(--top-h) + 28px);
    overflow: visible;
    padding: 6px 20px 0 0;
    border-bottom: 0;
    border-right: 1px solid var(--home-line-soft);
  }
  .page-home .rail-cap {
    display: block;
    margin: 0 0 18px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--slate);
  }
  .page-home .rail-nav {
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
  .page-home .rail-nav .anchor-link {
    padding: 11px 12px;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0;
    font-size: 14px;
  }
  .page-home .rail-nav .anchor-link[aria-current="true"] {
    border-radius: 0 4px 4px 0;
    background: linear-gradient(90deg, rgba(36, 224, 255, 0.14), transparent);
  }
  .page-home .annotation-side {
    display: block;
    height: 168px;
    margin: 34px 0 0;
    font-size: 10px;
    letter-spacing: 0.26em;
    color: rgba(143, 163, 184, 0.42);
    writing-mode: vertical-rl;
    white-space: nowrap;
  }
  .page-home .scale-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .page-home .home-close {
    padding: 36px 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .issue-card,
  .page-home .rail-nav .anchor-link {
    transition: none;
  }
}
</｜｜DSML｜｜ parameter>
</｜｜DSML｜｜ invoke>
</｜｜DSML｜｜ calls>
