.page-home {
  --home-gap: 20px;
  --home-rail-w: 292px;
  --home-pad: 22px;
}

.page-home .home-crumbwrap {
  padding-top: calc(var(--header-space) + 6px);
}

.page-home .home-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--text-dim);
}

.page-home .home-crumb [aria-current="page"] {
  color: var(--cyan);
}

/* ---------- 主舞台 ---------- */

.page-home .home-stage {
  display: flex;
  flex-direction: column;
  gap: var(--home-gap);
  padding: 18px 0 88px;
}

.page-home .home-flow {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: var(--home-gap);
  min-width: 0;
}

.page-home .home-rail {
  order: 2;
}

.page-home .ly-panel {
  background: var(--ink-800);
}

/* ---------- 左侧常驻战绩轨道 ---------- */

.page-home .home-rail {
  position: relative;
  overflow: hidden;
  padding: 22px 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, var(--ink-800), #071a14);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .38);
}

.page-home .home-rail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(31, 227, 192, 0));
}

.page-home .home-rail__label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--text-dim);
}

.page-home .home-rail__form {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.2;
  color: var(--text);
}

.page-home .home-rail__form .ly-num {
  font-size: 38px;
  margin-left: 8px;
  color: var(--amber);
  letter-spacing: -.02em;
}

.page-home .home-rail__form .ly-num:first-child {
  margin-left: 0;
}

.page-home .home-rail__note {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--text-dim);
}

.page-home .home-rail__stats {
  list-style: none;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.page-home .home-rail__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .home-rail__stats span {
  font-size: 12px;
  color: var(--text-dim);
}

.page-home .home-rail__stats b {
  font-size: 20px;
  color: var(--text);
}

.page-home .home-rail__bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 56px;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

.page-home .home-rail__bar {
  flex: 1 1 0;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--cyan), rgba(31, 227, 192, .16));
}

.page-home .home-rail__bar.b1 { height: 30%; }
.page-home .home-rail__bar.b2 { height: 52%; }
.page-home .home-rail__bar.b3 { height: 40%; }
.page-home .home-rail__bar.b4 { height: 74%; }
.page-home .home-rail__bar.b5 { height: 100%; }

.page-home .home-rail__cap {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-dim);
}

/* ---------- 首屏面板 ---------- */

.page-home .home-hero {
  padding: 0;
  overflow: hidden;
}

.page-home .home-hero__top {
  position: relative;
  padding: 34px var(--home-pad) 30px;
  overflow: hidden;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
}

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

.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(150deg, rgba(5, 19, 15, .42), rgba(5, 19, 15, .95) 68%),
    radial-gradient(120% 90% at 10% 0%, rgba(31, 227, 192, .16), transparent 62%);
}

.page-home .home-hero__inner {
  position: relative;
  max-width: 640px;
}

.page-home .home-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(18, 51, 42, .72);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--cyan);
}

.page-home .home-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(40px, 8.6vw, 88px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: .01em;
  color: var(--text);
}

.page-home .home-lead {
  margin: 0;
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-dim);
}

.page-home .home-hero__bottom {
  display: grid;
  gap: 22px;
  padding: 24px var(--home-pad) 26px;
  border-top: 1px solid var(--line);
}

.page-home .home-score__tag {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--text-dim);
}

.page-home .home-score__tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 176, 32, .16);
}

.page-home .home-score__num {
  margin: 0;
  font-size: clamp(60px, 16vw, 88px);
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--amber);
}

.page-home .home-score__num span {
  margin: 0 .06em;
  color: var(--text-dim);
}

.page-home .home-trend {
  margin-top: 18px;
}

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

.page-home .home-trend polyline {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.page-home .home-trend line {
  stroke: var(--line);
  stroke-width: 1;
}

.page-home .home-trend circle {
  fill: var(--ink-900);
  stroke: var(--cyan);
  stroke-width: 1.4;
}

.page-home .home-trend__cap {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--text-dim);
}

.page-home .home-score__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line-soft);
}

.page-home .home-score__facts li {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.page-home .home-score__facts span {
  font-size: 13px;
  color: var(--text-dim);
}

.page-home .home-score__facts b {
  font-size: 17px;
  color: var(--text);
}

.page-home .home-hero__shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--ink-900);
}

