/* ===========================================================
   page-home — 首页专属样式
   全部选择器限定在 .page-home 作用域内
   =========================================================== */

.page-home {
  --home-gap: clamp(64px, 9vw, 104px);
  --home-pad: clamp(56px, 8vw, 88px) 0;
  --home-line: rgba(42, 51, 66, 0.9);
  display: block;
  background: var(--ink-900);
  color: var(--white);
  overflow-x: clip;
}

.page-home figure {
  margin: 0;
}

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

/* ---------- 首屏封面 ---------- */

.page-home .home-cover {
  position: relative;
  isolation: isolate;
  padding: 132px 0 64px;
  overflow: hidden;
  background: var(--ink-900);
}

.page-home .home-cover__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .home-cover__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 74% 45%;
  opacity: 0.5;
}

.page-home .home-cover__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(110% 85% at 80% 38%, rgba(43, 231, 210, 0.2), rgba(43, 231, 210, 0) 62%),
    radial-gradient(80% 70% at 96% 88%, rgba(255, 122, 47, 0.14), rgba(255, 122, 47, 0) 60%),
    linear-gradient(96deg, rgba(10, 22, 38, 0.97) 0%, rgba(10, 22, 38, 0.88) 40%, rgba(10, 22, 38, 0.42) 100%);
}

.page-home .home-cover__inner {
  position: relative;
  z-index: 1;
}

.page-home .home-cover__kicker {
  margin: 0 0 20px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.page-home .home-cover__kicker::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--cyan);
}

.page-home .home-cover__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.06;
}

.page-home .home-cover__title-main {
  font-size: clamp(34px, 9.5vw, 72px);
  color: var(--white);
}

.page-home .home-cover__title-sub {
  font-size: clamp(18px, 4.6vw, 30px);
  font-weight: 600;
  line-height: 1.34;
  color: var(--mist);
  letter-spacing: 0;
  max-width: 20em;
}

.page-home .home-cover__lede {
  margin: 26px 0 0;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(232, 237, 244, 0.84);
}

/* 横向索引带 */

.page-home .home-index {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--home-line);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

.page-home .home-index__link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 20px 22px;
  background: rgba(16, 31, 51, 0.92);
  border-left: 3px solid transparent;
  text-decoration: none;
  color: var(--white);
  transition: background 0.32s var(--ease), border-color 0.32s var(--ease);
}

.page-home .home-index__link:hover,
.page-home .home-index__link:focus-visible {
  background: rgba(43, 231, 210, 0.1);
  border-left-color: var(--cyan);
}

.page-home .home-index__link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.page-home .home-index__tag {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-home .home-index__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 关注列表 ---------- */

.page-home .home-watch {
  padding: var(--home-pad);
  background: var(--ink-900);
}

.page-home .home-watch__inner {
  display: grid;
  gap: 32px;
}

.page-home .home-watch__head {
  max-width: 40em;
}

.page-home .home-watch__note {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(232, 237, 244, 0.76);
}

.page-home .home-watch__band {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--home-line);
  background: var(--ink-800);
}

.page-home .home-watch__band img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.page-home .home-watch__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px 32px;
  padding-top: 8px;
}

.page-home .stat__label {
  display: block;
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .stat__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(40px, 8vw, 68px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--cyan);
}

.page-home .stat--orange .stat__num {
  color: var(--orange);
}

.page-home .stat--amber .stat__num {
  color: var(--amber);
}

.page-home .home-watch__foot {
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid var(--cyan);
  font-size: 14.5px;
  line-height: 1.76;
  color: var(--mist);
  max-width: 46em;
}

/* ---------- 分类频道 ---------- */

.page-home .home-channels {
  padding: var(--home-pad);
  background:
    radial-gradient(90% 70% at 12% 0%, rgba(59, 91, 255, 0.16), rgba(59, 91, 255, 0) 62%),
    var(--ink-800);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-channels__inner {
  display: grid;
  gap: 40px;
}

.page-home .home-channels__text {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(232, 237, 244, 0.82);
  max-width: 36em;
}

.page-home .home-channels__tags {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .home-channels__tag {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  line-height: 1.4;
  border: 1px solid transparent;
  white-space: nowrap;
}

.page-home .home-channels__tag--a {
  background: rgba(43, 231, 210, 0.18);
  border-color: rgba(43, 231, 210, 0.55);
  color: #9df6ec;
}

.page-home .home-channels__tag--b {
  background: rgba(43, 231, 210, 0.08);
  border-color: rgba(43, 231, 210, 0.3);
  color: var(--cyan);
}

.page-home .home-channels__tag--c {
  background: rgba(255, 122, 47, 0.16);
  border-color: rgba(255, 122, 47, 0.5);
  color: #ffb185;
}

.page-home .home-channels__tag--d {
  background: rgba(255, 194, 77, 0.12);
  border-color: rgba(255, 194, 77, 0.42);
  color: var(--amber);
}

.page-home .home-channels__hint {
  margin: 24px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--indigo);
  font-size: 14px;
  line-height: 1.76;
  color: var(--mist);
  max-width: 42em;
}

.page-home .home-channels__copy .btn {
  margin-top: 28px;
}

.page-home .home-channels__figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--home-line);
  box-shadow: 0 26px 60px -34px rgba(0, 0, 0, 0.85);
}

