.page-home {
  --home-rule: rgba(245, 247, 246, 0.12);
  --home-dark-rule: rgba(10, 13, 16, 0.12);
  --home-gap: clamp(56px, 7vw, 104px);
}

/* ---------- 框架与索引栏 ---------- */
.page-home .home-grid {
  display: block;
}

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

.page-home .home-flow > * + * {
  margin-top: var(--home-gap);
}

.page-home .page-toc {
  display: none;
}

@media (min-width: 1024px) {
  .page-home .home-grid {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    column-gap: 56px;
    align-items: start;
  }

  .page-home .page-toc {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 28px);
    padding-top: 12px;
  }

  .page-home .toc-title {
    margin: 0 0 14px;
    padding-left: 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted-soft);
  }

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

  .page-home .toc-list a {
    display: block;
    padding: 7px 8px 7px 14px;
    border-left: 2px solid var(--rule);
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
  }

  .page-home .toc-list a:hover {
    color: var(--mica);
  }

  .page-home .toc-list a[aria-current="true"] {
    color: var(--pitch);
    border-left-color: var(--pitch);
  }
}

/* ---------- 框景首屏 ---------- */
.page-home .home-hero {
  padding-top: 8px;
}

.page-home .hero-frame {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(74vh, 580px);
  padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 52px) 46px;
  border: 1px solid var(--home-rule);
  border-radius: 4px;
  background: var(--obsidian);
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  pointer-events: none;
}

.page-home .hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 12% 8%, rgba(0, 225, 123, 0.16), transparent 58%),
    radial-gradient(90% 80% at 92% 4%, rgba(61, 123, 255, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(10, 13, 16, 0.28) 0%, rgba(10, 13, 16, 0.84) 58%, var(--obsidian) 100%);
  pointer-events: none;
}

.page-home .hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(245, 247, 246, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 247, 246, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.page-home .hero-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 20px;
  border-top: 1px solid var(--home-rule);
  background-image: repeating-linear-gradient(
    90deg,
    rgba(245, 247, 246, 0.28) 0 1px,
    transparent 1px 22px
  );
  background-repeat: repeat-x;
  background-position: left bottom;
  pointer-events: none;
}

.page-home .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 46rem;
}

.page-home .hero-title {
  margin: 14px 0 16px;
  font-size: clamp(2.3rem, 7vw, 4.6rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.005em;
  color: var(--mica);
}

.page-home .hero-lede {
  margin: 0;
  max-width: 34rem;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- 赛季主题带 ---------- */
.page-home .season-band {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 46px) clamp(20px, 3.5vw, 44px);
  border: 1px solid var(--home-rule);
  border-radius: 4px;
  background: linear-gradient(138deg, var(--indigo) 0%, #150f36 48%, var(--teal) 100%);
}

.page-home .season-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  pointer-events: none;
}

.page-home .season-head,
.page-home .season-track,
.page-home .season-foot {
  position: relative;
  z-index: 1;
}

.page-home .season-head .section-title {
  max-width: 26em;
}

.page-home .season-head .lede {
  max-width: 40em;
  color: rgba(245, 247, 246, 0.68);
}

.page-home .season-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(172px, 1fr);
  gap: 18px;
  margin: 36px 0 26px;
  padding: 0 0 8px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.page-home .season-track::-webkit-scrollbar {
  height: 4px;
}

.page-home .season-track::-webkit-scrollbar-thumb {
  background: rgba(245, 247, 246, 0.24);
  border-radius: 2px;
}

.page-home .season-node {
  position: relative;
  padding-top: 32px;
  scroll-snap-align: start;
}

.page-home .season-node::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  right: -18px;
  height: 1px;
  background: rgba(245, 247, 246, 0.24);
}

.page-home .season-node:last-child::before {
  right: 0;
}

.page-home .season-node::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(61, 123, 255, 0.2);
}

.page-home .season-node[data-current]::after {
  background: var(--pitch);
  box-shadow: 0 0 0 5px rgba(0, 225, 123, 0.24);
}

.page-home .season-year {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--mica);
}

.page-home .season-node[data-current] .season-year {
  color: var(--pitch);
}

.page-home .season-note {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(245, 247, 246, 0.6);
}

.page-home .season-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--home-rule);
}

.page-home .season-count {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--blue);
}

/* ---------- 球队库与徽章墙 ---------- */
.page-home .clubs-grid {
  display: grid;
  gap: 40px;
}

.page-home .clubs-text {
  margin: 0 0 26px;
  max-width: 36em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
}

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

.page-home .path-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 16px;
  border-left: 2px solid var(--blue);
  background: rgba(61, 123, 255, 0.08);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--mica);
}

.page-home .path-item .seq {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue);
}

.page-home .path-item strong {
  font-weight: 700;
  color: var(--mica);
}

.page-home .clubs-visual {
  position: relative;
  padding: 18px;
  border: 1px solid var(--home-rule);
  border-radius: 4px;
  overflow: visible;
}

.page-home .clubs-plate {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  border-radius: 4px;
  pointer-events: none;
}

