.page-home {
  --home-gap: clamp(48px, 8vw, 96px);
  --home-shadow: 0 18px 44px -28px rgba(7, 14, 21, 0.95);
  position: relative;
  background: var(--ink);
  color: var(--ice);
  font-family: var(--font-body);
  isolation: isolate;
}

.page-home .home-blueprint {
  position: absolute;
  inset: 0 0 auto 0;
  height: 860px;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: clamp(48px, 8vw, 96px) clamp(48px, 8vw, 96px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 52%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 52%, transparent 100%);
}

.page-home .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--stone);
}

.page-home .breadcrumb a {
  color: var(--stone);
  text-decoration: none;
}

.page-home .breadcrumb a:hover {
  color: var(--cyan);
}

.page-home .breadcrumb .mono,
.page-home .breadcrumb span {
  font-size: 12px;
}

.page-home .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin: 0;
  text-transform: uppercase;
}

.page-home .prose {
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--ice);
  opacity: 0.88;
  margin: 0 0 14px;
}

.page-home .prose:last-child {
  margin-bottom: 0;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 5vw, 48px) 0 clamp(40px, 7vw, 76px);
}

.page-home .home-hero__inner {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  margin-top: clamp(20px, 4vw, 40px);
}

.page-home .home-hero__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 9.6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--cream);
}

.page-home .home-hero__accent {
  color: var(--cyan);
  position: relative;
}

.page-home .home-hero__lead {
  margin: 20px 0 0;
  max-width: 48ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: var(--ice);
  opacity: 0.86;
}

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

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

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

.page-home .home-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(11, 22, 32, 0) 40%, rgba(11, 22, 32, 0.78) 100%);
  pointer-events: none;
}

.page-home .home-hero__visual-tag {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  border: 1px solid rgba(63, 242, 214, 0.4);
  border-radius: 999px;
  padding: 5px 12px;
  background: rgba(7, 14, 21, 0.6);
}

/* ---------- 入口索引 ---------- */
.page-home .home-index {
  margin-top: clamp(34px, 6vw, 64px);
}

.page-home .home-index__label {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--stone);
}

.page-home .entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .entry-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "no title go"
    "no desc go";
  align-items: start;
  gap: 4px 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(18, 58, 90, 0.5), rgba(11, 22, 32, 0.14));
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), background 0.22s var(--ease);
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(63, 242, 214, 0.55);
  background: linear-gradient(160deg, rgba(18, 58, 90, 0.7), rgba(11, 22, 32, 0.2));
}

.page-home .entry-card__no {
  grid-area: no;
  font-size: 12px;
  color: var(--orange);
  padding-top: 3px;
}

.page-home .entry-card__title {
  grid-area: title;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.page-home .entry-card__desc {
  grid-area: desc;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--stone);
}

.page-home .entry-card__go {
  grid-area: go;
  align-self: center;
  font-size: 15px;
  color: var(--cyan);
}

/* ---------- 章节通用 ---------- */
.page-home .home-section {
  position: relative;
  z-index: 1;
  padding: var(--home-gap) 0;
  border-top: 1px solid var(--line-soft);
}

.page-home .home-section--panel {
  background: linear-gradient(180deg, rgba(18, 58, 90, 0.34), rgba(11, 22, 32, 0));
}

.page-home .home-section--data {
  background: linear-gradient(180deg, rgba(94, 122, 98, 0.13), rgba(11, 22, 32, 0));
}

.page-home .section__head {
  max-width: 100%;
}

.page-home .section__title {
  margin: 12px 0 0;
  max-width: 24ch;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 4.4vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.035em;
  color: var(--cream);
}

.page-home .home-section__sub {
  margin-top: 16px;
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  text-decoration: none;
}

/* ---------- iOS 关注列表 ---------- */
.page-home .home-ios__body {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  margin-top: clamp(24px, 4vw, 40px);
}

.page-home .home-ios__list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-home .home-ios__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px dashed var(--line-soft);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ice);
  opacity: 0.9;
}

