.page-home {
  --home-line: rgba(167, 155, 255, 0.16);
  --home-card-bg: linear-gradient(180deg, rgba(20, 29, 66, 0.92), rgba(7, 10, 24, 0.94));
  --home-gap: clamp(64px, 11vw, 132px);
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding-block: clamp(20px, 4vw, 40px) clamp(32px, 6vw, 72px);
  background:
    radial-gradient(130% 95% at 4% 112%, rgba(91, 75, 255, 0.55), transparent 62%),
    radial-gradient(85% 70% at 98% -6%, rgba(53, 214, 240, 0.18), transparent 58%),
    linear-gradient(165deg, var(--navy-800) 0%, var(--ink-900) 72%);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.024) 0 1px, transparent 1px 4px);
  opacity: 0.55;
}

.page-home .home-hero > .jy-container {
  position: relative;
  z-index: 1;
}

.page-home .home-hero__inner {
  display: grid;
  gap: clamp(24px, 5vw, 44px);
}

.page-home .home-hero__kicker {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--volt-400);
}

.page-home .home-hero__title {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 9.4vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.01em;
  color: var(--white);
  transform: scaleX(0.95);
  transform-origin: left center;
}

.page-home .home-hero__desc {
  max-width: 34em;
  color: var(--slate-200);
}

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

.page-home .home-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--home-line);
}

.page-home .home-fact {
  min-width: 96px;
}

.page-home .home-fact__label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(199, 206, 228, 0.72);
}

.page-home .home-fact__num {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1;
  color: var(--white);
}

.page-home .home-fact__num .jy-num {
  color: var(--volt-400);
}

.page-home .home-hero__visual {
  position: relative;
  margin: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
  background: var(--navy-700);
}

.page-home .home-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.08) brightness(0.86) hue-rotate(-6deg);
}

.page-home .home-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(215deg, rgba(7, 10, 24, 0.1) 0%, rgba(91, 75, 255, 0.42) 100%);
  mix-blend-mode: screen;
}

.page-home .home-hero__caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--white);
  background: rgba(7, 10, 24, 0.72);
  border-left: 2px solid var(--volt-400);
}

/* ---------- 三条路径 ---------- */
.page-home .home-paths {
  display: grid;
  gap: 12px;
  margin-top: clamp(28px, 5vw, 52px);
}

.page-home .home-path {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 18px 18px 16px 20px;
  text-decoration: none;
  background: var(--home-card-bg);
  border: 1px solid var(--home-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  transition: transform 140ms var(--ease), border-color 140ms var(--ease);
}

.page-home .home-path::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--violet-300);
}

.page-home .home-path--schedule::before { background: var(--volt-400); }
.page-home .home-path--preview::before { background: var(--amber-400); }
.page-home .home-path--matrix::before { background: var(--cyan-400); }

.page-home .home-path__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(199, 206, 228, 0.66);
}

.page-home .home-path__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.page-home .home-path__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate-200);
}

.page-home .home-path__link {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--violet-300);
}

.page-home .home-path:hover,
.page-home .home-path:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(59, 240, 140, 0.5);
}

/* ---------- 赛程片段 ---------- */
.page-home .home-ticker {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid var(--home-line);
  background: rgba(14, 21, 51, 0.7);
}

.page-home .home-ticker__label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--volt-400);
}

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

.page-home .home-ticker__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(167, 155, 255, 0.14);
}

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

.page-home .home-ticker__time {
  font-size: 13px;
  color: var(--white);
}

.page-home .home-ticker__match {
  font-size: 13px;
  color: var(--slate-200);
}

.page-home .home-ticker__state {
  justify-self: end;
  padding: 3px 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--slate-200);
  border: 1px solid rgba(167, 155, 255, 0.28);
}

.page-home .home-ticker__state--live {
  color: var(--ink-900);
  background: var(--volt-400);
  border-color: var(--volt-400);
}

.page-home .home-ticker__state--preview {
  color: var(--amber-400);
  border-color: rgba(255, 194, 75, 0.5);
}

.page-home .home-ticker__state--saved {
  color: var(--cyan-400);
  border-color: rgba(53, 214, 240, 0.45);
}

/* ---------- 注册 ---------- */
.page-home .home-reg {
  background: linear-gradient(180deg, var(--ink-900) 0%, var(--navy-800) 100%);
}

.page-home .home-reg__inner {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.page-home .home-reg__lead .jy-h2 {
  margin: 10px 0 14px;
}

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

.page-home .home-reg__steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.page-home .home-step {
  position: relative;
  padding: 18px 18px 18px 58px;
  background: rgba(7, 10, 24, 0.72);
  border: 1px solid var(--home-line);
  border-left: 2px solid var(--violet-600);
}

.page-home .home-step__num {
  position: absolute;
  left: 16px;
  top: 16px;
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--violet-300);
}

.page-home .home-step__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.page-home .home-step__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate-200);
}