.page-home .home-hero__shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .home-hero__shot figcaption {
  padding: 11px 14px 13px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ---------- 同屏对比 ---------- */

.page-home .home-tags__body {
  display: grid;
  gap: 22px;
  margin-top: 20px;
}

.page-home .home-tags__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.page-home .home-tags__pills .ly-tag {
  cursor: default;
  transition: border-color var(--ease), color var(--ease), background-color var(--ease);
}

.page-home .home-tags__pills .ly-tag:hover {
  border-color: var(--cyan-bright);
  color: var(--cyan-bright);
}

.page-home .home-tags__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  max-width: 40ch;
}

.page-home .home-tags__note {
  margin: 14px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--amber);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 40ch;
}

.page-home .home-tags__shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--ink-900);
}

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

.page-home .home-tags__shot figcaption {
  padding: 11px 14px 13px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ---------- 上手路径 ---------- */

.page-home .home-steps {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  counter-reset: hs;
}

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

.page-home .home-steps li:last-child {
  border-bottom: 0;
}

.page-home .home-steps li::before {
  counter-increment: hs;
  content: "0" counter(hs);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--cyan);
  padding-top: 3px;
}

.page-home .home-steps__txt b {
  display: block;
  margin-bottom: 5px;
  font-size: 17px;
  color: var(--text);
}

.page-home .home-steps__txt span {
  display: block;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
}

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

/* ---------- 通勤摘要 ---------- */

.page-home .home-commute__grid {
  display: grid;
  gap: 22px;
  margin-top: 20px;
}

.page-home .home-brief {
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-m);
  background: var(--ink-700);
}

.page-home .home-brief__head {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--amber-soft);
}

.page-home .home-brief__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
}

.page-home .home-brief__keys {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line-soft);
}

.page-home .home-brief__keys li {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.page-home .home-brief__keys span {
  font-size: 12px;
  color: var(--text-dim);
}

.page-home .home-brief__keys b {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--cyan);
}

.page-home .home-commute__note {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-home .home-commute__shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--ink-900);
}

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

.page-home .home-commute__shot figcaption {
  padding: 11px 14px 13px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ---------- 覆盖面 ---------- */

.page-home .home-cadence {
  position: relative;
  overflow: hidden;
}

.page-home .home-cadence::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -90px;
  width: 340px;
  height: 190px;
  background: repeating-linear-gradient(-6deg, rgba(31, 227, 192, .13) 0 2px, transparent 2px 12px);
  pointer-events: none;
}

.page-home .home-metrics {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  margin: 20px 0 0;
  padding: 0;
}

.page-home .home-metrics li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.page-home .home-metrics b {
  font-size: clamp(30px, 7vw, 40px);
  line-height: 1.05;
  color: var(--amber);
  letter-spacing: -.02em;
}

.page-home .home-metrics__k {
  font-size: 15px;
  color: var(--text);
}

.page-home .home-metrics em {
  font-style: normal;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ---------- 下一步 ---------- */

.page-home .home-next__cards {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.page-home .home-next__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 22px 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--ink-700);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.page-home .home-next__card:hover {
  border-color: var(--cyan);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .34);
}

.page-home .home-next__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.25;
  color: var(--text);
}

.page-home .home-next__desc {
  margin: 0 0 auto;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-dim);
}

.page-home .home-fold {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--ink-900);
}

.page-home .home-fold .ly-fold__body {
  padding: 0 18px 18px;
}

.page-home .home-fold .ly-fold__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-dim);
  max-width: 46ch;
}

/* ---------- 断点 ---------- */

@media (min-width: 640px) {
  .page-home {
    --home-pad: 30px;
    --home-gap: 24px;
  }

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

@media (min-width: 860px) {
  .page-home .home-hero__bottom {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: center;
    gap: 32px;
  }

  .page-home .home-tags__body {
    grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
    align-items: start;
    gap: 30px;
  }

  .page-home .home-commute__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .58fr);
    align-items: center;
    gap: 30px;
  }

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

@media (min-width: 1040px) {
  .page-home {
    --home-gap: 26px;
  }

  .page-home .home-stage {
    flex-direction: row;
    align-items: flex-start;
    gap: 28px;
    padding-bottom: 104px;
  }

  .page-home .home-rail {
    order: 0;
    flex: 0 0 var(--home-rail-w);
    position: sticky;
    top: calc(var(--header-space) + 16px);
  }

  .page-home .home-flow {
    order: 1;
    flex: 1 1 auto;
  }

  .page-home .home-hero__top {
    padding: 46px var(--home-pad) 40px;
  }

  .page-home .home-lead {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-tags__pills .ly-tag,
  .page-home .home-next__card {
    transition: none;
  }
}
<<<END>>>
