/* ===== 首页专属样式：.page-home 作用域 ===== */
.page-home {
  --home-hero-min-h: 640px;
  --home-card-line: rgba(255, 255, 255, 0.16);
  --home-grid-line: rgba(255, 255, 255, 0.07);
  --home-title-color: #0A1E3C;
  --home-muted: #5A6B82;
  background: var(--ob-bg);
}

/* ---------- 首屏 Hero ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  background: var(--ob-primary);
  color: var(--ob-white);
  padding: 64px 0 72px;
  min-height: var(--home-hero-min-h);
}
.page-home .home-hero__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.30;
  filter: saturate(0.7);
}
.page-home .home-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 30, 60, 0.94) 0%, rgba(10, 30, 60, 0.78) 62%, rgba(27, 58, 92, 0.55) 100%);
}
.page-home .home-hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--home-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.65) 100%);
}
.page-home .home-hero__beam {
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 44px;
  background: var(--ob-accent);
  clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}
.page-home .home-hero__badge {
  position: absolute;
  top: 56px;
  right: 0;
  z-index: 1;
  background: var(--ob-accent);
  color: var(--ob-white);
  font-family: var(--ob-font-heading);
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: center;
  padding: 10px 14px 10px 24px;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
}
.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
}
.page-home .home-hero__kicker {
  color: var(--ob-live);
  letter-spacing: 0.08em;
}
.page-home .home-hero__title {
  font-family: var(--ob-font-heading);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1.2;
  margin: 10px 0 16px;
  color: var(--ob-white);
}
.page-home .home-hero__lead {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 28px;
}
.page-home .home-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 36px;
  padding: 0;
}
.page-home .home-hero__stat {
  border: 1px solid var(--home-card-line);
  border-radius: var(--ob-radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 16px;
  min-width: 116px;
}
.page-home .home-hero__stat dt {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 4px;
}
.page-home .home-hero__stat dd {
  font-family: var(--ob-font-data);
  font-size: 1.5rem;
  color: var(--ob-accent);
  margin: 0;
}
.page-home .home-hero__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* ---------- Hero 档案卡 ---------- */
.page-home .hero-card {
  position: relative;
  display: block;
  padding: 22px 20px 18px;
  min-height: 186px;
  border: 1px solid var(--home-card-line);
  border-radius: var(--ob-radius);
  background: rgba(10, 30, 60, 0.72);
  color: var(--ob-white);
  text-decoration: none;
  transition: border-color var(--ob-duration) var(--ob-easing), background var(--ob-duration) var(--ob-easing), transform var(--ob-duration) var(--ob-easing);
}
.page-home .hero-card:hover,
.page-home .hero-card:focus-visible {
  border-color: var(--ob-accent);
  background: rgba(27, 58, 92, 0.84);
  transform: translateY(-2px);
  outline: none;
}
.page-home .hero-card__index {
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: var(--ob-font-data);
  font-size: var(--ob-fs-data);
  color: rgba(255, 255, 255, 0.42);
}
.page-home .hero-card__tag {
  margin-bottom: 12px;
}
.page-home .hero-card__title {
  font-size: 1.125rem;
  line-height: 1.4;
  margin: 0 0 8px;
  color: var(--ob-white);
}
.page-home .hero-card__text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}
.page-home .hero-card__tip {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-family: var(--ob-font-data);
  font-size: 0.75rem;
  color: var(--ob-live);
  transition: opacity var(--ob-duration) var(--ob-easing), max-height var(--ob-duration) var(--ob-easing), margin-top var(--ob-duration) var(--ob-easing);
}
.page-home .hero-card:hover .hero-card__tip,
.page-home .hero-card:focus-visible .hero-card__tip {
  opacity: 1;
  max-height: 24px;
  margin-top: 10px;
}
.page-home .hero-card__cta {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ob-accent);
  letter-spacing: 0.04em;
}

/* ---------- 通用水印与区块标题 ---------- */
.page-home .home-section-head__index {
  display: inline-block;
  font-family: var(--ob-font-data);
  font-size: 0.8125rem;
  color: var(--ob-primary);
  border: 1px solid var(--ob-sand);
  border-radius: 2px;
  padding: 2px 10px;
  margin-bottom: 12px;
}
.page-home .section-label {
  color: var(--ob-primary-2);
  letter-spacing: 0.08em;
  margin: 0 0 4px;
}
.page-home .home-section-head__title {
  font-family: var(--ob-font-heading);
  font-size: var(--ob-fs-h2);
  line-height: 1.35;
  color: var(--home-title-color);
  margin: 8px 0 12px;
}
.page-home .home-section-head__lead {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--home-muted);
  margin: 0 0 20px;
}

