.page-home {
  --home-gap: clamp(20px, 4vw, 56px);
  --home-section-gap: clamp(56px, 8vw, 112px);
  --home-radius-lg: 28px;
  --home-radius-md: 16px;
  --home-panel-width: 248px;
}

.page-home .home-stage {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 72px) 0 36px;
  background:
    linear-gradient(115deg, rgba(57,255,20,.12), transparent 42%),
    linear-gradient(295deg, rgba(255,215,0,.07), transparent 52%),
    #0d2138;
}

.page-home .home-stage-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-home .home-stage-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.page-home .home-stage-copy .breadcrumb {
  margin-bottom: 4px;
}

.page-home .home-stage-kicker {
  margin: 0;
  font-family: var(--f-data);
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--c-neon);
  border-left: 3px solid var(--c-neon);
  padding-left: 10px;
  text-transform: uppercase;
}

.page-home .home-stage-title {
  margin: 0;
  max-width: 12em;
  font-family: var(--f-heading);
  font-size: clamp(30px, 6vw, 64px);
  line-height: 1.12;
  color: var(--c-text);
}

.page-home .home-stage-lead {
  margin: 0;
  max-width: 46em;
  color: var(--c-text2);
  font-size: 16px;
  line-height: 1.75;
}

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

.page-home .home-stage-preview {
  border: 1px solid rgba(255,215,0,.28);
  border-radius: 24px;
  padding: 20px;
  background: rgba(11,30,58,.76);
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
  backdrop-filter: blur(8px);
}

.page-home .stage-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.page-home .stage-preview-label {
  margin: 0;
  font-family: var(--f-data);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--c-gold);
}

.page-home .stage-preview-note {
  margin: 0;
  font-size: 12px;
  color: var(--c-text2);
}

.page-home .chapter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-home .chapter-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid transparent;
  color: var(--c-text);
  text-decoration: none;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}

.page-home .chapter-list a:hover {
  border-color: var(--c-neon);
  background: rgba(57,255,20,.10);
  transform: translateY(-2px);
}

.page-home .chapter-num {
  font-family: var(--f-data);
  font-size: 13px;
  color: var(--c-neon);
}

.page-home .chapter-name {
  font-size: 14px;
  font-weight: 600;
}

.page-home .home-stage-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.page-home .home-stage-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
  transform: scale(1.02);
}

.page-home .home-stage-lines {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.page-home .home-chapter-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-block: clamp(56px, 8vw, 112px) 40px;
}

.page-home .home-chapter-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-line);
  scrollbar-width: thin;
}

.page-home .home-panel-label {
  margin: 0;
  font-family: var(--f-data);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--c-gold);
  white-space: nowrap;
}

.page-home .home-panel-list {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.page-home .home-panel-list a {
  display: block;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-line);
  color: var(--c-text2);
  font-size: 14px;
  text-decoration: none;
  transition: color .2s, border-color .2s, background .2s;
}

.page-home .home-panel-list a:hover {
  color: var(--c-text);
  border-color: var(--c-neon);
  background: rgba(57,255,20,.08);
}

.page-home .home-panel-top {
  margin-left: auto;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--c-card);
  color: var(--c-text2);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.page-home .home-chapter-main {
  display: flex;
  flex-direction: column;
}

.page-home .home-section {
  margin-bottom: var(--home-section-gap);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.page-home .home-section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 28px;
}

.page-home .home-section-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .home-section-index {
  font-family: var(--f-data);
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--c-gold);
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}

.page-home .home-section-title {
  margin: 0;
  font-family: var(--f-heading);
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.2;
  color: var(--c-text);
}

.page-home .home-section-desc {
  margin: 0;
  max-width: 42em;
  color: var(--c-text2);
  font-size: 16px;
  line-height: 1.7;
}

.page-home .home-section-desc a {
  color: var(--c-gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-home .home-section-more {
  margin-top: 24px;
}

.page-home .home-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--home-radius-lg);
  border: 1px solid var(--c-line);
  background: var(--c-card);
}

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

.page-home .home-figure-caption {
  margin: 0;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-text2);
}

/* 01 即时比分 */
.page-home .home-live-body {
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-live-card {
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--home-radius-lg);
  padding: clamp(20px, 3vw, 32px);
}

.page-home .live-matchup {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.page-home .live-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.page-home .live-team-name {
  color: var(--c-text);
  font-weight: 600;
}

.page-home .live-team-score {
  min-width: 90px;
  padding: 2px 10px;
  text-align: center;
  font-family: var(--f-data);
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1;
  color: var(--c-neon);
  background: rgba(57,255,20,.1);
  border-radius: 14px;
  animation: pageHomeScoreFloat 3.2s ease-in-out infinite;
}

.page-home .live-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.page-home .live-status {
  font-size: 12px;
  line-height: 1.4;
  color: var(--c-neon);
  border: 1px solid var(--c-neon);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  animation: pageHomePulse 1.6s infinite;
}

.page-home .live-clock {
  font-family: var(--f-data);
  font-size: 26px;
  color: var(--c-gold);
}

.page-home .live-events {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--c-line);
  display: grid;
  gap: 10px;
}

.page-home .live-event {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--c-text2);
}

.page-home .live-event-time {
  min-width: 48px;
  font-family: var(--f-data);
  color: var(--c-gold);
}

.page-home .home-live-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--c-neon);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
}

.page-home .home-live-link:hover {
  border-color: var(--c-neon);
}

