.page-home {
  --home-line: 1px solid var(--steel);
  --home-line-light: 1px solid var(--mist);
  --home-band-y: 68px;
  display: block;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-sans);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.page-home a {
  color: inherit;
  text-decoration: none;
}

.page-home h1,
.page-home h2 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.page-home .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

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

.page-home .hero {
  position: relative;
  padding: 128px 0 var(--home-band-y);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 66%, #0d2340 100%);
  border-bottom: var(--home-line);
  overflow: hidden;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.75;
  background-image:
    repeating-linear-gradient(to right, rgba(42, 74, 115, 0.34) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(to bottom, rgba(42, 74, 115, 0.22) 0 1px, transparent 1px 92px);
  pointer-events: none;
}

.page-home .hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.page-home .hero__crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel-soft);
}

.page-home .hero__crumb-sep {
  color: var(--steel);
}

.page-home .hero__title {
  margin: 16px 0 24px;
  font-size: clamp(2.5rem, 1.1rem + 7.2vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.page-home .hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .hero__lede {
  max-width: 560px;
  margin: 0;
  font-size: 17px;
  color: var(--mist);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.page-home .hero__link {
  display: inline-block;
  padding-bottom: 3px;
  font-size: 15px;
  font-weight: 600;
  color: var(--electric);
  border-bottom: 1px solid var(--steel);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.page-home .hero__link:hover {
  color: var(--white);
  border-bottom-color: var(--orange);
}

.page-home .hero__figure {
  margin: 0 0 26px;
  border: var(--home-line);
  background: var(--navy-2);
}

.page-home .hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 7;
  object-fit: cover;
}

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

.page-home .hero__stat {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: var(--home-line);
}

.page-home .hero__stat-value {
  font-size: 28px;
  line-height: 1;
  color: var(--orange);
}

.page-home .hero__stat-value small {
  margin-left: 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--steel-soft);
}

.page-home .hero__stat-label {
  font-size: 14px;
  line-height: 1.65;
  color: var(--mist);
}

/* ---------- 区块通用 ---------- */

.page-home .band {
  padding: var(--home-band-y) 0;
  background: var(--navy);
  border-bottom: var(--home-line);
}

.page-home .band--light {
  background: var(--sand);
  color: var(--graphite);
  border-bottom: var(--home-line-light);
}

.page-home .band-title,
.page-home .band__title {
  margin: 14px 0 20px;
  font-size: clamp(1.85rem, 1.2rem + 2.6vw, 2.9rem);
  max-width: 22ch;
}

.page-home .band__lede {
  max-width: 620px;
  margin: 0;
  font-size: 16.5px;
  color: var(--mist);
}

.page-home .band--light .band__lede {
  color: rgba(27, 31, 38, 0.76);
}

.page-home .band__intro {
  display: grid;
  gap: 18px;
}

.page-home .band__meta {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--steel-soft);
}

.page-home .band--light .band__meta {
  color: rgba(27, 31, 38, 0.58);
}

.page-home .band--light .section-label {
  color: #c2490a;
}

.page-home .band__figure {
  margin: 34px 0 0;
  border: var(--home-line-light);
  background: var(--white);
}

.page-home .band__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 7;
  object-fit: cover;
}

.page-home .band__link-row {
  margin: 30px 0 0;
}

.page-home .textlink {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
}

.page-home .band--light .textlink {
  color: #c2490a;
}

.page-home .textlink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}

.page-home .textlink:hover::after {
  transform: scaleX(1);
}

/* ---------- 阵容清单 ---------- */

.page-home .roster {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

.page-home .roster__card {
  position: relative;
  padding: 30px 22px 24px;
  background: var(--white);
  border: var(--home-line-light);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-home .roster__card:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
}

.page-home .roster__card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(27, 31, 38, 0.78);
}

.page-home .roster__tag {
  position: absolute;
  top: -13px;
  left: 18px;
  padding: 5px 12px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

/* ---------- 转会窗口 ---------- */

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

.page-home .window__figure {
  margin: 0;
  border: var(--home-line);
  background: var(--navy-2);
}

.page-home .window__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 25 / 16;
  object-fit: cover;
}

.page-home .timeline {
  list-style: none;
  margin: 34px 0 30px;
  padding: 0;
}

.page-home .timeline__item {
  position: relative;
  padding: 0 0 26px 26px;
  border-left: 1px solid var(--steel);
}

.page-home .timeline__item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  left: -3.5px;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--orange);
}

.page-home .timeline__phase {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--electric);
}

.page-home .timeline__item p {
  margin: 0;
  font-size: 15px;
  color: var(--mist);
}

/* ---------- 赔率走势 ---------- */

.page-home .odds__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  margin-top: 32px;
}

.page-home .odds__chart {
  padding: 16px;
  background: var(--white);
  border: var(--home-line-light);
}

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

.page-home .odds-svg__grid line {
  stroke: var(--mist);
  stroke-width: 1;
}

