.page-home {
  --home-tilt: -3deg;
  --home-panel-glow: linear-gradient(180deg, rgba(53, 211, 196, .07), rgba(12, 31, 26, 0) 70%);
  background:
    radial-gradient(80% 55% at 84% -8%, rgba(242, 179, 61, .16), rgba(12, 31, 26, 0) 60%),
    radial-gradient(70% 50% at 6% 12%, rgba(196, 80, 30, .14), rgba(12, 31, 26, 0) 62%),
    var(--canvas);
  color: var(--white);
  padding-bottom: clamp(40px, 7vw, 88px);
}

.page-home .home-context {
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-deep);
}

.page-home .home-context__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  flex-wrap: wrap;
}

.page-home .home-context__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: .04em;
  color: var(--muted);
}

.page-home .home-context__sep {
  color: var(--line);
}

.page-home .home-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
}

.page-home .home-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(53, 211, 196, .16);
  animation: homePulse 2.6s ease-in-out infinite;
}

@keyframes homePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 3px rgba(53, 211, 196, .18); }
  50% { opacity: .55; box-shadow: 0 0 0 7px rgba(53, 211, 196, .04); }
}

/* ===== 首屏 ===== */
.page-home .home-hero {
  padding: clamp(26px, 5vw, 56px) 0 clamp(30px, 5vw, 62px);
}

.page-home .home-hero__inner {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
  align-items: center;
}

.page-home .home-hero__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 6.4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 10px 0 0;
  color: var(--white);
}

.page-home .home-hero__lede {
  margin: 16px 0 0;
  max-width: 34em;
  font-size: var(--fs-3);
  line-height: 1.78;
  color: var(--muted);
}

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

.page-home .home-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 26px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.page-home .home-hero__facts li {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.page-home .home-hero__num {
  font-family: var(--font-mono);
  font-size: var(--fs-6);
  line-height: 1;
  color: var(--gold);
}

.page-home .home-hero__label {
  font-size: var(--fs-2);
  color: var(--muted);
}

/* 记分牌 */
.page-home .home-hero__board {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.page-home .home-board__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.55) saturate(.9);
  z-index: 0;
}

.page-home .home-board {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(18px, 3.2vw, 30px);
  background: linear-gradient(180deg, rgba(12, 31, 26, .18) 0%, rgba(12, 31, 26, .93) 62%);
}

.page-home .home-board__tag {
  display: inline-block;
  margin: 0 0 10px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: .06em;
  color: var(--gold);
  border: 1px solid rgba(242, 179, 61, .42);
  border-radius: var(--radius);
}

.page-home .home-board__league {
  margin: 0;
  font-size: var(--fs-2);
  letter-spacing: .04em;
  color: var(--muted);
}

.page-home .home-board__score {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 6px 0 0;
  transform: skewX(var(--home-tilt));
  transform-origin: left bottom;
}

.page-home .score-slot {
  position: relative;
  display: inline-block;
  min-width: 1.05em;
  text-align: center;
}

.page-home .score-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(64px, 17vw, 138px);
  line-height: .84;
  letter-spacing: -0.03em;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(242, 179, 61, .3);
}

.page-home .score-num--alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: homeScoreAlt 6s steps(1, end) infinite;
}

.page-home .score-num--base {
  animation: homeScoreBase 6s steps(1, end) infinite;
}

.page-home .score-sep {
  font-family: var(--font-display);
  font-size: clamp(34px, 8vw, 70px);
  color: var(--line);
}

@keyframes homeScoreBase {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes homeScoreAlt {
  0%, 49% { opacity: 0; }
  50%, 100% { opacity: 1; }
}

.page-home .home-board__meta {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: .05em;
  color: var(--cyan);
}

.page-home .home-board__axis {
  display: block;
  width: 100%;
  height: 30px;
  margin: 12px 0 14px;
}

.page-home .home-board__link {
  display: inline-block;
  font-size: var(--fs-2);
  font-family: var(--font-mono);
  letter-spacing: .06em;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 2px;
}

.page-home .home-board__link:hover,
.page-home .home-board__link:focus-visible {
  color: var(--orange-lit);
}

/* ===== 正在发生 ===== */
.page-home .home-live {
  padding: clamp(30px, 5vw, 56px) 0 clamp(26px, 4vw, 46px);
  border-top: 1px solid var(--line-soft);
}

.page-home .home-live__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.page-home .home-live__note {
  margin: 12px 0 18px;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: .04em;
  color: var(--muted);
}

.page-home .home-live__rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) 16px;
  scrollbar-width: thin;
}

.page-home .home-live__card {
  flex: 0 0 auto;
  width: clamp(230px, 74vw, 316px);
  scroll-snap-align: start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.page-home .home-live__card--feature {
  width: clamp(260px, 84vw, 372px);
}

.page-home .home-live__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.page-home .home-live__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.62);
}

