.page-home {
  background: var(--yx-deep);
  color: var(--yx-white);
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--yx-header-h) + clamp(1.1rem, 4vw, 2.4rem));
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
  background:
    radial-gradient(90% 70% at 92% -5%, rgba(34, 230, 230, 0.16), transparent 60%),
    radial-gradient(70% 60% at 0% 108%, rgba(255, 90, 54, 0.14), transparent 62%),
    linear-gradient(158deg, var(--yx-deep) 0%, var(--yx-mid) 92%);
}

.page-home .hm-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -18%;
  right: -18%;
  width: min(720px, 82%);
  height: 92%;
  background: linear-gradient(150deg, rgba(18, 48, 77, 0.92), rgba(11, 31, 51, 0.08));
  border-left: 1px solid var(--yx-line);
  transform: skewX(-13deg);
  pointer-events: none;
}

.page-home .hm-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: -12%;
  bottom: -18%;
  width: min(560px, 72%);
  height: 240px;
  background: linear-gradient(90deg, rgba(255, 90, 54, 0.2), transparent 78%);
  transform: skewY(-7deg);
  pointer-events: none;
}

.page-home .hm-hero > * {
  position: relative;
  z-index: 1;
}

.page-home .hm-hero__grid {
  display: grid;
  gap: clamp(1.8rem, 5vw, 3.2rem);
  margin-top: clamp(1rem, 3vw, 1.8rem);
}

.page-home .hm-hero__title {
  margin: 0.55rem 0 1.05rem;
  font-family: var(--yx-font-head);
  font-weight: 900;
  font-size: clamp(2.1rem, 7.2vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--yx-white);
}

.page-home .hm-hero__title span {
  display: block;
}

.page-home .hm-hero__title .hm-accent {
  color: var(--yx-cyan);
}

.page-home .hm-hero__lead {
  max-width: 34rem;
  margin: 0;
  color: var(--yx-fog);
  font-size: clamp(0.94rem, 2.4vw, 1.05rem);
  line-height: 1.82;
}

.page-home .hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.page-home .hm-marks {
  list-style: none;
  margin: clamp(1.5rem, 4vw, 2.2rem) 0 0;
  padding: clamp(1rem, 3vw, 1.3rem) 0 0;
  border-top: 1px solid var(--yx-line-soft);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.page-home .hm-mark__num {
  display: block;
  font-family: var(--yx-font-mono);
  font-size: clamp(1.32rem, 3.6vw, 1.72rem);
  line-height: 1;
  color: var(--yx-cyan);
}

.page-home .hm-mark__unit {
  margin-left: 0.12em;
  font-size: 0.6em;
  color: var(--yx-fog);
}

.page-home .hm-mark__label {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.77rem;
  line-height: 1.55;
  color: var(--yx-fog);
}

/* 首屏右侧台面 */
.page-home .hm-stage {
  position: relative;
  display: grid;
  gap: 0.9rem;
}

.page-home .hm-panel {
  position: relative;
  margin: 0;
  border-radius: var(--yx-radius-lg);
  overflow: hidden;
  border: 1px solid var(--yx-line);
  background: var(--yx-panel);
  box-shadow: var(--yx-shadow);
}

.page-home .hm-panel img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-home .hm-panel__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem clamp(0.9rem, 2.5vw, 1.3rem);
  display: grid;
  gap: 0.5rem;
  background: linear-gradient(0deg, rgba(6, 18, 31, 0.96) 12%, rgba(6, 18, 31, 0) 100%);
}

.page-home .hm-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.page-home .hm-panel__live {
  font-family: var(--yx-font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yx-cyan);
}

.page-home .hm-score {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.page-home .hm-score__side {
  font-size: 0.8rem;
  color: var(--yx-fog);
}

.page-home .hm-score__val {
  font-family: var(--yx-font-mono);
  font-size: clamp(1.45rem, 5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--yx-white);
}

.page-home .hm-score__colon {
  padding: 0 0.08em;
  color: var(--yx-orange);
}

.page-home .hm-panel__meta {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--yx-fog);
}

.page-home .hm-push {
  position: relative;
  margin: 0;
  min-height: 8.4rem;
  display: flex;
  align-items: flex-end;
  border-radius: var(--yx-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 90, 54, 0.42);
  background: rgba(11, 31, 51, 0.94);
  box-shadow: 0 24px 60px -34px rgba(0, 0, 0, 0.95);
}

.page-home .hm-push img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-home .hm-push__body {
  position: relative;
  width: 100%;
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.4rem;
  background: linear-gradient(0deg, rgba(6, 18, 31, 0.94), rgba(6, 18, 31, 0.12));
}

.page-home .hm-push__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--yx-white);
}

.page-home .hm-push__meta {
  margin: 0;
  font-family: var(--yx-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--yx-fog);
}

