.page-home {
  background: var(--ink);
  color: var(--cream);
}

.page-home a:focus-visible,
.page-home button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.page-home .eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.page-home .section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 5.4vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.page-home .section-lede {
  margin: 12px 0 0;
  max-width: 54ch;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--slate);
}

/* ---------- 首屏框景 ---------- */

.page-home .hero {
  padding: clamp(14px, 4vw, 32px) var(--gutter) 0;
}

.page-home .hero__frame {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(26px, 6vw, 56px) clamp(18px, 4.4vw, 48px) clamp(34px, 7vw, 62px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 84% 0%, #14304d 0%, #0a1a2f 62%),
    var(--ink);
}

.page-home .hero__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(104deg, rgba(10, 26, 47, 0.94) 0%, rgba(10, 26, 47, 0.7) 52%, rgba(10, 26, 47, 0.36) 100%);
  pointer-events: none;
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.82) brightness(0.88);
}

.page-home .hero__ruler {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  background-image: repeating-linear-gradient(90deg, rgba(143, 166, 184, 0.55) 0 1px, transparent 1px 32px);
  opacity: 0.55;
  pointer-events: none;
}

.page-home .hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(22px, 4vw, 40px);
}

.page-home .hero__coord {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.page-home .hero__title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 7.6vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--cream);
}

.page-home .hero__text {
  margin: 16px 0 0;
  max-width: 48ch;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(244, 239, 230, 0.82);
}

.page-home .hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.page-home .hero__link {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  color: var(--cream);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.page-home .hero__link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.page-home .hero__link--gold {
  border-color: rgba(242, 184, 75, 0.6);
  background: rgba(242, 184, 75, 0.12);
  color: var(--gold);
  font-weight: 600;
}

.page-home .hero__link--gold:hover {
  background: rgba(242, 184, 75, 0.2);
  border-color: var(--gold);
  color: var(--gold);
}

.page-home .entries {
  display: grid;
  gap: 10px;
  align-content: end;
}

.page-home .entry {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num name"
    "num desc";
  gap: 2px 14px;
  padding: 14px 40px 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-md);
  background: rgba(16, 42, 67, 0.74);
  color: var(--cream);
  text-decoration: none;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), background-color 0.22s var(--ease);
}

.page-home .entry::after {
  content: "→";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: var(--gold);
  transition: transform 0.22s var(--ease);
}

.page-home .entry:hover,
.page-home .entry:focus-visible {
  transform: translateY(-3px);
  border-color: var(--cyan);
  background: rgba(29, 224, 200, 0.1);
}

.page-home .entry:hover::after,
.page-home .entry:focus-visible::after {
  transform: translateY(-50%) translateX(4px);
}

.page-home .entry__num {
  grid-area: num;
  align-self: center;
  font-size: 0.78rem;
  color: var(--gold);
}

.page-home .entry__name {
  grid-area: name;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.page-home .entry__desc {
  grid-area: desc;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--slate);
}

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

.page-home .board,
.page-home .replay,
.page-home .filter,
.page-home .coords {
  padding: clamp(44px, 9vw, 88px) 0;
}

.page-home .board,
.page-home .filter {
  background: var(--ink);
}

.page-home .replay,
.page-home .coords {
  background: linear-gradient(180deg, #0b1d33 0%, #102a43 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .section-head {
  max-width: 62ch;
}

.page-home .shot {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--midnight);
}

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

.page-home .shot__cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(43, 27, 18, 0.78);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--cream);
}

/* ---------- 赛程速览 ---------- */

.page-home .board__grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  margin-top: clamp(24px, 4vw, 38px);
}

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

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 70px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan) 0%, rgba(29, 224, 200, 0.1) 100%);
}

.page-home .timeline__link {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 3px 18px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--cream);
  text-decoration: none;
  transition: background-color 0.18s var(--ease);
}

.page-home .timeline__link::before {
  content: "";
  position: absolute;
  left: 66px;
  top: 19px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--cyan);
}

.page-home .timeline__link:hover {
  background: rgba(29, 224, 200, 0.06);
}

.page-home .timeline__link:hover::before {
  background: var(--cyan);
}

.page-home .timeline__time {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 0.86rem;
  color: var(--gold);
}

.page-home .timeline__meta {
  grid-column: 2;
  font-size: 0.95rem;
  font-weight: 600;
}

.page-home .timeline__stat {
  grid-column: 2;
  font-size: 0.78rem;
  color: var(--slate);
}

