.page-home {
  --home-radius: 2px;
  --home-band-pad: 26px;
  display: block;
}

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

/* ---------- 首屏分屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding: 26px 0 46px;
}

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

.page-home .home-hero__title {
  margin: 14px 0 0;
  font-family: var(--ht-font-display);
  font-size: clamp(30px, 7.2vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ht-bright);
  overflow-wrap: break-word;
}

.page-home .home-hero__title em {
  font-style: normal;
  color: var(--ht-cyan);
  text-shadow: 0 0 26px rgba(56, 242, 194, 0.32);
}

.page-home .home-hero__lede {
  margin: 18px 0 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ht-text);
}

/* 时间轴 */
.page-home .home-timeline {
  margin-top: 26px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ht-line);
}

.page-home .home-timeline .ht-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 14px;
  padding: 14px 0 14px 20px;
  border-bottom: 1px solid var(--ht-line);
  transition: background-color 0.25s ease;
}

.page-home .home-timeline .ht-timeline__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ht-cyan);
  box-shadow: 0 0 0 4px rgba(56, 242, 194, 0.1);
  animation: home-node-pulse 2.4s ease-in-out infinite;
}

.page-home .home-timeline .ht-timeline__item:nth-child(2)::before {
  animation-delay: 0.4s;
}
.page-home .home-timeline .ht-timeline__item:nth-child(3)::before {
  animation-delay: 0.8s;
}
.page-home .home-timeline .ht-timeline__item:nth-child(4)::before {
  animation-delay: 1.2s;
}
.page-home .home-timeline .ht-timeline__item:nth-child(5)::before {
  animation-delay: 1.6s;
}

.page-home .home-timeline .ht-timeline__item:hover,
.page-home .home-timeline .ht-timeline__item:focus-within {
  background: rgba(56, 242, 194, 0.05);
  z-index: 6;
}

.page-home .home-timeline .ht-timeline__time {
  font-family: var(--ht-font-mono);
  font-size: 14px;
  color: var(--ht-amber);
  letter-spacing: 0.02em;
}

.page-home .home-timeline .ht-timeline__title {
  margin: 0;
  font-family: var(--ht-font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ht-bright);
  line-height: 1.5;
}

.page-home .home-timeline .ht-timeline__text {
  grid-column: 2;
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ht-mute);
}

.page-home .home-tip {
  grid-column: 2;
  position: static;
  margin-top: 8px;
  max-width: 340px;
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ht-bright);
  background: var(--ht-glass);
  border: 1px solid var(--ht-cyan);
  border-radius: var(--home-radius);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: opacity 0.22s ease, transform 0.22s ease, max-height 0.22s ease;
}

.page-home .home-timeline .ht-timeline__item:hover .home-tip,
.page-home .home-timeline .ht-timeline__item:focus-within .home-tip {
  opacity: 1;
  max-height: 120px;
  transform: translateY(0);
}

@keyframes home-node-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

/* 首屏右侧视觉 */
.page-home .home-hero__visual {
  position: relative;
  overflow: hidden;
  padding: 20px 18px 30px;
  background: linear-gradient(158deg, var(--ht-panel) 0%, var(--ht-deep) 74%);
  border: 1px solid var(--ht-line);
  border-radius: var(--home-radius);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 0 100%);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: saturate(0.7) brightness(0.72);
}

.page-home .home-hero__pulselabel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--ht-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ht-cyan);
  text-transform: uppercase;
}

.page-home .home-hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ht-flame);
  animation: home-node-pulse 2.4s ease-in-out infinite;
}

.page-home .home-hero__pulse {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  margin-top: 14px;
}

.page-home .home-hero__node {
  animation: home-node-pulse 2.4s ease-in-out infinite;
}

.page-home .home-hero__stats {
  position: relative;
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--ht-line);
  border: 1px solid var(--ht-line);
}

.page-home .home-hero__stats .ht-metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 10px;
  background: rgba(6, 18, 14, 0.78);
  min-width: 0;
}

.page-home .home-hero__stats .ht-metric__value {
  font-family: var(--ht-font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--ht-amber);
  white-space: nowrap;
}

.page-home .home-hero__stats .ht-metric__label {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ht-mute);
}

/* ---------- 章节通用 ---------- */
.page-home .home-sec {
  padding-top: 40px;
  padding-bottom: 54px;
}

.page-home .home-sec--last {
  padding-bottom: 72px;
}

