.page-home {
  --rail-w: 216px;
  --club: var(--green);
  background: var(--ink);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  padding: calc(var(--head-h) + 40px) 0 52px;
  overflow: hidden;
  border-bottom: 1px solid var(--edge);
}

.page-home .hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
  filter: grayscale(.35) saturate(.5);
}

.page-home .hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 82% 10%, rgba(78, 168, 255, .16), transparent 58%),
    repeating-linear-gradient(90deg, rgba(47, 181, 102, .07) 0 1px, transparent 1px 96px),
    linear-gradient(180deg, rgba(11, 21, 18, .62) 0%, rgba(11, 21, 18, .93) 58%, var(--ink) 100%);
}

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

.page-home .hero .crumbs {
  margin-bottom: 30px;
}

.page-home .hero .crumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .12em;
  color: var(--stone-2);
}

.page-home .hero .crumbs__list a {
  color: var(--stone);
  text-decoration: none;
}

.page-home .hero .crumbs__list a:hover {
  color: var(--blue);
}

.page-home .hero .crumbs__list li + li::before {
  content: "/";
  margin-right: 10px;
  color: var(--edge);
}

.page-home .hero__top {
  display: grid;
  gap: 34px;
}

.page-home .hero__copy h1 {
  max-width: 15ch;
  margin: 12px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8.2vw, 3.7rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-home .hero__lead {
  max-width: 56ch;
  margin: 0 0 26px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--stone);
}

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

/* 轮次仪表 */
.page-home .hero__gauge {
  align-self: start;
  padding: 20px 22px 22px;
  border: 2px solid var(--edge);
  background: linear-gradient(180deg, rgba(16, 32, 27, .92), rgba(11, 21, 18, .92));
  box-shadow: var(--hard);
}

.page-home .gauge__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone);
}

.page-home .gauge__num {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 8px 0 6px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(4.4rem, 16vw, 8rem);
  font-weight: 700;
  line-height: .88;
  letter-spacing: -.05em;
  color: var(--paper);
}

.page-home .gauge__den {
  font-size: clamp(1.1rem, 3.6vw, 2rem);
  font-weight: 500;
  color: var(--stone-2);
  letter-spacing: 0;
}

.page-home .gauge__note {
  margin: 0 0 18px;
  font-size: .84rem;
  line-height: 1.6;
  color: var(--stone);
}

.page-home .track__bar {
  position: relative;
  height: 10px;
  overflow: hidden;
  border: 1px solid var(--edge);
  background: var(--ink-3);
}

.page-home .track__fill {
  display: block;
  height: 100%;
  width: calc(var(--v, .5) * 100%);
  background: linear-gradient(90deg, var(--green), var(--blue));
  transition: width var(--t-mid) ease;
}

.page-home .track__ticks {
  display: flex;
  justify-content: space-between;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .06em;
  color: var(--stone-2);
}

/* 净胜球差值卡 */
.page-home .hero__diff {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.page-home .diffrow {
  padding: 14px 16px 15px;
  border: 2px solid var(--edge);
  background: var(--ink-2);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}

.page-home .diffrow:hover {
  border-color: var(--blue);
  box-shadow: var(--hard-blue);
}

.page-home .diffrow__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .diffrow__val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--blue);
}

.page-home .diffrow__note {
  margin: 0;
  font-size: .78rem;
  color: var(--stone-2);
}

.page-home .diffbar {
  position: relative;
  height: 10px;
  margin: 12px 0 9px;
  overflow: hidden;
  border: 1px solid var(--edge);
  background: var(--ink-3);
}

.page-home .diffbar__mid {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 2;
  width: 1px;
  background: var(--edge);
}

.page-home .diffbar__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(var(--v, .5) * 50%);
  transition: width var(--t-mid) ease;
}

.page-home .diffbar[data-side="right"] .diffbar__fill {
  left: 50%;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.page-home .diffbar[data-side="left"] .diffbar__fill {
  right: 50%;
  background: linear-gradient(270deg, var(--stone-2), var(--blue));
}

/* ---------- 主体骨架 ---------- */
.page-home .stream-shell {
  display: grid;
  gap: 34px;
  padding-top: 52px;
  padding-bottom: 76px;
}

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

.page-home .rail__head {
  display: none;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--stone-2);
}

