.page-home {
  --home-radius: 0;
  --home-hair: 1px solid var(--c-line);
  --home-ease: var(--ease);
  background: var(--c-space);
  color: var(--c-white);
}

/* ---------- 首屏 ---------- */
.page-home .hero-orbit {
  position: relative;
  padding: clamp(52px, 7vw, 96px) 0 clamp(56px, 7vw, 104px);
  overflow: hidden;
}

.page-home .hero-orbit::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 560px at 78% 10%, rgba(79, 195, 217, 0.11), transparent 62%),
    radial-gradient(900px 520px at 8% 92%, rgba(242, 193, 78, 0.08), transparent 60%),
    radial-gradient(rgba(167, 176, 204, 0.16) 1px, transparent 1px);
  background-size: auto, auto, 26px 26px;
  pointer-events: none;
}

.page-home .context-bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: clamp(26px, 3.4vw, 44px);
  border-bottom: var(--home-hair);
  font-size: 13px;
  color: var(--c-muted);
}

.page-home .context-bar__brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-white);
}

.page-home .context-bar__sep {
  width: 30px;
  height: 1px;
  background: var(--c-gold);
}

.page-home .context-bar__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-home .context-bar__ver {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--c-gold);
}

.page-home .orbit-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 4vw, 48px);
}

/* 左侧球队轨道 */
.page-home .team-rail {
  position: relative;
  padding: 22px 20px 20px;
  background: linear-gradient(180deg, rgba(22, 32, 74, 0.94), rgba(11, 18, 48, 0.7));
  border: var(--home-hair);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.page-home .team-rail__title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.page-home .team-rail__note {
  margin: 8px 0 16px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--c-muted);
}

.page-home .team-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-home .team-chip {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  grid-template-areas:
    "idx top score"
    "idx sub score";
  align-items: center;
  gap: 2px 10px;
  padding: 9px 10px;
  border-left: 2px solid rgba(42, 53, 96, 0.9);
  background: rgba(6, 10, 30, 0.35);
  color: inherit;
  text-decoration: none;
  transition: background 220ms var(--home-ease), border-color 220ms var(--home-ease);
}

.page-home .team-chip:hover,
.page-home .team-chip:focus-visible {
  background: rgba(242, 193, 78, 0.08);
  border-left-color: var(--c-gold);
  outline: none;
}

.page-home .team-chip__idx {
  grid-area: idx;
  font-size: 11px;
  color: var(--c-muted);
  letter-spacing: 0.08em;
}

.page-home .team-chip__top {
  grid-area: top;
  font-size: 14.5px;
  font-weight: 600;
}

.page-home .team-chip__sub {
  grid-area: sub;
  font-size: 11.5px;
  color: var(--c-muted);
}

.page-home .team-chip__score {
  grid-area: score;
  font-size: 17px;
  font-weight: 700;
  color: var(--c-gold);
  font-variant-numeric: tabular-nums;
}

.page-home .team-rail__more {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
}

.page-home .team-rail__art {
  display: block;
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: cover;
  margin-top: 18px;
  opacity: 0.6;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

/* 右侧主舞台 */
.page-home .hero-stage {
  position: relative;
  padding: clamp(24px, 3.4vw, 44px);
  border: var(--home-hair);
  background: rgba(6, 10, 30, 0.62);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.page-home .hero-stage__wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  z-index: 0;
  pointer-events: none;
}

.page-home .hero-stage > *:not(.hero-stage__wash) {
  position: relative;
  z-index: 1;
}

.page-home .hero-stage h1 {
  margin: 12px 0 0;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.01em;
  max-width: 15em;
}

.page-home .hero-stage__lead {
  margin: 18px 0 0;
  max-width: 38em;
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-white);
}

.page-home .hero-stage__lead--sub {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--c-muted);
}

.page-home .hero-stage__lead a {
  color: var(--c-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 实时比分卡 */
.page-home .live-card {
  margin-top: clamp(22px, 3vw, 34px);
  padding: 20px;
  border: var(--home-hair);
  background: linear-gradient(160deg, rgba(22, 32, 74, 0.9), rgba(6, 10, 30, 0.86));
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.page-home .live-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(42, 53, 96, 0.9);
  font-size: 12.5px;
  color: var(--c-muted);
}

.page-home .live-card__round {
  letter-spacing: 0.14em;
  color: var(--c-white);
}

.page-home .live-card__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-signal);
}

