.page-home {
  --home-seam: rgba(192, 138, 62, 0.45);
  --home-glass: rgba(36, 51, 63, 0.55);
  background: var(--ink);
  color: var(--paper);
}

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

.page-home .section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.page-home .figure {
  margin: 0;
}

.page-home .figure__frame {
  display: block;
  overflow: hidden;
  background: linear-gradient(165deg, var(--slate) 0%, var(--film) 100%);
}

.page-home .figure__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
}

.page-home .figure__caption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--steel);
}

/* ============ 首屏 ============ */

.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(28px, 5vw, 48px) 0 clamp(56px, 8vw, 96px);
  background: var(--film);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .home-hero__slab,
.page-home .home-hero__seam {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.page-home .home-hero__slab--night {
  background: linear-gradient(155deg, var(--night) 0%, var(--ink) 74%);
  clip-path: polygon(0 0, 68% 0, 30% 100%, 0 100%);
}

.page-home .home-hero__slab--deep {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(127, 168, 180, 0.12), rgba(5, 16, 26, 0) 62%),
    linear-gradient(180deg, var(--ink) 0%, var(--film) 100%);
  clip-path: polygon(68% 0, 100% 0, 100% 100%, 30% 100%);
}

.page-home .home-hero__seam {
  background: linear-gradient(180deg, rgba(192, 138, 62, 0.6), rgba(127, 168, 180, 0.28) 58%, rgba(192, 138, 62, 0) 100%);
  clip-path: polygon(68% 0, 68.3% 0, 30.3% 100%, 30% 100%);
}

.page-home .home-hero__crumb {
  margin-bottom: clamp(28px, 5vw, 52px);
}

.page-home .home-hero__inner {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
}

.page-home .home-hero__title {
  font-family: var(--font-head);
  font-size: clamp(44px, 11vw, 76px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin: 10px 0 20px;
  color: var(--paper);
}

.page-home .home-hero__lead {
  max-width: 34em;
  color: var(--text-soft);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--sp-4);
}

.page-home .home-hero__note {
  margin-top: var(--sp-3);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--steel);
}

.page-home .home-hero__figure .figure__frame {
  aspect-ratio: 16 / 9;
  box-shadow: 0 34px 70px -36px rgba(5, 16, 26, 0.95);
  border-left: 1px solid var(--line-copper);
}

/* ============ 更新表 ============ */

.page-home .home-season__inner {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
  grid-template-columns: minmax(0, 1fr);
}

.page-home .home-season__main .title-lg {
  margin: 10px 0 20px;
}

.page-home .home-season__steps {
  list-style: none;
  margin: var(--sp-4) 0;
  padding: 0;
  border-top: 1px solid var(--line-mid);
}

.page-home .home-season__step {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

.page-home .home-season__step-no {
  color: var(--copper);
  font-size: 13px;
  line-height: 1.9;
}

.page-home .home-season__aside .figure__frame {
  aspect-ratio: 3 / 4;
}

.page-home .home-season__rail .eyebrow {
  display: block;
  margin-bottom: 14px;
}

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

.page-home .rail__item a {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  color: var(--steel);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease-water), border-color 0.25s var(--ease-water);
}

.page-home .rail__item a:hover {
  color: var(--copper-pale);
  border-bottom-color: var(--line-copper);
}

/* ============ 榜单 ============ */

.page-home .home-chart {
  background: var(--night);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .home-chart__banner .figure__frame {
  aspect-ratio: 2 / 1;
  border-bottom: 1px solid var(--line-copper);
}

.page-home .home-chart__head {
  margin-bottom: var(--sp-5);
}

.page-home .home-chart__head .title-lg {
  margin: 10px 0 18px;
}

.page-home .home-chart__head .prose {
  max-width: var(--measure);
}

.page-home .home-chart__filter {
  margin-bottom: var(--sp-4);
}

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

.page-home .home-chart__item {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px 8px;
  border-bottom: 1px solid var(--line-soft);
  transition: background-color 0.28s var(--ease-water);
}

.page-home .home-chart__item:hover {
  background-color: var(--home-glass);
}

.page-home .home-chart__rank {
  font-size: 13px;
  color: var(--copper);
}

.page-home .home-chart__name {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  color: var(--paper);
}

.page-home .home-chart__meta {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--steel);
}

