.page-home {
  --home-gap: clamp(48px, 7vw, 96px);
  --home-line: rgba(201, 214, 226, 0.18);
  --home-line-soft: rgba(201, 214, 226, 0.1);
}

/* ---------- 首屏索引 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
  padding: clamp(26px, 4vw, 52px) 0 clamp(44px, 6vw, 84px);
  border-bottom: 1px solid rgba(0, 224, 208, 0.22);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 214, 226, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 214, 226, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -18%;
  width: 62%;
  height: 170%;
  background: linear-gradient(140deg, rgba(10, 76, 140, 0.55), rgba(0, 224, 208, 0.14) 52%, rgba(0, 224, 208, 0) 78%);
  transform: skewX(-14deg);
  pointer-events: none;
}

.page-home .home-hero > .container {
  position: relative;
  z-index: 1;
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}

@media (min-width: 960px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 52px;
    align-items: start;
  }
}

.page-home .home-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--on-dark-dim);
  margin-bottom: 18px;
}

.page-home .home-crumb a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms var(--ease);
}

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

.page-home .home-crumb__sep {
  opacity: 0.5;
}

.page-home .home-hero__title {
  margin: 0;
  font-size: clamp(28px, 4.6vw, 54px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

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

.page-home .home-hero__index {
  list-style: none;
  margin: clamp(26px, 4vw, 42px) 0 0;
  padding: 0;
  border-top: 1px solid var(--home-line);
}

.page-home .index-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0 14px;
  padding: 15px 4px 15px 0;
  border-bottom: 1px solid var(--home-line);
  transition: border-color 180ms var(--ease);
}

.page-home .index-item:hover {
  border-bottom-color: var(--cyan);
}

.page-home .index-item__no {
  font-size: 12px;
  color: var(--cyan);
  padding-top: 5px;
  letter-spacing: 0.08em;
}

.page-home .index-item__name {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  transition: color 180ms var(--ease);
}

.page-home .index-item:hover .index-item__name {
  color: var(--cyan);
}

.page-home .index-item__desc {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--on-dark-soft);
}

.page-home .home-hero__figure {
  margin: 0;
  border: 1px solid rgba(0, 224, 208, 0.32);
  line-height: 0;
  background: var(--slate);
}

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

.page-home .home-hero__stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--home-line);
  border-top: 0;
}

.page-home .home-hero__stats .stat {
  padding: 14px 10px 16px;
  border-right: 1px solid var(--home-line);
}

.page-home .home-hero__stats .stat:last-child {
  border-right: 0;
}

.page-home .home-hero__stats dt {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--on-dark-dim);
  margin-bottom: 8px;
  line-height: 1.4;
}

.page-home .home-hero__stats dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cyan);
}

.page-home .home-hero__stats dd small {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--on-dark-soft);
  margin-left: 3px;
}

/* ---------- 斜纹分隔带 ---------- */
.page-home .home-stripe {
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(10, 76, 140, 0.9) 0 4px,
    rgba(0, 224, 208, 0.7) 4px 8px,
    transparent 8px 16px
  );
  opacity: 0.5;
}

/* ---------- 时间轴 ---------- */
.page-home .home-timeline {
  background: var(--ink);
  color: var(--on-dark);
  padding: var(--home-gap) 0;
}

.page-home .home-timeline__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}

@media (min-width: 900px) {
  .page-home .home-timeline__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 56px;
    align-items: start;
  }
}

.page-home .home-timeline__figure {
  margin: 0;
  border: 1px solid var(--home-line);
  line-height: 0;
  background: var(--slate);
}

.page-home .home-timeline__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.page-home .home-timeline__note {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--fdb);
  font-size: 14px;
  line-height: 1.8;
  color: var(--on-dark-soft);
}

.page-home .home-timeline__track {
  list-style: none;
  margin: 0;
  padding: 4px 0 0 28px;
  position: relative;
}

.page-home .home-timeline__track::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan), var(--fdb) 62%, rgba(10, 76, 140, 0) 100%);
}

.page-home .tl-node {
  position: relative;
  padding-bottom: 30px;
  outline: none;
}

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

