.page-home {
  --home-dim: rgba(244, 247, 251, 0.7);
  --home-line: rgba(232, 200, 138, 0.22);
  --home-card: rgba(22, 32, 74, 0.62);
  --home-card-strong: rgba(22, 32, 74, 0.92);
  background: var(--c-night);
  color: var(--c-snow);
  overflow-x: hidden;
}

.page-home .crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 1.1rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--c-sand);
}

.page-home .crumb a {
  color: var(--c-sand);
  text-decoration: none;
}

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

.page-home .crumb span[aria-hidden] {
  opacity: 0.45;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  padding-bottom: clamp(2.4rem, 7vw, 4.6rem);
  isolation: isolate;
}

.page-home .hero__aurora {
  position: absolute;
  inset: -18% -12% auto -12%;
  height: 78%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(58% 58% at 14% 8%, rgba(255, 106, 26, 0.22), transparent 70%),
    radial-gradient(52% 52% at 86% 0%, rgba(34, 227, 210, 0.17), transparent 70%);
  filter: blur(8px);
}

.page-home .hero__grid {
  display: grid;
  gap: 1.6rem;
  padding-top: 1.2rem;
}

.page-home .hero__copy {
  padding: clamp(1.4rem, 4.2vw, 2.6rem);
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, var(--c-indigo) 0%, var(--c-night) 78%);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.page-home .hero h1 {
  margin: 0.7rem 0 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 8vw, 3.5rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--c-snow);
}

.page-home .hero h1 em {
  font-style: normal;
  color: var(--c-orange);
  position: relative;
  white-space: nowrap;
}

.page-home .hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12em;
  height: 3px;
  background: linear-gradient(90deg, var(--c-orange), rgba(34, 227, 210, 0.7));
  border-radius: 2px;
}

.page-home .hero__lede {
  margin: 1.1rem 0 0;
  color: var(--home-dim);
  max-width: 46ch;
}

.page-home .hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.page-home .hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin: 1.8rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--home-line);
}

.page-home .hero__stat dt {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--c-sand);
}

.page-home .hero__stat dd {
  margin: 0.2rem 0 0;
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--c-snow);
}

.page-home .hero__visual {
  position: relative;
}

.page-home .hero__figure {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-glass);
}

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

.page-home .hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(11, 20, 48, 0.1) 0%, rgba(5, 7, 15, 0.6) 100%);
}

.page-home .hero__chip {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.95rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--c-glass-2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.page-home .hero__chip--a {
  left: clamp(0.7rem, 3vw, 1.4rem);
  bottom: clamp(0.9rem, 4vw, 1.8rem);
}

.page-home .hero__chip--b {
  right: clamp(0.7rem, 3vw, 1.4rem);
  top: clamp(0.9rem, 4vw, 1.8rem);
}

.page-home .hero__chip-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--c-sand);
}

.page-home .hero__chip-value {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.45rem;
  line-height: 1.1;
  color: var(--c-cyan);
}

/* ---------- 主题带 ---------- */
.page-home .band {
  position: relative;
  margin-top: clamp(1.6rem, 5vw, 2.8rem);
  padding: clamp(2.6rem, 7vw, 4rem) 0;
  overflow: hidden;
  isolation: isolate;
  clip-path: polygon(0 2.2%, 100% 0, 100% 97.8%, 0 100%);
}

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

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

.page-home .band__layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--c-night) 0%, rgba(11, 20, 48, 0.72) 42%, var(--c-night) 100%);
}

.page-home .band::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  z-index: -1;
  background: linear-gradient(90deg, transparent, var(--c-cyan), transparent);
  opacity: 0.5;
}

.page-home .band__inner {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.page-home .band__title {
  margin: 0.5rem 0 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 5.5vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.page-home .band__rail {
  display: flex;
  gap: 0.9rem;
  margin: 0;
  padding: 0.2rem 0.2rem 0.9rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .band__rail > li {
  flex: 0 0 min(78%, 268px);
  scroll-snap-align: start;
}

.page-home .band__cell a {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  height: 100%;
  padding: 1.1rem 1.05rem;
  border-radius: var(--r-md);
  background: rgba(22, 32, 74, 0.72);
  border: 1px solid var(--c-glass);
  color: inherit;
  text-decoration: none;
  transition: transform 0.32s var(--ease), border-color 0.32s var(--ease), background 0.32s var(--ease);
}

.page-home .band__cell a:hover,
.page-home .band__cell a:focus-visible {
  transform: translateY(-4px);
  border-color: var(--c-orange);
  background: var(--home-card-strong);
}

.page-home .band__no {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--c-orange);
}

.page-home .band__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: 0.01em;
}

.page-home .band__desc {
  font-size: 0.87rem;
  line-height: 1.65;
  color: var(--home-dim);
}

/* ---------- 主客场快照 ---------- */
.page-home .snapshot {
  padding: clamp(2.8rem, 8vw, 5.2rem) 0 clamp(2.4rem, 6vw, 4rem);
}

.page-home .snapshot__grid {
  display: grid;
  gap: 1.8rem;
}

.page-home .snapshot__media {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-glass);
}

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

