/* =========================================================
   顺发体育 · 首页 page-home
   ========================================================= */

.page-home {
  --home-line: rgba(245, 242, 236, .12);
  --home-line-strong: rgba(245, 242, 236, .26);
  --home-blue: 48px;
  --home-text-dark: #1A1C20;
  --home-text-dark-soft: #4A4F58;
  background: var(--ink);
  color: var(--paper);
  overflow-x: hidden;
}

.page-home a:focus-visible,
.page-home button:focus-visible,
.page-home [tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ---------- 通用小节头部 ---------- */

.page-home .home-sec-head {
  max-width: 64ch;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.page-home .home-sec-head .sf-h2 {
  margin: 12px 0 0;
  color: var(--white);
}

.page-home .home-sec-desc {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray);
}

/* ---------- 首屏 ---------- */

.page-home .home-hero {
  position: relative;
  padding: clamp(26px, 4vw, 48px) 0 clamp(64px, 8vw, 108px);
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg, var(--home-line) 1px, transparent 1px),
    linear-gradient(var(--home-line) 1px, transparent 1px);
  background-size: var(--home-blue) var(--home-blue);
  background-position: top left;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(30px, 4vw, 46px);
  background: var(--red-deep);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
}

/* 状态摘要条 */

.page-home .home-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  padding: 14px 18px;
  margin-bottom: clamp(30px, 5vw, 56px);
  background: linear-gradient(90deg, rgba(227, 22, 43, .18), rgba(35, 38, 44, .92) 46%);
  border: var(--edge) solid var(--graphite);
  border-left: 6px solid var(--red);
  box-shadow: var(--shadow-hard-sm);
}

.page-home .home-status__text {
  margin: 0;
  flex: 1 1 220px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--paper);
}

.page-home .home-status__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-pulse {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  animation: home-pulse 1.6s infinite;
}

@keyframes home-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(227, 22, 43, .7); }
  70%  { box-shadow: 0 0 0 12px rgba(227, 22, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(227, 22, 43, 0); }
}

/* 首屏非对称分栏 */

.page-home .home-hero__wrap {
  display: grid;
  gap: clamp(30px, 4vw, 48px);
}

.page-home .home-hero__title {
  margin: clamp(14px, 2vw, 22px) 0 0;
  color: var(--white);
}

.page-home .home-hero__lead {
  margin: clamp(18px, 2.4vw, 26px) 0 0;
  max-width: 34ch;
  color: rgba(245, 242, 236, .78);
}

.page-home .home-hero__hint {
  margin: clamp(20px, 2.6vw, 30px) 0 0;
}

.page-home .home-hero__hint-link {
  display: inline-block;
  padding-bottom: 3px;
  font-size: 15px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 2px solid rgba(34, 224, 200, .45);
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.page-home .home-hero__hint-link:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

.page-home .home-hero__side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .home-hero__media {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: var(--edge) solid var(--graphite);
  box-shadow: var(--shadow-hard-lg);
  background: var(--turf);
}

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

/* 记分牌 */

.page-home .home-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: var(--edge) solid var(--graphite);
  background: var(--turf);
  box-shadow: var(--shadow-hard);
}

.page-home .home-board__cell {
  padding: 16px 10px 18px;
  border-right: 1px solid var(--home-line);
}

.page-home .home-board__cell:last-child {
  border-right: 0;
}

.page-home .home-board__num {
  display: block;
  font-family: var(--font-data);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.4rem, 4.2vw, 1.9rem);
  line-height: 1;
  color: var(--white);
}

.page-home .home-board__label {
  display: block;
  margin-top: 9px;
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: .08em;
  color: var(--gray);
}

/* ---------- 赛事日历 ---------- */

.page-home .home-calendar {
  padding: clamp(44px, 6vw, 84px) 0 clamp(42px, 6vw, 76px);
  background: var(--graphite);
}

.page-home .home-track-stage {
  position: relative;
  overflow: hidden;
  border-top: var(--edge) solid var(--red);
  border-bottom: var(--edge) solid var(--ink);
}

.page-home .home-track-stage__tex {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: .18;
  pointer-events: none;
}

.page-home .home-track {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: stretch;
  padding: 28px var(--gutter) 34px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--red) rgba(245, 242, 236, .1);
}

.page-home .home-fixture {
  flex: 0 0 min(80vw, 288px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px 22px;
  scroll-snap-align: start;
  background: var(--ink);
  border: var(--edge) solid rgba(245, 242, 236, .2);
  box-shadow: var(--shadow-hard);
}

.page-home .home-fixture__day {
  margin: 0;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--red);
}

.page-home .home-fixture__time {
  margin: 0;
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.05;
  color: var(--white);
}

.page-home .home-fixture__meta {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray);
}

.page-home .home-fixture__link {
  margin-top: auto;
  padding-top: 14px;
  font-size: 14px;
  color: var(--cyan);
  text-decoration: none;
  border-top: 1px solid var(--home-line);
  transition: color var(--dur-fast) var(--ease);
}

.page-home .home-fixture__link:hover {
  color: var(--white);
}

.page-home .home-calendar__foot {
  margin: clamp(26px, 4vw, 38px) 0 0;
  font-size: 15px;
  color: var(--gray);
}

.page-home .home-calendar__foot a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 176, 32, .5);
}

.page-home .home-calendar__foot a:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* ---------- 三类内容卡流 ---------- */