/* ---------- 赛程中心 ---------- */
.page-home .home-schedule__head {
  display: grid;
  gap: 14px;
}

.page-home .home-schedule__head .jy-h2 { margin-top: 10px; }

.page-home .home-schedule__intro {
  max-width: 40em;
}

.page-home .home-schedule__body {
  display: grid;
  gap: clamp(20px, 4vw, 36px);
  margin-top: clamp(24px, 4vw, 40px);
}

.page-home .home-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.page-home .home-tab {
  flex: 0 0 auto;
  padding: 7px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--slate-200);
  background: rgba(20, 29, 66, 0.7);
  border: 1px solid var(--home-line);
  border-radius: 2px;
  transition: color 120ms var(--ease), border-color 120ms var(--ease);
}

.page-home .home-tab:hover,
.page-home .home-tab:focus-visible {
  color: var(--white);
  border-color: var(--volt-400);
}

.page-home .home-day {
  margin-top: 18px;
  padding-left: 16px;
  border-left: 1px solid rgba(91, 75, 255, 0.5);
}

.page-home .home-day__date {
  position: relative;
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--volt-400);
}

.page-home .home-day__date::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 4px;
  width: 8px;
  height: 8px;
  background: var(--violet-600);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(91, 75, 255, 0.22);
}

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

.page-home .home-game {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  padding: 12px 14px;
  background: rgba(14, 21, 51, 0.66);
  border: 1px solid var(--home-line);
  border-radius: 2px;
}

.page-home .home-game__time {
  font-size: 15px;
  color: var(--white);
}

.page-home .home-game__body {
  display: grid;
  gap: 2px;
}

.page-home .home-game__league {
  font-size: 14px;
  color: var(--white);
}

.page-home .home-game__teams {
  font-size: 13px;
  color: rgba(199, 206, 228, 0.78);
}

.page-home .home-game__state {
  grid-column: 2;
  justify-self: start;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--slate-200);
  border: 1px solid rgba(167, 155, 255, 0.26);
}

.page-home .home-game__state--live {
  color: var(--ink-900);
  background: var(--volt-400);
  border-color: var(--volt-400);
}

.page-home .home-game__state--preview {
  color: var(--amber-400);
  border-color: rgba(255, 194, 75, 0.5);
}

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

.page-home .home-schedule__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--home-line);
  filter: saturate(0.9) contrast(1.05) brightness(0.92);
}

.page-home .home-schedule__more {
  margin-top: 18px;
}

.page-home .home-schedule__more a {
  color: var(--violet-300);
}

/* ---------- 前瞻 ---------- */
.page-home .home-preview {
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--ink-900) 62%);
}

.page-home .home-preview__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.page-home .home-preview__head .jy-h2 { margin-top: 10px; }

.page-home .home-preview__intro {
  margin-top: 16px;
  max-width: 42em;
}

.page-home .home-preview__grid {
  display: grid;
  gap: 14px;
  margin-top: clamp(24px, 4vw, 40px);
}

.page-home .home-card {
  display: flex;
  flex-direction: column;
  background: var(--home-card-bg);
  border: 1px solid var(--home-line);
  border-top: 2px solid var(--amber-400);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 140ms var(--ease), border-color 140ms var(--ease);
}

.page-home .home-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 194, 75, 0.55);
}

.page-home .home-card--feature {
  border-top-width: 3px;
}

.page-home .home-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.1) brightness(0.88);
}

.page-home .home-card__body {
  display: grid;
  gap: 8px;
  padding: 16px 16px 18px;
}

.page-home .home-card .jy-tag {
  justify-self: start;
}

.page-home .home-card__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.45;
  color: var(--white);
}

.page-home .home-card__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate-200);
}

.page-home .home-card__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(199, 206, 228, 0.66);
}

/* ---------- 对比矩阵 ---------- */
.page-home .home-matrix {
  background:
    radial-gradient(100% 70% at 100% 0%, rgba(53, 214, 240, 0.14), transparent 60%),
    var(--ink-900);
}

.page-home .home-matrix__head .jy-h2 { margin: 10px 0 14px; }

.page-home .home-matrix__head .jy-prose { max-width: 44em; }

.page-home .home-matrix__scroll {
  margin-top: clamp(22px, 4vw, 36px);
  overflow-x: auto;
  border: 1px solid rgba(53, 214, 240, 0.28);
  background: rgba(14, 21, 51, 0.72);
}

.page-home .home-matrix__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13px;
}

.page-home .home-matrix__table caption {
  text-align: left;
}

.page-home .home-matrix__table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 12px 14px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-400);
  background: #0B1230;
  border-bottom: 1px solid rgba(53, 214, 240, 0.32);
  white-space: nowrap;
}

.page-home .home-matrix__table tbody th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 500;
  color: rgba(199, 206, 228, 0.8);
  white-space: nowrap;
  border-bottom: 1px solid rgba(167, 155, 255, 0.1);
}

