.page-home {
  --home-radius-xl: 56px;
  --home-radius-md: 28px;
  --home-radius-sm: 8px;
  display: block;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

.page-home section[id] {
  scroll-margin-top: calc(var(--topline-h) + 76px);
}

.page-home .section {
  padding: clamp(56px, 8vw, 104px) var(--gutter);
}

.page-home .section--tight {
  padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(56px, 8vw, 96px);
}

.page-home .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: clamp(16px, 3vw, 28px) var(--gutter) 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.page-home .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.page-home .breadcrumb a:hover {
  color: var(--orange-ink);
}

.page-home .breadcrumb [aria-current="page"] {
  color: var(--ink);
}

/* ---------- 封面首屏 ---------- */
.page-home .hero {
  position: relative;
  padding: clamp(24px, 4vw, 52px) var(--gutter) clamp(88px, 11vw, 150px);
  overflow: hidden;
}

.page-home .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 44px);
  align-items: start;
}

.page-home .hero .display {
  margin: clamp(12px, 2vw, 22px) 0 0;
  font-weight: 200;
  font-size: clamp(2.6rem, 6.6vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-home .hero .lede {
  margin: clamp(16px, 2.4vw, 28px) 0 0;
  max-width: 34em;
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  line-height: 1.78;
  color: var(--muted);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 34px);
}

.page-home .hero-index {
  padding-left: 20px;
  border-left: 2px solid var(--line-strong);
}

.page-home .hero-index-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--orange-ink);
}

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

.page-home .hero-index .index-item + .index-item {
  margin-top: 14px;
}

.page-home .hero-index .index-item a {
  display: flex;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.page-home .hero-index .index-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  padding-top: 3px;
}

.page-home .hero-index .index-body {
  display: block;
  font-size: 15px;
  line-height: 1.4;
}

.page-home .hero-index .index-meta {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

.page-home .hero-index .index-item a:hover .index-body {
  color: var(--orange-ink);
}

.page-home .hero-media {
  margin: 0;
  border-radius: 42px 42px 12px 42px;
  overflow: hidden;
  background: var(--green);
  box-shadow: var(--shadow-card);
}

.page-home .hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 14;
  object-fit: cover;
}

.page-home .hero-diagonal {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(70px, 11vw, 190px);
  opacity: 0.75;
  pointer-events: none;
}

/* ---------- 更新节奏 ---------- */
.page-home .rhythm-plate {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--home-radius-xl) var(--home-radius-xl) 20px var(--home-radius-xl);
  background: radial-gradient(125% 135% at 100% 0%, var(--green-2) 0%, var(--green) 58%);
  color: #ffffff;
  box-shadow: var(--shadow-card);
}

.page-home .rhythm-plate::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-12deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 15px);
  pointer-events: none;
}

.page-home .rhythm-plate > * {
  position: relative;
  z-index: 1;
}

.page-home .rhythm-head {
  max-width: 46em;
}

.page-home .rhythm-plate .section-title,
.page-home .contact-plate .section-title {
  color: #ffffff;
}

.page-home .rhythm-text {
  margin: 16px 0 0;
  max-width: 40em;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
}

.page-home .eyebrow--onDark {
  color: rgba(255, 255, 255, 0.7);
}

.page-home .eyebrow--onDark .eyebrow-num {
  color: var(--orange-soft);
}

.page-home .rhythm-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(24px, 4vw, 40px) 0 0;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.page-home .rhythm-stat {
  background: rgba(8, 46, 34, 0.72);
  padding: 18px 20px 20px;
}

.page-home .rhythm-stat dt {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.58);
}

.page-home .rhythm-stat dd {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.01em;
  color: var(--orange-soft);
}

.page-home .rhythm-stat dd .unit {
  margin-left: 4px;
  font-size: 0.5em;
  color: rgba(255, 255, 255, 0.66);
}

.page-home .rhythm-list {
  margin: clamp(22px, 3vw, 32px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.page-home .rhythm-list li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.page-home .rhythm-list .status-dot {
  margin-top: 8px;
  flex: 0 0 auto;
}

/* ---------- 多联赛目录 ---------- */
.page-home .section-head {
  max-width: 52em;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.page-home .section-head .section-lede {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .league-chart {
  margin: 0 0 clamp(24px, 4vw, 44px);
}

.page-home .league-chart img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 36px 36px 12px 36px;
  object-fit: cover;
}

.page-home .league-chart figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .league-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .league-block {
  position: relative;
  padding: 24px 22px 22px;
  background: var(--card);
  border-top: 4px solid var(--green);
  border-radius: var(--home-radius-md) var(--home-radius-md) var(--home-radius-sm) var(--home-radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease;
}

.page-home .league-block:hover {
  transform: translateY(-4px);
}

.page-home .league-block--basketball {
  border-top-color: var(--orange);
}

.page-home .league-block--tennis {
  border-top-color: var(--blue);
}

.page-home .league-block--esports {
  border-top-color: var(--live);
}

.page-home .league-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.page-home .league-figures {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.page-home .league-figures .num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--orange-ink);
  vertical-align: -2px;
}

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

.page-home .league-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-home .league-link:hover {
  border-bottom-color: var(--blue);
}

.page-home .leagues-foot {
  margin: clamp(26px, 4vw, 40px) 0 0;
}

/* ---------- 前瞻精选 ---------- */
.page-home .preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 52px);
  align-items: start;
}

.page-home .preview-media {
  margin: 0;
}

.page-home .preview-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 44px 44px 12px 44px;
  object-fit: cover;
}

