.page-home {
  --home-cut-a: 18px;
  --home-cut-b: 12px;
  --home-hair: rgba(20, 216, 198, 0.3);
  --home-hair-strong: rgba(20, 216, 198, 0.55);
  --home-dark-line: rgba(198, 212, 202, 0.2);
  display: block;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

.page-home .section {
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0;
}

.page-home .section--light {
  background: var(--cream);
  color: var(--ink);
}

.page-home .section--dark {
  background: linear-gradient(158deg, var(--turf) 0%, var(--night) 100%);
  color: var(--on-dark);
}

.page-home .section--indigo {
  background: linear-gradient(160deg, var(--indigo) 0%, #1a1636 100%);
  color: var(--on-dark);
}

.page-home .section--deep {
  background: var(--night);
  color: var(--on-dark);
}

/* ---------- 首屏 ---------- */

.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px) 0 clamp(52px, 8vw, 96px);
  background: linear-gradient(150deg, var(--night) 0%, var(--turf) 58%, #0d3b26 100%);
  color: var(--on-dark);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 68%;
  height: 170%;
  background-image: repeating-linear-gradient(102deg, rgba(20, 216, 198, 0.07) 0 2px, transparent 2px 30px);
  transform: rotate(-12deg);
  pointer-events: none;
}

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

.page-home .breadcrumb {
  margin-bottom: 14px;
}

.page-home .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--on-dark-soft);
}

.page-home .breadcrumb-item {
  color: var(--cyan);
}

.page-home .eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-transform: none;
}

.page-home .hero-title {
  margin: 16px 0 20px;
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: clamp(42px, 9.6vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--on-dark);
}

.page-home .hero-title__line {
  display: block;
}

.page-home .hero-title .hl {
  color: var(--cyan);
  font-style: normal;
}

.page-home .hero-lede {
  max-width: 58ch;
  margin: 0;
  font-size: clamp(16px, 1.5vw, 17px);
  line-height: 1.72;
  color: var(--on-dark-soft);
}

.page-home .hero-figures {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 30px;
}

.page-home .hero-figure {
  flex: 1 1 190px;
  min-width: 0;
  padding: 16px 18px;
  background: rgba(20, 216, 198, 0.07);
  border: 1px solid var(--home-hair);
  clip-path: polygon(0 0, calc(100% - var(--home-cut-a)) 0, 100% var(--home-cut-a), 100% 100%, var(--home-cut-a) 100%, 0 calc(100% - var(--home-cut-a)));
}

.page-home .hero-figure .data-num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.page-home .hero-figure .data-unit {
  font-family: var(--font-mono);
  font-size: 13px;
  margin-left: 0;
  color: var(--cyan);
}

.page-home .hero-figure .data-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--on-dark-soft);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .hero-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--night);
  border: 1px solid var(--home-hair);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
}

.page-home .hero-frame__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 60vh;
  object-fit: cover;
  opacity: 0.88;
}

.page-home .hero-frame__label {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--on-dark);
  background: rgba(5, 19, 12, 0.78);
  border-top: 1px solid var(--home-hair);
  border-right: 1px solid var(--home-hair);
}

.page-home .route-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-home .route-line {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.85;
  animation: home-route-draw 1.6s var(--ease) forwards;
}

.page-home .route-line--key {
  stroke: var(--orange);
  stroke-width: 2.6;
  opacity: 1;
}

.page-home .route-line--thin {
  stroke-width: 1.4;
  opacity: 0.6;
  animation-delay: 0.3s;
}

.page-home .route-node {
  pointer-events: auto;
  cursor: help;
  outline: none;
}

.page-home .route-node circle {
  fill: rgba(5, 19, 12, 0.82);
  stroke: var(--cyan);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 240ms var(--ease), stroke 240ms var(--ease);
}

.page-home .route-node--key circle {
  stroke: var(--orange);
  fill: rgba(255, 106, 19, 0.16);
}