.page-home .home-sec__title {
  margin: 0 0 14px;
  font-family: var(--ht-font-display);
  font-size: clamp(23px, 4.4vw, 40px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--ht-bright);
}

.page-home .home-sec__lede {
  margin: 0 0 28px;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ht-text);
}

.page-home .home-link {
  color: var(--ht-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(56, 242, 194, 0.4);
  padding-bottom: 1px;
}

.page-home .home-link:hover,
.page-home .home-link:focus-visible {
  border-bottom-color: var(--ht-cyan);
  color: var(--ht-bright);
}

/* ---------- 01 双版本对照台 ---------- */
.page-home .home-ver__figure {
  margin: 0 0 26px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ht-line);
  background: var(--ht-panel-2);
}

.page-home .home-ver__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  object-fit: cover;
  opacity: 0.72;
}

.page-home .home-ver__figure figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px 14px;
  font-family: var(--ht-font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ht-text);
  background: rgba(6, 18, 14, 0.82);
  border-top: 1px solid var(--ht-line);
  border-right: 1px solid var(--ht-line);
}

.page-home .home-ver {
  margin-top: 22px;
  display: grid;
  gap: 1px;
  background: var(--ht-line);
  border: 1px solid var(--ht-line);
}

.page-home .home-ver__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 16px 16px 18px;
  background: var(--ht-panel);
}

.page-home .home-ver__row--head {
  display: none;
}

.page-home .home-ver__name {
  font-family: var(--ht-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ht-cyan);
}

.page-home .home-ver__k {
  display: block;
  margin-bottom: 4px;
  font-family: var(--ht-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ht-mute);
}

.page-home .home-ver__v4 {
  position: relative;
  padding: 0 0 0 14px;
}

.page-home .home-ver__v4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ht-cyan);
}

.page-home .home-ver__v4 .home-ver__v {
  display: block;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ht-bright);
}

.page-home .home-ver__old {
  padding-left: 14px;
  border-left: 1px solid var(--ht-line);
}

.page-home .home-ver__old .home-ver__v {
  display: block;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ht-mute);
}

.page-home .home-ver__foot {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.page-home .home-ver__note {
  flex: 1 1 320px;
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ht-text);
}

/* ---------- 02 手机回访 ---------- */
.page-home .home-mobile__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.page-home .home-scene {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.page-home .home-scene__item {
  padding: 15px 18px;
  background: var(--ht-panel);
  border: 1px solid var(--ht-line);
  border-left: 3px solid var(--ht-cyan-dim);
}

.page-home .home-scene__item:nth-child(2) {
  border-left-color: var(--ht-cyan);
}

.page-home .home-scene__item:nth-child(3) {
  border-left-color: var(--ht-amber);
}

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

.page-home .home-scene__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ht-text);
}

.page-home .home-mobile__perf {
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid var(--ht-line);
  font-size: 13px;
  line-height: 1.8;
  color: var(--ht-mute);
}

.page-home .home-mobile__shot {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ht-line);
  background: var(--ht-panel-2);
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
}

.page-home .home-mobile__shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  opacity: 0.8;
}

.page-home .home-mobile__shotcap {
  position: absolute;
  left: 14px;
  bottom: 18px;
  margin: 0;
  padding: 6px 10px;
  font-family: var(--ht-font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ht-bright);
  background: var(--ht-glass);
  border: 1px solid var(--ht-cyan);
  border-radius: var(--home-radius);
}

/* ---------- 03 球队库 ---------- */
.page-home .home-squad {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  overflow: hidden;
  padding: 4px;
}

.page-home .home-squad__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  pointer-events: none;
}

.page-home .home-squad__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 20px;
  background: var(--ht-panel);
  border: 1px solid var(--ht-line);
  border-radius: var(--home-radius);
}

.page-home .home-squad__card:nth-child(3) {
  border-top: 2px solid var(--ht-cyan);
}

.page-home .home-squad__card:nth-child(4) {
  border-top: 2px solid var(--ht-flame);
}

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

.page-home .home-squad__tag {
  font-family: var(--ht-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ht-cyan);
}

.page-home .home-squad__form {
  font-family: var(--ht-font-mono);
  font-size: 13px;
  color: var(--ht-amber);
}

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

.page-home .home-squad__run {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--ht-line);
}

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

.page-home .home-squad__score {
  font-family: var(--ht-font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--ht-amber);
}

.page-home .home-squad__meta {
  font-size: 12px;
  color: var(--ht-mute);
  text-align: right;
}

