.page-home {
  background: var(--ud-ink);
  color: var(--ud-white);
  overflow-x: clip;
}

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

/* ============ 首屏 ============ */
.page-home .hero {
  position: relative;
  isolation: isolate;
  padding-top: calc(var(--ud-header-h) + clamp(48px, 9vw, 128px));
  padding-bottom: 0;
  overflow: hidden;
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
}

.page-home .hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 78% at 12% 0%, rgba(53, 242, 201, .16), transparent 56%),
    radial-gradient(92% 70% at 100% 96%, rgba(255, 90, 43, .15), transparent 62%),
    linear-gradient(180deg, rgba(7, 33, 27, .34) 0%, rgba(7, 33, 27, .88) 68%, var(--ud-ink) 100%);
}

.page-home .hero__beam {
  position: absolute;
  top: -22%;
  left: -12%;
  z-index: -1;
  width: 68%;
  height: 150%;
  transform: rotate(-17deg);
  background: linear-gradient(90deg, transparent, rgba(53, 242, 201, .07), transparent);
  pointer-events: none;
}

.page-home .hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(34px, 5vw, 68px);
  align-items: end;
}

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

.page-home .hero__title {
  margin: 14px 0 0;
  font-size: clamp(50px, 11vw, 148px);
  line-height: .92;
  letter-spacing: -.038em;
}

.page-home .hero__title em {
  font-style: normal;
  color: var(--ud-cyan);
}

.page-home .hero__lede {
  margin: 24px 0 0;
  max-width: 34ch;
  color: var(--ud-steel);
}

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

.page-home .hero__timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--ud-line);
  background: linear-gradient(180deg, rgba(14, 49, 40, .7), rgba(7, 33, 27, .2));
}

.page-home .hero__timeline-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 14px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--ud-line);
  font-size: 14px;
  transition: background .22s var(--ud-ease), padding-left .22s var(--ud-ease);
}

.page-home .hero__timeline-item:last-child {
  border-bottom: 0;
}

.page-home .hero__timeline-item:hover {
  background: var(--ud-cyan-06);
  padding-left: 20px;
}

.page-home .hero__time {
  font-size: 12px;
  color: var(--ud-orange);
  letter-spacing: .04em;
  white-space: nowrap;
}

.page-home .hero__teams {
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--ud-white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 横向联赛标签条 */
.page-home .hero__rail {
  margin-top: clamp(44px, 6vw, 84px);
  border-top: 2px solid var(--ud-line);
  border-bottom: 2px solid var(--ud-line);
  background: var(--ud-ink-2);
}

.page-home .hero__rail-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.page-home .hero__rail-key {
  flex: none;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--ud-orange);
}

.page-home .hero__rail-list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 2px 2px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page-home .hero__rail-list::-webkit-scrollbar {
  display: none;
}

.page-home .hero__rail-list li {
  flex: none;
  padding: 5px 13px;
  border: 1px solid var(--ud-line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ud-steel);
  white-space: nowrap;
  transition: border-color .22s var(--ud-ease), color .22s var(--ud-ease);
}

.page-home .hero__rail-list li.is-current {
  border-color: var(--ud-cyan-45);
  color: var(--ud-cyan);
  background: var(--ud-cyan-06);
}

/* ============ 通用章节 ============ */
.page-home .ud-section {
  padding-block: clamp(56px, 8vw, 104px);
}

/* ============ 赛程入口 ============ */
.page-home .fixtures {
  border-top: 2px solid var(--ud-line);
}

.page-home .fixtures__note {
  max-width: 38ch;
}

.page-home .fixtures__tabs {
  margin-top: clamp(28px, 4vw, 44px);
}

.page-home .fixtures__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 2px solid var(--ud-line);
  border-radius: var(--ud-radius);
  background: var(--ud-ink-2);
  overflow: hidden;
}

.page-home .fixtures__row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px clamp(14px, 2.4vw, 26px);
  border-bottom: 1px solid var(--ud-line);
  transition: background .22s var(--ud-ease), box-shadow .22s var(--ud-ease);
}

.page-home .fixtures__row:last-child {
  border-bottom: 0;
}

.page-home .fixtures__row:hover {
  background: var(--ud-cyan-06);
  box-shadow: inset 3px 0 0 0 var(--ud-cyan);
}

.page-home .fixtures__time {
  font-size: 15px;
  font-weight: 600;
  color: var(--ud-white);
}

.page-home .fixtures__round {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ud-orange);
}

.page-home .fixtures__teams {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: clamp(17px, 2.1vw, 22px);
  font-weight: 700;
  letter-spacing: -.012em;
  color: var(--ud-white);
}

