.page-home {
  --home-gap: 14px;
  --home-tilt-a: -0.7deg;
  --home-tilt-b: 0.6deg;
  --home-amber-soft: rgba(255, 194, 75, 0.16);
  --home-neon-soft: rgba(51, 225, 214, 0.14);
}

/* ---------- 顶部上下文 ---------- */
.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 18px;
}

.page-home .home-context__meta {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--graphite);
  margin: 0;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding: 22px 0 42px;
  overflow: hidden;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: -10% -5% 0 0;
  pointer-events: none;
  z-index: 0;
}

.page-home .home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: saturate(0.85);
}

.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11, 18, 32, 0.35) 0%, rgba(11, 18, 32, 0.9) 62%, var(--void) 100%);
}

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

.page-home .home-hero__main {
  min-width: 0;
}

.page-home .home-hero__kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--neon);
  margin: 0 0 12px;
}

.page-home .home-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.85rem, 6.4vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--cool);
  margin: 0 0 16px;
  max-width: 15ch;
}

.page-home .home-hero__lead {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--edge);
  margin: 0 0 30px;
  max-width: 54ch;
}

/* ---------- 左栏 ---------- */
.page-home .home-rail {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 8px;
}

.page-home .rail-brand__mark {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--void);
  background: var(--neon);
  padding: 3px 8px;
  border-radius: 2px;
}

.page-home .rail-brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: var(--cool);
  margin: 10px 0 4px;
}

.page-home .rail-brand__tag {
  font-size: 0.8rem;
  color: var(--graphite);
  margin: 0;
}

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

.page-home .rail-status__row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}

.page-home .rail-status__list {
  margin: 0;
  display: grid;
  gap: 8px;
}

.page-home .rail-status__list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.page-home .rail-status__list dt {
  font-size: 0.76rem;
  color: var(--graphite);
}

.page-home .rail-status__list dd {
  margin: 0;
  font-size: 0.84rem;
  color: var(--cool);
}

.page-home .rail-index__title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--graphite);
  margin: 0 0 10px;
}

.page-home .rail-index ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-home .rail-index a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  font-size: 0.86rem;
  color: var(--edge);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.page-home .rail-index a .mono {
  font-size: 0.7rem;
  color: var(--graphite);
}

.page-home .rail-index a:hover,
.page-home .rail-index a:focus-visible {
  color: var(--neon);
  border-left-color: var(--neon);
  background: rgba(51, 225, 214, 0.07);
}

/* ---------- 首屏拼贴 ---------- */
.page-home .collage {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

.page-home .collage__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.page-home .collage__head-meta {
  font-size: 0.7rem;
  color: var(--graphite);
}

.page-home .collage__score {
  padding: 20px;
  clip-path: polygon(0 0, 100% 0, 100% 94%, 96% 100%, 0 100%);
}

.page-home .collage__line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 16px;
  flex-wrap: wrap;
}

.page-home .collage__side {
  font-size: 0.82rem;
  color: var(--graphite);
}

.page-home .collage__num {
  font-size: clamp(2.6rem, 11vw, 4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--neon);
  letter-spacing: -0.02em;
}

.page-home .collage__sep {
  font-size: 1.6rem;
  color: var(--graphite);
}

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

.page-home .collage__events li {
  display: flex;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--edge);
}

.page-home .collage__events .mono {
  color: var(--amber);
  font-size: 0.78rem;
  min-width: 3.2em;
}

.page-home .collage__moves {
  padding: 20px;
  background: linear-gradient(155deg, #1a2b4d 0%, var(--void) 78%);
}

.page-home .collage__moves-value {
  font-size: clamp(2.4rem, 10vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--flare);
  margin: 14px 0 6px;
  letter-spacing: -0.02em;
}

.page-home .collage__moves-label {
  font-size: 0.86rem;
  color: var(--cool);
  margin: 0 0 10px;
}

.page-home .collage__moves-note {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--graphite);
  margin: 0;
}

.page-home .collage__sub {
  padding: 20px;
  color: var(--ink);
}