.page-home .rail__item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--edge);
  background: var(--ink-2);
  color: var(--stone);
  font-size: .84rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease;
}

.page-home .rail__item:hover,
.page-home .rail__item:focus-visible {
  border-color: var(--blue);
  color: var(--paper);
}

.page-home .rail__k {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--stone-2);
}

.page-home .rail__cta {
  flex: 0 0 auto;
  align-self: center;
  padding: 9px 13px;
  border: 1px solid var(--green);
  color: var(--green);
  font-size: .84rem;
  text-decoration: none;
  white-space: nowrap;
}

.page-home .rail__cta:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.page-home .stream {
  min-width: 0;
}

.page-home .block {
  scroll-margin-top: calc(var(--head-h) + 24px);
}

.page-home .block + .block {
  margin-top: 66px;
}

.page-home .block .section-head__title {
  max-width: 22ch;
}

.page-home .block .section-head__meta {
  font-size: .88rem;
  color: var(--stone);
}

/* ---------- 三级入口 ---------- */
.page-home .entries-figure {
  margin: 24px 0 0;
}

.page-home .entries {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.page-home .entry {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 20px 20px 22px;
  border: 2px solid var(--edge);
  background: var(--ink-2);
  color: var(--paper);
  text-decoration: none;
  transition: transform var(--t-fast) ease, border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}

.page-home .entry:hover {
  transform: translate(-2px, -2px);
  border-color: var(--blue);
  box-shadow: var(--hard-blue);
}

.page-home .entry__no {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .18em;
  color: var(--clay);
}

.page-home .entry__title {
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

.page-home .entry__desc {
  font-size: .9rem;
  line-height: 1.75;
  color: var(--stone);
}

.page-home .entry__go {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .1em;
  color: var(--blue);
}

/* ---------- 球队档案 ---------- */
.page-home .clubs {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.page-home .club {
  --club: var(--green);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 20px;
  border: 2px solid var(--edge);
  border-top: 3px solid var(--club);
  background: var(--ink-2);
  color: var(--paper);
  text-decoration: none;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}

.page-home .club:hover {
  border-color: var(--blue);
  border-top-color: var(--club);
  box-shadow: var(--hard-blue);
}

.page-home .club--red { --club: var(--red); }
.page-home .club--orange { --club: var(--orange); }
.page-home .club--blue { --club: var(--blue); }

.page-home .club__tag {
  align-self: flex-start;
  padding: 3px 9px;
  border: 1px solid var(--club);
  color: var(--club);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
}

.page-home .club__name {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

.page-home .club__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}

.page-home .club__stats dt {
  font-size: .72rem;
  color: var(--stone-2);
  letter-spacing: .04em;
}

.page-home .club__stats dd {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--paper);
}

.page-home .club__note {
  margin: 0;
  font-size: .85rem;
  line-height: 1.7;
  color: var(--stone);
}

/* ---------- 本周更新 ---------- */
.page-home .week {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

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

.page-home .tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.page-home .tabs__btn {
  padding: 8px 14px;
  border: 1px solid var(--edge);
  background: var(--ink-2);
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease, background var(--t-fast) ease;
}

.page-home .tabs__btn:hover {
  border-color: var(--blue);
  color: var(--paper);
}

.page-home .tabs__btn[aria-selected="true"] {
  border-color: var(--blue);
  background: var(--ink-3);
  color: var(--paper);
}

.page-home .week__cols {
  display: grid;
  gap: 22px;
}

.page-home .week__col-title {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--edge);
  font-size: .96rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--paper);
}

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

.page-home .week__list li {
  position: relative;
  padding: 0 0 12px 18px;
  font-size: .89rem;
  line-height: 1.7;
  color: var(--stone);
}

.page-home .week__list li::before {
  content: "";
  position: absolute;
  top: .68em;
  left: 0;
  width: 9px;
  height: 2px;
  background: var(--green);
}

/* ---------- 指标清单 ---------- */
.page-home .block--modules {
  position: relative;
  isolation: isolate;
  padding: 30px 0 6px;
}

.page-home .modules__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
  overflow: hidden;
}

