.page-home {
  --page-gap: clamp(3rem, 7vw, 5.5rem);
  --hero-gap: clamp(1.5rem, 4vw, 3.5rem);
  --hero-card-radius: 4px 18px 4px 18px;
}

/* 封面头条 */
.page-home .home-hero {
  position: relative;
  display: flex;
  min-height: clamp(620px, 92vh, 860px);
  overflow: hidden;
  background: var(--bg-body);
}

.page-home .home-hero__media,
.page-home .home-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-home .home-hero__media img {
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(1.1) contrast(1.08);
}

.page-home .home-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 31, 60, 0.94) 0%, rgba(10, 31, 60, 0.78) 42%, rgba(10, 31, 60, 0.28) 78%, rgba(10, 31, 60, 0.55) 100%),
    linear-gradient(180deg, rgba(10, 31, 60, 0.2) 0%, rgba(10, 31, 60, 0.6) 100%);
}

.page-home .home-hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--hero-gap);
  align-items: end;
  width: 100%;
  padding-top: clamp(3rem, 8vh, 5rem);
  padding-bottom: clamp(2rem, 6vh, 4rem);
}

.page-home .home-hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
  color: var(--accent-3);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.page-home .home-hero__brand::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--accent);
}

.page-home .home-hero__title {
  margin: 0;
  font-size: clamp(3rem, 9vw, 6.8rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: var(--text-main);
}

.page-home .home-hero__slogan {
  display: block;
}

.page-home .home-hero__lead {
  max-width: 42ch;
  margin-top: 1.3rem;
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.7;
  border-left: 3px solid var(--accent-3);
  padding-left: 1rem;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.page-home .home-hero__index {
  position: relative;
  padding: 1.4rem;
  background: linear-gradient(145deg, rgba(16, 42, 67, 0.92), rgba(10, 31, 60, 0.82));
  border: 1px solid var(--line);
  border-radius: var(--hero-card-radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.page-home .home-hero__index-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--line);
}

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

.page-home .hero-index__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 0.85rem;
  padding: 0.9rem 1rem;
  color: var(--text-main);
  text-decoration: none;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 3px 12px 3px 12px;
  transition: transform var(--ease), border-color var(--ease), background var(--ease);
}

.page-home .hero-index__card:hover {
  border-color: var(--accent-3);
  background: rgba(0, 212, 255, 0.08);
  transform: translateX(5px);
}

.page-home .hero-index__tag {
  grid-column: 1 / 2;
  color: var(--text-dim);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.page-home .hero-index__score {
  grid-row: 1 / 3;
  grid-column: 2 / 3;
  align-self: center;
  font-size: 2rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.page-home .hero-index__score i {
  font-style: normal;
  color: var(--accent-3);
  margin: 0 0.15em;
}

.page-home .hero-index__meta {
  grid-column: 1 / 2;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.page-home .home-hero__hint {
  margin: 0.9rem 0 0;
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.6;
}

/* 实时比分仪表板 */
.page-home .home-score {
  scroll-margin-top: 1rem;
  padding: var(--page-gap) 0;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 12px),
    linear-gradient(180deg, var(--bg-body) 0%, var(--bg-panel) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .home-score__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.page-home .home-score__head .section-index {
  width: fit-content;
}

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

.page-home .home-score__lead {
  margin: 0;
  max-width: 58ch;
  color: var(--text-dim);
  line-height: 1.75;
}

.page-home .home-score__grid {
  display: grid;
  gap: 1.5rem;
}

.page-home .home-score__matches {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.page-home .score-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 4px 14px 4px 14px;
  overflow: hidden;
  transition: border-color var(--ease), transform var(--ease);
}

.page-home .score-card[open],
.page-home .score-card:hover {
  border-color: rgba(0, 212, 255, 0.55);
}

.page-home .score-card summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
}

.page-home .score-card summary::-webkit-details-marker {
  display: none;
}

.page-home .score-card summary::after {
  content: "+";
  width: 1.4rem;
  height: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent-3);
  font-size: 0.9rem;
  line-height: 1;
  flex: 0 0 auto;
  transition: transform var(--ease), background var(--ease), color var(--ease);
}

.page-home .score-card[open] summary::after {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.page-home .score-card__label {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.page-home .score-card__score {
  font-size: 2rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--text-main);
  white-space: nowrap;
}

.page-home .score-card__score i {
  font-style: normal;
  color: var(--accent-3);
  margin: 0 0.2em;
}

.page-home .score-card__more {
  padding: 0.2rem 1.1rem 1.1rem;
  border-top: 1px dashed var(--line);
  background: var(--bg-panel);
}

.page-home .score-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0.8rem 0 0;
}

.page-home .score-card__stats div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.page-home .score-card__stats dt {
  color: var(--text-dim);
  font-size: 0.72rem;
}

.page-home .score-card__stats dd {
  margin: 0;
  color: var(--accent-3);
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.page-home .score-card__note {
  margin: 0.8rem 0 0;
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.55;
}

.page-home .home-score__chart {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--hero-card-radius);
  padding: 0.75rem;
  background: var(--bg-panel);
}

.page-home .home-score__chart img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 2px 10px 2px 10px;
  display: block;
}

.page-home .home-score__chart figcaption {
  padding: 0.7rem 0.2rem 0.1rem;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

/* 当季赛程概览 */
.page-home .home-schedule {
  scroll-margin-top: 1rem;
  padding: var(--page-gap) 0;
}

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

.page-home .home-schedule__main {
  display: grid;
  gap: 1.2rem;
  align-content: start;
}

.page-home .home-schedule__lead {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 60ch;
}

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

.page-home .game-card {
  display: grid;
  grid-template-columns: minmax(7rem, auto) minmax(0, 1fr) auto;
  gap: 0.4rem 1rem;
  align-items: center;
  padding: 0.9rem 1.1rem;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-3);
  border-radius: 3px 10px 3px 10px;
  transition: transform var(--ease), background var(--ease), border-color var(--ease);
}

.page-home .game-card:hover,
.page-home .game-card:focus-within {
  transform: translateY(-3px);
  background: var(--bg-raised);
  border-left-color: var(--accent);
}

.page-home .game-card__day {
  color: var(--accent-3);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.page-home .game-card__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.page-home .game-card__status {
  justify-self: end;
}

.page-home .game-card__meta {
  grid-column: 1 / -1;
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 1.55;
}

.page-home .home-schedule__aside {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.page-home .home-schedule__media {
  margin: 0;
}

.page-home .home-schedule__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--hero-card-radius);
  border: 1px solid var(--line);
  display: block;
}

.page-home .home-schedule__note {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.65;
  border-left: 2px solid var(--accent);
  padding-left: 0.85rem;
}

/* 历史数据对比 */
.page-home .home-history {
  scroll-margin-top: 1rem;
  position: relative;
  padding: var(--page-gap) 0;
  background:
    linear-gradient(180deg, rgba(0, 212, 255, 0.04), transparent 30%),
    var(--bg-body);
  border-top: 1px solid var(--line);
}

.page-home .home-history::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-3), transparent 60%);
}

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

