.page-home {
  --home-row: clamp(48px, 7vw, 104px);
  --home-gap: clamp(20px, 3vw, 40px);
  position: relative;
  isolation: isolate;
}

.page-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(53, 208, 192, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(53, 208, 192, .055) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: radial-gradient(120% 55% at 68% 0%, #000 0%, transparent 74%);
  mask-image: radial-gradient(120% 55% at 68% 0%, #000 0%, transparent 74%);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  padding-block: clamp(20px, 3vw, 40px) var(--home-row);
}

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

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
}

.page-home .home-hero__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(31px, 6.2vw, 66px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.015em;
  color: var(--mist);
}

.page-home .home-hero__lead {
  margin: 18px 0 0;
  max-width: 52ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.78;
  color: var(--gray);
}

.page-home .home-hero__stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(24px, 3vw, 34px) 0 0;
  padding: 0;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.page-home .home-hero__stats li {
  background: var(--ink);
  padding: 14px 12px;
  min-width: 0;
}

.page-home .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(26px, 4.4vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--lime);
}

.page-home .stat-plus {
  font-size: .55em;
  color: var(--gray);
  margin-left: 2px;
}

.page-home .stat-label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--gray);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 32px);
}

.page-home .home-hero__visual {
  margin: 0;
  min-width: 0;
}

.page-home .home-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
}

.page-home .home-hero__caption {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--gray);
}

/* ---------- 当日完赛摘要 ---------- */
.page-home .finish-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: clamp(40px, 5vw, 72px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.page-home .finish-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.8vw, 27px);
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--mist);
}

.page-home .finish-head__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  color: var(--gray);
}

.page-home .finish-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .finish-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  grid-template-areas:
    "time sport score"
    "time stat link";
  align-items: center;
  gap: 4px 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .25s var(--ease);
}

.page-home .finish-row:hover {
  background: rgba(184, 255, 60, .035);
}

.page-home .finish-row__time {
  grid-area: time;
  align-self: start;
  padding-top: 3px;
  font-size: 13px;
  color: var(--gray);
}

.page-home .finish-row__sport {
  grid-area: sport;
  font-size: 15px;
  font-weight: 500;
  color: var(--mist);
}

.page-home .finish-row__stat {
  grid-area: stat;
  font-size: 13px;
  letter-spacing: .03em;
  color: var(--gray);
}

.page-home .finish-row__score {
  grid-area: score;
  font-family: var(--font-mono);
  font-size: clamp(20px, 3.2vw, 28px);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--lime);
  white-space: nowrap;
}

.page-home .finish-row__link {
  grid-area: link;
  justify-self: end;
  font-size: 13px;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.page-home .finish-row__link:hover {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

/* ---------- 四条主线横向主题带 ---------- */
.page-home .home-topics {
  padding-block: var(--home-row);
}

.page-home .home-topics .section__head {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.page-home .topic-band {
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 16px;
  margin: 0;
  padding: 4px 0 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}

.page-home .topic-band > li {
  scroll-snap-align: start;
}

.page-home .topic-band::-webkit-scrollbar {
  height: 4px;
}

.page-home .topic-band::-webkit-scrollbar-thumb {
  background: var(--line);
}

.page-home .topic-band::-webkit-scrollbar-track {
  background: transparent;
}

.page-home .topic-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 216px;
  padding: 22px 20px 20px;
  background: var(--charcoal);
  border: 1px solid var(--line);
  overflow: hidden;
}

.page-home .topic-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), rgba(184, 255, 60, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

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

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

.page-home .topic-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--mist);
}

.page-home .topic-card__text {
  margin: 0;
  flex: 1;
  font-size: 14px;
  line-height: 1.72;
  color: var(--gray);
}

.page-home .topic-card__link {
  align-self: flex-start;
  font-size: 14px;
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 255, 60, .35);
  padding-bottom: 2px;
  transition: border-color .2s var(--ease);
}

.page-home .topic-card__link:hover {
  border-bottom-color: var(--lime);
}

/* ---------- 控球率速览 ---------- */
.page-home .home-possession {
  padding-block: var(--home-row);
}

.page-home .possession-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 48px);
}

.page-home .possession-main .section__lead {
  max-width: 56ch;
}

.page-home .match-list {
  list-style: none;
  margin: clamp(24px, 3vw, 36px) 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.page-home .match {
  padding: 18px 18px 16px;
  background: var(--graphite);
  border-left: 2px solid var(--line);
  transition: border-color .25s var(--ease);
}

.page-home .match:hover {
  border-left-color: var(--lime);
}

.page-home .match__name {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--mist);
}

.page-home .match__line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.page-home .match__side {
  flex: 0 0 46px;
  font-size: 14px;
  color: var(--gray);
}

.page-home .match__side.is-lime {
  color: var(--lime);
}

.page-home .match__side.is-teal {
  color: var(--teal);
}

.page-home .match__track {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  height: 8px;
  background: rgba(242, 246, 244, .07);
}

.page-home .match__track-fill {
  display: block;
  height: 100%;
  background: var(--lime);
}

