.page-home {
  --home-cut: 84px;
  --home-pad: max(var(--pad-x), calc((100% - var(--maxw)) / 2));
}

.page-home [id] {
  scroll-margin-top: 96px;
}

/* ============ 01 首屏 ============ */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: 28px var(--home-pad) 40px;
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(62, 91, 79, 0.22) 79px 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(62, 91, 79, 0.22) 79px 80px);
}

.page-home .hero__stage {
  position: relative;
  display: grid;
  gap: 26px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.page-home .hero__panel--lead {
  position: relative;
  z-index: 2;
  padding-bottom: 4px;
}

.page-home .hero__kicker {
  margin: 22px 0 0;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
}

.page-home .hero__title {
  margin: 12px 0 0;
  font-size: clamp(30px, 7.4vw, 56px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .hero__lede {
  max-width: 46ch;
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray);
}

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

.page-home .hero__panel--data {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

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

.page-home .hero__snap {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-left: 3px solid var(--red);
  background: var(--char);
}

.page-home .hero__snap-value {
  font-size: clamp(22px, 4.6vw, 32px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-home .hero__snap-note {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--gray);
}

.page-home .hero__bar {
  max-width: var(--maxw);
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.page-home .season-bar__label {
  margin: 0;
  flex: 0 0 auto;
}

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

.page-home .season-chip {
  appearance: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--gray);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.page-home .season-chip:hover {
  border-color: var(--gray);
  color: var(--white);
}

.page-home .season-chip[aria-pressed="true"] {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--char);
  font-weight: 600;
}

.page-home .season-bar__now {
  margin: 0 0 0 auto;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gray-dim);
}

.page-home .season-bar__now b {
  color: var(--yellow);
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ============ 通用章节 ============ */
.page-home .section {
  padding: 56px var(--home-pad) 60px;
  border-top: 1px solid var(--line);
}

.page-home .section__head {
  position: relative;
  max-width: 66ch;
  margin: 0 0 34px;
  padding-left: 62px;
}

.page-home .section__index {
  position: absolute;
  left: 0;
  top: 3px;
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  background: var(--yellow);
  color: var(--char);
}

.page-home .section__title {
  margin: 0;
  font-size: clamp(21px, 4.4vw, 32px);
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .section__head .lede {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray);
}

/* ============ 02 赛季快照 ============ */
.page-home .snap {
  display: grid;
  gap: 28px;
}

.page-home .snap__stats {
  display: grid;
  gap: 26px;
}

.page-home .snap__item {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.page-home .snap__num {
  display: block;
  font-size: clamp(34px, 8vw, 52px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--yellow);
}

.page-home .snap__unit {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gray);
}

.page-home .snap__note {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--white);
  opacity: 0.82;
}

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

.page-home .snap__tick {
  margin: 26px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--cyan);
  font-size: 13px;
  line-height: 1.75;
  color: var(--gray);
}

/* ============ 03 四个入口 ============ */
.page-home .dims {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .dim {
  display: flex;
  flex-direction: column;
  padding: 24px 22px 26px;
  background: var(--ink);
  transition: background 0.2s ease;
}

.page-home .dim:hover {
  background: var(--panel);
}

.page-home .dim__no {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--yellow);
}

.page-home .dim__title {
  margin: 12px 0 10px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-home .dim__body {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--gray);
}

.page-home .dim__list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.page-home .dim__list li {
  position: relative;
  padding-left: 15px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--white);
  opacity: 0.86;
}

.page-home .dim__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 1px;
  background: var(--cyan);
}

.page-home .dim__link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--yellow);
  border-bottom: 1px solid rgba(242, 194, 48, 0.45);
  padding-bottom: 2px;
  transition: border-color 0.18s ease;
}

.page-home .dim__link:hover {
  border-bottom-color: var(--yellow);
}

/* ============ 04 三级筛选 ============ */
.page-home .filter__media {
  margin: 0 0 28px;
}

.page-home .filter {
  display: grid;
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--char);
}

.page-home .filter__group {
  display: grid;
  gap: 10px;
}

.page-home .filter__group .eyebrow {
  margin: 0;
}

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

.page-home .chip {
  display: inline-block;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--gray);
  background: transparent;
  user-select: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.page-home .chip:hover {
  border-color: var(--gray);
  color: var(--white);
}

.page-home .filter__input:checked + .chip {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--char);
  font-weight: 600;
}

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

