.page-home {
  --home-gap: clamp(52px, 8vw, 104px);
  --home-pad: clamp(20px, 3vw, 30px);
  display: block;
  background:
    radial-gradient(1100px 600px at 84% -8%, rgba(18, 51, 40, 0.85), rgba(4, 18, 13, 0) 68%),
    var(--ink);
}

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

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

/* ---------- 首屏 ---------- */

.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 54px) 0 0;
}

.page-home .hero__bg {
  position: absolute;
  top: -18%;
  right: -14%;
  width: min(880px, 96vw);
  height: min(880px, 96vw);
  pointer-events: none;
  z-index: 0;
}

.page-home .hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #123328 0%, #0A241C 50%, rgba(4, 18, 13, 0) 78%);
  clip-path: polygon(26% 0, 100% 0, 100% 72%, 0 100%);
  opacity: 0.9;
}

.page-home .hero__bg::after {
  content: "";
  position: absolute;
  inset: 5% 0 0 10%;
  background: linear-gradient(180deg, rgba(38, 242, 192, 0.09), rgba(255, 74, 31, 0) 70%);
  border-top: 2px solid rgba(38, 242, 192, 0.42);
  border-right: 2px solid rgba(38, 242, 192, 0.2);
  clip-path: polygon(26% 0, 100% 0, 100% 72%, 0 100%);
}

.page-home .hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(28px, 5vw, 46px);
  align-items: end;
  padding-bottom: clamp(24px, 4vw, 44px);
}

.page-home .hero h1 {
  margin: 18px 0 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.85rem, 6vw, 3.9rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--paper);
  max-width: 20em;
}

.page-home .hero__lede {
  margin: 22px 0 0;
  max-width: 54ch;
  color: var(--gray);
  font-size: clamp(0.98rem, 1.5vw, 1.06rem);
  line-height: 1.78;
}

.page-home .hero__facts {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3.6vw, 44px);
}

.page-home .hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 14px;
  border-left: 2px solid var(--line);
}

.page-home .hero__fact-num {
  font-family: var(--font-num);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cyan);
}

.page-home .hero__fact-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--gray);
}

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

.page-home .hero__visual {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.page-home .hero__visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.06);
}

.page-home .hero__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 16px 18px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(244, 247, 242, 0.84);
  background: linear-gradient(180deg, rgba(4, 18, 13, 0), rgba(4, 18, 13, 0.9));
}

/* ---------- 轮次时间轴 ---------- */

.page-home .axis-wrap {
  position: relative;
  z-index: 2;
  margin-top: clamp(20px, 4vw, 38px);
  padding: clamp(18px, 2.6vw, 26px) clamp(14px, 2.2vw, 24px) clamp(10px, 1.6vw, 14px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(10, 36, 28, 0.86), rgba(4, 18, 13, 0.72));
  backdrop-filter: blur(8px);
}

.page-home .axis-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.page-home .axis-head__state {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--amber);
}

.page-home .axis {
  list-style: none;
  margin: 14px 0 0;
  padding: 0 0 8px;
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.page-home .ax-item {
  position: relative;
  flex: 1 1 0;
  min-width: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 14px 6px 8px;
}

.page-home .ax-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(44, 74, 64, 0), var(--line));
}

.page-home .ax-item:first-child::before {
  display: none;
}

.page-home .ax-time {
  font-family: var(--font-num);
  font-size: clamp(1.45rem, 3.4vw, 2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--paper);
}

.page-home .ax-tick {
  display: block;
  width: 2px;
  height: 22px;
  border-radius: 2px;
  background: var(--line);
  transition: height var(--t-base) ease, background var(--t-base) ease;
}

.page-home .ax-item.is-mid .ax-tick {
  height: 32px;
  background: linear-gradient(180deg, var(--cyan), rgba(38, 242, 192, 0.12));
}

.page-home .ax-item.is-peak .ax-tick {
  height: 46px;
  background: linear-gradient(180deg, var(--cyan-soft), rgba(38, 242, 192, 0.14));
  box-shadow: 0 0 14px rgba(38, 242, 192, 0.45);
}

.page-home .ax-item.is-now .ax-time {
  color: var(--flare);
}

.page-home .ax-league {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--gray);
  white-space: nowrap;
}

.page-home .ax-pop {
  position: absolute;
  bottom: calc(100% - 6px);
  left: 50%;
  transform: translate(-50%, 6px);
  max-width: 170px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(4, 18, 13, 0.96);
  color: var(--paper);
  font-size: 0.74rem;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 4;
}

.page-home .ax-item:hover .ax-pop,
.page-home .ax-item:focus-within .ax-pop {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- 通用区块 ---------- */

.page-home .board,
.page-home .fav,
.page-home .compare,
.page-home .track,
.page-home .matrix {
  position: relative;
  padding-block: var(--home-gap);
}

.page-home .board::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: linear-gradient(90deg, rgba(38, 242, 192, 0.5), rgba(255, 180, 55, 0.22), rgba(44, 74, 64, 0));
}

/* ---------- 轮次安排工作台 ---------- */

.page-home .board__grid {
  display: grid;
  gap: 26px;
  margin-top: 34px;
}

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

.page-home .layer-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
}

.page-home .layer-item__idx {
  font-family: var(--font-num);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cyan);
}

