.page-home {
  --home-line: #E7EEF3;
  --home-soft-line: rgba(138, 248, 238, 0.22);
  background: var(--gray-050);
  color: var(--ink-900);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

.page-home .home-context {
  padding-top: 14px;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  display: grid;
  gap: 14px;
  padding-top: 10px;
}

.page-home .home-hero-main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 26px 20px 22px;
  color: #fff;
  background:
    radial-gradient(120% 92% at 92% -8%, rgba(32, 227, 210, 0.3), transparent 62%),
    linear-gradient(155deg, var(--ink-950) 0%, var(--ink-800) 58%, #14415e 100%);
  box-shadow: var(--shadow-2);
}

.page-home .home-hero-main::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -16%;
  bottom: -40%;
  width: 66%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 227, 210, 0.34), transparent 66%);
  pointer-events: none;
}

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

.page-home .home-hero-main > *:not(.home-hero-bg) {
  position: relative;
  z-index: 1;
}

.page-home .home-hero-main .eyebrow {
  color: var(--cyan-300);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.page-home .home-title {
  margin: 10px 0 0;
  font-size: clamp(30px, 8.4vw, 46px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-home .home-lead {
  margin: 12px 0 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(244, 247, 249, 0.78);
}

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

.page-home .home-hero-stats {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.page-home .home-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--home-soft-line);
  backdrop-filter: blur(2px);
}

.page-home .home-stat-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(244, 247, 249, 0.62);
}

.page-home .home-stat-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.page-home .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-home .home-stat .num {
  font-size: 24px;
  color: var(--cyan-300);
}

.page-home .home-delta {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--coral-500);
}

.page-home .home-hero-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(244, 247, 249, 0.55);
}

.page-home .home-hero-side {
  display: grid;
  gap: 12px;
}

.page-home .home-side-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-800);
  box-shadow: var(--shadow-1);
  line-height: 0;
}

.page-home .home-side-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-side-card {
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-1);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.page-home .home-side-card:hover {
  transform: translateY(-3px);
  border-color: rgba(32, 227, 210, 0.55);
  box-shadow: var(--shadow-2);
}

.page-home .home-side-card--dark {
  background: linear-gradient(150deg, var(--ink-800), var(--ink-950));
  border-color: transparent;
  color: #fff;
}

.page-home .home-side-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--cyan-500);
}

.page-home .home-side-card--dark .home-side-kicker {
  color: var(--cyan-300);
}

.page-home .home-side-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-900);
}

.page-home .home-side-card--dark .home-side-text {
  color: rgba(244, 247, 249, 0.8);
}

.page-home .home-side-link {
  display: inline-block;
  margin-top: 10px;
  padding-bottom: 2px;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan-300);
  text-decoration: none;
  border-bottom: 1px solid rgba(138, 248, 238, 0.45);
}

.page-home .home-side-link:hover {
  color: #fff;
  border-bottom-color: var(--cyan-300);
}

/* ---------- 页内目录 ---------- */
.page-home .home-toc {
  display: flex;
  gap: 8px;
  padding: 16px 0 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.page-home .home-toc-link {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--home-line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.page-home .home-toc-link:hover {
  color: var(--ink-800);
  border-color: rgba(32, 227, 210, 0.6);
}

.page-home .home-toc-link[aria-current] {
  background: var(--ink-800);
  border-color: var(--ink-800);
  color: #fff;
}

/* ---------- 章节通用 ---------- */
.page-home .home-section {
  padding-top: 42px;
}

.page-home .home-section--last {
  padding-bottom: 52px;
}

.page-home .home-head {
  display: grid;
  gap: 8px;
  max-width: 46em;
  margin-bottom: 20px;
}

.page-home .eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--ink-800);
}

.page-home .home-head h2 {
  margin: 0;
  font-size: clamp(24px, 5.6vw, 32px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-home .home-head-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 排名摘要 ---------- */
.page-home .home-rank-grid {
  display: grid;
  gap: 12px;
}

.page-home .home-rank-card {
  padding: 16px 16px 8px;
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.page-home .home-rank-card:hover {
  transform: translateY(-3px);
  border-color: rgba(32, 227, 210, 0.55);
  box-shadow: var(--shadow-2);
}

.page-home .home-rank-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-rank-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

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

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

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

.page-home .home-rank-pos {
  font-size: 18px;
  color: var(--ink-800);
}

.page-home .home-rank-name {
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.page-home .home-rank-delta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--coral-500);
}

.page-home .home-rank-delta--flat {
  color: var(--muted);
  font-weight: 600;
}

.page-home .home-rank-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--gray-100);
}

.page-home .home-rank-foot p {
  flex: 1 1 240px;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 阵容与射门 ---------- */
.page-home .home-split {
  display: grid;
  gap: 14px;
}

.page-home .home-split-cards {
  display: grid;
  gap: 12px;
}

.page-home .home-split-card {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.page-home .home-split-card:hover {
  transform: translateY(-3px);
  border-color: rgba(32, 227, 210, 0.55);
  box-shadow: var(--shadow-2);
}

.page-home .home-split-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .home-split-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .home-split-note {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  padding-top: 2px;
  border-top: 1px dashed var(--home-line);
}

.page-home .home-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 0 2px;
}

.page-home .home-dots span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gray-100);
  border: 1px solid #d3e0e9;
}