/* ---------- 会员权益索引对照 ---------- */
.page-home .home-benefits {
  padding: 56px 0;
  background: var(--ob-bg);
}
.page-home .home-benefits__grid {
  display: grid;
  gap: 28px;
}
.page-home .home-benefits__panel {
  display: grid;
  gap: 20px;
}
.page-home .home-benefits__table-wrap {
  overflow-x: auto;
  background: var(--ob-white);
  border-radius: var(--ob-radius);
  box-shadow: var(--ob-shadow-sm);
}
.page-home .home-benefits__table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.page-home .home-benefits__table caption {
  text-align: left;
  padding: 14px 16px 6px;
  font-family: var(--ob-font-data);
  font-size: 0.75rem;
  color: var(--ob-primary-2);
}
.page-home .home-benefits__table th,
.page-home .home-benefits__table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(10, 30, 60, 0.08);
  text-align: left;
}
.page-home .home-benefits__table thead th {
  background: var(--ob-primary);
  color: var(--ob-white);
  font-family: var(--ob-font-data);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.page-home .home-benefits__table tbody th {
  font-weight: 700;
  color: var(--ob-primary);
}
.page-home .home-benefits__table tbody tr:hover {
  background: rgba(255, 107, 53, 0.06);
}
.page-home .home-benefits__table tbody tr:last-child th,
.page-home .home-benefits__table tbody tr:last-child td {
  border-bottom: 0;
}
.page-home .home-benefits__figure {
  margin: 0;
}
.page-home .home-benefits__figure img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
  border-radius: var(--ob-radius);
  box-shadow: var(--ob-shadow-sm);
}
.page-home .home-benefits__figure figcaption {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--home-muted);
  text-align: right;
  font-family: var(--ob-font-data);
}

/* ---------- OB正式版电脑首页 ---------- */
.page-home .home-official {
  position: relative;
  overflow: hidden;
  background: var(--ob-primary);
  color: var(--ob-white);
  padding: 56px 0;
}
.page-home .home-official::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--ob-accent) 0%, var(--ob-sand) 55%, var(--ob-live) 100%);
}
.page-home .home-official__grid {
  display: grid;
  gap: 36px;
}
.page-home .home-official__index {
  display: inline-block;
  font-family: var(--ob-font-data);
  font-size: 0.8125rem;
  color: var(--ob-accent);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 2px;
  padding: 2px 10px;
  margin-bottom: 12px;
}
.page-home .home-official .section-label {
  color: rgba(255, 255, 255, 0.7);
}
.page-home .home-official__title {
  font-family: var(--ob-font-heading);
  font-size: var(--ob-fs-h2);
  line-height: 1.35;
  color: var(--ob-white);
  margin: 8px 0 12px;
}
.page-home .home-official__lead {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 14px;
}
.page-home .home-official__meta {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--ob-sand);
  margin: 0 0 20px;
}
.page-home .home-official__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-home .home-official .btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--ob-white);
}
.page-home .home-official .btn-outline:hover {
  border-color: var(--ob-accent);
  color: var(--ob-white);
}
.page-home .home-official__steps {
  list-style: none;
  margin: 0;
  padding: 0 0 0 22px;
  border-left: 2px solid rgba(255, 255, 255, 0.28);
  display: grid;
  gap: 24px;
}
.page-home .home-official__step {
  position: relative;
}
.page-home .home-official__step-num {
  position: absolute;
  left: -35px;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--ob-accent);
  color: var(--ob-white);
  font-family: var(--ob-font-data);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}