.page-home .home-flux {
  padding: clamp(44px, 6vw, 84px) 0 clamp(48px, 6vw, 88px);
  background: var(--ink);
  background-image:
    linear-gradient(90deg, rgba(245, 242, 236, .06) 1px, transparent 1px),
    linear-gradient(rgba(245, 242, 236, .06) 1px, transparent 1px);
  background-size: 64px 64px;
}

.page-home .home-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(22px, 3vw, 32px);
}

.page-home .home-filter__btn {
  appearance: none;
  font: inherit;
  font-size: 13px;
  letter-spacing: .08em;
  padding: 9px 18px;
  background: transparent;
  color: var(--paper);
  border: 2px solid var(--home-line-strong);
  cursor: pointer;
  transition:
    background var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
}

.page-home .home-filter__btn:hover {
  border-color: var(--paper);
  transform: translateY(-2px);
}

.page-home .home-filter__btn.is-active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.page-home .home-filter__btn--injury.is-active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
}

.page-home .home-filter__btn--replay.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

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

.page-home .home-flux__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 20px 20px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.page-home .home-flux__item::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, var(--red));
  animation: home-pulse 1.6s infinite;
}

.page-home .home-flux__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hard-lg);
}

.page-home .home-flux__item.is-filtered-out {
  display: none;
}

.page-home .home-flux__title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--white);
}

.page-home .home-flux__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(245, 242, 236, .74);
}

.page-home .home-flux__link {
  margin-top: auto;
  padding-top: 14px;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--cyan);
  text-decoration: none;
  border-top: 1px solid var(--home-line);
  transition: color var(--dur-fast) var(--ease);
}

.page-home .home-flux__link:hover {
  color: var(--white);
}

/* ---------- 三步上手 ---------- */

.page-home .home-start {
  padding: clamp(46px, 6vw, 88px) 0;
  background: var(--paper);
  color: var(--home-text-dark);
}

.page-home .home-start__wrap {
  display: grid;
  gap: clamp(30px, 4vw, 52px);
}

.page-home .home-start .sf-index {
  color: #6B7078;
}

.page-home .home-start .sf-h2 {
  margin: 12px 0 0;
  color: var(--home-text-dark);
}

.page-home .home-start__desc {
  color: var(--home-text-dark-soft);
}

.page-home .home-start__list {
  margin: clamp(26px, 4vw, 38px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 3px solid var(--home-text-dark);
}

.page-home .home-start__step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(26, 28, 32, .18);
}

.page-home .home-start__num {
  font-family: var(--font-data);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  line-height: 1;
  color: var(--red);
}

.page-home .home-start__step-body .sf-h3 {
  margin: 0 0 8px;
  color: var(--home-text-dark);
}

.page-home .home-start__step-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--home-text-dark-soft);
}

.page-home .home-start__media {
  margin: 0;
  border: var(--edge) solid var(--home-text-dark);
  box-shadow: 12px 12px 0 0 rgba(26, 28, 32, .16);
  background: var(--turf);
}

.page-home .home-start__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.page-home .home-start__cap {
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(245, 242, 236, .82);
  background: var(--turf);
}

/* ---------- 家庭看球 ---------- */

.page-home .home-family {
  padding: clamp(46px, 6vw, 88px) 0;
  background: var(--turf);
}

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

.page-home .home-family__media {
  margin: 0;
  border: var(--edge) solid rgba(245, 242, 236, .24);
  box-shadow: var(--shadow-hard-lg);
  overflow: hidden;
}

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

.page-home .home-family .sf-h2 {
  margin: 12px 0 0;
  color: var(--white);
}

.page-home .home-family__desc {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(245, 242, 236, .8);
}

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

.page-home .home-family__list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(245, 242, 236, .9);
}

.page-home .home-family__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 10px;
  height: 2px;
  background: var(--gold);
}

.page-home .home-family .sf-btn {
  margin-top: 28px;
}

/* ---------- 疑问出口 ---------- */

.page-home .home-help {
  padding: clamp(46px, 6vw, 80px) 0 clamp(56px, 7vw, 100px);
  background: var(--ink);
}

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

.page-home .home-help__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
  text-decoration: none;
  background: var(--graphite);
  border: var(--edge) solid rgba(245, 242, 236, .16);
  box-shadow: var(--shadow-hard);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.page-home .home-help__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hard-lg);
  border-color: var(--cyan);
}

.page-home .home-help__card-title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--white);
}

.page-home .home-help__card-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(245, 242, 236, .74);
}

.page-home .home-help__go {
  margin-top: auto;
  padding-top: 12px;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--cyan);
  border-top: 1px solid var(--home-line);
}

.page-home .home-help__note {
  margin: clamp(28px, 4vw, 42px) 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray);
}

.page-home .home-help__note a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 176, 32, .5);
}

.page-home .home-help__note a:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* ---------- 桌面端栅格 ---------- */

@media (min-width: 760px) {
  .page-home .home-flux__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 900px) {
  .page-home .home-hero__wrap {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }

  .page-home .home-hero__media {
    aspect-ratio: 3 / 4;
  }

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

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

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

/* ---------- 降级与动效偏好 ---------- */

@media (prefers-reduced-motion: reduce) {
  .page-home .home-pulse,
  .page-home .home-flux__item::after {
    animation: none;
  }

  .page-home .home-fixture,
  .page-home .home-flux__item,
  .page-home .home-help__card,
  .page-home .home-filter__btn {
    transition: none;
  }

  .page-home .home-flux__item:hover,
  .page-home .home-help__card:hover,
  .page-home .home-filter__btn:hover {
    transform: none;
  }
}
<<<END>>>