.page-home .home-chart__meta .num {
  color: var(--copper-pale);
  white-space: nowrap;
}

.page-home .home-chart__foot {
  margin: var(--sp-4) 0 0;
  max-width: var(--measure);
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
}

.page-home .home-chart__foot a,
.page-home .home-figures__more a,
.page-home .home-next__note a {
  color: var(--aqua);
  text-decoration: none;
  border-bottom: 1px solid var(--line-mid);
}

.page-home .home-chart__foot a:hover,
.page-home .home-figures__more a:hover,
.page-home .home-next__note a:hover {
  color: var(--copper-pale);
  border-bottom-color: var(--line-copper);
}

/* ============ 换端与回访 ============ */

.page-home .home-switch__grid {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.page-home .home-switch__copy .title-lg {
  margin: 10px 0 20px;
}

.page-home .home-switch__block {
  margin-top: var(--sp-5);
  padding: var(--sp-4);
}

.page-home .home-switch__block .title-md {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-weight: 600;
}

.page-home .home-switch__block p {
  margin: 0 0 14px;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
}

.page-home .home-switch__figure .figure__frame {
  aspect-ratio: 1 / 1;
  border-top: 1px solid var(--line-copper);
}

/* ============ 完结筛选 ============ */

.page-home .home-ended {
  background: var(--slate);
}

.page-home .home-ended__grid {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  grid-template-columns: minmax(0, 1fr);
}

.page-home .home-ended__grid .title-lg {
  margin: 10px 0 20px;
}

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

.page-home .home-ended__cond {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 16px;
  color: var(--paper);
}

.page-home .home-ended__cond .num {
  font-size: 13px;
  color: var(--copper);
}

/* ============ 运营数字 ============ */

.page-home .home-figures .section__head {
  margin-bottom: var(--sp-5);
}

.page-home .home-figures .title-lg {
  margin: 10px 0 18px;
}

.page-home .home-figures__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .home-figures__cell {
  background: var(--ink);
  padding: 22px 18px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.page-home .home-figures__num {
  font-size: clamp(24px, 4vw, 32px);
  color: var(--copper-pale);
  line-height: 1.1;
}

.page-home .home-figures__label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--steel);
}

.page-home .home-figures__more {
  margin: var(--sp-4) 0 0;
  max-width: 40em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--steel);
}

/* ============ 收束 ============ */

.page-home .home-next {
  background: linear-gradient(180deg, var(--ink) 0%, var(--film) 100%);
}

.page-home .home-next .title-lg {
  margin: 10px 0 var(--sp-5);
}

.page-home .home-next__grid {
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border-top: 1px solid var(--line-soft);
}

.page-home .home-next__card {
  display: block;
  padding: var(--sp-4) 20px var(--sp-5);
  background: var(--ink);
  text-decoration: none;
  color: var(--paper);
  border-top: 2px solid transparent;
  transition: background-color 0.3s var(--ease-water), border-color 0.3s var(--ease-water);
}

.page-home .home-next__card:hover {
  background: var(--night);
  border-top-color: var(--copper);
}

.page-home .home-next__card-no {
  display: block;
  font-size: 13px;
  color: var(--copper);
  margin-bottom: 14px;
}

.page-home .home-next__card .title-md {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-weight: 600;
}

.page-home .home-next__card p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
}

.page-home .home-next__card .ghost-link {
  font-size: 13px;
}

.page-home .home-next__note {
  margin: var(--sp-5) 0 0;
  max-width: 40em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--steel);
}

/* ============ 响应式 ============ */

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

@media (min-width: 900px) {
  .page-home .home-hero {
    padding-bottom: clamp(72px, 9vw, 120px);
  }

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

  .page-home .home-season__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 2.2fr) minmax(0, 1.15fr);
    align-items: start;
  }

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

  .page-home .home-ended__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    align-items: start;
  }

  .page-home .home-chart__item {
    padding: 20px 12px;
    grid-template-columns: 3rem minmax(0, 1fr) auto;
  }

  .page-home .home-chart__name {
    font-size: 21px;
  }
}

@media (max-width: 420px) {
  .page-home .home-chart__item {
    grid-template-columns: 1.8rem minmax(0, 1fr) auto;
    gap: 10px;
  }

  .page-home .home-figures__grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-chart__item,
  .page-home .home-next__card,
  .page-home .rail__item a {
    transition: none;
  }
}
