.page-home {
  --ph-card: rgba(20, 50, 42, .82);
  --ph-card-deep: rgba(8, 17, 14, .62);
  --ph-glow: radial-gradient(56% 38% at 78% 0%, rgba(232, 181, 74, .20), transparent 70%);
  --ph-glow-2: radial-gradient(42% 32% at 10% 24%, rgba(78, 143, 107, .18), transparent 72%);
  display: block;
  background: var(--night);
  color: var(--cream);
  overflow-x: hidden;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  overflow-wrap: break-word;
}

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

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

.page-home .hero {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  background-image: var(--ph-glow), var(--ph-glow-2);
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--hair-soft);
}

.page-home .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.page-home .hero-side {
  order: 2;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.page-home .hero-main {
  order: 1;
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.6rem);
  align-content: start;
}

@media (min-width: 960px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
    gap: clamp(2rem, 3.5vw, 3.25rem);
    align-items: start;
  }
  .page-home .hero-side,
  .page-home .hero-main {
    order: 0;
  }
}

.page-home .side-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .28em;
  color: var(--gold);
}

.page-home .league-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .4rem;
}

.page-home .league-index li {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .85rem;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: rgba(8, 17, 14, .5);
  font-size: .86rem;
  color: var(--cream);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}

.page-home .league-index li:hover {
  border-color: var(--turf);
  background: rgba(47, 93, 74, .35);
}

.page-home .league-index .num {
  margin-left: auto;
  font-size: .74rem;
  color: var(--stone);
}

.page-home .dot {
  flex: none;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--turf);
}

.page-home .dot--gold { background: var(--gold); }
.page-home .dot--brick { background: var(--brick); }
.page-home .dot--moss { background: var(--moss); }
.page-home .dot--stone { background: var(--stone); }
.page-home .dot--amber { background: var(--amber); }

.page-home .hero-side-fig {
  margin: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
}

.page-home .hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.05rem, 6.6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--cream);
}

.page-home .hero-title-mark {
  display: inline-block;
  padding: .02em .3em .08em;
  border-radius: .32em;
  background: linear-gradient(180deg, rgba(232, 181, 74, .96), rgba(242, 163, 60, .86));
  color: var(--ink);
  transform: rotate(-1.2deg);
  box-shadow: 0 16px 32px -20px rgba(242, 163, 60, .95);
}

.page-home .hero-lead {
  margin: 0;
  max-width: 48ch;
  font-size: clamp(.98rem, 1.5vw, 1.06rem);
  line-height: 1.78;
  color: var(--text-soft);
}

.page-home .hero-shot {
  margin: 0;
}

.page-home .hero-steps {
  display: grid;
  gap: .75rem;
  counter-reset: ph-step;
}

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

.page-home .hero-step {
  position: relative;
  padding: 1.1rem 1.2rem 1.15rem 3.4rem;
  border-radius: var(--radius-m);
  border: 1px solid var(--hair);
  background: linear-gradient(160deg, rgba(47, 93, 74, .38), rgba(14, 31, 26, .72));
}

.page-home .hero-step::before {
  counter-increment: ph-step;
  content: counter(ph-step);
  position: absolute;
  left: 1.05rem;
  top: 1.1rem;
  width: 1.65rem;
  height: 1.65rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 700;
}

.page-home .hero-step strong {
  display: block;
  margin-bottom: .3rem;
  font-size: 1rem;
  color: var(--cream);
}

.page-home .hero-step p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.68;
  color: var(--text-soft);
}

.page-home .focus-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--stone);
}

.page-home .focus-row {
  display: grid;
  gap: .7rem;
}

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

.page-home .focus-card {
  display: grid;
  gap: .4rem;
  align-content: start;
  padding: 1rem 1.1rem 1.1rem;
  border-radius: var(--radius-m);
  border: 1px solid var(--hair-soft);
  background: var(--ph-card);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}

.page-home .focus-card:hover,
.page-home .focus-card:focus-within {
  border-color: rgba(242, 163, 60, .75);
  box-shadow: 0 0 0 1px rgba(242, 163, 60, .32), var(--shadow-lift);
  transform: translateY(-3px);
}

