.page-home {
  --home-muted: #475467;
  --home-line: #E4E7EC;
  --home-tick-size: 18px;
  --home-tick-off: 12px;
  --home-neon: #00E5FF;
  --home-card-w: 236px;
  --home-bigscreen-glow: rgba(0, 181, 173, 0.18);
}

/* ============ 首屏框景窗口 ============ */
.hero-window {
  position: relative;
  margin: var(--space-2) var(--space-2) 0;
  border: 1px solid var(--boundary-gray);
  border-radius: var(--radius-lg);
  background: var(--snow-white);
  box-shadow: var(--shadow-md);
}
.hero-window__rail {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 5px;
  background: linear-gradient(90deg, var(--sky-blue) 0 14%, var(--electric-teal) 14% 46%, var(--sunset-orange) 46% 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  z-index: 5;
}
.hero-window__tick {
  position: absolute;
  width: var(--home-tick-size);
  height: var(--home-tick-size);
  z-index: 4;
  pointer-events: none;
}
.hero-window__tick--tl {
  top: var(--home-tick-off);
  left: var(--home-tick-off);
  border-top: 3px solid var(--sky-blue);
  border-left: 3px solid var(--sky-blue);
  border-top-left-radius: var(--radius-sm);
}
.hero-window__tick--tr {
  top: var(--home-tick-off);
  right: var(--home-tick-off);
  border-top: 3px solid var(--electric-teal);
  border-right: 3px solid var(--electric-teal);
  border-top-right-radius: var(--radius-sm);
}
.hero-window__tick--bl {
  bottom: var(--home-tick-off);
  left: var(--home-tick-off);
  border-bottom: 3px solid var(--electric-teal);
  border-left: 3px solid var(--electric-teal);
  border-bottom-left-radius: var(--radius-sm);
}
.hero-window__tick--br {
  bottom: var(--home-tick-off);
  right: var(--home-tick-off);
  border-bottom: 3px solid var(--sunset-orange);
  border-right: 3px solid var(--sunset-orange);
  border-bottom-right-radius: var(--radius-sm);
}
.hero-window__body {
  display: grid;
  grid-template-columns: 1fr;
}
.hero-window__copy {
  padding: var(--space-4) var(--space-3) var(--space-3);
}
.hero-window__copy .breadcrumb {
  margin-bottom: var(--space-2);
}
.page-home .eyebrow--orange::after {
  content: "";
  display: inline-block;
  width: 34px;
  height: 2px;
  background: var(--sunset-orange);
  margin-left: var(--space-2);
  vertical-align: middle;
}
.hero-window__title {
  font-size: 34px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: var(--space-2) 0;
}
.hero-window__lead {
  max-width: 50ch;
  color: var(--home-muted);
  line-height: 1.65;
  margin: 0 0 var(--space-4);
}
.hero-window__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.hero-window__visual {
  position: relative;
  min-height: 280px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
}
.hero-window__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 24, 40, 0.24) 0%, rgba(16, 24, 40, 0) 52%);
  pointer-events: none;
}
.hero-window__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 首页索引 */
.hero-index {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px dashed var(--boundary-gray);
}
.hero-index a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--sky-blue);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.hero-index a span {
  font-family: var(--font-mono);
  color: var(--electric-teal);
  font-weight: 500;
  font-size: 12px;
}

/* ============ 赛程时间轴 ============ */
.hero-window__schedule {
  border-top: 1px solid var(--boundary-gray);
  background: var(--high-altitude-gray);
  padding: var(--space-4) var(--space-3) var(--space-3);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.schedule-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}
