/* ===== 中国区主页 page-home ===== */
.page-home {
  --home-gap: clamp(12px, 1.6vw, 18px);
  --home-r: 14px;
  display: block;
}

/* --- 顶部上下文条 --- */
.page-home .home-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 18px 0 4px;
}
.page-home .home-topbar .breadcrumb {
  margin: 0;
}
.page-home .home-topbar__note {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--dim);
}
.page-home .home-topbar__note b {
  color: var(--c-lime);
  font-size: 13px;
}

/* --- 首屏 Bento 拼贴 --- */
.page-home .home-hero {
  padding-top: 14px;
}
.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

/* 主入口块 */
.page-home .home-gate {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--c-arena);
  min-height: 380px;
}
.page-home .home-gate__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.page-home .home-gate::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 10% 6%, rgba(61, 240, 208, 0.24), transparent 58%),
    radial-gradient(90% 80% at 96% 100%, rgba(255, 106, 44, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(5, 10, 24, 0.42) 0%, rgba(5, 10, 24, 0.93) 76%);
}
.page-home .home-gate__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 4vw, 40px);
}
.page-home .home-gate__eyebrow {
  margin: 0;
}
.page-home .home-gate h1 {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(1.75rem, 5.4vw, 3.05rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--c-chalk);
}
.page-home .home-gate__lead {
  margin: 0;
  max-width: 40ch;
  font-size: 0.98rem;
  line-height: 1.8;
  color: #c8d4ea;
}

.page-home .home-steps {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.page-home .home-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: baseline;
  padding-left: 12px;
  border-left: 2px solid var(--c-steel);
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--c-chalk);
  transition: border-color 0.18s var(--ease);
}
.page-home .home-steps li:hover {
  border-left-color: var(--c-cyan);
}
.page-home .home-steps__n {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--c-cyan);
}

.page-home .home-gate__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

/* 检索卫星块 */
.page-home .home-search {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, var(--c-panel), var(--c-arena) 82%);
  transition: border-color 0.18s var(--ease);
}
.page-home .home-search:hover {
  border-color: rgba(61, 240, 208, 0.55);
}
.page-home .home-search__label {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-cyan);
}
.page-home .home-search__field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid var(--c-steel);
  border-radius: 999px;
  background: rgba(5, 10, 24, 0.62);
  font-size: 0.9rem;
  color: var(--dim);
}
.page-home .home-search__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 0 4px rgba(61, 240, 208, 0.16);
}
.page-home .home-search__note {
  margin: 12px 0 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--dim);
}
.page-home .home-search__note b {
  color: var(--c-lime);
}
.page-home .home-search__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--c-cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s var(--ease);
}
.page-home .home-search__link:hover {
  border-bottom-color: var(--c-cyan);
}

.page-home .home-device {
  justify-self: center;
  width: min(180px, 62%);
  padding: 7px;
  border: 1px solid var(--c-steel);
  border-radius: 24px;
  background: var(--c-void);
  box-shadow: 0 20px 38px -24px rgba(0, 0, 0, 0.95);
}
.page-home .home-device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
}

/* 版本卫星块 */
.page-home .home-ver {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  background:
    linear-gradient(120deg, rgba(255, 106, 44, 0.1), transparent 55%),
    var(--c-panel);
}
.page-home .home-ver__head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.page-home .home-ver__num {
  font-family: var(--f-mono);
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-lime);
}
.page-home .home-ver__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #c8d4ea;
}
.page-home .home-ver__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 2px 0 0;
  padding: 12px 0 0;
  border-top: 1px dashed var(--c-steel);
}
.page-home .home-ver__facts dt {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--dim);
}
.page-home .home-ver__facts dd {
  margin: 4px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-chalk);
}
.page-home .home-ver__link {
  margin-top: auto;
  font-size: 0.88rem;
  color: var(--c-cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
  transition: border-color 0.18s var(--ease);
}
.page-home .home-ver__link:hover {
  border-bottom-color: var(--c-cyan);
}

/* --- 对比卡片横向带 --- */
.page-home .home-reel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 80%;
  gap: var(--home-gap);
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.page-home .home-reel > * {
  scroll-snap-align: start;
}

.page-home .home-verse {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  background: var(--c-panel);
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease),
    background-color 0.18s var(--ease);
}
.page-home .home-verse:hover {
  border-color: var(--c-cyan);
  background: var(--c-arena);
  transform: translateY(-3px);
}
.page-home .home-verse__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.page-home .home-verse__stage {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--dim);
}
.page-home .home-verse__name {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--c-chalk);
}
.page-home .home-verse__big {
  margin: 2px 0 0;
  font-size: clamp(1.9rem, 6vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-lime);
}
.page-home .home-verse__big span {
  padding: 0 3px;
  color: var(--c-ash);
}
.page-home .home-verse__cap {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--dim);
}
.page-home .home-verse__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px dashed var(--c-steel);
}
.page-home .home-verse__row > span:first-child {
  font-size: 0.8rem;
  color: var(--dim);
}
.page-home .home-verse__row .mono {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--c-chalk);
}
.page-home .home-reel__more {
  margin: 0;
}
.page-home .home-reel__more a {
  font-size: 0.92rem;
  color: var(--c-cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s var(--ease);
}
.page-home .home-reel__more a:hover {
  border-bottom-color: var(--c-cyan);
}

/* --- 版本状态条 --- */
.page-home .home-status {
  margin: clamp(26px, 5vw, 52px) 0;
  padding: clamp(22px, 4vw, 36px) 0;
  border-top: 1px solid var(--c-steel);
  border-bottom: 1px solid var(--c-steel);
  background:
    linear-gradient(90deg, rgba(61, 240, 208, 0.1), rgba(255, 216, 77, 0.08) 48%, rgba(255, 106, 44, 0.07) 76%, transparent);
}
.page-home .home-status__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}
.page-home .home-status__lead h2 {
  margin: 12px 0 10px;
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--c-chalk);
}
.page-home .home-status__lead p {
  margin: 0;
  max-width: 42ch;
  font-size: 0.92rem;
  line-height: 1.8;
  color: #c8d4ea;
}
.page-home .home-status__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
  margin: 0;
}
.page-home .home-status__stats > div {
  padding: 12px 0 0;
  border-top: 2px solid var(--c-cyan);
}
.page-home .home-status__stats dt {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--dim);
}
.page-home .home-status__stats dd {
  margin: 6px 0 4px;
  font-family: var(--f-mono);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--c-lime);
}
.page-home .home-status__stats span {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--dim);
}