.page-home .snapshot__body h2 {
  margin: 0.5rem 0 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 5.5vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.page-home .snapshot__body .lede {
  margin: 1rem 0 0;
  color: var(--home-dim);
}

.page-home .snapshot__stage {
  position: relative;
  margin-top: 1.4rem;
}

.page-home .snapshot__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .snapshot__switch {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(22, 32, 74, 0.8);
  border: 1px solid var(--c-glass);
}

.page-home .snapshot__btn {
  padding: 0.42rem 1.05rem;
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--c-sand);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.page-home #venue-home:checked ~ .snapshot__switch .snapshot__btn[for="venue-home"],
.page-home #venue-away:checked ~ .snapshot__switch .snapshot__btn[for="venue-away"] {
  background: var(--c-orange);
  color: var(--c-void);
  font-weight: 700;
}

.page-home .snapshot__panel {
  display: none;
  margin-top: 1rem;
  padding: 1.1rem 1.05rem 1.3rem;
  border-radius: var(--r-lg);
  background: var(--home-card);
  border: 1px solid var(--c-glass);
}

.page-home #venue-home:checked ~ .snapshot__panel--home {
  display: block;
}

.page-home #venue-away:checked ~ .snapshot__panel--away {
  display: block;
}

.page-home .mirror__legend {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--c-sand);
}

.page-home .mirror__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.page-home .mirror__dot--home {
  background: var(--c-orange);
}

.page-home .mirror__dot--away {
  background: var(--c-cyan);
}

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

.page-home .mirror {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.page-home .mirror__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.7rem;
}

.page-home .mirror__label {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  color: var(--c-snow);
  text-align: center;
  white-space: nowrap;
}

.page-home .mirror__bar {
  display: block;
  height: 10px;
  border-radius: 999px;
}

.page-home .mirror__bar--home {
  justify-self: end;
  width: var(--w, 50%);
  background: linear-gradient(90deg, rgba(255, 106, 26, 0.28), var(--c-orange));
}

.page-home .mirror__bar--away {
  justify-self: start;
  width: var(--w, 50%);
  background: linear-gradient(90deg, var(--c-cyan), rgba(34, 227, 210, 0.26));
}

.page-home .snapshot__note {
  margin: 1.1rem 0 0;
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--c-sand);
}

/* ---------- 球队库 ---------- */
.page-home .clubs {
  padding: clamp(2.6rem, 7vw, 5rem) 0;
}

.page-home .clubs__grid {
  display: grid;
  gap: 1.8rem;
}

.page-home .clubs__intro h2 {
  margin: 0.5rem 0 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 5.5vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.page-home .clubs__intro .lede {
  margin: 1rem 0 0;
  color: var(--home-dim);
}

.page-home .clubs__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .clubs__link {
  margin-top: 1.4rem;
}

.page-home .clubs__list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .clubs__item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "no name"
    "no meta";
  gap: 0.25rem 0.9rem;
  padding: 0.95rem 1.05rem;
  border-radius: var(--r-md);
  background: rgba(22, 32, 74, 0.55);
  border: 1px solid var(--c-glass);
  transition: border-color 0.28s var(--ease), background 0.28s var(--ease);
}

.page-home .clubs__item:hover {
  border-color: rgba(217, 164, 65, 0.5);
  background: rgba(22, 32, 74, 0.85);
}

.page-home .clubs__no {
  grid-area: no;
  align-self: center;
  font-family: var(--f-mono);
  font-size: 1.35rem;
  color: var(--c-poplar);
  line-height: 1;
}

.page-home .clubs__name {
  grid-area: name;
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-snow);
}

.page-home .clubs__meta {
  grid-area: meta;
  font-size: 0.82rem;
  color: var(--home-dim);
}

.page-home .clubs__meta .num {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  color: var(--c-cyan);
}

/* ---------- 通道差异 ---------- */
.page-home .channels {
  padding: clamp(2.6rem, 7vw, 5rem) 0;
  background: linear-gradient(180deg, rgba(22, 32, 74, 0) 0%, rgba(22, 32, 74, 0.55) 45%, rgba(22, 32, 74, 0) 100%);
}