.page-home .home-ios__list li .mono {
  color: var(--moss);
  font-size: 12px;
  padding-top: 3px;
}

.page-home .home-ios__link,
.page-home .home-rank__link,
.page-home .home-weekend__link,
.page-home .device-path__link {
  margin: 24px 0 0;
}

.page-home .home-ios__media,
.page-home .home-rank__media,
.page-home .device-path__media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--panel-blue);
  box-shadow: var(--home-shadow);
}

.page-home .home-ios__media img,
.page-home .home-rank__media img,
.page-home .device-path__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-ios__media img {
  aspect-ratio: 3 / 2;
}

.page-home .home-rank__media img {
  aspect-ratio: 3 / 2;
}

.page-home .device-path__media img {
  aspect-ratio: 16 / 9;
}

/* ---------- 排名 ---------- */
.page-home .home-rank__body {
  display: grid;
  gap: clamp(24px, 4vw, 36px);
  margin-top: clamp(24px, 4vw, 40px);
}

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

.page-home .chip {
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(63, 242, 214, 0.38);
  color: var(--cyan);
}

.page-home .rank-board {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(217, 164, 65, 0.34);
  border-radius: 20px;
  padding: 22px 20px;
  background-image:
    linear-gradient(155deg, rgba(11, 22, 32, 0.9), rgba(11, 22, 32, 0.96)),
    linear-gradient(155deg, var(--violet), var(--gold));
  box-shadow: 0 22px 48px -30px rgba(108, 74, 182, 0.95);
}

.page-home .rank-board::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 36%, rgba(63, 242, 214, 0.13) 50%, transparent 64%);
  background-size: 260% 100%;
  animation: home-shimmer 9s linear infinite;
}

.page-home .rank-board__head {
  position: relative;
  z-index: 1;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(217, 164, 65, 0.28);
}

.page-home .rank-board__kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.page-home .rank-board__title {
  margin: 8px 0 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.page-home .rank-board__meta {
  margin: 6px 0 0;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--stone);
}

.page-home .rank-board__list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  display: grid;
  gap: 14px;
}

.page-home .rank-row {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  align-items: center;
  gap: 12px;
}

.page-home .rank-row__name {
  font-size: 13px;
  color: var(--ice);
  opacity: 0.82;
}

.page-home .rank-bar {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(216, 236, 245, 0.14);
  overflow: hidden;
}

.page-home .rank-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}

.page-home .rank-row:nth-child(1) .rank-bar > span {
  width: 92%;
}

.page-home .rank-row:nth-child(2) .rank-bar > span {
  width: 76%;
}

.page-home .rank-row:nth-child(3) .rank-bar > span {
  width: 85%;
}

.page-home .rank-row:nth-child(4) .rank-bar > span {
  width: 66%;
}

.page-home .rank-row__val {
  font-size: 13px;
  color: var(--orange);
  white-space: nowrap;
}

.page-home .rank-board__foot {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--stone);
}

/* ---------- 周末双场 ---------- */
.page-home .weekend__items {
  list-style: none;
  margin: clamp(24px, 4vw, 36px) 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .weekend__item {
  position: relative;
  padding: 20px 22px 20px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 58, 90, 0.26);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}

.page-home .weekend__item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 138, 61, 0.5);
}

.page-home .weekend__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--orange));
}

.page-home .weekend__time {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.page-home .weekend__name {
  margin: 8px 0 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--cream);
}

.page-home .weekend__desc {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--stone);
}

.page-home .weekend__gap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 4px 0;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.page-home .weekend__gap::before,
.page-home .weekend__gap::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 138, 61, 0.75), transparent);
}

/* ---------- 设备路径 ---------- */
.page-home .device-path {
  margin-top: clamp(24px, 4vw, 36px);
}

.page-home .device-path__nodes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .device-node {
  position: relative;
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(216, 236, 245, 0.04);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}

.page-home .device-node:hover {
  transform: translateY(-2px);
  border-color: rgba(63, 242, 214, 0.52);
}