/* ---------- 章节通用 ---------- */
.page-home .hm-sechead {
  max-width: 46rem;
  margin-bottom: clamp(1.4rem, 4vw, 2.4rem);
}

.page-home .hm-sechead .yx-section__title {
  margin: 0.5rem 0 0.8rem;
}

.page-home .hm-sechead .yx-lead {
  margin: 0;
}

/* ---------- 双端对照 ---------- */
.page-home .hm-tabs {
  margin-top: clamp(0.6rem, 2vw, 1rem);
}

.page-home .hm-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--yx-line-soft);
}

.page-home .yx-tabpanel {
  display: none;
}

.page-home .yx-tabpanel.is-active {
  display: block;
}

.page-home .hm-tabbody {
  margin-top: 1.2rem;
  padding: clamp(1.05rem, 3.5vw, 1.9rem);
  display: grid;
  gap: 1.2rem;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-radius-lg);
  background: linear-gradient(135deg, rgba(18, 48, 77, 0.78), rgba(11, 31, 51, 0.42));
}

.page-home .hm-tabbody h3 {
  margin: 0 0 0.6rem;
  font-family: var(--yx-font-head);
  font-weight: 700;
  font-size: clamp(1.12rem, 3vw, 1.42rem);
  line-height: 1.3;
  color: var(--yx-white);
}

.page-home .hm-tabbody p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.78;
  color: var(--yx-fog);
}

.page-home .hm-checklist {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.page-home .hm-checklist li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--yx-white);
}

.page-home .hm-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 2px;
  background: var(--yx-cyan);
  transform: rotate(45deg);
}

.page-home .hm-tabbody__aside {
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: 2px solid var(--yx-orange);
}

.page-home .hm-aside__label {
  margin: 0 0 0.5rem;
}

/* ---------- 赛后时间线 ---------- */
.page-home .hm-timeline__grid {
  display: grid;
  gap: clamp(1.4rem, 4vw, 2.4rem);
}

.page-home .hm-line {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.1rem;
  display: grid;
  gap: 0.85rem;
  border-left: 2px solid rgba(34, 230, 230, 0.35);
}

.page-home .hm-line__item {
  position: relative;
  padding: 0.95rem 1.05rem;
  border-radius: var(--yx-radius);
  border: 1px solid var(--yx-line-soft);
  background: linear-gradient(120deg, rgba(18, 48, 77, 0.62), rgba(11, 31, 51, 0.32));
  transition: border-color 0.22s var(--yx-ease), background 0.22s var(--yx-ease);
}

.page-home .hm-line__item:hover,
.page-home .hm-line__item:focus-within {
  border-color: var(--yx-cyan);
  background: linear-gradient(120deg, rgba(18, 48, 77, 0.85), rgba(11, 31, 51, 0.45));
}

.page-home .hm-line__item::before {
  content: "";
  position: absolute;
  left: calc(-1.1rem - 6px);
  top: 1.25rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yx-cyan);
  box-shadow: 0 0 0 3px rgba(34, 230, 230, 0.15);
}

.page-home .hm-line__time {
  display: inline-block;
  font-family: var(--yx-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--yx-amber);
}

.page-home .hm-line__item h3 {
  margin: 0.4rem 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--yx-white);
}

.page-home .hm-line__item p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.72;
  color: var(--yx-fog);
}

.page-home .hm-line__hint {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: var(--yx-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--yx-fog);
  opacity: 0.62;
  transition: opacity 0.22s var(--yx-ease), color 0.22s var(--yx-ease);
}

.page-home .hm-line__item:hover .hm-line__hint,
.page-home .hm-line__item:focus-within .hm-line__hint {
  opacity: 1;
  color: var(--yx-cyan);
}

.page-home .hm-timeline__fig {
  margin: 0;
  border-radius: var(--yx-radius-lg);
  overflow: hidden;
  border: 1px solid var(--yx-line);
  background: var(--yx-mid);
}

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

.page-home .hm-timeline__fig figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  line-height: 1.65;
  color: var(--yx-fog);
  background: rgba(6, 18, 31, 0.72);
}

/* ---------- 五类视图 ---------- */
.page-home .hm-viewlist {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--yx-line-soft);
}

.page-home .hm-viewlist__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem 0.9rem;
  align-items: start;
  padding: 1.05rem 0.25rem;
  border-bottom: 1px solid var(--yx-line-soft);
  transition: background 0.2s var(--yx-ease);
}

.page-home .hm-viewlist__row:hover {
  background: rgba(34, 230, 230, 0.05);
}

.page-home .hm-viewlist__idx {
  font-family: var(--yx-font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--yx-teal);
  padding-top: 0.15rem;
}

.page-home .hm-viewlist__row > .yx-tag {
  grid-column: 2;
  justify-self: start;
}

.page-home .hm-viewlist__body h3 {
  margin: 0 0 0.28rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--yx-white);
}