.page-home .home-official__step-body h3 {
  font-size: 1rem;
  color: var(--ob-white);
  margin: 0 0 4px;
}
.page-home .home-official__step-body p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* ---------- 旧版本对照 ---------- */
.page-home .home-legacy {
  padding: 56px 0;
  background: var(--ob-white);
}
.page-home .home-legacy__head {
  margin-bottom: 28px;
}
.page-home .home-legacy__lead {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--home-muted);
  margin: 0;
  max-width: 720px;
}
.page-home .home-legacy__grid {
  display: grid;
  gap: 28px;
}
.page-home .home-legacy__media {
  margin: 0;
}
.page-home .home-legacy__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--ob-radius);
  box-shadow: var(--ob-shadow-sm);
}
.page-home .home-legacy__media figcaption {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--home-muted);
  font-family: var(--ob-font-data);
}
.page-home .home-legacy__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(10, 30, 60, 0.08);
}
.page-home .home-legacy__item {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 4px 12px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(10, 30, 60, 0.08);
  transition: background var(--ob-duration) var(--ob-easing);
}
.page-home .home-legacy__item:hover {
  background: rgba(255, 107, 53, 0.05);
}
.page-home .home-legacy__year {
  font-family: var(--ob-font-data);
  font-size: 0.8125rem;
  color: var(--ob-accent);
}
.page-home .home-legacy__name {
  font-weight: 700;
  color: var(--ob-primary);
}
.page-home .home-legacy__note {
  grid-column: 1 / -1;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--home-muted);
}

/* ---------- 联赛排名临时查CN与场馆动态 ---------- */
.page-home .home-ranking {
  padding: 56px 0;
  background: #E9EEF4;
}
.page-home .home-ranking__wrap {
  display: grid;
  gap: 28px;
}
.page-home .home-ranking__lead {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--home-muted);
  margin: 0 0 16px;
}
.page-home .home-ranking__sync {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ob-font-data);
  font-size: 0.8125rem;
  color: var(--ob-primary);
  background: rgba(57, 255, 20, 0.12);
  border: 1px solid rgba(57, 255, 20, 0.4);
  border-radius: var(--ob-radius);
  padding: 8px 14px;
  margin-bottom: 18px;
  cursor: help;
}
.page-home .home-ranking__sync-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ob-live);
  box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.5);
  animation: page-home-sync-pulse 2s infinite;
}
@keyframes page-home-sync-pulse {
  0% { box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(57, 255, 20, 0); }
  100% { box-shadow: 0 0 0 0 rgba(57, 255, 20, 0); }
}
.page-home .home-ranking__sync-tip {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--ob-primary);
  color: var(--ob-white);
  font-family: var(--ob-font-body);
  font-size: 0.75rem;
  padding: 8px 12px;
  border-radius: var(--ob-radius);
  box-shadow: var(--ob-shadow);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity var(--ob-duration) var(--ob-easing), transform var(--ob-duration) var(--ob-easing);
  z-index: 4;
  white-space: nowrap;
}
.page-home .home-ranking__sync:hover .home-ranking__sync-tip,
.page-home .home-ranking__sync:focus-visible .home-ranking__sync-tip {
  opacity: 1;
  transform: translateY(0);
}
.page-home .home-ranking__entry-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page-home .home-ranking__entry-list li {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--home-muted);
  border-left: 3px solid var(--ob-sand);
  padding-left: 12px;
}
.page-home .home-ranking__entry-list strong {
  color: var(--ob-primary);
}
.page-home .home-ranking__media {
  margin: 0;
}
.page-home .home-ranking__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--ob-radius);
  box-shadow: var(--ob-shadow-sm);
}
.page-home .home-ranking__media figcaption {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--home-muted);
  font-family: var(--ob-font-data);
  text-align: right;
}

/* ---------- 案例合集 ---------- */
.page-home .home-collections {
  padding: 56px 0;
  background: var(--ob-white);
}
.page-home .home-collections__head {
  display: grid;
  gap: 20px;
  margin-bottom: 28px;
}
.page-home .home-collections__title-group p:not(.section-label) {
  font-size: 0.9375rem;
  color: var(--home-muted);
  margin: 0;
}
.page-home .home-collections__timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-home .home-collection {
  position: relative;
  padding-left: 28px;
  padding-bottom: 18px;
}
.page-home .home-collection::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: -2px;
  width: 2px;
  background: var(--ob-sand);
}
.page-home .home-collection:last-child::before {
  display: none;
}
.page-home .home-collection__marker {
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 2px;
  background: var(--ob-accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.18);
}
.page-home .home-collection__card {
  background: var(--ob-bg);
  border: 1px solid rgba(10, 30, 60, 0.08);
  border-left: 3px solid var(--ob-accent);
  border-radius: 4px;
  padding: 16px 18px;
  transition: border-color var(--ob-duration) var(--ob-easing), box-shadow var(--ob-duration) var(--ob-easing);
}
.page-home .home-collection__card:hover {
  border-color: var(--ob-accent);
  box-shadow: var(--ob-shadow-sm);
}
.page-home .home-collection__card .tag {
  margin-bottom: 8px;
}
.page-home .home-collection__card h3 {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ob-primary);
  margin: 0 0 6px;
}
.page-home .home-collection__card p {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--home-muted);
  margin: 0;
}

