.page-home {
  --home-pad: clamp(44px, 7vw, 92px);
  position: relative;
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  padding: clamp(28px, 4.5vw, 52px) 0 clamp(24px, 4vw, 48px);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  top: -28%;
  right: -18%;
  width: min(760px, 92vw);
  height: min(760px, 92vw);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(53, 224, 200, .14), rgba(124, 92, 255, .08) 46%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

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

.page-home .page-context {
  margin: 0 0 clamp(20px, 3vw, 34px);
  color: var(--muted);
}

.page-home .hero__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
}

.page-home .hero__intro {
  min-width: 0;
}

.page-home .hero__title {
  margin: 0 0 18px;
  max-width: 13ch;
  font-family: var(--font-narrow);
  font-weight: 250;
  font-size: clamp(36px, 7.4vw, 88px);
  line-height: 1.03;
  letter-spacing: -0.025em;
  color: var(--text);
  font-stretch: semi-condensed;
}

.page-home .hero__lede {
  margin: 0 0 clamp(22px, 3vw, 30px);
  max-width: 42ch;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.78;
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(26px, 3.5vw, 38px);
}

.page-home .hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 14px;
  margin: 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.page-home .hero__stats .mono__num {
  font-family: var(--font-mono);
  font-size: clamp(19px, 2.6vw, 25px);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--cyan);
  line-height: 1.1;
}

.page-home .hero__stats-label {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

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

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

.page-home .hero__visual .media-frame__caption {
  padding: 12px 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* ---------- 首屏查询板：左锚点 + 右卡片流 ---------- */
.page-home .hero__board {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 32px);
  margin-top: clamp(38px, 5.5vw, 68px);
}

.page-home .board__aside {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
}

.page-home .anchor {
  position: relative;
  padding: 22px 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(53, 224, 200, .07), rgba(14, 21, 36, .96) 34%),
    var(--panel);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}

.page-home .anchor::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--cyan), transparent 78%);
}

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

.page-home .anchor__stamp {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--amber);
}

.page-home .anchor__label {
  margin: 18px 0 6px;
  color: var(--muted);
}

.page-home .anchor__count {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(48px, 8vw, 68px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--cyan);
}

.page-home .anchor__sub {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.page-home .anchor__ways {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-home .anchor__ways a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-size: 14.5px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.page-home .anchor__ways a::after {
  content: "→";
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  transition: color .2s ease, transform .2s ease;
}

.page-home .anchor__ways a:hover,
.page-home .anchor__ways a:focus-visible {
  background: rgba(53, 224, 200, .08);
  border-color: rgba(53, 224, 200, .38);
  color: var(--cyan);
}

.page-home .anchor__ways a:hover::after,
.page-home .anchor__ways a:focus-visible::after {
  color: var(--cyan);
  transform: translateX(3px);
}

.page-home .anchor__figure {
  margin: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--panel);
}

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

/* 卡片流 */
.page-home .board__flow {
  min-width: 0;
}

.page-home .flow__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 22px;
  margin-bottom: 18px;
}

.page-home .flow__title {
  margin: 0 0 6px;
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.page-home .flow__note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.page-home .flow__chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.page-home .flow__chips::-webkit-scrollbar {
  display: none;
}

.page-home .flow__chips .chip {
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  padding: 7px 15px;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.page-home .flow__chips .chip:hover,
.page-home .flow__chips .chip:focus-visible {
  color: var(--text);
  border-color: var(--violet);
}

.page-home .flow__chips .chip[aria-pressed="true"] {
  color: var(--ink-950);
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 600;
}

.page-home .flow__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 82%);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 20px;
  scrollbar-color: var(--line) transparent;
  scrollbar-width: thin;
}

.page-home .flow__track::-webkit-scrollbar {
  height: 6px;
}

.page-home .flow__track::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}

.page-home .flow__track > * {
  scroll-snap-align: start;
}

.page-home .vcard {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 19px 17px 17px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--panel);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.page-home .vcard:hover,
.page-home .vcard:focus-within {
  border-color: rgba(53, 224, 200, .45);
  background: var(--panel-2);
  transform: translateY(-3px);
}

.page-home .vcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .vcard__ver {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--cyan);
}

.page-home .vcard__title {
  margin: 0;
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.page-home .vcard__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.page-home .vcard__sig {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--muted);
}

.page-home .status-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(53, 224, 200, .14);
}

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

.page-home .section--tight {
  padding-top: 0;
}

.page-home .section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 18px;
  align-items: start;
  margin-bottom: clamp(24px, 3.5vw, 38px);
}

.page-home .section-num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--cyan);
  opacity: .55;
}

.page-home .section-title {
  margin: 0 0 9px;
  font-size: clamp(21px, 3.1vw, 31px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-home .section-note {
  margin: 0;
  max-width: 58ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 开服时间轴 ---------- */
.page-home .section--servers {
  background:
    radial-gradient(120% 80% at 82% -10%, rgba(255, 180, 84, .1), transparent 62%),
    transparent;
}

.page-home .servers__figure {
  margin: 0 0 clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
}

.page-home .servers__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  opacity: .85;
}

.page-home .timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-home .tl-col {
  padding: 20px 20px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 180, 84, .08), rgba(14, 21, 36, .92) 42%),
    var(--panel);
}

.page-home .tl-stamp {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.page-home .tl-stamp__time {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4.6vw, 40px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--amber);
}