.page-home .tl-node__dot {
  position: absolute;
  left: -28px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--ink);
  border: 1px solid var(--cyan);
  transform: translateX(-50%) rotate(45deg);
  transition: background 180ms var(--ease), box-shadow 180ms var(--ease);
}

.page-home .tl-node:hover .tl-node__dot,
.page-home .tl-node:focus-within .tl-node__dot {
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 224, 208, 0.16);
}

.page-home .tl-node__season {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 6px;
}

.page-home .tl-node__title {
  margin: 0 0 6px;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.page-home .tl-node__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--on-dark-soft);
  max-width: 54ch;
}

.page-home .tl-node__extra {
  margin: 8px 0 0;
  padding-left: 12px;
  border-left: 1px solid rgba(0, 224, 208, 0.42);
  font-size: 13px;
  line-height: 1.7;
  color: var(--on-dark-dim);
  max-width: 54ch;
  transition: max-height 320ms var(--ease), opacity 320ms var(--ease), margin 320ms var(--ease);
}

@media (hover: hover) and (min-width: 900px) {
  .page-home .tl-node__extra {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    border-left-color: transparent;
  }

  .page-home .tl-node:hover .tl-node__extra,
  .page-home .tl-node:focus-within .tl-node__extra {
    max-height: 160px;
    opacity: 1;
    margin-top: 8px;
    border-left-color: rgba(0, 224, 208, 0.42);
  }
}

/* ---------- 联赛分组 ---------- */
.page-home .home-leagues {
  background: var(--haze);
  padding: var(--home-gap) 0;
}

.page-home .home-leagues .section-head__no {
  color: var(--cyan-deep);
}

.page-home .home-leagues .section-head__status {
  color: var(--text-dim);
}

.page-home .home-leagues__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

@media (min-width: 900px) {
  .page-home .home-leagues__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: start;
  }
}

.page-home .home-leagues__visual {
  background: #ffffff;
  border: 1px solid var(--grid);
}

.page-home .home-leagues__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

.page-home .home-leagues__cap {
  margin: 0;
  padding: 14px 16px;
  border-top: 1px solid var(--grid);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-home .home-leagues__list {
  border-top: 1px solid var(--grid);
}

.page-home .lg-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 5px 20px;
  padding: 15px 6px;
  border-bottom: 1px solid var(--grid);
  transition: background 180ms var(--ease), box-shadow 180ms var(--ease);
}

@media (min-width: 640px) {
  .page-home .lg-row {
    grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 2fr);
    align-items: baseline;
  }
}

.page-home .lg-row:hover {
  background: #ffffff;
  box-shadow: inset 3px 0 0 var(--cyan);
}

.page-home .lg-row__name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-home .lg-row__items {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.page-home .lg-row__refresh {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--cyan-deep);
}

@media (min-width: 640px) {
  .page-home .lg-row__refresh {
    justify-self: end;
    text-align: right;
  }
}

/* ---------- 四块业务 ---------- */
.page-home .home-biz {
  background: var(--mist);
  padding: var(--home-gap) 0;
}

.page-home .home-biz .section-head__no {
  color: var(--cyan-deep);
}

.page-home .home-biz .section-head__status {
  color: var(--text-dim);
}

.page-home .home-biz__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--hair);
  border-left: 1px solid var(--hair);
}

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

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

.page-home .biz-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 22px 24px;
  background: #ffffff;
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.page-home .biz-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 2px;
  background: var(--fdb);
  transition: background 180ms var(--ease);
}

.page-home .biz-card:hover::before,
.page-home .biz-card:focus-within::before {
  background: var(--cyan);
}

.page-home .biz-card__no {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cyan-deep);
}

.page-home .biz-card__title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-home .biz-card__obj,
.page-home .biz-card__fit {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-soft);
}

.page-home .biz-card__key {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 5px;
  border: 1px solid var(--grid);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.page-home .biz-card__qs {
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--hair);
  display: grid;
  gap: 7px;
}

.page-home .biz-card__qs li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-soft);
}

.page-home .biz-card__qs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 1px;
  background: var(--orange);
}

.page-home .biz-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fdb);
  text-decoration: none;
  transition: color 180ms var(--ease);
}

.page-home .biz-card__link:hover {
  color: var(--cyan-deep);
}

.page-home .home-biz__foot {
  margin: 26px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-soft);
}