.page-home .live-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(42, 53, 96, 0.55);
}

.page-home .live-card__team {
  font-size: 16px;
  font-weight: 600;
}

.page-home .live-card__score {
  font-size: clamp(38px, 7vw, 68px);
  font-weight: 800;
  line-height: 1;
  color: var(--c-gold);
  font-variant-numeric: tabular-nums;
}

.page-home .live-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  font-size: 13px;
  color: var(--c-muted);
}

.page-home .live-card__stats li {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.page-home .live-card__stats .mono {
  font-size: 17px;
  color: var(--c-cyan);
  font-variant-numeric: tabular-nums;
}

/* ---------- 通用分区头 ---------- */
.page-home .section-head {
  margin-bottom: clamp(26px, 3.4vw, 44px);
  max-width: 46em;
}

.page-home .section-head h2 {
  margin: 10px 0 0;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.005em;
}

.page-home .section-head__note {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--c-muted);
}

/* ---------- 今日赛况 ---------- */
.page-home .board {
  background: linear-gradient(180deg, rgba(6, 10, 30, 0.0), rgba(6, 10, 30, 0.7));
}

.page-home .result-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--home-hair);
}

.page-home .result-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 16px 4px;
  border-bottom: var(--home-hair);
  transition: background 220ms var(--home-ease);
}

.page-home .result-row:hover {
  background: rgba(22, 32, 74, 0.45);
}

.page-home .result-row__time {
  flex: 0 0 74px;
  font-size: 12.5px;
  color: var(--c-muted);
  letter-spacing: 0.06em;
}

.page-home .result-row__match {
  flex: 1 1 200px;
  font-size: 15px;
}

.page-home .result-row__match b {
  color: var(--c-muted);
  font-weight: 400;
  padding: 0 4px;
}

.page-home .result-row__score {
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 700;
  color: var(--c-white);
  font-variant-numeric: tabular-nums;
}

.page-home .result-row__tag {
  flex: 0 0 auto;
  margin-left: auto;
}

/* ---------- 战报三条要点 ---------- */
.page-home .brief-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 2.6vw, 32px);
}

.page-home .brief-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 22px;
  border: var(--home-hair);
  background: rgba(22, 32, 74, 0.5);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: background 240ms var(--home-ease), transform 240ms var(--home-ease);
}

.page-home .brief-card:hover {
  background: rgba(22, 32, 74, 0.78);
  transform: translateY(-4px);
}

.page-home .brief-card__match {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(42, 53, 96, 0.9);
}

.page-home .brief-card__match .mono {
  color: var(--c-gold);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  padding: 0 4px;
}

.page-home .brief-card__list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--c-muted);
}

.page-home .brief-card__list li::marker {
  color: var(--c-gold);
  font-family: var(--font-mono);
}

.page-home .brief-card__more {
  margin-top: auto;
  align-self: flex-start;
  font-size: 13.5px;
  color: var(--c-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 195, 217, 0.4);
  padding-bottom: 2px;
}

.page-home .brief-card__more:hover {
  color: var(--c-white);
  border-bottom-color: var(--c-white);
}

/* ---------- 进失球分布 ---------- */
.page-home .dist {
  position: relative;
}

.page-home .dist-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.page-home .dist-panel {
  padding: 24px 22px;
  border: var(--home-hair);
  background: rgba(6, 10, 30, 0.7);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.page-home .dist-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(42, 53, 96, 0.6);
}

.page-home .dist-panel__team {
  font-size: 15px;
  font-weight: 700;
}

.page-home .dist-panel__count {
  font-size: 13px;
  color: var(--c-muted);
}

.page-home .dist-block__label {
  margin: 18px 0 10px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--c-gold);
}

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

.page-home .dist-bar {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--c-muted);
}

.page-home .dist-bar__track {
  position: relative;
  display: block;
  height: 9px;
  background: rgba(42, 53, 96, 0.6);
  overflow: hidden;
}