.page-home .home-history__intro {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.page-home .home-history__lead {
  margin: 0;
  max-width: 52ch;
  color: var(--text-dim);
  line-height: 1.75;
}

.page-home .home-history__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.page-home .home-history__stats .data-stat {
  display: grid;
  gap: 0.1rem;
  padding: 0.8rem;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 3px 10px 3px 10px;
}

.page-home .home-history__stats .data-stat:last-child {
  grid-column: 1 / -1;
}

.page-home .home-history__stats .data-stat b {
  font-size: 1.8rem;
  color: var(--accent-3);
  font-variant-numeric: tabular-nums;
}

.page-home .home-history__stats .data-stat span {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.page-home .home-history__figure {
  margin: 0;
}

.page-home .home-history__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--hero-card-radius);
  display: block;
}

.page-home .home-history__figure figcaption {
  padding: 0.6rem 0.2rem 0;
  color: var(--text-dim);
  font-size: 0.78rem;
}

.page-home .home-history__aside {
  padding: 1.2rem;
  background: rgba(56, 255, 141, 0.06);
  border: 1px solid rgba(56, 255, 141, 0.25);
  border-radius: var(--hero-card-radius);
}

.page-home .home-history__aside h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--accent-2);
}

.page-home .home-history__aside p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.65;
}

/* 平台状态 */
.page-home .home-status {
  padding: var(--page-gap) 0;
  border-top: 1px solid var(--line);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 14px),
    var(--bg-panel);
}

.page-home .home-status__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

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

.page-home .status-card {
  position: relative;
  padding: 1.2rem 1.3rem 1.3rem;
  background: var(--bg-body);
  border: 1px solid var(--line);
  border-radius: 4px 14px 4px 14px;
  overflow: hidden;
  transition: transform var(--ease), border-color var(--ease);
}

.page-home .status-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-3);
}

.page-home .status-card--highlight::before {
  background: var(--accent);
}

.page-home .status-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.page-home .status-card p {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.65;
  font-size: 0.9rem;
}

.page-home .status-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 212, 255, 0.5);
}

.page-home .home-status__facts {
  margin-top: 1.6rem;
  padding: 1.2rem 1.3rem;
  background: var(--bg-body);
  border: 1px solid var(--line);
  border-radius: 3px 12px 3px 12px;
}

.page-home .home-status__facts ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
}

.page-home .home-status__facts li {
  color: var(--text-main);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.page-home .home-status__facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent-2);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.page-home .home-status__footer {
  margin: 1rem 0 0;
  color: var(--text-dim);
  line-height: 1.75;
  font-size: 0.9rem;
}

.page-home .home-status__footer a {
  color: var(--accent-3);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, 0.35);
}

.page-home .home-status__footer a:hover {
  color: var(--accent);
}

.page-home .home-status__history {
  margin-top: 1.2rem;
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.65;
  border-left: 2px solid var(--accent);
  padding-left: 0.9rem;
}

.page-home a:focus-visible {
  outline: 2px solid var(--accent-3);
  outline-offset: 2px;
}

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

  .page-home .home-hero__copy {
    padding-bottom: 5vh;
  }

  .page-home .home-hero__index {
    padding: 1.6rem;
  }

  .page-home .home-score__head {
    grid-template-columns: minmax(180px, 0.6fr) minmax(0, 2.4fr);
    align-items: end;
  }

  .page-home .home-score__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
    gap: 1.5rem;
    align-items: stretch;
  }

  .page-home .home-score__chart {
    display: flex;
    flex-direction: column;
    margin: 0;
  }

  .page-home .home-score__chart img {
    flex: 1 1 auto;
    min-height: 0;
    object-fit: cover;
  }

  .page-home .home-schedule__layout {
    grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr);
    gap: 3rem;
  }

  .page-home .home-history__layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(240px, 3fr);
    gap: 2rem;
    align-items: center;
  }

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

  .page-home .home-history__stats .data-stat:last-child {
    grid-column: auto;
  }

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