/* ---------- 最新动态 ---------- */
.page-home .home-news {
  padding: 56px 0;
  background: var(--ob-bg);
}
.page-home .home-news__head {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}
.page-home .home-news__head p:not(.section-label) {
  font-size: 0.9375rem;
  color: var(--home-muted);
  margin: 0;
}
.page-home .home-news__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.page-home .home-news__item {
  background: var(--ob-white);
  border: 1px solid rgba(10, 30, 60, 0.08);
  border-radius: 4px;
  padding: 20px;
  transition: border-color var(--ob-duration) var(--ob-easing), box-shadow var(--ob-duration) var(--ob-easing);
}
.page-home .home-news__item:hover {
  border-color: var(--ob-accent);
  box-shadow: var(--ob-shadow-sm);
}
.page-home .home-news__item .tag {
  display: inline-block;
  margin-bottom: 10px;
}
.page-home .home-news__item h3 {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ob-primary);
  margin: 0 0 8px;
}
.page-home .home-news__item p {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--home-muted);
  margin: 0 0 14px;
}
.page-home .home-news__more {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ob-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--ob-duration) var(--ob-easing);
}
.page-home .home-news__more:hover {
  border-color: var(--ob-accent);
}

/* ---------- 关于引导 ---------- */
.page-home .home-about-cta {
  background: var(--ob-primary);
  color: var(--ob-white);
  padding: 48px 0;
}
.page-home .home-about-cta__inner {
  display: grid;
  gap: 24px;
}
.page-home .home-about-cta .section-label {
  color: var(--ob-sand);
}
.page-home .home-about-cta__context h2 {
  font-family: var(--ob-font-heading);
  font-size: var(--ob-fs-h2);
  line-height: 1.35;
  color: var(--ob-white);
  margin: 8px 0 12px;
}
.page-home .home-about-cta__context p:not(.section-label) {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}
.page-home .home-about-cta .btn-primary {
  align-self: end;
  justify-self: start;
  width: auto;
}

/* ---------- 平板 min-width: 640px ---------- */
@media (min-width: 640px) {
  .page-home .home-hero__cards {
    grid-template-columns: 1fr 1fr;
  }
  .page-home .home-hero__head {
    max-width: 720px;
  }
  .page-home .home-news__grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-home .home-collections__timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }
  .page-home .home-collection:nth-child(odd) {
    padding-right: 0;
  }
  .page-home .home-collection:nth-child(even) {
    padding-left: 36px;
  }
  .page-home .home-collection:nth-child(odd)::before {
    left: 7px;
  }
  .page-home .home-collection:nth-child(even)::before {
    left: 23px;
  }
  .page-home .home-collection:nth-child(even) .home-collection__marker {
    left: 16px;
  }
}

/* ---------- 桌面 min-width: 992px ---------- */
@media (min-width: 992px) {
  .page-home .home-hero {
    min-height: 720px;
    padding: 80px 0;
  }
  .page-home .home-hero__inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: start;
  }
  .page-home .home-hero__head {
    position: sticky;
    top: 24px;
  }
  .page-home .home-hero__cards {
    gap: 16px;
  }
  .page-home .home-benefits__grid {
    grid-template-columns: 0.85fr 2.15fr;
    gap: 40px;
  }
  .page-home .home-benefits__panel {
    grid-template-columns: 1fr 0.6fr;
    align-items: start;
  }
  .page-home .home-benefits__figure img {
    min-height: 220px;
  }
  .page-home .home-official__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
  }
  .page-home .home-legacy__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 44px;
    align-items: center;
  }
  .page-home .home-legacy__item {
    grid-template-columns: 7rem 9rem 1fr;
    align-items: baseline;
  }
  .page-home .home-legacy__note {
    grid-column: auto;
  }
  .page-home .home-ranking__wrap {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 44px;
    align-items: center;
  }
  .page-home .home-collections__head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
  .page-home .home-news__head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
  .page-home .home-news__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .home-about-cta__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .page-home .home-about-cta .btn-primary {
    justify-self: end;
  }
}
