.page-home{
  --hm-edge: clamp(1rem, 3vw, 2rem);
  background: var(--ys-ink);
  color: var(--ys-white);
  font-family: var(--ys-font-body);
  overflow-x: clip;
}

.page-home h1,
.page-home h2,
.page-home h3{
  margin: 0;
  font-family: var(--ys-font-display);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.page-home p{ margin: 0; }
.page-home ul,
.page-home ol{ margin: 0; padding: 0; list-style: none; }
.page-home figure{ margin: 0; }
.page-home img{ display: block; max-width: 100%; height: auto; }
.page-home a{ color: inherit; }

.page-home .ys-section{
  padding: clamp(3rem, 8vw, 6.5rem) 0;
}

/* ---------- 非对称分栏 ---------- */
.page-home .ys-split{
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 5vw, 3.5rem);
  align-items: start;
}

/* ---------- 首屏 ---------- */
.hm-hero{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--ys-header-h) + clamp(2.4rem, 9vw, 6rem)) 0 0;
}

.hm-hero__bg{
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hm-hero__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: saturate(0.85) contrast(1.08);
}

.hm-hero__bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(43, 240, 194, 0.2), transparent 46%),
    linear-gradient(96deg, var(--ys-ink) 6%, rgba(7, 17, 29, 0.94) 42%, rgba(7, 17, 29, 0.42) 76%, rgba(7, 17, 29, 0.92) 100%);
}

.hm-hero__inner{
  position: relative;
  padding-bottom: clamp(2.4rem, 7vw, 4.5rem);
}

.hm-hero__eyebrow{
  margin-bottom: 1.1rem;
}

.hm-hero__title{
  font-size: clamp(2.5rem, 8.2vw, 6.2rem);
  line-height: 1.03;
  max-width: 18ch;
}

.hm-hero__title span{
  display: inline-block;
  color: var(--ys-mint);
  text-shadow: 0 0 42px rgba(43, 240, 194, 0.28);
}

.hm-hero__lede{
  margin-top: clamp(1.1rem, 3vw, 1.7rem);
  max-width: 46ch;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.8;
  color: var(--ys-mist);
}

.hm-hero__actions{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.1rem;
  margin-top: clamp(1.6rem, 4vw, 2.4rem);
}

.hm-hero__link{
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ys-mint-soft);
  border-bottom: 1px solid rgba(139, 255, 225, 0.45);
  padding-bottom: 2px;
  transition: color 0.3s var(--ys-ease), border-color 0.3s var(--ys-ease);
}

.hm-hero__link:hover,
.hm-hero__link:focus-visible{
  color: var(--ys-white);
  border-color: var(--ys-white);
}

/* ---------- 横向数据带 ---------- */
.hm-ticker{
  border-top: 1px solid var(--ys-steel);
  background: linear-gradient(180deg, rgba(13, 28, 43, 0.96), var(--ys-night));
  border-bottom: 1px solid var(--ys-steel);
}

.hm-ticker__track{
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 1.15rem var(--ys-gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--ys-steel) transparent;
}

.hm-ticker__track::-webkit-scrollbar{ height: 4px; }
.hm-ticker__track::-webkit-scrollbar-thumb{ background: var(--ys-steel); border-radius: 4px; }

.hm-ticker__cell{
  flex: 0 0 auto;
  min-width: 148px;
  padding: 0.15rem 1.15rem;
  border-left: 1px solid var(--ys-steel);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hm-ticker__cell:first-child{
  border-left: 0;
  padding-left: 0;
  min-width: 200px;
}

.hm-ticker__v{
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1;
  color: var(--ys-mint);
  font-weight: 700;
}

.hm-ticker__unit{
  font-size: 0.6em;
  margin-left: 2px;
  color: var(--ys-mint-soft);
}

.hm-ticker__k{
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--ys-mist);
  text-transform: uppercase;
}

.hm-ticker__live{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ys-warm);
}

.hm-ticker__dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ys-track);
  box-shadow: 0 0 0 4px rgba(255, 91, 61, 0.18);
}

/* ---------- 本轮进度 ---------- */
.hm-round{ border-bottom: 1px solid var(--ys-steel); }

.hm-round__board{
  margin-top: clamp(1.5rem, 4vw, 2.2rem);
  border: 1px solid var(--ys-steel);
  border-radius: var(--ys-radius);
  overflow: hidden;
  background: var(--ys-night);
}

