.page-home {
  --home-hair: rgba(201, 184, 140, 0.28);
  --home-glass: rgba(47, 70, 48, 0.42);
  --home-deep-glass: rgba(240, 232, 214, 0.07);
  background: var(--c-sand-1);
  color: var(--c-ink);
  overflow-x: hidden;
}

/* ---------- 01 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  background:
    radial-gradient(130% 90% at 100% 0%, rgba(201, 184, 140, 0.55), transparent 62%),
    var(--c-sand-1);
}

.page-home .home-hero__split {
  position: relative;
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  isolation: isolate;
}

.page-home .home-hero__visual {
  position: relative;
  min-height: clamp(250px, 48vh, 440px);
  overflow: hidden;
  background: var(--c-deep);
}

.page-home .home-hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.5) contrast(1.08);
}

.page-home .home-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(155deg, rgba(22, 33, 26, 0.86) 0%, rgba(35, 51, 31, 0.5) 48%, rgba(232, 67, 28, 0.3) 100%);
  mix-blend-mode: multiply;
}

.page-home .home-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(201, 184, 140, 0.22) 0 1px, transparent 1px 30px);
}

.page-home .home-hero__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(32px, 7vw, 64px) var(--gutter) clamp(36px, 7vw, 72px);
}

.page-home .home-hero__kicker {
  color: var(--c-tac);
}

.page-home .home-hero__title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: clamp(36px, 9vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--c-ink);
}

.page-home .home-hero__lede {
  margin: 0;
  max-width: 36em;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.78;
  color: #2b3a2b;
}

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

@media (min-width: 900px) {
  .page-home .home-hero__split {
    grid-template-columns: 5fr 7fr;
    align-items: stretch;
    min-height: min(80vh, 680px);
  }

  .page-home .home-hero__visual {
    clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
    z-index: 2;
  }

  .page-home .home-hero__panel {
    padding-left: clamp(48px, 5vw, 84px);
    padding-right: clamp(24px, 3vw, 48px);
    justify-content: center;
  }
}

/* ---------- 比分刻度条 ---------- */
.page-home .home-scorebar {
  position: relative;
  background: var(--c-deep);
  border-top: 1px solid var(--home-hair);
  border-bottom: 1px solid var(--home-hair);
  overflow: hidden;
}

.page-home .home-scorebar__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.2;
}

.page-home .home-scorebar__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.35);
}

.page-home .home-scorebar__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: clamp(22px, 3vw, 34px) var(--gutter);
}

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

.page-home .home-scorebar__stamp {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(240, 232, 214, 0.55);
}

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

.page-home .home-score {
  position: relative;
  padding: 14px 16px 16px;
  background: var(--home-deep-glass);
  border: 1px solid var(--home-hair);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.page-home .home-score:hover,
.page-home .home-score:focus-within {
  border-color: var(--c-hot);
  background: rgba(240, 232, 214, 0.12);
}

.page-home .home-score__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--c-sand);
}

.page-home .home-score__stage {
  color: rgba(110, 129, 150, 0.95);
}

.page-home .home-score__line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 12px;
}

.page-home .home-score__team {
  flex: 1;
  font-size: 14px;
  color: rgba(240, 232, 214, 0.78);
}

.page-home .home-score__team--away {
  text-align: right;
}

.page-home .home-score__val {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-ivory);
  white-space: nowrap;
}

.page-home .home-score__bar {
  position: relative;
  display: block;
  height: 6px;
  background: rgba(201, 184, 140, 0.2);
  overflow: hidden;
}

.page-home .home-score__bar > span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--pct, 50%);
  background: linear-gradient(90deg, var(--c-orange), var(--c-hot));
}

.page-home .home-score__stats {
  list-style: none;
  margin: 12px 0 0;
  padding: 10px 0 0;
  border-top: 1px dashed rgba(201, 184, 140, 0.32);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-sand);
}

.page-home .home-score:hover .home-score__stats,
.page-home .home-score:focus-within .home-score__stats {
  border-top-color: rgba(255, 107, 61, 0.55);
  color: var(--c-hot);
}

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

@media (min-width: 1080px) {
  .page-home .home-scorebar__list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- 02 赛后数据 ---------- */
.page-home .home-snapshot {
  background: var(--c-ivory);
}

.page-home .home-snapshot__head {
  max-width: 62ch;
}

.page-home .home-snapshot__head .cmp-heading {
  margin-top: 14px;
  margin-bottom: 16px;
}

.page-home .home-snapshot__grid {
  margin-top: clamp(26px, 4vw, 48px);
}

.page-home .home-panel {
  border: 1px solid var(--c-sand);
  background: var(--c-sand-1);
  padding: clamp(20px, 3vw, 32px);
}

.page-home .home-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--c-steel);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(201, 184, 140, 0.5);
}