.page-home .focus-time {
  margin: .1rem 0 0;
  font-size: 1.5rem;
  color: var(--gold);
}

.page-home .focus-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
}

.page-home .focus-desc {
  margin: 0;
  font-size: .86rem;
  line-height: 1.68;
  color: var(--text-soft);
}

/* ---------- 联赛带 ---------- */

.page-home .league-band {
  padding: clamp(2.5rem, 6vw, 4.25rem) 0;
  background: linear-gradient(180deg,
    rgba(20, 50, 42, 0) 0%,
    rgba(20, 50, 42, .6) 16%,
    rgba(20, 50, 42, .6) 84%,
    rgba(20, 50, 42, 0) 100%);
}

.page-home .league-rows {
  display: grid;
  gap: .65rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

@media (min-width: 780px) {
  .page-home .league-rows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
  }
}

.page-home .league-row {
  display: grid;
  gap: .35rem;
  padding: 1rem 1.15rem 1.05rem;
  border-radius: var(--radius-m);
  border: 1px solid var(--hair-soft);
  border-left: 3px solid var(--turf);
  background: var(--ph-card-deep);
  transition: border-left-color .25s var(--ease), background-color .25s var(--ease);
}

.page-home .league-row:hover {
  background: rgba(20, 50, 42, .8);
}

.page-home .league-row:nth-child(2) { border-left-color: var(--gold); }
.page-home .league-row:nth-child(3) { border-left-color: var(--brick); }
.page-home .league-row:nth-child(4) { border-left-color: var(--moss); }
.page-home .league-row:nth-child(5) { border-left-color: var(--stone); }
.page-home .league-row:nth-child(6) { border-left-color: var(--amber); }

.page-home .league-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}

.page-home .league-row-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--cream);
}

.page-home .league-row-head .num {
  font-size: .82rem;
  color: var(--gold);
}

.page-home .league-row p {
  margin: 0;
  font-size: .87rem;
  line-height: 1.72;
  color: var(--text-soft);
}

.page-home .band-note {
  margin: 1.35rem 0 0;
  font-size: .87rem;
  line-height: 1.72;
  color: var(--stone);
}

/* ---------- 主客场对照 ---------- */

.page-home .compare {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.page-home .compare-shot {
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
}

.page-home .sec-head {
  display: grid;
  gap: .7rem;
  max-width: 64ch;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.page-home .sec-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.01em;
  color: var(--cream);
}

.page-home .sec-lead {
  margin: 0;
  font-size: .97rem;
  line-height: 1.78;
  color: var(--text-soft);
}

.page-home .compare-grid {
  display: grid;
  gap: .85rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 880px) {
  .page-home .compare-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .page-home .compare-card--home { grid-column: span 3; }
  .page-home .compare-card--away { grid-column: span 3; }
  .page-home .compare-card--goals { grid-column: span 2; }
  .page-home .compare-card--venue { grid-column: span 4; }
}

.page-home .compare-card {
  display: grid;
  gap: .5rem;
  align-content: start;
  padding: 1.25rem 1.3rem 1.35rem;
  border-radius: var(--radius-m);
  border: 1px solid var(--hair-soft);
  background: var(--ph-card);
  box-shadow: var(--shadow-lift);
}

.page-home .compare-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--turf);
}

.page-home .compare-strong {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  font-weight: 800;
  line-height: 1.24;
  color: var(--cream);
}

.page-home .compare-note {
  margin: 0;
  font-size: .88rem;
  line-height: 1.75;
  color: var(--text-soft);
}

/* ---------- 场馆入口 ---------- */

.page-home .venues {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background: linear-gradient(180deg, rgba(20, 50, 42, 0), rgba(14, 31, 26, .9));
}

.page-home .venue-grid {
  display: grid;
  gap: .85rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 860px) {
  .page-home .venue-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .page-home .venue-card--a { grid-column: span 3; }
  .page-home .venue-card--b { grid-column: span 3; }
  .page-home .venue-card--c { grid-column: span 2; }
  .page-home .venue-card--d { grid-column: span 4; }
}

