/* =========================================================
   首页 · 亚盈体育入口
   作用域：.page-home
   ========================================================= */

.page-home {
  display: block;
  background: var(--night);
  color: var(--glass);
  overflow-x: clip;
}

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

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
}

/* ---------- 通用小元素 ---------- */

.page-home .crumb {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--mist);
  margin: 0 0 14px;
}

.page-home .crumb__sep {
  margin: 0 0.55em;
  color: var(--line);
}

.page-home .kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  margin: 0 0 10px;
}

.page-home .sec-title {
  font-size: clamp(1.45rem, 3.6vw, 2.3rem);
  line-height: 1.14;
  margin: 0 0 12px;
}

.page-home .sec-lede {
  color: var(--mist);
  font-size: 15.5px;
  line-height: 1.75;
  max-width: 40em;
  margin: 0;
}

.page-home .lede {
  color: #cfe6dd;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.7;
  max-width: 26em;
  margin: 0;
}

.page-home .hp-head {
  max-width: 46rem;
  margin-bottom: clamp(22px, 3.4vw, 34px);
}

.page-home #league-index {
  scroll-margin-top: 88px;
}

/* ---------- L-01 封面首屏 ---------- */

.page-home .hp-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(88vh, 720px);
  padding-block: clamp(72px, 13vh, 130px) clamp(40px, 7vh, 74px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

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

.page-home .hp-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  opacity: 0.38;
}

.page-home .hp-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 28, 22, 0.97) 0%, rgba(7, 28, 22, 0.87) 44%, rgba(7, 28, 22, 0.54) 100%),
    repeating-linear-gradient(90deg, rgba(43, 240, 200, 0.045) 0 1px, transparent 1px 46px);
}

.page-home .hp-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  gap: clamp(30px, 5vw, 54px);
}

.page-home .hp-hero h1 {
  font-size: clamp(2rem, 6.4vw, 4.1rem);
  line-height: 1.05;
  margin: 0 0 18px;
  text-wrap: balance;
}

/* 三步索引 */

.page-home .hp-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-home .hp-step__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
  padding: 13px 16px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-left: 2px solid var(--cyan);
  border-radius: var(--radius);
  background: rgba(232, 245, 240, 0.055);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.24s ease, background-color 0.24s ease, transform 0.24s ease;
}

.page-home .hp-step__link:hover,
.page-home .hp-step__link:focus-visible {
  border-color: var(--cyan);
  background: rgba(43, 240, 200, 0.09);
  transform: translateX(3px);
}

.page-home .hp-step__num {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.page-home .hp-step__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.page-home .hp-step__desc {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--mist);
}

/* ---------- L-02 联赛分组 ---------- */

.page-home .hp-league__top {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  margin-bottom: clamp(22px, 3.4vw, 36px);
}

.page-home .hp-league__top .hp-head {
  margin-bottom: 0;
}

.page-home .hp-league__fig {
  margin: 0;
}

.page-home .hp-league__fig img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  opacity: 0.8;
}

.page-home .hp-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.page-home .chip {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(232, 245, 240, 0.04);
  color: var(--mist);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.page-home .chip:hover {
  color: var(--glass);
  border-color: var(--cyan);
}

.page-home .chip[aria-pressed="true"] {
  background: var(--lemon);
  border-color: var(--lemon);
  color: var(--night);
}

.page-home .hp-groups {
  display: grid;
  gap: 10px;
}

.page-home .hp-group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 36, 28, 0.72);
  overflow: hidden;
}

.page-home .hp-group[open] {
  background: rgba(10, 36, 28, 0.92);
}

.page-home .hp-group__sum {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
  border-left: 2px solid var(--cyan);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.page-home .hp-group__sum::-webkit-details-marker {
  display: none;
}

.page-home .hp-group__meta {
  color: var(--mist);
  font-size: 11.5px;
  letter-spacing: 0.06em;
}

.page-home .hp-group__sign {
  position: relative;
  flex: none;
  margin-left: auto;
  width: 14px;
  height: 14px;
}

.page-home .hp-group__sign::before,
.page-home .hp-group__sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--cyan);
  transition: transform 0.24s ease;
}

.page-home .hp-group__sign::after {
  transform: rotate(90deg);
}

.page-home .hp-group[open] .hp-group__sign::after {
  transform: rotate(0deg);
}

.page-home .hp-group__list {
  list-style: none;
  margin: 0;
  padding: 0 18px 18px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
}

.page-home .hp-league-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.page-home .hp-league-card:hover {
  border-color: var(--cyan);
  background: #0c2b22;
}

.page-home .hp-league-card[hidden] {
  display: none;
}

.page-home .hp-league-card__code {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  padding: 2px 6px;
  border: 1px solid rgba(43, 240, 200, 0.34);
  border-radius: 2px;
}

.page-home .hp-league-card__name {
  font-size: 14px;
  color: var(--glass);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .hp-league-card__round {
  font-size: 11.5px;
  color: var(--orange);
  white-space: nowrap;
}

/* ---------- L-03 覆盖与时效 ---------- */

.page-home .hp-stats {
  position: relative;
  isolation: isolate;
}

.page-home .hp-stats__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-home .hp-stats__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
}

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

.page-home .hp-stats__grid {
  display: grid;
  gap: var(--gap);
}

.page-home .hp-stat {
  position: relative;
  padding: 22px 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 36, 28, 0.86);
  overflow: hidden;
}