.page-home .badge-wall {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

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

.page-home .badge {
  position: relative;
  margin: 0;
  padding: 16px 10px 13px;
  border: 1px solid var(--home-rule);
  border-radius: 3px;
  background: rgba(10, 13, 16, 0.72);
  text-align: center;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.page-home .badge:hover,
.page-home .badge:focus-visible {
  transform: translateY(-4px);
  border-color: var(--pitch);
  background: rgba(0, 225, 123, 0.08);
  outline: none;
}

.page-home .badge-svg {
  display: block;
  width: 40px;
  height: 46px;
  margin: 0 auto 10px;
  color: var(--pitch);
}

.page-home .badge:nth-child(3n + 2) .badge-svg {
  color: var(--blue);
}

.page-home .badge:nth-child(3n) .badge-svg {
  color: var(--orange);
}

.page-home .badge-svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.page-home .badge-name {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--mica);
}

.page-home .badge-meta {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.page-home .badge-pop {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  width: 200px;
  padding: 11px 13px;
  border-radius: 3px;
  background: var(--mica);
  color: var(--obsidian);
  font-size: 12px;
  line-height: 1.65;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 6;
  pointer-events: none;
}

.page-home .badge:hover .badge-pop,
.page-home .badge:focus-visible .badge-pop {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ---------- 三端安装路径 ---------- */
.page-home .home-install {
  padding: clamp(32px, 5vw, 60px) clamp(20px, 4vw, 50px);
  border-radius: 4px;
  background: var(--mica);
  color: var(--obsidian);
}

.page-home .install-grid {
  display: grid;
  gap: 30px;
}

.page-home .install-copy .section-title {
  color: var(--obsidian);
}

.page-home .install-lede {
  margin: 0 0 26px;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted-dark);
}

.page-home .step {
  margin-bottom: 10px;
  border: 1px solid var(--home-dark-rule);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.page-home .step > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--obsidian);
}

.page-home .step > summary::-webkit-details-marker {
  display: none;
}

.page-home .step > summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--muted-dark);
  transition: transform 0.2s var(--ease);
}

.page-home .step[open] > summary::after {
  content: "–";
}

.page-home .step[open] > summary {
  border-bottom: 1px solid var(--home-dark-rule);
}

.page-home .step-num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.page-home .step-body {
  padding: 15px 17px 18px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted-dark);
}

.page-home .install-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--home-dark-rule);
  border-radius: 3px;
}

.page-home .install-visual img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

@media (min-width: 900px) {
  .page-home .install-grid {
    grid-template-columns: 5fr 7fr;
    column-gap: 48px;
    align-items: start;
  }

  .page-home .install-visual {
    grid-column: 1 / -1;
    margin-top: 8px;
  }

  .page-home .install-visual img {
    height: 280px;
  }
}

/* ---------- 数据能力 ---------- */
.page-home .insight-head .section-title {
  max-width: 22em;
}

.page-home .insight-head .lede {
  max-width: 40em;
  color: var(--muted);
}

.page-home .chart-grid {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

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

.page-home .chart-card {
  padding: 22px 20px 20px;
  border: 1px solid var(--home-rule);
  border-radius: 4px;
  background: rgba(28, 35, 41, 0.55);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-home .chart-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
}

.page-home .chart-title {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 700;
  color: var(--mica);
}

.page-home .chart-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.page-home .chart-svg .axis {
  stroke: rgba(245, 247, 246, 0.16);
  stroke-width: 1;
}

.page-home .chart-svg .bar {
  fill: var(--blue);
}

.page-home .chart-svg .bar-a {
  fill: var(--pitch);
}

.page-home .chart-svg .line {
  fill: none;
  stroke: var(--pitch);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.page-home .chart-svg .line-ghost {
  fill: none;
  stroke: rgba(61, 123, 255, 0.55);
  stroke-width: 2;
  stroke-dasharray: 4 4;
}

.page-home .chart-svg .dot {
  fill: var(--orange);
}

.page-home .chart-note {
  margin: 18px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .insight-foot {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--home-rule);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--blue);
}

/* ---------- 赛果与动态 ---------- */
.page-home .home-updates {
  padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 50px);
  border-radius: 4px;
  background: var(--mica);
  color: var(--obsidian);
}

.page-home .home-updates .section-title {
  color: var(--obsidian);
}

.page-home .home-updates .lede {
  max-width: 40em;
  color: var(--muted-dark);
}

.page-home .feed {
  margin: 34px 0 26px;
  padding: 0;
  list-style: none;
}

.page-home .feed-item {
  border-top: 1px solid var(--home-dark-rule);
}

.page-home .feed-item:last-child {
  border-bottom: 1px solid var(--home-dark-rule);
}

.page-home .feed-link {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 4px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.page-home .feed-link:hover {
  background: rgba(61, 123, 255, 0.07);
  padding-left: 14px;
}

.page-home .pill {
  flex: none;
  align-self: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--obsidian);
}

.page-home .pill--blue {
  background: var(--blue);
  color: var(--mica);
}

.page-home .pill--orange {
  background: var(--orange);
}

.page-home .pill--pitch {
  background: var(--pitch);
}

.page-home .feed-body {
  flex: 1 1 220px;
  min-width: 0;
}

.page-home .feed-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--obsidian);
}

.page-home .feed-desc {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted-dark);
}

.page-home .feed-arrow {
  flex: none;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--blue);
}

/* ---------- 快速入口 ---------- */
.page-home .visually-plain {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page-home .next-doors {
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .page-home .next-doors {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

.page-home .next-door {
  position: relative;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--home-rule);
  border-radius: 4px;
  background: linear-gradient(142deg, var(--teal) 0%, #08201d 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.page-home .next-door--alt {
  background: linear-gradient(142deg, var(--wine) 0%, #2b0a12 100%);
}

.page-home .door-title {
  margin: 14px 0 10px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--mica);
}

.page-home .door-text {
  margin: 0 0 26px;
  max-width: 28em;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(245, 247, 246, 0.72);
}

.page-home .next-hint {
  margin: 26px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .next-hint a {
  color: var(--pitch);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 225, 123, 0.4);
}

.page-home .next-hint a:hover {
  border-bottom-color: var(--pitch);
}

.page-home .home-next {
  padding-bottom: clamp(60px, 9vw, 140px);
}

@media (prefers-reduced-motion: reduce) {
  .page-home * {
    animation: none !important;
    transition: none !important;
  }
}
</final>
</final>
