.page-home {
  --home-gap: clamp(20px, 3vw, 44px);
  --home-hair: rgba(154, 166, 196, .18);
  background: var(--ink);
  color: var(--paper);
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(56px, 9vw, 128px);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(53, 230, 224, .09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(53, 230, 224, .09) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(120% 92% at 22% 20%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 92% at 22% 20%, #000 0%, transparent 72%);
}

.page-home .hero .crumbs {
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-home .hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
  align-items: end;
}

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

.page-home .hero__kicker {
  margin: 0 0 clamp(12px, 2vw, 20px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--cyan);
  text-transform: uppercase;
}

.page-home .hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.26;
  letter-spacing: -.01em;
  color: var(--paper);
  max-width: 20em;
}

.page-home .hero__clock {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(12px, 2vw, 22px);
  margin: clamp(18px, 3vw, 34px) 0 clamp(20px, 3vw, 30px);
  padding-bottom: clamp(14px, 2vw, 22px);
}

.page-home .hero__clock::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(to right, var(--cyan-line), rgba(53, 230, 224, 0) 82%);
  transform: rotate(-1.2deg);
  transform-origin: left center;
}

.page-home .hero__clock-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(64px, 15.5vw, 180px);
  line-height: .82;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
  text-shadow: 0 0 80px rgba(53, 230, 224, .22);
}

.page-home .hero__clock-note {
  font-size: 12px;
  line-height: 1.62;
  color: var(--mist);
  letter-spacing: .04em;
  max-width: 11em;
  padding-bottom: clamp(6px, 1.2vw, 14px);
}

.page-home .hero__lede {
  margin: 0 0 clamp(22px, 3vw, 34px);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.82;
  color: var(--paper);
  opacity: .85;
  max-width: 34em;
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

.page-home .hero__alt {
  font-size: 14px;
  color: var(--mist);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  transition: color .22s var(--ease), border-color .22s var(--ease);
}

.page-home .hero__alt:hover,
.page-home .hero__alt:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
}

.page-home .hero__panel {
  position: relative;
  min-height: 240px;
  background: var(--panel);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), calc(100% - 44px) 100%, 0 100%);
}

.page-home .hero__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(198deg, rgba(140, 91, 255, .30) 0%, rgba(140, 91, 255, 0) 42%, rgba(7, 11, 24, .86) 92%);
}

.page-home .hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(53, 230, 224, .30);
}

.page-home .hero__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  filter: saturate(1.08) contrast(1.06);
}

.page-home .hero__stamp {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(7, 11, 24, .84);
  border-top: 1px solid var(--cyan-line);
  border-right: 1px solid var(--cyan-line);
}

.page-home .hero__stamp-k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--mist);
}

.page-home .hero__stamp-v {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.page-home .hero__stamp-v small {
  font-size: 12px;
  font-weight: 500;
  color: var(--mist);
  margin-left: 3px;
}

/* ---------- 通用区块头 ---------- */
.page-home .sec-head {
  max-width: 720px;
  margin-bottom: clamp(24px, 3.4vw, 44px);
}

.page-home .sec-head .prose {
  margin-top: 14px;
}

/* ---------- 赛程时间轴 ---------- */
.page-home .schedule__strip {
  position: relative;
  margin-bottom: clamp(26px, 4vw, 44px);
  background: var(--panel);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 30px));
}

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

.page-home .schedule__strip::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 11, 24, .90) 0%, rgba(7, 11, 24, .20) 52%, rgba(7, 11, 24, .74) 100%);
}

.page-home .schedule .axis {
  margin-top: clamp(16px, 2.4vw, 30px);
}

.page-home .axis__key {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--mist);
  white-space: nowrap;
}

.page-home .axis__key::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mist);
  flex: none;
}

.page-home .axis__key.is-ready::before {
  background: var(--green);
  box-shadow: 0 0 9px rgba(43, 224, 138, .72);
}

.page-home .axis__key.is-live::before {
  background: var(--gold);
  box-shadow: 0 0 9px rgba(255, 176, 32, .72);
}

.page-home .axis__key.is-todo::before {
  background: var(--violet);
  box-shadow: 0 0 9px rgba(140, 91, 255, .72);
}

.page-home .schedule__more {
  margin: clamp(20px, 3vw, 32px) 0 0;
}

.page-home .schedule__more-link {
  display: inline-block;
  font-size: 14px;
  color: var(--cyan);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--cyan-line);
  transition: border-color .22s var(--ease), color .22s var(--ease);
}

.page-home .schedule__more-link:hover,
.page-home .schedule__more-link:focus-visible {
  color: var(--paper);
  border-color: var(--paper);
}

/* ---------- 赛事卡片 ---------- */
.page-home .cards__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2vw, 22px);
}

.page-home .match {
  position: relative;
  display: block;
  padding: clamp(18px, 2.2vw, 26px);
  background: var(--panel);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}

.page-home .match::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--cyan) 0%, rgba(53, 230, 224, 0) 72%);
  opacity: .7;
}

.page-home .match::after {
  content: "→";
  position: absolute;
  right: clamp(18px, 2.2vw, 26px);
  bottom: clamp(14px, 1.8vw, 20px);
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--cyan);
  opacity: .45;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

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

.page-home .match:hover::after,
.page-home .match:focus-visible::after {
  transform: translateX(5px);
  opacity: 1;
}

.page-home .match:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-home .match__body {
  position: relative;
  z-index: 1;
  min-width: 0;
}

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