.page-home .home-squad__card .ht-card__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ht-text);
}

.page-home .home-squad__foot {
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ht-mute);
}

/* ---------- 视觉停顿段 ---------- */
.page-home .home-pulse-band {
  position: relative;
  padding: 42px 0 46px;
  background: linear-gradient(96deg, rgba(56, 242, 194, 0.09) 0%, rgba(255, 90, 43, 0.07) 58%, rgba(6, 18, 14, 0) 100%);
  border-top: 1px solid var(--ht-line);
  border-bottom: 1px solid var(--ht-line);
  overflow: hidden;
}

.page-home .home-pulse-band__inner {
  position: relative;
}

.page-home .home-pulse-band__text {
  margin: 0;
  max-width: 30em;
  font-size: clamp(17px, 2.6vw, 24px);
  line-height: 1.6;
  color: var(--ht-bright);
}

.page-home .home-pulse-band__wave {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: 20px;
  opacity: 0.9;
}

.page-home .home-pulse-band__sub {
  margin: 12px 0 0;
  font-family: var(--ht-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ht-mute);
}

/* ---------- 04 战报阅读效率 ---------- */
.page-home .home-read__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--ht-line);
  border: 1px solid var(--ht-line);
}

.page-home .home-read__stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px;
  background: var(--ht-panel);
}

.page-home .home-read__stat .ht-metric__value {
  font-family: var(--ht-font-mono);
  font-size: 24px;
  line-height: 1;
  color: var(--ht-amber);
}

.page-home .home-read__stat .ht-metric__label {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ht-mute);
}

.page-home .home-read__body {
  margin-top: 26px;
  display: grid;
  gap: 16px;
  max-width: 70ch;
}

.page-home .home-read__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ht-text);
}

/* ---------- 05 订阅与提醒 ---------- */
.page-home .home-alert {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .home-alert__item {
  padding: 18px;
  background: var(--ht-panel);
  border: 1px solid var(--ht-line);
  border-radius: var(--home-radius);
}

.page-home .home-alert__item .ht-card__title {
  margin: 0 0 8px;
  font-family: var(--ht-font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ht-bright);
}

.page-home .home-alert__combo {
  margin: 0 0 10px;
  font-family: var(--ht-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ht-cyan);
}

.page-home .home-alert__item .ht-card__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ht-text);
}

.page-home .home-alert__note {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ht-mute);
}

/* ---------- 06 下一步 ---------- */
.page-home .home-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.page-home .home-next__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 20px;
  background: var(--ht-panel);
  border: 1px solid var(--ht-line);
  border-radius: var(--home-radius);
  text-decoration: none;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.page-home .home-next__card:hover,
.page-home .home-next__card:focus-visible {
  border-color: var(--ht-cyan);
  background: var(--ht-panel-2);
}

.page-home .home-next__idx {
  font-family: var(--ht-font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ht-flame);
}

.page-home .home-next__title {
  margin: 0;
  font-family: var(--ht-font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ht-bright);
}

.page-home .home-next__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.78;
  color: var(--ht-text);
}

.page-home .home-next__go {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--ht-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ht-cyan);
}

.page-home .home-next__tail {
  margin: 24px 0 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--ht-mute);
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-home .home-alert {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .page-home .home-squad {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: start;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero {
    padding: 34px 0 60px;
  }

  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 52px;
    align-items: start;
  }

  .page-home .home-hero__visual {
    padding: 26px 24px 36px;
  }

  .page-home .home-mobile__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 48px;
    align-items: start;
  }

  .page-home .home-ver__row {
    grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
    align-items: baseline;
    padding: 18px 20px;
  }

  .page-home .home-ver__row--head {
    display: grid;
    background: var(--ht-panel-2);
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .page-home .home-ver__row--head span {
    font-family: var(--ht-font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--ht-mute);
  }

  .page-home .home-ver__k {
    display: none;
  }

  .page-home .home-ver__v4 {
    padding-left: 16px;
  }

  .page-home .home-ver__old {
    padding-left: 18px;
  }
}

@media (min-width: 1120px) {
  .page-home .home-hero__stats .ht-metric__value {
    font-size: 24px;
  }

  .page-home .home-hero__title {
    font-size: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__dot,
  .page-home .home-hero__node,
  .page-home .home-timeline .ht-timeline__item::before {
    animation: none;
  }

  .page-home .home-tip,
  .page-home .home-next__card {
    transition: none;
  }
}
