.page-home {
  --home-cut: 22px;
  --home-line-soft: rgba(42, 90, 71, .75);
}

.page-home img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(28px, 6vw, 64px) clamp(48px, 8vw, 96px);
  background:
    radial-gradient(120% 80% at 88% 0%, rgba(57, 245, 200, .16), transparent 62%),
    radial-gradient(90% 70% at 0% 100%, rgba(255, 107, 44, .12), transparent 66%),
    var(--ink);
}

.page-home .hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 48px);
  align-items: start;
}

.page-home .hero__title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 8vw, 4.6rem);
  line-height: .98;
  letter-spacing: .01em;
  color: var(--paper);
  text-wrap: balance;
}

.page-home .hero__lede {
  margin: 18px 0 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(15px, 3.6vw, 17px);
  line-height: 1.8;
}

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

.page-home .hero__actions .btn {
  flex: 1 1 148px;
  justify-content: center;
  text-align: center;
}

.page-home .hero__chips {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.page-home .hero__chips li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.page-home .hero__chips li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 2px;
  transform: translateY(-4px);
  background: var(--pulse);
}

/* ---------- 脉搏仪表盘 ---------- */
.page-home .board {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(178deg, var(--panel), var(--ink-2) 78%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  overflow: hidden;
}

.page-home .board__media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 7;
}

.page-home .board__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
  filter: saturate(.85);
}

.page-home .board__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 26, 19, .2), rgba(16, 58, 43, .96));
}

.page-home .board__body {
  position: relative;
  padding: clamp(16px, 4vw, 26px);
}

.page-home .board__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-home .board__clock {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--signal);
}

.page-home .board__match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 16px 0 14px;
}

.page-home .board__side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.page-home .board__side--right {
  align-items: flex-end;
  text-align: right;
}

.page-home .board__team {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1rem, 3.4vw, 1.2rem);
  line-height: 1.1;
  color: var(--paper);
}

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

.page-home .score {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-mono);
}

.page-home .score__num {
  font-size: clamp(2.4rem, 9vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--pulse);
  letter-spacing: .02em;
}

.page-home .score__sep {
  font-size: 1.4rem;
  color: var(--muted);
}

.page-home .board__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .board__stats .stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .board__stats .stat__value {
  font-family: var(--font-mono);
  font-size: clamp(.95rem, 3.6vw, 1.15rem);
  font-weight: 700;
  color: var(--paper);
  letter-spacing: .03em;
  line-height: 1.2;
}

.page-home .board__stats .stat:nth-child(1) .stat__value {
  color: var(--signal);
}

.page-home .board__stats .stat__label {
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
}

.page-home .board__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 13px;
}

.page-home .board__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--home-line-soft);
  color: var(--muted);
}

.page-home .board__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .board__list b {
  color: var(--paper);
  font-weight: 600;
  text-align: right;
}

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

.page-home .hero__pulse {
  display: none;
}

/* ---------- 最近场次 ---------- */
.page-home .strip {
  background: var(--ink-2);
}

.page-home .strip__head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(22px, 4vw, 34px);
}

.page-home .strip__title,
.page-home .watch__title,
.page-home .coord__title,
.page-home .trust__title,
.page-home .cta-band__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 5.6vw, 2.7rem);
  line-height: 1.06;
  letter-spacing: .01em;
  color: var(--paper);
  text-wrap: balance;
}

.page-home .strip__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 36px);
  align-items: start;
}

.page-home .match {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.page-home .match:last-child {
  border-bottom: 1px solid var(--line);
}

.page-home .match > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.page-home .match > summary::-webkit-details-marker {
  display: none;
}

.page-home .match__time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--sand);
}

.page-home .match__teams {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 15px;
  color: var(--paper);
  line-height: 1.4;
}

.page-home .match__teams em {
  font-style: normal;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--pulse);
}

.page-home .match__tag {
  justify-self: end;
  white-space: nowrap;
}

.page-home .match__sum {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .strip__figure {
  margin: 0;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
  border: 1px solid var(--line);
}

.page-home .strip__figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(.9);
}

.page-home .strip__figure .media__caption {
  padding: 12px 14px 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  background: var(--panel);
}

/* ---------- 我的关注 ---------- */
.page-home .watch {
  position: relative;
  background:
    linear-gradient(180deg, var(--ink), var(--ink) 55%, var(--ink-2));
}

.page-home .watch__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 48px);
  align-items: start;
}

.page-home .watch__text,
.page-home .trust__text {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.page-home .watch__rules {
  list-style: none;
  margin: 22px 0 26px;
  padding: 0;
  display: grid;
  gap: 13px;
}

.page-home .watch__rules li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--paper);
}

.page-home .watch__rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 11px;
  height: 11px;
  background: var(--signal);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.page-home .watch__figure {
  margin: 0;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}

.page-home .watch__figure img {
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.page-home .watch__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

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

/* ---------- 栏目坐标 ---------- */
.page-home .coord {
  background: var(--ink-2);
  position: relative;
}

.page-home .coord__lede {
  margin: 14px 0 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .coord__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin-top: clamp(24px, 4vw, 36px);
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .coord__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 22px 28px;
  background: var(--ink-2);
  text-decoration: none;
  color: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}

.page-home .coord__item:hover,
.page-home .coord__item:focus-visible {
  background: var(--panel);
  transform: translateY(-3px);
}

.page-home .coord__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--sand);
}

.page-home .coord__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: .01em;
  color: var(--paper);
}

.page-home .coord__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .coord__go {
  margin-top: auto;
  padding-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pulse);
  letter-spacing: .02em;
}

.page-home .coord__item:hover .coord__go,
.page-home .coord__item:focus-visible .coord__go {
  color: var(--focus);
}

/* ---------- 更新节奏 ---------- */
.page-home .trust {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(57, 245, 200, .1), transparent 60%),
    var(--ink);
}

.page-home .trust__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 48px);
  align-items: start;
}

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

.page-home .trust__figure {
  margin: 0 0 18px;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.page-home .trust__figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

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

.page-home .trust__cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px 20px;
  background: var(--ink);
}

.page-home .trust__num {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--pulse);
}

.page-home .trust__label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- 结尾信号条 ---------- */
.page-home .cta-band {
  background: linear-gradient(118deg, var(--signal), #d9500f);
  color: var(--ink);
}

.page-home .cta-band__title {
  color: var(--ink);
  margin-top: 0;
}

.page-home .cta-band__text {
  margin: 12px 0 0;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(6, 26, 19, .82);
}

.page-home .cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.page-home .cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .cta-band .btn {
  flex: 1 1 150px;
  justify-content: center;
  text-align: center;
}

.page-home .cta-band .btn--signal {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.page-home .cta-band .btn--ghost {
  color: var(--ink);
  border-color: rgba(6, 26, 19, .55);
}

/* ---------- 断点 ---------- */
@media (min-width: 700px) {
  .page-home .coord__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .strip__head {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: end;
    gap: 24px;
  }
}

@media (min-width: 900px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(32px, 4vw, 60px);
  }

  .page-home .hero__actions .btn {
    flex: 0 0 auto;
  }

  .page-home .hero__pulse {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 92px;
    opacity: .3;
    pointer-events: none;
    z-index: 1;
  }

  .page-home .strip__layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .page-home .watch__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .trust__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: center;
  }

  .page-home .cta-band__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
  }

  .page-home .cta-band .btn {
    flex: 0 0 auto;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .coord__item,
  .page-home .hero__pulse polyline {
    transition: none;
    animation: none;
  }

  .page-home .coord__item:hover,
  .page-home .coord__item:focus-visible {
    transform: none;
  }
}
