.page-home {
  background: var(--paper);
  color: var(--seed);
  font-family: var(--font-sans);
}

/* ---------- 上下文条 ---------- */
.page-home .home-context {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.page-home .home-context__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 10px 0;
}
.page-home .home-context__note {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--graphite);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.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.16;
}
.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 88px 88px;
}
.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  padding: 44px 0 48px;
}
.page-home .home-hero__eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--kiwi-dark);
  text-transform: uppercase;
}
.page-home .home-hero h1 {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(28px, 6.4vw, 54px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--seed);
}
.page-home .home-hero__lead {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink-soft);
}
.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 34px;
  max-width: 660px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.page-home .home-stat {
  background: var(--paper);
  padding: 13px 14px 14px;
}
.page-home .home-stat__num {
  display: block;
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--seed);
}
.page-home .home-stat__unit {
  margin-left: 2px;
  font-size: 12px;
  font-weight: 500;
  color: var(--graphite);
}
.page-home .home-stat__label {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--graphite);
}

/* ---------- 栏目入口 ---------- */
.page-home .home-entries {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.page-home .entry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-1);
  color: var(--seed);
  text-decoration: none;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.page-home .entry:hover,
.page-home .entry:focus-visible {
  border-color: var(--kiwi);
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  outline: none;
}
.page-home .entry__coord {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--graphite);
}
.page-home .entry__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.page-home .entry:hover .entry__title {
  color: var(--kiwi-dark);
}
.page-home .entry__text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.page-home .entry__peek {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  border-top: 1px dashed var(--line);
  transition: max-height 0.3s var(--ease), opacity 0.22s var(--ease), margin-top 0.22s var(--ease);
}
.page-home .entry:hover .entry__peek,
.page-home .entry:focus-visible .entry__peek {
  max-height: 180px;
  opacity: 1;
  margin-top: 10px;
}
.page-home .entry__peek li {
  padding: 4px 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--graphite);
}
.page-home .entry__peek li::before {
  content: "— ";
  color: var(--kiwi-dark);
}
@media (hover: none) {
  .page-home .entry__peek {
    max-height: 180px;
    opacity: 1;
    margin-top: 10px;
  }
}

/* ---------- 本轮焦点（深色区） ---------- */
.page-home .home-focus {
  position: relative;
  padding: 48px 0 56px;
  background: linear-gradient(180deg, var(--seed) 0%, var(--deep) 100%);
  color: var(--paper);
  overflow: hidden;
}
.page-home .home-focus::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--dark-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--dark-line) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.5;
  pointer-events: none;
}
.page-home .home-focus > .container {
  position: relative;
  z-index: 1;
}
.page-home .home-focus .section__coord {
  color: var(--kiwi);
}
.page-home .home-focus .section__title {
  color: var(--white);
}
.page-home .home-focus .section__lead {
  color: rgba(246, 248, 246, 0.74);
}
.page-home .home-focus__head {
  margin-bottom: 32px;
}
.page-home .home-focus__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

/* 图片框 */
.page-home .home-focus__fig {
  margin: 0 0 24px;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.page-home .home-focus__fig img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.page-home .img-frame__caption {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--graphite);
}

