.page-home {
  background: var(--ink);
  color: var(--mist);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home .sec-index {
  margin: 0 0 10px;
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--flame);
}

.page-home h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 4.6vw, 42px);
  line-height: 1.14;
  letter-spacing: -.01em;
}

.page-home h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.25;
  letter-spacing: -.01em;
}

.page-home p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.75;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  padding: 26px 0 54px;
  overflow: hidden;
}

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

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

.page-home .hero__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(168deg, rgba(11, 34, 30, .92) 8%, rgba(11, 34, 30, .82) 46%, rgba(23, 99, 90, .5) 100%);
}

.page-home .hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr);
}

.page-home .hero__where {
  margin: 0;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--paper);
  text-transform: uppercase;
}

.page-home .hero__kicker {
  margin: 16px 0 0;
  display: inline-block;
  padding: 5px 12px;
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--night);
  background: var(--flame);
  transform: skewX(-8deg);
}

.page-home .hero h1 {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 8vw, 74px);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--mist);
}

.page-home .hero h1 br {
  display: none;
}

.page-home .hero__lede {
  margin: 20px 0 0;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.75;
  color: var(--paper);
}

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

.page-home .hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin: 30px 0 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid rgba(207, 201, 186, .24);
}

.page-home .hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 15em;
  font-size: 13px;
  line-height: 1.5;
  color: var(--paper);
}

.page-home .hero__facts .num {
  font-family: var(--font-num);
  font-size: 30px;
  line-height: 1;
  color: var(--score);
}

.page-home .hero__device {
  display: flex;
  justify-content: center;
}

.page-home .phone {
  width: min(304px, 88%);
  padding: 14px 12px 16px;
  border: var(--rule);
  border-radius: 26px;
  background: linear-gradient(168deg, #10332C 0%, var(--ink) 62%, var(--night) 100%);
  box-shadow: var(--shadow-hard);
  transform: rotate(-2.5deg);
}

.page-home .phone__top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 12px;
  border-bottom: 1px solid rgba(207, 201, 186, .22);
}

.page-home .phone__dot {
  width: 8px;
  height: 8px;
  background: var(--cinnabar);
  border-radius: 50%;
}

.page-home .phone__title {
  flex: 1;
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--paper);
}

.page-home .phone__count {
  font-family: var(--font-num);
  font-size: 18px;
  color: var(--score);
}

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

.page-home .phone__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 9px 10px 9px 12px;
  border-left: 4px solid transparent;
  background: rgba(245, 242, 234, .07);
  color: var(--mist);
  font-size: 14px;
  text-decoration: none;
  transition: border-color .22s var(--ease), background .22s var(--ease), transform .22s var(--ease);
}

.page-home .phone__list a:hover,
.page-home .phone__list a:focus-visible {
  border-left-color: var(--flame);
  background: rgba(255, 106, 43, .16);
  transform: translateX(2px);
}

.page-home .phone__meta {
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--score);
}

.page-home .phone__hint {
  margin: 12px 4px 0;
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(207, 201, 186, .8);
}

/* ---------- 第二栏：赛程与榜单 ---------- */
.page-home .board {
  padding: 52px 0 56px;
  background: var(--night);
  border-top: var(--rule);
}

.page-home .board__head {
  margin-bottom: 26px;
}

.page-home .board__note {
  max-width: 42em;
  font-size: 15px;
  color: var(--paper);
}

.page-home .board__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
}

.page-home .board__fixtures,
.page-home .board__scorers,
.page-home .board__subs {
  padding: 20px 18px 22px;
  border: var(--rule);
  background: rgba(23, 99, 90, .2);
}

.page-home .board__side {
  display: grid;
  gap: 20px;
}

.page-home .board__subs {
  background: rgba(255, 106, 43, .1);
  border-color: rgba(255, 106, 43, .6);
}

.page-home .panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 8px;
}

.page-home .panel__head h3 {
  margin: 0;
}

.page-home .league-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-home .league-switch__item {
  padding: 6px 10px;
  font-size: 12px;
  color: var(--paper);
  border: 1px solid rgba(207, 201, 186, .34);
}

.page-home .league-switch__item.is-on {
  color: var(--night);
  background: var(--flame);
  border-color: var(--flame);
  font-weight: 700;
}