.page-home .filter__foot {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.page-home .filter__note {
  margin: 0;
  max-width: 68ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray);
}

.page-home .filter__foot .btn {
  justify-self: start;
}

/* ============ 05 最近更新 ============ */
.page-home .updates {
  display: grid;
  gap: 32px;
}

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

.page-home .updates__item {
  position: relative;
  padding: 20px 0 20px 18px;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s ease;
}

.page-home .updates__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--yellow);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.page-home .updates__item:hover::before {
  opacity: 1;
}

.page-home .updates__item .tag {
  display: inline-block;
  margin-bottom: 10px;
}

.page-home .updates__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--white);
}

.page-home .updates__meta {
  margin: 8px 0 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gray-dim);
}

.page-home .updates__aside {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  align-self: start;
}

.page-home .updates__aside-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
}

.page-home .updates__aside-body {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--gray);
}

.page-home .updates__aside .btn {
  display: inline-block;
}

.page-home .updates__mini {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(127, 209, 193, 0.4);
  padding-bottom: 2px;
  width: fit-content;
}

/* ============ 06 行动收束 ============ */
.page-home .section--cta {
  padding-bottom: 72px;
}

.page-home .cta {
  display: grid;
  gap: 26px;
}

.page-home .cta__media {
  margin: 0;
  max-width: 320px;
}

.page-home .cta__body {
  position: relative;
  padding-top: 34px;
}

.page-home .cta__body .section__index {
  top: 0;
  left: 0;
}

.page-home .cta__title {
  margin: 0;
  font-size: clamp(22px, 4.6vw, 34px);
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .cta__text {
  max-width: 52ch;
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray);
}

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

.page-home .cta__hint {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-dim);
}

.page-home .cta__hint a {
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 194, 48, 0.4);
}

/* ============ 断点 ============ */
@media (min-width: 640px) {
  .page-home .snap__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 26px;
  }

  .page-home .filter {
    padding: 26px;
  }
}

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

@media (min-width: 900px) {
  .page-home .cta {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 48px;
    align-items: center;
  }

  .page-home .cta__media {
    max-width: none;
  }

  .page-home .cta__body {
    padding-top: 38px;
  }
}

@media (min-width: 960px) {
  .page-home .updates {
    grid-template-columns: minmax(0, 1fr) 296px;
    gap: 44px;
  }

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

  .page-home .filter__foot .btn {
    justify-self: end;
  }
}

@media (min-width: 1024px) {
  .page-home .hero {
    padding-top: 34px;
    padding-bottom: 44px;
  }

  .page-home .hero__stage {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: 0;
    align-items: stretch;
  }

  .page-home .hero__panel--lead {
    padding: 42px clamp(36px, 5vw, 92px) 48px 0;
    background: linear-gradient(155deg, rgba(29, 42, 37, 0.96), rgba(29, 42, 37, 0.14));
    clip-path: polygon(0 0, 100% 0, calc(100% - var(--home-cut)) 100%, 0 100%);
  }

  .page-home .hero__panel--data {
    margin-left: -1px;
    padding: 42px 0 48px clamp(28px, 3.4vw, 56px);
    background: var(--char);
    clip-path: polygon(var(--home-cut) 0, 100% 0, 100% 100%, 0 100%);
  }

  .page-home .hero__stage::after {
    content: "";
    position: absolute;
    top: 0;
    left: 51.5%;
    width: 3px;
    height: 100%;
    background: var(--red);
    transform: rotate(7deg);
    transform-origin: top center;
    opacity: 0.9;
    pointer-events: none;
    z-index: 3;
  }

  .page-home .hero__media {
    margin-top: 4px;
  }
}

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

  .page-home .snap {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 40px;
    align-items: start;
  }

  .page-home .filter {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding: 28px 30px;
  }

  .page-home .section {
    padding-top: 68px;
    padding-bottom: 72px;
  }
}

@media (min-width: 1280px) {
  .page-home .filter__media {
    margin-bottom: 34px;
  }
}

@media (max-width: 639px) {
  .page-home .section__head {
    padding-left: 0;
    padding-top: 36px;
  }

  .page-home .section__index {
    top: 0;
  }

  .page-home .season-bar__now {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .dim,
  .page-home .chip,
  .page-home .season-chip,
  .page-home .updates__item,
  .page-home .updates__item::before {
    transition: none;
  }
}
