.page-home {
  --ph-shadow-sm: 6px 6px 0 var(--midnight);
  --ph-shadow: 10px 10px 0 var(--midnight);
  --ph-shadow-lg: 14px 14px 0 rgba(0, 0, 0, 0.35);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-text);
  overflow-x: hidden;
}

/* ===== 封面专题首屏 ===== */
.page-home .ph-cover {
  background: var(--midnight);
  color: var(--white);
  padding: 48px 0 80px;
  border-bottom: 8px solid var(--gold);
  position: relative;
}

.page-home .ph-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.page-home .ph-cover__inner {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-home .ph-cover .mbx-kicker--light {
  margin-bottom: 16px;
}

.page-home .ph-cover__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 5.1rem);
  line-height: 1.04;
  margin: 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.page-home .ph-cover__lead {
  margin: 24px 0 0;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
  max-width: 56ch;
  border-left: 4px solid var(--gold);
  padding-left: 16px;
}

.page-home .ph-cover__index {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.page-home .ph-cover__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-num);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 10px 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.page-home .ph-cover__link span {
  color: var(--champagne);
  font-weight: 700;
}

.page-home .ph-cover__link:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--midnight);
}

.page-home .ph-cover__link:hover span {
  color: var(--midnight);
}

.page-home .ph-cover__media {
  margin: 0;
  border: 4px solid var(--gold);
  box-shadow: var(--ph-shadow-lg);
  position: relative;
}

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

.page-home .ph-cover__media figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--pitch);
  color: var(--white);
  font-family: var(--font-num);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  padding: 8px 14px;
}

/* ===== 01 实时战报大屏 ===== */
.page-home .ph-live {
  background: var(--mist);
  padding: 72px 0 64px;
  position: relative;
}

.page-home .ph-live .mbx-sec-title {
  margin-top: 12px;
}

.page-home .ph-live__desc {
  margin: 16px 0 28px;
  max-width: 72ch;
  color: #46586C;
  line-height: 1.75;
}

.page-home .ph-live__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0 28px;
}

.page-home .ph-live__stat {
  background: var(--white);
  border: 2px solid var(--midnight);
  box-shadow: 4px 4px 0 var(--midnight);
  padding: 14px 10px;
  text-align: center;
}

.page-home .ph-live__stat-num {
  font-family: var(--font-num);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--midnight);
  display: block;
  line-height: 1;
}

.page-home .ph-live__stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #46586C;
}

.page-home .ph-live__wrap {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 0 12px;
  scrollbar-color: var(--gold) var(--mist);
}

.page-home .ph-score-card {
  flex: 0 0 250px;
  background: var(--white);
  border: 3px solid var(--midnight);
  box-shadow: var(--ph-shadow-sm);
  padding: 20px;
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.page-home .ph-score-card:hover {
  box-shadow: 10px 10px 0 var(--midnight);
  transform: translate(-2px, -2px);
}

.page-home .ph-score-card:active {
  transform: translate(4px, 4px);
  box-shadow: 2px 2px 0 var(--midnight);
}

.page-home .ph-score-card .mbx-tag--live {
  position: absolute;
  top: -12px;
  right: 14px;
}

.page-home .ph-score-card__league {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pitch-deep);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 12px 0 12px;
}

.page-home .ph-score-card__score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.85rem;
  margin: 0;
  color: var(--midnight);
  line-height: 1;
  flex-wrap: wrap;
}

.page-home .ph-score-card__score span {
  font-family: var(--font-text);
  font-size: 0.88rem;
  font-weight: 700;
}

.page-home .ph-score-card__score strong {
  font-size: 2.1rem;
  line-height: 1;
}

.page-home .ph-score-card__score em {
  font-style: normal;
  font-size: 1.4rem;
  color: var(--gold);
}

.page-home .ph-score-card__meta {
  font-family: var(--font-num);
  font-size: 0.76rem;
  color: #46586C;
  margin: 14px 0 0;
  padding-top: 10px;
  border-top: 1px dashed #C9D2DE;
}

