.page-home {
  --ink-soft: #453A60;
  overflow-x: clip;
}

/* ---------- 首屏刊头 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(2rem, 6vw, 4rem) 0;
  border-bottom: 1px solid var(--line);
  background: var(--night);
}

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

.page-home .hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.42;
}

.page-home .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 52% at 20% 8%, rgba(123, 92, 255, 0.42), transparent 68%),
    radial-gradient(52% 46% at 84% 74%, rgba(47, 199, 122, 0.2), transparent 70%),
    linear-gradient(180deg, rgba(13, 10, 24, 0.55) 0%, rgba(13, 10, 24, 0.9) 64%, var(--night) 100%);
  pointer-events: none;
}

.page-home .hero__inner,
.page-home .hero__bar {
  position: relative;
  z-index: 1;
}

.page-home .hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(0.85rem, 2.2vw, 1.4rem);
}

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

.page-home .hero__crumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.page-home .hero__crumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--line);
}

.page-home .hero__crumb a {
  color: var(--ash);
  text-decoration: none;
}

.page-home .hero__crumb a:hover,
.page-home .hero__crumb a:focus-visible {
  color: var(--violet);
}

.page-home .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--violet);
}

.page-home .eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--odds);
  flex: none;
}

.page-home .hero__title {
  display: flex;
  flex-direction: column;
  gap: 0.06em;
  margin: 0;
  font-size: clamp(2.5rem, 9vw, 7rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--paper);
}

.page-home .hero__title span:last-child {
  background: linear-gradient(94deg, var(--violet) 0%, var(--turf) 94%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--violet);
}

.page-home .hero__lede {
  max-width: 44ch;
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  line-height: 1.75;
  color: var(--ash);
}

.page-home .hero__index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  margin-top: clamp(0.5rem, 2vw, 1.2rem);
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .hero__index a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.85rem 0.75rem;
  background: rgba(13, 10, 24, 0.7);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  color: var(--paper);
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.page-home .hero__index a:hover,
.page-home .hero__index a:focus-visible {
  background: rgba(123, 92, 255, 0.2);
  color: var(--odds);
}

.page-home .hero__bar {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

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

.page-home .hero__stats > div {
  padding: clamp(0.9rem, 2.4vw, 1.4rem) clamp(0.75rem, 2vw, 1.15rem);
  background: rgba(13, 10, 24, 0.86);
}

.page-home .hero__stats dt {
  margin: 0 0 0.45rem;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--ash);
}

.page-home .hero__stats dd {
  margin: 0;
  font-size: clamp(1.25rem, 3.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.page-home .hero__stats dd .num {
  color: var(--odds);
}

/* ---------- 通用区块头 ---------- */
.page-home .section__head {
  max-width: 46rem;
  margin-bottom: clamp(1.4rem, 3.6vw, 2.4rem);
}

.page-home .section__head h2 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(1.55rem, 3.6vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .section__head .lede {
  margin: 0;
  color: var(--ash);
  line-height: 1.75;
}

.page-home .section__head--split {
  max-width: none;
  display: grid;
  gap: 0.9rem;
}

/* ---------- 赔率区间 ---------- */
.page-home .odds {
  position: relative;
  background:
    radial-gradient(62% 42% at 6% 0%, rgba(58, 42, 122, 0.5), transparent 70%),
    var(--night);
}

.page-home .split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

.page-home .odds__rail h2 {
  margin: 0.5rem 0 0.7rem;
  font-size: clamp(1.45rem, 3.2vw, 2.25rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .odds__intro {
  margin: 0 0 1.4rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ash);
}

.page-home .odds__list {
  display: flex;
  flex-direction: column;
}

.page-home .odds__card {
  padding: 1rem 0 0.35rem;
  border-top: 1px solid var(--line);
}

.page-home .odds__card:last-child {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.page-home .odds__card:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 4px;
}

.page-home .odds__league {
  margin: 0 0 0.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--ash);
}

.page-home .odds__range {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 4.2vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--odds);
  font-variant-numeric: tabular-nums;
}

.page-home .odds__meta {
  margin: 0;
  font-size: 0.76rem;
  color: var(--ash);
}

.page-home .odds__card .data-card__note {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--turf);
  transition: max-height 0.36s var(--ease), opacity 0.36s var(--ease), margin 0.36s var(--ease);
}

.page-home .odds__card:hover .data-card__note,
.page-home .odds__card:focus .data-card__note,
.page-home .odds__card:focus-within .data-card__note {
  max-height: 7rem;
  margin-top: 0.55rem;
  opacity: 1;
}

.page-home .odds__body {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 3vw, 1.9rem);
}

.page-home .media {
  position: relative;
  margin: 0;
  overflow: hidden;
}

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

.page-home .media__watermark {
  position: absolute;
  right: 0.75rem;
  bottom: 0.4rem;
  z-index: 2;
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--paper);
  opacity: 0.18;
  pointer-events: none;
}

.page-home .odds__media {
  clip-path: polygon(0 0, 100% 3%, 100% 100%, 0 97%);
  background: var(--board);
}

.page-home .odds__prose h3 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.08rem, 2.2vw, 1.4rem);
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .odds__prose p {
  margin: 0 0 0.9rem;
  color: var(--ash);
  line-height: 1.8;
}