.page-home .odds-line {
  fill: none;
  stroke: var(--orange);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.page-home .odds-point {
  outline: none;
}

.page-home .odds-point circle {
  fill: var(--navy);
  stroke: var(--electric);
  stroke-width: 2;
  transition: fill 0.18s var(--ease), stroke 0.18s var(--ease);
}

.page-home .odds-point:hover circle,
.page-home .odds-point:focus circle {
  fill: var(--orange);
  stroke: var(--orange);
}

.page-home .odds-point__tip {
  fill: var(--graphite);
  font-family: var(--font-mono);
  font-size: 14px;
  text-anchor: middle;
  opacity: 0;
  transition: opacity 0.18s var(--ease);
}

.page-home .odds-point:hover .odds-point__tip,
.page-home .odds-point:focus .odds-point__tip {
  opacity: 1;
}

.page-home .odds__figure {
  margin: 0 0 22px;
  border: var(--home-line-light);
  background: var(--white);
}

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

.page-home .odds__facts {
  margin: 0;
  border-top: var(--home-line-light);
}

.page-home .odds__fact {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: var(--home-line-light);
}

.page-home .odds__fact dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #c2490a;
}

.page-home .odds__fact dd {
  margin: 0;
  font-size: 14px;
  color: rgba(27, 31, 38, 0.78);
}

/* ---------- 半场比分表 ---------- */

.page-home .table-scroll {
  margin-top: 32px;
  overflow-x: auto;
  border: var(--home-line);
}

.page-home .h2h {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-home .h2h__caption {
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel-soft);
  border-bottom: var(--home-line);
}

.page-home .h2h th {
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--electric);
  border-bottom: var(--home-line);
}

.page-home .h2h td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(42, 74, 115, 0.55);
  color: var(--mist);
  white-space: nowrap;
}

.page-home .h2h tbody tr {
  transition: background-color 0.16s var(--ease);
}

.page-home .h2h tbody tr:hover {
  background: rgba(90, 224, 208, 0.09);
}

.page-home .h2h td:nth-child(3) {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  color: var(--white);
}

/* ---------- 层叠目录 ---------- */

.page-home .entries {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.page-home .entry {
  background: var(--white);
  border: var(--home-line-light);
  transition: border-color 0.18s var(--ease);
}

.page-home .entry:hover {
  border-color: var(--steel-soft);
}

.page-home .entry__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.page-home .entry__head::-webkit-details-marker {
  display: none;
}

.page-home .entry__index {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--orange);
}

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

.page-home .entry__title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--graphite);
}

.page-home .entry__sum {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(27, 31, 38, 0.62);
}

.page-home .entry__mark {
  position: relative;
  width: 14px;
  height: 14px;
}

.page-home .entry__mark::before,
.page-home .entry__mark::after {
  content: "";
  position: absolute;
  background: var(--orange);
}

.page-home .entry__mark::before {
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
}

.page-home .entry__mark::after {
  left: 6px;
  top: 0;
  width: 2px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}

.page-home .entry[open] .entry__mark::after {
  transform: scaleY(0);
}

.page-home .entry__body {
  padding: 4px 20px 22px;
  border-top: 1px solid var(--mist);
}

.page-home .entry__body p {
  max-width: 760px;
  margin: 16px 0 14px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(27, 31, 38, 0.78);
}

.page-home .subline {
  margin: 30px 0 0;
  padding-top: 18px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(27, 31, 38, 0.58);
  border-top: var(--home-line-light);
}

/* ---------- 响应式 ---------- */

@media (min-width: 700px) {
  .page-home {
    --home-band-y: 84px;
  }

  .page-home .band__intro {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: end;
    gap: 32px;
  }

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

@media (min-width: 980px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    gap: 0;
  }

  .page-home .hero__lead {
    padding-right: 56px;
  }

  .page-home .hero__aside {
    padding-left: 40px;
    border-left: var(--home-line);
  }

  .page-home .window__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 48px;
    align-items: start;
  }

  .page-home .odds__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 40px;
    align-items: start;
  }

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

@media (min-width: 1024px) {
  .page-home .timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    display: grid;
    gap: 26px;
    padding-bottom: 86px;
  }

  .page-home .timeline__item {
    padding: 22px 16px 0 0;
    border-left: 0;
    border-top: var(--home-line);
  }

  .page-home .timeline__item::before {
    left: 0;
    top: -4px;
  }

  .page-home .timeline__item:nth-child(2) {
    margin-top: 24px;
  }

  .page-home .timeline__item:nth-child(3) {
    margin-top: 48px;
  }

  .page-home .timeline__item:nth-child(4) {
    margin-top: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .roster__card,
  .page-home .textlink::after,
  .page-home .entry__mark::after,
  .page-home .odds-point circle,
  .page-home .odds-point__tip,
  .page-home .h2h tbody tr {
    transition: none;
  }

  .page-home .roster__card:hover {
    transform: none;
  }
}