.page-home .ph-live__footnote {
  margin-top: 12px;
  font-family: var(--font-num);
  font-size: 0.85rem;
  color: #46586C;
  border-left: 3px solid var(--gold);
  padding-left: 14px;
  max-width: 64ch;
}

/* ===== 02 进失球分布热区 ===== */
.page-home .ph-goals {
  padding: 80px 0;
  background: var(--white);
}

.page-home .ph-goals__inner {
  display: grid;
  gap: 32px;
}

.page-home .ph-goals__desc {
  max-width: 60ch;
  line-height: 1.75;
  color: #46586C;
  margin: 16px 0 24px;
}

.page-home .ph-goals__chartbox {
  border: 3px solid var(--midnight);
  background: var(--mist);
  padding: 20px;
  box-shadow: var(--ph-shadow-sm);
}

.page-home .ph-goals__chartbox svg {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .ph-goals__note {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 20px 0 0;
}

.page-home .ph-goals__note li {
  background: var(--mist);
  border: 2px solid var(--midnight);
  padding: 8px 14px;
  font-family: var(--font-num);
  font-size: 0.82rem;
  color: var(--midnight);
}

.page-home .ph-goals__note b {
  color: var(--pitch-deep);
  margin-right: 6px;
}

.page-home .ph-goals__figure {
  margin: 0;
  border: 3px solid var(--midnight);
  box-shadow: var(--ph-shadow);
  position: relative;
}

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

.page-home .ph-goals__figure figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--midnight);
  color: var(--champagne);
  font-family: var(--font-num);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 8px 14px;
}

/* ===== 03 射门统计面板 ===== */
.page-home .ph-shooting {
  background: var(--pitch);
  color: var(--midnight);
  border-top: 8px solid var(--midnight);
  border-bottom: 8px solid var(--midnight);
  padding: 80px 0;
  position: relative;
}

.page-home .ph-shooting::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 30, 54, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 30, 54, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.page-home .ph-shooting__inner {
  position: relative;
  display: grid;
  gap: 40px;
}

.page-home .ph-shooting__desc {
  color: rgba(11, 30, 54, 0.78);
  max-width: 54ch;
  line-height: 1.7;
  margin: 16px 0 24px;
}

.page-home .ph-shoot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.page-home .ph-statbox {
  background: var(--white);
  border: 3px solid var(--midnight);
  box-shadow: 8px 8px 0 var(--midnight);
  padding: 22px 16px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .ph-statbox:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 var(--midnight);
}

.page-home .ph-statbox__num {
  font-family: var(--font-num);
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--midnight);
  line-height: 1;
  display: block;
}

.page-home .ph-statbox__label {
  display: block;
  margin-top: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pitch-deep);
  font-weight: 700;
}

.page-home .ph-shooting__side {
  display: grid;
  gap: 24px;
}

.page-home .ph-shooting__figure {
  margin: 0;
  border: 3px solid var(--midnight);
  box-shadow: 10px 10px 0 var(--midnight);
  position: relative;
}

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

.page-home .ph-shooting__figure figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--midnight);
  color: var(--champagne);
  font-family: var(--font-num);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 8px 14px;
}

/* ===== 04 历史赛季检索 ===== */
.page-home .ph-archive {
  background: var(--midnight);
  color: var(--white);
  padding: 80px 0;
}

.page-home .ph-archive__desc {
  color: rgba(255, 255, 255, 0.7);
  max-width: 60ch;
  line-height: 1.7;
  margin: 16px 0 28px;
}

.page-home .ph-archive__teams {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}

.page-home .ph-archive__team {
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.2s ease;
}

.page-home .ph-archive__team[open] {
  border-color: var(--gold);
}

.page-home .ph-archive__team summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  cursor: pointer;
  padding: 16px 18px;
  list-style: none;
}

.page-home .ph-archive__team summary::-webkit-details-marker {
  display: none;
}