.page-home .home-panel__status {
  color: var(--c-orange);
}

.page-home .home-panel__score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  padding: clamp(20px, 3vw, 32px) 0;
}

.page-home .home-panel__side {
  font-size: 15px;
  color: var(--c-steel);
}

.page-home .home-panel__side--away {
  text-align: right;
}

.page-home .home-panel__digit {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
  line-height: 1;
  color: var(--c-ink);
}

.page-home .home-panel__sep {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 34px);
  color: var(--c-sand);
}

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

.page-home .home-compare {
  display: grid;
  grid-template-columns: 5.5em 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(16, 20, 19, 0.08);
}

.page-home .home-compare__label {
  font-size: 13px;
  color: var(--c-steel);
  white-space: nowrap;
}

.page-home .home-compare__track {
  position: relative;
  display: block;
  height: 8px;
  background: rgba(110, 129, 150, 0.18);
  overflow: hidden;
}

.page-home .home-compare__track i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--w, 50%);
  background: linear-gradient(90deg, var(--c-tac), var(--c-orange));
}

.page-home .home-compare__num {
  font-size: 13px;
  color: var(--c-ink);
  white-space: nowrap;
}

.page-home .home-timeline {
  list-style: none;
  margin: 22px 0 0;
  padding: 0 0 0 18px;
  position: relative;
}

.page-home .home-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--c-sand) 0 6px, transparent 6px 13px);
}

.page-home .home-timeline__item {
  display: grid;
  grid-template-columns: 3.4em 1fr auto;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
}

.page-home .home-timeline__t {
  font-size: 14px;
  color: var(--c-orange);
}

.page-home .home-timeline__txt {
  color: var(--c-ink);
}

.page-home .home-timeline__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border: 1px solid rgba(201, 184, 140, 0.7);
  color: var(--c-steel);
  white-space: nowrap;
}

.page-home .home-snapshot__aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-home .home-aside__block {
  border-left: 2px solid var(--c-sand);
  padding-left: 18px;
}

.page-home .home-aside__title {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 800;
  color: var(--c-ink);
}

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

.page-home .home-aside__list li {
  font-size: 15px;
  line-height: 1.7;
  color: #3a4a3a;
  display: grid;
  gap: 2px;
}

.page-home .home-aside__list .cmp-num {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--c-teal);
}

.page-home .home-aside__link {
  align-self: flex-start;
  font-size: 15px;
  color: var(--c-orange);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.page-home .home-aside__link:hover {
  color: var(--c-hot);
}

/* ---------- 03 回看集锦 ---------- */
.page-home .home-reels {
  background: var(--c-sand-1);
}

.page-home .home-reels__head {
  max-width: 62ch;
}

.page-home .home-reels__head .cmp-heading {
  margin-top: 14px;
  margin-bottom: 16px;
}

.page-home .home-reels__filters {
  margin-top: 26px;
}

.page-home .home-reels__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 26px;
}

.page-home .home-reel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  background: var(--c-ivory);
  border: 1px solid var(--c-sand);
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.page-home .home-reel:hover {
  border-color: var(--c-orange);
  transform: translateY(-3px);
}

.page-home .home-reel[hidden] {
  display: none;
}

.page-home .home-reel--lead {
  padding: 0;
  overflow: hidden;
}

.page-home .home-reel__media {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-deep);
}

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

.page-home .home-reel__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.page-home .home-reel__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--c-steel);
}

.page-home .home-reel__type {
  color: var(--c-orange);
}

.page-home .home-reel__title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--c-ink);
}

.page-home .home-reel__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #3a4a3a;
}

.page-home .home-reel__foot {
  margin: auto 0 0;
  padding-top: 10px;
  border-top: 1px dashed rgba(201, 184, 140, 0.7);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-steel);
}

@media (min-width: 860px) {
  .page-home .home-reels__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .home-reel--lead {
    grid-column: span 2;
  }
}

/* ---------- 04 联赛刻度 ---------- */
.page-home .home-leagues {
  position: relative;
  padding-block: clamp(48px, 6vw, 96px);
  background:
    repeating-linear-gradient(90deg, rgba(201, 184, 140, 0.5) 0 1px, transparent 1px 64px) top left / 100% 14px no-repeat,
    var(--c-ivory);
  border-top: 1px solid rgba(201, 184, 140, 0.6);
  border-bottom: 1px solid rgba(201, 184, 140, 0.6);
}