/* 赛程轴 */
.page-home .rail {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 78px;
}
.page-home .rail::before {
  content: "";
  position: absolute;
  left: 56px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--dark-line);
}
.page-home .rail__item {
  position: relative;
  padding: 0 0 26px;
}
.page-home .rail__item:last-child {
  padding-bottom: 0;
}
.page-home .rail__item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--deep);
  border: 1px solid var(--kiwi-dark);
}
@keyframes homeRoundPulse {
  0%   { box-shadow: 0 0 0 0 rgba(47, 209, 138, 0.55); }
  100% { box-shadow: 0 0 0 16px rgba(47, 209, 138, 0); }
}
.page-home .rail__item.is-current::before {
  background: var(--kiwi);
  border-color: var(--kiwi);
  animation: homeRoundPulse 1.2s var(--ease) 1;
}
.page-home .rail__round {
  position: absolute;
  left: -78px;
  top: 1px;
  width: 44px;
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(246, 248, 246, 0.55);
}
.page-home .rail__item.is-current .rail__round {
  color: var(--kiwi);
}
.page-home .rail__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.page-home .rail__meta {
  font-size: 11px;
  color: rgba(246, 248, 246, 0.5);
}
.page-home .rail__fixtures {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-home .rail__fix {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--dark-line);
  font-size: 13px;
}
.page-home .rail__fix:last-child {
  border-bottom: 0;
}
.page-home .rail__league {
  flex: 0 0 42px;
  color: rgba(246, 248, 246, 0.66);
  font-size: 12px;
}
.page-home .rail__score {
  flex: 0 0 auto;
  color: var(--electric);
  font-size: 14px;
  font-weight: 700;
}
.page-home .rail__note {
  color: rgba(246, 248, 246, 0.45);
  font-size: 12px;
  line-height: 1.5;
}

/* 积分快照 */
.page-home .snap {
  padding: 20px 18px 18px;
  background: rgba(246, 248, 246, 0.03);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-m);
}
.page-home .snap__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.page-home .snap__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
}
.page-home .snap__caption {
  text-align: left;
  padding: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(246, 248, 246, 0.45);
}
.page-home .snap__note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(246, 248, 246, 0.55);
}
.page-home .table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.page-home .snap .data-table {
  width: 100%;
  min-width: 380px;
  border-collapse: collapse;
  font-size: 13px;
}
.page-home .snap .data-table th,
.page-home .snap .data-table td {
  padding: 9px 10px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--dark-line);
}
.page-home .snap .data-table thead th {
  background: rgba(47, 209, 138, 0.1);
  font-size: 12px;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: 0.02em;
}
.page-home .snap .data-table tbody th {
  font-weight: 500;
  color: rgba(246, 248, 246, 0.82);
}
.page-home .snap .data-table tbody tr:last-child th,
.page-home .snap .data-table tbody tr:last-child td {
  border-bottom: 0;
}
.page-home .snap .data-table .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--electric);
}
.page-home .snap .up { color: var(--kiwi); }
.page-home .snap .down { color: var(--alarm); }

/* 斜切分隔 */
.page-home .home-slash {
  height: 54px;
  background: var(--deep);
  clip-path: polygon(0 0, 100% 0, 100% 26%, 0 100%);
}

/* ---------- 联赛覆盖 ---------- */
.page-home .home-leagues {
  padding-top: 10px;
  padding-bottom: 48px;
}
.page-home .home-leagues__head {
  max-width: 76ch;
  margin-bottom: 30px;
}
.page-home .home-leagues .section__lead {
  color: var(--ink-soft);
}
.page-home .home-leagues__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.page-home .home-leagues__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.page-home .league {
  position: relative;
  padding: 16px 16px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--kiwi);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-1);
}
.page-home .league__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.page-home .league__name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.page-home .league__rounds {
  font-size: 12px;
  color: var(--kiwi-dark);
  letter-spacing: 0.02em;
}
.page-home .league__text {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.page-home .league__fields {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-home .league__fields li {
  padding: 3px 8px;
  font-size: 11px;
  color: var(--graphite);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--paper);
}
.page-home .home-leagues__fig {
  margin: 0;
  aspect-ratio: 10 / 7;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.page-home .home-leagues__fig img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 阅读区网格 ---------- */
.page-home .home-reading {
  padding-bottom: 56px;
}
.page-home .toc {
  display: none;
}
.page-home .home-reading__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
}

/* ---------- 使用路径 ---------- */
.page-home .home-path {
  max-width: 72ch;
}
.page-home .path {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.page-home .path__step {
  position: relative;
  padding: 20px 18px;
  background: var(--white);
}
.page-home .path__step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--kiwi) 0%, var(--electric) 100%);
}
.page-home .path__num {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--line);
  line-height: 1;
  margin-bottom: 10px;
}
.page-home .path__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.page-home .path__text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.page-home .path__link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--kiwi-dark);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.page-home .path__link:hover {
  color: var(--seed);
}