/* --- 历史交锋回看带 --- */
.page-home .home-h2h {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 38px);
  align-items: center;
}
.page-home .home-h2h__figure {
  margin: 0;
}
.page-home .home-h2h__figure .media-frame {
  display: block;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
}
.page-home .home-h2h__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-home .home-h2h__figure figcaption {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--dim);
}
.page-home .home-h2h__body h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--c-chalk);
}
.page-home .home-h2h__body > p {
  margin: 0 0 16px;
  max-width: 42ch;
  font-size: 0.93rem;
  line-height: 1.8;
  color: #c8d4ea;
}
.page-home .home-h2h__body .mono {
  color: var(--c-lime);
  font-weight: 700;
}

.page-home .home-switches {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 9px;
}
.page-home .home-switches li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--c-steel);
  border-radius: 999px;
  font-size: 0.87rem;
  color: var(--dim);
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.page-home .home-switches li:hover {
  border-color: var(--c-cyan);
  color: var(--c-chalk);
}
.page-home .home-switches__mark {
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--c-steel);
}
.page-home .home-switches li.is-on {
  color: var(--c-chalk);
  border-color: rgba(61, 240, 208, 0.45);
  background: rgba(61, 240, 208, 0.07);
}
.page-home .home-switches li.is-on .home-switches__mark {
  border-color: var(--c-cyan);
  background: var(--c-cyan);
  box-shadow: inset 0 0 0 3px var(--c-void);
}
.page-home .home-h2h__note {
  font-size: 0.85rem !important;
  color: var(--dim) !important;
}
.page-home .home-h2h__cta {
  margin: 0 !important;
}

/* --- 回访收束 --- */
.page-home .home-outro {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 40px);
  align-items: center;
  padding-bottom: clamp(48px, 8vw, 96px);
}
.page-home .home-outro__text h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--c-chalk);
}
.page-home .home-outro__text > p {
  margin: 0 0 18px;
  max-width: 42ch;
  font-size: 0.93rem;
  line-height: 1.8;
  color: #c8d4ea;
}
.page-home .home-outro__text .mono {
  color: var(--c-lime);
  font-weight: 700;
}
.page-home .home-outro__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.page-home .home-outro__contact {
  margin: 14px 0 0 !important;
  font-size: 0.85rem !important;
  color: var(--dim) !important;
}
.page-home .home-outro__contact a {
  color: var(--c-cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s var(--ease);
}
.page-home .home-outro__contact a:hover {
  border-bottom-color: var(--c-cyan);
}
.page-home .home-outro__figure {
  margin: 0;
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.page-home .home-outro__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* --- 响应式 --- */
@media (min-width: 640px) {
  .page-home .home-search {
    grid-template-columns: 1.4fr 0.85fr;
    align-items: center;
  }
  .page-home .home-device {
    width: min(190px, 100%);
  }
  .page-home .home-reel {
    grid-auto-columns: 44%;
  }
}

@media (min-width: 860px) {
  .page-home .home-reel {
    grid-auto-columns: 31.5%;
  }
  .page-home .home-h2h {
    grid-template-columns: 0.85fr 1.15fr;
  }
  .page-home .home-outro {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .page-home .home-status__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .page-home .home-hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .page-home .home-gate {
    grid-column: 1 / span 7;
    grid-row: 1 / span 2;
    min-height: 0;
  }
  .page-home .home-search {
    grid-column: 8 / span 5;
    grid-row: 1;
  }
  .page-home .home-ver {
    grid-column: 8 / span 5;
    grid-row: 2;
  }
  .page-home .home-status__inner {
    grid-template-columns: 0.9fr 1.6fr;
    align-items: center;
  }
  .page-home .home-reel {
    grid-auto-columns: 23.5%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-verse,
  .page-home .home-steps li,
  .page-home .home-switches li {
    transition: none;
  }
  .page-home .home-verse:hover {
    transform: none;
  }
}