.page-home .hp-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--lemon));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.page-home .hp-stat:hover::before,
.page-home .hp-stat:focus-within::before {
  transform: scaleX(1);
}

.page-home .hp-stat__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist);
  margin: 0 0 14px;
}

.page-home .hp-stat__num {
  display: block;
  font-size: clamp(2rem, 4.6vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cyan);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.page-home .hp-stat:hover .hp-stat__num {
  transform: scale(1.025);
}

.page-home .hp-stat__unit {
  margin: 9px 0 14px;
  font-size: 14px;
  color: var(--glass);
}

.page-home .hp-stat__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .hp-stat__desc strong {
  color: var(--orange);
  font-weight: 500;
}

/* ---------- L-04 看球入口 ---------- */

.page-home .hp-entry__inner {
  display: grid;
  gap: clamp(28px, 4.5vw, 52px);
  align-items: center;
}

.page-home .hp-entry__note {
  display: inline-block;
  margin: 18px 0 22px;
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--lemon);
  border: 1px dashed rgba(232, 255, 106, 0.42);
  border-radius: var(--radius);
}

.page-home .hp-entry__fig {
  margin: 0;
}

.page-home .hp-entry__fig img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  opacity: 0.88;
}

.page-home .hp-entry__cap {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- L-05 数据面板 ---------- */

.page-home .hp-panel {
  display: grid;
  gap: var(--gap);
}

.page-home .hp-panel__block {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 36, 28, 0.86);
}

.page-home .hp-panel__block--abs {
  border-left: 2px solid var(--orange);
}

.page-home .hp-panel__cap {
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist);
}

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

.page-home .hp-dist__row {
  display: grid;
  grid-template-columns: minmax(0, 8.5em) minmax(0, 1fr) 3.4em;
  align-items: center;
  gap: 12px;
}

.page-home .hp-dist__label {
  font-size: 12.5px;
  color: var(--mist);
}

.page-home .hp-dist__track {
  position: relative;
  height: 8px;
  border-radius: 1px;
  background: rgba(43, 240, 200, 0.09);
  overflow: hidden;
}

.page-home .hp-dist__fill {
  display: block;
  height: 100%;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--cyan), #19c9a6);
}

.page-home .hp-dist__val {
  font-size: 12.5px;
  color: var(--cyan);
  text-align: right;
}

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

.page-home .hp-abs__item {
  padding-left: 12px;
  border-left: 2px solid var(--line);
}

.page-home .hp-abs__text {
  margin: 7px 0 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--glass);
}

.page-home .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  padding: 2px 8px;
  border-radius: var(--radius);
  vertical-align: middle;
}

/* ---------- L-06 赛事专栏与纠错 ---------- */

.page-home .hp-articles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  border-top: 1px solid rgba(232, 245, 240, 0.16);
}

.page-home .hp-article {
  display: grid;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(232, 245, 240, 0.16);
}

.page-home .hp-article__title {
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  line-height: 1.35;
  margin: 0;
}

.page-home .hp-article__title a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .hp-article__title a:hover,
.page-home .hp-article__title a:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.page-home .hp-article__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mist);
  max-width: 44em;
}

.page-home .hp-fix {
  display: grid;
  gap: 18px;
  align-items: center;
  margin-top: clamp(28px, 4vw, 44px);
  padding: 22px;
  border: 1px solid rgba(232, 255, 106, 0.28);
  border-radius: var(--radius);
  background: rgba(232, 255, 106, 0.05);
}

.page-home .hp-fix .kicker {
  color: var(--lemon);
}

.page-home .hp-fix__title {
  font-size: 1.18rem;
  line-height: 1.35;
  margin: 0 0 8px;
}

.page-home .hp-fix__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--glass);
}

.page-home .hp-fix .btn {
  justify-self: start;
}

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

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

@media (min-width: 900px) {
  .page-home .hp-league__top {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: clamp(28px, 4vw, 56px);
  }

  .page-home .hp-entry__inner {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }

  .page-home .hp-panel {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .hp-article {
    grid-template-columns: 11em minmax(0, 1fr);
    column-gap: 26px;
    align-items: start;
  }

  .page-home .hp-article .tag {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .page-home .hp-article__title {
    grid-column: 2;
    grid-row: 1;
  }

  .page-home .hp-article__desc {
    grid-column: 2;
    grid-row: 2;
  }

  .page-home .hp-fix {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
  }
}

@media (min-width: 960px) {
  .page-home .hp-hero__inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
    column-gap: clamp(20px, 2.4vw, 34px);
  }

  .page-home .hp-hero__lead {
    grid-column: 1 / span 7;
  }

  .page-home .hp-steps {
    grid-column: 9 / span 4;
  }
}

@media (max-width: 520px) {
  .page-home .hp-dist__row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "label val"
      "track track";
    gap: 6px 10px;
  }

  .page-home .hp-dist__label {
    grid-area: label;
  }

  .page-home .hp-dist__val {
    grid-area: val;
  }

  .page-home .hp-dist__track {
    grid-area: track;
  }

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

  .page-home .hp-league-card__name {
    font-size: 13.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hp-step__link,
  .page-home .hp-stat::before,
  .page-home .hp-stat__num,
  .page-home .hp-article__title a,
  .page-home .hp-group__sign::after {
    transition: none;
  }

  .page-home .hp-step__link:hover {
    transform: none;
  }

  .page-home .hp-stat:hover .hp-stat__num {
    transform: none;
  }
}
<<<END>>>
