.page-home {
  --home-rail: 220px;
  --home-index: 112px;
  --home-gap: 16px;
  display: block;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
}

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

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: 24px 0 56px;
  background:
    radial-gradient(120% 90% at 50% 0%, #0F2E27 0%, #0A1210 68%),
    var(--ink);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: saturate(0.7) contrast(1.08) brightness(0.85);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, rgba(58, 242, 206, 0.05) 0 1px, transparent 1px 4px),
    linear-gradient(to bottom, rgba(10, 18, 16, 0.28), rgba(10, 18, 16, 0.94));
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
}

.page-home .home-hero__ctx {
  display: block;
  margin: 0 0 18px;
  color: var(--mist);
}

.page-home .home-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.page-home .home-hero__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 9vw, 148px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--paper);
}

.page-home .home-hero__lead {
  max-width: 62ch;
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(233, 246, 241, 0.82);
}

/* ---------- 数据面板 ---------- */
.page-home .home-panel {
  padding: 16px;
  border: 1px solid rgba(58, 242, 206, 0.34);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(24, 64, 55, 0.74), rgba(11, 33, 28, 0.9));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 26px 64px -34px rgba(0, 0, 0, 0.92);
}

.page-home .home-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.page-home .home-panel__eyebrow {
  display: block;
  margin: 0 0 6px;
  color: var(--cyan);
}

.page-home .home-panel__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 4.6vw, 30px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .home-panel__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-home .home-panel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 47, 0.16);
}

.page-home .home-panel__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.page-home .jbs-chip {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 18, 16, 0.5);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-home .jbs-chip:hover,
.page-home .jbs-chip[aria-pressed="true"] {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}

.page-home .home-panel__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.page-home [data-filter-item][hidden] {
  display: none;
}

.page-home .home-tile {
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(10, 18, 16, 0.42);
}

.page-home .home-tile__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--mist);
}

.page-home .home-tile__lead {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--paper);
}

.page-home .home-tile__lead strong {
  font-family: var(--font-mono);
  font-size: 26px;
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
  margin-right: 4px;
}

.page-home .home-tile__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--mist);
}

.page-home .home-score,
.page-home .home-fixture {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.page-home .home-score__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line-soft);
}

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

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

.page-home .home-score__val {
  font-family: var(--font-mono);
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
  letter-spacing: 0.02em;
}

.page-home .home-score__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.page-home .home-fixture li {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 13px;
  color: var(--paper);
}

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

.page-home .home-fixture__time {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  color: var(--cyan);
}

.page-home .home-tile--shot {
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-home .home-tile--shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .home-tile--shot figcaption {
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--mist);
}

/* ---------- 左侧轨道 ---------- */
.page-home .home-rail {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(24, 64, 55, 0.5), rgba(15, 46, 39, 0.24));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.page-home .home-rail__label {
  display: block;
  margin: 0 0 10px;
  color: var(--violet);
}

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

.page-home .home-rail__item {
  padding: 7px 0 7px 10px;
  border-left: 2px solid var(--line);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.page-home .home-rail__item:hover,
.page-home .home-rail__item:focus-within {
  border-left-color: var(--cyan);
  background: rgba(58, 242, 206, 0.07);
}

.page-home .home-rail__link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--paper);
}

.page-home .home-rail__no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-home .home-rail__name {
  font-size: 15px;
  font-weight: 700;
}

.page-home .home-rail__note {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--mist);
}

.page-home .home-rail__item:hover .home-rail__note {
  color: rgba(233, 246, 241, 0.92);
}

/* ---------- 右侧索引 ---------- */
.page-home .home-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.page-home .home-index__item {
  padding: 10px 8px;
  border-top: 1px solid var(--line);
}

.page-home .home-index__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: var(--orange);
}

.page-home .home-index__label {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

/* ---------- 三步路径 ---------- */
.page-home .home-path {
  padding: 44px 0;
  background: var(--deep-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

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

.page-home .home-path__title {
  margin: 10px 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 5vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--paper);
}

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

.page-home .home-path__step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

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

.page-home .home-path__step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(233, 246, 241, 0.86);
}

.page-home .home-path__step-no {
  font-family: var(--font-mono);
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
  color: var(--cyan);
}

/* ---------- 更新节点 ---------- */
.page-home .home-update {
  padding: 52px 0;
  background: var(--ink);
}

.page-home .home-update__panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(152deg, rgba(122, 92, 255, 0.16) 0%, rgba(15, 46, 39, 0.55) 44%, rgba(10, 18, 16, 0.92) 100%);
}

.page-home .home-update__head {
  max-width: 66ch;
  margin-bottom: 20px;
}

.page-home .home-update__title {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 5vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .home-update__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(233, 246, 241, 0.82);
}

.page-home .home-update__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

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

.page-home .home-update__stat {
  padding: 12px 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(10, 18, 16, 0.4);
}

.page-home .home-update__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(22px, 4.4vw, 34px);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: var(--cyan);
}

.page-home .home-update__label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

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

/* ---------- 收藏回访 ---------- */
.page-home .home-return {
  padding: 48px 0;
  background: var(--deep);
  border-top: 1px solid var(--line);
}

.page-home .home-return__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.page-home .home-return__title {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 4.6vw, 38px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .home-return__body p {
  max-width: 64ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(233, 246, 241, 0.84);
}

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

.page-home .home-return__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(233, 246, 241, 0.78);
}

.page-home .home-return__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 2px;
  background: var(--cyan);
}

.page-home .home-return__note {
  padding: 14px 0 14px 14px;
  border-left: 2px solid var(--orange);
}

.page-home .home-return__note p {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .home-return__link {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(58, 242, 206, 0.4);
}

/* ---------- 反馈条 ---------- */
.page-home .home-feedback {
  padding: 30px 0 44px;
  background: var(--deep-2);
  border-top: 1px solid var(--line);
}

.page-home .home-feedback__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.page-home .home-feedback__text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(233, 246, 241, 0.84);
}

.page-home .home-feedback__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .home-hero {
    padding: 32px 0 64px;
  }

  .page-home .home-panel {
    padding: 20px;
  }

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

  .page-home .home-tile--scores {
    grid-column: span 2;
  }

  .page-home .home-update__panel {
    padding: 28px;
  }

  .page-home .home-path,
  .page-home .home-update,
  .page-home .home-return {
    padding: 64px 0;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__layout {
    grid-template-columns: var(--home-rail) minmax(0, 1fr) var(--home-index);
    gap: var(--home-gap);
    align-items: start;
  }

  .page-home .home-hero__stage {
    grid-column: 2;
    grid-row: 1;
  }

  .page-home .home-rail {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
  }

  .page-home .home-index {
    grid-column: 3;
    grid-row: 1 / span 2;
    grid-template-columns: minmax(0, 1fr);
    align-self: start;
  }

  .page-home .home-hero__lead {
    font-size: 17px;
  }

  .page-home .home-path__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 40px;
  }

  .page-home .home-update__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: 28px;
  }

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

@media (min-width: 1200px) {
  .page-home .home-hero__title {
    letter-spacing: -0.035em;
  }

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

  .page-home .home-tile--scores {
    grid-column: span 4;
  }

  .page-home .home-tile--shot {
    grid-column: span 2;
    grid-row: span 2;
  }

  .page-home .home-tile--fixture,
  .page-home .home-tile--stats {
    grid-column: span 2;
  }

  .page-home .home-path,
  .page-home .home-update,
  .page-home .home-return {
    padding: 84px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .jbs-chip,
  .page-home .home-rail__item {
    transition: none;
  }
}