.page-home .route-node:hover circle,
.page-home .route-node:focus-visible circle {
  transform: scale(1.45);
  stroke: var(--orange);
}

.page-home .route-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.55;
  color: var(--on-dark-soft);
}

.page-home .route-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-home .route-dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
}

.page-home .route-dot--cyan {
  background: var(--cyan);
}

.page-home .route-dot--orange {
  background: var(--orange);
}

@keyframes home-route-draw {
  from {
    stroke-dashoffset: 100;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* ---------- 章节骨架 ---------- */

.page-home .home-chapter {
  position: relative;
  max-width: 780px;
  margin-bottom: clamp(28px, 4vw, 46px);
  padding-top: 16px;
}

.page-home .home-chapter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 128px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), rgba(255, 106, 19, 0));
  transform: rotate(-12deg);
  transform-origin: left center;
}

.page-home .home-chapter .chapter-no {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.page-home .home-chapter .chapter-title {
  margin: 0 0 14px;
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.page-home .home-chapter .chapter-body {
  margin: 0;
  max-width: 66ch;
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-soft);
}

.page-home .home-chapter--on-dark .chapter-title {
  color: var(--on-dark);
}

.page-home .home-chapter--on-dark .chapter-body {
  color: var(--on-dark-soft);
}

/* ---------- 01 赛季分段 ---------- */

.page-home .home-sec--seasons {
  overflow: hidden;
}

.page-home .seasons-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  pointer-events: none;
}

.page-home .home-sec--seasons .container {
  position: relative;
  z-index: 1;
}

.page-home .home-tablist {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.page-home .home-tablist .tab {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  padding: 9px 20px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease);
}

.page-home .home-tablist .tab:hover {
  border-color: var(--cyan);
  color: var(--ink);
}

.page-home .home-tablist .tab[aria-selected="true"] {
  background: var(--turf);
  border-color: var(--turf);
  color: var(--on-dark);
}

.page-home .home-tablist .tab-indicator {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--orange);
  pointer-events: none;
  transition: transform 240ms var(--ease), width 240ms var(--ease);
}

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

.page-home .league-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 34px);
}

.page-home .league-figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}

.page-home .league-figure {
  padding: 16px 18px;
  background: rgba(243, 247, 242, 0.94);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.page-home .league-figure .data-num {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  color: var(--turf);
}

.page-home .league-figure .data-unit {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan-deep);
}

.page-home .league-figure .data-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.page-home .league-note p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink-soft);
}

.page-home .league-note__meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan-deep);
}

/* ---------- 02 轮次面板 ---------- */

.page-home .rounds-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.4vw, 24px);
}

.page-home .round-panel {
  padding: clamp(20px, 3vw, 28px);
  background: rgba(243, 247, 242, 0.045);
  border: 1px solid var(--home-hair);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  transition: border-color 240ms var(--ease), background 240ms var(--ease);
}

.page-home .round-panel:hover {
  border-color: var(--home-hair-strong);
  background: rgba(243, 247, 242, 0.07);
}

.page-home .round-panel .panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.page-home .round-panel__title {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--on-dark);
}

.page-home .round-scale {
  height: 22px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--home-hair-strong);
  background-image: repeating-linear-gradient(90deg, rgba(20, 216, 198, 0.5) 0 1px, transparent 1px 11px);
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: auto 12px;
}

.page-home .round-scale--alt {
  border-bottom-color: rgba(255, 106, 19, 0.5);
  background-image: repeating-linear-gradient(90deg, rgba(255, 106, 19, 0.5) 0 1px, transparent 1px 11px);
}

.page-home .round-kv {
  margin: 0;
}

.page-home .round-kv .kv {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--home-dark-line);
  font-size: 14px;
  line-height: 1.6;
}

.page-home .round-kv dt {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

.page-home .round-kv dd {
  margin: 0;
  text-align: right;
  color: var(--on-dark-soft);
}

.page-home .round-panel__note {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--on-dark-soft);
}