.page-home .venue-card {
  display: grid;
  gap: .45rem;
  align-content: start;
  padding: 1.25rem 1.3rem 1.3rem;
  border-radius: var(--radius-m);
  border: 1px solid var(--hair-soft);
  background: linear-gradient(155deg, rgba(47, 93, 74, .32), rgba(8, 17, 14, .88));
  transition: border-color .25s var(--ease), transform .3s var(--ease);
}

.page-home .venue-card:hover {
  border-color: rgba(78, 143, 107, .55);
  transform: translateY(-2px);
}

.page-home .venue-index {
  font-size: .76rem;
  letter-spacing: .18em;
  color: var(--gold);
}

.page-home .venue-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--cream);
}

.page-home .venue-card p {
  margin: 0;
  font-size: .87rem;
  line-height: 1.75;
  color: var(--text-soft);
}

.page-home .venues-note {
  margin: 1.4rem 0 0;
  padding: .95rem 1.15rem;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  background: rgba(8, 17, 14, .52);
  font-size: .88rem;
  line-height: 1.75;
  color: var(--text-soft);
}

/* ---------- 编辑导读 ---------- */

.page-home .digest {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.page-home .digest-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.75rem);
}

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

.page-home .digest-intro {
  display: grid;
  gap: .85rem;
  align-content: start;
}

.page-home .digest-intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--cream);
}

.page-home .digest-intro p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.78;
  color: var(--text-soft);
}

.page-home .digest-intro .btn {
  justify-self: start;
  margin-top: .25rem;
}

.page-home .digest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.page-home .digest-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem .35rem;
  border-top: 1px solid var(--hair-soft);
  transition: background-color .25s var(--ease);
}

.page-home .digest-item:last-child {
  border-bottom: 1px solid var(--hair-soft);
}

.page-home .digest-item:hover {
  background: rgba(47, 93, 74, .14);
}

.page-home .digest-no {
  padding-top: .12rem;
  font-size: .95rem;
  color: var(--gold);
}

.page-home .digest-item h3 {
  margin: 0 0 .3rem;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--cream);
}

.page-home .digest-item p {
  margin: 0;
  font-size: .87rem;
  line-height: 1.72;
  color: var(--text-soft);
}

/* ---------- 三端同步 ---------- */

.page-home .sync {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background: linear-gradient(180deg, rgba(14, 31, 26, .82), rgba(8, 17, 14, .96));
}

.page-home .sync-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

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

.page-home .sync-main {
  display: grid;
  gap: .85rem;
  align-content: start;
}

.page-home .sync-main h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--cream);
}

.page-home .sync-main p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.page-home .sync-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: .35rem;
}

.page-home .sync-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .7rem;
}

.page-home .sync-item {
  display: grid;
  gap: .4rem;
  align-content: start;
  padding: 1rem 1.15rem 1.05rem;
  border-radius: var(--radius-m);
  border: 1px solid var(--hair-soft);
  background: rgba(20, 50, 42, .72);
}

.page-home .sync-item .tag {
  justify-self: start;
}

.page-home .sync-item p {
  margin: 0;
  font-size: .87rem;
  line-height: 1.72;
  color: var(--text-soft);
}

/* ---------- 结尾 ---------- */

.page-home .closer {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
}

.page-home .closer-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

@media (min-width: 900px) {
  .page-home .closer-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: center;
  }
}

.page-home .closer-shot {
  margin: 0;
}

.page-home .closer-copy {
  display: grid;
  gap: .9rem;
  align-content: start;
}

.page-home .closer-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.35rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.01em;
  color: var(--cream);
}

.page-home .closer-copy p {
  margin: 0;
  font-size: .94rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.page-home .closer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: .35rem;
}

@media (prefers-reduced-motion: reduce) {
  .page-home .focus-card,
  .page-home .venue-card,
  .page-home .league-row,
  .page-home .digest-item,
  .page-home .league-index li {
    transition-duration: .01ms;
  }
  .page-home .focus-card:hover,
  .page-home .venue-card:hover {
    transform: none;
  }
}