.page-home .home-biz__foot a {
  color: var(--cyan-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 133, 124, 0.35);
}

.page-home .home-biz__foot a:hover {
  border-bottom-color: var(--cyan-deep);
}

/* ---------- 观察条目 ---------- */
.page-home .home-watch {
  background: #ffffff;
  border-top: 1px solid var(--hair);
  padding: var(--home-gap) 0;
}

.page-home .home-watch .section-head__no {
  color: var(--cyan-deep);
}

.page-home .home-watch .section-head__status {
  color: var(--text-dim);
}

.page-home .watch-list {
  border-top: 1px solid var(--hair);
}

.page-home .watch-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px 24px;
  padding: 20px 8px;
  border-bottom: 1px solid var(--hair);
  text-decoration: none;
  color: inherit;
  transition: background 180ms var(--ease), box-shadow 180ms var(--ease);
}

@media (min-width: 820px) {
  .page-home .watch-item {
    grid-template-columns: 140px minmax(0, 1fr) 80px;
    align-items: baseline;
  }
}

.page-home .watch-item:hover {
  background: var(--haze);
  box-shadow: inset 3px 0 0 var(--cyan);
}

.page-home .watch-item__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--cyan-deep);
}

.page-home .watch-item__title {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-home .watch-item__sum {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-soft);
}

.page-home .watch-item__go {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

@media (min-width: 820px) {
  .page-home .watch-item__go {
    justify-self: end;
    text-align: right;
  }
}

/* ---------- 更新节拍 ---------- */
.page-home .home-beat {
  background: var(--ink);
  color: var(--on-dark);
  padding: var(--home-gap) 0;
}

.page-home .beat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

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

.page-home .beat-item {
  padding: 24px 20px 28px;
  border-top: 2px solid var(--home-line);
  border-bottom: 1px solid var(--home-line-soft);
}

@media (min-width: 800px) {
  .page-home .beat-item {
    border-right: 1px solid var(--home-line-soft);
  }

  .page-home .beat-item:last-child {
    border-right: 0;
  }
}

.page-home .beat-item:first-child {
  border-top-color: var(--cyan);
}

.page-home .beat-item:last-child {
  border-top-color: var(--amber);
}

.page-home .beat-item__time {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 10px;
}

.page-home .beat-item__title {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.page-home .beat-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--on-dark-soft);
}

.page-home .home-beat__note {
  margin: 28px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--orange);
  font-size: 14px;
  line-height: 1.78;
  color: var(--on-dark-soft);
  max-width: 68ch;
}

/* ---------- 合作入口 ---------- */
.page-home .home-coop {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ink) 0%, #08243f 58%, var(--fdb-deep) 100%);
  color: var(--on-dark);
  padding: var(--home-gap) 0 0;
}

.page-home .home-coop__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
}

@media (min-width: 960px) {
  .page-home .home-coop__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 56px;
    align-items: start;
  }
}

.page-home .home-coop__no {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 12px;
}

.page-home .home-coop__title {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.page-home .home-coop__lede {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--on-dark-soft);
  max-width: 44ch;
}

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

.page-home .home-coop__ways {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: way;
  border-top: 1px solid rgba(201, 214, 226, 0.24);
}

.page-home .home-coop__ways li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(201, 214, 226, 0.24);
}

.page-home .home-coop__ways li::before {
  counter-increment: way;
  content: counter(way, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  padding-top: 2px;
  letter-spacing: 0.08em;
}

.page-home .way__name {
  grid-column: 2;
  grid-row: 1;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.page-home .way__desc {
  grid-column: 2;
  grid-row: 2;
  font-size: 14px;
  line-height: 1.75;
  color: var(--on-dark-soft);
}

.page-home .home-coop__skyline {
  margin: clamp(40px, 6vw, 72px) 0 0;
  line-height: 0;
}

.page-home .home-coop__skyline img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0.45;
}

@media (prefers-reduced-motion: reduce) {
  .page-home .tl-node__dot,
  .page-home .index-item,
  .page-home .index-item__name,
  .page-home .biz-card::before,
  .page-home .lg-row,
  .page-home .watch-item,
  .page-home .biz-card__link,
  .page-home .home-crumb a,
  .page-home .tl-node__extra {
    transition: none;
  }
}