.page-home .fixtures {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .fixtures li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 10px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(207, 201, 186, .16);
}

.page-home .fixtures li:last-child {
  border-bottom: 0;
}

.page-home .fixture__when {
  font-family: var(--font-num);
  font-size: 13px;
  color: var(--paper);
}

.page-home .fixture__teams {
  font-size: 15px;
  line-height: 1.4;
  color: var(--mist);
}

.page-home .fixture__teams i {
  font-style: normal;
  font-size: 12px;
  color: rgba(207, 201, 186, .7);
  padding: 0 2px;
}

.page-home .fixture__end {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

.page-home .fixture__score {
  font-family: var(--font-num);
  font-size: 20px;
  color: var(--score);
}

.page-home .scorers {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .scorers li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(207, 201, 186, .2);
}

.page-home .scorers li:last-child {
  border-bottom: 0;
}

.page-home .scorer__rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-family: var(--font-num);
  font-size: 14px;
  color: var(--paper);
  border: 1px solid rgba(207, 201, 186, .36);
}

.page-home .scorers li:nth-child(-n+3) .scorer__rank {
  color: var(--night);
  background: var(--score);
  border-color: var(--score);
  font-weight: 700;
}

.page-home .scorer__name {
  font-size: 14px;
  color: var(--mist);
}

.page-home .scorer__goals {
  font-family: var(--font-num);
  font-size: 18px;
  color: var(--score);
}

.page-home .board__meta {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(207, 201, 186, .82);
}

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

.page-home .subs li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 10px;
  background: rgba(7, 18, 15, .34);
  border-left: 3px solid var(--flame);
}

.page-home .subs__kind {
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--flame);
}

.page-home .subs__name {
  font-size: 14px;
  color: var(--mist);
}

.page-home .board__more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--flame);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color .2s var(--ease);
}

.page-home .board__more:hover,
.page-home .board__more:focus-visible {
  border-bottom-color: var(--flame);
}

.page-home .board__figure {
  margin: 24px 0 0;
  border: var(--rule);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}

.page-home .board__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
}

/* ---------- 检索与订阅 ---------- */
.page-home .search-block {
  padding: 54px 0 58px;
  background: var(--mist);
  color: var(--ink);
}

.page-home .search-block .sec-index {
  color: var(--cinnabar);
}

.page-home .search-block__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr);
}

.page-home .search-block__figure {
  margin: 0;
  border: var(--rule);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}

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

.page-home .search-block__lede {
  max-width: 40em;
  color: var(--slate);
}

.page-home .search-box {
  margin-top: 22px;
  padding: 16px 16px 18px;
  background: var(--ink);
  color: var(--mist);
  border: var(--rule);
  border-left: 6px solid var(--flame);
  box-shadow: var(--shadow-hard);
}

.page-home .search-box__label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--paper);
}

.page-home .search-box__field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--mist);
  background: rgba(245, 242, 234, .1);
  border: 2px solid var(--paper);
  border-radius: 0;
  appearance: none;
}

.page-home .search-box__field input::placeholder {
  color: rgba(207, 201, 186, .78);
}

.page-home .search-box__field input:focus {
  outline: 3px solid var(--flame);
  outline-offset: 2px;
  background: rgba(245, 242, 234, .16);
}

.page-home .search-box__suggest {
  display: none;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .search-box:focus-within .search-box__suggest {
  display: block;
}

.page-home .search-box__suggest li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  min-height: 44px;
  padding: 10px 12px;
  margin-bottom: 6px;
  border-left: 4px solid var(--flame);
  background: rgba(46, 140, 122, .22);
}

.page-home .suggest__name {
  font-size: 15px;
  color: var(--mist);
}

.page-home .suggest__meta {
  font-size: 12px;
  color: var(--paper);
}

.page-home .search-box__meta {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(207, 201, 186, .82);
}

.page-home .subscribe-strip {
  margin-top: 24px;
  padding: 20px 18px;
  background: rgba(255, 255, 255, .6);
  border: var(--rule);
  border-left: 6px solid var(--cinnabar);
}

.page-home .subscribe-strip p {
  font-size: 15px;
  color: var(--slate);
}

.page-home .subscribe-strip h3 {
  color: var(--ink);
}

