.page-home {
  --home-rule: 1px solid var(--line);
  display: block;
  overflow-x: clip;
  background: var(--ink);
  color: var(--paper);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 26px 0 40px;
}

.page-home .hero__cut {
  position: absolute;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.page-home .hero__cut--red {
  top: -18%;
  left: -52%;
  width: 118%;
  height: 54%;
  background: linear-gradient(148deg, var(--red) 0%, var(--red-deep) 100%);
  clip-path: polygon(0 0, 100% 0, 74% 100%, 0 82%);
  opacity: 0.72;
}

.page-home .hero__cut--blue {
  right: -44%;
  bottom: -18%;
  width: 104%;
  height: 56%;
  background: linear-gradient(300deg, var(--blue) 0%, #14384F 100%);
  clip-path: polygon(30% 0, 100% 18%, 100% 100%, 0 100%);
  opacity: 0.52;
}

.page-home .hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}

.page-home .breadcrumb {
  margin-bottom: 16px;
}

.page-home .breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-home .breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

.page-home .breadcrumb__list a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-home .breadcrumb__list a:hover,
.page-home .breadcrumb__list a:focus-visible {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

.page-home .hero h1 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(31px, 7.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-wrap: balance;
}

.page-home .hero .lede {
  margin: 18px 0 0;
  max-width: 40ch;
  font-size: 17px;
  line-height: 1.78;
  color: var(--paper-soft);
}

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

.page-home .hero__note {
  margin: 16px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

/* 主队玻璃卡 */
.page-home .squad-card {
  position: relative;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid rgba(244, 241, 234, 0.14);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
  box-shadow: 0 24px 60px rgba(10, 13, 16, 0.55);
}

.page-home .squad-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--panel);
}

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

.page-home .squad-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, rgba(10, 13, 16, 0.04) 20%, rgba(10, 13, 16, 0.92) 100%);
}

.page-home .squad-card__body {
  padding: 16px 18px 20px;
}

.page-home .squad-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
}

.page-home .squad-card__name {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .squad-card__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .squad-card__stats > div {
  padding: 8px 10px;
  background: rgba(20, 26, 32, 0.86);
}

.page-home .squad-card__stats dt {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .squad-card__stats dd {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}

.page-home .squad-card__hint {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

/* 首屏数据带 */
.page-home .hero__strip {
  position: relative;
  z-index: 2;
  margin-top: 34px;
}

.page-home .hero__strip .data-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: var(--home-rule);
  border-bottom: var(--home-rule);
}

.page-home .hero__strip .data-strip__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px 15px;
  background: rgba(10, 13, 16, 0.86);
}

.page-home .hero__strip .data-strip__value {
  font-family: var(--font-mono);
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--mint);
}

.page-home .hero__strip .data-strip__label {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* ---------- 通用区块 ---------- */
.page-home .section {
  position: relative;
  padding: 52px 0;
}

.page-home .section__head {
  max-width: 720px;
}

.page-home .section-title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(25px, 5.4vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-wrap: balance;
}

.page-home .section .lede {
  margin: 14px 0 0;
  max-width: 40ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--paper-soft);
}

.page-home .body-text {
  margin: 14px 0 0;
  max-width: 40ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--paper-soft);
}

/* ---------- 球队库 ---------- */
.page-home .squad-grid {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.page-home .squad-figure {
  margin: 0;
  border: var(--home-rule);
  background: var(--panel);
}

.page-home .squad-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .squad-figure figcaption {
  padding: 10px 12px;
  border-top: var(--home-rule);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .filter-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: var(--home-rule);
}

.page-home .filter-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 15px;
  background: var(--panel);
}

.page-home .filter-row--note {
  background: linear-gradient(140deg, rgba(44, 110, 155, 0.2), rgba(20, 26, 32, 1));
}

.page-home .filter-row .coord {
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--red);
}

.page-home .filter-row h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .filter-row p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
}

/* ---------- 赛程区 ---------- */
.page-home .section--fixtures {
  background: var(--panel);
  border-top: var(--home-rule);
  border-bottom: var(--home-rule);
}

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

.page-home .tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

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

.page-home .timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 12px;
  left: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--mint) 0%, var(--line) 72%);
}