.page-home .home-channels__figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ---------- 收藏与回访 ---------- */

.page-home .home-save {
  padding: var(--home-pad);
  background: var(--ink-900);
}

.page-home .home-save__head {
  max-width: 42em;
}

.page-home .home-save__note {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(232, 237, 244, 0.76);
}

.page-home .home-save__steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
  counter-reset: none;
}

.page-home .home-save__step {
  position: relative;
  padding: 26px 24px 26px 26px;
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, rgba(16, 31, 51, 0.96), rgba(10, 22, 38, 0.96));
  border: 1px solid var(--home-line);
  border-left: 3px solid var(--orange);
}

.page-home .home-save__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--orange);
}

.page-home .home-save__step-title {
  margin: 12px 0 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
}

.page-home .home-save__step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--mist);
}

/* ---------- 桌面端升级版 ---------- */

.page-home .home-desktop {
  padding: var(--home-pad);
  background:
    radial-gradient(80% 90% at 88% 18%, rgba(43, 231, 210, 0.14), rgba(43, 231, 210, 0) 60%),
    var(--ink-800);
  border-top: 1px solid var(--home-line);
}

.page-home .home-desktop__inner {
  display: grid;
  gap: 36px;
}

.page-home .home-desktop__figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--home-line);
}

.page-home .home-desktop__figure img {
  width: 100%;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

.page-home .home-desktop__text {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(232, 237, 244, 0.82);
  max-width: 34em;
}

.page-home .home-desktop__list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .home-desktop__list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.74;
  color: rgba(232, 237, 244, 0.9);
}

.page-home .home-desktop__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--cyan);
  transform: rotate(45deg);
}

.page-home .home-desktop__note {
  margin: 24px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--amber);
  font-size: 14px;
  line-height: 1.76;
  color: var(--mist);
  max-width: 36em;
}

.page-home .home-desktop__copy .btn {
  margin-top: 28px;
}

/* ---------- 战报与栏目 ---------- */

.page-home .home-dispatch {
  padding: var(--home-pad);
  background: var(--ink-900);
}

.page-home .home-dispatch__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.page-home .home-dispatch__more {
  font-size: 14.5px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(43, 231, 210, 0.45);
  padding-bottom: 3px;
  transition: color 0.28s var(--ease), border-color 0.28s var(--ease);
}

.page-home .home-dispatch__more:hover,
.page-home .home-dispatch__more:focus-visible {
  color: var(--white);
  border-color: var(--white);
}

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

.page-home .home-dispatch__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(16, 31, 51, 0.9);
  border: 1px solid var(--home-line);
  transition: transform 0.32s var(--ease), border-color 0.32s var(--ease);
}

.page-home .home-dispatch__card:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 231, 210, 0.55);
}

.page-home .home-dispatch__card .tag {
  align-self: flex-start;
}

.page-home .home-dispatch__card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--white);
}

.page-home .home-dispatch__card-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.76;
  color: var(--mist);
  flex: 1 1 auto;
}

.page-home .home-dispatch__meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(154, 169, 189, 0.8);
  border-top: 1px solid var(--home-line);
  padding-top: 12px;
}

/* ---------- 结尾频道带 ---------- */

.page-home .home-close {
  padding: 26px 0 8px;
  border-top: 1px solid var(--home-line);
  background: var(--ink-800);
}

.page-home .home-close__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}

.page-home .home-close__label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  color: var(--mist);
}

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

.page-home .home-close__link {
  font-size: 14px;
  color: rgba(232, 237, 244, 0.88);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.28s var(--ease), border-color 0.28s var(--ease);
}

.page-home .home-close__link:hover,
.page-home .home-close__link:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
}

/* ---------- 响应式 ---------- */

@media (min-width: 640px) {
  .page-home .home-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

@media (min-width: 900px) {
  .page-home .home-channels__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 56px;
  }

  .page-home .home-desktop__inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 56px;
  }

  .page-home .home-desktop__figure {
    order: -1;
  }

  .page-home .home-watch__inner {
    gap: 36px;
  }
}

@media (min-width: 1024px) {
  .page-home .home-cover {
    display: flex;
    align-items: center;
    min-height: 92svh;
    padding: 172px 0 88px;
  }

  .page-home .home-cover__inner {
    width: 100%;
  }

  .page-home .home-watch__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas:
      "head band"
      "stats band"
      "foot band";
    align-items: start;
    column-gap: 56px;
    row-gap: 28px;
  }

  .page-home .home-watch__head {
    grid-area: head;
  }

  .page-home .home-watch__band {
    grid-area: band;
    align-self: stretch;
  }

  .page-home .home-watch__band img {
    height: 100%;
    aspect-ratio: auto;
    min-height: 320px;
  }

  .page-home .home-watch__stats {
    grid-area: stats;
    padding-top: 0;
  }

  .page-home .home-watch__foot {
    grid-area: foot;
  }
}

@media (min-width: 1200px) {
  .page-home .home-cover__lede {
    font-size: 17px;
  }

  .page-home .home-channels__inner,
  .page-home .home-desktop__inner {
    gap: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-index__link,
  .page-home .home-dispatch__card,
  .page-home .home-dispatch__more,
  .page-home .home-close__link {
    transition: none;
  }

  .page-home .home-dispatch__card:hover {
    transform: none;
  }
}
<<<END>>>