.hm-round__row{
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--ys-steel);
}

.hm-round__row:first-child{ border-top: 0; }

.hm-round__name{
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ys-white);
}

.hm-round__state{
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--ys-ink);
  background: var(--ys-mint);
  border-radius: var(--ys-radius-pill);
  padding: 0.18rem 0.6rem;
  font-weight: 700;
}

.hm-round__state--pending{
  background: transparent;
  color: var(--ys-warm);
  border: 1px solid var(--ys-track);
}

.hm-round__time{
  font-size: 0.85rem;
  color: var(--ys-mist);
}

.hm-round__more{ margin-top: clamp(1.4rem, 3.5vw, 2rem); }

.hm-round__figure{
  border: 1px solid var(--ys-steel);
  border-radius: var(--ys-radius-lg);
  overflow: hidden;
  background: var(--ys-night);
}

.hm-round__figure img{
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.hm-round__figure figcaption{
  padding: 0.9rem 1.1rem 1.1rem;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--ys-mist);
}

/* ---------- 抽屉入口 ---------- */
.hm-drawers{
  background: linear-gradient(180deg, var(--ys-night), #0A1622 70%, var(--ys-ink));
  border-top: 1px solid var(--ys-steel);
  border-bottom: 1px solid var(--ys-steel);
}

.hm-drawers__layout{
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 5vw, 3rem);
}

.hm-drawers__head .ys-lede{ margin-top: 1rem; }

.hm-drawers__list{
  display: grid;
  gap: 0.7rem;
}

.hm-drawer{
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1rem 1rem 0.85rem;
  text-decoration: none;
  border: 1px solid var(--ys-steel);
  border-radius: var(--ys-radius);
  background: linear-gradient(118deg, rgba(36, 64, 90, 0.42), rgba(13, 28, 43, 0.28));
  transition: transform 0.35s var(--ys-ease), border-color 0.35s var(--ys-ease), background 0.35s var(--ys-ease);
}

.hm-drawer:hover,
.hm-drawer:focus-visible{
  border-color: var(--ys-mint);
  background: linear-gradient(118deg, rgba(43, 240, 194, 0.14), rgba(13, 28, 43, 0.4));
  transform: translateX(5px);
}

.hm-drawer__handle{
  width: 24px;
  height: 46px;
  border: 1px solid var(--ys-steel);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 17, 29, 0.6);
  flex: 0 0 auto;
}

.hm-drawer__handle i{
  display: block;
  width: 3px;
  height: 20px;
  border-radius: 3px;
  background: var(--ys-mint);
  opacity: 0.85;
}

.hm-drawer__idx{
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--ys-track);
}

.hm-drawer__txt{ display: block; }

.hm-drawer__txt strong{
  display: block;
  font-family: var(--ys-font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--ys-white);
}

.hm-drawer__txt em{
  display: block;
  margin-top: 0.3rem;
  font-style: normal;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--ys-mist);
}

.hm-drawer__arrow{
  color: var(--ys-mint);
  font-size: 1.05rem;
  transition: transform 0.35s var(--ys-ease);
}

.hm-drawer:hover .hm-drawer__arrow,
.hm-drawer:focus-visible .hm-drawer__arrow{ transform: translateX(4px); }

/* ---------- 三步路径 ---------- */
.hm-path__head{ max-width: 62ch; }
.hm-path__head .ys-prose{ margin-top: 1rem; }

.hm-path__steps{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: clamp(1.8rem, 5vw, 2.8rem);
  background: var(--ys-steel);
  border: 1px solid var(--ys-steel);
  border-radius: var(--ys-radius-lg);
  overflow: hidden;
}

.hm-step{
  background: var(--ys-night);
  padding: 1.25rem 1.15rem;
  display: grid;
  gap: 0.55rem;
}

.hm-step__num{
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--ys-track);
}

.hm-step h3{
  font-size: 1.05rem;
  line-height: 1.3;
}

.hm-step p{
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--ys-mist);
}

.hm-path__figure{
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
  border: 1px solid var(--ys-steel);
  border-radius: var(--ys-radius-lg);
  overflow: hidden;
  background: var(--ys-night);
}

.hm-path__figure img{
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  clip-path: polygon(0 0, 94% 0, 100% 100%, 6% 100%);
}