.page-home .timeline__item {
  position: relative;
  padding: 0 0 24px 30px;
}

.page-home .timeline__item:last-child {
  padding-bottom: 4px;
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
}

.page-home .timeline__item.is-open::before {
  border-color: var(--mint);
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(47, 227, 176, 0.16);
}

.page-home .timeline__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 8px;
}

.page-home .timeline__meta .coord {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--sky);
}

.page-home .timeline__item h3 {
  margin: 0 0 5px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .timeline__item > p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.68;
  color: var(--muted);
}

/* ---------- 资料领取 ---------- */
.page-home .dl-copy {
  max-width: 640px;
}

.page-home .dl-list {
  margin: 18px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .dl-list strong {
  color: var(--paper);
  font-weight: 700;
}

.page-home .dl-copy .btn {
  margin-top: 22px;
}

.page-home .dl-figure {
  margin: 26px 0 0;
  border: var(--home-rule);
  background: var(--panel);
}

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

.page-home .dl-figure figcaption {
  padding: 10px 12px;
  border-top: var(--home-rule);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 赛后与观赛 ---------- */
.page-home .board-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.page-home .board-cell {
  position: relative;
  padding: 20px 18px;
  background: var(--panel);
  border: var(--home-rule);
}

.page-home .board-cell--accent {
  border-left: 3px solid var(--mint);
}

.page-home .board-cell h3 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .board-cell .coord {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.page-home .metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.page-home .metric-row span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--sky);
  background: rgba(10, 13, 16, 0.6);
}

.page-home .board-cell--media {
  padding: 0;
  overflow: hidden;
}

.page-home .board-figure {
  margin: 0;
  position: relative;
  background: var(--ink);
}

.page-home .board-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.9;
}

.page-home .board-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, rgba(10, 13, 16, 0) 35%, rgba(20, 26, 32, 0.96) 100%);
}

.page-home .board-caption {
  padding: 4px 18px 20px;
}

.page-home .board-note {
  margin: 12px 0 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--gold);
}

/* ---------- 本地服务 ---------- */
.page-home .section--service {
  padding-bottom: 60px;
}

.page-home .service-band {
  position: relative;
  padding: 26px 20px 28px 24px;
  background: var(--panel);
  border-top: var(--home-rule);
  border-bottom: var(--home-rule);
}

.page-home .service-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-deep) 100%);
}

.page-home .route-list {
  display: grid;
  gap: 1px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: var(--home-rule);
}

.page-home .route-list li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: var(--ink);
}

.page-home .route-list a {
  justify-self: start;
  font-weight: 700;
  font-size: 16px;
  color: var(--mint);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 227, 176, 0.42);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.page-home .route-list a:hover,
.page-home .route-list a:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

.page-home .route-list span {
  font-size: 14px;
  line-height: 1.62;
  color: var(--muted);
}

/* ---------- 断点 ---------- */
@media (min-width: 720px) {
  .page-home .hero {
    padding: 40px 0 52px;
  }

  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: 36px;
  }

  .page-home .hero__cut--red {
    top: -24%;
    left: -34%;
    width: 96%;
    height: 66%;
  }

  .page-home .hero__cut--blue {
    right: -26%;
    bottom: -22%;
    width: 82%;
    height: 62%;
  }

  .page-home .hero__strip .data-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .squad-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    align-items: start;
    gap: 26px;
  }

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

  .page-home .board-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: stretch;
  }

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

  .page-home .service-band {
    padding: 32px 30px 34px 34px;
  }
}

@media (min-width: 1060px) {
  .page-home .hero {
    padding: 52px 0 64px;
  }

  .page-home .section {
    padding: 76px 0;
  }

  .page-home .section--service {
    padding-bottom: 84px;
  }

  .page-home .hero h1 {
    font-size: clamp(48px, 4.6vw, 64px);
  }

  .page-home .squad-card__media {
    aspect-ratio: 16 / 10;
  }

  .page-home .timeline__item {
    padding-bottom: 28px;
  }

  .page-home .board-cell {
    padding: 26px 24px;
  }

  .page-home .board-caption {
    padding: 6px 24px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .route-list a {
    transition: none;
  }
}