.page-home .collage__sub-text {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 14px;
}

.page-home .sub-meter {
  position: relative;
  height: 8px;
  background: var(--edge);
  border-radius: 999px;
  overflow: hidden;
}

.page-home .sub-meter__fill {
  display: block;
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, var(--flare), var(--amber));
  border-radius: 999px;
}

.page-home .collage__sub-foot {
  font-size: 0.72rem;
  color: #6a6157;
  margin: 10px 0 0;
}

/* ---------- 通用章节头 ---------- */
.page-home .section-head {
  max-width: 62ch;
  margin-bottom: 34px;
}

.page-home .section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-home .section-head--center .section__lead {
  margin-left: auto;
  margin-right: auto;
}

.page-home .section__index {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--neon);
  margin: 0 0 10px;
}

.page-home .section--paper .section__index {
  color: var(--flare);
}

.page-home .section__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 4.6vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

.page-home .section__lead {
  font-size: 0.96rem;
  line-height: 1.8;
  margin: 0;
  max-width: 58ch;
}

/* ---------- 面板六类 ---------- */
.page-home .panel-layout {
  display: grid;
  gap: 28px;
}

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

.page-home .panel-grid__item {
  background: var(--stand);
  padding: 18px 20px;
  transition: background-color 0.2s ease;
}

.page-home .panel-grid__item:hover {
  background: #1a2b4d;
}

.page-home .panel-grid__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--cool);
  margin: 0 0 8px;
}

.page-home .panel-grid__value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--neon);
  margin: 0 0 8px;
}

.page-home .panel-grid__desc {
  font-size: 0.84rem;
  line-height: 1.72;
  color: var(--graphite);
  margin: 0;
}

.page-home .panel-figure {
  margin: 0;
}

.page-home .panel-figure .media__frame {
  box-shadow: 0 24px 54px -30px rgba(0, 0, 0, 0.9);
  border: 1px solid var(--line);
  border-radius: 4px;
}

/* ---------- 转会时间轴 ---------- */
.page-home .tw-layout {
  display: grid;
  gap: 30px;
}

.page-home .tw-figure {
  margin: 0;
}

.page-home .tw-figure .media__frame {
  border: 1px solid var(--ink);
  border-radius: 4px;
}

.page-home .tw-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.page-home .timeline {
  position: relative;
  padding-left: 26px;
}

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(26, 21, 18, 0.18) 100%);
}

.page-home .tw-node {
  position: relative;
  margin-bottom: 12px;
}

.page-home .tw-node::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--home-amber-soft);
  z-index: 1;
}

.page-home .tw-node .fold {
  border: 1px solid rgba(26, 21, 18, 0.16);
  background: rgba(255, 255, 255, 0.42);
}

.page-home .tw-node__time {
  font-size: 0.72rem;
  color: #7a6a52;
  letter-spacing: 0.06em;
  margin-right: 10px;
}

.page-home .tw-node__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
}

.page-home .tw-foot {
  margin: 22px 0 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: #4a4139;
}

/* ---------- 上手路径 ---------- */
.page-home .paths-banner {
  margin: 0 0 46px;
}

.page-home .paths-banner .media__frame {
  border-radius: 4px;
  overflow: hidden;
}

.page-home .paths-grid {
  display: grid;
  gap: 20px;
}

.page-home .path-card {
  padding: 26px 24px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--stand);
  display: flex;
  flex-direction: column;
}

.page-home .path-card--long {
  background: var(--paper);
  border-color: rgba(26, 21, 18, 0.18);
  color: var(--ink);
}

.page-home .path-card__tag {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--neon);
  margin: 0 0 14px;
}

.page-home .path-card--long .path-card__tag {
  color: var(--flare);
}

.page-home .path-card__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.15rem, 3.4vw, 1.45rem);
  line-height: 1.3;
  margin: 0 0 14px;
  color: var(--cool);
}

.page-home .path-card--long .path-card__title {
  color: var(--ink);
}

.page-home .path-card__text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--graphite);
  margin: 0 0 18px;
}