/* 02 赛前阵容 */
.page-home .home-lineup-body {
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-lineup-svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 220px;
  border-radius: var(--home-radius-lg);
  background: var(--c-card);
  border: 1px solid var(--c-line);
}

.page-home .home-lineup-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-home .lineup-step {
  position: relative;
  padding: 20px;
  border-radius: var(--home-radius-md);
  background: var(--c-card);
  border: 1px solid var(--c-line);
}

.page-home .lineup-step-num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: rgba(57,255,20,.12);
  color: var(--c-neon);
  font-family: var(--f-data);
  font-size: 13px;
}

.page-home .lineup-step h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--c-text);
}

.page-home .lineup-step p {
  margin: 0;
  color: var(--c-text2);
  font-size: 14px;
  line-height: 1.6;
}

/* 03 周末连着看两场 */
.page-home .home-weekend-grid {
  display: grid;
  gap: 16px;
  margin-bottom: var(--home-gap);
}

.page-home .home-session-card {
  position: relative;
  background: linear-gradient(135deg, rgba(57,255,20,.10), transparent 55%), var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--home-radius-lg);
  padding: 24px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.page-home .home-session-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.32);
}

.page-home .home-session-tag {
  margin-bottom: 12px;
}

.page-home .home-session-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: var(--c-text);
}

.page-home .home-session-time {
  margin: 0 0 8px;
  font-family: var(--f-data);
  color: var(--c-gold);
  font-size: 16px;
}

.page-home .home-session-card p:last-child {
  margin: 0;
  color: var(--c-text2);
  font-size: 14px;
  line-height: 1.65;
}

.page-home .home-weekend-note {
  margin: clamp(20px, 4vw, 32px) 0 0;
  padding: 16px 20px;
  border-left: 4px solid var(--c-neon);
  border-radius: 0 var(--home-radius-md) var(--home-radius-md) 0;
  background: rgba(57,255,20,.07);
  line-height: 1.7;
}

/* 04 平板回看 */
.page-home .home-replay-steps {
  display: grid;
  gap: 16px;
}

.page-home .home-replay-step {
  padding: 22px 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--home-radius-md);
  background: rgba(255,255,255,.02);
}

.page-home .home-replay-stepnum {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  border: 1px solid var(--c-gold);
  color: var(--c-gold);
  font-family: var(--f-data);
  font-size: 14px;
}

.page-home .home-replay-step h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--c-text);
}

.page-home .home-replay-step p {
  margin: 0;
  color: var(--c-text2);
  font-size: 14px;
  line-height: 1.65;
}

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

/* 05 专家专栏 */
.page-home .home-experts-body {
  display: grid;
  gap: var(--home-gap);
}

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

.page-home .home-expert-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border-left: 3px solid var(--c-gold);
  border-radius: var(--home-radius-md);
  background: var(--c-card);
  transition: transform .3s var(--ease), background .3s ease;
}

.page-home .home-expert-item:hover {
  transform: translateX(6px);
  background: rgba(255,255,255,.03);
}

.page-home .home-expert-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--c-text);
}

.page-home .home-expert-meta {
  margin: 0;
  font-family: var(--f-data);
  font-size: 13px;
  color: var(--c-text2);
}

/* 06 当天焦点战 */
.page-home .home-focus-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid var(--c-line);
  border-radius: var(--home-radius-lg);
  background: linear-gradient(135deg, rgba(255,215,0,.13), transparent 48%), var(--c-card);
}

.page-home .home-focus-copy {
  max-width: 46em;
}

.page-home .home-focus-copy p {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--c-text);
}

.page-home .home-focus-copy small {
  color: var(--c-text2);
  font-size: 14px;
}

.page-home .home-focus-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@keyframes pageHomePulse {
  0% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(57,255,20,.55);
  }
  70% {
    opacity: .75;
    box-shadow: 0 0 0 10px rgba(57,255,20,0);
  }
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(57,255,20,0);
  }
}

@keyframes pageHomeScoreFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes pageHomeReveal {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-home [data-reveal].is-visible {
  animation: pageHomeReveal .7s var(--ease) both;
}

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

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

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

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

  .page-home .home-expert-item:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 760px) {
  .page-home .home-lineup-body {
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
  }

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

@media (min-width: 960px) {
  .page-home .home-stage {
    padding: clamp(72px, 8vw, 120px) 0 clamp(56px, 7vw, 96px);
  }

  .page-home .home-stage-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: clamp(36px, 6vw, 88px);
    align-items: center;
  }

  .page-home .home-chapter-wrap {
    grid-template-columns: var(--home-panel-width) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 72px);
    align-items: start;
  }

  .page-home .home-chapter-panel {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    border-bottom: 0;
    border-left: 1px solid var(--c-line);
    padding-left: 20px;
  }

  .page-home .home-panel-list {
    flex-direction: column;
  }

  .page-home .home-panel-list a {
    white-space: normal;
    border-radius: 12px;
    border-color: transparent;
    padding: 10px 12px;
  }

  .page-home .home-panel-top {
    margin-left: 0;
    width: fit-content;
  }

  .page-home .home-live-body {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
  }

  .page-home .home-experts-body {
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
  }

  .page-home .home-session-card {
    transform: rotate(-1deg);
  }

  .page-home .home-session-card:nth-child(2) {
    transform: rotate(1deg);
  }

  .page-home .home-session-card:hover {
    transform: rotate(0deg) translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .live-status,
  .page-home .live-team-score,
  .page-home [data-reveal].is-visible {
    animation: none;
  }
}
