.page-home {
  --home-gap: clamp(20px, 4vw, 40px);
  --home-pad: clamp(40px, 7vw, 88px);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  background:
    radial-gradient(120% 90% at 86% 4%, rgba(0, 216, 230, .14), transparent 60%),
    radial-gradient(90% 70% at 4% 96%, rgba(255, 122, 47, .10), transparent 62%),
    var(--paper);
  padding: clamp(26px, 5vw, 56px) 0 clamp(40px, 6vw, 76px);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .home-hero__inner {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.page-home .home-hero__lead .eyebrow {
  margin-top: 18px;
}

.page-home .home-hero h1 {
  margin: 10px 0 0;
  font-family: var(--font-head);
  font-size: clamp(30px, 6.4vw, 56px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.015em;
  color: var(--ink);
}

.page-home .home-hl {
  color: var(--steel);
  background: linear-gradient(180deg, transparent 62%, rgba(0, 216, 230, .34) 62%);
  padding: 0 2px;
}

.page-home .home-hero__lede {
  margin: 18px 0 0;
  max-width: 40em;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.6vw, 17.5px);
  line-height: 1.85;
  color: var(--txt-soft);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .home-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0 0;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
}

.page-home .home-figure {
  background: var(--paper-3);
  padding: 14px 14px 12px;
}

.page-home .home-figure dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--slate);
  text-transform: uppercase;
}

.page-home .home-figure dd {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--txt-soft);
}

.page-home .home-figure__num {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
}

/* ---------- 首屏面板 ---------- */
.page-home .console {
  padding: 14px;
  border-radius: var(--r);
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(rgba(139, 244, 247, .07) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(90deg, rgba(139, 244, 247, .07) 1px, transparent 1px) 0 0 / 26px 26px,
    radial-gradient(90% 70% at 12% 0%, rgba(0, 216, 230, .20), transparent 62%),
    var(--space);
  box-shadow: var(--shadow-2);
  color: var(--paper);
}

.page-home .console__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 2px 12px;
  border-bottom: 1px solid var(--line-dark);
}

.page-home .console__bar .status-dot {
  animation: home-pulse 3.4s var(--ease) infinite;
}

@keyframes home-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.82); }
}

.page-home .console__live {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .02em;
  color: var(--cyan-soft);
}

.page-home .console__tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--space);
  background: var(--cyan);
  padding: 2px 7px;
  border-radius: var(--r);
  letter-spacing: .08em;
}

.page-home .console__media {
  margin-top: 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--space-2);
}

.page-home .console__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-home .console__rows {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.page-home .console__row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 10px;
  padding: 9px 4px;
  border-bottom: 1px solid rgba(139, 244, 247, .10);
  transition: background-color .18s var(--ease), padding-left .18s var(--ease);
}

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

.page-home .console__row:hover,
.page-home .console__row:focus-within {
  background: rgba(0, 216, 230, .07);
  padding-left: 10px;
}

.page-home .console__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
}

.page-home .console__name {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--paper);
}

.page-home .console__note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--cyan-soft);
  opacity: .7;
  transition: opacity .18s var(--ease);
}

.page-home .console__row:hover .console__note {
  opacity: 1;
}

/* ---------- 通用章节 ---------- */
.page-home .home-sec {
  padding: var(--home-pad) 0;
}

.page-home .home-sec h2 {
  margin: 8px 0 0;
  font-family: var(--font-head);
  font-size: clamp(23px, 3.6vw, 34px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.01em;
  color: var(--ink);
}

.page-home .home-sec p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--txt-soft);
}

.page-home .home-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--orange);
}

/* ---------- 分类标签 ---------- */
.page-home .home-tags {
  background: var(--paper);
}

.page-home .home-tags__inner {
  display: grid;
  gap: var(--home-gap);
  align-items: start;
}

.page-home .home-tags__text p {
  margin: 14px 0 0;
  max-width: 44em;
}

.page-home .home-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
}

.page-home .home-chips .chip {
  text-decoration: none;
  transition: transform .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}

.page-home .home-chips .chip:hover,
.page-home .home-chips .chip:focus-visible {
  transform: translateY(-2px);
  border-color: var(--orange);
  color: var(--ink);
}

.page-home .home-tags__foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 14.5px;
}

/* ---------- 图片容器 ---------- */
.page-home .home-shot {
  margin: 0;
}

.page-home .home-shot img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--r);
  border: 1px solid var(--line-soft);
  background: var(--paper-2);
}

.page-home .home-shot figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: .02em;
  color: var(--slate);
}

.page-home .home-shot--tags img {
  box-shadow: var(--shadow-1);
}

