.page-home {
  --home-gap: 12px;
  --home-pad: 20px;
}

.page-home > section {
  padding-top: 58px;
}

.page-home > section.hero {
  padding-top: 10px;
}

.page-home .crumbs {
  padding: 22px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---------- 首屏拼贴 ---------- */

.page-home .hero__rounds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.page-home .hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

.page-home .hero__stage {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
}

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

.page-home .hero__intro {
  padding: var(--home-pad);
  background: linear-gradient(150deg, rgba(31, 164, 91, 0.17), rgba(19, 29, 49, 0.94) 60%);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.page-home .hero__title {
  margin: 10px 0 0;
  font-size: clamp(30px, 6.8vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--white);
}

.page-home .hero__lead {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(242, 248, 255, 0.78);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

.page-home .hero__card {
  padding: 16px 18px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.page-home .hero__card--flags {
  background: linear-gradient(160deg, rgba(245, 197, 24, 0.14), rgba(19, 29, 49, 0.96) 62%);
}

.page-home .hero__card--offside {
  background: linear-gradient(160deg, rgba(72, 224, 141, 0.13), rgba(19, 29, 49, 0.96) 62%);
}

.page-home .hero__card-label {
  margin: 0;
}

.page-home .hero__big {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(44px, 10vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
}

.page-home .hero__big--lime {
  color: var(--lime);
}

.page-home .hero__card-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--grey);
}

.page-home .hero__strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}

.page-home .hero__strip-cell {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  background: var(--panel);
}

.page-home .hero__strip-cell--hint {
  background: linear-gradient(90deg, rgba(31, 164, 91, 0.26), rgba(19, 29, 49, 0.92));
}

.page-home .hero__strip-label {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(242, 248, 255, 0.72);
}

.page-home .hero__strip-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.page-home .hero__strip-num--yellow {
  color: var(--yellow);
}

.page-home .hero__hint {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}

/* ---------- 章节头 ---------- */

.page-home .chapter-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.page-home .chapter-head__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--turf);
}

.page-home .chapter-head__title {
  margin: 0;
  font-size: clamp(23px, 4.2vw, 36px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-home .chapter-head + * {
  margin-top: 22px;
}

/* ---------- 通用段落与链接 ---------- */

.page-home .split .prose {
  max-width: none;
}

.page-home .prose {
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(242, 248, 255, 0.8);
}

.page-home .sec-link {
  margin: 20px 0 0;
  font-size: 14px;
}

.page-home .sec-link a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(72, 224, 141, 0.4);
  padding-bottom: 2px;
}

.page-home .sec-link a:hover {
  border-bottom-color: var(--lime);
}

/* ---------- 01 分栏与流程 ---------- */

.page-home .split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.page-home .flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}

.page-home .flow__item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  background: var(--panel);
}

.page-home .flow__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--turf);
  padding-top: 4px;
}

.page-home .flow__txt {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(242, 248, 255, 0.84);
}

/* ---------- 02 四类指标 ---------- */

.page-home .metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

.page-home .m-card {
  padding: var(--home-pad);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}

.page-home .m-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.page-home .m-card__title {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-home .m-card__body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(242, 248, 255, 0.78);
}

.page-home .m-card__note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--grey);
  opacity: 0.78;
  transition: opacity 0.22s var(--ease);
}

.page-home .m-card:hover .m-card__note {
  opacity: 1;
}

.page-home .m-card__fig {
  margin: 16px 0 0;
}

.page-home .m-card__fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 3px;
  filter: saturate(0.94) contrast(1.08) brightness(0.92);
}

.page-home .offside-svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(31, 164, 91, 0.05);
}

.page-home .flag-bars {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.page-home .flag-bars__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.page-home .flag-bars__track {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.page-home .flag-bars__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.page-home .flag-bars__fill--yellow {
  width: 86%;
  background: linear-gradient(90deg, rgba(245, 197, 24, 0.55), var(--yellow));
}

.page-home .flag-bars__fill--red {
  width: 26%;
  background: linear-gradient(90deg, rgba(226, 59, 59, 0.55), var(--red));
}

.page-home .flag-bars__val {
  min-width: 40px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

/* ---------- 03 复盘专栏 ---------- */

.page-home .post-intro {
  max-width: 720px;
  margin-top: 20px;
}

.page-home .posts {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  margin-top: 22px;
}

.page-home .post-card {
  display: flex;
  flex-direction: column;
  padding: var(--home-pad);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}

.page-home .post-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.page-home .post-card__cover {
  margin: -4px 0 16px;
  overflow: hidden;
  border-radius: 3px;
}

.page-home .post-card__cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.08) brightness(0.92);
}

.page-home .post-card__tag {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--turf);
}