.page-home .hm-viewlist__body p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.74;
  color: var(--yx-fog);
}

/* ---------- 分隔带 ---------- */
.page-home .hm-band {
  position: relative;
  margin: clamp(2.4rem, 7vw, 4.5rem) 0;
  overflow: hidden;
  border-top: 1px solid var(--yx-line);
  border-bottom: 1px solid var(--yx-line);
  isolation: isolate;
}

.page-home .hm-band img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-home .hm-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(100deg, rgba(6, 18, 31, 0.94) 18%, rgba(6, 18, 31, 0.46) 72%);
  pointer-events: none;
}

.page-home .hm-band__inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(2.1rem, 7vw, 3.8rem);
  padding-bottom: clamp(2.1rem, 7vw, 3.8rem);
}

.page-home .hm-band__title {
  margin: 0 0 0.6rem;
  font-family: var(--yx-font-head);
  font-weight: 800;
  font-size: clamp(1.4rem, 4.2vw, 2.1rem);
  line-height: 1.2;
  color: var(--yx-white);
  max-width: 28rem;
}

.page-home .hm-band__text {
  margin: 0;
  max-width: 34rem;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--yx-fog);
}

/* ---------- 上手三步 ---------- */
.page-home .hm-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.page-home .hm-step {
  position: relative;
  overflow: hidden;
  padding: 1.2rem 1.1rem 1.15rem;
  border-radius: var(--yx-radius);
  border: 1px solid var(--yx-line-soft);
  background: linear-gradient(160deg, rgba(18, 48, 77, 0.85), rgba(11, 31, 51, 0.35));
}

.page-home .hm-step::after {
  content: "";
  position: absolute;
  right: -1.6rem;
  bottom: -1.6rem;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 230, 230, 0.2), transparent 70%);
  pointer-events: none;
}

.page-home .hm-step__num {
  display: inline-block;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  font-family: var(--yx-font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--yx-ink);
  background: var(--yx-amber);
}

.page-home .hm-step h3 {
  margin: 0.75rem 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--yx-white);
}

.page-home .hm-step p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.74;
  color: var(--yx-fog);
}

.page-home .hm-start__foot {
  margin: 1.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--yx-fog);
}

/* ---------- 内容入口 ---------- */
.page-home .hm-doorlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.page-home .hm-door {
  position: relative;
  display: block;
  height: 100%;
  padding: 1.05rem 2.6rem 1.05rem 1.1rem;
  border-radius: var(--yx-radius);
  border: 1px solid var(--yx-line-soft);
  background: rgba(18, 48, 77, 0.42);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.22s var(--yx-ease), background 0.22s var(--yx-ease), transform 0.22s var(--yx-ease);
}

.page-home .hm-door:hover,
.page-home .hm-door:focus-visible {
  border-color: var(--yx-cyan);
  background: rgba(18, 48, 77, 0.72);
  transform: translateY(-2px);
}

.page-home .hm-door__eyebrow {
  display: block;
  font-family: var(--yx-font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yx-cyan);
}

.page-home .hm-door__title {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--yx-white);
}

.page-home .hm-door__desc {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--yx-fog);
}

.page-home .hm-door__arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.05rem;
  color: var(--yx-cyan);
  transition: transform 0.22s var(--yx-ease);
}

.page-home .hm-door:hover .hm-door__arrow,
.page-home .hm-door:focus-visible .hm-door__arrow {
  transform: translate(3px, -50%);
}

/* ---------- 断点 ---------- */
@media (min-width: 560px) {
  .page-home .hm-marks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .page-home .hm-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }

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

@media (min-width: 820px) {
  .page-home .hm-tabbody {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 1.6rem;
    align-items: start;
  }
}

@media (min-width: 860px) {
  .page-home .hm-viewlist__row {
    grid-template-columns: 4rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.2rem;
    padding: 1.15rem 0.5rem;
  }

  .page-home .hm-viewlist__row > .yx-tag {
    grid-column: auto;
    justify-self: end;
  }

  .page-home .hm-viewlist__idx {
    padding-top: 0;
  }
}

@media (min-width: 900px) {
  .page-home .hm-timeline__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: start;
  }
}

@media (min-width: 920px) {
  .page-home .hm-hero__grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    align-items: start;
  }

  .page-home .hm-stage {
    display: block;
    padding-bottom: 5.4rem;
  }

  .page-home .hm-push {
    position: absolute;
    left: -2rem;
    bottom: 0;
    width: 62%;
    max-width: 320px;
  }
}

@media (min-width: 1040px) {
  .page-home .hm-doorlist {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-door,
  .page-home .hm-door__arrow,
  .page-home .hm-line__item,
  .page-home .hm-line__hint {
    transition: none;
  }

  .page-home .hm-door:hover {
    transform: none;
  }

  .page-home .hm-door:hover .hm-door__arrow {
    transform: translateY(-50%);
  }
}