.page-home .board__panel {
  padding: clamp(18px, 3.6vw, 28px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(168deg, rgba(16, 42, 67, 0.96) 0%, rgba(10, 26, 47, 0.96) 100%);
}

.page-home .panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.page-home .panel-head__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-home .panel-head__tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.page-home .bar {
  margin-top: 18px;
}

.page-home .bar__label {
  margin: 0 0 7px;
  font-size: 0.82rem;
  color: var(--cream);
}

.page-home .bar__track {
  display: flex;
  height: 10px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: rgba(143, 166, 184, 0.16);
}

.page-home .bar__in {
  width: var(--in);
  background: linear-gradient(90deg, var(--green), #2aa877);
}

.page-home .bar__out {
  width: var(--out);
  background: linear-gradient(90deg, #c95148, var(--coral));
}

.page-home .bar__nums {
  margin: 7px 0 0;
  font-size: 0.76rem;
  color: var(--slate);
}

.page-home .is-in {
  color: var(--green);
}

.page-home .is-out {
  color: var(--coral);
}

.page-home .panel-note {
  margin: 20px 0 0;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .panel-foot {
  margin-top: 18px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

.page-home .panel-foot__value {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--gold);
}

.page-home .panel-foot__value sup {
  font-size: 0.6em;
}

.page-home .panel-foot__label {
  margin: 6px 0 0;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--slate);
}

.page-home .panel-link {
  display: inline-flex;
  margin-top: 18px;
  padding: 9px 18px;
  border: 1px solid rgba(29, 224, 200, 0.5);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--cyan);
  text-decoration: none;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .panel-link:hover {
  background: rgba(29, 224, 200, 0.12);
  border-color: var(--cyan);
}

/* ---------- 回看节奏 ---------- */

.page-home .replay__grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

.page-home .shot--tall {
  margin-top: 24px;
}

.page-home .toc-head {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .toc-head--second {
  margin-top: 30px;
}

.page-home .toc,
.page-home .recent {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .toc__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--cream);
  text-decoration: none;
  transition: color 0.18s var(--ease), padding-left 0.18s var(--ease);
}

.page-home .toc__link:hover {
  color: var(--gold);
  padding-left: 8px;
}

.page-home .toc__name {
  font-size: 0.96rem;
  font-weight: 600;
}

.page-home .toc__meta {
  font-size: 0.76rem;
  color: var(--slate);
}

.page-home .recent__item {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: var(--radius-sm);
  background: rgba(10, 26, 47, 0.55);
  border-left: 2px solid var(--gold);
}

.page-home .recent__when {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-home .recent__what {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(244, 239, 230, 0.86);
}

.page-home .replay__note {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 0.78rem;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 联赛筛选 ---------- */

.page-home .filter__grid {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  align-items: start;
}

.page-home .btn-link {
  display: inline-flex;
  margin-top: 22px;
  padding: 10px 22px;
  border: 1px solid rgba(242, 184, 75, 0.55);
  border-radius: var(--radius-pill);
  background: rgba(242, 184, 75, 0.1);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .btn-link:hover {
  background: rgba(242, 184, 75, 0.2);
  border-color: var(--gold);
}

.page-home .filter__panel {
  padding: clamp(18px, 3.4vw, 26px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(16, 42, 67, 0.7);
}

.page-home .filter__label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.page-home .filter__label--second {
  margin-top: 20px;
}

.page-home .pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .pill {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--slate);
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.page-home .pill:hover {
  color: var(--cream);
  border-color: var(--cyan);
}

.page-home .pill[aria-pressed="true"] {
  border-color: var(--cyan);
  background: rgba(29, 224, 200, 0.14);
  color: var(--cyan);
  font-weight: 600;
}

.page-home .filter__hint {
  margin: 20px 0 0;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .shot--filter {
  margin-top: 20px;
  border-radius: var(--radius-md);
}

/* ---------- 运营坐标 ---------- */

.page-home .coords__grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

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

.page-home .coords__links .btn-link {
  margin-top: 0;
  border-color: rgba(29, 224, 200, 0.5);
  background: rgba(29, 224, 200, 0.1);
  color: var(--cyan);
  font-weight: 500;
}

.page-home .coords__links .btn-link:hover {
  background: rgba(29, 224, 200, 0.18);
  border-color: var(--cyan);
}

.page-home .coords__list {
  margin: 0;
  border-top: 1px solid var(--line-strong);
}

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

.page-home .coords__key {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--slate);
  align-self: center;
}

.page-home .coords__val {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--cream);
}

/* ---------- 断点 ---------- */

@media (min-width: 760px) {
  .page-home .replay__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .page-home .filter__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
  }
}

@media (min-width: 940px) {
  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: end;
  }

  .page-home .board__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.95fr);
    align-items: start;
  }

  .page-home .board__panel {
    position: sticky;
    top: 24px;
  }

  .page-home .coords__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .page-home .shot--tall img {
    max-height: 320px;
  }
}

@media (min-width: 1180px) {
  .page-home .entry {
    padding: 17px 44px 17px 20px;
  }

  .page-home .entry__name {
    font-size: 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry,
  .page-home .hero__link,
  .page-home .panel-link,
  .page-home .btn-link,
  .page-home .pill,
  .page-home .toc__link,
  .page-home .timeline__link {
    transition: none;
  }

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

.page-home {
  --in: 1rem;
  --out: 1rem;
}