.page-home .post-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--white);
}

.page-home .post-card__excerpt {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(242, 248, 255, 0.72);
}

.page-home .post-card__meta {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--grey);
}

/* ---------- 04 赔率与日历 ---------- */

.page-home .odds-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.page-home .odds-block__lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(242, 248, 255, 0.82);
}

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

.page-home .odds-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(242, 248, 255, 0.76);
}

.page-home .odds-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--turf);
}

.page-home .odds-block__actions {
  margin: 20px 0 0;
}

.page-home .odds-block__chart {
  margin: 0;
  padding: 20px 18px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.page-home .odds-spark {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .odds-block__chart figcaption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--grey);
}

/* ---------- 05 看台 ---------- */

.page-home .stands-band {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.page-home .stands-band img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.1) brightness(0.9);
}

.page-home .stands-lead {
  max-width: 720px;
  margin-top: 22px;
}

.page-home .stands-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 22px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}

.page-home .stands-grid__cell {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: var(--panel);
}

.page-home .stands-grid__num {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .stands-grid__num--lime {
  color: var(--lime);
}

.page-home .stands-grid__num--yellow {
  color: var(--yellow);
}

.page-home .stands-grid__label {
  font-size: 13px;
  line-height: 1.7;
  color: var(--grey);
}

/* ---------- 06 合作入口 ---------- */

.page-home .cta-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 26px var(--home-pad);
  background: linear-gradient(118deg, rgba(226, 59, 59, 0.18), rgba(19, 29, 49, 0.96) 58%);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.page-home .cta-band__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(242, 248, 255, 0.85);
}

.page-home .cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

/* ---------- 平板与桌面 ---------- */

@media (min-width: 640px) {
  .page-home .hero__strip {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .hero__strip-cell--hint {
    grid-column: 1 / -1;
  }

  .page-home .stands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .page-home {
    --home-gap: 14px;
    --home-pad: 24px;
  }

  .page-home > section {
    padding-top: 76px;
  }

  .page-home > section.hero {
    padding-top: 12px;
  }

  .page-home .split {
    grid-template-columns: 7fr 5fr;
    gap: 30px;
    align-items: start;
  }

  .page-home .metrics {
    grid-template-columns: repeat(12, 1fr);
  }

  .page-home .m-card--offside {
    grid-column: span 7;
  }

  .page-home .m-card--flags {
    grid-column: span 5;
  }

  .page-home .m-card--subs {
    grid-column: span 5;
  }

  .page-home .m-card--minutes {
    grid-column: span 7;
  }

  .page-home .posts {
    grid-template-columns: repeat(12, 1fr);
  }

  .page-home .post-card:nth-child(1) {
    grid-column: span 5;
  }

  .page-home .post-card:nth-child(2) {
    grid-column: span 3;
  }

  .page-home .post-card:nth-child(3) {
    grid-column: span 4;
  }

  .page-home .odds-block {
    grid-template-columns: 6fr 6fr;
    gap: 34px;
    align-items: center;
  }

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

  .page-home .cta-band {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 36px;
    padding: 30px 34px;
  }

  .page-home .stands-band img {
    aspect-ratio: 21 / 8;
  }
}

@media (min-width: 960px) {
  .page-home .hero__grid {
    grid-template-columns: repeat(12, 1fr);
    align-items: stretch;
  }

  .page-home .hero__stage {
    grid-column: 1 / 7;
    grid-row: 1 / 3;
  }

  .page-home .hero__stage img {
    height: 100%;
    aspect-ratio: auto;
  }

  .page-home .hero__intro {
    grid-column: 7 / 13;
    grid-row: 1 / 2;
  }

  .page-home .hero__card--flags {
    grid-column: 7 / 10;
    grid-row: 2 / 3;
  }

  .page-home .hero__card--offside {
    grid-column: 10 / 13;
    grid-row: 2 / 3;
  }

  .page-home .hero__strip {
    grid-column: 1 / 13;
    grid-template-columns: 1fr 1fr auto;
  }

  .page-home .hero__strip-cell--hint {
    grid-column: auto;
  }
}