.page-home .home-live__state {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  color: var(--canvas);
  background: var(--cyan);
  border-radius: var(--radius);
}

.page-home .home-live__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--canvas);
}

.page-home .home-live__bar {
  display: block;
  height: 4px;
  width: 100%;
  background: var(--line);
}

.page-home .home-live__bar--orange { background: var(--orange); }
.page-home .home-live__bar--cyan { background: var(--cyan); }
.page-home .home-live__bar--gold { background: var(--gold); }

.page-home .home-live__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.page-home .home-live__meta {
  margin: 0;
  font-size: var(--fs-2);
  color: var(--muted);
}

.page-home .home-live__score {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-6);
  line-height: 1.1;
  color: var(--gold);
  letter-spacing: .02em;
}

.page-home .home-live__score span {
  color: var(--line);
  margin: 0 2px;
}

.page-home .home-live__note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: .03em;
  color: var(--muted);
}

.page-home .home-live__go {
  margin-top: auto;
  padding-top: 12px;
  font-size: var(--fs-2);
  color: var(--orange-lit);
  text-decoration: none;
  letter-spacing: .04em;
}

.page-home .home-live__go:hover,
.page-home .home-live__go:focus-visible {
  color: var(--gold);
}

/* ===== 项目色带 ===== */
.page-home .home-leagues {
  position: relative;
  background: var(--bg-deep);
  padding: clamp(46px, 7vw, 78px) 0 clamp(38px, 6vw, 62px);
  clip-path: polygon(0 26px, 100% 0, 100% 100%, 0 100%);
}

.page-home .home-leagues__lede {
  max-width: 44em;
  margin: 12px 0 24px;
  font-size: var(--fs-3);
  line-height: 1.78;
  color: var(--muted);
}

.page-home .home-leagues__list {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-league__bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 12px;
  padding: 11px 14px;
  text-decoration: none;
  color: var(--white);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(46, 99, 83, .34), rgba(29, 70, 59, .08));
  transition: border-left-color .2s ease, background .2s ease;
}

.page-home .home-league__bar:hover,
.page-home .home-league__bar:focus-visible {
  border-left-color: var(--orange);
  background: linear-gradient(90deg, rgba(196, 80, 30, .28), rgba(29, 70, 59, .1));
}

.page-home .home-league__name {
  font-size: var(--fs-3);
  letter-spacing: .02em;
}

.page-home .home-league__count {
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  color: var(--muted);
  white-space: nowrap;
}

.page-home .home-league__season {
  grid-column: 1 / -1;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: .03em;
  color: var(--cyan);
  transition: max-height .28s ease, opacity .22s ease;
}

.page-home .home-league__bar:hover .home-league__season,
.page-home .home-league__bar:focus-visible .home-league__season {
  max-height: 34px;
  opacity: 1;
}

.page-home .home-leagues__foot {
  margin: 20px 0 0;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: .04em;
  color: var(--muted);
}

/* ===== 关注流 ===== */
.page-home .home-feed {
  padding: clamp(34px, 6vw, 66px) 0;
}

.page-home .home-feed__lede {
  max-width: 44em;
  margin: 12px 0 0;
  font-size: var(--fs-3);
  line-height: 1.78;
  color: var(--muted);
}

.page-home .home-feed__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 22px;
}

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

.page-home .home-feed__card {
  padding: 20px;
  background: var(--panel);
}

.page-home .home-feed__card--team {
  background: linear-gradient(150deg, rgba(196, 80, 30, .18), rgba(29, 70, 59, .9) 46%);
}

.page-home .home-feed__card--city {
  background: linear-gradient(150deg, rgba(53, 211, 196, .12), rgba(29, 70, 59, .9) 42%);
}

.page-home .home-feed__tag {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: .1em;
  color: var(--gold);
}

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

.page-home .home-feed__list li {
  position: relative;
  padding-left: 16px;
  font-size: var(--fs-2);
  line-height: 1.6;
  color: var(--muted);
}

.page-home .home-feed__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  background: var(--orange);
  transform: rotate(45deg);
}

.page-home .home-feed__note {
  margin: 18px 0 0;
  font-size: var(--fs-2);
  color: var(--muted);
  border-left: 2px solid var(--orange);
  padding-left: 12px;
}

/* ===== 专栏 ===== */
.page-home .home-columns {
  padding: clamp(32px, 5vw, 60px) 0;
  background: var(--home-panel-glow), var(--bg-deep);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .home-columns__inner {
  display: grid;
  gap: 26px;
  align-items: start;
}

.page-home .home-columns__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin-top: 18px;
}

.page-home .home-columns__item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(29, 70, 59, .55);
}

.page-home .home-columns__tag {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: .08em;
  color: var(--cyan);
}