.page-home .match__track-fill.is-alt {
  background: var(--teal);
}

.page-home .match__note {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--gray);
}

.page-home .possession-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.page-home .possession-figure {
  margin: 0;
}

.page-home .possession-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
}

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

.page-home .possession-aside .btn {
  align-self: flex-start;
}

/* ---------- 视频集锦 ---------- */
.page-home .home-video {
  padding-block: var(--home-row);
}

.page-home .home-video .section__head {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.page-home .video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 2.6vw, 30px);
}

.page-home .video-card {
  margin: 0;
  min-width: 0;
}

.page-home .video-card__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(60% 70% at 50% 40%, rgba(53, 208, 192, .16), transparent 72%), var(--graphite);
}

.page-home .video-card__frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .5s var(--ease), filter .5s var(--ease);
}

.page-home .video-card:hover .video-card__frame img {
  transform: scale(1.02);
  filter: brightness(1.06);
}

.page-home .video-card__dur {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 3px 8px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mist);
  background: rgba(13, 17, 16, .82);
  border: 1px solid var(--line);
}

.page-home .video-card__title {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.28;
}

.page-home .video-card__title a {
  color: var(--mist);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.page-home .video-card__title a:hover {
  color: var(--lime);
}

.page-home .video-card__meta {
  margin: 10px 0 0;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--gray);
}

.page-home .video-side {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.page-home .video-mini {
  background: var(--ink);
  padding: 18px 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "dur title"
    "dur meta";
  gap: 6px 14px;
  align-items: start;
}

.page-home .video-mini__dur {
  grid-area: dur;
  font-size: 12.5px;
  color: var(--orange);
  letter-spacing: .06em;
  padding-top: 3px;
}

.page-home .video-mini__title {
  grid-area: title;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.page-home .video-mini__title a {
  color: var(--mist);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.page-home .video-mini__title a:hover {
  color: var(--lime);
}

.page-home .video-mini__meta {
  grid-area: meta;
  margin: 0;
  font-size: 12.5px;
  color: var(--gray);
}

/* ---------- 关注列表 ---------- */
.page-home .home-watch {
  padding-block: var(--home-row);
}

.page-home .watch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
}

.page-home .watch-main .section__title {
  margin-top: 12px;
}

.page-home .watch-main .section__lead {
  margin-top: 14px;
  max-width: 56ch;
}

.page-home .watch-log {
  margin-top: clamp(22px, 3vw, 32px);
  padding: 18px 20px;
  background: var(--graphite);
  border: 1px solid var(--line);
  border-left: 2px solid var(--orange);
}

.page-home .watch-log__head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--orange);
}

.page-home .watch-log__body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .watch-log__meta {
  margin: 12px 0 0;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--gray);
}

.page-home .watch-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: clamp(22px, 3vw, 30px);
}

.page-home .watch-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  background: var(--lime);
  border: 1px solid var(--lime);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}

.page-home .watch-toggle:hover {
  background: #a9f22c;
}

.page-home .watch-toggle[aria-pressed="true"] {
  background: transparent;
  color: var(--lime);
}

.page-home .watch-toggle__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  transition: background-color .25s var(--ease);
}

.page-home .watch-toggle[aria-pressed="true"] .watch-toggle__dot {
  background: var(--orange);
}

.page-home .watch-aside {
  min-width: 0;
  display: flex;
  justify-content: center;
}

.page-home .watch-aside img {
  display: block;
  width: min(100%, 380px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
}

/* ---------- 为什么留在这里 ---------- */
.page-home .home-trust {
  padding-block: var(--home-row);
}

.page-home .home-trust .section__head {
  margin-bottom: clamp(24px, 3vw, 40px);
}

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

.page-home .trust-item {
  background: var(--charcoal);
  padding: clamp(20px, 3vw, 30px);
  min-width: 0;
}

.page-home .trust-item__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--lime);
}

.page-home .trust-item__num span {
  font-size: .46em;
  color: var(--gray);
  margin-left: 3px;
}

.page-home .trust-item__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--mist);
}

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

.page-home .trust-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: clamp(24px, 3vw, 34px);
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid var(--line);
}

.page-home .trust-foot__text {
  margin: 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.72;
  color: var(--gray);
}

.page-home .trust-foot__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-home .topic-band {
    grid-auto-columns: 44%;
  }

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

@media (min-width: 900px) {
  .page-home .topic-band {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    padding-bottom: 0;
  }

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

@media (min-width: 960px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
  }

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

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

  .page-home .finish-row {
    grid-template-columns: 68px minmax(0, 1.4fr) minmax(0, 1fr) 108px 58px;
    grid-template-areas: "time sport stat score link";
    gap: 12px 18px;
    padding: 17px 0;
  }

  .page-home .finish-row__time {
    align-self: center;
    padding-top: 0;
  }

  .page-home .finish-row__link {
    justify-self: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .video-card__frame img,
  .page-home .topic-card::after,
  .page-home .finish-row,
  .page-home .match {
    transition: none;
  }

  .page-home .video-card:hover .video-card__frame img {
    transform: none;
  }
}