.page-home .match__time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mist);
  font-variant-numeric: tabular-nums;
}

.page-home .match__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 700;
  line-height: 1.34;
  color: var(--paper);
}

.page-home .match__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .03em;
  color: var(--mist);
}

.page-home .match__hover {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: clamp(16px, 2vw, 22px);
  background: linear-gradient(158deg, rgba(140, 91, 255, .94) 0%, rgba(14, 23, 48, .97) 64%);
  transform: translateY(101%);
  opacity: 0;
  pointer-events: none;
  transition: transform .42s var(--ease), opacity .28s var(--ease);
}

.page-home .match:hover .match__hover,
.page-home .match:focus-visible .match__hover {
  transform: translateY(0);
  opacity: 1;
}

.page-home .match__hover-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--paper);
}

/* ---------- 回放补看区 ---------- */
.page-home .replay__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 26px);
}

.page-home .replay__feature {
  background: var(--panel);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.page-home .replay__cover {
  position: relative;
  background: var(--ink-2);
}

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

.page-home .replay__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 11, 24, .18) 0%, rgba(7, 11, 24, 0) 44%, rgba(14, 23, 48, .92) 100%);
}

.page-home .replay__badge {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
}

.page-home .replay__feature-body {
  padding: clamp(16px, 2.2vw, 26px);
}

.page-home .replay__feature-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 700;
  line-height: 1.38;
  color: var(--paper);
}

.page-home .replay__feature-meta {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .03em;
  color: var(--mist);
}

.page-home .replay__list {
  display: grid;
  gap: 12px;
  align-content: start;
}

.page-home .replay__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--panel);
  color: inherit;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}

.page-home .replay__row:hover,
.page-home .replay__row:focus-visible {
  background: var(--panel-2);
  border-left-color: var(--cyan);
}

.page-home .replay__row:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-home .replay__row-no {
  flex: none;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--violet);
}

.page-home .replay__row-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.page-home .replay__row-title {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.42;
  color: var(--paper);
}

.page-home .replay__row-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--mist);
}

/* ---------- 路径缩短对照 ---------- */
.page-home .path__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
  align-items: center;
}

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

.page-home .path__compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: clamp(22px, 3vw, 34px);
}

.page-home .path__col {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.2vw, 26px);
  background: var(--panel);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.page-home .path__col--old {
  opacity: .58;
}

.page-home .path__col--new {
  background: linear-gradient(155deg, rgba(53, 230, 224, .16) 0%, var(--panel) 68%);
  box-shadow: inset 0 0 0 1px var(--cyan-line);
}

.page-home .path__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--mist);
}

.page-home .path__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  counter-reset: pstep;
}

.page-home .path__steps li {
  position: relative;
  padding-left: 30px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper);
  counter-increment: pstep;
}

.page-home .path__steps li::before {
  content: counter(pstep);
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  border-radius: 50%;
  color: var(--ink);
  background: var(--mist);
}

.page-home .path__col--new .path__steps li::before {
  background: var(--cyan);
}

.page-home .path__count {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--mist);
  font-variant-numeric: tabular-nums;
}

.page-home .path__col--new .path__count {
  color: var(--cyan);
}

.page-home .path__figure {
  margin: 0;
  position: relative;
  background: var(--panel);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

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

.page-home .path__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(140, 91, 255, .22) 0%, rgba(7, 11, 24, 0) 46%, rgba(7, 11, 24, .78) 100%);
}

/* ---------- 服务与备案收口 ---------- */
.page-home .service {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(44px, 7vw, 88px);
}

.page-home .service__title {
  margin: 0 0 clamp(16px, 2.4vw, 24px);
  font-family: var(--font-display);
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--mist);
}

.page-home .service__bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 44px);
  align-items: flex-start;
  padding-top: clamp(20px, 3vw, 30px);
  border-top: 1px solid var(--line);
}

.page-home .service__bar::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 120px;
  height: 1px;
  background: var(--cyan);
}

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

.page-home .service__k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--mist);
}

.page-home .service__v {
  font-size: 14px;
  line-height: 1.5;
  color: var(--paper);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.page-home a.service__v:hover,
.page-home a.service__v:focus-visible {
  color: var(--cyan);
}

.page-home .service__cell--links {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  margin-left: auto;
}

.page-home .service__cell--links a {
  font-size: 13.5px;
  color: var(--mist);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .22s var(--ease), border-color .22s var(--ease);
}

.page-home .service__cell--links a:hover,
.page-home .service__cell--links a:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
}

/* ---------- 视口渐变 ---------- */
@media (min-width: 600px) {
  .page-home .hero__panel {
    min-height: 320px;
  }

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

@media (min-width: 760px) {
  .page-home .cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .page-home .match:nth-child(even) {
    margin-top: 44px;
  }
}

@media (min-width: 900px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }

  .page-home .hero__panel {
    min-height: 480px;
  }

  .page-home .replay__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .path__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
  }
}

@media (hover: none) {
  .page-home .match:hover {
    transform: none;
  }

  .page-home .match__hover {
    position: static;
    transform: none;
    opacity: 1;
    padding: 0;
    margin-top: 14px;
    background: none;
    pointer-events: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .match,
  .page-home .match::after,
  .page-home .match__hover,
  .page-home .hero__alt,
  .page-home .schedule__more-link,
  .page-home .replay__row,
  .page-home .service__cell--links a {
    transition: none;
  }
}
