.page-home {
  --home-cut: 22px;
  --home-line: rgba(92, 104, 132, 0.38);
  --home-panel: #0C1838;
  color: var(--mist);
  font-family: var(--font-sans);
}

.page-home .breadcrumb {
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}
.page-home .breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .breadcrumb__list li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--rule);
}
.page-home .breadcrumb__list a {
  color: var(--teal-soft);
  text-decoration: none;
}
.page-home .breadcrumb__list a:hover {
  text-decoration: underline;
}
.page-home .breadcrumb__list li[aria-current="page"] {
  color: var(--mist);
}

/* ============ 首屏分屏 ============ */
.page-home .hero {
  display: grid;
  gap: 26px;
  padding-top: 22px;
  padding-bottom: 56px;
}

.page-home .hero-board {
  position: relative;
  padding: 24px 20px 26px;
  background:
    linear-gradient(165deg, rgba(23, 195, 162, 0.10), rgba(23, 195, 162, 0) 42%),
    var(--home-panel);
  border-top: 3px solid var(--ember);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
}

.page-home .live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 5px 12px 5px 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--teal-soft);
  background: rgba(23, 195, 162, 0.10);
  border-left: 2px solid var(--teal);
}
.page-home .live-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 0 rgba(255, 90, 43, 0.55);
  animation: home-breathe 3s var(--ease) infinite;
}
@keyframes home-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 90, 43, 0.55); }
  50% { box-shadow: 0 0 0 7px rgba(255, 90, 43, 0); }
}

.page-home h1 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.015em;
  color: var(--snow);
}

.page-home .hero-lede {
  margin: 0 0 20px;
  max-width: 46ch;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--mist);
}

/* 筛选按钮组 */
.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.page-home .filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--mist);
  background: rgba(19, 32, 74, 0.85);
  border: 1px solid var(--home-line);
  border-radius: 0;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.page-home .filter-chip:hover {
  color: var(--snow);
  border-color: var(--teal);
}
.page-home .filter-chip[aria-pressed="true"],
.page-home .filter-chip.is-active {
  color: var(--night);
  background: var(--teal);
  border-color: var(--teal);
  font-weight: 700;
}
.page-home .filter-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.75;
}

/* 比分列表 */
.page-home .score-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--home-line);
}
.page-home .score-row {
  padding: 14px 0 12px;
  border-bottom: 1px dashed var(--home-line);
  outline: none;
  transition: background 0.2s var(--ease);
}
.page-home .score-row:hover,
.page-home .score-row:focus-visible {
  background: rgba(23, 195, 162, 0.05);
}
.page-home .score-row__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.03em;
  color: var(--mist);
}
.page-home .score-row__tag {
  padding: 2px 7px;
  color: var(--night);
  background: var(--teal-soft);
  font-weight: 700;
  font-size: 0.7rem;
}
.page-home .score-row__main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}
.page-home .score-row__side {
  flex: 1 1 0;
  min-width: 0;
  font-size: 0.9rem;
  color: var(--snow);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.page-home .score-row__side--away {
  text-align: right;
}
.page-home .score-row__mid {
  color: var(--rule);
  font-family: var(--font-mono);
}
.page-home .score-row__num {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: clamp(1.35rem, 5vw, 1.85rem);
  line-height: 1;
  min-width: 2.2ch;
  text-align: center;
  color: var(--snow);
  font-variant-numeric: tabular-nums;
}
.page-home .score-row__num--hot {
  color: var(--ember);
}
.page-home .score-row__main--rank {
  justify-content: flex-start;
  gap: 14px;
}
.page-home .score-row__main--rank .score-row__side {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--snow);
}
.page-home .score-row__events {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 0.79rem;
  line-height: 1.6;
  color: var(--mist);
  transition: max-height 0.3s var(--ease), opacity 0.3s var(--ease), margin-top 0.3s var(--ease);
}
.page-home .score-row:hover .score-row__events,
.page-home .score-row:focus-within .score-row__events {
  max-height: 90px;
  margin-top: 8px;
  opacity: 1;
}
.page-home .score-foot {
  margin: 14px 0 0;
  font-size: 0.76rem;
  color: var(--rule);
}