.page-home .fixtures__teams i {
  font-style: normal;
  font-family: var(--ud-font-mono);
  font-size: 11px;
  color: var(--ud-mute);
}

.page-home .fixtures__venue {
  font-size: 13px;
  color: var(--ud-steel);
}

.page-home .fixtures__foot {
  margin: 20px 0 0;
  font-size: 14px;
}

.page-home .fixtures__link {
  color: var(--ud-cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--ud-cyan-45);
  padding-bottom: 2px;
  transition: border-color .22s var(--ud-ease);
}

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

/* ============ 关注榜单 ============ */
.page-home .watch {
  background: var(--ud-ink-2);
  border-top: 2px solid var(--ud-line);
  border-bottom: 2px solid var(--ud-line);
}

.page-home .watch__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: end;
}

.page-home .watch__lede {
  max-width: 40ch;
  margin: 0;
}

.page-home .watch__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.6vw, 30px);
  margin-top: clamp(32px, 4vw, 50px);
}

.page-home .watch__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px clamp(16px, 2vw, 24px);
  background: var(--ud-ink);
  border: 2px solid var(--ud-line);
  border-radius: var(--ud-radius);
  box-shadow: var(--ud-shadow-hard);
  transition: border-color .24s var(--ud-ease), transform .24s var(--ud-ease), box-shadow .24s var(--ud-ease);
}

.page-home .watch__card:hover {
  border-color: var(--ud-cyan);
  transform: translate(-3px, -3px);
  box-shadow: 12px 12px 0 0 var(--ud-line);
}

.page-home .watch__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ud-line);
}

.page-home .watch__league {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  letter-spacing: -.014em;
  color: var(--ud-white);
}

.page-home .watch__ring {
  position: relative;
  flex: none;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}

.page-home .watch__ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.page-home .watch__ring-track {
  fill: none;
  stroke: var(--ud-line);
  stroke-width: 4;
}

.page-home .watch__ring-fill {
  fill: none;
  stroke: var(--ud-cyan);
  stroke-width: 4;
  stroke-linecap: round;
}

.page-home .watch__ring-num {
  position: relative;
  font-size: 10px;
  letter-spacing: -.02em;
  color: var(--ud-steel);
}

.page-home .watch__rank {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
}

.page-home .watch__rank li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  border-bottom: 1px solid var(--ud-line);
  font-size: 14px;
}

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

.page-home .watch__pos {
  font-size: 12px;
  color: var(--ud-mute);
}

.page-home .watch__rank li:nth-child(1) .watch__pos,
.page-home .watch__rank li:nth-child(2) .watch__pos {
  color: var(--ud-amber);
}

.page-home .watch__name {
  color: var(--ud-white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .watch__pts {
  font-size: 13px;
  color: var(--ud-steel);
}

.page-home .watch__foot {
  margin: auto 0 0;
  padding-top: 14px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ud-mute);
}

.page-home .watch__hint {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin: clamp(26px, 3.4vw, 40px) 0 0;
  padding: 16px clamp(14px, 2vw, 22px);
  border: 2px dashed var(--ud-line);
  border-radius: var(--ud-radius);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ud-steel);
}

.page-home .watch__hint-key {
  flex: none;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--ud-cyan);
}

/* ============ 数据说明 ============ */
.page-home .dataflow__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(30px, 4vw, 46px);
}

.page-home .dataflow__media {
  position: relative;
  margin: 0;
  border: 2px solid var(--ud-line);
  border-radius: var(--ud-radius);
  box-shadow: var(--ud-shadow-hard);
  overflow: hidden;
}

.page-home .dataflow__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.85) contrast(1.06);
}

.page-home .dataflow__list {
  margin: 0;
  border-top: 2px solid var(--ud-line);
}

.page-home .dataflow__item {
  padding: 18px 0 18px 18px;
  border-bottom: 1px solid var(--ud-line);
  border-left: 2px solid transparent;
  transition: border-color .24s var(--ud-ease);
}

.page-home .dataflow__item:hover {
  border-left-color: var(--ud-cyan);
}

.page-home .dataflow__item dt {
  font-family: var(--ud-font-mono);
  font-size: clamp(19px, 2.6vw, 26px);
  letter-spacing: -.014em;
  color: var(--ud-cyan);
}

.page-home .dataflow__item dd {
  margin: 8px 0 0;
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ud-steel);
}

/* ============ 资讯速览 ============ */
.page-home .briefs {
  background: var(--ud-ink-2);
  border-top: 2px solid var(--ud-line);
  border-bottom: 2px solid var(--ud-line);
}

