.page-home {
  position: relative;
  display: block;
  color: var(--ink);
  background-color: var(--pitch-900);
  background-image:
    linear-gradient(rgba(42, 72, 64, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 72, 64, 0.42) 1px, transparent 1px),
    radial-gradient(120% 62% at 10% -12%, rgba(124, 247, 212, 0.10), transparent 62%),
    radial-gradient(90% 55% at 102% 2%, rgba(255, 90, 54, 0.07), transparent 58%);
  background-size: 64px 64px, 64px 64px, 100% 100%, 100% 100%;
  overflow-x: clip;
}

.page-home .hero {
  padding-block: clamp(1.5rem, 4vw, 2.75rem) clamp(2rem, 5vw, 3.5rem);
}

.page-home .hero__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--mist);
}

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

.page-home .hero__crumb-sep {
  color: var(--grid);
}

.page-home .hero__frame {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 36, 26, 0.6), rgba(6, 20, 15, 0.94));
  overflow: hidden;
  isolation: isolate;
}

.page-home .hero__frame::before,
.page-home .hero__frame::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1px solid var(--cyan);
  pointer-events: none;
  z-index: 4;
}

.page-home .hero__frame::before {
  top: 12px;
  left: 12px;
  border-right: 0;
  border-bottom: 0;
}

.page-home .hero__frame::after {
  right: 12px;
  bottom: 12px;
  border-top: 0;
  border-left: 0;
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.86) contrast(1.06);
}

.page-home .hero__body {
  position: relative;
  z-index: 2;
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.25rem, 4.5vw, 4.25rem) clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(180deg, rgba(6, 20, 15, 0.42) 0%, rgba(6, 20, 15, 0.80) 52%, rgba(6, 20, 15, 0.97) 100%);
}

.page-home .hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--cyan);
  background: rgba(6, 20, 15, 0.5);
}

.page-home .hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(14, 217, 165, 0.18);
  animation: home-pulse 2.6s var(--ease) infinite;
}

@keyframes home-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.page-home .hero__title {
  margin: 0 0 1.1rem;
  max-width: 14ch;
  font-size: clamp(2.2rem, 6.6vw, 5.2rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-home .hero__lead {
  margin: 0 0 2rem;
  max-width: 54ch;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.85;
  color: var(--mist);
}

.page-home .hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-home .path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(11, 36, 26, 0.72), rgba(6, 20, 15, 0.72));
}

.page-home .path__item {
  position: relative;
  margin: 0;
  padding: 1.6rem 1.5rem 1.75rem;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .path__no {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--mint);
}

.page-home .path__title {
  margin: 0 0 0.6rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.page-home .path__text {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .path__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

/* 非对称分栏：左侧筛选 + 右侧赛事看板 */
.page-home .layout-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.page-home .rail__sticky {
  display: grid;
  gap: 1.25rem;
}

.page-home .filters,
.page-home .myteams {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 60, 44, 0.55), rgba(11, 36, 26, 0.85));
  padding: 1.25rem;
}

.page-home .filters__label {
  margin: 0 0 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.page-home .filters__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-home .filters__list li {
  margin: 0;
}

.page-home .filters__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line-soft);
  background: rgba(6, 20, 15, 0.55);
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--mist);
  white-space: nowrap;
}

.page-home .filters__item .num {
  font-size: 0.75rem;
  color: var(--cyan);
}

.page-home .filters__item.is-on {
  border-color: var(--cyan);
  background: rgba(124, 247, 212, 0.12);
  color: var(--ink);
}