.page-home .rounds-visual {
  position: relative;
  margin: 0;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--home-hair);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.page-home .rounds-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  opacity: 0.9;
}

.page-home .rounds-visual figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 7px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--on-dark);
  background: rgba(5, 19, 12, 0.78);
}

.page-home .rounds-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(24px, 3vw, 34px);
  padding-top: 22px;
  border-top: 1px solid var(--home-dark-line);
}

.page-home .rounds-cta p {
  margin: 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--on-dark-soft);
}

/* ---------- 03 复盘 ---------- */

.page-home .review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.page-home .review-copy .home-chapter {
  margin-bottom: clamp(22px, 3vw, 32px);
}

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

.page-home .review-step {
  position: relative;
  padding: 0 0 18px 56px;
  border-bottom: 1px solid var(--line);
}

.page-home .review-step:last-child {
  border-bottom: none;
}

.page-home .review-step__no {
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--cream);
  background: var(--wine);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.page-home .review-step__title {
  margin: 4px 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.page-home .review-step p {
  margin: 0;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink-soft);
}

.page-home .review-link {
  margin: 24px 0 0;
}

.page-home .review-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--turf);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

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

.page-home .review-figure figcaption {
  display: block;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--cyan);
  background: var(--night);
}

/* ---------- 04 历史交锋 ---------- */

.page-home .h2h-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  position: relative;
}

.page-home .h2h-item {
  position: relative;
  padding: 18px 20px 18px 26px;
  background: rgba(243, 247, 242, 0.05);
  border-left: 2px solid var(--cyan);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.page-home .h2h-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 26px;
  width: 10px;
  height: 10px;
  background: var(--orange);
  transform: rotate(45deg);
}

.page-home .h2h-item__season {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--cyan);
}

.page-home .h2h-item__title {
  margin: 8px 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--on-dark);
}

.page-home .h2h-item p {
  margin: 0;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--on-dark-soft);
}

.page-home .h2h-note {
  margin: clamp(24px, 3vw, 34px) 0 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--on-dark-soft);
}

.page-home .link-inline {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--home-hair);
  padding-bottom: 2px;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}

.page-home .link-inline:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* ---------- 05 收束 ---------- */

.page-home .closing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.6vw, 24px);
}

.page-home .closing-panel {
  padding: clamp(20px, 3vw, 28px);
  background: rgba(243, 247, 242, 0.05);
  border: 1px solid var(--home-hair);
}

.page-home .closing-panel__title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
  color: var(--on-dark);
}

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

.page-home .closing-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--on-dark-soft);
}

.page-home .closing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 2px;
  background: var(--orange);
  transform: rotate(-12deg);
}

.page-home .closing-panel__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--on-dark-soft);
}

.page-home .closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 3.4vw, 38px);
}

/* ---------- 响应式 ---------- */

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

  .page-home .rounds-visual {
    grid-column: 1 / -1;
    min-height: 240px;
  }

  .page-home .rounds-visual img {
    min-height: 240px;
    max-height: 320px;
  }

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

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(36px, 5vw, 64px);
  }

  .page-home .hero-visual {
    margin-top: clamp(20px, 4vw, 44px);
  }

  .page-home .league-panel {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .review-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  }

  .page-home .h2h-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (min-width: 1080px) {
  .page-home .rounds-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 240px;
    align-items: stretch;
  }

  .page-home .rounds-visual {
    grid-column: auto;
    min-height: 100%;
  }

  .page-home .rounds-visual img {
    min-height: 100%;
    max-height: none;
  }

  .page-home .review-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(40px, 5vw, 72px);
  }

  .page-home .review-figure {
    margin-top: clamp(10px, 2vw, 26px);
  }
}

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

  .page-home .route-line {
    stroke-dashoffset: 0;
  }
}