.schedule-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}
.schedule-sub {
  color: var(--home-muted);
  font-size: 14px;
  margin: 4px 0 0;
}
.schedule-rail {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: var(--space-1) var(--space-1) var(--space-2);
  scrollbar-width: thin;
  scrollbar-color: var(--sky-blue) transparent;
}
.schedule-rail::-webkit-scrollbar {
  height: 6px;
}
.schedule-rail::-webkit-scrollbar-thumb {
  background: var(--sky-blue);
  border-radius: var(--radius-full);
}
.schedule-rail::-webkit-scrollbar-track {
  background: transparent;
}
.schedule-card {
  flex: 0 0 var(--home-card-w);
  scroll-snap-align: start;
  background: var(--snow-white);
  border: 1px solid var(--boundary-gray);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.schedule-card[open] {
  border-color: var(--sky-blue);
  box-shadow: var(--shadow-md);
}
.schedule-card--next {
  border-color: rgba(255, 109, 0, 0.55);
}
.schedule-card--next[open] {
  border-color: var(--sunset-orange);
}
.schedule-card__summary {
  list-style: none;
  cursor: pointer;
}
.schedule-card__summary::-webkit-details-marker {
  display: none;
}
.schedule-card__round {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--sky-blue);
}
.schedule-card--next .schedule-card__round {
  color: var(--sunset-orange);
}
.schedule-card__match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-1);
  margin: var(--space-2) 0;
}
.schedule-card__side {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-1);
  min-width: 0;
}
.schedule-card__name {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 88px;
}
.schedule-card__score {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
}
.schedule-card__colon {
  color: var(--boundary-gray);
  font-weight: 700;
}
.schedule-card__venue {
  display: block;
  font-size: 13px;
  color: var(--home-muted);
  padding-top: var(--space-1);
  border-top: 1px dashed var(--boundary-gray);
}
.schedule-card__detail {
  margin: var(--space-2) 0 0;
  background: var(--ice-blue-wash);
  border-radius: var(--radius-sm);
  padding: var(--space-2);
  display: grid;
  gap: var(--space-1);
}
.schedule-card__detail div {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.schedule-card__detail dt {
  color: var(--home-muted);
}
.schedule-card__detail dd {
  font-family: var(--font-mono);
  font-weight: 600;
}
.schedule-card__link {
  margin-top: var(--space-1);
  font-size: 13px;
}
.schedule-card__link a {
  color: var(--electric-teal);
  font-weight: 600;
  text-decoration: none;
}
.schedule-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: var(--space-3);
  flex-wrap: wrap;
}
.schedule-foot__link {
  color: var(--sky-blue);
  font-weight: 600;
  text-decoration: none;
}

/* ============ 焦点战 ============ */
.focus-section {
  padding: var(--space-6) 0 var(--space-7);
}
.focus-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.focus-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: var(--space-2) 0 var(--space-1);
  line-height: 1.25;
}
.focus-title__vs {
  font-family: var(--font-mono);
  color: var(--sunset-orange);
  font-size: 18px;
  margin: 0 4px;
}
.focus-meta {
  color: var(--home-muted);
}
.focus-grid {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-5);
}
.focus-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 0;
}
.focus-visual img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.focus-visual::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 2px solid var(--electric-teal);
  border-radius: var(--radius-lg);
  z-index: 2;
  pointer-events: none;
}
.focus-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-2);
  background: var(--high-altitude-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  position: relative;
}
.focus-team {
  background: var(--snow-white);
  border: 1px solid var(--boundary-gray);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-2);
}
.focus-team__tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  background: var(--ice-blue-wash);
  color: var(--sky-blue);
}
.focus-team--away .focus-team__tag {
  background: rgba(255, 109, 0, 0.12);
  color: var(--sunset-orange);
}
.focus-team__name {
  font-size: 18px;
  margin: var(--space-1) 0 var(--space-2);
  line-height: 1.3;
}
.focus-team__stats {
  list-style: none;
  margin: 0;
}
.focus-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-2);
  padding: var(--space-1) 0;
  border-bottom: 1px solid var(--high-altitude-gray);
  position: relative;
}
.focus-stat dt {
  font-size: 13px;
  color: var(--home-muted);
}
.focus-stat dd {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--sky-blue);
}
.focus-stat::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 4px);
  right: 0;
  background: var(--ink-blue);
  color: var(--snow-white);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 6;
  max-width: 200px;
}
.focus-stat:hover::after,
.focus-stat:focus-within::after {
  opacity: 1;
  transform: translateY(0);
}
.focus-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
}
.focus-divider span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 20px;
  color: var(--sunset-orange);
}
.focus-divider small {
  font-size: 12px;
  color: var(--home-muted);
  white-space: nowrap;
}

/* ============ 会员中心升级 ============ */
.member-section {
  background: var(--ice-blue-wash);
  padding: var(--space-6) 0;
}
.member-grid {
  display: grid;
  gap: var(--space-5);
}
.member-grid__copy .section-title {
  margin: var(--space-2) 0 var(--space-1);
}
.member-features {
  list-style: none;
  margin: var(--space-4) 0;
  display: grid;
  gap: var(--space-3);
}
.member-features li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: var(--space-3);
}
.member-features__num {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--violet-hint);
  line-height: 1.2;
  min-width: 2ch;
}
.member-features h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
}
.member-features p {
  font-size: 14px;
  color: var(--home-muted);
  margin: 0;
}
.member-grid__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.member-grid__visual img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.member-grid__stat {
  position: absolute;
  left: var(--space-3);
  bottom: var(--space-3);
  background: rgba(16, 24, 40, 0.84);
  color: var(--snow-white);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  backdrop-filter: blur(6px);
}
.member-grid__stat-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--electric-teal);
}
.member-grid__stat-label {
  font-size: 13px;
  max-width: 10ch;
  line-height: 1.3;
}