.page-home .ph-archive__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.page-home .ph-archive__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page-home .ph-archive__range {
  font-family: var(--font-num);
  font-size: 0.78rem;
  color: var(--champagne);
  border: 1px solid var(--gold);
  padding: 4px 10px;
}

.page-home .ph-archive__matches {
  list-style: none;
  margin: 0;
  padding: 0 18px 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
}

.page-home .ph-archive__matches li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
  line-height: 1.5;
}

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

.page-home .ph-archive__matches b {
  font-family: var(--font-num);
  color: var(--champagne);
  font-weight: 600;
}

.page-home .ph-archive__matches span {
  font-family: var(--font-num);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.page-home .ph-archive__figure {
  margin: 0;
  border: 3px solid var(--gold);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.4);
  position: relative;
}

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

.page-home .ph-archive__figure figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--gold);
  color: var(--midnight);
  font-family: var(--font-num);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 8px 14px;
}

/* ===== 05 赛事导航入口 ===== */
.page-home .ph-nav {
  padding: 80px 0;
  background: var(--white);
}

.page-home .ph-nav__desc {
  margin: 16px 0 32px;
  color: #46586C;
  max-width: 56ch;
  line-height: 1.7;
}

.page-home .ph-doors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.page-home .ph-door {
  display: block;
  background: var(--white);
  border: 3px solid var(--midnight);
  box-shadow: 8px 8px 0 var(--midnight);
  padding: 26px 22px;
  text-decoration: none;
  color: var(--midnight);
  transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.page-home .ph-door:hover {
  box-shadow: 12px 12px 0 var(--pitch);
  transform: translate(-2px, -2px);
  background: var(--mist);
}

.page-home .ph-door__num {
  font-family: var(--font-num);
  font-size: 0.85rem;
  color: var(--gold);
  display: block;
  border-bottom: 3px solid var(--gold);
  width: 46px;
  padding-bottom: 6px;
  margin-bottom: 16px;
}

.page-home .ph-door__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  display: block;
  line-height: 1.15;
}

.page-home .ph-door__desc {
  font-size: 0.88rem;
  color: #46586C;
  display: block;
  margin-top: 8px;
  line-height: 1.5;
}

/* ===== 浮现动画（渐进增强） ===== */
.page-home .ph-live__wrap[data-revealed] .ph-score-card,
.page-home .ph-shoot-grid[data-revealed] .ph-statbox,
.page-home .ph-archive__teams[data-revealed] .ph-archive__team,
.page-home .ph-doors[data-revealed] .ph-door {
  animation: ph-rise 0.5s ease both;
}

@keyframes ph-rise {
  from {
    opacity: 0.6;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .ph-live__wrap[data-revealed] .ph-score-card,
  .page-home .ph-shoot-grid[data-revealed] .ph-statbox,
  .page-home .ph-archive__teams[data-revealed] .ph-archive__team,
  .page-home .ph-doors[data-revealed] .ph-door {
    animation: none;
  }
}

/* ===== 响应式：平板与桌面 ===== */
@media (min-width: 768px) {
  .page-home .ph-live__stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .ph-goals__note li {
    padding: 10px 18px;
  }

  .page-home .ph-shoot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .page-home .ph-cover {
    padding: 72px 0 104px;
  }

  .page-home .ph-cover__inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }

  .page-home .ph-live__wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    padding: 4px 0 12px;
  }

  .page-home .ph-score-card {
    flex: none;
  }

  .page-home .ph-goals__inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .page-home .ph-shooting__inner {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }

  .page-home .ph-shoot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .ph-archive__teams {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .page-home .ph-doors {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .page-home .ph-door {
    min-height: 180px;
    padding: 28px 24px;
  }
}

@media (min-width: 1240px) {
  .page-home .ph-doors {
    grid-template-columns: repeat(5, 1fr);
  }

  .page-home .ph-door {
    min-height: 200px;
  }

  .page-home .ph-cover__title {
    font-size: 5.1rem;
  }
}