.page-home .dist-bar__fill {
  display: block;
  height: 100%;
  transform-origin: left center;
  animation: home-grow 700ms var(--home-ease) both;
}

.page-home .dist-bar__fill--in {
  background: linear-gradient(90deg, rgba(79, 195, 217, 0.35), var(--c-cyan));
}

.page-home .dist-bar__fill--out {
  background: linear-gradient(90deg, rgba(242, 193, 78, 0.22), rgba(242, 193, 78, 0.72));
}

.page-home .dist-bar__val {
  text-align: right;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-white);
  font-variant-numeric: tabular-nums;
}

.page-home .dist-side {
  display: grid;
  gap: 20px;
  align-content: start;
}

.page-home .dist-side__art {
  display: block;
  width: 100%;
  height: auto;
  border: var(--home-hair);
  object-fit: cover;
  opacity: 0.85;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.page-home .dist-side__note {
  padding: 20px 20px 22px;
  border-left: 2px solid var(--c-gold);
  background: rgba(22, 32, 74, 0.42);
}

.page-home .dist-side__note p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--c-muted);
}

.page-home .dist-side__note .btn {
  margin-top: 6px;
}

/* ---------- 伤停与实时更新 ---------- */
.page-home .fitness {
  background: linear-gradient(180deg, rgba(6, 10, 30, 0.72), rgba(11, 18, 48, 0));
}

.page-home .fitness-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 3.4vw, 46px);
}

.page-home .fitness-copy h2 {
  margin: 10px 0 0;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.2;
  font-weight: 800;
}

.page-home .fitness-copy p {
  margin: 14px 0 0;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.78;
  color: var(--c-muted);
}

.page-home .fitness-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--home-hair);
}

.page-home .fitness-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 15px 4px;
  border-bottom: var(--home-hair);
}

.page-home .fitness-row__team {
  flex: 0 0 96px;
  font-size: 14.5px;
  font-weight: 600;
}

.page-home .fitness-row__who {
  flex: 1 1 180px;
  font-size: 13.5px;
  color: var(--c-muted);
}

.page-home .fitness-row__time {
  margin-left: auto;
  font-size: 12px;
  color: var(--c-muted);
  letter-spacing: 0.04em;
}

/* ---------- 第 2 版 ---------- */
.page-home .release-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}

.page-home .release-card {
  padding: 24px 22px;
  border: var(--home-hair);
  background: rgba(22, 32, 74, 0.42);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.page-home .release-card__title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--c-white);
}

.page-home .release-card__stat {
  margin: 14px 0 10px;
  font-size: clamp(32px, 4.6vw, 46px);
  font-weight: 800;
  line-height: 1;
  color: var(--c-gold);
  font-variant-numeric: tabular-nums;
}

.page-home .release-card p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--c-muted);
}

.page-home .release-help {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-top: clamp(30px, 4vw, 52px);
  border: var(--home-hair);
  background: rgba(6, 10, 30, 0.72);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
  overflow: hidden;
}

.page-home .release-help__art {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  opacity: 0.62;
}

.page-home .release-help__body {
  padding: clamp(22px, 3vw, 36px);
}

.page-home .release-help__body h3 {
  margin: 0 0 12px;
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 800;
  line-height: 1.3;
}

.page-home .release-help__body p {
  margin: 0 0 12px;
  max-width: 38em;
  font-size: 14.5px;
  line-height: 1.76;
  color: var(--c-muted);
}

.page-home .release-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* ---------- 动效 ---------- */
@keyframes home-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ---------- 断点 ---------- */
@media (min-width: 768px) {
  .page-home .brief-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page-home .release-help {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}

@media (min-width: 1024px) {
  .page-home .orbit-grid {
    grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
    gap: clamp(34px, 4vw, 62px);
  }

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

  .page-home .dist-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  }
}

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

  .page-home .brief-card:nth-child(2) {
    margin-top: 44px;
  }

  .page-home .brief-card:nth-child(3) {
    margin-top: 88px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-home .dist-bar__fill {
    animation: none;
  }

  .page-home .brief-card:hover {
    transform: none;
  }
}
