.page-home {
  --hp-grid-fine: rgba(199, 210, 220, .045);
  --hp-grid-main: rgba(0, 229, 200, .07);
  --hp-line: rgba(42, 54, 68, .72);
  --hp-deep: #0B1016;
  scroll-behavior: smooth;
}

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

.page-home [id] {
  scroll-margin-top: 80px;
}

.page-home .filter-empty {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- 首屏路径带 ---------- */

.page-home .hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  padding: calc(var(--bar-h) + 40px) 0 88px;
}

.page-home .hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .42;
  filter: saturate(.85) contrast(1.12);
}

.page-home .hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(7, 9, 12, .97) 0%, rgba(7, 9, 12, .82) 44%, rgba(7, 9, 12, .38) 100%);
}

.page-home .hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--hp-grid-fine) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hp-grid-fine) 1px, transparent 1px),
    linear-gradient(to right, var(--hp-grid-main) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hp-grid-main) 1px, transparent 1px);
  background-size: 16px 16px, 16px 16px, 64px 64px, 64px 64px;
}

.page-home .hero__inner {
  position: relative;
  z-index: 1;
}

.page-home .hero__context {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--cyan);
  text-transform: uppercase;
}

.page-home .hero__context::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--grad-path);
}

.page-home .hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 9vw, 76px);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--white);
  max-width: 15ch;
}

.page-home .hero__title span {
  display: block;
  background: var(--grad-path);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .hero__lead {
  margin: 20px 0 0;
  max-width: 34ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--silver);
}

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

.page-home .path__link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(0, 229, 200, .28);
  background: linear-gradient(120deg, rgba(0, 229, 200, .12), rgba(124, 255, 90, .04));
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: border-color .18s var(--ease), background .18s var(--ease), transform .18s var(--ease);
}

.page-home .path__link:hover,
.page-home .path__link:focus-visible {
  border-color: var(--cyan);
  background: linear-gradient(120deg, rgba(0, 229, 200, .22), rgba(124, 255, 90, .08));
  transform: translateX(4px);
}

.page-home .path__idx {
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: .08em;
}

.page-home .path__text {
  flex: 1 1 auto;
}

.page-home .path__arrow {
  color: var(--cyan);
  font-size: 16px;
  transition: transform .18s var(--ease);
}

.page-home .path__link:hover .path__arrow {
  transform: translateX(3px);
}

/* ---------- 今日赛程轨道 ---------- */

.page-home .schedule__wrap {
  display: grid;
  gap: 40px;
}

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

.page-home .facts {
  margin: 12px 0 0;
  display: grid;
  gap: 4px;
}

.page-home .facts__k {
  font-family: var(--font-num);
  font-size: 13px;
  color: var(--cyan);
  letter-spacing: .04em;
  margin-top: 12px;
}

.page-home .facts__k:first-of-type {
  margin-top: 0;
}

.page-home .facts__v {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
}

.page-home .timeline {
  list-style: none;
  margin: 24px 0 0;
  padding: 0 0 0 26px;
  position: relative;
  border-left: 1px solid var(--rail-line);
}

.page-home .timeline__item {
  position: relative;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(42, 54, 68, .55);
}

.page-home .timeline__item:last-child {
  border-bottom: none;
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rail-line);
  box-shadow: 0 0 0 4px rgba(7, 9, 12, .92);
  transition: background .18s var(--ease), box-shadow .18s var(--ease);
}

.page-home .timeline__item:hover::before {
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(7, 9, 12, .92), 0 0 14px rgba(0, 229, 200, .6);
}

.page-home .timeline__row {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.page-home .timeline__time {
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
}

.page-home .timeline__cat {
  font-size: 12px;
  padding: 2px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hp-line);
  color: var(--muted);
}

.page-home .timeline__desc {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
  max-width: 42ch;
}

/* ---------- 按日战报流水 ---------- */

.page-home .reports__head {
  display: grid;
  gap: 24px;
}

.page-home .reports__head-text {
  max-width: 60ch;
}

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

.page-home .reports__filter {
  margin-top: 28px;
}

.page-home .reports__stream {
  margin-top: 26px;
  display: grid;
  gap: 32px;
}

.page-home .reports__day {
  display: grid;
  gap: 14px;
}

.page-home .reports__date {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.page-home .reports__date .num {
  font-size: 26px;
  font-weight: 500;
  color: var(--gold);
}

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

.page-home .reports__items {
  display: grid;
  gap: 12px;
}

.page-home .report {
  border: 1px solid var(--hp-line);
  border-radius: var(--r-md);
  padding: 18px 20px;
  background: linear-gradient(160deg, rgba(16, 22, 28, .92), rgba(11, 16, 22, .58));
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}

.page-home .report:hover {
  border-color: rgba(255, 138, 61, .55);
  transform: translateY(-2px);
}

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

.page-home .report__tag {
  font-size: 12px;
  padding: 2px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 138, 61, .14);
  color: var(--orange);
}

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