.page-home .channels .section-head h2 {
  margin: 0.5rem 0 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 5.5vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.page-home .channels .section-head .lede {
  margin: 1rem 0 0;
  color: var(--home-dim);
}

.page-home .channels__scroll {
  margin-top: 1.6rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-home .channels__table {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 560px;
}

.page-home .channels__row {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  background: rgba(22, 32, 74, 0.55);
  border: 1px solid transparent;
  font-size: 0.9rem;
}

.page-home .channels__row--head {
  background: transparent;
  border-color: var(--home-line);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--c-sand);
}

.page-home .channels__name {
  font-weight: 600;
  color: var(--c-snow);
}

.page-home .channels__row .num {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  color: var(--c-snow);
}

.page-home .channels__hl {
  font-family: var(--f-mono);
  color: var(--c-cyan);
  font-weight: 700;
}

.page-home .channels__more {
  margin-top: 1.5rem;
}

/* ---------- 两步下载 ---------- */
.page-home .download {
  padding: clamp(2.6rem, 7vw, 5rem) 0;
}

.page-home .download__head h2 {
  margin: 0.5rem 0 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 5.5vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.page-home .download__head .lede {
  margin: 1rem 0 0;
  color: var(--home-dim);
}

.page-home .download__steps {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 1.6rem 0 1.8rem;
  padding: 0;
  list-style: none;
}

.page-home .download__step {
  flex: 1;
  padding: 1.25rem 1.15rem 1.35rem;
  border-radius: var(--r-lg);
  background: rgba(22, 32, 74, 0.62);
  border: 1px solid var(--c-glass);
  border-left: 3px solid var(--c-orange);
}

.page-home .download__no {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  font-size: 2.3rem;
  line-height: 1;
  color: var(--c-orange);
}

.page-home .download__name {
  margin: 0.5rem 0 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--c-snow);
}

.page-home .download__desc {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--home-dim);
}

/* ---------- 最新动态 ---------- */
.page-home .feed {
  padding: clamp(2.4rem, 6.5vw, 4.4rem) 0;
}

.page-home .feed__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.page-home .feed__head h2 {
  margin: 0.5rem 0 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

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

.page-home .feed__item {
  border-bottom: 1px solid var(--home-line);
}

.page-home .feed__link {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "stage arrow"
    "title arrow";
  gap: 0.4rem 1rem;
  align-items: center;
  padding: 1.15rem 0.2rem;
  color: inherit;
  text-decoration: none;
  transition: padding-left 0.3s var(--ease), background 0.3s var(--ease);
}

.page-home .feed__link:hover,
.page-home .feed__link:focus-visible {
  padding-left: 0.7rem;
  background: rgba(34, 227, 210, 0.05);
}

.page-home .feed__stage {
  grid-area: stage;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--c-poplar);
}

.page-home .feed__title {
  grid-area: title;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--c-snow);
}

.page-home .feed__arrow {
  grid-area: arrow;
  font-family: var(--f-mono);
  font-size: 1.2rem;
  color: var(--c-cyan);
}

/* ---------- 底部行动区 ---------- */
.page-home .closing {
  position: relative;
  padding: clamp(3rem, 9vw, 6rem) 0 clamp(3.4rem, 9vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}

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

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

.page-home .closing__layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--c-night) 0%, rgba(5, 7, 15, 0.82) 48%, var(--c-night) 100%);
}

.page-home .closing::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-poplar), transparent);
  opacity: 0.7;
}

.page-home .closing__inner {
  max-width: 62ch;
}

.page-home .closing__title {
  margin: 0.6rem 0 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 6vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.page-home .closing__lede {
  margin: 1rem 0 0;
  color: var(--home-dim);
}

.page-home .closing__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.page-home .closing__meta {
  margin: 1.4rem 0 0;
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--c-sand);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .download__steps {
    flex-direction: row;
  }

  .page-home .feed__link {
    grid-template-columns: 9rem 1fr auto;
    grid-template-areas: "stage title arrow";
    gap: 1.2rem;
  }
}

@media (min-width: 900px) {
  .page-home .hero__grid {
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: 2.4rem;
  }

  .page-home .snapshot__grid {
    grid-template-columns: 5fr 7fr;
    align-items: start;
    gap: 2.6rem;
  }

  .page-home .clubs__grid {
    grid-template-columns: 7fr 5fr;
    align-items: start;
    gap: 2.8rem;
  }

  .page-home .channels__table {
    min-width: 0;
  }

  .page-home .band__inner {
    flex-direction: row;
    align-items: flex-end;
    gap: 2.6rem;
  }

  .page-home .band__lead {
    flex: 0 0 26%;
  }

  .page-home .band__rail {
    flex: 1;
    padding-bottom: 0.2rem;
  }

  .page-home .band__rail > li {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media (min-width: 1180px) {
  .page-home .hero h1 {
    font-size: 3.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .band__cell a,
  .page-home .feed__link,
  .page-home .clubs__item {
    transition: none;
  }

  .page-home .band__cell a:hover {
    transform: none;
  }
}

.page-home {
  --w: 1rem;
}