/* ---------- 2026 面板磁贴 ---------- */
.page-home .home-panel {
  background:
    linear-gradient(180deg, rgba(231, 221, 206, .55), transparent 34%),
    var(--paper-3);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .home-panel__head {
  max-width: 62em;
}

.page-home .home-panel__head p {
  margin: 14px 0 0;
}

.page-home .home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.page-home .home-grid .tile {
  height: 100%;
  text-decoration: none;
}

.page-home .home-grid .tile--lead {
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(0, 216, 230, .30), transparent 58%),
    linear-gradient(150deg, var(--ink), var(--space-2));
  border-color: var(--line-dark);
  color: var(--paper);
}

.page-home .home-grid .tile--lead .tile__title {
  color: var(--paper);
  font-size: clamp(20px, 2.6vw, 26px);
}

.page-home .home-grid .tile--lead .tile__desc {
  color: rgba(244, 239, 230, .82);
}

.page-home .home-grid .tile--lead .tile__idx {
  color: var(--cyan);
}

.page-home .home-grid .tile--lead .tile__meta {
  color: var(--cyan-soft);
}

/* ---------- 版本信任带 ---------- */
.page-home .home-band {
  background:
    radial-gradient(80% 90% at 90% 0%, rgba(0, 216, 230, .18), transparent 62%),
    linear-gradient(160deg, var(--ink), var(--space-2));
  color: var(--paper);
  padding: var(--home-pad) 0;
}

.page-home .home-band__inner {
  display: grid;
  gap: var(--home-gap);
  align-items: start;
}

.page-home .home-band .home-shot img {
  border-color: var(--line-dark);
  background: var(--space);
}

.page-home .home-band .home-shot figcaption {
  color: var(--cyan-soft);
  opacity: .8;
}

.page-home .home-band__body h2 {
  color: var(--paper);
}

.page-home .eyebrow--dark {
  color: var(--cyan);
}

.page-home .home-band__text {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(244, 239, 230, .84);
}

.page-home .home-ver {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  background: rgba(139, 244, 247, .05);
}

.page-home .home-ver__num {
  font-family: var(--font-mono);
  font-size: clamp(38px, 7vw, 62px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--orange);
}

.page-home .home-ver .copy-btn {
  margin-left: auto;
}

.page-home .home-ver__list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
}

.page-home .home-ver__item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(139, 244, 247, .12);
}

.page-home .home-ver__item.is-current {
  background: linear-gradient(90deg, rgba(255, 122, 47, .14), transparent 72%);
}

.page-home .home-ver__code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan-soft);
}

.page-home .home-ver__item.is-current .home-ver__code {
  color: var(--orange);
  font-weight: 700;
}

.page-home .home-ver__desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(244, 239, 230, .82);
}

.page-home .home-band .btn {
  margin-top: 26px;
}

/* ---------- 收束 ---------- */
.page-home .home-next {
  background: var(--paper);
}

.page-home .home-next__inner {
  display: grid;
  gap: var(--home-gap);
  align-items: start;
}

.page-home .home-next__list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-soft);
}

.page-home .home-next__list li {
  border-bottom: 1px solid var(--line-soft);
}

.page-home .home-next__list a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 16px 6px;
  text-decoration: none;
  transition: background-color .18s var(--ease), padding-left .18s var(--ease);
}

.page-home .home-next__list a:hover,
.page-home .home-next__list a:focus-visible {
  background: var(--paper-2);
  padding-left: 14px;
}

.page-home .home-next__idx {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
  padding-top: 3px;
}

.page-home .home-next__label {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.page-home .home-next__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--txt-soft);
}

.page-home .home-next__foot {
  margin-top: 22px;
  font-size: 14.5px;
}

.page-home .home-next__foot a {
  color: var(--steel);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.page-home .home-shot--mobile {
  max-width: 340px;
  justify-self: center;
}

.page-home .home-shot--mobile img {
  box-shadow: var(--shadow-1);
}

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

@media (min-width: 760px) {
  .page-home .home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .home-grid .tile--lead {
    grid-column: span 2;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    gap: clamp(32px, 4vw, 56px);
  }
  .page-home .home-tags__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  }
  .page-home .home-band__inner {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  }
  .page-home .home-next__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  }
  .page-home .home-shot--mobile {
    justify-self: end;
  }
}

@media (min-width: 1040px) {
  .page-home .home-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(148px, auto);
    gap: 14px;
  }
  .page-home .home-grid .tile--lead {
    grid-column: span 2;
    grid-row: span 2;
  }
  .page-home #panel-index {
    scroll-margin-top: 90px;
  }
  .page-home .home-next__list a {
    grid-template-columns: 40px minmax(0, 1fr) minmax(0, .9fr);
    align-items: baseline;
  }
  .page-home .home-next__idx {
    grid-row: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .console__bar .status-dot {
    animation: none;
  }
  .page-home .console__row,
  .page-home .home-chips .chip,
  .page-home .home-next__list a {
    transition: none;
  }
}