.page-home .home-matrix__table tbody td {
  padding: 12px 14px;
  color: var(--white);
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid rgba(167, 155, 255, 0.1);
  font-variant-numeric: tabular-nums;
}

.page-home .home-matrix__table tbody tr:last-child th,
.page-home .home-matrix__table tbody tr:last-child td {
  border-bottom: 0;
}

.page-home .home-matrix__foot {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

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

.page-home .home-matrix__figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--home-line);
  filter: saturate(0.85) contrast(1.08) brightness(0.9);
}

.page-home .home-matrix__aside {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-home .home-matrix__aside .jy-btn {
  justify-self: start;
}

/* ---------- 字段清单 ---------- */
.page-home .home-fields {
  background: var(--navy-800);
}

.page-home .home-fields__head .jy-h2 { margin: 10px 0 14px; }

.page-home .home-fields__head .jy-prose { max-width: 44em; }

.page-home .home-fields__grid {
  display: grid;
  gap: 10px;
  margin-top: clamp(22px, 4vw, 34px);
}

.page-home .field-group {
  position: relative;
  padding: 18px 16px;
  background: var(--paper-100);
  color: #14183A;
  border-radius: 2px;
  border-left: 3px solid var(--violet-600);
}

.page-home .field-group__count {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 28px;
  line-height: 1;
  color: var(--violet-600);
}

.page-home .field-group__name {
  margin: 8px 0 6px;
  font-family: var(--font-serif);
  font-size: 17px;
  color: #14183A;
}

.page-home .field-group__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #3A4166;
}

.page-home .home-fields__note {
  margin-top: 20px;
}

.page-home .home-fields__note a {
  color: var(--violet-300);
}

/* ---------- 收藏与反馈 ---------- */
.page-home .home-collect {
  background: linear-gradient(160deg, var(--ink-900) 0%, #101A42 100%);
}

.page-home .home-collect__inner {
  display: grid;
  gap: 18px;
}

.page-home .home-collect__panel .jy-h2 {
  margin: 10px 0 14px;
  font-size: clamp(24px, 5vw, 36px);
}

.page-home .home-collect__list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-collect__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate-200);
  background: rgba(7, 10, 24, 0.55);
  border: 1px solid var(--home-line);
}

.page-home .home-collect__mark {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--volt-400);
}

.page-home .home-collect__action {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 22px 20px;
  background: linear-gradient(200deg, rgba(91, 75, 255, 0.28), rgba(7, 10, 24, 0.9));
  border: 1px solid rgba(167, 155, 255, 0.28);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.page-home .home-collect__action-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--white);
}

.page-home .home-collect__action-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate-200);
}

.page-home .home-collect__action .jy-btn {
  justify-self: start;
}

/* ---------- 焦点可见性 ---------- */
.page-home a:focus-visible,
.page-home button:focus-visible {
  outline: 2px solid var(--violet-300);
  outline-offset: 3px;
}

/* ---------- 576px 以上 ---------- */
@media (min-width: 576px) {
  .page-home .home-paths {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .page-home .home-ticker__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 0;
    border-bottom: 0;
    border-left: 1px solid rgba(167, 155, 255, 0.18);
    padding-left: 12px;
  }

  .page-home .home-ticker__state { justify-self: start; }

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

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

/* ---------- 900px 以上 ---------- */
@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: end;
  }

  .page-home .home-hero__visual { margin-bottom: 6px; }

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

  .page-home .home-schedule__head {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: end;
    gap: clamp(24px, 5vw, 64px);
  }

  .page-home .home-schedule__body {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
    gap: clamp(24px, 4vw, 48px);
  }

  .page-home .home-schedule__figure {
    position: sticky;
    top: calc(var(--bar-h) + 24px);
  }

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

  .page-home .home-card--feature {
    grid-column: span 2;
    flex-direction: row;
  }

  .page-home .home-card--feature img {
    width: 44%;
    aspect-ratio: auto;
    height: 100%;
    min-height: 240px;
  }

  .page-home .home-card--feature .home-card__body {
    width: 56%;
    align-content: center;
    padding: 24px;
  }

  .page-home .home-card--feature .home-card__title {
    font-size: 22px;
  }

  .page-home .home-matrix__foot {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: clamp(20px, 3vw, 32px);
    align-items: start;
  }

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

  .page-home .home-collect__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
  }

  .page-home .home-matrix__table {
    min-width: 100%;
  }
}

/* ---------- 1200px 以上 ---------- */
@media (min-width: 1200px) {
  .page-home .home-hero__title {
    font-size: clamp(64px, 7.4vw, 100px);
  }

  .page-home .home-paths {
    gap: 16px;
  }
}

/* ---------- 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .home-path,
  .page-home .home-card,
  .page-home .home-tab {
    transition: none;
  }

  .page-home .home-path:hover,
  .page-home .home-card:hover {
    transform: none;
  }
}