.page-home .odds__prose p:last-child {
  margin-bottom: 0;
}

.page-home .odds__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- 号码热区 ---------- */
.page-home .numbers {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(48% 38% at 94% 10%, rgba(47, 199, 122, 0.16), transparent 72%),
    var(--night);
}

.page-home .numbers__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.3rem;
}

.page-home .numbers__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 1.5rem);
}

.page-home .numbers__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .num-cell {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-height: 6.4rem;
  padding: 0.85rem 0.85rem 1rem;
  background: var(--board);
  transition: background 0.3s var(--ease);
}

.page-home .num-cell--hot {
  background: linear-gradient(165deg, rgba(255, 90, 43, 0.26), var(--board) 74%);
}

.page-home .num-cell--warm {
  background: linear-gradient(165deg, rgba(255, 176, 32, 0.16), var(--board) 74%);
}

.page-home .num-cell--cool {
  background: var(--board);
}

.page-home .num-cell__team {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--ash);
}

.page-home .num-cell__shirt {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.page-home .num-cell__unit {
  margin-left: 0.12em;
  font-size: 0.42em;
  font-weight: 600;
  color: var(--ash);
}

.page-home .num-cell--hot .num-cell__shirt {
  color: var(--odds);
}

.page-home .num-cell--warm .num-cell__shirt {
  color: var(--amber);
}

.page-home .num-cell__count {
  margin: 0;
  font-size: 0.76rem;
  color: var(--ash);
  font-variant-numeric: tabular-nums;
}

.page-home .numbers__media {
  position: relative;
  border: 1px solid var(--line);
  background: var(--board);
  min-height: 16rem;
}

.page-home .numbers__media img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
}

.page-home .numbers__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(84% 62% at 50% 28%, transparent 0%, rgba(13, 10, 24, 0.76) 100%);
  pointer-events: none;
}

.page-home .numbers__foot {
  margin: 1.1rem 0 0;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--ash);
}

/* ---------- 友谊赛时间轴 ---------- */
.page-home .fixtures {
  border-top: 1px solid var(--line);
  background: var(--night);
}

.page-home .timeline {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  background: var(--line);
  border: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: var(--violet-deep) transparent;
}

.page-home .timeline:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 4px;
}

.page-home .timeline__item {
  position: relative;
  flex: 0 0 min(76vw, 17rem);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 1.1rem 1rem 1.3rem;
  background: var(--board);
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 3px;
  background: var(--amber);
}

.page-home .timeline__day {
  margin: 0.35rem 0 0;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--amber);
}

.page-home .timeline__time {
  margin: 0;
  font-size: clamp(1.55rem, 4.4vw, 2.05rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.page-home .timeline__match {
  margin: 0.25rem 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--paper);
}

.page-home .timeline__metrics {
  margin: 0;
  padding-top: 0.7rem;
  display: grid;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
}

.page-home .timeline__metrics > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.page-home .timeline__metrics dt {
  font-size: 0.75rem;
  color: var(--ash);
}

.page-home .timeline__metrics dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--turf);
  font-variant-numeric: tabular-nums;
}

.page-home .fixtures__hint {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--ash);
}

/* ---------- 行动清单 ---------- */
.page-home .actions__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4.5vw, 3.25rem);
  background: var(--paper);
  color: var(--ink-on-paper);
  border: 1px solid var(--line);
}

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

.page-home .actions__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.1;
}

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

.page-home .actions__eyebrow {
  color: var(--violet-deep);
}

.page-home .actions__panel h2 {
  margin: 0.6rem 0 1.6rem;
  font-size: clamp(1.45rem, 3.4vw, 2.35rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink-on-paper);
}

.page-home .actions__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--paper-line);
}

.page-home .actions__steps li {
  padding: 1.25rem 1.1rem 1.4rem;
  background: var(--paper);
}

.page-home .actions__idx {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--odds);
}

.page-home .actions__steps h3 {
  margin: 0 0 0.5rem;
  font-size: 1.04rem;
  letter-spacing: -0.01em;
  color: var(--ink-on-paper);
}

.page-home .actions__steps p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-home .actions__cta {
  margin: 1.6rem 0 0;
}

/* ---------- 编辑精选 ---------- */
.page-home .briefing {
  border-top: 1px solid var(--line);
  background: var(--night);
}

.page-home .briefing__note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ash);
}

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

.page-home .briefing__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}

.page-home .briefing__item:hover {
  background: rgba(123, 92, 255, 0.07);
}

.page-home .briefing__tag {
  padding: 0.24rem 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: var(--amber);
  border: 1px solid var(--violet-deep);
}

.page-home .briefing__item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ash);
}

/* ---------- 响应式 ---------- */
@media (min-width: 560px) {
  .page-home .numbers__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

  .page-home .hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

  .page-home .section__head--split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
  }

  .page-home .briefing__note {
    text-align: right;
  }
}

@media (min-width: 900px) {
  .page-home .split {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }

  .page-home .odds__rail {
    position: sticky;
    top: 7rem;
    align-self: start;
  }

  .page-home .numbers__layout {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    align-items: stretch;
  }

  .page-home .timeline__item {
    flex-basis: 16rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .odds__card .data-card__note,
  .page-home .hero__index a,
  .page-home .num-cell,
  .page-home .briefing__item {
    transition: none;
  }
}
</main>