.page-home .home-dots span.is-change {
  background: var(--coral-500);
  border-color: var(--coral-500);
  box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.16);
}

.page-home .home-shots {
  display: grid;
  gap: 8px;
  padding: 4px 0 2px;
}

.page-home .home-shot-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.page-home .home-shot-row .num {
  font-size: 13px;
  color: var(--ink-800);
  text-align: right;
}

.page-home .home-shot-bar {
  display: block;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--gray-100);
  overflow: hidden;
}

.page-home .home-shot-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--cyan-500);
}

.page-home .home-shot-row:nth-child(1) .home-shot-bar i {
  width: 72%;
}

.page-home .home-shot-row:nth-child(2) .home-shot-bar i {
  width: 42%;
  background: var(--violet-500);
}

.page-home .home-shot-row:nth-child(3) .home-shot-bar i {
  width: 30%;
  background: var(--coral-500);
}

.page-home .home-range {
  padding: 8px 0 2px;
}

.page-home .home-range-track {
  position: relative;
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--gray-100);
}

.page-home .home-range-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 58%;
  width: 5%;
  border-radius: var(--radius-pill);
  background: var(--coral-500);
  box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.16);
}

.page-home .home-range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--muted);
}

.page-home .home-split-aside {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}

.page-home .home-split-aside img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--ink-800);
}

.page-home .home-split-caption {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 周末时间轴 ---------- */
.page-home .home-weekend {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 28px 20px 24px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(90% 80% at 8% 0%, rgba(111, 92, 255, 0.28), transparent 60%),
    linear-gradient(140deg, var(--ink-950), var(--ink-800) 62%, #123a58);
  box-shadow: var(--shadow-2);
}

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

.page-home .home-weekend > *:not(.home-weekend-bg) {
  position: relative;
  z-index: 1;
}

.page-home .home-head--inv .eyebrow {
  color: var(--cyan-300);
}

.page-home .home-head--inv h2 {
  color: #fff;
}

.page-home .home-head--inv .home-head-text {
  color: rgba(244, 247, 249, 0.72);
}

.page-home .home-timeline {
  display: grid;
  gap: 12px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-step {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--home-soft-line);
}

.page-home .home-step-time {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan-500);
}

.page-home .home-step h3 {
  margin: 6px 0;
  font-size: 17px;
  font-weight: 800;
}

.page-home .home-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(244, 247, 249, 0.75);
}

.page-home .home-weekend-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.page-home .home-weekend-foot span {
  flex: 1 1 240px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(244, 247, 249, 0.62);
}

/* ---------- 赛事分类 ---------- */
.page-home .home-cat-grid {
  display: grid;
  gap: 12px;
}

.page-home .home-cat {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-md);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-1);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.page-home .home-cat:hover {
  transform: translateY(-3px);
  border-color: rgba(32, 227, 210, 0.55);
  box-shadow: var(--shadow-2);
}

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

.page-home .home-cat-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .home-cat-arrow {
  font-weight: 800;
  color: var(--cyan-500);
  transition: transform 0.22s ease;
}

.page-home .home-cat:hover .home-cat-arrow {
  transform: translateX(4px);
}

.page-home .home-cat-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .home-cat .pill {
  justify-self: start;
  font-size: 12px;
}

/* ---------- 服务支持 ---------- */
.page-home .home-support-grid {
  display: grid;
  gap: 12px;
}

.page-home .home-support {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-lg);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-1);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.page-home .home-support:hover {
  transform: translateY(-3px);
  border-color: rgba(32, 227, 210, 0.55);
  box-shadow: var(--shadow-2);
}

.page-home .home-support h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.page-home .home-support p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .home-support-go {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-800);
  border-bottom: 1px solid transparent;
}

.page-home .home-support:hover .home-support-go {
  color: var(--ink-950);
  border-bottom-color: var(--cyan-500);
}

/* ---------- 响应式 ---------- */
@media (min-width: 560px) {
  .page-home .home-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .home-stat .num {
    font-size: 22px;
  }
}

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

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

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

  .page-home .home-hero-main {
    padding: 34px 32px 30px;
  }

  .page-home .home-weekend {
    padding: 36px 32px 30px;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    align-items: start;
    gap: 20px;
  }

  .page-home .home-split {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
    align-items: start;
  }

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

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

@media (min-width: 1080px) {
  .page-home .home-section {
    padding-top: 56px;
  }

  .page-home .home-lead {
    font-size: 15.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-side-card,
  .page-home .home-rank-card,
  .page-home .home-split-card,
  .page-home .home-cat,
  .page-home .home-support,
  .page-home .home-cat-arrow,
  .page-home .home-toc-link {
    transition: none;
  }

  .page-home .home-side-card:hover,
  .page-home .home-rank-card:hover,
  .page-home .home-split-card:hover,
  .page-home .home-cat:hover,
  .page-home .home-support:hover {
    transform: none;
  }

  .page-home .home-cat:hover .home-cat-arrow {
    transform: none;
  }
}
