/* ============================================================
   首页 · page-home
   ============================================================ */
.page-home {
  --home-pad: clamp(16px, 4vw, 40px);
  --home-sec: clamp(56px, 9vw, 116px);
  --home-line: rgba(42, 74, 66, 0.7);
  --home-line-soft: rgba(42, 74, 66, 0.45);
  display: block;
  overflow-x: clip;
}

.page-home .home-inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--home-pad);
}

.page-home .home-section {
  padding-block: var(--home-sec);
}

.page-home .home-section--ink {
  background: var(--ink-2);
  border-block: 1px solid var(--home-line);
}

/* ── 区块标题 ───────────────────────────────────────────── */
.page-home .home-head {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: clamp(30px, 5vw, 60px);
}

.page-home .home-head__title {
  margin: 0;
  font-size: clamp(1.5rem, 3.8vw, 2.55rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--text);
}

.page-home .home-head__desc {
  margin: 0;
  max-width: 46ch;
  font-size: var(--fs-16);
  line-height: 1.85;
  color: var(--muted);
}

.page-home .home-head--split {
  max-width: none;
  gap: 20px;
}

.page-home .home-head__main {
  display: grid;
  gap: 12px;
}

.page-home .home-head__aside {
  display: grid;
  gap: 18px;
  justify-items: start;
}

@media (min-width: 900px) {
  .page-home .home-head--split {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    column-gap: clamp(24px, 4vw, 64px);
    align-items: end;
  }
}

/* ── 首屏 ───────────────────────────────────────────────── */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  min-height: min(88vh, 840px);
  min-height: min(88svh, 840px);
  padding-block: clamp(112px, 20vh, 190px) clamp(44px, 7vh, 84px);
  border-bottom: 1px solid var(--home-line);
}

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

.page-home .home-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.68) contrast(1.1);
}

.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 52% at 80% 14%, rgba(30, 156, 134, 0.42), transparent 68%),
    radial-gradient(46% 46% at 8% 88%, rgba(59, 232, 198, 0.14), transparent 72%),
    linear-gradient(180deg, rgba(10, 21, 18, 0.72) 0%, rgba(10, 21, 18, 0.9) 58%, var(--ink) 100%);
}

.page-home .home-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(42, 74, 66, 0.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 74, 66, 0.55) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 62%, transparent 100%);
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--home-pad);
}

@media (min-width: 1000px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.78fr);
    align-items: end;
  }
}

.page-home .home-hero__eyebrow {
  color: var(--cyan);
}

.page-home .home-hero__title {
  margin: 18px 0 0;
  font-family: var(--font-narrow);
  font-size: clamp(2.35rem, 7.4vw, 5.4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-home .home-hero__lead {
  margin: 22px 0 0;
  max-width: 40ch;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.9;
  color: var(--muted);
}

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

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

@media (min-width: 1000px) {
  .page-home .home-hero__index {
    border-top: 0;
    border-left: 1px solid var(--home-line);
    padding: 0 0 6px 22px;
  }
}

.page-home .home-index__row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px dashed var(--home-line-soft);
}

.page-home .home-index__row:last-child {
  border-bottom: 0;
}

.page-home .home-index__key {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-home .home-index__val {
  font-size: var(--fs-14);
  line-height: 1.65;
  color: var(--text);
}

.page-home .home-index__val strong {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

/* ── 转会时间轴 ─────────────────────────────────────────── */
.page-home .home-transfers {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
}

@media (min-width: 900px) {
  .page-home .home-transfers {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
    align-items: start;
  }
}

.page-home .home-timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 26px;
  list-style: none;
}

.page-home .home-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan), rgba(59, 232, 198, 0.1));
}

.page-home .home-timeline__item {
  position: relative;
  padding-block: 0 26px;
}

.page-home .home-timeline__item:last-child {
  padding-bottom: 0;
}

.page-home .home-timeline__item::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink-2);
  border: 1px solid var(--cyan);
}

.page-home .home-timeline__item:first-child::before {
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(59, 232, 198, 0.14);
}

.page-home .home-timeline__stamp {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.page-home .home-timeline__no {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-home .home-timeline__tag {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  padding: 3px 8px;
  color: var(--muted);
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
}

.page-home .home-timeline__text {
  margin: 0;
  font-size: var(--fs-16);
  line-height: 1.72;
  color: var(--text);
}

.page-home .home-timeline__meta {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
  color: var(--muted);
}

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

.page-home .home-transfers__fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  filter: saturate(0.72);
}

.page-home .home-transfers__cap {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  line-height: 1.7;
  color: var(--muted);
}

@media (min-width: 900px) {
  .page-home .home-transfers__fig {
    position: sticky;
    top: calc(var(--header-h) + 28px);
  }
}

/* ── 回看卡片 ───────────────────────────────────────────── */
.page-home .home-cards {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

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

.page-home .home-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: var(--orange);
  opacity: 0;
  transition: opacity 0.24s var(--ease);
}

.page-home .home-card:hover,
.page-home .home-card:focus-within {
  border-color: var(--cyan);
  transform: translateY(-3px);
}

.page-home .home-card:hover::before,
.page-home .home-card:focus-within::before {
  opacity: 1;
}

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

.page-home .home-card__round {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  padding: 3px 9px;
  color: var(--cyan);
  border: 1px solid rgba(59, 232, 198, 0.45);
  border-radius: var(--radius);
  transition: background-color 0.24s var(--ease), color 0.24s var(--ease), border-color 0.24s var(--ease);
}

.page-home .home-card:hover .home-card__round,
.page-home .home-card:focus-within .home-card__round {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
}

.page-home .home-card__league {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .home-card__title {
  margin: 0;
  font-size: var(--fs-20);
  font-weight: 700;
  line-height: 1.42;
  color: var(--text);
}

.page-home .home-card__desc {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--muted);
}

.page-home .home-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 14px 0 0;
  list-style: none;
  border-top: 1px dashed var(--home-line-soft);
}