.page-home .home-columns__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--fs-5);
  line-height: 1.4;
  letter-spacing: .02em;
  color: var(--white);
}

.page-home .home-columns__excerpt {
  margin: 10px 0 0;
  font-size: var(--fs-2);
  line-height: 1.72;
  color: var(--muted);
}

.page-home .home-columns__meta {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: .04em;
  color: var(--line);
  color: #7d948b;
}

.page-home .home-columns__aside {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-home .home-columns__figure {
  margin: 0;
}

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

.page-home .home-columns__stats li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  font-size: var(--fs-2);
  color: var(--muted);
}

.page-home .home-columns__num {
  font-family: var(--font-mono);
  font-size: var(--fs-5);
  color: var(--gold);
}

/* ===== 版本 ===== */
.page-home .home-version {
  padding: clamp(32px, 5vw, 58px) 0;
}

.page-home .home-version__panel {
  display: grid;
  gap: 22px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(115deg, rgba(196, 80, 30, .16), rgba(20, 49, 42, .96) 42%),
    var(--bg-deep);
}

.page-home .home-version__copy p {
  max-width: 40em;
  margin: 12px 0 20px;
  font-size: var(--fs-3);
  line-height: 1.78;
  color: var(--muted);
}

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

.page-home .home-version__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  background: rgba(12, 31, 26, .6);
  flex-wrap: wrap;
}

.page-home .home-version__key {
  font-size: var(--fs-2);
  color: var(--white);
}

.page-home .home-version__val {
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: .04em;
  color: var(--cyan);
}

/* ===== 云南看台 ===== */
.page-home .home-yunnan {
  padding: clamp(30px, 5vw, 58px) 0;
}

.page-home .home-yunnan__grid {
  display: grid;
  gap: 22px;
  align-items: center;
}

.page-home .home-yunnan__figure {
  margin: 0;
}

.page-home .home-yunnan__copy p {
  max-width: 36em;
  margin: 12px 0 16px;
  font-size: var(--fs-3);
  line-height: 1.78;
  color: var(--muted);
}

.page-home .home-yunnan__list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.page-home .home-yunnan__list li {
  position: relative;
  padding-left: 16px;
  font-size: var(--fs-2);
  line-height: 1.65;
  color: var(--white);
}

.page-home .home-yunnan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.page-home .home-yunnan__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== 三条下一步 ===== */
.page-home .home-next {
  padding: clamp(28px, 5vw, 54px) 0 0;
}

.page-home .home-next__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-top: 18px;
}

.page-home .home-next__card {
  display: grid;
  gap: 6px;
  padding: 20px;
  text-decoration: none;
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(29, 70, 59, .7), rgba(12, 31, 26, .7));
  transition: transform .22s ease, border-color .22s ease;
}

.page-home .home-next__card:hover,
.page-home .home-next__card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--orange);
}

.page-home .home-next__num {
  font-family: var(--font-mono);
  font-size: var(--fs-2);
  letter-spacing: .12em;
  color: var(--orange);
}

.page-home .home-next__title {
  font-family: var(--font-serif);
  font-size: var(--fs-5);
  letter-spacing: .02em;
}

.page-home .home-next__text {
  font-size: var(--fs-2);
  line-height: 1.7;
  color: var(--muted);
}

.page-home .home-next__go {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: .08em;
  color: var(--cyan);
}

/* ===== 响应式 ===== */
@media (min-width: 720px) {
  .page-home .home-live__rail {
    padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  }

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

  .page-home .home-feed__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

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

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

  .page-home .home-columns__item:nth-child(2) {
    margin-top: 26px;
  }

  .page-home .home-version__panel {
    grid-template-columns: 1.25fr .9fr;
    align-items: center;
  }

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

@media (min-width: 960px) {
  .page-home .home-hero__inner {
    grid-template-columns: 5fr 7fr;
  }

  .page-home .home-hero__board {
    min-height: 430px;
  }

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

  .page-home .home-leagues {
    clip-path: polygon(0 34px, 100% 0, 100% 100%, 0 100%);
  }

  .page-home .home-columns__inner {
    grid-template-columns: 3fr 1.05fr;
    gap: 30px;
  }

  .page-home .home-yunnan__grid {
    grid-template-columns: 1.15fr .85fr;
    gap: 34px;
  }
}

@media (hover: none) {
  .page-home .home-league__season {
    max-height: 40px;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-status__dot,
  .page-home .score-num--base,
  .page-home .score-num--alt {
    animation: none;
  }

  .page-home .score-num--alt {
    display: none;
  }

  .page-home .home-next__card,
  .page-home .home-league__bar,
  .page-home .home-league__season {
    transition: none;
  }

  .page-home .home-next__card:hover,
  .page-home .home-next__card:focus-visible {
    transform: none;
  }
}