.page-home .briefs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.8vw, 32px);
  margin-top: clamp(28px, 4vw, 44px);
}

.page-home .briefs__feature {
  display: grid;
  gap: 18px;
  padding: clamp(16px, 2.2vw, 24px);
  background: var(--ud-ink);
  border: 2px solid var(--ud-line);
  border-radius: var(--ud-radius);
  transition: border-color .24s var(--ud-ease);
}

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

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

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

.page-home .briefs__when {
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--ud-mute);
}

.page-home .briefs__title {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.012em;
  color: var(--ud-white);
}

.page-home .briefs__text {
  margin: 10px 0 0;
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ud-steel);
}

.page-home .briefs__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ud-line);
}

.page-home .briefs__item {
  padding: 18px 0;
  border-bottom: 1px solid var(--ud-line);
}

.page-home .briefs__foot {
  margin: clamp(24px, 3vw, 36px) 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--ud-orange);
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ud-steel);
}

/* ============ 电脑端对照 ============ */
.page-home .desk {
  border-top: 2px solid var(--ud-line);
}

.page-home .desk__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.page-home .desk__lede {
  max-width: 38ch;
  margin: 18px 0 0;
}

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

.page-home .desk__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ud-steel);
}

.page-home .desk__list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 8px;
  height: 8px;
  border: 2px solid var(--ud-cyan);
  transform: rotate(45deg);
}

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

.page-home .desk__mock {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: clamp(12px, 2vw, 18px);
  background: var(--ud-ink-2);
  border: 2px solid var(--ud-line);
  border-radius: var(--ud-radius);
  box-shadow: var(--ud-shadow-hard);
}

.page-home .desk__win {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  aspect-ratio: 16 / 10;
  padding: 12px 10px 10px;
  background:
    linear-gradient(160deg, rgba(53, 242, 201, .1), transparent 62%),
    var(--ud-ink);
  border: 2px solid var(--ud-line);
  border-radius: var(--ud-radius);
  overflow: hidden;
  transition: border-color .24s var(--ud-ease), transform .24s var(--ud-ease);
}

.page-home .desk__win:hover {
  border-color: var(--ud-cyan);
  transform: translateY(-3px);
}

.page-home .desk__win-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--ud-cyan), var(--ud-orange));
  opacity: .5;
}

.page-home .desk__win-name {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ud-white);
}

.page-home .desk__win-line {
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--ud-mute);
}

/* ============ 首次到访引导 ============ */
.page-home .onboard {
  background: var(--ud-ink-2);
  border-top: 2px solid var(--ud-line);
}

.page-home .onboard__card {
  padding: clamp(24px, 4vw, 52px);
  background: var(--ud-ink);
  border: 2px solid var(--ud-cyan-45);
  border-radius: var(--ud-radius);
  box-shadow: var(--ud-shadow-hard);
}

.page-home .onboard__sub {
  margin: 16px 0 0;
  max-width: 48ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ud-steel);
}

.page-home .onboard__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 36px);
  margin: clamp(26px, 3.4vw, 38px) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .onboard__step {
  padding-top: 18px;
  border-top: 2px solid var(--ud-cyan);
}

.page-home .onboard__num {
  display: block;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--ud-orange);
}

.page-home .onboard__step .ud-h3 {
  margin: 10px 0 0;
  font-size: clamp(18px, 2.1vw, 22px);
  font-weight: 700;
  color: var(--ud-white);
}

.page-home .onboard__step p {
  margin: 10px 0 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ud-steel);
}

.page-home .onboard__foot {
  margin: clamp(26px, 3.2vw, 36px) 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--ud-line);
  font-size: 14px;
  line-height: 1.75;
  color: var(--ud-steel);
}

.page-home .onboard__foot a {
  color: var(--ud-cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--ud-cyan-45);
  transition: border-color .2s var(--ud-ease);
}

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

/* ============ 响应式 ============ */
@media (min-width: 760px) {
  .page-home .onboard__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .fixtures__row {
    display: grid;
    grid-template-columns: 84px 96px minmax(0, 1fr) minmax(0, 200px) auto;
    align-items: center;
    gap: 14px;
  }

  .page-home .fixtures__row:hover {
    box-shadow: inset 3px 0 0 0 var(--ud-cyan);
  }
}

@media (min-width: 880px) {
  .page-home .hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  }

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

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

@media (min-width: 900px) {
  .page-home .dataflow__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }

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

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

@media (min-width: 1120px) {
  .page-home .desk__mock {
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }

  .page-home .watch__card:hover,
  .page-home .desk__win:hover {
    transform: none;
  }
}