/* ============ 大屏内容中心 ============ */
.bigscreen-section {
  background: var(--ink-blue);
  color: var(--snow-white);
  padding: var(--space-6) 0;
  position: relative;
  overflow: hidden;
}
.bigscreen-section__mountains {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 140px;
  pointer-events: none;
}
.bigscreen-grid {
  display: grid;
  gap: var(--space-4);
  align-items: center;
  position: relative;
  z-index: 2;
}
.bigscreen-copy .section-title {
  color: var(--snow-white);
  margin: var(--space-2) 0;
}
.bigscreen-copy > p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 52ch;
}
.bigscreen-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-4) 0;
}
.bigscreen-features li {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--home-neon);
  background: rgba(0, 229, 255, 0.08);
}
.bigscreen-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 48px var(--home-bigscreen-glow);
}
.bigscreen-visual img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* ============ 规则说明 ============ */
.rules-section {
  background: var(--high-altitude-gray);
  padding: var(--space-6) 0;
}
.rules-head .section-title {
  margin: var(--space-2) 0 var(--space-1);
}
.rules-grid {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-4);
}
.rules-list {
  list-style: none;
  display: grid;
  gap: var(--space-4);
  counter-reset: rule-item;
  margin: 0;
}
.rules-list li {
  position: relative;
  counter-increment: rule-item;
  padding-left: 36px;
}
.rules-list li::before {
  content: counter(rule-item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-left: 2px solid var(--sky-blue);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--sky-blue);
}
.rules-list h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
}
.rules-list p {
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
  max-width: 60ch;
}
.rules-note {
  background: var(--snow-white);
  border: 1px solid var(--boundary-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  align-self: start;
}
.rules-note h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 var(--space-2);
}
.rules-note > p {
  font-size: 14px;
  color: var(--home-muted);
  margin: 0 0 var(--space-3);
}
.rules-note__extra {
  margin-top: var(--space-3);
}
.rules-note__extra a {
  color: var(--electric-teal);
  font-weight: 600;
  text-decoration: none;
}

/* ============ 最新动态 ============ */
.news-section {
  padding: var(--space-6) 0 var(--space-7);
}
.news-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.news-head__more {
  color: var(--sky-blue);
  font-weight: 600;
  text-decoration: none;
}
.news-grid {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-4);
}
.news-card {
  background: var(--snow-white);
  border: 1px solid var(--boundary-gray);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.news-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 40%;
  background: linear-gradient(90deg, var(--sky-blue), var(--electric-teal));
}
.news-card h3 {
  font-size: 18px;
  line-height: 1.45;
  margin: var(--space-2) 0 var(--space-1);
}
.news-card p {
  font-size: 14px;
  color: var(--home-muted);
  margin: 0 0 var(--space-2);
}
.news-card__link {
  color: var(--electric-teal);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

/* ============ 响应式：平板与桌面 ============ */
@media (min-width: 768px) {
  .hero-window {
    margin: var(--space-3) var(--space-3) 0;
  }
  .hero-window__title {
    font-size: 42px;
  }
  .hero-window__visual {
    min-height: 360px;
  }
  .schedule-card {
    --home-card-w: 250px;
  }
  .focus-title {
    font-size: 36px;
  }
  .focus-visual img,
  .member-grid__visual img,
  .bigscreen-visual img {
    height: 380px;
  }
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .hero-window {
    margin: var(--space-4) var(--space-4) 0;
  }
  .hero-window__body {
    grid-template-columns: 1fr 1.05fr;
  }
  .hero-window__copy {
    padding: var(--space-6) var(--space-5) var(--space-4);
  }
  .hero-window__visual {
    min-height: 0;
    border-radius: 0 var(--radius-lg) 0 0;
  }
  .hero-window__visual img {
    position: absolute;
    width: 100%;
    height: 100%;
  }
  .hero-window__schedule {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
  .focus-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
  }
  .focus-visual::before {
    inset: 24px -24px -24px 24px;
  }
  .member-grid {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
  }
  .member-grid__visual img {
    height: 460px;
  }
  .bigscreen-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .bigscreen-visual img {
    height: 420px;
  }
  .rules-grid {
    grid-template-columns: 1fr 0.8fr;
  }
}

@media (max-width: 991.98px) {
  .bigscreen-section__mountains {
    height: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .schedule-card,
  .focus-stat::after {
    transition: none;
  }
}