.page-home .filters__note {
  margin: 1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .myteams__list {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.page-home .myteams__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 0.9rem;
  color: var(--ink);
}

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

.page-home .myteams__note {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .matchlist {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.page-home .match {
  border: 1px solid var(--line);
  border-left: 2px solid var(--mint);
  background:
    linear-gradient(90deg, rgba(124, 247, 212, 0.05), transparent 42%),
    var(--pitch-800);
  padding: 1.25rem clamp(1rem, 2.6vw, 1.75rem) 1.1rem;
}

.page-home .match__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-home .match__board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
}

.page-home .match__side {
  font-size: clamp(0.95rem, 2vw, 1.3rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.page-home .match__side--away {
  text-align: right;
}

.page-home .match__score--idle {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  color: var(--mist);
}

.page-home .match__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.78rem;
  color: var(--mist);
}

/* 横向赛事走廊 */
.page-home .fixtures {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(180deg, transparent, rgba(11, 36, 26, 0.72) 26%, rgba(11, 36, 26, 0.72) 74%, transparent);
}

.page-home .fixtures__rail {
  margin-top: 2rem;
}

.page-home .scroll-rail__track {
  list-style: none;
  margin: 0;
  padding: 0 var(--gut) 1.25rem;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gut);
  scrollbar-width: thin;
  scrollbar-color: var(--grid) transparent;
  -webkit-overflow-scrolling: touch;
}

.page-home .scroll-rail__track > li {
  flex: 0 0 min(80vw, 310px);
  scroll-snap-align: start;
}

.page-home .fixture {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.2rem 1.15rem 1.3rem;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(18, 60, 44, 0.6), rgba(11, 36, 26, 0.95));
}

.page-home .fixture__time {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-home .fixture__league {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.page-home .fixture__pair {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0.35rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

.page-home .fixture__vs {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  color: var(--mint);
}

.page-home .fixture__state {
  margin: auto 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-soft);
}

.page-home .fixtures__glow {
  margin: 1.5rem 0 0;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
}

.page-home .fixtures__glow img {
  display: block;
  width: 100%;
  height: clamp(88px, 15vw, 190px);
  object-fit: cover;
  opacity: 0.55;
}

/* 转会与交锋混排 */
.page-home .duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-top: 2rem;
}

.page-home .duo__title {
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}

.page-home .timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.35rem;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 1.5rem;
}

.page-home .timeline__item {
  position: relative;
  margin: 0;
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: calc(-1.35rem - 4px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 176, 32, 0.14);
}

.page-home .timeline__date {
  margin: 0 0 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-home .timeline__text {
  margin: 0 0 0.6rem;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--ink);
}

.page-home .duo__figure {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.page-home .duo__figure .figure__media {
  position: relative;
  flex: 1 1 auto;
  min-height: 240px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(135deg, var(--pitch-700), var(--pitch-900));
  overflow: hidden;
}

.page-home .duo__figure .figure__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.page-home .figure__caption {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.page-home .data-table th,
.page-home .data-table td {
  padding: 0.7rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .data-table thead th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--mist);
  border-bottom-color: var(--line);
}

.page-home .data-table tbody tr:nth-child(odd) {
  background: rgba(18, 60, 44, 0.42);
}

.page-home .data-table tbody th {
  font-weight: 600;
  color: var(--ink);
}

.page-home .data-table tbody td {
  color: var(--mist);
}

.page-home .data-table tbody td.num {
  color: var(--cyan);
  font-weight: 700;
}

.page-home .link-more {
  display: inline-block;
  margin-top: 1.25rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--cyan);
  text-decoration: none;
  transition: border-color 0.24s var(--ease), color 0.24s var(--ease);
}

.page-home .link-more:hover,
.page-home .link-more:focus-visible {
  border-bottom-color: var(--cyan);
  color: var(--ink);
}

/* 看台专栏 */
.page-home .section__head--row {
  display: grid;
  gap: 1rem;
}

.page-home .column__grid {
  margin-top: 2.25rem;
}

.page-home .post {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.35rem 0 0;
  border-top: 2px solid var(--line);
  transition: border-color 0.24s var(--ease);
}

.page-home .post:hover {
  border-top-color: var(--cyan);
}

.page-home .post__cat {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--mint);
}

.page-home .post__title {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink);
}

.page-home .post__desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.78;
  color: var(--mist);
}

.page-home .post__meta {
  margin: auto 0 0;
  padding-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--mist);
}

.page-home .column__more {
  margin-top: 2.25rem;
}

/* 约球友 */
.page-home .meetup {
  background: linear-gradient(180deg, transparent, rgba(18, 60, 44, 0.5) 40%, transparent);
}

.page-home .meetup__shell {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

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

.page-home .meetup__figure .figure__media {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: linear-gradient(135deg, var(--pitch-700), var(--pitch-900));
}

.page-home .meetup__figure .figure__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0.85;
}

.page-home .meetup__lead {
  margin: 0 0 1.75rem;
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--mist);
}

.page-home .meetup__stats {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem clamp(1.5rem, 4vw, 3rem);
}

.page-home .stat__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cyan);
}

.page-home .stat__label {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: var(--mist);
}

/* 跨设备 */
.page-home .crossdev__grid {
  margin-top: 2rem;
}

.page-home .crossdev__k {
  margin: 0 0 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--mint);
}

.page-home .crossdev__h {
  margin: 0 0 0.6rem;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.page-home .crossdev__p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .crossdev__aside {
  margin: 1.75rem 0 0;
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .crossdev__aside a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.page-home .crossdev__aside a:hover,
.page-home .crossdev__aside a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--cyan);
}

/* 收束 CTA */
.page-home .cta {
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 8vw, 7rem);
}

.page-home .cta__shell {
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  padding-block: clamp(2.5rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  background: radial-gradient(80% 120% at 50% 0%, rgba(124, 247, 212, 0.08), transparent 68%);
}

.page-home .cta__title {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(1.7rem, 4.4vw, 3.15rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-home .cta__lead {
  margin: 0;
  max-width: 46ch;
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--mist);
}

.page-home .cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* 响应式 */
@media (min-width: 640px) {
  .page-home .section__head--row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 1.5rem 2.5rem;
  }

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

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

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

  .page-home .duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "moves figure"
      "h2h figure";
    align-items: start;
  }

  .page-home .duo__moves { grid-area: moves; }
  .page-home .duo__figure { grid-area: figure; align-self: stretch; }
  .page-home .duo__h2h { grid-area: h2h; }
}

@media (min-width: 1080px) {
  .page-home .layout-rail {
    grid-template-columns: var(--rail) minmax(0, 1fr);
  }

  .page-home .rail__sticky {
    position: sticky;
    top: 6.5rem;
  }

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

@media (max-width: 560px) {
  .page-home .hero__frame::before,
  .page-home .hero__frame::after {
    width: 16px;
    height: 16px;
  }

  .page-home .match__board {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 0.35rem;
  }

  .page-home .match__side--away {
    text-align: left;
  }

  .page-home .match__score--idle {
    order: 3;
  }

  .page-home .scroll-rail__track > li {
    flex: 0 0 82vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero__dot {
    animation: none;
  }

  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