.page-home .device-node__no {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-home .device-node__name {
  margin: 10px 0 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--cream);
}

.page-home .device-node__desc {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--stone);
}

.page-home .device-path__body {
  margin-top: clamp(24px, 4vw, 36px);
  display: grid;
  gap: clamp(20px, 3vw, 28px);
}

/* ---------- 数据条 ---------- */
.page-home .stat-strip {
  margin-top: clamp(24px, 4vw, 36px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  overflow: hidden;
}

.page-home .stat {
  background: var(--ink);
  padding: 22px 18px;
}

.page-home .stat__num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.03em;
  color: var(--orange);
  line-height: 1.1;
}

.page-home .stat__label {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--stone);
}

/* ---------- 收尾 ---------- */
.page-home .home-cta {
  margin-top: clamp(28px, 4vw, 44px);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(63, 242, 214, 0.14), transparent 62%),
    rgba(18, 58, 90, 0.28);
  display: grid;
  gap: 18px;
}

.page-home .home-cta__text {
  margin: 0;
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--ice);
  opacity: 0.9;
}

.page-home .home-cta__links {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 显现 ---------- */
.page-home [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.page-home [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes home-shimmer {
  from {
    background-position: 165% 0;
  }
  to {
    background-position: -65% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-home .rank-board::after {
    animation: none;
  }

  .page-home .entry-card,
  .page-home .device-node,
  .page-home .weekend__item {
    transition: none;
  }
}

/* ---------- 平板 ---------- */
@media (min-width: 760px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
    align-items: center;
  }

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

  .page-home .home-ios__body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }

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

  .page-home .device-node:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 40px;
    right: -18px;
    width: 18px;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan), transparent);
  }

  .page-home .weekend__items {
    grid-template-columns: minmax(0, 1fr) minmax(150px, auto) minmax(0, 1fr);
    align-items: center;
    gap: 0;
  }

  .page-home .weekend__gap {
    flex-direction: column;
    gap: 8px;
    padding: 0 10px;
    text-align: center;
  }

  .page-home .weekend__gap::before,
  .page-home .weekend__gap::after {
    width: 100%;
    height: 1px;
    flex: none;
  }

  .page-home .weekend__gap::before {
    background: linear-gradient(90deg, transparent, rgba(255, 138, 61, 0.75), transparent);
  }

  .page-home .home-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .page-home .home-cta__links {
    justify-content: flex-end;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 1024px) {
  .page-home .home-hero {
    padding-top: clamp(32px, 3vw, 56px);
  }

  .page-home .entry-list {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
  }

  .page-home .entry-list > li:nth-child(1) {
    grid-column: 1 / span 5;
  }

  .page-home .entry-list > li:nth-child(2) {
    grid-column: 7 / span 4;
    transform: translateY(24px);
  }

  .page-home .entry-list > li:nth-child(3) {
    grid-column: 1 / span 4;
    transform: translateY(4px);
  }

  .page-home .entry-list > li:nth-child(4) {
    grid-column: 6 / span 5;
    transform: translateY(18px);
  }

  .page-home .home-index {
    padding-bottom: 34px;
  }

  .page-home .home-rank__body {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas:
      "intro panel"
      "media panel";
    align-items: start;
    column-gap: clamp(30px, 4vw, 56px);
    row-gap: 26px;
  }

  .page-home .home-rank__intro {
    grid-area: intro;
  }

  .page-home .home-rank__media {
    grid-area: media;
  }

  .page-home .home-rank__panel {
    grid-area: panel;
    align-self: stretch;
  }

  .page-home .rank-board {
    padding: 26px 24px;
  }

  .page-home .device-path__body {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    column-gap: clamp(28px, 4vw, 48px);
  }

  .page-home .device-path__media {
    grid-row: 1 / span 2;
    grid-column: 2;
  }

  .page-home .device-path__link {
    margin-top: 0;
  }

  .page-home .stat-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
<<<END>>>