.page-home .layer-item__body h3 {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .layer-item__body p {
  margin: 10px 0 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--gray);
}

.page-home .board__panel {
  padding: var(--home-pad);
  border-radius: var(--radius-lg);
  align-self: start;
}

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

.page-home .batch {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(4, 18, 13, 0.5);
}

.page-home .batch__time {
  font-family: var(--font-num);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .batch__name {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--gray);
}

.page-home .board__panel-note {
  margin: 20px 0 0;
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--gray);
}

/* ---------- 收藏赛事 ---------- */

.page-home .fav {
  overflow: hidden;
}

.page-home .fav__wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.2;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 28%, transparent 88%);
  mask-image: linear-gradient(180deg, transparent, #000 28%, transparent 88%);
}

.page-home .fav__wash img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.page-home .fav__stream {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding-bottom: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.page-home .fav-card {
  flex: 0 0 min(300px, 78vw);
  scroll-snap-align: start;
  padding: 20px 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(18, 51, 40, 0.94), rgba(10, 36, 28, 0.9));
  transition: border-color var(--t-fast) ease, transform var(--t-fast) ease, background var(--t-fast) ease;
}

.page-home .fav-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.page-home .fav-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page-home .fav-card__league {
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  color: var(--cyan-soft);
}

.page-home .fav-card__count {
  margin: 18px 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--gray);
}

.page-home .fav-card__num {
  font-family: var(--font-num);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--paper);
  margin-right: 6px;
  vertical-align: -0.12em;
}

.page-home .fav-card__next {
  margin: 14px 0 0;
  font-family: var(--font-num);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--amber);
}

.page-home .fav-card__note {
  margin: 10px 0 0;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--gray);
}

/* ---------- 对照数据 ---------- */

.page-home .compare__split {
  display: grid;
  gap: 30px;
  margin-top: 34px;
}

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

.page-home .compare__fig img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .compare__fig .media__caption {
  padding: 12px 16px 14px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--gray);
  background: rgba(10, 36, 28, 0.7);
}

.page-home .compare__lede {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray);
}

.page-home .field-grid {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.page-home .field {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(10, 36, 28, 0.55);
  transition: border-color var(--t-fast) ease;
}

.page-home .field:hover {
  border-color: rgba(38, 242, 192, 0.55);
}

.page-home .field h3 {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cyan-soft);
}

.page-home .field p {
  margin: 8px 0 0;
  font-size: 0.87rem;
  line-height: 1.72;
  color: var(--gray);
}

.page-home .compare__sticky {
  position: static;
}

.page-home .cmp {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(4, 18, 13, 0.55);
}

.page-home .cmp__row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

.page-home .cmp__row:first-child {
  border-top: 0;
}

.page-home .cmp__row:not(.cmp__row--head):nth-child(even) {
  background: rgba(18, 51, 40, 0.45);
}

.page-home .cmp__row--head {
  background: var(--panel-hi);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-home .cmp__key {
  color: var(--gray);
}

.page-home .cmp__val {
  font-family: var(--font-num);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-align: right;
}

.page-home .compare__hint {
  margin: 14px 0 0;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--gray);
}

.page-home .compare__cta {
  margin-top: 18px;
  width: 100%;
  justify-content: center;
}

/* ---------- 跟队追踪 ---------- */

.page-home .track__grid {
  display: grid;
  gap: 30px;
}

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

.page-home .track__fig img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 11;
  object-fit: cover;
}

.page-home .track__body {
  position: relative;
  padding-left: 0;
}

.page-home .track__body .vertical-note {
  color: var(--cyan);
  margin-bottom: 12px;
}

.page-home .track__body h2 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .track__lede {
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray);
}

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

.page-home .track__points li {
  position: relative;
  padding-left: 22px;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--gray);
}

.page-home .track__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 2px;
  background: var(--cyan);
}

.page-home .track__cta {
  margin-top: 26px;
}

/* ---------- 矩阵动态 ---------- */

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

.page-home .matrix__item {
  display: grid;
  gap: 10px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .matrix__tag {
  justify-self: start;
}

.page-home .matrix__text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--gray);
}

.page-home .matrix__link {
  justify-self: start;
  font-size: 0.88rem;
  color: var(--cyan);
}

.page-home .matrix__cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

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

@media (min-width: 900px) {
  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(32px, 4.5vw, 68px);
  }

  .page-home .board__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
    gap: 36px;
    align-items: start;
  }

  .page-home .fav__stream {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    overflow: visible;
    padding-bottom: 0;
    align-items: start;
  }

  .page-home .fav-card {
    flex: initial;
  }

  .page-home .fav-card:nth-child(2),
  .page-home .fav-card:nth-child(4) {
    transform: translateY(18px);
  }

  .page-home .fav-card:nth-child(2):hover,
  .page-home .fav-card:nth-child(4):hover {
    transform: translateY(16px);
  }

  .page-home .track__grid {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
  }

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

  .page-home .matrix__tag,
  .page-home .matrix__link {
    justify-self: start;
  }
}

@media (min-width: 960px) {
  .page-home .compare__split {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
  }

  .page-home .compare__sticky {
    position: sticky;
    top: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .fav-card,
  .page-home .field,
  .page-home .ax-tick,
  .page-home .ax-pop {
    transition: none;
  }
}