/* 右栏 */
.page-home .hero-side {
  display: grid;
  gap: 14px;
  align-content: start;
}
.page-home .hero-visual {
  margin: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  background: var(--panel);
  overflow: hidden;
}
.page-home .hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-home .side-card {
  display: block;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  background: var(--panel);
  border-left: 3px solid var(--teal);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  transition: background 0.22s var(--ease), transform 0.22s var(--ease);
}
.page-home .side-card--ember {
  border-left-color: var(--ember);
}
.page-home .side-card:hover,
.page-home .side-card:focus-visible {
  background: #182A5C;
  transform: translateX(3px);
}
.page-home .side-card__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--teal-soft);
}
.page-home .side-card--ember .side-card__label {
  color: var(--ember-soft);
}
.page-home .side-card__title {
  display: block;
  margin: 4px 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--snow);
}
.page-home .side-card__desc {
  display: block;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--mist);
}
.page-home .side-card__go {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--teal-soft);
}

/* ============ 章节通用 ============ */
.page-home .section-head {
  position: relative;
  margin-bottom: 22px;
}
.page-home .section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 3.6vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--snow);
}
.page-home .section-head p {
  margin: 0;
  max-width: 62ch;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--mist);
}

/* ============ 周期速览 ============ */
.page-home .cycle {
  padding-top: 44px;
  padding-bottom: 50px;
  border-top: 1px solid var(--home-line);
  background: linear-gradient(180deg, rgba(91, 75, 224, 0.08), rgba(91, 75, 224, 0) 220px);
}
.page-home .cycle-body {
  display: grid;
  gap: 22px;
}
.page-home .cycle-list {
  display: grid;
  gap: 16px;
}
.page-home .cycle-card {
  padding: 20px 18px 18px;
  background: var(--panel);
  border-top: 2px solid var(--violet);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
}
.page-home .cycle-card__scope {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  color: var(--teal-soft);
}
.page-home .cycle-card__title {
  margin: 0 0 14px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--snow);
}
.page-home .cycle-chart {
  display: block;
  width: 100%;
  height: auto;
}
.page-home .cycle-chart__axis {
  stroke: var(--rule);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.page-home .cycle-chart__line {
  fill: none;
  stroke-width: 2.4;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.page-home .cycle-chart__line--home {
  stroke: var(--teal);
}
.page-home .cycle-chart__line--away {
  stroke: var(--violet);
  stroke-dasharray: 6 3;
}
.page-home .cycle-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--home-line);
}
.page-home .cycle-facts dt {
  font-size: 0.72rem;
  color: var(--mist);
}
.page-home .cycle-facts dd {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--teal-soft);
}
.page-home .cycle-visual {
  margin: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  background: var(--home-panel);
  overflow: hidden;
}
.page-home .cycle-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.page-home .cycle-visual figcaption {
  padding: 12px 14px 14px;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--mist);
}

/* ============ 费用说明 ============ */
.page-home .cost {
  padding-top: 44px;
  padding-bottom: 50px;
  background: linear-gradient(100deg, rgba(255, 90, 43, 0.10) 0 6px, rgba(255, 90, 43, 0) 6px);
}
.page-home .cost-grid {
  display: grid;
  gap: 16px;
}
.page-home .cost-card {
  padding: 20px 18px 20px;
  background: var(--panel);
  border-left: 2px solid var(--ember);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
}
.page-home .cost-card__kicker {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ember-soft);
}
.page-home .cost-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--snow);
}
.page-home .cost-card p {
  margin: 0 0 14px;
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--mist);
}
.page-home .cost-card p:last-child {
  margin-bottom: 0;
}
.page-home .cost-card .btn {
  margin-top: 2px;
}