.page-home .report__title {
  margin: 12px 0 0;
  font-family: var(--font-editorial);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--white);
}

.page-home .report__brief {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
}

.page-home .report__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 200, .35);
}

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

/* ---------- 球员数据与关注列表 ---------- */

.page-home .players__wrap {
  display: grid;
  gap: 34px;
}

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

.page-home .players__body {
  min-width: 0;
}

.page-home .metric-rings {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 22px;
}

.page-home .ring {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.page-home .ring--86 { --pct: 86; }
.page-home .ring--63 { --pct: 63; }
.page-home .ring--71 { --pct: 71; }

.page-home .ring__dial {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(from 205deg, var(--cyan) calc(var(--pct) * 1%), rgba(42, 54, 68, .5) 0);
}

.page-home .ring__dial::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: var(--ink);
}

.page-home .ring__num {
  position: relative;
  z-index: 1;
  font-size: 23px;
  color: var(--white);
}

.page-home .ring__num i {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  margin-left: 1px;
}

.page-home .ring__label {
  font-size: 13px;
  color: var(--silver);
}

.page-home .players__note {
  margin-top: 30px;
  padding: 22px 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--hp-line);
  background: linear-gradient(140deg, rgba(0, 229, 200, .08), rgba(124, 255, 90, .02));
}

.page-home .players__note p {
  margin: 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--silver);
}

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

/* ---------- 入口与滑动体验 ---------- */

.page-home .entry__wrap {
  display: grid;
  gap: 30px;
}

.page-home .entry__eyebrow {
  color: #0E7C6B;
}

.page-home .entry__title {
  color: var(--deep-ink, #0B1016) !important;
}

.page-home .entry__lead {
  margin: 18px 0 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.8;
  color: #2A3644;
}

.page-home .entry__text .btn {
  margin-top: 24px;
}

.page-home .entry__specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  align-content: start;
}

.page-home .spec {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: rgba(7, 9, 12, .06);
  border-left: 3px solid #00B39C;
}

.page-home .spec__k {
  font-family: var(--font-num);
  font-size: 20px;
  color: #0B1016;
}

.page-home .spec__v {
  font-size: 14px;
  line-height: 1.7;
  color: #3B4A59;
}

/* ---------- 起手之后的下一步 ---------- */

.page-home .next__title {
  max-width: 22ch;
}

.page-home .next__list {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .next__link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 14px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--hp-line);
  background: linear-gradient(120deg, rgba(16, 22, 28, .9), rgba(11, 16, 22, .55));
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}

.page-home .next__link:hover,
.page-home .next__link:focus-visible {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.page-home .next__idx {
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: .08em;
}

.page-home .next__label {
  flex: 1 1 auto;
}

.page-home .next__arrow {
  color: var(--cyan);
}

.page-home .next__stats {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--hp-line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.page-home .next__stat {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .next__stat .num {
  display: block;
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 4px;
}

.page-home .next__foot {
  margin: 26px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--silver);
}

.page-home .next__foot a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 200, .4);
}

.page-home .next__foot a:hover {
  border-bottom-color: var(--cyan);
}

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

@media (max-width: 560px) {
  .page-home .hero {
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    padding-bottom: 64px;
  }

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

  .page-home .path__link {
    font-size: 14px;
    padding: 12px 16px;
    gap: 10px;
  }

  .page-home .next__stats {
    grid-template-columns: 1fr;
  }

  .page-home .players__note {
    padding: 18px 18px;
  }
}

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

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

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

@media (min-width: 900px) {
  .page-home .hero {
    clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
    padding: calc(var(--bar-h) + 72px) 0 140px;
  }

  .page-home .hero__paths {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
    margin-top: 46px;
  }

  .page-home .path--1 { grid-column: 1 / span 5; }
  .page-home .path--2 { grid-column: 3 / span 5; }
  .page-home .path--3 { grid-column: 5 / span 5; }
  .page-home .path--4 { grid-column: 7 / span 5; }

  .page-home .schedule__wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, .68fr);
    gap: 56px;
    align-items: start;
  }

  .page-home .reports__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
    gap: 46px;
    align-items: end;
  }

  .page-home .reports__day {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }

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

  .page-home .players__wrap {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
    gap: 54px;
    align-items: center;
  }

  .page-home .entry__wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    gap: 56px;
    align-items: center;
  }

  .page-home .entry__specs {
    gap: 14px;
  }
}

@media (min-width: 1180px) {
  .page-home .hero__title {
    max-width: 18ch;
  }

  .page-home .timeline__item {
    padding: 18px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .path__link,
  .page-home .report,
  .page-home .next__link,
  .page-home .timeline__item::before {
    transition: none;
  }

  .page-home .path__link:hover,
  .page-home .report:hover,
  .page-home .next__link:hover {
    transform: none;
  }
}

.page-home {
  --deep-ink: currentColor;
}