.page-home .path-card--long .path-card__text {
  color: #4a4139;
}

.page-home .path-card__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-home .path-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--edge);
}

.page-home .path-card--long .path-card__list li {
  color: #4a4139;
}

.page-home .path-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--neon);
  transform: rotate(45deg);
}

.page-home .path-card--long .path-card__list li::before {
  background: var(--flare);
}

.page-home .path-card__foot {
  margin: auto 0 0;
}

/* ---------- 看台动态 ---------- */
.page-home .notes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .note-item {
  background: var(--void);
  padding: 22px 4px;
  display: grid;
  gap: 10px;
  transition: background-color 0.2s ease;
}

.page-home .note-item:hover {
  background: var(--stand);
}

.page-home .note-item__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  line-height: 1.4;
  color: var(--cool);
  margin: 0;
}

.page-home .note-item__text {
  font-size: 0.88rem;
  line-height: 1.76;
  color: var(--graphite);
  margin: 0;
  max-width: 64ch;
}

.page-home .note-item__meta {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--graphite);
  margin: 0;
}

.page-home .notes-foot {
  margin: 26px 0 0;
}

/* ---------- 反馈入口 ---------- */
.page-home .home-feedback .feedback-strip {
  border-radius: 4px;
}

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

.page-home .home-contacts__block {
  background: var(--stand);
  padding: 16px 18px;
}

.page-home .home-contacts__label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--graphite);
  margin: 0 0 6px;
}

.page-home .home-contacts__value {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--cool);
  margin: 0;
  word-break: break-word;
}

.page-home .home-contacts__value a {
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(51, 225, 214, 0.35);
}

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

/* ---------- 平板 ---------- */
@media (min-width: 700px) {
  .page-home .collage {
    grid-template-columns: repeat(6, 1fr);
    align-items: start;
  }

  .page-home .collage__score {
    grid-column: 1 / 5;
    transform: rotate(var(--home-tilt-a));
    z-index: 2;
  }

  .page-home .collage__moves {
    grid-column: 5 / 7;
    transform: rotate(var(--home-tilt-b)) translateY(14px);
    z-index: 3;
  }

  .page-home .collage__sub {
    grid-column: 2 / 7;
    margin-top: -6px;
    transform: rotate(-0.3deg);
    z-index: 1;
  }

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

  .page-home .paths-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

  .page-home .note-item {
    grid-template-columns: 130px 1fr;
    align-items: start;
    padding: 24px 4px;
    gap: 8px 20px;
  }

  .page-home .note-item .label {
    grid-column: 1;
    justify-self: start;
  }

  .page-home .note-item__title,
  .page-home .note-item__text,
  .page-home .note-item__meta {
    grid-column: 2;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 960px) {
  .page-home .collage__score {
    grid-column: 1 / 4;
    transform: rotate(var(--home-tilt-a));
  }

  .page-home .collage__moves {
    grid-column: 4 / 7;
    transform: rotate(var(--home-tilt-b)) translateY(18px);
  }

  .page-home .collage__sub {
    grid-column: 3 / 7;
    margin-top: 4px;
  }

  .page-home .panel-layout {
    grid-template-columns: 1.35fr 0.85fr;
    gap: 36px;
    align-items: start;
  }

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

  .page-home .panel-figure {
    transform: rotate(1.1deg);
  }

  .page-home .tw-layout {
    grid-template-columns: 0.72fr 1.28fr;
    gap: 44px;
    align-items: start;
  }

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

  .page-home .notes-list {
    gap: 0;
  }

  .page-home .note-item {
    grid-template-columns: 150px 1fr;
    padding: 26px 4px;
    border-bottom: 1px solid var(--line);
    background: transparent;
  }

  .page-home .notes-list {
    background: transparent;
    border-top: 1px solid var(--line);
  }

  .page-home .note-item:last-child {
    border-bottom: none;
  }
}
</｜｜DSML｜｜ parameter>
</｜｜DSML｜｜ invoke>
</｜｜DSML｜｜ calls>