.page-home .home-leagues__head {
  max-width: 62ch;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.page-home .home-leagues__head .cmp-heading {
  margin-top: 14px;
  margin-bottom: 14px;
}

.page-home .home-leagues__note {
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  color: #3a4a3a;
}

.page-home .home-leagues__note a {
  color: var(--c-orange);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.page-home .home-leagues__track {
  list-style: none;
  margin: 0;
  padding: 0 0 10px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-home .home-league {
  scroll-snap-align: start;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--c-sand-1);
  border: 1px solid var(--c-sand);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 15px;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.page-home .home-league__no {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--c-steel);
}

.page-home .home-league:hover {
  border-color: var(--c-orange);
}

.page-home .home-league[aria-pressed="true"] {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: var(--c-ivory);
}

.page-home .home-league[aria-pressed="true"] .home-league__no {
  color: rgba(251, 249, 243, 0.8);
}

@media (min-width: 960px) {
  .page-home .home-leagues__track {
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0;
  }
}

/* ---------- 05 往期资料 ---------- */
.page-home .home-past {
  position: relative;
  padding-block: var(--band);
  background: var(--c-deep);
}

.page-home .home-past__glass {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(24px, 4vw, 52px);
  background: var(--home-glass);
  border: 1px solid rgba(201, 184, 140, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

.page-home .home-past__glass::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(201, 184, 140, 0.1) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(201, 184, 140, 0.08) 0 1px, transparent 1px 26px);
}

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

.page-home .home-past__title {
  margin: 14px 0 14px;
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.25;
  color: var(--c-ivory);
}

.page-home .home-past__lede {
  margin: 0;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(240, 232, 214, 0.82);
}

.page-home .home-past__steps {
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-past__steps li {
  display: grid;
  grid-template-columns: 2.6em 1fr;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 11px;
  border-bottom: 1px dashed rgba(201, 184, 140, 0.28);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(240, 232, 214, 0.9);
}

.page-home .home-past__step {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--c-hot);
}

.page-home .home-past__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  align-self: center;
}

.page-home .home-past__figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(201, 184, 140, 0.3);
}

@media (min-width: 900px) {
  .page-home .home-past__glass {
    grid-template-columns: 7fr 5fr;
    align-items: center;
  }
}

/* ---------- 06 收藏与回访 ---------- */
.page-home .home-saved {
  background: var(--c-sand-1);
}

.page-home .home-saved__grid {
  align-items: start;
}

.page-home .home-saved__grid .cmp-heading {
  margin-top: 14px;
  margin-bottom: 16px;
}

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

.page-home .home-saved__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--c-sand);
}

.page-home .home-saved__item {
  display: grid;
  grid-template-columns: 2.6em 1fr auto;
  align-items: baseline;
  gap: 12px;
  min-height: 48px;
  padding: 14px 8px;
  border-bottom: 1px solid rgba(201, 184, 140, 0.55);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.page-home .home-saved__item:hover {
  background: rgba(201, 184, 140, 0.28);
  transform: translateX(4px);
}

.page-home .home-saved__key {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--c-orange);
}

.page-home .home-saved__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-ink);
}

.page-home .home-saved__hint {
  font-size: 13px;
  color: var(--c-steel);
}

/* ---------- 07 疑问出口 ---------- */
.page-home .home-help {
  padding-block: var(--band);
  background: var(--c-tac);
  color: var(--c-ivory);
}

.page-home .home-help .cmp-label {
  color: var(--c-sand);
}

.page-home .home-help .cmp-heading {
  color: var(--c-ivory);
  margin-top: 14px;
}

.page-home .home-help__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: clamp(24px, 3vw, 40px);
}

.page-home .home-help__card {
  display: grid;
  gap: 8px;
  padding: clamp(20px, 3vw, 30px);
  text-decoration: none;
  color: inherit;
  background: rgba(240, 232, 214, 0.05);
  border: 1px solid rgba(201, 184, 140, 0.35);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.page-home .home-help__card:hover {
  border-color: var(--c-hot);
  background: rgba(240, 232, 214, 0.1);
}

.page-home .home-help__no {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--c-hot);
}

.page-home .home-help__title {
  font-size: 21px;
  font-weight: 800;
  color: var(--c-ivory);
}

.page-home .home-help__desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(240, 232, 214, 0.78);
}

.page-home .home-help__go {
  margin-top: 6px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--c-hot);
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .home-reel,
  .page-home .home-saved__item,
  .page-home .home-score {
    transition: none;
  }

  .page-home .home-reel:hover {
    transform: none;
  }
}

.page-home {
  --pct: 1rem;
  --w: 1rem;
}