.hm-path__figure figcaption{
  padding: 0.9rem 1.1rem 1.1rem;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--ys-mist);
}

/* ---------- 平板适配 ---------- */
.hm-tablet{
  background: radial-gradient(circle at 12% 18%, rgba(43, 240, 194, 0.12), transparent 52%), var(--ys-night);
  border-top: 1px solid var(--ys-steel);
  border-bottom: 1px solid var(--ys-steel);
}

.hm-tablet__figure{
  border-radius: var(--ys-radius-lg);
  overflow: hidden;
  border: 1px solid var(--ys-steel);
}

.hm-tablet__figure img{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
}

.hm-tablet__body .ys-prose{ margin-top: 1rem; }

.hm-tablet__specs{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(1.4rem, 4vw, 2rem) 0;
  background: var(--ys-steel);
  border: 1px solid var(--ys-steel);
  border-radius: var(--ys-radius);
  overflow: hidden;
}

.hm-tablet__spec{
  background: var(--ys-ink);
  padding: 0.85rem 0.95rem;
}

.hm-tablet__spec dt{
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--ys-mist);
  text-transform: uppercase;
}

.hm-tablet__spec dd{
  margin: 0.4rem 0 0;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  line-height: 1;
  color: var(--ys-mint);
  font-family: var(--ys-font-mono);
  font-weight: 700;
}

/* ---------- 更新与纠错 ---------- */
.hm-notes__head{ max-width: 64ch; }
.hm-notes__head .ys-lede{ margin-top: 1rem; }

.hm-notes__more{
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ys-mint);
  text-decoration: none;
  border-bottom: 1px solid rgba(43, 240, 194, 0.4);
  padding-bottom: 2px;
}

.hm-notes__more:hover,
.hm-notes__more:focus-visible{ color: var(--ys-white); border-color: var(--ys-white); }

.hm-notes__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  margin-top: clamp(1.8rem, 5vw, 2.6rem);
}

.hm-note{
  padding: 1.3rem 1.15rem;
  border-radius: var(--ys-radius);
  border: 1px solid var(--ys-steel);
  background: linear-gradient(160deg, rgba(36, 64, 90, 0.34), rgba(7, 17, 29, 0.6));
}

.hm-note__num{
  display: block;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  line-height: 1;
  color: var(--ys-mint);
  font-weight: 700;
}

.hm-note h3{
  margin-top: 0.55rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--ys-white);
}

.hm-note p{
  margin-top: 0.55rem;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--ys-mist);
}

.hm-fix{
  margin-top: clamp(1.6rem, 4vw, 2.2rem);
  padding: 1.2rem 1.15rem;
  border-left: 3px solid var(--ys-track);
  border-radius: 0 var(--ys-radius) var(--ys-radius) 0;
  background: rgba(255, 91, 61, 0.08);
  display: grid;
  gap: 0.9rem;
}

.hm-fix__text{
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--ys-warm);
}

.hm-fix__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hm-notes__cta{
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.8rem, 5vw, 2.6rem);
}

/* ---------- 平板及以上 ---------- */
@media (min-width: 760px){
  .hm-path__steps{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-notes__grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-tablet__specs{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hm-fix{
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 900px){
  .page-home .ys-split{
    grid-template-columns: 1.62fr 1fr;
    gap: clamp(2rem, 4vw, 3.6rem);
  }

  .page-home .ys-split--flip{
    grid-template-columns: 1fr 1.62fr;
  }

  .hm-drawers__layout{
    grid-template-columns: 0.86fr 1.14fr;
    align-items: start;
  }

  .hm-drawers__head{
    position: sticky;
    top: calc(var(--ys-header-h) + 2rem);
  }

  .hm-ticker__cell{ min-width: 168px; }

  .hm-path__figure img{ aspect-ratio: 21 / 9; }
}

@media (min-width: 1100px){
  .hm-hero__inner{
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-width: var(--ys-container);
  }

  .hm-round__board{ margin-top: 2.4rem; }
}

@media (prefers-reduced-motion: reduce){
  .page-home .hm-drawer,
  .page-home .hm-drawer__arrow,
  .page-home .hm-hero__link{
    transition: none;
  }

  .page-home .hm-drawer:hover,
  .page-home .hm-drawer:focus-visible{
    transform: none;
  }
}