.page-home .tl-stamp__label {
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.page-home .tl-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .tl-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 14.5px;
}

.page-home .tl-list li:last-child {
  border-bottom: 0;
}

.page-home .tl-type {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.page-home .tl-type--official {
  color: var(--cyan);
  border-color: rgba(53, 224, 200, .42);
  background: rgba(53, 224, 200, .08);
}

.page-home .tl-type--test {
  color: var(--violet);
  border-color: rgba(124, 92, 255, .45);
  background: rgba(124, 92, 255, .1);
}

.page-home .tl-type--event {
  color: var(--magenta);
  border-color: rgba(255, 79, 163, .42);
  background: rgba(255, 79, 163, .09);
}

.page-home .tl-name {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--text);
}

.page-home .tl-when {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--amber);
}

.page-home .servers__foot,
.page-home .catalog__foot,
.page-home .support__foot {
  margin: clamp(20px, 3vw, 30px) 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 机型分级 ---------- */
.page-home .section--devices {
  background:
    radial-gradient(110% 70% at 12% 110%, rgba(124, 92, 255, .12), transparent 60%),
    transparent;
}

.page-home .device-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .device-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease;
}

.page-home .device-card:hover {
  transform: translateY(-3px);
}

.page-home .device-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
}

.page-home .device-card--entry::after {
  background: linear-gradient(90deg, var(--violet), transparent 82%);
}

.page-home .device-card--main::after {
  background: linear-gradient(90deg, var(--cyan), transparent 82%);
}

.page-home .device-card--flag::after {
  background: linear-gradient(90deg, var(--amber), transparent 82%);
}

.page-home .device-card--entry:hover {
  border-color: rgba(124, 92, 255, .5);
}

.page-home .device-card--main:hover {
  border-color: rgba(53, 224, 200, .5);
}

.page-home .device-card--flag:hover {
  border-color: rgba(255, 180, 84, .5);
}

.page-home .device-card__title {
  margin: 0;
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.page-home .device-card__specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
}

.page-home .device-card__specs li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line-soft);
}

.page-home .device-card__specs li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .device-card__specs b {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text);
  text-align: right;
}

.page-home .device-card .text-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 13.5px;
}

/* ---------- 换设备提示条 ---------- */
.page-home .section--switch {
  padding-top: 0;
}

.page-home .switch-note {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(201, 184, 255, .42);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(122deg, rgba(201, 184, 255, .16), rgba(14, 21, 36, .55) 58%),
    var(--panel);
  overflow: hidden;
}

.page-home .switch-note__title {
  margin: 16px 0 10px;
  font-size: clamp(20px, 2.8vw, 27px);
  font-weight: 600;
  line-height: 1.34;
  color: var(--text);
}

.page-home .switch-note__text {
  margin: 0 0 16px;
  max-width: 56ch;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--muted);
}

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

.page-home .switch-note__tags li {
  padding: 6px 13px;
  border: 1px solid rgba(201, 184, 255, .34);
  border-radius: 999px;
  background: rgba(201, 184, 255, .09);
  color: var(--lilac);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
}

.page-home .switch-note__cta {
  align-self: start;
  justify-self: start;
}

/* ---------- 近三个月目录 ---------- */
.page-home .catalog__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-home .catalog__list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: background .2s ease;
}

.page-home .catalog__list li:hover {
  background: rgba(124, 92, 255, .06);
}

.page-home .catalog__ver {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--violet);
}

.page-home .catalog__name {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
}

.page-home .catalog__time {
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- 快速支持 ---------- */
.page-home .section--support {
  padding-bottom: clamp(56px, 8vw, 104px);
  background:
    radial-gradient(100% 70% at 88% 0%, rgba(53, 224, 200, .09), transparent 62%),
    transparent;
}

.page-home .support-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .support-item {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
}

.page-home .support-item__value {
  margin: 12px 0 8px;
  font-family: var(--font-mono);
  font-size: clamp(16px, 2.2vw, 20px);
  letter-spacing: 0.02em;
  color: var(--cyan);
  word-break: break-all;
}

.page-home .support-item__note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .flow__track {
    grid-auto-columns: minmax(248px, 47%);
  }

  .page-home .catalog__list li {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .page-home .catalog__time {
    grid-column: 3;
    text-align: right;
  }
}

@media (min-width: 760px) {
  .page-home .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

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

  .page-home .support-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 900px) {
  .page-home .hero__top {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  }

  .page-home .switch-note {
    grid-template-columns: minmax(0, 1.5fr) auto;
    align-items: center;
    gap: 32px;
  }

  .page-home .switch-note__cta {
    align-self: center;
    justify-self: end;
  }
}

@media (min-width: 1000px) {
  .page-home .hero__board {
    grid-template-columns: 336px minmax(0, 1fr);
    align-items: start;
  }

  .page-home .board__aside {
    position: sticky;
    top: 118px;
  }

  .page-home .flow__track {
    grid-auto-columns: minmax(252px, 33%);
  }
}

@media (min-width: 1240px) {
  .page-home .flow__track {
    grid-auto-columns: minmax(256px, 25%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .vcard,
  .page-home .device-card,
  .page-home .anchor__ways a,
  .page-home .anchor__ways a::after,
  .page-home .catalog__list li {
    transition: none;
  }

  .page-home .vcard:hover,
  .page-home .vcard:focus-within,
  .page-home .device-card:hover {
    transform: none;
  }
}
</main>