.page-home .modules__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
  filter: grayscale(.4);
}

.page-home .modules__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 21, 18, .94), rgba(11, 21, 18, .72) 46%, rgba(11, 21, 18, .96));
}

.page-home .modules {
  margin-top: 26px;
}

.page-home .module {
  border: 2px solid var(--edge);
  background: rgba(16, 32, 27, .94);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}

.page-home .module:hover {
  border-color: var(--blue);
  box-shadow: var(--hard-blue);
}

.page-home .module .card__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

.page-home .module .card__note {
  font-size: .86rem;
  line-height: 1.75;
}

/* ---------- 观察条目 ---------- */
.page-home .reports {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--edge);
}

.page-home .reports li {
  border-bottom: 1px solid var(--edge);
}

.page-home .report {
  display: grid;
  gap: 6px;
  padding: 20px 0;
  color: var(--paper);
  text-decoration: none;
}

.page-home .report__meta {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .12em;
  color: var(--clay);
}

.page-home .report__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .report__title {
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.5;
  transition: color var(--t-fast) ease;
}

.page-home .report__desc {
  font-size: .88rem;
  line-height: 1.7;
  color: var(--stone);
}

.page-home .report:hover .report__title {
  color: var(--blue);
}

/* ---------- 订阅与合作 ---------- */
.page-home .join__grid {
  display: grid;
  gap: 16px;
}

.page-home .join__cell {
  padding: 24px 22px 26px;
  border: 2px solid var(--edge);
  background: linear-gradient(180deg, rgba(16, 32, 27, .96), rgba(11, 21, 18, .96));
}

.page-home .join__cell--alt {
  border-left: 3px solid var(--orange);
}

.page-home .join__title {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 3.4vw, 1.6rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.01em;
}

.page-home .join__desc {
  margin: 0 0 20px;
  font-size: .92rem;
  line-height: 1.78;
  color: var(--stone);
}

.page-home .join__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--edge);
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--stone);
}

.page-home .join__link {
  color: var(--blue);
  text-decoration: none;
}

.page-home .join__link:hover {
  text-decoration: underline;
}

/* ---------- 响应式 ---------- */
@media (min-width: 620px) {
  .page-home .hero__diff { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .entries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-home .clubs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .week__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .join__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 880px) {
  .page-home .hero { padding: calc(var(--head-h) + 56px) 0 64px; }
  .page-home .hero__top {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    align-items: end;
    gap: 44px;
  }
  .page-home .hero__diff { margin-top: 40px; }
  .page-home .week {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    align-items: start;
    gap: 28px;
  }
  .page-home .report {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
  }
}

@media (min-width: 1080px) {
  .page-home .hero__diff { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .page-home .clubs { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .page-home .stream-shell {
    grid-template-columns: var(--rail-w) minmax(0, 1fr);
    gap: 52px;
    padding-top: 64px;
  }

  .page-home .rail {
    display: block;
    position: sticky;
    top: calc(var(--head-h) + 26px);
    align-self: start;
    overflow: visible;
    padding-bottom: 0;
    border-right: 1px solid var(--edge);
    padding-right: 20px;
  }

  .page-home .rail__head { display: block; }

  .page-home .rail__item {
    display: flex;
    width: 100%;
    border: none;
    border-left: 2px solid var(--edge);
    background: none;
    padding: 11px 0 11px 14px;
    white-space: normal;
  }

  .page-home .rail__item + .rail__item { margin-top: 2px; }

  .page-home .rail__item:hover,
  .page-home .rail__item:focus-visible {
    border-left-color: var(--blue);
    color: var(--paper);
  }

  .page-home .rail__cta {
    display: inline-block;
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry,
  .page-home .diffrow,
  .page-home .club,
  .page-home .module,
  .page-home .track__fill,
  .page-home .diffbar__fill {
    transition: none;
  }

  .page-home .entry:hover {
    transform: none;
  }
}

.page-home {
  --v: 1rem;
}