.page-home .preview-body .section-lede {
  margin: 16px 0 0;
  max-width: 40em;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .preview-item {
  margin-top: clamp(20px, 3vw, 30px);
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--line);
  transition: border-color 0.25s ease;
}

.page-home .preview-item:hover {
  border-left-color: var(--orange);
}

.page-home .preview-item .tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.page-home .preview-title {
  margin: 10px 0 0;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
}

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

.page-home .preview-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: clamp(26px, 4vw, 38px) 0 0;
}

/* ---------- 会员权益路径 ---------- */
.page-home .member-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.page-home .path-list {
  margin: clamp(22px, 3vw, 34px) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .path-step {
  position: relative;
  padding: 0 0 clamp(22px, 3vw, 32px) 44px;
}

.page-home .path-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--card);
  border: 3px solid var(--orange);
}

.page-home .path-step::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 26px;
  bottom: 4px;
  width: 2px;
  background: var(--line-strong);
}

.page-home .path-step:last-child {
  padding-bottom: 0;
}

.page-home .path-step:last-child::after {
  display: none;
}

.page-home .path-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.page-home .path-text {
  margin: 6px 0 0;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
}

.page-home .member-note {
  margin: clamp(20px, 3vw, 28px) 0 0;
  padding: 14px 18px;
  background: var(--blue-mist);
  border-radius: 16px 16px 4px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.page-home .member-media {
  margin: 0;
}

.page-home .member-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 48px 48px 14px 48px;
  object-fit: cover;
}

/* ---------- 内容日志 ---------- */
.page-home .log-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.page-home .log-feed .index-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .log-feed .index-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .log-feed .index-num {
  flex: 0 0 auto;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
}

.page-home .log-feed .index-body {
  display: block;
  font-size: 15px;
  line-height: 1.5;
}

.page-home .log-feed .index-meta {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-home .log-versions {
  padding: clamp(20px, 3vw, 28px);
  background: var(--blue-mist);
  border-radius: 32px 32px 10px 32px;
}

.page-home .log-versions .aside-note-title {
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--ink);
}

.page-home .log-versions .aside-note {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

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

.page-home .acc-item {
  margin-bottom: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px 18px 6px 18px;
  overflow: hidden;
}

.page-home .acc-item:last-child {
  margin-bottom: 0;
}

.page-home .acc-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 15px 16px;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}

.page-home .acc-trigger[aria-expanded="true"] {
  color: var(--orange-ink);
}

.page-home .acc-index {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
}

.page-home .acc-icon {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-left: auto;
}

.page-home .acc-icon::before,
.page-home .acc-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
  background: var(--orange);
  transition: transform 0.25s ease;
}

.page-home .acc-icon::after {
  transform: rotate(90deg);
}

.page-home .acc-trigger[aria-expanded="true"] .acc-icon::after {
  transform: rotate(0deg);
}

.page-home .acc-panel {
  padding: 0 16px 16px 42px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
}

.page-home .acc-panel[hidden] {
  display: none;
}

.page-home .acc-panel p {
  margin: 0;
}

/* ---------- 咨询与联系 ---------- */
.page-home .contact-plate {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 64px);
  border-radius: var(--home-radius-xl) var(--home-radius-xl) 20px var(--home-radius-xl);
  background: linear-gradient(150deg, var(--green) 0%, var(--green-2) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-card);
}

.page-home .contact-plate::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 19, 0.45), rgba(255, 106, 19, 0) 68%);
  pointer-events: none;
}

.page-home .contact-plate > * {
  position: relative;
  z-index: 1;
}

.page-home .contact-text {
  margin: 16px 0 0;
  max-width: 40em;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
}

.page-home .contact-channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: clamp(24px, 4vw, 36px) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .contact-channel {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.page-home .contact-key {
  flex: 0 0 88px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
}

.page-home .contact-val {
  font-size: 15px;
  color: #ffffff;
  text-decoration: none;
  word-break: break-all;
}

.page-home .contact-val.num {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.page-home a.contact-val:hover {
  color: var(--orange-soft);
}

.page-home .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 4vw, 38px);
}

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

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

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

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(16px, 2.2vw, 32px);
  }

  .page-home .hero-lead {
    grid-column: 2 / span 6;
    grid-row: 1;
  }

  .page-home .hero-index {
    grid-column: 9 / span 4;
    grid-row: 1;
  }

  .page-home .hero-media {
    grid-column: 9 / span 4;
    grid-row: 2;
    align-self: stretch;
  }
}

@media (min-width: 980px) {
  .page-home .preview-grid {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }

  .page-home .member-grid {
    grid-template-columns: 7fr 5fr;
  }

  .page-home .log-grid {
    grid-template-columns: 7fr 5fr;
  }

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

@media (min-width: 1180px) {
  .page-home .league-stack {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
  }

  .page-home .league-block:nth-child(2) {
    margin-top: 44px;
  }

  .page-home .league-block:nth-child(3) {
    margin-top: 14px;
  }

  .page-home .league-block:nth-child(4) {
    margin-top: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