/* ---------- 薪资结构研究板 ---------- */
.page-home .home-salary {
  position: relative;
  overflow: hidden;
  padding: 30px 20px 26px;
  background: var(--seed);
  border-radius: var(--radius-l);
  color: var(--paper);
}
.page-home .home-salary__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.page-home .home-salary__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}
.page-home .home-salary__body {
  position: relative;
  z-index: 1;
}
.page-home .home-salary .section__coord {
  color: var(--kiwi);
}
.page-home .home-salary .section__title {
  color: var(--white);
}
.page-home .home-salary .section__lead {
  color: rgba(246, 248, 246, 0.72);
  max-width: 62ch;
}
.page-home .salary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}
.page-home .salary-dim {
  padding: 16px 16px 14px;
  background: rgba(246, 248, 246, 0.05);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-m);
}
.page-home .salary-dim__label {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--electric);
  letter-spacing: -0.01em;
}
.page-home .salary-dim__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.72;
  color: rgba(246, 248, 246, 0.7);
}
.page-home .salary-note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--dark-line);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(246, 248, 246, 0.55);
}

/* ---------- 应用与稳定版 ---------- */
.page-home .home-apps {
  max-width: 76ch;
}
.page-home .home-apps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 26px;
}
.page-home .app-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-1);
}
.page-home .app-panel--ios {
  border-color: rgba(47, 209, 138, 0.5);
  background: linear-gradient(180deg, rgba(47, 209, 138, 0.07) 0%, var(--white) 60%);
}
.page-home .app-panel__head {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.page-home .app-panel--ios .app-panel__head {
  color: var(--kiwi-dark);
}
.page-home .app-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.page-home .app-panel__list li {
  position: relative;
  padding: 6px 0 6px 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.page-home .app-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 7px;
  height: 1px;
  background: var(--kiwi);
}

/* ---------- 收尾 ---------- */
.page-home .home-start {
  padding: 28px 20px 26px;
  background: var(--deep);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-l);
  color: var(--paper);
}
.page-home .home-start .section__title {
  color: var(--white);
  margin-bottom: 18px;
}
.page-home .start-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page-home .start-list__item {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(246, 248, 246, 0.76);
}
.page-home .start-list__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 1px;
  background: var(--electric);
}
.page-home .home-start__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.page-home .home-start__note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--dark-line);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(246, 248, 246, 0.55);
}
.page-home .home-start__note a {
  color: var(--kiwi);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .home-entries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .home-leagues__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .salary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .home-apps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    padding: 64px 0 60px;
  }
  .page-home .home-focus {
    padding: 64px 0 72px;
  }
  .page-home .home-focus__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 40px;
    align-items: start;
  }
  .page-home .home-leagues__grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: 32px;
    align-items: start;
  }
  .page-home .home-leagues__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .home-slash {
    height: 80px;
  }
  .page-home .path {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .home-salary {
    padding: 40px 36px 34px;
  }
  .page-home .home-start {
    padding: 36px 34px 32px;
  }
}

@media (min-width: 1040px) {
  .page-home .home-entries {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-home .home-reading {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }
  .page-home .toc {
    display: block;
    position: sticky;
    top: 104px;
    padding-left: 16px;
    border-left: 1px solid var(--line);
  }
  .page-home .toc__title {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--graphite);
  }
  .page-home .toc__list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: grid;
    gap: 2px;
  }
  .page-home .toc__link {
    display: block;
    padding: 5px 0;
    font-size: 13px;
    color: var(--graphite);
    text-decoration: none;
    border-left: 2px solid transparent;
    margin-left: -17px;
    padding-left: 15px;
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
  }
  .page-home .toc__link:hover,
  .page-home .toc__link[aria-current] {
    color: var(--seed);
    border-left-color: var(--kiwi);
  }
}
</final>