/* ============ 战报时间轴 ============ */
.page-home .notes {
  padding-top: 44px;
  padding-bottom: 48px;
  background: var(--home-panel);
}
.page-home .notes-visual {
  margin: 0 0 26px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  overflow: hidden;
  background: var(--night);
}
.page-home .notes-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.page-home .timeline {
  margin: 0;
  padding: 0 0 0 22px;
  list-style: none;
  border-left: 2px solid var(--home-line);
}
.page-home .timeline__item {
  position: relative;
  padding-bottom: 28px;
}
.page-home .timeline__item:last-child {
  padding-bottom: 4px;
}
.page-home .timeline__item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--teal);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.page-home .timeline__when {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--teal-soft);
}
.page-home .timeline__title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--snow);
}
.page-home .timeline__nodes {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}
.page-home .timeline__nodes li {
  display: flex;
  gap: 10px;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--mist);
}
.page-home .timeline__min {
  flex: 0 0 auto;
  min-width: 5.4em;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ember-soft);
}
.page-home .timeline__more {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--teal-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(127, 230, 210, 0.4);
}
.page-home .timeline__more:hover {
  color: var(--snow);
  border-bottom-color: var(--snow);
}
.page-home .notes-foot {
  margin: 26px 0 0;
}

/* ============ 新访客路径 ============ */
.page-home .start {
  padding-top: 46px;
  padding-bottom: 54px;
}
.page-home .start-steps {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}
.page-home .start-step {
  position: relative;
  padding: 20px 18px;
  background: var(--panel);
  border-top: 2px solid var(--teal);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
}
.page-home .start-step__no {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
  color: rgba(23, 195, 162, 0.32);
}
.page-home .start-step h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--snow);
}
.page-home .start-step p {
  margin: 0 0 14px;
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--mist);
}
.page-home .start-step p:last-child {
  margin-bottom: 0;
}
.page-home .start-links {
  display: grid;
  gap: 10px;
}
.page-home .start-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  font-size: 0.88rem;
  color: var(--snow);
  text-decoration: none;
  background: rgba(19, 32, 74, 0.6);
  border-left: 2px solid var(--home-line);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.page-home .start-link span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--teal-soft);
}
.page-home .start-link:hover,
.page-home .start-link:focus-visible {
  background: rgba(19, 32, 74, 0.95);
  border-left-color: var(--ember);
}

/* ============ 收尾 ============ */
.page-home .outro {
  margin-top: 10px;
}
.page-home .outro-visual {
  margin: 0;
  overflow: hidden;
  background: var(--night);
}
.page-home .outro-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 5;
  object-fit: cover;
  opacity: 0.72;
}
.page-home .outro-body {
  padding-top: 34px;
  padding-bottom: 72px;
}
.page-home .outro-body h2 {
  margin: 0 0 12px;
  font-size: clamp(1.15rem, 3.2vw, 1.55rem);
  font-weight: 700;
  color: var(--snow);
}
.page-home .outro-body p {
  margin: 0 0 18px;
  max-width: 62ch;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--mist);
}
.page-home .outro-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ============ 响应式 ============ */
@media (min-width: 720px) {
  .page-home .cost-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .cost-card--wide {
    grid-column: 1 / -1;
  }
  .page-home .start-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .start-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (min-width: 960px) {
  .page-home .hero {
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
    gap: 34px;
    padding-top: 30px;
    padding-bottom: 68px;
  }
  .page-home .hero-board {
    padding: 28px 28px 30px;
  }
  .page-home .hero-side {
    gap: 16px;
  }
  .page-home .cycle-body {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
    gap: 28px;
  }
  .page-home .cost-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .cost-card--wide {
    grid-column: span 1;
  }
  .page-home .start-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .page-home .outro-body {
    padding-top: 44px;
    padding-bottom: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .live-pill__dot {
    animation: none;
  }
  .page-home .side-card,
  .page-home .score-row__events {
    transition: none;
  }
  .page-home .side-card:hover,
  .page-home .side-card:focus-visible {
    transform: none;
  }
}