/* ---------- 移动端体验 ---------- */
.page-home .mobile {
  padding: 54px 0 58px;
  background: var(--ink);
}

.page-home .mobile__grid {
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr);
}

.page-home .mobile__lede {
  max-width: 40em;
  color: var(--paper);
}

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

.page-home .mobile__list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  padding-left: 14px;
  border-left: 3px solid var(--bamboo);
  font-size: 14px;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .mobile__list .num {
  font-family: var(--font-num);
  font-size: 22px;
  line-height: 1;
  color: var(--score);
}

.page-home .mobile__note {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(207, 201, 186, .86);
}

.page-home .mobile__copy .btn {
  margin-top: 20px;
}

.page-home .mobile__figure {
  margin: 0;
  border: var(--rule);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
  transform: rotate(1.5deg);
}

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

/* ---------- 横向主题带 ---------- */
.page-home .belt {
  background: linear-gradient(158deg, var(--river) 0%, #0E3A33 58%, var(--ink) 100%);
}

.page-home .belt__inner {
  position: relative;
  padding: 74px 0 82px;
  overflow: hidden;
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
}

.page-home .belt__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr);
}

.page-home .belt__copy p {
  max-width: 40em;
  font-size: 15px;
  color: var(--paper);
}

.page-home .belt__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--score);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color .2s var(--ease);
}

.page-home .belt__link:hover,
.page-home .belt__link:focus-visible {
  border-bottom-color: var(--score);
}

.page-home .belt__stats {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid rgba(207, 201, 186, .3);
  border-left: 2px solid rgba(207, 201, 186, .3);
}

.page-home .belt__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--paper);
  border-right: 2px solid rgba(207, 201, 186, .3);
  border-bottom: 2px solid rgba(207, 201, 186, .3);
}

.page-home .belt__stats .num {
  font-family: var(--font-num);
  font-size: 28px;
  line-height: 1;
  color: var(--score);
}

.page-home .belt__skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 130px;
  z-index: 1;
}

/* ---------- 双通道收尾 ---------- */
.page-home .fork {
  padding: 54px 0 58px;
  background: var(--mist);
  color: var(--ink);
}

.page-home .fork .sec-index {
  color: var(--cinnabar);
}

.page-home .fork__head {
  margin-bottom: 26px;
}

.page-home .fork__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
}

.page-home .fork__card {
  padding: 22px 20px 24px;
  background: #FFFFFF;
  border: var(--rule);
  box-shadow: var(--shadow-hard);
}

.page-home .fork__card--return {
  border-left: 6px solid var(--cinnabar);
}

.page-home .fork__tag {
  margin: 0 0 8px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--cinnabar);
}

.page-home .fork__card p {
  font-size: 15px;
  color: var(--slate);
}

.page-home .fork__card .btn {
  margin-top: 8px;
}

.page-home .fork__foot {
  margin: 26px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--slate);
}

.page-home .fork__foot a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--cinnabar);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

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

/* ---------- 平板及以上 ---------- */
@media (min-width: 760px) {
  .page-home .hero h1 br {
    display: inline;
  }

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

  .page-home .board__side {
    margin-top: 34px;
  }

  .page-home .search-block__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: 36px;
  }

  .page-home .mobile__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: 40px;
  }

  .page-home .belt__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    align-items: start;
    gap: 40px;
  }

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

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

  .page-home .fork__card:last-child {
    margin-top: 30px;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 1000px) {
  .page-home .hero {
    padding: 34px 0 70px;
  }

  .page-home .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: 48px;
    padding: 34px 0 20px;
  }

  .page-home .hero__lede {
    font-size: 17px;
  }

  .page-home .board {
    padding: 68px 0 72px;
  }

  .page-home .board__head {
    margin-bottom: 34px;
  }

  .page-home .board__figure img {
    max-height: 320px;
  }

  .page-home .search-block,
  .page-home .mobile,
  .page-home .fork {
    padding: 76px 0 80px;
  }

  .page-home .belt__inner {
    padding: 96px 0 104px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .phone__list a,
  .page-home .board__more,
  .page-home .belt__link {
    transition: none;
  }

  .page-home .phone {
    transform: none;
  }

  .page-home .mobile__figure {
    transform: none;
  }
}