.page-home .home-card__tags li {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
  padding: 3px 9px;
  color: var(--muted);
  background: var(--glass);
  border: 1px solid var(--home-line);
  border-radius: 999px;
}

.page-home .home-replay__fig {
  margin: clamp(24px, 4vw, 42px) 0 0;
}

.page-home .home-replay__fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  filter: saturate(0.6) contrast(1.05);
}

/* ── 数据面板 ───────────────────────────────────────────── */
.page-home .home-data {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

@media (min-width: 900px) {
  .page-home .home-data {
    grid-template-columns: minmax(0, 1.62fr) minmax(0, 0.82fr);
    align-items: center;
  }
}

.page-home .home-data__panels {
  display: grid;
  gap: 16px;
}

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

.page-home .home-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
  background: var(--panel);
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
}

.page-home .home-panel__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  color: var(--orange);
}

.page-home .home-panel__big {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--text);
}

.page-home .home-panel__big span {
  margin-left: 8px;
  font-family: var(--font-narrow);
  font-size: var(--fs-14);
  letter-spacing: 0;
  color: var(--muted);
}

.page-home .home-panel__text {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.85;
  color: var(--muted);
}

.page-home .home-panel__list {
  display: grid;
  gap: 0;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px dashed var(--home-line-soft);
}

.page-home .home-panel__list li {
  position: relative;
  padding: 10px 0 10px 18px;
  font-size: var(--fs-14);
  line-height: 1.7;
  color: var(--text);
  border-bottom: 1px dashed var(--home-line-soft);
}

.page-home .home-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 6px;
  height: 6px;
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}

.page-home .home-data__fig {
  margin: 0;
  justify-self: center;
  max-width: 360px;
}

.page-home .home-data__fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--home-line);
  border-radius: 50%;
  filter: saturate(0.72);
}

/* ── 多端访问 ───────────────────────────────────────────── */
.page-home .home-device {
  display: grid;
  gap: 16px;
}

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

.page-home .home-device__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px;
  background: var(--ink-2);
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
}

.page-home .home-device__col--panel {
  background:
    linear-gradient(160deg, rgba(30, 156, 134, 0.18), rgba(22, 33, 31, 0.94) 66%);
}

.page-home .home-device__title {
  margin: 0;
  font-size: var(--fs-20);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

.page-home .home-device__text {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.85;
  color: var(--muted);
}

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

.page-home .home-device__list li {
  position: relative;
  padding: 10px 0 10px 18px;
  font-size: var(--fs-14);
  line-height: 1.7;
  color: var(--text);
  border-bottom: 1px dashed var(--home-line-soft);
}

.page-home .home-device__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

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

.page-home .home-channels li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  font-size: var(--fs-14);
  line-height: 1.7;
  color: var(--text);
  border-bottom: 1px dashed var(--home-line-soft);
}

.page-home .home-channels__no {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.page-home .home-device__link {
  margin-top: auto;
  align-self: flex-start;
}

/* ── 收束 ───────────────────────────────────────────────── */
.page-home .home-closing {
  position: relative;
  border-top: 1px solid var(--home-line);
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(30, 156, 134, 0.16), transparent 70%),
    var(--ink);
}

.page-home .home-closing__inner {
  display: grid;
  gap: 20px;
  justify-items: center;
  max-width: 780px;
  margin-inline: auto;
  padding-block: clamp(64px, 10vw, 132px);
  text-align: center;
}

.page-home .home-closing__line {
  margin: 0;
  font-size: clamp(1.5rem, 4.2vw, 2.55rem);
  font-weight: 400;
  line-height: 1.48;
  color: var(--text);
}

.page-home .home-closing__p {
  margin: 0;
  max-width: 44ch;
  font-size: var(--fs-16);
  line-height: 1.9;
  color: var(--muted);
}

.page-home .home-closing__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.page-home .home-closing__mail {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ── 窄屏：时间轴横向滑动 ───────────────────────────────── */
@media (max-width: 719px) {
  .page-home .home-timeline {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px var(--home-pad) 16px;
    margin-inline: calc(-1 * var(--home-pad));
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

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

  .page-home .home-timeline::before {
    display: none;
  }

  .page-home .home-timeline__item {
    flex: 0 0 76%;
    padding: 18px 16px;
    background: var(--panel);
    border: 1px solid var(--home-line);
    border-radius: var(--radius);
    scroll-snap-align: start;
  }

  .page-home .home-timeline__item::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-card,
  .page-home .home-card::before,
  .page-home .home-card__round {
    transition: none;
  }

  .page-home .home-card:hover {
    transform: none;
  }
}
